:root {
    --base-color: #ff9000;
}

body, html  {margin:0; padding:0; height:100%; width:100%; box-sizing: border-box; font-size:13px;}
body, html  {font-family: "Montserrat", sans-serif; background: #1c1c1c; text-shadow: 0px 0px 1px #000000;}

body {display: flex; flex-direction: column;}

._center {max-width: 1200px; margin: 0 auto; width: 100%; box-sizing: border-box; position: relative; padding: 0 20px;}

._link {color: var(--base-color); text-decoration: none; transition: 0.3s}
._link:hover {color: #ffffff; text-decoration: none}

._page-vertical-border {
    width: 100%;
    max-width: 1600px;
    box-sizing: border-box;
    padding: 0 20px;
    margin: 0 auto;
}
._page-vertical-border:after {
    content: "";
    display: block;
    width: 100%;
    border-top: 1px solid #6e6e6e;
}

/* Buttons */

._button {
    display: block;
    font-weight: 600;
    font-size: 17px;
    color: #ffffff;
    background: #013920;
    border: 2px solid #013920;
    border-radius: 25px;
    transition: 0.5s;
    padding: 13px 40px;
    box-sizing: border-box;
    cursor: pointer;
}

._button:hover {
    background: #ffffff;
    color: #013920;
}

/* Form */

form._form {}

form._form input[type="text"],
form._form textarea {
    background: transparent;
    border: 1px solid var(--base-color);
    color: #ffffff;
    font-size: 16px;
    box-sizing: border-box;
    padding: 12px;
}

form._form input[type="text"].error,
form._form textarea.error {
    border-color: #ff3030;
}

form._form input[type="text"]::placeholder,
form._form textarea::placeholder {color: var(--base-color);}

form._form .file {display: flex; align-items: center; position: relative;}
    form._form .file label {
        padding: 12px;
        color: var(--base-color);
        box-sizing: border-box;
        display: flex;
        width: fit-content;
        font-weight: bold;
        min-height: 34px;
        position: relative;
        align-items: center;
        cursor: pointer;
        border: 1px solid var(--base-color);
        transition: 0.3s;
        font-size: 16px;
    }
        form._form .file label > i {
            display: block;
            width: 30px; height: 30px;
            background: url("/img/i-image.svg") no-repeat center/contain;
            margin-right: 5px;
        }
        form._form .file label > input {display: none;}
    form._form .file:not(.w-value) i.delete {display: none;}
    form._form .file i.delete {
        width: 30px; height: 30px;
        background: url("/img/i-cross-orange.svg") no-repeat center/contain;
        cursor: pointer;
    }
    form._form .file > span.note {
        display: block;
        position: absolute;
        width: 100%;
        left: 0; top: calc(100% + 5px);
        font-size: 15px;
        color: #8e8e8e;
    }

/* Icon */

._icon {display: block; background-repeat: no-repeat; background-position: center; background-size: contain;}


/* Layout-default */

#layout-top {}

#layout-top .line-1 {background: var(--base-color); padding: 20px 0;}
    #layout-top .line-1 > div {text-align: center;}
    #layout-top .line-1 img {width: 110px;}

#layout-top .line-2 {background: #000000;}

#layout-body {flex-grow: 1;}

#layout-footer {
    text-align: center;
    font-weight: 600;
}

#layout-footer > .line-1 {background: #1c1c1c; padding: 10px 0;}
    #layout-footer > .line-1 #social-links {margin: 10px 0;display: flex; justify-content: center; align-items: center; width: 100%;}
        #layout-footer > .line-1 #social-links > span {font-weight: 600; font-size: 18px; color: var(--base-color); margin-right: 15px;}
        #layout-footer > .line-1 #social-links > a {
            display: block;
            width: 35px; height: 35px;
            background-repeat: no-repeat;
            background-position: center;
            background-size: contain;
            transition: 0.3s;
        }
        #layout-footer > .line-1 #social-links > a:not(:last-child) {margin-right: 15px;}
        #layout-footer > .line-1 #social-links > a.facebook {background-image: url("/files/img/social/fac.png");}
        #layout-footer > .line-1 #social-links > a.checkatrade {background-image: url("/files/img/social/galka.png");}
        #layout-footer > .line-1 #social-links > a.trustatrader {background-image: url("/files/img/social/galka2.png");}
        #layout-footer > .line-1 #social-links > a.mybuilder {background-image: url("/files/img/social/amurs.png");}

