@charset "UTF-8";

.elementor-location-footer {
    height: 0;
    overflow: hidden;
}

.block-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.65);
}

.block-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-loader .dot {
    fill: var(--e-global-color-primary, #FF156D);
    stroke: var(--e-global-color-primary, #FF156D);
    stroke-width: 5;
    animation: bounce 1.4s infinite ease-in-out;
}

.block-loader .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.block-loader .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 100% {
        cy: 100;
    }
    50% {
        cy: 60;
    }
}

.leaflet-control-attribution a,
.leaflet-control-attribution span {
    display: none !important;
}

.leaflet-popup-content-wrapper {
    border-radius: 6px;
}

.marker-pop {
    color: var(--e-global-color-secondary, #8A0052);
}

.open {
    background: rgba(236,0,140, .1);
}

.search-summary {
    font-size: 14px;
    border-bottom: 1px solid rgba(236,0,140, .2);
    text-align: center;
}

.search-summary span {
    font-style: italic;
}

.card-unidade {
    font-size: .875rem;
    line-height: 1.4;
    cursor: pointer;

    display: grid;
    grid-template-areas: 
        "i h h"
        "i a a"
        "i t l";
    grid-template-columns: 26px 1fr;
    column-gap: .6rem;
    row-gap: .25rem;
    border-bottom: 1px solid rgba(236,0,140, .2);
}

.card-unidade .icon {
    grid-area: i;
}

.card-unidade .icon img {
    margin-top: -3px;
}

.card-unidade h4 {
    grid-area: h;
    font-size: 1rem;
    font-weight: 600;
    color: var(--e-global-color-primary, #ec008c);
    margin: 0;
    margin-bottom: .25em;
}

.card-unidade .address {
    grid-area: a;
    margin: 0;
    margin-bottom: 10px;
}

.card-unidade .tel {
    grid-area: t;
    align-self: center;
}

.card-unidade > a {
    grid-area: l;
    display: inline-block;
    padding: .5rem .75rem;
    border-radius: 3px;
    font-size: 13px;
    line-height: 1;
    background-color: var(--e-global-color-secondary, #8A0052);
}

.card-unidade > a,
#unidade-results button {
    font-family: "Nunito", Sans-serif;
    font-weight: 700;
    white-space: nowrap;
}

#unidade-results button {
    color:  var(--e-global-color-secondary, #8A0052);
    border-color:  var(--e-global-color-secondary, #8A0052);
}

.card-unidade > a, .card-unidade > a:hover {
    color: #fff;
}

.card-unidade > a:hover {
    background-color: var(--e-global-color-primary, #ec008c);
}

#unidade-results button:hover,
#unidade-results button:focus {
    color: #fff;
    background-color: var(--e-global-color-secondary, #8A0052);
}

.card-unidade:not(.open):hover {
    background: rgba(236,0,140, .04);
}

#content {
    background-color: #ffd6e8;
}

#map-container {
    position: relative;
    width: 100svw;
    min-height: 100svh;
    background-color: #fff8fb;
    border-top: 1px solid rgba(236,0,140, .2);
}

.unidade-sticky {
    position: sticky;
    top: 0;
    z-index: 2;
}

.unidade-sticky.stuck {
    box-shadow: 0 14px 10px -10px rgba(0,0,0,.18);
}

#map {
    width: 100%;
    height: 100%;
    z-index: 0;
}

#unidade-map {
    width: 100%;
    height: 40svh;
}

#unidade-search,
.search-summary,
.card-unidade {
    position: relative;
    padding: 1rem;
}

#unidade-results button {
    margin: 1rem;
}

#unidade-search {
    position: relative;
    background: var(--e-global-color-primary, #ec008c);
}

#unidade-search .clear-search {
    position: absolute;
    width: 2rem;
    height: 2rem;
    padding: 0;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    border: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='black' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: .5;   
}

#unidade-search .clear-search,
#unidade-search .clear-search:hover,
#unidade-search .clear-search:focus {
    background-color: transparent;
}

#unidade-search .clear-search:hover,
#unidade-search .clear-search:focus {
    opacity: .3;
}

#unidade-results {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

@media all and (min-width: 1025px) {
    #unidade-map {
        position: absolute;
        width: unset;
        height: 100vh;
        top: 0;
        right: 0;
        bottom: 0;
        left: 410px;
    }

    #unidade-map:before {
        position: absolute;
        content: '';
        top: 0;
        left: 0;
        width: 6px;
        height: 100%;
        z-index: 1;
        box-shadow: inset 6px 0px 6px -6px rgba(0,0,0,.3);
    }

    #unidade-search,
    #unidade-results {
        width: 410px;
    }

    #unidade-search,
    .search-summary,
    .card-unidade {
        padding: 1.5rem;
    }

    #unidade-results button {
        margin: 1.5rem;
    }

    #unidade-search .clear-search {
        right: 2rem;
    }
}