html {
    font-size: 15pt;
    color: rgb(31, 31, 31);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    height: 100%;
    font-size: 15pt;
    display: flex;
    flex-direction: column;
}



.header {
    background-color: #243055;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0.5
}

body, main {
    font-family: 'Nunito', sans-serif;
    font-size: 1em;
    letter-spacing: 0.1em;
    color: #484747;
    min-height: 600px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: auto;
    width: 1700px;
    max-width: 100vw;
}

*, *::before, *::after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}


.main-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f7f7f7;
}

/* nunito-regular - latin */
@font-face {
    font-display: block;
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    src: local(''),
    url('/assets/fonts/nunito-v16-latin/nunito-v16-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('/assets/fonts/nunito-v16-latin/nunito-v16-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* nunito-700 - latin */
@font-face {
    font-display: block;
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 700;
    src: local(''),
    url('/assets/fonts/nunito-v16-latin/nunito-v16-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('/assets/fonts/nunito-v16-latin/nunito-v16-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

h1, h2, h3, h4, p {
    font-family: 'Nunito';
}


.overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 9999;
    cursor: pointer;
}

.icon {
    opacity: 1;
    margin: 0;
    width: 30px;
    height: 30px;
    background: none;
}


.spin {
    -webkit-animation: spin 4s linear infinite;
    -moz-animation: spin 4s linear infinite;
    animation: spin 4s linear infinite;
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

.disable_click {
    pointer-events: none;
}

.arrow.rotate {
    transform: rotate(180deg);
}


.fade {
    opacity: 0.6;
}

.fade_more {
    opacity: 0.3;
}

.shadow {
    -webkit-box-shadow: 0 10px 19px -10px rgba(0,0,0,0.6);
    -moz-box-shadow: 0 10px 19px -10px rgba(0,0,0,0.6);
    box-shadow: 0 10px 19px -10px rgba(0,0,0,0.6);
}



h1, h2, h3, h4 {
    padding: 0;
    margin: 0;
    font-weight: bold;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.6em;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1em;
}

ul {
    padding: 0;
    margin: 0;
}

li {
    margin: 0 0 30px 0;
    list-style-type: none;
}

p {
    font-size: 0.9em;
    line-height: 1.4em;
}

a {
    color: #3a57a7;
    text-decoration: none;
}

a:hover {
    cursor: pointer;
    filter: brightness(120%);
}

a.image:hover {
    filter: brightness(107%);
}

a.light {
    color: #f6f6f6;
}

a.light:hover {
    color: #369ff1;
}

.bold {
    font-weight: bold;
}

hr {
    width: 100%;
    border: none;
    height: 1px;
    color: #d3d3d3;
    background-color:#D3D3D3;
    margin-top: 7px;
    margin-bottom: 7px;
}

div {
    overflow-wrap: break-word;
}


/* TABLES */

    td, th {
        font-size: 0.7em;
        height: 40px;
        text-align: center;
        padding: 2px;
        padding-left: 10px;
        padding-right: 10px;
    }

    td.left_align {
        text-align: left;
    }

    table tr td {
        border-right: 1px solid #c3c3c3;
    }

    table tr td:last-child {
        border: none;
    }

    table tr:nth-child(even) td {
        background-color: #e5e5e5;
    }

    table th {
        background-color: #5b5b5b;
        color: white;
        padding: 0.5em;
    }

    th.sortable {
        color: rgb(225, 225, 120);
        cursor: pointer;
    }
    th.sortable.asc::after {
        content: " ▲";
    }
    th.sortable.desc::after {
        content: " ▼";
    }

/* END TABLES */

/* NAV */


/* SIDENAV */

    .sidenav {
        height: 100%;
        width: 0;
        position: fixed;
        z-index: 10000;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        top: 0;
        left: 0;
        background-color: #fafafa;
        overflow-x: hidden;
        overflow-y: scroll;
        padding: 0;
        transition: 0.5s;
        white-space: nowrap;
    }

    .sidenav a {
        display: flex;
        flex-wrap: wrap;
        align-content: center;
        justify-content: left;
        background: none;
        text-decoration: none;
        font-size: 1.2em;
        transition: 0.3s;
        font-weight: bold;
        opacity: 0.9;
        margin: 0;
        padding: 1em;
        padding-top: 0.7em;
        padding-bottom: 0.7em;
        border-radius: 0;
    }

    .sidenav a:hover {
        filter: brightness(110%);
    }

    .sidenav .close_nav {
        position: absolute;
        top: 0;
        right: 0;
        font-size: 2.5em;
        padding: 0;
        padding-right: 5px;
        width: 60px;
        text-align: right;
        border-radius: 0;
        height: 60px;
        display: flex;
        justify-content: right;
        align-items: center;
        background-color: transparent;
        color: #5a5a5a;
    }

/* END SIDENAV */

/* SIDEBAR */

    ul.nav, ul.nav ul, ul.nav li {
        list-style: none;
        padding: 0;
        margin: 0;
        position: relative;
    }

    ul.nav li:has(ul) > a {
        position: relative;
        padding-right: 30px;
    }

    ul.nav li:has(ul) > a::after {
        content: "";
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        background-image: url('/assets/icons/chevron_down_white.svg');
        background-size: contain;
        background-repeat: no-repeat;
        opacity: 0.7;
        transition: transform 0.3s ease;
    }

    ul.nav {
        width: 100%;
    }

    ul.nav > li {
        position: relative;
    }

    ul.nav > li > a {
        display: block;
        width: 100%;
        height: 60px;
        line-height: 60px;
        padding: 0 25px;
        background-color: #3b5091;
        color: white;
        font-size: 1em;
        font-weight: bold;
        text-align: left;
        text-decoration: none;
        border-top: 1px solid rgb(130, 130, 157);
        box-sizing: border-box;
    }

    ul.nav li ul {
        display: none;
        padding: 0;
        margin: 0;
    }

    ul.nav li.open > ul {
        display: block;
    }

    ul.nav li ul li a {
        display: block;
        width: 100%;
        height: 60px;
        line-height: 60px;
        padding: 0 30px;
        background-color: #f1f1f1;
        color: rgb(85, 85, 85);
        font-size: 1em;
        font-weight: bold;
        text-align: left;
        text-decoration: none;
        border: none;
        box-sizing: border-box;
    }

    ul.nav li,
    ul.nav li a,
    ul.nav li ul li,
    ul.nav li ul li a {
        margin: 0;
    }

    ul.nav li a:hover {
        filter: brightness(120%);
    }

    .menu-button-active {
        filter: brightness(120%);
    }

/* END SIDEBAR */
/* Ensure the <a> inside <li> behaves and looks like the button */
.horizontal_menu_wrapper ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.horizontal_menu_wrapper li {
    flex: 0 0 auto;
    margin: 0;
}

.horizontal_menu_wrapper a.horizontal_menu_button {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5em;
    height: 60px;
    padding: 0 1em;
    white-space: nowrap;
    border-radius: 0;
    background-color: #3b5091; /* Dark blue */
    color: white;
    font-weight: bold;
    text-decoration: none;
    border: none;
    box-sizing: border-box;
    transition: background 0.2s ease;
}

.horizontal_menu_wrapper a.horizontal_menu_button:hover {
    filter: brightness(110%);
}

.horizontal_menu_wrapper a.light_blue {
    background-color: #4f72e5;
}

.horizontal_menu_wrapper a.dark_blue {
    background-color: #3b5091;
}

@media (min-width: 768px) {
    .horizontal_container.stretch-buttons li {
        flex: 1 1 auto;
    }

    .horizontal_container.stretch-buttons a.horizontal_menu_button {
        justify-content: center;
    }
}

/* END NAV */






.sticky_top {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

.sticky_top_100 {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    background-color: white; /* important to prevent overlap transparency */
    z-index: 2; /* ensure it stays above table rows */
}

.horizontal_container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.horizontal_container::-webkit-scrollbar {
    display: none;
    width: 0;  /* Remove scrollbar space */
    height: 0;
    background: transparent;  /* Optional: just make scrollbar invisible */
}

div::-webkit-scrollbar {
    display: none;
    width: 0;  /* Remove scrollbar space */
    height: 0;
    background: transparent;  /* Optional: just make scrollbar invisible */
}

/*SCREEN SIZES*/

.screen_large {
    display: none;
}

.screen_medium {
    display: none;
}

.screen_small {
    display: none;
}

/* Screen Large */
@media screen and (min-width: 1001px) {

    .screen_large {
        display: flex;
    }

    td.screen_large, th.screen_large {
        display: table-cell;
    }

    p {
        margin: 0;
        padding: 0;
        font-size: 0.9em;
        line-height: 1.4em;
    }

    .justify_content_space_evenly_on_large_screens {
        justify-content: space-evenly;
    }

    .margin_left_auto_on_large_screens {
        margin-left: auto;
    }

    .breadcrumbs_backend {
        padding-left: 340px;
    }

    .below_breadcrumbs {
        padding-top: 30px;
    }

}

/* Screen Medium */
@media screen and (min-width: 651px) and (max-width: 1000px) {

    .screen_medium {
        display: flex;
    }

    td.screen_medium, th.screen_medium {
        display: table-cell;
    }

    p {
        margin: 0;
        padding: 0;
        font-size: 0.9em;
        line-height: 1.4em;
    }

    .below_breadcrumbs {
        padding-top: 30px;
    }

}

/* Screen Small */
@media screen and (max-width: 650px) {

    .screen_small {
        display: flex;
    }

    h1, h2, h3, h4 {
        line-height: 1.1em;
    }

    p {
        margin: 0;
        padding: 0;
        font-size: 0.9em;
        line-height: 1.3em;
    }

    .flex_column_on_small_screens {
        flex-direction: column;
    }

    .below_breadcrumbs {
        padding-top: 30px;
    }

}

/* MARQUEE */
    div.marquee {
        width: 100%;
        height: 100%;
        max-width: 100vw;
        --gap: 1rem;
        position: relative;
        display: flex;
        align-items: center;
        overflow: hidden;
        user-select: none;
        gap: var(--gap);
    }
    
    .marquee__content {
        flex-shrink: 0;
        display: flex;
        justify-content: space-around;
        gap: var(--gap);
        min-width: 100%;
    }

    section.marquee {
        margin-block: 3rem;
    }
    
    section.marquee > * + * {
    margin-block-start: 0.5rem;
    }
    
    
    @keyframes scroll {
        from {
            transform: translateX(0);
        }
        to {
            transform: translateX(calc(-100% - var(--gap)));
        }
    }

    /* ENABLE ANIMATION */
  .enable-animation .marquee__content {
    animation: scroll 40s linear infinite;
  }
  
  /* REVERSE ANIMATION */
  .marquee--reverse .marquee__content {
    animation-direction: reverse;
  }
  
  /* PAUSE ON HOVER */
  .marquee--hover-pause:hover .marquee__content {
    animation-play-state: paused;
  }



.lightbox_container {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1em;
    padding-top: 1.5em;
    padding-bottom: 1.5em;
    margin: 0;
    text-align: center;
    width: 95vw;
    max-width: 500px;
    border-radius: 10px;
}

.featherlight {
    background: rgba(0,0,0,0.85) !important;
}

.check_overlay {
    background-image: url('/assets/check.jpg');
    background-repeat: repeat;
    background-position: left bottom;
    transform: rotate(30deg);
    width: 1200px;
    height: 1200px;
    opacity: 0.02;
    z-index: 1000;
    pointer-events: none;
    position: fixed;
    right: -30%;
    top: -60%;
}

.blue_text,
a.blue_text,
button.blue_text {
    color: #4960a7 !important;
}

.green_text,
a.green_text,
button.green_text {
    color: #259b1c !important;
}

.red_text,
a.red_text,
button.red_text {
    color: #bb3311 !important;
}

.purple_text,
a.purple_text,
button.purple_text {
    color: #9b1c77 !important;
}

.orange_text,
a.orange_text,
button.orange_text {
    color: #d77b00 !important;
}

.underline {
    text-decoration: underline !important;
}