body {
    overflow-y: hidden;
    font-family: sans-serif !important;
    background-color: #212529;
}

a.modebar-btn {
    font-size: 2rem !important;
    margin: 1rem .2rem;
}

.modal {
    --bs-modal-width: 800px !important;
}

.modal-body>.dash-graph>.js-plotly-plot>.plot-container>.svg-container>.modebar-container>.modebar>.modebar-group>a.modebar-btn {
    font-size: 1.2rem !important;
    margin: .25rem .2rem;
}

.modal-body>.dash-graph>.js-plotly-plot>.plot-container>.svg-container>.modebar-container>.modebar {
    top: 0;
    margin-top: 0;
    padding-top: 0;
}

.tab-container {
    background-color: var(--principal_blue) !important;
    height: 65px;
    padding-bottom: 20px;
}

.tab-content {
    background-color: #F0F1F2;
    height: -moz-fit-content;
    height: 96.3vh !important;
    position: relative;
    bottom: 0;
    box-shadow: inset 5px 0px 5px lightgrey;
}

:hover.tab.horizontal-menu>span, .tab.horizontal-menu.tab--selected>span {
    color: var(--lime) !important;
    border-bottom: 4px solid var(--lime) !important;
    padding-bottom: 1rem;
}

#fullscreen-tab {
	position: fixed;
    top: 12px;
    right: -40px;
    background-image: url('./images/icons/Icon_Fullscreen.svg');
    background-repeat: no-repeat;
    background-position: 50%;
    height: 40px;
}

#fullscreen-tab:hover {
    background-image: url('./images/icons/Icon_Fullscreen_Lime.svg');
}

#fullscreen-tab.small {
    top: 17px;
    height: 30px;
}

.horizontal-menu {
    background-color: var(--principal_blue) !important;
    font-weight: bold;
    border: none !important;
    color: white !important;
    padding-bottom: 0 !important;
    width: 136px !important;
    font-size: 20px;
}

#forecast-graph {
    height: 100%;
    bottom: 0;
}

.description-title>p {
    height: 35px;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 35px;
    margin: 1rem;
}

.description-body>p {
    opacity: 0.8;
    color: var(--principal_blue);
    font-size: 14px;
    letter-spacing: 0;
    line-height: 22px;
    margin: .5rem 1rem;
}

.btn-link {
    color: var(--principal_blue);
}

.timesliderline #date {
    color: white !important;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0.7rem 0rem 0.5rem 1.1rem;
    background-color: var(--principal_blue) !important;
    border-color: white;
    border-style: solid;
    border-width: 1px 0px 1px 1px;
    cursor: pointer;
    height: 55px;
    border-radius: 5px 0px 0px 5px !important;
}

.timesliderline #date:hover {
    color: var(--lime) !important;
}

.DateInput {
    vertical-align: baseline;
    background: transparent !important;
}

.DateInput_fangStroke, .DateInput_fangShape {
    display: none !important;
}

.DateInput_input {
    padding: 0;
    margin: 0;
    line-height: initial;
}

.DateInput_input__focused {
    font-size: 0.98rem;
}

input.DateInput_input {
    margin-right: 0;
    padding-right: 0;
}

.DateInput_input:after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0;
    border-right: 0.3em solid transparent;
    border-bottom: 0.3em solid;
    border-left: 0.3em solid transparent;
}

.SingleDatePicker_picker {
    position: absolute;
    bottom: 60px;
}

.DayPicker {
    position: absolute;
    bottom: 0px;
}

div.SingleDatePickerInput {
    border: none;
    background-color: transparent !important;
}

.SingleDatePicker_picker {
    top: -300px !important;
    z-index: 10001;
}

.SingleDatePicker_picker__portal {
    z-index: 10001;
}

.SingleDatePickerInput_clearDate {
    width: 34px;
    height: 34px;
    outline: none !important;
    margin-top: 1px;
    margin-right: 5px;
}

.SingleDatePickerInput_clearDate_svg {
    visibility: hidden;
    fill: white;
    height: 15px;
    width: 15px;
    vertical-align: inherit;
    margin: auto;
}

.centered-image .layout-dropdown {
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    bottom: 18px !important;
}

.timesliderline>button {
    border-radius: 50%;
    border: none !important;
    outline: none !important;
    color: var(--principal_blue);
    background-color: white;
    display: inline-flex;
    padding: 9px 10px;
    margin-right: 0.5rem;
}

.timesliderline>button:hover {
    background-color: var(--lime) !important;
}

.timesliderline>button:focus {
    background-color: white !important;
}

#clear-button>button {
    height: 28px;
    width: 28px;
    margin-top: 13px;
}

.anim-buttons>button {
    width: 34px;
    height: 34px;
    margin-top: 10px;
}

