/*Fonts Used*/

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&display=swap');

:root {
    --txt1: 'Syne', sans-serif;
    /* COLOR FILL: */
    --primary-color: #004369;
    --primary-color-2: #004369;
    --secondary-color: #db1f48;
    --secondary-color-opacity: rgba(230, 78, 41, 0.5);
    --third-color: #8e0523;
    --third-color-opacity: rgba(243, 123, 62, 0.5);
    --fourth-color: #adadad;
    --fifth-color: #f8f8f8;

    --font-dark: #4d4d4d;
    --font-white: #fff;

    /*COLOR GRADIENT*/
    --primary-linear-bg-0: -o-linear-gradient(220deg, var(--primary-color) -63%, var(--secondary-color) 86%);
    --primary-linear-bg: linear-gradient(220deg, var(--primary-color) -63%, var(--secondary-color) 86%);
    --primary-linear-bg-opacity: linear-gradient(220deg, var(--secondary-color) -63%, var(--primary-color) 86%, var(--primary-color-2) 100%);

    --text-linear-bg: linear-gradient(90deg, #f07020 0, #ee9963 100%);
}

* {
    font-family: var(--txt1);
}

body {
    background-color: #fff !important;
}

.bg-primary {
    background: var(--secondary-color) !important;
}

.btn.btn-primary {
    background: var(--secondary-color) !important;
    border-color: transparent !important;
    border: unset !important;
}

.btn.btn-primary:hover {
    background: var(--third-color) !important;
    box-shadow: -1px 1px 5px 0px rgba(100, 77, 159, 0.65);
    -webkit-box-shadow: -1px 1px 5px 0px rgba(100, 77, 159, 0.65);
    -moz-box-shadow: -1px 1px 5px 0px rgba(100, 77, 159, 0.65);
}

.cursor-pointer {
    cursor: pointer !important;
}

.toggle-password:hover {
    filter: brightness(0.8);
}

.form-select:focus,
.form-control:focus {
    border-color: var(--third-color);
    outline: 0 !important;
    box-shadow: 0 0 0 .25rem var(--third-color-opacity) !important;
}

main {
    height: 90vh;
}


#sidebar {
    background-color: #FBFBFB !important;
    box-shadow: -1px 1px 5px 0px rgba(77, 77, 77, 0.5);
    -webkit-box-shadow: -1px 1px 5px 0px rgba(77, 77, 77, 0.5);
    -moz-box-shadow: -1px 1px 5px 0px rgba(77, 77, 77, 0.5);
    position: fixed;
    height: 100vh;
    transition: all .25s;
    z-index: 20;
}

#sidebar .nav-item {
    margin: 5px !important;
}

#sidebar .nav-link {
    color: #212529 !important;
    transition: 'background' .5s;
}

#sidebar .nav-link.active {
    background: var(--primary-linear-bg) !important;
    box-shadow: -1px 1px 5px 0px rgba(100, 77, 159, 0.65);
    -webkit-box-shadow: -1px 1px 5px 0px rgba(100, 77, 159, 0.65);
    -moz-box-shadow: -1px 1px 5px 0px rgba(100, 77, 159, 0.65);
    color: #fff !important;
    transition: 'background' .5s;
}

#sidebar .nav-link.active:hover {
    background: var(--primary-linear-bg-opacity) !important;
}

#sidebar .nav-link:hover {
    background: var(--primary-linear-bg) !important;
    box-shadow: -1px 1px 5px 0px rgba(100, 77, 159, 0.65);
    -webkit-box-shadow: -1px 1px 5px 0px rgba(100, 77, 159, 0.65);
    -moz-box-shadow: -1px 1px 5px 0px rgba(100, 77, 159, 0.65);
    color: #fff !important;
}