#layout-footer > .line-2 {background: var(--base-color); padding: 10px 0;}

/* Layout-mobile */

@media only screen and (max-width: 1600px) {
    ._page-vertical-border {margin: 15px 0;}
}
/* Services */

.services .articles {}
.services .articles img {width: 100%;}

/* Gallery */

#gallery-carousel {box-sizing: border-box; padding: 10px 0; margin: 48px 0;}
    #gallery-carousel .main-image {box-sizing: border-box; padding: 0 60px;}
        #gallery-carousel .main-image img {width: 100%;}
    #gallery-carousel .carousel {width: 100%; position: relative; box-sizing: border-box; padding: 0 60px;}
        #gallery-carousel .carousel .body {width: 100%; overflow-x: hidden;}
        #gallery-carousel .carousel .image-list {display: flex; align-items: center;}
            #gallery-carousel .carousel .image-list .image {
                box-sizing: border-box;
                width: 100%;
                flex-shrink: 0;
                position: relative;
                padding-top: 76%;
            }
            #gallery-carousel .carousel .image-list .image img {
                left: 0; top: 0;
                box-sizing: border-box;
                padding: 20px;
                position: absolute;
                width: 100%;
                height: 100%;
                object-fit: fill;
                object-position: center;
            }
        #gallery-carousel .carousel .buttons {
            height: 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            position: absolute;
            top: 50%;
            left: 0;
            cursor: pointer;
        }
            #gallery-carousel .carousel .buttons > div {width: 60px; height: 60px; background: url("/img/i-arrow.svg") no-repeat center/contain; transition: 0.5s}
            #gallery-carousel .carousel .buttons > div:hover {background: url("/img/i-arrow-orange.svg") no-repeat center/contain;}
            #gallery-carousel .carousel .buttons > div.left {transform: rotate(180deg);}
        #gallery-carousel .thumbs {
            display: flex;
            box-sizing: border-box;
            padding: 10px 80px;
            gap: 10px;
            justify-content: center;
            align-items: stretch;
        }
            #gallery-carousel .thumbs .thumb {
                flex-grow: 1;
                max-width: 25%;
                cursor: pointer;
                position: relative;
                width: 100%;
            }
            #gallery-carousel .thumbs .thumb img {
                width: 100%;
            }
            #gallery-carousel .thumbs .thumb.active {outline: 1px solid var(--base-color);}

#gallery-grid {box-sizing: border-box; padding: 10px 0; margin: 48px 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 20px;}
    #gallery-grid .image {flex-grow: 1; cursor: pointer; position: relative; max-width: 50%;}
    #gallery-grid .image:hover {outline: 2px solid var(--base-color);}
    #gallery-grid .image.small {width: 30%;}
    #gallery-grid .image.big {width: 45%;}
    #gallery-grid .image img {width: 100%; min-height: 100%; object-fit: cover; object-position: center;}

#gallery-image-modal {
    position: fixed;
    left: 0; top: 0;
    width: 100%; height: 100%;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3%;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.7);;
}
    #gallery-image-modal img {max-width: 100%; max-height: 100%; box-sizing: border-box; border: 2px solid #ffffff;}
    #gallery-image-modal div.close {
        width: 50px; height: 50px;
        position: absolute;
        top: 20px; right: 20px;
        background: var(--base-color) url("/img/i-cross.svg") no-repeat center/40px;
        cursor: pointer;
        border-radius: 100%;
        transition: 0.5s;
        border: 2px solid var(--base-color);
    }
    #gallery-image-modal div.close:hover {
        background: transparent url("/img/i-cross-orange.svg") no-repeat center/40px;
    }

/* Contact */

