/*
 Theme Name: Coway Expert
 Description: Custom child theme.
 Author: Justin Villet, Adele Sagayam
 Template: Divi
 Version: 1.0
 Text Domain: coway-child-theme
*/


/* Hide image titles on hover */
img {
pointer-events:none;
}

/* Hide image titles on hover */
img {
pointer-events:none;
}

/* Make 2 columns mobile */
@media (max-width: 980px) {.page-id-304580 .et_pb_row_1-6_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6 {width: 47.25% !important;}}



/******************************************************************************
    DIVI Overrides
*******************************************************************************/
body{
    font-size: 18px;
    line-height: normal;
}

/*
.et_pb_equal_columns > div{
    align-items: center; 
}  */

.et_pb_toggle_title:before{
    color: #001E3F;
}

#left-area ul, .entry-content ul, .et-l--body ul, .et-l--footer ul, .et-l--header ul{
    line-height: inherit;
}

body:not(.et-tb) #main-content .container, body:not(.et-tb-has-header) #main-content .container{
    padding-top: 50px;
    padding-bottom: 50px; 
}

body #page-container header .et_pb_section .et_pb_menu__wrap .et_mobile_nav_menu .mobile_nav .et_mobile_menu{
    background-color: #ffffff !important;
    border-color: #00a7e1;
}

.et-db #et-boc .et-l .et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-item.scroll a{
    color: inherit !important;
}

/******************************************************************************
    Classes
*******************************************************************************/
.no-margin-top{
    margin-top: 0 !important;
}

.no-margin-bottom{
    margin-bottom: 0 !important;
}

.no-padding-top{
    padding-top: 0 !important;
}

.no-padding-bottom{
    padding-bottom: 0 !important;
}

.blue-text{
    color: #00a4e3;
}

.green-text{
    color: #55924D;
}
 
.yellow-text{
    color: #D5AD50;
}

.grey-text{
    color: #948E83;
}

.blue-bg, .blue-bg-inner{
    background-color: #E5F5FC;
}

.green-bg{
    background-color: #E5F4E3;
}

.yellow-bg{
    background-color: #FFF1D0;
}

.grey-bg{
    background-color: #E8E4DC;
    border-color: #E8E4DC !important;
}

.green-bg .et_pb_button, 
.green-bg .et_pb_button:hover{
    background-color: #55924D;
    border-color: #55924D !important;
}
 
.yellow-bg .et_pb_button,
.yellow-bg .et_pb_button:hover{
    background-color: #D5AD50;
    border-color: #D5AD50 !important;
}

.grey-bg .et_pb_button,
.grey-bg .et_pb_button:hover{
    background-color: #948E83;
    border-color: #948E83 !important;
}

.dark-blue-text{
    color: #001E3F;
}

.max-width, .blue-bg-inner{
    padding-top: 80px !important;
    padding-bottom: 80px !important;
    padding-left: 120px !important;
    padding-right: 120px !important;
}

.center{
    align-items: center;
}

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

.h1 .et_pb_module_heading,
.h2 .et_pb_module_heading,
.h3 .et_pb_module_heading,
.h4 .et_pb_module_heading,
.h5 .et_pb_module_heading,
.h6 .et_pb_module_heading{
    font-size: inherit;
    font-weight: inherit;
}

/******************************************************************************
    Fonts
*******************************************************************************/
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6,
.et_pb_toggle_title,  h5.et_pb_toggle_title,
.et_pb_toggle_close .et_pb_toggle_title, .et_pb_toggle_close h5.et_pb_toggle_title,
.et_pb_toggle_open .et_pb_toggle_title, .et_pb_toggle_open h5.et_pb_toggle_title{
    color: #001E3F;
    line-height: 1em;
}

h1, .h1{
    font-size: 70px;
    font-weight: 500;
}

h2, .h2{
    font-size: 52px;
    font-weight: 500;
}

