/*
Theme Name: Surface theme
Author: Dev
Description: 
Version: 0.0.1
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: theme

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

theme is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

*/

/* Restrooms site */
/*-----------compact laminate ----------------*/

.container_box {
    max-width: 1170px;
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
}

section.contact-form__container.my_cnt_form_part {
    padding: 50px 0;
}

.Laminate_heading h2 {
    line-height: 45px;
}

section.page-container-fluid.projects-section.nm_slder {
    margin-bottom: 0;
}

.projects-section.nm_slder .swiper-slide__rectangle {
    margin: -9% auto 0;
}

.quote__icon img {
    width: 47px;
}

.ours_six_boxes .functionality-section__space-item__image img {
    width: 47px;
}

.first_app li img {
    width: 20px;
    margin-right: 8px;
}

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

.button {
    line-height: 1.2;
}

.ours_six_boxes span {
    text-transform: initial;
}

.projects-section .swiper-slide__rectangle {
    padding-left: 10px;
    padding-right: 10px;
}

.projects-section .swiper-slide__image img {
    object-fit: cover;
}

.first_img {
    width: 20%;
}

.first_img img {
    height: 100%;
    object-fit: cover;
}

.quate_inner {
    position: relative;
}


/* .quate_inner:before {
    content: "";
    display: block;
    position: absolute;
    width: 1px;
    height: 100%;
    top: 0;
    left: 0;
    background-color: currentColor;
    opacity: .2;
} */

.first_app ul {
    padding-left: 0;
    padding-right: 10px;
}

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

.ours_six_boxes .functionality-section__space-item {
    min-height: 246px !important;
}

.first_app li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.ours_six_boxes .functionality-section__space-name span {
    font-size: 13px;
    line-height: 20px !important;
    display: block;
    color: #747477 !important;
}

.ours_six_boxes .functionality-section__space-name p {
    line-height: 22px !important;
}

.ours_six_boxes .functionality-section__space-name {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.container_ng {
    max-width: 1170px;
    margin: 0 auto;
}

.ours_six_boxes .functionality-section .functionality-section__space-list .functionality-section__wraper {
    margin-bottom: 15px;
}

.ours_six_boxes .functionality-section__space-list {
    max-width: 1140px;
    margin: 0 auto;
}

.Laminate_heading {
    text-align: center;
}

.ours_six_boxes .functionality-section__space-name p {
    margin-bottom: 12px !important;
}

.first_app h4 {
    font-weight: 600;
    color: #9e1d29;
}

.Laminate_heading h2,
.heading_app h2 {
    font-size: 35px;
    padding-top: 40px;
    font-weight: 600;
    color: #9e1d29;
    text-align: center;
}

span.iconElement__inner_2iN svg {
    width: 20px;
    margin-right: 7px;
}

.heading_app h2 {
    padding-top: 0;
    margin-top: 0;
}

section.recommended_app {
    background: #f7f7f7;
    padding: 50px 0;
}

.projects-section.nm_slder .swiper-slide__rectangle {
    min-height: auto !important;
}

.swiper-slide__image img {
    width: 100%;
}

.call_bn h5 {
    line-height: 40px;
    font-size: 33px;
}

.ours_six_boxes {
    padding-bottom: 60px !important;
}

.main_btns {
    max-width: 1140px;
    text-align: center;
    margin: 52px auto 0;
}

.ours_six_boxes .functionality-section__heading h2 {
    margin-top: 0 !important;
}

.Laminate_heading h2 {
    margin-top: 0;
    padding-top: 0;
}

.quote__icon_content p {
    font-size: 20px;
    line-height: 30px;
    margin-top: 6px !important;
}

section.laminate {
    padding: 60px 0;
    padding-top: 50px;
}

.nm_slder .projects-section__heading h2 {
    margin-top: 0;
    line-height: 45px !important;
}

.call_bn h5 {
    line-height: 34px !important;
    font-size: 28px !important;
}

.icon_lines span {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 700;
    text-decoration: none;
    font-style: normal;
    letter-spacing: 0;
    color: #9e1d29;
    text-transform: none;
}

.inner_app_dt {
    background: #fff;
    padding: 30px;
}

.aminate_cnt {
    padding-bottom: 40px;
}

.aminate_cnt p {
    color: #747477;
    font-weight: 300;
    font-size: 16px;
    line-height: 25px;
}

.quate_part {
    margin-top: 55px;
    box-shadow: 0 22px 27px rgb(72 72 72 / 14%), inset 0 -3px 0 #9e1d29;
    padding: 30px;
}

.icon_lines {
    margin-top: 20px;
}

.my_cumt_cl {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}



.team-page__post-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-between;
}

