﻿body {
}
.row.th-header-top {
    padding: 20px 20px;
    padding-bottom: 10px;
    flex-direction: row;
    justify-content: flex-start;
}

.mobile-main-nav {
    display: none;
}

.col-sm-3.th-main-logo {
    max-width: 15%;
    margin-right: 2rem;
}

.header__logo a img {
    width: -webkit-fill-available;
    /*
    height: 5em;
    width: auto;
    */
}

.header.th-header-bottom {
    background: #00005A;
    width: 100%;
    margin-left: 0;
    height: 50px;
}

.search-field {
    width: 95%;
    margin-left: 1em;
    padding-top: 2px;
}

input.search-input-header {
    width: inherit;
    border: none;
}

    input.search-input-header:focus {
        outline: none;
        border: none;
    }

.search-image-header {
    transition: 0.5s ease;
    cursor: pointer;
    user-select: none;
    font-size: 20px;
    margin-left:auto;
}

    .search-image-header:hover {
        transform: scale(1.5);
        transition: 0.5s ease;
    }

    .close-icon {
        display:none;
        cursor:pointer;
        font-size: 20px;
        color: white;
        margin-left: 10px;
    }

.th-main-nav .th-mm-nav ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    margin-top: 5px;
}

.th-main-nav .th-mm-nav ul a {
    text-decoration: none;
    color: #000000;
    font-weight: bold;
}

.th-main-nav .th-mm-nav ul a:first-child {
    color: #FFFFFF;
}

.th-header-actions .header__icons {
    display: flex;
    justify-content: flex-end;
    width: fit-content;
}

.th-header-actions .header__icons .icon {
    padding: 0px 10px;
}

.th-header-actions .header__icons .icon img {
    width: 20px;
    height: 20px;
}

.th-header-actions .header__icons .icon span.count {
    background-color: #000000;
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 11px;
    padding: 2.5px 5.5px 3px 5px;
    position: absolute;
    border: 2.4px solid #FFFFFF;
    margin-left: -8px;
    margin-top: -13px;
}

.th-header-actions .header__icons .icon a {
    text-decoration: none;
}

.header__th .th-hb-logouser, .header__th .th-hb-nav {
    display: flex;
}

.header__th .th-hb-nav {
    justify-content: space-around;
}

nav.tb-sub-header ul {
    display: flex;
    list-style: none;
    padding-left: unset;
    margin-bottom: 0px;
}

nav.tb-sub-header ul li {
    padding-right: 20px;
    justify-content: flex-end;
    color: #FFFF;
}

