@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

html,
body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.primary-color {
    color: #0d83c7;
}

/* Top bar */
.topbar {
    background: #0d83c7;
    color: #fff;
    font-size: 14px;
}

.topbar a {
    color: #fff;
    text-decoration: none;
}

/* brand styling */
.navbar-brand img {
    height: 60px;
}

/* dropdown submenu positioning on desktop */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0;
}

@media (min-width: 992px) {
    /* .dropdown:hover>.dropdown-menu {
        display: block;
    }

    .dropdown-submenu:hover>.dropdown-menu {
        display: block;
    } */

    /* first-level dropdown */
    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
    }

    .dropdown:hover>.dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* second-level dropdown */
    .dropdown-submenu {
        position: relative;
    }

    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -0.2rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
    }

    .dropdown-submenu:hover>.dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* smooth collapse for offcanvas */
.offcanvas .collapse {
    transition: height 0.4s ease;
}

/* active link */
.nav-link.active {
    color: #0d83c7 !important;
}

.nav-link {
    font-weight: 600;
    color: #000;
    font-size: 0.9rem;
}

.dropdown-item {
    font-size: 0.9rem;
    margin-bottom: 5px;
    padding: 0.5rem 1rem;
}

.dropdown-item:hover {
    background-color: #0d83c7;
    color: #fff;
}

.dropdown-item.active {
    background-color: #0d83c7 !important;
    color: #fff;
}

@media (max-width: 768px) {

    /* hover highlight on children */
    .nav-link.child-link:hover,
    .nav-link.child-link-level2:hover {
        color: #0d83c7;
        background-color: #f0f8ff;
    }

    /* parents */
    .nav-link.parent-link {
        font-weight: 600;
        color: #0d83c7;
    }

    /* second-level parents in offcanvas get dash too */
    .nav-link.parent-link-level2::before,
    .nav-link.child-link::before,
    .nav-link.child-link-level2::before {
        content: "-";
        margin-right: 5px;
        color: #0d83c7;
        font-weight: bold;
    }

    /* indent levels */
    .nav-link.child-link {
        padding-left: 1.5rem;
    }

    .nav-link.child-link-level2,
    .nav-link.parent-link-level2 {
        padding-left: 2.5rem;
        color: #555;
    }
}



/* sidebar */
.nav-heading {
    font-size: 1.25rem;
}

.nav-section-title {
    font-weight: bold;
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.nav-section-title.active {
    background-color: #fff;
    color: #000;
    padding: 0.5rem 0.75rem;
    font-weight: normal;
}

.nav-link-box {
    background-color: #2183C7;
    color: #fff;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    border-bottom: 1px solid #fff;
}

.nav-link-box:hover {
    background-color: #444;
    color: #fff;
}

.main-content h2 {
    font-weight: bold;
    margin-bottom: 1rem;
}

.main-content p {
    font-size: 1rem;
    line-height: 1.8;
}

