@media only screen and (min-width: 980px) and (max-width: 1280px) {
/* header alto */
.header1 {
	line-height:40px;
	height:40px;	
	-webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}
.header1.shrink {
	display:none;	
	-webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}
hr.rigaalta {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(39, 52, 140, 0), rgba(39, 52, 140, 0.75), rgba(39, 52,140, 0));
	width:100%;
	margin-top:39px;
}
.telefonoalto {
	position:absolute;
	top:0;
	right:0;	
	color:#1f39aa;
	font-size:22px;
}
.telefonoalto a:link, .telefonoalto a:visited {
	color:#1f39aa;
}
.telefonoalto a:hover, .telefonoalto a:active {
	color:#ed7926;
}

/* logo */
.header2 {
	width:100%;
	position:relative;
	height:93px;	
	z-index:1600;
	background-color:white;
	-webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;

}
.header2.shrink {
	position:fixed;
	top:0;
	left:0;
	height:83px;
	z-index:1600;
	background-color:white;
	-webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;

}
.logo {
	position:absolute;
	top:0;
	left:2px;
	width:279px;
	height:93px;
	z-index:1000;
	-webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}
.logo.shrink {
	height:82px;
	width:auto;
	-webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}
.logo img {
	max-width:100%;
	height:auto;
	max-height:100%;	
}
.numeroverde {
	position:absolute;
	right:0;
	top:22px;
	-webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;	
}
.numeroverde img {
	max-width:120px;
	height:auto;	
}
.numeroverde.shrink {
	top:10px;
	width:120px;	
	-webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}
.frecce {
	background-image:url("images/frecce.jpg");
	background-position:center right;
	background-repeat:no-repeat;	
}
.frecce:hover {
	background-image:url("images/freccehover.jpg");
	background-position:center right;
	background-repeat:no-repeat;
}
.slider-wrapper {
	height:100%!important;	
}

/* menu */
.divmenu {
position:relative;
width:calc(100% - 279px);
margin-left:279px;
margin-top:42px;
height:60px;
text-align:left;
display: flex;
    justify-content: left; 
    align-items: left;
	-webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}
.divmenu.shrink {
margin-top:35px;	
-webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}

.toggleMenu {
    display:  none;
}
.nav2 {
    list-style: none;
     *zoom: 1;
	 margin-top:14px;
	 
}
.nav2:before,
.nav2:after {
    content: " "; 
    display: table; 
}
.nav2:after {
    clear: both;
}
.nav2 ul {
    list-style: none;
    width: 270px;
}
.nav2 ul ul {
    list-style: none;
    width: 290px;
}
.nav2 a {
    padding: 0px 14px 0px 14px;
    color:#203aaa;
	font-size:16px;
	line-height:41px;
	border-bottom: 1px solid transparent;
    transition: border-bottom 1s;
	text-decoration:none;
}
.nav2 a.shrink {
	font-size:16px;
}
.nav2 a:hover {
	 color:#ed7926;
	 border-bottom:1px solid #ed7926;
	 transition: border-bottom 0.5s;
	text-decoration:none;
}
.nav2 li {
    position: relative;
	z-index:300;
}
.nav2 > li {
    float: left;
}
.nav2 > li > .parent {

}
.nav2 > li > a {
    display: block;
}
.nav2 li  ul {
    position: absolute;
    left: -9999px;
	border-right:none;
	background-color:#4c4b4a;
}
.nav2 > li.hover > ul {
    left: 0;
	
}
.nav2 li li.hover ul {
    left: 100%;
    top: 0;
	
}
.nav2 li li a {
    display: block;
    position: relative;
    z-index:100;
	line-height:35px;
	color:#ccc;
	background-image:none;
	font-size:15px;
	border-bottom:1px solid #4c4b4a;
	width:80%;
	margin-left:10%;
	padding-left:0;
	padding-right:0;
	height:35px;
	margin-bottom:5px;
	margin-top:5px;
}
.nav2 li li a.shrink {
	font-size:15px;	
}
.nav2 li li a:hover {
	color:white;
	background-image:none;
	border-bottom:1px solid #ed7926;
	transition: border-bottom 0.5s;
    text-decoration: none; /* I added this for clarity of effect */
	padding-left:10px;
}
.nav2 li li li a {
    z-index:200;
	line-height:30px;
	
}
.nav2 li li li a:hover {
	color:white;
}

.attivo {
color:#ed7926!important;
	
}

/* contenuti */
.contenitore1 {
	width:86%;
	margin-left:7%;	
}