.team-page__post-content {
    width: 31%;
    margin-bottom: 60px;
}


.team-page__post-image {
    min-height: 1px;
    padding-bottom: 90%;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
    -webkit-transition: all .5s;
    transition: all .5s;
}


.team-page__post-rectangle {
    margin: -70px auto 0;
    padding: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 85%;
    min-height: 100px;
    -webkit-box-shadow: 0 22px 27px rgb(72 72 72 / 14%);
    box-shadow: 0 22px 27px rgb(72 72 72 / 14%);
    background-color: #fff;
    opacity: .9;
}

.team-page__post-rectangle .team-page__post-category {
    color: #747477;
    font-weight: 600;
    margin: 0;
}

.team-page__post-rectangle h5 {
    margin: 15px 0 8px;
    color: #9e1d29;
    font-size: 22px;
    line-height: 22px;
    font-weight: 600;
}

.team-page__post-rectangle .team-page__post-excerpt {
    line-height: 1.5;
    color: #747477;
    font-weight: 300;
}

p.lead {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 60px;
    max-width: 860px;
}

.factory-text {
    background: white;
    padding: 30px;
    width: 50%;
    min-width: 200px;
    display: block;
    margin-right: auto;
    text-align: center;
    margin-left: auto;
    -webkit-box-shadow: 0 22px 27px rgb(72 72 72 / 14%);
    box-shadow: 0 22px 27px rgb(72 72 72 / 14%);
    position: relative;
    margin-top: -32px;
    opacity: 0.9;
}

.factory-text h5 {
    color: #9e1d29;
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}

.d-flex {
    display: flex;
}

.factory-hold {
    width: 65.5%;
}

.factory-team {
    width: 100%;
} 

.page-header .menu-item-has-children li a {
    line-height: 20px;
}

.toolboxPromo {
    background: #9e1d29;
    color: white;
    text-align: center;
    padding: 50px 20px 70px;
}

.toolboxPromo h3 {
    font-weight: 600;
}

.toolboxPromo p.lead {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

#menu-item-2385 a {
    margin-left: 20px;
}

#menu-item-2385 a:before {
content: "\f08e";
display: inline-block;
font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: absolute;
    width: 20px;
    height: 14px;
    background: none;
    top: 4px;
    left: -19px;
}

#menu-item-2385 a:hover:before {
    left: -11px;
}

.page-footer .footer__menu {
    width: 20%;
}

.page-footer .footer__contact {
width: 30%;
}

.page-footer .footer__logo {
width: 12%;
}


.page-footer .footer-menu {
    height: 120px;
}

.page-template-template-team .about-page__box-section .page-container h2 {
    font-size: 28px;
    line-height: 36px;
    font-weight: 600;
    max-width: 1020px;
    margin-bottom: 50px;
}



@media (max-width: 991.98px) {
    .page-footer .footer__menu {
        width: 20%;
        
    }

    .page-footer .footer-menu {
        height: auto;
    }

}


@media (max-width: 900px){    
    .factory-text {
        width: 85%;
    }
    
    .team-page__post-content {
        width: 48%;
    }
}


@media (max-width: 575.98px) {
    
    .team-page__post-content,
    .factory-hold {
        width: 100%;
    }

    .page-header .page-header__menu--open {
        margin-top: 92px;
    }
}


/*-----------finish 2-9-2021----------------*/
@media (max-width:575px) {
    .ours_six_boxes .functionality-section__wraper {
        width: 100%;
    }
    .ours_six_boxes .functionality-section__space-item {
        min-height: 210px !important;
    }
    .ours_six_boxes .functionality-section__space-item {
        width: auto !important;
    }
    section.recommended_app,
    section.laminate,
    .my_cumt_cl {
        padding: 40px 0;
    }
    .ours_six_boxes {
        padding-bottom: 40px !important;
    }
    .ours_six_boxes .functionality-section__heading h2 {
        margin-top: 0 !important;
        font-size: 26px;
        padding: 0 15px;
        line-height: 36px;
    }
}