nav.tb-sub-header ul li a {
    text-decoration: none;
    color: #000000;
    font-family: Roboto;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.col-sm-4.th-hb-logouser.th-top-header-logouser {
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 0px;
    max-width: 20%;
    margin-top: -5px;
}

nav.tb-sub-header.tb-sub-top-header {
    margin-left: 15px;
    padding-left: 0px;
}

.col-sm-3.th-header-actions {
    max-width: 20%;
}

p.tb-usnm {
    margin-left: 15px;
    padding-top: 5px;
    color: #000000;
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    margin-bottom: 0px;
    line-height: normal;
}

.th-hb-locsec.jb {
    display: flex;
    background-color: #FFFFFF;
    border-radius: 30px;
    padding: 8px 10px 7px 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    box-shadow: 3px 3px 7px 3px rgba(0,0,0,0.09);
    width: 35%;
    max-height: 45px;
    flex-direction: row;
    margin-left: 11%;
    margin-right: 1%;
}

.th-main-nav.desktop-main-nav {
    margin-left: auto;
    margin-right: auto;
}

.th-hb-locsec {
    display: flex;
    background-color: #FFFFFF;
    border-radius: 30px;
    padding: 7px 10px 7px 10px;
    margin-bottom: 4px;
    box-shadow: 3px 3px 7px 3px rgba(0,0,0,0.09);
    width: 45%;
    max-height: 45px;
    flex-direction: row;
}

.th-hb-locsec img {
    width: 24px;
}

.th-hb-locsec p {
    margin-bottom: 0px;
    font-size: 15px;
    padding-left: 7px;
    padding-top: 4px;
    padding-right: 15px;
    color: #0067A3;
    font-weight: 500;
}

.th-hb-loc-change a {
    color: #FFFFFF;
    text-align: right;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration-line: underline;
}

nav.tb-sub-header {
    /* padding-top: 8px; */
}

.navbar-topright-links {
    width: 35%;
    margin-left: 0;
    display: flex;
    flex-direction: row;
}

.navbar-topright-single-link {
    margin-right: 1.5rem;
    margin-left: 2.5rem;
    display: flex;
    flex-direction: column;
}

.navbar-topright-single-a-link {
    display: flex;
    flex-direction: row;
    text-decoration: none;
}

.navbar-topright-single-link-icon {
    margin-right: 0.5rem;
}

.navbar-phone-icon {
    margin-top: 4px;
    color:white;
    
}

.navbar-topright-single-link-text {
    margin-top: -5px;
}

.go-green-div-link {
    min-height: 36px;
    min-width: 132px;
    margin-top: -1rem;
    margin-left: 2rem;
}

.go-green-link {
    background: url(../images/gogreen.png) top no-repeat;
    min-height: 36px;
    min-width: 132px;
    margin-bottom: 10px;
    /*background-size: cover;*/
}

.navbar-topright-single-link:first-child {
    margin-top: -3px;
    margin-bottom: 5px;
}

.nav-item-desk {
    /*margin-right: 11%;
    margin-left: -1%;
    */
}
/* Mega Menu  */
/*
.tb-top-header ul.mega-menu {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background-color: transparent !important;
    text-align: left;
    visibility: hidden;
    opacity: 0;
    transition: all .2s ease;
    transition-delay: .5s;
    justify-content: space-around;
    display: block;
    z-index: 9;
    margin-top: 12px !important;
}
*/
.tb-top-header {
    position: relative;
    z-index: 1000;
}
.tb-top-header ul.mega-menu {
    position: absolute;
    top: 100%;
    left: 30%;
    transform: translateX(-50%);
    width: 145%;
    max-width: 1600px;
    background-color: transparent !important;
    text-align: left;
    visibility: hidden;
    opacity: 0;
    transition: all .2s ease;
    transition-delay: .5s;
    justify-content: space-around;
    display: block;
    z-index: 999;
    margin-top: 12px;
}

.mega-menu-content .row .col {
    padding: 35px 25px;
    padding-bottom:5px;
    padding-top: 0px;
    padding-left: 0px;
}

.mega-menu-content .row ul {
    display: inline-grid;
    padding-left: 0px;
}

.tb-top-header ul.mega-menu .mega-menu-content .col:nth-child(even) {
    background-color: #f9f9f9;
}

.tb-top-header li.has-child:hover > ul.mega-menu {
    visibility: visible;
    opacity: 1;
}

ul.sb-nav-item li {
    padding: 5px 10px !important;
    display: flex;
}

.mega-menu-content {
    padding-left: 0px;
}

ul.sb-nav-item li a {
    font-weight: 500 !important;
    color: #616265 !important;
}

.tb-top-header ul.mega-menu .mega-menu-content .col:nth-child(1) ul.sb-nav-item > li > a:hover,
.tb-top-header ul.mega-menu .mega-menu-content .col:nth-child(1) ul.sb-nav-item > li.active > a {

    color: #000000 !important;
}

.tb-top-header ul.mega-menu .mega-menu-content .col ul.sb-nav-item > li > a:hover {
    color: #000000 !important;
}

ul.mega-menu ul.sb-nav-item > li > a > span.tbh-icn {
    display: none;
}

.tb-top-header ul.mega-menu .mega-menu-content .col:nth-child(1) ul.sb-nav-item > li > a:hover > span.tbh-icn,
.tb-top-header ul.mega-menu .mega-menu-content .col:nth-child(1) ul.sb-nav-item > li.active > a > span.tbh-icn {
  /*  display: inline-block;
    background: url('/assets/images/icn-circle-right.svg');
    width: 32px;
    height: 35px;
    background-repeat: no-repeat;
    margin-left: 15px;
    margin-bottom: -12px;*/
}

ul.sb-nav-item.hidden {
    display: none;
}

ul.sb-nav-item.active {
    display: inline-grid;
}

ul.sb-nav-item li.active a {
    font-weight: bold !important;
}

p.tb-usnm span {
    width: 100%;
}

.col-sm-4.th-hb-logouser {
    margin-bottom: 5px;
    margin-top: 5px;
}

.th-hb-loc-change a {
    text-decoration: none;
}

.col-sm-4.th-hb-logouser {
    max-width: 11%;
}

span.job-location-change-fa-icon {
    color: #FF6319;
    margin-right: 0;
    margin-top: 2px;
    margin-left: auto;
}

a#showJobSearchModal {
    margin-right: 0;
    margin-left: auto;
    margin-top: 3px;
}

