:root {
  --blue: #2B383E; 
  --dark_grey: #6c757d;
  --yellow: #F1B545;
}

body {
    overflow-y: hidden;
    background-color: #212529;
}

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

.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(--blue) !important;
    height: 3.8rem;
}

.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(--yellow) !important;
    border-bottom: 4px solid var(--yellow) !important;
    padding-bottom: 0.8rem !important;
}

#fullscreen-tab:hover:after {
    color: var(--yellow);
}

#fullscreen-tab::after {
    position: absolute;
    top: 65%;
    right: 9%;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Brands","Font Awesome 5 Free";
    font-size: 25px;
    font-weight: 900;
    font-style: normal;
    content: "\f065";
    color: white;
}

#fullscreen-tab.small::after {
    font-size: 17px !important;
    top: 95%;
    right: 11%;
}

.horizontal-menu {
    background-color: var(--blue) !important;
    font-family: "Roboto", sans-serif;
    font-weight: bold;
    border: none !important;
    color: white !important;
    padding-bottom: 0 !important;
    width: 136px !important;
}

#prob-graph, #was-graph {
    height: 92vh !important;
    bottom: 0;
}

#obs-vis-graph {
    height: 79vh !important;
    margin: 0 !important;
}

#obs-vis-graph .graph-with-slider {
    margin-top: 2rem !important;
}

#graph-eval-aeronet {
    padding: 0;
    margin: 0;
    height: 83vh !important;
    overflow: hidden;
}

#eval-aeronet-disclaimer {
    justify-content: flex-end !important;
    margin-right: 16px;
}

#graph-eval-modis-obs, #graph-eval-modis-mod {
    padding: 0;
    margin: 0;
    height: 80vh !important;
    overflow: hidden;
}

#eval-tables {
    height: 58vh !important;
    overflow: auto;
}

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

.description-body>p {
    opacity: 0.8;
    color: var(--blue);
    font-family: "Roboto", sans-serif !important;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 22px;
    margin: .5rem 1rem;
}

.disclaimer>p, .disclaimer>span>p {
    position: relative;
    opacity: 0.8;
    background-color: #ffffff !important;
    color: var(--blue);
    font-family: "Roboto", sans-serif !important;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 22px;
    margin-left: .5rem;
    margin-top: .1rem;
    bottom: .1rem;
    display: block;
    z-index: 1000 !important;
}

.disclaimer>span#forecast-disclaimer>p {
    float: right;
    margin-right: 1rem;
}

#eval-graph .disclaimer {
    display: flex;
    justify-content: flex-start;
    bottom: 1px; 
}

#eval-vis-modis-disclaimer{
    justify-content: flex-end !important;
}

#graph-eval-aeronet .disclaimer {
    display: flex;
    justify-content: flex-end !important;
    bottom: 1px; 
    margin-right: 16px;
}

.layout-dropdown .disclaimer>p {
    margin: .3rem 0rem;
}

#scores-map-modal .disclaimer {
    display: block;
    position: initial;
}

.btn-link {
    color: var(--blue);
    font-family: "Roboto", sans-serif !important;
}

#eval-apply, #scores-apply, #scores-map-apply {
    background-color: var(--blue);
    color: #FFFFFF;
    font-family: "Roboto", sans-serif !important;
    letter-spacing: 0;
    height: 36px;
    border: none;
    border-radius: 0;
    text-align: center;
}

button#scores-apply, button#eval-apply {
    width: 5rem;
}

button#scores-map-apply {
    background-image: url('./images/map_icon.png');
    background-repeat: no-repeat;
    background-position: .5rem;
    text-align: right;
    width: 7.5rem;
}

#forecast-footer {
    display: table-row;
}

#model-date-picker{
    width: 165px;
}

.timesliderline #date {
    color: var(--yellow) !important;
    font-family: "Roboto", sans-serif !important;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0.7rem 0rem 0.5rem 1.1rem;
    background-color: var(--blue) !important;
    border: none !important;
    cursor: pointer;
}

.DateInput {
    vertical-align: baseline;
    width: 150px;
    margin-right: 0.3rem;
}

.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;
}

div.SingleDatePickerInput {
    border: none;
    background-color: var(--blue) !important;
}

.SingleDatePicker_picker {
    top: 38px;
    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;
}

