@media (min-width: 999px) {.hide--desktop {display: none;}}

@media (max-width: 999px) {.hide--mobile {display: none;}}

@media (max-width: 1399px) {
    .header-logo a {
        height: 120px;
    }
    
    .header-logo a img {
        max-width: 80px;
        max-height: 80px;
    }
    
    .header-menu ul.menu li a, .header-menu ul.menu li span {
        font-size: 14px;
    }
    
    .header-menu ul.menu {
        column-gap: 20px;
    }
    
    .header-button .button {
        min-height: 40px;
        font-size: 14px;
    }
    
    .header-phones ul.phones li * {
        font-size: 14px;
    }
    
    .button {
    }
    
    .header-banner--heading * {
        font-size: 64px;
    }
    
    .header-banner--subtitle * {
        font-size: 26px;
    }
    
    .header-banner--subtitle {
        margin-top: 16px;
        padding-left: 60px;
    }
    
    .header-banner--button {
        margin-top: 48px;
    }
    
    .header-logo {
        max-width: 180px;
    }
}

@media (max-width: 999px) {
    .burger {
        display: flex;
        width: 40px;
        height: 40px;
        justify-content: center;
        align-items: center;
        stroke: #CCB05C;
    }
    
    .burger.hidden {
        display: none;
    }
    
    .mobile-menu-head .close.visible {
        opacity: 1;
        position: relative;
    }
    
    .icon--burger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
    }
    
    .header-burger {
        align-self: center;
    }
    
    .header-logo a {
        background-color: transparent;
    }
    
    .header-logo a:after {
        display: none;
    }
    
    .header-logo a {
        height: 70px;
        padding: 0;
    }
    
    .header-logo {
        max-width: none;
        width: auto;
    }
    
    .header-logo a img {
        max-width: 100%;
        max-height: 100%;
    }
    
    .header-wrap {
        width: calc(100% - 32px);
        padding: 8px 0;
    }
    
    .header--front-page.header--is-background .header-banner {
        height: auto;
        max-height: calc(1000px - 86px);
        /*min-height: 726px;*/
    }
    
    .header-banner--heading * {
        font-size: 40px;
        
         /* 70px */
        letter-spacing: 4px;
    }
    
    .header-banner--subtitle * {
        font-size: 24px;
    }
    
    .header-banner--subtitle:before {
        width: 40px;
    }
    
    .header-banner--button .button {
        width: 100%;
    }

    section.section-repairs-renovations {
        margin-top: 80px;
        margin-bottom: 80px;
    }
    
    .section-label {
        font-size: 16px;
    }
    
    .section-title * {
        font-size: 36px;
    }
    
    .repairs-renovations--content .section-title {
        margin-bottom: 40px;
    }
    
    .repairs-renovations--row {
        flex-direction: column;
        row-gap: 32px;
    }
    
    .style-content, .style-content p {
        font-size: 16px;
    }
    
    .repairs-renovations--content .section-tags {
        margin-bottom: 32px;
        justify-content: flex-start;
        column-gap: 24px;
    }
    
    .section-button {
        margin-top: 12px;
    }
    
    .repairs-renovations--image-2, .repairs-renovations--image-3 {
        height: 128px;
    }
    
    .repairs-renovations--images {
        row-gap: 16px;
        column-gap: 16px;
    }
    
    section.section-services {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    
    section.section-services .section-title {
        margin-bottom: 40px;
    }
    
    .service {
        padding: 24px 24px;
    }
    
    .service-title a {
        font-size: 24px;
    }
    
    .service-excerpt {
        font-size: 16px;
        margin-bottom: 0;
    }
    
    .service-button .button {
        width: 100%;
    }
    
    .services {
        column-gap: 16px;
        row-gap: 16px;
    }
    
    .service-icon {
        margin-bottom: 0px;
    }

    section.section-advantages {
        padding-top: 80px;
        padding-bottom: 80px;
        background-size: cover;
    }
    
    section.section-advantages .section-title {
        margin-bottom: 40px;
    }
    
    .advantage-title {
        font-size: 20px;
    }
    
    section.section-team {
        margin-top: 80px;
        margin-bottom: 80px;
    }
    
    .team--row {
        flex-direction: column;
        row-gap: 64px;
    }
    
    section.section-team .style-content, section.section-team .style-content p {
        font-size: 20px;
    }
    
    section.section-team .section-title {
        margin-bottom: 16px;
    }
    
    section.section-team .section-button .button {
        width: 100%;
    }
    
    section.section-team .section-button {
        margin-top: 40px;
    }
    
    .specialist-experience {
        font-size: 14px;
    }
    
    .specialist-job {
        font-size: 20px;
    }
    
    .specialist {
        padding: 16px 16px;
    }
    
    section.section-big-form {
        padding-top: 80px;
        padding-bottom: 80px;
        min-height: auto;
    }
    
    section.section-big-form .section-title * {
        font-size: 36px;
    }
    
    .section-subtitle * {
        font-size: 24px;
    }
    
    .section-subtitle:after {
        width: 40px;
        top: calc(50% - 1px);
    }
    
    .section-subtitle {
        padding-left: 60px;
    }
    
    .wpcf7-form-control-wrap {
        flex-direction: column;
    }
    
    .big-form form {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        column-gap: 20px;
        row-gap: 20px;
    }
    
    .big-form {
        margin-top: 40px;
    }
    
    section.section-projects {
        margin-top: 80px;
        margin-bottom: 80px;
    }
    
    .section-block-description {
        font-size: 20px;
        margin-top: 16px;
        max-width: 100%;
    }
    
    section.section-projects .works {
        margin-top: 40px;
        margin-left: -16px;
        margin-right: -16px;
    }
    
    .slider-control {
        margin-top: 24px;
    }

    .slider-control-dots {
        display: flex;
        align-items: center;
        justify-content: center;
        column-gap: 16px;
    }
    
    .slider-control-dots ul.slick-dots {
        order: 2;
    }
    
    .slider-control-dots .slider-button-prev {
        order: 1;
    }
    
    .slider-control-dots .slider-button-next {
        order: 3;
    }
    
    .slider-control-dots .slider-button {
        background-color: transparent;
        width: 40px;
        height: 40px;
        fill: #ccb05c;
        stroke: none;
    }

    .slider-button .icon--arrow-mobile-prev, .slider-button .icon--arrow-mobile-next {
        width: 24px;
        height: 24px;
    }

    section.section-our_client {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    
    .stage-number {
        font-size: 110px;
        margin-bottom: 24px;
    }
    
    .stage-title {
        font-size: 20px;
    }
    
    .stage-description {
        font-size: 16px;
        margin-top: 12px;
    }
    
    .stage {
        flex: 1 0 100%;
    }
    
    .small-form-wrap {
        padding: 32px 20px;
        flex-direction: column;
    }
    
    .small-form-label {
        bottom: auto;
        top: -30px;
        right: 0;
        transform: rotate(214deg);
        width: 135px;
    }
    
    section.section-small-form .section-title * {
        font-size: 32px;
    }
    
    .small-form form .button {
        margin-top: 0px;
    }
    
    section.section-small-form {
        margin-bottom: 80px;
        overflow: hidden;
    }
    
    .chess-tile>.container {
    }
    
    .chess-tile {
        display: flex;
        flex-direction: column;
    }
    
    .chess-tile-background {
        position: static;
        width: 100%;
        height: auto;
    }
    
    .chess-tile-content {
        width: 100%;
        padding-top: 80px;
        padding-bottom: 80px;
    }
    
    .chess-tile:nth-child(odd) .chess-tile-content {
        padding-right: 0;
    }
    
    .chess-tile-title * {
        font-size: 36px;
    }
    
    ul:not([class]) li {
        font-size: 20px;
    }
    
    ul:not([class]) li:not(:last-child) {
        margin-bottom: 36px;
    }
    
    .chess-tile-title {
        margin-bottom: 40px;
    }
    
    .chess-tile:nth-child(even) .chess-tile-content {
        padding-left: 0;
    }

    section.section-before-after {
        margin-top: 80px;
    }
    
    section.section-before-after .section-title--wrap {
        margin-bottom: 40px;
    }
    
    section.section-before-after .before-after {
        margin-left: -16px;
        margin-right: -16px;
    }
    
    section.section-faq {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    
    .faq-item--head span {
        font-size: 22px;
    }
    
    .faq-item--head {
        padding: 24px 8px;
    }
    
    section.section-faq .section-title {
        margin-bottom: 40px;
    }
    
    .faq-item--body {
        font-size: 16px;
        padding: 0px 8px 24px;
    }
    
    footer {
        padding: 64px 0 20px;
    }
    
    .footer-row {
        flex-direction: column;
        row-gap: 40px;
    }
    
    .footer-top {
        padding-bottom: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        padding: 20px 0 0;
        row-gap: 8px;
    }

    body .works-slider .slick-list {
        margin-left: 0;
        margin-right: 0;
    }
    
    body .works-slider .slick-slide {
        margin-left: 0;
        margin-right: 0;
    }

    .header-banner--description {
        font-size: 16px;
    }
    
    .header--inner-page .header-banner--description {
        max-width: 100%;
    }
    
    section.section-description {
        margin-top: 80px;
        margin-bottom: 80px;
    }
    
    .section-description .section-subtitle * {
        font-size: 20px;
    }
    
    .description-wrap {
        row-gap: 40px;
    }
    
    section.section-subservices {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    
    .subservice {
        padding: 24px 24px;
    }
    
    .subservice-button .button {
        width: 100%;
    }
    
    .subservices {
        row-gap: 16px;
        column-gap: 16px;
    }
    
    .subservices-description-content {
        flex-direction: column;
        row-gap: 18px;
    }
    
    .subservices-description--image {
        width: 100px;
    }
    
    .subservices-description {
        padding: 24px 24px;
    }
    
    .subservices-description--text, .subservices-description--text p {
        font-size: 16px;
    }
    
    section.section-complex {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    
    .complex-item {
        flex: 1 0 100%;
    }
    
    .complex-items {
        margin-top: 34px;
    }
    
    .complex-icon {
        max-width: 24px;
        max-height: 24px;
    }
    
    .complex-description {
        font-size: 18px;
    }
    
    .gallery>a {min-width: auto;flex: 1 0 calc(50% - 16px);height: 166px;}
    
    .gallery {
        column-gap: 16px;
        row-gap: 16px;
    }
    
    section.section-small-form.section-small-form--service {
        margin-top: 80px;
    }
    
    .projects-photo>a {min-width: auto;flex: 1 0 calc(28% - 16px);height: auto;}
    
    .projects-photo>a:first-child {
        flex: 1 0 100%;
        height: 340px;
    }
    
    .projects-photo {
        column-gap: 16px;
        row-gap: 16px;
        margin-top: 40px;
    }

    .description--photo {
        order: 2;
    }
    
    .description--text .section-title {
        margin-bottom: 40px;
    }
    
    section.section-superiority {
        margin-bottom: 80px;
        margin-top: 80px;
    }
    
    .superiority-name {
        font-size: 20px;
    }
    
    .superiority-items {
        padding: 40px 32px;
        row-gap: 40px;
    }
    
    .custom-form-image {
        display: none;
    }
    
    .custom-form-block {margin-top: 32px;}
    
    .custom-form form {
        display: flex;
        flex-direction: column;
    }
    
    section.section-custom-form {
        padding-top: 80px;
        padding-bottom: 80px;
        min-height: auto;
    }
    
    section.section-content {
        margin-top: 80px;
        margin-bottom: 80px;
    }

    section.section-page-works {
        margin-top: 80px;
        margin-bottom: 80px;
    }
    
    .page-work.work-photo a span {
        font-size: 20px;
        padding: 26px 20px;
    }
    
    .page-work {
        height: 246px;
        padding-top: 0;
        min-width: auto;
        flex: 1 0 100%;
    }

    .post-content-gallery {
        flex: 1 0 100%;
    }
    
    .post-content {
        row-gap: 64px;
    }
    
    section.section-post-content {
        margin-bottom: 80px;
        margin-top: 64px;
    }

    .article {
        flex: 1 0 100%;
    }
    
    .article-description {
        flex: auto;
        font-size: 14px;
    }
    
    .article-info {
        height: auto;
    }
    
    .article-image {
        height: 200px;
    }
    
    .article-title a {font-size: 18px;}

    .contact-wrap {
        flex-direction: column;
        row-gap: 64px;
    }
    
    .contact-form form {
        display: flex;
        flex-direction: column;
    }
    
    section.section-contact {
        margin-top: 50px;
        margin-bottom: 80px;
    }
    
    .contact-info-name {
        font-size: 20px;
    }
    
    .contact-info-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-info-value, .contact-info-value * {
        font-size: 18px;
    }
    
    .contact-info-item:not(:last-child) {
        margin-bottom: 33px;
    }

    .complex--gallery {
        margin-top: 80px;
    }

    .repairs-renovations--image-2 img, .repairs-renovations--image-3 img {
        width: 100%;
    }
    
}

/* Service page styles from main.php */
@media (max-width: 999px) {	
    .section-prijzen .table-prijzen td, .text-dow-tab {
        padding: 10px !important;
    }
    .section-prijzen .table-prijzen td:nth-child(1) {
        text-align: left;
        width: 60% !important;
    }
    .section-prijzen .table-prijzen td:nth-child(2) {
        font-size: 14px;
        width: 40% !important;
    }
}

.table {
    width: 100% !important;
}

.text-dow-tab {
    padding-left: 20px;
    margin: 0 auto;
}

.text-dow-tab p {	
    font-size: 16px;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
}