@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* from template */
.aqc-map-page-wrapper * {
	box-sizing: border-box;
}
#map {
    height: 600px;
    width: 100%;
    position: relative;
  }
  .map-container {
  position: relative;
}

.map-overlay {
  position: absolute;
  display: block;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px; /* Adjust the height as per your requirements */
  background-image: url('<?php echo get_stylesheet_directory_uri() . "/img/map/color-key.png"?>'); /* Add the image you want to use as the overlay */
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  z-index: 90; /* Add a higher z-index value to make sure the overlay appears above the map */
}
.map-marker-label {
    background-color: #000000; 
    padding: 4px 8px; 
    border-radius: 4px; 
  } 

  
.hover-container {
    position: absolute;
    bottom: 20px;
    left: 1.33%;
    /*right: 20px;*/
    
    background-color: #FFFFFF; /*rgba(255, 255, 255, 0.8);*/
    text-align: center;
    transition: transform 0.3s;

    width: 78%;
    filter: drop-shadow(0px 4px 14px rgba(0, 0, 0, 0.25));
}

.quality-indicator {
    display: flex;
    justify-content: center;
    align-items: end;
    width: 100%;
    min-height: 110px;
	height: auto;
    cursor: pointer;
    padding: 10px;
}

.quality-indicator .quality {
  width: 16.66667%;
}

.good:after {
    background-color: #00e400;
    border-radius: 15px 0 0 15px;
}

.moderate:after {
    background-color: #ffff00;
}

.sensitive:after {
    background-color: #ff7e00;
}

.unhealthy:after {
    background-color: #ff0000;
}

.very-unhealthy:after {
    background-color: #99004c;
}

.hazardous:after {
    background-color: #7e0023;
    border-radius: 0px 15px 15px 0px;
}

