/* TAGS */
body {
  margin:0;
  text-align:center;
  background:#FFF;
  font-size:17px;
  font-family:'Asap Condensed', Verdana, Tahoma, Arial, Helvetica, San Serif;
  color:#000;
  line-height:150%;
  overflow-x:hidden;
}
div {
  position:relative;
  text-align:left;
}
p {
  margin-top:12px;
  margin-bottom:12px;
  padding:0;
}
td {
  padding:4px;
}
h1, h2,h3,h4,h5 {
  font-family:'Asap Condensed', Arial, Helvetica, San Serif;
}
h1 {           
  background:#254061;     
  padding:35px 25px;     
  font-size:38px;
  font-weight:normal;
  color:#FFF;
  margin:auto;
}
h2 {               
  font-size:30px;
  color:#8eb4e3;
}
h3 { 
  font-size:28px;
  color:#62b79a;
}
h4 {
  font-size:120%;
}
h5 {
  font-size:90%;
}
big {
  font-size:120%;
}
small {
  font-size:80%;
}
img {
  border:0;
}
a {        
  color:#808080;
  text-decoration:none;
  -webkit-transition: all 0.2s ease-in-out 0.1s;
  -moz-transition: all 0.2s ease-in-out 0.1s;
  -o-transition: all 0.2s ease-in-out 0.1s;
  -ms-transition: all 0.2s ease-in-out 0.1s;
  transition: all 0.2s ease-in-out 0.1s;
}
a:hover {
  text-decoration:underline;
}
a:focus {
  outline:0;
}
.testo a {
  color:#8eb4e3;
  text-decoration:underline;
}
.testo a:hover {
  color:#111;
  text-decoration:underline;
}
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {  
  color:#8eb4e3;
  text-decoration:none !important;
}
h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {  
  color:#62b79a;
  text-decoration:none !important;
}
h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small {  
  color:#999;
  text-decoration:none !important;
}
hr {
  border:1px solid transparent;
  border-top:1px solid #ddd;
}
select {
  cursor:pointer;
}
option {
font-size:14px;
}
header {
  background:#fcfcff;
}
footer {
  background:#222222;
  color:#FFF;
}
footer a {
  color:#3c7090;
}

