/*
CSS Styles
*/
html {
  scroll-behavior: smooth;
}


#myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 30px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #0d4c5f; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 6px 10px 8px 10px; /* Some padding */
    border-radius: 0px; /* Rounded corners */
    border:3px solid #fff; font-size: 18px; /* Increase font size */
}

#myBtn:hover {
    background-color: #fff; color:#0d4c5f; /* Add a dark-grey background on hover */
}



* {}

body {
	
	font-family: 'Roboto', Helvetica, Arial, sans-serif;
}
a {text-decoration:none;}

body.mobileActive {
    overflow: hidden;
}

header {
	background-color: #fff;
	padding-bottom: 0;
	padding-top: 0em; 
	width: 100%;
}

.breadcrumbs {
	padding:0px 0 10px 0!important; margin-bottom:15px; border-bottom:1px solid #ddd; text-align:center; color:#666; font-size:14px;
}
.breadcrumbs a{
	color:#666;
}
.breadcrumbs a:hover{
text-decoration:underline;
}

strong { 
    font-weight: bolder;
}



#header_payoff {
	text-align:right; font-size:1.3em; font-weight:300; font-style: normal;  color:#999; padding-top:1em;
}


#header_payoff {
    padding-bottom: 1px;
    text-align: right;
    
    font-weight: 300!important;
    font-style: normal;
    padding-top: 0;
}
.header-icone i {
     color: #ccc; padding:0 10px 0 10px; font-size: 1.5em;
}
.header-icone i:hover {
     color: #0d4c5f; 
}

.languages { float:right;	 font-size:0.8em; font-weight:300; font-style: normal;  color:#999; margin-left:35px; }
.languages a{	color:#999; }
.languages span{	margin-left:5px;  border:1px solid #fff;}
.languages span:hover{	 border-bottom:1px solid #666;}


.home_slider_text{ background-color:#FFFFFF; z-index:1; width:46%;   position:absolute;   text-align:right; height:50%; margin:auto; top:0; left:0; bottom:0}

.home_slider_text1{display:block; text-decoration:none; color:#333; font-size:2.5em; text-align:right; padding:20px; padding-left:25px; background-image:url(../it/images/white_bkg.png)}



footer { background-color:#0d4c5f; 
	color:#bbb;
	padding-bottom: 3em;
	padding-top: 3em;   font-size: 13px; font-weight:300; line-height:1.5em;
}
footer a{ color:#bbb; text-decoration:underline; 
}
footer a:hover{ color:#fff; text-decoration:underline; 
}

footer p img{ margin:5px 12px 0 0;
}

#main {
	padding-bottom: 1.0em;
	padding-top: 3.6em;
}

.imgleft {
	float:left; margin:0 30px 10px 0;  border-radius: 0px;
}
.imgright {
	float:right;  margin:0 0 10px 30px; border-radius: 0px;
}

#mobileMenuIcon {
	color: #0d4c5f;
	display: none;
	position: absolute;
	top: 1em;
	right: 1em;
	z-index: 10000;
}

#mobileMenuScroll {
    height: 100vh;
    padding-left: 2em;
    padding-right: 2em;
    padding-top: 4em;
    overflow: auto;
}

#mobileMenuScroll li {
   list-style:none!important; margin:10px 0 15px 0; border-bottom:1px dotted #ccc;
}
#mobileMenuScroll li ul {
  padding:20px 0 20px 10px;
}


.mobileActive #mobileMenuWrap {
    height: 100vh;
    opacity: 1;
}

#mobileMenuWrap {
	background-color: #292929;
	height: 0;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    -webkit-transition: all 1s cubic-bezier(0.23,1,0.32,1);
    -moz-transition: all 1s cubic-bezier(0.23,1,0.32,1);
    -o-transition: all 1s cubic-bezier(0.23,1,0.32,1);
    transition: all 1s cubic-bezier(0.23,1,0.32,1);
    width: 100vw;
    z-index: 9999;
}

#news_wrap {
	background-color: #f4f4f4;
	padding-bottom: 1em;
	padding-top: 1em;
}


#history_wrap {
	margin: 0 auto;
	max-width: 1000px;
	padding-bottom: 3em;
	padding-top: 3em;
}

#history_wrap .item {
	display: block;
	height: auto;
	width: 100%;
}

