/*
 * PREVENTA / SWAASTHCARE - STANDALONE TOP NAVIGATION
 * Extracted/rebuilt specifically for #navigation in index.html.
 * No Bootstrap/theme navigation CSS is required.
 */

#navigation,
#navigation.border {
    /* Bootstrap .border compatibility: navigation must have no outer border. */
    border: 0;
    border-top: 0;
    border-right: 0;
    border-bottom: 0 !important;
    border-left: 0 !important;
    width: 100%;
    height: 70px;
    line-height: 70px;
    position: fixed;
    top: 0 !important;
    left: 0;
    z-index: 1001;
    box-sizing: border-box;
    transition: height .25s ease, background-color .25s ease,
                box-shadow .25s ease, transform .25s ease;
/*    background: transparent;	*/
  background: linear-gradient(
    to right bottom,
    rgba(251, 179, 61, .8),
    rgba(238, 53, 51, .8)
  );
  transition: height .25s ease, line-height .25s ease, transform .25s ease;
}

#navigation *,
#navigation *::before,
#navigation *::after {
    box-sizing: border-box;
}

#navigation .columns {
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0 auto;
    padding: 0;
}

#navigation .columns::after {
    content: "";
    display: table;
    clear: both;
}

#navigation .logo {
    width: auto;
    height: auto;
    float: left;
    top: 50%;
    position: relative;
    transform: translateY(-50%);
}

#navigation .logo a {
    display: block;
    opacity: 1 !important;
    line-height: 0;
}

#navigation .logo img {
    display: block;
    width: 90%;
    max-width: 190px;
    max-height: 50px;
    height: auto;
    object-fit: contain;
    transition: all .25s ease;
}

#navigation .nav-menu {
    float: right;
    height: 100%;
    position: relative;
}

#navigation .nav {
    width: auto;
    height: 100%;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

#navigation .nav > li {
    float: left;
    padding: 0;
    height: 100%;
    position: relative;
    list-style: none;
}

#navigation .nav > li > a {
    padding: 0 16px;
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    color: #fff;
    text-decoration: none;
    display: block;
    position: relative;
    background: transparent;
    height: 100%;
    line-height: inherit;
    border: 0;
    z-index: 1;
    outline: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: color .2s ease, opacity .2s ease, background .2s ease;
}

#navigation.hover4 .nav > li > a:hover {
    opacity: .7;
}

#navigation .caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 4px dashed currentColor;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

/* Scrolled / shrink state */
#navigation.scrolled {
    height: 55px;
    line-height: 55px;
    margin-top: 0 !important;
    border: 0 !important;
    box-shadow: 0 1px 4px 2px rgba(0,0,0,.06);
    background: linear-gradient(to right bottom,
        rgba(251,179,61,.95), rgba(238,53,51,.95));
	border-bottom: 0 !important;
}

#navigation.scrolled .logo img {
    max-height: 45px;
}

#navigation.scrolled .nav > li > a {
    color: #fff;
}

/* Products dropdown */
#navigation .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    display: none;
    visibility: hidden;
    opacity: 0;
    width: auto;
    min-width: 200px;
    height: auto;
    margin: 0;
    padding: 17px 0;
    list-style: none;
    background: #fff;
    border: 0;
    border-radius: 6px;
    box-shadow: 0 15px 45px 2px rgba(0,0,0,.15);
    line-height: normal;
    z-index: 1100;
    transform: translateY(0);
    transition: opacity .15s ease, visibility .15s ease;
}

#navigation .dropdown-toggle:hover > .dropdown-menu,
#navigation .dropdown-toggle.nav-open > .dropdown-menu {
    display: block;
    visibility: visible;
    opacity: 1;
}

#navigation .dropdown-menu li {
    display: block;
    float: none;
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
    list-style: none;
}

#navigation .dropdown-menu li a {
    display: block;
    width: 100%;
    min-width: 200px;
    height: auto;
    padding: 4px 22px;
    font-size: 12px;
    font-weight: 600;
    line-height: 30px;
    letter-spacing: -.3px;
    color: #4a4a4a !important;
    text-decoration: none;
    text-transform: none;
    white-space: nowrap;
    transition: color .2s ease, background-color .2s ease, opacity .2s ease;
}

#navigation .dropdown-menu li a:hover {
    background: rgba(0,0,0,.035);
    color: #333 !important;
    opacity: 1;
}

/* Keep dropdown open while pointer moves from parent into menu */
#navigation .dropdown-toggle {
    cursor: pointer;
}

/* Mobile controls are created by navigation.js */
#navigation .mobile-nav-button {
    display: none;
    float: right;
    width: 42px;
    height: 100%;
    position: relative;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

#navigation .mobile-nav-button span,
#navigation .mobile-nav-button::before,
#navigation .mobile-nav-button::after {
    content: "";
    display: block;
    width: 24px;
    height: 2px;
    position: absolute;
    left: 9px;
    background: #fff;
    transition: transform .25s ease, opacity .2s ease;
}

#navigation .mobile-nav-button span { top: 50%; margin-top: -1px; }
#navigation .mobile-nav-button::before { top: 50%; margin-top: -9px; }
#navigation .mobile-nav-button::after { top: 50%; margin-top: 7px; }

#navigation.mobile-open .mobile-nav-button span { opacity: 0; }
#navigation.mobile-open .mobile-nav-button::before {
    transform: translateY(8px) rotate(45deg);
}
#navigation.mobile-open .mobile-nav-button::after {
    transform: translateY(-8px) rotate(-45deg);
}

