/* PAGE CONTAINER */
body {
    background-color: #e6f2ff;
    font-family: 'Montserrat', sans-serif;
    color: #444444;
}

#site {
    padding-top: 80px; /* navbar height */
    z-index: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#page-content {
    position: relative;
    left: 10vw;
    width: 80vw;
    flex: 1;
    padding-bottom: 50px;
}

@media (max-width: 767px) {
    #page-content {
        left: 10vw;
        width: 80vw;
    }
}

#overlay {
    /* the class is turned on/off by the mobile navbar */
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000; /* Below navbar but above content */
}

/* NAVBAR */

.navbar {
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 1001;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#navbar-collapse {
    margin-left: 20px;
    margin-right: 20px;
}

.navbar .container-fluid {
    min-height: 60px;
    height: fit-content;
}

.navbar-header {
    height: 100%;
}

.navbar-brand, #navbar-logo {
    height: 40px;
}

@media (min-width: 768px) {
    #site {
        padding-top: 140px; /* navbar height + 20px */
    }

    .navbar .container-fluid {
        height: 120px;
        display: flex;
        align-items: center;
    }    
    
    .navbar-brand, #navbar-logo {
        height: 100%;
    }
}

.navbar-toggle {
    border-color: #dddddd;
}

.navbar-toggle .icon-bar {
    background-color: #0056b3 !important;
}

.navbar-nav li {
    padding: 20px;
}

.navbar-nav li a {
    color: #0056b3 !important;
    padding: 0px;
}

.navbar-nav li a:hover {
    color: #0093DB !important;
}

.navbar-nav li.menu-link {
    font-weight: bold;
    width: fit-content;
}

.navbar-nav li.menu-link-active a {
    color: #0093DB !important;
    border-bottom: 3px solid  #0093DB;
}

/* FOOTER */

footer {
    background-color: #0093DB;
    color: white;
    padding: 10px;
    text-align: center;
}

footer p {
    font-size: 0.9em;
    margin-bottom: 5px;
}

/* TITLES */

h1, h2 {
    font-weight: bold;
    color: #0056b3;
}

h1 {
    font-size: 30px;
    text-align: center;
}

h2 {
    font-size: 22px;
}

/* SCROLLBAR */

::-webkit-scrollbar { /* scrollbar size */
    width: 10px; 
}


::-webkit-scrollbar-track { /* scrollbar background */
    background: #f1f1f1; 
}


::-webkit-scrollbar-thumb { /* scrollbar bar */
    background: #1477A6;
    border-radius: 0px; 
}

::-webkit-scrollbar-thumb:hover {
    background: #0f5479; 
    cursor: grab;
}