#slide-tit{
    background: #003E6B;
background: linear-gradient(0deg,rgba(0, 62, 107, 1) 15%, rgba(255, 255, 255, 0) 100%);
	display: block;
	width: 100%;
    margin: 0 auto;
	position: absolute;
    z-index: 130;
	margin-top: -280px;
    margin-bottom: 0px;
    color: #fff;
    font-size: 1.5em;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#slide-tit .tit-slide{
    font-family: "Cormorant", serif;
    font-size: 2.8em;
    font-weight: 500;
    line-height: 36px;
    margin-top: 110px;
    margin-bottom: 30px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#slide-tit .line-slide{
    width: 100%;
    max-width: 150px;
    height: 2px;
    margin: 0 auto;
    background-color: #fff;
	}

#slide-tit .desc-slide{
    font-family: "Comic Neue", cursive;
    padding: 0 6px;
    margin-top: 30px;
    margin-bottom: 50px;
    font-size: 1.1em;
    line-height: 36px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#sotto-menu{
    background: transparent;
	display: block;
    margin: 0 auto;
	max-width: 1500px;
	position: relative;
    z-index: 150;
    margin-top: -35px;
    margin-bottom: 0px;
    font-size: 1.1em;
    }

#sotto-menu a{
    color: var(--blu);
    }

#sotto-menu a:hover{
    color: var(--ciano2);
    }

#box1 {
    display: block;
	margin: 0 auto;
    position: relative;
    max-width: 1500px;
	margin-top: 70px;
    margin-bottom: 100px;
    }

#box1 .cat{
    display: inline;
    float: left;
	margin: 0 auto;
    position: relative;
    text-align: left;
	-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
    }

#box1 .title{
    width: 34%;
    padding: 0 6px;
    }

#box1 .text{
    width: 65%;
    padding: 0 6px;
    }

#box1 .text p{
    margin: 0;
    font-size: 1.25em;
    line-height: 27px;
    }

#box1 .text span{
    font-weight: 400;
    font-size: 1.05em;
    }

#box1 .dark{
    padding: 0;
    margin: 0;
    font-family: "Cormorant", serif;
    font-size: 4.4em;
    line-height: 50px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--blu);
	-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
    }

#box1 .line{
    padding: 0;
    margin: 20px 0;
    background-color: var(--ciano2);
    max-width: 150px;
    height: 2px;
    }

#box1 .light{
    padding: 0;
    margin: 0;
    font-family: "Comic Neue", cursive;
    font-size: 2.1em;
    line-height: 38px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #182e49;
	-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
    }

#box2{
    background-color: var(--blu);
	display: block;
	width: 100%;
    margin: 0 auto;
	position: relative;
    z-index: 100;
	margin-top: 20px;
    color: #fff;
    padding: 10px 0;
    font-size: 1.3em;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#box2 .tit{
    font-family: "Cormorant", serif;
    font-size: 2.3em;
    font-weight: 500;
    line-height: 36px;
    margin-top: 50px;
    margin-bottom: 20px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#box2 .desc{
    padding: 0 6px;
    margin-top: 10px;
    margin-bottom: 60px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#box2 .centro{
    background: transparent;
	display: block;
	max-width: 1500px;
    margin: 0 auto;
	position: relative;
	margin-top: 0px;
    margin-bottom: -100px;
    padding: 0;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#box2 a .cat{
	color:#fff;
	}

#box2 .cat{
	display: inline;
    float:left;
    margin: 0 auto;
	position: relative;
    padding: 0;
    margin: 4px;
    width: 32%;
    -webkit-transition: all 0.8s ease;
-moz-transition: all 0.8s ease;
-ms-transition: all 0.8s ease;
transition: all 0.8s ease;
	}

#box2 .big{
	font-family: "Cormorant", serif;
    font-size: 2em;
    font-weight: 600;
    line-height: 34px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#box2 .small{
    padding: 0 7px;
	}

#box2 .cat.pubbliche{
    min-height: 560px;
	background:url('../images/realizzazioni-home/piscine-pubbliche.jpg') center center no-repeat scroll;
	}

#box2 .cat.privati{
    min-height: 600px;
	background:url('../images/realizzazioni-home/piscine-privati.jpg') center center no-repeat scroll;
	}

#box2 .cat.chiavi-in-mano{
    min-height: 560px;
	background:url('../images/realizzazioni-home/piscine-chiavi-in-mano.jpg') center center no-repeat scroll;
	}

#box2 .cat:hover{
	background-position: center left;
	}

