/* CSS CUSTOM  */

hr {
	border: 1px solid #CE003D;
    color: #fff;
    background-color: #fff;
    height: 2px;
	}

/* ///////////////// */
article > p{
	padding-top:20px;
	padding-bottom:20px;
	}
	
/*//// Galleria Editoria ///////*/

ul.gallery { 
	list-style: none;
}
ul.gallery li a {
	position: relative;
	float: left;
	padding: 10px 10px 25px 10px;
	background: #eee;
	border: 1px solid #fff;
	-moz-box-shadow: 0px 2px 15px #333;
}
	
	ul.gallery li a.pic-1 {
		z-index: 1;
		-webkit-transform: rotate(-10deg);
 		-moz-transform: rotate(-10deg);
	}
	ul.gallery li a.pic-2 {
		z-index: 5;
		/*-webkit-transform: rotate(-3deg);*/
		-webkit-transform: rotate(12deg);
 		/*-moz-transform: rotate(-3deg);*/
 		-moz-transform: rotate(12deg);
	}
	ul.gallery li a.pic-3 {
		z-index: 3;
		-webkit-transform: rotate(4deg);
 		-moz-transform: rotate(4deg);
	}
	ul.gallery li a.pic-4 {
		z-index: 4;
		-webkit-transform: rotate(14deg);
 		-moz-transform: rotate(14deg);
	}
	ul.gallery li a.pic-5 {
		z-index: 2;
		-webkit-transform: rotate(-12deg);
 		-moz-transform: rotate(-12deg);
	}
	ul.gallery li a.pic-6 {
		z-index: 6;
		-webkit-transform: rotate(5deg);
 		-moz-transform: rotate(5deg);
	}
	
	ul.gallery li a:hover {
		z-index: 10;
		-moz-box-shadow: 3px 5px 15px #333;
	}

/*/////// Modale /////*/

.panel{
	height:100px !important;
    overflow:hidden;
	overflow:auto;

	}

/*///////////////*/



/*  MODAL */
/* The Modal (background) */

#ModalPreventivi{z-index:999;}

.font-prev{
	font-family: "Futura Std Light";
    font-size: 0.8em;
    font-weight: 400;
    letter-spacing: 2px;
    font-style: normal;
    color: #D0043C;
	}

#myBtn{
	cursor: pointer;
	}

.modup {
    display: none; /* Hidden by default */
    position: fixed; /*Stay in place */
    z-index: 999; /* Sit on top */
   padding-top: 130px;  /* Location of the box */
    right: 0;
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modup-content {
    position: relative;
    background-color:rgba(238,238,238,1);
    margin: auto;
    padding: 0;
    border: 3px solid #888;
    width:70%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}



/* The Close Button - MODAL*/
.close {
    color: #000;
    float: right;
    font-size: 18px;
    font-weight: bold;
    padding-top: 10px;
	line-height: 1;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
	text-shadow: 2 2px 2 #ccc;
	opacity: .7;
}

.modup-header {
    padding: 2px 16px;
   background-color:rgba(206,0,61,1);
    color: white;
}

.modup-body {/*padding: 2px 16px;*/
padding:3.125em;}

.modup-footer {
    padding: 2px 16px;
     background-color:rgba(160,165,168,1);
    color: white;
}

/*  FINE MODAL */

/* Animazione immagini */

.animate-fading{
	-webkit-animation:fading 5s infinite;
	animation:fading 5s infinite;
	}
@-webkit-keyframes fading{0%{opacity:0.2}50%{opacity:1}100%{opacity:0.4}} /*0%{opacity:0.4}50%{opacity:1}100%{opacity:0.6}*/
@keyframes fading{0%{opacity:0.2}50%{opacity:1}100%{opacity:0.4}}

.animate-bottom{
	position:relative;
	-webkit-animation:animatebottom 0.6s;
	animation:animatebottom 0.6s;
	}
@-webkit-keyframes animatebottom{from{bottom:-100px;opacity:0.4} to{bottom:0px;opacity:1}}
@keyframes animatebottom{from{bottom:-100px;opacity:0.4} to{bottom:0;opacity:1}}


.animate-opacity{
	-webkit-animation:opac 0.8s;
	animation:opac 0.8s;
	}
@-webkit-keyframes opac{from{opacity:0} to{opacity:1}}
@keyframes opac{from{opacity:0} to{opacity:1}}


/* / Animazioni */

/* BADGE */
	
.container-badge{
		width:100%;
       font-family: 'Futura Std Light';
	   font-size:1.375em;	
	   background-color:transparent;
	   vertical-align:middle; 
	   }

.card-6{
	box-shadow:0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19)!important;
	margin-top:15px;
	margin-bottom:15px;
	background-color:rgba(160,165,168,1);
	}
	
