/* Sweet Alert */

.swal2-title {
    max-width: none !important;
    padding: 0 1em 0 !important;
    font-size: 1.3em !important;
}

.swal2-html-container {
    margin: 0 0.6em 0.5em !important;
    font-size: 0.9em !important;
}

/* Just Validate */

.just-validate-error-label {
    font-size: 0.85rem;
}

/* Bootstarp5 Icons */

.bi::before, [class*=" bi-"]::before, [class^=bi-]::before {
    vertical-align: -0.25em;
}

/* Bootstarp5 Classes */

.row.no-margin {
    margin-left: 0;
    margin-right: 0;
}

.card {
    border: none;
}

.btn:focus , [role="button"]:focus {
    box-shadow: none !important;
}

.icon-valign i::before , .btn i::before {
    vertical-align: -0.25em;
}

/* Form Inputs */

.form-control , .form-select {
    font-size: 0.9rem;
    border: 2px solid #ddd;
    color: #555 !important;
    padding: 0.5rem;
    border-radius: 0.25rem;
}

.form-control::placeholder {
    color: #aaa;
}

.form-control:focus , .form-select:focus {
    box-shadow: none !important;
    border-color: var(--app-color-primary);
}

.form-check-input:checked {
    background-color: var(--app-color-primary);
    border-color: var(--app-color-primary);
}

.form-control.full-left.is-invalid {
    background-position: right calc(.375em + .1875rem) center;
}

/* Dropdown Buttons */

.dropdown-toggle {
    color: #555;
    font-weight: 900;
}

.dropdown-toggle::after {
    display: none;
}

.dropdown-toggle:active ,
.dropdown-toggle.show  {
    border-color: transparent !important;
}

.dropdown-menu.app-override {
    border-radius: 0.25rem;
    box-shadow: #0000003d 0px 3px 8px;
    border: none;
}

.dropdown-menu.app-override .dropdown-item {
    color: #444 !important;
    font-size: 90%;
    padding: 0.4rem 0.75rem;
}

.dropdown-menu.app-override .dropdown-item:active {
    background-color: #e1e1e1 !important;
}

.dropdown-menu.app-override .dropdown-item.active {
    background-color: var(--color-app-btn-normal) !important;
    color: #fff !important;
}

.dropdown-menu.app-override .dropdown-item i {
    margin-left: 0.5rem;
}

.dropdown-menu.app-override .dropdown-item i::before {
    vertical-align: -0.25em;
}

/* Badges */

.badge {
    font-weight: 500;
    padding: 0.35rem 0.5rem;
    border-radius: 0.15rem;
}

.badge.bg-info ,
.badge.bg-warning {
    color: #444;
}

.badge.bg-success {
    /* background-color: #35c10f !important; */
}

.badge.bg-warning {
    /* background-color: #ffcc31 !important; */
}

/* Navigation Tabs */

.nav.nav-pills.app-override .nav-link {
    color: var(--app-color-primary);
    border-radius: 0;
    border: none;
    border-bottom: 2px solid #e1e1e1;
}

.nav.nav-pills.app-override .nav-link.active {
    border-color: var(--app-color-primary);
    background-color: transparent;
}

/* Table */

.table.app-override.cell-md-padding th, 
.table.app-override.cell-md-padding td {
    padding: 0.75rem;
}