@font-face {
    font-family: 'Segoe UI Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Segoe UI Regular'), url('./fonts/Segoe UI.woff') format('woff');
}


@font-face {
    font-family: 'Segoe UI Italic';
    font-style: normal;
    font-weight: normal;
    src: local('Segoe UI Italic'), url('./fonts/Segoe UI Italic.woff') format('woff');
}


@font-face {
    font-family: 'Segoe UI Bold';
    font-style: normal;
    font-weight: normal;
    src: local('Segoe UI Bold'), url('./fonts/Segoe UI Bold.woff') format('woff');
}


@font-face {
    font-family: 'Segoe UI Bold Italic';
    font-style: normal;
    font-weight: normal;
    src: local('Segoe UI Bold Italic'), url('./fonts/Segoe UI Bold Italic.woff') format('woff');
}

@font-face {
    font-family: Shabnam;
    src: url(./fonts/Shabnam.eot);
    src: url(./fonts/Shabnam.eot?#iefix) format('Shabnam-opentype'),
    url(./fonts/Shabnam.woff) format('woff'),
    url(./fonts/Shabnam.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --main-bg-color: #f8f8f8;
    --bars-bg-color: #ffffff;
    --theme-color: #2C50EE;
    --primary-color: #2C50EE;
    --secondary-color: gray;
    --negative-color: #FB2063;
    --main-border-color: #eeeeee;
    --font-family-en: Segoe UI Regular, Helvetica, Arial, sans-serif;
    --font-family-fa: Segoe UI Regular, Helvetica, Arial, sans-serif;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: var(--font-family-en);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-position: right;
}

html {
    font-size: 100%;
}

html, body {
    overflow-x: hidden;
    overflow-y: hidden;
}

.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

.KHeight1 {
    height: calc(100vh - 80px) !important;
}

.column {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
}

.full-width {
    width: 100%;
}

.full-height {
    height: 100%;
}

.fit {
    width: 100%;
    height: 100%;
}

.flex-auto {
    flex: auto;
}

.padding {
    padding: 10px;
}

.padding-x {
    padding-left: 10px;
    padding-right: 10px;
}

.padding-md {
    padding: 30px;
}

.padding-x-md {
    padding: 0 30px;
}

.padding-y-md {
    padding: 30px 0;
}

.padding-y {
    padding-top: 10px;
    padding-bottom: 10px;
}

.justify-between {
    justify-content: space-between;
}

.gutter > * {
    margin-right: 13px;
    margin-bottom: 13px;
}

.gutter-sm > * {
    margin-right: 10px;
    margin-bottom: 10px;
}

.gutter-md > * {
    margin-right: 20px;
    margin-bottom: 20px;
}

.gutter-lg > * {
    margin-right: 30px;
    margin-bottom: 30px;
}

.gutter-x > *:not(:last-child) {
    margin-right: 13px;
}

.gutter-x-sm > * {
    margin-right: 10px;
}

.gutter-x-md > * {
    margin-right: 30px;
}

.gutter-x-lg > * {
    margin-right: 30px;
}

.gutter-y > *:not(:last-child) {
    margin-bottom: 13px;
}

.gutter-y-sm > * {
    margin-bottom: 10px;
}

.gutter-y-md > * {
    margin-bottom: 20px;
}

.gutter-y-lg > * {
    margin-bottom: 30px;
}

.justify-center {
    justify-content: center;
}

.double-column {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
}

.flex-full-width {
    flex: 0 0 100%;
}

.flex-1 {
    flex: 1;
}

.flex-2 {
    flex: 2;
}

.flex-3 {
    flex: 3;
}

.align-end {
    align-items: flex-end;
}

.content-start {
    align-content: flex-start;
}

.content-end {
    align-content: flex-end;
}

.content-center {
    align-content: center;
}

.pa-sm {
    padding: 10px;
}

.py-sm {
    padding-top: 10px;
    padding-bottom: 10px;
}

.px-sm {
    padding-left: 10px;
    padding-right: 10px;
}

.pa-md {
    padding: 20px;
}

.py-md {
    padding-top: 20px;
    padding-bottom: 20px;
}

.px-md {
    padding-left: 20px;
    padding-right: 20px;
}

.ma {
    margin-bottom: 10px;
}

.mb-sm {
    margin-bottom: 10px;
}

.mb-md {
    margin-bottom: 20px;
}

.mb-lg {
    margin-bottom: 30px;
}

.mt-sm {
    margin-top: 10px;
}

.mt-md {
    margin-top: 20px;
}

.mt-lg {
    margin-top: 30px;
}

.my-sm {
    margin-top: 10px;
    margin-bottom: 10px;
}

.my-md {
    margin-top: 20px;
    margin-bottom: 20px;
}

.my-lg {
    margin-top: 30px;
    margin-bottom: 30px;
}

.mx-sm {
    margin-left: 10px;
    margin-right: 10px;
}

.mx-md {
    margin-left: 20px;
    margin-right: 20px;
}

.mx-lg {
    margin-left: 30px;
    margin-right: 30px;
}


@media screen and (min-width: 800px) {
    .column {
        flex: 1
    }

    .double-column {
        flex: 2
    }
}

.bordered {
    border-radius: 3px;
    border: solid 1px #ebebeb;
}

.text-title {
    font-size: 18px;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: normal;
    height: 34px;
    opacity: 0.83;
    font-weight: normal;
    line-height: 2.8;
    color: whitesmoke;
}

.text-subtitle {
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.36;
    letter-spacing: normal;
    /*text-align: left;*/
    opacity: 0.58;
    color: #a6a6a6;
}

.text-normal {
    font-size: 13px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.38;
    letter-spacing: normal;
    /*text-align: start;*/
    color: #6a6a6a;
}

.text-value {
    font-size: 12px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    /*line-height: 1.38;*/
    letter-spacing: normal;
    color: #1D1D1D;

}

.text-error {
    font-size: 13px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.38;
    letter-spacing: normal;
    /*text-align: start;*/
    color: var(--negative-color);
}

.text-primary {
    color: var(--primary-color)
}

.gradient-primary {
    background-image: linear-gradient(to bottom, #5472f9, #2c50ee);
}

::placeholder {
    color: #d1d1d1;
}

a {
    text-decoration: none;
    font-size: 13px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.38;
    letter-spacing: normal;
    text-align: right;
    color: #2c50ee;
}


#app {
    display: flex;
}

.aside-content {
    flex: 1;

    display: flex;
    flex-flow: column nowrap;
}

.flip-h {
    transform: scaleX(-1)
}

.ripple {
    background-position: center;
    transition: background 0.5s;
}

.ripple:hover {
    background: var(--bars-bg-color) radial-gradient(circle, transparent 1%, var(--bars-bg-color) 1%) center/15000%;
    /*background: #dbdbdb radial-gradient(circle, transparent 1%, #dbdbdb 1%) center/15000%;*/
}

.ripple:active {
    background-color: var(--theme-color);
    background-size: 100%;
    transition: background 0s;
}

.card {
    border-radius: 10px;
    box-shadow: 0 0 20px 0 rgba(229, 229, 229, 0.75);
    background-color: #ffffff;
}

.page-container {
    flex: 1;
    display: flex;

    width: calc(100vw - 60px);
    max-width: calc(100vw - 60px);
    height: calc(100vh - 57px);
    max-height: calc(100vh - 57px);
    /*border: 1px dashed red;*/
    padding: 10px;
    overflow-x: auto;
    overflow-y: auto !important;
    background-color: #ffffff;
    /*border: 1px dashed red;*/
}

@media screen and (max-width: 768px) {
    .page-container {
        width: 100vw;
        max-width: 100vw;
        padding: 8px;

    }
}

@media screen and (min-width: 769px) {
    .page-container {
        width: calc(100vw - 60px);
        max-width: calc(100vw - 60px);
        padding: 10px;
    }
}


.tree__search-box {
    width: 213px !important;
    min-width: 113px !important;
    height: 28px !important;
    min-height: 28px !important;
    border-radius: 8px !important;
    border: solid 1px #edf2f6 !important;
    background-color: #f0f4f7 !important;
}

/* width */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar:hover {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    /*box-shadow: inset 0 0 5px grey;*/
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    /*background: rgba(146, 36, 136, .3);*/
    background: #d8d8d8;
    /*background: var(--theme-color);*/
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #AFAFAF;
}

/* Shake */
.shaking {
    /* Start the shake animation and make the animation last for 0.5 seconds */
    animation: shake 0.5s;

    /* When the animation is finished, start again */
    animation-iteration-count: infinite;
}

@keyframes shake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }
    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }
    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }
    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }
    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }
    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }
    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }
    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }
    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }
    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }
    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}

