/*******************************************************************/

/* CSS TO STYLE THE WHOLE PAGE */

html,
body,
#map {
    margin: 0;
    padding: 0;
    background: whitesmoke;
    font-family: 'Open Sans', Helvetica, sans-serif;
    color: #4d5051;
    overflow-x: hidden;
    overflow-y: hidden;
}

h1 {
    padding: 8px 25px 8px 15px;
    color: #c41230;
    /* Carnegie red (https://www.cmu.edu/brand/brand-guidelines/web.html) */
    margin: 0;
    font-weight: 400;
    font-size: 1.3em;
    text-align: left;
    font-family: 'Open Sans', Helvetica, sans-serif;
}

h2 {
    margin: 0;
    padding: 8px 25px 0px 15px;
    color: #4d5051;
    font-weight: 500;
    font-size: 1.1em;
    text-align: left;
    font-family: 'Source Serif Pro', serif;
}

a,
a:visited {
    color: #0078A8;
    font-weight: 500;
}

a:hover {
    color: #c41230;
    /* gray */
    text-decoration: underline;
}

#map {
    position: absolute;
    top: 50px;
    bottom: 0;
    right: 0;
    width: 100%;
}

p {
    font-size: 1.1em;
}

.disclaimer {
    font-style: italic;
    /* color: #c41230; */
    font-weight: 600;
}

.citationNote {
    font-weight: 300;
    font-size: 0.95em;
    margin-bottom: 12px;
}

.bio {
    border-top: 1px solid #e0e0e0;
    font-weight: 300;
    font-size: 0.95em;
}

.closeButton {
    cursor: pointer;
    color: #c41230;
    right: 5%;
    float: right;
    text-align: center;
    line-height: 32px;
    width: 32px;
    background-color: rgba(255, 255, 255, 0);
    z-index: 1000;
    font-size: 1.3em !important;
    font-weight: 200;
}

.closeButton :hover {
    line-height: 32px;
    width: 32px;
    background-color: #e0e0e0;
}

#title {
    margin: 0;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: #c41230;
    /* Carnegie red */
    color: rgb(48, 11, 11);
    font-weight: 600;
    text-align: left;
    font-family: 'Open Sans', Helvetica, sans-serif;
    z-index: 500;
    border-bottom: 1px solid #4d5051;
}

#title h1 {
    background: #c41230;
    /* Carnegie red */
    color: #fff;
    font-family: 'Open Sans', Helvetica, sans-serif;
    left: 50px;
    float: left;
    padding: 0px 25px 0px 15px;
    line-height: 50px;
    font-size: 1.5em;
    font-weight: 300;
}

#title img {
    margin: 0px;
    height: 50px;
    position: relative;
    float: left;
    background-color: white;
}

label {
    font-family: 'Open Sans', Helvetica, sans-serif;
    font-size: 1.1em;
    width: 200px;
}


/**********************************************************************/

/* CSS FOR THE PHASES TAB */

#phases p {
    font-size: 1.1em;
    margin-bottom: 5px;
    padding-right: 20px;
}

#phasesTabIntro {
    margin-top: 1em;
}

#phasesTabBody h1 {
    padding: 8px 0px 4px 0px;
    margin-right: 0px;
    margin-top: 20px;
    z-index: 99;
    font-size: 1.3em;
    font-weight: 600;
    background: none;
    width: 100%;
    border-bottom: solid 1px #999999;
}

#phasesTab img {
    width: 80%;
    margin-left: 10%;
    padding-top: 5px;
    padding-bottom: 10px;
}

#phasesTabBody div.caption {
    width: 80%;
    margin-left: 10%;
    font-size: 1em;
    font-weight: bold;
    margin-top: 0px;
}

#phasesTabBody div.captionSource {
    width: 80%;
    margin-left: 10%;
    font-size: 0.9em;
    font-style: italic;
    margin-top: 0px;
}

/**********************************************************************/

/* CSS FOR THE USING THE MAP TAB */

#usingTheMapTab li {
    font-size: 1.1em;
    margin-bottom: 5px;
}

#usingTheMapTab i {
    width: 15px;
}

#usingTheMapTab .fieldLabel {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 5px;
}

#usingTheMapTab .source {
    font-size: 1.1em;
    margin-bottom: 10px;
}


/**********************************************************************/

/* CSS FOR THE DATA SOURCES AND MEDIA TABs */