#desc-text {
  text-align: left;
    display: none;
    /* font-weight: bold; */
    padding: 10px;
}
.quality { font-size: 11px; color: #000000; }
.quality:after { content: ''; display: block; width: 100%; height: 12px; opacity: 1; transition: all 0.3s ease-in-out; }
.quality span { padding: 5px 10px 10px 10px; display: block; transition: all 0.3s ease-in-out; visibility: visible; text-align: left; border-left: solid 1px #E2E2E2; margin-bottom: 2px; margin-top: 2px; font-style: italic; color: #838488; }
.quality span strong { font-style: normal; color: #000000; display: block; }
.quality:hover {
    transform: scale(1.1); /* Increase the size a bit */
    z-index: 10; /* Ensure it stays above other elements when hovered */
}

/* .hover-container:hover {
    transform: translateY(-100%);
} */

.hover-container:hover #desc-text {
    display: block;
}
.hover-container:hover .quality:not(:hover) span,
.hover-container:hover .quality:hover span {
  /*display: none;*/
  visibility: hidden;
}
.hover-container:hover .quality:not(:hover):after {
  opacity: 0.25;
}
.hover-container:hover .quality:hover:after {
  opacity: 1;
}

.hover-container:hover #desc-text span { font-style: italic; color: #838488; font-weight: normal; }

.hover-container:hover #desc-text span strong{
	display: block;
	color: #000;
	font-style: normal;
	font-weight: bold;
}

@media (max-width: 767px) {
  .hover-container { bottom: auto; top: 20px; display: none;/*left: 10px; right: 10px;*/ }
  .good:before {
    background-color: #00e400;
    border-radius: 15px 0 0 15px;
  }

  .moderate:before {
    background-color: #ffff00;
  }

  .sensitive:before {
    background-color: #ff7e00;
  }

  .unhealthy:before {
    background-color: #ff0000;
  }

  .very-unhealthy:before {
    background-color: #99004c;
  }

  .hazardous:before {
    background-color: #7e0023;
    border-radius: 0px 15px 15px 0px;
  }
  .quality-indicator { align-items: start; padding: 10px 0px; }
  .quality:before { content: ''; display: block; width: 100%; height: 8px; }
  .quality:after { content: none; display: none;}
  .quality:hover { transform: unset; }
  .quality span { padding: 5px; }
  .quality { font-size: 7px; }
  #desc-text { font-size: 8px; }
}

/* from template end */



.pod__link {
	background: #09366e;
}

a.pod__link {
	color: #fff !important;
}

body.single .content-container.single-regulation-wrapper{
	float: none;
	width: 100%;
}
body.single .content-container.single-regulation-wrapper .page-content{
	width: 100%;
}

a.button-wrapper{
	background: #1177c1;
	color: #fff;
	padding: 10px 20px;
	margin-top: 10px;
	display: inline-block;
	transition: all .5s ease-in-out;
}
a.button-wrapper:hover{
	background: #146c94
}
/* map template styling */
.aqc-map-page-wrapper, h2, h3, h4, h5, h6 {
	font-family: 'Roboto', sans-serif;
}

.aqc-map-page-wrapper { display: flex; height: 100%; }
.page-template-map-template .aqc-map-page-wrapper { height: auto; }
.left-container {
	float: left;
	width: 6%;
}
/* left container menu */
.left-container ul {
  list-style-type: none;
  /*display: flex;
  flex-direction: column;
  align-items: center;*/
  padding: 0;
  margin: 0;
  width: 100%;
}

.left-container ul li {
	display: block;
	height: auto;
}

.left-container ul li a {
	display: block;
	width: 100%;
	height: auto; /*height: 100%;*/
	padding: 20px 0px; /*25px;*/
	text-align: center;
	color: #000000;
	font-size: 8px;
	font-style: normal;
	font-weight: 700;
	line-height: normal; 
	text-align: center;
}

.left-container ul li a img {
	display: block;
	margin-bottom: 0.5rem;
	margin-left: auto;
	margin-right: auto;
	max-width: 27px;
	height: auto;
}

.left-container ul li .feedback img {
	max-width: 30px;
	height: auto;
}

.left-container ul li a:hover, 
.left-container ul li.active a,
.left-container ul li a.active,
.page-template-aqc-map-template .left-container ul li:first-child a,
.resources-page_page .left-container ul li:nth-child(2) a,
.about-page_page .left-container ul li:nth-child(3) a {
	background-color: #2E8CF5;
	color: #FFFFFF;
}

.left-container ul li a:hover img,
.left-container ul li.active a img,
.left-container ul li a.active img,
.page-template-aqc-map-template .left-container ul li:first-child a img,
.resources-page_page .left-container ul li:nth-child(2) a img,
.about-page_page .left-container ul li:nth-child(3) a img{
	filter: invert(1) brightness(1);
}
.map-container {
	float: left;
	width: 47%;
	max-height: calc(100vh - (150px + 66px));
	overflow: hidden;
}
.page-template-map-template .map-container {
	/*max-height: unset;*/
	width: 94%;
	overflow: auto;
	padding-left: 25px;
	padding-right: 25px;
}
body.admin-bar .map-container {
	max-height: calc(100vh - (150px + 66px + 32px));
}
body.admin-bar.page-template-map-template .map-container { /*max-height: unset;*/ }

.right-container {
	float: left;
	width: 47%;
	padding: 20px;
	max-height: calc(100vh - (150px + 66px));
	overflow: hidden;
}

body.admin-bar .right-container {
	max-height: calc(100vh - (150px + 66px + 32px));
}

.map-container #map { height: 100%; }

.loc-title {
	background: #F6F7FA;
	width: 50%;
	display: flex;
	flex-direction: column;
	border-left: solid 7px #6BBD46;
	border-radius: 5px 0px 0px 5px;
	padding: 10px 20px;
}

.loc-title h3 { font-size: 26px; font-weight: 500; margin-top: 0; margin-bottom: 0; cursor: pointer; }

.loc-title .loc-details {
  display: flex;
  font-size: 11px;
  gap: 10px;
}
/* top-right-menu  */
.top-right-menu {
	display: flex;
	gap: 10px; 
	height: 9.5vh;
	max-height: 85px;
}
.top-right-menu > * {
	/*flex: 1 1 auto;*/
}
.top-right-menu .icon-menu-horiz {
	list-style-type: none;
	display: flex;
	gap: 0.75rem;
	padding: 0;
	margin: 0;
	flex: 1 1 auto;
}
.top-right-menu .icon-menu-horiz li {
	display: flex;
	
	flex-direction: column;
	align-items: center;
	gap: 3px;
	text-align: center;
	white-space: normal;
	flex: 1;
}
.top-right-menu .icon-menu-horiz li a {
	display: block;
	color: #212429;
	font-size: 10px;
	font-style: normal;
	font-weight: 500;
	line-height: normal; 
	padding: 11px 3px;
	border-radius: 5px;
	background: #F6F7FA;
	width: 100%;
	height: 100%;
}
.top-right-menu .icon-menu-horiz li span {
	display: block;
	margin-top: 0.5rem;
}
.top-right-menu .icon-menu-horiz li a:hover,
.top-right-menu .icon-menu-horiz li.active a,
.top-right-menu .icon-menu-horiz li a.active,
.forecastchart-visible #forecast-chart,
.weatherchart-visible #weather-chart,
.mainchart-visible .icon-menu-horiz li:first-child a {
	background-color: #2E8CF5;
	color: #FFFFFF;
}

.top-right-menu .icon-menu-horiz li a:hover img,
.top-right-menu .icon-menu-horiz li.active a img,
.top-right-menu .icon-menu-horiz li a.active img,
.forecastchart-visible #forecast-chart img,
.weatherchart-visible #weather-chart img,
.mainchart-visible .icon-menu-horiz li:first-child a img{
  filter: invert(1) brightness(1);
}

body.page-template-aqc-map-template .page-container {
	padding: 0;
	height: calc(100vh - (150px + 66px));
	overflow: hidden;
	position: relative;
}

body.page-template-aqc-map-template.admin-bar .page-container {
	height: calc(100vh - (150px + 66px + 32px));
}

body.page-template-aqc-map-template .page-container > section {
  height: 100%;
}

.station-list {
  display: flex;
  margin: 10px 0;
  padding: 25px 20px;
  justify-content: space-between;
  cursor: pointer;
  align-items: center;
  flex-direction: column;
}

@media (min-width: 768px) {
	/*.station-list > * { width: 33%; }*/
	.stationlist-left { width: 50%; }
	.station-list { flex-direction: row; }
}


#custom-infobox {
  display: flex;
  gap: 5px;
  flex-direction: column;
  position: absolute;
  width: 300px;
  height: auto;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  padding: 15px;
  top: 10%;
  left: 10%;
  filter: drop-shadow(0px 4px 14px rgba(0, 0, 0, 0.25));
}
.chart-wrapper {
  position: relative;
  height: 30vh;
}
#aqiChart { height: 100%; }
.stations-wrap {
  margin-left: -20px;
  margin-right: -20px;
  overflow: auto;
  height: calc(100vh - (52vh + 44px + 150px + 66px));
  /*** 21/11/2023 height: calc(100vh - (42.5vh + 44px + 150px + 66px));*/
}
@media screen and (min-width: 1920px) {
	.stations-wrap {
		height: calc(100vh - (57.5vh + 44px + 150px + 66px));
	}
	.forecastchart-visible .stations-wrap { height: calc(100vh - (50.5vh + 44px + 150px + 66px)); }
	.aqc-tab-values { height: 3vh; }

}
@media screen and (min-width: 1920px) and (min-height: 1310px) {
	.stations-wrap {
		height: calc(100vh - (50vh + 44px + 150px + 66px));
	}
}