.th-wt-logo img {
    width: auto;
    height: 25px;
    margin-left: 5px;
}
/* */
.icon.logout-icon {
    width: max-content;
}

.icon.logout-icon a {
    font-size: 15px;
    font-weight: 500;
}
/* */

@media only screen and (min-width: 1030px) {
    p.tb-usnm span {
        /*
        float: left;
        width: 100%;
        */
    }

    .col-sm-4.th-hb-logouser {
        max-width: 11%;
    }

    .header.th-header-bottom .row {
        justify-content: start;
        margin-right: 0;
        padding-right: 0;
    }

    .header.th-header-bottom .row {
        justify-content: flex-start;
        margin-right: 0;
        min-width: 100%;
        padding-right: 0;
    }

    .tb-sub-header {
        /* padding-top: 8px; */
        width: max-content;
    }

    .th-hb-loc-change {
        width: 15em;
    }
}

@media only screen and (max-width: 767px) {
    .modal.th-modal.edit-jobadd-modal .modal-dialog {
        max-width: 95%;
        margin-left: 1%;
        margin-right: auto;
    }

    .th-header-actions .header__icons {
        margin-top: 5px;
    }

    .mobile-main-nav {
        display: block;
    }

    div#addressModal {
        margin-left: 1%;
    }

    .modal-dialog {
        min-width: 95%;
    }

    a#showJobSearchModal {
        margin-top: 10px;
    }

    .th-hb-locsec {
        max-width: 63%;
        margin-left: 0em;
        width: 63%;
        min-height: 3.5em;
    }

        .th-hb-locsec.jb {
            max-width: 56%;
            margin-left: 0;
            width: 56%;
            min-height: 2.5em;
            margin-top: -3px;
        }

    input.search-input-header {
        width: 85%;
        max-width: 85%;
        margin-left: 5px;
    }

    .th-hb-locsec p {
        margin-left: -6px;
    }

    .th-hb-locsec img {
        width: 15px;
        margin-right: 8px;
        margin-left: -5px;
    }

    .col-sm-8.th-hb-nav {
        flex-direction: column;
    }

    .th-hb-locsec {
        border-radius: 30px
    }

        .th-hb-locsec.jb {
            border-radius: 30px
        }

    nav.tb-sub-header ul, .th-hb-loc-change {
        justify-content: space-between;
        padding-top: 10px;
    }

    nav.tb-sub-header {
        padding-right: 0;
        margin-right: -1em;
        margin-bottom: 0;
        margin-top: -7px;
    }

    .col-sm-3.th-header-actions {
        max-width: 20%;
        margin-left: auto;
        margin-right: 13em;
    }

    .modal-content {
        width: 1000%;
        height: 96vh;
    }

    .th-hb-loc-change {
        margin-left: -10px;
    }

    .th-hb-locsec p {
        padding-right: 0px;
    }

    .th-hb-loc-change {
        display: flex;
    }

    .desktop-main-nav {
        display: none;
    }

    .col-sm-3.th-main-logo {
        width: 42%;
        max-width: 42%;
        margin-right: 1%;
    }

    .search-field {
        margin-left: 0;
    }

    .col-sm-4.th-hb-logouser.th-top-header-logouser {
        flex-direction: row;
        margin-bottom: 10px;
        max-width: 100%;
        margin-top: 10px;
        justify-content: space-between;
    }

    p.tb-usnm {
        font-size: 16px;
        margin-left: 0px;
    }

    #overlay-button {
        right: 3.2em;
        top: 9.8rem;
    }

    #overlay {
        top: 12.3rem;
    }

    .mobile-menu a[data-target]:after {
        right: 10.5%;
    }

    .navbar-topright-links {
        width: 100%;
        padding: 0;
        margin-top: 15px;
    }

    .navbar-topright-links-column {
        width: auto;
        margin-right: 3%;
        margin-left: 5%;
    }

    .navbar-topright-single-link:first-child {
        margin-top: 0px;
        margin-bottom: 5px;
    }

    .navbar-topright-single-link {
        margin-left: 0;
        margin-right: 0;
        display: flex;
        flex-direction: column;
    }

    .header.th-header-bottom {
        min-height: 2em;
        margin-top: -1.30em
    }

    .go-green-link {
        margin-left: -1em;
    }
}