.h-container{padding:5px 20px 18px;/*<!---->*/}

.h-container:after{content:"";display:table;clear:both}

.h-p{padding-top:25px !important;}

.h-light-grey{color:#000!important;background-color:#D7DADC!important;padding-top:1px;padding-bottom:3px}

.img-left{float:left!important}

.img-right{float:right!important}

.circle-img{border-radius:50%!important}

.margin-right{margin-right:16px!important}

.card-btn-block{border:none;display:inline-block;outline:0;padding:6px 16px;vertical-align:middle;overflow:hidden;text-decoration:none!important;color:#fff;background-color:#000;text-align:center;cursor:pointer;white-space:nowrap}

.card-btn-block{box-shadow:none}

.card-btn-block{width:100%}

.card-btn-block{-webkit-transition:background-color .3s,color .15s,box-shadow .3s,opacity 0.3s,filter 0.3s;transition:background-color .3s,color .15s,box-shadow .3s,opacity 0.3s,filter 0.3s}

.card-dark-grey{color:#fff!important;background-color:#4C4E50!important}

.card-btn-block:hover{box-shadow:0 8px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19)}

/* CUSTOMIZE
-------------------------------------------------- */

/*////////////////////// IMMAGINE DENTRO ESAGONO /////////////////////////////*/

  .colorato{
	/*background-image:url("../img/Stampa-Grafiche.jpg");
	background-size:100%  100%;
	
	background-repeat:no-repeat;*/
	/*position: relative;
	height:23.625em;
	width:100%;
	margin-top:20px;
	margin-bottom:-150px;*/

	 margin: 0px;
     padding: 0px;
	 width:42%;
	float:right;
   -webkit-box-shadow: -12px -12px 11px -6px rgba(0,0,0,0.63);
   -moz-box-shadow: -12px -12px 11px -6px rgba(0,0,0,0.63);
    box-shadow: -12px -12px 11px -6px rgba(0,0,0,0.63);

	}

/*.colorato:before, .colorato:after {
    box-sizing: border-box;
    content: " ";
    position: absolute;
    top:0px;
    display: block;
    width:50%;
    height:100%;
    border-color:#CE003D;
	border-top-style:solid;
    border-top: 2.5em solid #CE003D;
    border-bottom: 2.5em solid #CE003D;
}

.colorato:before {
    left: -50px;
    border-right: 14.875em solid transparent;
    border-left:0;
}

.colorato:after {
    right: -50px;
    border-left: 14.875em solid transparent;
    border-right:0;
}*/



/* ///////////////////////////////////////
-------------------------------------------------- */

.separator{
	height:1em;
	/*background-color:rgba(0,255,255,1);*/
	}	
	
	
	@media screen and (max-width: 1280px){ 
	.separator{
		height:0px;
	    background-color:transparent;
	}	

    .colorato{
	
	margin-top:20px;
	margin-left:110px;
	margin-bottom:-70px;
	}
	}
	
	@media screen and (max-width: 980px){ 
	.colorato{
	margin-left:0;
	width: 100%;
	 margin-bottom: 10px;
	}
	}
	
	@media screen and (max-width: 767px) { 
	
	.colorato{
	margin-left:0;
	width: 100%;
	}
	
	}
	
	@media screen and (max-width: 480px) {
	.separator{
	height:1.375em;
	/*background-color:rgba(51,255,0,1);*/
	}	 
	
	.colorato{
	width: 100%;
    margin-top: 0px;
    margin-bottom: 10px;
	margin-right:8px;
	}

.gmaps{
  width:100%;
  height:auto;
}
	
	}
	
	
	
/* //////////// CONTAINERS /////////// */

.container-fluid{
    font-family: 'Futura Std Light';
	font-size:1.375em;	
	background-color:rgba(0,0,0,1);
	vertical-align:middle; 
	}

	
/*   /  CONTAINERS   */

body{
	font-family: 'Futura Std Light';
	}

/* ========= BARRA NAVIGAZIONE ============= */

.navbar-header{padding:0px;}

 .navbar-header img{
	padding:20px;
	margin-right:20px;
	
	}
	
#myNavbar{
	font-family: 'Futura Std Light';
	font-size:1.375em; /*1.4375em*/
	padding:10px;
	vertical-align:middle; 
	}	
	

 #myNavbar li.active a:hover,
 #myNavbar li a:hover{
	font-size:1.4375em;
	color:#FFF;
	background-color:#CE003D;
	}
	
