* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    padding: 0;
    margin: 0;
    font-family: Arial;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;

}

.text-center {
    text-align: center;
}

header {
    min-height: 100vh;
    background: url("../img/bg-header.jpg") no-repeat center center;
    background-size: cover;
    padding-top: 70px;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: rgba(0, 0, 0, 0.8);
    z-index: 100;
}

nav ul {
    display: flex;
    z-index: 100;
}

nav ul.nav-phone {
    flex-direction: column;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}
.btn_add_order {
    cursor: pointer;
}
nav ul li {
    list-style: none;
    margin: 0 8px;
    font-style: normal;
}

nav ul li a {
    text-decoration: none;
}

nav ul li a.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul li a.logo img {
    margin-right: 15px;
}

nav ul li a:hover {
    text-decoration: underline;
}

nav.nav-light li a {
    color: white;
}

nav.nav-dark li a {
    color: #000;
    font-weight: bold;
}

nav.nav-dark {
    background: #fff;
    box-shadow: 0 2px 2px #4b4b4b;
}

.menu-nav.active {
    transform: translateX(0);
}

.menu-nav.nav-dark {
    background-color: rgba(255, 255, 255, 0.9);
}

.burger {
    display: none;
    cursor: pointer;
    z-index: 100;
}

.burger span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    margin-bottom: 8px;
    transition: transform .5s;
}

.nav-dark .burger span {
    background: #000;
}

.line1.toggle {
    transform: rotate(45deg) translate(3px, 7px);
}

.line2.toggle {
    opacity: 0;
}

.line3.toggle {
    transform: rotate(-45deg) translate(7px, -12px);
}

.header-main {
    display: flex;
    justify-content: center;
    min-height: 100vh;
    flex-direction: column;
    color: white;
    padding: 20px 0;
}

.header-main h1 {
    font-weight: 900;
    font-size: 64px;
    line-height: 90px;
}

.header-main p {
    font-size: 24px;
    line-height: 28px;
}

.header-main ul {
    margin-top: 50px;
}

.header-main ul li {
    list-style: none;
    font-size: 32px;
    line-height: 37px;
    margin-bottom: 15px;
}

.header-main ul li span {
    display: inline-block;
    background: #fff;
    color: #243124;
    padding: 8px 15px;
    text-align: center;
    vertical-align: middle;
    font-weight: 900;
    font-size: 32px;
    margin-right: 25px;
}

.header-main .main-links a {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 35px;
    text-decoration: none;
    color: white;
    font-size: 24px;
    border: 1px solid #FFFFFF;
    margin-right: 30px;
}

.header-main .main-links a:hover {
    text-decoration: underline;
}

.header-main .main-links a.link-white {
    background: #FFFFFF;
    color: #000;
}

section h1 {
    font-weight: 900;
    font-size: 48px;
    color: #000000;
}

section h1 span {
    background: #000;
    color: #fff;
    display: inline-flex;
    width: 80px;
    height: 80px;
    margin-right: 20px;
    align-items: center;
    justify-content: center;
}

/* HOW WORK */
#how_work {
    padding: 100px 0;
    overflow: hidden;
}

.how-work {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    padding-bottom: 75px;
}

.how-work div {
    grid-column: span 6;
}

.how-work ul li {

    font-size: 18px;
    margin: 1.5em 0;
}

.how-work ul {
    position: relative;
    margin-top: 50px;
    margin-left: 15px;
    list-style: square;
}

.work-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-img .img {
    position: relative;
}

.work-img .img img {
    width: 100%;
}

.work-img .img:before {
    content: "";
    width: 188px;
    height: 188px;
    background: #000;
    position: absolute;
    top: -20%;
    right: -20%;
    z-index: -1;
}

.work-img .img:after {
    content: "";
    width: 300px;
    height: 188px;
    border: 1px solid #000;
    position: absolute;
    bottom: -20%;
    left: -20%;
    z-index: -1;
}

/* SERVICES */
#services {
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}

#services .service-bg {
    width: 100%;
    height: 100%;
    background: #f2f3f9;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.work-img .img-service img {
    width: 100%;
    z-index: 100;
}

.work-img .img-service {
    position: relative;
}

.work-img .img-service:before {
    content: "";
    width: 188px;
    height: 188px;
    background: #000;
    position: absolute;
    top: -20%;
    left: -20%;
    z-index: -1;
}

