/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */
.order-sample{
    background:rgba(255,255,255,0.8);position:fixed;
top:0;bottom:0;left:0;right:0;z-index:99999;
display:none;

overflow-y:scroll;
overflow-x:hidden;

}
.order-sample .woocommerce-tabs h2{
    text-align:left;
}
.order-sample .wc-tabs{
    display:none;
}
.woocommerce-product-gallery{
    opacity:1!important;
}
.order-sample .product-sample{
    width: 100%;
    max-width: 870px;
    padding: 20px;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 100px;
    background: #fff;
    z-index: 999999;
    min-height: 600px;
    -webkit-box-shadow: -4px 4px 4px 0px rgba(0,0,0,0.39);
    -moz-box-shadow: -4px 4px 4px 0px rgba(0,0,0,0.39);
    box-shadow: -4px 4px 4px 0px rgba(0,0,0,0.39);

}
.product_title{
    text-transform: uppercase;
    font-size: 32px;
}
.woocommerce div.product form.cart .button {
    vertical-align: middle;
    float: left;
    min-width: 248px;
}
table.variations{
    margin-bottom:0!important;
}
.variations td select{
    background: #fff!important;
    border: 1px solid #222!important;
    border-radius: 0!important;
    font-size: 18px!important;
    text-transform: uppercase!important;
    text-align: center!important;
    padding: 10px!important;
    font-weight: bold!important;
}
.variations .label{
    display:none;
}
.single_add_to_cart_button{
    color: #fff!important;
    background-color: #222!important;
}
.a2a_kit{
    display:none!important;
}

/* Sidebar */

.category-slider{
background: #bf702a;
background-image: url("https://staging-jordanandrews-com.stormpr.uk/wp-content/uploads/2020/06/Bathroom-Tiles-Istoria-by-Jordan-Andrews.jpg");
}


#sidebar .et_pb_widget {
    float: none;
    width: 100%;
    margin-top: 30px;
}

#sidebar {
    padding-left: 15px !important;
   
}

#sidebar .widgettitle{
	font-size: 20px;
    color: #000;
    text-transform: uppercase;
    font-weight: bold;
}

.et_pb_widget a {
    color: #000;
    text-decoration: none;
}

.et_pb_widget ul{
	margin: 15px 0;
}

.tax-product_cat .count{
   color: #000;
}

.tax-product_cat #main-content .container:before {
    display:none;
}
.tax-product_cat header{
    box-shadow:none!important;
}
.tax-product_cat .woocommerce-breadcrumb{
    display:none;
}
.tax-product_cat .type-product .woocommerce-loop-product__title{
    position: absolute!important;
    bottom: 45px;
    font-size: 32px!important;
    text-transform: lowercase;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 2px 20px!important;
    line-height: 38px;
    display: inline-block;
    width: 230px;
    margin-left: auto!important;
    margin-right: auto!important;
    left: 0;
    right: 0;
    text-align: center;
    font-weight: normal;
}
.type-product .et_overlay{
    display:none;
}
.type-product .price{
    display:none!important;
}
.tax-product_cat .woocommerce-product-gallery{
    opacity:1!important;
}
.tax-product_cat ul.products .type-product a:before{
    position: absolute;
    top: -22px;
    right: -22px;
    font-size: 50px;
    content: "";
    text-shadow: 0 0;
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1;
    text-transform: none;
    speak: none;
    color: black;
    z-index: 99998;
    border-radius: 100%;
    width: 45px;
    height: 45px;
    background-image: url(assets/img/plus.png);
    background-size: 100%;
}
.tax-product_cat .product-category .woocommerce-loop-category__title{
    position: absolute!important;
    bottom: 45px;
    font-size: 32px!important;
    text-transform: lowercase;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 2px 20px!important;
    line-height: 38px;
    display: inline-block;
    width: 230px;
    margin-left: auto!important;
    margin-right: auto!important;
    left: 0;
    right: 0;
    text-align: center;
    font-weight: normal;
}

.tax-product_cat .product-title{
    text-align:center;
    padding-bottom:20px;
    position:relative;
}
.tax-product_cat .term-description{
    text-align: center;
    margin-top: 30px;
    font-weight: bold;
    font-size: 20px;
    margin-bottom:60px;
}
.tax-product_cat .product-title:after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 2px solid #bc7136;
    z-index: 0;
    width: 40%;
    margin: 0 auto;
    padding-top: 5px;
}
.category-slider{
    position:relative;
}
.slick-track {
    height: auto;
  }
