/* 1. GLOBAL FONT */
body, div, p, span, a, li, td, h1, h2, h3, h4, h5, h6 {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* 2. MENU STRIPE */
.WaGadgetMenuHorizontal .menuInner, 
.wa-menu-horizontal {
    background-color: #004a99 !important;
    border: none !important;
    height: 50px !important; 
    min-height: 50px !important;
    display: flex !important;
    align-items: center !important; 
    justify-content: center !important; 
    overflow: visible !important; 
}

/* 3. MENU LIST */
.WaGadgetMenuHorizontal .menuInner ul.firstLevel {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 50px !important;
    list-style: none !important;
}

/* 4. THE LABELS */
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > a,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > span {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 18px !important;
    color: #ffffff !important;
    padding: 0 20px !important; 
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 50px !important; 
    line-height: normal !important; 
    text-decoration: none !important;
    box-sizing: border-box !important;
}

/* 5. HOVER & SELECTED */
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.selected > .item > a,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.selected > .item > span,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li:hover > .item > a,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li:hover > .item > span {
    background-color: #e67e22 !important; 
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    height: 50px !important; 
}

/* 6. LOGO & BUTTONS */
.wa-header .wa-logo img { max-height: 50px !important; }
.wa-button, .itemBox a.button { background-color: #004a99 !important; }

/* 7. FOOTER STYLING */
.wa-footer {
    text-align: center !important;
    padding: 20px 0 !important;
    background-color: #f9f9f9 !important;
}

/* 8. SUB-MENU & BLACK CONDITIONAL ARROWS */
.WaGadgetMenuHorizontal .menuInner ul.secondLevel {
    background-color: #004a99 !important;
    border: 1px solid #003366 !important;
}

.WaGadgetMenuHorizontal .menuInner ul.secondLevel li a {
    color: #ffffff !important;
    background-color: #004a99 !important;
}

.WaGadgetMenuHorizontal .menuInner ul.secondLevel li:hover > .item > a {
    background-color: #e67e22 !important;
}

/* ARROW VISIBILITY & COLOR LOGIC */
.WaGadgetMenuHorizontal .menuInner .dir,
.WaGadgetMenuHorizontal .menuInner .wa-menu-indicator,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > a:after,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > span:after {
    opacity: 0 !important;
    display: inline-block !important;
    margin-left: 8px !important;
    width: 0; 
    height: 0; 
    border-left: 5px solid transparent !important;
    border-right: 5px solid transparent !important;
    border-top: 5px solid #000000 !important;
    content: "" !important;
    vertical-align: middle !important;
    transition: opacity 0.2s ease !important;
}

.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li:hover .dir,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li:hover .wa-menu-indicator,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li:hover > .item > a:after,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li:hover > .item > span:after,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.selected .dir,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.selected .wa-menu-indicator,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.selected > .item > a:after,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.selected > .item > span:after {
    opacity: 1 !important;
}

/* DASHBOARD CARDS & IFRAMES */
.dashboard-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid #e1e4e8;
    text-align: center;
}

.dashboard-card iframe {
    max-width: 100%;
    border: none;
    border-radius: 4px;
}

.dashboard-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #3498db;
    display: inline-block;
    padding-bottom: 5px;
}

.entry-container { 
    font-family: 'Segoe UI', Arial, sans-serif; 
    max-width: 1250px; 
    margin: 0 auto; 
    border: 1px solid #ccc; 
    border-radius: 10px; 
    overflow: hidden; 
    background: #fff; 
}

#content-view iframe {
    width: 100% !important;
    min-width: 750px; 
    border: none;
}

/* 9. WESTWINDS SECURITY BIFURCATION */
/* TEMPORARILY DISABLED FOR BUILD-OUT 
   To re-enable, simply remove the forward-slash-asterisk above and below.

.wa-public, .wa-secure {
    display: none !important;
}
*/

/* Moves the chart container down and right */
.chart-container { 
    position: relative !important;
    top: 30px !important;  /* Adjust '30' to move it further down */
    left: 30px !important; /* Adjust '30' to move it further right */
    display: block !important;
}