.work-img .img-service:after {
    content: "";
    width: 300px;
    height: 188px;
    border: 1px solid #000;
    position: absolute;
    bottom: -20%;
    right: -20%;
    z-index: -1;
}

/* INSTALL */
#how_install {
    padding: 100px 0;
    overflow: hidden;
}

.work-img .img-install {
    position: relative;
    display: flex;
    align-items: center;
}

.work-img .img-install img {
    max-width: 80%;
    margin: 0 auto;
}

.work-img .img-install:before {
    content: "";
    width: 188px;
    height: 188px;
    background: #000;
    position: absolute;
    bottom: -20%;
    right: -10%;
    z-index: -1;
}

.work-img .img-install:after {
    content: "";
    width: 300px;
    height: 188px;
    border: 1px solid #000;
    position: absolute;
    top: -10%;
    left: 0;
    z-index: -1;
}

/* PRICES */
#prices {
    padding: 100px 0;
    background: #f2f3f9;
    overflow: hidden;
}

.block-prices {
    margin-top: 50px;
}

.block-prices ul {
    list-style: none;
    max-width: 600px;
}

.block-prices ul.inner {
    padding-left: 1em;
    overflow: hidden;
    display: none;
}

.block-prices ul.inner li {
    justify-content: end;
    align-items: center;
}

.block-prices ul.inner li img {
    height: 100px;
    margin-right: 15px;
}

.block-prices ul li {
    margin: 0.5em 0;
}

.block-prices ul li a img {
    height: 100px;
}

.block-prices ul li a.toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #d0d1d7;
    color: #000000;
    text-decoration: none;
    padding-right: 10px;
    border-radius: 0.15em;
}

ul li a.toggle:hover {
    background: rgb(195, 195, 195);
}

.block-prices ul.inner li a {
    justify-content: end;
}

div.inner {
    padding: 10px;
    background: rgb(174, 176, 183);
}

div.inner strong {
    margin-left: 10px;
}

div.inner p {
    margin: 5px;
    padding: 3px;
}

.toggle p {

}

.no-toggle {
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    background: #d0d1d7;
    color: #000000;
    text-decoration: none;
    padding-right: 10px;
    border-radius: 0.15em;
}

.caret {
    vertical-align: middle;
    margin-left: 5px;
}

.caret.show {
    transform: rotate(180deg);
}

/* CALC FORM */
#calc_install {
    padding: 100px 0;
    overflow: hidden;
}

.from-block {
    margin-top: 50px;
}

.from-block .form-field {
    margin: 30px 0;
}

.from-block .form-field h3 {
    font-size: 36px;
    font-weight: bold;
    display: inline-block;
}

.from-block .form-field span {
    font-weight: bold;
    font-size: 24px;
    line-height: 28px;
}

.form-field .btn_submit {
    padding: 15px 35px;
    font-size: 24px;
    background: #000;
    color: #fff;
    outline: none;
    border: 1px solid #000;
    cursor: pointer;
    transition: all 0.3s;
}

.form-field .btn_submit:hover {
    background: transparent;
    color: #000;
}

/* SEARCH WATER CHECK */
.label {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.label .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.label:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.label input:checked ~ .checkmark {
    background-color: #000000;
}

/* Create the checkmark/indicator (hidden when not checked) */
.label .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.label input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.label .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* DIAMETER */
.diameter {
    display: inline-block;
    position: relative;
    padding-left: 35px;
    margin-top: 15px;
    margin-right: 15px;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.diameter input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.diameter .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.diameter:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.diameter input:checked ~ .checkmark {
    background-color: #000000;
}

/* Create the checkmark/indicator (hidden when not checked) */
.diameter .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.diameter input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.diameter .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.slider-wrapper {
    padding-left: 15px;
    margin-top: 15px;
}

.slider-wrapper input {
    margin: 0;

}

.noUi-target {
    height: 300px;
    width: 8px;
    border-radius: 0;
    border: none;
    box-shadow: none;
    margin-top: 30px;
    margin-bottom: 20px;
}

.noUi-base {
    background: #C4C4C4;
}

.noUi-handle {
    background: #000;
    border-radius: 0;
    box-shadow: none;
    border: none;
    cursor: pointer;
}

.noUi-vertical .noUi-handle {
    width: 24px;
    height: 24px;
    right: -8px;
    top: -11px;
}

.noUi-vertical .noUi-handle:focus {
    outline: none;
}

.noUi-handle:after, .noUi-handle:before {
    content: none;
}

.noUi-marker-vertical.noUi-marker-large {
    height: 2px;
    background: #626262;
}

.noUi-pips {
    color: #000;
    font-size: 18px;
}

.noUi-connects {
    border-radius: 0;
}

.noUi-connect {
    background: #000;
    border-radius: 0;
}

/* OUR WORKS */
#our_works {
    padding: 100px 0;
    background: #F2F3F9;
    overflow: hidden;
}

.block-works {
    margin-top: 50px;
}

.owl-carousel .owl-item {
    padding: 5px;
}

.owl-carousel .owl-stage-outer {
    padding-top: 15px;
    border-top: 5px solid #000;
}

.owl-carousel .owl-item img {
    width: 100%;
}

#btn_add_order {
    display: inline-block;
    margin-top: 50px;
    background: #000;
    color: white;
    font-size: 24px;
    padding: 15px 35px;
    border: 1px solid #000;
    transition: all 0.3s;
    text-decoration: none;
    cursor: pointer;
}