#utc {
    position: relative;
    right: 32px;
    margin-right: -25px;
    top: 18.5px;
    font-size: 12px;
    color: white;
}

.text-center {
    display: inline-block;
    text-align: center;
}

.anim-buttons, #clear-button {
    padding: 0;
    border-right: none !important;
}

#clear-button {
    padding-left: 0.3rem !important;
}

.card-body>label {
    padding-bottom: 10px;
}

.linetool {
    display: table-cell;
    padding: 1rem 0.5rem;
}

.linetool>label {
    font-size: Small;
    opacity: 0.8;
    color: var(--principal_blue);
    margin-bottom: 0;
}

.linetool .Select-control {
    border-radius: 0; 
    border: none; 
}

.Select-menu-outer {
   z-index: 10000 !important;
}

.linetool .dropdown>button {
    width: 9.5rem;
    text-align: left;
    border-radius: 0;
    border: none;
    color: #aaa;
    background-color: white;
}

.linetool .dropdown .show {
    padding-right: 1rem;
    padding-left: 1rem;
}

.statistics-inputs .dropdown-menu.show {
    padding-right: 0.4rem !important;
}

.linetool .DateInput {
    height: 36px;
    line-height: 36px !important;
}

.linetool .DateInput_input {
    line-height: 36px !important;
    border-bottom: none;
    padding-left: .5rem;
}

.linetool .DateRangePickerInput__withBorder {
    border: none;
    border-radius: 0;
}

.linetool .DateRangePickerInput_arrow {
    display: none;
}

.linetool .DateRangePicker_picker {
    z-index: 1000;
}

.CalendarDay__hovered_span, .CalendarDay__hovered_span:hover, .linetool .CalendarDay__selected_span {
    background: #D8A443;
    border: 1px double #D8A443;
    color: var(--principal_blue);
}

.CalendarDay__selected, .CalendarDay__selected:active, .CalendarDay__selected:hover {
    background: var(--lime);
    border: 1px double var(--lime);
    color: var(--principal_blue);
}

.navbar-timebar {
    height: 20px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    background-color: var(--principal_blue) !important;
    padding: 0 !important;
}

.centered-image>.layout-dropdown>#rgb-navbar>.container-fluid>.collapse>.navbar-nav {
    justify-content: center;
}

.navbar {
    background-color: transparent !important;
}

.navbar-nav {
    margin: 0px;
    width: -webkit-fill-available;
    width: -moz-available;
}

.navbar>.container-fluid {
    padding: 0px !important;
}

.navbar-toggler {
    height: 5vh;
    border-radius: 0px !important;
    border-bottom: none !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

#date-container {
    z-index: 1000;
    position: absolute;
    bottom: 55px;
    left: 235px;
    height: 35px;
    background-color: var(--lime);
    border-radius: 5px 5px 0px 0px;
    opacity: 1;
}

#date-0, #date-1 {
    z-index: 1100;
    position: absolute;
    height: 27px;
    bottom: 55px;
    left: 235px;
    font-size: 14px;
    font-weight: bold;
    color: var(--principal_blue);
    text-align: center;
    display: none;
}

.forecast-issued-label>p {
    /* to adapt for sidebar width; */
    left: 295px;
    z-index: 1000;
    position: fixed;
    bottom: 55px;
    font-size: 10px;
    color: var(--principal_blue);
}

.fixed-bottom {
    /* to adapt for sidebar width; */
    left: 300px;
    width: fit-content;
}

.timeslider {
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
}

#pollutants-timeslider {
    width: 40vw;
    min-width: 520px;
}

.timesliderline {
    background-color: transparent !important;
    border-right: 1px solid var(--dark_grey);
}

.slider-graph {
    background-color: var(--principal_blue);
    height: 55px;
}

#pollutants-slider-graph, #aqi-slider-graph {
    border-radius: 0px 5px 5px 0px !important;
    border-color: white;
    border-style: solid;
    border-width: 1px 1px 1px 0px;
}

#pollutants-slider-container {
    width: 100%;
}

#pollutants-slider-graph {
    padding: 10px 20px 15px 15px !important;
    width: auto;
}

#aqi-slider-graph {
    padding: 10px 40px 15px 20px !important;
    width: 200px;
}

.anim-buttons, #clear-button {
    background-color: var(--principal_blue) !important;
    height: 55px;
    width: 50px;
    border-color: white;
    border-style: solid;
    border-width: 1px 0px 1px 0px;
}

.fa-play:hover, .fa-circle:hover {
    background-color: var(--lime) !important;
}

.fa-play, .fa-circle { 
    transform: scale(0.8, 0.8); 
}

.fa-grip-lines-vertical {
    font-size: 20px !important;
    padding-left: 12px !important;
}

