.infolio-menu .default .navbar-nav {
    position: relative;

    a {
        display: inline-block;
    }

    li {
        list-style-type: none;
    }

    .dropdown-toggle:after {
        margin-left: 5px;
        vertical-align: 12px;
    }

    .icon-bar {
        color: #fff;
    }

    .dropdown-menu {
        padding: 20px 10px;
        background: #fff;
        border: 1px solid #ddd;
        transition: all .4s;
        border-radius: 5px;
        min-width: 255px;

        .dropdown-item {
            a {
                color: #1a1a1a;
            }

            font-size: 14px;
            color: #1a1a1a;
            transition: all .4s;
            padding: 10px 25px;
            position: relative;

            &:after {
                content: '';
                width: 0px;
                height: 1px;
                background: #1a1a1a;
                position: absolute;
                left: 10px;
                top: 20px;
                transition: all .4s;
            }

            &:hover {
                padding-left: 30px;
                background: transparent;
            }

            &:hover:after {
                width: 10px;
            }

            .icon-arrow {
                position: absolute;
                right: 15px;
                color: #1a1a1a;
                fill: #1a1a1a;
            }

            .dropdown-side {
                position: absolute;
                left: 248px;
                top: -15px;
                display: block;
                opacity: 0;
                visibility: hidden;
                border: 1px solid #ddd;
                border-radius: 5px;
                background: #fff;
                width: 240px;
                padding: 20px 0;
                transform: translateY(20px);
                transition: all .4s;

                &.show {
                    opacity: 1;
                    visibility: visible;
                    transform: translateY(0);
                }
            }
        }
    }

    li {
        list-style-type: none;
    }

    .nav-link {

        a,
        a:hover {
            color: inherit;
        }

        color: #1a1a1a;

        .rolling-text {
            height: 30px;
            line-height: 30px;
            display: inline-block;
            overflow: hidden;

            .block {
                display: block;
            }

            .letter {
                display: inline-block;
                transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
            }

            .letter:nth-child(1) {
                transition-delay: 0s;
            }

            .letter:nth-child(2) {
                transition-delay: 0.015s;
            }

            .letter:nth-child(3) {
                transition-delay: 0.03s;
            }

            .letter:nth-child(4) {
                transition-delay: 0.045s;
            }

            .letter:nth-child(5) {
                transition-delay: 0.06s;
            }

            .letter:nth-child(6) {
                transition-delay: 0.075s;
            }

            .letter:nth-child(7) {
                transition-delay: 0.09s;
            }

            .letter:nth-child(8) {
                transition-delay: 0.105s;
            }

            .letter:nth-child(9) {
                transition-delay: 0.12s;
            }

            .letter:nth-child(10) {
                transition-delay: 0.135s;
            }

            .letter:nth-child(11) {
                transition-delay: 0.15s;
            }

            .letter:nth-child(12) {
                transition-delay: 0.165s;
            }

            .letter:nth-child(13) {
                transition-delay: 0.18s;
            }

            .letter:nth-child(14) {
                transition-delay: 0.195s;
            }

            .letter:nth-child(15) {
                transition-delay: 0.21s;
            }

            .letter:nth-child(16) {
                transition-delay: 0.225s;
            }

            .letter:nth-child(17) {
                transition-delay: 0.24s;
            }

            .letter:nth-child(18) {
                transition-delay: 0.255s;
            }

            .letter:nth-child(19) {
                transition-delay: 0.27s;
            }

            .letter:nth-child(20) {
                transition-delay: 0.285s;
            }

            .letter:nth-child(21) {
                transition-delay: 0.3s;
            }

            &:hover {
                .letter {
                    transform: translateY(-100%);
                }
            }

            &.play {
                .letter {
                    transform: translateY(-100%);
                }
            }
        }
    }

    .sub-menu .dropdown-toggle:after {
        display: none;
    }
}

.infolio-menu .default .navbar-toggler {
    font-size: 20px;
    border-radius: 0;
    padding: 0;

    .icon-bar {
        i {
            color: #fff;
        }
    }
}

