:root {
    --brand-color: #1f3a93;
    --brand-color-secondary: #2E8B57;
}

.bg-brand {
    background-color: var(--brand-color) !important;
    background-image: none !important;
}

.bg-brand-secondary {
    background-color: var(--brand-color-secondary) !important;
    background-image: none !important;
}

.text-brand {
    color: var(--brand-color) !important;
}

.text-brand-secondary {
    color: var(--brand-color-secondary) !important;
}

.btn-brand {
    background-color: var(--brand-color) !important;
    background-image: none !important;
}

.btn-brand:hover,
.btn-brand:active,
.btn-brand:focus {
    background-color: var(--brand-color) !important;
    background-image: none !important;
}

.btn-brand-secondary {
    background-color: var(--brand-color-secondary) !important;
    background-image: none !important;
}

.btn-brand-secondary:hover,
.btn-brand-secondary:active,
.btn-brand-secondary:focus {
    background-color: var(--brand-color-secondary) !important;
    background-image: none !important;
}

.table {
    width: 100% !important;
}

/* Select2 fix */
.select2-container--default {
    width: 100% !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-search.select2-search--inline .select2-search__field {
    width: 100% !important;
}

.select2-container--default .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--focus .select2-selection--single {
    height: 38px !important;
}

/* Select2 fix end */

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--brand-color-secondary) !important;
}

.select2-container--default .select2-selection--single {
    background-color: #fff !important;
    border: 1px solid #d4d4d4 !important;
    border-radius: 0.5rem !important;
    height: 45px !important;
    transition: 0.2s ease all !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444 !important;
    line-height: 45px !important;
}

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

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #888 transparent transparent transparent !important;
    border-style: solid !important;
    border-width: 5px 4px 0 4px !important;
    height: 0 !important;
    left: 50% !important;
    margin-left: -4px !important;
    margin-top: -2px !important;
    position: absolute !important;
    top: 50% !important;
    width: 0 !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #d4d4d4 !important;
    border-radius: 7px !important;
    transition: 0.2s ease all !important;
}

.select2-search--dropdown {
    position: relative !important;
    z-index: 1 !important;
}

.form-control,
.form-select {
    padding: 0.5rem !important;
}

.dataTables_scrollBody {
    min-height: 50vh;
}


/* dt-button */
button.dt-button,
div.dt-button,
a.dt-button,
input.dt-button {
    background: var(--brand-color-secondary) !important;
    color: #ffffff !important;
    border-color: var(--brand-color-secondary) !important;
    transition: all .3s ease-in-out;
}

button.dt-button:hover,
div.dt-button:hover,
a.dt-button:hover,
input.dt-button:hover {
    background: #ffffff !important;
    color: #ffffff !important;
    border-color: var(--brand-color-secondary) !important;
}

div.dt-button-collection button.dt-button:active:not(.disabled),
div.dt-button-collection button.dt-button.active:not(.disabled),
div.dt-button-collection div.dt-button:active:not(.disabled),
div.dt-button-collection div.dt-button.active:not(.disabled),
div.dt-button-collection a.dt-button:active:not(.disabled),
div.dt-button-collection a.dt-button.active:not(.disabled) {
    background: #ffffff !important;
    color: #ffffff !important;
}

.paginate_button {
    background: var(--brand-color-secondary) !important;
    color: #ffffff !important;
    border-color: var(--brand-color-secondary) !important;
    transition: all .3s ease-in-out;
    border-radius: 8px !important;
    font-size: 14px !important;
    padding: 8px 16px !important;
}

.dataTables_wrapper {
    padding-bottom: 10px !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    color: rgb(192, 192, 192) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
}

.paginate_button:hover {
    box-shadow: 0 8px 14px -8px rgba(46, 139, 87, 0.3), 0 3px 18px 0 rgba(46, 139, 87, 0.1), 0 7px 8px -4px rgba(46, 139, 87, 0.18) !important;
}

.page-link.active,
.active>.page-link {
    color: #ffffff !important;
}

.page-link.disabled,
.disabled>.page-link {
    color: #6c757d !important;
    background-color: #f1f1f1 !important;
}

.pagination {
    flex-wrap: wrap;
    justify-content: center;
}

/* end dt-button */

/* file input */
.form-control[type=file] {
    border: 1px solid #d2d6da !important;
    overflow: hidden !important;
}

.form-control[type=file]:hover {
    background: #e5e5e5 !important;
}

/* end file input */