/* Position the parent of the timeslider */
.layout-dropdown {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    position: relative;
    bottom: 30px !important;
    left: -10px;
}

.layout-dropdown .dropdown, .layout-dropdown .timeslider {
    z-index: 1002 !important;
}

.layout-dropdown #map-view-dropdown, .layout-dropdown #layers-dropdown {
    height: 55px;
    width: 55px;
    margin-left: 5px;
    border: 1px solid white;
    border-radius: 5px;
}

#map-view-dropdown.dropup.dropdown.show, #layers-dropdown.dropup.dropdown.show {
    z-index: 1003 !important;
}

#layers-checklist {
    padding: 2px;
}

#layers-checklist .form-check {
    padding-left: 5px;
}

.form-check-label {
    font-size: 16px;
}

.form-check-input:checked {
    background-color: var(--principal_blue);
    border-color: var(--principal_blue);
}

.form-check-input:focus {
    box-shadow: none;
}

.dropup .dropdown-menu[data-bs-popper] {
    left: -107px;
}

.dropup .dropdown-toggle::after {
    display: none;
}

.layout-dropdown #map-layers-dropdown {
    bottom: 0;
    width: 127px;
}

.btn-primary {
    box-shadow: none !important;
    border: 0 !important;
}

.layout-dropdown #map-view-dropdown>button, .layout-dropdown #layers-dropdown>button {
    background-color: var(--principal_blue) !important;
    background-repeat: no-repeat;
    background-position: 50%;
    text-align: right;
}

.layout-dropdown #map-view-dropdown>button {
    background-image: url('./images/icons/Icon_Map.png');
    width: 100%;
    height: 100%;
}

.layout-dropdown #layers-dropdown>button {
    width: 100%;
    height: 100%;
}

.layout-dropdown #layers-dropdown>button {
    background-image: url('./images/icons/Icon_Layers.svg');
}

.layout-dropdown #layers-dropdown>button:hover {
    background-image: url('./images/icons/Icon_Layers_Lime.svg');
}

div.dropdown-menu.show {
    position: absolute;
    z-index: 10000;
}

.layout-dropdown .dropdown-menu {
    padding: 0;
    margin-top: 0;
}

.layout-dropdown .dropdown-item {
    font-size: 16px;
    color: var(--principal_blue);
    background-color: white;
    padding: 0.3rem 0.3rem 0.3rem 0.6rem;
}

.dropdown-item:focus, .dropdown-item:hover {
    background-color: rgba(0, 126, 255, 0.1);
    color: var(--principal_blue);
}

#graph-collection {
    height: 93vh !important;
    padding: 0 !important;
}

.info {
    padding: 0.75rem !important;
    max-width: 79%;
    font-size: 16px !important;
    background: none !important;
    box-shadow: none !important;
    line-height: 1.8 !important;
    left: 0 !important;
    top: 0 !important;
}

.info>p {
    white-space: nowrap;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
}

.popup-map-point {
    z-index: 1001;
}

.leaflet-container .leaflet-popup-content-wrapper {
    font: 12px "Roboto", sans-serif !important;
    border-radius: 5px !important;
    display: inline-flex !important;
}

.pollutants-graph .leaflet-popup-content {
    margin: 0.5rem 0.2rem 0.5rem 0.5rem !important;
    line-height: 0.6 !important;
    width: 14.5rem !important;
}

.aqi-graph .leaflet-popup-content {
    margin: 0.8rem 0.5rem 0.8rem 0.5rem !important;
    width: 10.5rem !important;
}

.leaflet-container .leaflet-popup-content {
    display: block;
}

.leaflet-container .leaflet-popup-content .popup-map-value {
    width: 3.2rem;
    color: white;
    border-radius: 50%;
}

.leaflet-container .leaflet-popup-content .popup-map-value p {
    font: 13px "Roboto", sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    display: block;
}

.leaflet-container .leaflet-popup-content-wrapper .popup-map-body {
    float: left;
    padding-left: 0.5rem !important;
    padding-right: 0.2rem !important;
    margin-right: 0 !important;
    line-height: 0.4;
}

.pollutants-graph .leaflet-container .leaflet-popup-content .popup-map-value {
    float: left;
    height: 3.2rem;
}

.aqi-graph .leaflet-container .leaflet-popup-content .popup-map-value {
    height: 2.2rem;
    padding-left: 6px;
}

.popup-ts-button {
    background-color: var(--principal_blue);
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    border: none;
    padding: 0.25rem 0.6rem;
    border-radius: 5px;
    margin-top: 10px;
    height: 30px;
}