#sourcesTab li,
#mediaTab li {
    font-size: 1.1em;
    margin-bottom: 5px;
}

#sourcesTabBody h1,
#mediaTabBody h1 {
    padding: 8px 0px 4px 0px;
    margin-right: 0px;
    margin-top: 20px;
    z-index: 99;
    font-size: 1.3em;
    font-weight: 600;
    background: none;
    width: 100%;
    border-bottom: solid 1px #999999;
}

#sourcesTabBody .fieldLabel,
#mediaTabBody .fieldLabel {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 5px;
}

#sourcesTabBody .source,
#mediaTabBody .source {
    font-size: 1em;
    margin-bottom: 10px;
}

/**********************************************************************/

/* CSS FOR THE UI CONTROLS */

#ui-controls {
    padding-top: 0px;
}

#ui-controls .fieldLabel {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 2px;
}

#ui-controls input {
    margin-bottom: 5px;
    font-size: 1.1em;
}

#ui-controls input[type="button"],
input[type="submit"] {
    font-size: 1.1em;
    margin-right: 5px;
}

/**********************************************************************/

/* CSS FOR LEAFLET CUSTOMIZATIONS */

.leaflet-top {
    position: absolute;
    z-index: 1000;
    height: 800px;
    bottom: 0;
}

.leaflet-top .leaflet-left .leaflet-control-zoom {
    display: none;
}

.leaflet-control {
    margin-top: 0px;
}


/* LAYER LIST */
.layer-list-title {
    position: relative;
    height: 70px;
    background-color: #777;
    width: 222px;
    margin: -6px 0px 6px -6px;
}

#layerListTitleText {
    color: whitesmoke;
    padding: 10px;
    font-family: 'Open Sans', Helvetica, sans-serif;
    font-size: 1.3em;
    font-weight: 600;
    line-height: 18px;
}

#layerListSubtitleText {
    color: whitesmoke;
    padding: 0px 10px 5px 10px;
    font-family: 'Open Sans', Helvetica, sans-serif;
    font-size: 0.9em;
    font-weight: 300;
    line-height: 12px;
}

.leaflet-control-layers-expanded {
    background-color: rgba(255, 255, 255, 1);
    border-bottom-color: #ffffff;
    right: 0.25em;
    margin-bottom: 0px;
    width: 210px;
    padding-bottom: 55px;
}

.leaflet-control-layers-expanded .leaflet-control-layers-list {
    display: inline !important;
    padding-top: 20px;
}

/* Basemaps and Overlays Div */
#map>div.leaflet-control-container>div.leaflet-bottom.leaflet-right>div.leaflet-control-layers.leaflet-control-layers-expanded.leaflet-control {
    padding: 6px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}

.leaflet-control-layers-overlays label {
    width: 210px
}

.leaflet-touch .leaflet-control-layers {
    border: 1.3px solid rgba(96, 96, 96, .6);
    border-bottom: none;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

.leaflet-control-layers:hover {
    box-shadow: none;
    background: #ffffff;
    border-radius: 5px;
}

/* Basemap and Overlay Group Labels */
div[id^="leaflet-control-accordion-layers"]>label {
    line-height: 35px;
    font-family: 'Open Sans', Helvetica, sans-serif;
    font-size: 1.3em;
    font-weight: 600;
    padding: 5px;
    background: none;
    box-shadow: none;
    border-bottom: solid 1px #999999;
}

/* Basemap and Overlay Group Labels Hover */
div[id^="leaflet-control-accordion-layers"]>label:hover {
    background-color: whitesmoke;
}

/* Basemap and Overlay Group Labels Expanded */
.ac-container input.menu:checked+label,
.ac-container input.menu:checked+label:hover {
    background-color: whitesmoke;
    color: #777;
    text-shadow: none;
    box-shadow: none;
}

/* Basemap and Overlay Group Labels: Override Default Behavior to Include Up and Down Arrows */
.ac-container div[id^="leaflet-control-accordion-layers"]>label::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: 13px;
    top: 7px;
    background: none;
}

/* Basemap and Overlay Group Labels Expanded Up Arrow */
.ac-container input.menu:checked+label::after,
.ac-container input.menu:checked+label:hover:after {
    background: transparent url(../lib/Leaflet.StyledLayerControl-master/css/images/arrow_up.png) no-repeat center center !important;
}

