:root {
    --main-bg-color: #27272A;
    --main-text-color: #FCFCFD;
    --hover-bg-color: #FCFCFD;
    --hover-text-color: #27272A;
    --highlight-color: #E20613;
    --transition-duration: 0.3s;
    --gap-size: 15px;
    --padding-container-info: 50px 20px;
}

.container-ad-mx {
    width: 28%;
    position: absolute;
    right: 18%;
    top: 10%;
    text-align: center;
}

.container-ad-mx h6 {
    font-size: 18px;
    font-style: italic;
    font-weight: 600;
    font-family: "Gotham Book", sans-serif;
    padding: 14px 0;
}

.title-ditribuidor {
    font-weight: 600 !important;
    padding: 10px 30px;
}

.container-ad-mx select {
    font-family: sans-serif !important;
    border: 1px solid #c8c1c1;
    border-radius: 0;
    width: 46%;
    margin: auto;
}

.container-representatives {
    display: block;
    width: 30%;
    background-color: rgb(255, 255, 255);
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 999;
    overflow-y: auto;
    transform: translateX(100%);
    transition: var(--transition-duration) all linear;
}

select:focus-visible, select:focus {
    cursor: pointer;
    outline: none;
    border: 1px solid black !important;
}

.map-cont svg {
    width: auto;
    display: block;
    height: 730px;
    margin: auto 35vh;
}

.map-cont .active > * {
    fill: var(--highlight-color);
    cursor: pointer;
}

.map-cont .active:hover > * {
    fill: #000000;
}

.mx svg g > *, .br svg g > * {
    stroke-width: 1px !important;
    stroke: #000000;
}

.slide-repre {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    display: none;
}

.container-info {
    display: none;
}

.container-info.active-country {
    display: block;
}

.container-info-list {
    list-style: none;
    padding-left: 0 !important;
}

.container-info h4 {
    font-weight: 600;
    padding: var(--padding-container-info);
    width: 100%;
    color: var(--main-text-color);
    background-color: var(--main-bg-color);
    margin-top: 0;
    text-transform: uppercase;
}

.container-info-list a {
    color: #5ec1ac;
    font-weight: 600;
    letter-spacing: 0.1px;
}

.container-info-list a:hover {
    color: #003E51;
}

.container-info-list li {
    margin-bottom: 40px;
    text-align: center;
}

.container-info-list li p {
    margin-bottom: 5px;
}

.icon-close {
    position: absolute;
    top: 20px;
    right: 20px;
}

.icon-close i {
    color: #ffffff;
    font-size: 25px;
    background-color: transparent;
    border-radius: 50%;
    width: 23px;
    height: 23px;
    margin: auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.icon-close:hover i {
    color: var(--highlight-color);
    background-color: transparent;
}

.selected {
    fill: var(--highlight-color) !important;
}

.selected path {
    fill: var(--highlight-color) !important;
}

.align-items {
    gap: var(--gap-size);
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-bottom: 10px;
}

.align-items img {
    height: 22px;
}

.align-items span {
    font-size: 14px;
    color: var(--main-bg-color);
}

a.align-items:hover span {
    color: var(--highlight-color);
}

.align-items .fa-whatsapp {
    color: var(--main-bg-color);
    font-size: 25px;
}

/* Accordion */
.accordion {
    width: 100%;
}

.accordion-item {
    background-color: #fff;
    padding: 20px 30px;
    border-bottom: 1px solid #dadadd;
}

.accordion-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header h6 {
    margin: 0;
    color: var(--highlight-color);
    font-size: 16px !important;
    font-weight: 600;
    cursor: pointer;
}

.accordion-content {
    display: none;
    padding: 10px;
}

.open .accordion-content {
    display: block;
    padding: 25px 10px 0;
}

.open .accordion-content:not(:last-child) {
    border-bottom: 1px solid #dadadd;
}

.open .fa-chevron-down {
    transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 1024px) {
    .map-cont svg {
        height: 515px;
        margin: auto 20px;
    }

    .container-ad-mx {
        width: 40%;
        right: 8%;
        top: -2%;
    }

    .container-ad-mx h6 {
        font-size: 16px;
        padding: 0;
    }

    .container-ad-mx h3 {
        font-size: 25px;
    }

    .container-ad-mx select {
        width: 78%;
    }

    .container-representatives {
        width: 60%;
    }
}

@media (max-width: 767px) {
    .map-cont svg {
        height: 250px;
        margin: 24vh 20px 0;
    }

    .container-ad-mx {
        width: 100%;
        right: 0;
        top: 0;
    }

    .container-representatives {
        width: 100%;
    }
}

@media (min-width: 1300px) and (max-width: 1599px) {
    .container-ad-mx {
        width: 35%;
        right: 10%;
        top: 10%;
    }
}