@media screen and (min-width: 2560px) {
	.stations-wrap {
		height: calc(100vh - (55.5vh + 44px + 150px + 66px));
	}
	.forecastchart-visible .stations-wrap {
		height: calc(100vh - (35vh + 44px + 150px + 66px));
	}
}
@media screen and (min-width: 2560px) and (min-height: 1760px) {
	.stations-wrap {
		height: calc(100vh - (45vh + 44px + 150px + 66px));
	}
}

@media screen and (min-width: 3840px) {
	.stations-wrap {
		height: calc(100vh - (46vh + 44px + 150px + 66px));
	}
}

.stations-list-wrap .station-list:nth-child(odd) {
	background-color: #F6F7FA;
}

.stationlist-left { font-size: 16px; font-weight: 700; padding-left: 10px; }
.stationlist-right, .stationlist-extreme-right { font-size: 10px; font-weight: 400; }

.aqc-tab-values {
	display: flex;
	padding-right: 0px;
	align-items: center; 
	margin: 20px auto;
	height: 8vh;
	max-height: 71px;
}
.aqc-tab-values .tab-item {
	color: #212429;
	opacity: 0.35;
	flex-shrink: 0;
	font-weight: 300;
	border-bottom: solid 2px #212429;
	padding-left: 6px;
	padding-right: 6px;
	cursor: pointer;
}

.aqc-tab-values .tab-item.active{
	opacity: 1;
	border-bottom: solid 2px #212429;
}

.aqc-tab-values .tab-item .mini-title {
	font-size: 10px;
	font-style: normal;
	font-weight: 700;
	line-height: normal; 
}

.aqc-tab-values .tab-item .large-num {
	font-size: 28px;
	font-style: normal;
	font-weight: 300;
	line-height: normal; 
}

.aqc-tab-values .tab-item .large-num span {
	font-size: 20px; 
}

.aqc-tab-values .tab-item.active .large-num span {
	/* text-transform: uppercase; */
}

/* modal / popup */
#fancybox-outer { border-radius: 6px; max-width: 340px; overflow: hidden; }
#fancybox-content { border: 0 !important; }
#zipcodeModal {
	padding: 40px 20px 35px 20px;
	background: url(../img/map/popup-bg-trans.png) no-repeat top center;
	background-size: 340x auto;
	max-width: 340px;
}
#zipcodeModal .modal-content img { display: block; margin: 0 auto 40px auto; }

#zipcodeModal .modal-content h3, #zipcodeModal .modal-content p { text-align: center; }
#zipcodeModal .modal-content h3 { font-size: 16px; margin-bottom: 8px; font-weight: 700; }
#zipcodeModal .modal-content p { font-size: 11px; }
#zipcodeModal .modal-content label {
	display: block;
	text-align: center;
	color: #212429;
	text-align: center;
	font-size: 12px;
	font-style: normal;
	font-weight: 700;
	line-height: normal; 
	margin-bottom: 10px;
	margin-top: 30px;
}
#zipcodeModal .modal-content .inputs-wrap { 
	display: flex;
	align-content: space-between;
}
#zipcodeModal .modal-content .zipcode-input {
	border-radius: 4px;
	background: #F6F7FA; 
	border: 0;
	border-bottom: solid 5px #D9D9D9;

	font-size: 42px;
	font-style: normal;
	width: 42px;
	height: 54px;
	margin-left: 4px;
	margin-right: 4px;
	display: inline-block;
	padding: 5px;
	text-align: center;
}

#zipcodeModal .modal-content button {
  background-color: #2E8CF5;
  border: 0;
  color: #FFF;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  margin: 1.5rem auto 0;
  display: block;
  transition: all 0.25s ease-in-out;
}

#zipcodeModal .modal-content button:hover {
	background-color: #2C4979;
}

#zipcodeModal .modal-content #detectLocationLink {
	font-size: 13px;
	color: #212429;
	font-weight: 700;
	display: block;
	margin-top: 24px;
}

#zipcodeModal .modal-content #detectLocationLink:before {
	content: '';
	background: url(../img/map/detect-location.svg) no-repeat center center;
	width: 12px;
	height: 12px;
	margin-right: 8px;
	display: inline-block;
	vertical-align: middle;
}

.hover-container { z-index: 1; }

#fancybox-close { 
	top: 10px !important;
	right: 10px !important;
	background: url(../img/map/close.svg) no-repeat center center !important;
}

/* map keys popup */
#indicator-popup {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
	z-index: 3;
}

.indicator-popup-wrap {
	background:#fff;
	padding: 35px 30px;
	width: calc(100% - 60px);
	height: calc(100% - 60px);
	margin: 30px;
	position: relative;
}

#indicator-popup-close {
	background: url(../img/map/close.svg) no-repeat center center;
	position: absolute;
	right: 20px;
	top: 20px;
	text-indent: -9999px;
	width: 15px;
	height: 15px;
	cursor: pointer;
}

.popup-header h2{
	color: #212429;
	font-size: 26px;
	font-style: normal;
	font-weight: 500;
	line-height: 22px;
}

ul.mapkey-indicators {
	margin: 30px 0;
	border-top: solid 1px #D9D9D9;
	padding-top: 30px;
	list-style-type: none;
	padding-left: 0;
}

ul.mapkey-indicators li {
	margin: 0 0 25px 0;
	padding-left: 20px;
	list-style-type: none;
	position: relative;
}

ul.mapkey-indicators li:before {
	content: "";
	display: block;
	width: 7px;
	border-radius: 4px;
	height: 50px;
	position: absolute;
	left: 0;
	background-color: #000000;
}

#indicator-popup .indicator-popup-bg {
	position: absolute;
	background: rgba(0, 0, 0, 0.65);
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

#map.indicator-popup-on, #map.indicator-popup-on ~ .hover-container { filter: blur(5px); }

