.popup-panel{
    border: 0;
    border-radius: 10px;
}

#popup-panel-bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.5;
    z-index: 50;
}

.popup-panel .close{
    position: relative;
    margin-right: 8px;
    margin-top: 4px;
    z-index: 100;
}

#menuConsulta .close{
    margin-right: 5px;
}

.popup-panel .title{
    color: #316090;
    font-size: 18px;
    text-align: center;
    font-weight: 600;
    text-transform: none;
    position: relative;
    margin: 0px 0 0 0;
    padding: 15px;
    line-height: 40px;
    display: block;
}

/* #opcionesBancoImagenes{
  background-color: #1C3A5C;
} */

div#controles-buscar-img.icono-menu-principal-mapa > span {
    background-position: -201px -411px;
    width: 41px;
    height: 40px;
}

div#controles-buscar-img.icono-menu-principal-mapa > span:hover {
    background-position: -132px -411px;
    width: 41px;
    height: 40px;
}

.btn-naranja{
    background-color: #FF6900 !important;
    color: #fff;
    border-radius: 0;
    padding: 0.5rem;
    border: 1px solid #ED5000 !important;
    text-decoration: none;
}

.btn-off{
    background: #E5E5E5 !important;
    color: #666;
    border-radius: 0;
    padding: 0.5rem;
    border: 1px solid #DDD !important;
    text-decoration: none;
}

.btn-naranja:hover{
    background-color: #FF8835;
    color: #fff;
    text-decoration: none;
}

.btn-icon{
    display: flex;
    align-items: center;
}

.btn-listapanel{
    margin-top: 5px;
    margin-bottom: 5px;
    text-align: left;
}

.btn-naranja .avf{
    font-size: 2rem;
    margin-right: 0.25rem;
}

.btn-full{
    width: 100%;
}

.popup-panel .select2-selection__rendered{
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

#instruccion-input{
    padding: 1rem 0.5rem;
    background-color: #E5E5E5;
    margin-bottom: 1rem;
}

#opciones-input>div:first-child{
    padding-right: 0;
}

#opciones-input>div:last-child{
    padding-left: 0;
}

#panelTablaConsulta {
    width: 800px;
    overflow: auto;
}

#tableConsultaBancoImagenes {
    width: 100%;
    border-spacing: 25px 5px;
}

#tableConsultaBancoImagenes td {
    padding: 10px;
}

#tableConsultaBancoImagenes th {
    padding: 25px;
}

.dataTables_wrapper .dataTables_paginate {
    margin-top: 10px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    margin-right: 5px;
}


div.controles-ubicacionnomenclator{
    display: none;
    position: relative;
    top: 0.5vh;
    left: 0.5vh;
    /* background: #fff;
    width: 241px;
    height: 24px;
    z-index: 100;
    box-shadow: 1px 1px 10px #000 !important;
    border: 1px solid;
    padding: 7px 5px; */
}
div.controles-ubicacionnomenclator select{
    width: 200px;
}



select#controles-ubicacionnomenclator-source {
    position: relative;
    width: 200px;
}

div.buscador-nomenclator-source > label {
    background: #fff;
}

.ol-geocoder.gcd-gl-container {
    background: #ffffff00;
    display: block;
    width: 223px;
    height: 33px;
    box-shadow: 1px 1px 10px #000;
    top: 9em;
}

.ol-geocoder.gcd-gl-container:hover{
    background: #fff;
}

.ol-geocoder .gcd-gl-control {

    width: 25.625em;

}

/** Popup **/
.ol-popup {
    position: absolute;
    background-color: white;
    -webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 300px;
    display: none;
}
.ol-popup:after, .ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}
.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}
.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 5px;
}
.ol-popup-closer:after {
    content: "✖";
}


#popup-clicderecho911, #popup-rutaactual{
    display: none;
}
div#buscador-rutas-holder {
    display: block;
    background: #fff;
    width: 400px;
    height: auto;
    float: right;
    right: 17%;
    position: relative;
    top: 8px;
    overflow: hidden;
}
div#buscador-rutas-holder > *{
    margin: 0 ;

}
div#buscador-rutas-holder > h2{
    margin: 5px 10px;
}

#buscador-rutas-holder .acordeon-generico{
  right: 34px;
}

#buscador-rutas-holder .acordeon-generico{
  display: none;
}

#buscador-rutas-holder .controles-cerrar{
  display: none;
}

