﻿body {
    font-family: Lucida Grande,Lucida Sans,Arial,sans-serif;
}

html {
    font-size: 14px;
}

a:visited {
    color: blue;
}

@media (max-width: 623px) {
    html {
        font-size: 12px;
    }
}

#divContenedor {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    padding: 0px;
    margin: 0px;
    display: flex;
    flex-direction: column;
}

#divMapa {
    flex: auto;
    flex-grow: 1;
    /*background-color: #00FFFF;*/
}

#divControles {
    flex: auto;
    flex-grow: 0;
    order: -1;
    padding: 5px;
    border-bottom: solid 1px #0094ff;
}

#popup-content {
    font-family: Arial;
    font-size: 13px;
}

    #popup-content .Titulo {
        font-size: 125%;
        font-weight: bold;
    }

.MsoTableGrid p {
    margin: 3px
}

button, .Boton, .ol-control button {
    border: solid 1px #FFFFFF;
}

    button:hover, .Boton:hover {
        cursor: pointer;
    }

    button:hover, .Boton:hover {
        background-color: rgb(167, 205, 250);
    }

.Boton {
    text-decoration: none;
    padding: 4px;
    color: white;
    border-radius: 5px;
}

a.Boton {
    color: white;
}

button {
    color: #FFFFFF;
    border-radius: 3px;
    height: 28px;
    cursor: pointer;
}

button, .Boton, button:focus, .Boton:focus {
    background-color: rgb(91, 131, 179);
}


.TablaGenerica {
    border-collapse: collapse;
}

    .TablaGenerica th {
        background-color: #417d8f !important;
        color: #ffffff !important;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 5px;
        padding-bottom: 5px;
        text-align: left;
    }

    .TablaGenerica tr:nth-child(odd) {
        background-color: #eeeeee;
    }

    .TablaGenerica tr:nth-child(even) {
        background-color: #FFFFFF;
    }

    .TablaGenerica tbody td {
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 5px;
        padding-bottom: 5px;
        text-align: left;
    }

.AlinDer {
    text-align: right !important;
}

#txtBuscar {
    padding: 4px;
    border-radius: 3px;
    border: solid 1px #0094ff;
    box-sizing: border-box;
    width: calc(100% - 1.5rem);
}

.ui-dialog .ui-dialog-content {
    padding: 3px;
}

.ui-dialog {
    max-width: 80vw;
}



.ui-widget-overlay {
    opacity: 0.5;
}

.ol-mouse-position {
    top: unset !important;
    left: 8px !important;
    bottom: 8px !important;
    background-color: rgba(91, 131, 179, 0.9);
    width: 192px;
    color: #FFFFFF;
    border-radius: 3px;
    padding: 1px;
    text-align: center;
}

.ol-scale-line {
    background-color: rgba(91, 131, 179, 0.9) !important;
    left: 8px;
    bottom: 32px;
}

.ol-rotate {
    right: unset;
    left: 0.5em;
}

.ol-rotate .ol-rotate-reset {
    width: 28px !important;
    height: 28px !important;
    border: solid 1px #FFFFFF;
    border-radius: 3px;
}

.ol-rotate {
    width: 32px;
}

.OverlayBarra {
    position: absolute;
    right: 1em;
    top: 1em;
    left: unset;
}

.divBarra {
    text-align: right;
}

    .divBarra > * {
        display: block;
        margin-bottom: 8px;
    }


.divBarra button:focus {
    outline: none;
}

.divBarra button:disabled {
    background-color: rgb(192, 192, 192) !important;
}

#divCapas {
    background-color: white;
    border: solid 1px rgb(91, 131, 179);
    padding: 5px;
    width: 150px;
    text-align: left;
}

    #divCapas > * {
        display: block;
        margin-top: 5px;
        margin-bottom: 5px;
    }

#divDownload {
    background-color: white;
    border: solid 1px rgb(91, 131, 179);
    padding: 5px;
    text-align: right;
}

    #divDownload > * {
        margin-top: 5px;
        margin-bottom: 5px;
    }

.ol-zoomslider {
    /*right: 0.5rem !important;
    left: unset;*/
    background-color: rgba(255,255,255,.75);
}

#divBarraSuperior {
    background-color: rgb(91, 131, 179);
    color: #FFFFFF;
    padding: 2px;
    padding-bottom: 0px;
    display: flex;
    flex-direction: row;
}

    #divBarraSuperior > * + * {
        margin-left: 10px;
    }

#WebTitle {
    font-size: 2rem;
}

    #WebTitle a {
        color: white;
    }

#WebTitleHome {
    cursor: pointer;
}

#WebLogo {
    border-radius: 5px;
    height: 40px;
}

#btnAbout a {
    color: white;
    text-decoration: none;
}

#divFootInfo {
    right: 0;
    bottom: 0;
    position: absolute;
    color: #FFFFFF;
    background-color: rgba(91, 131, 179, 0.75);
    padding: 2px;
    font-size: 90%;
}

    #divFootInfo a {
        color: #FFFFFF;
    }

