
/*******************************************************************************************************************
*  CSS RESPONSIVE
*******************************************************************************************************************/

/*LapTop*/
@media only screen and (min-width: 1025px) and (max-width:1139px) {

	h1, h2, h3{margin-bottom: 0px; margin-top: 0px; font-size: 2.4em}
	.content_box_neutro{width: 48.7%; margin-top:12px !important;}
	.contenuto_centrale_dx{margin-top:10px !important; margin-bottom: 0px}

	.wrap{margin-left:1%; margin-right:1%;}
	
	.frame {top: 30px; }
	.slides {height:500px;  background-size:150%;}
	.video-container{height:500px!important;}
	.video-container iframe, .video-container object, .video-container embed {	height:500px;}
	
	.message{font-size:1em; padding-left:40px; padding-right:40px; text-align:left; }
	.rotatore_nav  {top:190px;}
	#rotatore_next {width:25px;}
	#rotatore_prev {width:25px;}
	#animazione{width: 100% !important;}
	#animazionenav a {background-size:60%;}
	#animazionenav a.activeSlide { background-size:60%; }

	.margin_container{margin-top: 0px !important;}
	.margin_section{margin-bottom:0px !important;}

	#contenuto_laterale {width:28%;}

	.content_box_home_basso_des{height: 90px;}
}



/*Ipad Plus*/
@media only screen and (min-width:769px) and (max-width:1024px) {
	
	body {font-size: 15px;}

	h1, h2, h3{font-size:2.2em; background-size: 3%; line-height: 1em;}

	section img {max-width:100%}
	section{margin-bottom:5px; margin-top:40px;}

	footer img{width: 50%;}

	header{top: 30px;}
	.slides {height:400px; background-size:150%;}
	.video-container{height:400px!important;}
	.video-container iframe, .video-container object, .video-container embed {	height:400px;}

	.frame {top: 10px; width: 50%;}
	.message{font-size:1em; padding-left:30px; padding-right:30px; text-align:left; }

	.header-fixed{height: 90px; }
	.header-fixed img {height:90px;}
	.header-relative{height:70px;}
	.header-fixed.resized img {height:70px;}
	.header-fixed.resized #cssmenu{top:-50px}

	.wrap{margin-left:2%; margin-right:2%;}

	.flex-grid {display: inline-table; width: 100%;}

	.col {width: 48%; float: left; margin:1%; margin-top:15px; margin-bottom:15px; } 
	.col_visore {width:98% !important;}
	.col_flex {width:16.5% !important; float: left; margin: 0px;}
	.col_partner{width: 12.3% !important; float: left; margin: 0px;}
	.col_allegato_large {width: 100%; float: left;  margin:0%;}
	.col_video {width:16.5% !important; float: left; margin: 0px;}
	.col_gallery{width:22.5% !important; float: left;}
	.col_news{width:32%; float: left; margin:1%;  }



	.rotatore_nav  {top:190px;}
	#rotatore_next {width:25px;}
	#rotatore_prev {width:25px;}
	#animazione{width: 100% !important;}
	#animazionenav a {background-size: 50%;}
	#animazionenav a.activeSlide {background-size: 50%; }


	.navigazione {padding-top: 5px; }

	.breadcrumb {clear: both;  width:100%; padding-top:0px;}
	.breadcrumb li a{line-height: 2em;}	


	.contenuto_sup p{padding: 5px;}
	
	.blocco_visori .col {width:32%; margin-right:0%; float: left; }
	.content_visore{height: 210px;}
	.content_visore_data{font-size: 0.8em;}
	.content_visore h3{font-size:0.8em; height: 30px; font-weight: 700; }
	.content_visore p{font-size: 0.8em; height: 30px; }
	.content_visore_img{height: 90px; margin-bottom: 5px;}
	.content_visore_button{width:35px; font-size: 0.8em; padding: 5px; font-weight: 700; }


	.box_news{height: 210px;}
	.box_news_data{font-size: 0.8em;}
	.box_news h3{font-size:0.8em; height: 30px; font-weight: 700; }
	.box_news p{font-size: 0.9em; height: 30px; }
	.box_news_img{height: 90px; margin-bottom: 5px;}
	.box_news_button{width:35px; font-size: 0.8em; padding: 5px; font-weight: 700; }



	.content_box_gallery{height:180px; }
	.content_box_gallery_des h3{font-size: 1.2em; height:10px;}


	.content_box_home{height: 320px;}
	.content_box_home_des{height:100px;}
	.content_box_home_des h3{font-size: 1.2em; }
	.content_box_home_des p{font-size: 0.9em; overflow: hidden;}

	.content_box_home_sfondo{min-height:300px; height:300px;}
	.video-container-content-box iframe{min-height: 200px; height: 200px;}
	.partner_content h3{font-size:2.6em; background-size: 3%; line-height: 1em;}
	.sezione_header h4{font-size:2.6em;; background-size: 3%; line-height: 1em;}

	.square-content{height: 120px;}
	.square-box {width:100%; text-align: center; margin: 0 auto; height:130px; }
	.boxitem_content h3 {font-size: 0.9em; }
	.boxitem_content p{padding:0px;}

	.rotatore_partner{height:130px;}

	.slides_gallery {height:400px; background-size:150%;}
	.animazione_gallery a{width:2px; margin-left: 2px;}

	.link_top{right:5px; top:38px;}
	.link_top img{ width:60px;}



}	


