﻿/* Componente de busquedas por toponimos del IGN */

.apiIgn-busquedasIGN {
    /*
    width: 350px;
    border: 0px solid black;
    border-bottom: 1px solid black;
    font-family: 'Roboto', 'Noto', sans-serif;
    margin-bottom: 10px;
        */
    /*
    width: 100%;
    height: 34px;
    border: 0px solid black;
    border-bottom: 1px solid black;
    font-family: 'Roboto', 'Noto', sans-serif;
        */
    font-family: 'Roboto', 'Noto', sans-serif;
    border: 0px solid black;
    width: 98%;
    height: 34px;
    font-size: 95%;
}

.apiIgn-busquedasIGN:focus {
    outline-width: 0;
    /*
    border-bottom: 2px solid #3f51b5;
        */
}

.label-ignSearch {
    color: #737373;
    font-size: 12px;
    margin-left: 5px;
    /*margin-bottom: 7px;*/
}

.ui-autocomplete {
    width: 300px;
    max-height: 300px;
    overflow-y: auto;
    font-family: 'Roboto', 'Noto', sans-serif;
    border: 0px;
    border-radius: 2px;
    -webkit-box-shadow: 0px 1px 5px 0px rgba(50, 50, 50, 0.7);
    -moz-box-shadow: 0px 1px 5px 0px rgba(50, 50, 50, 0.7);
    box-shadow: 0px 1px 5px 0px rgba(50, 50, 50, 0.7);
}

.ui-menu-item {
    font-size: 14px;
    font-family: 'Roboto', 'Noto', sans-serif;
}

#centerCross{
    background: url(../images/cruz.png);
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
}

/*Recuadro con el borde del color de las capas vectoriales cargadas*/
.colorInfoLayer {
    line-height: 10px;
    vertical-align: middle;
    border: 2px;
    margin: 4px;
    padding-right: 4px;
    padding-left: 4px;
    border-radius: 3px;
    border-color: rgba(30, 30, 230, 1);
    border-style: solid;
    border-width: 2px;
    display: none;
}


/*Estilos profile*/
.titleProfileCanvas {
    width: 100% !important;
    text-align: center !important;
}
/*fin Estilos profile*/

/* Se sobreescribe paper-item para dar compatibilidad en IE */
paper-item {
    padding: 12px 16px 12px 16px;
}

paper-item-body {
    /*min-width: 250px;*/
}

.title {
    font-size: 12px;
}

#loadingGif {
    position: absolute; /* forces the element to stay fixed in relation to the viewport */
    top: 50%; /* sets the top of the image 50% of the page height */
    left: 50%; /* sets the left side of the image 50% across the page */
    z-index: 1000;
}

.big {
    --iron-icon-height: 32px;
    --iron-icon-width: 32px;
}

/* Estilos para paper-components */
paper-menu {
    max-height: 430px;
    max-width: 300px;
    overflow-y: auto;
}

/* ESTILOS NORMALES (para móviles en vertical) */
html, body {
    font-family: 'Roboto', sans-serif;
    width: 100%;
    height: 100%;
    margin: 0px;
    overflow-x: hidden;
    overflow-y: hidden;
    background-color: rgba(192, 192, 192,1);
}

/* Estilos layerswitcher */
.buttonUpLayer, .buttonDownLayer {
    margin: 0 -3px 0 -3px;
    visibility: hidden;
    opacity: .5;
}

.infoLayer {
    border: 1px solid #D8D8D8;
    border-radius: 3px;
    padding: 10px 5px 0px 10px;
    margin: 0 0 0 10px;
    max-height: 25px !important;
    max-width: 235px;
}

paper-slider {
    /*
    margin: -23px 0 0 50px;
    width: 150px;
    */
}

.buttonRemove {
    margin: -50px 0 0 210px;
    opacity: .5;
}

    .buttonRemove:hover {
        opacity: 1;
    }

.buttonDownLayer:hover, .buttonUpLayer:hover {
    opacity: 1;
}

