html {
	position: relative;
	min-height: 100%;
}

body {
	background: #ECF0F1;
	/* background: #e6f4ff	;		 */
	/* Margin bottom by footer height */
	margin-bottom: 80px;
	padding-right: 0px !important; /*fix iOS*/
}

.prefooter {
	height: 150px;
}

.modal-header > .close,  .modalshyfem-header > .close {
	color: white !important;
	opacity: 1 !important;
}

.logometeohome {
	/* width: 130px; */
	/* width: 115px; */
  color: #005da4;
	width: 60px;
	margin-top: 5px;
}

.logometeo {
	/* width: 130px; */
	/* width: 115px; */
	width: 180px;
}

.logosnpa {
	/* width: 70px; */
	width: 110px;
}

@media (max-width: 1199px) {
	.logometeohome {
		margin-top: 8px;
    width: 50px;
    margin-left: -15px;
	}
	.logometeo {
		/* width: 130px; */
		width: 110px;
		margin-top: 10px;
	}
	.logosnpa {
		width: 70px;
		margin-top: 10px;
	}
	#NavBarTopDown{
		width: 100%;
		margin-top: 0px;
		margin-bottom: 0px;
	}

}


.logoregione {
	width: 135px;
}


.modal-open {
  overflow-y: auto; /*fix iOS*/
}

.back-to-top {
	cursor: pointer;
	position: fixed;
	bottom: 45px;
	right: 20px;
	display: none;
	z-index:2;    
}

.hc {
	font-size: 16px;
	font-weight: bold;
}

.social {
	padding: 20px;
	margin: auto;
	text-align: center;
}

.hr-primary {
	border-color: #005da4;
}

.navbar-default .navbar-nav > li > a {
	/* color: #333; */
	color: #005da4;
	text-transform: uppercase;
	font-size: 14px;
	padding-left: 10px;
	padding-right: 10px;
}

.nav-home > a {
	padding-left: 8px;
	padding-right: 8px;
}

.nav-home > a > .glyphicon-home {
	font-size: 16px;
}

.navbar {
    border-radius: 0;
}

/* .navbar-default {
        background-color: #ffffff;
        border-color: #005da4;
        border-left: none;
        border-right: none;
} */

.navbar-default {
	background-color: #ffffff;
	font-weight: bold;
	border-color: #005da4;
	border-left: none;
	border-right: none;
}

.bottomline {
	border-bottom: 1px solid #dddddd;
	border-right: 1px solid #dddddd;
}

.panel {
	border-radius: 0;
}

.panel-heading {
	border-radius: 0;
	padding: 5px 15px;
}

