/**
 * @version     CVS: 1.0.0
 * @package  mod_smartmapa
 * @copyright   2021 Trídia Criação 
 * @license     GNU General Public License versão 2 ou posterior; consulte o arquivo License. txt
 * @author      Trídia Criação  <atendimento@tridia.com.br>
 */

.mapa__content{
    position: relative;
    z-index: 10;
}

.mapa__content svg{
    width: 620px;
}

@media screen and (max-width: 1399px) {
    .mapa__content svg{
        width: 600px;
    }
}

@media screen and (max-width: 1199px) {
    .mapa__content svg{
        width: 550px;
    }

}

.mapa__content svg .estado {
    fill: white;
    stroke: #00000085;
    stroke-width: 1px;
    transition: .2s ease-in-out;
}

.mapa__content svg .estado:hover,
.mapa__content svg .estado.path-active{
    fill: var(--p-normal);
}

.mapa__content svg .estado:hover,
.mapa__content svg .estado.path-active{
    fill: var(--p-normal);
}

.mapa__content svg #pins  path{
    stroke: #ffff;
    stroke-width: 1px;
}
.mapa__content svg #pins .pin-active path{
    fill: #fff !important;
    stroke: var(--p-normal);
}


.mapa__content svg .estado{
    cursor: pointer;
}

.mapa__content .mapa__card{
    width: 584px;
    padding: 2.2rem;
    height: auto;
    border-radius: 2px;
    filter: drop-shadow(0px 19px 19px rgba(0,0,0,0.11));
    background-color: #ffffff;
    position: relative;
    font-weight: 500;
    position: absolute;
    left: 10%;
    top: 19%;
    opacity: .94;
}

.mapa__content .mapa__card .info-dados .info-img img{
    margin: auto;
    max-height: 190px;
}

@media screen and (max-width: 991px) {
    .mapa__content .mapa__card{
        background-color: transparent;
    }

    .mapa__content .mapa__card.active{
        background-color: #ffffff;
        opacity: .9;
    }
}

.mapa__content .mapa__card .btn-close{
    opacity: .8;
}

.mapa__content .mapa__card .info-sigla{
    font-weight: 800;
    color: var(--s-normal);
    font-size: 15px;
}




/* .mapa__content .mapa__card::after {
    position: absolute;
    content: '\f104';
    font-family: 'Font Awesome 5 Free';
    background-color: #253f8d;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    color: #fff;
    font-weight: 900;
    text-align: center;
    line-height: 30px;
    left: -1em;
    top: 50%;
    transform: translateY(-50%);
} */
@media screen and (min-width: 992px) {
    .mapa__content .mapa__items{
        display: none;
    }
}
@media screen and (max-width: 991px) {
    #close_state_details{
        display: none;
    }
    .sp-module-title{
        color: #921004;
        margin-bottom: 0rem;
    }
    .mapa__content .mapa__card{
        position: relative;
        left: 0;
        top: 0;
        margin-top: 0;
        margin-bottom: 3rem;
        width: 100%;
        
    }
    .mapa__content .mapa__card::after {
        position: absolute;
        content: '\f106';
        font-family: 'Font Awesome 5 Free';
        border-radius: 100%;
        color: #fff;
        font-weight: 900;
        text-align: center;
        line-height: 30px;
        top: -.9em;
        left: 50%;
        transform: translateX(-50%);
    }
    .mapa__content .mapa__list{
        height: 4em;
        margin: 2rem 0;
        border-radius: 0.5rem;
    }
    .mapa__content .mapa__list{
        list-style: none;
        padding: 0;
        display: flex;
    }
    .mapa__content{
        position: relative;
    }
    .mapa__content .mapa__list #mapa__dropdown{
        display: flex;
        align-items: center;
        justify-content: center;
        text-transform: uppercase;
        width: 100%;
        border-radius: .8rem;
        height: 100%;
        color: #FFFFFF;
        font-weight: 700;
        font-size: 1.1rem;
        background-color: var(--p-normal);
    }
    .mapa__content .mapa__list #mapa__angle{
        color: #253f8d;
        background: white;
        border: none;
        border-radius: .8rem;
        position: absolute;
        cursor: pointer;
        top: 36px;
        right: 21px;
        height: 48px;
        width: 55px;
    }
    .mapa__content .mapa__list #mapa__angle:after {
        font-family: 'Font Awesome\ 6 Free';
        content: '\f107';
        font-weight: 900;
        top: 50%;
        right: 50%;
        transform: translate(50%, -50%);
        position: absolute;
        font-size: 25px;
        font-weight: 900;
    }
    .mapa__content .mapa__items {
        list-style: none;
        padding: 0;
        margin: 0;
        position: absolute;
        z-index: 9;
        width: calc(100% - 30px);
        top: 6.2em;
        border: 1px solid #94A1A1;
        box-shadow: 0 3px 6px rgb(0 0 0 / 15%);
        background: #F3F6FB;

        max-height: 180px;
        overflow-y: auto;
    }
    .mapa__content .mapa__items li{
        padding: 1rem;
        cursor: pointer;
        text-transform: uppercase;
        font-size: 1.14em;
        border: none;
        width: 100%;
        text-align: center;
        background-color: #f3f6fb;
        margin: auto;
        font-weight: 500;
    }
    .mapa__content .mapa__items li.active,
    .mapa__content .mapa__items li:hover{
        background-color: var(--s-normal);
        color: white;
    }
    .mapa__content .mapa__items li p {
        margin: 0;
    }

    .mapa__content .mapa__items li:nth-child(12),
    .mapa__content .mapa__items li:nth-child(7),
    .mapa__content .mapa__items li:nth-child(22),
    .mapa__content .mapa__items li:nth-child(23){
        display: none;
    }
}
@media screen and (max-width: 767px) {
    .sp-module-title {
        font-size: 1.2rem;
    }
    .mapa__content .mapa__list #mapa__dropdown{
        font-size: 1rem;
    }
    /* .mapa__content .mapa__card{
        margin: 4rem -10rem;
    } */
}
@media screen and (max-width: 575px) {
    .mapa__content .mapa__card {
        padding: 1.5rem 1.3rem;
    }
    .mapa__content .mapa__card .mapa__info{
        font-size: 1rem;
    }
    .mapa__content .mapa__list #mapa__dropdown{
        padding-right: 2rem;
    }
    /* .mapa__content .mapa__card{
        margin: 4rem -10rem;
        margin-left: -12em;
        margin-right: 1em;
        border: 1px solid red;
        width: 80%;
        margin: auto;
    } */
}

.mapa__content svg .estado{
    pointer-events: none;
}

.info-dados .info-site .website{
    word-break: break-all;
}
