
 /* BASE and HELPER STYLES
-------------------------------------------------- */

body {
	font-family: 'Roboto Condensed', Arial Narrow, Helvetica, Arial, sans-serif;
	font-size:16px;
	background: #fff url('../images/sfondo.jpg') no-repeat center center;
	/* background: #fff; */
	background-size:cover;
	background-attachment: fixed;
	overflow-x:hidden;
	font-weight:400;
}

a { color:#337ab7;  cursor:pointer;}

 a:focus, a:hover{
	text-decoration:none;
 }
 
p a {
	font-weight:400;
}

	
p.first {
	padding-top:35px;
	font-family: 'Roboto', Arial Narrow, Helvetica, Arial, sans-serif;
	font-weight:300;
	line-height:24px;
	text-align:justify;
	}
	
p span {
	font-weight:400;
	color: #28639b;
	}
	
.title h2 {
	background-color: #28639b;
	padding:15px;
	color:#fff;
	margin-bottom:0;
	margin-top:0;
	}


 ul {-webkit-padding-start: 0;list-style-type:none;}
 
.clearfix{clear:both;}
.divider{margin:20px 25px;border-bottom:1px solid #e6e6e6}


.no-margin {	margin:0px;}
.no-margin-sx {margin:auto auto auto 0px;}
.no-margin-dx {margin:0px auto auto auto;}
.no-padding {padding:0px;}
.no-padding-sx {	padding-left:0px;}
.no-padding-dx {	padding-right:0px;}


.spaziosopra{margin-top:45px;}
.spaziosotto{margin-bottom:45px;}
.spaziosoprapiccolo{margin-top:25px;}
.spaziosottopiccolo{margin-bottom:25px;}

.full{width:100%;clear:both;}

.logo{max-width:488px;}

.centra{margin:0 auto;text-align:center;}

.alltrans{ transition: all 0.5s ease;}

label.error {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
	color:#ca0000;
}

.btn.focus, .btn:focus, .btn:hover {
    color: #fff;
    text-decoration: none;
}

 /* HEAD
-------------------------------------------------- */

.language {
	float:right;
	margin-top:-10px;
	}
.language a{
	color:#fff;
	display:inline-block;
	padding:5px 8px;
	transition: all 0.5s ease;
	width:30px;
	height:28px;
	text-align:center;
	font-size:12px;
	font-weight:400;
}
.language a:hover{
	background-color:#fff;
	color:#28639b;
	border-radius:50%;
}

.head {
    position: relative;
	height:170px;
	text-align:left;
	padding:20px 20px 20px 80px;
	background: url('../images/sf_header.jpg') no-repeat 50% 50%;
}
.payoff {
    position: absolute;
	top:100px;
	right:80px;
 	font-size:28px;
	letter-spacing:1px;
	font-weight:300;
	color:#fff;
	opacity:.7;
}
/* ------------------------- MAIN MENU --------------------------------- */
.navbar-nav {
    float: none;
    margin: 0 auto;

}
 
.navbar-default {
    background-color: transparent;
    border: 0;
}

.navbar {
    position: relative;
    min-height: 50px;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 0;
	background-color:#d2d2d2;
}

.navbar-nav>li>a {
    padding-top: 20px;
    padding-bottom: 20px;
	text-transform:uppercase;
	font-weight:300;
}

.nav>li>a {
    position: relative;
    display: block;
    padding: 20px 22px;
	transition: all 0.5s ease;
}

.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:focus, .navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover  {
	color: #fff;
    background: #28639b;
 }
 
.navbar-default .navbar-nav>li>a {
    color: #555;
	font-size: 22px;
	margin:0 ;
}

.navbar-toggle {
    margin-top: 12px;
    margin-right: 25px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 0;
    margin: 2px 0 0 5px;
	font-size: 22px;
    text-align: left;
    list-style: none;
	color: #fff;
	background-color: #28639b;
    border: 0;
 
    border-radius: 0;
 
}
.dropdown-menu>li {
    display: inline-block;
    float: none;
	width:100%;
	border-bottom: 1px solid #eee;
	text-align:center;
	background-color: #ddd;
}
.dropdown-menu>li:last-child {
	border-bottom: 0;
}
.dropdown-menu>li>a {
	color: #555;
 	font-weight:300;
	transition: all 0.5s ease;
}

.dropdown-menu>li.active, .dropdown-menu>li>a:hover {
	color: #28639b;
	background-color: #fff;
}


/* ------------------------- CENTER MAIN MENU --------------------------------- */
/* @media only screen and (min-width : 768px) {
	.navbar {text-align:center;}
	.navbar .nav {float:none;}
	.navbar .nav li {display:inline-block;float:none;}
} */


/* ------------------------- HOME --------------------------------- */
.bxslider li{
	position:relative;
}
.bxslider p{
	position:absolute;
	top:60%;
	left:10%;
	z-index:2000;
	color:#fff;
	font-size: 3em;
	background:rgba(0,0,0,0.4);
	padding:0.76em;
}


.homepage {
	background:rgba(255,255,255,0.7);
	padding-top:30px;
	padding-bottom:30px;
}
.homepage h2{
	margin-top:0;
	padding:10px 15px;
	color:#fff;

	text-transform:uppercase;
	font-weight:300;
}
.homepage h2 span{
	font-weight:700;
}
.homepage figure {
	position: relative;
	float: left;
	overflow: hidden;

	text-align: center;
	cursor: pointer;
}

.homepage figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 1;
}

.homepage figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.homepage figure figcaption::before,
.homepage figure figcaption::after {
	pointer-events: none;
}

.homepage figure figcaption,
.homepage figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.homepage figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}
 

