/*
 Theme Name:   Backhoe Child
 Theme URI:    http://themes.webdevia.com/backhoe/
 Description:  Backhoe Child Theme
 Author:       Mymoun
 Author URI:   http://www.webdevia.com/
 Template:     backhoe
 Version:      1.0.0
 License: Envato
 License URI: https://themeforest.net/licenses
 Tags:         two-columns, custom-background, threaded-comments, translation-ready, custom-menu
 Text Domain:  backhoe
*/

/* ******************* general ******************* */
h4.vc_tta-panel-title {text-transform: initial;}

html body h1, html body h2, html body h3, html body h4, html body .single-product.woocommerce .product_title, .single-product.woocommerce body .product_title, body .single-product.elementor-element .product_title, .single-product.elementor-element body .product_title, body .related.products > h2, body .up-sells > h2, body .cross-sells > h2, body h5, body h6 {
    text-transform: initial;
}

/* ******************** entete ************* */
.top-header .__top-header-left, .top-header .__top-header-right {font-size: 0.9em;}
.top-bar-left {display: none;}
.header-account {font-size: 0.5em; text-align: center;}

/* ******************* pied-de-page ************* */
.first-footer a:hover, .first-footer a:focus {color: var(--primary-color);}

/* ***************** liste proiduct ************** */
.widget-area .product-categories li.cat-item.cat-parent .children {height: unset!important;}


/* **************** calendar **************** */
.barb-form-wrapper {
 display: flex;
}
.barb-form-wrapper > div {
 flex: 50%;
}
.barb-form-wrapper label {
  font-weight: bold;
}
.barb-form-wrapper input[type="text"] {
  border-bottom: 2px solid #fab900;
  box-shadow: none;
}
.barb-pickup-date input[type="text"] {
  border-right: none;
}

.barb-form-wrapper input[readonly="readonly"] {
     cursor: pointer;
}
.date-infos-cart {font-size: 0.85em; margin-bottom: 3px;}
.date-infos-cart a {display: inline-block;}
.can_duration_and_price .callout {
  display: flex;
  border: none;
  border-radius: 3px;
}
.can_duration_and_price .callout.alert {
  color: #f71616;
  background: #ffeaea;
}
.can_duration_and_price .callout.success {
  color: #333;
}
.can_duration_and_price .fas {
  padding: 10px 15px 5px 0;
  font-size: 1.5em;
 }
 .can_duration_and_price .callout.success .fas {
  color: #079e35;
 }
.lds-dual-ring {
    display: inline-block;
    width: 80px;
    height: 80px;
  }
  .lds-dual-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 5% auto;
    border-radius: 50%;
    border: 6px solid #aaa;
    border-color: #aaa transparent #aaa transparent;
    animation: lds-dual-ring 1.2s linear infinite;
  }
  @keyframes lds-dual-ring {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  .lds-roller {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    transform: scale(.75);
  }
  .lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 40px 40px;
  }
  .lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #888;
    margin: -4px 0 0 -4px;
  }
  .lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
  }
  .lds-roller div:nth-child(1):after {
    top: 63px;
    left: 63px;
  }
  .lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
  }
  .lds-roller div:nth-child(2):after {
    top: 68px;
    left: 56px;
  }
  .lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
  }
  .lds-roller div:nth-child(3):after {
    top: 71px;
    left: 48px;
  }
  .lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
  }
  .lds-roller div:nth-child(4):after {
    top: 72px;
    left: 40px;
  }
  .lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
  }
  .lds-roller div:nth-child(5):after {
    top: 71px;
    left: 32px;
  }
  .lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
  }
  .lds-roller div:nth-child(6):after {
    top: 68px;
    left: 24px;
  }
  .lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
  }
  .lds-roller div:nth-child(7):after {
    top: 63px;
    left: 17px;
  }
  .lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
  }
  .lds-roller div:nth-child(8):after {
    top: 56px;
    left: 12px;
  }
  @keyframes lds-roller {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: rgba(0,0,0,.8);
      z-index: 999;
      opacity: 1;
      transition: all 0.5s;
  }
