#testata{
	display: block;
	margin: 0 auto;
	width: 100%;
	position: relative;
    margin-top: 0px;
    background-image: url('../images/testate/chi-siamo.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 400px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
}

#testata p{
	display: block;
	margin: 0 auto;
	max-width: 1200px;
	position: relative;
    padding-top: 120px;
    color: #fff;
    font-size: 3em;
    font-weight: 500;
    line-height: 38px;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.95);
}

#testata .line1{
	display: block;
	margin: 0 auto;
	width: 100px;
	position: relative;
    margin-top: 16px;
    padding: 0;
    background-color: #c51025;
    height: 4px;
}

#testata .line2{
	display: block;
	margin: 0 auto;
	width: 60px;
	position: relative;
    margin-top: 7px;
    padding: 0;
    background-color: #c51025;
    height: 3px;
}

#back {
display: block;
	margin: 0 auto;
	position: relative;
margin: 0;
padding: 0;
    margin-top: 70px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
}

#triangle-1 { 
display: block;
	margin: 0 auto;
	position: relative;
width: 0; 
height: 0; 
border-bottom: 8vw solid #fff; 
border-right: 100vw solid transparent;
float: left;
    z-index: 100;
}

#triangle-2 { 
display: block;
	margin: 0 auto;
	position: relative;
width: 0; 
height: 0; 
border-bottom: 8vw solid #fff; 
border-left: 100vw solid transparent;
    z-index: 100;
}

 #triangle-holder {
position: absolute;
bottom: 0;
}

#centro-bg{
	display: block;
	margin: 0 auto;
	width: 100%;
	position: relative;
    margin-top: 0px;
    padding-bottom: 30px;
}

#centro{
	display: block;
	margin: 0 auto;
	max-width: 1200px;
	position: relative;
    margin-top: 20px;
}

#centro .slogan-c{
	display: block;
	margin: 0 auto;
	max-width: 1200px;
	position: relative;
    font-family: 'path';
    font-size: 2em;
    color: #444;
    line-height: 36px;
    margin-top: 40px;
}

#centro .cat{
	display: inline;
    float: left;
	margin: 0 auto;
	width: 47%;
	position: relative;
    margin-top: 40px;
}

#centro .title{
	font-family: 'fjalla';
    color: #0051b8;
    font-size: 1.6em;
    text-align: left;
    padding-left: 4px;
    margin-bottom: 5px;
}

#centro .text{
    margin-top: -5px;
    font-size: 1.15em;
    text-align: justify;
    padding: 4px;
    line-height: 28px;
    color: #000;
    min-height: 210px;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
}

#centro .text span{
    font-family: 'path';
    color:#c51025;
    font-size: 1.5em;
}

#centro .tecn{
    padding-right: 30px;
}

#corpo1 {
	display: block;
	margin: 0 auto;
	position: relative;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 0px;
    background-color: #f5f5f5;
    padding-top: 10px;
    padding-bottom: 10px;
    z-index: 200;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
	}

#corpo1 .title{
	color: #0051b8;
    font-size: 1.8em;
    font-weight: 500;
	}

#foto{
	display: block;
	margin: 0 auto;
	position: relative;
    max-width: 1200px;
    margin-top: 20px;
    margin-bottom: 20px;
    }

#foto .cat{
	display: inline;
    float: left;
    position: relative;
	margin: 0 auto;
    margin: 10px;
    width: 31%;
    -webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease
	}

.con {
  position: relative;
  width: 100%;
}

#foto .image {
  opacity: 1;
  display: block;
  width: 100.1%;
  height: auto;
  transition: .4s ease;
  backface-visibility: hidden;
}

#foto .middle {
  transition: .4s 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;
    border-radius: 30px;
}

#foto .con:hover .middle {
  opacity: 0.9;
}

#foto .text {
  background-color: #c51025;
  color: #fff;
  font-size: 1.5em;
  padding: 14px 13px 12px 14px;
    border-radius: 50%;
}

#centro2{
	display: block;
	margin: 0 auto;
	max-width: 900px;
	position: relative;
    margin-top: 30px;
    margin-bottom: 40px;
}

