.required.has-error .help-block {
    color: #ff5555;
}
.gridActions .dropdown-menu li a.dropdown-item i,
.action-menu .dropdown-item i,
.main-menu .dropdown-item i {
    min-width: 25px;
    margin-right: 5px;
}
.action-menu .divider {
    border-top: 1px solid #eee;
}

.required > label:after {
    content: '*';
    padding-left: 5px;
    color: #dd4b39;
    font-weight: bold;
}

.checkpoint.has-error input,
.required .has-error.input-group-text,
.required .has-error.form-select,
.required .has-error.form-control,
.required.has-error .input-group-text,
.required.has-error .form-select,
.required.has-error .form-control,
.required.has-error.input-group-text,
.required.has-error.form-select,
.required.has-error.form-control {
    border-color: #b80000 !important;
}

.required.has-error .control-label,
.required.has-error .help-block {
    color: #b80000;
}

.datepickers-container {
    z-index: 1100;
}

.full-height-dialog .header {
    flex: 0 1 auto;
    border-bottom: 1px solid #dee2e6;
}
.full-height-dialog .content {
    flex: 1 1 auto;
}
.full-height-dialog .footer {
    border-top: 1px solid #dee2e6;
    flex: 0 1 40px;
}

.btn-outline-secondary {
    --bs-btn-color: #6c757d;
    --bs-btn-border-color: #ced4da;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #6c757d;
    --bs-btn-hover-border-color: #6c757d;
    --bs-btn-focus-shadow-rgb: 108, 117, 125;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #6c757d;
    --bs-btn-active-border-color: #6c757d;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #6c757d;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #6c757d;
    --bs-gradient: none;
}

.bootstrap-touchspin.input-group>.input-group-prepend>.btn, .bootstrap-touchspin.input-group>.input-group-prepend>.input-group-text {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.bootstrap-touchspin.input-group>.input-group-append>.btn, .bootstrap-touchspin.input-group>.input-group-append>.input-group-text {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

html, body {
    height: 100%;
}

#calendar {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}
.checkpoint i {
    display: inline-block;
    min-width: 16px;
}
.checkpoint small.text-muted {
    text-align: center;
    display: inline-block;
    width: 33px;
}
.text-white a,
.text-white a:visited,
.text-white a:hover {
    color: white;
}
.card .action-hidden {
    min-width: 50px;
    min-height: 50px;
    display: none;
}
.card:hover .action-hidden,
tr:hover .action-hidden {
    display: inline;
}
.mw-100px {
    max-width: 100px !important;
}
.mw-200px {
    max-width: 200px !important;
}
.mw-300px {
    max-width: 300px !important;
}
.miw-100px {
    min-width: 100px !important;
}
.miw-200px {
    min-width: 200px !important;
}
.miw-300px {
    min-width: 300px !important;
}
.fs-10px {
    font-size: 10px !important;
}
.fs-12px {
    font-size: 12px !important;
}
.fs-14px {
    font-size: 14px !important;
}
.fs-16px {
    font-size: 16px !important;
}
.fs-18px {
    font-size: 18px !important;
}
.fs-20px {
    font-size: 20px !important;
}
.accordion-vh-100 {
    height: 100%;
    display: flex;
    flex-flow: column nowrap;
}
.accordion-vh-100 .accordion-collapse.collapse.show,
.accordion-item-grow {
    flex-grow: 1;
    display: flex !important;
    flex-direction: column !important;
}
.air-datepicker-global-container {
    z-index:  9999;
}
a {
    text-decoration: none !important;
}
.avatar .badge.badge-rt {
    top: -10px !important;
    right: -10px !important;
}
.btn .badge.badge-rt {
    top: -15px !important;
}
.dropdown-reminders {
    min-width: 300px !important;
}
.lnb-calendars-item a {
    color: var(--bs-body-color);
}

.popover {
    white-space: pre-line;
}
.dropdown-menu li a.dropdown-item i {
    min-width: 30px;
}
.readonly {
    background-color: #eee;
}
.initial-avatar {
    /* Center the content */
    align-items: center;
    display: flex;
    justify-content: center;

    /* Rounded border */
    border-radius: 50%;

    /* Size */
    padding-left: 0;
    padding-right: 0;
    min-width: 40px;
}
.order-deleted,
.order-deleted .d-inline-block {
    text-decoration: line-through !important;
}
.tag-preview {
    width: 20px;
    height: 20px;
    border: 1px solid #555;
    background-color: #fff;
}

hr.dashed {
    border-top: 2px dashed #999;
}

hr.dotted {
    border-top: 2px dotted #999;
}

hr.solid {
    border-top: 2px solid #999;
}


/*hr.hr-text {*/
/*    position: relative;*/
/*    border: none;*/
/*    height: 1px;*/
/*    background: #999;*/
/*}*/

/*hr.hr-text::before {*/
/*    content: attr(data-content);*/
/*    display: inline-block;*/
/*    background: #fff;*/
/*    font-weight: bold;*/
/*    font-size: 0.85rem;*/
/*    color: #999;*/
/*    border-radius: 30rem;*/
/*    padding: 0.2rem 2rem;*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 50%;*/
/*    transform: translate(-50%, -50%);*/
/*}*/


.hr-text {
    line-height: 1em;
    position: relative;
    outline: 0;
    border: 0;
    color: black;
    text-align: center;
    height: 1.5em;
    opacity: .8;
}
.hr-text:before {
    content: '';
    background-color: var(--bs-border-color);
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
}
.hr-text:after {
    content: attr(data-content);
    position: relative;
    display: inline-block;
    padding: 0 .5em;
    line-height: 1.5em;
    color: #818078;
    background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
}

.cursor-hand {
    cursor: pointer;
}
.tag-select i,
.tag-select span {
    opacity: 0.3;
}
.tag-select.active i,
.tag-select:hover i,
.tag-select:hover span,
.tag-select.active span {
    opacity: 1;
}
.tag-select small {
    display: none;
}
.tag-select:hover small {
    display: inline;
}

.dropdown-btn .dropdown-chevron {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display,inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    font-family: "Font Awesome 6 Pro";
    font-weight: 400 !important;
}
.dropdown-btn .dropdown-chevron:before {
    content: "\f077";
}
.dropdown-btn.collapsed .dropdown-chevron:before {
    content: "\f078";
}
.text-dashed {
    text-decoration: underline;
    text-decoration-style: dashed;
    text-decoration-color: #cccccc;
    text-decoration-thickness: 1px;
}
.text-dotted {
    text-decoration: underline;
    text-decoration-style: dotted;
    /*text-decoration-color: #cccccc;*/
    text-decoration-thickness: 1px;
}
.table > :not(caption) > * > * {
    border-bottom-width: 0px; /* Remove Bootstrap's bottom border */
    border-top-width: 1px; /* Add a top border */
}
.w-10 { width: 10%; }
.w-20 { width: 20%; }
.w-30 { width: 30%; }
.w-40 { width: 40%; }
.w-50 { width: 50%; }
.w-60 { width: 60%; }
.w-70 { width: 70%; }
.w-80 { width: 80%; }
.w-90 { width: 90%; }
.w-100 { width: 100%; }

#control-div .select2 .select2-search__field::placeholder {
    color: #444;
}
#control-div .select2 .select2-search__field {
    margin-left: 0.5rem !important;
}
#control-div .select2.select2-container.select2-container--default {
    padding: 0.05rem 3rem 0.05rem 0.05rem !important;
    border-radius: var(--bs-border-radius-sm) !important;
}