.idTitle {
    cursor: pointer;
}
/* Fin Estilos layerswitcher */

.primaryColor {
    background-color: #0D47A1;
}

.shadow {
    -webkit-box-shadow: 0px 1px 5px 0px rgba(50, 50, 50, 0.7);
    -moz-box-shadow: 0px 1px 5px 0px rgba(50, 50, 50, 0.7);
    box-shadow: 0px 1px 5px 0px rgba(50, 50, 50, 0.7);
}

#menuToolbar {
    border-bottom: 1px solid white;
}

.showMenuToolbar {
}

.hiddenMenuToolbar {
    display: none;
}

.hiddenIconMobile {
    visibility: hidden;
}

.map {
    position: relative;
    height: calc(100% - 40px);
    /*cursor: url(../cur/Navigation.cur), auto;*/
}

    .map > .layerswitcher {
        position: absolute;
        bottom: 8px;
        right: 10px;
        z-index: 1000;
    }

/* split-screen*/

.splitScreen {
    width: calc(50% - 3px);
    height: calc(100% - 0px);
    float: left;
    border-right: 3px solid black;
}


.splitScreenAux {
    width: calc(50% - 1px);
    height: calc(100% + 66px);
    float: left;
}

#ign-map2 {
    height: calc(100% - 66px);
}

    /*
            .paper-slider-0 #sliderKnobInner.paper-slider {
                    margin-left: -20px;
            }
            .paper-slider-0 #sliderBar.paper-slider {
                width:80%;
            }
    */
    /*Oculta los botones de zoom d*/

    /*


    .splitScreenAux .ol-zoom {
    top: .5em;
    right: .5em;
    
    overflow: hidden;
}
     .splitScreenAux .ol-zoom .ol-zoom-out {
        display: none;
    }

    .splitScreenAux .ol-zoom .ol-zoom-in {
         display: none;
    }

    .splitScreenAux #badgeZoomLevel{
          display: none;
    }
    
*/
    .splitScreenAux .ol-zoom .ol-zoom-in {
        top: 0.5em;
        right: 0.5em;
        left: auto;
    }

    .splitScreenAux.ol-zoom .ol-zoom-out {
        top: 0.5em;
        right: 0.5em;
        left: auto;
    }


.hiddenOverviewmap {
    display: none;
}

/* RESPONSIVE */
/* Móviles en horizontal o tablets en vertical */
@media (min-width: 768px) {
    .hiddenIconMobile {
        visibility: visible;
    }
}

/*Tablets en horizonal y escritorios normales */
@media (min-width: 1024px) {
}

/* Escritorios muy anchos */
@media (min-width: 1200px) {
}

/*/* Ventana Modal de Inicio*/
/*
#modal {
    position: absolute;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    z-index: 500;
    filter: alpha(opacity=50);
    opacity: 0.8;
    -moz-opacity: 0.8;
    -webkit-opacity: 0.8;
    -o-opacity: 0.8;
    -ms-opacity: 0.8;
    background-color: #808080;
    left: 0;
    top: 0;
    overflow: auto;
}

.contenedor {
    width: 300px;
    background: #fff;
    position: relative;
    margin: 5% auto;
    padding: 20px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    -webkit-box-shadow: 0 3px 20px rgba(0,0,0,0.9);
    -moz-box-shadow: 0 3px 20px rgba(0,0,0,0.9);
    box-shadow: 0 3px 20px rgba(0,0,0,0.9);
    background: -moz-linear-gradient(#fff, #ccc);
    background: -webkit-gradient(linear, right bottom, right top, color-stop(1, rgb(255,255,255)), color-stop(0.57, rgb(230,230,230)));
    text-shadow: 0 1px 0 #fff;
}

    .contenedor h2 {
        font-size: 36px;
        padding: 0 0 20px;
    }

    .contenedor a[href="#close"] {
        position: absolute;
        right: 0;
        top: 0;
        color: transparent;
    }

        .contenedor a[href="#close"]:focus {
            outline: none;
        }

        .contenedor a[href="#close"]:after {
            content: 'X';
            display: block;
            position: absolute;
            right: -10px;
            top: -10px;
            width: 1.5em;
            padding: 1px 1px 1px 2px;
            text-decoration: none;
            text-shadow: none;
            text-align: center;
            font-weight: bold;
            background: #000;
            color: #fff;
            border: 3px solid #fff;
            -moz-border-radius: 20px;
            border-radius: 20px;
            -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
            -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
            box-shadow: 0 1px 3px rgba(0,0,0,0.5);
        }

        .contenedor a[href="#close"]:focus:after,
        .contenedor a[href="#close"]:hover:after {
            -webkit-transform: scale(1.1,1.1);
            -moz-transform: scale(1.1,1.1);
        }

    */
