/* 
	grigio #414245
	rosso #962534
*/
body {
  width: 100%;
  height: 100%;
  font-family: 'Oswald', sans-serif;
  font-weight:300;
  color:#414245;
}

.slideout-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 256px;
  min-height: 100vh;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  z-index: 0;
  display: none;
}

.slideout-menu-left {
  left: 0;
}

.slideout-menu-right {
  right: 0;
}

.slideout-panel {
  position: relative;
  z-index: 1;
  will-change: transform;
  background-color: #FFF; /* A background-color is required */
  min-height: 100vh;
}

.slideout-open,
.slideout-open body,
.slideout-open .slideout-panel {
  overflow: hidden;
}

.slideout-open .slideout-menu {
  display: block;
}

.allinea-dx{float:right}

.toggle-button{width:50px; height:50px; cursor:pointer; background:url(../imgs/menuopen.png) no-repeat; background-position:center center; float:left;}
.menuaperto {background:url(../imgs/menuclose.png) no-repeat; background-position:center center;}
.menuaperto {
  -webkit-animation-name: rotate;
  -webkit-animation-duration:1s;
  -webkit-animation-iteration-count:1;
  -webkit-animation-timing-function:linear;
  -moz-animation-name: rotate;
  -moz-animation-duration:1s;
  -moz-animation-iteration-count:1
}
 @-webkit-keyframes rotate {
  from {-webkit-transform:rotate(0deg);}
  to {  -webkit-transform:rotate(180deg);}
}

@-moz-keyframes rotate {
  from {-moz-transform:rotate(0deg);}
  to {  -moz-transform:rotate(180deg);}
}