h3, .h3,
.et_pb_toggle_title, h5.et_pb_toggle_title{
    font-size: 32px;
    font-weight: 500;
}

h4, .h4{
    font-size: 26px;
}

h5, .h5{
    font-size: 20px;
}

.product-code{
    font-weight: 300;
}

h1, .h1, .product-code{
    color: #002A59;
}

.small{
    font-size: 16px;
}

.smallest{
    font-size: 14px;
}

.big{
    font-size: 20px;
}

.bold,
.bold h1, .bold .h1,
.bold h2, .bold .h2,
.bold h3, .bold .h3,
.bold h4, .bold .h4,
.bold h5, .bold .h5,
.bold h6, .bold .h6{
    font-weight: 700;
}

.price, .price-loop{
    font-size: 38px;
    font-weight: 500;
    line-height: 1;
}

/******************************************************************************
    Header
*******************************************************************************/
header .et_pb_promo {
    align-items: center;
}

header .et_pb_promo .et_pb_promo_button{
    display: block;
}

/******************************************************************************
    Product Page
*******************************************************************************/
.usp{
    border: 1px solid #001E3F;
    text-align: center;
    padding: 10px 15px;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
}

.small, .price, .usp{
    color: #001E3F;
}

.cta{
    display: block !important;
}

.all-images.et_pb_gallery_grid .et_pb_gallery_item{
    display: block !important;
}

.et_pb_toggle{
    border: 1px solid #000;
}

.et_pb_toggle_title:before{
    font-size: 26px;
    color: #002A59;
}

/******************************************************************************
    Woocommerce Overrides 
*******************************************************************************/
.woocommerce a.button.alt, .woocommerce-page a.button.alt, .woocommerce button.button.alt, .woocommerce button.button.alt.disabled, .woocommerce-page button.button.alt, .woocommerce-page button.button.alt.disabled, .woocommerce input.button.alt, .woocommerce-page input.button.alt, .woocommerce #respond input#submit.alt, .woocommerce-page #respond input#submit.alt, .woocommerce #content input.button.alt, .woocommerce-page #content input.button.alt, .woocommerce a.button, .woocommerce-page a.button, .woocommerce button.button, .woocommerce-page button.button, .woocommerce input.button, .woocommerce-page input.button, .woocommerce #respond input#submit, .woocommerce-page #respond input#submit, .woocommerce #content input.button, .woocommerce-page #content input.button, .woocommerce-message a.button.wc-forward, body .et_pb_button{
    color: #ffffff !important;
    background-color: #00a4e3;
    border-width: 1px!important;
    border-color: #00a4e3;
}

ul.products{
    flex-wrap: wrap;
}

ul.products li{
    border: 1px solid #002A59;
    color: #001E3F;
    padding: 25px !important;
}

ul.products li a{
    color: #001E3F; 
}