@media only screen and (min-width: 768px) and (max-width: 860px) {
    .desktop-main-nav {
        display: none;
    }

    .mobile-main-nav {
        display: block;
    }

    .row.th-header-top {
        padding: 20px 20px;
        flex-direction: row;
        justify-content: flex-start;
    }

    .col-sm-3.th-main-logo {
        width: 25em;
        max-width: 25em;
    }

    .th-hb-locsec, .th-hb-locsec.jb {
        margin-left: 1em;
        min-height: 2.5em;
        margin-top: 0px;
        border-radius: 30px;
    }

    .col-sm-4.th-hb-logouser.th-top-header-logouser {
        flex-direction: row;
        max-width: 35em;
        width: 35em;
        margin-top: 1em;
        justify-content: space-between;
    }

    nav.tb-sub-header.tb-sub-top-header {
        margin-top: 5px;
        margin-left: 5em;
        padding-left: 0px;
        width: max-content;
    }

    p.tb-usnm {
        font-size: 17px;
        margin-left: 0px;
        width: max-content;
    }

    nav.tb-sub-header ul li a {
        font-size: 17px;
    }

    .col-sm-3.th-header-actions {
        max-width: 20em;
        margin-left: auto;
        margin-right: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        margin-top: 15px;
    }

    #overlay-button {
        right: 5.2em;
        top: 10.3em;
    }

    #overlay {
        top: 10.5em;
    }

    .mobile-menu a[data-target]:after {
        right: 5%;
    }
}

@media only screen and (min-width: 861px) and (max-width: 1079px) {
    .desktop-main-nav {
        display: none;
    }

    .mobile-main-nav {
        display: block;
    }

    .th-hb-locsec, .th-hb-locsec.jb {
        max-width: 100%;
        margin-left: 0em;
    }

    .th-hb-loc-change {
        display: flex;
    }

    .th-hb-locsec p {
        margin-left: -6px;
    }

    .th-hb-locsec img {
        width: 15px;
        margin-right: 8px;
        margin-left: -5px;
    }

    .col-sm-8.th-hb-nav {
        flex-direction: column;
    }

    .th-hb-locsec, .th-hb-locsec.jb {
        border-radius: 30px
    }

    nav.tb-sub-header ul, .th-hb-loc-change {
        justify-content: space-between;
        padding-top: 10px;
    }

    nav.tb-sub-header {
        padding-right: 0;
        margin-right: -1em;
        margin-bottom: -5px;
        margin-top: -1em;
    }

    .th-hb-loc-change {
        margin-left: -10px;
    }

    .th-hb-locsec p {
        padding-right: 0px;
    }

    nav.tb-sub-header ul li {
        padding-right: 0px;
        margin-top: 10px;
    }

        nav.tb-sub-header ul li a {
            width: max-content;
            font-size: 17px;
        }

    nav.tb-sub-header.tb-sub-top-header {
        margin-left: 5px;
        padding-left: 0px;
    }

    p.tb-usnm {
        margin-left: 0;
        font-size: 17px;
    }

    .col-sm-4.th-hb-logouser.th-top-header-logouser {
        max-width: 21%;
    }
}

@media (width: 810px) {
    /* Specific fix for iPad 10*/
    button.slick-next.slick-arrow {
        margin-right: -5em;
        margin-top: -10em;
    }

    button.slick-prev.slick-arrow {
        margin-top: 10em;
        margin-left: -90px;
    }

    #overlay-button {
        position: absolute;
        padding: 26px 11px;
        z-index: 5;
        cursor: pointer;
        user-select: none;
    }

    .mobile-menu a[data-target]:after {
        right: 5%;
    }
}
/* ******************************************************************************** Breadcrumb List ************************************************************* */
.breadcrumb-area > .container {
    padding-left: 1.5rem;
    margin-left: 0;
}

section.breadcrumb-area {
    margin-left: 5px;
}

.tbh-breadcrumb.breadcrumbs {
    margin-top: 20px;
    margin-bottom: 25px;
}

