/*************

 * Template by Alessandro Pellegrini <alessandro@pellegrini.tk>

 * Copyright (C) - 2015

 * All rights reserved

 */



 @import("fonts.css");



/*************************************

1.  STYLE

 ************************************/

/* RESET STYLES */



html, body, div, span, applet, object, iframe,

h1, h2, h3, h4, h5, h6, p, blockquote, pre,

a, abbr, acronym, address, big, cite, code,

del, dfn, em, img, ins, kbd, q, s, samp,

small, strike, strong, sub, sup, tt, var,

b, u, i, center,

dl, dt, dd, ol, ul, li,

fieldset, form, label, legend,

table, caption, tbody, tfoot, thead, tr, th, td,

article, aside, canvas, details, embed, 

figure, figcaption, footer, header, hgroup, 

menu, nav, output, ruby, section, summary,

time, mark, audio, video {

	margin: 0;

	padding: 0;

	border: 0;

	font-size: 100%;

    font-family: 'Lato', serif;

	vertical-align: baseline;

}

/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure, 

footer, header, hgroup, menu, nav, section {

	display: block;

}

body {

	line-height: 1;

}

blockquote, q {

	quotes: none;

}

blockquote:before, blockquote:after,

q:before, q:after {

	content: '';

	content: none;

}

table {

	border-collapse: collapse;

	border-spacing: 0;

}

strong {

    font-weight: bold;

}

em {

    font-style: italic;

}

.margin-t {

    margin-top: 35px;

}

.margin-b {

    margin-bottom: 35px;

}

.column-clear {

    clear: both;

}

div {

    position: relative

}

a {

    color: #CB7272;

    text-decoration: none;

}

a:hover {

    text-decoration: none;

    color: #CB7272;

}

a:active,

a:focus {

    outline: none;

    text-decoration: none;

}

body {

    font-size: 16px;

    font-family: 'Lato', serif;

    line-height: 1.5;

    -webkit-font-smoothing: antialiased;

    -webkit-text-size-adjust: 100%;

    color: #707070;

    background: #ffffff;

}



h1 {

    font-size: 40px;

}

h2 {

    font-size: 33px;

    margin-top: 20px;

    margin-bottom: 10px;

}

h3 {

    font-size: 28px;

}

h4 {

    font-size: 20px;

}

h5 {

    font-size: 18px;

}

h1,

h2,

h3,

h4,

h5 {

    line-height: 1.2;

}

p {

    font-size: 16px;

    line-height: 1.5;

    margin: 0 0 0 0;

    text-align:justify;

}

ul, ol{

  list-style-position: inside;

}

div p:last-child {

    margin-bottom: 0;

}

.alignc {

    text-align: center;

}



#main {

    z-index: 10;

    background: #ffffff;

    -webkit-box-shadow: 0 7px 10px -5px #c0c0c0;

    -moz-box-shadow: 0 7px 10px -5px #c0c0c0;

    box-shadow: 0 7px 10px -5px #c0c0c0;

}

.scrollup i {

    -webkit-backface-visibility: hidden;

    -webkit-transition: all 0.5s ease-in-out 0.5s;

    -moz-transition: all 0.5s ease-in-out 0.5s;

    -o-transition: all 0.5s ease-in-out 0.5s;

    -ms-transition: all 0.5s ease-in-out 0.5s;

    transition: all 0.5s ease-in-out 0.5s;

}



.input-group {

    text-align:center;

}

.input-group-addon,

.input-group-btn {

    width: 0;

}

.btn {

    margin-top: 0px;

}





/* PAGES IN GENERAL */



.page-head {

    display: table;

    height: 60px;

    text-align: center;

    width: 100%;

    background-color: #CB7272;

    color: #FFFFFF;

}

.vertical {

    display: table-cell;

    vertical-align: middle;

}

.page-title {

    font-weight: 700;

    letter-spacing: 1px;

    position: relative;

}

.page-head p {

    margin-top: 16px !important;

}

.page-content {

    padding-bottom: 81px;

}

.rounded{

    -webkit-border-radius: 3px;

       -moz-border-radius: 3px;

            border-radius: 3px;

}