.woocommerce ul.products li.product a img{
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

.woocommerce ul.products li.product h3{
    font-size: 24px;
    font-weight: 700;
}

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{
    margin-bottom: 2.5%;
}

/******************************************************************************
    Category Page  
*******************************************************************************/
.cats-products-links{
    text-align: center;
    padding-bottom: 30px;
}

.cats-products-links a{
    display: inline-block;
    padding: 20px;
}

.cats-products{
    padding: 50px 90px 0;
    background-color: #e5f5fc;
    background-image: linear-gradient(180deg,#e5f5fc 0%,#ffffff 100%)!important;
}

.cat-name{
    text-align: center;
    padding-bottom: 40px;
}

.products-listing{
    padding-bottom: 0px; 
}

/******************************************************************************
    Hero 
*******************************************************************************/
.hero, .hero-bg, .hero-mobile{
    position: relative;
}

.hero{
    color: #ffffff;
}

.hero h1, .hero .h1,
.hero h2, .hero .h2,
.hero h3, .hero .h3,
.hero h4, .hero .h4,
.hero h5, .hero .h5,
.hero h6, .hero .h6{
    color: #ffffff;
}

.hero .et_pb_row{
    padding: 50px;
    overflow: hidden;
    min-height: 700px;
}

.hero .et_pb_row .et_pb_column{
    max-width: 55%;
}

.hero:before, .hero .et_pb_row:before, .hero-bg:before, .hero-mobile:before{
    content: "";
    display: block;
    left: 0;
    top: 0;
    position: absolute;
}

.hero:before, .hero-bg:before, .hero-mobile:before{
    background-color: #E5F5FC;
    height: 40%;
    right: 0;
}

.hero-mobile:before{
    height: 100px;
}

.hero .et_pb_row:before{
    background-image: linear-gradient(90deg,#00a4e3 0%,transparent 100%)!important;
    bottom: 0;
    width: 60%;
    opacity: 0.7;
}

/******************************************************************************
    Home 
*******************************************************************************/
.explore-products  div.et_pb_row.product-range:first-child{
    padding-bottom: 3%;
}

.explore-products  div.et_pb_row.product-range .et_pb_column .et_pb_module{
    justify-content: center;
    align-items: center;
    height: 100%;
}

.brand-usp .et_pb_column{
    border-left: 1px solid #002A59;
}

.brand-usp .et_pb_column:first-child{
    border-left: none;
}

/******************************************************************************
    Shared Classes
*******************************************************************************/
.border-radius, 
.blue-bg-inner, 
.usp,
ul.products li,
.woocommerce ul.products li.product a img,
.cats-products,
.hero .et_pb_row{
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    overflow: hidden; 
}

.explore-products  div.et_pb_row.product-range .et_pb_column .et_pb_module,
ul.products,
.hero .et_pb_row{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
} 

/******************************************************************************
    Media Queries
*******************************************************************************/
@media (min-width: 480px){
    .explore-products  div.et_pb_row.product-range .et_pb_column .et_pb_module:last-child{
        padding-left: 0;
    }
} 

@media (min-width: 981px){
    /* Force 3 images on gallery */
    .all-images.et_pb_gallery_grid{
        overflow: hidden;
    }

    .all-images.et_pb_gallery_grid .et_pb_gallery_items{
        margin-left: -2%;
        margin-right: -2%;
        width: auto;
    }
    
    .all-images.et_pb_gallery_grid .et_pb_gallery_items .et_pb_gallery_item{
        margin-left: 1.5% !important;
        margin-right: 1.5% !important;
        clear: none;
        width: 30%;
    }

    .hero-mobile:before{
        display: none;
    }
}

@media (max-width: 1023px){
    .et_pb_menu .et-menu>li{
        padding-left: 7px;
        padding-right: 7px;
    }
}

@media (max-width: 980px){
    h1, .h1{
        font-size: 38px;
    }

    h2, .h2{
        font-size: 32px;
    }

    .price, .price-loop{
        font-size: 28px;
    }

    h3, .h3,
    .et_pb_toggle_title, h5.et_pb_toggle_title{
        font-size: 26px;
    }

    h4, .h4{
        font-size: 24px;
    }

    .woocommerce ul.products li.product h3{
        font-size: 22px;
    }

    h5, .h5{
        font-size: 20px;
    }

    ul.products li{        
        padding: 15px !important;
    }

    .max-width, .blue-bg-inner{
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    .et_pb_toggle_title:before{
        font-size: 26px;
    }

    .cats-products{
        padding: 25px 25px 0;
    }

    .cat-name{
        padding-bottom: 20px;
    }

    .hero .et_pb_row{
        padding: 25px;
        min-height: 400px;
    }

    .hero .et_pb_row .et_pb_column{
        max-width: none;
    }

    .brand-usp .et_pb_column{
        border-left: none;
    }

    .cats-products-links div{
        white-space: nowrap;
        overflow: auto;
    }
}


@media (max-width: 479px){
    .product-range .ddb-grid{
        --ddb-grid-columns: 1 !important;
    }
}