.tbh-breadcrumb.breadcrumbs li.tbh-br-item {
    color: #00005A;
    font-family: Roboto;
    font-size: 12px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
    text-transform: capitalize;
}

.tbh-breadcrumb ul.tbh-br-list li {
    padding-right: 5px;
}

.tbh-breadcrumb.breadcrumbs li.tbh-br-item a {
    text-decoration: none;
    color: #00005A;
    font-size: 14px;
}

li.tbh-br-item a:after {
    content: '/';
    padding-left: 5px;
    font-size: 12px !important;
}

li.tbh-br-item.tbh-end.current a span {
    font-size: 12px !important;
}
/* ******************************************************************************** Breadcrumb List ************************************************************* */

/* ******************************************************************************** Mobile Menu ************************************************************* */
#overlay-button {
    position: absolute;
    padding: 19px 0px;
    z-index: 999;
    cursor: pointer;
    user-select: none;
}

    #overlay-button span:focus {
        background-color: #FFFFFF;
    }

    #overlay-button span {
        height: 4px;
        width: 35px;
        border-radius: 2px;
        background-color: #FFFFFF;
        position: absolute;
        display: block;
        transition: all 0.2s ease-in-out;
    }

        #overlay-button span:before {
            top: -10px;
            visibility: visible;
        }

        #overlay-button span:after {
            top: 10px;
        }

        #overlay-button span:before, #overlay-button span:after {
            height: 4px;
            width: 35px;
            border-radius: 2px;
            background-color: #FFFFFF !important;
            position: absolute;
            content: "";
            transition: all 0.2s ease-in-out;
        }

    #overlay-button:hover span, #overlay-button:hover span:before, #overlay-button:hover span:after {
        background: #FFFFFF;
    }
/*
input[type=checkbox] {
    display: none;
}
*/
input[type=checkbox]:checked ~ #overlay {
    visibility: visible;
}

input[type=checkbox]:checked ~ #overlay-button:hover span, input[type=checkbox]:checked ~ #overlay-button span {
    background: transparent;
}

    input[type=checkbox]:checked ~ #overlay-button span:before {
        transform: rotate(45deg) translate(7px, 7px);
        opacity: 1;
    }

    input[type=checkbox]:checked ~ #overlay-button span:after {
        transform: rotate(-45deg) translate(7px, -7px);
    }

#overlay {
    position: absolute;
    height: auto;
    width: 100vw;
    background: #000000;
    z-index: 999999;
    visibility: hidden;
    left: 0;
    margin-top: 7vh;
    overflow: hidden;
}
#overlay-input:checked + label + #overlay {
    visibility: visible;
    opacity: 1;
}

#overlay.active {
    visibility: visible;
}

.fm-cat-ids,
.has-children,
.cat-label {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.fm-man-ids label {
    pointer-events: none;
}
#m-reset-filters {
    touch-action: manipulation;
    cursor: pointer;
}

label#overlay-button {
    color: #FFFFFF;
}
/******************************/
.btn.btn-primary.btn-rentals {
    background-color: #0067A3 !important;
    border: #0067A3 !important;
}

.btn.btn-primary.btn-goods-and-supplies {
    background-color: #990033 !important;
    border: #990033 !important;
}

.btn.btn-primary.btn-services {
    background-color: #00873C !important;
    border-color: #00873C !important;
}
/******************************/

