html,
body,
.container {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
}

.container {
    opacity: 1;
}

.overlayLoader {
    display: none;
    position: fixed;
    width: 200px;
    height: 100px;
    top: 54%;
    left: 44%;
    z-index: 10001;
    background: rgba(255, 255, 255, 0) url(../images/locGif.gif) center no-repeat;
}


/* Make spinner image visible when body element has the loading class */
body.loading .overlayLoader {
    display: block;
}



.app-header {
    height: 10%;
    width: 100%;
}

.map-div {
    height: 90%;
    width: 100%;
}

.app-logo {
    /* padding: 1%; */
    text-decoration: none;
    margin: 0;
    height: 60%;
    display: flex;
    align-content: stretch;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
}

.app-logo h5,
.app-logo h6 {
    margin: 0;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    height: 50%;
    line-height: 25px;
}

.app-logo h5 {
    color: #3f51b5;
}

.app-logo h6 {
    color: #36c1a5;
}

.app-nav {
    background-color: #0054A6;
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
    height: 40%;
}

.btn-primary {
    background-color: #3f51b5 !important;
    border: 1px solid #3f51b5 !important;
    color: #ffffff !important;
}

.app-nav-list {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    align-content: center;
    justify-content: center;
    margin: 0;
    height: 100%;
    width: 100%;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 0;
}

.app-nav-list>li:hover,
.app-nav-list>li:focus,
.app-nav-list>li a:hover {
    background-color: #07be9f;
}

.app-nav-list li a {
    color: #fff;
    text-decoration: none;
    padding: 4px 8px;
}


.app-nav-toggle {
    display: none;
}

.app-nav-toggle div {
    background-color: #fff;
    height: 3px;
    width: 90%;
}

.app-nav-labels {
    display: none;
    background-color: #FFF;
    margin: 10px 0;
    position: absolute;
    z-index: 1;
    padding: 4px;
    max-height: 300px;
}


.app-nav-labels ul {
    list-style-type: none;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 0;
    padding: 0 8px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

.app-nav-labels ul li {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
}

.app-nav-labels li label:nth-child(2) {
    width: 100%;
}

.coordinate-widget {
    padding: 4px;
    max-width: 50%;
}

/* 
    Thiis is for Popup table border
*/
table,
td,
th {
    border: 1px solid;
}

table {
    width: 100%;
    border-collapse: collapse;
}

/* Not Required
.app-nav-mobile-close {
    position: absolute;
    top: 47%;
    right: 0;
    font-size: 14px;
    border-radius: 8px;
    padding: 4px;
    color: #FFF;
    border: 2px solid #fff;
    z-index: 3;
}

.app-nav-mobile-close::after {
    content: "<<";
}

.app-nav-mobile {
    display: none;
}
*/

@media screen and (max-width: 991px) {
    .activate {
        display: block !important;
    }

    .overlayLoader {
        top: 44%;
        left: 28%;
    }

    .app-nav {
        display: none;
        position: fixed;
        top: 7%;
        left: 0;
        height: auto;
        width: 100%;
        z-index: 1;
    }

    .app-nav-toggle {
        display: flex;
        position: fixed;
        top: 1.35%;
        right: 1%;
        float: left;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        box-sizing: border-box;
        height: 30px;
        width: 30px;
        z-index: 1;
        background-color: #0054A6;
        padding: 3px;
    }

    .app-nav-list {
        flex-direction: column;
        justify-content: flex-start;
    }

    .app-nav-list>li {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .app-nav-list li {
        margin: 4px;
    }

    .app-nav-list li a {
        cursor: pointer;
    }

    .app-header {
        height: 7%;
    }

    .map-div {
        height: 93%;
    }

    .app-logo {
        height: 100%;
        padding: 2px;
    }

    .app-nav-toggle {
        display: flex;
    }

    .app-nav-labels {
        overflow-y: auto;
        margin: 2px 10px;
        position: relative;
        padding: 0;
        max-height: 150px;
    }

    .app-nav-open {
        transform: translateX(0);
    }

    .app-nav-close {
        transform: translateX(-100%);
    }

    .esri-popup__content * {
        height: 100%;
    }


    /* Not Required
    .container-mobile {
        opacity: 0.4;
    }
    .app-nav-mobile {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 70%;
        z-index: 2;
        background-color: #0054A6;
        transition: transform 0.3s ease-out;
        padding: 0 4px;
    }
    
    .app-logo-mobile {
        text-decoration: none;
        margin: 0;
        height: 10%;
        display: flex;
        align-content: stretch;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        flex-wrap: wrap;
    }
    
    .app-logo-mobile h5,
    .app-logo-mobile h6 {
        margin: 0;
        margin-block-start: 0;
        margin-block-end: 0;
        margin-inline-start: 0;
        margin-inline-end: 0;
        height: auto;
        font-size: 11px;
        padding: 5px;
    }
    
    .app-logo-mobile h5 {
        color: #ffffff;
    }
    
    .app-logo-mobile h6 {
        color: #36c1a5;
    }
    */
}

@media screen and (max-height: 600px) {
    .app-header {
        height: 14%;
    }

    .app-nav {
        top: 14%;
        max-height: 40%;
        overflow-y: auto;
    }

    .map-div {
        height: 86%;
    }

    .app-logo h5,
    .app-logo h6 {
        line-height: 17px;
    }

    .app-nav-labels {
        max-height: 100px;
    }

    .esri-popup__main-container {
        max-height: 150px !important;
        overflow-y: auto;
    }
}


/* Style the tab */
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #07be9f;
    border-radius: 4px;
    width: 100%;
}

/* Style the buttons inside the tab */
.tab button {
    background-color: inherit;
    color: white;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 15px;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: #ddd;
}

/* Style the tab content */
/* Added margin-bottom to view all data when showing sales ratio table */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
    margin-bottom: 50px;
}


/* Basemap Toggle */
.esri-basemap-toggle__container {
    border: 1px solid #0054a6;
}

.esri-basemap-thumbnail__title {
    font-size: 10px;
    color: #0054a6;
}

.esri-basemap-thumbnail__image {
    background-image: none;
}

.esri-basemap-toggle__image-overlay {
    align-items: center;
}

.esri-widget--button {
    width: 45px
}

.esri-locate {
    height: auto;
    width: auto;
    max-width: 70px;
}

.esri-locate span {
    display: none;
}

.esri-popup__feature-menu {
    margin: 6px 0 20px 0;
}