.container-main {
    background-color: #000;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 200px 0px 50px 0px;
}

.floors-back-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    color: white;
    z-index: 10;
}

.floors-container {
    max-height: 324px;
    height: 100%;
    flex-direction: column;

    display: flex;
    align-items: center;
    margin-right: 15px;
}

.floors-arrows {
    margin: 10px;
}

.floor-title {
    color: white;
}

.swiper-wrapper-wrapper {
    height: 309px;
    overflow: hidden;
    flex-direction: column;

}

.swiper-wrapper {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    transition: transform 0.3s;
}

.swiper-wrapper .floor-item {
    padding: 4px 15px;
    margin: 5px;
    cursor: pointer;
    color: white;
    text-align: center;
    width: 50px;
}

.swiper-wrapper .floor-item span {
    display: inline-block;
    font-size: 16px;
    transition: border-color 0.3s;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.swiper-wrapper .floor-item.active {
    background: #54219A;
    border-radius: 4px;


}

.swiper-wrapper .floor-item:hover span,
.swiper-wrapper .floor-item.active span {
}

.arrow {
    background: transparent;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    border: 2px solid black;
    border-radius: 100%;
}

.arrow:hover {
    color: #800080;
}

#floorImage {
    width: 60vw;
    height: auto;
    display: block;
}

.homes-container {
    position: relative;
    margin-top: 30px;
    text-align: center;
}

.homes-container .nav-icon {
    position: absolute;
    top: -57px;
    left: 0;
}

/* .back-link {
    margin-right: 25px;
    margin-top: 25px;
}

.back-link a {
   display: flex;justify-content: center;
   align-items: center;
   flex-direction:column;
   color: #000;
   text-decoration: none;
   font-size: 16px;
   padding: 4px 20px;
   border-radius: 5px;
}
.back-link a:hover {
    color: #fff;
    background-color: #54219A;
} */
@media (max-width: 990px) {
    .container-main {
        padding: 100px 0px 50px 0px;
    }
}

@media (max-width: 500px) {
    .homes-container .nav-icon {
        position: absolute;
        top: -57px;
        left: 25px;
    }
}

/* tooltip styles */

.FloorToolTipCont {
    background: #fff;
    border-radius: 10px;
    color: #54229a;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 5px;
}

.FloorToolTipContFlat {
    margin-bottom: 10px;
}

.FloorToolTipCont label {
    font-size: 20px;
    line-height: 1;
    font-weight: bold;
    text-align: center;
    display: block;
}

/* Polygon styles */
.home-img {
    position: relative;
}

.svg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.image-map polygon {
    stroke-width: 0;
}

.image-map {
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
    z-index: 10;
}

.image-map polygon:hover {
    fill: #475767 !important;
    opacity: 0.7;
}

.image-map polygon.active {
    fill: #475767;
    opacity: 0.7;
}

polygon {
    display: block;
    fill: rgba(255, 255, 255, 0);
}

.image-map polygon.sold:hover {
    fill: red;
    opacity: 0.7;
}

/* Tooltip styles */
.tooltip_4 {
    display: none;
    position: absolute;
    z-index: 99;
    background: #54229a;
    border-radius: 10px;
    width: 120px;
    height: auto;
    padding: 5px;
    color: #fff;
}

.FloorToolTipCont {
    background: #fff;
    border-radius: 10px;
    color: #54229a;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 5px;
}

.FloorToolTipContFlat {
    margin-bottom: 10px;
}

.FloorToolTipCont label {
    font-size: 20px;
    line-height: 1;
    font-weight: bold;
    text-align: center;
    display: block;
}

.tooltip_4.sold {
    width: 140px;
}

.floor-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 20px;
}

.floor-container #floorTitle {
    position: absolute;
    left: 5%;
    top: 5%;
}

#floorTitle {
    color: white;
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
    vertical-align: middle;
    display: flex;
    align-items: center;
    font-weight: normal;
}

#floorTitle span {
    font-size: 32px;
    padding-left: 16px;
    margin-top: -3px;
}

.floor-container .floors-back-container {
    position: absolute;
    right: 10px;
    top: 10%;
}

@media (max-width: 767px) {
    .floor-container .floors-back-container {
        top: unset;
        bottom: 0;
        right: 0;
        left: 0;
    }

    .swiper-wrapper-wrapper {
        height: auto;
        overflow-x: auto;
        width: 100%;
    }

    .swiper-wrapper {
        flex-direction: row;
    }

    .floors-container {
        flex-direction: row;
        width: 80%;
    }


    #floorImage {
        width: 100%;
        object-fit: cover;
    }
    .floors-up {
        rotate: 180deg !important;
    }
    .floors-down {
        rotate: 0deg !important;
    }
}