#logos_wrap {
	padding-bottom: 2em;
	padding-top: 2em;
}

#parallax_wrap {
	background-image: url('../it/images/parallax.jpg');
	background-position: center center;
	background-size: cover;
	padding-bottom: 2em;
	padding-top: 16em;
}

/*
LINKS
*/

#mobileMenuScroll a {
	color: #fff;
	font-size: 1.2em;
	text-decoration: none;
}

/*
LISTS
*/

#mobileMenuScroll li ul {
    display: none;
    margin-left: 1em;
}

/*
TYPO
*/

footer h1,
#history_wrap h1,
#news_wrap h1 {
	margin-bottom: .5em; font-size: 14px; font-weight:300;
}

footer h1 {
	font-size: 1.2em; font-weight:300; color:#CCCCCC;
}

#main h1, #main p {
	text-align: center; color:#0d4c5f;
}

#main h1 { font-weight:300;
	margin-bottom: 0.2em; font-size:36px;
}
#main h1 img { 
	margin: 0.3em 0; 
}

#main p {
	font-size: 16px; line-height:1.5em; font-weight: 500;
    font-style: normal; text-align:left; color:#666; margin-bottom:24px;
	text-align: justify;
  text-justify: inter-word;
}

#main li {
	font-size: 16px; line-height:1.5em; font-weight: 500;
    font-style: normal; color:#666; 
	text-align: justify;
  text-justify: inter-word;
}

#main p a{
	color:#0d4c5f;
}
#main p a:hover {
	text-decoration:underline;
}

h1  a{
	color:#0d4c5f;
}
h1  a:hover {
	text-decoration:underline;
}

h2  a{
	color:#0d4c5f;
}
h2  a:hover {
	text-decoration:underline;
}


#main   ul{font-size: 16px; color:#666666; font-weight:400; margin:20px 30px!important; }
#main   li{list-style:disc;margin:5px 30px; line-height:1.4em; }

#main  li a{
	color:#0d4c5f;
}
#main  li a:hover {
	text-decoration:underline;
}

#news_wrap p {
	font-size: .8em;
}

#parallax_wrap p {
	color: #fff;
	text-align: center;
}

/*
STUFF
*/

img {
	max-width: 100%;
}
.logo_imm{
max-width: 229px; width:229px!important; height:90px!important;
}
#news_wrap img {
	float: left;
	margin-right: 1em;
	max-width: 40%;
}

.tp-caption div {
	white-space: nowrap;
}

.zeus.tparrows {
	background: none !important;
}



.bottone-preventivo {
margin: 20px auto;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: normal;
    text-decoration: none;
    width: 230px;
    font-family: "Roboto";
    border: 1px solid #0d4c5f;
    background-color: #0d4c5f;
    color: #FFF;
    border-radius: 0px;  text-align:center;
}
.bottone-preventivo i {
font-size:20px; margin-right:10px;
}