#clear_button {
    background-color: var(--blue);
    outline: none !important;
    margin-top: 1px;
    margin-right: 5px;
}

#clear_button:before {
    color: white !important;
    font-family: 'Font Awesome 5 free';
    content: "\f044";
    font-weight: 400;
    vertical-align: middle;
    font-size: 1.1em;
    bottom: 6px;
    position: relative;
    right: 5px;
}

#was-slider-graph, #prob-slider-graph, #obs-vis-slider-graph {
    width: 12rem;
    padding: 0.3rem 35px 25px !important;
}

#model-slider-graph, #obs-slider-graph, #obs-aod-slider-graph {
    padding: 0.2rem 25px 25px 1rem !important;
    width: 30rem;
}

#rgb-buttons {
    display: block;
    float: left;
    margin: 0.5rem;
}

#rgb-buttons .btn {
    display: block;
    width: 8rem;
    margin: 0.5rem;
    border-radius: 0;
    border: solid 3px var(--blue) !important;
    background-color: #FFFFFF !important;
    color: var(--blue) !important;
}

#rgb-buttons .btn:hover {
    background-color: var(--blue) !important;
    color: #FFFFFF !important;
}

#rgb-buttons .active {
    background-color: var(--blue) !important;
    color: #FFFFFF !important;
}

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

#rgb-image, #aod-image {
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    bottom: 48px !important;
    position: relative;
    top: 1rem !important;
    width: 48%;
    max-width: 45rem;
    max-height: 45rem;
    margin-left: 27%;
}

.timesliderline>button {
    border-radius: 50%;
    width: 34px;
    height: 34px;
    margin-right: 0.5rem;
    margin-top: 3px;
    border: none !important;
    outline: none !important;
    color: var(--blue);
    background-color: #fff;
    display: inline-flex;
    padding: 9px 10px;
}

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

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

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

.anim-buttons {
    padding: 0.3rem 0 0.4rem 1rem;
    border-right: none !important;
}


#obs-dropdown, #obs-mod-dropdown {
    min-width: 12rem;
}

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

.linetool>label {
    font-size: Small;
    opacity: 0.8;
    color: var(--blue);
    font-family: "Roboto", sans-serif !important;
    margin-bottom: 0;
}

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

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

.linetool #eval-date-picker {
    display: block !important;
}

#eval-date-picker .SingleDatePickerInput {
    background-color: white !important;
}

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

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

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

#obs-models-dropdown {
    padding-right: .7rem;
}

.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(--blue);
}

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

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

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

.rgb-layout-dropdown>.disclaimer {
    justify-content: flex-end !important;
}

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

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

.navbar-timebar>.show {
    height: 18vh !important;
}

.navbar-toggler {
    height: 5vh;
}

.disclaimer {
    display: flex;
    z-index: 1000;
    position: fixed;
    bottom: 3.5vh;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: -webkit-fill-available;
    width: -moz-available;
}

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

.timesliderline {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    vertical-align: middle;
    height: 100%;
    background-color: var(--blue);
    border-right: 1px solid var(--dark_grey);
    height: 48px;
}

.timeslider {
    /* position: absolute; */
    background-color: transparent !important;
    height: 100%;
}

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

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

#map-view-dropdown-div {
    border-right: 1px solid var(--dark_grey);
}

.layout-dropdown #map-view-dropdown {
    height: 100%;
    width: 122px;
}

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

#map-view-dropdown>.dropdown-toggle:after{
    display: inline-block;
    vertical-align: 10%;
    margin-left: 0.6rem;
    font-size: 1.5rem;
    color: var(--yellow);
}

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

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

.layout-dropdown #map-view-dropdown>button, .layout-dropdown #map-layers-dropdown>button {
    border-radius: 0 !important;
    background-color: var(--blue) !important;
    background-repeat: no-repeat;
    background-position: 1rem;
    height: 1.75rem;
    padding-top: 0.6rem;
    text-align: right;
}

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

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

.layout-dropdown #map-view-dropdown .dropdown-menu  {
    min-width: 7.6rem;
}

.layout-dropdown #map-layers-dropdown .dropdown-menu  {
    min-width: 8rem;
}

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

.layout-dropdown .dropdown-menu {
    border-radius: 0 !important;
    background-color: #6C7B82;
    padding: 0;
    margin-top: 0;
}