.can_cart{
  margin-top: 30px;
}
  .callout.success {
    background-color: #e1faea;
    margin: 1rem 0 1rem 0;
    border-radius: 3px;
    padding: 1rem;
  }
  .can_add_tocart .quantity {
margin-right: 5px;
  }
  .can_add_tocart .quantity input {
    width: 100px;
  height: 45px;
  border: 1px solid #fab900;
  background-color: rgba(255, 255, 255, 0.34);
  padding: 0 0 0 15px;
  }
  .woocommerce  .can_add_tocart  button.button  {
    padding: 16px 35px 16px;
    color: #000;
    background-color: #fab900;
    font-size: 13px;
    border-radius: 0;
  }
  .woocommerce  .can_add_tocart  button.button:hover {
    background-color: #313131;
    color: #fff;
  }
  div.daterangepicker td.start-date {
    border-radius: 30px 0 0 30px;
}
div.daterangepicker td.end-date {
  border-radius: 0 30px 30px 0;
}
  div.daterangepicker button.applyBtn.btn.btn-sm.btn-primary {
    background: #fab900;
    padding: 10px 22px;
    color: #000;
}
.daterangepicker td.active, .daterangepicker td.active:hover {
  background-color: #fab900;
  border-color: transparent;
  color: #fff;
}

/* disable day in calendar - only allow tuesday and thursday */
/*td.available:nth-child(1), td.available:nth-child(3), td.available:nth-child(5),*/ /*td.available:nth-child(6), td.available:nth-child(7) {
    pointer-events: none;
    background-color: #f1efe973;
}*/

/*div.daterangepicker td.in-range:nth-child(n+1) {
    background-color: #9c999073;
}*/

.daterangepicker td.available:nth-child(2):hover, .daterangepicker td.available:nth-child(4):hover {
    background-color: #d4ffd7;
}

/* **************** single product  *************************** */
.role-price-warning {
  margin-top: 40px;
  padding: 8px;
  border: 1px solid #eee;
  background-color: #FDB90040;;
}

/* ******************* cart ************************* */
dl dt {margin-bottom: 0!important}

/* ******************* liste des membres ************* */
.liste-membres {
  margin-top: 50px;
}

.membre-block {

}



.membre-block:not(:last-child) {
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 2px solid #eee;
}

/* *****************a propos *********************** */
.apropos-slider .wpb_images_carousel .vc_images_carousel {
  margin: 0 auto;
}


/* *************** devenir membre ***************** */
.speciality-other-js {
  display: none;
}