/* ******************************************* [ Drawer ] ********************************************************** */

.drawer {
    background-color: rgba(0, 0, 0, 0.25);
    transition: none;
    z-index: 88;
}

.drawer-content {
    position: absolute;
    background-color: #ffffff;
    border-radius: unset;
    width: 360px;
    right: 0;

    padding: 25px;
    margin-top: 57px;
    height: calc(100% - 57px); /* 57px is the header height */

    display: flex;
    flex-flow: column nowrap;
}

.drawer--header-font {
    font-size: 18px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.39;
    letter-spacing: normal;
    color: #232425;
}

.drawer-content__header {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
}

.drawer-content__header a {
    font-size: 1.8em;
}

.drawer-content__header a:hover {
    color: var(--primary-color)
}

.drawer-content__header__separator-line {
    width: 100%;
    margin: 0 0 20px 0;
    height: 1px;
    opacity: 0.62;
    border: solid .5px #707070;
    background-color: #000000;
}

.drawer-content__body {
    flex: 1;
    overflow-x: hidden;
    overflow-y: auto;
}

/*< Drawer  */

/* ******************************************* [ Overly ] ********************************************************** */

.overlay {
    height: 100%;
    width: 100%;
    position: absolute; /* Stay in place */
    z-index: 99; /* Sit on top */
    left: 0;
    top: 0;
    color: white;
    cursor: wait;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.8);
    overflow-x: hidden;
    overflow-y: auto;
    transition: 0.2s;
    /*border-radius: 10px;*/
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}