.tab_date{

    background: #e8e6e6;

    float: left;

    font-size: 0.6667em;

    color: #979797;

    text-align: center;

    padding: 0.5em 1.3em;

    line-height: 1.3em;

    margin: 0 1em 1.5em 0;

    min-width: 40px;

    font-family: 'Lato', serif;

}

.tab_date span{

    font-size: 30px;

    color: #CB7272;

    clear: both;

    display: block;

    line-height: 1.2em;

}



.clear{

    clear:both;

}



button {

    padding:13px;

    margin-top:4px;

    text-align:center;

    font-weight:700;

    background:rgba(203,114,114,0.2);

    border:3px solid #CB7272;

    color:#CB7272;

}



button:hover {

    background:#CB7272;

    color:#ffffff;

    text-decoration:none;

}



.lettrine:first-letter {

    text-transform: uppercase;

    font-size:200%;

    float:left;

    line-height: 0.5em;

    margin-right: 1px;

}



.top-header {

    background: #707070;

    color: #ffffff;

}



.hide {

	display: none

}





/* ACCORDIONS */



.panel {

    margin-bottom: 10px;

    margin-top: 10px;

}



.panel-default>.panel-heading {

    color: #CB7272;

}



.panel-heading .fa-chevron:after {

    content: "\f078";   

}



.panel-heading .collapsed .fa-chevron:after {

    content: "\f054";

}



.panel-heading .fa-chevron {

    line-height: inherit;

    float: left;

}



.panel-heading .panel-title .panel-title-text {

    display: block;

    margin-left: 25px;

    text-align: justify;

}







/*************************************

2. HEADER

 ************************************/



.header-top {

	width: 100%;

    background: #e7e7e7;

}

#header-bar {

    background: #FFFFFF;

    color: #999999;

}

#header-img-container {

 background-color: #707070;

}

#logo {

    margin-top: 32px;

    float: left;

}

.header-contact {

    font-size: 13px;

    white-space: nowrap;

    color: #707070;

}

.header-contact .fa-stack {

    font-size: 17px;

    margin-right: 0px;

}

.header-contact .fa-circle {

    color: #707070;

}

.header-contact .fa-envelope,

.header-contact .fa-mobile,

.header-contact .fa-phone,

.header-contact .fa-map-marker,

.header-contact .fa-fax {

    color: #DDDDDD;

}



.header-contact a,

.header-contact a:hover,

.header-contact a:visited {

    color: #707070;

}





/* NAVBAR */



.navbar {

    background: #ffffff;

    border: 0;

    border-bottom: 2px solid #e8e6e6;

    border-radius: 0;

    margin-bottom: 0;

}



.navbar li {

    list-style:none;

}

.dropdown-menu li:hover .sub-menu {

    visibility: visible;

}

.dropdown:hover .dropdown-menu {

    display: block;

}





.navbar-default .navbar-nav>.active>a,

.navbar-default .navbar-nav>.active>a:focus,

.navbar-default .navbar-nav>.active>a:hover,

.navbar-default .navbar-nav>li>a:hover {

    color: #CB7272;

    border: 1px solid #CB7272;

    margin: -1px;

	margin-top: 8px;

	margin-left: 9px;

	margin-right: 9px;

    background: #F6F5F5;

	border-radius: 5px;

}



.nav>li>a,

.navbar-nav>li>a {

	margin-top: 9px;

	margin-left: 10px;

	margin-right: 10px;

	padding-top: 5px;

	padding-bottom: 5px;

	padding-right: 7px;

	padding-left: 7px;

}



.navbar .navbar-nav {

  display: inline-block;

  float: none;

}



.navbar .navbar-collapse {

  text-align: center;

}



.dropdown-menu .lang_flag {

  padding-right: 10px;

}



.dropdown-menu>.active>a,

.dropdown-menu>.active>a:focus,

.dropdown-menu>.active>a:hover {

  background-color: rgba(203,114,127,0.4);

  color: black;

}



img.alignright { float: right; margin: 0 0 1em 1em; }

img.alignleft { float: left; margin: 0 1em 1em 0; }

img.aligncenter { display: block; margin-left: auto; margin-right: auto; }

.alignright { float: right; }

.alignleft { float: left; }

.aligncenter { display: block; margin-left: auto; margin-right: auto; }



/*************************************

3.1 HOME

 ************************************/



.news h3 {

    font-size: 24px;

}



