@font-face {
    font-family: 'Neo Sans Pro';
    src: url(NeoSansPro.ttf);
}

.img_content {
    width: 100%;
}

.b-main__section.b-first-screen__section {
    background-image: unset;
    background-size: cover;
    background-position: inherit;
    background-repeat: no-repeat;
    overflow: hidden;
    /* background: #FEED00; */
    padding: 0;
    padding-bottom: 0px;
}

.content h1 {
    font-family: 'NeoSansPro-Bold';
    margin: 0 auto 0;
    font-style: normal;
    font-weight: bold;
    font-size: 120px;
    line-height: 144px;
    text-transform: uppercase;
    color: #151616;
}

.b-first-screen__subtitle {
    font-family: Neo Sans Pro;
    color: #151616;
    margin-bottom: 24px;
    font-style: normal;
    font-weight: 400;
    font-size: 36px;
    line-height: 43px;
    text-transform: uppercase;
}

.b-first-screen__subtitle span {
    font-family: Neo Sans Pro;
    font-weight: 700;
}

.b-first-screen__media {
    position: relative;
    height: 100%;
}

img.b-first-screen__media-balkon {
    position: absolute;
    bottom: 0;
    right: 0;
}

.new-btn {
    min-width: 224px;
    cursor: pointer;
    transition: all .35s ease-in-out;
    padding: 10px;
    font-family: 'NeoSansPro', Neo Sans Pro;
    border-radius: 30px;
    border: 1px solid #E2000F;
    background-color: transparent;
    display: block;
    width: max-content;
    text-align: center;
    text-transform: initial;
    font-style: normal;
    color: #E2000F;
    font-weight: normal;
    font-size: 18px;
    line-height: 22px;
}

.b-first-screen__item.b-first-screen__content {
    position: relative;
    min-height: 324px;
}

.b-first-screen__buttons {
    position: absolute;
}

.b-first-screen__buttons > .new-btn:first-child {
    margin-right: 26px;
}

.b-advantage__item {
    font-style: normal;
    font-weight: normal;
    position: relative;
    padding: 0;
    background: unset;
    box-shadow: unset;
    border-radius: unset;
    overflow: hidden;
    margin-bottom: 30px;
}

.b-advantage__item-title {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-bottom: 10px;
    font-family: 'NeoSansPro', Neo Sans Pro;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 150%;
    color: #474747;
    text-transform: initial;
}

.rec .b-advantage__item {
    text-align: right;
    background: #F5F5F5;
    height: 273px;
}

.rec .b-advantage__item-title {
    position: absolute;
    text-align: left;
    left: 16px;
    bottom: 16px;
    font-family: 'NeoSansPro', Neo Sans Pro;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 19px;
    max-width: 224px;
    margin-bottom: 0;
}

.rec .b-advantage__item-icon {
    position: relative;
    width: auto;
    bottom: 40px;
    height: 249px;
}

.rec > div:nth-of-type(1) .b-advantage__item-icon {
    bottom: 10px;
    height: 273px;
}

.rec > div:nth-child(2) .b-advantage__item-icon {
    bottom: -24px;
    transform: matrix(1, 0, 0, 1, 0, 0);
}

.rec > div:nth-child(3) .b-advantage__item-icon {
    bottom: unset;
    top: 0;
    height: 178px;
}

.rec > div:nth-child(3) .b-advantage__item-title {
    max-width: 250px;
}

.rec > div:nth-child(4) .b-advantage__item-icon {
    bottom: 0;
    height: 273px;
}

.rec > div:nth-child(4) .b-advantage__item-title {
    max-width: 180px;
}

.rec > div:nth-child(5) .b-advantage__item-icon {
    bottom: 0;
    height: 273px;
}

.raffle-line:link, .raffle-line:visited {
    display: none;
}

.rec > div:nth-of-type(4) .b-advantage__item-icon:nth-of-type(2) {
    display: none;
}
.rec > div:nth-of-type(1) .b-advantage__item-icon:nth-of-type(2) {
    display: none;
}