#btn_add_order:hover {
    background: transparent;
    color: #000;
}

footer {
    padding: 50px 0;
    color: #fff;
    background-color: #000;
}

.contacts {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.contacts a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.to-top {
    display: inline-block;
    color: black;
    padding: 15px 35px;
    text-decoration: none;
    background: white;
}

.contacts a:hover {
    text-decoration: underline;
}

.page {
    padding: 200px 0;
    overflow: hidden;
}

.text-article {
    margin-top: 50px;
}

.text-article p {
    font-size: 18px;
    line-height: 24px;
    margin-top: 24px;
}

.text-article h3 {
    margin-top: 40px;
}

.text-article h2 {
    margin-top: 40px;
}

.text-article h1 {
    margin-top: 40px;
}

.link-go-home {
    display: inline-block;
    padding: 15px 35px;
    border: 1px solid #000;
    background: transparent;
    text-decoration: none;
    color: #000;
    font-size: 24px;
    transition: background-color 0.3s;
}

.link-go-home:hover {
    background: #000;
    color: #fff;
}

.bg-white {
    background-color: #fff;
}

.modal-block {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: end;
    transition: all 0.3s;
}

.modal-block.active {
    display: flex;
}

.modal-block .modal-form {
    position: relative;
    padding: 100px 50px;
}

.block-form {
    margin-top: 50px;
}

.block-form .form-field {
    margin-top: 20px;
}

.block-form .form-field input {
    display: block;
    min-width: 300px;
    padding-left: 10px;
    border: none;
    border-bottom: 1px solid #afafaf;
    outline: none;
    color: black;
    font-size: 18px;
    padding-bottom: 5px;
    margin-top: 5px;
}

.block-form .form-field input:focus {
    border-color: black;
}

.form-field a.link-phone {
    color: black;
}

.block-form .form-field label {
    font-size: 24px;
    font-weight: bold;
}

.modal-form a.close {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    right: 0;
    top: 15px;
    cursor: pointer;
}

.close span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #000;
}

.close span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.close span:nth-child(2) {
    transform: rotate(-45deg) translate(-5px, 4px);
}

.card {
    position: relative;
    display: -ms-flexbox;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
}

.card {
    height: 100%;
    border: none;
    border-radius: .25rem;
    -webkit-box-shadow: 0 0 0.5rem rgba(150, 150, 150, .52);
    box-shadow: 0 0 0.5rem rgba(150, 150, 150, .52);
}

.card-imaged {
    max-height: 220px;
    font-size: .75rem;
    color: #fff;
    border: none;
    overflow: hidden;
}

.card-imaged-img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.img-responsive {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.card-img {
    width: 100%;
    border-radius: -webkit-calc(.25rem - 1px);
    border-radius: calc(.25rem - 1px);
}

.card-imaged-overlay {
    bottom: auto;
    height: 100%;
    padding: 0;
    -webkit-box-shadow: inset 0 -40px 62px rgba(0, 0, 0, .8);
    box-shadow: inset 0 -40px 62px rgba(0, 0, 0, .8);
}

.card-img-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1.25rem;
}

.card-imaged-inner {
    position: absolute;
    top: -webkit-calc(100% - 3rem);
    top: calc(100% - 3rem);
    left: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 1rem;
    -webkit-transition: .35s;
    -o-transition: .35s;
    transition: .35s;
}