.flat {
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.langbar > li > a {
	padding-left: 0px !important;
}

.logobar {
	min-height: 60px;
}

.nopadd {
	padding:0px;
}

.minpadd {
        padding:4px;
}

.nopaddright {
        padding-right:0px;
}

.nopaddleft {
        padding-left:0px;
}

.nopaddtop {
        padding-top:0px !important;
}

.nopaddbottom {
        padding-bottom:0px !important;
}

.paddlr {
	padding-left: 10px;
	padding-right: 10px;
}

.paddr {
	padding-right: 10px;
}

.sipadd {
	padding:10px;
}

.px-2 {
	padding-right: 2px;
	padding-left: 2px;
}

.px-4 {
	padding-right: 4px;
	padding-left: 4px;
}

.px-10 {
  padding-right: 10px;
  padding-left: 10px;
}

.px-15 {
  padding-right: 15px;
  padding-left: 15px;
}

.nomargin {
	margin: 0px;
}

.nomarginright {
        margin-right: 0px;
}

.marginright {
	margin-right: 10px;
}

.nomarginbottom {
        margin-bottom: 0px;
}

.simarginbottom {
	margin-bottom: 10px;
}

.simarginbottom2 {
        margin-bottom: 20px;
}

.margintopmenu {
	margin-top: 15px;
}

.marginbottommenu {
	margin-bottom: 15px;
}

.floatleft {
	float: left;
}

.maxsizeSt {
	max-width: 400px;
}

.maxheight {
	height: 500px;
	max-height: 500px;
}

.noborder {
	border: 0px;
}

.pointer {
	cursor: pointer;
}

.valignmiddle {
	vertical-align: middle !important;
}

.nobgrimg {
	background-image: none !important;	
}

.full-screen-map {
  	top:0;
	bottom:0;
	left:0;
	right:0;
	position: absolute;
}

.full-panel-map {
  width: 100%;
  height: 690px;
}

.full-panel-map-uv {
  width: 100%;
  height: 1000px;
}

@media (max-width: 767px) {
  .full-panel-map-uv {
    width: 100%;
    height: 600px;
  }
}

.uv {
  background-color: #ffffff;
  /* width: 320px!important; */
  /* max-height: 130px; */
}

.leaflet-popup-content {
    width: auto !important;
    min-width: 220px;
}

.leaflet-popup-content-wrapper {
    width: auto;
    white-space: nowrap; /* evita che il contenuto vada a capo restringendo il popup */
}
/* 
.leaflet-popup-content {
    width: 360px !important;
    min-width: 220px;
}

.leaflet-popup-content-wrapper {
    width: 360px;
} */

.uv-dove {
  max-height: 120px;
}

.uv img {
  height: 60px;
}

.uv-img {
  height: 60px;
  margin-left: 10px;
  margin-right: 10px;
}

@media (max-width: 767px) {
  .uv-img {
    height: 50px;
    margin-left: 5px;
    margin-right: 5px;
  }
}

.uv-text-leg {
  font-size: 50px;
  vertical-align: middle;
}

/* .leaflet-popup {
  width: 420px;
} */

.infoMap {
  height: 800px;
}

.legendaRaster {
  padding: 6px 8px;
  background: #ffffff;
  opacity: 0.8;
}

.legendaUV {
  padding: 6px 8px;
  background: #ffffff;
  opacity: 0.8;
}

.boxprevis {
	border: 1px solid #005DA4;
}

div.bgrimg {
	background: url(../img/REGIONE_SFONDO.png) no-repeat center;
	background-size: contain;
}

div.bgrimg640 {
        background: url(../img/REGIONE_640.png) no-repeat center;
        background-size: contain;
}

div.bgrimg640720 {
	background: url(../img/REGIONE_640_720.png) no-repeat center;
	background-size: contain;
}


div.costa_bgrimg {
        background: url(../img/COSTA_SFONDO.png) no-repeat center;
        background-size: contain;
}

div.monti_bgrimg {
        background: url(../img/MONTI_SFONDO.png) no-repeat center;
        background-size: contain;
}

div.pianura_bgrimg {
        background: url(../img/PIANURA_SFONDO.png) no-repeat center;
        background-size: contain;
}

select#anno option:disabled {
	background: #eee;
	color: #aaaa;
}

/* img.shyfem {
	max-height: 620px;
} */


.legendaraster {
  width: 85px;
  z-index: 0;
}

@media (max-width: 1199px) {
	.langbar {
		padding-left: 15px;
	}
	.langbar li {
		float: left;
		display: initial !important;
	}
	body {
		margin-bottom: 220px;
	}
	.logo {
		margin-top: -12px;
	}
	.logobar {
        	min-height: 0px;
	}
	.footer div {
        	text-align: center !important;
	}
	.footer div {
	        padding-top: 5px;
        	padding-bottom: 5px;
	}
	.logoiosonofvg {
		position: absolute;
		right: 80px;
		width: 50px;
		height: 40px;
	}
  .legendaraster {
    width: 60px;
  }
}


@media (min-width: 1200px) {
	.langbar {
		/* margin-top:0px;
		text-align: right; */
	}
	.mymeteobar {
		margin-top:-20px;
		margin-right: -15px !important; 
	}
	#NavBarTopRight {
		float: right;
		width: 470px;
		margin-left:0px;
	}

	.modal-dialog {width:70%;}
	.modal-body .img-responsive,  .modalshyfem-body .img-responsive {
	    margin: 0 auto;
	}
	.maxWidthImg {
		max-width: 400px;
		margin: 0 auto;
	}
	.logoiosonofvg {
		width: 40px;
		height: 40px;
	}
	.spacer {
		height: 40px;
	}
}
 
.footer {
	background-color: #ffffff;
	position: absolute;
	bottom: 0;
	width: 100%;
	/* Set the fixed height of the footer here */
	min-height: 35px;
	border-top: 1px solid #005da4;
}

.footer img {
	margin-top: 1px;
}

a.inverse {
	color: #ffffff;
}

.box {
	background: #ffffff;
}