.window_h2 {
    font-size: 36px !important;
    line-height: 38px !important;
    text-transform: uppercase;
    text-align: left !important;
}

.windows_tiser_container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.window_tiser {
    flex-basis: 20%;
    justify-content: space-between;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
    height: 130px;
    max-width: 170px;
    font-size: 16px;
    line-height: 19px;
    text-align: center;
}

.cottage__window .btn-cottage-reviews {
    background: #fff;
    color: #E41E27;
    transition: all;
    padding: 5px 27px;
}

.cottage__window .btn-cottage-reviews:hover {
    background: #E41E27;
    color: #fff;
    transition: all;
}

.cottage_window_cont .window_h2 {
    text-align: center !important;
    margin-bottom: 40px;
}

.cottage__window {
    display: flex;
}

.cottage__window > div > div {
    background: #F5F5F5;
    position: relative;
    overflow: hidden;
    height: 350px;
}

.cottage__window_first {
    display: flex;
    width: 66.67%;
    flex-wrap: wrap;
}

.cottage__window_two {
    display: flex;
    width: 33.33%;
    flex-wrap: wrap;
}

.cottage__window_first > div {
    margin-right: 24px;
    margin-bottom: 24px;
    width: calc(50% - 24px);
}

.cottage__window_two > div {
    margin-bottom: 24px;
    width: calc(100%);
}

.cottage__window_text {
    position: absolute;
    left: 24px;
    top: 20px;
    text-align: left;
}

.cottage__window_img {
    position: absolute;
    right: 0;
    top: 50px;
}

.cottage__window_btn {
    position: absolute;
    left: 20px;
    bottom: 24px;
}

.cottage__window_text > p:nth-child(1) {
    font-size: 14px;
    line-height: 17px;
    color: #000000;
}

.cottage__window_text > p:nth-child(2) {
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    color: #000000;
}

.cottage__window_text > p:nth-child(2) > span {
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #000000;
}

.cottage__window_text > p:nth-child(3) {
    text-decoration-line: line-through;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    color: #E2000F;
    display: none;
}

.cottage__window_text > p:nth-child(3) > span {
    font-weight: 500;
    font-size: 12px;
    line-height: 14px;
    color: #E2000F;
}

.cottage__window_text2 {
    display: none;
}

.cottage__window_text2 p span:nth-child(1) {
    margin-right: 4px;
}

.cottage__window__wide {
    width: calc(100% - 24px) !important;
    height: 304px !important;
}

.cottage__window__vertical {
    height: calc(350px + 304px + 24px) !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cottage__window__vertical .cottage__window_img {
    position: relative;
    right: auto;
    top: auto;
}

.cottage__window__wide .cottage__window_img {
    right: 112px;
    top: 24px;
}

.cottage__window > div:nth-child(1) > div:nth-child(2) .cottage__window_img {
    right: -100px;
}

.cottage__window > div:nth-child(1) > div:nth-child(4) .cottage__window_img,
.cottage__window > div:nth-child(1) > div:nth-child(5) .cottage__window_img {
    right: -24px;
}

.cottage__window > div:nth-child(1) > div:nth-child(4) .cottage__window_img img,
.cottage__window > div:nth-child(1) > div:nth-child(5) .cottage__window_img img,
.cottage__window > div:nth-child(1) > div:nth-child(6) .cottage__window_img img {
    max-height: 300px;
}

.b-main__section.b-product__section.cottage_window_cont .new-btn__red,
#gallery .new-btn__red {
    font-family: Neo Sans Pro;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 22px;
    text-align: center;
    color: #FFFFFF;
    display: block;
    margin: 0 auto;
    background-color: #E2000F;
    transition: all;
    width: max-content;
    padding: 10px 20px;
    border-radius: 21px;
}

