html,
body,
#mapajs {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#m-getfeatureinfo-button {
    order: 100 !important;
}

#m-searchstreetgeosearch-help-btn {
    display: none;
}

.center {
    margin-left: auto;
    margin-right: auto;
}

.capitalize {
    text-transform: capitalize !important;
}

.lowercase {
    text-transform: lowercase !important;
}

.results {
    overflow-y: auto;
}

div.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

.cerrarTablaDatos {
    line-height: 50px !important;
    float: right;
    font-size: 100%;
    padding: 0 10px;
    color: #ffffff;
    vertical-align: super;
    text-decoration: none;
}

.cerrarTablaDatos:hover {
    text-decoration: none;
}

.cerrarTablaDatos:before {
    content: "\2716";
    color: #ffffff;
    text-decoration: none;
}

.cerrarTablaDatos:hover:before {
    color: #ffb74d;
    text-decoration: none;
}

.descargarTablaDatos {
    float: left;
    line-height: 50px !important;
    font-size: 100%;
    padding-left: 10px;
    color: #ffffff;
    vertical-align: middle;
    text-decoration: none;
}

.descargarTablaDatos:hover {
    text-decoration: none;
}

.descargarTablaDatos:before {
    color: #ffffff;
    text-decoration: none;
}

.descargarTablaDatos:hover:before {
    color: #ffb74d;
    text-decoration: none;
}

.downLoadButton:hover {
    opacity: 1;
}

.downLoadButton:focus {
    outline: none;
}

#downloadIcon {
    vertical-align: middle !important;
    padding-right: 10px !important;
    padding-top: 5px !important;
    float: left !important;
}

.layer-option-row button.g-cartografia-papelera[data-id*="thematic"] {
    display: none !important;
}

.m-popup>div.m-content>div.m-body{
    width: 100% !important;
}

.titleGeoJSON{
    width: 500px;
    /* margin-right: 27px; */
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    /* padding-right: 10px !important; */
    /* background-color: #86A10B !important; */
    /* color: #fff !important; */
    /* height: 60px !important; */
    display: block !important;
    text-transform:uppercase;
    text-align: center;
    font-size: 17px;
    /* font-weight: bold; */
}

.m-popup>div.m-content>div.m-header{
    
    background-color: #86A10B !important;
    display: block !important;
    /* padding-top: 2px !important;
    padding-bottom: 2px !important;
    padding-right: 10px !important; */
    color: #FFFFFF !important;
    font-weight: bold !important;
}

.m-popup>div.m-content>div.m-body>div.m-geojson-content>div.result>table{
    border-collapse: collapse;
}

.m-popup>div.m-content>div.m-body>div.m-geojson-content{
    border: 1px solid #86A10B !important;
}

.m-popup>div.m-content>div.m-body>div.m-geojson-content>div.result>table td.key{
    padding: 1px;
    white-space: normal;
    font-weight: normal !important;
    font-size: small;
    background-color: #86A10B;
    color: #FFFFFF;
    text-align: left;
    border: 1px solid #86A10B;
    width: 140px;
}

.m-popup>div.m-content>div.m-body>div.m-geojson-content>div.result:nth-child(1)>table:nth-child(1) td.value{
    font-weight: normal !important;
    font-size: small;
    border-top: 1px solid #86A10B !important;
}

.m-popup>div.m-content>div.m-body>div.m-geojson-content>div.result>table td.value{
    padding: 1px 10px 1px 1px;
    white-space: normal;
    background-color: #FFFFFF;
    text-align: right;
    font-size: small;
    border-right: none !important;
    border-bottom: none !important;
    border-top: 1px solid #86A10B !important;
    /* width: 210px;
    max-width: 200px; */
    word-wrap: break-word;
}

.pAVRA{
    /* margin-left: 30px; */
    font-style: italic;
    text-align: center;
}

.linkAVRA{
    color:#00897b;
    text-decoration: none;
}

.linkAVRA:hover{
    color:#24b4a6;
}

.listAVRA{
    margin-left: 30px;
    color:#00897b;
}

