/*
 Theme Name: Divi BMP
 Description: Divi Child Theme
 Author: Association St-Camille
 Author URI: https://www.st-camille.ch
 Template: Divi
 Version: 1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

@import url(css/woo-accordion-category.css);


/*********************************************
    Start Divi Theme Customization 
**********************************************/

@media (max-width: 1200px) {
    #logo {
        max-height: 40%;
    }
}

/********************************************* Start Help Classies **********************************************/
.active-link {
    color: #a2112a;
}

.no-ml,
.no-ml>.et_pb_blurb_content {
    margin-left: 0px !important;
}

.flex-c-vertical {
    display: flex;
    align-items: center;
}

@media (max-width: 980px) {
    .flex-c-vertical {
        flex-direction: column;
    }
}

/********************************************* End Help Classies **********************************************/






#top-menu a:hover {
    color: #a2112a;
    opacity: 1 !important;
}

#et_search_icon:hover {
    color: #a2112a;
}

.et-cart-info span:hover {
    color: #a2112a;
}


/********************************************* Start header **********************************************/

.et_mobile_menu {
    border-color: #a2112a;
}

.sub-menu {
    border-color: #a2112a !important;
}

.mobile_menu_bar:before {
    color: #666;
}

.mobile_menu_bar:hover:before {
    color: #a2112a;
}

ul.sub-menu {
    width: 100px !important;
}

div#et-top-navigation {
    padding-left: 100px !important;
}

.et-cart-info::after {
    content: attr(data-label);
    display: block;
    position: absolute;
    top: -10px;
    right: -6px;
    background: black;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    text-align: center;
    line-height: 18px;
    z-index: 9;
    color: #fff;
    font-size: 9px;
}

#et-top-navigation .et-cart-info {
    position: relative;
}


/********************************************* Start footer **********************************************/

.et-waypoint.et_pb_animation_top.et-animated, .et_pb_animation_top.et-animated {
    animation: none;
}


/********************************************* Start sidebar **********************************************/

.et_pb_row.et_pb_row_1-4_3-4::before {
    content: '';
    width: 1px;
    height: 120%;
    background-color: #e2e2e2;
    position: absolute;
    left: 20.875% !important;
    top: -100px;
}

@media (max-width: 980px) {
    .et_pb_row.et_pb_row_1-4_3-4::before {
        content: none;
    }

    div#content-area {
        display: flex;
        flex-wrap: wrap-reverse;
    }
}

.et_pb_module.et_pb_sidebar_0.trait_col.et_pb_widget_area.clearfix.et_pb_widget_area_left.et_pb_bg_layout_light {
    display: grid;
}

.et_pb_widget_area_left {
    border-right: none;
}

a.iksm-term__link:before {
    content: '';
    width: 220px;
    height: 1px;
    background: #e2e2e2;
    top: 40px;
    left: 10px;
    position: absolute;
}

.iksm-300 .iksm-term__link {
    position: relative;
}

#sidebar .et_pb_widget {
    width: 200px;
}

@media (max-width: 980px) {
    div#block-12 {
        width: 200px;
    }
}




/*********************************************
    End Divi Theme Customization 
**********************************************/




/*********************************************
    Start Woocomerce Default Templates 
**********************************************/
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb {
    font-size: 14px !important;
    color: #666 !important;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb a {
    color: #a2112a;
}


/********************************************* Start Shop page woocomerce **********************************************/



.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
    box-shadow: 0px 1px 5px -1px rgba(0, 0, 0, 0.3) !important;
}

/* .et_portfolio_image,  */
.et_shop_image {
    position: relative;
    display: block;
}

.et_overlay {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    -webkit-transition: all .3s;
    transition: all .3s;
    border: 1px solid rgba(162, 17, 42, 0.75) !important;
    border-radius: 4px 4px 4px 4px;
    box-shadow: 0px 1px 5px -1px rgba(0, 0, 0, 0.3) !important;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    background-color: rgba(162, 17, 42, 0.75) !important;
}