/* Basemap and Overlay Group Labels Collapsed Down Arrow */
.ac-container :not(input.menu:checked)+label::after,
.ac-container :not(input.menu:checked)+label:hover:after {
    background: transparent url(../lib/Leaflet.StyledLayerControl-master/css/images/arrow_down.png) no-repeat center center !important;
}

/* Basemap and Overlay Labels */
.menu-item-checkbox,
.menu-item-radio {
    font-size: 0.9em;
}

/* Radio Buttons and Checkboxes */
.leaflet-control-layers-selector {
    margin-right: 5px;
}

/* Gray out the labels of layers that are outside of their scale dependency */
.leaflet-control-layers-selector:disabled {
    color: #ccc !important;
    cursor: default !important;
}

/* Gray out the labels of layers that are outside of their scale dependency */
.leaflet-control-layers-selector:disabled+label {
    color: #ccc !important;
    cursor: default !important;
}

.leaflet-touch .leaflet-bar {
    border: 1.3px solid rgba(96, 96, 96, .6);
}

/* ATTRIBUTION */
.leaflet-container .leaflet-control-attribution {
    background-color: rgba(235, 235, 235, .75);
    max-width: 1430px;
}

.esri-truncated-attribution:hover {
    white-space: nowrap !important;
}

/**********************************************************************/

/* CSS FOR LEAFLET SIDEBAR CUSTOMIZATIONS */

.leaflet-sidebar {
    position: absolute;
    top: 10px;
    bottom: 10px;
    width: 100%;
    overflow: hidden;
    z-index: 2000;
    border: solid 1px #999999;
    box-shadow: none !important;
}

.leaflet-sidebar-tabs {
    top: 0;
    bottom: 0;
    height: 100%;
    background-color: white;
    border: none !important;
}

.leaflet-sidebar.leaflet-touch {
    border: solid 1px #999999;
}

.leaflet-sidebar-body {
    width: 95%;
}

h1.leaflet-sidebar-header {
    font-family: 'Open Sans', Helvetica, sans-serif;
    font-weight: 300;
}

/* Make the Leaflet sidebar heading sticky so it stays as you scroll down */
/* Safari uses -webkit-sticky */
.leaflet-sidebar-header {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 999;
}

/* Push the close icon left so it's not covered by the scroll bar */
.leaflet-sidebar-close {
    margin-right: 15px;
}

/* Only display the sidebar if the width is at least 768px */
@media (min-width: 768px) {
    .leaflet-sidebar {
        border-radius: 4px;
    }

    .leaflet-sidebar.leaflet-touch {
        border: solid 1px #999999;
    }
}

@media (max-width: 767px) {
    .leaflet-left {
        width: calc(100% - 250px);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .leaflet-left {
        width: calc(100% - 565px);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .leaflet-left {
        width: calc(100% - 650px);
    }
}

@media (min-width: 1200px) {
    .leaflet-left {
        width: calc(100% - 720px);
    }
}

/**********************************************************************/

/* CSS FOR TOOLTIP */

#tooltip {
    padding: 4px 4px;
    background: white;
    border: solid 1px #999999;
    border-radius: 3px;
    color: #4d5051;
    position: absolute;
    font-size: 0.8em;
    max-width: 325px;
    display: none;
    /* don't display until the user mouses over a point */
    text-align: left;
    z-index: 1000;
}

#tooltip p {
    margin: 3px 0 4px;
    text-align: left;
}

#tooltip span:first-child {
    font-size: 1em;
    font-weight: 600;
    text-align: left;
}

.state-territory-labels {
    position: absolute;
    padding: 5px;
    background-color: rgba(255, 255, 255, 0);
    border: none;
    border-radius: 4px;
    color: #999999;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    box-shadow: none;
}

/**********************************************************************/

/* CSS FOR THE SEARCH RESULTS LIST */

#searchResults {
    position: inherit;
    width: 100%;
    margin: 0px;
    height: 70%;
}

#searchResultsContent {
    left: -50px;
    overflow-y: auto;
    margin-right: 0px;
}

#results-list {
    font-size: 1.1em;
    margin-top: 5px;
    margin-bottom: 5px;
}

#results-list li {
    padding: 5px;
    margin-left: -30px;
    list-style-type: none;
}

#results-list li:hover {
    cursor: pointer;
    background: #e0e0e0;
    font-weight: 400;
}

