.plan-img-wrapper {
    position: relative;
    width: 90vw;
    max-width: 120vh;
    margin: 0 auto;
}
.plan-img-wrapper .gallery-item {
    cursor: unset !important;
}
.plan-img-wrapper .gallery-item::before,
.plan-img-wrapper .gallery-item::after {
    display: none !important;
}

.plan-img {
    width: 100%;
}

.hover-box {
    position: absolute;
    z-index: 2;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hover-box:hover {
    background: #ffffff55;
    box-shadow: 0 0 10px #ffffff;
}

.hover-box__tooltip-wrapper {
    position: relative;
    height: 100%;
    width: 100%;
}

.hover-box__tooltip {
    position: absolute;
    top: 0;
    right: 95%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: max-content;
    min-width: 150px;
    background: #f1f1f1;
    padding: 10px;
    font-size: 0.8em;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

@media (min-width: 1000px) {
    .hover-box__tooltip--right {
        right: initial;
        left: 95%;
    }
}

.hover-box__tooltip-wrapper:hover .hover-box__tooltip {
    opacity: 1;
    pointer-events: all;
}

.hover-box__tooltip__row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.hover-box__tooltip__row__label {
    color: #888888;
}
.hover-box__tooltip__row__value {
    color: black;
    font-weight: bold;
}

.hover-box__tooltip__button {
    border: 0;
    outline: none;
    background: var(--primary-color);
    border-radius: 4px;
    margin-top: 10px;
    padding: 5px 10px;
    color: white;
}

.popup-icon {
    width: 39px;
    height: 39px;
}

.modal.apartment-selector.floor-icons .modal-body dl dt {
    font-weight: normal;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 7px;
}
.modal.apartment-selector.floor-icons dl {
    float: left;
    margin-bottom: 20px;
}

.modal-body [data-owl-nav="1"] .owl-nav {
    text-align: center;
    margin-top: 10px;
}

.font-bold{
    font-weight: bold;
}

.text-right{
    text-align: right;
}
@media (max-width: 800px) {
    .hover-box__tooltip {
        min-width: unset;
    }
    .hover-box__tooltip__row {
        flex-direction: column;
        align-items: baseline;
        margin-bottom: 5px;
    }
    .hover-box__tooltip__button {
        padding: 5px 5px;
        font-size: 0.9em;
    }
}


.modal.apartment-selector .modal-body .left, .modal.apartment-selector .modal-body .right {
    display: block;
    height: auto;
}

.modal.apartment-selector .modal-body{
    display: flex;
}

.modal.apartment-selector .modal-body .tab-content,.tab-content > .active,.gallery {
    height: 100%;
}

.owl-carousel .owl-stage-outer {
    height: 100%;
}

.custom-modal-content .modal-body .right hr {
    float: left;
    width: 100%;
    margin-top: 15px;
}

.custom-modal-content .modal-body .right figure {
    float: left;
}

@media (max-width: 579px) {
  .selector figure {
    text-align: left;
  }
}