/*  iPad */
@media only screen and (min-width: 480px) and (max-width: 768px) {
	body {font-size: 15px;}

	h1, h2, h3{font-size:1.8em; background-size: 3%; margin-bottom:0px; }

	section img {max-width:100%}
	section{margin-bottom:5px; margin-top:35px;}


	footer{text-align: center;}
	footer img{width: 70%;}
	footer .language {float: none; text-align: center; margin: 0 auto;}	
	.social_footer {float: none; text-align: center; margin: 0 auto;}
	.logo_footer {float: none; text-align: center; margin: 0 auto;}


	
	.language img{padding-top:8px; padding-left:2px; font-size: 0.9em; line-height: 3em; }
	.language span {display:none;}


	.language_footer {float: none; text-align: center; margin: 0 auto;}	
	.language_footer span a{padding-left: 3px}


	header{top:60px;}
	.slides {height:200px; background-size:150%;}

	.slides_gallery {height:300px; background-size:150%;}
	.animazione_gallery a{width:2px; margin-left: 2px;}

	.dettaglio_splittato{width: 100%; clear: both; padding:0px; box-sizing: border-box;}
	#contenuto_laterale {margin-top:0px; clear: both; float: none; width:100%; min-height: auto}
	
	.contenuto_ricettivita{margin-top:80px; }

	.video-container{height:200px!important;}
	.video-container iframe, .video-container object, .video-container embed {	height:200px;}

	
	.frame {top: 10px; width: 50%;}
	.message{padding:10px; text-align:left; }


	.header-fixed{height: 100px; }
	.header-fixed img {height:100px;}
	.header-relative{height:70px;}
	.header-fixed.resized img {height:68px;}


	.header-fixed.resized #cssmenu{top:-48px;}

	.wrap{margin-left:2%; margin-right:2%;}

	.flex-grid {display: inline-table; width: 100%;}

	.col {width: 48%; float: left; margin:1%; margin-top:15px; margin-bottom:15px; } 
	.col_visore {width:98% !important;}
	.col_flex {width:49% !important; float: left; margin: 0px;}
	.col_partner{width: 12.5% !important; float: left; margin: 0px;}
	.col_allegato_default {width:33% !important; float: left; margin: 0px;}
	.col_allegato_large {width:100%; float: left;  margin:0%;}
	.col_video {width:33% !important; float: left; margin: 0px;}
	.col_news{width:100%; margin:0px; margin-top:10px; }
	.col_gallery{width:24% !important; float: left; margin:2px; }


	.rotatore_nav  {top:60px;}
	#rotatore_next {width:15px;}
	#rotatore_prev {width:15px;}
	#animazione{width: 100% !important;}
	#animazionenav a {background-size: 50%;}
	#animazionenav a.activeSlide {background-size: 50%; }


	.navigazione {padding-top: 5px; }

	.breadcrumb {clear: both;  width:100%; padding-top:0px;}
	.breadcrumb li a{line-height: 2em;}	

	.contenuto_sup p{padding: 5px;}
	
	.blocco_visori .col {width:32%; margin-right:0%; float: left; }
	.content_visore{height: 210px;}
	.content_visore_data{font-size: 0.8em;}
	.content_visore h3{font-size:0.8em; height: 30px; font-weight: 700; }
	.content_visore p{font-size: 0.8em; height: 30px; }
	.content_visore_img{height: 90px; margin-bottom: 5px;}
	.content_visore_button{width:35px; font-size: 0.8em; padding: 5px; font-weight: 700; }

	.content_box_home{height: 220px;}
	.content_box_home_des{height:100px;}
	.content_box_home_des h3{font-size: 1.2em;}

	.content_box_gallery{height:130px; }
	.content_box_gallery_des h3{font-size: 1.2em; height:10px;}

	.box_news{height: 210px;}
	.box_news_data{font-size: 0.8em;}
	.box_news h3{font-size:0.8em; height: 30px; font-weight: 700; }
	.box_news p{font-size: 0.9em; height: 30px; }
	.box_news_img{height: 90px; margin-bottom: 5px;}
	.box_news_button{width:35px; font-size: 0.8em; padding: 5px; font-weight: 700; }

	.content_box_home_sfondo{min-height: 110px; height: 110px;}
	.video-container-content-box iframe{min-height: 110px; height: 110px;}
	.partner_content h3{font-size:1.8em; background-size: 3%; line-height: 1em;}
	.sezione_header h4{font-size:1.8em; background-size: 3%; line-height: 1em;}

	.square-content{height: 120px;}
	.square-box {width:100%; text-align: center; margin: 0 auto; height:130px; }
	.boxitem_content h3 {font-size: 0.9em; }
	.boxitem_content p{padding:0px;}


	.dettaglio_splittato{width: 100%; clear: both; padding:5px; box-sizing: border-box; margin-bottom: 15px;}
	#contenuto_laterale {margin-top:0px; clear: both; float: none; width:100%; min-height: auto}

	.video_img {width:100%; height:90px; }

	.document_box{min-height: 180px;}

	.rotatore_partner{height:80px;}
	.form_contatti input {width:100%}

	.mappa_contenuto{width: 100%; clear: both;}
	.mappa_half{width: 100%; clear: both;}

	.menu_pagine_figlie li {min-height:auto; min-width:150px; font-size: 1.4em; min-height:auto;}

	.code {font-size:0.8em; margin:9px;}	

	.natale{background-size:130%}

	.link_top{right:5px; top:38px;}
	.link_top img{ width:60px;}


}	




