/* ---------------------------------------------------
    MIXIN FUNCTIONS
----------------------------------------------------- */
a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

body {
    max-height: 100%;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 10px;
}

form-control:read-only {
    background-color: white;
}

select:disabled {
    background-color: white;
}

@media (min-width: 768px) {
    html {
        font-size: 12px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    /* Set the fixed height of the footer here */
    height: 60px;
    line-height: 60px;
    /* Vertically center the text there */
}

.landingbody {
    background-image: url("../resources/SLAOffice.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center; /* Adjusted to center the image, change if needed */
    position: relative;
    width: 120%;
    height: 120%;
    overflow: hidden; /* Ensure no scroll bars appear */
}

.landingheader {
    background: linear-gradient(0deg, #0E580C 0%, #001826 60%);
}

.page-bg {
    background: radial-gradient(circle, white 0%, white 40%, #e4e1e0 60%);
}

.bg-cl {
    background-color: #0E580C !important;
    color: #fff !important;
}

    .bg-cl.darken {
        background-color: black !important;
        color: #fff !important;
    }

.bg-sc {
    background-color: #009bf2 !important;
    color: #fff !important;
}

    .bg-sc.darken {
        background-color: black !important;
        color: #fff !important;
    }

.bg-acc {
    background-color: #eb5229 !important;
    color: #fff !important;
}

    .bg-acc.darken {
        background-color: black !important;
        color: #fff !important;
    }


/*Theme selector mixin*/
/*

    primary is main colour, which includes sidebar colour
    secondary is usually lighter and can be used as a accent colour, eg selection on sidebar
    thirtiary is darker and can be used as a contrasting colour, eg. background of expanded items in sidebar


*/
/* ---------------------------------------------------
    MIXIN FUNCTIONS
----------------------------------------------------- */
.custom_button_prop {
    background-color: #0E580C !important;
    color: #fff !important;
    border-radius: 10px;
    border-color: #0E580C !important;
}

    .custom_button_prop:hover {
        background-color: #158512 !important;
        color: #fff !important;
        border-color: #158512;
    }

.landingbtn {
    background-color: #009bf2 !important;
    color: #fff !important;
}

    .landingbtn:hover {
        background-color: #93E6BC !important;
        color: #000000 !important;
        border-color: #0E580C !important;
    }

.custom_button_prop_outline {
    background-color: #fff !important;
    color: #0E580C !important;
    border-color: #0E580C !important;
}

    .custom_button_prop_outline:hover {
        background-color: #0E580C !important;
        color: #fff !important;
        border-color: #0E580C !important;
    }

.logoff_prop:hover {
    color: #FF8300 !important;
}

.ico_hover:hover {
    background-color: transparent !important;
    color: #0E580C !important;
}

.ico_badge {
    background-color: #0E580C !important;
    color: #fff !important;
}

.large_icons {
    color: #009bf2 !important;
    min-height: 60px !important;
    min-width: 60px !important;
}

.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0px;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.42857;
}

/*Theme selector mixin*/
/*

    primary is main colour, which includes sidebar colour
    secondary is usually lighter and can be used as a accent colour, eg selection on sidebar
    thirtiary is darker and can be used as a contrasting colour, eg. background of expanded items in sidebar


*/
.input-group-prepend {
    width: 32%;
    /*adjust as needed*/
}

.input-group .input-group-text {
    width: 100%;
    background-color: #0E580C !important;
    color: white !important;
}

.input-group-prepend label {
    width: 100%;
    overflow: hidden;
}

#tbcontainer > .form-control {
    width: 500%;
    background-color: #0E580C !important;
    color: #fff !important;
}

/*Theme selector mixin*/
/*

    primary is main colour, which includes sidebar colour
    secondary is usually lighter and can be used as a accent colour, eg selection on sidebar
    thirtiary is darker and can be used as a contrasting colour, eg. background of expanded items in sidebar


*/
/* ---------------------------------------------------
    MIXIN FUNCTIONS
----------------------------------------------------- */
.image-rounded-large {
    max-height: 20px;
    max-width: 20px;
    border-radius: 50% !important;
    object-fit: cover !important;
}

.image-big {
    max-height: 60px;
    max-width: 60px;
    border-radius: 100% !important;
    object-fit: cover !important;
}

.img-user-thumbnail {
    height: 9em !important;
    max-height: 12em !important;
}

.landing_logo {
    width: 12rem !important;
}

/*Theme selector mixin*/
/*

    primary is main colour, which includes sidebar colour
    secondary is usually lighter and can be used as a accent colour, eg selection on sidebar
    thirtiary is darker and can be used as a contrasting colour, eg. background of expanded items in sidebar


*/
/* ---------------------------------------------------
    MIXIN FUNCTIONS
----------------------------------------------------- */
/* ---------------------------------------------------
    GENERAL STYLE
----------------------------------------------------- */
a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: linear-gradient(#072b06, #0E580C);
    color: #fff;
    transition: all 0.6s;
    min-height: 100vh !important;
}

    #sidebar.active {
        min-width: 8px;
        max-width: 80px;
        text-align: center;
    }

.sidebarheader_collapse {
    font-size: medium;
}

/* ---------------------------------------------------
    ICON BEHAVIOUR (SIDEBAR COLLAPSE & EXPAND)
----------------------------------------------------- */
#homeico_small {
    display: none;
}