ul.mapkey-indicators li.good:before { background-color: #6BBD46; }
ul.mapkey-indicators li.moderate:before { background-color: #F1EB19; }
ul.mapkey-indicators li.sensitive:before { background-color: #F89A20; }
ul.mapkey-indicators li.unhealthy:before { background-color: #ED2227; }
ul.mapkey-indicators li.very-unhealthy:before { background-color: #8E2E5F; }
ul.mapkey-indicators li.hazardous:before { background-color: #86161F; }

ul.mapkey-indicators li p:first-child { margin-bottom: 10px; }
.mapkey-indicators-wrap { max-height: calc(85% - 60px); overflow-y: auto; }
@media (max-width: 1500px) {
	.mapkey-indicators-wrap { max-height: calc(65% - 60px); }
}
/* map markers hover popup */
.station-map-popup {
	text-align: center;
	padding: 30px 25px;
}
.station-map-popup img {
	margin-bottom: 25px;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.station-map-popup h3 {
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: normal; 
	margin-bottom: 8px;
	color: #212429;
}

.station-map-popup p {
	font-size: 10px;
	font-style: normal;
	font-weight: 400;
	line-height: 17px; /* 170% */ 
}

.station-map-popup a {
	text-decoration: none;
	color: #000000;
	color: #000;
	text-align: center;
	font-size: 12px;
	font-style: normal;
	font-weight: 700;
	line-height: normal; 
	margin: 25px 10px 0px 10px;
}

.duration-filter {
	border-radius: 30px;
	border: 1px solid #D9D9D9;
	background: #F6F7FA;
	padding: 4px;
	max-width: 85%;
	margin: 10px auto;
	/*height: 4%;*/
}

.duration-filter-list {
	display: flex;
	list-style-type: none;
	padding: 0;
	margin: 0;
	gap: 30px;
	justify-content: space-evenly;
	align-items: center;
}

.duration-filter-list li {
	font-weight: 700;
	font-size: 11px;
	/*height: 30px;*/
	padding: 9px 15px;
	line-height: 1;
	cursor: pointer;
  background: transparent;
  border: solid 1px transparent;
}

.duration-filter-list li.active,
.duration-filter-list li:hover,
.duration-filter-list li:focus {
	border-radius: 30px;
	border: 1px solid #D9D9D9;
	background: #FFF; 
}

#infobox-trend { font-style: italic;}

#forecast-wrapper {
	margin-top: 20px;
}
.forecast-wrap {
	display: flex;
  gap: 0;
  border-radius: 6px;
  border: solid 1px #d9d9d9;
  overflow: hidden;
}

.forecast-wrap .forecast-day {
  width: 25%;
  flex: 1 1 234px;
  display: flex;
  flex-direction: column;
  /*justify-content: center;*/
  min-height: 234px;
  background: #F6F7FA;
  border-right: solid 1px #d9d9d9;
  padding: 12px;
}

@media screen and (min-width: 2560px) {

}

.forecast-wrap .forecast-day:nth-child(even) {
	background: #FFFFFF;
}

.forecast-wrap .forecast-day:last-child {
	border-right: none;
}

.forecast-day .colorbar {
  background: gray;
  height: 10px;
  border-radius: 56px;
  content: "";
  display: block;
  margin-bottom: 54px;
}

.forecast-day ul {
	padding-left: 0;
	font-size: 11px;
	margin-top: 20px;
}
#forecast-sec-title {
	color: #212429;
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	margin-bottom: 20px;
}
.forecast-day .dayname{
	color: #212429;
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: 100%; /* 14px */
	margin-bottom: 16px;
}
.forecast-day .forecast-desc {
	color: #212429;
	font-size: 26px;
	font-style: normal;
	font-weight: 300;
	line-height: 100%; /* 26px */
	margin-bottom: 20px;
}

.forecast-day .forecast-pm {
	color: #212429;
	text-transform: uppercase;
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: 100%; /* 14px */
}

/* tablet view styling */
@media (min-width: 1200px) and (max-width: 1599px) {
	.header__top { height: 42px; }
	#searchform { margin-top: 10px; }
	.header__logo { height: 70px; width: 89px; }

	.map-container {
		max-height: calc(100vh - (112px + 50px));
	}
	body.admin-bar.page-template-map-template .map-container,
	.page-template-map-template .map-container { /*max-height: unset;*/ }
	body.admin-bar .map-container {
		max-height: calc(100vh - (112px + 50px + 32px));
	}
	.right-container {
		max-height: calc(100vh - (112px + 50px));
	}
	body.admin-bar .right-container {
		max-height: calc(100vh - (112px + 50px + 32px));
		padding: 10px 20px;
	}
	body.page-template-aqc-map-template .page-container {
		height: calc(100vh - (112px + 50px));
	}

	body.page-template-aqc-map-template.admin-bar .page-container {
		height: calc(100vh - (112px + 50px + 32px));
	}
	.header__my_air_quality { margin-top: 10px; }

	.top-right-menu .icon-menu-horiz li a{ padding-top: 6px; padding-bottom: 6px; }
	.loc-title { padding-top: 5px; padding-bottom: 5px; }
	.loc-title h3 { font-size: 24px; }

	.aqc-tab-values .tab-item .large-num { font-size: 25px; }
	.aqc-tab-values, .duration-filter { margin: 5px auto; height: 5.3vh; }

	.duration-filter-list li { height: 24px; padding: 5px 15px; }

	footer.main { height: 50px; line-height: 50px; }

	.stations-wrap { height: calc(100vh - (50vh + 44px + 150px + 66px)); }
}

@media (min-width: 992px) and (max-width: 1199px) {
	.header__top { height: 42px; }
	#searchform { margin-top: 10px; }
	.header__logo { height: 70px; width: 89px; }

	.map-container {
		max-height: calc(100vh - (112px + 50px));
	}
	body.admin-bar .map-container {
		max-height: calc(100vh - (112px + 50px + 32px));
	}
	body.admin-bar.page-template-map-template .map-container,
	.page-template-map-template .map-container { max-height: unset; }
	.right-container {
		max-height: calc(100vh - (112px + 50px));
	}
	body.admin-bar .right-container {
		max-height: calc(100vh - (112px + 50px + 32px));
		padding: 10px 20px;
	}
	body.page-template-aqc-map-template .page-container {
		height: calc(100vh - (112px + 50px));
	}

	body.page-template-aqc-map-template.admin-bar .page-container {
		height: calc(100vh - (112px + 50px + 32px));
	}
	.header__my_air_quality { margin-top: 10px; }

	.top-right-menu { gap: 8px; height: 7.5vh; }
	.top-right-menu .icon-menu-horiz li a{ padding-top: 6px; padding-bottom: 6px; font-size: 8px; }
	.loc-title { padding-top: 5px; padding-bottom: 5px; }
	.loc-title h3 { font-size: 20px; }
	.loc-title .loc-details { font-size: 8px; gap: 8px; }
	.top-right-menu .icon-menu-horiz { gap: 0.5rem; }

	.aqc-tab-values .tab-item .large-num { font-size: 20px; }
	.aqc-tab-values, .duration-filter { margin: 5px auto; height: 5.3vh; max-width: 100%; }

	.duration-filter-list li { height: 24px; padding: 5px 15px; }

	footer.main { height: 50px; line-height: 50px; }

	.stations-wrap { height: 15vh; }
	footer.main ul.social li a.text__link { font-size: 1rem; }
}

@media (min-width: 768px) and (max-width: 991px) {
	.header__top { height: 42px; }
	#searchform { margin-top: 10px; }
	.header__logo { height: 70px; width: 89px; }

	.map-container {
		max-height: calc(100vh - (112px + 50px));
	}
	body.admin-bar .map-container {
		max-height: calc(100vh - (112px + 50px + 32px));
	}
	body.admin-bar.page-template-map-template .map-container,
	.page-template-map-template .map-container { max-height: unset; }

	.right-container {
		max-height: calc(100vh - (112px + 50px));
	}
	body.admin-bar .right-container {
		max-height: calc(100vh - (112px + 50px + 32px));
		padding: 10px 20px;
	}
	body.page-template-aqc-map-template .page-container {
		height: calc(100vh - (112px + 50px));
	}

	body.page-template-aqc-map-template.admin-bar .page-container {
		height: calc(100vh - (112px + 50px + 32px));
	}
	.header__my_air_quality { margin-top: 10px; }

	.top-right-menu { gap: 8px; height: 7.5vh; }
	.top-right-menu .icon-menu-horiz li a{ padding-top: 6px; padding-bottom: 6px; font-size: 8px; }
	.top-right-menu .icon-menu-horiz li a img { width: 16px; height: auto; }
	.loc-title { padding: 5px 8px; }
	.loc-title h3 { font-size: 16px; }
	.loc-title .loc-details { font-size: 8px; gap: 0px; flex-direction: column; }
	.top-right-menu .icon-menu-horiz { gap: 0.5rem; }

	.aqc-tab-values .tab-item .large-num { font-size: 18px; }
	.aqc-tab-values .tab-item .mini-title { font-size: 9px; }
	.aqc-tab-values .tab-item .large-num span { font-size: 18px; }
	.aqc-tab-values, .duration-filter { margin: 5px auto; height: 5.3vh; max-width: 100%; }
	#custom-infobox { padding: 8px; font-size: 12px; }
	.duration-filter-list { gap: 8px; }
	.duration-filter-list li { height: 24px; padding: 5px 10px; }

	footer.main { height: 50px; line-height: 50px; }

	.stations-wrap { height: 15vh; }
	.station-list { padding: 10px 15px; }
	.stationlist-left { font-size: 14px; }
	footer.main ul.social li a.text__link { font-size: 1rem; }
}

.menu-dots { display: none; } 
.menu-collapse { display: none; } 

/* Wind direction chart */

#wind-direction-chart {
	display: flex;
	/* overflow-x: auto; */
	overflow-x: hidden;
	gap: 2px; /* Adjust the space between items */
	padding: 10px; /* Padding inside the container */
	white-space: nowrap;
	background-color: #f8f8f8; /* Light grey background */
	scroll-behavior: smooth; 
	height: 28vh;
  }

  .wind-indicator {
	flex: 0 0 auto; /* Don't grow, don't shrink, base on content */
	width: calc(100% / 7); /* Divide by 7 to show 7 items at a time */
	text-align: center; /* Center the text below the arrow */
	padding: 10px; /* Space around each item */
	box-sizing: border-box; /* Include padding in the width calculation */
	border-right: 1px solid #d1d1d1; /* Thin border above the time */
  }
  
  .wind-indicator:last-child {
	border-right: none; /* No border for the last item */
  }
  .arrow {
	max-width: 100%; /* Ensure the image doesn't overflow */
	height: auto; /* Maintain aspect ratio */
  }

  .direction-label {
	margin-top: 5px; /* Space above the labels */
	font-size: 14px; /* Smaller font size for the labels */
	color: #212429;
	font-weight: 500;
  }
  .degree-label {
	margin-top: 5px; /* Space above the labels */
	font-size: 10px; /* Smaller font size for the labels */
	color: #212429;
  }

  .time-label {
	margin-top: 10px; /* More space above the time label */
	font-size: 10px; /* Even smaller font size for the time */
	color:#1F3349; /* Lighter text color */
	width: 100%; /* Full width */
	padding-top: 5px; /* Space between border and text */
  }
  
  #slider-container {
	margin: 0px 22px;
    height: 38px;
	border-radius: 0px;
	border: none;
	background: transparent;
	box-shadow: none;
}
#slider-container-wrapper {
    height: 38px;
	border-radius: 30px;
	border: 1px solid #D9D9D9;
	background: #F6F7FA;
	margin: 30px 40px;
}

#slider-container .noUi-base {
	
}

#slider-container .noUi-connect {
    /* background: #c0392b; */
}