/* ****************************************** Multi Level Toggle ***********************************/
.mobile-menu {
    text-align: left;
    max-height: calc(100vh - 57px);
    overflow: auto;
    border-bottom: solid 1px #9AB87A;
    font-size: 20px;
}

    .mobile-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-menu li {
        display: block;
        position: relative;
    }

    .mobile-menu a {
        display: block;
        padding: 1rem;
        text-decoration: none;
    }

        .mobile-menu a[data-target]:after {
            display: block;
            content: "";
            width: 2.5rem;
            height: 2.5rem;
            position: absolute;
            top: 0.55rem;
            background-position: center center;
            background-repeat: no-repeat;
            background-size: 2rem;
            transform: rotate(90deg);
            transition: transform 0.3s ease-in-out;
        }

        .mobile-menu a[data-target].collapsed:after {
            transform: rotate(0deg);
        }

    .mobile-menu .level1-styles {
        background-color: #FFFFFF;
    }

        .mobile-menu .level1-styles li:not(:last-child) {
            border-bottom: solid 1px #ededed;
        }

        .mobile-menu .level1-styles a {
            color: #616265;
            font-weight: 600;
            text-decoration: none;
        }

            .mobile-menu .level1-styles a:after {
                background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
                width: 17px;
            }

    .mobile-menu .level2-styles {
        background-color: #F9F9F9;
    }

        .mobile-menu .level2-styles li:not(:last-child) {
            border-bottom: solid 1px #ededed;
        }

        .mobile-menu .level2-styles a {
            color: #616265;
            margin-left: 1em;
            font-weight: 600;
            text-decoration: none;
        }

            .mobile-menu .level2-styles a:after {
                background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
                width: 17px;
            }

    .mobile-menu .level3-styles {
        background-color: #FFFFFF;
    }

        .mobile-menu .level3-styles li:not(:last-child) {
            border-bottom: solid 1px #ededed;
        }

        .mobile-menu .level3-styles a {
            color: #616265;
            margin-left: 2em;
            font-weight: 600;
            text-decoration: none;
        }

            .mobile-menu .level3-styles a:after {
                background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
                width: 17px;
            }

    .mobile-menu .level4-styles {
        background-color: #F9F9F9
    }

        .mobile-menu .level4-styles li:not(:last-child) {
            border-bottom: solid 1px #ededed;
        }

        .mobile-menu .level4-styles a {
            color: #616265;
            margin-left: 3em;
            font-weight: 600;
            text-decoration: none;
        }

            .mobile-menu .level4-styles a:after {
                background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
                width: 17px;
            }
/* ****************************************** Multi Mobile ***********************************/
@media only screen and (min-width: 810px) and (max-width: 1023px) {
    #overlay-button {
        right: 6em;
        top: 7.9em;
    }

    .mobile-menu a[data-target]:after {
        right: 5%;
    }

    #overlay {
        left: 0em;
        top: 11em;
        overflow: scroll;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1032px) {
    #overlay-button {
        right: 6em;
        top: 5.1em;
    }

    .mobile-menu a[data-target]:after {
        right: 5%;
    }

    #overlay {
        left: 0em;
        top: 7.8em;
        overflow: scroll;
    }
}

@media only screen and (min-width: 768px) and (max-width: 860px) {
}

@media only screen and (max-width: 767px) {

    .th-hb-locsec.jb {
        max-width: 50px;
        margin-left: 0;
        width: 50px;
        min-height: 2.5em;
        margin-top: -3px;
        position: absolute;
        right: 20px;
    }

    .search-image-link {
        position: relative;
        top: -25px;
        left: 7px;
    }

    #fm-search-bar {
        height: 40px !important;
        padding: 20px !important;
    }

    #fm-search-bar::placeholder {
        opacity: 0;
    }
}
/* ****************************************** Multi Mobile ***********************************/
/* ****************************************** Multi Level Toggle ***********************************/
nav.tb-top-header-mobile input[type=checkbox] {
    display: none;
}
/* ******************************************************************************** Mobile Menu ************************************************************* */



@media (min-width: 992px) {
    .th-hb-locsec {
        background-color: #FFFFFF;
        border-radius: 30px;
        padding: 7px 10px;
        margin-bottom: 4px;
        box-shadow: 3px 3px 7px 3px rgba(0, 0, 0, 0.08);
        flex-direction: row;
        display: flex;
        align-items: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .fm-mobile-search-wrapper {
        position: relative;
        justify-content: flex-end;
        align-items: center;
        padding-right: 10px;
        width: 100%;
    }

    .fm-mobile-search-icon {
        position:absolute;
        font-size: 22px;
        color: #00005A;
        cursor: pointer;
        margin-top: -40px;
        margin-bottom: 5px;
    }

    .fm-mobile-search-box {
        display: none;
        flex-direction: row;
        position: relative;
        margin-top: 15px;
        margin-bottom: 5px;
        width: 100%;
        border-radius: 50px;
        background-color: #FFFFFF;
        border: none;
        box-shadow: 3px 3px 3px 3px rgba(0, 0, 0, 0.09);
    }

    .fm-mobile-search-box.show {
        display: unset;
            
    }

    .fm-mobile-search-input {
        width: 100%;
        padding: 13px 38px 18px 13px;
        font-size: 14px;
        border:none;
        border-radius: 10%;
        outline:none;
        background-color:transparent;
        box-shadow:none;
    }

    .fm-mobile-search-close {
        position: absolute;
        right: 15px;
        top: 17px;
        font-size: 18px;
        color: red;
        cursor: pointer;
    }
}


@media (max-width: 640px) {
    .top-buttons-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        justify-items: start;
        align-items: start;
        margin-bottom: 10px;
        font-size:15px;
    }

    .top-buttons-container > * {
        width: 80%; 
        text-align: start;
    }

    /* Fix for phone number overlapping bottom menu */
    .phone-number {
        position: absolute;
        z-index: 10;
        background-color: white; /* Or match your theme */
    }

    /* Optional: if your navbar expands weirdly on sm devices */
    .navbar-menu {
        z-index: 20;
        background-color: white;
        position:relative;
    }
}

