/*
 Theme Name:   blanche-et-louise
 Theme URI:    https://blancheetlouise.fr
 Description:  Divi Child Theme, modified by La Baleine Basque
 Author:       La Baleine Basque
 Author URI:   https://labaleinebasque.fr
 Template:     Divi
 Version:      1.0.0
 Tags:         one-column, translation-ready
 Text Domain:  blanche-et-louise
*/

#main-header {
    box-shadow: none;
}


.centrer-verticalement {
    display: flex;
    flex-direction: column;
    justify-content: center;
  
  /* Et les déclinaisons avec préfixes pour obtenir un résultat homogène sur les divers navigateurs  */
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
        -ms-flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
        -ms-flex-pack: center;
  }

  .woocommerce input[type=number]::-webkit-inner-spin-button,
.woocommerce input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.woocommerce input[type=number].qty {
    -moz-appearance: textfield;
}

.woocommerce-page div.product form.cart div.quantity {
    border-radius: 0px!important;
}

.woocommerce .quantity {
    border: 2px solid #eee!important;
    width: 128px!important;
    display:inline-block;
}

.woocommerce .quantity input.qty, .woocommerce .quantity .minus, .woocommerce .quantity .plus {
    line-height: 16px;
    height: 40px!important;
    background-color: #fff!important;
    color: inherit!important;
    padding:0!important;
    float:left;
    border-radius: 0px!important;
}

.woocommerce .quantity .minus, .woocommerce .quantity .plus {
    border:none!important;
    cursor: pointer;
    width: 40px!important;
}

.woocommerce .quantity .minus:hover, .woocommerce .quantity .plus:hover {
    background-color: #eee!important;
}

.woocommerce .quantity input.qty {
    border-left: 2px solid #eee!important;
    border-right: 2px solid #eee!important;
    width: 44px!important;
}

div.quantity.hidden {
  border:none!important;
}

/* Woocommerce product image  */

.woocommerce-product-gallery .flex-viewport {
    border: solid 2px #FDF7E7;
    box-shadow: rgb(0 0 0 / 30%) 0px 0px 5px 0px;
}

/* Woocommerce custom background message  */

.woocommerce .woocommerce-error, .woocommerce .woocommerce-info, .woocommerce .woocommerce-message {
    color: black !important;
    background: #FDF7E7 !important;
  }

  /* Instagram button  */

  #sb_instagram .sbi_follow_btn a{
    background: #d6249f!important;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%)!important;
  }

  #sb_instagram .sbi_follow_btn a:hover {
      box-shadow: none;
      color: black;
    background: #d6249f!important;
    background: radial-gradient(circle at 30% 107%, #fdf497 10%, #fdf497 26%, #fd5949 60%,#d6249f 80%,#285AEB 99%)!important;
  }

  /* Woocommerce price range  */
  .woocommerce .widget_price_filter .ui-slider .ui-slider-range {
      background-color: #666666!important;
  }

  .ui-slider-handle.ui-corner-all.ui-state-default {
      background-color: #666666!important;
  }

  /* Display product category in Woocommerce loop  */

  .woocommerce-loop-category-product {
      color : #666666!important;
  }

  /* Menu  */

  .moncompte a:before{
      font-family: 'EtModules';
      content: "\e08a";
      font-size: 15px;
      margin-right: 5px;
  }

/* Custom Testimonial section  */

.tss-wrapper .tss-layout1 .item-content-wrapper{
    background-color: #FDF7E7!important;
}

.tss-wrapper .tss-layout1 .item-content-wrapper:before {
    display: none;
}


/* .collection-title h3{
    text-transform: lowercase;
} */

.tss-wrapper .tss-layout1 .item-content-wrapper {
    padding: 15px;
    margin-left: 20px;
}

/* Make Divi Centered and Centered Inline Logo Header Bars Look Like The Default Header Bar On Mobile */
@media all and (max-width: 980px) {
    /* align header container text to left */
        .et_header_style_centered #main-header .container,
        .et_header_style_split #main-header .container {
            text-align: left;
        }
    /* set max width for logo container and bring it above the navigation bar to make it clickable */
        .et_header_style_centered header#main-header .logo_container,
        .et_header_style_split header#main-header .logo_container {
            position:relative;
            z-index: 2;
            max-width: 50%;
        }
    /* move split header logo to left */
        .et_header_style_split header#main-header .logo_container {
            float: left;
        }
    /* prevent the split header logo from shrinking by increasing its max width */
        .et_header_style_split #logo {
            max-width: 100%;
        }
    /* adjust top navigation alignment */
        .et_header_style_centered #main-header div#et-top-navigation,
        .et_header_style_split #main-header div#et-top-navigation {
            position: absolute;
        }
    /* make "select page bg color transparent" */
        .et_header_style_centered #main-header .mobile_nav,
        .et_header_style_split #main-header .mobile_nav {
             background-color: rgba(0, 0, 0, 0); 
        }
    /* remove mobile_nav left and right padding */
        .et_header_style_centered #main-header .mobile_nav,
        .et_header_style_split #main-header .mobile_nav {
             padding: 5px 0px;
        }
    /* remove unnecessary top margin */
        .et_header_style_centered #et_mobile_nav_menu,
        .et_header_style_split #et_mobile_nav_menu {
            margin-top: 0px;
        }
    /* hide "select page" container */
        .et_header_style_centered #main-header .mobile_nav .select_page,
        .et_header_style_split #main-header .mobile_nav .select_page {
            display: none;
        }
    /* adjust vertical and right alignment of the mobile menu bar */
        .et_header_style_centered #main-header .mobile_menu_bar,
        .et_header_style_split #main-header .mobile_menu_bar {
            position: relative;
            right: 0px;
            text-align: right;
        }
    /* adjust dropdown menu top offset */
        .et_header_style_centered #main-header .et_mobile_menu,
        .et_header_style_split #main-header .et_mobile_menu {
            top: 63px;
        }
    }

    .mobile_menu_bar:before {
        color: #666666;
    }

    .et_mobile_menu {
        border-top: #fdf7e7;
    }

    @media screen and (max-width: 767px){
        .single_add_to_cart_button {
            width: 100%;
            margin-top: 20px!important;
        }
    }

    .woocommerce-checkout #page-container .et_pb_text_inner {
        display: block!important;
    }