#tabla-resultados .div-table-container {
    display: grid;
    gap: 18px 24px;
    grid-auto-rows: 1fr;
}

@media(min-width: 992px) {
    #tabla-resultados .div-table-container {
        grid-template-columns: 1fr 1fr;
    }
}

#section-map .section-map-title {
    color: #037BC4;
    font-size: 20px;
    line-height: 24px;
    font-weight: bold;
    margin-bottom: 16px;
}

#section-map .section-map-desc {
    color: #16355A;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 16px;
}

#section-map .section-map-select {
    color: #037BC4;
    font-size: 14px;
    line-height: 20px;
}

@media(min-width: 992px) {
    #section-map .section-map-title {
        font-size: 28px;
        line-height: 32px;
    }

    #section-map .section-map-desc {
        margin-bottom: 0;
        font-size: 18px;
        line-height: 22px;
    }

    #section-map .section-map-select {
        font-size: 16px;
        line-height: 20px;
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
    }
}

@media(min-width: 1200px) {
    #section-map .section-map-title {
        font-size: 35px;
        line-height: 41px;
    }
    
    #section-map .section-map-desc {
        font-size: 20px;
        line-height: 26px;
    }

    #section-map .section-map-select {
        font-size: 18px;
        line-height: 24px;
    }
}

#section-map #map .marker-icon {
    --image-size: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 4px #ccc);
}

#section-map #map .market-text {
    padding: 4px 8px;
    padding-right: calc(8px + (var(--image-size) / 2));
    text-transform: uppercase;
    font-size: 10px;
    color: #16355A;
    background: white;
    border-radius: 10px;
    font-weight: bold;
    white-space: nowrap;
}

#section-map .zone-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
}

#section-map .zone-selector > input {
    display: none;
}

#section-map .zone-selector > label {
    padding: 4px;
    text-transform: uppercase;
    font-size: 10px;
    line-height: 12px;
    border: 1px solid #037BC4;
    color: #037BC4;
    background-color: #F3FCFF;
    border-radius: 5px;
}

#section-map .zone-selector > input:checked + label {
    color: #FFFFFF;
    background-color: #037BC4;
}

#section-map #map + #map-modal .modal-body {
    padding: 0;
}

#section-map #map + #map-modal .modal-dialog {
    height: auto;
    max-width: 300px;
}

#section-map #map + #map-modal .modal-content {
    border-radius: 20px 20px 0px 20px;
}

#section-map #map + #map-modal .modal-header {
    position: absolute;
    right: 4px;
    top: 8px;
    z-index: 1060;
}

#map + #map-modal .modal-header .close {
    color: #037BC4;
    font-size: 24px;
}

.detail {
    border: 1px solid #037BC4;
    border-radius: 20px 20px 0px 20px;
    overflow: hidden;
    display: flex;
    position: relative;
}

.detail .detail-image {
    flex: 40%;
    position: relative;
}

.detail .detail-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.detail .detail-image .presencialidad {
    position: absolute;
    width: 100%;
    top: 8px;
    right: 8px;
    display:  flex;
    flex-direction: column;
    align-items: end;
    gap: 4px;
}

.detail .detail-image .presencialidad > .presencial {
    border-radius: 50px 50px 0px 50px;
    padding: 4px 8px;
    background-color: #16355A;
    color: white;
    text-transform: uppercase;
    font-size: 7px;
    line-height: 9px;
    font-weight: bold;
}

#map + #map-modal .detail .detail-image .presencialidad > .presencial {
    border-radius: 100%;
    padding: 5px;
}

.detail .detail-image .presencialidad > .no-presencial {
    background-color: #2CB222;
}

.detail .detail-description-wrapper {
    padding: 24px 12px;
    overflow: hidden;
    flex: 60%;
}

.detail .detail-description-wrapper .detail-title {
    color: #037BC4;
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
    font-weight: bold;
}

.detail .detail-description-wrapper .detail-description {
    color: #16355A;
    font-size: 12px;
    line-height: 16px;
    overflow: hidden;
}

.detail .detail-description-wrapper .detail-description > * {
    margin-bottom: 0;
}

.detail .detail-description-wrapper .detail-description > .detail-timetable {
    color: #037BC4;
    font-size: 10px;
}

.detail .detail-description-wrapper .detail-description > .detail-timetable .timetable{
    font-weight: bold;
}

.detail .detail-more {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #037BC4;
    padding: 4px;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 8px;
}

.detail .detail-more span {
    margin-right: 8px;
}

.detail .detail-more:hover {
    color: white;
}

@media(min-width: 992px) {
    #section-map .zone-selector {
        gap: 16px;
        margin-top: 90px;
    }

    #section-map .zone-selector > label {
        padding: 8px;
        font-size: 20px;
        line-height: 24px;
        border-radius: 10px;
    }

    #section-map #map + #map-modal .modal-dialog {
        height: auto;
        max-width: none;
    }

    #section-map #map + #map-modal .modal-header {
        right: 24px;
        top: 32px;
    }

    #map + #map-modal .modal-header .close {
        color: #037BC4;
        font-size: 32px;
    }

    .detail .detail-description-wrapper {
        padding: 32px 24px;
    }

    .detail .detail-image .presencialidad {
        top: 16px;
        right: 16px;
        gap: 8px;
    }

    .detail .detail-image .presencialidad > .presencial {
        font-size: 10px;
        line-height: 12px;
    }

    .detail .detail-description-wrapper .detail-title {
        font-size: 24px;
        line-height: 30px;
    }

    .detail .detail-description-wrapper .detail-description {
        font-size: 16px;
        line-height: 22px;
    }

    .detail .detail-description-wrapper .detail-description > .detail-timetable {
        font-size: 12px;
    }

    .detail .detail-more {
        padding: 8px 16px;
        font-size: 13px;
    }
}