﻿@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 100 400;
    src: url('/Content/libs/fonts/Inter-Regular.woff2');
}

@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 500 900;
    src: url('/Content/libs/fonts/Inter-Bold.woff2');
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --main-border-color: rgba(0, 0, 0, 0.125);
}

html {
    --scrollbar-bg: #cfd8dc;
    --thumb-bg: #90a4ae;
    --theme-color1: #2f66a9;
}

::-webkit-scrollbar {
    width: 11px;
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-bg);
}

::-webkit-scrollbar-thumb {
    background-color: var(--thumb-bg);
    border-radius: 6px;
    border: 3px solid var(--scrollbar-bg);
}

html {
    margin: 0px;
    height: 100%;
    width: 100%;
}

body {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    overscroll-behavior: none;
}

form {
    height: 100%;
    width: 100%;
}

textarea {
    resize: none;
}

@keyframes mks-animation-01 {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

#mks_form_container {
    width: 100%;
    height: 100%;
    overflow: auto;
}

.header-container {
    position: fixed;
    top: 0px;
    height: 50px;
    width: 100%;
    z-index: 11;
}

.body-container {
    position: relative;
    top: 54px;
    width: 100%;
    z-index: 10;
}

.mks-content {
    padding: 3px;
}

.mks-title {
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    background-color: #e8f3fc;
    font-weight: 600;
    color: #333;
    font-size: 15px;
    display: block;
    width: 100%;
    padding: 3px 7px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/******************************************* general mks clasess *********************************************/
.mks-flex-2col {
    display: flex;
    justify-content: space-between;
}

.mks-flex-end {
    display: flex;
    justify-content: flex-end;
}

.mks-readmode[readonly] {
    background-color: #ededed !important;
}

hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.mks-hidden {
    display: none;
}

/******************************************* bootstrap extentions *********************************************/
.alert {
    padding: 5px;
    margin: 0px;
    font-size: 12.8px;
}

.form-group,
.form-check,
.table {
    margin: 1px 0px;
}

    .form-group input[type=text],
    .form-group input[type=password],
    .form-group select,
    .table input[type=text],
    .table input[type=password],
    .table select {
        font-size: 12.8px;
        padding: 3px 6px;
        height: 35px;
    }

    .form-group textarea,
    .table textarea {
        font-size: 12.8px;
        padding: 3px 6px;
    }

    .form-group label {
        font-size: 12.8px;
        font-weight: bold;
        margin-top: 1px;
        margin-bottom: 0px;
    }

    .form-check label {
        font-size: 12.8px;
        margin-top: 5px;
        margin-bottom: 0px;
    }

.list-group-item {
    font-size: 13.3px;
    padding: 10px 10px;
}

.list-group-item-action {
    cursor: pointer;
}

.dropdown-item {
    cursor: pointer;
}

.form-control[readonly] {
    background-color: transparent;
}

.table {
    padding: 0px;
    margin: 0px;
}

    .table tbody tr {
        font-size: 12.8px;
    }

        .table tbody tr th,
        .table tbody tr td {
            line-height: 25px;
            padding: 3px;
        }

/* tab headers */
.nav-tabs {
    border-bottom: 1px solid var(--theme-color1);
    margin-bottom: 5px;
}

    .nav-tabs .nav-item .nav-link {
        font-size: 14.8px;
        line-height: 21px;
        font-weight: 400;
        background-color: #fff;
        border-top: 1px solid #d7d7d7;
        border-left: 1px solid #d7d7d7;
        border-right: 1px solid #d7d7d7;
        border-bottom: 1px solid var(--theme-color1);
        padding: 5px 11px;
        color: #464646;
    }

        .nav-tabs .nav-item .nav-link.active {
            font-weight: 400;
            background-color: #f9fcff;
            border-top: 1px solid var(--theme-color1);
            border-left: 1px solid var(--theme-color1);
            border-right: 1px solid var(--theme-color1);
            border-bottom: 1px solid #fff;
        }

.mks-card-no-border {
    border: 0px;
}

.card {
    margin-top: 5px;
    margin-bottom: 7px;
    padding: 0px;
}

.card-header {
    padding: 7px 9px;
    height: 35px;
    color: white;
    background-color: var(--theme-color1);
    font-size: 14.8px;
}

.card-body {
    padding: 0px;
    margin: 5px;
}

/******************************************* mks-form *********************************************/
.mks-form-btn-row {
}

    .mks-form-btn-row::after {
        content: "";
        clear: both;
        display: table;
    }

    .mks-form-btn-row .xbeg {
        float: left;
    }

    .mks-form-btn-row .xend {
        float: right;
    }

.mks-form-row-50-50 {
    overflow: auto;
    margin-bottom: 5px;
}

    .mks-form-row-50-50::after {
        content: "";
        clear: both;
        display: table;
    }

    .mks-form-row-50-50 > *:nth-child(1) {
        float: left;
        width: 50%;
        padding-right: 3px;
    }

    .mks-form-row-50-50 > *:nth-child(2) {
        float: right;
        width: 50%;
        padding-left: 3px;
    }

.mks-form-row1 {
    padding-top: 3px;
    padding-bottom: 3px;
}

.mks-form-row-2cols {
    overflow: auto;
}

    .mks-form-row-2cols::after {
        content: "";
        clear: both;
        display: table;
    }

    .mks-form-row-2cols > *:nth-child(1) {
        float: left;
    }

    .mks-form-row-2cols > *:nth-child(2) {
        float: right;
    }

/******************************************* mks-pos *********************************************/
.mks-pos-header-row {
    display: block;
    font-size: 0px;
    padding: 3px 5px;
}

    .mks-pos-header-row::after {
        content: "";
        clear: both;
        display: table;
    }

    .mks-pos-header-row .xtitle {
        float: left;
        font-size: 15px;
        font-weight: bold;
        color: #555;
        margin-top: 0px;
    }

    .mks-pos-header-row .xbuttons {
        float: right;
    }

.mks-pos-icons-row {
    padding-bottom: 5px;
    padding-right: 3px;
}

    .mks-pos-icons-row::after {
        content: "";
        clear: both;
        display: table;
    }

    .mks-pos-icons-row .xicons {
        float: right;
    }

        .mks-pos-icons-row .xicons button {
            min-width: 35px;
            margin-left: 5px;
        }


/******************************************* mks-list *********************************************/
.mks-list-title-row {
    padding: 0px;
    margin: 0px;
}

    .mks-list-title-row::after {
        content: "";
        display: table;
        border-collapse: collapse;
        clear: both;
    }

    .mks-list-title-row .xtitle {
        width: calc( 100% - 120px );
        font-weight: bold;
        padding: 3px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        float: left;
        line-height: 31px;
    }

    .mks-list-title-row .xbuttons {
        width: 120px;
        float: right;
        text-align: right;
        padding: 3px;
    }


/******************************************* mks-list-rows *********************************************/
.mks-list-row-100 {
    margin-bottom: 5px;
}

    .mks-list-row-100::after {
        content: "";
        display: table;
        border-collapse: collapse;
        clear: both;
    }

    .mks-list-row-100 > *:nth-child(1) {
        display: block;
        font-size: 12.8px;
        width: 100%;
        float: left;
    }

.mks-list-row-50-50 {
    margin-bottom: 5px;
}

    .mks-list-row-50-50::after {
        content: "";
        display: table;
        border-collapse: collapse;
        clear: both;
    }

    .mks-list-row-50-50 > *:nth-child(1) {
        display: block;
        font-size: 12.8px;
        width: 50%;
        float: left;
    }

    .mks-list-row-50-50 > *:nth-child(2) {
        display: block;
        font-size: 12.8px;
        width: 50%;
        float: right;
    }

.mks-list-row-70-30 {
    margin-bottom: 5px;
}

    .mks-list-row-70-30::after {
        content: "";
        display: table;
        border-collapse: collapse;
        clear: both;
    }

    .mks-list-row-70-30 > *:nth-child(1) {
        display: block;
        font-size: 12.8px;
        width: 70%;
        float: left;
    }

    .mks-list-row-70-30 > *:nth-child(2) {
        display: block;
        font-size: 12.8px;
        width: 30%;
        float: right;
    }

.mks-list-row-30-70 {
    margin-bottom: 5px;
}

    .mks-list-row-30-70::after {
        content: "";
        display: table;
        border-collapse: collapse;
        clear: both;
    }

    .mks-list-row-30-70 > *:nth-child(1) {
        display: block;
        font-size: 12.8px;
        width: 30%;
        float: left;
    }

    .mks-list-row-30-70 > *:nth-child(2) {
        display: block;
        font-size: 12.8px;
        width: 70%;
        float: right;
    }

.mks-list-row-20-80 {
    margin-bottom: 5px;
}

    .mks-list-row-20-80::after {
        content: "";
        display: table;
        border-collapse: collapse;
        clear: both;
    }

    .mks-list-row-20-80 > *:nth-child(1) {
        display: block;
        font-size: 12.8px;
        width: 20%;
        float: left;
    }

    .mks-list-row-20-80 > *:nth-child(2) {
        display: block;
        font-size: 12.8px;
        width: 80%;
        float: right;
    }

.mks-list-row-80-20 {
    margin-bottom: 5px;
}

    .mks-list-row-80-20::after {
        content: "";
        display: table;
        border-collapse: collapse;
        clear: both;
    }

    .mks-list-row-80-20 > *:nth-child(1) {
        display: block;
        font-size: 12.8px;
        width: 80%;
        float: left;
    }

    .mks-list-row-80-20 > *:nth-child(2) {
        display: block;
        font-size: 12.8px;
        width: 20%;
        float: right;
    }


.mks-list-row-40-60 {
    margin-bottom: 5px;
}

    .mks-list-row-40-60::after {
        content: "";
        display: table;
        border-collapse: collapse;
        clear: both;
    }

    .mks-list-row-40-60 > *:nth-child(1) {
        display: block;
        font-size: 12.8px;
        width: 40%;
        float: left;
    }

    .mks-list-row-40-60 > *:nth-child(2) {
        display: block;
        font-size: 12.8px;
        width: 60%;
        float: right;
    }

.mks-list-row-90-10 {
    margin-bottom: 5px;
}

    .mks-list-row-90-10::after {
        content: "";
        display: table;
        border-collapse: collapse;
        clear: both;
    }

    .mks-list-row-90-10 > *:nth-child(1) {
        display: block;
        font-size: 12.8px;
        width: 90%;
        float: left;
    }

    .mks-list-row-90-10 > *:nth-child(2) {
        display: block;
        font-size: 12.8px;
        width: 10%;
        float: right;
    }

.mks-list-result-message {
    font-weight: normal;
    padding: 0.75rem 1.25rem;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 0.25rem;
    margin: 3px;
}


.mks-row-x1 {
    margin-bottom: 5px;
}

    .mks-row-x1::after {
        content: "";
        display: table;
        border-collapse: collapse;
        clear: both;
    }

    .mks-row-x1 > div {
        display: block;
        float: left;
    }

.mks-col-20 {
    width: 20%;
}

.mks-col-60 {
    width: 60%;
}

.mks-col-80 {
    width: 80%;
}

.mks-col-100 {
    width: 100%;
}

/******************************************* mks - basics *******************************************/
.mks-text-16px {
    font-size: 16px;
}

.mks-label {
    font-weight: bold;
}

.mks-nowrap {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mks-wrap {
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: unset !important;
}

.mks-clearfix {
}

    .mks-clearfix::after {
        content: "";
        clear: both;
        display: table;
    }

.mks-float-left {
    float: left;
}

.mks-float-right {
    float: right;
}

.mks-text-left {
    text-align: left;
}

.mks-text-right {
    text-align: right;
}

.mks-text-center {
    text-align: center;
}

.mks-cursor-pointer {
    cursor: pointer;
}

.mks-bold {
    font-weight: bold;
}


/*colors*/
.mks-color-burgandy {
    color: #800020;
}

.mks-color-green {
    color: green;
}

.mks-color-red {
    color: red;
}

.mks-color-blue {
    color: blue;
}

.mks-color-gray {
    color: #6c757d;
}

/*border colors*/
.mks-border-red {
    border: 1px solid red;
}

.mks-border-green {
    border: 1px solid green;
}

.mks-border-blue {
    border: 1px solid blue;
}

/*background colors*/
.mks-bg-light-blue {
    background-color: #e3f6f5;
}

.mks-bg-light-green {
    background-color: #e5f6e3;
}

.mks-bg-light-yellow {
    background-color: #fffff2;
}

.mks-bg-light-gray1 {
    background-color: #8f8b8b;
}

.mks-bg-light-gray2 {
    background-color: #dbdbdb;
}

/*mks rotate*/
.mks-rotate-45 {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

/*others*/
.mks-msg-no-record-found {
    margin: 7px;
    padding: 7px;
    text-align: center;
    color: #856404;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 3px;
    font-size: 12.8px;
    font-weight: bold;
}

.mks-paging-info-text {
    font-size: 13.8px;
    line-height: 35px;
}

/****************************** mks-search-box **********************************/
.mks-search-box-container {
    margin-bottom: 7px;
}

.mks-search-box-text {
    font-size: 12.8px;
    height: 40px;
    background-color: lightyellow;
}

    .mks-search-box-text:focus {
        background-color: lightyellow;
    }

/****************************** mks-sys-checkbox-main ************************************/
.mks-sys-checkbox-main {
    margin-top: 1px;
    line-height: 25px;
    cursor: pointer;
    display: inline-block;
    width: 100%;
}

    .mks-sys-checkbox-main .x-icon {
        vertical-align: top;
        margin-top: 2px;
        font-size: 22px;
    }

    .mks-sys-checkbox-main .x-text {
        vertical-align: top;
        font-size: 14px;
    }

/****************************** mks-combobox ************************************/
.mks-dialoglist-group {
    margin-top: 5px;
}

    .mks-dialoglist-group .mks-dialoglist-item:first-child {
        border-top: 1px solid var(--main-border-color);
        border-top-right-radius: 5px;
        border-top-left-radius: 5px;
    }

    .mks-dialoglist-group .mks-dialoglist-item:last-child {
        border-bottom-right-radius: 5px;
        border-bottom-left-radius: 5px;
    }

    .mks-dialoglist-group .mks-dialoglist-item {
        border-left: 1px solid var(--main-border-color);
        border-right: 1px solid var(--main-border-color);
        border-bottom: 1px solid var(--main-border-color);
        cursor: pointer;
        font-size: 13.3px;
    }

        .mks-dialoglist-group .mks-dialoglist-item:hover {
            background-color: #f3f3f3;
            cursor: pointer;
        }

        /* multi select */
        .mks-dialoglist-group .mks-dialoglist-item .x-multi-line {
            margin: 7px 7px 7px 3px;
            cursor: pointer;
            line-height: 25px;
            display: inline-block;
            width: 100%;
        }

            .mks-dialoglist-group .mks-dialoglist-item .x-multi-line .x-icon {
                vertical-align: top;
                margin-top: 2px;
                font-size: 22px;
            }

            .mks-dialoglist-group .mks-dialoglist-item .x-multi-line .x-text {
                margin-left: 3px;
                vertical-align: top;
                font-size: 14px;
            }

        /* single select */
        .mks-dialoglist-group .mks-dialoglist-item .x-single-line {
            margin: 9px;
            display: inline-block;
        }

/* mks-component-switch-button */
.mks-component-switch-button {
    display: inline-block;
    border: 1px solid #ccc;
    float: left;
    height: 35px;
    margin-right: 5px;
    border-radius: 4px;
}

    .mks-component-switch-button .x-body {
        margin: 3px;
    }

        .mks-component-switch-button .x-body span {
            display: inline-block;
            background-color: #fff;
            padding: 3px 5px;
            font-size: 14px;
            border-radius: 3px;
        }

            .mks-component-switch-button .x-body span.x-editmode {
                cursor: pointer;
            }

                .mks-component-switch-button .x-body span.x-editmode:hover {
                    background-color: #ccc;
                }

                .mks-component-switch-button .x-body span.x-editmode[data-mks-is-selected=X] {
                    background-color: var(--blue);
                    border-color: var(--blue);
                    color: #fff;
                }

            .mks-component-switch-button .x-body span.x-readmode[data-mks-is-selected=X] {
                background-color: #5e5e5e;
                border-color: #5e5e5e;
                color: #fff;
            }

/* */
.mks-sys-dialog-x {
    padding: 0 !important;
}

    .mks-sys-dialog-x .modal-dialog {
    }

    .mks-sys-dialog-x .modal-content {
        width: 100%;
        height: 100%;
        border: 0;
        border-radius: 0;
        margin: auto;
    }

    .mks-sys-dialog-x .modal-body {
        overflow-y: auto;
    }


/****************************** modal *****************************************/
.modal {
    background-color: rgba(0,0,0,0.5);
}

.modal-title {
    font-size: 14.8px;
}

.modal-header {
    padding: 10px 16px;
}

.mks-modal1 {
    padding: 0 !important;
}

    .mks-modal1 .modal-dialog {
        width: 95%;
        height: 95%;
        top: 2%;
        max-width: 900px; /* for wide screen */
        margin: auto;
    }

    .mks-modal1 .modal-content {
        width: 100%;
        height: 100%;
        border: 0;
        border-radius: 0;
        margin: auto;
    }

    .mks-modal1 .modal-body {
        overflow-y: auto;
    }

.mks-modal2 {
}

/* */
.mks-collapsible {
}

.mks-collapsible-default-closed {
}

.mks-card-collapse-icon {
    -moz-transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

    .mks-card-collapse-icon.collapsed {
        -moz-transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }

/*  */
.mks-text-height-enabled .x-bottom {
    font-weight: bold;
    width: 100%;
    display: block;
}

/*  */
.mks-sys-datetime-container {
}

    .mks-sys-datetime-container::after {
        content: "";
        clear: both;
        display: table;
    }

    .mks-sys-datetime-container *:nth-child(1) {
        float: left;
    }

    .mks-sys-datetime-container *:nth-child(2) {
        float: left;
    }

/* */
.mks-tabs {
}

    .mks-tabs .x-tab {
    }

    .mks-tabs .x-header {
    }

    .mks-tabs .x-content {
    }

/*  */
#mks_submit_loader_container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(0,0,0,0.3);
    z-index: 2000;
}

    #mks_submit_loader_container .x-body {
        position: fixed;
        top: 50%;
        left: 50%;
        margin: 0;
        transform: translate(-50%, -50%);
        z-index: 2001;
        color: #fff;
    }

/* */
.mks-dlg-section1 {
    font-size: 13.8px;
}

    .mks-dlg-section1 .x-title-row {
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid #ddd;
        padding: 3px;
    }

    .mks-dlg-section1 .x-grp-row {
        margin-top: 5px;
        padding: 5px;
        color: #000;
        font-weight: bold;
    }

    .mks-dlg-section1 .x-item-row.x-first {
        border-top: 1px solid #ddd;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

    .mks-dlg-section1 .x-item-row.x-last {
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
    }

    .mks-dlg-section1 .x-item-row {
        border-bottom: 1px solid #ddd;
        border-left: 1px solid #ddd;
        border-right: 1px solid #ddd;
    }

        .mks-dlg-section1 .x-item-row .x-text {
            padding: 7px 5px;
        }

/* */
.mks-link-item {
    color: #0049bd;
    cursor: pointer;
}

.mks-hover-1:hover {
    background-color: #efefef;
}

.mks-navbar-template {
}

.mks-navbar-dropdown {
}

.mks-navbar-item-content {
}

.mks-sys-dlg-btn1 {
}

.mks-sys-dlg-btn2 {
}

.mks-subform {
}

.mks-sys-html-editor {
}

.mks-sys-html-viewer {
    overflow: auto;
    padding: 3px;
    border-radius: 3px;
}

.mks-tabs-default-active {
}

/* mks-data-grid1 */
.mks-data-grid1 {
    padding: 7px;
}

    .mks-data-grid1 table {
        width: 100%;
        border-spacing: 0;
        border-radius: 7px;
    }

        .mks-data-grid1 table th {
            font-size: 13.8px;
            padding: 5px;
        }

        .mks-data-grid1 table td {
            font-size: 12.8px;
            padding: 5px;
        }

/* dark */
body.dark .mks-data-grid1 table {
    border: 1px solid var(--x-gray-600);
}

    body.dark .mks-data-grid1 table th {
        color: white;
    }

    body.dark .mks-data-grid1 table td {
        color: white;
        border-top: 1px solid var(--x-gray-600);
    }

/* light */
body.light .mks-data-grid1 table {
    border: 1px solid var(--x-gray-300);
    background-color: var(--x-gray-50);
}

    body.light .mks-data-grid1 table th {
        color: black;
    }

    body.light .mks-data-grid1 table td {
        color: black;
        border-top: 1px solid var(--x-gray-300);
    }
