@import url("https://use.typekit.net/ewt6zsr.css");
@import url('https://cdn.jsdelivr.net/npm/@mdi/font@6.5.95/css/materialdesignicons.min.css');

:root {
    --primary: #A30006;
    --primary-light: #ffc6e5;
    --primary-dark: #0575BB;
    --secondary: #2A2425;
    --gold: #CFA15E;
}

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

h1,
h2,
.h1,
.h2 {
    font-family: 'trajan-pro-3', Times, serif;
    font-weight: 500;
    letter-spacing: -1px;
    color: var(--gold);
}

h3,
h4,
h5,
h6 {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
}

p {
    color: #484848;
    font-size: 1em;
    letter-spacing: 0px;
    font-weight: 300;
}

body {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    background: #fbfbfb;
}

.gradient-2 {
    background-image: linear-gradient(270deg, #d12a56, #ea9d9d);
}


/* .btn-primary {
    background: rgba(12 12 12 /.95);
    border-color: rgba(12 12 12 /.95);
} */

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.nk-sidebar .metismenu>li a>i {
    font-size: 1.1rem;
    color: #696969;
}

.nk-sidebar .metismenu>li:hover>a {
    background: #fbfbfb;
}

.nk-sidebar .metismenu a {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #696969;
}

.nav-header .brand-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

[data-nav-headerbg="color_1"] .nav-header {
    background: #fff;
}

[data-headerbg="color_1"] .header {
    background: rgba(255, 255, 255, .7);
    backdrop-filter: blur(10px);
    box-shadow: 0px 3px 20px -18px rgba(25 69 157 /.55);
    border-bottom: 1px solid rgba(255, 255, 255, .55);
}

.nk-sidebar {
    padding-bottom: 0;
}

.slimScrollDiv {
    height: calc(100% - 12.3em) !important;
    padding-bottom: 10px;
}

[data-sidebar-style="full"][data-layout="vertical"] .menu-toggle .nk-sidebar {
    width: 0px;
    overflow: hidden;
}

[data-sidebar-style="full"][data-layout="vertical"] .menu-toggle .content-body {
    margin-left: 0;
}

.user-profile {
    display: flex;
    flex-direction: row;
    padding: 12px 7px;
    box-shadow: 0 -3px 9px -3px rgba(232, 127, 234, 0.55);
}

.user-profile .user-profile__img img {
    width: 50px;
    height: 50px;
    border-radius: 40px;
    overflow: hidden;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, .5);
}

.user-profile .user-profile__details {
    padding: 0 7px 0 12px;
    display: flex;
    flex-direction: column;
}

.user-profile .user-profile__details>h5,
.user-profile .user-profile__details>p,
.user-profile .user-profile__details>a {
    margin-bottom: 0px;
}

.user-profile .user-profile__details>h5 {
    font-size: 16px;
    width: 8rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: rgba(255, 255, 255, 1);
}

.user-profile .user-profile__details>p {
    font-size: 14px;
    color: rgba(255, 255, 255, .75);
}

.user-profile .user-profile__details>a {
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
}

.user-profile .user-profile__details>a:hover {
    color: rgba(255, 255, 255, 1);
}

.card {
    /* box-shadow: 0px 7px 20px -15px rgba(25 69 157 /.55); */
    border-radius: 8px;
    box-shadow: none;
    border: 1px solid #ebebeb;
}

.card>.card-body {
    padding: 1.75em;
    border-radius: 2rem;
}

.card-title {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
}

.card.quick-look {
    overflow: hidden;
}

.quick-look .card-body {
    padding: 1.25rem 1.5rem;
}

.quick-look .stats {
    gap: .5rem;
    align-items: center;
}

.quick-look .stats .icon-img {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background-color: var(--primary);
    border-radius: .35rem;
    color: white;
}

.quick-look .stats .icon-img img {
    filter: invert(1);
}

.quick-look .stats h4 {
    font-size: 2rem;
    color: var(--primary);
}

.quick-look .card-footer {
    /* background-color: #fbfbfb; */
}

.quick-look .card-footer a {
    font-weight: 500;
    color: var(--secondary);
}

.card-title__container h3 {
    font-size: 1.5rem;
}

.card-title__container span {
    font-size: .85rem;
    line-height: 110%;
}

.card-title__container {
    display: flex;
    flex-direction: column;
    align-items: start;
    /* justify-content: space-between; */
    margin-bottom: 15px;
}

.card-title__container>h3 {
    margin-bottom: 0;
}

.card-title__container span>i {
    font-size: 1.35em;
}


/* .card-title__container span {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
} 



.card-title__container h3 {
    flex-grow: 1;
    margin-bottom: 0;
}*/


/* @media screen and (max-width:575px) {
    .card-title__container span>i {
        font-size: 4em;
        position: absolute;
    }
} */