@media(min-width: 769px) {
    .m-table {
        position: absolute;
        background-color: white;
        padding: 15px 27px 15px 15px;
        border: 1px solid #cccccc;
        bottom: 0;
        border-radius: 5px;
        box-shadow: 2px 2px 8px -4px rgba(0, 0, 0, 0.53);
        max-width: 90%;
        overflow: auto;
    }

    .table {
        color: #212529;
        z-index: 9999;
        /* height: auto !important */
    }

    .table td {
        padding: 0.75rem;
        vertical-align: top;
        border-top: 1px solid #dee2e6;
    }

    .table tbody+tbody {
        border-top: 2px solid #dee2e6;
    }

    .table-sm th,
    .table-sm td {
        padding: 0.3rem;
    }

    .table-hover tbody tr:hover {
        color: #212529;
        background-color: rgba(0, 0, 0, 0.075);
    }

    #popUpDatos {
        padding: 0 !important;
        border-top: 0 !important;
        border-left: 1px solid #cccccc !important;
        border-right: 1px solid #cccccc !important;
        border-bottom: 1px solid #cccccc !important;
        overflow: hidden;
        margin-left: 40px;
        height: 60%;
        margin-bottom: 40px;
    }

    .popUpDatosContent {
        height: calc(100% - 105px);
        overflow: auto;
    }


    .popUpDatosTitle {
        line-height: 50px;
        text-align: center;
        height: 50px;
        font-size: 15px;
        width: 100%;
        margin: 0;
        color: #fff;
        background-color: #00897b;
        font-weight: 600;
        border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    }

    .popUpDatosFooter {
        width: 100%;
        height: 55px;
        text-align: center;
        background-color: #ffb74d;
        position: absolute;
    }

    .downLoadButton {
        margin: 10px;
        padding: 5px;
        background-color: #fff;
        font-family: Muli, "sans-serif" !important;
        cursor: pointer;
        border-radius: 4px;
        border: 1px solid rgba(0, 0, 0, 0.4);
        font-size: 15px;
        line-height: 25px;
        opacity: 0.75;
        -webkit-transition: opacity 0.25s ease 0s;
        transition: opacity 0.25s ease 0s;
        color: #404040;
    }

    .m-areas>div.m-area>div.m-panel.m-attributions.opened {
        /* border-top-left-radius: 0; */
        max-width: 710px !important;
        min-width: 610px !important;
        width: auto !important;
    }

    #textoIECA {
        font-size: 14px;
        float: left;
        padding: 10px;
        color: #000000;
    }

    #textoIECA:hover {
        font-size: 14px;
        float: left;
        padding: 10px;
        color: #000000;
        text-decoration: underline;
    }

    .attribution-image {
        max-height: 6em !important;
    }

    #logoAndaluciaEuropa {
        float: right;
        height: 50px;
        width: auto;
    }

    #logoIECA {
        float: left;
        height: 68px !important;
        width: auto;
    }

    #logoFeder {
        float: right;
        height: 40px !important;
        width: auto;
        padding-top: 25px;
    }
}


@media(min-width: 769px) and (orientation : portrait) {
    .m-table {
        top: 5px;
        height: 70%;
        bottom: 5px;
    }
}

@media(min-width: 769px) and (orientation : landscape) {
    .m-table {
        top: 5px;
        height: 60%;
        bottom: 5px;
    }

    .popUpDatosContent {
        overflow: auto;
    }
}

@media(min-width: 481px) and (max-width: 768px) and (orientation : portrait) {
    .m-areas>div.m-area>div.m-panel.m-attributions.opened {
        margin: 0;
        width: calc(100vw) !important;
        height: 50vh;
        max-width: calc(100vw) !important;
        position: fixed;
        top: 50%;
        left: 0;
        z-index: 10000;
        overflow: auto;
    }
}

@media(min-width: 481px) and (max-width: 768px) and (orientation : landscape) {
    .m-areas>div.m-area>div.m-panel.m-attributions.opened {
        margin-left: 40px;
        width: calc(100vw - 40px) !important;
        height: 100vh;
        max-width: calc(100vw - 40px) !important;
        position: fixed;
        left: 0;
        z-index: 10000;
        overflow: auto;
    }

    .m-attributions-container ul {
        list-style: outside none none;
        margin: 0 !important;
        padding-left: 0;
    }
}