#slider-container .noUi-handle {
    height: 30px;
    width: 30px;
    top:3px;
    right: -15px; /* half the width */
    border-radius: 15px;
	box-shadow: none;
}
.noUi-handle::after, .noUi-handle::before {
	background: #000000!important;
	left: 13px!important;
	width: 2px!important;
}
.noUi-marker-horizontal.noUi-marker {
	height: 10px!important;
	top: -24px;
}

.noUi-pips-horizontal {
	padding: 0px;
}
.noUi-value {
	font-size: 10px;
	color: #212429;
	font-family: 'Roboto', sans-serif;


}
  /* Additional styling for the scrollbar */
  #wind-direction-chart::-webkit-scrollbar {
	height: 12px; /* Height of the scrollbar */
  }
  
  #wind-direction-chart::-webkit-scrollbar-track {
	background: #f1f1f1; /* Color of the track */
  }
  
  #wind-direction-chart::-webkit-scrollbar-thumb {
	background: #888; /* Color of the scroll thumb */
  }
  
  #wind-direction-chart::-webkit-scrollbar-thumb:hover {
	background: #555; /* Color of the thumb on hover */
  }
  



#wind-direction-arrow {
	display: inline-block;
	transform-origin: 50% 50%; /* Ensure the arrow rotates around its center */
	height: 20px; /* Or the size you desire */
	width: 20px; /* Or the size you desire */
	/* Add additional styling if needed */
  }
