/* CSS cho menu dọc */
.danhmuc_cate_menu {
    display: flex;
    flex-direction: column;
}

.title-menu-cate {
    font-weight: bold;color: #3d3d3d;
    cursor: pointer;text-transform: uppercase;font-size: 15px;
}
.title-menu-cate:hover {
    color: #105ABB;
}
.title-menu-cate .fa-list-alt{margin-right: 5px;}
.tv_cate_menu_box {
    position: relative;
    display: none;
}

.desktopne {
    display: block;
    position: absolute;
    top: 30px;
    background-color: #fff;
    z-index: 999;
    padding-bottom: 8px;
    min-width: 240px;
    box-shadow: 0 1px 2px 0 rgba(60,64,67,.1), 0 2px 6px 2px rgba(60,64,67,.15);
    animation: righttoleft 0.5s ease;
}
.contcenter {
    position: relative;
}
.menu_doc_style ul{box-shadow: 0 1px 2px 0 rgba(60,64,67,.1), 0 2px 6px 2px rgba(60,64,67,.15);}
.desktopne .menu_doc_style {
    list-style-type: none;
    padding: 0;
    margin: 0px;
}

.menu_doc_style li {
    position: relative;
}
.menu_doc_style li{
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    width: 100%;
}
.menu_doc_style li a {
    display: flex;
    padding: 7px 10px;
    text-decoration: none;
    color: #000;
    white-space: nowrap;align-items: center;
    justify-content: space-between;
}

.menu_doc_style li:hover > a {
    background-color: #FFCB4F;
    color: #105ABB;
}

.menu_doc_style .sub-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 200px;
    background-color: #fff;
    padding: 0;
    list-style: none;
    z-index: 99;
}

.menu_doc_style .sub-menu li {
    position: relative;
}
.menu_doc_style .sub-menu li:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.25);
}
.menu_doc_style .sub-menu li a {
    padding-left: 10px;
}

.menu_doc_style .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    min-width: 200px;
    background-color: #fff;
    padding: 0px;
}

.menu_doc_style .sub-menu .sub-menu li {
    position: relative;
}

.menu_doc_style .sub-menu .sub-menu li a {
    padding-left: 15px;
}
.menu-menu-doc .fa-angle-double-up,.menu-menu-doc .fa-angle-double-down{
    font-family: fontawesome;
    color: #212121;
    margin-left: 5px;
    font-weight: 600;
}
.tv_cate_menu_box .overlay {
        animation: lefttoright 0.5s forwards;
    }
.close_dm {
    display: none;
    color: #000;
    cursor: pointer;
}
/* CSS đáp ứng cho màn hình di động */
@media (max-width: 768px) {
    
    .danhmuc_cate_menu {
        position: relative;
    }

    .title-menu-cate {
        display: block;
    }
    .tv_cate_menu_box{
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 80%;
        background-color: #fff;
        z-index: 9999;
        transition: transform 0.5s ease;
        animation: righttoleft 0.5s ease;
        transform: translateX(0);
        overflow-y: auto;
    }
    .mobilene {
       
        display: block;
    }
    .mobilene .menu_doc_style {
        list-style-type: none;
        padding: 0;
        margin:  38px 0px 0px 0px;
    }
    .close_dm {
        display: inline-block;
        position: absolute;
        left: 20px;
        right: 0px;
        top: 6px;
        float: left;
        font-size: 1.5rem;
        font-weight: 700;
        line-height: 1;
        color: #000;
        text-shadow: 0 1px 0 #fff;
        opacity: .5;
    }
    .menu_doc_style li {
        position: relative;
    }
    .menu_doc_style .htsub-cate,.menu_doc_style .htsub-cate .htsub-cate{
        top: 1px;
        right: 1px;
        left: 0;
        position: relative;
        z-index: 99;
        display: block;
        cursor: pointer;
        padding: 0;
        list-style: none;
    }
    .menu_doc_style .menu-item-has-children:hover > .sub-menu {
        /*display: block;
        position: relative;
        left: 0;*/
    }

    .menu_doc_style .sub-menu li a {
        padding-left: 12px;
    }
    .menu_doc_style .sub-menu .sub-menu li a {
        padding-left: 17px;
    }
}
/*** start others menu list cố định không bị ẩn **/
.as-listtmenu-cate >.menu_doc_style {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #fff;
}
.as-menu-cate {
    /*box-shadow: 0 1px 2px 0 rgba(60,64,67,.1), 0 2px 6px 2px rgba(60,64,67,.15);*/
}
.arrow-cate{top: 1px;
    right: 1px;
    position: absolute;
    z-index: 99;
    display: block;
    border-left: 1px solid #FFCB4F;
    cursor: pointer;
    padding: 10px 15px;
    background-color: #FFCB4F;}
/*** end  others menu list cố định không bị ẩn **/
/* Hiệu ứng */
@keyframes righttoleft {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes lefttoright {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}