

@import 'normalize.css';
@import 'tabs.css';
@import 'grid.css';

body {
    font-family: sans-serif;
}

#main {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#header {
    border-bottom: solid 1px black;
   /* background-color: #eee; 
	background-color: #2f5b72;*/
	background-color: #1C353B;
}

#middle {
    display: flex;
    flex: 7;
}

#footer {
    border-top: solid 1px black;
    display: flex;
    align-items: center;
    padding: 5px;
	/* background-color: #eee; 
	background-color: #2f5b72; */
	background-color: #1C353B;
}

#tabs {
    position: relative;
    min-width: 350px;
    transition: min-width ease 500ms;
}

#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;
}

.tabs-closed #tabs {
    width: 0px;
    min-width: 0px;
}


/* 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 screen and (min-width: 500px) {
    #tabs {
        min-width: 350px;
    }

    .tab-toggler {
        left: 348px;
    }
}

.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;
}