#myNavbar li a:focus {             /*#myNavbar li.active a:link*/
    background-color:#A0A5A8;
	font-size:1.4375em;
	}
	
.dropdown-menu li a:focus{ background-color:#A0A5A8;}	

.nav{margin-top:33px;}
	

.navbar-right li a{ 
font-size:1em!important;

    }	

.navbar-right .nav-pills li a:hover,
.navbar-right .nav-pills li a:focus{ 
    font-size:1.125em !important;
	color:#FFF;
}	
	

/* ========= BODY =========  */	

slope-container{
	width:100%;
	
	}


.section-container{
	display: block;
	width: 100%;
	overflow: hidden;
	padding-top:300px;
}
.slope{
	
	margin: 0 50px; /*modifica: stacca i DIV che sembrano fogli */
	/*margin: 0 -50px;*/
	-webkit-transform-origin: left center;
	-moz-transform-origin: left center;
	-o-transform-origin: left center;
	-ms-transform-origin: left center;
	transform-origin: left center;
}
.slope:nth-child(odd){ /* tutti i div dispari*/
	background: #A0A5A8;
	-webkit-transform: rotate(5deg);
	-moz-transform: rotate(5deg);
	-o-transform: rotate(5deg);
	-ms-transform: rotate(5deg);
	transform: rotate(5deg);
	margin-top: -200px;
	/*box-shadow: 0px -1px 3px rgba(0,0,0,0.4);*/
	box-shadow: 2px -3px 6px rgba(0,0,0,0.8);
}
.slope:nth-child(even){ /* tutti i div pari*/
	background: #CE003D;
	/*-webkit-transform: rotate(-5deg);
	-moz-transform: rotate(-5deg);
	-o-transform: rotate(-5deg);
	-ms-transform: rotate(-5deg);
	transform: rotate(-5deg);*/
	-webkit-transform: rotate(-3deg);
	-moz-transform: rotate(-3eg);
	-o-transform: rotate(-3deg);
	-ms-transform: rotate(-3deg);
	transform: rotate(-3deg);
	/*box-shadow: 0px 2px 3px rgba(0,0,0,0.4) inset;*/
	box-shadow: 2px -4px 6px rgba(0,0,0,0.8);
}
.content{
	margin: 0 auto;
}
.content h3{
	font-size: 3.125em;
	position: relative;
	display: inline-block;
	padding: 10px 30px 8px 30px;
	height: 80px;
	background: #000;
	line-height: 80px;
	margin-bottom: 20px;
	font-family: 'Futura Std Light';
	text-shadow: 1px 1px 1px rgba(0,0,0,0.9);
}
.content h3:before{ 
	content: '';
	width: 0;
	height: 0;
	
	border-top: 50px solid transparent;
	border-bottom: 55px solid transparent;
	border-right: 60px solid black;
	position: absolute;
	left: -60px;
	
	top: 0px;
}
.content h3:after{
	content: '';
	width: 0;
	height: 0;
	
	border-top: 50px solid transparent;
	border-bottom: 55px solid transparent;
	border-left: 60px solid black;
	position: absolute;
	right: -60px;
	
	top: 0px;
}
.slope:nth-child(odd) .content h3:before,
.slope:nth-child(odd) .content h3:after{
	border-right-color: #CE003D;
	border-left-color: #CE003D;
}
.content p{
	width: 85%;
	max-width: 90%;
	margin: 0 auto;
	/*font-style: italic;*/
	font-size: 1.125em;
	line-height: 1.5625em;
	letter-spacing:1px;
	padding-top: 10px;
}
.content p:first-letter{ /* CREA LA PRIMA LETTERA MAIUSCOLA E GRANDE */
	font-size: 40px;
	font-family: 'Futura Std Light';
}
.slope:nth-child(odd) .content{
	/*-webkit-transform: rotate(-5deg);
	-moz-transform: rotate(-5deg);
	-o-transform: rotate(-5deg);
	-ms-transform: rotate(-5deg);
	transform: rotate(-5deg);*/
	
	-webkit-transform: rotate(1deg);
	-moz-transform: rotate(1deg);
	-o-transform: rotate(1deg);
	-ms-transform: rotate(1deg);
	transform: rotate(1deg);
	
	color: #fff;
	padding: 130px 100px 250px 100px;
}
.slope:nth-child(even) .content{
	/*-webkit-transform: rotate(5deg);
	-moz-transform: rotate(5deg);
	-o-transform: rotate(5deg);
	-ms-transform: rotate(5deg);
	transform: rotate(5deg);*/
	
	-webkit-transform: rotate(-1deg);
	-moz-transform: rotate(-1deg);
	-o-transform: rotate(-1deg);
	-ms-transform: rotate(-1deg);
	transform: rotate(-1deg);
	
	color: #fff;
	padding: 150px 100px 250px 100px;
}
.slope:nth-child(odd) .content h3{
	background:  #A0A5A8;
	color: #000;
}
.slope:nth-child(even) .content h3{
	background: #CE003D;
	color: #A0A5A8;
}

/* SEZIONE HOME */


#home a{
	color:rgba(255,255,255,1);}