#time-scrub {
	width: 100%;
	-webkit-appearance: none;
	appearance: none;
	height: 10px;
	border-radius: 5px;
	background: #ddd;
	outline: none;
	opacity: 0.7;
	-webkit-transition: .2s;
	transition: opacity .2s;
  }
  
  #time-scrub::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	background: #444;
	cursor: pointer;
  }
  
  #time-scrub::-moz-range-thumb {
	width: 25px;
	height: 25px;
	border-radius: 50%;
	background: #444;
	cursor: pointer;
  }
  
  #scrub-time-label {
	text-align: center;
  }
  
  /* search locations */
  .searchicon {
  	-webkit-appearance: none;
		appearance: none;
		width: 16px;
		height: 30px;
		background: transparent url(../img/icn-search.svg) no-repeat center center;
		background-size: 16px 30px;
		border-radius: 0;
		border: none;
		text-indent: -9999px;
		cursor: pointer;
  }
  .filtersicon {
  	-webkit-appearance: none;
		appearance: none;
		width: 60px;
		height: 60px;
		background: transparent url(../img/icn-filters.svg) no-repeat center center;
		background-size: 20px auto;
		border-radius: 0;
		border: none;
		text-indent: -9999px;
		cursor: pointer;
  }
  .filtersicon:active,.filtersicon:hover,.filtersicon:focus {
  	background-color: #2E8CF5;
  	background-image: url(../img/icn-filters-white.svg);
  }
  #searchlocations input[type="text"] {
  	background-color: transparent;
  	border: none;
  	border-radius: 0;
  	width: calc(100% - 76px);
  	height: 30px;
  }
  #searchlocations { border-top: solid 1px #D9D9D9; margin-bottom: 0; position: relative; }
  #searchfilters {
	  position: absolute;
	  width: 200px;
	  right: 0px;
	  background: #FFFFFF;
	  padding: 20px;
	  border: solid 1px #E5E5E5;
	  font-size: 12px;
	  text-transform: uppercase;
	  font-weight: 700;
	}

	#searchfilters label { display: block; margin-bottom: 10px;  }
	#searchfilters #sortLinks { margin-top: 20px; }
	#searchfilters #sortLinks a { font-weight: 400; }
	#searchfilters input[type="radio"] {
	  appearance: none;
	  border: 1px solid #909194;
	  width: 20px;
	  height: 20px;
	  content: none;
	  outline: none;
	  margin: 0;
	  box-shadow: none;
	  border-radius: 3px;
	  vertical-align: middle;
	  margin-right: 5px;
	  position: relative;
	}
	#searchfilters input[type="radio"]:checked {
		background: #2E8CF5;
		border-color: #2E8CF5;
	}

	#searchfilters input[type="radio"]:checked::before{
	  position: absolute;
	  color: #FFFFFF !important;
	  content: "\00A0\2713\00A0" !important;
	  font-weight: bolder;
	  font-size: 16px;
	  top: -3px;
  	left: 0;
	}

	/* mobile view styling */