#foto{
	display: block;
	margin: 0 auto;
	max-width: 1700px;
	position: relative;
    margin-top: 60px;
    margin-bottom: 100px;
    }

#foto .cat{
	display: inline;
    float: left;
    position: relative;
	margin: 0 auto;
    padding: 6px;
    width: 24.5%;
    margin-bottom: 15px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease
	}

.con {
	margin: 0 auto;
  position: relative;
  width: 100%;
    text-align: center;
}

#foto .image {
	margin: 0 auto;
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
    text-align: center;
}

#foto .middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

#foto .con:hover .image {
  opacity: 0.65;
}

#foto .con:hover .middle {
  opacity: 1;
}

#foto .text {
  background-color: var(--blu);
  color: white;
  font-size: 3.2em;
    font-family: "Cormorant", serif;
  padding: 10px 19px 23px 19px;
    border-radius: 50%;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-ms-transition: all 0.3s ease;
transition: all 0.3s ease
}

#foto .text:hover {
  background-color: var(--ciano1);
}

#box4{
    background-color: var(--blu);
	display: block;
	width: 100%;
    margin: 0 auto;
	position: relative;
    z-index: 100;
	margin-top: 60px;
    color: #fff;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#box4-c{
	display: block;
	max-width: 1550px;
    margin: 0 auto;
	position: relative;
    padding: 20px 0 20px 0;
	}

#box4 .cat {
	display: inline;
    float: left;
	margin: 0 auto;
	position: relative;
	width: 48%;
    padding-top: 20px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
}

#box4 .title{
	font-family: "Cormorant", serif;
    font-size: 3.5em;
    font-weight: 500;
    line-height: 43px;
    margin-bottom: 0px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
}

#box4 .title2{
    font-family: "Comic Neue", cursive;
    font-size: 1.85em;
    line-height: 30px;
    margin-top: 20px;
    margin-bottom: 0px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
}

#box4 .line{
    margin-top: 0px;
    margin-bottom: 0px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
}

#box4 .text{
	margin: 0 auto;
    font-size: 1.3em;
    line-height: 30px;
    padding: 0 6px 30px 6px;
    margin-top: 30px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
}

#box4 .text span{
    font-weight: 400;
    font-size: 1.2em;
}

#box4 .button{
    margin-top: 40px;
    font-family: "Comic Neue", cursive;
    font-size: 1.3em;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
}

#box4 .button a{
    background-color: var(--ciano2);
    color: #fff;
    padding: 12px 18px;
    border-radius: 30px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
}

#box4 .button a:hover{
    background-color: var(--orange);
    color: #fff;
    border-radius: 0px;
}

#box4 .consigli img{
    width: 100%;
    max-width: 700px;
    box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.3);
    margin-top: 40px;
    margin-bottom: -80px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
}

#box5{
	display: block;
	max-width: 1550px;
    margin: 0 auto;
	position: relative;
    z-index: 100;
	margin-top: 150px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#box5 .cat {
	display: inline;
    float: left;
	margin: 0 auto;
	position: relative;
	width: 48%;
    padding-top: 20px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
}

#box5 .title{
	font-family: "Cormorant", serif;
    font-size: 3.4em;
    font-weight: 500;
    line-height: 42px;
    text-align: left;
    padding-left: 10px;
    margin-bottom: 0px;
    color: var(--blu);
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
}

#box5 .title2{
    font-size: 1.3em;
    font-weight: 400;
    line-height: 30px;
    text-align: left;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 20px;
    margin-bottom: 0px;
    color: var(--blu);
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
}

#box5 .line{
    text-align: left;
    padding-left: 10px;
    margin-top: 0px;
    margin-bottom: 0px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
}

#box5 .text{
    font-size: 1.25em;
    line-height: 30px;
    text-align: left;
    padding-left: 10px;
    padding-bottom: 50px;
    margin-top: 30px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
}

#box5 .text span{
    font-weight: 500;
}

#box5 .phone img{
    margin-top: 10px;
    width: 100%;
    max-width: 280px;
}

#form iframe{
    margin-top: -20px;
	width: 98%;
	height: 560px;
}




/* responsive rules */
@media screen and (min-width: 1900px) {
    

	
}

@media screen and (min-width: 1800px) and (max-width: 1899px) {
    

    
}



@media screen and (min-width: 1600px) and (max-width: 1799px) {
    
#slide-tit{
	margin-top: -270px;
	}
   
#box2 .big{
    font-size: 1.85em;
	}

	
}

@media screen and (min-width: 1400px) and (max-width: 1599px) {
    
#slide-tit{
	margin-top: -180px;
	}

