﻿
@import url("./normalize.css");
@import url("./tabs.css");
@import url("./grid.css");

body {
    font-family: sans-serif;
}

#main_geo {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 12.9%;
    left: 0;
    width: 100%;
    height: 87%;
}


/* When header is collapsed */
body.header-collapsed #main_geo {
    top: 0%;
    height: 100%;
}
#header {
    border-bottom: solid 1px black;
    background-color: #eee;
}

#middle {
    display: flex;
    flex: 7;
}

#footer {
    border-top: solid 1px black;
    display: flex;
    align-items: center;
    padding: 5px;
}



#map-pane {
    flex: 1;
    border-left: solid black 1px;
    flex-direction: column;
    display: flex;
}

#map-container {
    flex: 1;
    position: relative;
}

#header img {
    display: inline;
}

#map .map {
    position: absolute;
    top:0; left:0;
    width: 100%;
    height: 100%;
}

#version {
    padding-left: 20px;
/*    background-image: url(logo-mini.png);*/
    background-repeat: no-repeat;
    background-position: 2px 1px;
    padding-top: 1px;
}

#coordinate-display {
    flex: 1;
    text-align: center;
    overflow: hidden;
}

#jump-to-extent {
    text-align: right;
}

#jump-to-extent select {
    margin: auto;
}



/* This is the main "layout" code that handles the split
 * between the map, grid, and tabs.
 */
@media screen and (max-width: 500px) {
    body {
        font-size: 60%;
    }

    #tabs {
        min-width: 220px;
    }

/*    .tab-toggler {
        left: 218px;
    }*/

}



@media (min-width: 577px) and (max-width: 991px) {

    #tabs {
        min-width: 250px;
    }

    #map-pane {
        flex: 2;
    }

    #main_geo {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 13.9%;
        left: 0;
        width: 100%;
        height: 87%;
    }
}

/* 💻 Small Desktops */
@media (min-width: 992px) and (max-width: 1199px) {

    #tabs {
        min-width: 320px;
    }
    #main_geo {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 12%;
        left: 0;
        width: 100%;
        height: 87%;
    }
}

/* 🖥 Large Screens */
@media (min-width: 1150px) and (max-width: 1499px) {

    #tabs {
        min-width: 350px;
    }

    body {
        font-size: 16px;
    }

    #main_geo {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 14%;
        left: 0;
        width: 100%;
        height: 87%;
    }
}


.feature-class {
    background-color: #CFE7B3;
    padding: 2px;
    font-weight: bold;
    margin-top: 5px;
}

/* Example of how to add CSS for a specific layer's
 * identify results.
 */
.feature-class.pipelines {
    background-color: #4894ff;
}

.search-address {
    font-size: .85em;
    padding-left: 1em;
}
