.animate img {
    display:block;
    position:relative;
    }
 
/* GENERICHE */
 
.animate-wrap input[type="checkbox"]:checked + .animate img {
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}
 
.animate-wrap input[type="checkbox"] + .animate img {
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}
 
/* IMMAGINE 1 */
.animate-wrap input[type="checkbox"]:checked + .animate #img1 {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    transform: rotateY(180deg);
}


/* KEYFRAMES PER IMMAGINE 2 */
@-webkit-keyframes mymove {
    0%   { left: 0; }
    50% { left: 650px; }
    100% { left: 0; }
}
@-moz-keyframes mymove {
    0%   { left: 0; }
    50% { left: 650px; }
    100% { left: 0; }
}
@-ms-keyframes mymove {
    0%   { left: 0; }
    50% { left: 650px; }
    100% { left: 0; }
}
@-keyframes mymove {
    0%   { left: 0; }
    50% { left: 650px; }
    100% { left: 0; }
}
 
/* IMMAGINE 2 */
.animate-wrap input[type="checkbox"]:checked + .animate #img2 {
    -webkit-animation:mymove 5s normal;
    -moz-animation:mymove 5s normal;
    animation:mymove 5s normal;
	
	
}


.parent {
    position: relative;
    width: 400px;
    height: 250px;
    background-image: url("1.jpg");
    background-position: center;
   background-size: cover;
   top: -200px;
	left: 120px;
}

.slider {
    position: absolute;
    left: 240%;
    width: 100%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(9, 146, 26, 1), rgba(9, 146, 26, 0));
    background: -moz-linear-gradient(left, rgba(9, 146, 26, 1), rgba(9, 146, 26, 0));
    background: -ms-linear-gradient(left, rgba(9, 146, 26, 1), rgba(9, 146, 26, 0));
    transition: all 1s ease;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    overflow: hidden;
    width: 0;
    text-wrap: none;
}

.parent:hover .slider {
    background: rgba(9, 146, 26, 1);
    width: 100%;
	left:0%;
}

.parentt {
    position: relative;
    width: 400px;
    height: 250px;
    background-image: url("2frecciarossa.jpg");
    background-position: center;
    background-size: cover;
	top: -450px;
	left: 768px;
}

.slidertt {
    position: absolute;
    left: 240%;
    width: 100%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(9, 146, 26, 1), rgba(9, 146, 26, 0));
    background: -moz-linear-gradient(left, rgba(9, 146, 26, 1), rgba(9, 146, 26, 0));
    background: -ms-linear-gradient(left, rgba(9, 146, 26, 1), rgba(9, 146, 26, 0));
    transition: all 1s ease;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    overflow: hidden;
    width: 0;
    text-wrap: none;
}

.parentt:hover .slidertt {
    background: rgba(9, 146, 26, 1);
    width: 100%;
	left: 0px;
}









#trenonascosto {
 width: 400px;
 height: 300px;
 padding: 10px;
 /*border: 1px solid #002c53;
 background: #568ec0;*/
 position: relative;
 top: -200px;
 left: -10px;
}


/*rotazione clienti*/

.flip-container {
perspective:1000; -webkit-perspective:1000;
}

.flip-container, .front, .back {
width:627px; height:232px;
}

.flipper {
transition:.6s; 
transform-style:preserve-3d;
-webkit-transition:.6s;
-webkit-transform-style:preserve-3d;
position:relative;
}

.front,.back {
backface-visibility:hidden;
-webkit-backface-visibility:hidden;
position:absolute; top:0; left:0;
}

.front {
z-index:2;
}

.flip-container:hover .flipper, .flip-container.hover .flipper, .back {
transform:rotateY(180deg);
-webkit-transform: rotateY(180deg);
}


/*rotazione nuova*/

.rotate-x {
  animation: spinX 7s infinite linear;
}

.rotate-y {
  animation: spinY 2s infinite linear;
}

@keyframes spinX {
  from { transform: rotateX(0); }
  to { transform: rotateX(180deg); }
}

