
/*******************************************************************************************************************
*  CSS RESPONSIVE
*******************************************************************************************************************/

@media only screen and (min-width: 1025px) and (max-width:1139px) {

	
}

@media only screen and (min-width:769px) and (max-width:1024px) {
	

	h1, h2, h3{margin-bottom: 0px; margin-top: 10px; font-size: 1.5em;}
		
	section img {max-width:100%}
	section{margin-bottom:5px; margin-top:0px; padding:6px; min-height: 470px;}

	.wrap{margin-left:1%; margin-right:1%;}

	#cssmenu{font-size: 0.9em; margin-right:10px !important }
	#cssmenu ul{float: right; width: max-content}
	#cssmenu ul li a{padding:3px !important; }
	.header-fixed img{height:50px;}

	.ricerca-laterale-barra{width:30%; overflow: hidden; float:left; font-size:1em;}
	#risultati_ricerca{margin-bottom: 20px; width:65%; }


	.slides {height:500px;  background-size:150%;}
	.frame {top:50px; padding: 5px; }
	.message{font-size:2.2em; padding:10px; float: left !important; text-align:left; }
}



/*  Wide Mobile Layout: max 767px  */
@media only screen and (min-width: 480px) and (max-width: 768px) {
	body {font-size: 13px;}

	h1, h2, h3{font-size:1.4em;}

	section img {width:auto}
	section{margin-bottom:0px; margin-top:0px; padding:0px; min-height: auto;}

	input{width:100%;}
	textarea{width:100%;}
	select{width:100%;}
	input[type="button"]{width: fit-content;}

	.card_Side .card_img img{width:100px !important;}

	footer{padding: 10px;}
	footer .box_footer{width:100%; margin-bottom: 5px; padding: 5px; box-sizing: border-box; border-bottom:1px solid #fff;}
	footer .box_footer:last-child{padding: 5px;}
	footer .box_accessibility{clear: both; text-align: center; border-top:0px; width: 100%; padding-top: 15px; margin-top: 0px;}

	.wrap{margin-left:1%; margin-right:1%;}

	#logo{width:100% }
	#top_header{height: 100px;}
	.header-fixed{height: 90px; border-bottom:1px solid #245983;}
	.header-fixed.resized {height:75px; }
	.header-fixed img {height:72px;}
	.header-fixed #cssmenu {top:13px;}
	.header-fixed.resized #cssmenu {top:-2px;}

	.slides {height:200px;  background-size:150%;}
	.frame {top:50px; padding: 5px; }

/*	.frame_left  {left:0px; text-align: left; border-radius: 0px 0px 15px 0px}
	.frame_right {left:0px !important; text-align: left !important; width: fit-content; border-radius: 0px 0px 15px 0px}
	.frame_center{left:0px !important; text-align: left !important; width: fit-content; border-radius: 0px 0px 15px 0px}
	*/
	.message{font-size:2.2em; padding:10px; float: left !important; text-align:left; }

	#main-content{margin-top:10px;}

	.content_box_home_top{margin-bottom: 10px;}
	.content_box_pulsanti{margin-top:2px; margin-bottom:2px; min-height:50px; padding:5px }
	.content_box_pulsanti h3{text-align: center; font-size:0.8em; }


	.flex-grid {display: inline-table; width: 100%;}
	.col {display: block; width: 100%; margin:0px;}
	.col_3 {float: left; width:30.5%;}

	.col_video{float: left; width:23.5%;}
	.video_img{height: 100px}
	.video_titolo_content{min-height:auto;}
	.video_riga{margin-bottom: 0px;}


	.breadcrumb {clear: both;  width:100%; padding-top: 10px;}
	.breadcrumb li a{line-height: 1.2em;}	
	
	.content_news h2{margin-top: 10px; margin-bottom: 10px; font-size:1.4em}
	.news{border:3px solid #eaa50d; font-size:0.9em; height:170px; }
	.blocco_news{margin:3px;}
	.blocco_news h3 {padding: 0px; padding-top:5px; font-weight:500; height:50px; box-sizing: border-box;-webkit-box-sizing: border-box; -moz-box-sizing: border-box; font-size:0.9em;}
	.image_news{width: auto; border:3px solid #fff; height: 80px}

	.sottomenu {width: 100%; font-size: 1em; margin-bottom:5px;}
	.sottomenu li {margin: 0.5%; width: 48%; }

	#box_ricerca{width:50%; margin:5px; right:0px; position: fixed; top: 53px;}
	.form_ricerca input{width:60%;}
	.language{top: -5px; right: -15px;}

	#barra_ricerca select{width: 100%;}
	#barra_ricerca input{width: 100%;}
	#barra_ricerca input[type="button"]{margin-top: 10px; margin-bottom:20px;}
	
	.content_box_icona{height:90px; background-size:120% !important}
	
	.content_box_home_bottom{margin-top:10px !important; width: 100%; box-sizing: border-box}
	.content_box_icona h3{font-size: 0.8em; padding-top: 10px;}
	.content_box_icona:last-child{margin: 5px;}

	.search_box h3{font-size: 1em; padding-top: 15px;}

	#dettaglioNews img {width:100%; float: initial; max-width: 100%;}
	#dettaglioNews h4 {margin-top: 15px;}

	#contenuto_laterale {margin-top: 10px; margin-bottom: 10px; width:fit-content;}
	#contenuto_laterale p{font-size: 1em; padding:0px; }
	#contenuto_laterale img {margin-top:5px;  margin-bottom:5px; }

	.dettaglio_splittato{width: 100%; clear: both;}
	.contenuto_testo {margin:5px;}

#newsletter_form fieldset{ width:100%; margin:0 auto; }
#newsletter_form input{width: 100%;  float: left; margin: 0.5%;}
#newsletter_form select{width: 100%;  float: left; margin: 0.5%;}
#newsletter_form input[type="email"]{width: 100%;  margin: 0.5%;}
#newsletter_form input[type="radio"] {  appearance: none; -moz-appearance: none; -webkit-appearance: none; border: 1px solid var(--cyan);  border-radius: 100%;   width: 1em;  height: 1em;  margin-top: 8px;}
#newsletter_form input[type="radio"]:checked { background: var(--cyan) !important;}
#newsletter_form input[type="button"]{width: 100%;  float: left; margin: 0.5%;}

.ricerca-laterale-barra{width:100%;}
.ricerca_laterale_lista{width:100%;}
#risultati_ricerca{width:100%; }

.content_box_home_rotante {margin-bottom: 35px;}

.content_box_rotante {margin-top: 10px;}

#contenuto_superiore{padding-top: 10px; padding-bottom: 10px;}
.card_img_effect img {max-height: 380px !important;  width: inherit!important;}
.effect-1 .effect-img{max-height:380px; width:120% !important;}
.effect-1 .effect-img img{ height:380px !important; }

.Margine_DX{clear:both !important; margin:0px !important; width:100%; margin-bottom:10px!important;}
.Margine_SX{clear:both !important; margin:0px !important; width:100%; margin-bottom:10px!important;}
}	


/*  Mobile Layout:    */

@media only screen and (max-width: 479px) {
	body {font-size: 13px;}

	h1, h2, h3{font-size:1.4em;}

	section img {width:auto}
	section{margin-bottom:0px; margin-top:0px; padding:0px; min-height: auto;}


	input{width:100%;}
	textarea{width:100%;}
	select{width:100%;}
	input[type="button"]{width: fit-content;}

	.card_Side .card_img img{width:100px !important;}


	footer{padding: 10px;}
	footer .box_footer{width:100%; margin-bottom: 5px; padding: 5px; box-sizing: border-box; border-bottom:1px solid #fff;}
	footer .box_footer:last-child{padding: 5px;}
	footer .box_accessibility{clear: both; text-align: center; border-top:0px; width: 100%; padding-top: 15px; margin-top: 0px;}

	.wrap{margin-left:1%; margin-right:1%;}

	#logo{width:100% }
	#top_header{height: 70px;}

	/*
	.header-fixed{height: 65px; border-bottom:1px solid #245983;}
	.header-fixed.resized {height:70px; }
	.header-fixed img {height:60px;}
	.header-fixed #cssmenu {top:13px;}
	.header-fixed.resized #cssmenu {top:-2px;}
	*/
	.slides {height:250px; width:100%; background-size:150%;}
	.frame {top:50px; padding: 5px; }
/*	.frame_left  {left:0px; text-align: left; border-radius: 0px 0px 15px 0px}
	.frame_right {left:0px !important; text-align: left !important; width: fit-content; border-radius: 0px 0px 15px 0px}
	.frame_center{left:0px !important; text-align: left !important; width: fit-content; border-radius: 0px 0px 15px 0px}
	*/
	.message{font-size:2.2em; padding:10px; float: left !important; text-align:left; }

	#main-content{margin-top:10px;}
	.breadcrumb li:last-child {max-width:200px; overflow: hidden; height: 20px;}

	.content_box_home_top{margin-bottom: 10px;}
	.content_box_pulsanti{margin-top:2px; margin-bottom:2px; min-height:50px; padding:5px }
	.content_box_pulsanti h3{text-align: center; font-size:0.8em; }


	.flex-grid {display: inline-table; width: 100%;}
	.col {display: block; width: 100%; margin:0px;}
	.col_3 {float: left; width:30.5%;}

	.col_video{float: left; width:47.5%;}
	.video_img{height: 100px}
	.video_titolo_content{min-height:auto;}
	.video_riga{margin-bottom: 0px;}
	

	.breadcrumb {clear: both;  width:100%; padding-top: 10px;}
	.breadcrumb li {line-height: 2em;}	

	.content_news h2{margin-top: 10px; margin-bottom: 10px; font-size:1.4em}
	.news{border:3px solid #eaa50d; font-size:0.9em; height:170px; }
	.blocco_news{margin:3px;}
	.blocco_news h3 {padding: 0px; padding-top:5px; font-weight:500; height:50px; box-sizing: border-box;-webkit-box-sizing: border-box; -moz-box-sizing: border-box; font-size:0.9em;}
	.image_news{width: auto; border:3px solid #fff; height: 80px}

	.sottomenu {width: 100%; font-size: 1em; margin-bottom:5px;}
	.sottomenu li {margin: 0.5%; width: 48%; }

	#box_ricerca{width:50%; margin:5px; right:0px; position: fixed; top: 53px;}
	.form_ricerca input{width:60%;}
	.language{top: -5px; right: -15px;}

	#barra_ricerca select{width: 100%;}
	#barra_ricerca input{width: 100%;}
	#barra_ricerca input[type="button"]{margin-top: 10px; margin-bottom:20px;}
	
	.content_box_icona{height:90px; background-size:120% !important}
	
	.content_box_home_bottom{margin-top:10px !important; width: 100%; box-sizing: border-box;}
	.content_box_icona h3{font-size: 0.8em; padding-top: 10px;}
	.content_box_icona:last-child{margin: 5px;}

	.search_box h3{font-size: 1em; padding-top: 15px;}

	#dettaglioNews img {width:100%; float: initial; max-width: 100%;}
	#dettaglioNews h4 {margin-top: 15px;}

	#contenuto_laterale {margin-top: 20px; margin:0 auto; margin-bottom:10px; width:95%; }
	#contenuto_laterale p{font-size: 1em; padding:0px; }
	#contenuto_laterale img {margin-top:5px;  margin-bottom:5px; }

	.contenuto_testo {margin:5px;}
	.dettaglio_splittato{width: 100%; clear: both;}
   

  form {
    width: 98%;
    border: 1px solid var(--sky);
    margin-bottom: 10px;
    outline: none;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    box-sizing: border-box;
    margin: 0 auto;
  }

fieldset{padding:30px; border:0px; box-sizing:border-box; padding:0px !important}



#newsletter_form fieldset{ width:100%; margin:0 auto; }
#newsletter_form input{width: 100%;  float: left; margin: 0.5%;}
#newsletter_form select{width: 100%;  float: left; margin: 0.5%;}
#newsletter_form input[type="email"]{width: 100%;  margin: 0.5%;}
#newsletter_form input[type="radio"] {  appearance: none; -moz-appearance: none; -webkit-appearance: none; border: 1px solid var(--cyan);  border-radius: 100%;   width: 1em;  height: 1em;  margin-top: 8px;}
#newsletter_form input[type="radio"]:checked { background: var(--cyan) !important;}
#newsletter_form input[type="button"]{width: 100%;  float: left; margin: 0.5%;}

.selettore_cont li{margin:5px; width:40%; height:30px }
	
.sezione_due_blocchi{margin: 0px;}
.sezione_due_blocchi .sezione_sx{width: 100%}
.sezione_due_blocchi .sezione_dx{width: 100%}


.ricerca-laterale-barra{width:100%;}
.ricerca_laterale_lista{width:100%;}
#risultati_ricerca{width:100%; }

.Pulsante_nero{margin-bottom: 10px; display: inline-block;}
.Pulsante_bianco{margin-bottom: 10px;  display: inline-block;}

.content_box_home_rotante {margin-bottom: 35px;}
.content_box_rotante {margin-top: 10px;}
#contenuto_superiore{padding-top: 10px; padding-bottom: 10px;}

.card_img_effect img {max-height: 380px !important;  width: inherit!important;}
.effect-1 .effect-img{max-height:380px; background-position: center center; width:100% !important; -webkit-transform: translate(-0%,-0%);-ms-transform: translate(-0%,-0%);transform: translate(-0%,-0%);}
.effect-1 .effect-img img{ height:380px !important; }

.Margine_DX{clear:both !important; margin:0px !important; width:100%; margin-bottom:10px!important;}
.Margine_SX{clear:both !important; margin:0px !important; width:100%; margin-bottom:10px!important;}

}