.b-main__section.b-product__section.cottage_window_cont .new-btn__red:hover,
#gallery .new-btn__red:hover {
    background-color: #FFFFFF;
    color: #E2000F;
}

.b-advantage__list .window_h7 {
    font-family: Neo Sans Pro;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 150%;
    color: #AAAAAA;
    text-align: left;
}

.b-advantage__list .window_h2 {
    margin-top: 10px;
}

.b-main__section.b-product__section.cottage_window_cont {
    margin-bottom: 0 !important;
}

.b-first-screen__title.b-section__title {
    font-family: 'NeoSansPro-Bold';
    margin: 0;
    font-style: normal;
    font-weight: bold;
    font-size: 82px;
    line-height: 98px;
    text-transform: uppercase;
    color: #151616;
    max-width: 480px;
}

.cottage__window_sale {
    background: #E31E24;
    border-radius: 50px;
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 18px;
    font-family: 'NeoSansPro-Bold';
    font-size: 18px;
    line-height: 22px;
    text-align: center;
    color: #FFFFFF;
}

.cottage__window_sale span {
    font-size: 12px;
    line-height: 14px;
}

.cottage_h2 {
    text-align: center !important;
    font-weight: bold !important;
    font-size: 35px !important;
}

.cottage__decoration {
    margin-bottom: 66px;
}

.catalogcottage .description .textcot > *:not(:first-child) {
    display: none;
}

@media screen and (max-width: 1040px) {
    .cottage__window__wide .cottage__window_img {
        right: 80px;
        top: 24px;
    }
}

@media screen and (max-width: 1000px) {
    .cottage__window {
        display: block;
    }

    .cottage__window_first {
        width: 100%;
    }

    .cottage__window_first > div {
        margin-right: 12px;
        margin-left: 12px;
        margin-bottom: 24px;
        width: calc(50% - 24px);
    }

    .cottage__window_two {
        display: flex;
        width: 100%;
        flex-direction: row-reverse;
    }

    .cottage__window_two > div {
        margin-bottom: 24px;
        width: calc(50% - 24px);
        margin-left: 12px;
        margin-right: 12px;
    }

    .cottage__window__vertical {
        height: 350px !important;
    }

    .cottage__window_img img {
        height: 100%;
    }

    .cottage__window__vertical .cottage__window_img {
        position: absolute;
        right: 24px;
        bottom: 24px;
        height: 80%;
    }

    .b-main__section .row.rec > div:nth-child(1) {
        order: 1;
    }

    .b-main__section .row.rec > div:nth-child(2) {
        order: 3;
    }

    .b-main__section .row.rec > div:nth-child(3) {
        order: 2;
    }

    .b-main__section .row.rec > div:nth-child(4) {
        order: 4;
    }

    .b-main__section .row.rec > div:nth-child(5) {
        order: 5;
    }

}

@media screen and (min-width: 992px) {
    /*.rec > div.col-md-8 {
        max-width: calc(66.667% - 48px);
        flex-basis: calc(66.667% - 48px);
    }
    .rec > div:nth-child(odd) {
        margin-right: 48px;
    }*/
}