@keyframes spinY {
  from { transform: rotateY(0); }
  to { transform: rotateY(180deg); }
}

/*immagini in scala*/
.showbox {
    float: left;
    margin: 4em 1em;
    width: 100px;
    height: 60px;
    border: 0px solid green;
    background-color: #fff;
    line-height: 60px;
    text-align: center;
  }

/*nuovo sfondo alto sinistro*/
.flip-altosx {
perspective:1000; -webkit-perspective:1000;
}

.flip-altosx, .front, .back {
width:627px; height:232px;
}

.flipperaltosx {
transition:.6s; 
transform-style:preserve-3d;
-webkit-transition:.6s;
-webkit-transform-style:preserve-3d;
position:relative;
}

.front,.back {
backface-visibility:hidden;
-webkit-backface-visibility:hidden;
/*position:absolute; top:0; left:50%;*/
}

.front {
z-index:2;
}

.flip-altosx:hover .flipperaltosx, .flip-altosx.hover .flipperaltosx, .back {
transform:rotateY(180deg);
-webkit-transform: rotateY(180deg);
}

/*nuovo sfondo alto destro*/
.flip-altdx {
perspective:1000; -webkit-perspective:1000;
}

.flip-altdx, .front, .back {
width:627px; height:232px;
}

.flipperaltdx {
transition:.6s; 
transform-style:preserve-3d;
-webkit-transition:.6s;
-webkit-transform-style:preserve-3d;
position:relative;
}

.front,.back {
backface-visibility:hidden;
-webkit-backface-visibility:hidden;
position:absolute; top:0; left:0;
}

.front {
z-index:2;
}

.flip-altdx:hover .flipperaltdx, .flip-altdx.hover .flipperaltdx, .back {
transform:rotateY(180deg);
-webkit-transform: rotateY(180deg);
}

/*nuovo sfondo basso sinistro*/
.flip-bassosx {
perspective:1000; -webkit-perspective:1000;
}

.flip-bassosx, .front, .back {
width:627px; height:232px;
}

.flipperbassosx {
transition:.6s; 
transform-style:preserve-3d;
-webkit-transition:.6s;
-webkit-transform-style:preserve-3d;
position:relative;
}

.front,.back {
backface-visibility:hidden;
-webkit-backface-visibility:hidden;
position:absolute; top:0; left:0%;
}

.front {
z-index:2;
}

.flip-bassosx:hover .flipperbassosx, .flip-bassosx.hover .flipperbassosx, .back {
transform:rotateY(180deg);
-webkit-transform: rotateY(180deg);
}

/*nuovo sfondo basso destro*/
.flip-bassodx {
perspective:1000; -webkit-perspective:1000;
}

.flip-bassodx, .front, .back {
width:627px; height:232px;
}

.flipperbassodx {
transition:.6s; 
transform-style:preserve-3d;
-webkit-transition:.6s;
-webkit-transform-style:preserve-3d;
position:relative;
}

.front,.back {
backface-visibility:hidden;
-webkit-backface-visibility:hidden;
position:absolute; top:0; left:0%;
}

.front {
z-index:2;
}

.flip-bassodx:hover .flipperbassodx, .flip-bassodx.hover .flipperbassodx, .back {
transform:rotateY(-180deg);
-webkit-transform: rotateY(-180deg);
}


 #containerbassosxx{
   float:left;
margin:10px;
padding:0.4em;
width:300px;
height:100px;

}
 #containerbassodxx{
   float:left;
margin:10px;
padding:0.4em;
width:300px;
height:100px;
}

 #containerbassosx{
   position:relative;
z-index:10;
padding:0.4em;
left:51%;
top:0.1em;
}
 #containerbassodx{
   position:relative;
z-index:10;
padding:0.4em;
left:40em;
top:-15em;

}





  
 #fotorotanti{
	width:100%;
   position:center;

}








@font-face {
   font-family: 'Asgalt-Regular';
   src: url(Asgalt-Regular.eot);
   src: local('Asgalt-Regular'), url('Asgalt-Regular.ttf') format('truetype');
}