/*************************************

3.2 ARTICOLI E SENTENZE

 ************************************/



.sentenze-collegate  ul, #sentenze-collegati ul {

  padding-left:20px;

  list-style:none;

}

.sentenze-collegate > li { margin-bottom:10px; }

.sentenze-collegate > li:before {    

    font-family: 'FontAwesome';

    content: '\f054';

    margin:0 5px 0 -15px;

}



/*************************************

3.5 I professionisti

 ************************************/



.lawyers img {

    width:100%;

    padding-bottom:15px;

}

.lawyers h5 {

    text-align: center;

    font-weight:700;

    font-size: 20px;

}





/*************************************

3.5 Contatti

 ************************************/









/*************************************

3.5 BLOG

 ************************************/



.blog-post {

    padding-bottom: 35px;

    margin-bottom: 35px;

    position: relative;

    border-bottom: 1px solid #c5c5c5;

}

.blog-title {

    font-weight: 700;

    margin-top: 32px;

    color: #404040;

    text-align: justify;

}

.blog-title a,

.articles-title a {

    color: #404040;

}

.blog-title a:hover,

.articles-title a:hover {

    color: #CB7272;

    text-decoration: none;

}

.blog-date {

    margin: 8px 0 10px 0;

}

.blog-date li {

    display: inline-block;

    margin-right: 24px;

}

.blog-date li i {

    margin-right: 5px;

    color: #CB7272;

}

.blog-date li:last-child {

    margin-right: 0;

}

.blog-date li,

.blog-date li a {

    color: #999999;

}

.blog-date li a:hover {

    color: #CB7272;

}

.page-numbers,

.page-numbers:hover {

    margin: 0 3px;

    padding: 6px 12px;

    text-decoration: none;

    font-weight: 700;

    display: inline-block;

    border: 3px solid #CB7272;

    color: #CB7272;

}

.page-numbers:hover,

.current,

.current:hover {

    color: #ffffff;

    background: #CB7272;

    border: 3px solid #CB7272;

}

.articles-holder,

.articles-title {

    margin-top: 32px;

}

aside {

    padding-left: 30px;

}

.blog_right {

    margin-bottom: 30px;

    list-style: none;

}

.blog_right ul li span strong a {
    color: #CB7272;
}



.blog_right h5 {

    font-weight: 700;

    margin-bottom:15px;

    color: #404040;

}

.blog_right li {

    list-style: none;

}

.blog_right ul li a {

    color: #707070;

    font-size: 15px;

}

.blog_right ul li a:hover {

    color: #CB7272;

    text-decoration: none;

}



.blog_right ul > li i.fa-angle-right{

    float: left;

    padding-top: 3px;

    display: inline-block;

    color: #CB7272;

}

.blog_right ul > li span{

    display: block;

    margin-left: 15px;

}



.blog_right_tag a {

    margin: 0 8px 8px 0;

    padding: 8px 12px;

    display: inline-block;

    border: 3px solid #CB7272;

    background: #CB7272;

    color: #ffffff;

}

.blog_right_tag a:hover {

    background: none;

    color: #CB7272;

    text-decoration: none;

}

.comm-title {

    padding-top: 48px;

    margin-top: 48px;

    border-top: 1px solid #c5c5c5;

}



.disable-li ul,

.disable-li li {

    list-style: none;

}



/*************************************



3.6 CONTACT



************************************/

#contact-infos{

  margin-top: 27px;

  margin-bottom: 27px;

}



/*contacts icons*/

#contact-infos i.fa{

  font-size: 1.7em;

}

#contact-infos h4{

  margin-bottom: 7px;

}



#map-canvas {

    width: 100%;

    margin: 0px;

    padding: 0px;

    height: 30em;

}

#map-canvas img {

    max-width: none;

}



input,

textarea {

    font-weight:700;

    background:rgba(203,114,114,0.2);

    border:1px solid #CB7272;

    color:#CB7272;

    width:100%;

    margin-bottom: 15px;

}

textarea {

    height:10em;

}





.info, .success, .warning, .error, .validation {

	border: 1px solid;

	margin: 10px 0px;

	padding:15px 10px 15px 50px;

	background-repeat: no-repeat;

	background-position: 10px center;

}



.info {

	color: #00529B;

	background-color: #BDE5F8;

	background-image: url('/wp-content/themes/martignetti/img/info.png');

}

