.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show>.nav-link {
    color: #ed1b2f;

}

.navbar-light .navbar-nav .active::before {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    top: 100%;
    content: " ";
    border-bottom: 3px solid #ed1b2f;
}

.navbar-light .navbar-nav .nav-link {
    color: rgba(0, 0, 0, .5);
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
    color: #ed1b2f;
}

.navbar-light .navbar-nav a {
    position: relative;
    text-transform: none;
    padding: 4px 0;
    transition: 0.5s;
}

.navbar-light .menu-nav a::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 3px;
    top: 100%;
    left: 0;
    background: #ed1b2f;
    transition: transform 0.5s;
    transform: scaleX(0);
    transform-origin: right;
}

.navbar-light .navbar-nav a:hover {
    color: #ed1b2f;
}

.navbar-light .navbar-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.dropdown-item {
    display: block;
    width: 100%;
    height: 30px;
    padding: .27rem 1.5rem;
    clear: both;
    font-weight: 80%;
    color: #8c8c8c;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    text-align: center;
}

.dropdown:hover>.dropdown-menu {
    display: block;
    opacity:1;
    transition-delay: 0s, 0s, 0.3s;
}

.dropdown-toggle::after {
    transition: transform 0.5s ;
}


.dropdown .dropdown-toggle::after {
    transform: translateY(3px);
}

.dropdown-menu {
    margin-top: 0;
    transform: translateY(-3px);
    z-index: -1;
    transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
}

.dropdown a:hover {
    background-color: #ffff;
    text-align: center;
}

.dropdown .dropdown-menu {
    font-size: 100%;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    /* left: 0; */
    width: auto;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 15rem;
    padding: 1rem 0;
    margin: .125rem 0 0;
    font-size: 1rem;
    text-align: left;
    list-style: none;
    background-color: #fff;
    margin-left: -0px;
    background-clip: padding-box;
    border: 0 solid rgba(27, 22, 66, .15);
    border-radius: 1rem 0 1rem 0;
    -webkit-box-shadow: 0 0 6px rgba(27, 22, 66, .03), 0 14px 24px rgba(27, 22, 66, .06), 0 0 6px rgba(27, 22, 66, .03), 0 14px 24px rgba(27, 22, 66, .06);
    box-shadow: 0 0 6px rgba(27, 22, 66, .03), 0 14px 24px rgba(27, 22, 66, .06), 0 0 6px rgba(27, 22, 66, .03), 0 14px 24px rgba(27, 22, 66, .06);
    white-space: nowrap;
}
