/*
Theme Name: Maxi Home
*/

@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap");

body {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    color: #4c4c4c;
    background-color: #f5f5f5;
}

* {
    box-sizing: border-box;
}

p {
    margin: 22px 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

main,
.white-bg {
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
}

main {
    z-index: 10;
}
.white-bg {
    background-color: #fff;
    overflow: hidden;
}

*:focus {
    outline: none;
}
.logobox p {
	font-size: 18px;
    line-height: 20px;
/* 	margin:20px 0; */
    color: #fff;
}

main .white .sa_owl_theme .owl-nav .owl-prev,
main .white .sa_owl_theme .owl-nav .owl-next,
.owl-carousel .owl-nav button {
    background: url("/wp-content/themes/maxihome/img/slider_arrow.svg")
        no-repeat !important;
    width: 15px !important;
    height: 28px !important;
    margin-top: -12px !important;
    opacity: 0.8;
    position: absolute;
    z-index: 1;
    top: 50%;
    line-height: 30px;
    right: -20px;
}
main .white .sa_owl_theme .owl-nav .owl-prev:hover,
main .white .sa_owl_theme .owl-nav .owl-next:hover,
.owl-carousel .owl-nav button:hover {
    background-color: transparent !important;
    opacity: 1;
}
main .white .sa_owl_theme .owl-nav .owl-prev,
.owl-carousel .owl-nav button.owl-prev {
    transform: rotate(180deg);
    left: -20px;
    right: auto;
}
.owl-carousel .owl-nav button {
    background-image: url("/wp-content/themes/maxihome/img/slider_arrow_gray.svg") !important;
}
@media (min-width: 1230px) {
    main .white .sa_owl_theme .owl-nav .owl-prev,
    main .white .sa_owl_theme .owl-nav .owl-next,
    .owl-carousel .owl-nav button {
        width: 29px !important;
        height: 52px !important;
        line-height: 54px;
        right: -34px;
        margin-top: -24px !important;
    }
    main .white .sa_owl_theme .owl-nav .owl-prev,
    .owl-carousel .owl-nav button.owl-prev {
        left: -34px;
    }
}

header {
    background: linear-gradient(0.2turn, #d86d97 20%, #901d7c 70%);
    height: 600px;
    overflow: hidden;
    position: relative;
}
header:after {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 81px;
    bottom: 0;
    left: 0;
    background: url("/wp-content/themes/maxihome/img/gradient-cover.svg");
    z-index: 1;
}
@media (min-width: 720px) {
    header {
        background: url("/wp-content/themes/maxihome/img/windows1520.jpg")
            no-repeat;
        background-size: 1220px;
        background-position: center top;
        height: 619px;
    }
    header:after {
        display: none;
    }
}
@media (min-width: 1230px) {
    header {
        background-size: 1920px;
        height: 973px;
    }
}

@media (min-width: 730px) {
    main .white .sa_owl_theme .owl-nav .owl-next {
        background-image: url("/wp-content/themes/maxihome/img/slider_arrow_gray.svg") !important;
    }
}

header .menu,
h1,
.logo,
.contacts {
    margin-left: 50px;
}
@media (min-width: 1230px) {
    header .menu,
    h1,
    .logo,
    .contacts {
        margin-left: 0px;
    }
}

header .menu {
    text-align: left;
    padding-top: 1px;
    margin-top: 18px;
    margin-bottom: 34px;
}
header .menu li {
    display: inline-block;
    list-style: none;
    font-size: 13px;
    line-height: 15px;
}
header .menu li a {
    color: #fff;
    text-decoration: none;
}
header .menu li:before {
    content: "";
    width: 3px;
    height: 3px;
    background: #a3cb46;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin: 0 8px;
}
header .menu li:first-of-type:before {
    display: none;
}
@media (min-width: 1230px) {
    header .menu {
        margin-top: 34px;
        margin-bottom: 55px;
    }
    header .menu li {
        font-size: 19px;
        line-height: 20px;
    }
    header .menu li:before {
        width: 5px;
        height: 5px;
        margin: 0 12px;
    }
}

.social {
    position: absolute;
    top: 25px;
    right: 46px;
    background: url(/wp-content/themes/maxihome/img/insta_logo.svg);
    width: 39px;
    height: 39px;
    display: none;
}
@media (min-width: 1230px) {
    .social {
        display: block;
    }
}

.logo {
    margin-top: 35px;
    margin-bottom: 35px;
}
.logo img {
    width: 260px;
    height: 60px;
}

@media (min-width: 1230px) {
    .logo {
        margin-bottom: 45px;
    }
    .logo img {
        width: 400px;
        height: 94px;
    }
}

h1 {
    font-size: 45px;
    font-weight: bold;
    font-family: Tahoma, Verdana, sans-serif;
    color: #fff;
    line-height: 46px;
    margin-top: 35px;
    margin-bottom: 35px;
}
h1 a {
    display: block;
    text-decoration: none;
    color: #fff;
}
@media (min-width: 1230px) {
    h1 {
        font-size: 70px;
        line-height: 74px;
        margin-bottom: 45px;
    }
}

.contacts,
.contacts a {
    color: #962a7e;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: bold;
}
.contacts span {
    display: inline-block;
    padding: 3px 18px;
    background: #fff;
    border-radius: 12px;
    animation: mh_pulse  1s infinite ease;
}
@keyframes mh_pulse {
    0% {box-shadow: 0 0 0 0 rgba(255,255,255,0.5)}
    100%{box-shadow: 0 0 0 20px rgba(0,0,0,0)}
}

@media (min-width: 1230px) {
    .contacts,
    .contacts a {
        font-size: 27px;
        line-height: 27px;
    }
    .contacts span {
        padding: 8px 28px;
        border-radius: 24px;
    }
}

.mw {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
}
@media (max-width: 540px) {
    .mw.top-menu,
    .mw.logobox {
        padding: 0;
    }
}

.circle-decor {
    position: relative;
    display: inline-block;
}
.circle-decor:before {
    content: "";
    display: block;
    position: absolute;
    border: 1px solid #e1e1e1;
    left: 0;
    top: -6px;
    border-radius: 50%;
}
.circle-decor:after {
    content: "";
    display: block;
    position: absolute;
    border: 1px solid #e1e1e1;
    left: -6px;
    top: 0;
    border-radius: 50%;
}

.discounts {
    margin: 30px auto 0 auto;
    max-width: 650px;
}
.discounts .owl-item {
    text-align: center;
}
.discounts .adv {
    margin: 0;
    width: 112px;
    height: 112px;
    font-weight: bold;
}
.discounts .circle-decor:before,
.discounts .circle-decor:after {
    width: 108px;
    height: 108px;
}
.discounts .circle-decor:before {
    left: 4px;
    top: 0;
}
.discounts .circle-decor:after {
    left: 0;
    top: 2px;
}
.discounts .adv p {
    margin: 5px auto 0 auto;
    width: 102px;
    height: 102px;
    background: #9c2e80;
    color: #fff;
    border-radius: 50%;
}
.discounts .adv.green p {
    background: #70b000;
}
.discounts .adv p span,
.discounts .adv p em {
    font-style: normal;
    display: block;
    text-transform: uppercase;
    letter-spacing: -0.8px;
}
.discounts .adv p span {
    font-size: 21px;
    line-height: 22px;
    padding-top: 30px;
}
.discounts .adv p em {
    font-size: 15px;
    line-height: 16px;
}
.discounts .adv.bigpercent_v1 p span {
    font-size: 40px;
    line-height: 41px;
    padding-top: 22px;
}
.discounts .adv.bigpercent_v1 p em {
    font-size: 10px;
    line-height: 11px;
    letter-spacing: normal;
}
.discounts .adv.bigpercent_v2 p span {
    font-size: 45px;
    line-height: 46px;
    padding-top: 14px;
}
.discounts .adv.bigpercent_v2 p em {
    font-size: 11px;
    line-height: 12px;
    letter-spacing: normal;
}
@media (min-width: 1230px) {
    .discounts {
        margin-top: 45px;
        max-width: 970px;
        padding: 0 70px 0 0;
    }
    .discounts .adv {
        width: 161px;
        height: 161px;
        margin: 14px;
    }
    .discounts .circle-decor:before,
    .discounts .circle-decor:after {
        width: 173px;
        height: 173px;
    }
    .discounts .circle-decor:before {
        left: -8px;
        top: -6px;
    }
    .discounts .circle-decor:after {
        left: -1px;
        top: -8px;
    }
    .discounts .adv p {
        margin: 0 auto;
        width: 161px;
        height: 161px;
    }
    .discounts .adv p span {
        font-size: 34px;
        line-height: 35px;
        padding-top: 49px;
    }
    .discounts .adv p em {
        font-size: 24px;
        line-height: 25px;
    }
    .discounts .adv.bigpercent_v1 p span {
        font-size: 64px;
        line-height: 66px;
        padding-top: 33px;
    }
    .discounts .adv.bigpercent_v1 p em {
        font-size: 15px;
        line-height: 17px;
    }
    .discounts .adv.bigpercent_v2 p span {
        font-size: 80px;
        line-height: 81px;
        padding-top: 13px;
    }
    .discounts .adv.bigpercent_v2 p em {
        font-size: 20px;
        line-height: 21px;
    }
}

footer,
footer .mw {
    height: 91px;
}
footer {
    background: linear-gradient(0.2turn, #d86d97 20%, #901d7c 70%);
    padding: 1px;
    position: relative;
}
footer .owner {
    padding: 22px 20px 0 50px;
    max-width: 340px;
}
@media (max-width: 539px) {
    footer .owner {
        padding: 5vw 0 0 0;
    }
}
footer .owner p {
    margin: 0;
    font-size: 9px;
    line-height: 11px;
    color: #fff;
}
footer .owner a {
    color: #fff;
}
footer .designstudio {
    position: absolute;
    display: none;
    bottom: 0;
    right: 0;
    width: 34px;
    height: 63px;
}
@media (min-width: 445px) {
    footer .designstudio {
        display: block;
    }
}
@media (min-width: 1230px) {
    footer,
    footer .mw {
        height: 151px;
    }
    footer .owner {
        padding-left: 0;
        padding-top: 35px;
        max-width: 495px;
    }
    footer .owner p {
        font-size: 16px;
        line-height: 20px;
    }
    footer .designstudio {
        right: -60px;
        width: 53px;
        height: 98px;
    }
}

.phonebar,
.phonebar .mw {
    height: 90px;
}
.phonebar {
    margin-top: 45px;
}
.phonebar .sep {
    height: 4px;
    background: linear-gradient(0.2turn, #d86d97 20%, #901d7c 70%);
}
@media (min-width: 620px) {
    .phonebar,
    .phonebar .mw {
        height: 66px;
    }
}
@media (min-width: 1230px) {
    .phonebar,
    .phonebar .mw {
        height: 109px;
    }
    .phonebar .sep {
        height: 8px;
    }
}

.happiness {
    display: inline-block;
    width: 161px;
    height: 57px;
    margin-left: 50px;
    background: url("/wp-content/themes/maxihome/img/happiness.svg");
    background-size: contain;
    display: none;
}
@media (min-width: 620px) {
    .happiness {
        display: block;
    }
}
@media (min-width: 1230px) {
    .happiness {
        margin-left: 0;
        width: 279px;
        height: 99px;
    }
}

.phonebox {
    width: 300px;
    height: 113px;
    background: url("/wp-content/themes/maxihome/img/phonebox400.png");
    background-size: 100%;
    position: absolute;
    z-index: 1;
    right: 23px;
    top: -24px;
}
.phonebox > div {
    padding: 38px 0 0 15px;
}
.phonebox > div > p {
    margin: 0;
    color: #fff;
    font-size: 16px;
    line-height: 20px;
}
.phonebox > div > p a {
    color: #fff;
    text-decoration: none;
}
.phonebox > div > p > span {
    display: inline-block;
    width: 40px;
}
@media (min-width: 726px) {
    .phonebox {
        width: 400px;
        height: 151px;
        top: -32px;
    }
    .phonebox > div {
        padding-left: 30px;
        padding-top: 53px;
    }
    .phonebox > div > p {
        font-size: 19px;
        line-height: 25px;
    }
    .phonebox > div > p > span {
        width: 55px;
    }
}
@media (min-width: 1230px) {
    .phonebox {
        background: url("/wp-content/themes/maxihome/img/phonebox660x261.png");
        width: 660px;
        height: 261px;
        top: -59px;
    }
    .phonebox > div {
        padding-top: 96px;
        padding-left: 70px;
    }
    .phonebox > div > p {
        font-size: 28px;
        line-height: 35px;
    }
    .phonebox > div > p > span {
        width: 80px;
    }
}

h2 {
    color: #6f6f70;
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 600;
    text-align: right;
    margin: 100px 0 22px 22px;
    line-height: 24px;
}
h2:first-of-type {
    margin-top: 22px;
}
h2:after {
    content: "";
    width: 10px;
    height: 16px;
    display: inline-block;
    margin: 5px 0 0 10px;
    background: url("/wp-content/themes/maxihome/img/h2_rect.png");
    background-size: 100%;
    vertical-align: top;
    line-height: 32px;
}

@media (min-width: 1230px) {
    h2 {
        font-size: 40px;
        line-height: 41px;
        margin-bottom: 40px;
    }
    h2:after {
        width: 20px;
        height: 30px;
        margin-left: 24px;
    }
}

.arrow-top {
    position: fixed;
    z-index: 10;
    right: 50%;
    transform: translateX(790px);
    bottom: 180px;
    width: 32px;
    height: 25px;
    background-image: url("/wp-content/themes/maxihome/img/arrow-up.svg");
    background-size: contain;
    cursor: pointer;
    display: none;
}
@media (min-width: 1230px) {
    .arrow-top {
        width: 50px;
        height: 39px;
    }
}

.weoffer {
    text-align: center;
    margin-top: 35px;
    padding: 0 5px;
}
.weoffer__box {
    margin-bottom: 50px;
}
.weoffer__box a{
    text-decoration: none;
}
.weoffer__box img {
    width: 190px;
    height: 190px;
    border-radius: 50%;
}
.weoffer__box h3 {
    margin: 20px auto 10px auto;
    font-weight: 600;
    color: #901d7c;
    text-transform: uppercase;
    font-size: 24px;
    line-height: 27px;
    background: -webkit-linear-gradient(left, #d86d97, #901d7c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 80%;
}
.weoffer__box p {
    margin: 10px auto;
    color: #616161;
    font-size: 15px;
    line-height: 17px;
    max-width: 80%;
}
.weoffer__box .circle-decor:before,
.weoffer__box .circle-decor:after {
    width: 200px;
    height: 200px;
}
.weoffer__box .circle-decor:before {
    left: -5px;
    top: -3px;
}
.weoffer__box .circle-decor:after {
    left: -1px;
    top: -6px;
}
@media (min-width: 650px) {
    .weoffer {
        display: flex;
        justify-content: space-around;
    }
    .weoffer__box {
        margin-bottom: 0;
    }
    .weoffer__box p {
        max-width: 190px;
    }
    .weoffer__box h3 {
        height: 54px;
        max-width: 190px;
    }
}
@media (min-width: 1230px) {
    .weoffer {
        justify-content: space-between;
    }
    .weoffer__box img {
        width: 300px;
        height: 300px;
    }
    .weoffer__box h3 {
        font-size: 40px;
        line-height: 41px;
        height: 82px;
        max-width: 300px;
        margin: 36px 0 14px 0;
    }
    .weoffer__box p {
        max-width: 300px;
        font-size: 20px;
        line-height: 21px;
    }
    .weoffer__box .circle-decor:before,
    .weoffer__box .circle-decor:after {
        width: 325px;
        height: 325px;
    }
    .weoffer__box .circle-decor:before {
        left: -15px;
        top: -8px;
    }
    .weoffer__box .circle-decor:after {
        left: -2px;
        top: -13px;
    }
}

.body-slider {
    margin: 25px 0 80px 0;
}
.body-slider .white .sa_owl_theme .owl-nav .owl-prev,
.body-slider .white .sa_owl_theme .owl-nav .owl-next {
    background-image: url("/wp-content/themes/maxihome/img/slider_arrow_gray.svg") !important;
}
/*
#slider_35 .owl-item > div {
    text-align: center;
    height: 130px;
    min-height: 130px !important;
}
#slider_35 .owl-item > div:before,
#slider_35 .owl-item > div:after {
    content: "";
    width: 1px;
    position: absolute;
    top: 0;
    right: 0;
    background: #eee;
    background: linear-gradient(#fff, #ddd 30%, #ddd 70%, #fff);
    height: 100%;
}
#slider_35 .owl-item > div:before {
    left: 0;
    right: auto;
}
#slider_35 .owl-item > div p {
    margin: 0;
    padding: 0;
    display: inline-block;
}
#slider_35 p img {
    width: 130px;
    height: 130px;
    display: block;
}
@media (min-width: 540px) {
    #slider_35 .owl-item > div {
        height: 141px;
        min-height: 141px !important;
    }
    #slider_35 p img {
        width: 141px;
        height: 141px;
    }
}
@media (max-width: 350px) {
    #slider_35 .owl-item > div {
        height: 120px;
        min-height: 120px !important;
    }
    #slider_35 p img {
        width: 120px;
        height: 120px;
    }
}
@media (min-width: 1230px) {
    #slider_35 .owl-item > div {
        height: 165px;
        min-height: 165px !important;
    }
    #slider_35 p img {
        width: 165px;
        height: 165px;
    }
}
*/

.otz {
    margin: 40px 0 80px 0;
}
.otz__block {
    padding: 12px 0;
    text-align: center;
}
.otz__block .color {
    background: linear-gradient(135deg, #a1d14b 10%, #77b426 90%);
    border-radius: 50%;
    width: 204px;
    height: 204px;
    display: inline-block;
}
.otz__block .circle-decor:before,
.otz__block .circle-decor:after {
    width: 214px;
    height: 214px;
}
.otz__block .circle-decor:before {
    left: -6px;
    top: -4px;
}
.otz__block .circle-decor:after {
    left: -1px;
    top: -7px;
}
.otz__block p {
    margin: 0;
    color: #fff;
}
.otz__block .img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
    margin: 20px 0 6px;
    background-color: #fff;
}
.otz__block .name {
    text-transform: uppercase;
    font-size: 18px;
    line-height: 19px;
}
.otz__block .text {
    font-size: 11px;
    line-height: 12px;
    margin: 5px auto 15px auto;
    max-width: 180px;
    max-height: 60px;
    overflow: hidden;
}
.otz__block .date {
    font-size: 11px;
    line-height: 11px;
}
@media (min-width: 1230px) {
    .otz__block .color {
        width: 254px;
        height: 254px;
    }
    .otz__block .circle-decor:before,
    .otz__block .circle-decor:after {
        width: 264px;
        height: 264px;
    }
    .otz__block .img {
        width: 65px;
        height: 65px;
    }
    .otz__block .name {
        font-size: 22px;
        line-height: 24px;
    }
    .otz__block .text {
        font-size: 12px;
        line-height: 14px;
        max-height: 70px;
        margin-top: 10px;
        max-width: 230px;
    }
}

.ceilings-gallery .blocks-gallery-grid {
    margin-bottom: -16px;
}

h3 {
    color: #888;
    font-size: 18px;
    line-height: 18px;
    text-transform: uppercase;
    font-weight: normal;
    margin: 21px 0 34px 0;
    text-align: center;
}

.c_windows {
    margin: 40px 0;
}

.category .owl-carousel .owl-nav button {
    margin: 0;
    top: calc(245px / 2);
    bottom: auto;
}

.c_windows .owl-carousel .owl-nav button {
    top: calc(112px / 2);
}

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

.category__products .flex .category__products_box {
    width: calc(100% / 2);
    margin-bottom: 32px;
}

@media (min-width: 540px) {
    .category__products .flex .category__products_box {
        width: calc(100% / 3);
    }
}
@media (min-width: 700px) {
    .category__products .flex .category__products_box {
        width: calc(100% / 4);
    }
}
@media (min-width: 1230px) {
    .category__products .flex .category__products_box {
        width: calc(100% / 5);
    }
}

.category__products_box {
    text-align: center;
    position: relative;
}
.category__products_box:before,
.category__products_box:after {
    content: "";
    width: 1px;
    height: 245px;
    position: absolute;
    top: 0;
    right: 0;
    background: #eee;
    background: linear-gradient(#fff, #ddd 30%, #ddd 70%, #fff);
}
.c_windows .category__products_box:before,
.c_windows .category__products_box:after {
    height: 112px;
}
.category__products_box:before {
    left: 0;
    right: auto;
}

.category__products_box > div {
    display: inline-block;
    width: 112px;
    position: relative;
}
.category__products_box > div.new:before {
    content: "";
    left: -1px;
    top: -1px;
    position: absolute;
    z-index: 1;
    width: 50px;
    height: 50px;
    background: url('/wp-content/themes/maxihome/img/new.svg');
    background-size: contain;
}

.category__products_box p {
    margin: 0;
}
.discounts.mw.aos-init.aos-animate {
    display: none;
}
.category__products_box .photo img {
    width: 100% !important;
    height: 245px !important;
    object-fit: cover;
}

.c_windows .category__products_box .photo img {
    height: 112px !important;
}

.category__products_box .name {
    font-weight: bold;
    font-size: 13px;
    line-height: 14px;
    color: #000;
    margin: 14px 0;
}

.descr {
    color: #b0b0b0;
    font-size: 11px;
    line-height: 13px;
}

.category__open-all {
    display: none;
    color: #666;
    font-size: 17px;
    line-height: 17px;
    text-transform: uppercase;
    font-weight: normal;
    margin: 21px 0 34px 0;
    cursor: pointer;
}
.category__open-all:hover,
.category__open-all:hover:after,
.category__open-all:active,
.category__open-all:active:after {
    color: #333;
    opacity: 1;
}
.category__open-all:after {
    content: "";
    display: inline-block;
    background: url("/wp-content/themes/maxihome/img/slider_arrow_gray.svg")
        no-repeat;
    width: 10px;
    height: 18px;
    transform: rotate(90deg);
    margin-left: 13px;
    vertical-align: bottom;
    opacity: 0.7;
}
.category__open-all.flip-arrow:after{
    transform: rotate(-90deg);
}

.category__open-all.A {
    display: block;
}

@media (min-width: 1230px) {
    h3 {
        font-size: 22px;
        line-height: 22px;
    }
    .category .owl-carousel .owl-nav button {
        top: calc(300px / 2);
    }
    .c_windows .owl-carousel .owl-nav button {
        top: calc(137px / 2);
    }
    .category__products_box:before,
    .category__products_box:after {
        height: 300px;
    }
    .c_windows .category__products_box:before,
    .c_windows .category__products_box:after {
        height: 137px;
    }
    .category__products_box > div {
        width: 137px;
    }
    .category__products_box .photo img {
        height: 300px !important;
    }
    .c_windows .category__products_box .photo img {
        height: 137px !important;
    }

    .transparent-building {
        display: block;
        position: absolute;
        width: 740px;
        height: 571px;
        background-image: url("/wp-content/themes/maxihome/img/semi-building.jpg");
        bottom: 490px;
        right: 0;
    }
}

.zigzag {
    width: 40px;
    height: 28px;
    background: url(/wp-content/themes/maxihome/img/zigzag.svg);
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.2;
}
@media (min-width: 1230px) {
    .zigzag {
        opacity: 1;
    }
}

.zigzag.x1 {
    top: 880px;
    left: 95px;
}
.zigzag.x2 {
    top: 1890px;
    left: 95px;
    transform: rotate(-55deg);
}
.zigzag.x3 {
    top: 2010px;
    left: 190px;
}
.zigzag.x4 {
    top: 3090px;
    left: 172px;
    transform: rotate(180deg);
}
.zigzag.x5 {
    top: 3890px;
    right: 116px;
    left: auto;
    transform: rotate(115deg) scale(0.7);
}

.windows-intro {
    position: relative;
    background: linear-gradient(135deg, #a1d14b 50%, #77b426 60%);
    min-height: 351px;
    margin-left: -30px;
    margin-right: -30px;
    padding: 36px 30px;
    position: relative;
    grid-template-columns: 345px auto;
}
.windows-intro figure {
    width: 305px;
    height: 277px;
}
.windows-intro .wp-block-media-text__content {
    color: #fff;
    font-size: 15px;
    line-height: 16px;
}
.windows-intro h3 {
    color: #fff;
    font-weight: 600;
    font-size: 28px;
    line-height: 31px;
    text-transform: none;
    margin: 0 0 24px 0;
}
.windows-intro ul li {
    list-style-type: disc;
    margin: 13px 0 0 0;
}
.windows-intro ul li:first-of-type {
    margin-top: 0;
}
@media (max-width: 620px) {
    .windows-intro {
        display: block;
        text-align: center;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden;
    }
    .windows-intro figure {
        margin-left: auto;
        margin-right: auto;
        display: inline-block;
    }
    .windows-intro .wp-block-media-text__content {
        text-align: left;
        margin-top: 20px;
    }
}
@media (min-width: 766px) {
    .windows-intro:after{
        content:"";
        display: block;
        position: absolute;
        z-index: 0;
        width: 100%;
        height: 100%;
        background: url('/wp-content/themes/maxihome/img/building4windowsintro.svg');
        background-size: 90%;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0.2;
    }
}
@media (min-width: 840px) {
    .windows-intro {
        margin-left: calc((100vw - 840px + 60px) / 2 * -1);
        margin-right: calc((100vw - 840px + 60px) / 2 * -1);
        padding-left: calc((100vw - 840px + 60px) / 2);
        padding-right: calc((100vw - 840px + 60px) / 2);
    }
}
@media (min-width: 1230px) {
    .windows-intro {
        margin-left: calc((100vw - 840px + 60px) / 2 * -1);
        margin-right: calc((100vw - 840px + 60px) / 2 * -1);
        padding-left: calc((100vw - 840px + 60px) / 2);
        padding-right: calc((100vw - 840px + 60px) / 2);
    }
    .windows-intro .wp-block-media-text__content {
        font-size: 18px;
        line-height: 20px;
    }
    .windows-intro h3 {
        font-size: 36px;
        line-height: 38px;
    }
}

.dots {
    width: 122px;
    height: 96px;
    background: url(/wp-content/themes/maxihome/img/dots.svg);
    position: absolute;
    left: auto;
    right: auto;
    top: 0;
    opacity: 0.2;
}
@media (min-width: 1230px) {
    .dots {
        opacity: 1;
    }
}
.dots.x1 {
    top: 869px;
    right: -23px;
}
.dots.x2 {
    top: 1005px;
    left: 454px;
    transform: rotate(-49deg);
}
.dots.x3 {
    top: 2640px;
    left: 288px;
    transform: rotate(14deg) scale(0.8);
}
.dots.x4 {
    top: 3265px;
    left: 380px;
    transform: rotate(14deg);
}
.dots.x5 {
    top: 3800px;
    left: 160px;
    transform: rotate(-50deg);
}

.cross {
    width: 12px;
    height: 12px;
    background: url(/wp-content/themes/maxihome/img/cross.svg);
    position: absolute;
    left: auto;
    right: auto;
    top: 0;
    opacity: 0.2;
}
@media (min-width: 1230px) {
    .cross {
        opacity: 1;
    }
}
.cross.x1 {
    top: 1004px;
    left: 30px;
}
.cross.x2 {
    top: 1350px;
    left: 73px;
    transform: rotate(-20deg);
}
.cross.x3 {
    top: 1020px;
    right: 105px;
    transform: rotate(33deg);
}
.cross.x4 {
    top: 1320px;
    right: 360px;
    transform: rotate(54deg) scale(0.84);
}
.cross.x5 {
    top: 2930px;
    left: 68px;
    transform: rotate(38deg);
}
.cross.x6 {
    top: 3785px;
    left: 105px;
}
.cross.x7 {
    top: 3300px;
    right: 58px;
}
.cross.x8 {
    top: 3712px;
    right: 102px;
    transform: rotate(-38deg);
}

.torus {
    width: 22px;
    height: 22px;
    background: url(/wp-content/themes/maxihome/img/torus.svg);
    position: absolute;
    left: auto;
    right: auto;
    top: 0;
    opacity: 0.2;
}
@media (min-width: 1230px) {
    .torus {
        opacity: 1;
    }
}
.torus.x1 {
    top: 1168px;
    left: 74px;
}
.torus.x2 {
    top: 1240px;
    left: 147px;
    transform: scale(0.46);
}
.torus.x3 {
    top: 1280px;
    left: 243px;
    transform: scale(0.73);
}
.torus.x4 {
    top: 1250px;
    left: 375px;
    transform: scale(0.46);
}
.torus.x5 {
    top: 922px;
    right: 65px;
}
.torus.x6 {
    top: 3150px;
    right: 90px;
    transform: scale(0.82);
}
.torus.x7 {
    top: 3250px;
    left: 60px;
    transform: scale(0.46);
}
.torus.x8 {
    top: 3400px;
    left: 150px;
    transform: scale(0.46);
}
.torus.x9 {
    top: 3838px;
    left: 65px;
    transform: scale(0.46);
}

.contact-form-wrapper {
    display: none;
}
.contact-form-wrapper .tint{
    position: absolute;
    z-index: 2;
    background: #000;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.7;
}

.contact-form-wrapper .form {
    position: absolute;
    z-index: 3;
    top: 50px;
    left: 50%;
    width: 84%;
    margin-left: -42%;
    background: #fff;
    padding: 2vw 7vw;
    border-radius: 10px;
}
@media (min-width: 540px) {
    .contact-form-wrapper .form {
        width: 436px;
        margin-left: -218px;
        padding: 10px 40px;
        border-radius: 20px;
    }
}
/*
@media (min-width: 1230px) {
    .contact-form-wrapper .form {
        width: 658px;
        margin-left: -329px;
    }
}
*/

.contact-form-wrapper .form .title{
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    font-size: calc(14px + (20 - 14) * ((100vw - 320px) / (500 - 320)));
    color:#000;
    margin: 0;
}
.contact-form-wrapper .form .title:last-of-type {
    margin-top: 55px;
    margin-top: calc(55px + (95 - 55) * ((100vw - 320px) / (500 - 320)));
}
@media (min-width: 540px) {
    .contact-form-wrapper .form .title{
        font-size: 20px;
        margin-top: 8px;
    }
    .contact-form-wrapper .form .title:last-of-type {
        margin-top: 85px;
    }
}
/*
@media (min-width: 1230px) {
    .contact-form-wrapper .form .title{
        font-size: 26px;
        margin-top: 22px;
    }
    .contact-form-wrapper .form .title:last-of-type {
        margin-top: 138px;
    }
}
*/

.contact-form-wrapper .form div.wpforms-container-full .wpforms-form .wpforms-field-label {
    font-size: 13px;
    font-size: calc(13px + (18 - 13) * ((100vw - 320px) / (500 - 320)));
    font-weight: normal;
}
@media (min-width: 540px) {
    .contact-form-wrapper .form div.wpforms-container-full .wpforms-form .wpforms-field-label {
        font-size: 18px;
    }
}
/*
@media (min-width: 1230px) {
    .contact-form-wrapper .form div.wpforms-container-full .wpforms-form .wpforms-field-label {
        font-size: 24px;
    }
}
*/
.contact-form-wrapper .form input[type=text],
.contact-form-wrapper .form textarea,
.contact-form-wrapper .form button {
    outline: none !important;
    resize: none;
    border-radius: 1.7vw !important;
    display: block !important;
    font-size: 16px !important;
    font-size: calc(16px + (20 - 16) * ((100vw - 320px) / (500 - 320))) !important;
    max-width: none !important;
    height: auto !important;
    line-height: normal !important;
    width: 100% !important;
    font-family: "Open Sans", sans-serif !important;
    padding: 1.3vw 2vw !important;
}
.contact-form-wrapper .form input[type=text],
.contact-form-wrapper .form textarea {
    border: 1px solid #8C317B !important;
    margin: 0 !important;
}
.contact-form-wrapper .form textarea {
    height: 80px !important;
}
.contact-form-wrapper .form button {
    background: linear-gradient(0.2turn, #d86d97 20%, #901d7c 70%) !important;
    color: #fff !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    text-align: center !important;
    font-size: calc(14px + (20 - 14) * ((100vw - 320px) / (500 - 320))) !important;
}
.contact-form-wrapper .form .wpforms-confirmation-container-full {
    font-size: 14px;
    font-size: calc(14px + (24 - 14) * ((100vw - 320px) / (1200 - 320))) !important;
    border-radius: 1vw;
    margin: 1vw 0;
}
.contact-form-wrapper .form div.wpforms-container-full .wpforms-form .wpforms-submit-spinner {
    margin: 0;
    max-width: none;
    position: absolute;
    bottom: 2.5vw;
    left: -18px;
    width: 15px;
    height: 15px;
}
@media (min-width: 540px) {
    .contact-form-wrapper .form input[type=text],
    .contact-form-wrapper .form textarea,
    .contact-form-wrapper .form button {
        font-size: 20px !important;
        line-height: 22px !important;
    }
    .contact-form-wrapper .form textarea {
        height: 88px !important;
    }
    .contact-form-wrapper .form div.wpforms-container-full .wpforms-form .wpforms-submit-spinner {
        bottom: 1.2vw;
        left: -32px;
        width: 26px;
        height: 26px;
    }
}
/*
@media (min-width: 1230px) {
    .contact-form-wrapper .form input[type=text],
    .contact-form-wrapper .form textarea,
    .contact-form-wrapper .form button {
        font-size: 24px !important;
        line-height: 26px !important;
    }
    .contact-form-wrapper .form textarea {
        height: 104px !important;
    }
    .contact-form-wrapper .form button {
        font-size: 26px !important;
    }
    .contact-form-wrapper .form .wpforms-confirmation-container-full {
        font-size: 24px;
    }
    .contact-form-wrapper .form div.wpforms-container-full .wpforms-form .wpforms-submit-spinner {
        bottom: 19px;
    }
}
*/

.contact-form-wrapper .phonebox {
    background: url("/wp-content/themes/maxihome/img/phonebox660x315.png");
    background-size: 100%;
    width: 97%;
    right: -8px;
    height: calc((84vw - 2em) * 0.48);
    top: -36px;
    top: calc((23px + (36 - 23) * ((100vw - 320px) / (500 - 320))) * -1);
}
.contact-form-wrapper .phonebox > div {
    padding-top: 58px;
    padding-top: calc(58px + (90 - 58) * ((100vw - 320px) / (500 - 320)));
    padding-left: 20px;
    padding-left: calc(20px + (30 - 20) * ((100vw - 320px) / (500 - 320)));
}
.contact-form-wrapper .phonebox > div p {
    font-size: 13px;
    font-size: calc(13px + (19 - 13) * ((100vw - 320px) / (500 - 320)));
    line-height: 15px;
    line-height: calc(15px + (25 - 15) * ((100vw - 320px) / (500 - 320)));
}
.contact-form-wrapper .phonebox > div > p > span {
    width: 32px;
    width: calc(32px + (55 - 32) * ((100vw - 320px) / (500 - 320)));
}
@media (min-width: 540px) {
    .contact-form-wrapper .phonebox {
        width: 400px;
        right: 9px;
        background-size: 410px;
        height: 196px;
        top: -36px;
    }
    .contact-form-wrapper .phonebox > div {
        padding-top: 90px;
        padding-left: 30px;
    }
    .contact-form-wrapper .phonebox > div p {
        font-size: 19px;
        line-height: 25px;
    }
    .contact-form-wrapper .phonebox > div > p > span {
        width: 55px;
    }
}
/*
@media (min-width: 1230px) {
    .contact-form-wrapper .phonebox {
        width: 660px;
        background-size: 660px;
        height: 315px;
        top: -58px;
        right: -20px;
    }
    .contact-form-wrapper .phonebox > div {
        padding-top: 148px;
        padding-left: 70px;
    }
    .contact-form-wrapper .phonebox > div > p {
        font-size: 28px;
        line-height: 35px;
    }
    .contact-form-wrapper .phonebox > div > p > span {
        width: 80px;
    }
}
*/