.border {
	border: 1px solid #005da4;
}

.gen {
	padding-bottom: 10px;
}

#PrevisCarousel .nav a small {
	display:block;
}
#PrevisCarousel .nav {
	background:#ffffff;
}
#PrevisCarousel .nav a {
	border-radius:0px;
}
#PrevisCarousel .nav li {
	margin-left: 0px !important;
}

.tematismi a.btn {
	border-radius:0px;
}

li.active {
	background: #005da4;
}

.blue {
	color: #005da4;
}

img.icone {
	position: absolute;
	top:0;
}

.relative {
	position: relative;
}

img.mappe {
	position: absolute;
	top:0;
}


.list-group-horizontal .list-group-item {
    display: inline-block;
}
.list-group-horizontal .list-group-item {
	margin-bottom: 0;
	margin-left:-4px;
	margin-right: 0;
}
.list-group-horizontal .list-group-item:first-child {
	border-top-right-radius:0;
	border-bottom-left-radius:4px;
}
.list-group-horizontal .list-group-item:last-child {
	border-top-right-radius:4px;
	border-bottom-left-radius:0;
}

.fitimg {
	width: 100%;
}

.bfit {
	width: 100%;
  margin-top: 8px;
}

.maxarso {
	max-width: 600px !important;
}

#pdfcont, .pdfcont {
	height: 800px;
}

/* Grafici */
.graficoSt {
  margin: 0 auto;
  height: 185px;
  width: 100%;
}

.graficoRaster {
  margin: 0 auto;
  height: 250px;
  width: 100%;
}

#tooltip{
        z-index: 9999;
}

div#grafico1 div#y2axisLabel, div#grafico2 div#y2axisLabel {
        /*left: 675px !important;*/
        left:auto !important;
        right: 0px !important;
}
.axisLabels {
        font-size: 12px;
        /*font: 11px Verdana, sans-serif;*/
        /* color: #444444; */
        padding: 5px;
}
.legendLabel {
        /* font: 11px Verdana, sans-serif; */
        font-size: 12px;
}

#grafico3leg {
	position: relative;
	bottom: 180px;
}
/* Grafici */

/* Mappe */
#btnContainer {
	z-index: 10;
	position: absolute;
	bottom: 70px;
	left: 10px;
}

#btnContainer button {
	width: 130px;
	margin-bottom: 5px;
}

#infoContainer {
	z-index: 10;
	position: absolute;
	bottom: 40px;
	right: 10px;
}

#movieControl {
	z-index: 10;
	position: absolute;
	right: 0;
	left: 0;
	bottom: 10px;
}

#movieControl .carousel-indicators li {
    border: 1px solid  #005da4;
}

#movieControl .carousel-indicators .active {
	background-color: #005da4;
}

#movieControl span {
	color: #005da4;
	font-size: 18px;
}

#selitem {
	z-index: 20;
	position: absolute;
	bottom: 20px;
	margin-left: 60px;
	margin-right: 80px;
	max-width: 400px; 
}

/* Mappe */

/* BVMR CFD */
div.bvmr {
	float: left;
	margin-right:5px;	
}

div.C0 {
        background-color: rgb(255, 230, 204);
}
div.C1 {
        background-color: rgb(255, 204, 153);
}
div.C2 {
        background-color: rgb(255, 166, 77);
}
div.C3 {
        background-color: rgb(230, 115, 0);
}

th.cfd_cn {
        background : none !important;
}

th.cfd_c0 {
        background : #f2e0c2 !important;
}

th.cfd_c1 {
        background : #f2cd91 !important;
}

th.cfd_c2 {
        background : #f2b149 !important;
}

th.cfd_c3 {
        background : #f29400 !important;
}

/* CALDO */

td.no_d, .thi_c {
        background : #8aff8a ;
}

td.deb_d, .thi_c1 {
        background : #ffff88 ;
}

td.dis, .thi_c2 {
        background : #ffab6c ;
}

td.for_d, .thi_c3  {
        background : #ff7878 ;
}

/* Carousel  */
.mareCar li.active {
	background-color: #005da4 !important;
}
.mareCar li {
        border-color: #005da4 !important;
}
.mareCar {
	bottom: -68px;
	left: 38% !important;
	width: 85% !important;
}

.carousel-control-bottom {
	top: unset;
	bottom: 90px;
}