@media screen and (max-width: 992px) {
    .header {
        width: 100%;
        height: auto;
    }

    .gallery_list {
        width: auto;
    }

    .gallery_list div {
        max-width: 100vw;
    }

    img.b-first-screen__media-balkon {
        position: absolute;
        bottom: -2px;
        right: -50px;
        height: auto;
        width: 540px;
        min-width: unset;
        top: unset;
        left: unset;
        max-width: unset;
    }

    /*.rec > div.col-sm-6:nth-child(2) {
        margin-right: 24px;
        max-width: calc(50% - 12px);
        flex-basis: calc(50% - 12px);
    }
    .rec > div.col-sm-6:nth-child(3) {
        max-width: calc(50% - 12px);
        flex-basis: calc(50% - 12px);
    }*/
    .content h1 {
        font-family: 'NeoSansPro-Bold';
        margin: 0;
        font-style: normal;
        font-weight: bold;
        font-size: 82px;
        line-height: 98px;
        text-transform: uppercase;
        color: #151616;
    }

    .b-first-screen__subtitle {
        color: #151616;
        margin-bottom: 30px;
        font-style: normal;
        font-size: 25px;
        line-height: 30px;
        text-transform: uppercase;
    }

    .b-first-screen__buttons {
        align-items: flex-start;
        flex-direction: column;
    }

    .b-first-screen__buttons > .new-btn:first-child {
        margin-bottom: 15px;
    }

    .b-first-screen__item.b-first-screen__media.visible-sm {
        display: flex !important;
    }

    .b-first-screen__item.b-first-screen__media.visible-xs {
        display: none !important;
    }
    .b-advantage__item-title {
        font-size: 16px;
    }
    .catalogcottage article { 
        margin-top: 40px;
    }

    .catalogcottage .description { 
        padding: 0px 56px;
    }
    
    .catalogcottage .description .h3 {
        font-size: 20px;
        line-height: 26px;
        font-weight: 600;
    }

    .catalogcottage .description p {
        font-size: 16px;
    }
    .btn-cottage {
        margin-top: 10px;
        font-size: 16px;
    }

}

@media screen and (max-width: 767px) {
    .b-review-content__header > div:nth-child(1) {
        width: 100%;
    }

    .b-review-content__header {
        flex-wrap: wrap;
    }

    .catalogcottage .description .textcot {
        font-family: Neo Sans Pro;
        font-style: normal;
        font-weight: normal;
        font-size: 14px;
        line-height: 17px;
        color: #474747;
    }

    .catalogcottage .description {
        flex-basis: 58%;
        padding: 0 56px 28px;
    }

    img.b-first-screen__media-balkon {
        position: absolute;
        bottom: 28px;
        right: -50px;
        height: auto;
        width: 570px;
        min-width: unset;
        top: unset;
        left: unset;
    }

    .b-advantage__list .window_h7 {
        font-size: 24px;
        line-height: 1;
    }
}

@media screen and (max-width: 736px) {
    img.b-first-screen__media-balkon {
        position: absolute;
        bottom: -2px;
        right: 0;
        height: auto;
        width: 440px;
        min-width: unset;
        top: unset;
        left: unset;
    }

    .b-first-screen__media {
        margin-top: 0;
    }

}

@media screen and (max-width: 720px) {
    .cottage__window > div > div {
        width: calc(100% - 24px);
    }

    .cottage__window > div:nth-child(1) > div:nth-child(2) .cottage__window_img,
    .cottage__window > div:nth-child(1) > div:nth-child(4) .cottage__window_img,
    .cottage__window > div:nth-child(1) > div:nth-child(5) .cottage__window_img {
        right: 24px;
    }

    .cottage__window_img {
        right: 24px;
        top: 24px;
    }
}

@media screen and (max-width: 685px) {
    img.b-first-screen__media-balkon {
        position: absolute;
        bottom: -2px;
        right: -15px;
        height: auto;
        width: 350px;
        min-width: unset;
        top: unset;
        left: unset;
    }

    .b-first-screen__item.b-first-screen__media.visible-sm {
        display: flex !important;
    }

    .b-first-screen__item.b-first-screen__media.visible-xs {
        display: none !important;
    }
}

@media screen and (max-width: 640px) {
    .cottage__window__wide .cottage__window_img {
        right: -100px;
    }
}

