/* Base layout styles */
.thisBody {
    padding: 0;
    margin: 0;
}

/* Main layout containers */
.Parentrow {
    display: flex;
    flex-direction: row;
}

/* Left navigation panel */
.left-nav-bar {
    height: 100vh;
    width: 427px;
    box-shadow: 0px 1px 5px 0px #0000006e;
    z-index: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.nav-bar-wrapper {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 14px 10px;
}

/* Map container */
.map-col {
    width: calc(100vw - 427px) !important;
}

#map {
    z-index: 0;
    top: 0px;
    width: 100%;
    height: 100%;
}

/* Sidebar containers */
.container.extra-info-container,
.school-results-wrapper.container {
    height: auto;
    margin-bottom: 15px;
}

/* Loading elements */
.map-loader {
    z-index: 1;
    position: absolute;
    width: calc(100vw);
}

.loaderContainer {
    margin: 0;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loader {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Responsive layouts */
@media screen and (min-width: 500px) {
    .Parentrow {
        flex-wrap: nowrap;
    }
    
    .map-col {
        height: 100vh !important;
        width: calc(100vw - 427px) !important;
    }
    
    .left-nav-bar {
        height: 100vh !important;
        width: 427px;
    }
    
    .map-loader {
        height: 100vh;
        position: absolute;
        width: calc(100vw - 427px);
    }
    
    .Splash-container {
        height: 100vh;
        width: calc(100vw - 427px);
    }
    
    .geocoder-container {
        display: flex !important;
    }
    
    /* Removed #The_LayerHamburger styles */
}

@media screen and (max-width: 500px) {
    .Parentrow {
        flex-wrap: wrap;
    }
    
    .Splash-container {
        height: 50vh;
        width: 100vw;
    }
    
    .map-loader {
        height: 50vh;
        position: relative;
    }
    
    .map-col {
        height: 50vh;
        width: 100vw !important;
    }
    
    .left-nav-bar {
        height: 50vh;
        width: 100vw !important;
    }
    
    .collapseButtonContainer {
        display: none !important;
    }
    
    .collapseButtonContainerTop {
        display: block !important;
        left: calc(50% - 10px);
        top: calc(50%);
        position: absolute;
        z-index: 65;
    }
    
    
}