.selectable div {
	user-select: initial !important;
}

.dim30perc {
	width: 30%;
}


img.arpanews {
	width: 100%;
	opacity: 0.2;
	min-height: 220px !important;
	max-height: 220px !important;
	height: 220px !important; 
	object-fit: cover;
}

a.arpanews {
	color: #ffffff;
	text-shadow: 2px 2px 5px #004071;
}

div.arpanews {
	background-color: rgba(0, 93, 164, 0.8);
    /* position: absolute; */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* nav bar previsioni homepage  */
@media (min-width: 68px) {
  .nav-singleline > li {
    display: table-cell;
    width: 1%;
  }
  .nav-justified > li > a {
    margin-bottom: 0;
  }
}

.grigio {
	color : #555;
}


/* titolo iframe */
.iframeTit {
	/*text-align: center;*/
	font-size: 2em;
}

.fossalon {
	background-image: url("../img/REGIONE_501.png");
    background-size: cover;
}

.legradar {
	max-height: 30px;
}

.txtradar {
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 30px;
}

/* modelli */
.mapfixed {
	height: 600px;
}

.source {
	background-color: #fcecd4;
	padding: 10px;
	text-align: left;
	border-left: 2px solid black;
}

/* nav bar previsioni homepage  */
@media (max-width: 420px) {
	div.widgetcont{
		margin-left: -15px;
	}
  }

img.thi {
	max-height: 250px;
	margin-right: 10px;
	float: left;
}

.padbottom {
	padding-bottom: 20px;
}

.marginauto {
	margin: 0 auto;
}

.doveseimap {
	height: 500px;
}

.wtemp {
	margin-top: 20px;
}

.icone-temi {
	margin: 10px auto;
	border-radius: 60px;
	padding: 10px;
	width: 120px;
	height: 120px;
	background-color: #005da4;
}

/* Eyof */
.tooltipEy{
	z-index: 9999;
}

div.grafico1 div#y2axisLabel, div.grafico2 div#y2axisLabel {
	/*left: 675px !important;*/
	left:auto !important;
	right: 0px !important;
}

.grafico3leg {
position: relative;
bottom: 120px;
float: right;
}

.textcenter {
	text-align: center;
}

.textright {
	text-align: right;
}

.tfor2025 {
	overflow: auto;
}

/* Eyof */  

/* Widget */ 

.widget {
	background-color : #005da4;
	padding: 15px;
	margin: 10px;
	color: #fff;
	min-height: 180px;
	text-align: left;
	border-radius: 5px;
	max-width: 420px;

  display: flex;              /* aggiunto */
  flex-direction: column;     /* aggiunto */
}

.w-uv1 {
  color: #3ca62a;
}

.w-uv2 {
  color: #fffe00;
}

.w-uv3 {
  color: #ff8200;
}

.w-uv4 {
  color: #e93526;
}

.w-uv5 {
  color: #b56c9a;
}


.w-uv-icone {
    display: flex;
    flex-direction: row;
    height: 50px;
    container-type: inline-size;
}

.w-uv-icone img {
    padding-top: 12px;
    padding-bottom: 10px;
    padding-left: 10px;
}

/* sotto a questa dimensione non faccio vedere le icone */
@container (max-width: 100px) {
    .w-uv-icone img {
        display: none;
    }
}

.w-logo {
	height: 30px;
	width: 50px;
}

.w-title-loc {
	font-weight: bold;
}

.w-title {
  display: flex;
  align-items: center; /* verticale */
	font-size: 16px;
}

.w-subtitle {
  font-size: 12px;
  color: #fff;
  opacity: 0.7;
}

.w-dato-label {
	font-size: 12px;
  opacity: 0.7;
}

.w-dato-label-small {
	font-size: 10px;
  opacity: 0.7;
}

.w-dato {
	font-size: 26px;
	font-weight: bold;
}

.w-dato-ui {
  border-radius: 5px;
  padding: 5px;
	font-size: 36px;
	font-weight: bold;
  -webkit-text-stroke: 1px white;
  /* text-shadow: 
    -0.5px -0.5px 0 white,
     0.5px -0.5px 0 white,
    -0.5px  0.5px 0 white,
     0.5px  0.5px 0 white; */
}


.w-dato-big {
	font-size: 56px;
	font-weight: bold;
	padding-left: 30px;
	padding-top: 20px;
	vertical-align: text-top;
}