@media screen and (max-width: 600px) {
    .rec > div.col-xs-12:nth-child(2) {
        margin-right: 0;
        max-width: calc(100%);
        flex-basis: calc(100%);
    }

    .rec > div.col-xs-12:nth-child(3) {
        max-width: calc(100%);
        flex-basis: calc(100%);
    }

    .rec .b-advantage__item {
        text-align: right;
        background: #F5F5F5;
        height: 220px;
    }

    .rec > div:nth-of-type(1) .b-advantage__item-icon {
        bottom: 10px;
        right: -100px;
        height: 220px;
    }

    .rec > div:nth-of-type(3) .b-advantage__item-icon {
        bottom: unset;
        top: 0;
        height: 206px;
        right: -167px;
    }

    .rec > div:nth-of-type(4) .b-advantage__item-icon {
        bottom: 0px;
        right: 0px;
    }

    .rec > div:nth-of-type(4) .b-advantage__item-icon:nth-of-type(1) {
        display: none;
    }

    .rec > div:nth-of-type(4) .b-advantage__item-icon:nth-of-type(2) {
        display: inline;
    }

    .rec > div:nth-child(5) .b-advantage__item-icon {
        height: 220px;
    }

    .rec > div:nth-child(5) .b-advantage__item-title {
        max-width: calc(100% - 140px);
    }
}

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

    .b-first-screen__item.b-first-screen__media.visible-sm {
        display: none !important;
    }

    .b-first-screen__item.b-first-screen__media.visible-xs {
        display: flex !important;
    }

    img.b-first-screen__media-balkon {
        position: absolute;
        bottom: 115px;
        right: -15px;
        height: auto;
        width: 270px;
        min-width: unset;
        top: 20px;
        left: unset;
    }


    .b-main__section .row {
        position: relative;
    }

    .col-xs-12.col-sm-6.col-md-7 {
        position: absolute;
        right: 0;
        bottom: 138px;
    }

    .cottage__decoration-block.active {
        display: flex;
        flex-direction: column;
    }

}

@media screen and (max-width: 530px) {
    .cottage__window__wide .cottage__window_img {
        right: -80px;
        top: calc(50% - (170px / 2));
        height: 170px;
    }

    .cottage__window > div:nth-child(1) > div:nth-child(2) .cottage__window_img, .cottage__window > div:nth-child(1) > div:nth-child(4) .cottage__window_img, .cottage__window > div:nth-child(1) > div:nth-child(5) .cottage__window_img {
        right: -40px;
        height: 208px;
        top: calc(50% - (208px / 2));
    }

    .cottage__window_img {
        right: 0;
        top: auto;
        bottom: 24px;
    }

    .cottage__window_two > div:nth-child(2) .cottage__window_img {
        bottom: 64px;
        right: 16px;
    }
}