#centro2 .slogan-l{
	display: inline;
    float: left;
	margin: 0 auto;
	position: relative;
    font-family: 'fjalla';
    font-size: 1.8em;
    color: #444;
    line-height: 36px;
    margin-top: 20px;
    background-color: #0051b8;
    color: #fff;
    max-width: 700px;
    transform: skew(-20deg);
    -webkit-transform: skew(-20deg);
    -moz-transform: skew(-20deg);
    -ms-transform: skew(-20deg);
    -o-transform: skew(-20deg);
    z-index: 105;
}

#centro2 .slogan-l p{
    padding: 1px 15px;
    transform: skew(20deg);
    -webkit-transform: skew(20deg);
    -moz-transform: skew(20deg);
    -ms-transform: skew(20deg);
    -o-transform: skew(20deg);
}

#centro2 .slogan-r{
	display: inline;
    float: right;
	margin: 0 auto;
	position: relative;
    font-family: 'fjalla';
    font-size: 1.8em;
    color: #444;
    line-height: 36px;
    margin-top: 20px;
    background-color: #c51025;
    color: #fff;
    max-width: 700px;
    transform: skew(20deg);
    -webkit-transform: skew(20deg);
    -moz-transform: skew(20deg);
    -ms-transform: skew(20deg);
    -o-transform: skew(20deg);
    margin-top: -20px;
    z-index: 100;
}

#centro2 .slogan-r p{
    padding: 1px 15px;
    transform: skew(-20deg);
    -webkit-transform: skew(-20deg);
    -moz-transform: skew(-20deg);
    -ms-transform: skew(-20deg);
    -o-transform: skew(-20deg);
}



/* responsive rules */
@media screen and (min-width: 1900px) {


	
}

@media screen and (min-width: 1800px) and (max-width: 1899px) {


}

@media screen and (min-width: 1590px) and (max-width: 1799px) {
	

	
}

@media screen and (min-width: 1220px) and (max-width: 1589px) {

#back {
    margin-top: 50px;
}


	
}

@media screen and (min-width: 1001px) and (max-width: 1219px) {

#back {
    margin-top: 40px;
}   
    
#centro .tecn{
    padding-right: 0px;
    margin-right: 30px;
}
    
#centro .text{
    min-height: 230px;
}
	
}


@media screen and (min-width: 851px) and (max-width: 1000px) {
	
#back {
    margin-top: 35px;
}
  
#centro .tecn{
    padding-right: 0px;
    margin-right: 25px;
}
    
#centro .text{
    min-height: 280px;
}

#foto .cat{
	width: 30%;
	} 

}


@media screen and (min-width: 651px) and (max-width: 850px) {
    
#testata{
	 min-height: 370px;
}

#back {
    margin-top: 27px;
}
      
#centro .tecn{
    padding-right: 0px;
    margin-right: 20px;
}
    
#centro .text{
    min-height: 340px;
}
    
#foto .cat{
	width: 46%;
	} 

	
}

@media screen and (min-width: 451px) and (max-width: 650px) {
    
#testata{
	 min-height: 350px;
}
    
#testata p{
	font-size: 2.5em;
}

#back {
    margin-top: 20px;
}
    
#centro .cat{
	width: 98%;
}   
    
#centro .tecn{
    padding-right: 0px;
}
  
#foto .cat{
	width: 45%;
	}  

    
}


@media screen and (min-width: 291px) and (max-width: 450px) {
    
#testata{
	 min-height: 320px;
}
    
#testata p{
	font-size: 2em;
}

#back {
    margin-top: 13px;
}
    
#centro .cat{
	width: 98%;
}   
    
#centro .tecn{
    padding-right: 0px;
}

#foto .cat{
	width: 94%;
	}   
	
}

@media screen and (max-width: 290px) {
    
#testata{
	 min-height: 300px;
}
    
#testata p{
	font-size: 1.7em;
}

#back {
    margin-top: 10px;
}

#centro .cat{
	width: 99%;
}
    
#centro .tecn{
    padding-right: 0px;
}
    
#foto .cat{
	width: 92%;
	}
    
	
}