nav {
    
    top: 0;
    width: 100%;
    margin: 0 auto;
    z-index: 10;
    background: var(--bgmenu);
}

nav .otobacgiang-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 1rem 0;
}

nav .otobacgiang-logo img {
    width: 220px;
}

nav .otobacgiang-menu {
    display: flex;
    
    justify-content: space-between;
    flex-wrap: wrap;
}

nav .otobacgiang-item {
    margin-left: 5rem;
}

nav .otobacgiang-item img {
    width: 16px;
    height: 16px;
    overflow: hidden;
    display: none;
    object-fit: cover;
    vertical-align: middle;
    margin-top: -3px;
}

nav .otobacgiang-item a {
    display: inline-block;
    font-size: 1.5rem;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 0.2rem;
    font-weight: 700;
}

nav .otobacgiang-item a:hover
{
    color: var(--red-color);
}
nav .otobacgiang-item a:hover:before {
    right: 0;
}


.otobacgiang-active-menu {
    color: var(--red-color) !important;
    position: relative;
    
}

.otobacgiang-active-menu:hover:before {
    right: 100% !important;
}

menu .icon-nav {
    display: none;
}

.otobacgiang-change .otobacgiang-bar1 {
    -webkit-transform: rotate(-41deg) translate(-8px, 5px);
    transform: rotate(-41deg) translate(-8px, 5px)
}

.otobacgiang-change .otobacgiang-bar2 {
    opacity: 0;
}

.otobacgiang-change .otobacgiang-bar3 {
    -webkit-transform: rotate(40deg) translate(-8px, -7px);
    transform: rotate(40deg) translate(-8px, -7px);
}

@media only screen and (max-width: 1230px) {
    nav .otobacgiang-container {
        padding: 1.5rem;
    }
}

@media only screen and (max-width: 1200px) {
    .otobacgiang-show-menu {
        position: fixed;
        top: 0;
        height: 100%;
        z-index: 999;
        background: #fff;
        flex-flow: column;
    }

    nav {
        padding: 0;
    }

    nav .otobacgiang-container {
        padding: 0;
    }

    nav .otobacgiang-item {
        margin-left: 0;
    }

    nav .otobacgiang-logo {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        z-index: 100;
        padding: 1.5rem;
    }

    nav .otobacgiang-icon-nav {
        display: inline-block;
        cursor: pointer;
    }

    .otobacgiang-bar1, .otobacgiang-bar2, .otobacgiang-bar3 {
        width: 35px;
        height: 4px;
        background: #fff;
        margin: 0.6rem 0;
        transition: 0.4s;
    }

    nav .otobacgiang-container .otobacgiang-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        justify-content: flex-start;
        flex: 1;
        z-index: 999;
        overflow: auto;
        flex-wrap: initial;
    }

    nav .otobacgiang-container .otobacgiang-menu li {
        padding: 4rem 0;
    }

    .otobacgiang-active-menu-mb-t {
        background: var(--red-color);
    }

    .otobacgiang-active-menu-mb-b {
        background: rgb(179, 3, 3);
    }
    nav .otobacgiang-item a
    {
        padding-left: 0.5em;
    }
    nav .otobacgiang-item img {
        width: 16px;
        height: 16px;
        
        display: inline;
       
    }
    nav .otobacgiang-container .otobacgiang-menu li {
        
        padding-left: 1em;
        border-bottom: 1px solid #d54b4b;
        text-align: left;
    }
}

@media only screen and (max-width: 768px) {
    nav .otobacgiang-container .otobacgiang-menu li {
        padding: 3rem 0;
        padding-left: 1em;
        border-bottom: 1px solid #d54b4b;
        text-align: left;
    }
}