#control-div .select2-container--default .select2-selection--multiple {
    border-color: transparent !important;
    border: 0 !important;
}

.caret {
    transition: 0.5s;
    transform: rotate(180deg);
}
.caret::before {
    font-size: 12px;
}
.collapsed .caret {
    transform: rotate(0deg);
}
.avatar-small {
    font-size: 0.5em;
}
.mt-2px {
    margin-top: 2px;
}
.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) .select2-selection {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border: var(--bs-border-width) solid var(--bs-border-color);
}
.select2-container--default .select2-selection--multiple {
    padding-top: 6px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin-top: 1px;
    margin-bottom: 1px;
}
.select2-container--default .select2-search--inline .select2-search__field {
    padding: 0 8px;
    font-family: inherit;
    margin-top: 0;
    margin-bottom: 5px;
    height: 20px;
}
.select2-container--default .select2-search--inline .select2-search__field::placeholder {
    color: #333;
}
.collapsed .btn-card-form-normal,
.collapsed .btn-card-form-clear {
    display: none;
}
/*.form-control:read-only,*/
/*.form-control:read-only label {*/
/*    background-color: var(--bs-secondary-bg);*/
/*    opacity: 1;*/
/*}*/
.form-control:read-only ~ label:after {
    background-color: transparent !important;
}

.modal-fullheight {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    height: 100% !important;
}
.modal-fullheight .modal-content {
    height: 100%;
}
.modal-fullheight .modal-body {
    overflow-y: auto;
}
.border-dashed {
    border-style: dashed;
}
.mobile-menu i.fa,
.mobile-menu i.fas,
.mobile-menu i.fa-solid {
    min-width: 20px;
}
.mobile-menu a,
.mobile-menu a:visited,
.mobile-menu a.hover {
    color: #000000;
}
.filters .btn-group {
    margin-bottom: 5px;
}
.html-dotted {
    border-bottom-style: dotted;
    border-bottom-width: 1px;
    border-bottom-color: #000000;
}
.html-dashed {
    /*border-bottom-style: dashed;
    border-bottom-width: 1px;
    border-bottom-color: #000000;*/

    text-decoration: underline;
    text-decoration-style: dashed;
    text-decoration-color: #999999;
    text-decoration-thickness: 1px;
}
body {
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
}
.vh100 {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
}