#sidebar .toggle-btn {
    position: absolute;
    right: -70px;
    top: 20px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2rem;
    background-color: #FBFBFB !important;
    box-shadow: -1px 1px 5px 0px rgba(77, 77, 77, 0.5);
    -webkit-box-shadow: -1px 1px 5px 0px rgba(77, 77, 77, 0.5);
    -moz-box-shadow: -1px 1px 5px 0px rgba(77, 77, 77, 0.5);
}

#sidebar .toggle-btn a {
    color: var(--secondary-color);
    width: inherit;
    height: inherit;
    font-size: x-large;
    display: flex;
    justify-content: center;
    align-items: center;
}

#sidebar.hidden {
    width: 100px !important;
}

#sidebar.hidden .nav-link span,
#sidebar.hidden .dropdown-toggle span {
    display: none;
}

#sidebar.hidden .nav-link i {
    font-size: 22px;
}

#content.sidebar-hidden {
    margin-left: 165px !important;
}

#content {
    margin-left: 345px;
    margin-top: 75px;
    margin-right: 50px;
    transition: all .25s;
}

.breadcrumb li a {
    color: var(--secondary-color);
    text-decoration: none !important;
}

.breadcrumb .active {
    color: var(--third-color);
}

.required-lbl {
    color: #ff0000 !important;
}

.modal-header {
    background: var(--primary-color) !important;
    color: #fff !important;
}

.offcanvas-header {
    background: var(--primary-linear-bg-0);
    color: #fff !important;
}

table.table.dataTable>tbody>tr {
    border-color: transparent !important;
}

.dt-paging-button.page-item a {
    color: var(--secondary-color) !important;
}

.dt-paging-button.page-item a:focus {
    border-color: var(--secondary-color);
    outline: 0 !important;
    box-shadow: 0 0 0 .25rem var(--secondary-color-opacity) !important;
}

.dt-paging-button.page-item.active a {
    color: #fff !important;
}

.dt-paging-button.page-item.active {
    --bs-pagination-active-bg: var(--secondary-color) !important;
    --bs-pagination-active-border-color: var(--secondary-color) !important;
}

.menu-shadow {
    box-shadow: -1px 1px 5px 0px rgba(77, 77, 77, 0.2);
    -webkit-box-shadow: -1px 1px 5px 0px rgba(77, 77, 77, 0.2);
    -moz-box-shadow: -1px 1px 5px 0px rgba(77, 77, 77, 0.2);
}

.btn-edit {
    color: #fff !important;
    background-color: var(--third-color) !important;
}

.fit-content {
    width: fit-content !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-clip-primary {
    background: var(--primary-linear-bg) !important;
    background-clip: border-box !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
}

.text-highlight {
    color: var(--secondary-color) !important;
}

.bg-danger {
    background: rgba(var(--bs-danger-rgb), var(--bs-bg-opacity)) !important;
}

.form-floating.input-group:not(.input-group-right) label {
    margin-left: 40px !important;
    z-index: 5 !important;
}

.form-floating.input-group.input-group-right label {
    margin-right: 40px !important;
    z-index: 5 !important;
}

/* Dropifyy */
.dropify-wrapper .file-icon p {
    font-size: 18px !important;
}

.dropify-wrapper {
    border-radius: .35rem;
}

.dropify-wrapper.has-error {
    border: 1px solid red;
}

.nav-item .nav-link {
    color: var(--secondary-color);
}

.nav-item .nav-link.active {
    color: var(--third-color);
}

.btn-third-color {
    background: var(--third-color) !important;
}

.pass-toggle {
    color: #fff !important;
    font-size: 20px !important;
    cursor: pointer;
}

@media only screen and (max-width: 767px) {
    #table_container_parent {
        display: flex !important;
        justify-content: center !important;
    }

    .dt-length.form-floating,
    .dt-length.form-floating select,
    .dt-search.form-floating,
    .dt-search.form-floating input {
        width: 100% !important;
    }

    .dt-length.form-floating {
        margin-bottom: .5rem !important;
    }
}

