@media (max-width: 1199px){
	.images div.boxgray_position .boxgrayblue .boxgray_button_pos .orange_button {
		background: rgb(213,123,0);
		background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Q1N2IwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM3YjQ3MDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
		background: -moz-linear-gradient(top,  rgba(213,123,0,1) 0%, rgba(123,71,0,1) 100%);
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(213,123,0,1)), color-stop(100%,rgba(123,71,0,1)));
		background: -webkit-linear-gradient(top,  rgba(213,123,0,1) 0%,rgba(123,71,0,1) 100%);
		background: -o-linear-gradient(top,  rgba(213,123,0,1) 0%,rgba(123,71,0,1) 100%);
		background: -ms-linear-gradient(top,  rgba(213,123,0,1) 0%,rgba(123,71,0,1) 100%);
		background: linear-gradient(to bottom,  rgba(213,123,0,1) 0%,rgba(123,71,0,1) 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d57b00', endColorstr='#7b4700',GradientType=0 );

	  max-width:100%; height:auto;

	}
	.images div.boxgray_position .boxgrayblue .boxgray_button_pos .orange_button a{ padding:8px;}
}


@media (max-width: 767px) {
	.slide_hp {padding-top: 55px;
	/*metto l'altezza a 0 cosė le slide non sono visibili anche prima che js finisca di caricare e non fa l'effetto "tutto aperto al loading della pagina".
	Quando il js č carticato via javascript setto height:auto*/
	height:0;}
	.slide_hp .images {margin: 0;height:100%; width:auto;}
	.images div.slide01, .images div.slide02, .images div.slide03, .images div.slide04, .images div.slide05{ display:block; position: static;}
	.images div h2, .images div p.testo, .images div ul.links li a{ width:100%;position:static;}
	.images img{ position:static;}
	.slide_hp .container1140{position: static;}
	.slide_hp .text-left, .images div.boxgray_position, .images div.boxgray_position .boxgrayblue, .images div.boxgray_position .boxgrayblue .boxgray_content_txt, .images div.boxgray_position .boxgrayblue .boxgray_button_pos{ width:auto; height:auto; float:none; position:static; background:none; padding:0;}
	.images div h2, .images div p.testo, .images div p.testo, .images div ul.links li a{text-shadow:none; line-height:1;}
	.images div h2{ font-size:25px;}
	.images div p.testo{ font-size:16px; margin-top:7px;}
	.images div ul.links li a{ font-size:14px; margin-top:7px; display:inline-block; padding: 8px; background-color:#002435; text-align:center; width:auto;}
	.images div.boxgray_position .boxgrayblue .boxgray_button_pos .orange_button{ margin-top:7px;}
	.slide_hp .left+.boxgray_position{ border-top:1px solid #fff; margin-top:7px;}
	.slidetabs{ bottom:3px; text-align:center;}
	.slidetabs>div{ display:none;}
	.slidetabs .swiper-pagination-bullet, .slidetabs .swiper-pagination-bullet-active{background-color:#fff;}
	.slidetabs .swiper-pagination-bullet+.swiper-pagination-bullet{ margin-left:2px;}
	
	
}
@media (min-width: 768px) and (max-width: 1199px) {
	.slidetabs{ display:table; width:100%;}
	.slidetabs ul{ display:table-cell; vertical-align:bottom;}
	.slidetabs ul+ul{ padding-left:4px;}
	.slidetabs li, .slidetabs a{ display:inline-block; width:100%;}
	.slidetabs a{ width:100%; float:none; margin:0; border-bottom:3px solid rgba(255,255,255,0.5); height:auto;text-shadow: 1px 1px 0px #565D51, 1px 1px 2px #565D51;}
	.slidetabs a, .slidetabs a.current, .slidetabs a:hover{ background:none;}
	.slidetabs a.current, .slidetabs a:hover{ border-bottom:3px solid rgba(255,255,255,1);}
}

@media (min-width: 768px) and (max-width: 991px)   {
	.slidetabs ul{ width:142px;}
	.images div h2, .images div p.testo, .images div ul.links li a{ width:422px}
	.images div p.testo {font-size: 14px; line-height: 18px; text-shadow: 1px 1px 0px #373c34, 1px 1px 2px #373c34;}
	.images div h2 {bottom: 110px; font-size: 31px; line-height:1;}	
	.images div.boxgray_position .boxgrayblue{ width:275px; height:176px;}
	.images div.boxgray_position .boxgrayblue .boxgray_content_txt{ bottom:-10px; padding:0 15px;}
	.images div.boxgray_position .boxgrayblue .boxgray_button_pos{ bottom:15px; right:0; margin:0 15px}
	.slidetabs{ bottom:4px;}
	.images div ul.links li a{ bottom:35px;text-shadow: 1px 1px 0px #565D51, 1px 1px 2px #565D51;}
	
}

@media (min-width: 992px) and (max-width: 1199px)  {
	.slidetabs ul{ width:186px;}
	.images div h2, .images div p.testo, .images div ul.links li a{ width:550px}
	.images div p.testo {font-size: 19px; line-height: 22px; text-shadow: 1px 1px 0px #565D51, 1px 1px 2px #565D51;}
	.images div h2 {bottom: 125px; font-size: 45px; line-height:1}
	.images div.boxgray_position .boxgrayblue{ width:356px; height:230px;}
	.images div.boxgray_position .boxgrayblue .boxgray_content_txt{ bottom:-10px;}
	.images div.boxgray_position .boxgrayblue .boxgray_button_pos{ right:0; margin:0 23px}
	.slidetabs{ bottom:12px;}
	.images div ul.links li a{ bottom:35px;text-shadow: 1px 1px 0px #565D51, 1px 1px 2px #565D51;}	
}