.bottone-preventivo:hover {background-color:#fff; color:#0d4c5f; }


.bottone-preventivo-tel {
margin: 20px auto;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: normal;
    text-decoration: none;
    width: 330px;
    font-family: "Roboto";
    border: 1px solid #009900;
    background-color: #009900;
    color: #FFF;
    border-radius: 6px;  text-align:center;
}
.bottone-preventivo-tel i {
font-size:20px; margin-right:10px;
}

.bottone-preventivo-tel:hover {background-color:#fff; color:#009900; }


/*
NEWS
*/

.news_title { color:#0d4c5f; text-align:left; font-size:16px; line-height:21px; font-weight:500!important; font-style:normal; margin-bottom:0px; }
.news_title a{ color:#0d4c5f; text-decoration:none;  }
.news_title a:hover{ color:#0d4c5f; text-decoration:underline;  }
.news_text_intro  { font-size: 15px; line-height:1.4em; font-weight:300; text-align:justify; color:#666;  }
.news_data { margin-bottom:7px; color:#666; text-align:left; font-size:13px; line-height:19px; font-weight:300!important; font-style:italic;  }

#news_img {
    width:280px;
    height:auto; background-color:#fff; text-align:center; padding:15px;
	box-shadow: 1px 1px 10px 1px #ccc;
-webkit-box-shadow: 1px 1px 10px 1px #ccc;
-moz-box-shadow: 1px 1px 10px 1px #ccc;
}
#news_img img{
    max-width:250px;
    max-height:170px; margin:0 auto;   
}

.bottone-news {
border:1px solid #0d4c5f; 
    overflow: auto;
	background-color:#0d4c5f; color:#fff;border-radius: 0px; 
	 padding:8px;  font-weight:500; font-size:14px; width:200px!important; text-align:center;
	   }
.bottone-news:hover {cursor:pointer;background:#fff;color:#0d4c5f; border:1px solid #0d4c5f;  }



.news_separa{ border-bottom:1px dotted #ccc; margin-bottom:20px; padding-top:20px; }


#homebox_wrap {
 padding:0!important;
	

}
#homebox_wrap h1 {
	margin-bottom: .5em; font-size: 14px; font-weight:300;
}
#homebox_wrap p {
	font-size: .8em;
}
#homebox_wrap img {

	
}





/*
LAYER ESPANDIBILI (ES: SERVICES) 
*/
#expandmenu {

	margin:0 auto;
}



.expandtrigger {	
font-size:18px; font-weight:500; background-image:url(../images/capabililities_bkg0.png); background-repeat:no-repeat; background-position:right center;
 color:#0d4c5f; 
  margin-bottom:20px; padding:22px 50px 22px 22px;  line-height:22px;
}
.expandtrigger:hover { cursor:pointer; background-image:url(../images/capabililities_bkg.png);
}
.attivo {
	background-color:#ddd;
}
.expandcontenitore {
	padding:20px;
}

.expandcontenitore h3 {
	padding:0 0 20px 0;
	font-size:15px; font-weight:300;
}

.expandcontenitore p {
	margin:0;
	padding:0; font-size:15px!important; 
}


.expandcontenitore li {
	 font-size:15px!important; 
}

.expandcontenitore ol {
	 margin-bottom:20px;
}

/*FORM CONTATTI*/

.formbox {
    
    border: 1px solid #ddd;
     background: linear-gradient(#ffffff 60%, #eee);
    
    border-radius: 10px; height:auto; padding-bottom:20px;
}

#contactform  {
	padding: 25px;
	height:auto;    
}
.campitesti  {
	font-size: 12px!important;
	line-height: 14px;	
	color: #666;

}




#contactform  ul {
margin: 0;
padding: 0;
 list-style: none!important; margin-left:0!important;
}
#contactform  ul li {
	color: #fff;
	list-style: none!important;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 10px;
	margin-left: 0;
	padding: 0;
	}



#contactform label {
	display: block;
	font-weight:bold;
	color: #666;
	width: auto;
	font-size: 14px;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 5px;
	margin-left: 0;

}

#contactform input {
	padding: 6px;
	border: 1px solid #dadada;
	font-size: 15px; font-family: "Roboto";
	color: #666;
	background: #fafafa;
	width: 270px;
	}
#contactform input.form-radio {
	padding: 0;
	border: none;
	width: auto;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 10px;
	margin-left: 0;
}

#contactform label.radio {
	font-weight:bold;
	color: #5985A2;
	width: auto;
	font-size: 14px;
	display: inline;
	margin-bottom: 10px;
}

#contactform textarea {
	width: 100%;
	padding: 5px;
	border: 1px solid #dadada;font-family: "Roboto";
	height: 100px;
	display:block;
	color:#666;
	background: #fafafa;
	font-size: 14px; resize:vertical;
}

#contactform select {
	padding: 5px;
	margin: 0;
	border: 1px solid #DADADA;
	color: #666;
	background: #fafafa;
	font-size: 14px;font-family: "Roboto";
}


#contactform input:focus, #contactform input:active, #contactform textarea:focus, #contactform textarea:active, #contactform select:focus, #contactform select:active {
	border: 1px solid #DADADA;
	background-color: #DADADA; 
}

#contactform input {margin-bottom:15px;  }
#contactform textarea {margin-bottom:15px!important; width:400px; }
#contactform  input[type='checkbox'] {width:15px; height:15px;   }
#contactform input.button { 
	margin: 0 auto;
	padding: 6px;
	cursor: pointer;
	
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	font-size: 17px;
	font-weight: normal;
	
	text-decoration: none;
	width:270px;  font-family: "Roboto";
	border:1px solid #0d4c5f;background-color: #0d4c5f;color: #FFF;
	border-radius:6px;
}