#contact-address {color: #ffffff; max-width: 450px;}
    #contact-address h4, #contact-address h1 {margin: 0; font-size: 23px; text-align: center; margin-bottom: 15px;}
    #contact-address table {color: #ffffff; border-collapse: collapse; margin: 0 auto;}
        #contact-address table td {box-sizing: border-box; padding: 15px; font-size: 19px;}
        #contact-address table i._icon {width: 30px; height: 30px;}
        #contact-address table i._icon.home {background-image: url("/files/img/contact/dom.png");}
        #contact-address table i._icon.phone {background-image: url("/files/img/contact/telefon.png");}
        #contact-address table i._icon.mail {background-image: url("/files/img/contact/pocta.png");}
        #contact-address table i._icon.clock {background-image: url("/files/img/contact/chasi.png");}

#contact-form {max-width: 500px;}
    #contact-form span {display: block; color: var(--base-color); text-align: center; font-size: 26px; margin-bottom: 30px;}
    #contact-form #contact-form-answer span,
    #contact-form #contact-form-answer ul {
        display: block;
        list-style: none;
        padding: 10px;
        box-sizing: border-box;
        margin: 0;
        margin-bottom: 20px;
        font-size: 15px;
        border: 1px solid;
        color: #ffffff;
    }
        #contact-form #contact-form-answer .success {border-color: green; background-color: #2cb02c;}
        #contact-form #contact-form-answer .errors {border-color: #c40000; background-color: #ff5f5f}
    #contact-form form {display: flex; flex-direction: column; width: 100%; margin-bottom: 20px;}
        #contact-form form input {margin-bottom: 20px;}
        #contact-form form textarea {min-height: 280px;}
    #contact-form span.remark {color: #8e8e8e; font-size: 15px;}
    #contact-form button {margin: 0 auto;}

/* Reviews */

#reviews-form {max-width: 700px; margin: 0 auto;}
    #reviews-form > span {display: block; color: var(--base-color); text-align: center; font-size: 26px; margin-bottom: 30px;}
    #reviews-form #reviews-form-answer span,
    #reviews-form #reviews-form-answer ul {
        display: block;
        list-style: none;
        padding: 10px;
        box-sizing: border-box;
        margin: 0;
        margin-bottom: 20px;
        font-size: 15px;
        border: 1px solid;
        color: #ffffff;
    }
        #reviews-form #reviews-form-answer .success {border-color: green; background-color: #2cb02c;}
        #reviews-form #reviews-form-answer .errors {border-color: #c40000; background-color: #ff5f5f}
    #reviews-form form {display: flex; flex-direction: column; width: 100%; margin-bottom: 20px;}
        #reviews-form form input[type="text"] {margin-bottom: 20px;}
        #reviews-form form textarea {min-height: 280px; margin-bottom: 20px;}
        #reviews-form form .stars {display: flex; align-items: center;}
        #reviews-form form .stars input.star {
            position: relative;
            visibility: hidden;
            width: 50px; height: 50px;
            margin: 0;
        }
        #reviews-form form .stars input.star:not(:last-child) {margin-right: 10px;}
        #reviews-form form .stars input.star:after {
            display: block;
            content: "";
            position: absolute;
            left: 0; top: 0;
            width: 100%; height: 100%;
            background: url("/img/i-star.svg") no-repeat center/contain;
            visibility: visible;
            cursor: pointer;
        }
        #reviews-form form .stars input.star.filled:after {
            background: url("/img/i-star-filled.svg") no-repeat center/contain;
        }
    #reviews-form span.remark {color: #8e8e8e; font-size: 15px;}
    #reviews-form .buttons {position: relative; width: 100%;}
        #reviews-form .buttons button {margin: 0 auto;}
        #reviews-form .buttons a {
            display: block;
            position: absolute;
            left: 0; top: 50%;
            transform: translateY(-50%);
            color: #8e8e8e;
            font-size: 20px;
            text-decoration: none;
            box-sizing: border-box;
            padding-left: 20px;
        }
        #reviews-form .buttons a:after {
            display: block;
            width: 20px; height: 20px;
            position: absolute;
            left: 0; top: 50%;
            transform: translateY(-50%) rotate(180deg);
            content: "";
            background: url("/img/i-arrow.svg") no-repeat center/contain;
            transition: 0.3s;
        }
        #reviews-form .buttons a:hover { color: var(--base-color);}
        #reviews-form .buttons a:hover:after {background: url("/img/i-arrow-orange.svg") no-repeat center/contain;}

