@import url(https://fonts.googleapis.com/css?family=Oswald:400,700);
/*@import url(https://fonts.googleapis.com/css?family=Monda:400,700);
@import url(https://fonts.googleapis.com/css?family=Amiko:400,700);*/
@import url(https://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic);
html,
body {
    height: 100%;
}

body {font-family: /*'Amiko', sans-serif;*/ 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    padding-top: 50px; /*70px; Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */

}
.scale {width:100%;height:auto;}
.scale-loghi {width:100%;height:auto;}
.scale-bann {width:100%;height:auto;}
.img-portfolio {
    margin-bottom: 15px;
}
a, a:visited, a:focus, a:active, a:hover{
    outline:0 none !important;
}
#boxnewsl {border-color: #46b8da; border-bottom-width: 1px; border-top-width: 1px;/*margin-top: 6px;*/}
.newsletter-bar {/*background-color: #31b0d5;color: #fff;padding: 5px;*/font-weight: bold;margin-top: 15px;}
.newsletter-bar-inner {margin-top: 5px;font-weight: bold;}
/*--- Modifiche su tooltip---*/
.tooltip-inner {background-color: #3366cc;}
.tooltip.top .tooltip-arrow,
.tooltip.top-left .tooltip-arrow,
.tooltip.top-right .tooltip-arrow {border-bottom-color: #3366cc;border-top-color: #3366cc;}
/*.tooltip.right .tooltip-arrow,
.tooltip.left .tooltip-arrow,
.tooltip.bottom .tooltip-arrow,
.tooltip.bottom-left .tooltip-arrow,
.tooltip.bottom-right .tooltip-arrow {border-left-color: #3366cc;border-right-color: #3366cc;}*/

/*--- Modifiche su Bottoni e Headings Panels ---*/
button::-moz-focus-inner {
  border: 0;    /*removes dotted lines around buttons*/
}
.btn.active.focus, .btn.active:focus, .btn.focus, .btn.focus:active, .btn:active:focus, .btn:focus{
  outline:0;
}
.btn-primary, .btn-danger  {text-shadow: 0 -1px 1px #333;}
.btn-default {text-shadow: 0 1px 1px #fff;}
.btn-success {text-shadow: 0 -1px 1px #646464;}
.btn-warning, .btn-info {text-shadow: 0 -1px 1px #828282;}
.btn-primary, .panel-primary > .panel-heading {
background: -moz-linear-gradient(bottom,rgba(51,122,183,0.7),rgba(40,96,144,1)); /*Fx 3.6-15*/
background: -webkit-linear-gradient(bottom,rgba(51,122,183,0.7),rgba(40,96,144,1)); /*Safari 5.1-6*/
background: -o-linear-gradient(bottom,rgba(51,122,183,0.7),rgba(40,96,144,1)); /*Opera 11.1-12*/
background: linear-gradient(to bottom,rgba(51,122,183,0.7),rgba(40,96,144,1)); /*Standard*/
}
.btn-warning {
background: -moz-linear-gradient(bottom,rgba(240,173,78,0.7),rgba(236,151,31,1)); /*Fx 3.6-15*/
background: -webkit-linear-gradient(bottom,rgba(240,173,78,0.7),rgba(236,151,31,1)); /*Safari 5.1-6*/
background: -o-linear-gradient(bottom,rgba(240,173,78,0.7),rgba(236,151,31,1)); /*Opera 11.1-12*/
background: linear-gradient(to bottom,rgba(240,173,78,0.7),rgba(236,151,31,1)); /*Standard*/
}
.panel-warning > .panel-heading {
background: -moz-linear-gradient(bottom,rgba(252,248,227,0.5),rgba(240,173,78,1)); /*Fx 3.6-15*/
background: -webkit-linear-gradient(bottom,rgba(252,248,227,0.5),rgba(240,173,78,1)); /*Safari 5.1-6*/
background: -o-linear-gradient(bottom,rgba(252,248,227,0.5),rgba(240,173,78,1)); /*Opera 11.1-12*/
background: linear-gradient(to bottom,rgba(252,248,227,0.5),rgba(240,173,78,1)); /*Standard*/
}
.btn-info {
background: -moz-linear-gradient(bottom,rgba(91,192,222,0.7),rgba(49,176,213,1)); /*Fx 3.6-15*/
background: -webkit-linear-gradient(bottom,rgba(91,192,222,0.7),rgba(49,176,213,1)); /*Safari 5.1-6*/
background: -o-linear-gradient(bottom,rgba(91,192,222,0.7),rgba(49,176,213,1)); /*Opera 11.1-12*/
background: linear-gradient(to bottom,rgba(91,192,222,0.7),rgba(49,176,213,1)); /*Standard*/
}
.panel-info > .panel-heading {
background: -moz-linear-gradient(bottom,rgba(217,237,247,0.7),rgba(49,176,213,1)); /*Fx 3.6-15*/
background: -webkit-linear-gradient(bottom,rgba(217,237,247,0.7),rgba(49,176,213,1)); /*Safari 5.1-6*/
background: -o-linear-gradient(bottom,rgba(217,237,247,0.7),rgba(49,176,213,1)); /*Opera 11.1-12*/
background: linear-gradient(to bottom,rgba(217,237,247,0.7),rgba(49,176,213,1)); /*Standard*/
}
.btn-danger, .panel-danger > .panel-heading {
background: -moz-linear-gradient(bottom,rgba(217,83,79,0.7),rgba(201,48,44,1)); /*Fx 3.6-15*/
background: -webkit-linear-gradient(bottom,rgba(217,83,79,0.7),rgba(201,48,44,1)); /*Safari 5.1-6*/
background: -o-linear-gradient(bottom,rgba(217,83,79,0.7),rgba(201,48,44,1)); /*Opera 11.1-12*/
background: linear-gradient(to bottom,rgba(217,83,79,0.7),rgba(201,48,44,1)); /*Standard*/
}
.panel-danger > .panel-heading{
background: -moz-linear-gradient(bottom,rgba(242,222,222,0.5),rgba(242,222,222,1)); /*Fx 3.6-15*/
background: -webkit-linear-gradient(bottom,rgba(242,222,222,0.7),rgba(242,222,222,1)); /*Safari 5.1-6*/
background: -o-linear-gradient(bottom,rgba(242,222,222,0.7),rgba(242,222,222,1)); /*Opera 11.1-12*/
background: linear-gradient(to bottom,rgba(242,222,222,0.5),rgba(242,222,222,1)); /*Standard*/
}
.btn-success { 
background: -moz-linear-gradient(bottom,rgba(92,184,92,0.7),rgba(68,157,68,1)); /*Fx 3.6-15*/
background: -webkit-linear-gradient(bottom,rgba(92,184,92,0.7),rgba(68,157,68,1)); /*Safari 5.1-6*/
background: -o-linear-gradient(bottom,rgba(92,184,92,0.7),rgba(68,157,68,1)); /*Opera 11.1-12*/
background: linear-gradient(to bottom,rgba(92,184,92,0.7),rgba(68,157,68,1)); /*Standard*/
}
.panel-success > .panel-heading {
background: -moz-linear-gradient(bottom,rgba(223,240,216,0.3),rgba(92,184,92,1)); /*Fx 3.6-15*/
background: -webkit-linear-gradient(bottom,rgba(223,240,216,0.5),rgba(92,184,92,1)); /*Safari 5.1-6*/
background: -o-linear-gradient(bottom,rgba(223,240,216,0.5),rgba(92,184,92,1)); /*Opera 11.1-12*/
background: linear-gradient(to bottom,rgba(223,240,216,0.3),rgba(92,184,92,1)); /*Standard*/
}
.btn-default /*.panel-default > .panel-heading*/ {
background: -moz-linear-gradient(top,rgba(100,100,100,0.6),rgba(255,255,255,1)); /*Fx 3.6-15*/
background: -webkit-linear-gradient(top,rgba(100,100,100,0.6),rgba(255,255,255,1)); /*Safari 5.1-6*/
background: -o-linear-gradient(top,rgba(100,100,100,0.6),rgba(255,255,255,1)); /*Opera 11.1-12*/
background: linear-gradient(to top,rgba(100,100,100,0.6),rgba(255,255,255,1)); /*Standard*/
}
.btn-default:hover {background: #BEBEBE;text-shadow: 0 -1px 1px #fff;}
/*.btn-primary:hover, .btn-warning:hover, .btn-info:hover, .btn-danger:hover, .btn-success:hover {text-shadow: /*-1px 1px 2px #000000;*//*0 1px 2px #000;*/
/*box-shadow: 0 5px 6px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);*/
}*/
.head-banner {
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover; 
}
.btn {font-weight: bold;}

/* Home Page */

header.carousel {
    height: 50%;
}

header.carousel .item,
header.carousel .item.active,
header.carousel .carousel-inner {
    height: 100%;
}

header.carousel .fill {/*
    width: 100%;*/
    height: 100%;
    background-position: center;
    background-size: cover;
}
.marg-bot {margin-bottom: 10px;}
#fondo-news {background-image: url(../img/home/fondo-news.jpg); background-repeat: no-repeat;background-size: cover;
color: #464646;text-shadow: 0 1px 1px #fff;}

/* Effetti hover immagini*/
 /*opacità*/
.hoverx img {-webkit-transition: all 0.5s ease;-moz-transition: all 0.5s ease;-o-transition: all 0.5s ease;
		-ms-transition: all 0.5s ease;transition: all 0.5s ease;opacity:0.5;}
.hoverx img:hover {opacity:1;}
.img-hover:hover {opacity: 0.8;}

/* Footer Styles */
.foot {background-color: #337ab7;}
footy {background-color: #;color:#fff;
}
footer {font-size: 85%;color:#f0f0f0;padding:10px;}
footer a {color:#f0f0f0;}
footer a:hover {color:#EFAA48;}

/* Responsive Styles */

@media(max-width:991px) {

    header.carousel .carousel {
        height: 70%;
    }
}
@media (max-width: 351px) {
.logo-head {width:90%;height:auto;}	
.nowrap {white-space: nowrap; 
overflow: hidden;
text-overflow: ellipsis;}	
		}
@media (min-width: 50px) and (max-width: 390px) {
.scale-loghi {width:150px;height:auto;}		
		}
/*per bottoni home page + barra newsletter*/		
@media (min-width: 50px) and (max-width: 563px) {
#bottoni-home {margin:15px;}	
.newsletter-bar-inner {margin-top: 15px;;}	
		}		
@media (min-width: 563px) and (max-width: 767px) {
#bottoni-home {margin:15px;}	
		}		
/*--*/		
@media (min-width: 391px) and (max-width:767px) {
.scale-loghi {width:200px;height:auto;}
/*.scale {width:50%;}*/
}
@media (min-width: 768px) and (max-width: 991px) {
body {padding-top: 100px;}
}
@media (min-width: 200px) and (max-width: 411px) {
body {padding-top: 85px;}
#btnprivaci {font-size: 0.6em;}
#newsletterbtn {font-size: 0.9em;}
}
@media (min-width: 412px) and (max-width: 425px) {
#privacy {font-size: 0.8em;}
}
@media (min-width: 200px) and (max-width: 768px) {
.carousel-caption {font-size:85%}
}
@media (min-width: 768px) and (max-width: 991px) {
.caption h3 {font-size: 1.1em;}
}		
@media (min-width: 768px) and (max-width: 992px) {
  .dl-horizontal dt {
    margin-left: 0;text-align: left;width: auto;
  }
  .dl-horizontal dd {
    margin-left: 100px;text-align: justify; white-space:normal;
  }
}
/*@media (min-width: 550px) and (max-width: 770px) {

}*/
     .fixedContainer {
         /*background-color:#ddd;*/
         position: absolute;
         /*padding: 2em;*/
         left: 50%;
         top: 0;
         transform: translate(-50%, -50%);
     }
		 
/*--------------------------------------------------------------
# Privacy button + Modal
--------------------------------------------------------------*/
.privacy-box {
  position: fixed;
  visibility: visible;
  opacity: 0;
  right: 5px;
  bottom: 10px;
  z-index: 100000;
  background: /*#68A4C4;*/#3366cc;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}
.privacy-box i {
  font-size: 24px;
  color: #fff;
  /*line-height: 20px;*/
	margin-left: 4px;
	margin-top: 5px;	
}
.privacy-box:hover {
  background: /*#85b6cf;*/#66cc33;
  color: #fff;
}
.privacy-box.active {
  visibility: visible;
  opacity: 1;
}		 
#PrivacyInfo .modal-header {background-color: #24478f;color: #fff;}
/*#PrivacyInfo .modal-header .btn-close {background: transparent url(../img/modal-close.png) center/1em auto no-repeat;}*/
#PrivacyInfo span {color: #ccc; opacity: 1;}
#PrivacyInfo span:hover {color: #fff; opacity: 1;}
#PrivacyInfo .modal-footer {background-color: #24478f;color: #fff;}