
/*
AGS-85 / AGR-173 : rendre les images responsive automatiquement dans les fiches produit (onglets) et CMS
 */
section.product-tabcontent .tab-pane p img,
#cms section#content p img {
    max-width: 100%;
    height: auto;
}

/* Récupération des styles du bloc réassurance */
.product-information .blockreassurance_product {
    margin-top: 25px;
    display: flex
;
    background-color: #e8f1dd;
    border-radius: 10px;
    padding: 10px;
}

.product-information .blockreassurance_product > div {
    padding: 5px;
}
.product-information .blockreassurance_product > div {
    display: flex
;
    flex-direction: column;
    text-align: center;
}

.product-information .blockreassurance_product > div > span, .product-information .blockreassurance_product > div > p {
    width: 100% !important;
    display: block !important;
    text-align: center;
    vertical-align: top;
}
.product-information .blockreassurance_product > div > span, .product-information .blockreassurance_product > div > p {
    line-height: normal !important;
}
.blockreassurance_product .item-product {
    height: 50px !important;
}
.blockreassurance_product .item-product {
    display: inline-block;
    height: 35px;
    float: left;
    margin-right: 5px;
    padding-top: 5px;
    width: 35px;
}

@media only screen and (max-width: 991px) {
    .product-information .blockreassurance_product {
        padding: 0px;
        flex-wrap: wrap;
    }
    .product-information .blockreassurance_product > div {
        width: 33%;
        padding: 0px;
    }
}

ul.product_list.grid .product-miniature  .product-add-to-cart,
ul.product_list.grid .product-miniature .product-add-to-cart-button
{
    opacity: 1 !important;
    width: 100%;
    margin-top: 5px !important;
    width: 100%;
}

ul.product_list.grid .product-miniature .product-add-to-cart-button button.btn.btn-primary.add-to-cart {
    color: #e0efd8;
    background-color: #3b7550;
    width: 100%;
    display: block;
    font-size: 14px;
    font-weight: normal;
    background-image: none;
    border: 0px solid #e0efd8;
}

.products .product_list li .product-add-to-cart .elementor-button.add-to-cart {
    /* border: 0px; */
    /* padding: 0px; */
    /* font-size: 0; */
    display: block;
    /* vertical-align: top; */
    /* min-width: auto; */
    width: 100%;
    /* transition: none; */
    /* background: transparent url(../img/codezeel/action.png) no-repeat scroll center 11px; */
    font-size: 14px;
    background-image: none;
    color: #e8f1dd;
    background-color: var(--couleur-bouton-cta);
    border-width: 0px;
    border-style: solid;
    border-radius: 7px;
    cursor:pointer;
}

.product_list .product-miniature h3.product-title
{
    height:33px;
}

/* mouse grab icon */
.grabbing {
    cursor: url("../img/codezeel/grabbing.png") 8 8, move;
}


.customNavigation a {
    font-size: 0;
    position: absolute;
    padding: 0;
    color: #888888;
    cursor: pointer;
    overflow: hidden;
    -webkit-transition: all 0.5s ease;
    -webkit-transition-delay: 0s;
    -moz-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
    background: rgba(0, 0, 0, 0) url(../img/codezeel/slider-arrow.png) no-repeat scroll 0 0;
    width: 18px;
    height: 36px;
}

/* Flexslider */


#index .spinner {
    background: url(../img/codezeel/loading.gif) no-repeat center center #ffffff;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 100000;
    top: 0;
    left: 0;
    background-size: 12%;
}

section.product-tabcontent:before {
    content: '';
    position: absolute;
    /* top: 0; */
    left: 50%;
    transform: translateX( -50%);
    height: 100%;
    width: 100vw;
    /* background: #29435A; */
    z-index: -1;
    margin-top: -80px;
    /* background-image: url("../img/separateur-product-tabcontent.png"); */
    background-repeat: no-repeat;
    background-size: 100% 300px;
    background-position: top;
}

section.product-accessories:before {
    content: '';
    position: absolute;
    /* top: 0; */
    left: 50%;
    transform: translateX( -50%);
    height: 100%;
    width: 100vw;
    /* background: white; */
    z-index: -1;
    margin-top: -80px;
    /* background-image: url("../img/separateur-product-accessories.png"); */
    background-repeat: no-repeat;
    background-size: 100% 113px;
}
/*
footer#footer:before
{
    content: '';
    position: absolute;
    display: block;
    margin-top: -61px;
    left: 50%;
    transform: translateX( -50%);
    height: 61px;
    width: 100vw;
    z-index: -1;
    background-image: url(../img/separateur-footer.png);
    background-repeat: no-repeat;
    background-size: cover;

}
*/

/*
Aligner la largeur de la description des produits à la largeur de la photo
 */
@media (max-width: 575px)
{
    #products .products li.product_item .product-description {
        max-width: 277px;
    }
}


