/*
 * The MIT License (MIT)
 *
 * Copyright (c) 2016-2017 Dan "Ducky" Little
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

@import 'tabs.css';
@import 'grid.css';

body {
    font-family: sans-serif;
    font-size: .80em;
   font-color: white;
}

#tabs, #map, #results-grid{
    position: absolute;
    top: 100px; left: 0;
    font-family: sans-serif;
    font-color: white;

}


#map, #results-grid {
    overflow: auto;
}

#map {
    bottom: 20px;
    border-left: solid black 1px;
}

#header {
    top: 0; left: 0;
    width: 100%;
   border-top: solid black 3px;
    position: absolute;
    /*
    border-bottom: solid 1px black;
    */
    border-bottom: solid 1px white;
    /* Fondo del título
    background-color: #eee;*/
    background-color: #1c4093;

    height: 100px;
}

#header img {
     display: inline-block;
      margin: 0px;
    height: 100px;
}
img.izquierda1 {

 float: left;
padding-left: 10px;
padding-right: 10px;


}

img.izquierda2 {

 float: left;
padding-left: 10px;
padding-right: 10px;


}
img.derecha {

  float: right;
padding-right: 0px;

}

h1.tituloprincipal{

margin: 0px;
color: white; 
font-family: sans-serif; 
font-size:25px; 
font-weight: 25; 
}

h2.subtituloprincipal{

margin: 0px;
color: white; 
font-family: sans-serif; 
font-size:22px; 
font-weight: 25; 
}

#tabs {
    bottom: 20px;
    border-top: solid 3px black;
}


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

#results-grid {
    z-index: 100;
    bottom: 20px; top: auto;
    background-color: #eee;
}

#footer {
    position: absolute;
    bottom: 0;
    height: 20px;
    left: 0; width: 100%;
    border-top: solid 3px black;
    overflow: hidden;
}

#version {
    float: left;
    width: 5%;

    padding-left: 20px;
    background-image: url(logo-mini.png);
    background-repeat: no-repeat;
    background-position: 2px 1px;

    padding-top: 1px;
}

#text-display {
    float: left;
    width: 45%;
    text-align: left;
    overflow: hidden;
}


#coordinate-display {
    float: left;
    width: 35%;
    text-align: left;
    padding-left: 3px;
    overflow: hidden;
}

#jump-to-extent {
    float: right;
    width: 10%;
}

#map, #results-grid {
    right: 0;
}

.tabs-closed #tabs {
    width: 20px;
}

.tabs-closed #map, .tabs-closed #results-grid {
    left: 20px;
}


/* 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 {
        width: 220px;
    }

    #map, #results-grid {
        left: 220px;
    }
}

@media screen and (min-width: 500px) {
    #tabs {
        width: 350px;
    }

    #map, #results-grid {
        left: 350px;
    }
}

.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;
}

/* ------------------- AGREGADOS PARA CAMBIAR EL COLOR A LA PAGINA WEB -------------------*/
#toolbar span{
     /* color: #eee; */
     color: white;
    text-decoration-line: none;
   font-size: 1.10em;
}

#header a ,div{
    margin: 0 0 5px 0;
    text-decoration-line: none;
}


.drawer-contents{
    background-color: #1c4093 !important;
}

.legend-images{
    color: #efefef !important;
}