#home a:hover, #home a:focus {
    color: #CE003D;
    transition: all 0.25s ease-in-out;
}


/**:before, *:after {
    box-sizing: border-box;
}*/


.img-ainer {
position:relative;
overflow:hidden;
margin-top:5%;
margin-bottom:5%;

}
.img-ainer .textbox {
width:100%;
height:100%;
position:absolute;
top:0;
left:0;
bottom: 0px;
right: 0px;
-webkit-transform: scale(0);
transform: scale(0);
border-radius:0px;
background-color:rgba(34,34,34,0.9);
-webkit-box-shadow: 0px 0px 15px 2px rgba(206,0,61,.75);
box-shadow: 0px 0px 15px 2px rgba(206,0,61,.75);
}
.img-ainer:hover .textbox {
-webkit-transform: scale(1);
transform: scale(1);
}
.text {
text-align: center;
font-size:1.1rem;
font-family: 'Roboto';
font-weight: 400;
font-style: normal;
color:rgba(255,255,255,1);
/*background-color:rgba(0,255,204,1);*/
margin: 10% 5% -15% 5% !important;
}
.textbox {
-webkit-transition: all 0.8s  ease-in-out;
transition: all 0.8s  ease-in-out;
}

.overlay-link {
	
    position: absolute;
	width: 100%;
	height: 100%;
	opacity:0.3;
    z-index: 10;
    top:0%;
    left:0%;
	bottom: 0px;
    right: 0px;
    padding: 15px;
    background-color: rgba(160, 165, 168, 1);
    overflow: hidden;
    text-align: center;
	}
	
.overlay-link:hover {
	opacity:0.7;
	/*transition: all ease-in-out 0.25s;*/
	-webkit-transition: width 0.8s ease-in-out 0.25s;
   -moz-transition: width 0.8s ease-in-out 0.25s;
   -o-transition: width 0.8s ease-in-out 0.25s;
   -ms-transition: width 0.8s ease-in-out 0.25s;
   transition: width 0.8s ease-in-out 0.25s;
   
   cursor:pointer;

}
	
	.overlay-link i {
	 position: absolute;	
     width: 80px;
    height: 80px;
    border: 1px solid #ffffff;
    border-radius: 100%;
    top: 50%;
    left: 50%;
    margin: -40px 0 0 -40px;
    font-size: 32px;
    line-height: 80px;
}
	
/*.small p  {
    display: block;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
}	

.mb {  /*spazio in verticale
    margin-bottom: 40px;
}

.separator{
	height:5px;
	background-color:rgba(0,255,255,1);}	
*/

/* sezione MAPPA */

/*div#gmaps-canvas {
    width:100%;	
    height:600px;
	overflow:hidden;
}*/

.gmaps{
  
  position: relative;
  padding-bottom:35%; 
  height: 0;
  overflow: hidden;
}
.gmaps > iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}



/* SEZIONE FOOTER */

footer{
	font-family:'Montserrat', sans-serif;
	/*font-weight:700;*/
	/*font-size:2em;*/
	
	font-size:1.125em;
	color:#9DA2A5;
	width:100%;
	background-color:#000000;
	padding:10px 10px 10px 10px;
	}
	
.div-footer{padding-top:30px;}
	
	

/* Media Queries */