/*box macro home */
.rigatitolo {
	width:calc(100% - 3px);
	border-left:3px solid #0066cc;
	font-size:28px;
	line-height:60px;
	margin-top:20px;
	margin-bottom:20px;	
	color:#0066cc;
}
.rigatitolo p {
	margin:0;
	padding:0;
	margin-left:30px;	
}
.rigatitolo h1 {
	text-align:center;	
}
.macrohome {
	width:30%;
	margin-left:0%;
	margin-right:3.33%;
	float:left;
	height:auto;
	color:#777777;
}
.macrohome1 {
	width:100%;
	height:auto;
	margin-bottom:5px;
	overflow:hidden;
}
.macrohome1 img {
	max-width:100%;
	height:auto;
	width:100%;	
	-webkit-transition: all 0.2s ease;
transition: all 0.2s ease;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.macrohome1 img:hover {
-webkit-transform:scale3d(1.2, 1.2, 1);
transform:scale3d(1.2, 1.2, 1);
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;	
}
.macrohome2 {
	font-size:15px;
	line-height:110%;
}
.macrohome2 h4 a:link, .macrohome2 h4 a:visited {
	color:#333;	
	font-size:18px;
	
}
.macrohome2 a:link, .macrohome2 a:visited {
	color:#777;	
}
.macrohome2 a:hover, .macrohome2 a:active {
	color:#333;	
}
.testohome {
	color:#777;
}
.testohome h1 {
	font-size:22px;	
}
.testohome p {
	line-height:110%;	
	font-size:16px;
}
.progettazionehome {
float:left;
width:44%;
margin-right:3%;
margin-left:3%;
height:auto;	
position:relative;
overflow:hidden;
}
.progettazionehome img {
	max-width:100%;
	height:auto;	
-webkit-transition: all 0.2s ease;
transition: all 0.2s ease;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
width:100%;
}
.progettazionehome img:hover {
-webkit-transform:scale3d(1.2, 1.2, 1);
transform:scale3d(1.2, 1.2, 1);
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
}
.progettazionehome1 {
	position:absolute;
	bottom:15%;
	right:5%;
	background-color:#ed7926;
	padding:7px;
	font-size:20px;
}
.progettazionehome1 a:link, .progettazionehome1 a:visited {
	color:white;
	display:block;
}
.progettazionehome1 a:hover, .progettazionehome1 a:active {
	color:#ccc;
}
.videohome {
float:left;
width:44%;
margin-left:3%;
height:auto;
margin-top:20px;
}


/* servizi home */
.servizihome {
	margin-top:40px;
	margin-bottom:40px;	
	position:relative;
}
.fotoservizi {
	float:left;
	width:45%;
	margin-left:0%;
	height:auto;
}
.fotoservizi img {
	width:100%;
	max-width:100%;
	height:auto;	
}
.testoservizi {
	float:left;
	background-color:#eee;
	color:#777;
	width:55%;
	margin-left:0%;
	height:auto;
	text-align:center;
	font-size:13px;
}
.testoservizi p {
	max-width:90%;
	line-height:110%;
	text-align:left;
	margin:0 auto;	
}
.boxservizi {
	width:42.5%;
	margin-right:5%;
	margin-left:2.5%;
	margin-bottom:2.5%;
	float:left;
	height:auto;	
	text-align:left;
}
.boxservizi h4 {
	margin:0;
	padding:0;	
	color:#333;
}
.boxservizi img {
	margin-left:15px;
	margin-right:10px;	
}
.wrapboxservizi {
	margin-top:30px;	
}

/* scritta corsivo home */
.scrittahome {
	font-family: 'AlphaMack AOE', sans-serif, display;	
	color:#868686;
	font-size:35px;
	text-align:center;
	line-height:140%;
}


/* news home */
.newshome {
	background-color:#eee;	
}
.newshome1 {
	width:94%;
	height:auto;
	padding:3%;
}
.newshome2 {
	width:40%;
	height:auto;
	float:left;
}
.newshome2 img {
	max-width:100%;
	height:auto;	
}
.newshome3 {
	width:55%;
	height:auto;
	float:left;
	text-algin:center;
	margin-left:0%;
}
.newshome3 h3 {
	font-size:16px;	
	text-align:center;
}
.newshome3 h1 {
	font-size:16px;		
}
.newshome3 p {
	font-size:14px;		
}
.newshome4 {
	width:50%;
	float:left;
	height:50px;
	text-align:center;
	margin-top:40px;	
}
.newshome4 a:link, .newshome4 a:visited {
	line-height:130%;
	font-size:16px;
	color:white;
	background-color:#1f39aa;
	border:1px solid #1f39aa;
	padding: 5px 20px;
	
}
.newshome4 a:hover, .newshome4 a:active {
	width:80%;
	line-height:130%;
	font-size:16px;
	color:#1f39aa;
	background-color:white;
	border:1px solid #1f39aa;
}

/* box promopzioni */
.boxpromozioni1 {
	float:left;	
	width:45%;
	height:auto;
	margin-left:2.5%;
	margin-right:2.5%;
	color:#888;
	line-height:110%;
	position:relative;
	margin-bottom:10px;
}
.boxpromozioni11 {
	line-height:125%;
	display: inline-block;
    vertical-align:middle;
	font-size:15px;
}
.boxpromozioni11 h3 {
	font-size:22px;
	line-height:120%;
}
.boxpromozioni1 a:link, .boxpromozioni1 a:visited {
	color:#444;	
}
.boxpromozioni1.pari {
	float:right;
}
.boxpromozioni1 img {
	max-width:100%;
	height:auto;	
}
.boxpromozioni2 {
	float:left;	
	width:50%;
	height:auto;
}
.boxpromozioni2.pari {
	float:right;
}
.boxpromozioni2 img {
	max-width:100%;
	height:auto;	
}

/* dettaglio promozioni */
.fotopromozioni {
	float:left;
	width:60%;
	height:auto;
	background-repeat:no-repeat;
	background-size:100% auto;
}
.fotopromozioni img, .fotpromozioni video {
	width:100%;
	height:100%;	
}
.richiestapromozioni {
	margin-left:2%;
	margin-right:2%;
	width:36%;
	float:left;
}
.testopromozioni {
	margin-left:2%;
	margin-right:2%;
	width:96%;
	float:left;
	text-align:left;
	color:#666;
	line-height:120%;
	font-size:18px;
}
.formpromozioni {
	margin-left:2%;
	margin-right:2%;
	width:96%;
	float:left;
}
.testo1promozioni {
	color:#888;
	line-height:120%;
	font-size:16px;
}
.bgpromozioni {
	background-color:#eee;	
}

/* contatti */
.contatti1 {
		float:left;
		width:50%;
		margin-bottom:30px;
		font-size:14px;
}
.contatti2 {
	float:left;
		width:50%;
		margin-bottom:30px;
		font-size:14px;
}
.contatti3 {
		float:right;
		width:50%;
		margin-bottom:30px;
		font-size:14px;
}
.contatti4 {
	float:left;
		width:50%;
		margin-bottom:30px;
		font-size:14px;
}
.rigacontatti {
	width:90%;
	margin-left:5%;
	float:left;	
	line-height:110%;
	margin-top:10px;
	margin-bottom:10px;
}
.rigacontatti img {
	margin-right:10px;
	height:30px;
}
.rigacontatti1 {
	width:90%;
	margin-left:5%;
	float:left;	
	line-height:105%;
	margin-top:10px;
	margin-bottom:10px;
}


/* pagine servizi */
.rigabox {
	margin-bottom:80px;	
}
.boxsx {
float:left;
width:100%;
margin:10px auto;
height:auto;	
}
.boxsx p {
	line-height:160%!important;	
}
.boxdx {
float:left;
width:100%;
margin:10px auto;
height:auto;
	
}
.boxdx img {
	max-width:100%;
	height:auto;
	width:100%;	
}

.boxdx1 {
float:left;
width:100%;
height:auto;
margin:0 auto;	
}
.boxdx1 p {
	line-height:160%!important;	
}
.boxsx1 {
float:left;
width:100%;
margin:10px auto;
height:auto;

}
.boxsx1 img {
	max-width:100%;
	height:auto;
	width:100%;	
}


.box2 {
	float:left;
	margin-left:5%;
	margin-right:5%;
	width:40%;
	height:auto;
	font-size:14px;	
	margin-bottom:20px;
}
.box2 h4 {
	color:white!important;	
}
.box2 img {
	margin-right:10px;	
}
.parallax {
	min-height:400px;
	background:transparent;
}

.parallax1 {
float:left;
width:33.33%;
height:auto;
color:white;
}
.parallax11 {
	margin-top:60px;
	border-left:1px solid white;
	padding-left:30px;
	font-size:32px;
	line-height:140%;
	margin-left:5%;
}
.parallax2 {
	float:left;
width:58.33%;
height:auto;
margin-left:8.33%;	
color:white;
margin-top:30px;
margin-bottom:30px;
}


}