/* MEASURE-TOOL*/

#idtooltipmeasure {
    background-color: white;
    margin: 5px;
    border-radius: 3px;
    font-size: 14px;
    height: 20px;
    text-align: center;
}


/*
  .tooltip {
        position: relative;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 4px;
        color: white;
        padding: 0px;
        opacity: 1;
        white-space: nowrap;
        font-size:14px;
        padding:2px 2px 2px 2px;
      }
      .tooltip-measure {
        opacity: 1;
        font-weight: bold;
      }
      .tooltip-static {
        background-color: white;
        color: black;
        border: 1px solid white;
      }
      .tooltip-measure:before,
      .tooltip-static:before {
        /*border-top: 6px solid rgba(0, 0, 0, 0.5);*/ /*
        border-right: 6px solid transparent;
        border-left: 6px solid transparent;
        content: "";
        padding:2px;
        position: absolute;
        bottom: -6px;
        margin-left: -7px;
        left: 50%;
      }
      .tooltip-static:before {
        border-top-color: white;
        
      }  
*/
/*

 /* map-controls-styles*/
.ol-control button {
    font-family: 'Roboto', sans-serif;
    background-color: white;
    color: black;
}

.ol-zoom .ol-zoom-in {
    -webkit-box-shadow: 0px 1px 5px 0px rgba(50, 50, 50, .7);
    -moz-box-shadow: 0px 1px 5px 0px rgba(50, 50, 50, .7);
    box-shadow: 0px 1px 5px 0px rgba(50, 50, 50, .7);
}

.ol-zoom .ol-zoom-out {
    -webkit-box-shadow: 0px 1px 5px 0px rgba(50, 50, 50, .7);
    -moz-box-shadow: 0px 1px 5px 0px rgba(50, 50, 50, .7);
    box-shadow: 0px 1px 5px 0px rgba(50, 50, 50, .7);
}

.ol-control button:hover {
    background-color: white;
    color: grey;
}

.ol-control button:focus {
    background-color: white;
    color: grey;
}


.ol-control {
    background-color: transparent;
    border-radius: 0;
}

    .ol-control:hover {
        background-color: transparent;
    }

.ol-zoom .ol-zoom-out {
    background-color: white;
    color: black;
}

.ol-zoom .ol-zoom-in {
    background-color: white;
    color: black;
}

.ol-zoomslider {
    display: none;
}

.ol-overviewmap {
    background: white !important;
    border-radius: 3px;
    -webkit-box-shadow: 0px 1px 5px 0px rgba(50, 50, 50, .7);
    -moz-box-shadow: 0px 1px 5px 0px rgba(50, 50, 50, .7);
    box-shadow: 0px 1px 5px 0px rgba(50, 50, 50, .7);
}

.ol-custom-overviewmap .ol-overviewmap-box {
    border: 2px solid red;
    box-sizing: border-box;
}

.ol-overviewmap-box-min-zoom {
    border: 3px none red !important;
}

#imgReplaceZoom {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 100;
}

@media screen and (min-width: 1px) and (max-width:480px) {
    .ol-overviewmap, .ol-custom-overviewmap, .ol-zoom, #badgeZoomLevel, #contentInfoCoord {
        display: none;
    }
}