.w-um {
	font-size: 12px;
	color: #f1f1f1;
	padding-left: 3px;
}

.w-dir {
	font-size: 14px;
	color: #f1f1f1;
	padding-right: 3px;
}

.w-um-big {
	font-size: 16px;
	font-weight: none;
	color: #f1f1f1;
}

.w-simbol-cont {
	min-height: 118px;
}

.w-simbol {
	padding: 8px;
}

.w-space {
  height: 10px;
}

.w-footer {
  margin-top: auto;
  font-size: 10px;
  color: #fff;
  opacity: 0.7;
  text-align: center;
}

.htar25 {
  min-height: 680px;
}

@media (max-width: 1000px) {
  .htar25 {
    min-height: 500px;
  }
}

/* End Widget */ 

/* spinner loading */

.loader {
	margin: 0 auto;
	width: 60px;
  }
  
  .loader-wheel {
	animation: spin 1s infinite linear;
	border: 2px solid rgba(30, 30, 30, 0.5);
	border-left: 4px solid #fff;
	border-radius: 50%;
	height: 50px;
	margin-bottom: 10px;
	width: 50px;
  }
  
  .loader-text {
	color: #333;
	font-family: arial, sans-serif;
  }
  
  .loader-text:after {
	content: 'Loading';
	animation: load 2s linear infinite;
  }
  
  @keyframes spin {
	0% {
	  transform: rotate(0deg);
	}
	100% {
	  transform: rotate(360deg);
	}
  }
  
  @keyframes load {
	0% {
	  content: 'Loading';
	}
	33% {
	  content: 'Loading.';
	}
	67% {
	  content: 'Loading..';
	}
	100% {
	  content: 'Loading...';
	}
  }



  .opacity50 {
    opacity: 0.5;
    filter: alpha(opacity=50); /* For IE8 and earlier */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; /* For IE8 */
    -webkit-filter: alpha(opacity=50); /* For Safari 3.1 to 6.0 */
    -moz-opacity: 0.5; /* For older versions of Firefox */
    -khtml-opacity: 0.5; /* For older versions of Safari */
    -o-opacity: 0.5; /* For older versions of Opera */
    -webkit-transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    -o-transition: opacity 0.5s ease-in-out;
    -ms-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out; 
    height: 50px !important;
  }

.opacity60 {
  opacity: 0.6;
  filter: alpha(opacity=60); /* For IE8 and earlier */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)"; /* For IE8 */
  -webkit-filter: alpha(opacity=60); /* For Safari 3.1 to 6.0 */
  -moz-opacity: 0.6; /* For older versions of Firefox */
  -khtml-opacity: 0.6; /* For older versions of Safari */
  -o-opacity: 0.6; /* For older versions of Opera */
  -webkit-transition: opacity 0.5s ease-in-out;
  -moz-transition: opacity 0.5s ease-in-out;
  -o-transition: opacity 0.5s ease-in-out;
  -ms-transition: opacity 0.5s ease-in-out;
  transition: opacity 0.5s ease-in-out;
  height: 50px !important;
}

.pista-container {
    position: relative;
	display: inline-block;
}

.pista-img {
	max-height: 1000px;
}

.punto-pista {
    position: absolute;
    /* width: 180px;*/
    width: 34px;
    height: 34px;
    background: #005DA4;
	/* border-color: #004071; */
	border-width: 2px;
    color: white;
    text-align: center;
	padding: 6px;
    /* line-height: 24px; */
    border-radius: 50%;
    /* cursor: pointer; */
    font-size: 18px;
	font-weight: bold;
}

.punto-pista-tab {
    /* width: 180px;*/
    width: 34px;
    height: 34px;
    background: #005DA4;
	/* border-color: #004071; */
	border-width: 2px;
    color: white;
    text-align: center;
	padding: 6px;
    /* line-height: 24px; */
    border-radius: 50%;
    /* cursor: pointer; */
    font-size: 18px;
	font-weight: bold;
}


.wctarvisio tbody tr td {
	height: 50px;
	vertical-align: middle;
}

/*
.pista-container img {
    display: block;         
    max-width: 100%;
    height: auto;
}
*/

/* grandine  */
@media (min-width: 768px) {
  #infoGrandine, #mappaGrandine {
    min-height: 765px;
  }
}