/* ****************** nous joindre ****************** */
.text-icon__container>a{
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

.text-icon__container>a:hover {
    background: none!important;
}

/* ****************** footer ****************** */
.copyright img {
  max-height: 2em;
}

.copyright a:hover, .copyright a:active, .copyright a:focus {
  background: unset!important;
}


/* ************** capsule ************** */
.capsule-header {  color: #444; cursor: pointer; padding: 18px; width: 100%; text-align: left; border: none; outline: none; transition: 0.4s;}
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .capsule-header:hover { background-color: #ccc;}
/* Style the accordion panel. Note: hidden by default */
.capsule-content { padding: 15px; background-color: #525252; display: none; overflow: hidden; border: 1px solid #000; color:#fff; }
.capsule-content h2 { color:#fff; }



.capsule-parent-wrapper:not(:first-child) {margin-top: 30px; padding-top: 30px border-top: 5px solid #000; }
.capsule-parent-wrapper {background-color: var(--primary-color); padding: 17px; border-radius: 10px;}
.capsule-parent-wrapper .capsule-wrapper {margin-bottom: 10px;  }
.capsule-parent-wrapper .capsule-wrapper:first-child {font-size: 1.1em; border-size: 2px; background-color: transparent;}
.capsule-parent-wrapper .capsule-wrapper:first-child .capsule-header {padding: 0; border: none; margin: 0; margin-bottom: 40px;}
.capsule-parent-wrapper .capsule-wrapper:first-child .capsule-header:hover {background: transparent;}
.capsule-parent-wrapper .capsule-wrapper:not(:first-child) {border: 1px solid #000; border-radius: 5px;}
.capsule-parent-wrapper .capsule-wrapper:not(:first-child) .capsule-header {border: none; margin: 0; border-radius: 0;}
.capsule-parent-wrapper .capsule-wrapper:not(:first-child) .capsule-content {border: none; border-top: 1px solid #000;}
.capsule-wrapper {width: 100%; margin-bottom: 30px; background-color: #eee;}
.capsule-header {display: flex; flex-direction: row; /*justify-content: space-between;*/ margin: 3px; border: 2px solid #FDB900; border-radius: 5px; max-width: -webkit-fill-available;}
.capsule-title {margin: 0 20px; width: calc(100% - 300px - 60px);}
.capsule-thumb {max-width: 300px;}
.capsule-open {align-self: center; font-size: 3em;}

.linked-product-wrapper-title {margin: 30px 0; text-align: center;}
.list-linked-products-wrapper {display: flex; flex-direction: row;}
.list-linked-products-ul {width: 30%; padding-right: 30px; margin-right: 30px; border-right: 2px solid #000;}
.list-linked-products-slider-wrapper a {background-size: 0 100%; background-position: 0; background-color: #fff; text-align: center; border: 1px solid #000; box-shadow: 2px 2px 5px rgba(0,0,0,0.3);}
.list-linked-products-slider-wrapper a:hover {background-size: 100% 100%; }
.linked-product-slide-thumb {padding: 8px;}

/* list product linked slider */
.linked-product-slide>a {display: flex; flex-direction: column; text-align: center; height: 100%;}
.linked-product-slide h4 {font-size: 1.3em; padding-top: 20px; line-height: 1.15em; min-height: 2.3em; font-weight: 500; border-top: 1px solid #000;}

.list-linked-products-slider.tns-slider { display: flex;}
.list-linked-products-slider .tns-item { /*height: 100%;*/ margin: 5px 0;}

/* list product linked slider nav */
.list-linked-products-slider-wrapper  {position: relative; width: 70%; padding: 0 50px;}
.list-linked-products-slider-nav {position: absolute; height: 100%; width: 100%; top: 0; right: 0; bottom: 0; left: 0;}
.list-linked-products-slider-nav .prev, .list-linked-products-slider-nav .next { top: 50%; transform: translateY(-50%); position: absolute; cursor: pointer; transition: all 0.35s;}
.list-linked-products-slider-nav .prev[aria-disabled="true"], .list-linked-products-slider-nav .next[aria-disabled="true"],  {opacity: 0.5; cursor: not-allowed;}
.list-linked-products-slider-nav .prev { left: -5px!important; color: var(--primary-color); font-size: 40px;}
.list-linked-products-slider-nav .next { right: -5px!important; color: var(--primary-color); font-size: 40px;}

.tns-outer {position: relative;}
.tns-controls {position: absolute; top: 50%; transform: translateY(-50%); width: 100%}


/* realisation ******** */
.realisation-linked.capsule-content {display: block; margin-bottom: 50px;}

.portfolio-wrapper {display: flex; flex-direction: row; flex-wrap: wrap; gap: 35px; margin-bottom: 50px; }
.portfolio-wrapper .realisation-block {width: calc(calc(100% / 3 - 35px)); position: relative; box-shadow: 2px 2px 5px rgba(0,0,0,0.5);}
.realisation-content-hover {transition: all 0.35s; opacity: 0; visibility: hidden; position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(0,0,0,0.3); color: #fff; padding: 15px;}
.realisation-block:hover .realisation-content-hover {opacity: 1; visibility: visible;}
.realisation-block h4 {color: #fff; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 2px solid rgba(255,255,255,0.5);}