div.buscador-rutas-bloque{
    margin-left: 15px !important;
}
div#buscador-rutas-resultados{
    height: 200px;
}
div#buscador-rutas-resultados-lista{
    height: 150px;
    overflow: auto;
}
div#buscador-rutas-resultados-lista{
    background: #e6e5e5;
}
div.buscador-rutas-resultados-listaelemento{
    width: 100%;
    min-height: 50px;
    padding: 10px 15px;
    background:#fff;
    margin-bottom: 3px;
}
div.buscador-rutas-resultados-listaelemento:hover{
    background-color:#ccc;
}
span.rutas-resultado-dato.rutas-resultado-description {
    padding: 10px 5px;
}

button.btn.btn-info.buscador-rutas-buscar, button.dato-coord-copiarbtn {
    /* width: 80%;
    margin: 15px 10%; */
    background-color: #274F7B;
}



.dato-coord-copiarbtn,
.dato-zona-copiarbtn,
.dato-codigoDTA-copiarbtn{
    padding: 5px;
    font-size: 30px;
}


div#popup-clicderecho911-content, div#popup-rutaactual-content{
    font-size: 15px;
}

div#popup-clicderecho911-content div.titulo{
    font-weight: bold;
}

#buscador-rutas-header{
    margin-bottom: 10px;
}

.bold{
    font-weight: bold;
}

div#popup {
    display: none;
}





/*!
 * ol3-geocoder - v2.5.0
 * A geocoder extension for OpenLayers.
 * https://github.com/jonataswalker/ol3-geocoder
 * Built: Tue Feb 21 2017 08:59:32 GMT-0300 (BRT)
 */
.ol-geocoder.gcd-gl-container {
    position: absolute;
    top: 4.875em;
    left: .5em;
    box-sizing: border-box; }
.ol-geocoder.gcd-gl-container *,
.ol-geocoder.gcd-gl-container *::before,
.ol-geocoder.gcd-gl-container *::after {
    box-sizing: content-box;
}
.ol-geocoder .gcd-gl-control {
    width: 2.1875em;
    height: 2.1875em;
    width: 15.625em;
    height: 2.1875em;
    overflow: hidden;
    -webkit-transition: width 200ms, height 200ms;
    transition: width 200ms, height 200ms; }
.ol-geocoder .gcd-gl-expanded {
    width: 15.625em;
    height: 2.1875em; }
