/* DAHOMEY NUMERIQUE - Navigation multilingue */

#langSelect {
    min-width: 105px;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 7px;
    font-weight: 600;
}

#mainNav a:not(.active)::after {
    width: 0 !important;
}

#mainNav a:not(.active) {
    border-bottom-color: transparent;
}

#mainNav a.active {
    color: #ffffff;
}

#mainNav a.active::after,
#mainNav a:hover::after {
    width: 100% !important;
}

html[dir="rtl"] body {
    direction: rtl;
}

html[dir="rtl"] .main-nav,
html[dir="rtl"] .form-group,
html[dir="rtl"] .footer-col {
    text-align: right;
}

html[dir="rtl"] input,
html[dir="rtl"] textarea {
    text-align: right;
}

html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="tel"] {
    direction: ltr;
    text-align: left;
}

html[dir="rtl"] .brand-name,
html[dir="rtl"] .footer-brand-name {
    direction: ltr;
    unicode-bidi: isolate;
}

@media (max-width: 768px) {
    #langSelect {
        min-width: 85px;
        font-size: 12px;
    }

    html[dir="rtl"] .main-nav {
        text-align: center;
    }
}

/* DN ACTIVE NAVIGATION */

#mainNav a::after {
    width: 0 !important;
}

#mainNav a.active::after,
#mainNav a:hover::after {
    width: 100% !important;
}

#mainNav a.active {
    color: #ffffff;
}

html[dir="rtl"] #mainNav a::after {
    left: auto;
    right: 0;
}

html[dir="rtl"] body {
    font-family: Tahoma, Arial, sans-serif;
}