/*
Personnalisation top du menu responsif
 */
#globo-hidden-menu-displayTop-1 .globomenu li.globomenu-item-level-0#mobile-closemenumb .closemenumb {
    background-color: white !important;
    background-image: url(../img/lsvb-logo-vert-sans-baseline.svg) !important;
    background-repeat: no-repeat !important;
    height: 100px;
    background-position: 20px 0 !important;
}

#globo-hidden-menu-displayTop-1 .globomenu li.globomenu-item-level-0.globomenu-active#mobile-closemenumb .closemenumb i
{
    background-color: transparent !important;
}

#globo-hidden-menu-displayTop-1 .globomenu li.globomenu-item-level-0.globomenu-active#mobile-closemenumb .closemenumb .fa-remove:before, .fa-close:before, .fa-times:before {
    color:#3b7550;
}

/* Définir le style pour un navigateur de taille en dessous de 1019.98px */
@media (max-width: 1019.98px) {
    #globo-hidden-menu-displayTop-1 .globomenu li.globomenu-item-level-0#mobile-closemenumb .closemenumb {
        background-color: white !important;
        background-image: url(../img/lsvb-logo-vert-sans-baseline.svg) !important;
        background-repeat: no-repeat !important;
        height: 100px;
        background-position: 20px 0 !important;
        background-size: 85px !important;
        background-position-y: bottom !important;
    }
}

/*
Couleurs historiques
Couleur de fond survol des menus : #fdfbf8
Couleur de police menu au survol : #3b7550
Submenu heading hover color : #ec6719
Submenu text hover color : #ec6719
Submenu description hover color : #fdfbf8
 */

/*
Style au survol des sous-menus pour les produits, puisqu'on ne peut pas les définir depuis l'admin
 */
li#globomenu-item-320 ul li:hover {
    background-color: #F6EDE3;
}


/*
Styles spécifiques pour les icones de thématiques dans le menu
 */
/*
#category-14 => Potagères
#category-6 => Aromatiques
#category-7 => Fleurs
#category-45 => Engrais
*/
.popover .top-menu #category-14 a.dropdown-item.dropdown-submenu { background-image: url(../img/icon-potageres.svg); }
.popover .top-menu #category-6  a.dropdown-item.dropdown-submenu { background-image: url(../img/icon-aromatiques.svg); }
.popover .top-menu #category-7  a.dropdown-item.dropdown-submenu { background-image: url(../img/icon-fleurs.svg); }
.popover .top-menu #category-42 a.dropdown-item.dropdown-submenu { background-image: url(../img/icon-engrais-verts.svg); }


/* Apparence des boutons du bandeau cookies */
button.lgcookieslaw-button {
    border: 0;
    border-radius: 5px;
}


/* AGR-268 : apparence des boutons cookies */
.lgcookieslaw-button.lgcookieslaw-reject-button
{
    background-color: #3b7550;
    color: white;
}

button.lgcookieslaw-button.lgcookieslaw-reject-button {
    background-color: #888 !important;
}

/* Repositionnement du lien wishlist */
.an_wishlist-nav a {
    position: relative;
    z-index:1000;
}

/* AGR-312 : Style de la page de connexion en mode responsif */
a.link-registration {
    display: block;
    /* border: 1px solid #CCC; */
    padding-top: 6px;
}

/* AGR-313 : mise en forme du formulaire de connexion */
#customer-form em {
    font-style: normal;
}

#customer-form footer.form-footer {
    text-align: center;
}

/* AGR-308 : Apparence responsive pour les modules, entêtes etc */
#authentication #login-form footer {
    text-align: center;
}
#my-account footer.page-footer .text-sm-center {
    display: flex
;
    flex-direction: column;
    align-items: center;
    display: block;
    background: #fdfdfd;
    padding: 20px 20px;
    border: 1px solid #ededed;
    text-align: left;
    font-size: 1rem;
}

@media (max-width: 1199.98px) {
    .header-top .an_wishlist-nav-container {
        top: -9px;
    }
}
@media (max-width: 767px) {
    .header-top .an_wishlist-nav-container {
        top: 12px;
    }
}