#slide-tit .tit-slide{
    margin-top: 40px;
    margin-bottom: 30px;
	}

#slide-tit .desc-slide{
    margin-top: 20px;
    margin-bottom: 20px;
	}

#box2 .big{
    font-size: 1.65em;
	}
    

	
}

@media screen and (min-width: 1220px) and (max-width: 1399px) {
    
#slide-tit{
	margin-top: -170px;
	}

#slide-tit .tit-slide{
    margin-top: 40px;
    margin-bottom: 30px;
	}

#slide-tit .desc-slide{
    margin-top: 20px;
    margin-bottom: 20px;
	}

#box2 .big{
    font-size: 1.4em;
	}
    


	
}

@media screen and (min-width: 1001px) and (max-width: 1219px) {
    
#slide-tit{
    background-color: var(--blu);
	margin-top: -1px;
	}

#slide-tit .tit-slide{
    margin-top: 40px;
    margin-bottom: 30px;
	}

#slide-tit .desc-slide{
    margin-top: 20px;
    margin-bottom: 20px;
	}
    
#box2 .centro{
    margin-bottom: 0px;
	}

#box2 .big{
    font-size: 1.9em;
	}

#box2 .cat{
    margin: 8px 8px;
    width: 48%;
	}
    
#box2 .cat.pubbliche{
    min-height: 520px;
	}

#box2 .cat.privati{
    min-height: 520px;
	}

#box2 .cat.ristrutturazioni{
    min-height: 520px;
	}

#box2 .cat.chiavi-in-mano{
    min-height: 520px;
	}
    
#foto .cat{
    width: 31%;
	}

#sotto-menu{
    margin-top: 190px;
    }

	
}


@media screen and (min-width: 851px) and (max-width: 1000px) {
	
#slide-tit{
    background-color: var(--blu);
	margin-top: -1px;
	}

#slide-tit .tit-slide{
    margin-top: 40px;
    margin-bottom: 30px;
	}

#slide-tit .desc-slide{
    margin-top: 20px;
    margin-bottom: 20px;
	}

#sotto-menu{
    margin-top: 210px;
    }

#box1 .title{
    width: 99%;
    }
    
#box1 .text{
    width: 99%;
    }
    
#box2 .centro{
    margin-bottom: 0px;
	}

#box2 .big{
    font-size: 1.75em;
	}

#box2 .cat{
    margin: 8px 8px;
    width: 48%;
	}
    
#box2 .cat.pubbliche{
    min-height: 480px;
	}

#box2 .cat.privati{
    min-height: 480px;
	}

#box2 .cat.ristrutturazioni{
    min-height: 480px;
	}

#box2 .cat.chiavi-in-mano{
    min-height: 480px;
	}
    
#foto .cat{
    width: 47%;
	}

#box4 .cat {
	width: 98%;
    padding-top: 20px;
}

#box4 .consigli img{
    margin-top: 0px;
}

#form iframe{
    height: 680px;
}

}


@media screen and (min-width: 651px) and (max-width: 850px) {

#slide-tit{
    background-color: var(--blu);
	margin-top: -1px;
	}

#slide-tit .tit-slide{
    margin-top: 40px;
    margin-bottom: 30px;
	}

#slide-tit .desc-slide{
    margin-top: 20px;
    margin-bottom: 20px;
	}

#sotto-menu{
    margin-top: 210px;
    }

#box1 .title{
    width: 99%;
    }
    
#box1 .text{
    width: 99%;
    }  
    
#box2 .centro{
    margin-bottom: 0px;
	}

#box2 .big{
    font-size: 1.55em;
	}

#box2 .cat{
    margin: 8px 6px;
    width: 48%;
	}
    
#box2 .cat.pubbliche{
    min-height: 450px;
	}

#box2 .cat.privati{
    min-height: 450px;
	}

#box2 .cat.ristrutturazioni{
    min-height: 450px;
	}

#box2 .cat.chiavi-in-mano{
    min-height: 450px;
	}
    
#foto .cat{
    width: 46%;
	} 

#box4 .cat {
	width: 98%;
    padding-top: 20px;
}

#box4 .consigli img{
    box-shadow: none;
    margin-top: 0px;
    margin-bottom: 10px;
}

#box5 .cat {
	width: 98%;
}

#form iframe{
    margin-top: -40px;
}
    
    
	
}

@media screen and (min-width: 451px) and (max-width: 650px) {

#slide-tit{
    background-color: var(--blu);
	margin-top: -1px;
	}

#slide-tit .tit-slide{
    margin-top: 40px;
    margin-bottom: 30px;
	}

