/**
 * CSS Global du site
 * @author GN
 * @file global.css
 * @date 11/03/2022
 */

/**
 * Mise en page Globale
 */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Saira Extra Condensed', sans-serif;
    letter-spacing: 1px;
    -webkit-font-smoothing: antialiased;
     -moz-osx-font-smoothing: grayscale;
    font-size: 1.25rem;
    background: #F0F0F0;
}
.gbi-content-wrapper, 
.contentWrapper {
    margin:auto;
    max-width:1700px;
}
/**
 * CSS pour le HEADER
 */
header {
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    width:100%;
    z-index:9999;
}
.gbi-header-fixed {
    position:fixed;
}
header .gbiHeaderLogo {
    width:25%;
}
header .gbiHeaderConnect {
    width:25%;
}

header .gbiHeaderSearch {
    display:flex;
    flex-wrap: wrap;
    align-items:stretch;
}
header .gbiHeaderSearch input {
    display:flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 auto;
    padding: 8px;
    border: none;
}
header .gbiHeaderSearch button {
    display: inline-block;
    text-align: center;
    align-items: flex-start;
}
header .gbiHeaderConnect a {
    text-decoration: none;
}
header .gbiHeaderConnect a:hover {
    font-weight: bold;
}

/**
 * CSS Barre de navigation
 */
header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
header nav li {
    display: inline-flex;
}
header nav a.gbiMenu {
    position: relative;
    padding: 0.5rem 0 0.1rem;
    margin: 0 0.75rem;
    color: gray;
    text-decoration: none;
    text-transform: uppercase;
}
header nav a.gbiMenu::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%) scaleX(0);
    transform-origin: 50% 50%;
    width: 100%;
    height: 2px;
    background-color: rgba(128,128,128,0.8);
    transition: transform 250ms;
}
header nav a.gbiPromo::after {
    background-color: rgba(255,0,0,0.8);
}
header nav a.gbiMenu:hover {
    font-weight:bold;
}
header nav a.gbiMenu:hover::after {
    transform: translateX(-50%) scaleX(1);
}
header nav ul.gbiSubMenu {
    display:flex;
    flex-wrap: wrap;
    width:80%;
    left:0;
    margin:auto;
    margin-top: 38px;
    margin-left: 10%;
    border: 1px solid #808080;
    padding: 10px 5% 10px;
    position: absolute;
    background:#FFFFFF;
    visibility: hidden;
    z-index:8000;
}
header nav li:hover ul.gbiSubMenu {
    visibility: visible;
}
header nav a.gbiSubMenu {
    text-decoration: none;
}
.gbi-submenu-image {
    width:150px;
    height:150px;
    margin:auto;
    float:right;
}
/**
 * CSS pour le pied de page
 */
div.gbiNewsletterForm {
    display:flex;
    flex-wrap: wrap;
    align-items:stretch;
}
div.gbiNewsletterForm input {
    display:flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 auto;
    padding: 8px;
    border: none;
}
div.gbiNewsletterForm button {
    display: inline-block;
    text-align: center;
    align-items: flex-start;
}
p.gbiNewsletterInfo {
    font-size: .8rem;
    opacity: .8;
    line-height: 1.2em;
}
a.gbiLink {
    text-decoration:none;
}
.gbi-cell-row {
    display:table;
    margin:auto;
}
.gbi-footer {
    font-size:15px;
}
.gbi-cel-row-min {
    min-width: 150px;
}
.gbi-w3-select {
    padding: 9px 0;
    border: none;
    border-bottom: 1px solid #ccc;
}

.gbi-article-container {
    box-shadow:0 10px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Saira Extra Condensed",Arial,sans-serif;
}

.gbi-panier {
    position:relative;
    height:30px;
    width:30px;
}
.gbi-panier i {
    position:absolute;
    top:5px;
    left:0px;
}
.gbi-panier span {
    position:absolute;
    bottom:0px;
    right:0px;
    background: #ff0000;
    color:#FFFFFF;
    font-size: 14px;
    line-height:10px;
    text-align:center;
    width:18px;
    height:18px;
    border-radius:9px;
    padding:4px;
    font-weight: bold;
}

.gbi-content-container {
 /*   padding-top:171px;*/
}

.gbi-sudetoffe-container {
    background:#fff;
    border: 10px solid #fff;
    /*border-radius: 15px;
    box-shadow: 0 0 2px #999;*/
    box-shadow: 0 10px 16px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
    
}
.gbi-spacer {
    min-height:25px;
}
.gbi-autocomplete-img {
    max-height: 60px;
}
.gbi-input-label {
    line-height: 45px;
}
.gbi-nopadding {
    padding:0;
}
.gbi-padding-left {
    padding-left: 10px;
}
.gbi-padding-right {
    padding-right: 10px;
}
.gbi-filtrable-header {
    cursor:pointer;
}
.gbi-filtrable-header:hover {
    color:#F00;
}

.gbi-header-mob {
    display:none;
}
/**
 * CSS Spécifique pour les mobiles
 */
@media (max-width: 1210px) {
    
    .gbi-header-mob {
        display:block;
    }
    .gbi-header-full {
        display:none;
    }
    
    .gbi-content-wrapper, 
    .contentWrapper {
        margin:auto;
        width:100%;
    }
    .w3-mobile {
        display: block;
        width: 100%!important;
    }
    .gbi-mobile-center {
        text-align: center !important;
    }
    .gbi-mobile-padding {
        padding-top: 10px;
        padding-bottom:10px;
    }
    .gbi-menu-burger {
        display: inline-block;
        cursor:pointer;
        font-size: 36px;
    }
    .gbi-menu-burger-icon span {
        display: block;
        width: 35px;
        height: 5px;
        background-color: black;
        margin: 6px 0;
      }
      
    .gbi-menu-burger-nav {
        height:100%;
        width:100%;
        position:fixed;
        z-index:9999;
        top:0;
        left:-100%;
        padding-top: 60px;
        transition: left 0.5s ease;
        overflow-y:auto;
    }
    
    .gbi-menu-burger-nav.gbi-visible {
        left: 0;
    }
    .gbi-menu-burger-nav ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }
    .gbi-menu-burger-nav a {
        padding: 8px 8px 8px 8px;
        text-decoration: none;
        font-size: 25px;
        color: #818181;
        display: block;
        transition: 0.3s;
        text-transform: uppercase;
    }
    .gbi-menu-burger-nav .close {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
    }

    .gbi-menu-burger-nav .gbi-menu {
        float:left;
    }
    .gbi-menu-burger-nav .gbi-menu-submenu-icon {
        float:right;
        padding: 8px 8px 8px 8px;
        text-decoration: none;
        font-size: 25px;
        color: #818181;
        transition: 0.3s;
    }
    .gbi-menu-burger-nav .gbi-menu-submenu-icon:hover {
        cursor:pointer;
    }
    .gbi-menu-burger-nav .gbi-menu-submenu {
        display:none;
        visibility: hidden;
        opacity: 0;
        height:0px;
        transition: visibility 0.5s, opacity 0.5s linear;
    }
    .gbi-menu-burger-nav .gbi-menu-submenu.gbi-visible {
        visibility:visible;
        height:auto;
        opacity: 1;
        display:block;
    }
    .gbi-menu-burger-nav .gbi-menu-submenu a {
        padding-left: 32px;
    }
    
    
}