@media (min-device-width : 320px) and (max-device-width : 480px) {
/* Smartphone  */
}
 
@media (min-device-width : 768px) and (max-device-width : 1024px) {
/* Tablet */
}




#testologo {
	font-family: 'Asgalt-Regular';
   src: url(Asgalt-Regular.eot);
   src: local('Asgalt-Regular'), url('Asgalt-Regular.ttf') format('truetype');
/*background-color: green;*/
	font-size: 50px;
	font-weight: bold;
text-align:justify;
padding-top: 20px;
/*padding-left: 10px;*/
/*padding-right: 160px;*/
padding-right: 9%;
color:#171717;
}


#noifacciamo {
	font-family: 'Asgalt-Regular';
   src: url(Asgalt-Regular.eot);
   src: local('Asgalt-Regular'), url('Asgalt-Regular.ttf') format('truetype');
/*background-color: green;*/
	font-size: 23px;
	font-weight: bold;
text-align:justify;
padding-top: 5px;
padding-left: 30%;
/*padding-right: 160px;*/
color:#171717;
}

#pensierini {
	font-family: 'Asgalt-Regular';
   src: url(Asgalt-Regular.eot);
   src: local('Asgalt-Regular'), url('Asgalt-Regular.ttf') format('truetype');
/*background-color: green;*/
	font-size: 25px;
	font-style: italic;
	font-weight: bold;
text-align:justify;
padding-top: 5px;
padding-left: 34%;
/*padding-right: 160px;*/
color:#171717;
}

#minipensierini {
	font-family: 'Asgalt-Regular';
   src: url(Asgalt-Regular.eot);
   src: local('Asgalt-Regular'), url('Asgalt-Regular.ttf') format('truetype');
/*background-color: green;*/
	font-size: 18px;
	font-style: italic;
	font-weight: bold;
text-align:justify;
padding-top: 5px;
padding-left: 0%;
/*padding-right: 160px;*/
color:#171717;
}



#container {
	width:1250px;
    height:900px;
position:center;

}

#footer1 {
	width:1250px;
    height:50px;
	/*font-family: Verdana, sans-serif;*/
	font-family: 'Asgalt-Regular';
   src: url(Asgalt-Regular.eot);
   src: local('Asgalt-Regular'), url('Asgalt-Regular.ttf') format('truetype');
/*background-color: green;*/
	font-size: 20px;
	font-weight: bold;
text-align:CENTER;

color:#171717;
}

#footer2 {
	width:1250px;
    height:30px;
	/*font-family: Verdana, sans-serif;*/
	font-family: 'Asgalt-Regular';
   src: url(Asgalt-Regular.eot);
   src: local('Asgalt-Regular'), url('Asgalt-Regular.ttf') format('truetype');
	/*background-color: green;*/
	font-size: 15px;
	font-weight: bold;
text-align:right;
color:#171717;
}

#center {
    position:absolute;
    /*left:50px;
    top:80px;*/
    margin-left:202px;
    margin-top:auto;
	/*font-family: Verdana, sans-serif;
	/*background-color: BLACK;
	font-size: 9px;
text-align:right;
color:#419FB2;
}



ul#menu {
    /*font-family: Verdana, sans-serif;*/
	font-family: 'Asgalt-Regular';
   src: url(Asgalt-Regular.eot);
   src: local('Asgalt-Regular'), url('Asgalt-Regular.ttf') format('truetype');
    font-size: 30px;
	color:#fbfbfb;
    diplay;

}
  
ul#menu li {
	/*background-color: #3A3A3A;*/
    /*background-color: #708090;*/
    border-bottom: 5px solid #171717;
	/*border-bottom: 5px solid #636363;*/
    display: block;
    width: 150px;
    height: 30px;
    margin: 6px;
	color:#fbfbfb;
    float: left; /* elementi su singola riga */
	

}
  
ul#menu li a {
    color: #708090;
    display: block;
    font-weight: bold;
    line-height: 30px;
    text-decoration: none;
    width: 150px;
    height: 30px;
    text-align: center;
}
  
