/* navbar globale */
.navbar div ul li a {
    text-decoration: none;
}
.dropdown-toggle, .nav-link {
    color: #FFFFFF ;
}

/* Liens navbar */
.navbar div ul li .active, .navbar div ul li a:hover  {
    border-bottom: 2px solid #dd0031;
    color: #FFFFFF;
    box-sizing: content-box;
    margin-bottom: -2px;
}
.navbar div ul li .active {
    opacity: 0.8;
}
.navbar div ul li a:hover {
    opacity: 1;
}
.nav-link[aria-expanded="true"]{
    border-bottom: 2px solid #FFFFFF;
    box-sizing: content-box;
    margin-bottom: -2px;
}
/* Liens Megamenu */
.navbar div ul li div .active, .navbar div ul li div a:hover {
    /* text-decoration: underline; */
    color: #dd0031 !important;
    background-color: inherit;
    border-bottom: none;
    margin-bottom: unset;
}
/* navbar phone icon */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}
.navbar-toggler {
    color : #FFFFFF !important;
}
/* .navbar-toggler:active .navbar-toggler-icon, .navbar-toggler:focus .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(221, 9, 53, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
} */
/* Reseaux sociaux */
.rs {
    text-decoration: none;
    color: #FFFFFF;
}

@media (min-width: 992px) { 
    .rs {
        margin-left: 0.8rem;
    }
}

.rs:hover, .rs.active {
    text-decoration: none;
    color: #dd0031 !important;
}
.fa-perso {
    font-size:14px;
}
.navbar-magasin-text {
    margin-top: auto;
    margin-bottom: auto;
    line-height: 1.2;
    font-size: 14px;
    /* light */
    font-weight:300;
}
/* megamenu */
.megamenu-li {
    position: static;
}
.nav-item {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}
.navbar-top {
    z-index: 1030;
    width: 100%;
}
@media (min-width: 768px) and (max-width: 991.98px) { 
    .megamenu {
        left: 39%;
    }
}
@media (min-width: 992px) { 
    .megamenu {
        left: 50%;
        position: absolute !important;
        padding-top: 0;
        padding-bottom: 0;
        width: 100vw;
        background-color: rgba(255, 255, 255, 0.96);
        margin-left: -50vw;
    }
    .navbar-top {
        position: absolute;
        height: 110px;
        background-color: rgba(51, 62, 71, 0.85);
    }
    #familleProduitNavbar, #sousFamilleNavbar, #textFamilleProduitNavbar, #inspirationNavbar, #inspirationSousThematiqueNavbar, #inspirationTextNavbar{
        margin-bottom: 3rem;
        margin-top: 3rem;
    }
    .no-header{
        margin-top: 111px;
        padding-top: 29px;
    }
}

@media (max-width: 991.98px) { 
    .navbar-collapse {
        z-index: 1010;
    }
    .navbar-top {
        background-color: #333E47;
    }
    .megamenu {
        margin-top: 0;
        margin-bottom: 0;
    }
    /* #sousFamilleNavbar a:first-child, #inspirationSousThematiqueNavbar a:first-child {
        border-top: 1px solid #333E47;
    } */
}

.dropdown-menu {
    top: auto !important;
}

/* mdb */
.navbar { 
    box-shadow: none !important; 
} 

/* Recherche */
.recherche-icon{
    color: white;
}
.fa-search:hover {
    cursor: pointer;
}
@media (min-width: 992px) { 
    .active-red-2 input[type=text]:focus:not([readonly]) {
        border: 1px solid #dd0031;
        box-shadow: none;
        background: none;
        color: white;
        font-size: 14px;
    }
    .active-red-2 input[type=text] {
        border: none;
        background: none;
        color: white;
        font-size: 14px;
    }
    .recherche::placeholder{
        color: white;
        font-size: 14px;
        font-weight: 300;
    }
    .logo-fluid{
        max-width: 100%;
        height: auto;
        max-height: 100px; 
    }
}
@media (max-width: 991.98px) { 
    .active-red-2 input[type=text]:focus:not([readonly]) {
        border: 1px solid #dd0031;
        box-shadow: none;
        background: none;
        color: white;
        font-size: 18px;
    }
    .active-red-2 input[type=text] {
        border: none;
        background: none;
        color: white;
        font-size: 18px;
    }
    .recherche::placeholder{
        color: white;
        font-size: 18px;
        font-weight: 300;
    }
    .logo-fluid{
        max-width: 100%;
        height: auto;
        max-height: 65px;
    }
}
/* LOGO */
.main-logo{
    position: absolute;
    z-index: 2;
}

/* général */
.lock-scroll{
    overflow: hidden;
}
.nav-link {
    font-size: 18px;
    /* light */
    font-weight:300;
}
.navbar-top .dropdown-item, .navbar-top .dropdown-item strong {
    margin-top: 0.5em;
    font-size: 16px !important;
}
.top-nav {
    border-bottom: 1px solid #707070;
}
/* body assombri pour megamenu */
@media (min-width: 992px){
    .bg-megamenu {
        background-color: rgba(0,0,0,0.5);
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        
    }
    .bg-body {
        position: fixed;
        overflow-y: scroll;
        width: 100%;
    }
}