@media (max-width: 991.98px) {
    .offcanvas-collapse {
        padding: 20px 0 0;
        position: fixed;
        top: 174px; /* Height of navbar */
        bottom: 0;
        text-align: left;
        left: 100%;
        width: 50%;
        padding-right: 1rem;
        padding-left: 1rem;
        overflow-y: auto;
        visibility: hidden;
        border-top: 1px solid #433b39;
        border-left: 1px solid #433b39;
        transition: transform .3s ease-in-out, visibility .3s ease-in-out;
    }
    .offcanvas-collapse.open {
        visibility: visible;
        transform: translateX(-100%);
        z-index: 100;
    }

    .menu-user .dropdown-menu.show {
        width: 100%;
        margin: 0!important;
        padding: 10px 0 10px 20px;
    }

    .menu-user .nav-item a {
        font-size: 18px;
    }

    .logo img {
        width: 248px;
    }
}
/*// Small devices (landscape phones, less than 768px)*/
@media (max-width: 767.98px) { 

    body {
        font-size: 14px;
    }

    .course-scrollbar .scroll-element.scroll-y {
        height: 246px;
        right: 0px;
        top: 31px;
        width: 30px;
    }

    .course-scrollbar .scroll-element .scroll-element_outer {
        top: 20px;
        height: 206px;
        bottom: 20px;
    }

    .logo img {
        width: 124px;
    }

    .dropdown-menu.show {
        width: 96px;
    }

    .button-gray-100 {
        width: 96px;
        font-size: 16px;
    }

    .w-145 {
        width: 145px;
    }

    .dropdown-item.hovered:after, .dropdown-item:hover:after,
    .fa-chevron-down:before {
        font-size: 10px;
    }

    .dropdown-item {
        padding: 0 5px 0 20px;
        
    }

    .title-heading {
        text-align: center;
        font-size: 18px;
    }

    .f-m-sm-16 {
        font-size: 16px;
    }

    .f-m-sm-12 {
        font-size: 12px;
    }
    

    .form-control {
        font-size: 17px;
        padding: 2px 6px;
        color: #707070;
    }

    .form-control::placeholder {
    font-size: 16px;

    }

    .f-n-sm-12 {
        font-size: 12px;
    }

    .f-n-sm-10 {
        font-size: 10px;
    }

    .f-n-sm-14 {
        font-size: 14px;
    }

    .f-b-sm-24 {
        font-size: 24px;
    }

    .custom-scrollbar.h-162 .scrollbar {
        max-height: 192px!important;
    }

    .custom-scrollbar.h-162 .scrollbar-inner > .scroll-element .scroll-element_outer {
        height:  150px;
    }

    .custom-scrollbar.h-432 .scrollbar-inner > .scroll-element.scroll-y,
    .custom-scrollbar.h-432 .scrollbar {
        max-height: 192px!important;
    }

    .custom-scrollbar.h-432 .scrollbar-inner > .scroll-element .scroll-element_outer {
        height:  150px;
    }

    .menu-user {
        position: absolute;
        right: 0;
        z-index: 100;
        width: auto;
    }

    .menu-user .dropdown-menu.show {
        width: 100%;
        margin: 0!important;
        padding: 10px 0 10px 20px;
    }

    .menu-user .nav-item a {
        font-size: 18px;
    }

    .offcanvas-collapse {
        padding: 20px 0 0;
        position: fixed;
        top: 121px; /* Height of navbar */
        bottom: 0;
        text-align: left;
        left: 100%;
        width: 100%;
        padding-right: 1.5rem;
        padding-left: 1.5rem;
        overflow-y: auto;
        visibility: hidden;
        border-top: 1px solid #433b39;
        transition: transform .3s ease-in-out, visibility .3s ease-in-out;
    }
    .offcanvas-collapse.open {
        visibility: visible;
        transform: translateX(-100%);
    }
}