#homeico_large {
    display: block;
}

#sidebar.active #homeico_large {
    display: none;
}

#sidebar.active #homeico_small {
    display: block;
}

#sidebar.active #disico_large {
    display: none;
}

#sidebar.active #dissub {
    display: none;
}

#sidebar.active #disico_small {
    display: block;
}

#sidebar.active #ecase_large {
    display: none;
}

#sidebar #ecase_large {
    display: block;
}

#sidebar.active #ecase_small {
    display: block;
}

#sidebar.active #userico_large {
    display: none;
}

#sidebar.active #umsub {
    display: none;
}

#sidebar.active #userico_small {
    display: block;
}

#sidebar #userico_small {
    display: none;
}

#header_large {
    text-transform: uppercase !important;
}

#sidebar #header_small {
    display: none;
}

#sidebar #header_large {
    display: block;
}

#sidebar.active #header_large {
    display: none;
}

    #sidebar.active #header_large :hover {
        color: #009bf2;
    }

#sidebar.active #header_small {
    display: block;
}

#homeico_small {
    display: none;
}

/*test*/
#homeico_large {
    display: none;
}

    #homeico_large.active {
        display: none;
    }

/* ---------------------------------------------------
    SIDEBAR COMPONENTS COLLAPSE
----------------------------------------------------- */
.sidebarheader_collapse {
    background-color: #0E580C;
}

#sidebar ul.components {
    padding: 20px 0;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    text-align: left;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 0.8em;
    display: block;
}

    #sidebar ul li a:hover {
        background-color: #1cb218 !important;
        color: #fff !important;
    }

#sidebar ul li.active > a,
a[aria-expanded=true] {
    background-color: #eb5229 !important;
    color: #fff !important;
}

    #sidebar ul li.active > a:hover,
    a[aria-expanded=true]:hover {
        background: #009bf2;
    }

.exp_side_dropdown {
    background-color: #eb5229;
}

a[data-toggle=collapse] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background-color: #eb5229;
    color: #fff;
}

ul.CTAs {
    padding: 20px;
}

    ul.CTAs a {
        text-align: center;
        font-size: 0.9em !important;
        display: block;
        border-radius: 5px;
        margin-bottom: 5px;
    }

.img-fluid {
    max-height: 90px !important;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
}

#navbarSupportedContent {
    margin: 0;
}

.collapse_btn {
    background-color: #0E580C !important;
    color: #fff !important;
}

/* ---------------------------------------------------
 COllapsible Sidebar
----------------------------------------------------- */
@media (max-width: 768px) {
    #sidebar.active {
        min-width: 80px;
        max-width: 80px;
        text-align: center;
        margin-left: -80px !important;
    }

    /* Reappearing the sidebar on toggle button click */
    #sidebar {
        margin-left: 0;
    }

        /* Downsize the navigation links font size */
        #sidebar.active ul li a {
            display: none;
        }

            #sidebar.active ul li a i {
                margin-right: 0;
                display: block;
                font-size: 1.8em;
                margin-bottom: 5px;
            }

        /* Adjust the dropdown links padding*/
        #sidebar.active ul ul a {
            padding: 10px !important;
        }
}
/* Changing the arrow position to bottom center position, 
      translateX(50%) works with right: 50% 
      to accurately  center the arrow */
/*.dropdown-toggle::after {
    margin-top: 15px !important;
    top: 100px;
    bottom: auto;
    right: 50%;*/