#reviews-list {padding: 10px 0; margin: 40px 0;}
    #reviews-list table {width: 100%; color: #ffffff; border-spacing:0 15px;}
        #reviews-list table tr td {padding: 15px 10px; border-top: 2px solid var(--base-color); border-bottom: 2px solid var(--base-color);}
        #reviews-list table tr td:first-child {border-radius: 10px 0 0 10px; border-left: 2px solid var(--base-color);}
        #reviews-list table tr td:last-child {border-radius: 0 10px 10px 0; border-right: 2px solid var(--base-color);}
        #reviews-list table tr td.img {width: 1%;}
            #reviews-list table tr td.img img {max-width: 100px; max-height: 100px;}
        #reviews-list table tr td.info {}
        #reviews-list table tr td.info .name {font-size: 20px; font-weight: 600; margin: 0; margin-bottom: 10px; color: var(--base-color);}
        #reviews-list table tr td.info p {margin: 0; margin-bottom: 20px;}
        #reviews-list table tr td.info .date {color: #8e8e8e; font-size: 12px;}
        #reviews-list table tr td.grade {width: 1%;}
        #reviews-list table tr td.link {width: 1%;}
        #reviews-list table tr td.link a {
            display: block;
            white-space: nowrap;
            padding-right: 20px;
            position: relative;
        }
        #reviews-list table tr td.link a:after {
            display: block;
            width: 15px; height: 15px;
            position: absolute;
            right: 0; top: 50%;
            transform: translateY(-50%);
            content: "";
            background: url("/img/i-arrow-orange.svg") no-repeat center/contain;
        }

#reviews-carousel {font-size: 15px; box-sizing: border-box; position: relative;}
    #reviews-carousel > .body {width: 100%; overflow-x: hidden;}
        #reviews-carousel > .body .reviews-list {display: flex; transform: translateX(-25%);}
        #reviews-carousel > .buttons {
            position: absolute;
            width: calc(100% + 120px);
            left: -60px; top: 50%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 0;
        }
            #reviews-carousel > .buttons > div {width: 60px; height: 60px; background: url("/img/i-arrow.svg") no-repeat center/contain; transition: 0.5s; cursor: pointer;}
            #reviews-carousel > .buttons > div:hover {background: url("/img/i-arrow-orange.svg") no-repeat center/contain;}
            #reviews-carousel > .buttons > div.left {transform: rotate(180deg);}
    #reviews-carousel > .body-static {display: flex; justify-content: center;}

    #reviews-carousel .item {width: 0; min-width: 25%; box-sizing: border-box; padding: 10px;}
        #reviews-carousel .item .body {background: #353535; box-sizing: border-box; padding: 7%; height: 100%; padding-bottom: calc(7% + 62px); position: relative;}
        #reviews-carousel .item .img {box-sizing: border-box; width: 100%; padding-top: 75%; position: relative}
        #reviews-carousel .item .img img {
            width: calc(100% - 20px);
            height: calc(100% - 20px);
            position: absolute;
            left: 10px; top: 10px;
            object-fit: contain;
            object-position: center;
        }
        #reviews-carousel .item .stars {justify-content: center; margin-bottom: 15px; height: 18px;}
            #reviews-carousel .item .stars .star {width: 18px; height: 18px;}
        #reviews-carousel .item .name {
            display: block;
            text-align: center;
            color: #ffffff;
            font-size: 18px;
            margin-bottom: 10px;
        }
        #reviews-carousel .item .text {
            margin: 0;
            padding: 0;
            color: #ffffff;
            text-align: center;
            margin-bottom: 15px;
        }
        #reviews-carousel .item .footer {
            position: absolute;
            width: 100%;
            bottom: 25px; left: 0;
        }
            #reviews-carousel .item .footer a {
                display: block;
                white-space: nowrap;
                position: relative;
                padding-right: 20px;
                width: fit-content;
                margin: 0 auto 18px auto;
            }
            #reviews-carousel .item .footer a:after {
                display: block;
                width: 15px; height: 15px;
                position: absolute;
                right: 0; top: 50%;
                transform: translateY(-50%);
                content: "";
                background: url("/img/i-arrow-orange.svg") no-repeat center/contain;
            }
            #reviews-carousel .item .footer .date {
                display: block;
                text-align: center;
                color: #8e8e8e;
            }