/* Mobile View */
@media only screen and (max-width: 572px) {

    #sidebar .toggle-btn,
    #sidebar #sidebar-logo,
    #sidebar hr {
        display: none !important;
    }

    #sidebar,
    #sidebar.hidden {
        width: 100% !important;
        height: 90px !important;
        display: flex !important;
        flex-direction: row-reverse !important;
        justify-content: space-between !important;
        bottom: 0 !important;
    }

    #sidebar ul.nav {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        justify-content: center !important;
        align-items: center !important;
        margin-bottom: 0 !important;
    }

    #sidebar .dropdown {
        display: flex !important;
        justify-content: center;
    }

    #content,
    #content.sidebar-hidden {
        margin: 0 !important;
    }

    #sidebar .nav-link span,
    #sidebar .dropdown-toggle span {
        display: none;
    }
}

/* SCREEN LOADER */

#screen-loader {
    z-index: 999;
    background-color: #fff;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.boxes {
    height: 32px;
    width: 32px;
    position: relative;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    margin-top: 32px;
    -webkit-transform: rotateX(60deg) rotateZ(45deg) rotateY(0deg) translateZ(0px);
    transform: rotateX(60deg) rotateZ(45deg) rotateY(0deg) translateZ(0px);
}

.boxes .box {
    width: 32px;
    height: 32px;
    top: 0px;
    left: 0;
    position: absolute;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}



.boxes .box:nth-child(1) {
    -webkit-transform: translate(100%, 0);
    transform: translate(100%, 0);
    -webkit-animation: box1 1s linear infinite;
    animation: box1 1s linear infinite;
}

.boxes .box:nth-child(2) {
    -webkit-transform: translate(0, 100%);
    transform: translate(0, 100%);
    -webkit-animation: box2 1s linear infinite;
    animation: box2 1s linear infinite;
}

.boxes .box:nth-child(3) {
    -webkit-transform: translate(100%, 100%);
    transform: translate(100%, 100%);
    -webkit-animation: box3 1s linear infinite;
    animation: box3 1s linear infinite;
}

.boxes .box:nth-child(4) {
    -webkit-transform: translate(200%, 0);
    transform: translate(200%, 0);
    -webkit-animation: box4 1s linear infinite;
    animation: box4 1s linear infinite;
}



.boxes .box>div {
    background: #5C8DF6;
    --translateZ: 15.5px;
    --rotateY: 0deg;
    --rotateX: 0deg;
    position: absolute;
    width: 100%;
    height: 100%;
    background: #5C8DF6;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    -webkit-transform: rotateY(var(--rotateY)) rotateX(var(--rotateX)) translateZ(var(--translateZ));
    transform: rotateY(var(--rotateY)) rotateX(var(--rotateX)) translateZ(var(--translateZ));
}

.boxes .box>div:nth-child(1) {
    top: 0;
    left: 0;
    background: #5C8DF6;
}

.boxes .box>div:nth-child(2) {
    background: #145af2;
    right: 0;
    --rotateY: 90deg;
}

.boxes .box>div:nth-child(3) {
    background: #447cf5;
    --rotateX: -90deg;
}

.boxes .box>div:nth-child(4) {
    background: #DBE3F4;
    top: 0;
    left: 0;
    --translateZ: -90px;
}

.center-image {
    text-align: center !important;
}

@keyframes box1 {

    0%,
    50% {
        transform: translate(100%, 0);
    }

    100% {
        transform: translate(200%, 0);
    }
}

@keyframes box2 {
    0% {
        transform: translate(0, 100%);
    }

    50% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(100%, 0);
    }
}

@keyframes box3 {

    0%,
    50% {
        transform: translate(100%, 100%);
    }

    100% {
        transform: translate(0, 100%);
    }
}

@keyframes box4 {
    0% {
        transform: translate(200%, 0);
    }

    50% {
        transform: translate(200%, 100%);
    }

    100% {
        transform: translate(100%, 100%);
    }
}