/******************* GENERAL ELEMENTS *******************/

/******************* Colour variables *******************/

:root {
    --white: #ffffff;
    --teal: #007FA3;
    --turquoise: #05C3DE;
    --apple-green: #84BD00;
    --green: #509E2F;
    --dark-blue: #001A72;
    --grey: #425563;
    --blue-grey: #A4BCC4;
    --purple: #A51890;
    --magenta: #D50032;
    --orange: #e87722;
    --yellow: #F3D03E;
    --navy: #0673A0;
    /* Light Mode Loader*/
    --background-color: #E0F0F4;
    --text-color: var(--grey);
    /* Dark Mode Loader*/
    /*--background-color: #2F2F2E;
    --text-color: #CECECC;*/
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
}

body {
    margin-bottom: 60px;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    background-color: #fff;
    color: #333;
    overflow: auto; /* Prevent scrollbar due to animations */
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@keyframes smoke {
    0% {
        transform: translateY(0) scale(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-30px) scale(1);
        opacity: 0;
    }
}

@keyframes landing {
    0% {
        left: -100px; /* Initial position outside the screen to the left */
    }

    100% {
        left: 80%; /* Adjust the final position of the plane */
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.container {
    width: 1000%;
    margin: auto;
    overflow: hidden;
}

header {
    background: #007fa3;
    color: #ffffff;
    text-transform: uppercase;
    text-align: center;
}
  

    header h1 {
        text-align: center;
        margin: 20px 0;
        font-size: 24px;
    }


.instructions, .test-start {
    background: #ffffff;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

    .instructions h2,
    .test-start h2 {
        margin-bottom: 10px;
        font-size: 20px;
        color: #35424a;
    }

    .instructions p,
    .test-start p {
        margin-bottom: 10px;
        font-size: 16px;
    }

ol {
    margin: 10px 0;
    padding-left: 20px;
}

    ol li {
        margin-bottom: 10px;
    }


footer {
    background: #007fa3;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    position: relative;
    width: 100%;
    bottom: 0;
    left: 0;
}

    footer p {
        margin: 0;
    }

/* Plane Animations */
.plane {
    position: absolute;
    width: 100px;
    height: 100px;
    background-size: contain;
 
}

.plane1 {
    top: 40%;
    left: -60px;
    animation: fly1 40s linear infinite;
    color: #84bd00;
    font: 40px / 1 DXIcons !important;
}

.plane2 {
    top: 60%;
    right: -60px;
    animation: fly2 30s linear infinite;
    color: #425563;
    font: 40px / 1 DXIcons !important;
}

@keyframes fly1 {
    0% {
        left: -60px;
        transform: rotate(0deg);
    }

    50% {
        left: calc(100% + 60px);
        transform: rotate(180deg);
    }

    100% {
        left: -60px;
        transform: rotate(0deg);
    }
}

@keyframes fly2 {
    0% {
        right: -60px;
        transform: rotate(0deg);
    }

    50% {
        right: calc(100% + 60px);
        transform: rotate(-180deg);
    }

    100% {
        right: -60px;
        transform: rotate(0deg);
    }
}


/******************* Custom Loader Definition *******************/

.syspro-loader-modal-container {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.syspro-loader-modal-content {
    padding: 2rem !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    background-color: var(--background-color) !important;
    text-align: center !important;
    width: 90% !important;
    max-width: 280px !important;
}

.syspro-loader-modal-title {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: var(--text-color) !important;
    margin-bottom: 1rem !important;
}

.syspro-loader-modal-msg {
    font-size: 1.25rem !important;
    color: var(--text-color) !important;
    margin-top: 1rem !important;
}

.syspro-loader-modal-loader {
    display: block !important;
    /*  width: 150px !important;
    height: 150px !important;*/
    margin: 1rem auto !important;
    animation: spin 5s linear infinite !important;
}

.syspro-loader-section {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 10vh !important;
    animation: changeBgColor 5s steps(1) infinite !important;
}

.syspro-loader-loader {
    position: relative !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 0% !important;
    animation: spin 5s linear infinite !important;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(90deg);
    }

    50%, 100% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.syspro-loader-loader div {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    /*background-color: var(--background-color) !important;*/
    animation: animate 2s linear infinite !important;
    border-radius: 0% !important;
}

@keyframes animate {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.syspro-loader-loader div:nth-child(1) {
    top: -100% !important;
    left: -2px !important;
    transform-origin: bottom right !important;
}

    .syspro-loader-loader div:nth-child(1)::before {
        background-color: #007fa3 !important;
    }

.syspro-loader-loader div:nth-child(2) {
    right: -100% !important;
    top: -2px !important;
    transform-origin: bottom left !important;
}

    .syspro-loader-loader div:nth-child(2)::before {
        background-color: #e77723 !important;
    }

.syspro-loader-loader div:nth-child(3) {
    bottom: -100% !important;
    left: 2px !important;
    transform-origin: top left !important;
}

    .syspro-loader-loader div:nth-child(3)::before {
        background-color: #425563 !important;
    }

.syspro-loader-loader div:nth-child(4) {
    left: -100% !important;
    top: 2px !important;
    transform-origin: top right !important;
}

    .syspro-loader-loader div:nth-child(4)::before {
        background-color: #84bd00 !important;
    }

.syspro-loader-loader:before,
.syspro-loader-loader div::before {
    content: "" !important;
    position: absolute !important;
    top: 2px !important;
    left: 2px !important;
    right: 2px !important;
    bottom: 2px !important;
    background-color: #05c3de !important;
    border-radius: 0% !important;
}

#sysproLoader {
    display: none !important;
}

    #sysproLoader.show {
        display: flex !important;
    }

/* Add media query for mobile devices */
@media screen and (max-width: 768px) {
    .syspro-loader-modal-content {
        padding: 1rem !important;
        max-width: 220px !important;
        margin-top: 80px !important;
    }

    .syspro-loader-modal-title {
        font-size: 1.1rem !important;
        margin-bottom: 1.8rem !important;
    }

    .syspro-loader-modal-msg {
        font-size: 0.9rem !important;
        margin-top: 1.8rem !important;
    }

    .syspro-loader-loader {
        width: 20px !important;
        height: 20px !important;
    }

    .syspro-loader-section {
        min-height: 6vh !important;
    }
}
/******************* End Of Custom Loader Definition *******************/

/******************* Heading Definitions *******************/

h1, h2, h3, h4, h5, h6 {
    font-family: "Roboto Condensed", sans-serif;
}

h1 {
    font-size: 55px;
    font-weight: 600;
    line-height: 1.2em;
}

h2 {
    font-size: 32px;
    font-weight: 500 !important;
    line-height: 1.1em;
}

h3 {
    font-size: 26px;
    font-weight: 400;
    line-height: 1.2em;
}

h4 {
    font-size: 23px;
    font-weight: 400;
}

h5 {
    font-size: 20px;
    font-weight: 400;
}

h6 {
    font-size: 18px;
    font-weight: 400;
}

/******************* End Of Heading Definitions *******************/

*,
::after,
::before {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

section, main {
    width: 100%;
}

a {
    text-decoration: none;
}

/******************* Button Definition *******************/

button {
    background-color: var(--orange);
    margin-top: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    color: var(--white);
    font-size: 16px;
}

    button:hover {
        background-color: #425563;
    }

.tertiary {
    background-color: var(--white);
    color: var(--orange);
}
/******************* End Of Button Definition *******************/

/******************* Navigation Elements *******************/
dl,
ol,
ul {
    margin-top: 0;
    margin-bottom: 1rem;
}

.bg-body-tertiary {
    background-color: rgba(248, 249, 250, 1) !important;
}

.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    top: 0;
    padding: 0.5rem 0;
    margin: 0;
}

.navbar-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.sysprocontainer {
    margin-right: auto;
    margin-left: auto;
    flex: 1 1 auto;
}

.navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    color: rgba(0, 0, 0, 0.65);
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.375rem;
    transition: box-shadow 0.15s ease-in-out;
}

/** .collapse:not(.show) {
    display: none;
} */

.flex-row-reverse {
    flex-direction: row-reverse !important;
}

.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
}

.navbar-nav {
    width: 70%;
    display: flex;
    gap: 10px;
    flex-direction: row;
    padding-left: 0;
    margin-bottom: 0;
    margin-right: 0;
    list-style: none;
}

.navbar a {
    color: var(--teal) !important;
    font-weight: bold;
    font-size: 18px;
    margin-left: 0px;
}

.nav-link {
    display: block;
    padding: 8px 8px;
    text-decoration: none;
    background: 0 0;
    border: 0;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.dx-menu-adaptive-mode {
    position: absolute;
    right: 0;
    background-color: #f8f9fa;
}

#dx-menu-adaptive-mode {
    display: flex;
    align-items: center;
}

[data-item-id="dxMenu_SignOut"] .dx-treeview-item {
    flex-direction: row-reverse;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

.dropdown-menu {
    position: absolute;
    z-index: 1000;
    display: none;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0;
    font-size: 1rem;
    color: rgb(33, 37, 41);
    text-align: left;
    list-style: none;
    background-color: var(--white);
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.175);
    border-radius: 0.375rem;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 4px 16px;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.navbar-nav .dropdown-menu {
    position: static;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu[data-bs-popper] {
    top: 100%;
    left: 0;
    margin-top: 0.125rem;
}

#logout_link {
    color: var(--blue-grey) !important;
}

.outer_div {
    width: 100%;
    margin: 0 auto;
}

.section-block {
    background-color: white;
    border-radius: 8px;
    width: 100%;
}

.dx-header-row {
    background-color: #007ea2;
    color: white;
}

.primary {
    background-color: #007ea2 !important;
    color: white !important;
}

/******************* End Of Navigation Elements *******************/

/******************* Main Section Elements *******************/

main {
    background-color: #E0F0F4;
    height: 100%;
}

.main_section {
    width: 1400px;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 30px 0;
    margin: 0 auto;
}

    .main_section .tile {
        background-color: var(--white);
        padding: 15px 10px;
        margin: 0;
        border: none;
        border-radius: 8px;
        display: flex;
        gap: 10px;
        width: 47.5%;
    }

        .main_section .tile .content {
            width: 80%;
            color: var(--grey);
        }

            .main_section .tile .content h4 {
                font-size: 18px;
                font-weight: 500;
                line-height: 2;
            }

            .main_section .tile .content p {
                font-weight: 300;
            }
/******************* Footer Section Elements *******************/


footer {
    /*background-color: var(--grey);*/
    color: var(--white);
    display: flex;
    justify-content: space-around;
    font-size: 16px;
    width: 100%;
    position: relative;
    bottom: 0;
    flex-direction: column;
    margin-top: auto;
}

    footer .copyright {
        padding: 15px 0 0 0;
        text-align: center;
        font-size: 15px;
    }

    footer ul {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        padding: 15px 15px 0 15px;
    }

        footer ul li a {
            text-decoration: none;
            color: var(--white);
        }

.site-footer a {
    color: var(--white) !important;
}

/******************* End Of Footer Section Elements *******************/