

html,
body {
    overflow-x: hidden;
}

:root {
    --blue_btn: #1F9DFF;
    --main_font: SF-Pro-Display;
    --main_font_bold: SF-Pro-Display-Bold;
    --main_font_500: SF-Pro-Display-Regular;
    --main_font_semibold: SF-Pro-Display-SemiBold
}


.layout {
    margin-top: 138px;
    transform: translateY(-60px);
}

.layout-inner {
    border-radius: 20px;
    border: 1px solid #E7E7E7;
    background: #FFF;
    /*height: 946px;*/
    overflow: hidden;
}

.layout-top{
    display: flex;
    column-gap: 15px;
    position: absolute;
    top: 33px;
    left: 50%;
    transform: translateX(-50%);
}

.apartment-layout-item-width{
    width: 310px;
}

.floors-width{
    width: 180px;
}

.layout-tab {
    padding: 6px;
    border-radius: 30px;
    background: #F6FAFF;
    height: 50px;
    width: max-content;
}

.border-l{
    border-left: 1px solid #DDD;
}

.apartment-layout-item-text{
    padding: 30px 10px 38px 5px;
}

.layout-print-icon {
    width: max-content;
    height: 50px;
    flex-shrink: 0;
    border-radius: 30px;
    background: #F6FAFF;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 15px;
    padding: 15px 21px;
    transition: width 0.2s ease, max-width 0.2s ease;
}


.copy-success-text{
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 10px 22px;
    border-radius: 24px;
    background: transparent;
}

.fade-enter-active, .fade-leave-active {
    transition: opacity 0.2s ease;
}
.fade-enter, .fade-leave-to {
    opacity: 0;
}


.layout-print-icon button{
    border: none;
    outline: none;
    background: transparent;
}

.layout-tab .nav-link {
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 10px 22px;
    border-radius: 24px;
    background: transparent;
}

.layout-tab .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    padding: 10px 22px;
    border-radius: 24px;
    background: #1F9DFF;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.layout-inner-left {
    position: relative;
}

.layout-inner-right-text {
    padding: 55px 46px 46px 44.5px;
    position: relative;
    overflow: hidden;
}

.apartment-layout-icons{
    width: 100px;
    height: 50px;
    border-radius: 25px;
    background: #FFF;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.08), 0px -2px 4px 0px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 4px;
    position: absolute;
    top: 15px;
    right: 15px;
}

.layout-inner-right-text-one {
    padding-bottom: 34.5px;
}

.layout-inner-right-text-one-desc {
    color: #2C2929;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.layout-inner-right-text-two {
    padding: 34.5px 0;
}

.layout-inner-right-text-two-price {
    color: #2C2929;
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 20px;
}
.currency{
    font-size: 25px;
}

.layout-inner-right-text-two-payment p {
    color: #2C2929;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 9px;
}

.layout-inner-right-text-two-payment span {
    /*color: #1F9DFF;*/
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    opacity: 1;
}

.layout-inner-right-text-two-footer {
    margin-top: 25px;
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.text-two-footer-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 8px;
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    border-radius: 30px;
    background: #1F9DFF;
    padding: 16px 13.3px;
    width: 50%;
    transition: 0.2s linear;
}

.text-two-footer-btn:hover{
    background: #1390ef;
}

.text-two-footer-btns {
    flex-grow: 1;
}


.text-two-footer-btns{
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 6px;
    color: #1F9DFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    border-radius: 30px;
    border: 1px solid #1F9DFF;
    padding: 16px 10px;
    width: 50%;
    transition: 0.2s linear;
}

.text-two-footer-btns:hover{
    background-color: #1F9DFF;
    color: #fff;
}

.text-two-footer-btns svg path{
    transition: 0.2s linear;
}

.text-two-footer-btns:hover svg path{
    fill: white;
    color: white;
}