/* .leaflet-container a.leaflet-popup-close-button {
    background-color: var(--principal_blue) !important;
    color: white !important;
    padding: 0 ! important;
    margin: 0 ! important;
    border-radius: 50% !important;
    top: -7px !important;
    right: -9px !important;
    height: 20px !important;
    width: 20px !important;
    font: 22px "Roboto", sans-serif !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    line-height: 20px !important;
}

.leaflet-container a.leaflet-popup-close-button:hover {
    color: var(--lime) !important; 
} */

.leaflet-control-attribution {
    display: none;
}

.leaflet-popup-pane {
    z-index: 10001 !important;
}

.leaflet-control-colorbar {
    font-size: 1em !important;
}

.aqi-graph .leaflet-control-colorbar.leaflet-control {
    position: fixed;
    right: 0px;
    z-index: 1000;
}

.pollutants-graph .leaflet-control-colorbar.leaflet-control {
    position: fixed;
    bottom: 120px;
    right: 0px;
    background-color: var(--principal_blue);
    color: white;
    padding: 5px;
    border: 1px solid white !important;
    font-size: 10px !important;
    border-radius: 5px;
    padding-bottom: 25px;
}

.pollutants-graph .leaflet-control-colorbar.leaflet-control > div:first-child {
    background-color: #f5f8f4;
}

.pollutants-graph .leaflet-control-colorbar.leaflet-control > div:first-child > span {
    position: relative;
    z-index: 1000;
}

/* .leaflet-control-colorbar div:nth-child(2) span { */
/*     transform: rotate(20deg) !important; */
/* } */
/**/

.leaflet-control-zoom-fullscreen {
    display: none !important;
}

.eval-statistics-nav {
    display: flex;
    flex-flow: wrap;
    max-width: 94%;
    padding: 0.8rem 0 0 0.8rem;
}

.statistics-inputs {
    display: inline-flex;
    flex-flow: wrap;
}

.statistics-inputs .linetool {
    display: block !important; 
    float: none !important;
    padding: 0 !important;
    margin: 0.2rem;
}

.statistics-ctas {
    display: inline-flex;
    padding-top: 1.5rem;
}

.statistics-ctas .linetool { 
    display: block !important; 
    float: none !important;
    padding: 0 !important;
    margin: 0.2rem;
}

/* @media screen and (max-width: 1250px) { */
/*     .layout-dropdown #map-view-dropdown { */
/*         left: 24px; */
/*         bottom: 120%; */
/*         height: 80%; */
/*     } */
/**/
/*     .layout-dropdown #map-layers-dropdown { */
/*         left: 156px; */
/*         bottom: 120%; */
/*         height: 80%; */
/*     } */

/* } */

@media screen and (max-width: 870px) {
    
    .tab.jsx-2137964197 {
        display: block !important;
        display: inline-block !important;
    }

    #forecast-tab, #evaluation-tab,  #observations-tab{
        display: block !important;
        display: inline-block !important;
    }

    .tab-container.jsx-4017309047 {
        display: flex !important;
        flex-flow: row !important;
    }
    
}

.rc-slider {
    height: 12px;
}

.rc-slider-mark-text.rc-slider-mark-text-active {
	color: var(--lime);
}

.rc-slider-handle {
	background-color:var(--lime) !important;
	border: none;
}

.rc-slider-rail {
    background-color: #3C3F5B;
}

.rc-slider-track {
    background-color: white;
}

.rc-slider-dot {
    display: none;
}

#pollutants-slider-graph .rc-slider {
    padding: 5px 0px;
}

#pollutants-slider-graph .rc-slider-mark-text {
    font-size: 12px;
} 

#aqi-slider-graph .rc-slider {
    padding: 8px 0px;
}

#aqi-slider-graph .rc-slider-mark-text {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
}

.pollutants-graph .leaflet-interactive, .aqi-graph .leaflet-interactive {
    cursor: pointer !important;
}

.pollutants-graph .leaflet-interactive:active, .leaflet-interactive .leaflet-interactive:active {
    cursor: grabbing !important;
}

.leaflet-interactive {
    cursor: crosshair !important;
}

#open-timeseries>div {
    width: calc(100vw - 280px) !important;
}

/*styles for 404 page*/
.background {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url(./images/img-bg-404.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.error_links {
	color: var(--lime);
	text-decoration: underline;
	font-size: 1.3rem;
}

#error_title {
	font-size: 5rem;
}

#error_div {
	text-align:center;
	color: white;
	font-size: 1.1rem;
}

.table_caret_down {
    display: flex;
}

.table_caret_down:after {
    content: "\f107";
    font-weight: 900;
    font-size: 1.3rem;
}

.table_caret_up {
    display: flex;
}

.table_caret_up:after {
    content: "\f106";
    font-weight: 900;
    font-size: 1.3rem;
}

td.column-0 {
    max-width: 100%;
    min-width: 10%;
}

.toast-body {
    padding: .25rem .75rem;
}

