/* 
        =================================
        RESET & BASE STYLES
        =================================
        */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    color: #000;
    overflow-x: hidden;
    /* line-height: 1.5;
        letter-spacing: 0.00938em; */
}

.container_medtigo img,
.container_medtigo svg {
    vertical-align: unset;
}

div.usermenu_contains:after {
    display: none;
}

/* 
        =================================
        MATERIAL-UI BREAKPOINTS REFERENCE
        xs: 0px (Small Mobile)
        sm: 600px (Mobile)
        md: 900px (Tablet)
        lg: 1200px (Desktop)
        xl: 1440px+ (Large Desktop)
        =================================
        
        LAYOUT COMPONENTS
        =================================
        */

/* Container */
.container_medtigo {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}

/* Toolbar */
.toolbar {
    display: flex;
    align-items: center;
    height: 56px;
    padding: 0 16px;
}

/* Flex utilities */
.flex-center {
    display: flex;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-grow {
    flex-grow: 1;
}

/* 
        =================================
        GLOBAL NAVIGATION
        =================================
        */

/* Global Nav Base */
.global-nav {
    background-color: #1c5087;
    width: 100%;
}

.global-nav .toolbar {
    justify-content: space-between;
    color: #fff;
    font-weight: 500;
}

/* Logo */
.custom_header_class .logo {
    height: 24px;
}

/* Search Components */
.custom_header_class .search {
    flex-grow: 1;
    margin: 0 12px !important;
    display: none;
}

body.search{
    display: block !important;
    margin: 0 !important;
}

.search-mobile {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-grow: 1;
    margin: 0 13px;
}

.search-bar-aisearch {
    /* display: flex; */
    display: block;
    justify-content: space-between;
    align-items: center;
    width: 50%;
    /* max-width: 442px; */
    height: 36px;
    background: #275c94;
    color: #d3e1ef;
    border: 1px solid #e4e4e4;
    border-radius: 2px;
    cursor: pointer;
    font-size: 16px;
}

.searchbar_inputbox {
    padding: 3.5px 8px;
}

.search-bar-aisearch:hover {
    background: #2a5f97;
}

.search-icon-desktop {
    width: 15px;
    height: 15px;
}

.search-icon-mobile {
    width: 20px;
    height: 20px;
}

/* Actions */
.actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.actions>* {
    cursor: pointer;
}

/* Icons */
.icon-phone {
    width: 18px;
    height: 20px;
}

.icon-help {
    width: 14px;
    height: 20px;
}

.icon-cart {
    width: 22px;
    height: 20px;
}

.icon-avatar {
    width: 20px;
    height: 20px;
}

/* Cart Counter */
.cart-box {
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-count {
    display: none;
    position: absolute;
    top: -1px;
    right: 3px;
    font-size: 8px;
    color: #fff;
}

.cart-desktop {
    display: none;
}

.cart-mobile {
    display: block;
}

/* Separator */
.separator {
    width: 1px;
    height: 14px;
    background-color: #8bafd5;
}

/* Login Button */
.login-btn {
    background: #fff;
    color: #000;
    border: none;
    border-radius: 10px;
    padding: 8px 20px;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}

.login-btn:hover {
    background: #f0f0f0;
}

/* 
        =================================
        PRIMARY NAVIGATION
        =================================
        */

/* Primary Nav Base */
.primary-nav {
    background-color: #fff;
    margin-bottom: 5px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.08);
}

/* Navigation Tabs */
.nav-tabs-medtigo {
    display: none;
    gap: 28px;
    align-items: center;
    height: 100%;
}

.nav-tab {
    color: #000;
    font-weight: 600;
    font-size: 16px;
    height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border-bottom: 4px solid transparent;
    transition: border-bottom 0.3s ease, color 0.3s ease;
}

.nav-tab.active_menu {
    color: #1c5087;
    border-bottom-color: #1c5087;
}

/* Mobile Menu */
.mobile-menu {
    display: flex;
    color: #2872c1;
    font-size: 32px;
    cursor: pointer;
}

a.login_register_medtigo {
    background-color: white;
    border-radius: 50px;
    padding: 8px 20px;
    color: #3A3A3A !important;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

/* 
        =================================
        RESPONSIVE BREAKPOINTS
        Breakpoints: xs: 0px, sm: 600px, md: 900px, lg: 1200px, xl: 1440px
        =================================
        */

input#ajax-search-input::placeholder {
    color: #D3E1EF;
    font-weight: 500;
    opacity: 1;
}

input#ajax-search-input {
    color: #D3E1EF;
    background: #275c94;
    border: 0;
    border-radius: 2px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}


input#ajax-search-input:focus-visible {
    outline: none !important;
}

.dropdown-item {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.close_menuicon {
    display: none
}

#mobileMenuDropdown::after {
    display: none;
}

div.dropdown-toggle.show img.close_menuicon {
    display: block;
}

div.dropdown-toggle.show img.hamburger_menu {
    display: none;
}

ul.dropdown-menu.show {
    background-color: #fff;
    box-shadow: 0px 4px 8px 1px #C4C4C4;
    padding: 0px 10px;
    border: 0;
    border-radius: 0;
}

ul.dropdown-menu.show li {
    border-bottom: 1px solid #CFCECE;
    padding: 7px 0px;
    padding-bottom: 0px;
}

ul.dropdown-menu.show li a {
    color: #1C5087;
}

ul.dropdown-menu.show li:last-child {
    padding-bottom: 0px;
    border-bottom: 0px;
}

ul#search-results a:hover {
    background-color: rgb(235, 245, 255);
}

/* Small devices and up (≥600px) */
@media (min-width: 600px) {
    .toolbar {
        height: 60px;
        padding: 0 32px;
    }

    .global-nav .toolbar {
        font-size: 16px;
    }

    .custom_header_class .logo {
        height: 44px;
    }

    .search-mobile {
        margin: 0 22px;
        gap: 20px;
    }

    .search-icon-mobile {
        width: 20px;
        height: 20px;
    }

    .actions {
        gap: 22px;
    }

    .icon-phone {
        width: 18px;
        height: 21px;
    }

    .icon-help {
        width: 27px;
        height: 22px;
    }

    .icon-cart {
        width: 27px;
        height: 26px;
    }

    .icon-avatar {
        width: 27px;
        height: 27px;
    }

    .cart-count {
        display: block;
        right: 4px;
        font-size: 12px;
    }

    .cart-desktop {
        display: block;
    }

    .cart-mobile {
        display: none;
    }

    .separator {
        height: 19px;
    }
}

/* Medium devices and up (≥900px) */
@media (min-width: 900px) {
    .toolbar {
        padding: 0 60px;
    }

    .custom_header_class .search {
        display: flex;
        margin: 0 16px !important;
    }

    .search-mobile {
        display: none;
    }

    .nav-tabs-medtigo {
        display: flex;
    }

    .mobile-menu {
        display: none;
    }
}

/* Our custom */
@media screen and (max-width: 900px) {
    ul#mobileMenuDropdown_ul .nav-tab {
        font-size: 14px;
    }
}