.bg-blur {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    z-index: 110;
}

.mobile-active {
    display: block !important;
    position: absolute !important;
    z-index: 111;
    left: 0;
    top: 120px;
    width: 100%;
    border-radius: 0 !important;
}

.mobile-active a {
    text-decoration: none;
}

.sidebar-menu {
    z-index: 111;
    position: relative;
    background: #fff;
}

.sidebar-menu li a {
    text-decoration: none;
    color: #112945;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
    text-align: left;
}

.category-button {
    font-size: 18px;
    color: #112945;
    width: 100%;
    padding: 0px !important;
    margin: 0px !important;
}

.category-button a {
    display: block;
    text-indent: 25px;
    font-weight: 400;
}

.btn-toggle-nav.list-unstyled li a:hover,
.category-button a:hover {
    background: #ebf0f0;
    color: #112945;
    font-weight: 700;
}

.category-button a:hover,
.menu-active {
    background: #ebf0f0;
    color: #112945;
    font-weight: 700 !important;
}

.menu-group-head span {
    width: 150px;
    height: 40px;
    margin: 20px;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    box-shadow: 0 1px 4px #c1c1c1;
    border-radius: 4px;
    white-space: nowrap;
}

.menu-group-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: -23px;
}

.menu-group-head div {
    font-size: 22px;
    padding: 18px;
    font-weight: 800;
    color: #112945;
}

.menu_title {
    min-height: 45px;
    display: flex;
    align-items: center
}

.menu_title span {
    display: block;
    width: 100%;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.menu-viewall-btn {
    width: 125px !important;
    margin: auto 20px auto 0px !important;
    color: white !important;
    padding: 5px 0 5px 15px !important
}

.btn-toggle-nav.list-unstyled img {
    max-width: 150px;
    max-height: 150px;
    width: 100%;
    height: auto;
}

.btn-toggle-nav.list-unstyled div {
    width: 100%;
    background: #fff;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
}

.btn-toggle-nav.list-unstyled li a {
    color: #585d62;
    display: block;
    width: 100%;
    padding: 1px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.25);
    min-height: 190px;
    text-indent: unset;
}

.btn-toggle-nav.list-unstyled li img {
    transition: transform .8s ease;
}

.btn-toggle-nav.list-unstyled li a:hover img {
    transform: scale(1.03);
}

.btn-toggle-nav.list-unstyled {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    max-height: 684px;
    overflow-y: scroll;
}

.menu-viewall-btn .spinner-border {
    font-size: 10px !important;
    padding: 0 !important;
    color: #fff !important;
}

.navbar-toggler span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #444;
    position: relative;
    left: 0;
    margin: 5px 0;
    opacity: 1;
    transition: all 0.5s ease-out;
    transform-origin: center left;
}

.navbar-toggler span:nth-child(1),
.navbar-toggler span:nth-child(3) {
    transform: translate(0%, 0%) rotate(0deg);
}

.navbar-toggler:not(.collapsed) span:nth-child(1) {
    transform: translate(15%, -33%) rotate(45deg);
}

.navbar-toggler:not(.collapsed) span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler:not(.collapsed) span:nth-child(3) {
    transform: translate(15%, 33%) rotate(-45deg);
}

@media screen and (max-width: 600px) {
    .main-menu {
        border: 1px solid #ebf0f0;
    }

    .bg-blur {
        display: none !important;
    }

    .btn-toggle-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .btn-toggle-nav li {
        white-space: nowrap;
    }

    .menu-viewall-btn {
        margin: auto 20px auto 0px !important;
    }

    .sidebar-menu li a {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
        font-size: 16px;
        font-weight: 500 !important;
    }

    .menu-group-head {
        margin-bottom: 0;
    }

    .menu-group-head span {
        margin-left: auto !important;
        margin-right: 15px !important;
    }

    .collapse.active {
        position: unset !important;
        width: 100% !important;
        background: none;
    }

    .main-menu {
        border: 1px solid #EBF0F0;
    }

    .btn-toggle-nav.list-unstyled li a {
        color: #585d62;
        display: block;
        width: 100%;
        padding: 1px;
        box-shadow: none !important;
        min-height: 190px;
        border: 1px solid #EBF0F0;
        border-radius: 10px;
    }

    .btn-toggle-nav.list-unstyled li a:hover {
        background: none !important;
    }
}

@media screen and (min-width: 1200px) {

    .category-button a:hover,
    .menu-active {
        background-image: url(https://cdn.vital-parts.co.uk/assets/images/menu-arrow.png) !important;
        background-position-x: 90% !important;
        background-position-y: center !important;
        background-repeat: no-repeat !important;
        background: #ebf0f0;
        color: #112945;
        font-weight: 700 !important;
    }

    #sidebar-menu-container {
        border: 1px solid #ebf0f0;
        border-radius: var(--bs-border-radius-lg) !important;
    }
}

@media screen and (max-width: 1200px) {
    .category-button {
        border-bottom: 1px solid #EBF0F0 !important;
        border-radius: 0px !important;
    }

    .category-button a {
        display: flex !important;
        justify-content: space-between;
    }

    .sidebar-wrapper button a img {
        width: 8px;
        height: 14px;
        margin-right: 10%;
        margin-top: 3px;
        transition: 300ms linear all;
    }

    .menu_title {
        overflow: auto !important;
        white-space: break-spaces;
    }

    .mobile-menu {
        cursor: pointer;
        margin-right: .5rem !important;
    }

    .menu-group-head .parent-name {
        visibility: hidden;
    }
}