ul#menu li.active, ul#menu li:hover {
   /* background-color: #171717;*/
	/*background-color: #636363;*/
    /*border-bottom: 5px solid #3A3A3A;*/
	border-bottom: 5px solid #708090;
}



#menu ul li{/*quando passo sotto il menù, non compare la lista*/
	/*height:0;*/
color:#037c95;
display: none;
	overflow:hidden;
	padding:0px;
/*background-color: #B0B0B0;*/
    /*border-bottom: 5px solid #808080;	*/
border-bottom: 5px solid #171717;
}



#menu li#submenu ul{ 
margin-top: 3%; 
} 

#menu li#submenu:hover ul li { 
margin: 0px; 
margin-left: -36%; 
display: block;
 
} 




#titoloazienda{
	font-family: 'Asgalt-Regular';
   src: url(Asgalt-Regular.eot);
   src: local('Asgalt-Regular'), url('Asgalt-Regular.ttf') format('truetype');
	margin-left:240px;
    margin-top:auto;
	font-size: 50px;
	font-weight: bold;
text-align:left;
text-decoration:underline;
color:#171717;
}

#titoliservizi{
	font-family: 'Asgalt-Regular';
   src: url(Asgalt-Regular.eot);
   src: local('Asgalt-Regular'), url('Asgalt-Regular.ttf') format('truetype');
	margin-left:0px;
    margin-top:auto;
	font-size: 160%;
	font-weight: bold;
text-align:left;
text-decoration:underline;
color:#171717;

}

#testoazienda{
	font-family: 'Asgalt-Regular';
   src: url(Asgalt-Regular.eot);
   src: local('Asgalt-Regular'), url('Asgalt-Regular.ttf') format('truetype');
	/*background-color: BLACK;*/
	font-size: 25px;
	font-weight: bold;
text-align:justify;
margin-left:240px;
margin-right:240px;
    margin-top:auto;
color:#171717;
}

#titolocontatti{
	font-family: 'Asgalt-Regular';
   src: url(Asgalt-Regular.eot);
   src: local('Asgalt-Regular'), url('Asgalt-Regular.ttf') format('truetype');
	margin-left:240px;
    margin-top:auto;
	font-size: 50px;
	font-weight: bold;
text-align:left;
text-decoration:underline;
color:#171717;
}

#testocontatti{
	font-family: 'Asgalt-Regular';
   src: url(Asgalt-Regular.eot);
   src: local('Asgalt-Regular'), url('Asgalt-Regular.ttf') format('truetype');
	/*background-color: BLACK;*/
	font-size: 30px;
	font-weight: bold;
text-align:justify;
margin-left:240px;
margin-right:240px;
    margin-top:auto;
color:#171717;
}

#mappa {
margin-right:320px;
	
position:center;

}


#mission {
margin-right:380px;
	
position:center;

}





#pensiero1 {
	width:150px;
    /*height:200px;*/
	/*font-family: Verdana, sans-serif;*/
	font-family: 'Asgalt-Regular';
   src: url(Asgalt-Regular.eot);
   src: local('Asgalt-Regular'), url('Asgalt-Regular.ttf') format('truetype');
	/*background-color: BLACK;*/
	font-size: 15px;
	font-weight: bold;
	font-style:italic;
text-align:center;
color:#030303;
}

#loghiclienti {
padding-left: 325px;
 /*position:center;*/
 top: 0;

}

#contacts-form {
background-color: #fbfbfb;
color:#171717;
font-family: 'Asgalt-Regular';
   src: url(Asgalt-Regular.eot);
   src: local('Asgalt-Regular'), url('Asgalt-Regular.ttf') format('truetype');
font-size: 30px;
	font-weight: bold;
}






.zoom_img img{
margin:5px;
height:100px;
width:100px;
-moz-transition:-moz-transform 0.5s ease-in; 
-webkit-transition:-webkit-transform 0.5s ease-in; 
-o-transition:-o-transform 0.5s ease-in;
}
.zoom_img img:hover{
-moz-transform:scale(5); 
-webkit-transform:scale(5);
-o-transform:scale(5);
}