#toast {
    left: 340px;
    bottom: 72px;
    z-index: 10000;
    position: absolute;
}

.fa-caret-down {
    color: white;
    position: absolute;
    top: 59px;
    left: 15px;
    font-size: xxx-large;
}

#domain-tooltip-target {
    position: fixed;
    top: 15px;
    right: 345px;
    background-image: url('./images/icons/Icon_Info_Lime.svg');
    background-repeat: no-repeat;
    background-position: 50%;
    background-color: var(--principal_blue);
    height: 20px;
    width: 20px;
    z-index: 1;
}

#urban-domain-tooltip-target {
    background-image: url('./images/icons/Icon_Info_Blue.svg');
    background-repeat: no-repeat;
    background-position: 50%;
    background-color: white;
    height: 20px;
    width: 20px;
}

#domain-dropdown {
    position: fixed;
    top: 15px;
    right: 80px;
    width: 260px;
    z-index: 1;
}

#domain-dropdown .Select-control {
    background-color: var(--principal_blue);
}

#domain-dropdown .Select-value-label {
    color: white !important;
}

#domain-dropdown .Select-arrow-zone, #domain-dropdown .Select-clear {
    color: white !important;
}

#domain-dropdown .Select-arrow-zone:hover, #domain-dropdown .Select-clear:hover {
    color: var(--lime) !important;
}

.modal-content {
    padding: 20px;
}

.timeseries-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.timeseries-logo {
    height: 35px;
}

.timeseries-text {
    font-size: 14px;
    flex-grow: 2;
}

.timeseries-text>p {
    margin: 0;
}

.download-ts-button {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-content: space-around;
    background-color: var(--principal_blue);
    background-image: url("./images/icons/Icon_Download.svg");
    background-repeat: no-repeat;
    background-position: 8% 50%;
    border-radius: 5px;
    font-size: 14px;
    width: fit-content;
    white-space: nowrap;
    padding-left: 35px;
    height: 37.6px;
}

#pollutants-modal-body>.download-ts-button {
    left: 350px;
}

.download-ts-button:hover, .download-ts-button:focus {
    background-color: var(--principal_blue) !important;
    color: var(--lime);
    background-image: url("./images/icons/Icon_Download_Lime.svg");
}

#btn-login, #btn-signup {
    position: absolute;
    font-size: 16px;
    top: 15px;
    width: 105.014px;
    flex-shrink: 0;
    background-color: transparent;
}

#btn-login {
    right: 450px;
}

#btn-signup {
    right: 350px;
    border: 1px solid white !important;
    border-radius: 23.824px;
}

#login-section {
    line-height: 2;
}

#login-modal {
    width: 720px;
}

#signup-modal {
    width: 800px;
}

#signup-section {
    display: grid;
    grid-template-columns: 20% 80%;
    height: 500px;
}

#login-form-welcome, #signup-form-join {
    color: var(--principal_blue);
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    margin: 10px;
}

#login-form-email, #login-form-password, 
#signup-form-name, #signup-form-surname, 
#signup-form-email, #signup-form-password,
#signup-form-institution, #signup-form-position, #signup-form-interest {
    border: 1px solid var(--principal_blue);
    border-radius: 23.824px;
    padding: 15px;
    height: 40px;
    margin: 5px;
}

#login-form-email, #login-form-password {
    width: 464px;
}

#login-form-button, #signup-form-button {
    width: 263px;
    height: 47px;
    background-color: var(--principal_blue);
    border-radius: 23.824px;
    margin: 5px;
}

#login-form-register, #signup-form-login {
    color: var(--green);
}

#signup-form-email, #signup-form-password, #signup-form-interest {
    width: 510px;
}

#signup-form-name, #signup-form-surname, #signup-form-institution, #signup-form-position {
    width: 250px;
}

#signup-barcelona {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    height: 500px;
}

.modal-body {
    padding: 10px !important;
}

#signup-form-check>label>input, #login-form-check>label>input {
    margin-right: 5px;
}

.leaflet-top {
    bottom: 0;
}
    
.leaflet-top .leaflet-control-zoom {
    position: fixed;
    bottom: 12px;
    right: 0px;
}

.leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar {
    border: 1px solid white !important;
}

.leaflet-top .leaflet-control-zoom-in, .leaflet-top .leaflet-control-zoom-out{
    background-color: var(--principal_blue);
    color: white;
    height: 50px !important;
    width: 50px !important;
    font-size: 30px !important;
    font-weight: 50;
    padding-top: 8px;
}

.leaflet-touch .leaflet-bar a:first-child {
    border-radius: 5px 5px 0px 0px !important;
}

.leaflet-touch .leaflet-bar a:nth-child(2) {
    border-radius: 0px 0px 5px 5px !important;
}