.infolio-menu .menu-list {
    height: 100vh;
    padding-top: 140px;
    overflow: auto;

    .navigation li.menu-item-has-children>a:after {
        display: none;
    }

    &::-webkit-scrollbar {
        width: 5px;
    }

    &::-webkit-scrollbar-track {
        background: #eee;
    }

    &::-webkit-scrollbar-thumb {
        background: #aaa;
        border-radius: 5px;
    }

    >div {
        position: relative;
        z-index: 2;

        .navigation {

            >.menu-item {

                a,
                a:hover {
                    color: inherit;
                }

                color: #1a1a1a;
                transition: all .5s;
                display: block;
                overflow: hidden;
                border-top: 1px solid rgba(0, 0, 0, 0.05);

                .o-hidden {
                    overflow: hidden;
                }

                .cursor-pointer {
                    cursor: pointer;
                }

                &.sub-menu-open {
                    a {
                        &:before {
                            display: none;
                        }
                    }
                }

                i {
                    position: absolute;
                    width: 90px;
                    top: 0;
                    right: 0;
                    bottom: 0;
                    background: rgba(0, 0, 0, 0.02);
                }

                &.menu-item-has-children {
                    a {

                        &:before {
                            content: '';
                            width: 1px;
                            height: 16px;
                            position: absolute;
                            top: 45px;
                            right: 45px;
                            background: #1a1a1a;
                        }

                        &:after {
                            content: '';
                            width: 16px;
                            height: 1px;
                            position: absolute;
                            top: calc(45px + 8px);
                            right: calc(45px - 8px);
                            background: #1a1a1a;
                        }
                    }
                }

                a {
                    width: 100%;
                    display: block;
                    transition: all .7s;
                    color: #1a1a1a;

                    .nm {
                        opacity: .8;
                        font-size: 13px;
                        margin-right: 10px;
                    }

                    &:hover {
                        opacity: 1;
                    }

                    &.dopen {

                        i {

                            &:before {
                                opacity: 0;
                            }
                        }
                    }
                }

                &.hoverd {

                    a {

                        &:after {
                            width: 0;
                        }
                    }
                }

                .sub-menu {
                    border-top: 1px solid rgba(255, 255, 255, 0.05);
                    background: transparent;
                    display: none !important;
                    box-shadow: none;
                    width: 100%;
                    height: 0px;
                    padding: 20px 0;

                    li {
                        padding: 0;
                        margin: 0;
                        line-height: 1;
                        font-size: 22px;
                        font-weight: 400;

                        a {
                            padding: 12px 10px;
                            opacity: .6;
                            transition: all .4s;
                            line-height: 1;
                            font-size: 22px;
                            font-weight: 400;

                            &:after {
                                display: none;
                            }

                            &:hover {
                                opacity: 1;
                            }
                        }

                        &.menu-item-has-children {
                            &>.cursor-pointer>a {
                                position: relative;

                                &:before {
                                    display: block;
                                    content: '';
                                    width: 1px;
                                    height: 16px;
                                    position: absolute;
                                    top: 50%;
                                    right: 45px;
                                    background: #1a1a1a;
                                }

                                &:after {
                                    display: block;
                                    content: '';
                                    width: 16px;
                                    height: 1px;
                                    position: absolute;
                                    top: calc(50% + 8px);
                                    right: calc(45px - 8px);
                                    background: #1a1a1a;
                                }

                            }

                            &.sub-menu-open {
                                &>.cursor-pointer>a {
                                    &:before {
                                        display: none;
                                    }
                                }
                            }
                        }
                    }

                    &.sub-open {
                        display: block !important;
                        opacity: 1 !important;
                        height: 100% !important;
                        overflow: inherit !important;
                        position: relative;
                    }
                }
            }

        }
    }
}

@media screen and (max-width: 992px) {
    .infolio-menu .default .navbar-nav {
        position: absolute;
        padding: 0;
        margin: 0;
        width: 100vw;
        background: #1d1d1d;
        z-index: 999;
    }
}

body.tcg-dark-mode {
    .infolio-menu {
        .default {
            .navbar-nav {
                .dropdown-menu {
                    border: 1px solid #393939;
                    background-color: #1d1d1d;

                    .dropdown-item {
                        color: #fff;

                        a {
                            color: #FFFFFF;
                        }

                        .icon-arrow {
                            color: #FFFFFF;
                            fill: #FFFFFF;
                        }

                        &::after {
                            background: #fff;
                        }

                        .dropdown-side {
                            border-color: #393939;
                            background: #1d1d1d;
                        }
                    }
                }
            }
        }

        .menu-list {
            &::-webkit-scrollbar {
                width: 5px;
            }

            &::-webkit-scrollbar-track {
                background: #111;
            }

            &::-webkit-scrollbar-thumb {
                background: rgba(255, 255, 255, .2);
                border-radius: 5px;
            }

            .navigation>.menu-item {
                border-top: 1px solid rgba(255, 255, 255, 0.05);

                a {
                    color: #fff;
                }

                &.menu-item-has-children {
                    a {

                        &:before {
                            background: #fff;
                        }
    
                        &:after {
                            background: #fff;
                        }
                    }
                }

                color: #fff;

                i {
                    background: rgba(255, 255, 255, 0.02);
                }

                &.sub-menu-open {
                    background: rgba(255, 255, 255, 0.02);
                }

                .sub-menu {

                    li {
                        &.menu-item-has-children {
                            &>.cursor-pointer>a {

                                &:before {
                                    background: #fff;
                                }

                                &:after {
                                    background: #fff;
                                }
                            }
                        }

                    }
                }
            }
        }
    }
}

@media (prefers-color-scheme: dark) {
    body.tcg-auto-mode {
        .infolio-menu {
            .default {
                .navbar-nav {
                    .dropdown-menu {
                        border: 1px solid #393939;
                        background-color: #1d1d1d;

                        .dropdown-item {
                            color: #fff;

                            a {
                                color: #FFFFFF;
                            }

                            .icon-arrow {
                                color: #FFFFFF;
                                fill: #FFFFFF;
                            }

                            &::after {
                                background: #fff;
                            }

                            .dropdown-side {
                                border-color: #393939;
                                background: #1d1d1d;
                            }
                        }
                    }
                }
            }

            .menu-list {
                &::-webkit-scrollbar {
                    width: 5px;
                }

                &::-webkit-scrollbar-track {
                    background: #111;
                }

                &::-webkit-scrollbar-thumb {
                    background: rgba(255, 255, 255, .2);
                    border-radius: 5px;
                }

                .navigation>.menu-item {
                    border-top: 1px solid rgba(255, 255, 255, 0.05);

                    a {
                        color: #fff;
                    }

                    &.menu-item-has-children {
                        a {
    
                            &:before {
                                background: #fff;
                            }
        
                            &:after {
                                background: #fff;
                            }
                        }
                    }

                    color: #fff;

                    i {
                        background: rgba(255, 255, 255, 0.02);
                    }

                    &.sub-menu-open {
                        background: rgba(255, 255, 255, 0.02);
                    }

                    .sub-menu {

                        li {
                            &.menu-item-has-children {
                                &>.cursor-pointer>a {
    
                                    &:before {
                                        background: #fff;
                                    }
    
                                    &:after {
                                        background: #fff;
                                    }
                                }
                            }
    
                        }
                    }
                }
            }
        }
    }
}