.layout-inner-right-text-options {
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.layout-inner-right-text-options span {
    color: #2C2929;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.layout-inner-right-text-options p {
    color: #2C2929;
    text-align: right;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.layout-inner-right-text-footer {
    margin-top: 30px;
}

.layout-inner-right-text-footer-text h3 {
    color: #000;
    font-size: 25px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.layout-inner-right-text-footer-text p{
    max-width: 246px;
    color: #2C2929;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}


.layout-inner-right-text-footer-text a {
    color: #1F9DFF;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-top: 42px;
    display: flex;
    align-items: center;
    column-gap: 10px;
    transition: 0.2s linear;
}

.layout-inner-right-text-footer-text a:hover{
    column-gap: 15px;
}

.layout-inner-right-text-footer-img {
    position: absolute;
    right: -15px;
    bottom: 0;
}

.layout-inner-right-text-footer-img img{
    max-width: 200px;
}


.apartment-layout-rows-head {
    display: flex;
    column-gap: 200px;
    /*justify-content: space-between;*/
}

.building-select{
    border-radius: 10px;
    background: #F6FAFF;
    border: none;
    outline: none;
    appearance: none;
    color: #1F9DFF;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    position: relative;
    padding-right: 0 !important;
}
.item-text-price{
    color: #2C2929;
    font-size: 25px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.item-text-mortgage-price{
    color: #1F9DFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.item-text-mortgage-link{
    color: #2C2929;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.building-select select{
    width: 100%;
    display: inline-flex;
    padding: 12px 30px 12px 16px;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    border-radius: 10px;
    background: #F6FAFF;
    border: none;
    outline: none;
    appearance: none;
    color: #1F9DFF;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    cursor: pointer;
}

.floor-select select{
    width: 65px;
}

.building-select .select-icon{
    position: absolute;
    right: 8px;
    top: 49%;
    transform: translateY(-50%);
    pointer-events: none;
}

.apartment-layout-rows-head span {
    color: #2C2929;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1.108px;
    text-transform: uppercase;
    opacity: 0.6;
}

.apartment-layout-rows-item {
    border-radius: 30px;
    background: #FFF;
    display: flex;
    margin-top: 30px;
    overflow-x: scroll;
}

.apartment-layout-rows-item::-webkit-scrollbar{
    display: none;
}

.apartment-layout-rows-img img {
    width: 210px;
    height: 145px;
    object-fit: cover;
    border-radius: 30px 0 0 30px;
}

.apartment-layout-rows-rooms {
    background-color: #fff;
    display: flex;
    /*align-items: center;*/
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    padding-right: 43px;
    padding-left: 33px;
}

.apartment-layout-rows-rooms h4 {
    color: #2C2929;
    font-size: 25px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.apartment-layout-rows-rooms p {
    width: 237px;
    color: #2C2929;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    opacity: 0.6;
}

.apartment-layout-rows-building {
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apartment-layout-rows-building p {
    color: #2C2929;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    border-left: 1px solid #DDD;
    padding: 14px 65px 14px 35px;
}

.apartment-layout-rows-price .apartment-layout-icons {
    position: static;
}

.apartment-layout-rows-price {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: space-around;
}

.apartment-layout-rows-body {
    margin-top: 16px;
}

.apartment-layout-rows-body .item-text-mortgage {
    margin-top: 0;
    margin-bottom: 0;
}

.similar-apartments{
    margin-top: 40px;
    margin-bottom: 90px;
}

.layout-inner .col-7, .layout-inner .col-5{
    padding: 0;
}

.layout-img{
    /*padding: 303px 75px;*/
    display: flex;
    justify-content: center;
    align-items: center;
}

.layout-img img{
    width: 800px;
    height: 600px;
    object-fit: cover;
    margin-top: 100px;
}

.layout-title{
    color: #2C2929;
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    max-width: 85%;
}

.special-item-layout .layout-img img{
    height: 510px;
}

.visualization-carousel .flickity-prev-next-button.next{
    right: 29.5px;
    width: 62px;
    height: 62px;
    border-radius: 62px;
    background: #F6FAFF;
    box-shadow: 0px 5px 7px 0px rgba(0, 0, 0, 0.16);
}


.visualization-carousel .flickity-prev-next-button.previous{
    left: 30px;
    opacity: 1;
    width: 62px;
    height: 62px;
    flex-shrink: 0;
    border-radius: 62px;
    background: #F6FAFF;
    box-shadow: 0px 5px 7px 0px rgba(0, 0, 0, 0.16);
}

.visualization-carousel .flickity-viewport{
    border-radius: 0;
}

/*.layout-img img{*/
/*    width: 100%;*/
/*}*/

.visualization-carousel .carousel-cell img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}


@media (max-width: 1170px) {


    .apartment-layout-rows-head {
        display: none;
    }

    .text-two-footer-btns span{
        display: none;
    }

    .text-two-footer-btn span{
        display: none;
    }

}

@media (max-width: 993px) {
    .apartment-layout-rows-building {
        display: none;
    }
    .apartment-layout-rows-img img {
        width: 100%;
    }
    .apartment-layout-rows .apartment-layout-item-text{
        padding: 30px 0;
    }
    .apartment-layout-rows-item {
        flex-direction: column;
        padding: 0 25px 0 25px;
        /*flex-wrap: wrap;*/
    }

    .text-two-footer-btns span{
        display: block;
    }

    .text-two-footer-btn span{
        display: block;
    }

    .apartment-layout-rows-rooms {
        order: 1;
    }

    .apartment-layout-rows-img {
        order: 2;
    }

    .apartment-layout-rows-price .price-line {
        display: none;
    }

    .apartment-layout-rows-price {
        justify-content: space-between;
        border-top: 1px solid #DDD;
    }


    .visualization-carousel .carousel-cell img{
        max-width: 100%;
    }

    .layout-inner-right-text-two-price{
        font-size: 30px;
    }


    .layout-inner-right-text{
        border-top: 1px solid #DDD;
        border-left: none;
    }
}


@media (max-width: 768px) {
    .apartment-layout-rows-price .apartment-layout-icons {
        position: absolute;
        top: 8px;
        right: 0;
    }

    .apartment-layout-rows-price {
        display: block;
        position: relative;
        flex-grow: 1;
    }
    .apartment-layout-rows-rooms p {
        width: 100%;
        font-size: 14px;
    }

    .apartment-layout-rows-rooms{
        padding-left: 0;
        padding-right: 0;
    }

    .layout-inner-right-text-footer-text a{
        font-size: 16px;
    }

    .layout-inner-right-text-footer-text h3{
        font-size: 20px;
    }

    .layout-title{
        color: #2C2929;
        font-size: 20px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        max-width: 75%;
    }

    .apartment-layout-rows-rooms h4 {
        font-size: 20px;
    }

    .layout-img img{
        /*margin-top: 10px;*/
        width: 100%;
        height: 500px;
    }

    .layout-print-icon{
        left: 80%;
    }

    /*.layout-img{*/
    /*    padding: 120px 75px;*/
    /*}*/

    .layout-inner-right-text-footer-img img{
        max-width: 200px;
    }

    .features-head-text{
        font-size: 18px;
    }
}

@media (max-width:650px) {
    .layout-print-icon{
        display: none;
    }

    .layout-inner-right-text{
        padding: 20px;
    }
}

@media (max-width:576px) {

    .layout-img img{
        margin-top: 50px;
        height: 400px;
    }
}



@media (max-width:480px) {
    .layout-tab .nav-link{
        padding: 10px 15px;
        /*font-size: 14px;*/
    }

    .layout-img img{
        margin-top: 60px;
        height: 330px !important;
    }

    .layout-inner-right-text-footer-text p{
        max-width: 140px;
    }

    .layout-inner-right-text-footer-img{
        right: -50px;
    }

    .layout-inner-right-text-two-footer{
        flex-direction: column;
        row-gap: 10px;
    }

    .text-two-footer-btn, .text-two-footer-btns{
        width: 100% !important;
    }

    .layout-tab .nav-pills .nav-link.active, .nav-pills .show > .nav-link{
        /*font-size: 14px;*/
        padding: 10px 15px;
    }


    .visualization-carousel .flickity-prev-next-button.next{
        right: 5px;
        width: 50px;
        height: 50px;
    }
    .visualization-carousel .flickity-prev-next-button.previous{
        left: 5px;
        width: 50px;
        height: 50px;
    }
}

@media (max-width:400px) {
    .layout-tab .nav-pills .nav-link.active, .nav-pills .show > .nav-link ,  .layout-tab .nav-link{
        font-size: 14px;
    }
}