.et_overlay:before {
    color: white;
    content: "L" !important;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-size: 32px;
    -webkit-transition: all .4s;
    transition: all .4s;

}

/* .et_pb_has_overlay:not(.et_pb_image):hover .et_overlay, 
.et_portfolio_image:hover .et_overlay,  */
.et_shop_image:hover .et_overlay {
    z-index: 3;
    opacity: 1;
}

h2.woocommerce-loop-product__title {
    font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 18px !important;
    text-align: center;
    padding: 9px 0;
}

span.woocommerce-Price-amount.amount {
    font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 800;
    font-size: 17px;
    color: #327082 !important;
    line-height: 34px;
    display: block;
    text-align: center;
}

/********************************************* End Shop Page Woocomerce **********************************************/



/********************************************* Start Cart Page **********************************************/
body #page-container .et_pb_section .et_pb_wc_cart_totals_0_tb_body a.checkout-button:hover {
    color: #a2112a !important;
    background-color: white;
}

a.components-button.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained {
    color: #a2112a;
    background: white;

}

span.wc-block-formatted-money-amount.wc-block-components-formatted-money-amount.wc-block-components-totals-item__value {
    color: #a2112a;
}



span.wc-block-components-totals-item__label {
    color: #a2112a;
}

.woocommerce .cart .button,
.woocommerce .cart input.button:hover {
    color: white;
    background: #a2112a;

}


.woocommerce button.button:hover,
.woocommerce-page button.button:hover {
    background: white;
    color: #a2112a;
    border: solid 2px #a2112a;

}

form.woocommerce-cart-form button.button::after {
    display: none;
}

form.cart button {
    background: red;
}

body.et-db #page-container #et-boc .et-l .et_pb_section .et_pb_wc_add_to_cart_0_tb_body .button:hover {
    background: white !important;
    color: #a2112a !important;
    border: 2px solid #a2112a;
}

body.et-db #page-container #et-boc .et-l .et_pb_section .et_pb_wc_reviews_0_tb_body.et_pb_comments_module .et_pb_button:hover {
    background: white;
    color: #a2112a !important;
    border: 2px solid #a2112a;
}


.wp-element-button,
.wp-block-button__link {
    background-color: #a2112a;
    border-width: 0;
    color: #fff;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    padding: calc(0.667em + 2px) calc(1.333em + 2px);
    text-decoration: none;
}

.wp-element-button:hover {
    background: white;
    color: #a2112a;
    border: 2px solid #a2112a;
}

/********************************************* End Cart Page Woocommerce **********************************************/

/*********************************************
    End Woocomerce Default Templates 
**********************************************/


.xoo-wsc-items-count:before {
    content: attr(data-label);
    display: block;
    position: absolute;
    top: 4px;
    right: 0px;
    background: black;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    text-align: center;
    line-height: 18px;
    z-index: 100;
    color: #fff;
    font-size: 13px;
}


/*********************************************
    Start Woocomerce Extensions 
**********************************************/

/********************************************* Start Side Cart WooCommerce - Woocomerce Extension **********************************************/
.xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn,
.xoo-wsc-container .xoo-wsc-btn:hover {
    background-color: #a2112a;
    color: #ffffff;
    /* border: 2px solid #ffffff; */
    border-radius: 4px 4px 4px 4px;
    padding: 10px 20px;
}

.xoo-wsc-footer .xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn:hover,
.xoo-wsc-footer .xoo-wsc-container .xoo-wsc-btn:hover {
    color: #a2112a !important;
    border: 2px solid #a2112a !important;
}


.xoo-wsc-footer .xoo-wsc-ft-buttons-cont span.woocommerce-Price-amount.amount {
    color: white !important;
}

.xoo-wsc-footer .xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn:hover span.woocommerce-Price-amount.amount {
    color: #a2112a !important;
}

/********************************************* End Side Cart WooCommerce - Woocomerce Extension **********************************************/

/*********************************************
    End Woocomerce Extensions 
**********************************************/