#listHeading {
    border-bottom: solid 1px #999999;
}

#listHeading h1 {
    width: inherit;
    font-weight: 800;
}

#searchResults h1 {
    padding: 8px 0px 4px 0px;
    margin-right: 0px;
    margin-top: 20px;
    z-index: 99;
    font-size: 1.3em;
    font-weight: 600;
    background: none;
    width: 95%;
}

/**********************************************************************/

/* CSS FOR THE STATION DETAILS */

#detailsHeading {
    border-bottom: solid 1px #999999;
}

#detailsPanel {
    position: inherit;
    width: 100%;
    margin: 0px;
    display: none;
    /* don't display until the user clicks a record */
    height: 70%;
}

#detailsPanelContent {
    left: -50px;
    overflow-y: auto;
    margin-right: 0px;
}

#detailsPanel h1 {
    padding: 8px 0px 4px 0px;
    margin-right: 0px;
    margin-top: 20px;
    z-index: 99;
    font-size: 1.3em;
    font-weight: 600;
    background: none;
    width: 95%;
}

#detailsPanelContent .fieldLabel {
    font-size: 1em;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 2px;
}

#detailsPanelContent .detailsPanelValue,
#modalSlide .detailsPanelValue {
    font-size: 1em;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

#detailsPanelContent #link {
    font-size: 1.1em;
    margin-top: 10px;
}

#detailsPanelContent #stationImage {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

#detailsPanelContent #stationImageCaption {
    margin-top: 5px;
    margin-left: 5%;
    width: 90%;
}

#detailsPanelContent #stationImageSource {
    font-size: 0.9em;
    font-style: italic;
    margin-top: 10px;
    margin-left: 5%;
    width: 90%;
}

/**********************************************************************/

/* CSS FOR THE SIDEBAR IMAGE GALLERY */

/* Slideshow container */
.sidebarSlideshowContainer {
    max-width: 1000px;
    margin: auto;
}

/* Hide the images by default */
.slide {
    display: none;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    width: auto;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    color: #c41230 !important;
}

.prev:hover,
.next:hover {
    background-color: #e0e0e0;
    cursor: pointer;
    text-decoration: none;
}

#sidebarSlideshowButtons .prev {
    left: 5px;
    border-radius: 3px 0 0 3px;
}

/* Position the "next button" to the right */
#sidebarSlideshowButtons .next {
    right: 5px;
    border-radius: 3px 0 0 3px;
}

/* The dots/bullets/indicators */
.dot {
    z-index: 9999;
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 10px 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active {
    background-color: #717171;
}

.dot:hover {
    background-color: #c41230;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/**********************************************************************/

/* CSS FOR THE MODALS */

.w3-modal {
    z-index: 9999;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: block;
    overflow-y: hidden;
}

.w3-modal-content {
    margin: auto;
    background-color: #fff;
    position: absolute;
    top: 75px;
    padding: 35px;
    border: solid 1px #999999;
    border-radius: 4px;
}

.w3-modal-content.wide {
    /* Flex display used to provide scrolling in the splash screen */
    display: flex;
    width: 80%;
    max-width: 950px;
    max-height: 80%;
    /* Position in the center */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.w3-modal-content.slideshow {
    position: relative;
    width: 80%;
    max-width: 650px;
    max-height: 80%;
    overflow-y: auto;
}

.w3-modal-content.small {
    width: 60%;
    max-width: 80%;
    max-height: 80%;
    position: absolute;
    /* Position 25% down the page */
    top: 25%;
    left: 50%;
    transform: translate(-50%, -25%);
    text-align: center;

}

.w3-modal-content.loading {
    /* Hide the background and border */
    background-color: rgba(255, 255, 255, 0);
    border: none;
}

.w3-opacity,
.w3-hover-opacity:hover {
    opacity: 0.60;
    cursor: zoom-in;
}

.w3-opacity-off,
.w3-hover-opacity-off:hover {
    opacity: 1
}

.w3-animate-zoom {
    animation: animatezoom 0.6s
}

@keyframes animatezoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/**********************************************************************/

/* CSS FOR THE MODAL IMAGE GALLERY */

/* The Close Modal Button */
.closeModal {
    z-index: 999;
    color: #c41230 !important;
    position: absolute;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    top: 0px;
    right: 0px;
    font-size: 1.5em;
    font-weight: bold;
    padding: 2px 10px;
}

.closeModal:hover,
.closeModal:focus {
    background-color: #e0e0e0;
    cursor: pointer;
    text-decoration: none;
}

#modalSlideshowContainer {
    width: 100%;
}

#modalSlideshowButtons .prev {
    z-index: 999;
    left: 5px;
    border-radius: 3px 0 0 3px;
    padding: 5px 10px;
}

/* Position the "next button" to the right */
#modalSlideshowButtons .next {
    z-index: 999;
    right: 5px;
    border-radius: 3px 0 0 3px;
    padding: 5px 10px;
}

