/* ####################################
   HTML Element Styles
   ################################## */

body {
    margin: 0 0 2em;
    padding: 0;
    font-family: 'Montserrat', 'Gilroy', Arial, sans-serif;
    font-size: 75%;
}


a {
}

	a:link {
	    color: #0007D9;
	    text-decoration: none;
	}

	a:visited {
	    color: #0007D9;
	    text-decoration: none;
	}

	a:hover {
	    color: #0007D9;
	    text-decoration: underline;
	}

	a:active {
	}

p {
    margin: 0 0 1.5em;
}

h1 {
	margin: 0 0 0.5em;

    color: #666666;
	font-size: 200%;
	font-weight: normal;
}

h2 {
	margin: 0 0 1em;
	
	font-size: 150%;
	font-weight: normal;
}

h3 {
	margin: 0 0 1em;

	font-size: 100%;
}

h4 {
	margin: 0 0 1em;

	color: #777777;
	font-size: 100%;
}

h5 {
}

h6 {
}

ul {
}

ul li {
}

ol {
}

ol li {
}

big {
	font-size: 115%;
}

small {
	font-size: 83.5%;
}

hr {
    margin: 0 0 1.25em;
}

.required_marker img {
    width:5px;
}

caption {
	margin: 0 0 0.25em 0;
	font-weight: bold;
	text-align: left;
}

address {
	font-style: italic;
}

pre {
}


/*jQuery toolTips*/
.toolTip{ 
    position: absolute; 
    /*bottom: -50px;*/ 
    width: 200px;
   /* z-index: 30000; */
    display: none; 
    padding: 5px 10px;
    color: #000000;
    font-size: 91.7%;
    font-weight: normal;
    /*background: url("/App_Themes/Default/images/header-bg.png") repeat-x scroll 0 0 transparent;
    border: 1px solid #bbb;*/
    background: #ffffe1;
    border: 1px solid #000000;
    z-index: 3000;
    
}
*html .toolTip {
    margin: 0;
    top: 0;
}

.utilityType ul li {
    padding: 0 10px;  
    padding: 0; 
}
.utilityType ul li a {
    width: 100%;
    display: block;
}
*html .utilityType ul li {
     padding: 0 10px; 
}
*html .utilityType ul li a {
    z-index: 1000; 
    position: relative;
    padding: 7px 0;
}
*html .utilityType ul li.sfhover {
    z-index: 2000;  
    padding-bottom: 0;
    background: blue; 
}
*html .utilityType ul li.sfhover a {
    padding-bottom: 0;   
}
/* ================= NAVBAR + PROFILE DROPDOWN ================= */
/* Container */
.navbar-modern {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    padding: 1.1rem 1.5rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    top: 0;
    z-index: 100;
    font-size: .85rem;
    border-radius: 0;
    width: 100vw;
    left: 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

nav.navbar-modern.section {
    border-radius: 0 !important;
    width: 100vw;
    left: 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

/* Adjust navbar bottom spacing (override Bootstrap .mb-4) */
nav.navbar-modern.mb-4 {
    margin-bottom: 0.5rem !important; /* adjust value as needed (e.g. 0, .25rem, 8px) */
}

/* Left block */
.navbar-logo-section {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex: 1 1 auto;
    flex-direction: column; /* overridden inline previously */
    align-items: flex-start;
    gap: .5rem;
}

    .navbar-logo-section a {
        text-decoration: none;
    }

.navbar-content-col {
    display: flex;
    flex-direction: column;
    gap: .12rem;
    width: 100%;
}

/* Menu links */
.navbar-menu {
    display: flex;
    gap: 1.1rem;
    align-items: flex-end;
    margin-left: 0;
}

    .navbar-menu a {
        color: #222 !important;
        text-decoration: none;
        font-weight: 500;
        transition: color .2s;
        font-size: .82rem;
        display: flex;
        align-items: center;
        gap: .2rem;
        background: none !important;
    }

        .navbar-menu a:hover {
            color: #ff9500 !important;
            background: none !important;
            text-decoration: none !important;
            padding: 0;
            border-radius: 0;
        }

/* Right side cluster */
.navbar-right {
    display: flex;
    align-items: center;
    gap: .3rem;
    margin-left: auto;
}

.navbar-alert-link {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    position: relative;
}

    .navbar-alert-link span {
        display: flex;
        align-items: center;
        gap: .4rem;
    }

/* Icons */
.bi-bell,
.profile-dropdown-toggle i {
    font-size: 1.5rem;
}

/* Profile dropdown wrapper */
.profile-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 1.5rem;
}

.profile-dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #444;
    background: none;
    border: none;
    padding: 0;
}

/* Dropdown menu */
.profile-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 120%;
    min-width: 120px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .3rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.10);
    z-index: 12000;
    padding: .5rem;
    font-size: .7rem;
    color: #222;
}

    .profile-dropdown-menu.active {
        display: block;
    }

.navbar-user-row {
    font-size: .75rem;
    color: #444;
    font-weight: 500;
    margin-bottom: .05rem;
    display: flex;
    align-items: center;
    gap: .2rem;
}

.profile-dropdown-menu .logout-link {
    display: inline-block;
    color: #fff;
    background: #ff9500;
    padding: .2rem .6rem;
    border-radius: .2rem;
    text-decoration: none;
    font-weight: 500;
    transition: background .2s;
}

    .profile-dropdown-menu .logout-link:hover {
        background: #e67e00;
        color: #fff;
        text-decoration: none;
    }

#numberOfAlerts {
    color: #111 !important;
    font-weight: bold;
    font-size: .7rem;
}

/* Responsive */
@media (max-width:600px) {
    .navbar-modern {
        flex-direction: column;
        padding: .5rem;
    }
}