.leaflet-top .leaflet-control-zoom-in:hover, .leaflet-top .leaflet-control-zoom-out:hover {
    background-color: var(--secondary_blue) !important;
    color: var(--lime);
}

.leaflet-bar a.leaflet-disabled:hover {
    background-color: white !important;
    color: #bbb !important;
}

.aqi-colorbar {
    background-color: white;
    padding: 10px;
}

.aqi-colorbar > div:first-of-type span { 
    width: 1.6px !important;
    display: inline-block;
}

.aqi-colorbar > div:nth-child(2) {
    height: 0px !important;
}

.aqi-colorbar > div:nth-child(2) span {
    position: absolute;
    transform: none !important;
    width: 40px;
    font-weight: 500;
    top: 12px;
}

.aqi-colorbar > div:nth-child(2) {
    margin-top: -7px !important;
}

/* Good */
.aqi-colorbar > div:nth-child(2) > span:nth-child(2) {
    left: 30px;
}

/* Fair */
.aqi-colorbar > div:nth-child(2) > span:nth-child(3) {
    left: 150px;
}

/* Moderate */
.aqi-colorbar > div:nth-child(2) > span:nth-child(4) {
    left: 275px;
    /* color: white; */
}

/* Poor */
.aqi-colorbar > div:nth-child(2) > span:nth-child(5) {
    left: 390px;
    /* color: white; */
}

/* Very poor */
.aqi-colorbar > div:nth-child(2) > span:nth-child(6) {
    left: 500px;
    width: 100px !important;
    /* color: white; */
}

/* Extremely poor */
.aqi-colorbar > div:nth-child(2) > span:nth-child(7) {
    left: 592px;
    width: 150px !important;
    /* color: white; */
}

#threshold-grid {
    position: absolute;
    top: 90px;
    left: 55px;
    z-index: 1200;
    display: grid;
    grid-template-columns: auto auto auto auto auto auto;
    gap: 10px;
}

.limit-value-line {
    width: 50px;
    opacity: 1;
    border-width: 2px;
}

#limit-value-line-0 {
    border-color: #86CCB0;
}

#limit-value-line-1 {
    border-color: #A0BEEF;
}

#limit-value-line-2 {
    border-color: #FDBA74;
}

.limit-value {
    margin-top: 7px;
    margin-right: 20px;
    padding-left: 5px;
    font-size: 13px;
}

#human-health-note{
    margin-left: 30px;
    font-size: 13px;
    margin-bottom: 30px !important;
}

#daily-average-dropdown, #daily-max-dropdown {
    position: relative;
    top: 0;
    background-color: var(--principal_blue);
    width: 7vw;
    min-width: 100px;
    height: 55px;
    color: white;
    padding-top: 24px;
    margin-left: 5px;
    border: 1px solid white;
    border-radius: 5px;
    z-index: 1000;
}

#daily-average-dropdown .Select-arrow-zone, #daily-max-dropdown .Select-arrow-zone {
    vertical-align: auto;
}

#daily-average-dropdown .Select-control, #daily-max-dropdown .Select-control {
    background-color: transparent;
    border: none;
    top: -4px;
}

.is-focused:not(.is-open)>.Select-control {
    box-shadow: none !important;
    border-color: none !important;
}

#daily-average-dropdown .Select-value, #daily-max-dropdown .Select-value {
    cursor: pointer;
}

#daily-average-dropdown .Select-value-label, #daily-average-dropdown .Select-arrow,
#daily-average-dropdown .Select-placeholder, #daily-max-dropdown .Select-value-label, 
#daily-max-dropdown .Select-arrow, #daily-max-dropdown .Select-placeholder {
    font-size: 15px;
    cursor: pointer;
}

#daily-average-dropdown .Select-value-label, #daily-average-dropdown .Select-arrow,
#daily-max-dropdown .Select-value-label, #daily-max-dropdown .Select-arrow {
    color: white;
}

#daily-average-dropdown .Select-placeholder, #daily-max-dropdown .Select-placeholder {
    color: #999;
}

#daily-average-dropdown .Select-value-label:hover, #daily-average-dropdown .Select-arrow:hover,
#daily-max-dropdown .Select-value-label:hover, #daily-max-dropdown .Select-arrow:hover {
    color: var(--lime);
}

#daily-average-dropdown .Select-clear, #daily-max-dropdown .Select-clear {
    display: none;
}

#daily-average-dropdown .Select-menu-outer, #daily-max-dropdown .Select-menu-outer {
    color: var(--principal_blue);
    -webkit-transform: translateY(-60px) translateY(-100%);
    transform: translateY(-60px) translateY(-100%);
    border-radius: 0;
    width: 7vw;
    min-width: 100px;
}

.daily-average-label, .daily-max-label {
    z-index: 1100;
    position: absolute;
    width: fit-content;
    bottom: 30px;
    margin-left: 9px;
    font-size: 14px;
    font-weight: 600;
    color: white;
}