/* ELEMENTI LAYOUT */
div#NOMESITO {
  color:#254061;
  vertical-align:middle;   
}
div#NOMESITO img {
  float:left;
}
div#NOMESITO span {
  display:block;
  padding-top:26px;  
  font-size:42px; 
  line-height:32px;
  font-weight:700; 
}   
@media screen and (max-width: 1280px) {
    div#NOMESITO span { padding-top:23px; font-size:40px; }
}  
@media screen and (max-width: 1024px) {
    div#NOMESITO span { padding-top:20px; font-size:35px; }
}
@media screen and (max-width: 910px) {
    div#NOMESITO span { padding-top:8px; }
}
@media screen and (max-width: 768px) {
    div#NOMESITO span { padding-top:20px; font-size:30px; }
}
@media screen and (max-width: 600px) {
    div#NOMESITO span { padding-top:10px; }
}
@media screen and (max-width: 350px) {
    div#NOMESITO span { padding-top:19px; font-size:26px; line-height:21px; }
}
div#LOGHI_COMUNI {
  clear:both;
  max-width:750px;
}    
@media screen and (max-width: 576px) {
    div#LOGHI_COMUNI { display:none; }
}
div#LOGHI_COMUNI .card {
  border:0;  
  text-align:center;
} 
div#LOGHI_COMUNI img {
  width:80%; 
  height:60px; 
} 
div#LOGHI_COMUNI small { 
  display:block; 
  font-family:Arial, Helvetica;
  font-size:9px;
  line-height:11px;
  margin-top:3px;
  text-decoration:none;
} 
@media screen and (max-width: 900px) {
    div#LOGHI_COMUNI img { height:50px; }
}
@media screen and (max-width: 768px) {
    div#LOGHI_COMUNI img { height:40px; }
}
div#SLIDESHOW h3,
div#SLIDESHOW h4,
div#SLIDESHOW h5 {
  color:#FFF;
  display:inline-block;
  font-weight:700;        
  margin:5px 0;
}
div#SLIDESHOW h3 {
  background:#254061;
  font-size:45px;        
  padding:10px 25px;
}
div#SLIDESHOW h4 {
  background:#8eb4e3;
  font-size:35px;   
  padding:5px 25px;
}
div#SLIDESHOW h5 {
  background:#92d050;
  font-size:25px;   
  padding:5px 25px;
} 
div#SLIDESHOW h3 a,
div#SLIDESHOW h4 a,
div#SLIDESHOW h5 a {
  color:#FFF;
}  
@media screen and (max-width: 1024px) {
    div#SLIDESHOW h3 { font-size:35px; }
    div#SLIDESHOW h4 { font-size:25px; }
    div#SLIDESHOW h5 { font-size:15px; }
}
@media screen and (max-width: 880px) {
    div#SLIDESHOW h3 { font-size:26px; }
    div#SLIDESHOW h4 { font-size:20px; }
    div#SLIDESHOW h5 { font-size:13px; }
}
@media screen and (max-width: 768px) {
    div#SLIDESHOW h3 { font-size:22px; }
    div#SLIDESHOW h4 { font-size:18px; }
    div#SLIDESHOW h5 { font-size:10px; }
}
div#SLIDESHOW .carousel-caption {
  bottom:150px;
  text-align:right;
} 
@media screen and (max-width: 1024px) {
    div#SLIDESHOW .carousel-caption { bottom:100px; } 
}
@media screen and (max-width: 768px) {
    div#SLIDESHOW .carousel-caption { bottom:30px; } 
}
div#MENU {
  top:0;
  left:0;
  z-index:2;
  width:100%;    
  background:#000;
}
div#MENU.home {
  position:absolute; 
} 
div#MENU_MOBILE {
  display:none; 
  background:#000; 
  padding:6px 0;
} 
div#MENU_MOBILE .fa {
  color:#FFF;
  font-size:23px;
  padding:10px 2px 10px 10px;
}
div#MENU_MOBILE .fa:hover {
  color:#FC0;
}
div#MENU_MOBILE .fa-bars {  
  font-size:20px;
  padding:10px;
  border:1px solid #666; 
  background:#000;
  cursor:pointer;
  width:45px;
  text-align:center;
  float:right;
  margin-right:7px;
} 
div#MENU_MOBILE .fa-bars:hover {
  background:#555;
} 
div#MENU_MOBILE div {
  padding-top:6px;
} 
div#MENU_MOBILE div a {
  display:block;
  color:#FFF;
  padding:5px 10px;
  font-size:110%;
  line-height:1;
} 
div#MENU_MOBILE div a:hover,div#MENU_MOBILE div a.nav-active {
  background:#555;
  text-decoration:none;
} 
@media screen and (max-width: 768px) {
    div#MENU, div#MENU.home, div#MENU.home .nav-menu ul {
      display:none;
    } 
    div#MENU_MOBILE {
      display:block;
    } 
}
/* CLASSI */
.nav-menu,.nav-menu ul,.nav-menu li,.nav-menu a { margin: 0; padding: 0; line-height: normal; list-style: none; display: block; position: relative; }
.nav-menu ul { opacity: 0; position: absolute; top: 100%; left: -9999px; z-index: 999; -webkit-transition: opacity .3s; transition: opacity .3s; }
.nav-menu li:hover > ul { left: 0; opacity: 1; z-index: 1000; }
.nav-menu ul li:hover > ul { top: -3px; left: 100%; }
.nav-menu li { cursor: default; float: left; white-space: nowrap; }
.nav-menu li ul li { float: none; }
.nav-menu ul { min-width: 12em; background:#000; padding-top:3px; padding-bottom:3px; }
div#MENU.home, div#MENU.home .nav-menu ul { background:rgba(0,0,0,.4); } 
/* center */
.nav-center { float: right; right: 50%; z-index:1; }
.nav-center > li { left: 50%; }
/* root */
.nav-menu a {
  padding:10px;
  font-family:'Asap Condensed', Arial, Helvetica, San Serif;
  font-style: normal;
  font-weight: 900;
  font-size:18px;
  line-height:20px;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow:1px 1px 2px black;
  word-spacing:3px;
  color:#FFF;
}
.nav-menu a.nav-active {
  color:#8eb4e3;
}
.nav-menu a.nav-active {
  text-decoration:underline;
}
/* 2 */
.nav-menu li li a,.nav-menu li:hover li a {
  padding: 5px 10px 5px 10px;
  color: #FFF;
  line-height: normal;
}
.nav-menu a:hover, .nav-menu li:hover li a:hover,.nav-menu li:hover li a:focus,.nav-menu li:hover li:hover a { color:#f17840; }
.nav-menu li:hover li:hover li a { color:#FFF; }
.nav-menu li:hover li:hover li a:hover,.nav-menu li:hover li:hover li a:focus,.nav-menu li:hover li:hover li:hover a { color:#f17840; }

#btn-menu {
  position:absolute;       
  top:0px;
  right: 13px;
  display:none;
} 

@media screen and (max-width: 768px) {
    #menu { display:none; }     
    #btn-menu { display:block; }
}
@media screen and (min-width: 769px) {
    #menu_mobile { display:none; }     
}

.nav-menu-mobile,.nav-menu-mobile ul,.nav-menu-mobile li,.nav-menu-mobile a { margin:0; padding:0; line-height:normal; list-style:none; position:relative; }
.nav-menu-mobile li { cursor:default; white-space:nowrap; }
.nav-menu-mobile a, .nav-menu-mobile li li a {
  padding:10px;
  font-family:'Raleway';
  font-style:normal;
  font-weight:900;
  font-size:12px;
  line-height:20px;
  text-decoration: none;
  text-transform: uppercase;
  color:#FFF;
  border-top:1px solid #777;
  margin:0;
  display:block;
}
.nav-menu-mobile a:focus, .nav-menu-mobile li li a:focus {
  color:#f17830;
  background:#3e2e2e;
}
.nav-menu-mobile li li a {
  padding:10px 0 10px 20px;
}

.social a {
  font-size:30px;
  color:#FFF;
  margin:0px 4px 0 4px;    
  text-shadow:1px 1px 1px black;
}
.social a:hover {
  color:#f17840;
}

.container {
  max-width:1280px;
}

.align-left {
  text-align:left;
}
.align-right {
  text-align:right;
}
.center {
  text-align:center;
}
.justify {
  text-align:justify;
}
.icon {
  position:relative;
  top:3px;
}
.clear {
  clear:both;
}
.link {
  cursor:pointer;
}
.move {
  cursor:move;
}
.nascosto {
  display:none;
}
.hidden {
  visibility:hidden;
}

.bianco {
  color:#FFF !important;
}
.nero {
  color:#000 !important;
}
.grigio {
  color:#777 !important;
}
.celeste {
  color:#36F !important;
}
.blu {
  color:#00F !important;
}
.rosso {
  color:#F00 !important;
}
.giallo {
  color:#FC0 !important;
}
.arancio {
  color:#F60 !important;
}
.verde {
  color:#026a00 !important;
}
.viola {
  color:#60F !important;
}

.titolo-area {
  color:#254061;
  font-size:35px;
  font-weight:600;
  margin:24px 0;
  border-bottom:3px solid #254061;
  padding-bottom:20px;  
}
.titolo-area2 {
  color:#8eb4e3;
  font-size:35px;
  font-weight:600;
  margin:24px 0;
  border-bottom:3px solid #8eb4e3;
  padding-bottom:20px;  
}

.card-title {
  text-transform:uppercase;
  color:#ee9012;
  font-size:23px;
  font-weight:600;
}

.senza-bordo {
  border:0 !important;
}

.mezzo {
	float:left;
	width:50%;
}
.un_terzo {
	float:left;
	width:33%;
}
.due_terzi {
	float:left;
	width:66%;
}
.un_quarto {
	float:left;
	width:25%;
}
.tre_quarti {
	float:left;
	width:75%;
}
@media screen and (max-width: 768px) {
    .mezzo, .un_terzo, .due_terzi {
        float:none;
        width:100%;
    }
    .un_quarto, .tre_quarti {
        width:50%;
    }
}
@media screen and (max-width: 480px) {
    .un_quarto, .tre_quarti {
        float:none;
        width:100%;
    }
}
.un_quinto {
	float:left;
	width:20%;
}
.un_sesto {
	float:left;
	width:16%;
}
@media screen and (max-width: 900px) {
  .un_quinto,
  .un_sesto {
  	width:25%;
  }
}
@media screen and (max-width: 768px) {
  .un_quinto, 
  .un_sesto {
  	width:33%;
  }
}
@media screen and (max-width: 480px) {
  .un_quinto,
  .un_sesto {
    width:50%;
  }
}
@media screen and (max-width: 320px) {
  .un_quinto,
  .un_sesto {
    float:none;
    width:100%;
  }
}
.clear_quinto { clear:both; }
@media screen and (max-width: 900px) { .clear_quinto { display:none; } }
.clear_quinto_2, .clear_quinto_3, .clear_quinto_4 { display:none; clear:both; }
@media screen and (max-width: 900px) and (min-width: 769px) { .clear_quinto_4 { display:block; } }
@media screen and (max-width: 768px) and (min-width: 481px) { .clear_quinto_3 { display:block; } }
@media screen and (max-width: 480px) { .clear_quinto_2 { display:block; } }

.btn-arancione {
  background:#ee9012;
  border-color:#ee9012;
  margin-right:5px;
}

.loghi_comuni * {
  text-align:center;
}
.loghi_comuni div {
  margin:20px 0;
}
.loghi_comuni img {
  height:100px;
  width:auto;
  margin:auto;
}
.loghi_comuni small {
  font-size:13px;
  display:block;
  margin:3px 0;
}

.img-gif-vibrata {
  width:100%;
  max-width:320px;
}
@media screen and (max-width: 768px) {
    .img-gif-vibrata { max-width:520px; }
}

.form-cerca {
  margin-top:4px;
  margin-right:10px;
  margin-bottom:10px;
}
.form-cerca input {
  font-size:12px;
  line-height:16px;
  padding:2px 13px;
  cursor:pointer;
}
@media screen and (max-width: 576px) {
    .form-cerca { display:none; }
}

.page-link {
  color:#254061;
}
.page-item.active .page-link,
.btn-primary,
.bgh1 {           
  background:#254061;     
}
.page-item.active .page-link,
.btn-primary {           
  border-color:#254061;     
}

li.page-item {
  width:45px;
  text-align:center;
}

img.cerchio { border-radius: 50%; }

.carousel-indicators {
  bottom:-30px;
}
.carousel-indicators li {
  width:12px;
  height:12px;
  background-color:#444;
  border:1px solid #000;
  border-radius: 50%;
}