.success {

	color: #4F8A10;

	background-color: #DFF2BF;

	background-image:url('/wp-content/themes/martignetti/img/success.png');

}

.warning {

	color: #9F6000;

	background-color: #FEEFB3;

	background-image: url('/wp-content/themes/martignetti/img/warning.png');

}

.error {

	color: #D8000C;

	background-color: #FFBABA;

	background-image: url('/wp-content/themes/martignetti/img/error.png');

}



/*************************************



4 FOOTER



************************************/





.fortune {

    display: table;

    height: 60px;

    width: 100%;

    color: #FFFFFF;

    background: #707070;

    min-height: 50px;

    text-align:center;

}



footer {

    z-index: 4;

    position: relative;

    height: 90px;

    background: #e8e6e6;

    color: #ffffff;

}

footer #footer-content {

    bottom: 0;

    left: 0;

    padding-top: 10px;

    padding-bottom: 10px;

    position: fixed;

    width: 100%;

    z-index: 5;

}

.footer-legal-notes,

.footer-legal-notes a {

    color: #707070;

    margin-bottom: -20px;

}

.footer-social li {

    display: inline-block;

    margin: 15px 0 0 28px;

    font-size: 35px;

}

.footer-social li:first-child {

    margin-left: 0;

}

.footer-social li a {

    color: #707070;

}

.footer-social li a:hover {

    color: #CB7272;

}

.footer-text {

    font-size: 14px;

    margin-bottom: 8px !important;

    color: #707070;

}

.output2 {

    padding: 16px;

    border: 1px solid #CB7272;

    color: #CB7272;

    display: inline-block;

}

.scrollup {

    display: none;

}

.scrollup i {

    width: 30px;

    height: 30px;

    position: fixed;

    border-radius: 50%;

    border: 1.5px solid;

    border-color: #e7e7e7;

    bottom: 20px;

    right: 20px;

    text-align: center;

    padding-top: 5px;

    color: #FFF;

    cursor: pointer;

    background: #707070;

    z-index: 110;

}





/*************************************

MEDIA QUERIES

************************************/



/* Media query to clean up the footer on smaller screens */

@media (max-width: 1200px) {

    div p:last-child {

        margin-bottom: 24px;

    }

    footer {

        height: 300px;

    }

    aside {

        padding-left: 0px;

    }

    aside ul li.blog_right:first-child {

        margin-top: 81px;

    }

}



/* Bootstrap 3.3 compliant way to set the collapse point of the navbar to a specific size (to prevent the menu from going to multiple lines, yet we allow search bar and language) */

@media (max-width: 870px) {

    .navbar-header {

        float: none;

    }

    .navbar-left,.navbar-right {

        float: none !important;

    }

    .navbar-toggle {

        display: block;

    }

    .navbar-collapse {

        border-top: 1px solid transparent;

        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);

    }

    .navbar-fixed-top {

		top: 0;

		border-width: 0 0 1px;

	}

    .navbar-collapse.collapse {

        display: none!important;

    }

    .navbar-nav {

        float: none!important;

		margin-top: 7.5px;

	}

	.navbar-nav>li {

        float: none;

    }

    .navbar-nav>li>a {

        padding-top: 10px;

        padding-bottom: 10px;

    }

    .collapse.in{

  		display:block !important;

    }	

	.navbar .navbar-collapse {

        text-align: left;

    }

}





/* Fake justification of navbar elements */

/*@media (min-width: 1400px) {

    .nav>li>a,

    .navbar-nav>li>a {

    	margin-top: 9px;

    	margin-left: 50px;

    	margin-right: 50px;

    	padding-top: 5px;

    	padding-bottom: 5px;

    	padding-right: 7px;

    	padding-left: 7px;

    }

}*/



/* centered columns styles */

.row-centered {

    text-align:center;

}

.col-centered {

    display:inline-block;

    float:none;

    /* reset the text-align */

    text-align:left;

    /* inline-block space fix */

    margin-right:-4px;

}



/* IE10 fix stuff */

@-webkit-viewport   { width: device-width; }

@-moz-viewport      { width: device-width; }

@-ms-viewport       { width: device-width; }

@-o-viewport        { width: device-width; }

@viewport           { width: device-width; }