#daily-average-label-text, #daily-max-label-text {
    float: right;
}

#daily-average-abbr-label-text, #daily-max-abbr-label-text {
    display: none;
}

.Select-input input {
    color: white !important;
}

#return-button-div {
    height: 55px;
    width: 55px;
    text-align: center;
    margin-left: 5px;
    z-index: 1000;
    right: 10px;
    top: 70px;
}

.hidden-vis {
    visibility: hidden;
}

#return-button-div:has(.hidden-vis) {
    width: 0px;
    margin-left: 0px;
}

#return-tooltip-target {
    background-repeat: no-repeat;
    background-position: 50%;
    height: 55px;
    width: 55px;
    border: 1px solid white;
    border-radius: 5px;
    background-color: var(--principal_blue);
    background-image: url('./images/icons/Icon_Refresh.svg');
}

#return-tooltip-target:hover {
    background-image: url('./images/icons/Icon_Refresh_Lime.svg');
}

#hide-slider, #hide-daily-max, #hide-daily-average, #hide-return-button {
    position: absolute;
    background-color: white;
    opacity: 0.3;
    z-index: 1200;
    height: 55px;
    display: none;
}

#hide-slider {
    width: 40vw;
    min-width: 520px;
    left: 0;
    border-radius: 5px;
    border: 1px solid white;
}

#hide-daily-max, #hide-daily-average {
    width: 7vw;
    min-width: 100px;
    top: 0;
    border-radius: 5px;
    border: 1px solid white;
    margin-left: 5px;
}

.tooltip-inner {
    background-color: var(--lime);
    color: var(--principal_blue);
}

.tooltip-arrow::before {
    border-top-color: var(--lime) !important;
    border-bottom-color: var(--lime) !important;
}

.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: var(--lime) !important;
    border-top-color: transparent !important;
    border-bottom-color: transparent !important;
}

#aqi-tooltip-target {
    position: fixed;
    right: 740px;
    background-image: url('./images/icons/Icon_Info_Blue_L.svg');
    background-repeat: no-repeat;
    background-position: 50%;
    background-color: transparent;
    height: 50px;
    width: 50px;
}

#average-date-tooltip-target, #max-date-tooltip-target {
    position: relative;
    background-image: url('./images/icons/Icon_Info_Lime.svg');
    background-repeat: no-repeat;
    background-position: 50%;
    background-color: transparent;
}

#colorbar-units {
    position: fixed;
    bottom: 120px;
    right: 17px;
    font-size: 14px;
    color: white;
    z-index: 1000;
}

.edit-button {
    background-image: url('./images/icons/Icon_Calendar_Edit.svg');
    background-repeat: no-repeat;
    background-position: 50%;
}

#layers-count {
    background-color: var(--lime);
    color: var(--principal_blue);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    text-align: center;
    font-size: 12px;
    position: relative;
    right: 8px;
    bottom: 8px;
}

.modal-lg, .modal-xl {
    --bs-modal-width: 950px;
}

/* Decrease sizes in layout when resolution is too high */
@media (min-resolution: 120dpi) {
    .jsx-3468109796 {
        font-size: 17px;
    }

    :hover.tab.horizontal-menu>span, .tab.horizontal-menu.tab--selected>span {
        padding-bottom: 1.25rem;
    }

    .info {
        font-size: 13px !important;
    }
    
    .fixed-bottom {
        /* to adapt for sidebar width; */
        left: 250px;
    }

    .forecast-issued-label>p {
        /* to adapt for sidebar width; */
        left: 245px;
    }

    .sidebar-bottom .card-text>.download-section {
        font-size: 12px !important
    }

    .aqi-colorbar {
        font-size: 10px !important;
    }

    .aqi-colorbar > div:first-of-type span { 
        width: 1.3px !important;
    }

    .aqi-colorbar > div:nth-child(2) > span {
        top: 14px;
    }

    /* Good */
    .aqi-colorbar > div:nth-child(2) > span:nth-child(2) {
        left: 20px;
    }

    /* Fair */
    .aqi-colorbar > div:nth-child(2) > span:nth-child(3) {
        left: 115px;
    }

    /* Moderate */
    .aqi-colorbar > div:nth-child(2) > span:nth-child(4) {
        left: 215px;
    }

    /* Poor */
    .aqi-colorbar > div:nth-child(2) > span:nth-child(5) {
        left: 310px;
    }

    /* Very poor */
    .aqi-colorbar > div:nth-child(2) > span:nth-child(6) {
        left: 395px;
    }

    /* Extremely poor */
    .aqi-colorbar > div:nth-child(2) > span:nth-child(7) {
        left: 471px;
    }

    #aqi-tooltip-target {
        right: 605px;
    }

    #date-0, #date-1 {
        height: 20px;
        font-size: 13px;
    }

    #date-container {
        height: 25px;
    }

    .daily-average-label, .daily-max-label {
        font-size: 13px;
    }

    .timeseries-text {
        font-size: 12px;
    }

    #timeseries-modal {
        height: 400px;
    }

    #threshold-grid {
        top: 60px;
    }

    .info, .colorbar-units, .timesliderline #date, .daily-average-label, .daily-max-label {
        font-weight: 500;
    }

}

