﻿/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 280px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .body-content {
        padding: 0;
    }
}
/* ==========================================
   BASIC PAGE
   ========================================== */

html,
body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f6f8;
}


/* ==========================================
   FIXED TOP HEADER
   ========================================== */

.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    /*background-color: #1f4e78;*/
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}


/* ==========================================
   WEBSITE TITLE
   ========================================== */

.site-title {
    position:absolute;
    left: 25px;
    top: 12px;
    color: white;
    font-size: 22px;
    font-weight: bold;
}


/* ==========================================
   MAIN HORIZONTAL MENU
   ========================================== */

.main-menu {

    position: absolute;

    left: 50%;

    bottom: 0;

    transform: translateX(-50%);

}


/* Remove default UL formatting */

.main-menu ul {

    margin: 0;

    padding: 0;

    list-style: none;

}


/* Main menu items in horizontal row */

.main-menu > ul {

    display: flex;

    justify-content: center;

    align-items: center;

}


/* Main menu item */

.main-menu > ul > li {

    position: relative;

}


/* Main menu links */

.main-menu > ul > li > a {

    display: block;

    padding: 15px 25px;

    color: white;

    text-decoration: none;

    font-size: 18px;

    font-weight: bold;

    white-space: nowrap;

}


/* Mouse over main menu */

.main-menu > ul > li:hover > a {

    background-color: #163a5a;

}


/* ==========================================
   POPUP SUBMENU
   ========================================== */

.submenu {

    display: none;

    position: absolute;
    top: 100%;

    left: 0;

    min-width: 190px;

    background-color: white;

    border: 1px solid #ccc;

    box-shadow: 0 4px 10px rgba(0,0,0,0.25);

    z-index: 2000;

}


/* Submenu links */

.submenu li {

    width: 100%;

}


/* Vertical submenu */

.submenu li a {

    display: block;

    padding: 12px 18px;

    color: #333;

    background-color: white;

    text-decoration: none;

    font-size: 15px;

    white-space: nowrap;

}


/* Submenu mouse over */

.submenu li a:hover {

    background-color: #e8f1f8;

    color: #1f4e78;

}


/* ==========================================
   SHOW SUBMENU WHEN MOUSE OVER
   ========================================== */

.main-menu li:hover > .submenu {

    display: block;

}


/* ==========================================
   MAIN CONTENT
   ========================================== */

.main-content {

    margin-top: 90px;

    min-height: calc(100vh - 140px);

    padding: 30px;

    background-color: white;

}


/* ==========================================
   CONTENT BOX
   ========================================== */

.content-box {

    max-width: 1200px;

    margin: 0 auto;

    padding: 25px;

    background-color: white;

    border: 1px solid #ddd;

    border-radius: 6px;

    box-shadow: 0 2px 6px rgba(0,0,0,0.08);

}
.left-submenu {
    display: flex;
    justify-content: left; /* Horizontally centers the image */
    align-items: flex-start; /* Vertically centers the image */
    min-height: 50vh; /* Optional: Gives container height to see vertical centering */
}


/* ==========================================
   FOOTER
   ========================================== */

.footer {

    text-align: center;

    padding: 15px;

    background-color: #eeeeee;

    color: #555;

}