body, html {
    height: 100%;
    margin: 0;
    background-color: #000;
    color: #FFF;
}

/* Main Blocks */

#mapDiv {
    height: 100%;
    width: 100%;
}

.mainTitle {
    font-size: 50px;
    font-weight: bold;
    line-height: 60px;
}

#firstClick {
    position: absolute;
    top: 70px;
    left: 450px;
    z-index: 2;
}

#leftSide_header {
    padding-top: 10px;
    padding-left: 20px;
    width: 400px;
    max-width: 100%;
    z-index: 3;
    padding: 16px;
    top: 0;
    left: 0;
    position: absolute;
    background-color: #245194;
    display: flex;
    align-items: center;
}

.delaware_d_logo {
    width: 40px;
    height: 40px;
    margin-left: 0;
}

.delaware_text {
    width: 160px;
    height: 30px;
    margin-top: 5px;
    margin-left: 0;
}

#leftSide_menu {
    z-index: 2;
    position: absolute;
    top: 60px;
    height: 290px;
    width: 400px;
    max-width: 100%;
    left: 0;
    margin: 0;
    padding: 20px;
    word-wrap: break-word;
    background-color: rgba(0, 0, 0, 0.7);
}

#leftSide_content {
    color: white;
    overflow-y: overlay;
    z-index: 2;
    position: absolute;
    top: 350px;
    width: 400px;
    max-width: 100%;
    left: 0;
    margin: 0;
    padding: 0 20px 20px 20px;
    word-wrap: break-word;
    background-color: rgba(0, 0, 0, 0.7);
    height: calc(100% - 456px);
}

#leftSide_footer {
    color: white;
    z-index: 2;
    position: absolute;
    bottom: 16px;
    height: 90px;
    width: 400px;
    max-width: 100%;
    left: 0;
    margin: 0;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.7);
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
}

.dnrec-logo {
    height: 90px;
    text-align: center;
    border: none;
}


.popupSummary {
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    padding: 8px 8px 8px 0px;
}

    .popupSummary > img {
        width: 50px;
        margin-right: 16px;
    }

.pDetails {
    display: none;
}

.table td, .table th {
    padding: 0.5rem;
}

#dnrecLogo {
    z-index: 5;
    position: absolute;
    bottom: 30px;
    left: 50px;
}

#content {
    width: 100%;
    height: 100%;
}

#description {
    font-family: "Montserrat";
}

#layerList {
    margin-bottom: 20px;
}

/* Left Side Tab */

.nav-tabs .nav-link, .nav-tabs .nav-link.active, .nav-tabs .nav-link:hover {
    border: 0;
    border-bottom: 1px solid grey;
    color: gray;
}

    .nav-tabs .nav-link.active {
        color: #FFFFFF;
        border-radius: 0;
        border-bottom: 5px solid #245194;
        background-color: rgba(0, 0, 0, 0.0);
    }

.nav-item {
    font-size: 32px;
}

#pills-tabContent {
    max-height: 500px !important;
    overflow-y: auto;
}

#pills-tab {
    margin-top: 10px;
}

.popupTable {
    margin-bottom: 5px;
    margin-top: 5px;
}

#pills-summary-tab, #pills-details-tab {
    font-size: 16px;
    padding-top: 9.4px;
    padding-bottom: 9.4px;
    padding-left: 16px;
    padding-right: 16px;
}



.byellow {
    color: yellow;
    font-weight: bold;
    text-decoration: underline;
}

.bgreen {
    color: #5A9359;
    font-weight: bold;
    text-decoration: underline;
}

.byellow_nu {
    color: #ffc107;
    font-weight: bold;
}

th {
    width: 60%;
}


/* Esri CSS */

.esri-expand__panel, .esri-fullscreen {
    zoom: 1.2;
}

/* Removes the outline when the map is clicked */

.esri-view .esri-view-surface--inset-outline:focus::after {
    outline: none !important;
}

.esri-layer-list__child-toggle {
    outline: none !important;
}

.esri-layer-list__item-label {
    outline: none !important;
}

.esri-coordinate-conversion__select-row {
    width: 125px;
}

.esri-select esri-coordinate-conversion__select-row {
    display: none;
}

.esri-search {
    position: absolute;
    left: 47px;
    width: calc(100% - 64px);
}

.esri-search__container {
    zoom: 1.2;
}

