
/*******************************************************************************************************************
*  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, 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: 1em;}
	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{top: -60px;
  margin-top: 50px;
  height: 88px;
}
	.header-fixed.resized #cssmenu{top:-48px;}

	header{top: 40px;}
	.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:30px; }
	.rotatore_nav_foto{top:120px;}
	
	.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; top:15px; }
	.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 {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;}


}	





/*  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: 1em;}

	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{top: -60px;
  margin-top: 50px;
  height: 88px;
}
	.header-fixed.resized #cssmenu{top:-48px;}

	header{top: 40px;}
	.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:30px; }
	.rotatore_nav_foto{top:120px;}
	
	.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; top:15px; }
	.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 {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;}


}	