/*margin-top: 15px !important;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
}*/
/*Theme selector mixin*/
/*

    primary is main colour, which includes sidebar colour
    secondary is usually lighter and can be used as a accent colour, eg selection on sidebar
    thirtiary is darker and can be used as a contrasting colour, eg. background of expanded items in sidebar


*/
/* ---------------------------------------------------
    MIXIN FUNCTIONS
----------------------------------------------------- */
.navbar {
    border: none;
    border-radius: 10px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.full-width {
    width: 100vw;
    position: relative;
    margin-left: -50vw;
    left: 50%;
}

/*Theme selector mixin*/
/*

    primary is main colour, which includes sidebar colour
    secondary is usually lighter and can be used as a accent colour, eg selection on sidebar
    thirtiary is darker and can be used as a contrasting colour, eg. background of expanded items in sidebar


*/
/* ---------------------------------------------------
    MIXIN FUNCTIONS
----------------------------------------------------- */
.login-container {
    margin-top: 5%;
    margin-bottom: 5%;
}

.login-form-1 {
    padding: 5%;
    box-shadow: 10px 10px 26px 0px rgba(0, 0, 0, 0.75);
}

    .login-form-1 h3 {
        text-align: center;
        color: #333;
    }

.login-form-2 {
    padding: 5%;
    background: #0E580C;
    box-shadow: 10px 10px 26px 0px rgba(0, 0, 0, 0.75);
}

    .login-form-2 h3 {
        text-align: center;
        color: #fff;
    }

.login-container form {
    padding: 10%;
}

.btnSubmit {
    width: 50%;
    border-radius: 1rem;
    padding: 1.5%;
    border: none;
    cursor: pointer;
}

.login-form-1 .btnSubmit {
    font-weight: 600;
    background-color: #0E580C !important;
    color: #fff !important;
}

    .login-form-1 .btnSubmit:hover {
        background-color: #eb5229 !important;
        color: #fff !important;
    }

.login-form-2 .btnSubmit {
    font-weight: 600;
    background-color: #fff !important;
    color: #0E580C !important;
}

    .login-form-2 .btnSubmit:hover {
        background-color: #eb5229 !important;
        color: #fff !important;
    }

.login-form-2 .ForgetPwd {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.login-form-1 .ForgetPwd {
    color: #0E580C;
    font-weight: 600;
    text-decoration: none;
}

/*Theme selector mixin*/
/*

    primary is main colour, which includes sidebar colour
    secondary is usually lighter and can be used as a accent colour, eg selection on sidebar
    thirtiary is darker and can be used as a contrasting colour, eg. background of expanded items in sidebar


*/
/* ---------------------------------------------------
    MIXIN FUNCTIONS
----------------------------------------------------- */
.tb-header {
    background-color: #0E580C !important;
    color: #fff !important;
}

.table-base-prop {
    font-size: 15px;
}

.dt-pg {
    background-color: #fff !important;
    color: #0E580C !important;
}

    .dt-pg.active {
        background-color: #eb5229 !important;
        color: #fff !important;
    }

ul > li.page-item > a.page-link {
    background-color: #fff !important;
    color: #0E580C !important;
}

    ul > li.page-item > a.page-link :hover {
        border-color: #eb5229 !important;
        background-color: #eb5229 !important;
        color: #fff !important;
    }

ul > li.page-item.active > a.page-link {
    background-color: #0E580C !important;
    color: #fff !important;
    border-color: #0E580C;
}

div.dataTables_wrapper div.dataTables_filter input {
    width: 500px !important;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

    .table td,
    .table th {
        padding: 12px 15px;
        text-align: center;
        font-size: 16px;
    }

/*responsive*/

@media (max-width: 990px) {

    .table thead {
        display: none;
    }

    .table,
    .table tbody,
    .table tr,
    .table td {
        display: block;
        width: 100%;
    }

        .table tr {
            margin-bottom: 15px;
        }

        .table td {
            padding-left: 50%;
            text-align: left;
            position: relative;
        }

            .table td::before {
                content: attr(data-label);
                position: absolute;
                left: 0;
                width: 50%;
                padding-left: 15px;
                font-size: 15px;
                font-weight: bold;
                text-align: left;
            }
}    

/*Theme selector mixin*/
/*

    primary is main colour, which includes sidebar colour
    secondary is usually lighter and can be used as a accent colour, eg selection on sidebar
    thirtiary is darker and can be used as a contrasting colour, eg. background of expanded items in sidebar


*/
/* ---------------------------------------------------
    MIXIN FUNCTIONS
----------------------------------------------------- */
.card.cardround {
    border-radius: 10px;
}

.card > .card-header {
    border-radius: 10px 10px 0px 0px !important;
}

.cardheadertitle {
    /*border-width: 0px;*/
    border-left-width: 4px;
    border-left-color: #eb5229;
    border-top: none;
    border-right: none;
    border-bottom: none;
}

.cardbody {
    border-radius: 10px;
    background-color: #3d703cc7;
}

.card_inner_container {
    background-color: #009bf2 !important;
    color: #fff !important;
}

.transcard {
    background-color: rgba(255, 255, 255, 0.93);
    color: #0c0c0c !important;
    height: 500px;
    border-radius: 4rem;
    position: relative;
}

.required {
    content: " *";
    color: red;
}

.landingcard {
  height: 40rem;
}

#overlay {
    position: fixed;
    z-index: 99;
    top: 0px;
    left: 0px;
    background-color: #FFFFFF;
    width: 100%;
    height: 100%;
    filter: Alpha(Opacity=90);
}

#theprogress {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    width: 300px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    filter: Alpha(Opacity=100);
    opacity: 1;
    -moz-opacity: 1;
}

#modalprogress {
    position: absolute;
    top: 40%;
    left: 50%;
    margin: -11px 0 0 -150px;
    font-weight: bold;
    font-size: 14px;
}
/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #333; /* Black background color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
}

    /* Show the snackbar when clicking on a button (class added with JavaScript) */
    #snackbar.show {
        visibility: visible; /* Show the snackbar */
        /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
              However, delay the fade out process for 2.5 seconds */
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }


