.form.card .card-body {
    padding-bottom: 5px;
}

.form.card .card-header,
.list.card .card-header {
    justify-content: space-between;
}

.card-header-buttons {
    margin: 0 -7.5px;
    display: flex;
    align-items: center;
}

.card-header-buttons > * {
    margin: 0 7.5px;
}

.fas.fa-sm,
.far.fa-sm,
.fab.fa-sm,
.fal.fa-sm {
    font-size: 0.875em;
}

[type="submit"]:disabled {
    cursor: wait;
}

select:not(:disabled),
input[type="radio"]:not(:disabled) + label,
input[type="checkbox"]:not(:disabled) + label,
.custom-control-input:not(:disabled) + .custom-control-label,
.custom-switch-input:not(:disabled) ~ .custom-switch-indicator,
.custom-switch-input:not(:disabled) ~ .custom-switch-description {
    cursor: pointer;
}

table .buttons > * {
    margin: 0 -5px;
}

table .buttons > * {
    margin: 0 5px;
}

.custom-select {
    font-size: 14px;
}

.customer-type {
    color: #ffffff;
    font-size: 0.9em;
}
.customer-type-1 {
    color: var(--warning);
}
.customer-type-2 {
    color: var(--primary);
}

.customer-badge-1 {
    background-color: var(--warning);
    color: #ffffff;
}
.customer-badge-2 {
    background-color: var(--primary);
    color: #ffffff;
}

textarea.form-control:not(.form-control-sm):not(.form-control-lg) {
    height: auto;
    min-height: 42px;
}

.money-input {
    text-align: right;
}

.table tbody th,
.table tbody td {
    vertical-align: middle;
}

table .approved-row .un-approved-element {
    display: none;
}

table .un-approved-row .approved-element {
    display: none;
}

#paymentForm .payment-types {
    display: none;
}

#paymentFrameModal {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    z-index: 1090;
    width: 100%;
    height: 100%;
}

#paymentFrameModal .frame-body {
    background-color: #ffffff;
    width: 100%;
    min-width: 300px;
    max-width: 550px;
}

#paymentFrameModal .frame-body iframe {
    margin: 0;
    border: none;
    padding: 0;
    width: 100%;
    height: 450px;
}

.payment-frame-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1089;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
}

.search-result .search-message {
    display: flex;
    align-items: center;
    justify-content: left;
    padding: 13px 18px;
    color: #6777ef;
    font-weight: 600;
}

.search-result .search-message .search-icon {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
}

.search-result .search-message .search-loading-icon i {
    font-size: 25px;
}

#searchFields > * {
    display: none;
}

#searchFields.results > .results,
#searchFields.loading > .loading,
#searchFields.empty > .empty,
#searchFields.placeholder > .placeholder {
    display: block;
}

.subscription-list {
    line-height: 1.6 !important;
}

.subscription-list li {
    margin-bottom: 7.5px;
}

.subs-payments:not(:first-child) {
    display: none;
}

button.dropdown-item {
    padding: 10px 20px;
    line-height: 1.2;
    font-size: 13px;
    font-weight: 500;
}

.dropdown-item .dropdown-icon {
    margin-left: 0 !important;
    width: 1.33em;
    text-align: center;
}

.reference-statuses {
    display: inline-block;
    border-radius: 4px;
    cursor: pointer;
    padding: 5px 7.5px;
    text-align: center;
    font-weight: bold;
}
.reference-statuses:hover {
    opacity: 0.75;
}

.reference-status-1 {
    background-color: var(--info);
    cursor: default;
    color: #ffffff;
}
.reference-status-2 {
    background-color: var(--success);
    color: #ffffff;
}
.reference-status-3 {
    background-color: var(--danger);
    color: #ffffff;
}
.reference-status-4 {
    background-color: var(--warning);
    color: #ffffff;
}
.reference-status-5 {
    background-color: var(--danger);
    color: #ffffff;
}

.modal-body p:last-child {
    margin-bottom: 0;
}

#messageForm .message-types {
    display: none;
}

#paymentFrameModal .frame-body {
    position: relative;
}

#paymentFrameModal .frame-body .close {
    position: absolute;
    top: -35px;
    right: -35px;
    text-shadow: 0 1px 0 #000;
    color: #fff;
    font-size: 30px;
}

.ability-group {
    margin-bottom: 25px;
    border: 1px solid #ddd;
    background-color: #fafafa;
    padding: 15px;
}

.ability-checkboxes {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
.custom-checkbox {
    margin: 0 15px 5px;
}

.dataTableFlex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media print {
    .main-navbar,
    .main-sidebar,
    .report.card-header-buttons {
        display: none;
    }
    .main-content {
        padding: 0;
    }
    .card {
        margin-bottom: 10px;
    }
    .table td,
    .table th {
        height: 25px !important;
    }
}