.slick-list{
    height:auto!important;
}
.category-slider .slick-dots{
    left: 0;
    right: 0;
    text-align:center;
    display: block;
    position: absolute;
    bottom: 18px;
}
.category-slider .slick-dots li{
    display:inline-block;
}
.category-slider .slick-dots button{
    cursor: pointer;
    border: 1px solid #fff;
    border-radius: 100%;
    color: transparent;
    width: 20px;
    height: 20px;
    margin:5px;
    padding: 0;
    background: #fff;
}
.category-slider > .slide{
    width:100%;
    min-height:40vh;
    background-size:90%;
    background-position:50% 50%;
    
}
.slick-slide{
    background-size:cover;
}
.category-slider .heading{
    position: absolute;
    top: 15vh;
    text-align: center;
    font-size: 11.2vw;
    line-height: 2.5rem;
    color: #fff;
    z-index: 9999;
    width: 100%;
    text-shadow: -3px 3px 6px #000000;

}
@media(min-width:380px){
    .category-slider .heading{
        font-size:9vw;
    }
}
@media(min-width:500px){
    .category-slider .heading{
        font-size:7vw;
        top:22vh;
    }
    .slick-track {
        height: 60vh;
      }
}
@media(min-width:700px){
    .slick-track{
        height:90vh;
    }
    .category-slider .heading{
        font-size:7vw;
        top:34vh;
        line-height:3.5rem;
    }
}
.home .slick-track img{
    padding:0;
}
@media(min-width:800px){
    
    .category-slider .heading{
        font-size:5.5vw;
        top:40vh;
        line-height:3.5rem;
    }
    .slick-track{
        height:auto;
    }
}
.et-cart-info{display:none;}

.single-product #main-content > .container{
    padding-top:92px;
}
.woocommerce a.added_to_cart{
    width:100%;
}
.woocommerce a.button.loading::after, .woocommerce button.button.loading::after, .woocommerce input.button.loading::after {
    top:auto;
}

@media(max-width:800px){
  .woocommerce .content-area{
    display: table;
  }
  .woocommerce #left-area{
    display: table-footer-group;
    float: none;
  }
  .woocommerce #sidebar{
    display: table-header-group;
    float: none;
  }
}
#menu-main-menu > li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-8404 > a > span > span{
    font-size:22px;
}
@media(max-width:767px) {
  .appointment-booker-header h2.et_pb_slide_title a {
    font-size: 60%;
    line-height: 1em;
  }
}
.page-child .wpsisac-slide-title{
    display:none;
}
.page-child .wpsisac-slide-wrap{
    height:600px;
}
body.home .wpsisac-slide-title{
    display:none;
}

body.home .wpsisac-slick-slider.design-2 .wpsisac-image-slide .wpsisac-slide-wrap .wpsisac-slider-short-content p, .page .slick-track h2{
    font-size:2.4rem;
}
.page .wpsisac-slider-short-content{
    display:none;
}
.page.home .wpsisac-slider-short-content{
    display:block;
}
.wpsisac-slider-overlay, .wpsisac-slick-slider.design-2 .wpsisac-image-slide .wpsisac-slide-wrap .wpsisac-slider-overlay{
    background:transparent;
}
.appointment-button {
  position: relative;
  height: 50px;
  padding: 15px 55px 15px 15px;
  display: inline-block;
  background-color: #eaeaea;
  border-radius: 6px;
  margin: 0 10px 20px 10px;
  color: #000;
  font-weight: 700;
  line-height: 1em;
}
.appointment-button:hover {
  background-color: #d9d9d9;
}
.appointment-button:after {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-block;
  height: 30px;
  width: 30px;
  border-radius: 100%;
  content: '✓';
  background-color: #b6b6b6;
  color: #eaeaea;
  font-size: 12px;
  font-weight: 700;
  line-height: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
}
.active-appointment-button:after {
  background-color: #bc7036;
}

.control-label {
  white-space: normal!important;
}
#et-boc > div > div > div{
    margin:0 auto;
}
#et-boc > div > div > div > div.et_pb_row.et_pb_row_6{
    display:flex;
    margin-top:60px;
}

