/*
CSS Styles
*/

* {}

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

body.mobileActive {
    overflow: hidden;
}

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

strong { 
    font-weight: 500;
}

#header_payoff {
	text-align:right; font-size:1.3em; font-weight:300; font-style: normal;  color:#666; padding-top:2.7em; 
	background-image:url(../images/header-sf.png); background-repeat:no-repeat; background-position:top right;
}

.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(../images/white_bkg.png)}



footer {  background: url(../images/footer.png) no-repeat center bottom fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;

	color:#ddd!important;
	
	padding: 2em;   font-size: 14px; font-weight:300; line-height:1.5em; height:300px;
	text-align:center!important;padding-top: 18em!important; padding-bottom:8em; width: 100%;
}

footer a {    color: #ddd!important;}
footer a:hover {    text-decoration: underline;}

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

#main {
	padding-bottom: 3.4em;
	padding-top: 3.4em;
}

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

#mobileMenuIcon {
	color: #003366;
	display: none;
	position: absolute;
	top: 0.2em;
	right: 0.2em;
	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('../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;
}

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

#main h1 { font-weight:300;
	margin-bottom: 1em; font-size:36px;
}

#main p {
	font-size: 20px; font-weight:300; text-align:left; color:#666666; line-height:1.3em;
}

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

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


#main   ul{font-size: 20px; color:#666666; font-weight:300; margin:20px 30px!important; }
#main   li{list-style:disc!important;margin:5px 30px; }

#main  li a{
	color:#003366;
}
#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%;
}

#news_wrap img {
	float: left;
	margin-right: 1em;
	max-width: 40%;
}

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

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



.bottone-preventivo {background:#003366;border-radius: 8px; background-image:url(../images/preve-icon.png); background-position:20px; background-repeat:no-repeat; 
	 padding:16px; padding-left:25px; color:#FFFFFF; font-weight:500; font-size:24px; width:320px; text-align:center;   margin:0 auto; 
}

.bottone-preventivo:hover {background-image:url(../images/preve-icon2.png);cursor:pointer; background-color:#2460a3; }


/*
NEWS
*/

.news_title { text-align:left; font-size:30px; font-weight:300!important; font-style:normal; margin-bottom:15px; }
.news_title a{ color:#666666; text-decoration:none;  }
.news_title a:hover{ color:#003366; text-decoration:underline;  }
.news_data { font-size:14px; color:#999999; margin-bottom:10px;  }
.news_text_intro  { font-size: 20px; font-weight:300; text-align:justify; color:#666666;  }


.bottone-news {background:#003366;border-radius: 8px; 
	 padding:10px;  color:#FFFFFF; font-weight:500; font-size:15px; width:200px; text-align:center;   }
.bottone-news:hover {cursor:pointer; background-color:#2460a3; }

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


/*FORM CONTATTI*/

#contactform  {
	padding: 25px;
	border: 1px dotted #CCC; height:auto;
}
.campitesti  {
	font-size: 12px!important;
	line-height: 14px;	
	color: #666666;

}




#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: #666666;
	width: auto;
	font-size: 14px;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 5px;
	margin-left: 0;

}

#contactform input {
	padding: 5px;
	border: 1px solid #dadada;
	font-size: 14px; font-family: "Lato";
	color: #333;
	background: #fafafa;
	width: 350px;
	}
#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: "Lato";
	height: 100px;
	display:block;
	color:#333;
	background: #fafafa;
	font-size: 14px; resize:vertical;
}

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


#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.button { 
	margin: 0 auto;
	padding: 10px;
	cursor: pointer;
	
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	font-size: 15px;
	font-weight: bold;
	
	text-decoration: none;
	width:auto;  font-family: "Lato";
	border:1px solid #003366;background-color: #003366;color: #FFF;
	border-radius:10px;
}

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


#product-boxes {width: 31.0%; margin-right:2%; padding:35px; border-radius:10px; font-size:20px;
text-align:center; border:1px solid #ddd; background-image:url(../images/products-bkg.png); background-repeat:no-repeat; background-position:center;   
color:#003366;

  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;}
  
  #product-boxes:hover { cursor:pointer;
background-image:url(../images/products-bkg2.png);
color:#fff;
}
  #product-boxes:hover p {
color:#fff;
}
#product-boxes p { font-size:16px; padding-top:20px; color:#003366;}

table img { height:auto; max-width:160px!important; float:left!important; margin: 0 20px 20px 0;}
table td {   padding:8px;  vertical-align: middle!important; border:1px solid #ddd;}
table td td {  border:none;}

@media (max-width : 1100px) {
	

	.container {
		margin-left: 2%;
		margin-right: 2%;
	}
	
	#product-boxes {font-size:16px;
}

table img {  max-width:100px!important; float:left!important; margin: 0 20px 20px 0;}
table td {   padding:5px; }


}





@media (max-width : 800px) {
	footer .span_4 {
		margin-bottom: 2em;
	}

	.container {
		margin-left: 2%;
		margin-right: 2%;
	}
	
	#history_wrap .item {
		width: 96%;
	}
	
	#news_wrap img {
		float: none;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: .5em;
		max-width: 100%;
	}
	
   
	
	#news_wrap .span_4 {
		float: none !important;
		margin-bottom: 2em;
		margin-left: auto;
		margin-right: auto;
		max-width: 80%;
	}
	
	
.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;}
	
	
		#product-boxes {width: 98.0%; margin-bottom:10px;
}

table img {  max-width:60px!important; }
table td {   padding:3px; }


}



@media (max-width : 768px) {

#main {
	
	padding-top: 1em;
}

	#main-menu {
		display: none;
	}

	#mobileMenuIcon {
		display: block; font-size:50px; 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;
}

table img { display:block;   max-width:60px!important; float:none!important; display:block!important;}
table td {   padding:1px; font-size:13px; }

}