#contactform input.button:hover {
 background: #ffffff; color:#0d4c5f;
}



.ricerca_avanzata i{font-size:14px; font-weight:100;}
.ricerca_avanzata input{width:20px!important; margin:0!important;}
.ricerca_avanzata input[type='checkbox'] {width:18px; height:18px; margin:0!important;  }
.ricerca_avanzata span{ background-color:#FFFFFF; padding:15px 15px 5px 15px; margin-right:20px;  border-radius: 6px; font-size:14px;}



.paginazione_select select{
padding: 5px;
	margin: 0;
	border: 1px solid #eee;
	color: #666;
	background: #eee;
	font-size: 14px;font-family: "Roboto"; padding:5px 15px 5px 15px; border-radius:8px;
}
/*
PARALLASSE
*/

#footernews_wrap {
	background-color:#000; background-image: url('../it/images/parallax.jpg');  background-repeat: no-repeat;
    background-size: cover;
	 background-attachment: fixed;
	
	padding:4em 2em 2em 2em; 
	width:100%;  
	height: 400px;
}


.footernews_caption {
  margin:0 auto; 
	color: #333;
	text-align: center;
	  
    
     max-width:1020px;
  display: block;

  left: 0;
  right: 0;
  padding: 0px;

  background: rgba(255,255,255, .75);
  font-weight:300;   border-radius:70px 0 70px 0 ;
  
}
.footernews_caption a{
  color:#666; text-decoration: underline;
}
.footernews_caption h1{
  font-size:38px; font-weight:300; line-height:40px; margin-bottom:20px; float:left;
}
.footernews_caption p{
 font-size: 15px; line-height:1.4em; font-weight: 300;
    font-style: normal; text-align:left;  clear:left; font-weight:300;
}
.footernews_data {display:block; float:right; font-weight:500; font-style:oblique; padding-bottom:20px; 
  color:#333; font-size:14px; line-height:20px;
}
.footernews_button1 { clear:left; text-align:center; background-color:#105ea6;  font-weight:500; 
  color:#fff; font-size:14px; line-height:20px; width:150px; padding:5px; 
}
.footernews_button2 { clear:left; text-align:center; background-color:#FFFFFF;  font-weight:500;  
  color:#333; font-size:14px; line-height:20px; width:150px; padding:5px;
}
.footernews_button2:hover {  background-color:#000!important;   color:#fff!important; cursor:pointer;}
.footernews_button1:hover {  background-color:#fff!important;   color:#333!important; cursor:pointer;}
.footernews_caption a {  text-decoration:none!important;}

#product_detail li  {margin: 10px 0 10px 0; line-height:1.4em; text-align:left;  }


.avvocato-foto {border:1px solid; border-color: #ddd;}

.product_icons  { background-color:#f7f8fa; font-size:15px; font-weight:300; margin:20px 0 26px 0; padding:10px 0 10px 0px; border-top:1px solid #ddd; border-bottom:1px solid #ddd;   }
.product_icons a {   border:1px solid #f7f8fa; padding:10px; text-decoration:none; color:#0d4c5f; display:block; text-align:center; margin-bottom:1px;}
.product_icons img { float:left; clear:left; margin-top:-6px; margin-right:10px;}
.product_icons a:hover { border:1px solid #ddd;}

.product_titles  { font-size: 16px; line-height:1.4em; font-weight: 500;
    font-style: normal; color:#0d4c5f;  padding-bottom:20px; font-style:oblique; }
	
.immobile_dettagli { background-color:#eee; padding:25px; clear:left; height:auto; border-radius:20px; }
.immobile_dettagli li {  font-size:14px; }
.classe_a {  font-size:14px; font-weight:500; color:#fff; padding:3px; background-color:#009900; border-radius:50%; } 



.paginazione_risultati {
	padding:12px; margin-bottom:15px; border-top:1px solid #ddd; text-align:center; color:#666; font-size:13px;
}
.paginazione_risultati span{
	padding:12px;  background-color:#fff; margin-bottom:15px; border:1px solid #ddd; text-align:center; color:#666; font-size:13px;
}
.paginazione_risultati span:hover{
	background-color:#0d4c5f;  color:#fff; font-size:13px;
}
.paginazione_attuale span{
	background-color:#0d4c5f; color:#fff;   
}

@media (max-width : 1100px) {
	

	.container {
		margin-left: 2%;
		margin-right: 2%;
	}
	
	
	
	
	
	footer .span_3 {		width:100%!important;margin-left:0!important; margin-bottom: 2em; text-align:center!important; float:none!important; padding-bottom:20px!important;	}
		footer .span_4 {		width:100%!important;margin-left:0!important; margin-bottom: 2em; text-align:center!important; float:none!important; padding-bottom:20px!important;	}
			footer .span_5 {		width:100%!important;margin-left:0!important; margin-bottom: 2em; text-align:left!important; float:none!important; padding-bottom:20px!important;	}


footer .span_4 h1 {		text-align:center; float:none;	}
footer .span_3 h1 {		text-align:center; float:none;	}
footer .span_5 h1 {		text-align:left; float:none;	}
footer .span_4 img{		display:block; text-align:center; float:none; margin:0 auto;	}
footer .span_3 img{		display:block; text-align:center; float:none; margin:0 auto; 	}
footer .span_5 img{		display:block; text-align:center; float:none; margin:0 auto;	}
	
	
	
	
	.footernews_caption {
 
	   height: auto;
    top: 10%;
    padding-top: 10px; max-width:1020px;
  display: block;
  padding: 10px 20px 20px 30px;

}
.footernews_data { float:none; padding:15px 0 25px 0; line-height:10px;
}
.footernews_caption h1{
  font-size:30px; font-weight:300; line-height:30px; margin-bottom:10px; float:none; 
}
.footernews_caption p{
   line-height:21px; font-size:17px; text-align:left;  clear:left; float:none; padding-top:20px; 
}




}





@media (max-width : 800px) {
	

	.container {
		margin-left: 2%;
		margin-right: 2%;
	}
	
	#history_wrap .item {
		width: 96%;
	}
	
	
	
	
.boxes .span_4 img {
		float: none!important;
		margin:0 auto!important;
		margin-bottom: 0;
		max-width: 100%; 
	}
	.boxes .span_4 {
		text-align:center;
	}
	.boxes .span_4 h1 { display:block; font-size:25px; margin-bottom: 0!important	; }
	
	.boxes a{ color:#333333!important; text-decoration:none;}
	
	#footernews_wrap {
	
	padding:2em 1em 1em 1em; height: auto!important;

}

#footernews_wrap p { 
	   height: auto;
    top: 50%;
    padding-top: 25px;
}
	
}



@media (max-width : 768px) {

#main {
	
	padding-top: 1.4em;padding-bottom: 0em;
}

	#main-menu {
		display: none;
	}

	#mobileMenuIcon {
		display: block; font-size:25px; right:0.8em;
	}
	#header_payoff {
	text-align:center; font-size:1.2em; padding:1em 0 1em 0;
}

.imgleft {
	float:none; display:block;   margin:0 auto; margin-bottom:20px; margin-top:20px;
}
.imgright {
	float:none;  display:block;  margin:0 auto; margin-bottom:20px; margin-top:20px;
}
	
	.avvocato-foto {margin:0 auto!important; float:none!important; text-align:center!important; width:100%;}

#contactform input {
	max-width: 100%;
	width: 100%;
	}
	.ricerca_avanzata input{width:20px!important; margin:0!important;}
	.ricerca_avanzata span{display:block;}
}



@media (max-width : 500px) {

#myBtn {
   
    position: fixed; /* Fixed/sticky position */
    bottom: 15px; /* Place the button at the bottom of the page */
    right: 10px; /* Place the button 30px from the right */
   
    padding: 6px 10px 6px 10px; /* Some padding */
    border-radius: 5px; /* Rounded corners */
    border:2px solid #fff;  /* Increase font size */
}


.logo_imm{
width:250px; height:auto; float:left;
}

.paginazione_select select{
display:block; margin:15px 0 0 auto;
}

.paginazione_risultati span {
    padding: 5px;
    font-size: 12px;
}

#galleria {
    width: 96%!important;
    max-height: 300px; margin-bottom:20px; 
}

.footernews_caption h1{
  font-size:20px; font-weight:300; line-height:20px; 
}
.footernews_caption p{

}

}