/* ***************************************** [ Loader Circle ] ******************************************************** */

.loader-circle:before {
    content: " ";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 13px;
    height: 13px;
    border: 2px solid red;
    border-color: transparent var(--secondary-color) transparent var(--secondary-color);
    border-radius: 50%;
    animation: loader-circle 1s linear infinite;
}

@keyframes loader-circle {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ******************************************* [ Previous Session Alert ] ******************************************* */

.previous-session {
    height: 30px;
    max-height: 30px;
    overflow-x: hidden;
    overflow-y: hidden !important;
    z-index: 20;
    position: absolute;
    top: 57px;
    padding: 0 20px;
    background-color: #f5cf00;
    color: #333333;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    cursor: default;
}

.previous-session__close-button {
    width: 22px;
    height: 100%;
    text-align: center;
    font-size: 1.5em;
    color: #333333;
}

.previous-session__close-button:hover {
    opacity: .6;
}

/* ******************************************* [ Toolbar ] ********************************************************** */
.base-toolbar__search-box {
    flex: 1;
    margin: 3px 5px;
}

.base-toolbar__search-box--input {
    width: 200px;
    min-width: 100px;
    min-height: 28px !important;
    height: 28px !important;
    border: solid 1px #edf2f6 !important;
    background-color: #f0f4f7 !important;
    color: #aab8bb !important;
    font-size: 11px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.18;
    letter-spacing: normal;
}

.base-toolbar__search-box--input::placeholder {
    color: #aab8bb !important;
}

/* ***************************************** [ Upload List ] ******************************************************** */
.base-upload-list {
    font-family: Shabnam;
    font-size: 13px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.38;
    letter-spacing: normal;
    text-align: left;
    color: #232425;
}

/* ****************************************** [ Text Box ] ********************************************************* */

.text-box__input {
    flex: 1;

    /*border-radius: 3px;*/
    border: none;
    outline: none;
    /*background-color: #ffffff;*/
    padding: 0 1px;
    /*transition: all 0.3s;*/
}

.text-box__content {
    flex: 1;
    display: flex;
    flex-flow: row nowrap;
    border-radius: 3px;
    border: solid 1px #ebebeb;
    background-color: #ffffff;
    transition: all 0.3s;
}

.text-box__content[readonly] {
    border-radius: 3px;
    border: solid 1px #ebebeb;
    background-color: #f5f5f5;
    padding: 0 1px;
}

.text-box__content__after-slot {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    padding: 2px;
}

.text-box textarea {
    padding: 2px;
}

.text-box__input--readonly {
    /*border-radius: 3px;*/
    /*border: solid 1px #ebebeb;*/
    background-color: #f5f5f5;
    padding: 0 1px;
}

.text-box__input--error {
    border-color: var(--negative-color);
}

.text-box__input--icon {
    padding-left: 2.5rem;
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-size: 14px 17px;
    background-position: 8px;
}

.text-box__input--icon-right {
    padding-right: 2.5rem;
    background-repeat: no-repeat;
    background-size: 14px 17px;
    background-position: calc(100% - 14px) center;
}

[dir="rtl"] .text-box__input--icon {
    padding-right: 2.5rem;
    background-position: 8px;
}

[dir="rtl"] .text-box__input--icon-right {
    padding-left: 2.5rem;
    background-position: calc(100% - 14px) center;
}

/* ---------- Date Time Picker */
input[type^="date"] {
    padding: 3px 16px !important;
    background: #fff url(./icons/calendar_r.png) 97% 50% no-repeat;
    background-size: 16px;
}

input[type^="date"]::-webkit-inner-spin-button {
    display: none;
}

input[type^="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
}

/*< TextBox  */

/* ***************************************** [ Base Button ] ******************************************************** */

.base-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid #efefef;
    outline: none;
    cursor: pointer;

    height: 43px;
    border-radius: 3px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.38;
    letter-spacing: normal;
    text-align: center;
    font-size: 11px;
    color: #727272;
    background-image: linear-gradient(to bottom, #ffffff -14%, #c8c8c8 170%);
    transition: all .2s;
}

.base-button:not([disabled]):hover {
    border: 1px solid var(--primary-color);
}

.base-button:not([disabled]):active {
    opacity: .8;
}

.base-button[disabled] {
    opacity: .5;
    cursor: not-allowed;
}

.base-button[primary] {
    color: #ffffff;
    border: 1px solid var(--primary-color);
    background-image: linear-gradient(92deg, #5472f9 5%, #2c50ee 104%);
}

.base-button[primary]:not([disabled]):hover {
    border: 1px solid var(--secondary-color);
    background-image: linear-gradient(92deg, #5472f9 5%, #4169E1 104%);
}

.base-button[secondary] {
    color: #727272;
    background-color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.base-button[secondary]:not([disabled]):hover {
    filter: brightness(130%);
}

.base-button[secondary]:not([disabled]):active {
    filter: brightness(90%);
}

.base-button[negative] {
    color: #ffffff;
    background-color: var(--negative-color);
    border: 1px solid var(--negative-color);
}

.base-button[negative]:not([disabled]):hover {
    filter: brightness(130%);
}

.base-button[negative]:not([disabled]):active {
    filter: brightness(90%);
}

/*< Base Button  */

/* ****************************************** [ Combo Box ] ********************************************************* */

.combo-box[disabled] {
    opacity: .3;
}

.combo-box__select {
    width: 100%;
    height: 33px;
    /*transition: none;*/

    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    background-image: url("./icons/combo-expand.svg");
    background-size: 8px 5px;
    background-position: calc(100% - 16px) center;
    background-repeat: no-repeat;
    transition: all .2s;
}

.combo-box__select:focus-within {
    background-image: url("./icons/combo-expand-up.svg");
}

.combo-box__option_placeholder {
    font-size: 11px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.18;
    letter-spacing: normal;
    color: #aab8bb;
}

.combo-box__select option {
    padding: 10px 5px;
    object-fit: contain;
    font-size: 13px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.23;
    letter-spacing: normal;
    text-align: left;
    color: #7b859a;
}

/*< Combo Box  */

/* ***************************************** [ Back Button ] ******************************************************** */
.button__back-to-menu {
    width: 2.5rem;
    height: 2.5rem;
    margin: -5px 1rem 0 0;
    border-radius: 50%;
    background-image: url("./icons/arrow-left.svg");
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--bars-bg-color);
    cursor: pointer;
    box-shadow: 0 0 30px 0 rgba(139, 139, 139, 0.05);

    transition: all .2s;
}

.button__back-to-menu:hover {
    background-color: var(--main-border-color);
}

.button__back-to-menu:active {
    background-color: var(--primary-color);
}

/*< Back Button  */


/* ***************************************** [  Header Bar ] ******************************************************** */

.header-bar {
    --header-height: 57px;

    z-index: 10;
    display: flex;
    flex-flow: row-reverse;
    align-items: center;

    height: var(--header-height);
    background-color: #2C50EE;
    box-shadow: 0 3px 6px 0 rgba(196, 196, 196, 0.16);
}

.header-bar__avatar {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    background-image: linear-gradient(183deg, #4ce7cf 103%, #2c50ee 2%);
}

.header-bar__profile {
    display: flex;
    flex-flow: row nowrap;

    justify-content: space-around;
    align-items: center;
    max-width: 200px;
}

.header-bar__profile__text {
    flex: 1;
    margin: 0 0.5rem;
    display: flex;
    flex-flow: column;
}

.header-bar__separator-v {
    width: 1px;
    height: 100%;
    margin: 0 1rem;
    background-image: linear-gradient(to bottom, #ffffff, #c2c2c2 48%, #ffffff);
}

.header-bar__app-name {
    margin: 0 10px;
}

.header-bar__menu-button__icon {
    cursor: pointer;
    margin: 0 10px;
}

@media only screen and (max-width: 768px) {
    .header-bar {
        background-color: var(--primary-color);
    }

    .header-bar > * {
        background-color: var(--primary-color);
        color: #ffffff
    }

    .header-bar__profile__text > * {
        color: #ffffff
    }

    .header-bar__app-name {
        font-size: .8em;
    }
}

@media only screen and (min-width: 768px) {

    .header-bar__profile {
        width: 200px;
    }
}

/*< End Header Bar */