@media(max-width: 768px) {
    div.sticky {
        position: -webkit-sticky;
        position: sticky;
        top: auto;
    }

    .m-table {
        position: absolute;
        background-color: white;
        border: 1px solid #cccccc;
        bottom: 0;
        border-radius: 5px;
        box-shadow: 2px 2px 8px -4px rgba(0, 0, 0, 0.53);
        width: 100vw;
        height: 100vh;
        overflow: auto;
    }

    .table {
        width: 100%;
        color: #212529;
        z-index: 1000;
    }

    .table td {
        padding: 0.75rem;
        vertical-align: top;
        border-top: 1px solid #dee2e6;
    }

    .table tbody+tbody {
        border-top: 2px solid #dee2e6;
    }

    .table-sm th,
    .table-sm td {
        padding: 0.3rem;
    }

    .table-hover tbody tr:hover {
        color: #212529;
        background-color: rgba(0, 0, 0, 0.075);
    }

    #popUpDatos {

        height: auto;
        width: 100vw;
        overflow: auto;
        padding: 0 !important;
        border-top: 0 !important;
        border-left: 1px solid #cccccc !important;
        border-right: 1px solid #cccccc !important;
        border-bottom: 1px solid #cccccc !important;
        bottom: 1%;
        top: 1%;
    }

    .popUpDatosContent {
        height: calc(100vh - 50px);
        font-size: 12px;
        overflow: scroll;
    }

    .popUpDatosTitle {
        line-height: 30px;
        text-align: center;
        height: 30px;
        font-size: 13px;
        width: 100%;
        margin: 0;
        color: #fff;
        background-color: #00897b;
        font-weight: 600;
        border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    }

    .cerrarTablaDatos {
        line-height: 30px !important;
    }

    .popUpDatosFooter {
        width: 100%;
        height: 40px;
        margin-top: -20px;
        text-align: center;
        position: absolute;
        background-color: #ffb74d;
    }

    .downLoadButton {
        margin: 5px;
        padding: 5px;
        background-color: #fff;
        font-family: Muli, "sans-serif" !important;
        cursor: pointer;
        border-radius: 4px;
        border: 1px solid rgba(0, 0, 0, 0.4);
        font-size: 13px;
        opacity: 0.75;
        -webkit-transition: opacity 0.25s ease 0s;
        transition: opacity 0.25s ease 0s;
        color: #404040;
    }


    #buscador-area {
        width: 100vw;
        height: 100vh;
        background-color: transparent !important;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 1000;
        margin-top: 0;
        margin-right: 0;
        display: none;
    }

    #buscador-panel {
        float: right;
        width: calc(100vw - 40px);
        height: 100vh;
        background-color: #ffffff;
    }

    .button {
        width: 100%;
        height: 50px;
        margin: 0 auto;
        text-align: center;
        background-color: #ffb74d;
    }

    div.button>button {
        width: 39%;
        margin: 10px 5%;
        padding: 5px;
        background-color: #fff;
        font-family: Muli, "sans-serif" !important;
        cursor: pointer;
        border-radius: 4px;
        border: 1px solid rgba(0, 0, 0, 0.4);
        font-size: 12px;
        line-height: 20px;
        opacity: 0.75;
        -webkit-transition: opacity 0.25s ease 0s;
        transition: opacity 0.25s ease 0s;
        color: #404040;
    }

    #resultadosBusqueda>div>table {
        border-collapse: collapse;
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
        cursor: pointer;
        margin: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.13);
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #textoIECA {
        font-size: 14px;
        float: left;
        padding: 5px;
    }

    .m-attributions-container li {
        display: flex !important;
        align-items: center !important;
        justify-content: center;
        flex-wrap: wrap;
    }

    .attribution-image {
        max-height: 6em !important;
    }

    #logoAndaluciaEuropa {
        float: right;
        height: 50px;
        width: auto;
    }

    #logoIECA {
        float: left;
        height: 68px !important;
        width: auto;
    }

    #logoFeder {
        float: right;
        height: 40px !important;
        width: auto;
        padding-top: 25px;
    }
}

