.map-body {
    font-family: "Montserrat", sans-serif;
    margin: 50px 70px;
    background-color: #494136;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    position: relative;
}

.map-container {
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 50px;
    flex-grow: 1;
}

/*.map-body #country-map {*/
/*    width: 100%;*/
/*    height: auto;*/
/*}*/

.map-body h1 {
    color: #fff;
    font-size: 50px;
    position: relative;
    width: 100%;
    height: 100%;
    line-height: 60.95px;
}

.map-body .list {
    color: #FFFFFF80;
    width: 60%;
    height: 400px;
    padding: 0;
    list-style: none;
    gap: 30px;
    display: grid;
    position: relative;
    justify-items: start;
    overflow-y: scroll;
    direction: rtl;
}

.map-body .list::-webkit-scrollbar {
    width: 5px;
    direction: ltr;
}

.map-body .list::-webkit-scrollbar-track {
    background: #ffffff;
}

.map-body .list::-webkit-scrollbar-thumb {
    background: #cec9c9;
}

.map-body .list li {
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 18px;
    position: relative;
}

.map-body .list .list-city {
    text-align: left;
    width: 90%;
}

.map-body .list li:hover {
    color: #fff;
    transform: scale(1.1);
}

.map-body .list li a {
    text-decoration: none;
    color: inherit;
    position: relative;
}

/* .map-body .list li a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 0.1em;
    bottom: 0;
    left: 0;
    background: linear-gradient(currentColor, currentColor) bottom / 0 0 no-repeat;
    transition: background-size 1s;
} */

.map-body .list li a:hover::before {
    background-size: 100% 0.1em;
    background-position: left bottom;
}

.map-body .list li.active {
    color: #fff !important;
    font-size: 24px;
    /* background: #D9BC92 !important; */
}

.map-body .list li.active path {
    fill: #D9BC92 !important;
}

.map-body .map-path {
    transition: fill 0.3s ease;
}

.map-body .map-path:hover {
    fill: #D9BC92 !important;
    cursor: pointer;
}


.map-body .active_map {
    fill: #D9BC92;
}

.map-detail {
    align-items: center;
    justify-content: center;
    margin: auto 0;
    /*width: 100%;*/
    width: 1004px;
    height: 100%;
}

.map-detail-img {
    max-width: 100%;
    max-height: 540px;
}

.map-detail-img-area area {
    cursor: pointer;
}

.map-body #return-btn {
    display: none;
    align-items: center;
    gap: 10px;
    color: #fff;
    cursor: pointer;
    position: absolute;
    top: 55px;
    left: 606px;
}

.map-body svg #chevrolet,
#jac,
#kia,
#jetour,
#open-modal {
    cursor: pointer;
}

.map-body .modalka {
    display: none;
    position: absolute;
    top: 50px;
    right: 300px;
    width: 481px;
    height: 347px;
    justify-content: center;
    align-items: center;
    z-index: 30;
}

.map-body .modal-content {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px 60px;
    border-radius: 10px;
    border: 2px solid #fff;
}

.map-body .modal-content .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.map-body .modal-content .schedule {
    white-space: pre-wrap;
}

.map-body .modal-content .wrapper h2 {
    text-align: center;
    font-weight: bold;
    font-size: 1.5em;
}

.map-body .modal-items {
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-body .modal-social-items {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
}

.map-body .close {
    cursor: pointer;
    float: right
}


.clearfix::after {
  content: "";
  clear: both;
  display: table;
}



/* -------------brands --------------------*/

.map-body-brands {
    position: relative;
    font-family: "Montserrat", sans-serif;
    padding: 40px 0;
    margin-left: 80px;
    margin-right: 80px;
    margin-top: 50px;
    background-color: #494136
}

.map-container-brands {
    position: relative;
    gap: 50px
}

.map-body-brands h1 {
    color: #fff;
    font-size: 50px;
    font-weight: 600;
    position: relative;
    line-height: 60.95px;
    margin-bottom: 30px;
}

.map-container-brands .brands-blocks::-webkit-scrollbar {
    width: 5px;
}

.map-container-brands .brands-blocks::-webkit-scrollbar-track {
    background: #ffffff;
}

.map-container-brands .brands-blocks::-webkit-scrollbar-thumb {
    background: #cec9c9;
}


.map-container-brands .brand-maps {
    display: flex;
    gap: 196px;
}

.map-container-brands .brands-blocks img {
    cursor: pointer;
}

.map-container-brands .brands-blocks {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: scroll;
    height: 500px;
    padding-right: 1rem;
    width: max-content;
}

.map-body-brands img {
    max-width: max-content;
}

.map-body-brands .modalka {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    top: 70px;
    width: 481px;
    height: 347px;
    justify-content: center;
    align-items: center;
    z-index: 30;
}

.map-body-brands .modal-content {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px 60px;
    border-radius: 10px;
    border: 2px solid #fff;
}

.map-body-brands .modal-content .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.map-body-brands .modal-content .wrapper h2 {
    text-align: center;
}

.map-body-brands .modal-content .schedule {
    white-space: pre-wrap;
}

.map-body-brands .modal-items {
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-body-brands .modal-items .phone  {
    text-decoration: none;
    color: black;
}

.map-body-brands .modal-items .website-link {
    text-decoration: none;
    color: black;
}

.map-body-brands .modal-social-items {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
}

.map-body-brands .close {
    cursor: pointer;
    float: right
}

.brand-maps area {
    cursor: pointer;
}

/* @media screen and (max-width: 1441px) {
    .map-body-brands .modal {
        top: 375px;
    }

    .map-container-brands .brand-maps {
        flex-direction: column;
    }

    .map-container-brands .brands-blocks {
        overflow-y: hidden;
        flex-direction: row;
        width: auto;
        height: auto;
        padding: 1rem;
    }

    .map-container-brands .brands-blocks::-webkit-scrollbar {
        height: 5px;
    }

    .map-container-brands .brands-blocks::-webkit-scrollbar-track {
        background: #ffffff;
    }

    .map-container-brands .brands-blocks::-webkit-scrollbar-thumb {
        background: #cec9c9;
    }
} */



@media screen and (max-width: 1536px) {
    .map-body .modalka {
        top: 170px;
        right: 200px;
    }

    .map-body-brands .modalka {
        top: 310px;
    }

    .brand-maps {
        display: flex;
        flex-direction: column;
    }

    .map-container-brands .map-container {
        margin: auto;
    }

    .map-container-brands .brand-maps {
        gap: 90px;
    }

    .map-container-brands .brands-blocks {
        overflow-y: hidden;
        flex-direction: row;
        width: auto;
        height: auto;
        padding: 1rem;
    }

    .map-container-brands .brands-blocks::-webkit-scrollbar {
        height: 5px;
    }

    .map-container-brands .brands-blocks::-webkit-scrollbar-track {
        background: #ffffff;
    }

    .map-container-brands .brands-blocks::-webkit-scrollbar-thumb {
        background: #cec9c9;
    }

    .map-body #return-btn {
        left: 400px;
    }
}


@media screen and (max-width: 1441px) {

}

/* @media screen and (max-width: 1216px) {
    .map-container-brands .brands-blocks {
        flex-direction: row;
        width: auto;
        height: auto;
        padding: 1rem;
    }
} */

@media screen and (max-width: 1024px) {

}

@media screen and (max-width: 467px) {
    .brand-maps {
        display: flex;
        flex-direction: column;
    }
}