@media (max-width: 480px) {


    /* AGR-314 : style de la page d'oubli de mot de passe  */
    #password .center-email-fields {
        text-align: center;
    }
    #password .center-email-fields .form-control-submit {
        margin-top: 10px;
    }



    .globomenu.globomenu-main, .globo-hidden-menu-clearfix {
        left: -23px;
    }

    #header .fixed .user-info {
        margin-top: 27px;
        /* right: 0px; */
        position: absolute;
        right: -8px;
        z-index: 101;
    }
    #header .user-info
    {
        margin-top: -23px;
        /* right: 0px; */
        position: absolute;
        right: 0;
        z-index: 1100;
    }

    .elementor-section {
        overflow: hidden;
    }

    .blocQuestionnaire {
        padding: 10px;
    }

    #recapitulatif, #recapitulatif button, button.addallproductstocart {
        text-wrap: auto;
    }

    #search_filters_wrapper_toggler {
        width: 80px ;
    }

    #header .fixed .an_wishlist-nav-container {
        top: 18px;
        /* position: absolute; */
    }
    #header .an_wishlist-nav-container
    {
        top: -33px;
        /* position: absolute; */
    }

    #header .fixed .search-widget {
        /* padding-top: 58px; */
        position: absolute;
        right: 0px;
        background-color: white;
        z-index: 100;
    }
    #header .search-widget
    {
        padding-top: 18px;
        position: absolute;
        right: 0px;
        background-color: white;
        z-index: 100;
    }

    #header .fixed .header_logo ,
    #header .header_logo
    {
        margin-left: 60px !important;
        height: 80px;
        width: 60%;
        position: relative;
    }

    #header .fixed .header_logo > a ,
    #header .header_logo > a
    {
        display: inline-block;
        position: absolute;
        z-index: 100;
        left: -14px;
        bottom: 8px;
    }

    #header .fixed .search-widget .search_toggle ,
    #header .search-widget .search_toggle
    {
        right: 0px;
    }

    #header .fixed .blockcart {
        padding-top: 60px;
        position: absolute;
        right: -34px;
    }
    #header .blockcart
    {
        padding-top: 20px;
        position: absolute;
        right: -34px;
    }
}

@media (max-width: 320px) {
    #header .header_logo img.logo.img-responsive {
    }
}

/*
AGR-336 / AGR-337
Fonctionnement responsif pour l'entête de page d'accueil
*/
@media (max-width: 1198.99px) {
    #header .header-top.fixed > .container .header_logo {
        margin-top: -21px;
    }
}
@media (max-width: 768px) {
    #header .header-top.fixed > .container .header_logo {
        left: -41px;
    }
    .header-top.fixed .an_wishlist-nav-container {
        margin-top: 20px;
    }
}

@media (min-width: 480px) {
    #header .search-widget .search_button {
        display:none;
    }

    #header .search-widget {
        padding-top: 0;
    }

    #header .user-info {
        margin-top: 4px;
    }

    .header-top .an_wishlist-nav-container {
        top: -7px;
    }

    #header .blockcart {
        padding-top: 3px;
    }

    #header .header-top .header_logo {
        left: auto;
    }

    #header .search-widget .search_toggle {
        display: block;
        top: auto;
    }

}

@media (max-width: 620px) {
    #header .header-top {
        padding-bottom: 40px;
    }
    #header .search-widget .search_toggle {
        display: block;
        top: 53px;
        right: -83px;
        width: calc(100vw - 74px);
    }
    .an_wishlist-nav-container, .an_wishlist-nav-container .an_wishlist-nav {
        display:none;
    }

    #header .header-top.fixed .header_logo { display:none; }

    #header .header-top.fixed {
        padding-bottom: 0;
        min-height: 95px;
    }


    #header .header-top.fixed .search-widget .search_toggle {
        width: calc(100vw - 150px);
        right: -48px;
        top: 30px;
    }

    #header .header-top.fixed {
        padding-bottom: 0;
    }

    #header .fixed .blockcart {
        padding-top: 31px;
        right: -38px;
    }



    #header .header-top.fixed .globo-hidden-menu-clearfix {
        top: -10px !important;
    }

    #header .header-top.fixed .user-info.dropdown.js-dropdown {
        padding: 0;
        margin: 0;
        right: -45px;
        position: relative;
        top: 30px;
    }


}


@media (max-width: 480px) {

    #header .header-top.fixed .search-widget .search_toggle {
        right: 25px;
    }

    #header .header-top.fixed .user-info.dropdown.js-dropdown {
        right: -11px;
    }

    #header .fixed .blockcart {
        padding-top: 37px;
        right: -41px;
    }

    #header .search-widget .search_button { display:none; }
    #header .search-widget .search_toggle {
        right: 0;
    }

    #header .user-info {
        margin-top: -8px;
        right: 31px;
    }

    #header .blockcart {
        padding-top: 0;
        position: absolute;
        right: -3px;
        top: -7px;
    }


}


/*
AGR-336 / AGR-339
Responsive   2 : complément d'adaptation pour les pages intérieures

 */
.displaydesktop, #subcategories .displaydesktop { display:block !important;}
@media (max-width: 620px) {
    #category #subcategories { display:none;}
    .displaydesktop { display:none !important;}

    ul#ui-id-1.ui-autocomplete {
        max-width: calc(100vw - 74px);
    }
}




.product-list-header .block-category h1 {
    margin-top: 15px;
    margin-bottom: 10px;
}
.product-list-header .block-category {
    margin-bottom: 0;
}
div#search_filters {
    margin-top: 50px;
}