@media (max-width: 767px) {
	.aqc-map-page-wrapper {
		flex-direction: column;
		height: 100vh;
	}
	.left-container {
		display: block;
		width: 100%;
		float: none;
	}

	.left-container > ul {
		display: flex;
		flex-direction: row;
		justify-content: space-evenly;
		align-items: center;
	}
	.left-container ul li { width: 25%; }
	.left-container ul li a { padding: 7px; font-size: 10px; }
	.left-container ul li a img { display: inline-block; margin-right: 10px; margin-bottom: 0; max-height: 25px; width: auto; }

	.map-container {
		float: none;
		width: 100%;
		display: block;
		max-height: calc(100vh - 55px);
		height: 100%;
		position: relative;
	}
	body.admin-bar.page-template-map-template .map-container,
	.page-template-map-template .map-container { max-height: unset; }

	.right-container {
		float: none;
		width: 97.5%;
		margin: auto;
		max-height: calc(55vh - 28.5px);
		position: absolute;
		bottom: 1%;
		left: 1%;
		border-radius: 6px 6px 26px 26px;
		background: #FFF;
		box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.65); 
		padding: 0 5px 5px 5px;
		overflow-y: scroll;
		transition: all 0.5s ease-in-out;
	}

	.right-container.collapse {
		border-radius: 6px 6px 6px 6px;
	}

	body.admin-bar .right-container { max-height: calc(55vh - 28.5px); bottom: 30px; padding-top: 0; }
	body.admin-bar .map-container { 
		height: calc(100vh - 55px);
		max-height: 100%;
	}
	.header__btm{ display: none; }
	body.page-template-aqc-map-template.admin-bar .page-container {
		height: calc(100vh - 32px);
	}

	body.page-template-aqc-map-template .page-container {
		height: 100vh;
	}

	.footer-container { display: none; }
	.top-right-menu { flex-direction: column; position: relative; height: 55px;
    background: #F6F7FA; margin-left: -15px; padding-left: 15px; margin-right: -15px; }
	.loc-title { width: 100%; padding: 0 10px; margin-top: 10px; }
	.loc-title h3 { font-size: 16px; }
	.top-right-menu .icon-menu-horiz { 
		display: none;
		z-index: 55;
		flex-direction: column;
		gap: unset;
		width: 175px;
    margin-left: auto;
	}
	.top-right-menu .icon-menu-horiz li { text-align: left; align-self: stretch; }
	.top-right-menu .icon-menu-horiz li a {
		border-radius: 0;
		color: #212429;
		background-color: #FFFFFF;
		height: auto;
	}
	.top-right-menu .icon-menu-horiz li a:hover,
	.mainchart-visible .icon-menu-horiz li:first-child a,
	.forecastchart-visible #forecast-chart,
	.weatherchart-visible #weather-chart {
		background-color: #F6F7FA;
		color: #212429;
	}

	.top-right-menu .icon-menu-horiz li a:hover img,
	.top-right-menu .icon-menu-horiz li.active a img,
	.top-right-menu .icon-menu-horiz li a.active img,
	.forecastchart-visible #forecast-chart img,
	.weatherchart-visible #weather-chart img,
	.mainchart-visible .icon-menu-horiz li:first-child a img {
		filter: none;
	}
	.top-right-menu .icon-menu-horiz li a img { margin: 0 10px; }
	.top-right-menu .icon-menu-horiz li a span{
		display: inline-block;
		color: #212429;
	}
	.aqc-tab-values .tab-item .large-num { font-size: 22px; }
	.aqc-tab-values { margin-top: 8px; margin-bottom: 8px; height: auto; }

	.menu-dots { display: block; position: absolute; right: 10px; top: 0; 
		background: url(../img/map/menu.svg) no-repeat center center #F6F7FA;
		width: 50px; height: 55px;
		cursor: pointer; 
	}
	.menu-dots.active { background-color: #2E8CF5; background-image: url(../img/map/menu_white.svg); }


	.menu-collapse { display: block; position: absolute; right: 60px; top: 0; 
		background: url(../img/map/menu-collapse.svg) no-repeat center center #F6F7FA;
		background-size: contain;
		width: 50px; height: 55px;
		cursor: pointer; 
		transition: all 0.3s ease-in-out;
	}
	.right-container.collapse .menu-collapse {
		background-image: url(../img/map/menu-expand.svg);
	}
	.menu-collapse.active { background-color: #2E8CF5; background-image: url(../img/map/menu_white.svg); }

	.top-right-menu .icon-menu-horiz.show { 
		display: flex;
		height: fit-content; 
	}


	#zipcodeModal { padding: 30px 12px 20px 12px; }
	#zipcodeModal .modal-content label { margin-top: 25px; }
	#zipcodeModal .modal-content .zipcode-input { 
		width: 44px; 
		height: 38px; 
		margin-left: 2px; 
		margin-right: 2px;
		font-size: 42px; 
	}
	#zipcodeModal .modal-content p { margin-top: 5px; margin-bottom: 5px; }
	.fancybox-opened .fancybox-skin { padding: 0 !important; }
	#zipcodeModal .modal-content #detectLocationLink { margin-top: 20px; }
	#zipcodeModal .modal-content div { text-align: center; }

	.chart-wrapper { height: 25vh; }
	#custom-infobox { padding: 10px; font-size: 12px; width: 220px; gap: 2px; height: auto; }

	.duration-filter { max-width: 100%; margin: 0px auto 10px auto; }
	.duration-filter-list { gap: 10px; }
	.duration-filter-list li { padding: 9px 12px; font-size: 10px; }
	.filtersicon { width: 45px; height: 45px; }

	.loc-title .loc-details { font-size: 9px; }

	#indicator-popup { z-index: 60; font-size: 14px; }
	.popup-header h2 { font-size: 22px; }
	.indicator-popup-wrap { padding-left: 20px; padding-right: 20px; }
	ul.mapkey-indicators { margin: 15px 0; padding-top: 15px; }

	#forecast-wrapper { margin-bottom: 10px; }
	.forecast-wrap .forecast-day { flex: 1 1 200px; min-height: 200px; }
	.forecast-day .forecast-desc { font-size: 16px; }
	.forecast-day .dayname, .forecast-day .forecast-pm { font-size: 12px; }
	.forecast-day ul li { margin-left: 10px !important; }
	.forecast-day ul li span {
	  width: 5px !important;
	  height: 5px !important;
	  left: -10px !important;
	}

	.wind-indicator { width: calc(100% / 5); }

	#tab-aqi-wrapper, #tab-weather-wrapper { overflow-x: auto; }
	.stations-wrap { height: unset; margin-left: 0; margin-right: 0; }
	.station-list { padding: 13px 18px; display: block; text-align: left; align-items: start;}
	#searchlocations input[type="text"] { width: calc(100% - 61px); }
	.stationlist-right { margin-left: 15px; }
	.stationlist-right, .stationlist-extreme-right { display: inline-block; }

	.noUi-pips-horizontal .noUi-value { visibility: hidden; }
	.hover-container .quality-indicator { height: auto; }

	#wind-direction-chart { overflow-x: auto; }

	#searchfilters { padding: 15px; top: 45px; }
}