.et_pb_section.page__navigation {
    & .et_pb_code {
        padding: 0;
    }

    nav {
        &:has( > :nth-child(5) ) {
            & a {
                width: auto;
            }
        }

        & a {
            border: 1px solid black;
            padding: 5px 10px;
            transition: all .3s ease;
            margin: 0;
            width: 100%;
            margin-bottom: 20px;

            &:last-child {
                margin-bottom: 0;
            }

            &:hover {
                color: #bb7135;
                border-color: #bb7135;
            }

            &.selected {
                border: none;
            }
        }
    }
}

#main-header {
    padding: 10px 0;

    .container {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 20px;

        &.et_search_form_container {
            justify-content: center;
        }
    }

    .logo_container {
        display: flex;
        position: relative;
        width: auto;

        a {
            display: flex;
            width: 100%;
            height: 100%;
        }
    }

    #top-menu-nav {
        #top-menu {
            flex-flow: row wrap;
            justify-content: center;
            float: none;

            li > .sub-menu {
                top: 40px;
            }

            #et_top_search {
                display: flex;
                justify-content: center;
                align-items: center;
                height: 22px;
                width: 22px;
                margin: 0;
                float: none;
            }
        }
    }

    #et-top-navigation {
        display: flex;
        flex-flow: row-reverse;
        justify-content: flex-end;
        align-items: center;
        gap: 20px;
        padding: 0;

        #et_mobile_nav_menu {
            float: none;
        }

        .telephone {
            white-space: nowrap;
        }

        #top-menu-nav {
            display: none;
        }
    }

    .et-search-form {
        position: relative;
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: center;

        & input {
            position: relative;
            right: unset;
        }

        .et_close_search_field {
            position: relative;
            right: unset;
            margin: 0;
        }
    }

    .clearfix:after {
        content: none;
    }
}

@media (min-width: 981px) {
    #main-header {
        .logo_container {
            img {
                max-height: 80px;
            }
        }

        #top-menu-nav {
            #top-menu {
                display: flex;
            }
        }
    }
}

@media (min-width: 577px) {
    #main-header {
        #et-top-navigation {
            #et_mobile_nav_menu {
                .mobile_menu_bar {
                    padding-bottom: 0;
                }
            }
        }
    }
}

@media (max-width: 576px) {
    #main-header {
        #et-top-navigation {
            .telephone {
                position: absolute;
                top: unset !important;
                bottom: 0 !important;
                right: -20px !important;
            }
        }
    }
}

@media (max-width: 981px) {
    .read {
        overflow: hidden;
        position: relative;
        transition: all .3s ease;
        padding-bottom: 50px;

        &.read__more {
            /* max-height: 30vh; */
            transition: all .3s ease;

            &:before {
                content: 'Read more';
                position: absolute;
                bottom: 0;
                right: 50%;
                transform: translateX(50%);
                z-index: 999;
                text-align: center;
                cursor: pointer;
                color: #000;
                border: 1px solid black;
                font-weight: 600;
                padding: 10px 20px;
                background: #fff;
                transition: all .3s ease;
            }

            &:hover:before {
                color: #BB7135;
                border-color: #BB7135;
            }

            .et_pb_text_inner > *:not(:first-child) {
                display: none;
            }
        }

        &.read__less {
            transition: all .3s ease;

            &:before {
                content: 'Read less';
                position: absolute;
                bottom: 0;
                right: 50%;
                transform: translateX(50%);
                z-index: 999;
                text-align: center;
                cursor: pointer;
                color: #000;
                border: 1px solid black;
                font-weight: 600;
                padding: 10px 20px;
                background: #fff;
                transition: all .3s ease;
            }

            &:hover:before {
                color: #BB7135;
                border-color: #BB7135;
            }
        }
    }
}

.flooring-color-grid .custom-projects {
    align-items: flex-start;
}

.flooring-color-grid .custom-projects .project {
    display: flex;
    flex-flow: column-reverse;
    gap: 10px;
    height: unset;
}

.flooring-color-grid .custom-projects .project p {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    color: #000;
    position: unset;
    border: none;
    padding: 0;
    line-height: 18px;
    height: unset;
    text-align: left;
}

.flooring-color-grid .custom-projects .project p span i {
    margin: 0;
}

.flooring-color-grid .custom-projects .project img {
    border-radius: 8px;
    height: 274px;
}