@media screen and (max-width: 500px) {
    li.cottage__decoration-tab {
        width: 50%;
        flex-basis: 50%;
        height: 50px;
        padding: 10px;
    }

    .b-first-screen__item.b-first-screen__content {
        text-align: center;
    }

    .b-first-screen__item.b-first-screen__content h1 {
        text-align: center !important;
    }

    .col-xs-12.col-sm-6.col-md-7 {
        display: none;
    }

    .b-first-screen__buttons {
        align-items: center;
        flex-direction: row;
        width: 100%;
        display: flex;
        font-size: 14px;
        line-height: 17px;
    }

    .b-first-screen__buttons > .new-btn:first-child {
        margin-right: 16px;
        margin-bottom: 0;
        min-width: calc(50% - 8px);
        text-transform: uppercase;
        font-size: 14px;
        line-height: 17px;
        padding: 7px 12px;
    }

    .b-first-screen__title.b-section__title {
        font-family: 'NeoSansPro-Bold';
        margin: 0;
        font-style: normal;
        font-weight: bold;
        font-size: 58px;
        line-height: 140%;
        text-transform: uppercase;
        color: #151616;
        max-width: 480px;
        text-align: center !important;
        padding-right: 0;
    }

    .b-first-screen__subtitle {
        color: #151616;
        margin-bottom: 30px;
        font-style: normal;
        font-size: 20px;
        line-height: 140%;
        text-transform: uppercase;
        text-align: center;
    }

    a.new-btn.new-btn2 {
        min-width: calc(50% - 8px);
        text-transform: uppercase;
        font-size: 14px;
        line-height: 17px;
        padding: 7px 16px;
    }

    .b-first-screen__item.b-first-screen__content {
        position: relative;
        min-height: 240px;
    }

    .content h2 {
        font-family: 'NeoSansPro-Bold';
        color: #151616;
        margin: 27px 0 22px 0;
        font-weight: bold;
        font-size: 20px !important;
        line-height: 38px !important;
        text-align: center !important;
        text-transform: uppercase;
    }

    .catalogcottage .container {
        padding: 0;
    }

    .catalogcottage img.icon {
        max-width: calc(100vw - 30px);
    }

    .catalogcottage .img {
        flex-basis: 100%;
    }

    .catalogcottage .description {
        flex-basis: 100%;
        padding: 0 0 28px;
    }

    .catalogcottage article {
        display: flex;
        justify-content: space-between;
        margin-top: 15px;
        flex-direction: column-reverse !important;
        flex-wrap: unset;
    }

    .rec .b-advantage__item-title {
        position: absolute;
        text-align: left;
        left: 16px;
        bottom: 16px;
        font-family: 'NeoSansPro', Neo Sans Pro;
        font-style: normal;
        font-weight: normal;
        font-size: 16px;
        line-height: 19px;
        margin-bottom: 0;
        max-width: 150px;
    }

    .rec > div:nth-of-type(4) .b-advantage__item-icon:nth-of-type(2) {
        display: block;
        position: absolute;
        top: 0;
        right: -40px;
    }

    .rec > div:nth-of-type(1) .b-advantage__item-icon:nth-of-type(1) {
        display: none;
    }

    .rec > div:nth-of-type(1) .b-advantage__item-icon:nth-of-type(2) {
        display: block;
        position: absolute;
        top: 0px;
        right: 0px;
        height: calc(100% - 20px);
    }

    .rec > div:nth-of-type(3) .b-advantage__item-icon {
        bottom: unset;
        top: -20px;
        height: 80%;
        right: -50px;
        max-width: 300px;
    }

    .cottage__decoration-left {
        width: 100%;
        text-align: center;
    }

    .content h1.window_h2 {
        font-size: 20px !important;
        line-height: 38px !important;
        text-align: center !important;
        margin-right: auto;
        margin-left: auto;
    }

    .gallery_item {
        max-width: 100vw;
        height: 100%;
        max-height: 212px;
        overflow: hidden;
    }
}

@media screen and (max-width: 450px) {
    .cottage__window__classic:nth-child(1) .cottage__window_img {
        right: -50px !important;
    }

    .cottage__window__classic:nth-child(2) .cottage__window_img {
        right: -80px !important;
    }

    .cottage__window__wide .cottage__window_img {
        right: -40px !important;
        top: calc(50% - (110px / 2));
        height: 140px;
    }

    .cottage__window__classic:nth-child(4) .cottage__window_img {
        right: unset !important;
        position: relative !important;
        margin-left: 0 !important;
    }

    .cottage__window__classic:nth-child(5) .cottage__window_img {
        position: relative !important;
        right: unset !important;
    }

    .cottage__window__vertical .cottage__window_img {
        height: 60%;
    }

    .cottage__window_two > div:nth-child(2) .cottage__window_img {
        right: 0 !important;
        position: relative !important;
        bottom: -70px;
    }


    .cottage__decoration .cottage__decoration-left {
        overflow: hidden;
        width: 100%;
        min-width: auto;
        max-height: 200px;
        display: flex;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
}


@media screen and (max-width: 400px) {
    .rec > div:nth-of-type(1) .b-advantage__item-icon {
        height: 100%;
        bottom: unset;
        top: 0;
        right: -60px;
    }

    .rec > div:nth-child(4) .b-advantage__item-title {
        max-width: 160px;
    }
}

@media screen and (max-width: 335px) {
    .rec > div:nth-of-type(1) .b-advantage__item-icon {
        height: 70%;
        bottom: unset;
        top: -10px;
        right: 0;
    }
}