@media(min-width: 481px) and (max-width: 767px) {
    label {
        font-size: 12px;
        display: inline-block;
        margin: 0 0 -1px;
        padding: 10px;
        font-weight: 600;
        text-align: center;
        color: #bbb;
        border: 1px solid transparent;
    }

    input[type="text"] {
        display: block !important;
        width: 95%;
        border: 1px solid #ccc !important;
        border-radius: 4px !important;
        margin: 0 !important;
        height: 20px !important;
        padding: 5px 7px !important;
        background-color: transparent !important;
        cursor: auto !important;
        color: #6c6c6c !important;
        font-family: Muli, sans-serif !important;
        font-size: 12px !important;
    }

    select {
        height: 25px;
        width: 100%;
        cursor: pointer;
        padding: 0 7px;
        background-color: #fff;
        border: 1px solid #ccc;
        border-radius: 4px;
        color: #6c6c6c;
        font-family: Muli, "sans-serif";
        font-size: 12px !important;
    }

    #resultadosBusqueda>div>table td.key {
        font-weight: 700 !important;
        font-size: 12px !important;
        padding-left: 5px !important;
    }

    #resultadosBusqueda>div>table td.value {
        font-size: 12px !important;
        text-align: right !important;
        padding-right: 5px !important;
    }

    #pagination>div.page {
        margin-top: 0;
        width: 100%;
        background-color: #f0f0f0;
        padding-top: 10px;
        padding-bottom: 10px;
        font-weight: 700 !important;
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
        font-size: 12px !important;
    }

    #buscadorEstablecimientos {
        height: calc(100vh - 129px);
        display: none;
    }

    #buscadorEspaciosProductivos {
        height: calc(100vh - 129px);
    }

    #resultadosBusqueda {
        height: calc(100vh - 166px);
        display: none;
    }
}


@media(max-width: 480px) {
    .m-areas>div.m-area>div.m-panel.m-attributions.opened {
        margin-left: 40px;
        width: calc(100vw - 40px) !important;
        height: 100vh;
        max-width: calc(100vw - 40px) !important;
        min-width: calc(100vw - 40px) !important;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10000;
        overflow: auto;
    }

    .m-attributions-container ul {
        list-style: outside none none;
        margin: 0 !important;
        padding-left: 0;
    }
}

@media(min-width: 320px) and (max-width: 480px) {
    label {
        font-size: 9px;
        display: inline-block;
        margin: 0 0 -1px;
        padding: 10px 7px;
        font-weight: 600;
        text-align: center;
        color: #bbb;
        border: 1px solid transparent;
    }

    input[type="text"] {
        display: block !important;
        width: 95%;
        border: 1px solid #ccc !important;
        border-radius: 4px !important;
        margin: 0 !important;
        height: 20px !important;
        padding: 5px 7px !important;
        background-color: transparent !important;
        cursor: auto !important;
        color: #6c6c6c !important;
        font-family: Muli, sans-serif !important;
        font-size: 10px !important;
    }

    select {
        height: 25px;
        width: 100%;
        cursor: pointer;
        padding: 0 7px;
        background-color: #fff;
        border: 1px solid #ccc;
        border-radius: 4px;
        color: #6c6c6c;
        font-family: Muli, "sans-serif";
        font-size: 10px !important;
    }

    #resultadosBusqueda>div>table td.key {
        font-weight: 700 !important;
        font-size: 10px !important;
        padding-left: 5px !important;
    }

    #resultadosBusqueda>div>table td.value {
        font-size: 10px !important;
        text-align: right !important;
        padding-right: 5px !important;
    }

    #pagination>div.page {
        margin-top: 0;
        width: 100%;
        background-color: #f0f0f0;
        padding-top: 10px;
        padding-bottom: 10px;
        font-weight: 700 !important;
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
        font-size: 10px !important;
    }

    #buscadorEstablecimientos {
        height: calc(100vh - 127px);
        display: none;
    }

    #buscadorEspaciosProductivos {
        height: calc(100vh - 127px);
    }

    #resultadosBusqueda {
        height: calc(100vh - 166px);
        display: none;
    }
}

.multi {
    outline: #ccc;
    height: auto;
}