.homepage figure h2,
.homepage figure p {
	margin: 0;
}

.homepage figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}


figure.box {
	background: #28639b;
}

figure.box img,
figure.box h2 {
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
}

figure.box img {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transition: all 0.5s ease;
}

figure.box h2,
figure.box p {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 10px;
}

figure.box p {
	text-transform: none;
	font-size: 90%;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(0,50px,0);
	transform: translate3d(0,50px,0);
}

figure.box:hover img {
	-webkit-transform: translate3d(0,-80px,0);
	transform: translate3d(0,-80px,0);
	opacity: 0.7;
}

figure.box:hover h2 {
	-webkit-transform: translate3d(0,-100px,0);
	transform: translate3d(0,-100px,0);
}

figure.box:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

.home-welcome {
	background:rgba(255,255,255,1);
	padding:10px 20px 30px 20px;
}

.home-welcome h2 {
	padding:10px 0;
	color: #28639b;
}

.home-contact {
	background:#efefef;
	padding:10px 20px;
}

.home-contact h2 {
	padding:10px 0;
	color: #28639b;
}

.home-news {
	background:#ede3d6;
	padding-top:35px;
	padding-bottom:35px;
}

 

a.btn {
  	color:#fff;
	background: #28639b;
    display: inline-block;
    padding: 10px 18px;
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 0;
    border-radius: 0;
	transition: all 0.5s ease;
}
a.btn:hover {
	color:#fff;
	background-color:#666;
}