@media (max-width: 768px) {
    .nav-item {
        background: #ffffff;
        border: 1px solid #dcdcdc;
        border-radius: 10px;
        padding: 12px 0;
        text-align: center;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.2s ease-in-out;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    }
    .nav-item:hover {
        background: #f0f8ff;
        transform: translateY(-2px);
    }
}
@media only screen and (min-width: 769px) and (max-width: 850px) {
    #overlay {
        margin-top: 2em !important;
    }

    .fm-more-info {
        margin-left: 0!important;
    }

    .card.product-list-card {
        height: 590px!important;
    }

    .list-product-card {
        width: 50%;
        padding: 0;
    }
}
@media only screen and (min-width: 650px) and (max-width: 768px) {
    label#overlay-button {
        margin-top: 3.5em !important;
    }
}
@media only screen and (min-width: 769px) and (max-width: 830px) {
    label#overlay-button {
        margin-top: 2.5em !important;
    }
}
@media only screen and (min-width: 831px) and (max-width: 850px) {
    label#overlay-button {
        margin-top: 1.4em !important;
    }
}

@media only screen and (min-width: 851px) and (max-width: 990px) {
    #overlay {
        margin-top: 0.5em !important;
    }

    label#overlay-button {
        margin-top: 1.3em !important;
    }
    .list-product-card {
        width: 50%;
        padding: 0;
    }
}
@media only screen and (min-width: 991px) and (max-width: 1024px) {
    #overlay {
        margin-top: 4em !important;
    }

    label#overlay-button {
        margin-top: 4em !important;
    }
    .list-product-card {
        width: 50%;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .fm-mobile-search-wrapper {
        display: none !important;
    }

    .header-search-outer .search-field.th-hb-locsec.search-desk.d-none.d-lg-flex {
        display: flex !important;
    }

    .col-2.th-main-logo {
        width: 34%;
    }

    .col-4.offset-1.header-search-outer {
        width: 64%;
        margin-left: 15px;
    }

    .th-hb-locsec {
        width: 100%;
    }

    .search-field.th-hb-locsec.search-desk.d-none.d-lg-flex {
        margin-top: 15px !important;
    }

    .header-right-member {
        width: 100% !important;
        margin-left: 0px;
        margin-top: 20px;
    }

    .go-green-div {
        display: none !important;
    }

    .bcome-member-inner-div {
        margin-top: 0px !important;
    }

    .header-right-member .row.col-10.offset-1 {
        margin-left: 0;
    }
    .row.th-header-top {
        padding-bottom: 0!important;
    }
    .col-7.bcome-member-inner-div {
        width: 35%;
    }
    #cart-icon-container {
        margin-top: 0!important;
    }
    .cart-icon-div {
        width: 30%;
        margin-top: -5px;
        padding-left: 3em;
    }
    .login-member-div {
        width: 30%;
    }
    .shopping-cart-text {
        display: none!important;
    }
    .shopping-cart-icon {
        font-size: 25px!important;
    }

    /* ***** Product List ***** */
    .category-sidebar {
        width: 35%!important;
    }
    section#products {
        width: 65%;
    }

    /* ***** Featured and Current Promotions  ***** */
    .current-promotions-div img {
        max-height: 365px;
        object-fit: cover;
    }
    .featured-products-div img {
        max-height: 365px;
        object-fit: cover;
    }
    .current-promotions-div div {
        justify-content: left!important;
    }
    .featured-products-div div {
        justify-content: left!important;
    }
    .submit-become-member {
        width: 35%!important;
    }
    .reset-become-member {
        width: 35%!important;
    }
}