@media (max-width:450px) {
    .ours_six_boxes .functionality-section__space-item {
        width: 100% !important;
    }
    .ours_six_boxes .functionality-section__wraper {
        width: 100%;
    }
}
/*-----------Functinality Section (compact laminate Characteristics----------------*/
@media (max-width:579px) {
    .ours_six_boxes .functionality-section__wraper {
        width: 100%;
    }
    .ours_six_boxes .functionality-section__space-item {
        min-height: 210px !important;
    }
    .ours_six_boxes .functionality-section__space-item {
        width: auto !important;
    }
}
/*-----------Contact Form----------------*/

.footer__newsletter .newsletter-form-email p {
    margin-top: 0;
}

body:not(.page-template-template-contact-us) .about-page__contact-form__flex-background {
     padding-top: 40px !important; 
     padding-bottom: 40px !important;
}

body:not(.page-template-template-contact-us) .contact-form__container .about-page__contact-form__right-content {
    padding-top: 0;
    text-align: center;
    padding-right: 8%;
}

body:not(.page-template-template-contact-us)  .contact-form__container .about-page__contact-form__right-content p {
    margin-top: 0;
    color: white; 
    margin-left: -8px;
}

@media (max-width:768px) {
    .contact-form__container .about-page__contact-form__right-content {
        width: 100%;
        padding-left: 8%;
        padding-right: 8%;
        padding-top: 8%
    }
}

.contact-form__container .about-page__contact-form__right-content h5 {
    font-size: 28px;
    line-height: 30px;
    color: #fff;
    font-weight: 600;
    margin: 0
}

.brandStrip {
    background-color: #f2f2f2; 
    padding: 0; 
    text-align: right; 
    display: block; 
    position: fixed; 
    width: 100%; 
    z-index: 9999; 
    border-bottom: 10px solid #9e1d29; 
    top: 0;
}

.brandStrip .systemsLink {
    margin-left: 20px; 
    padding-top: 10px;
    padding-bottom: 10px;
    display: inline-block; 
    vertical-align: top;
    float: left;
}

.brandStrip .systemsLink img {
    height: 29px; 
    width: auto; 
    display: block;
}

.brandStrip .pdfLinks {
    float: right;
    margin-right: 15px;
    display: flex;
    height: 49px;
    align-content: center;
    flex-wrap: wrap;
}

.pdfLinks a img {
    max-height: 41px;
    max-width: 150px;
}

.brandStrip .pdfLinks a {
    color: #9e1d29;
    text-decoration: underline;
    margin-right: 25px;
    display: block;
    font-size: calc(.25vw + 11.2px);
}

@media (max-width: 575.98px) {
    .brandStrip .pdfLinks a {
        margin-top: auto;
    }

    .brandStrip .pdfLinks a img{
        height: 30px !important;
    }
}

.brandStrip .pdfLinks a:hover {
    color: black;
}

.page-template-template-colour-ranges .about-page__box-section p {
    font-size: 18px;
    line-height: 26px;
    max-width: 1020px;
}

.page-template-template-colour-ranges .about-page__box-section .page-container h2 {
    font-size: 28px;
    line-height: 36px;
    font-weight: 600;
    max-width: 1020px;
    margin-bottom: 20px;
}

/*-----------Contact Form----------------*/
@media (max-width:768px) {
    .contact-form__container form {
        width: 100%
    }
    .first_img {
        width: 50%;
        padding: 10px;
    }
    .Laminate_heading h2,
    .heading_app h2 {
        font-size: 28px;
        line-height: 38px;
    }
    section.recommended_app {
        padding: 50px;
    }
    .my_cumt_cl {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
    .quate_part {
        margin-top: 30px;
    }
    .aminate_cnt {
        padding-bottom: 20px;
    }
    .ours_six_boxes {
        padding-bottom: 50px !important;
    }
    section.laminate {
        padding-bottom: 50px;
    }
}

#color-palette .page-container p.lead  {
    margin-top: -25px;
    margin-bottom: 30px;
}

.page-template-template-colour-ranges .single-page-product__color-palette-box {
    margin-bottom: 60px;
}

.page-template:not(.page-template-template-colour-ranges) #color-palette .page-container h3,
.page-template:not(.page-template-template-colour-ranges) #color-palette .page-container .single-page-product__color-palette-box {
    margin-left: 3%;
    margin-right: 3%;
}