.form-control {
    display: block;
    width: 100%;
    height: 30px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.form-horizontal .control-label {
    padding-top: 7px;
    margin-bottom: 0;
    text-align: left;
	font-size: 16px;
	font-weight:normal;
}

/* form a.btn {
 
	color:#003342;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 600;
	background-color: #e6dbcc;
} */
form a {
    font-weight: 700;
}


.checkbox label, .radio label {
    font-size: 14px;
    font-weight: normal;
}

input[type=checkbox], input[type=radio] {
    margin: 2px 0 0;
    margin-top: 1px\9;
    line-height: normal;
}

.icons {
	padding:10px 0 20px 0;
	font-size:18px;
	color:#777;
}
.icons span{
margin-right:5px;
margin-left:5px;
}
.icons span.glyphicon-envelope{
margin-top:10px;
}


/* ------------------------- azienda --------------------------------- */

.azienda, .referenze, .prodotti, .news, .divgallery {
	background-color: #fff;
	padding:15px;
	}
	
.white_bg {
	background-color: #fff;
	}
	
.azienda img, .panel-body img{
	border-radius:15px;	
	margin: 10px auto 10px 15px;
	}
	
 
	
.referenze li, .prodotti li{
	padding:8px;
	transition:all 0.5s ease;
}
.referenze li:hover{
	padding-left:16px;
	background-color: #eee;
}
.referenze span{
	color:#666;
	font-weight:300;
}

.prodotti li:before{
	font-family: 'Glyphicons Halflings'; 
	content:"\e080";
	color:#aaa;
	width:20px;
	margin-right:5px;
	font-size:14px;
}

.panel-group .panel {
    margin-bottom: 0;
    border-radius: 0;
}

.panel-default>.panel-heading {
    color: #333;
    background-color: #e7e7e7;
    border-color: #e7e7e7;
}

.divgallery {
	text-align:center;
	max-width:1000px;
	margin:0 auto;
	}











/* ------------------------- FOOTER --------------------------------- */

.fb {display:block; padding:0 5px;margin-top:10px;}
.fb img{margin-top:-5px;}
.footer-menu {
	background-color: #777;
	padding:25px 5px;
}

.footer-menu  p {
	text-align:center;
	color:#fff;
	}

.credits {
    background-color: #28639b;
	height:50px;
	text-align: center;
	padding:15px;
}

.credits a {
    color: #fff;
	font-size:12px;
}





.map iframe{height:450px;width:100%;}

.back-up {
	position:fixed;
	display:block;
	bottom: 0px;
	right: 30px;
	opacity: 0;
	transition: all .25s ease-in-out;
	-moz-transition: all .25s ease-in-out;
	-webkit-transition: all .25s ease-in-out;
}
.back-fade {
   opacity: 1;
   transition: all .25s ease-in-out;
   -moz-transition: all .25s ease-in-out;
   -webkit-transition: all .25s ease-in-out;
   bottom: 25px;
   
}

/* ------------------------- MEDIA QUERIES --------------------------------- */


@media only screen and (max-width : 1200px) {
	
	.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:focus, .navbar-default .navbar-nav>li>a:hover {
		font-size: 20px;
	}


	.navbar-default .navbar-nav>li>a {
		font-size: 20px;
	}
	.nav>li>a {   padding: 20px 15px;} 

	.footer-menu  .nav>li>a {
		text-decoration: none;
		font-size: 16px;
		padding: 20px 10px;
	}
}
@media only screen and (max-width : 990px) {
	.head {	padding:20px 20px 20px 30px;}
	.payoff {top:100px;right:30px;font-size:24px;}
	.icons span.glyphicon-envelope{
margin-left:5px;
}

}
@media only screen and (max-width : 768px) {
	.navbar-default .navbar-nav>li>a {
		font-size: 20px;
		text-align: center;
	}
	.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
		background-color: #28639b;
	}
	.navbar-default .navbar-toggle {
		border-color: #28639b;
		background-color: #28639b;
	}
	.navbar-default .navbar-toggle .icon-bar {
		background-color: #fff;
	}
  
	.map iframe{height:400px;width:100%;}
	
	.homepage h2 {font-size:22px;}
	
	.head img{max-width:200px;}
	.head {	padding:20px;text-align:center}
	.payoff {top:130px;right:0;left:0;font-size:20px;letter-spacing:.6px;}
}

@media only screen and (max-width : 480px) {
	.container{padding:0;}
	.row{margin:0;}
	
	.head {	padding:10px 10px 10px 30px; height: 140px;}
	.payoff {display:none;}

	.map iframe{height:300px;width:100%;}
	.gofull480 {width:100%;margin-bottom:30px;}
	.bxslider{display:none;}
	.azienda, .referenze, .prodotti, .news {padding:0;}
}

@media only screen and (max-width : 400px) {
	.head {height: 120px;}
}


