﻿@font-face {
    font-family: 'Manrope';
    src: url('/Users/fonts/manrope-regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Manrope';
    src: url('/Users/fonts/manrope-semibold.ttf') format('truetype');
    font-weight: 600;
}

html {
    font-size: 14px;
    color: #212529 !important;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
        color: #212529 !important;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin: 0;
    margin-bottom: 60px;
    color: #212529 !important;
    font-family: 'Manrope', sans-serif !important;
}

.btn-success {
    background-color: #28A745 !important;
    border-color: #28A745 !important;
    color: #fff !important;
}

p, .menu-link {
    color: #212529 !important;
}

h1, h2, h3, h4, h5, h6 {
    color: #212529 !important;
}

th, td {
    color: #212529 !important;
}

input {
    color: #212529 !important;
}

.btn-danger {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #fff !important;
}

.btn-primary {
    color: #fff !important;
    border-color: #292662 !important;
    background-color: #292662 !important;
}

.alert-success {
    background-color: #28A745 !important;
    border-color: #28A745 !important;
    color: #fff !important;
}

.btn-close {
    color: #fff !important;
}

.alert-danger {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #fff !important;
}

.content-wrapper {
    background: #f4f6f9 !important;
}

.main-footer {
    background-color: #fff !important;
    border-top: 1px solid #dee2e6 !important;
    color: #869099 !important;
    padding: 1rem !important;
}

.fc-tg {
    color: #447219 !important;
}

/*.sidebar {
    background-color: #dddddd !important;
}*/

.form-group {
    margin-bottom: 1rem !important;
}

.submenu-inner {
    list-style: none;
    padding: 0 0 0 8px;
    margin: 5px 0 0 0;
}

.submenu-item {
    margin-bottom: 5px;
}

.submenu-link {
    display: flex;
    align-items: center;
    padding: 0.4rem;
    text-decoration: none;
    color: gray;
    border-radius: .3125rem;
    transition: background-color 0.3s;
}

.submenu-link:hover {
    background-color: #e9ecef;
}

.collapse.show .submenu-inner {
    display: block;
}

.right {
    text-align: right !important;
    position: absolute !important;
    right: 1rem !important;
    top: .7rem !important;
}

.btn {
    padding: .375rem .75rem !important;
}

.select2-container .select2-selection--single {
    height: px !important;
}

.select2-container .select2-selection--single {
    height: 35px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 10px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    border-right: 0 !important;
}

@media only screen and (min-width: 992px) {
    padding: 0 0.6rem;
}

.select2-container--open {
    /*position: absolute !important;*/
    z-index: 9999 !important;
}

.select2-dropdown {
    position: absolute !important;
    z-index: 9999 !important;
    top: auto !important;
}

.assign {
    margin-top: 7rem !important;
}

.revoke {
    margin-top: 1rem !important;
}

@media (max-width: 767px) {
    aside#layout-menu {
        margin-top: 0px !important;
    }
}

li a:hover {
    color: #447219 !important;
}
.bg-menu-theme .menu-item.active > .menu-link:not(.menu-toggle) {
    background-color: #447219 !important;
    color: #ffffff !important;
}
.bg-menu-theme .menu-inner .menu-item.open > .menu-link:hover, .bg-menu-theme .menu-inner .menu-item:not(.active) .menu-link:hover {
    background-color: #447219 !important;
    color: #ffffff !important;
}
.card-title {
    margin-bottom: 0.5rem !important;
    margin-top: 0.5rem !important;
}

@media (min-width: 1200px) {
    .layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .layout-menu .menu-vertical .menu-inner .menu-item div:not(.menu-block), .layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .layout-menu.menu-vertical .menu-inner .menu-item div:not(.menu-block) {
        opacity: 1 !important;
    }
}
.gridrow {
    padding: calc(var(--bs-gutter-x)* 0.5) !important;
}

.dx-datagrid-headers .dx-datagrid-table .dx-row > td {
    padding: 0.5rem !important;
}

.input-validation-error {
    border-color: red !important;
}

input.valid, select.valid, textarea.valid {
    border-color: green !important;
}

.field-validation-error {
    color: red !important;
}


/*  Invalid (works for input, select, textarea) */
input.input-validation-error,
select.input-validation-error,
textarea.input-validation-error {
    border-color: red !important;
}

/* Valid (force green for select too) */
input.valid,
select.valid,
textarea.valid {
    border-color: green !important;
}
@font-face {
    font-family: 'manrope';
    src: url('../fonts/manrope/manrope-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'manropebold';
    src: url('../fonts/manrope/manrope-semi-bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: "manrope" !important;
    letter-spacing: .02em;
}
/* =========================================================
   FORM STANDARDIZATION
   ========================================================= */

.panel-body {
    padding: 20px;
}

/* Section spacing */
.panel {
    margin-bottom: 20px;
}

.panel-heading {
    padding: 12px 15px;
}

.panel-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

/* Bootstrap row spacing */
.row {
    margin-bottom: 0;
}

/* Field containers */
.field-block,
.form-group {
    margin-bottom: 8px;
}

/* Labels */
.control-label,
.form-label,
label {
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

/* Required mark */
.required {
    color: #dc3545;
    margin-left: 2px;
}

/* Inputs */
.form-control,
.form-select {
    height: 38px;
    border-radius: 4px;
    font-size: 14px;
}

    /* Readonly fields */
    .form-control[readonly] {
        background-color: #f8f9fa;
    }

/* Textareas */
textarea.form-control {
    height: auto;
    min-height: 100px;
}

/* Validation messages */
.text-danger {
    display: block;
    min-height: 8px;
    font-size: 12px;
    margin-top: 4px;
    color: #dc3545 !important;
}

/* Prevent form jumping on validation */
.validation-summary-errors,
.field-validation-error {
    display: block;
    min-height: 8px;
}

/* Radio buttons */
.form-check {
    margin-right: 15px;
}

.form-check-label {
    margin-left: 4px;
}

/* Cards / address blocks */
.panel-success,
.panel-info {
    border-radius: 4px;
}

    /* Address Panels */
    .panel-success .panel-body,
    .panel-info .panel-body {
        padding: 20px;
    }

/* File upload */
input[type="file"] {
    padding: 6px;
}

/* Section title */
.section-title {
    margin-bottom: 15px;
    font-weight: 600;
}

/* Save button area */
.panel-footer {
    padding: 20px;
}

    .panel-footer .btn {
        min-width: 100px;
    }

/* =========================================================
   SELECT2
   ========================================================= */

.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    height: 38px !important;
    border: 1px solid #ced4da !important;
    border-radius: 4px !important;
}

.select2-selection__rendered {
    line-height: 36px !important;
    padding-left: 12px !important;
}

.select2-selection__arrow {
    height: 36px !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .form-group,
    .field-block {
        margin-bottom: 15px;
    }

    .panel-body {
        padding: 15px;
    }

    .panel-footer {
        text-align: center;
    }
}

.panel-body {
    padding: 12px 15px;
}

.form-group {
    margin-bottom: 4px !important;
}

.panel-body .row {
    margin-bottom: 0;
}

label,
.control-label,
.form-label {
    margin-bottom: 2px;
}

.text-danger {
    min-height: 0;
    margin-top: 2px;
    font-size: 12px;
}