

/* Start:/local/templates/visotky/assets/css/page/genplan/apartment.css?17755475787046*/
.apartment {
    margin-top: 60px;
    margin-bottom: 80px;
    width: 100%;
    padding-top: 20px;
}


.apartment__container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    max-width: 1920px;
}

.apartment__info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 40%;
    gap: 40px;
}

.apartment__info-title.title {
    font-size: 36px;
    text-transform: none;
}

.apartment__info-top {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.apartment__info-top a {
    width: fit-content;
}

.apartment__info-top svg,
.apartment__visual-svg svg {
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid rgba(45, 53, 64, 1);
    border-radius: 50%;
    align-items: center;
    transition: all 0.1s ease;
    cursor: pointer;
}

.apartment__info-top svg:active,
.apartment__visual-svg svg:active {
    border: 1px solid rgba(198, 166, 105, 1);
}

.apartment__info-mid {
    font-size: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.apartment__info-line {
    color: rgba(45, 53, 64, 1);
    position: relative;
    padding: 12px 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 530px;
}

.apartment__info-line:not(:first-child)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -3px;
    height: 1px;
    background: linear-gradient(to right, rgba(45, 53, 64, 0.4), rgba(45, 53, 64, 0.0));
}

.apartment__info-left {
    color: rgba(45, 53, 64, 1);
}

.apartment__info-right {
    color: rgba(198, 166, 105, 1);
}

.apartment__info-btn.btn {
    width: 261px;
    color: white;
}

.apartment__visual {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 0 40px;
    width: 60%;
    justify-content: center;
}

.apartment__visual-buttons {
    display: flex;
    flex-direction: row;
    width: 600px;
    /* margin: 0 auto; */
}

.apartment__visual-btn.btn {
    color: rgba(45, 53, 64, 1);
    background-color: white;
    width: 200px;
    font-size: 18px;
    transition: all 0.1s ease;
}

/* .apartment__visual-btn:hover {
  transform: translateY(-5px);
} */

.apartment__visual-btn.btn.active {
    color: white;
    background-color: var(--sand);
}

.apartment__visual-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: absolute;
    padding: 20px 15px;
    left: 0;
}

.apartment__visual-svg {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.apartment__visual-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* margin: 0 auto;*/
    width: calc(100% - 100px);
    /*gap: 20px;
    overflow: hidden; */
    padding-top: 20px;
    /* min-height: 420px; */
}

.apartment__visual-pic {
    position: relative;
    overflow: hidden;
    /* max-height: 548px; */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;


}

.fancybox-image {
    height: 85%!important;
} 

.apartment__visual-pic img {
    width: 100%;
    height: 100%;
    transform: scale(0.8);
}

.apartment__visual-pic.dragging {
    cursor: grabbing;
}

.apartment__card-pic {
    /* width: 100%;
    height: auto; */
    transition: transform 0.3s ease;
    transform-origin: center center;
    /* transition: transform 0.3s ease;
  transform-origin: center center;
  width: 100%;
  height: auto;
  width: calc(100% - 100px); */
}


a {
    text-decoration: none;
}

.breadcrumbs {
    margin-top: 150px;
    width: 100%;
    /* padding: 8px 20px; */
}

.breadcrumbs nav {
    display: flex;
    flex-direction: row;
    gap: 16px;
    color: rgba(45, 53, 64, 0.5);
    font-weight: 400;
    line-height: 20px;
}

.breadcrumbs nav a {
    color: rgba(45, 53, 64, 0.5);
}

.breadcrumbs nav a:last-child {
    color: rgba(198, 166, 105, 1);
}



@media(max-width: 1600px) {
    .apartment__container {
        gap: 20px;
    }

    .apartment__info {
        width: 50%;
    }

    .apartment__visual {
        width: 50%;
    }

    .apartment__visual {
        padding: 0 15px;
    }
}


@media(max-width: 1400px) {

    .apartment__visual {
        padding: 0 40px;
    }

    .apartment__container {
        flex-direction: column;
    }

    .apartment__info {
        width: 100%;
    }

    .apartment__visual {
        width: 100%;
    }

    .apartment__info-line {
        max-width: unset;
    }

    .apartment__visual-main {
        /* display: flex;
        flex-direction: column;
        align-items: center; */
    }
}

@media(max-width: 870px) {
    .apartment__visual {
        padding: 0 15px;
    }

    .apartment {
        margin-top: 20px;
    }

    .breadcrumbs {
        margin-top: 110px;
    }
}

@media(max-width: 760px) {
    .apartment__info-btn.btn {
        width: 100%;
        flex-direction: row;
    }

    .apartment__visual-svg {
        flex-direction: row;
    }

    .apartment__visual-container {
        margin-bottom: 65px;
        flex-direction: row;
        padding: 0 15px;
        width: unset;
        left: unset;
        justify-content: space-between;
    }

    .apartment__visual {
        align-items: center;
        flex-wrap: wrap;
        flex-direction: column-reverse;
        justify-content: space-between;
    }

    .apartment__container.container,
    .breadcrumbs__container.container {
        padding: 0 15px;
    }

    .apartment__visual-pic {
        padding: 0;
    }

    .apartment__visual {
        position: relative;
    }

    .apartment__visual-buttons {
        /* width: 100%; */
        /* width: calc(100% + 15px); */
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        /* position: absolute;
        bottom: 0;
        left: 0; */
    }

    .apartment__visual-btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .apartment__visual-main {
        width: 100%;
    }

    .apartment__visual-pic {
        margin-bottom: 80px;
    }


}


@media(max-width: 600px) {
    .apartment__visual-buttons {
        width: 100%;
        width: calc(100% + 15px);
        position: absolute;
        bottom: 0;
        left: 0;
    }

    .apartment__visual-pic {
        margin-bottom: 110px;
    }

    .apartment__card-pic {
        width: 100%;
    }

    .apartment__visual {
        min-height: 420px;
    }

    .apartment__info-title.title {
        font-size: 24px;
    }

    .breadcrumbs nav {
        gap: 5px;
    }

    .apartment__visual-pic img {
        object-fit: cover;
    }
}
/* End */
/* /local/templates/visotky/assets/css/page/genplan/apartment.css?17755475787046 */