#divCentralTop {
    flex-grow: 1;
}

#divSearchContainer {
    margin: 0 auto;
    width: 15rem;
}

.Sponsor {
    text-align: center;
    font-size: 12px;
}


    .Sponsor img {
        max-height: 35px;
        border-radius: 2px;
    }

    .Sponsor a + a {
        margin-left: 3px;
    }


#divEstadisticas th {
    text-align: right;
}

.progress {
    cursor: pointer;
    color: rgb(91, 131, 179);
    text-align: center;
    max-width: 120px;
    margin: 0 auto;
    height: 20px;
    margin-bottom: 2px;
    overflow: hidden;
    background-color: #f5f5f5;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
}

.progress-bar {
    float: left;
    width: 0%;
    height: 100%;
    line-height: 20px;
    text-align: center;
    background-color: #88FF88;
    -webkit-transition: width .6s ease;
    -o-transition: width .6s ease;
    transition: width .6s ease;
}

#btnSearch {
    display: none; /* No visible en pantalla grande (se ve arriba) */
}

#divSocial {
    margin-top: 1.85rem;
}

    #divSocial a {
        color: white;
        font-size: 150%;
        text-decoration: none;
    }

.fa-1-5x {
    font-size: 1.5em;
}


@media (max-width: 600px) {
    #divFootInfo {
        left: 0;
    }

    .ol-scale-line {
        bottom: 20px !important;
    }

    .ol-mouse-position {
        /*bottom: 20px !important;*/
        display: none;
    }

    .Sponsor {
        margin-left: 2px !important;
        margin-right: 2px !important;
    }

        .Sponsor img {
            max-height: 28px;
        }

    #WebLogo {
        height: 32px;
    }

    #divSearchContainer {
        width: 6rem
    }

    .progress {
        max-width: 60px;
    }

    #divSearchContainer {
        display: none;
    }

    #btnSearch {
        display: inline;
    }

    .Sponsor a + a {
        margin-left: 0px;
    }

    #divSocial {
        position: absolute;
        bottom: 18px;
        right: 0px;
        z-index: 999999;
        padding: 2px;
    }
}

/*#divSocial {
    display: none;
}*/

/*#btnDownload {
    display: none;
}*/

.Sponsor > div a:first-child {
    display: none;
}

#divDownload > div {
    max-width: 140px;
}

    #divDownload > div > * {
        margin: 3px;
        max-width: 90%;
        padding: 3px;
    }

#divDownload button {
    min-width: 120px;
}

.Etiqueta {
    color: rgb(91, 131, 179);
    font-weight: bold;
}

#cboPaperSize {
    width: 80px;
}

#btnClearFrame {
    min-width: 24px !important;
}


.ui-autocomplete {
    max-height: 50vh;
    overflow-y: auto;
    z-index: 99999999;
}

    .ui-autocomplete .ui-state-active {
        border: none !important;
        margin: 0px;
    }

.panFilterISOM .group {
    margin-bottom: 8px;
}


.panFilterISOM .group_header {
    padding-left: 0px;
    cursor: pointer;
}

.panFilterISOM .group_content {
    display: none;
    margin-left: 16px;
}

.panFilterISOM .item_panel {
    padding-left: 32px;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 24px 24px;
}

button.highlight {
    background-color: #FF0000;
}

#divGPSInfo {
    position: absolute;
    bottom: 60px;
    left: 8px;
    color: white;
    background-color: rgba(91, 131, 179, 0.9) !important;
    border-radius: 4px;
    padding: 2px;
}

#lblEscalaFiltroISOM {
    color: #FF0000;
    margin: 4px;
    display: block;
}

#divGFI {
    display: none;
    position: absolute;
    top: 54px;
    left: 32px;
    background-color: #FFFFFF;
    border-radius: 3px;
    /* border-color: blue; */
    /* border-width: 1px; */
    border: solid 2px rgb(91, 131, 179);
    margin: 12px;
    padding: 4px;
    overflow: auto;
    box-sizing: border-box;
    font-size: 13px;
    width: 400px;
    height: auto;
    max-height: 150px;
    /* box-shadow: inset 0px 0px 0px 10px #f00; */
    outline: 3px solid white;
}

    #divGFI .fa-window-close {
        float: right;
        color: rgb(91, 131, 179);
        cursor: pointer;
    }


#cboDiscipline {
    font-size: 90%;
    padding: 1px !important;
}

#cboDissolveForestDistance {
    font-size: 90%;
    padding: 1px !important;
}

#btnToggleLayer {
    min-width: 5rem;
}

#cboEquidistance {
    font-size: 90%;
    padding: 1px !important;
}


#divDownloadImage button {
    width: 10rem;
}

#divDownloadOOMapper>div {
    margin: 16px;
}

#txtMargin {
    width: 5rem;
}