@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}


/*use flexbox to centered element*/
div.wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


div.loading-bar {
    width: 100px;
    height: 2px;
    background-color: #d6cec2;
    border-radius: 10px;
    margin-top: 25px;
    overflow: hidden;
    position: relative;
}

    div.loading-bar::after {
        content: '';
        width: 50px;
        height: 2px;
        position: absolute;
        background-color: #0E580C;
        transform: translateX(-20px);
        animation: loop 2s ease infinite;
    }

@keyframes loop {
    0%, 100% {
        transform: translateX(-28px);
    }

    50% {
        transform: translateX(78px)
    }
}

.header {
    position: relative;
    text-align: center;
    background-image: url("../resources/SLAOffice.png");
    background-repeat: no-repeat;
    background-position: 96% 18%;
    height: 1100px;
    color: white;
}



.logo {
    width: 50px;
    fill: white;
    padding-right: 15px;
    display: inline-block;
    vertical-align: middle;
}

.inner-header {
    height: 65vh;
    width: 100%;
    margin: 0;
    padding: 0;
}

.flex { /*Flexbox for containers*/
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.waves {
    position: relative;
    width: 100%;
    height: 15vh;
    margin-bottom: -7px; /*Fix for safari gap*/
    min-height: 100px;
    max-height: 150px;
}

.content {
    position: relative;
    height: 3vh;
    text-align: center;
    background-color: white;
    padding: 15px;
}
/* Animation */
.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}

    .parallax > use:nth-child(1) {
        animation-delay: -2s;
        animation-duration: 7s;
    }

    .parallax > use:nth-child(2) {
        animation-delay: -3s;
        animation-duration: 10s;
    }

    .parallax > use:nth-child(3) {
        animation-delay: -4s;
        animation-duration: 13s;
    }

    .parallax > use:nth-child(4) {
        animation-delay: -5s;
        animation-duration: 20s;
    }

@keyframes move-forever {
    0% {
        transform: translate3d(-90px,0,0);
    }

    100% {
        transform: translate3d(85px,0,0);
    }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
    .waves {
        height: 40px;
        min-height: 40px;
    }

    .content {
        height: 30vh;
    }

    h1 {
        font-size: 24px;
    }
}

.accordion {
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    padding: 1.2rem 0;
    border-radius: 1rem;
    background: white;
    /*   box-shadow: 0 0 5rem lightgrey; */
}

.accordion__heading {
    margin-bottom: 1rem;
    padding: 0 1.4rem;
}


.accordion__btn {
    cursor: pointer;
    transition: 0.1s;
}



.accordion__icon {
    border-radius: 50%;
    transform: rotate(0deg);
    transition: 0.3s ease-in-out;
    opacity: 0.9;
}

.accordion__content {
    border-color: #252d4d;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateX(16px);
    transition: max-height 0.5s ease, opacity 0.5s, transform 0.5s;
}

    .accordion__content p {
        padding: 1rem 1.8rem;
    }

.accordion__item--active .accordion__content {
    opacity: 1;
    transform: translateX(0px);
    max-height: 100vh;
}

/* Basic footer styling */
.footer {
    position: relative;
    background-color: #FFF;
    padding: 20px;
    text-align: center;
}

/* Wave container */
.wave-container {
    position: absolute;
    width: 100%;
    bottom: 100%;
    left: 0;
    overflow: hidden;
    line-height: 0;
}

.wave {
    position: relative;
    width: 100%;
    height: 100px;
    background: url('/images/wave.svg');
    background-size: cover;
}

/* Create multiple waves with different animations */
.wave1 {
    animation: animateWave 10s linear infinite;
}

.wave2 {
    animation: animateWave 15s linear infinite;
    opacity: 0.5;
}

.wave3 {
    animation: animateWave 20s linear infinite;
    opacity: 0.2;
}

@keyframes animateWave {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