.card-title {
    line-height: 1.38em;
    font-weight: 700;
    letter-spacing: 0;
}

.gradient-1 {
    background: rgb(25, 69, 157);
    background: -moz-linear-gradient(180deg, rgba(180, 74, 155, 1) 9%, rgba(25, 69, 157, 1) 100%);
    background: -webkit-linear-gradient(60deg, rgba(180, 74, 155, 1) 9%, rgba(25, 69, 157, 1) 100%);
    background: linear-gradient(0deg, rgba(180, 74, 155, 1) 0%, rgba(25, 69, 157, 1) 100%);
}

.icons>a i {
    font-size: 22px;
    color: #7b7b7b;
}

.cs-box h6 {
    color: #767676;
}

.cs-box {
    border-color: #ebebeb;
}

.footer {
    padding-left: 0;
}

.footer .copyright {
    padding-left: 15.1875rem;
}

.menu-toggle .footer .copyright {
    padding-left: 1.2375rem;
}

.google-visualization-orgchart-linenode {
    border-color: #ababab !important;
    border-width: 2px;
}

.tree-node {
    width: 100%;
    border-radius: 8px;
    background: #f4f4f4;
}

.tree-node div {
    width: 200px;
    padding: 1em 1.5em;
}

.tree-node img {
    width: 80px;
    height: 80px;
    overflow: hidden;
    -o-object-fit: fill;
    object-fit: fill;
    border-radius: 50%;
    margin-bottom: 1em;
}

.tree-node h3 {
    font-size: 1.5em;
    margin-bottom: 0.3em;
    font-family: helvetica;
}

.tree-node p {
    font-size: 14px;
    margin-bottom: 0.5em;
}

.tree-node .flexing-box {
    display: flex;
    justify-content: space-between;
    padding: 0;
    width: 100%;
}

.tree-node .flexing-box p {
    font-size: 15px;
    font-weight: 600;
}

.node-selected {
    background: #f0f7f7;
}

@media screen and (max-width:767px) {
    #chart_div {
        overflow-x: scroll;
        touch-action: auto;
    }
}

.bar-chart {
    background-color: var(--secondary);
    color: #fff;
    border-radius: 1rem;
}

.application-list {
    padding: .85rem;
    gap: .5rem;
}

.application-list>div {
    background-color: #f7f7f7;
    padding: .85rem;
    border-radius: .5rem;
}

.application-title {
    flex: 1 0 70%
}

.application-title h6 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: .85rem;
}

.application-title span {
    font-size: .85rem;
    margin-bottom: 0;
    line-height: 100%;
}

.application-title p {
    font-size: .9rem;
    color: var(--gold);
    font-weight: 400;
    margin-bottom: 0;
}

.nk-sidebar .metismenu>li.active>a {
    background-color: var(--primary);
    color: #ffffff !important;
}

.nk-sidebar .metismenu>li.active i,
.nk-sidebar .metismenu>li.active span {
    color: #ffffff !important;
}

.page-login {
    min-height: 100svh;
    background: linear-gradient(to left, var(--primary) 22%, white 22%);
    display: flex;
    align-items: stretch;
}

@media screen and (max-width:992px) {
    .page-login {
        background-image: url('../images/mobile-login-bg.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
    }
}

.page-login .logo {
    width: 160px;
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.page-login .login-section {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-control {
    height: 35px;
    border-radius: .35rem;
}

.form-control:focus {
    border-color: var(--gold);
}

.search-form .form-group {
    margin-bottom: 0.5rem;
}

/* Force Select2 single select to look like Bootstrap 5 .form-control */
.select2-container--default .select2-selection--single {
    height: 35px !important;              /* match input height */
    border: 1px solid #ced4da !important; /* Bootstrap border */
    border-radius: 0.375rem !important;   /* Bootstrap rounding */
    padding: 0.25rem 0.5rem !important;   /* same as .form-control */
    font-size: 0.875rem !important;       /* match input font-size */
    line-height: 1.5 !important;          /* keep text centered */
    background-color: #fff !important;    /* same as input */
}

/* Align rendered text inside */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 0 !important;
    padding-right: 0 !important;
    line-height: 1.5 !important;
    font-size: 0.875rem !important;
    color: #212529 !important;           /* Bootstrap text color */
}

/* Align dropdown arrow */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    top: 0 !important;
    right: 0.5rem !important;            /* align arrow like input padding */
}

@media screen and (max-width:992px) {
    .page-login {
        background-image: url('../images/mobile-login-bg.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;

        justify-content: center;
    }

    .login-container {
        background: rgba(255, 255, 255, .75);
        backdrop-filter: blur(.35rem);
        padding: 2rem;
        border-radius: .5rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}