﻿/* General */
body {
    font-family: Calibri,Georgia,Tahoma;
    overflow: hidden;
}

TABLE.normal {
}

    TABLE.normal td {
        border-width: 0px;
    }

input[type=button] {
    width: 24px;
    height: 24px;
    background-size: 100%;
    border-width: 1px;
    background-repeat: no-repeat no-repeat;
}

.oculto {
    display: none;
}

input[type="radio"], input[type="checkbox"] {
    vertical-align: sub;
}


/* Escondemos el logo de Openlayers */
.ol-logo-only {
    display: none;
}

/* Indicadores de progreso */
#ugProgreso {
    background-color: #cccccc;
    opacity: 0.5;
    position: absolute;
    top: 0px;
    bottom: 0%;
    left: 0px;
    right: 0%;
    background-image: url(../images/loading.gif);
    background-repeat: no-repeat;
    background-position: center;
}

.progresoCapa {
    /*display: none;*/
    height: 13px;
    width: 13px;
    vertical-align: middle;
}

/* Progreso para carga de OL */
#olProgress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 5px;
    background: rgba(0, 60, 136, 0.4);
    width: 0;
    transition: width 250ms;
}

/* Mapa */
.ol_map {
    margin-top: 20px;
    height: 600px;
    width: 800px;
    border: 1px solid black;
    position: relative;
}

.ol-mouse-position {
    font-size: 16px;
    padding: 4px;
    color: white;
    background-color: #106190;
    border-radius: 4px 4px 4px 4px;
    bottom: auto;
    right: auto;
    top: 8px;
    left: 65px;
    position: absolute;
}

.ol-scale-line {
    left: auto;
    right: 8px;
    bottom: 8px;
}

.ol-zoomslider {
    top: 110px;
    left: .5em;
    height: 178px;
    background-color: rgba(210, 210, 210, 0.85);
}

.ol-zoomslider button {
    background-color: rgba(120, 120, 120, 0.85);
}

/* Ventanas */
.cabecera_seccion {
    font-size: large;
    font-weight: bold;
    color: red;
}

.capaFlot {
    background-image: url(../images/opac85.png);
    margin: 2px;
    padding: 1px;
    border: 1px solid #cccccc;
    border-radius: 5px 0px 5px 0px;
    box-shadow: 0px 0px 6px #888888;
    overflow: hidden;
    width: 300px;
}

    .capaFlot .cabecera {
        padding: 2px;
        background-color: #106190;
        color: White;
        padding-left: 10px;
        border-radius: 4px 0px 4px 0px;
        font-size: small;
    }

    .capaFlot[colapsado] {
        opacity: .6;
        height: auto;
        overflow: hidden;
        width: auto !important;
    }

        .capaFlot[colapsado] .contenido, .capaFlot[colapsado] .panel_botones {
            display: none;
        }

    .capaFlot:not([colapsado]) {
        overflow: auto;
    }

    .capaFlot #selector_capas {
        max-height: 150px;           
        overflow-y: scroll;
    }

.contenido, .panel_botones {
    margin: 2px;
    font-size: x-small;
}

#selector_capas.contenido {
    font-size: small;
}

/* Botones dibujo */
#botones input[type=button] {
    margin-top: 5px;
}

#btnDibPunto {
    background-image: url('../images/editor/dibujarPunto.png');
}

#btnDibLinea {
    background-image: url('../images/editor/dibujarLinea.png');
}

#btnDibPoligono {
    background-image: url('../images/editor/dibujarPoligono.png');
}

#btnRecortar {
    background-image: url('../images/editor/recortar.png');
    display: none; /* De momento lo ocultamos (no hay geometrías base en Geocampo) */
}

#btnDuplicar {
    background-image: url('../images/editor/duplicarGeom.png');
}

#btnCancelar {
    background-image: url('../images/editor/cancelarDigujado.png');
}

#btnBorrarGeom {
    background-image: url('../images/editor/borrarGeometria.png');
}

/* Tabla */
.tabla_edicion {
    margin-bottom: 5px;
    margin-top: 5px;
    overflow: auto;
    max-height: 150px;
}

#tabla_datos {
    border-collapse: collapse;
    width: 100%;
}

    #tabla_datos th {
        height: 35px;
    }

    #tabla_datos td {
        height: auto;
        text-align: center;
    }

    #tabla_datos th, td {
        border: 1px solid #4800ff;
        white-space: nowrap;
    }

    #tabla_datos input:not([type=button]) {
        width: 95%;
        min-width: 120px;
    }

    #tabla_datos input[type=button] {
        width: 22px;
        height: 22px;
        background-size: 16px 16px;
        margin: 1px;
    }

    #tabla_datos .uuid {
        min-width: 25%;
    }

    #tabla_datos select {
        max-width: 250px;
    }

