﻿.spinner:not([hidden]) {
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner::after {
    content: "";
    width: 80px;
    height: 80px;
    border: 2px solid #336699;
    border-top: 8px solid #1660A1;
    border-radius: 100%;
    will-change: transform;
    animation: spin 1s infinite linear
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.enlace, .enlace:hover, .enlace:focus, .enlace:active, .enlace:link {
    text-decoration: inherit;
    color: inherit;
    cursor: pointer;
}

.enlace-mapa {
    color: white !important;
}

.aviacion-civil .main_column section {
    padding: 0;
}

#mapaId {
    height: 60rem;
    border-radius: 1rem;
    z-index:0;
}

.app_camaleon {
    padding-top: 15px;
}

main#contenido-principal .main_column {
    padding: 0 50px !important;
    margin-bottom: 50px;
}

#main-article > section:first-child > ul {
    padding: 0 !important;
}

    #main-article > section:first-child > ul > li > a {
        text-decoration: none;
    }

#main-article li {
    list-style-type: none;
    margin: 0 6px;
    width: 270px;
}

.ul-servi-acusti li {
    list-style-type: disc !important;
    margin-left: 30px !important;
    width: auto !important;
}

.enlace-comunidad {
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    color: #336699;
    background-color: #c9d4e2;
    text-decoration: none;
    padding: 7px;
    margin: 3px 0;
    text-align: center;
    display: block;
}

    .enlace-comunidad:hover {
        box-shadow: 0 0 5px #2a87ff;
    }

#mapid {
    min-height: 600px;
}

.leaflet-popup-content-wrapper {
    background: #336699 !important;
    color: white !important;
}

.leaflet-popup-content {
    margin: 12px 17px !important;
    text-align: center !important;
}

.leaflet-container a.leaflet-popup-close-button {
    color: white !important;
    font: 10px/14px Tahoma,Verdana,sans-serif;
}

.leaflet-popup-tip {
    background: #336699 !important;
    box-shadow: 0 0 5px 2px #5f9ad6 !important;
}

.grid-container {
    display: grid;
}

.description {
    margin-bottom: 5px;
}

.description2 {
    margin-top: 10px;
}

.little-screen-row-2 {
    -ms-grid-row: 2;
    grid-row: 2;
}

.little-screen-row-3 {
    -ms-grid-row: 3;
    grid-row: 3;
}

.row-4 {
    -ms-grid-row: 4;
    grid-row: 4;
}

.row-6 > div.links {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: space-around;
    justify-content: space-around;
}


    .row-6 > div.links > a {
        background-color: #3c69aa;
        min-width: 215px;
        max-width: 215px;
        min-height: 110px;
        display: inline-block;
        border-radius: 8px;
        text-align: center;
        vertical-align: middle;
        padding: 15px 0;
        border: 1px solid #d7d7d7;
        border-style: dashed;
        margin: 15px;
    }

.row-6 div.links a:hover {
    background-color: #333333;
    box-shadow: 1px 1px 10px 2px #b1c5db;
    border: 1px solid transparent;
}

section {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.title-group {
    margin-top: 30px;
}

    .title-group hr {
        border-color: #3981b2;
        border-style: dashed;
    }

        .title-group hr:first-child {
            margin-bottom: 5px
        }

        .title-group hr:last-child {
            margin-top: 5px
        }

    .title-group header {
        text-indent: 20px;
    }

.title-comunities {
    color: #3981b2;
    font-size: 22px;
    text-indent: 20px;
}

.flex-container {
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
}

@media screen and (min-width: 992.01px) {
    main#contenido-principal .main_column {
        padding: 0 15px !important;
    }

    #mapid {
        margin-top: 30px;
    }

    .big-screen-row-2 {
        -ms-grid-row: 2 !important;
        grid-row: 2 !important;
    }

    .big-screen-row-3 {
        -ms-grid-row: 3 !important;
        grid-row: 3 !important;
    }

    .main_column {
        padding: 0 15px !important;
    }
}

.PoligoLinks, .PoligoLinks:hover, .PoligoLinks:focus, .PoligoLinks:active {
    color: white !important;
    text-decoration: none !important;
}

table {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

table th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #336699;
    color: white;
}

table td, table th {
    border: 1px solid #ddd;
    padding: 8px;
}

table tr:nth-child(even) {
    background-color: #f2f2f2;
}

table tr:hover {
    background-color: #ddd;
}

#leyenda {
    background: #fff;
    border: 2px solid rgba(0,0,0,.2);
    border-radius: 5px;
    margin-bottom: 2px;
    width: auto !important;
}
#leyenda li {
    padding: 5px 2px;
    width:auto !important;
}
#leyenda li:not(:last-of-type) {
    border-bottom: 1px dotted #999;
}
#leyenda li img {
    width:25px;
    vertical-align:middle;
    margin:0 8px 0 0 !important;
    display:inline !important;
}