@media (max-width: 991.98px) {
    .page-template:not(.page-template-template-colour-ranges) #color-palette .page-container h3,
    .page-template:not(.page-template-template-colour-ranges) #color-palette .page-container .single-page-product__color-palette-box {
        margin-left: 0;
        margin-right: 0;
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media (max-width: 575.98px) {
    .page-template:not(.page-template-template-colour-ranges) #color-palette .page-container h3,
    .page-template:not(.page-template-template-colour-ranges) #color-palette .page-container .single-page-product__color-palette-box {
        padding-left: 0;
        padding-right: 0;
    }
}

.single-page-product__color-palette-item {
    background-size: cover;
    background-repeat: no-repeat;
}

/* change of sectors and projects to have their own page */
.single-page-sectors__wrapper .entry-title,
.single-page-projects__wrapper .entry-title  {
    font-size: 30px;
    line-height: 40px;
}


@media (min-width: 320px) {
    .single-page-sectors__wrapper .entry-title,
    .single-page-projects__wrapper .entry-title {
        font-size: calc(0.625vw + 28px);
        line-height: calc(0.5vw + 38.4px);
    }
}

.single-page-sectors__wrapper .single-page-sectors__slider,
.single-page-projects__wrapper .single-page-projects__slider {
    width: 100%;
    height: 45vw;
    min-height: 400px;
    max-height: 620px;
}

.single-page-sectors__wrapper .swiper-wrapper,
.single-page-projects__wrapper .swiper-wrapper {
    overflow: visible;
}

.single-sectors .single-custom-post,
.single-projects .single-custom-post {
    padding-bottom: 80px;
}

/* Nav active states */
.page-header .main-nav__list .current-menu-item > a:before,
.page-header .main-nav__list .current-menu-parent > a:before,
.single-sectors .page-header .main-nav__list .menu-item-1656 > a:before,
.single-projects .page-header .main-nav__list .menu-item-423 > a:before,
.single-post .page-header .main-nav__list .menu-item-909 > a:before {
    left: 0;
    bottom: 0;
    width: 100%;
}

.single-custom-post .single-page-projects__content .entry-content ul li {
    margin-bottom: 6px;
}

.single-projects aside .widget_categories .cat-item {
    margin-bottom: 20px;
}


.page-header .page-header__logo-link {
    max-width: 260px;
}

.page-header .page-header__contacts {
    right: 15px;
}

.page-header__wrapper {
    padding-right: 30px;
    padding-left: 15px;
}

.page-header .main-nav__list li {
    margin-right: 40px;
}

.page-header .main-nav__list li.menu-item-has-children {
    margin-right: 55px;
}

.page-header .main-nav__list li:last-child {
    margin-right: 0 !important;
}

@media screen and (max-width: 1530px) {
    .page-header .page-header__logo-link {
        max-width: 240px;
    }

     .page-header .main-nav__list li {
        margin-right: 37px;
    }

    .page-header .main-nav__list li.menu-item-has-children {
        margin-right: 52px;
    }
}


@media screen and (max-width: 1430px) {
    .page-header .page-header__logo-link {
        max-width: 210px;
    }

    .page-header .main-nav__list li {
        margin-right: 20px;
    }

    .page-header .main-nav__list li.menu-item-has-children {
        margin-right: 35px;
    }

    .page-header .main-nav__list a {
        font-size: 15px;
    }
}


@media (max-width: 1199.98px){
    .page-header .page-header__logo-link {
        max-width: 150px;
    }

    .page-header .main-nav__list li {
        margin-right: 15px;
    }

    .page-header .main-nav__list li.menu-item-has-children {
        margin-right: 30px;
    }

    .page-header .main-nav__list a {
        font-size: 13px;
    }



}

@media (max-width: 575.98px) {
    .page-header .page-header__logo-link {
        max-width: 160px;
    }

    .page-header__wrapper {
        padding-right: 30px;
        padding-left: 30px;
    }

    .page-header .hide-block {
        margin-left: 0;
    }

    .page-header .page-header__menu--open {
        height: calc(100vh - 151px);
        overflow: scroll;
        padding-top: 10px;
        padding-bottom: 80px;
    }

    .page-header .menu-item-has-children .sub-menu {
        background-color: transparent;
    }
    
}

.page-container.withSubtitle h3 {
    margin-top: 10px;
}

.page-container.withSubtitle h3 small {
    font-size: 60%;
}