#slide-tit .desc-slide{
    margin-top: 20px;
    margin-bottom: 20px;
	}

#sotto-menu{
    margin-top: 230px;
    }

#box1 .title{
    width: 99%;
    }
    
#box1 .text{
    width: 99%;
    }

#box2 .tit{
    font-size: 2.4em;
	}
    
#box2 .centro{
    margin-bottom: 0px;
	}

#box2 .big{
    font-size: 1.8em;
	}

#box2 .cat{
    margin: 8px 10px;
    width: 96%;
	}
    
#box2 .cat.pubbliche{
    min-height: 450px;
	}

#box2 .cat.privati{
    min-height: 450px;
	}

#box2 .cat.ristrutturazioni{
    min-height: 450px;
	}

#box2 .cat.chiavi-in-mano{
    min-height: 450px;
	}
    
#foto .cat{
    padding: 4px;
    width: 48%;
    margin-bottom: 16px;
	}

#box4 .cat {
	width: 98%;
    padding-top: 20px;
}

#box4 .consigli img{
    box-shadow: none;
    margin-top: 0px;
    margin-bottom: 10px;
}

#box5 .cat {
	width: 98%;
}

#form iframe{
    margin-top: -40px;
	height: 680px;
}
    
    

}


@media screen and (min-width: 291px) and (max-width: 450px) {
    
#slide-tit{
    background-color: var(--blu);
	margin-top: -1px;
	}

#slide-tit .tit-slide{
    margin-top: 40px;
    margin-bottom: 30px;
	}

#slide-tit .desc-slide{
    margin-top: 20px;
    margin-bottom: 20px;
	}

#sotto-menu{
    margin-top: 230px;
    }

#box1 .title{
    width: 99%;
    }
    
#box1 .text{
    width: 99%;
    } 
    
#box1 .dark{
    font-size: 2.9em;
    }  

#box2 .tit{
    font-size: 2.2em;
	}
    
#box2 .centro{
    margin-bottom: 0px;
	}

#box2 .big{
    font-size: 1.4em;
	}

#box2 .cat{
    margin: 8px;
    width: 96%;
	}
    
#box2 .cat.pubbliche{
    min-height: 450px;
	}

#box2 .cat.privati{
    min-height: 450px;
	}

#box2 .cat.ristrutturazioni{
    min-height: 450px;
	}

#box2 .cat.chiavi-in-mano{
    min-height: 450px;
	}
    
#foto .cat{
    padding: 4px;
    width: 97%;
    margin-bottom: 16px;
	}

#box4 .cat {
	width: 98%;
    padding-top: 20px;
}

#box4 .consigli img{
    box-shadow: none;
    margin-top: 0px;
    margin-bottom: 10px;
}

#box5 .cat {
	width: 98%;
}

#form iframe{
    margin-top: -40px;
	height: 700px;
}
    
	
}

@media screen and (max-width: 290px) {
    
#slide-tit{
    background-color: var(--blu);
	margin-top: -1px;
	}

#slide-tit .tit-slide{
    margin-top: 40px;
    margin-bottom: 30px;
	}

#slide-tit .desc-slide{
    margin-top: 20px;
    margin-bottom: 20px;
	}

#sotto-menu{
    margin-top: 270px;
    }

#box1 .title{
    width: 99%;
    }
    
#box1 .text{
    width: 99%;
    }
    
#box1 .dark{
    font-size: 2.5em;
    }

#box2 .tit{
    font-size: 2.2em;
	}
    
#box2 .centro{
    margin-bottom: 0px;
	}

#box2 .big{
    font-size: 1.25em;
	}

#box2 .small{
    font-size: 0.95em;
	}

#box2 .cat{
    margin: 6px;
    width: 96%;
	}
    
#box2 .cat.pubbliche{
    min-height: 400px;
	}

#box2 .cat.privati{
    min-height: 400px;
	}

#box2 .cat.ristrutturazioni{
    min-height: 400px;
	}

#box2 .cat.chiavi-in-mano{
    min-height: 400px;
	}
    
#foto .cat{
    padding: 0px;
    width: 100%;
    margin-bottom: 20px;
	}

#box4 .cat {
	width: 98%;
    padding-top: 20px;
}

#box4 .button{
    font-size: 1.15em;
}

#box4 .consigli img{
    box-shadow: none;
    margin-top: 0px;
    margin-bottom: 10px;
}

#box5 .cat {
	width: 98%;
}

#form iframe{
    margin-top: -40px;
	height: 730px;
}
	
}