@media (max-width: 1149px) {
    .timesliderline #date {
        font-size: 13px;
        padding: 10px !important;
    }

    .DateInput {
        width: 100px;
    }

    #date-container, #date-0, #date-1 {
        left: 185px;
    }

    /* Hide 06:00 and 12:00 and 16:00 to show only 00:00 08:00 16:00 00:00 08:00 16:00  */
    #pollutants-slider-graph .rc-slider-mark > span:nth-child(2), 
    #pollutants-slider-graph .rc-slider-mark > span:nth-child(4),
    #pollutants-slider-graph .rc-slider-mark > span:nth-child(6), 
    #pollutants-slider-graph .rc-slider-mark > span:nth-child(8),
    #pollutants-slider-graph .rc-slider-mark > span:nth-child(10), 
    #pollutants-slider-graph .rc-slider-mark > span:nth-child(12) {
        display: none;
    }

    #pollutants-timeslider, #hide-slider {
        min-width: 400px;
    }

    #daily-average-label-text, #daily-max-label-text {
        visibility: hidden;
    }

    #daily-average-abbr-label-text, #daily-max-abbr-label-text {
        float: right;
        display: block;
    }

    .daily-average-label, .daily-max-label {
        margin-left: 0px;
    }

    #daily-average-dropdown, #daily-max-dropdown, #hide-daily-max, #hide-daily-average {
        min-width: 50px; 
        margin-left: 0px;
    }

    .layout-dropdown #map-view-dropdown, .layout-dropdown #layers-dropdown, #return-button-div {
        margin-left: 0px;
    }

}

@media (min-width: 1150px) {
    /* Hide 08:00 and 16:00 to show only 00:00 06:00 12:00 18:00 00:00 06:00 12:00 18:00  */
    #pollutants-slider-graph .rc-slider-mark > span:nth-child(3), 
    #pollutants-slider-graph .rc-slider-mark > span:nth-child(5),
    #pollutants-slider-graph .rc-slider-mark > span:nth-child(9), 
    #pollutants-slider-graph .rc-slider-mark > span:nth-child(11) {
        display: none;
    }
}

@media (max-width: 1079px) {

    .aqi-colorbar > div:nth-child(2) {
        margin-top: -5px !important;
    }

    .aqi-colorbar > div:nth-child(2) > span {
        top: 15px;
    }

    /* Good */
    .aqi-colorbar > div:nth-child(2) > span:nth-child(2) {
        left: -15px;
    }

    /* Fair */
    .aqi-colorbar > div:nth-child(2) > span:nth-child(3) {
        display: none !important;
    }

    /* Moderate */
    .aqi-colorbar > div:nth-child(2) > span:nth-child(4) {
        display: none !important;
    }

    /* Poor */
    .aqi-colorbar > div:nth-child(2) > span:nth-child(5) {
        display: none !important;
    }

    /* Very poor */
    .aqi-colorbar > div:nth-child(2) > span:nth-child(6) {
        display: none !important;
    }

    /* Extremely poor */
    .aqi-colorbar > div:nth-child(2) > span:nth-child(7) {
        left: 325px;
    }

    .aqi-colorbar > div:first-of-type span {
        width: 1px !important;
        height: 13px !important;
    }

    .aqi-colorbar {
        padding: 0px;
    }

    #aqi-tooltip-target {
        right: 450px;
        height: 30px;
    }
}

.hidden {
    display: none;
}

#popup-close {
    float: right;
    position: absolute;
    background-color: var(--principal_blue);
    border-radius: 50%;
    top: -7px;
    right: -9px;
    height: 20px;
    width: 20px;
    line-height: 20px;
    padding: 0;
    margin: 0;
    font-weight: bold;
}

#popup-close:hover {
    color: var(--lime);
}

#pollutants-ts-button:hover {
    color: var(--lime);
}

#group-1-toggle, #group-2-toggle {
    cursor: auto;
}

.sidebar-dropdown label, .sidebar-dropdown input {
    cursor: pointer;
}

.rc-slider-step {
    cursor: pointer;
}

.sidebar-bottom .download-section:focus {
    font-weight: 400 !important;
    color: var(--lime) !important;
}

.tooltip {
    z-index: 100000;
}