/* ============================================================
   BASE TYPOGRAPHY & BRANDING
   ============================================================ */

html {
    font-size: 15px;
}

body {
    background: #ffffff;
    /*font-size: 1rem;
    line-height: 1.5;*/
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    color: #696969;
}

#MainContent {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0; /* VERY IMPORTANT */
}

/* ============================================================
   PAGE STRUCTURE
   ============================================================ */
/* ============================================================
   PAGE STRUCTURE
   ============================================================ */

html, body {
    height: 100%;
}

.page {
    height: 100%; /* was min-height */
    display: flex;
    flex-direction: column;
    background: #EEF2F6;
}

form {
    height: 100%; /* was min-height */
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0; /* IMPORTANT for flex scrolling */
}
/*.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #EEF2F6;*/ /* main portal background */
/*}

form {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
}*/



/* ============================================================
   HEADER
   ============================================================ */

.header {
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #c4e0f5 0%, #a7c8da 60%, #8aacbd 100%);
}

.header-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 3px 10px; /* was 6px 12px */
    min-height: 30px; /* was 64px */
}

.SiteHeader {
    font-size: .9rem;
    font-weight: 600;
    color: #0f2a44;
    letter-spacing: .4px;
    white-space: nowrap;
}

#IMPDBadge {
    height: 30px;
    width: auto;
}


/* ============================================================
   LINKS
   ============================================================ */

a {
    color: #034af3;
}

    a:hover {
        color: #1d60ff;
        text-decoration: none;
    }


/* ============================================================
   HEADINGS
   ============================================================ */

h1 {
    font-size: 2rem;
    color: #444;
    font-weight: 600;
    margin: 0.4em 0;
}

h2 {
    font-size: 1.6rem;
}

h3 {
    font-size: 1.3rem;
}

h4 {
    font-size: 1.15rem;
}

h5 {
    font-size: 1rem;
}

h6 {
    font-size: 0.9rem;
}


/* ============================================================
   FIELDSETS
   ============================================================ */

fieldset {
    border: 1px solid #ccc;
    padding: 5px;
    overflow: hidden;
    margin: 0 !important;
}

legend {
    font-size: 1.1em;
    font-weight: 600;
    padding: 0 4px;
}


/* ============================================================
   MENU BAR
   ============================================================ */

.master-menu-bar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    background-color: darkslategrey;
    padding: 2px 6px;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
}

.master-menu-bar-item {
    display: inline-block;
    padding: 6px 16px;
    text-decoration: none;
    color: white !important;
    background-color: #465c71;
    border: 1px solid #3b4e62;
    white-space: nowrap;
    line-height: 1.2;
    transition: background-color 0.15s ease-in-out, transform 0.1s ease-in-out;
    font-size: 11px !important;
}

    .master-menu-bar-item i {
        margin-right: 8px;
        color: white;
        font-size: 11px;
    }

    .master-menu-bar-item:hover {
        background-color: #567289;
        transform: translateY(-1px);
    }

    .master-menu-bar-item:active {
        background-color: #3a4f64;
        transform: translateY(0);
    }

.icon-outline {
    -webkit-text-stroke: 1.5px #ffffff;
    text-stroke: 1.5px #ffffff;
    text-shadow: 0 0 1px #ffffff, 0 0 2px #ffffff;
}