#modalSlide {
    padding-top: 5px;
    overflow-y: auto;
}

#stationImageModalImage {
    display: flex;
    justify-content: center;
}

#stationImageModalImage img {
    max-height: 625px;
    max-width: 100%;
}

#stationImageModalCaption {
    margin-top: 5px;
    width: 100%;
}

#stationImageModalSource {
    font-size: 0.9em;
    font-style: italic;
    margin-top: 10px;
    width: 100%;
}


/**********************************************************************/

/* CSS FOR THE LOADING SCREEN */

#loadingModalContentContainer {
    text-align: center;
}

#loadingModalContent {
    /* position: fixed or absolute */
    position: fixed;
    top: 40%;
    left: 50%;
}

#loadingSpinner {
    width: 100px;
    height: 100px;
    padding: 0px;
    border-radius: 10px;
}


/**********************************************************************/

/* CSS FOR THE SPLASH SCREEN */

#splashScreenContentContainer {
    display: flex;
    flex-direction: column;
}

#splashScreenHeading {
    margin-bottom: -6px;
    height: fit-content;
}

#splashScreenContent {
    margin-bottom: 0px;
    overflow-y: auto;
}

.intro-modal h1 {
    color: #c41230;
    font-size: 2em;
    font-family: 'Open Sans', Helvetica, sans-serif;
    font-weight: 400;
    padding-left: 0px;
    padding-right: 0px;
    background: none;
    margin-top: -15px;
}

.intro-modal h2 {
    color: #4d5051;
    font-family: 'Open Sans', Helvetica, sans-serif;
    font-weight: 300;
    font-size: 1.25em;
    padding-left: 0px;
    padding-right: 0px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px;
    margin-top: -10px;
}

.intro-modal img {
    /* Use -moz-available for Firefox. WebKit-based browsers will ignore this. */
    /* Use -webkit-fill-available for Chrome and Edge. Mozilla-based browsers will ignore this. */
    width: -moz-available;
    width: -webkit-fill-available;
    padding-right: 20px;
    margin-bottom: 20px;
}

.intro-modal p {
    font-size: 0.95em;
    padding-right: 20px;
    margin-top: 12px;
    margin-bottom: 0px;
}

.intro-modal ul {
    margin-top: 5px;
}

.intro-modal li {
    font-size: 0.95em;
    padding-right: 20px;
}

.intro-modal li i {
    padding-right: 5px;
}

/**********************************************************************/

/* CSS FOR THE DATE SLIDER */

/* Slider box */
#date-slider-control {
    position: absolute;
    /* Use -moz-available for Firefox. WebKit-based browsers will ignore this. */
    /* Use -webkit-fill-available for Chrome and Edge. Mozilla-based browsers will ignore this. */
    width: -moz-available;
    width: -webkit-fill-available;
    width: fill-available;
    height: 56px;
    padding: 2px 20px 2px 20px;
    background: white;
    border-radius: 3px;
    left: 40px;
    touch-action: auto;
    -ms-touch-action: auto;
}

#date-slider-control .min {
    float: left;
    font-size: 1.15em;
    margin-top: 5px;
    margin-left: -8px;
    vertical-align: middle;
}

#date-slider-control .max {
    float: right;
    font-size: 1.15em;
    margin-top: 5px;
    margin-right: -8px;
    vertical-align: middle;
}

#date-slider-control .currentDate {
    float: left;
    font-size: 1.25em;
    font-weight: bold;
    text-align: center;
    color: #c41230;
    /* Carnegie red */
    position: relative;
    width: 100%;
    z-index: 0;
    margin-bottom: -25px;
}

#date-slider-control .previousDate {
    position: relative;
    top: 20px;
    right: 20px;
    vertical-align: middle;
    color: #d3d3d3;
    font-size: 2em;
}