.card-imaged:focus-within .card-imaged-inner, .card-imaged:hover .card-imaged-inner {
    top: 0;
}

.text-right {
    text-align: right;
}

.btn.btn-second {
    padding: 10px 15px;
    background: #000;
    color: #fff;
}

.gallery-wrap {
    margin-top: 48px;
}

.swiper-container-gallery {
    height: 300px;
    position: relative;
    margin-top: 20px;
}

.swiper-container-gallery:after {
    content: "";
}

.arrows-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.arrows-block img {
    width: 100%;
}

.btn-arrows {
    position: relative;
    display: flex;
    flex-direction: row-reverse;
    width: 110px;
    justify-content: space-between;
    height: 70px;
}

.object-gallery .btn-arrows .swiper-button-next, .object-gallery .btn-arrows .swiper-button-prev {
    width: auto;
    position: inherit;
    z-index: 10;
    cursor: pointer;
    display: flex;
    margin-top: 0;
    height: auto;
    top: unset;
    align-items: center;
    justify-content: center;
    color: var(--swiper-navigation-color, var(--swiper-theme-color));
}

.swiper-container-gallery figure {
    display: none;
}

.swiper-container-gallery .swiper-slide .image-self {
    width: 100%;
    height: 100%;
}

.image-self-open {
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    transition: all 0.5s;
}

.swiper-container-gallery .swiper-slide:hover .image-self-open {
    visibility: visible;
    opacity: 1;
}

.history-work {
    padding: 50px 0 75px;
}

.btn-objects {
    text-decoration: none;
    display: inline-block;
    padding: 15px 35px;
    font-size: 18px;
    background: #000;
    color: #fff;
    outline: none;
    border: 1px solid #000;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-objects:hover {
    background: #fff;
    color: #000;
}


/* COMMENTS BLOCK */
.border-left {
    border-left: 1px solid #000 !important;
}

.rounded-field input, .rounded-field textarea {
    border-radius: 5px;
    border: 1px solid #000;
    outline: none;
    padding: 10px 15px;
    resize: vertical;
    min-width: 290px;
    width: 100%;
}

.form-row {
    display: -ms-flexbox;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px
}

.form-row > .col, .form-row > [class*=col-] {
    padding-right: 5px;
    padding-left: 5px
}

.btn-send-comment {
    border: none;
    border-radius: 5px;
    outline: none;
    background-color: #0d95e8;
    color: #fff;
    padding: 15px 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-send-comment:hover {
    background-color: #0d6cae;
}

.badge {
    color: #fff;
    background-color: #0d95e8;
    padding: 5px 10px;
    border-radius: 4px;
}

@media screen and (max-width: 992px) {
    .d-992-none {
        display: none;
    }

    nav {
        justify-content: space-between;
    }

    .burger {
        display: block;
    }

    .menu-nav {
        width: 100%;
        height: 100vh;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        flex-direction: column;
        position: fixed;
        background-color: rgba(0, 0, 0, 0.9);
        top: 0;
        right: 0;
        transform: translateX(100%);
        transition: all 0.5s;
        z-index: 10;
    }

    .how-work div {
        grid-column: span 12;
    }

    .work-img {
        margin-top: 100px;
    }

    nav ul.nav-phone {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        margin-right: 25px;
    }
}

@media screen and (max-width: 768px) {
    .header-main h1 {
        font-size: 48px;
        line-height: 48px;
    }

    .header-main ul li {
        font-size: 24px;
    }

    section h1 {
        font-size: 32px;
    }
}

@media screen and (max-width: 576px) {
    .header-main h1 {
        font-size: 32px;
        line-height: 32px;
    }

    .header-main ul li {
        font-size: 24px;
    }

    section h1 {
        font-size: 28px;
    }

    .link-go-home {
        font-size: 18px;
        margin-top: 20px;
        display: block;
        text-align: center;
    }

    #btn_add_order {
        font-size: 18px;
        margin-top: 20px;
        display: block;
        text-align: center;
    }

    .modal-block .modal-form {
        padding: 20px 0;
    }

    .work-img .img-install img {
        max-width: 100%;
    }
}

@media screen and (max-width: 320px) {
    .header-main ul li {
        font-size: 18px;
    }

    .header-main ul li span {
        margin-right: 15px;
    }

    .header-main .main-links a {
        font-size: 18px;
    }

    .modal-block .modal-form {
        padding: 20px 0;
    }
}