@media screen and (max-width: 1280px){ 
	
/*///////// HOME ///////*/
.img-ainer .textbox {
text-align: center;
font-size:0.6875em!important;

}

	
}


@media screen and (max-width: 980px){  /*<!--1010px-->*/
	.content h3{
		font-size: 40px;
	}
	
/*///////// HOME ///////*/
.img-ainer .textbox {
text-align: center;
font-size:0.6875em!important;

}

	
}



@media screen and (max-width: 767px) {
	
	
	/*======CORREZIONI=========*/
	
	
	.navbar-nav li { width:100%; }
	
	.section-container{}
	
	.slope{ 
	/*margin:70px;*/ /**/}
	
	.content h3{
		font-size: 20px;
	}
	
	/*======  MODIFICHE AI TITOLI =========*/
	
	.content h3{
	font-size: 2.5em;
	padding: 4px 10px 10px 10px;
	height: 80px;
	line-height: 80px;
	margin-bottom: 20px;
}

.content h3:before{ 

	border-top: 40px solid transparent;
	border-bottom: 45px solid transparent;
	border-right: 60px solid black;
	position: absolute;
	left: -60px;
}

.content h3:after{
	
	border-top: 40px solid transparent;
	border-bottom: 45px solid transparent;
	border-left: 60px solid black;
	position: absolute;
	right: -60px;
}




/*====== BODY =========*/
	
.slope:nth-child(odd) .content{
	padding: 50px 60px 125px 100px;
}	

.slope:nth-child(even) .content{
	/*padding: 50px 60px 125px 100px;*/
}	
	
	
}
@media screen and (max-width: 480px) {
	
	/*======CORREZIONI MOBILE=========*/
	
	/*======MENU'=========*/
	#myNavbar li.active a:hover,
    #myNavbar li a:hover{
	font-size:1em;
	color:#FFF;
	background-color:#CE003D;
	}
	
    #myNavbar li a:focus {             
    background-color:#A0A5A8;
	font-size:1em;
	}
	
	/*====== BODY =========*/
	
	.slope{
		   margin: 0 -40px;
           margin-top:-160px !important;
	       }
	
	
	.slope:nth-child(odd){ /* tutti i div dispari*/
	-webkit-transform: rotate(1deg);
	-moz-transform: rotate(1deg);
	-o-transform: rotate(1deg);
	-ms-transform: rotate(1deg);
	transform: rotate(1deg);
	margin-top:-150px;
	 }
	 
    .slope:nth-child(even){ /* tutti i div pari*/
	-webkit-transform: rotate(-1deg);
	-moz-transform: rotate(-1eg);
	-o-transform: rotate(-1deg);
	-ms-transform: rotate(-1deg);
	transform: rotate(-1deg);
    }
	
	.slope:nth-child(odd) .content,
	.slope:nth-child(even) .content{
	  padding: 20px 65px 250px 65px;
}
	.content h3{
		/*font-size: 1.1125em; */
		font-size: 1.75em;
		line-height: 2em;
		/*line-height: 2.18em;*/
		padding-top:0px;
		/*height: 60px;*/
		height: 50px;
	}
	
	#home > .content h3{ /* Aggiunto il 2 febbraio 17 */
	font-size: 1.625em; 
	}
	
	#home > .content h3:after{ /* Aggiunto il 2 febbraio 17 */
	 margin-right:20px;
	  margin-top:36px;
      }
	  
	  #staff > .content h3{ /* Aggiunto il 2 febbraio 17 */
	  font-size: 1.75em;
      line-height: 2em;
	  font-weight:800;
	  margin-left:15px; 
	  }
	  
	
	.content p{
		width: 90%;
	}
	
	/* Spostare i titoli verso destra */
	/*=====================================*/
	
	.slope:nth-child(odd) .content h3{
	left:3%;
}
   .slope:nth-child(even) .content h3{
	left:6%;
}
	
	
	
	   /* frecce ridotte per il mobile  */
	/*=================================*/
	.content h3:before{ 

	border-top: 25px solid transparent;
	border-bottom: 25px solid transparent;
	border-right: 30px solid black;
	position: absolute;
	/*left:-10px;*/
	left:-25px;
	
}

    .content h3:after{
	
	border-top: 25px solid transparent;
	border-bottom: 25px solid transparent;
	border-left: 30px solid black;
	position: absolute;
	/*right:-10px;*/
	right:-25px;
	
}
   /*===========================================*/
}