/* Custom white mouse cursor for expanded mobile menu */
/*
#navigation.mobile-open,
#navigation.mobile-open *,
#mobile-navigation.active,
#mobile-navigation.active * {
    cursor: none !important;
}

#mobile-menu-cursor {
    display: none;
    position: fixed;
    width: 22px;
    height: 22px;
    pointer-events: none;
    z-index: 999999;
    transform: translate(2px, 2px);
}

#mobile-menu-cursor::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 1px;
    width: 15px;
    height: 19px;
    background: #fff;
    border: 2px solid #000;
    clip-path: polygon(
        0 0,
        0 100%,
        35% 72%,
        50% 100%,
        64% 94%,
        48% 66%,
        100% 66%
    );
}

#navigation.mobile-open ~ #mobile-menu-cursor {
    display: block;
}
*/

/* ==========================================================
   CUSTOM WHITE MOUSE CURSOR - MOBILE MENU ONLY
   ========================================================== */

body.navigation-menu-open,
body.navigation-menu-open * {
    cursor: none !important;
}

#mobile-menu-cursor {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 28px;
    height: 34px;
    margin: 0;
    padding: 0;
    pointer-events: none !important;
    user-select: none;
    -webkit-user-select: none;
    z-index: 2147483647;
}

body.navigation-menu-open #mobile-menu-cursor {
    display: block;
}

#mobile-menu-cursor svg {
    display: block;
    width: 28px;
    height: 34px;
    overflow: visible;
    pointer-events: none !important;
}

/* Mobile drawer */
#mobile-navigation {
    display: none;
}

@media (max-width: 1299px) {
    #navigation {
        height: 64px;
        line-height: normal;
    }

    #navigation .columns {
        height: 64px;
        min-height: 64px;
        padding: 0 12px;
        justify-content: flex-start;
    }

    #navigation .logo {
        width: clamp(112px, 22vw, 175px);
        max-width: calc(100% - 58px);
        margin: 0;
    }

    #navigation .logo img {
        max-width: 100%;
        max-height: 50px;
    }

    /* navigation.js creates this button automatically */
    #navigation .nav-menu {
        display: none;
    }

    #navigation .mobile-nav-button {
        display: flex;
        margin-left: auto;
        flex: 0 0 42px;
        width: 42px;
        height: 64px;
        padding: 0;
        border: 0;
        background: transparent;
        align-items: center;
        justify-content: center;
        z-index: 1101;
    }

    #navigation .mobile-nav-button span,
    #navigation .mobile-nav-button::before,
    #navigation .mobile-nav-button::after {
        left: 9px;
    }

    /* Keep the JS-generated mobile drawer; make it visually match blank.html */
    #mobile-navigation {
        display: block;
        position: fixed;
        top: 64px;
        left: 8px;
        right: 8px;
        width: auto;
        max-width: none;
        height: auto;
        max-height: calc(100dvh - 72px);
        padding: 6px 0;
        overflow-x: hidden;
        overflow-y: auto;
        background: #fff;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 12px 32px rgba(0,0,0,.18);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
        z-index: 1100;
    }

    #mobile-navigation.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    #mobile-navigation .mobile-close {
        display: none;
    }

    #mobile-navigation ul {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
		background-color: #1a1b1d;
    }

    #mobile-navigation li {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
		
    }

    #mobile-navigation li > a {
        display: flex;
        width: 100%;
        min-height: 46px;
        height: auto;
        padding: 12px 17px;
        align-items: center;
        justify-content: space-between;
        color: #eee;
		
        font-size: 14px;
        font-weight: 600;
        line-height: 1.25;
        text-decoration: none;
        white-space: normal;
        border-bottom: 0;
        box-sizing: border-box;
    }

    #mobile-navigation li > a:hover {
        background: ;
    }

    #mobile-navigation .mobile-dropdown {
        display: none;
        width: 100%;
        background: #f7f7f7;
    }

    #mobile-navigation .mobile-dropdown.open {
        display: block;
    }

    #mobile-navigation .mobile-dropdown a {
        display: block;
        min-height: 44px;
        height: auto;
        padding: 11px 32px;
        color: ;
		background-color:#1a1b1d; 
        font-size: 13px;
        font-weight: 600;
        line-height: 1.35;
        white-space: normal;
    }

    #mobile-navigation .mobile-dropdown a:hover {
        background: #eee;
    }

    #mobile-navigation .mobile-dropdown-toggle > a {
        position: relative;
        padding-right: 48px;
    }

    #mobile-navigation .mobile-dropdown-toggle > a::after {
        content: "";
        position: absolute;
        right: 18px;
        top: 50%;
        width: 7px;
        height: 7px;
        border-right: 2px solid #666;
        border-bottom: 2px solid #666;
        transform: translateY(-70%) rotate(45deg);
        transition: transform .2s ease;
    }

    #mobile-navigation .mobile-dropdown-toggle.open > a::after {
        transform: translateY(-25%) rotate(225deg);
    }

    body.navigation-menu-open {
        overflow: hidden;
    }

    #navigation.scrolled {
        height: 55px;
        line-height: 55px;
    }

    #navigation.scrolled .logo img {
        max-height: 45px;
    }
}

@media (max-width: 600px) {
    #navigation .columns {
        padding-left: 12px;
        padding-right: 12px;
    }

    #navigation .logo img {
        max-width: 190px;
    }
}

@media (min-width: 1120px) {
    #navigation .columns {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 600px) {
    #navigation .columns {
        padding-left: 15px;
        padding-right: 15px;
    }

    #navigation .logo img {
        max-width: 145px;
    }
}
