@media (max-width: 576px) {
    #linking {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    #categories .card span {
        padding: 5px!important;
        min-height: 40px!important;
    }
}

@media (max-width: 991.98px) {
    #header .navbar {
        background-color: black;
        padding: 10px 0!important;
    }

    footer {
        padding-bottom: 50px;
    }

    #header .fa-bars {
        color: white;
        font-size: 25px;
    }

    #topmenu li.active a {
        color: white;
    }

    #topmenu ul, #topmenu .dropdown-menu {
        background-color: white;
    }

    #topmenu ul a, #topmenu ul span {
        color: black;
    }

    #topmenu li {
        border-bottom: 1px solid #e0d8d8;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    #topmenu ul :last-child {
        border: none;
    }

    #linking_shtab div {
        margin-bottom: 2rem;;
    }

    #linking_shtab p {
        margin-bottom: 0.5rem;
    }

    #topmenu ul li {
        text-align: left;
    }

    #lsb .favorites, #lsb .minicart, #lsb .comparison {
        margin-top: 10px;
    } 
}

@media (min-width: 992px) and (max-width: 1199.98px)
{
    #topmenu a, #topmenu span {
        padding: 0.4rem 0.35rem!important;
    }

    #linking_shtab a {
        font-size: 0.98rem;
    }

    #linking_shtab p {
        min-height: 42px;
    }
}

@media (min-width: 767.98px) and (max-width: 1199.98px)
{
    #content .nav a.nav-link {
        padding: .5rem!important;
    }
}

@media (min-width: 1200px)
{
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1140px!important;
    }
}