.esri-popup__main-container.esri-widget {
    z-index: 3;
    width: 550px !important;
    height: 45% !important;
}

.esri-popup__content {
    font-size: 14px;
}

    .esri-popup__content > div:nth-child(1) {
        height: 100%;
    }

.popup-data {
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .popup-data > .tab-content {
        flex: 1;
        overflow: auto;
    }

    .popup-data > #pills-tab {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }

.pills-tab-left {
    flex: 1;
}

    .pills-tab-left > .nav-link {
        display: inline-block;
        margin-right: 8px;
    }

.esri-ui-top-left {
    position: relative;
}

.esri-ui-top-left, .esri-ui-bottom-left {
    width: 40%;
    left: 400px;
}

.esri-icon-non-visible::before {
    content: "\e610";
}

.esri-icon-visible::before {
    content: "\e611";
}

/* ESRI LAYERLIST EDIT */

/* Main items in the layer list */
.esri-layer-list {
    font-size: 20px;
}

/* Sub items in the layer list */
.esri-layer-list__item-container ~ .esri-layer-list__list {
    font-size: 16px;
}

.esri-layer-list__item-container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 3px 3px 3px 3px;
}

.esri-layer-list__item--has-children > .esri-layer-list__item-container {
    padding-left: 1px;
    padding-right: 1px;
}

.esri-layer-list {
    background-color: rgba(0, 0, 0, 0);
    color: white;
}

.esri-layer-list__item {
    background-color: rgba(0, 0, 0, 0);
    border: none;
}

.esri-layer-list__list .esri-layer-list__list--independent {
    padding-left: 15px;
}

.esri-layer-list__item--has-children {
    margin-left: -13px
}

.esri-popup__main-container {
    zoom: 1;
}

.esri-popup__header {
    padding-top: 0px;
    max-height: 0px;
}


.esri-component.esri-spinner {
    height: 100px;
    width: 100px;
}

#printDiv a {
    font-size: 16px;
}

.esri-layer-list__item-title {
    width: 288px;
}

.toggle-sidebar-button {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
}

    .toggle-sidebar-button.esri-widget--button {
        background: #303030;
    }

#sidebarToggleBtn {
    margin-right: 16px;
}

#mapToggleSidebarBtn {
    display: none;
}

    #mapToggleSidebarBtn.visible {
        display: inline-block;
    }

#sidebar.hidden {
    display: none;
}

.esri-ui-top-left.full, .esri-ui-bottom-left.full {
    left: 0;
}

.multZones {
    margin-bottom: 2px;
}



#firstClick.full {
    left: 15%;
}

#mobile-welcome-container {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    z-index: 999;
    background: rgba(0,0,0, 0.7);
}

#mobile-welcome-container--content {
    width: 75%;
}

.mobile-welcome-container--logo {
    width: 72px;
    margin-right: 4px;
}

.mobile-welcome-container--footer {
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media screen and (max-width: 768px) {
    #mobile-welcome-container {
        display: flex;
    }

    #firstClick {
        left: 25%;
    }

        #firstClick > img {
            width: 75%;
        }

    .toggle-sidebar-button {
        display: block;
    }

    #sidebar, .esri-view-user-storage,
    .esri-zoom, .esri-fullscreen,
    .esri-search__sources-button,
    .esri-ui-top-right.esri-ui-corner > div:nth-child(2),
    .esri-ui-top-right.esri-ui-corner > div:nth-child(3) {
        display: none;
    }

    #mapToggleSidebarBtn {
        display: inline-block;
    }

    #sidebar.visible, .esri-view-user-storage.visible {
        display: inline-block;
    }

    .esri-ui-top-left, .esri-ui-bottom-left {
        width: 95%;
        left: 0;
    }
}

@media screen and (max-width: 425px) {
    .esri-zoom, .esri-fullscreen {
        display: none;
    }

    .esri-ui-top-left, .esri-ui-bottom-left {
        width: calc(100% - 32px);
    }
}

#nav-tabContent a, a.nav-link {
    color: #245194;
    font-weight: bold;
    border-color: #245194;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link, .btn-primary {
    background-color: #245194;
    border-color: #245194;
}

    .btn-primary:hover, .btn-primary:active, .btn-primary:focus {
        background-color: #245194 !important;
        border-color: #245194;
    }

    .btn-primary:focus {
        border: none !important;
    }
