/***************************************

  Theme Name: Backhoe
  Theme URI: http://themes.webdevia.com/backhoe-heavy-construction-equipment-rentals-machinery-wordpress-theme
  Description: Heavy & Construction Equipment Rentals & Machinery WordPress Theme

  Author: Mymoun
  Author URI: http://www.webdevia.com/
  Version: 4.8.1
  Text Domain: backhoe

  Domain Path: /languages
  License: Envato
  License URI: https://themeforest.net/licenses

  Tags: two-columns, custom-background, threaded-comments, translation-ready, custom-menu
  
***************************************/
/* ----------------------------------------------------------------------------

  Unfortunately WordPress will require a style.css file
  located in the theme's root folder for stuff to work.

  However, we will not be using vanilla CSS. We're using Sass.

  Sass is a superset of CSS that adds in amazing features
  such as variables, nested selectors and loops..

  All Sass files are located in the /scss folder.
  Please note that none of your scss files will be compiled to /css/app.css before you run
  'npm run watch', 'npm run build', "compass compile" or "compass watch",

  More info on how to use Sass with Foundation can be found here:
  http://foundation.zurb.com/docs/sass.html

  For Define a table of contents please check /scss/app.scss.

  If you for some reason would like to write plain css instead of using Sass,
  you could just enqueue this file (style.css) to the header and add your styles in this file

---------------------------------------------------------------------------- */


.text-icon-table.text-icon {
        max-width: 15px;
        display: inline-table;
        padding: 15px;
        padding: 15px 70px 15px 15px;
    }

body, body p {
  font-family: -apple-system,BlinkMacSystemFont,Roboto,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
}
@media screen and (min-width: 64em){
.logged-in header.l-header .top-bar-container.sticky.fixed {
    margin-top: 32px;
    //max-width: 89.375rem;
}}
.brands_form form ul li .select2.select2-container {
    min-width: auto;
}
@media screen and (min-width: 64em){
.brands_form form ul li .select2.select2-container {
    min-width: 350px;
}}


/* Champ 1 : What are you looking for */
.select2-container[data-select2-id="1"] .select2-selection__rendered {
    font-size: 0 !important;
}

.select2-container[data-select2-id="1"] .select2-selection__rendered:before {
    content: "Quel matériel recherchez-vous ?";
    font-size: 16px;
    color: #666;
}


/* Masquer le système de location Webdevia */
.wp-block-webdevia-rental-dates,
.wp-block-webdevia-rental-add-to-card__form__durationAndPrice,
.wp-block-webdevia-rental-add-to-card__form,
#wd-add-to-cart {
    display: none !important;
}

/* Masquer les textes anglais YITH */
.yith_ywraq_product_added_message,
.yith_ywraq_add_item_response_message {
    font-size: 0 !important;
}

.yith_ywraq_product_added_message:before,
.yith_ywraq_add_item_response_message:before {
    content: "Ce matériel est déjà présent dans votre demande de devis.";
    font-size: 16px;
}

/* Lien vers la liste de devis */
.yith_ywraq_view_list {
    font-size: 0 !important;
}

.yith_ywraq_view_list:before {
    content: "Voir ma demande de devis";
    font-size: 18px;
}

/* Masquer durée + subtotal + prix */
.wp-block-webdevia-rental-add-to-card__form__duration-price,
.wp-block-webdevia-rental-add-to-card__form__durationAndPrice,
.durationAndPrice,
.duration-price,
[class*="duration"],
[class*="subtotal"],
[class*="price"] {
    display: none !important;
}

/* Masquer le lien anglais */
.yith_ywraq_view_list {
    display: none !important;
}

.yith_ywraq_add_item_browse_message a{
    font-size:0 !important;
}

.yith_ywraq_add_item_browse_message a:before{
    content:"Voir ma demande de devis";
    font-size:16px;
    font-weight:600;
}



.home,
.home #page,
.home #content,
.home .site,
.home .site-content,
.home .main-wrapper,
.home .pd-perspective,
.home #spaces-main {
    background: #fff !important;
    background-image: none !important;
}

.home footer,
.home .footer,
.home #footer,
.home .site-footer {
    margin-bottom: 0 !important;
}

.home footer::after,
.home .footer::after,
.home #footer::after,
.home .site-footer::after,
.home #page::after,
.home .pd-perspective::after,
.home #spaces-main::after {
    display: none !important;
    content: none !important;
    background: none !important;
}

.home {
    overflow-x: hidden !important;
}

.home body,
body.home {
    background: #fff !important;
}

.home #page,
.home #spaces-main,
.home .pd-perspective {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

body.home {
    background: #fff !important;
}

body.home #main,
body.home .main,
body.home .site-content,
body.home .content-area {
    background: #fff !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

body.home footer,
body.home .footer,
body.home #footer,
body.home .site-footer {
    margin-bottom: 0 !important;
}

body.home #spaces-main {
    min-height: auto !important;
    height: auto !important;
    overflow: hidden !important;
}

.text-icon__icon-box img, .text-icon__icon-box svg {
  max-height: 200px;
}

@media screen and (min-width: 40em) {
  .woocommerce ul.products li.product.product-category img, .elementor-element ul.products li.product.product-category img {
    height: 300px;
  }
}

.woocommerce-ordering,
.products-view,
.shop-view,
.display-mode,
.view-mode,
.gridlist-toggle,
.woocommerce-viewing,
.product-view-switcher {
    display: none !important;
}

/* Masquer le nombre de commentaires dans les actualités */
.comments-link,
.comment-link,
.post-comments,
.post-comment,
.post-comment-number,
.comment-number,
.meta-comment,
.meta-comments,
.post-meta-comment,
.post-meta-comments,
.entry-comments,
.entry-meta a[href*="#comments"],
.entry-meta a[href*="comment"],
.post-meta a[href*="#comments"],
.post-meta a[href*="comment"],
.blog-meta a[href*="#comments"],
.blog-meta a[href*="comment"],
li[class*="comment"],
span[class*="comment"] {
    display: none !important;
}

/* Remplace Learn More par En savoir + */
.wd-post__read-more a {
    font-size: 0 !important;
}

.wd-post__read-more a::before {
    content: "En savoir +" !important;
    font-size: 16px !important;
}

/* Remplace BY:SB LOCAMAT sans décaler la ligne */
.wd-post__meta li:nth-child(2) {
    position: relative !important;
    color: transparent !important;
    white-space: nowrap !important;
}

/* Cache aussi un éventuel lien auteur */
.wd-post__meta li:nth-child(2) a,
.wd-post__meta li:nth-child(2) span {
    color: transparent !important;
}

/* Nouveau texte */
.wd-post__meta li:nth-child(2)::before {
    content: "Par : SB LOCAMAT" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    color: #a5a5a5 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    white-space: nowrap !important;
}

/* Augmente la hauteur de la zone de contenu */
.wd-post__content {
    min-height: 190px !important;
    height: auto !important;
    overflow: visible !important;
}

/* Empêche la carte de couper le bouton */
.wd-post,
.wd-post__content,
.wd-post__read-more {
    overflow: visible !important;
}

/* Positionne correctement En savoir + */
.wd-post__read-more {
    display: block !important;
    margin-top: 20px !important;
    padding-bottom: 20px !important;
    position: relative !important;
}