/*  Mobile Layout*/
@media only screen and (max-width: 479px) {
	body {font-size: 15px;}

	h1, h2, h3, h4{font-size:1.6em; margin-top:20px; margin-bottom:20px;}

	section img {max-width:100%}
	section{margin-bottom:5px; margin-top:5px;}

	footer{text-align: center; font-size: 0.8em;}
	footer img{width: 100%;}

	.form_contatti input[type="button"]{width: auto;}

	.language img{padding-top:8px; padding-left:2px; font-size: 0.9em; line-height: 3em; }
	.language span {display:none;}

	.language_footer {float: none; text-align: center; margin: 0 auto;}	
	.language_footer span a{padding-left: 3px}

	.social_footer {float: none; text-align: center; margin: 0 auto; }
	.logo_footer {float: none; text-align: center; margin: 0 auto;}

	.header-fixed.resized #cssmenu{top:-48px;}

	header{top: 60px;}
	.slides {height:200px; background-size:150%;}

	.slides_gallery {height:300px; background-size:150%;}
	.animazione_gallery a{width:2px; margin-left: 2px;}

	.dettaglio_splittato{width: 100%; clear: both; padding:0px; box-sizing: border-box;}
	#contenuto_laterale {margin-top:0px; clear: both; float: none; width:100%; min-height: auto}

	.contenuto_ricettivita{margin-top:80px; }

	.Pulsante{font-size:0.7em!important}
	.frame {top: 10px; width: 50%;}

	.message{padding-left: 30px; width: 100%; }
	.message p{font-size:1.1em; padding:5px; text-align:left; margin-bottom:5px; margin-top:30px; }

	.header-fixed{height: 100px; }
	.header-fixed img {height: 80px; margin-top: 20px}
	.header-relative{height:70px;}
	.header-fixed.resized img {height: 43px; margin-top: 25px;}

	.wrap{margin-left:2%; margin-right:2%;}

	.flex-grid {display: inline-table; width: 100%;}

	.col {width: 100%; clear: both; margin:0%; margin-top:15px; margin-bottom:15px; } 

	.col_visore {width:98% !important; margin: 0px;}
	.col_flex {width:49% !important; float: left; margin: 0px;}
	.col_partner{width:25% !important; float: left; margin: 0px;}
	.col_allegato_default {width:33% !important; float: left; margin: 0px;}
	.col_allegato_large {width: 100%; float: left;  margin:0%;}
	.col_video {width:33% !important; float: left; margin: 0px;}
	.col_gallery{width:24%; float: left; margin:0.5%; }
	.col_news{width:100%; margin:0px; margin-top:10px; }


	.rotatore_nav  {top:80px;}
	#rotatore_next {width:20px;}
	#rotatore_prev {width:20px;}
	#animazione{width: 100% !important;}
	#animazionenav a {background-size: 50%;}
	#animazionenav a.activeSlide {background-size: 50%; }

	.navigazione {padding-top: 50px; }

	.breadcrumb {clear: both;  width:100%; padding-top:0px;}
	.breadcrumb li a{line-height: 2em;}	
	.contenuto_sup{margin-top: 50px; margin-bottom: 30px;}
	.contenuto_sup p{padding: 5px;}
	
	.content_box_home_sfondo{min-height:350px; height:350px;}
	.content_box_home{margin: 10px; margin-left:0px !important; margin-bottom: 10px; }
	.content_box_home_des{height:auto;}
	.content_box_home_des h3{font-size: 1.2em;}
	.content_box_home_des p{font-size: 0.9em; overflow: hidden;}



	.form_contatti input {width:100%}

	.mappa_contenuto{width: 100%; clear: both;}
	.mappa_half{width: 100%; clear: both;}
	
	.menu_pagine_figlie li {min-height:auto; min-width:150px; font-size: 1.4em; min-height:auto	}


	.box_news{height: auto; padding-bottom:10px;}
	.box_news h3{height: auto; }
	.box_news p{height:auto; }
	
	.code {color: #000; font-size:0.9em; clear: both; margin:0px; margin-top:5px; position:fixed;}	

	.natale{background-size:150%}

	.link_top{right:5px; top:38px;}
	.link_top img{ width:60px;}


}	

/*
	
	#dettaglioNews h2{font-size:1.2em; clear: both}
	#dettaglioNews img{clear: both; width: 100%;}

	.content_box_gallery{height:100px; }
	.content_box_gallery_title{font-size:2em;}
	.content_box_gallery_des h3{font-size: 1.2em; height:5px;}
	.video-container-content-box iframe{min-height: 110px; height: 110px;}


	.square-content{height: 120px;}
	.square-box {width:100%; text-align: center; margin: 0 auto; height:130px; }
	.boxitem_content h3 {font-size: 0.9em; }
	.boxitem_content p{padding:0px;}


	.video_img {width:100%; height:90px; }
	.document_box{min-height: 180px;}
		



	.paginatore{font-size: 1.6em; }
	.paginatore p a {width: 30px; height: 30px;}
	.paginatore p a.sel{width: 30px; height: 30px;}


	#pannelloNews{margin-bottom:40px; margin-top: 40px; }
	.box_news{width: 99%; box-sizing: border-box;}
	.lista_news_cont{width:100%; height:auto;}
	.lista_news_cont h2{height:auto;} 
	.lista_news_cont h3{height:auto;}
	.lista_news_cont p{height:auto;}
	.lista_news_cont h4{height:auto;}
	.lista_news_data{ width:48%; height: 180px; }


	.sfondo_visori{background: #3d654d!important; top:0px; position: relative; padding-top: 10px; margin-bottom: -50px;}
	.content_box_home {height: 200px;  box-sizing: border-box; box-sizing: border-box; margin-bottom: 5px;}
	.content_box_home:nth-child(odd) { margin-right:1%}
	.content_box_home:nth-child(even) { margin-left:1%}
	.content_box_home_sfondo{min-height:130px; height:130px;  overflow: hidden; position: relative; }
	.content_box_home_sfondo img.foto_home_sfondo{min-height:100%;}





/*


	.content_box_home_basso {height: 230px;  box-sizing: border-box; box-sizing: border-box; margin-bottom: 5px;}
	.content_box_home_basso:nth-child(odd) { margin-right:1%}
	.content_box_home_basso:nth-child(even) { margin-left:1%}
	.content_box_home_basso_sfondo{min-height:130px; height:130px;  overflow: hidden; position: relative;}
	.content_box_home_basso_sfondo img.content_box_home_basso_img{min-height:100%;}
	.content_box_home_basso_img{top: 80%;}


	.sfondo_visore_1{padding-top:20px; padding-bottom:0px;}
	.sfondo_visore_2{padding-top:20px; padding-bottom:0px;}


	


	/*GALLERY INTERNA
	.dettaglio_gallery {width:100%; height:250px; clear: both;}
	.dettaglio_gallery img.foto_dettaglio_gallery {min-width: 100%; min-height: 100%; width:100%; }


	.dett_news_data .anno{font-size: 2em;}

	.rotatore_news_prev{padding:5px; background-color: #fff; cursor:pointer; left: 250px; border-radius: 5px; bottom:20px; position: relative;}
	.rotatore_news_next{padding:5px; background-color: #fff; cursor:pointer; right: 20px; border-radius: 5px; bottom:20px; position: relative;}


/*




	/* - modo miniatura - 
	.lista_news_img {width:48%; height: 180px;  }

	#dettaglioNews{ padding-top: 0px; }
	.dett_news_data{width: 130px; height:130px; padding:3px;}
	.dett_news_data .mese{font-size: 1.6em;}
	.dett_news_data .giorno{font-size:5em;}



	/* barra ricerca laterale	
	.ricerca_laterale_barra {width:100%;}	
	.ricerca_laterale_lista {width:100%;}


	.content_box_neutro{margin-top: 10px; width: 48%}
	.contenuto_centrale_dx{margin-top:10px !important;}
	.content_neutro_img{height:100px;}
	.content_box_neutro h3{font-size: 1.2em; padding-top: 10px;}







	.col_stagioni {display: block; width: 47%; float: left;}
	.col_video {display: block; width: 47%; float: left;}
	.content_box_verde h3{font-size: 1.4em;}
	.content_box_verde_img{height: 250px;}

	.content_box_verde{margin-top: 10px; margin-bottom: 0px;}
	.content_visore {margin-top: 10px; margin-bottom: 0px;}
	
	.boxitem {width:98%; min-height:180px; margin-left: 0px; }
	.boxitem_content {height:auto;}

	.boxside_img{width: 100%; margin-bottom: 10px;}
	.boxside_link{top: 10px; bottom: unset;}

	.galleryDesc{font-size: 0.8em}
	.thumbnail { width: 46%; height: 120px; }

	#dettaglioNews img {width:100%; float: initial;}
	#dettaglioNews h4 {margin-top: 15px;}
	#dettaglioNews .button_arancio {float: left !important;}

	#riquadro_contatti {margin-top: 10px; clear: both; float: none; width: auto;}
	#riquadro_contatti div{font-size: 0.9em;}
	#riquadro_contatti img {float: left !important; width: auto !important;}


    
	.richiediinfo_form, .richiediinfo_contenuto{width:100%; margin-top: 1%;}

	label{font-size: 0.9em}
	input{width:100%; }
	textarea{width:100%; }
	select{width:100%; }



	.newsletter_page {width:100%;}

	.newsletter_page img {width:100%;}
	img.progetti_servizio {width: auto !important; float: left;}

	.meteo_widget { width:auto;clear: both;}
	.meteo_content{width: 100%;clear: both; margin-bottom: 25px;}

	#primo_video{padding:0px }
	.video_img{height: auto;}
	.video-container iframe, .video-container object, .video-container embed {	height:150px;}
	.square-box-menu { display: none}


	.contenuto_testo {margin:5px; margin-top: 10px; margin-bottom: 10px; font-size: 0.9em !important; }
	.contenuto_testo img{ width:100%; clear: both; margin-bottom: 10px;}
	.contenuto_testo p img{ width: 100%; clear: both; margin-bottom: 10px;}

	.document_box img {width:80px;}
	.col_pulsanti {float: left; width:47%;}*/


/*	.margin_container{margin-top:0px !important; }
	.margin_section{margin-bottom:0px !important; }

	#pannelloProgetti{margin-bottom:40px; margin-top: 40px; }
	h1.titolo_superiore{font-size: 1.8em; font-weight: 800; text-transform: uppercase; margin: 0px; color: #333333; margin-bottom: 10px; display: block; }
	.lista_progetti_cont{width:100%; height:auto;}
	.lista_progetti_cont h2{height:auto;} 
	.lista_progetti_cont h3{height:auto;}
	.lista_progetti_cont p{height:auto;}
	.lista_progetti_cont h4{height:auto;}
	.lista_progetti_img {width:100%;}
	.lista_progetti_img img.foto_lista_progetti {min-width: 100%; min-height: 100%; width:100%; }
	.titoli_dettaglio_progetto{ padding-top: 0px; }

	#dettaglioProgetti{padding-top: 0px;}

	.dettaglio_splittato{width: 100%; clear: both; padding: 10px; box-sizing: border-box;}
	#contenuto_laterale {margin-top:0px; clear: both; float: none; width:100%;}
	.contenuto_laterale_superiore{padding: 10px; }

	#pannelloNews .col{width: 100% !important; float: left; margin: 1%;} 

	.menu_pagine_figlie {width: 100%; font-size: 1em; margin-bottom:5px;}
	.menu_pagine_figlie li {margin: 0.5%; width: 48%; }