#btnAnyadir {
    background-image: url('../images/editor/anyadirRegistro.png');
}

#btnGuardar {
    background-image: url('../images/editor/grabarTodo.png');
}

.btnBorrarFila {
    background-image: url('../images/editor/borrarRegistro.png');
}

.btnAsociarGeom {
    background-image: url('../images/editor/asociarGeometria.png');
}

.btnLiberarGeom {
    background-image: url('../images/editor/liberarGeometria.png');
}

#btnRecargarCapas, #btnFiltar {
    background-image: url('../images/refresh-26.png');
}

.cabecera div {
    float: right;
    margin-left: 10px;
}

    .cabecera div img {
        vertical-align: middle;
        width: 12px;
        cursor: pointer;
    }

/* Tooltips sobre tareas */

.contenedorTooltips {
    position: absolute;
    z-index: 100;    
}
.holder {
    /*-moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
    -moz-column-gap: 0;
    -webkit-column-gap: 0;
    column-gap: 0;
    column-fill:auto*/
}
.tooltipMapa {  
          
    border-radius: 5px;
    background-color: green;
    border: 1px solid white;
    padding: 4px;
    width: 250px; /*max-width: 400px*/
    box-shadow: 0px 0px 1px #666666;
    font-family: Calibri, Arial, sans-serif;
}

    .tooltipMapa .tareasAdyTooltipTit {
        font-weight: bold;
    }

    .tooltipMapa .tareasAdyTooltipText {
        min-width: 80px;
        height:150px;
        background-color: white;
        border: 1px solid #cccccc;
        padding: 5px;
        border-radius: 3px;
        margin-top: 3px;
        font-size: 12px;
    }
ul.holder {
    list-style:none;
    margin: 0;
    padding:0;
    /*margin-inline-start: 0;
    padding-inline-start: 0;*/
}
.holder li {
    float:left;
    display:inline;
}
/* Tooltips sobre medidas */
#ventanaMedidas {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    color: white;
    padding: 4px 8px;
    opacity: 0.7;
    white-space: nowrap;
    margin-bottom: 5px;
    margin-top: 5px;
    display: none;
}

/* Campos para la creación de geometrías por pegado */
#txtWkt {
    min-width: 95%;
    min-height: 100px;
    max-width: 95%;
    max-height: 100px;
}

#btnPegadoWkt {
    width: 24px;
    height: 24px;
    background-size: 100%;
    background-image: url('../images/editor/anyadirRegistro.png');
}

#btnCancelarPegadoWkt {
    width: 24px;
    height: 24px;
    background-size: 100%;
    background-image: url('../images/editor/cancelarDigujado.png');
}

#btnDeshacerPegadoWkt, #btnZoomBack, #btnZoomBackG {
    background-image: url('../images/editor/deshacerPegado.png');
}

/* Tabs */
.ui-tabs-anchor {
    font-weight: bolder;
    font-size: x-small;
    margin: 1px;
}

.ui-tabs .ui-tabs-panel {
    padding: 0px;
}

/* Tabla con DIVS */
div.Table {
    display: table;
    font-size: x-small;
}

div.Row {
    display: table-row;
    margin: 0px;
    padding: 0px;
}

div.Cell {
    display: table-cell;
    border: none;
    min-width: 100px;
    margin: 0px;
    padding: 0px;
}

.cabeceraCell {
    font-weight: bold;
    font-size: small;
}

#contenedorVentanas {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* Leyendas */
.leyenda {
    display: inline-block;
    vertical-align: sub;
    width: 15px;
    height: 15px;
    opacity: 1;
    margin-right: 3px;
}

.diagonal {
    -webkit-transform: rotate(-45deg) translateX(-1px) translateY(-3px);
    border-bottom: 3px solid white;
    opacity: 1;
}

/* Botonera */
#contenedorAcciones {
    position: absolute;
    top: 25px;
    left: 35px;
    width: 46px;
    /*height: 250px;*/
    background-color: white;
}

    #contenedorAcciones input[type="button"] {
        display: block;
        margin: 1px;
        padding: 2px;
        color: #fff;
        font-size: 1.14em;
        font-weight: 700;
        text-decoration: none;
        text-align: center;
        height: 3.075em;
        width: 3.075em;
        line-height: .4em;
        background-color: rgba(0,60,136,.5);
        background-size: 80%;
        background-position: center;
        border: none;
        border-radius: 2px;
    }

#btnVerFiltrado {
    background-image: url('../images/Embudo.png');
}

#btnVerBusquedas {
    background-image: url('../images/Binoculares.png');
}

#btnVerDibujar {
    background-image: url('../images/TablaDibujo.png');
}

#btnVerPegado {
    background-image: url('../images/Anyadir.png');
}

#btnVerInfo {
    background-image: url('../images/Info.png');
}

/* Información */
#infoCoordenadas {
    font-weight: bold;
}