#reviews-document {text-align: center;}
    #reviews-document > h2 {font-size: 30px; color: var(--base-color); margin: 0; margin-bottom: 30px;}
    #reviews-document > p {margin: 0; margin-bottom: 40px; color: #ffffff; font-size: 25px;}
    #reviews-document > .stars {justify-content: center;}
        #reviews-document > .stars > .star {width: 35px; height: 35px; margin-bottom: 30px;}
    #reviews-document > .date {color: #8e8e8e; font-size: 20px; margin-bottom: 50px; display: block;}
    #reviews-document > .images {display: flex; align-items: center; column-gap: 20px; justify-content: center;}
        #reviews-document > .images > img {max-width: 400px;}

.reviews {}
    .reviews .stars {display: flex;}
        .reviews .stars .star {
            width: 25px; height: 25px;
            background-image: url("/img/i-star-filled.svg");
        }
        .reviews .stars .star:not(:last-child) {margin-right: 10px;}

/* Navigation */

#navigation-header {
    padding: 0;
    list-style: none;
    display: flex;
    margin: 0 auto;
    width: 100%;
    justify-content: center;
}
    #navigation-header li {}
    #navigation-header a {
        color: #fff;
        font-weight: 600;
        text-decoration: none;
        font-size: 16px;
        display: block;
        padding: 13px 16px;
        transition: 0.5s;
        text-align: center;
    }
    #navigation-header a:hover:not(.active) {color: var(--base-color);}
    #navigation-header a.active {background: var(--base-color);}

/*----------------------------------------- MOBILE -----------------------------------------------*/

@media only screen and (max-width: 1320px) {
    #reviews-carousel {box-sizing: border-box; padding: 0 60px;}
        #reviews-carousel > .body .reviews-list {transform: translateX(-33.3%);}
        #reviews-carousel > .buttons {width: 100%; left: 0;}
        #reviews-carousel .item {min-width: 33.3%;}
}
/* HOME */

#startpage-banner {margin-bottom: 20px}
    #startpage-banner a {display: inline-block; width: 100%}
    #startpage-banner img {width: 100%;}

#about-promo {display: flex; box-sizing: border-box; padding: 10px 0; margin-bottom: 45px;}
    #about-promo .left {width: 62%; box-sizing: border-box; padding-right: 5px; color: var(--base-color); font-weight: 600;}
        #about-promo .left h3 {color: #fff; font-weight: 500; font-size: 17px; margin: 14px 0 20px;}
        #about-promo .left p {margin: 0 0 20px; font-size: 45px;}
        #about-promo .left span {font-size: 30px;}
        #about-promo .left span i {font-style: normal; margin-left: 16%}
    #about-promo .right {width: 38%; box-sizing: border-box; padding-left: 5px;}
        #about-promo .right p {margin: 56px 0 34px; font-size: 21px; color: #8e8e8e;}
        #about-promo .right button {margin: 0 auto;}

#services-promo {box-sizing: border-box; padding: 10px 0; margin: 65px 0 70px;}
    #services-promo .info {display: flex; align-items: flex-start; margin-bottom: 70px}
        #services-promo .info img {width: 44%; max-width: 500px;}
        #services-promo .info .text {width: 66%; box-sizing: border-box; padding: 4% 0 0 7%;}
        #services-promo .info .text h3 {margin: 0 0 34px; font-weight: 500; font-size: 15px; color: var(--base-color);}
        #services-promo .info .text p {margin: 0; font-weight: 600; color: #ffffff; font-size: 49px;}

#gallery-promo {padding: 10px 0; margin: 44px 0;}
    #gallery-promo > h3 {margin: 0; color: var(--base-color); font-weight: 500; text-align: center; font-size: 17px; margin-bottom: 24px;}
    #gallery-promo > span {color: #ffffff; font-weight: 600; display: block; text-align: center; font-size: 52px; margin-bottom: 46px;}
    #gallery-promo > p {color: #8e8e8e; text-align: center; font-size: 17px; margin-bottom: 20px;}