.menu-label{float:left; line-height:50px; color:#414245; text-transform:uppercase; margin-left:12px}
#panel {width:100%; padding:0 !important; margin:0 !important}
/* ------------------------------- MAIN MENU ----------------------------- */
.riga-top {margin-top:40px}
.main-menu{margin:20px 0 0 20px}
.main-menu li {padding:10px 0 10px 0}
.main-menu li a
{
	text-decoration:none !important;
	text-transform:uppercase;
	font-size:1.2em;
}

.main-menu li a:link, .main-menu li a:visited
{
	color:#FFF;
	-webkit-transition: color 400ms ease-out 100ms;
    -moz-transition: color 400ms ease-out 100ms;
    -o-transition: color 400ms ease-out 100ms;
    transition: color 400ms ease-out 100ms;
}
.main-menu li a:hover
{
	color:#962534;
	-webkit-transition: color 400ms ease-out 100ms;
    -moz-transition: color 400ms ease-out 100ms;
    -o-transition: color 400ms ease-out 100ms;
    transition: color 400ms ease-out 100ms;
}


/* ------------------------------- CAROUSEL HOME ----------------------------- */


.divisore{border-top:#962534 1px solid; margin-bottom:60px}
.titolo-pagina{font-size:2em; margin-bottom:40px}
.descrizione{text-align:justify; font-size:1.1em}

/* ----------------------------------- NEWS ----------------------------------- */
.news-hp{margin-top:100px;}
.cont-news{margin:0 0 30px 0; padding:10px; color:#414245;  background:#ececec url('../imgs/corner-top.png'); background-repeat:no-repeat; background-position:right top; overflow:hidden}
@media (min-width: 767px)  { .cont-news{min-height:220px; } }
@media (min-width: 991px)  { .cont-news{min-height:270px; } }
@media (min-width: 1199px)  { .cont-news{min-height:224px; } }
.cont-news .giorno{border:#962534 1px solid; font-size:2.2em; color:#962534; background:#FFF; text-align:center; width:46px; height:46px; float:left;}
.cont-news .mese-anno{border:#962534 1px solid; font-size:1.0em; color:#fff; background:#962534; text-align:center; width:46px; height:46px; float:left;}
.cont-news .chiusura {clear:both; height:8px;}
.cont-news .titolo{font-size:1.1em; font-weight:600;}
.cont-news hr 
	{border: 0;
    height: 0;
    border-top:0;
    border-bottom: 1px solid rgba(65, 66, 69, 0.3);
	margin:8px 0 8px
	}
.cont-news .testo{font-size:0.9em; text-align:justify}

/* ----------------------------------- CHI SIAMO ----------------------------- */
.owl-carousel .item {margin:10px;}
.owl-carousel .item:hover{
	
	opacity:0.7;
	-webkit-transition: .4s;
    -moz-transition: .4s;
    -o-transition: .4s;
    -transition: .4s;
	}

.ico-cont {padding:0 !important; background:#000 !important; border: #414245 1px solid}

.ico-cont {
    width: 100%;
    height: 100%;
	 overflow:hidden !important;  
}

.ico-cont img {
    -webkit-transition: all 1s ease; /* Safari and Chrome */
  	-moz-transition: all 1s ease; /* Firefox */
  	-o-transition: all 1s ease; /* IE 9 */
  	-ms-transition: all 1s ease; /* Opera */
  	transition: all 1s ease;
}

.item:hover img {
    -webkit-transform:scale(1.25); /* Safari and Chrome */
    -moz-transform:scale(1.25); /* Firefox */
    -ms-transform:scale(1.25); /* IE 9 */
    -o-transform:scale(1.25); /* Opera */
     transform:scale(1.25);
}



/* ----------------------------- GALLERY  MOUSEOVER ------------------------------- */

.boxt { 
	    
	    margin:10px 4px 10px 4px;
		height:250px;
		width:100%;
		overflow:hidden;
		border:#962534 1px solid
	}
	.overlay {  
	    background:rgba(255, 255, 255, .60);
	    text-align:center;
	    opacity:0;
		min-height:250px;
		width:100%;
	    -webkit-transition: all 0.3s ease-in-out;
	    -moz-transition: all 0.3s ease-in-out;
	    -o-transition: all 0.3s ease-in-out;
	    -ms-transition: all 0.3s ease-in-out;
	    transition: all 0.3s ease-in-out;
		padding:0 !important; margin:0 !important
	}
	
	.overlay img {margin:0 auto 0 auto}
	
	.boxt:hover {
	    /* border:1px solid #555; */
	    
	}
	.boxt:hover .overlay {
	    opacity:1;
	}
	.boxt:hover  .search{
  	top: 0;
	}

	.search {
	    position:relative;
	    top: 100%;
		transition: all .3s ease-out;
  		height: 100%;
		text-transform:uppercase
	}
	
	.boxt a{color:#962534; text-decoration:none; font-size:1.2em; margin:0 !important; padding:0 !important}

.torna{margin-top:16px}
	
.torna a:link, .torna a:visited {
	text-decoration:none;
	font-size:1.2em;
	color:#962534;
	-webkit-transition: color 400ms ease-out 100ms;
    -moz-transition: color 400ms ease-out 100ms;
    -o-transition: color 400ms ease-out 100ms;
    transition: color 400ms ease-out 100ms; 
	}

.torna a:hover{
	text-decoration:none;
	color:#414245;
	-webkit-transition: color 400ms ease-out 100ms;
    -moz-transition: color 400ms ease-out 100ms;
    -o-transition: color 400ms ease-out 100ms;
    transition: color 400ms ease-out 100ms; 
	}

/* ----------------------------- NEWS MOUSEOVER ----------------------------------- */

	.overlay-news {  
		position:absolute;
		z-index:10;
		top:0; left:0;
	    background:rgba(255, 255, 255, .80);
	    text-align:center;
	    opacity:0;
		width:100%;
				
	    -webkit-transition: all 0.3s ease-in-out;
	    -moz-transition: all 0.3s ease-in-out;
	    -o-transition: all 0.3s ease-in-out;
	    -ms-transition: all 0.3s ease-in-out;
	    transition: all 0.3s ease-in-out;
		padding:0 !important; margin:0 !important
	}
	
	@media (min-width: 767px)  { .overlay-news{min-height:220px; } }
	@media (min-width: 991px)  { .overlay-news{min-height:270px; } }
	@media (min-width: 1199px)  { .overlay-news{min-height:224px; } }

	
	.cont-news:hover .overlay-news {
	    opacity:1;
	}
	.cont-news:hover  .search-news{
  	top: 0;
	}

	.search-news {
	    position:relative;
	    top: 100%;
		transition: all .3s ease-out;
  		height: 100%;
		text-transform:uppercase;
		color:#414245;
	}
	
	.cont-news a{text-decoration:none; color:#414245; margin:0 !important; padding:0 !important}
.descrizione a {text-decoration:none; font-weight:600}	
.descrizione a:link, .descrizione a:visited {
	color:#962534;
	-webkit-transition: color 400ms ease-out 100ms;
    -moz-transition: color 400ms ease-out 100ms;
    -o-transition: color 400ms ease-out 100ms;
    transition: color 400ms ease-out 100ms;
	}
	
.descrizione a:hover {
	-webkit-transition: color 400ms ease-out 100ms;
    -moz-transition: color 400ms ease-out 100ms;
    -o-transition: color 400ms ease-out 100ms;
    transition: color 400ms ease-out 100ms; 
	color:#414245}
/* ----------------------------- FORM ----------------------------------- */
#modal-privacy{display:none; margin:50px 80px 50px 80px}
@media (max-width: 767px) {
#modal-privacy{display:none; margin:50px 20px 50px 20px}
}
.gruppo-modulo{font-size:1.1em;}
.gruppo-modulo input[type="text"], .gruppo-modulo input[type="email"], .gruppo-modulo input[type="password"], .gruppo-modulo select, .gruppo-modulo textarea {border: 1px #962534 solid; background:#FAFAFA; border-radius:4px; font-size:1.1em; color:#333}
.gruppo-modulo input[type="text"]:focus, .gruppo-modulo input[type="email"]:focus, .gruppo-modulo input[type="password"]:focus, .gruppo-modulo select:focus, .gruppo-modulo textarea:focus 
{box-shadow: 0 1px 1px rgba(68, 55, 47, 0.075) inset, 0 0 8px rgba(68, 55, 47, 0.6) !important; outline: 0 none !important;}
.gruppo-modulo textarea:focus {border: 1px #962534 solid !important}


.errore{color:#ff0000;}
#esito{font-size: 1.1em; min-height:40px; font-weight:600}
.gruppo-modulo a:link, .gruppo-modulo a:visited, .privacy-testo a:link, .privacy-testo a:visited, #map-canvas a:link, #map-canvas a:visited{
	text-decoration:none;
	font-size:1.1em;
	color:#962534;
	-webkit-transition: color 400ms ease-out 100ms;
    -moz-transition: color 400ms ease-out 100ms;
    -o-transition: color 400ms ease-out 100ms;
    transition: color 400ms ease-out 100ms; 
}

.gruppo-modulo a:hover, .privacy-testo a:hover, #map-canvas a:hover{
	text-decoration:none;
	color:#414245;
	-webkit-transition: color 400ms ease-out 100ms;
    -moz-transition: color 400ms ease-out 100ms;
    -o-transition: color 400ms ease-out 100ms;
    transition: color 400ms ease-out 100ms; 
}

.bott{background:#962534; color:#fff; padding:8px; width:100%}
.bott:hover{background:#414245; color:#fff}

#map-canvas{min-height:520px; border-top:#414245 1px solid;  border-bottom:#414245 1px solid;}
.modal-chiudi{font-weight:300}
.material-switch > input[type="checkbox"] {
    display: none;   
}

.material-switch > label {
    cursor: pointer;
    height: 0px;
    position: relative; 
    width: 40px;  
}

.material-switch > label::before {
    background: rgb(0,0,0);
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    content: '';
    height: 16px;
    margin-top: -8px;
    position:absolute;
    opacity: 0.3;
    transition: all 0.4s ease-in-out;
    width: 40px;
}
.material-switch > label::after {
    background: rgb(51,51,51);
    border-radius: 16px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    content: '';
    height: 24px;
    left: -4px;
    margin-top: -8px;
    position: absolute;
    top: -4px;
    transition: all 0.3s ease-in-out;
    width: 24px;
}
.material-switch > input[type="checkbox"]:checked + label::before {
    background: #000;
    opacity: 0.5;
}
.material-switch > input[type="checkbox"]:checked + label::after {
    background: #962534;
    left: 20px;
}

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

.footer{margin:50px 0 50px; padding-top:50px}
.riga-footer{background:url(../imgs/bg-footer.png) repeat-x; padding:0 !important; margin:0 !important;}
.rs-footer{background:url(../imgs/logo-footer.png) no-repeat; min-height:40px; padding:22px 0 0 40px}
.intestazione-footer{margin-top:20px}
.intestazione-footer a {text-decoration:underline}
.intestazione-footer a:link, .intestazione-footer a:visited {
	color:#962534;
	-webkit-transition: color 400ms ease-out 100ms;
    -moz-transition: color 400ms ease-out 100ms;
    -o-transition: color 400ms ease-out 100ms;
    transition: color 400ms ease-out 100ms; 
	}
.intestazione-footer a:hover {
	-webkit-transition: color 400ms ease-out 100ms;
    -moz-transition: color 400ms ease-out 100ms;
    -o-transition: color 400ms ease-out 100ms;
    transition: color 400ms ease-out 100ms; 
	color:#414245}