#date-slider-control .nextDate {
    position: absolute;
    margin-top: 20px;
    right: 20px;
    vertical-align: middle;
    color: #d3d3d3;
    font-size: 2em;
}

#date-slider-control .previousDate :hover {
    color: #4d5051;
    cursor: pointer;
}

#date-slider-control .nextDate :hover {
    color: #4d5051;
    cursor: pointer;
}

/* Slider */
.date-slider {
    position: absolute;
    appearance: none;
    -webkit-appearance: none;
    width: calc(100% - 85px);
    height: 5px;
    top: 65%;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.date-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    /* Override default look */
    appearance: none;
    width: 20px;
    /* Set a specific slider handle width */
    height: 20px;
    /* Slider handle height */
    border-radius: 25%;
    /* Round */
    background: #c41230;
    /* Carnegie red */
    cursor: pointer;
    /* Cursor on hover */
}

.date-slider::-moz-range-thumb {
    width: 20px;
    /* Set a specific slider handle width */
    height: 20px;
    /* Slider handle height */
    border-radius: 25%;
    /* Round */
    background: #c41230;
    /* Carnegie red */
    cursor: pointer;
    /* Cursor on hover */
}

.date-slider-handle {
    color: #000000;
    font-size: 10px;
    text-shadow: 0 1px 0 #FFFFFF;
    text-decoration: none;
}

.date-slider:hover {
    opacity: 1;
}

/*********************************************************************/

/* CSS FOR THE OPACITY SLIDER */

#opacity-slider-control {
    position: relative;
    width: 210px;
    z-index: 1000;
    touch-action: auto !important;
    -ms-touch-action: auto !important;
    border: 1.3px solid rgba(96, 96, 96, .6);
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top: none;
    background-color: rgba(255, 255, 255, 1);
    right: 0.25em;
    padding: 6px;
}

#opacity-slider-separator {
    width: 222px;
}

.opacity-slider {
    transition: opacity .2s;
    width: 95%;
    margin-top: 2px;
    z-index: 1000;
}

.opacity-slider:hover {
    opacity: 1;
}

.opacity-slider-label {
    font-weight: 400;
}

/**********************************************************************/

/* CSS FOR STATION SEARCH */

.search-ui {
    position: inherit;
    z-index: 1000;
    font-size: 1.1em;
    font-family: 'Open Sans', Helvetica, sans-serif;
    width: 100%;
    padding-right: 8px;
}

#search {
    padding-left: 1px;
    z-index: 1000;
    width: 100%;
}

.ui-widget {
    font-family: 'Open Sans', Helvetica, sans-serif;
    font-size: 0.75em;
    color: #4d5051;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 300px;
    z-index: 1000;
}

.ui-autocomplete {
    max-width: 225%;
    z-index: 5000 !important;
}

.ui-menu-item {
    font-size: 0.75em;
    font-family: 'Open Sans', Helvetica, sans-serif;
}

/**********************************************************************/

/* CSS FOR ADDRESS SEARCH */

/* .geocoder-control-input {
    top: 100px;
    right: 30px;
    z-index: 1000;
    font-family: 'Open Sans', Helvetica, sans-serif;
} */

/**********************************************************************/

/* CSS FOR ATTRIBUTE SELECTION CONTROL */

#attribute-control {
    position: inherit;
    width: 200px;
    padding: 6px 15px 4px 15px;
    background: white;
    border-radius: 3px;
    color: #4d5051;
    left: 50px;
    top: 140px;
    margin-left: 10px;
    border: solid 1px #999999;
    z-index: 1000;
}

#attribute-control label {
    font-size: 1em;
    margin-right: 5px;
}

#selected-attribute {
    font-size: 1.1em;
}

/**********************************************************************/

/* CSS FOR THE LEGEND BUTTON */

.easy-button-container {
    background-color: white !important;
    margin-top: 5px !important;
}

.easy-button-container:hover {
    background-color: #e0e0e0 !important;
}

.easy-button-container.leaflet-control>button {
    font-size: 1.6em !important;
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 3px;
}

.easy-button-container.leaflet-control>button:hover {
    background-color: #e0e0e0;
    overflow: hidden;
}