.ol-geocoder .gcd-gl-input {
    position: absolute;
    z-index: 99;
    top: 0.25em;
    left: 2.5em;
    width: 14.84375em;
    padding: 5px;
    border: 1px solid #ccc;
    font-family: inherit;
    font-size: 0.875em;
    background-color: #fff;
    color: #222; }
.ol-geocoder .gcd-gl-input:focus {
    border: none;
    outline: none;
    box-shadow: inset 0 0 0 1px #4d90fe, inset 0 0 5px #4d90fe; }
.ol-geocoder .gcd-gl-reset {
    position: absolute;
    z-index: 100;
    top: 0;
    right: 0;
    width: 1.5625em;
    height: 100%;
    line-height: 1.4;
    border: none;
    background-color: transparent;
    display: inline-block;
    outline: 0;
    cursor: pointer; }
.ol-geocoder .gcd-gl-reset::after {
    content: "\d7";
    display: inline-block;
    color: #333;
    font-size: 1.5em;
    cursor: pointer; }
.ol-geocoder .gcd-gl-btn {
    background-color: rgba(0,60,136,.7) !important;
    position: absolute;
    width: 1.5625em;
    height: 1.5625em;
    top: 0.125em;
    left: 0.125em;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAABPUlEQVQoU41SwXHCQAzUHh58eoUOIBWEDkI6oAToIKkg7iAuwakgpAIowXRACcnrzp6BzchjMx4wE/S6kW5XK60gvQghzJIkmVoqSZI9gJ9+/fINS5Cc1HX9QXIlIr/tpwcRyb33b7cIGnAIYQdg4pxbjcfj0nJ1Xc+Px+PGObdN03Q9RIAQwgpAnqbp7FKmjQGgJLlU1d2V7BjjRkQO3vvXIXarkyxVNbsCm2QR2Q0V7XOMMReRmfd+OQQubN6hYgs22ZtbnRcAtiRfLueqqmpJ8ovko6oeBq0KIWQA3gFkzrlmMafTaUEyI/mpqmbhVTRWWbRdbClPbeobQNES5KPRqOxs7DBn8K1DsAOKMZYApiTXqlrcDe4d0XN7jWeCfzt351tVle2iGalTcBd4gGDvvZ/fDe4RmCOFLe8Pr7mvEP2N9PQAAAAASUVORK5CYII=");
    background-repeat: no-repeat;
    background-position: center center; }
.ol-geocoder ul.gcd-gl-result {
    position: absolute;
    top: 2.1875em;
    left: 2em;
    width: 22.25em;
    max-height: 25.75em;
    white-space: normal;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: white;
    border-radius: 4px;
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    overflow-x: hidden;
    overflow-y: auto;
    box-shadow: 0 1px 7px rgba(0, 0, 0, 0.8);
    -webkit-transition: max-height 300ms ease-in;
    transition: max-height 300ms ease-in;
    opacity: 0.9;
    z-index: 1;
}
.ol-geocoder ul.gcd-gl-result > li {
    width: 100%;
    overflow: hidden;
    border-bottom: 3px solid #8a9aae;
    padding: 2px 5px;
    line-height: 0.875rem;
    cursor: pointer;
}
.ol-geocoder ul.gcd-gl-result > li > a {
    display: block;
    text-decoration: none;
    padding: 3px 5px; }
.ol-geocoder ul.gcd-gl-result > li a br{
    display: none;
}
.ol-geocoder ul.gcd-gl-result > li a span{
    clear: both;
    display: block;
    margin-bottom: 1px;
}
.ol-geocoder ul.gcd-gl-result > li > a:hover {
    background-color: #d4d4d4; }
.ol-geocoder ul.gcd-gl-result > li {
    background-color: #cfd7de;
    color: #2d5a87;
}
.ol-geocoder.gcd-txt-container {
    position: absolute;
    width: 25em;
    height: 4.375em;
    top: .5em;
    left: calc(50% - 12.5em);
    box-sizing: border-box; }
.ol-geocoder.gcd-txt-container *,
.ol-geocoder.gcd-txt-container *::before,
.ol-geocoder.gcd-txt-container *::after {
    box-sizing: inherit; }
.ol-geocoder .gcd-txt-control {
    position: relative;
    width: 100%;
    height: 4.375em;
    border: 1px solid #ccc;
    background-color: #fff;
    overflow: hidden; }
.ol-geocoder .gcd-txt-input {
    position: absolute;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 5px 30px 5px 40px;
    border: none;
    text-indent: 6px;
    background-color: transparent;
    font-family: inherit;
    font-size: 0.875em; }
.ol-geocoder .gcd-txt-input:focus {
    outline: none;
    box-shadow: inset 0 0 0 1px #4d90fe, inset 0 0 6px #4d90fe; }
.ol-geocoder .gcd-txt-reset {
    position: absolute;
    z-index: 100;
    top: 0;
    right: 0;
    width: 2.5em;
    height: 100%;
    line-height: 100%;
    border: none;
    background-color: transparent;
    display: inline-block;
    vertical-align: middle;
    outline: 0;
    cursor: pointer; }
.ol-geocoder .gcd-txt-reset::after {
    content: "\d7";
    display: inline-block;
    color: #333;
    font-size: 2em;
    cursor: pointer; }
.ol-geocoder .gcd-txt-glass {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    display: inline-block;
    width: 2.5em;
    height: 100%;
    background-size: 1.38889em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath fill='%23333' d='M29.156 29.961l-.709.709a2.006 2.006 0 0 1-2.838 0l-5.676-5.674c-.656-.658-.729-1.644-.281-2.412l-3.104-3.102a9.975 9.975 0 0 1-5.965 1.979C5.043 21.461.552 16.97.552 11.43S5.043 1.398 10.583 1.398c5.541 0 10.031 4.491 10.031 10.032 0 2.579-.98 4.923-2.58 6.7l3.035 3.035c.768-.447 1.754-.375 2.41.283l5.676 5.674c.784.785.784 2.056.001 2.839zM18.088 11.389c0-4.155-3.369-7.523-7.524-7.523a7.523 7.523 0 1 0-.001 15.046 7.525 7.525 0 0 0 7.525-7.523z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center; }
.ol-geocoder ul.gcd-txt-result {
    position: absolute;
    top: 4.575em;
    left: 0;
    width: 25em;
    max-height: 18.75em;
    white-space: normal;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: white;
    border-radius: 4px;
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    overflow-x: hidden;
    overflow-y: auto;
    box-shadow: 0 1px 7px rgba(0, 0, 0, 0.8);
    -webkit-transition: max-height 300ms ease-in;
    transition: max-height 300ms ease-in; }
.ol-geocoder ul.gcd-txt-result > li {
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid #eee;
    padding: 0;
    line-height: 0.875rem; }
.ol-geocoder ul.gcd-txt-result > li > a {
    display: block;
    text-decoration: none;
    padding: 3px 5px; }
.ol-geocoder ul.gcd-txt-result > li > a:hover {
    background-color: #d4d4d4; }
.ol-geocoder ul.gcd-txt-result > li:nth-child(odd) {
    background-color: #e0ffe0; }
.ol-geocoder .gcd-hidden {
    opacity: 0;
    visibility: hidden; }
.ol-geocoder .gcd-pseudo-rotate::after {
    -webkit-animation: spin .7s linear infinite;
    animation: spin .7s linear infinite; }
@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg); }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg); } }
@keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg); }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg); } }
.gcd-road {
    font-size: 0.875em;
    font-weight: 500;
    color: #000; }
.gcd-city {
    font-size: 0.75em;
    font-weight: normal;
    color: #000; }
.gcd-country {
    font-size: 13px;
    font-weight: lighter;
}


span.nombre-oficial {
    font-size: 13px;
    font-weight: bold;
}

span.nombre-objeto {
    font-size: 12px;
}

span.info-n2 {
    font-size: 11px;
}

.gcd-gl-result a {
    color: #2d5a87 !important;
}

span.info-pcd {
    font-size: 12px;
    font-weight: bold;
}

span.info-coordenadas {
    font-size: 11px;
    font-weight: bold;
}
span.info-fuente {
    font-size: 11px;
    font-weight: bold;
}




.controles-ubicacionnomenclator {
    float: none;
    clear: both;
    display: block;
    max-height: 150px;
    min-height: 50px;
}

.ol-geocoder.gcd-gl-container {
    top: 0;
}
.gcd-gl-result li.selected{
    background: #f0ffff !important;
    border-color: #7a8aa8;
    border-style: outset;
}


.boton-visualizaciones{
    font-size: 30px;
    color:rgb(39,79,123);
    position: absolute;
}

.boton-visualizaciones-style {
    background-color: rgb(39,79,123);
    position: absolute;
    width: 39px;
    height: 39px;
    border: none;
    border-radius: 2%;
    opacity: 0;
}


.boton-visualizaciones-square-div{
    position: relative;
    width: 45px;
    height: 45px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    z-index: 101;
    transform: translateY(17px);
}

.rectangle {
    display: inline-flex;
    align-items: center;
    background-color: white;
    border: 1px solid grey;
    padding: 5px;
    position: relative;
    opacity: 0;
    transition: margin-left 0.7s ease-out, opacity 0.7s ease-out;
    transform: translateY(40px);
}

.rectangle-visible{
    margin-left: 22px;
    opacity: 1;
}

.icon-span {
    margin-left: 5px;
    position: relative;
}

.rutas-resultado-colorbox{
    display: inline-block;
    height: 20px;
    width: 20px;
    margin: 0 10px;
    float: left;
}

/* Estos se esconden porque estan generando unos cuadros blancos en el visor */
#overmap-holder>.controles-ubicacionnomenclator{
  display: none !important;
}

/* Esconde herramientas cuando la pantalla es muy pequeña */
@media only screen and (max-width: 768px){
  #controles-home,
  #controles-marcarpin,
  #controles-querypoint,
  #controles-buscar-rutas,
  .boton-visualizaciones-square-div,
  #controles-proyeccion{
    display: none;
  }

  .iconos-menu-principal-mapa .icono-menu-principal-mapa{
    width: 15% !important;
  }

  .contenedor-logo{
    padding: 10px;
  }

  .ol-popup{
    min-width: 220px;

  }

  div#popup-clicderecho911-content{
    font-size: 12px
  }
}

@media only screen and (max-width: 991px){
  .contenedor-mapa-buscar,
  #controles-cleanmap{
    display: none;
  }
}

#mobile-map-tools .icono-menu-principal-mapa{
  width: 60px !important;
}