div[data-lastpass-icon-root] {
	opacity: 0; 
  }
  div[data-lastpass-infield] { 
	opacity: 0; 
  }

.disclaimer {
	text-align: right;
	margin-right: 20px;
	font-size: 10px;
	font-style: italic;
}

.green-message {
	background-color: rgba(107,189,70,0.9);/*#6BBD46;*/
	color: #FFFFFF;
	padding: 5px 25px;
	display: flex;
	font-weight: 600;
  font-size: 18px;

}
.page-template-aqc-map-template .green-message {
	position: absolute;
  top: 112px;
  left: 0;
  width: 100%;
  z-index: 5;
  transition: all 0.3s ease-in-out;
}

body.admin-bar.page-template-aqc-map-template .green-message {
		top: 144px;
}

@media (min-width: 1080px) {
	.page-template-aqc-map-template .green-message {
		top: 133px;
	}
	body.admin-bar.page-template-aqc-map-template .green-message {
		top: 165px;
	}
}

.green-message .message-text {
	width: 70%;
	display: flex;
	align-items: center;
}

.green-message .message-button {
	width: 30%;
	display: flex;
  justify-content: end;
  
}

.green-message .message-button a { 
	color: #FFFFFF; 
	border: solid 2px #FFFFFF; 
	border-radius: 30px;
	padding: 5.6px 30px;
	text-decoration: none;
	/*margin-top: 10px;
	margin-bottom: 10px;*/
	transition: all 0.3s ease-in-out;
}
.green-message .message-button a:not(.just-arrow):hover {
  background: rgba(255,255,255,0.25);
}
.green-message .message-button a:after {
	content: '';
	width: 30px;
	height: 20px;
	background: url(../img/icn-right-arrow.svg) no-repeat center center;
	background-size: contain;
	vertical-align: bottom;
	display: inline-block;
	margin-left: 5px;
}
.green-message .message-button a.just-arrow {
	border: none;
	border-radius: 0;
	padding: 0;
	text-indent: -9999px;
	background: url(../img/icn-right-arrow.svg) no-repeat center right;
	background-size: 25px;
	width: 40px;
	height: 41.8px;
}

ul.resources-list { padding: 0; }
ul.resources-list > li::before {
  content: '';
  display: inline-block;
  background-size: contain;
  background-image: url('../img/greybar.png');
  padding: 15px;
  vertical-align: middle;
}

ul.resources-list > li {
  list-style: none;
  line-height: 2;
  margin-bottom: 10px;
}

.wp-block-cover-image::after, .wp-block-cover::after {
  content: "";
  display: block;
  font-size: 0;
  min-height: inherit;
}

.wp-block-cover, .wp-block-cover-image {
  align-items: center;
  background-position: 50%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  min-height: 430px;
  overflow: hidden;
  overflow: clip;
  padding: 1em;
  position: relative;
  margin-left: -25px;
  margin-right: -25px;
  margin-bottom: 25px;
}

.wp-block-cover .has-background-dim:not([class*="-background-color"]), .wp-block-cover-image .has-background-dim:not([class*="-background-color"]), .wp-block-cover-image.has-background-dim:not([class*="-background-color"]), .wp-block-cover.has-background-dim:not([class*="-background-color"]) {
  background-color: #000;
}

.wp-block-cover .wp-block-cover__background, .wp-block-cover .wp-block-cover__gradient-background, .wp-block-cover-image .wp-block-cover__background, .wp-block-cover-image .wp-block-cover__gradient-background, .wp-block-cover-image.has-background-dim:not(.has-background-gradient)::before, .wp-block-cover.has-background-dim:not(.has-background-gradient)::before {
  bottom: 0;
  left: 0;
  opacity: .5;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}

.wp-block-cover .wp-block-cover__image-background, .wp-block-cover video.wp-block-cover__video-background, .wp-block-cover-image .wp-block-cover__image-background, .wp-block-cover-image video.wp-block-cover__video-background {
  border: none;
  bottom: 0;
  box-shadow: none;
  height: 100%;
  left: 0;
  margin: 0;
  max-height: none;
  max-width: none;
  object-fit: cover;
  outline: none;
  padding: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}

.wp-block-cover .wp-block-cover__inner-container, .wp-block-cover-image .wp-block-cover__inner-container {
  color: inherit;
  width: 100%;
  z-index: 1;
}

#closebanner { 
	text-indent: -9999px;
	display: inline-block;
	/*width: 14px;
	height: 14px;*/
	/*background: url(../img/map/close-white.svg) no-repeat center center !important;
	margin-left: 20px;*/
 /* position: absolute;
  top: 4px;
  right: 4px;
  cursor: pointer;*/




  position: absolute;
  top: -18px;
  right: 4px;
/*  right: -18px;*/
  width: 36px;
  height: 36px;
  cursor: pointer;
  z-index: 100040;
  background-image: url(../img/fancybox_sprite.png);

}

@media (max-width: 767px) {
	.green-message {
		padding: 5px 20px;
		font-size: 16px;
		align-items: center;
	}
	.green-message .message-text { width: 65%; }
	.green-message .message-button { width: 35%;}
	.green-message .message-button a { padding-left: 10px; padding-right: 10px; height: fit-content; }
	.green-message .message-button a::after { width: 15px; height: 22px; }



	.page-template-aqc-map-template .green-message {
		top: 39px;
	}
	body.admin-bar.page-template-aqc-map-template .green-message {
		top: 85px;
	}

	#searchlocations { display: flex; align-items: center; }

	.right-container.collapse .right-container-inner-wrapper { display: none; }
	
}
.gm-style-iw .gm-ui-hover-effect {
	display: none!important;
}