#legend-button a {
    position: fixed;
    display: block;
    right: 250px;
    bottom: 26px;
    padding: 0px 7px !important;
    width: fit-content;
    width: -webkit-fit-content;
    height: auto;
    line-height: 32px;
    background-color: white;
    border: solid 1px #999999;
    border-radius: 3px;
    font-family: "Open Sans", Helvetica, sans-serif;
    font-size: 15.6px;
    z-index: 1000;
    text-align: center;
    color: #777;
    cursor: pointer;
    transition: 0.6s ease;
}

#legend-button a:hover {
    display: inline;
    text-decoration: none;
    background-color: whitesmoke;
    overflow: hidden;
}

/* #legend-button i {
    font-size: 1.5em;
}
*/

#legend-button span {
    font-weight: 600;
}


/**********************************************************************/

/* CSS FOR THE LEGEND ITEMS */

/* Spacing below the auto-generated streets legend control */
#streets-legend-control>div {
    margin-bottom: 2px;
}

.legend-control {
    padding: 10px 0px 0px 10px;
    color: #4d5051;
    text-align: left;
    font-family: 'Source Serif Pro', serif;
    z-index: 1000;
}

.legend-control h3 {
    text-align: left;
    font-weight: 500;
    margin: 10px 0 4px;
    font-size: 1em;
}

.legend-control h3.status {
    text-align: left;
    font-weight: 500;
    margin: -4px 0 4px;
    font-size: 1em;
}

.legend-control span.circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid black;
    width: 10px;
    height: 10px;
    margin-top: 4px;
    margin-right: 4px;
}

img.cityLabel {
    width: min-content !important;
    height: min-content !important;
}

img.streetsLabel {
    width: min-content !important;
    height: min-content !important;
    padding-left: 4px !important;
    padding-right: 6px !important;
}

.legend-row {
    margin-bottom: 2px;
}

.legend-control label {
    text-align: left;
    font-weight: 400;
    margin-left: 25px;
    font-family: 'Open Sans', Helvetica, sans-serif;
    font-size: 1.1em;
    text-indent: 2em
}

.legend-control label:after {
    content: '';
    display: block;
    clear: both;
}

.legend-control note {
    text-align: left;
    font-weight: 400;
    margin-top: 25px;
    margin-left: 25px;
    font-family: 'Open Sans', Helvetica, sans-serif;
    font-size: 0.8em;
}

.legend-control note:after {
    content: '';
    display: block;
    clear: both;
}

/* Confederate States legend swatch */
#legendTab img {
    width: 24px;
    height: 24px;
    top: 0px !important;
    left: 4px !important;
}

/* Elevation legend image */
#elevationLegend {
    /* Use -moz-available for Firefox. WebKit-based browsers will ignore this. */
    /* Use -webkit-fill-available for Chrome and Edge. Mozilla-based browsers will ignore this. */
    width: -moz-available !important;
    width: -webkit-fill-available !important;
    height: 100% !important;
    padding-top: 5px;
    padding-bottom: 25px;
}

/**********************************************************************/

/* CSS FOR THE LEGEND TAB */

.leaflet-legend-column {
    margin-left: 0px;
    width: 361px !important;
}

.leaflet-legend-expanded {
    margin-top: 5px;
    margin-bottom: 20px;
}

.leaflet-legend-expanded .leaflet-legend-contents {
    display: block;
    padding: 0px;
}

.leaflet-legend-item {
    font-size: 1.1em;
}

.leaflet-legend-item i {
    padding-right: 10px;
}

#legendTabBody h1 {
    padding: 8px 0px 4px 0px;
    margin-right: 0px;
    margin-top: 20px;
    z-index: 99;
    font-size: 1.3em;
    font-weight: 600;
    background: none;
    width: 100%;
    border-bottom: solid 1px #999999;
}

#legendTabBody .fieldLabel {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: -5px;
}

/* Resize and Position Hub Station Icon and Label */
#imgHubStationIcon {
    width: 18px !important;
    height: 18px !important;
}

#legendRowHubStationIcon {
    margin-left: -3px;
}

#legendRowHubStationIcon label {
    margin-left: 7px;
}

/**********************************************************************/

/* CSS FOR THE CLUSTER MARKER */

.clusterIcon {
    background-color: white;
    border: 1.5px solid #c41230;
    /* Carnegie red */
    border-radius: 20px;
}

.clusterText {
    margin-left: 5px;
    margin-bottom: 2px;
    font-size: 1em;
    color: #c41230;
    /* Carnegie red */
}