#reviews-promo {padding: 10px 0; margin: 44px 0 60px;}
    #reviews-promo > h3 {margin: 0; color: #ffffff; font-weight: 500; text-align: center; font-size: 17px; margin-bottom: 24px;}
    #reviews-promo > span {color: var(--base-color); font-weight: 600; display: block; text-align: center; font-size: 45px; margin-bottom: 46px;}

/* ABOUT US */

#about-us-page {display: flex; margin: 45px 0;}
    #about-us-page .img {width: 45%; box-sizing: border-box; padding-top: 7%;}
    #about-us-page .img img {width: 100%;}
    #about-us-page .info {width: 55%; box-sizing: border-box; padding: 4% 0 0 7%;}
    #about-us-page .info > h2 {color: #ffffff; font-size: 15px; display: block; margin: 0; font-weight: 500; margin-bottom: 20px;}
    #about-us-page .info > h1 {color: var(--base-color); margin: 0 0 ; font-size: 34px; margin-bottom: 45px;}
    #about-us-page .info > p {margin: 0; color: #8e8e8e; font-size: 15px}
    #about-us-page .info > p span {color: var(--base-color);}

/* 404 */

#page-404 {text-align: center; padding: 10% 0;}
    #page-404 h1 {font-size: 60px; color: var(--base-color); margin: 0; margin-bottom: 30px;}
    #page-404 p {color: #ffffff; font-size: 35px; margin: 0;}

/* OUR SERVICES */

#services-page {box-sizing: border-box; padding: 10px 0; margin: 80px 0 65px;}
    #services-page > h2 {margin: 0; font-weight: 500; font-size: 17px; color: var(--base-color); margin-bottom: 40px;}
    #services-page > h1 {color: #ffffff; font-weight: 600; margin: 0; font-size: 52px; max-width: 700px; margin-bottom: 36px;}
    #services-page .articles img {width: 100%;}

#services-footer {box-sizing: border-box; padding: 10px 0; margin: 40px 0 65px;}
    #services-footer > h2 {color: #ffffff; font-weight: 600; margin: 0; font-size: 42px; max-width: 1100px; margin-bottom: 45px;}
    #services-footer > table {border-collapse: collapse; width: 100%; max-width: 890px; margin-bottom: 40px;}
        #services-footer > table td {color: var(--base-color); box-sizing: border-box; font-size: 23px; padding: 9px 0; padding-right: 9px;}
    #services-footer > p {margin: 0; color: #ffffff; font-size: 22px; margin-bottom: 15px;}
    #services-footer button {margin: 0 0 0 auto; padding: 13px 70px;}

/* PORTFOLIO */

#gallery-page {padding: 10px 0; margin: 44px 0;}
    #gallery-page > h2 {margin: 0; color: var(--base-color); font-weight: 500; text-align: center; font-size: 17px; margin-bottom: 24px;}
    #gallery-page > h1 {color: #ffffff; font-weight: 600; display: block; text-align: center; font-size: 52px; margin: 0; margin-bottom: 46px;}
    #gallery-page > p {color: #8e8e8e; text-align: center; font-size: 17px; margin-bottom: 20px;}

/* CONTACT */

#contact-promo {padding: 10px 0; margin: 70px 0;}
    #contact-promo h3 {margin: 0; text-align: center; color: #ffffff; font-size: 50px; margin-bottom: 80px;}
    #contact-promo > .body {display: flex; justify-content: center;}
    #contact-promo > .body > .form {width: 50%;}
    #contact-promo > .body > .address {
        width: 50%;
        box-sizing: border-box;
        padding-left: 20px;
        padding-top: 6%;
    }
#contact-promo #contact-form,
#contact-promo #contact-address {margin: 0 0 0 auto;}

/* REVIEWS */

#reviews-page {padding: 10px 0; margin: 44px 0;}
    #reviews-page h1 {margin: 0; text-align: center; color: #ffffff; font-size: 38px; margin-bottom: 40px;}
    #reviews-page .send-review {
        padding: 10px 0;
        margin-bottom: 20px;
        text-align: center;
    }
    #reviews-page .send-review span {color: var(--base-color); font-weight: 600; font-size: 24px; display: block; margin-bottom: 20px;}
    #reviews-page .send-review button {margin: 0 auto; padding: 13px 60px;}