.layout-dropdown .dropdown-item {
    text-align: center;
    text-transform: uppercase;
    font-size: smaller;
    color: #FFFFFF;
    padding: .25rem 0;
    border-top: 1px solid #9ea8ad;
}

.dropdown-item:focus, .dropdown-item:hover {
    background-color: var(--blue);
}
/* This targets the map in Forecast tab */
#div-collection {
    height: 93vh !important;
}

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

.info {
    padding: .15rem .15rem !important;
    max-width: 79%;
}

.info>p {
    white-space: nowrap;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.8rem;
}

.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;
}

.leaflet-popup-content {
    margin: 0.5rem 0 0.5rem 0.5rem !important;
    line-height: 1.6 !important;
}

.leaflet-popup-content {
    width: 14rem !important;
}

#graph-eval-aeronet .leaflet-popup-content {
    width: 11rem !important;
}

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

.leaflet-container .leaflet-popup-content .popup-map-value {
    float: left;
    width: 4rem;
    height: 4rem;
    background-color: var(--blue);
    color: #ffffff;
    border-radius: 50%;
}

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

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

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

.popup-ts-button {
    background-color: var(--blue);
    color: #ffffff;
    font-family: "Roboto", sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    border: none;
    padding: 0.2rem 0.5rem;
}

.leaflet-container a.leaflet-popup-close-button {
    background-color: var(--blue) !important;
    color: #ffffff !important;
    padding: 0 ! important;
    margin: 0 ! important;
    border-radius: 50% !important;
    top: -9px !important;
    right: -9px !important;
    height: 18px !important;
    font: 22px "Roboto", sans-serif !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    line-height: 16px !important;

}

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

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

.vis-legend-point {
    float: left;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 10px;
}

.was-legend-point {
    float: left;
    width: 15px;
    height: 15px;
    margin-right: 10px;
}

.vis-legend {
    position: absolute;
    top: 60px;
    left: 15px;
    z-index: 10000;
}

.was-legend {
    position: absolute;
    top: 80px;
    left: 15px;
    z-index: 10000;
}

.leaflet-control-colorbar {
    top: 42px !important;
    font-size: .8em !important;

}

#prob-graph .leaflet-control-colorbar.leaflet-control {
    top: 122px !important;
    position: fixed;
}

/* .leaflet-control-colorbar div:nth-child(2) span { */
/*     transform: rotate(20deg) !important; */
/* } */
/**/
.leaflet-control-zoom-fullscreen {
    display: none !important;
}
/*
.graph-with-slider {
    height: 93vh !important; 
}

.dash-graph.graph-with-slider {
    height: 93vh !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;
}

#login-modal .modal-content .modal-body>input,
#login-modal .modal-content .modal-body>button {
    margin: 0.5rem;
}


/* @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%; */
/*     } */

/*     #slider-graph, #obs-slider-graph, #obs-aod-slider-graph { */
/*          */
/*     } */
/* } */

@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-mark-text.rc-slider-mark-text-active {
	color: var(--yellow);
}

.rc-slider-mark-text {
	color: #999;
}

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

#fullscreen-tab {
	position: absolute;
	right: 5px;
}

#prob-graph .leaflet-interactive, #was-graph .leaflet-interactive , #graph-eval-modis-mod .leaflet-interactive, #obs-vis-graph .leaflet-interactive  {
    cursor: pointer !important;
}

#prob-graph .leaflet-interactive:active, #was-graph .leaflet-interactive:active , #graph-eval-modis-mod .leaflet-interactive:active , #obs-vis-graph .leaflet-interactive:active {
    cursor: grabbing !important;
}

.leaflet-interactive {
    cursor: crosshair !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(--yellow);
	text-decoration: underline;
	font-family: "Roboto",sans-serif;
	font-size: 1.3rem;
}

#error_title {
	font-family:"Libre Baskerville",serif;
	font-size: 5rem;
}

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

.table_caret_down {
    display: flex;
}

.table_caret_down:after {
    font-family: 'Font Awesome 5 free';
    content: "\f107";
    font-weight: 900;
    font-size: 1.3rem;
}

.table_caret_up {
    display: flex;
}

.table_caret_up:after {
    font-family: 'Font Awesome 5 free';
    content: "\f106";
    font-weight: 900;
    font-size: 1.3rem;
}

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