/*overwrite */
:root {
    --custom-bg-orange: #EF5D1B;
    --custom-border-orange: #F16C31;
    --custom-bg-blue: #346DC8;
    --custom-border-blue: #2D5494;
}

[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active, [class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active:focus, [class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active:hover {
    background-color: var(--custom-bg-orange);
    color: #FFF;
}

/* end overwrite */

.main-sidebar, .main-sidebar::before {
    width: 260px;
}
.main-sidebar .brand-image {
    content: url("../images/logo.png");
}

.sidebar-collapse .main-sidebar, .sidebar-collapse .main-sidebar::before {
    margin-left: -260px;
}

.sidebar-collapse .main-sidebar .brand-image {
    content: url("../images/favicon.png");
}

.sidebar-collapse .main-sidebar:hover .brand-image {
    content: url("../images/logo.png");
}

@media (min-width: 768px) {
    body:not(.sidebar-mini-md) .content-wrapper {
        transition: margin-left .3s ease-in-out;
        margin-left: 260px;
    }
}

@media (max-width: 991.98px) {
    body:not(.sidebar-mini-md) .content-wrapper, body:not(.sidebar-mini-md) .content-wrapper::before {
        margin-left: 0
    }
}

.box .overlay {
    z-index: 50;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 3px;
}

.box .overlay > .fas {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -15px;
    margin-top: -15px;
    color: #000;
    font-size: 30px;
}

.box > .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.box.box-primary {
    border-top-color: var(--custom-bg-blue);
}

.box {
    position: relative;
    border-radius: 3px;
    background: #fff;
    border-top: 3px solid #d2d6de;
    margin-bottom: 20px;
    width: 100%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}


body {
    font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    background-color: #fff;
}

.box-header {
    color: #444;
    display: block;
    padding: 10px;
    position: relative;
}

.box-body {
    border-radius: 0 0 3px 3px;
    padding: 10px;
}

.content-header > h1 > small {
    font-size: 15px;
    display: inline-block;
    padding-left: 4px;
    font-weight: 300;
}

.content-header > h1 {
    margin: 0;
    font-size: 24px;
}

.content-header > h1 > small {
    font-size: 15px;
    display: inline-block;
    padding-left: 4px;
    font-weight: 300;
}

/* DataTables */
.user-profile .list-unstyled {
    margin-bottom: 0;
}

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

table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child:before, table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child:before {
    top: auto !important;
    -webkit-box-sizing: content-box;
}

/* Put search input in the middle of buttons by vertical */
.dataTables_filter input {
    /*margin-top: .25rem;*/
}

.dtr-details {
    list-style-type: none;
    padding: 0;
}

.dtr-details li {
    padding: .5rem 0;
    text-align: right;
    position: relative;
    border-bottom: 1px solid #ced4da;
}
.dtr-details .dtr-title {
    text-transform: uppercase;
    color: #6c757d;
    position: absolute;
    left: 0;
    text-align: left;
}

.dtr-details .dtr-data {
    padding-left: 50%;
    text-align: right;
}

.table-header-fixed .row:nth-child(2) {
    overflow: auto;
    height: 320px;
}

.table-header-fixed thead th {
    position: sticky !important;
    top: -1px;
    z-index: 1;
    background: #f2f2f2;
}

/* END DataTables*/

/*Forms*/
.col-form-label {
    margin-top: auto;
    margin-bottom: auto;
}

.form-group label.required:not(.form-check-label, .input-group-text):after {
    content: "*";
    color: red;
    display: inline-block;
    margin-right: -10px;
    position: absolute;
}

.form-group .col-form-label.required:after {
    content: "*";
    color: red;
    display: inline-block;
    margin-right: -10px;
    position: absolute;
}

.form-check-input {
    margin-top: 0.25rem;
}

.invalid-feedback {
    font-size: 95%;
}

.custom-file-label {
    overflow: hidden;
}

/*END Forms*/

.cursor-pointer {
    cursor: pointer;
}

.disableEvents {
    pointer-events: none;
}

.hidden {
    display: none !important;
}

.font-weight-normal {
    font-weight: normal !important;
}

.blur-form {
    filter: blur(4px);
    transition: filter 1.5s;
}

#main-overlay {
    width: 100%;
    height: 100%;
    z-index: 99999;
    position: absolute;
    top: 0;
    left: 0;
}

.right-nav-bar {
    font-size: 18px;
}

.collapsing-header:hover {
    cursor: pointer;
}


/** Bootstrap Dialog **/

.bootstrap-dialog.type-orange .modal-content {
    border: 0;
}

.bootstrap-dialog-message .confirm-msg {
    word-break: break-word;
}

/** END Bootstrap Dialog **/

button[class*="btn-success"] {
    background-color: #1e7e34;
    border-color: #1c7430;
}

i[class*="text-success"] {
    color: #4f805d !important;
}

button[class*="btn-danger"], a.btn-danger {
    background-color: #b0413e !important;
    border-color: #b0413e !important;
}

button[class*="btn-primary"], a.btn-primary {
    background-color: var(--custom-bg-blue) !important;
    border-color: var(--custom-border-blue) !important;
}

button[class*="btn-tool"], a.btn-tool {
    color: var(--custom-bg-blue) !important;
}

.bg-default .btn-tool {
    color: var(--custom-bg-blue) !important;
}

button[class*="btn-primary"]:hover, a.btn-primary:hover {
    background-color: #1d55af !important;
    border-color: #284a82 !important;
}

.modal-header {
    padding: .7rem 1rem;
}
.bootstrap-dialog.type-orange .modal-header {color:#fff;background-color:var(--custom-bg-orange);}
.bootstrap-dialog.type-orange .bootstrap-dialog-close-button .close {
    color: #fff;
}

.close, .mailbox-attachment-close {
    text-shadow: none;
    opacity: 1;
}
.btn-orange{color:#fff;background-color:var(--custom-bg-orange);border-color:var(--custom-border-orange);box-shadow:none}
.btn-orange:hover{color:#fff;background-color: #c9501c;border-color:var(--custom-border-orange)}
/*.btn-orange.focus,.btn-orange:focus{color:#fff;background-color: #f16c31;border-color:#bd2130;box-shadow:none,0 0 0 0 rgba(225,83,97,.5)}*/
.btn-orange.disabled,.btn-orange:disabled{color:#fff;background-color: #ee9270;border-color: #ef9979
}
.btn-orange:not(:disabled):not(.disabled).active,.btn-orange:not(:disabled):not(.disabled):active,.show>.btn-orange.dropdown-toggle{color:#fff;background-color: #c9501c;border-color:var(--custom-border-orange)}
.btn-orange:not(:disabled):not(.disabled).active:focus,.btn-orange:not(:disabled):not(.disabled):active:focus,.show>.btn-orange.dropdown-toggle:focus{box-shadow:0 0 0 0 rgba(225,83,97,.5)}

button i.fas {
    height: 16px;
    width: 16px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[aria-selected]:hover {
    background-color: var(--custom-bg-blue);
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--custom-bg-blue);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: var(--custom-bg-blue);
    border-color: var(--custom-border-blue);
}

.page-item.active .page-link {
    background-color: var(--custom-bg-blue);
    border-color: var(--custom-border-blue);
}

.page-link {
    color: var(--custom-bg-blue);
}

.page-link:hover {
    color: var(--custom-bg-blue);
}

a {
    color: var(--custom-bg-blue);
}


.question-sortable-placeholder, .reason-sortable-placeholder {
    color: #fff;
    background-color: #f4f6f9;
    border-color: #7c7c7c;
    box-shadow: none;
    width: 100%;
    height: 53px;
}

@media (min-width: 1172px) {
    .bootstrap-dialog .modal-xl {
        max-width: 1140px;
    }
}

@media (max-width: 1171px) {
    .bootstrap-dialog .modal-xl {
        max-width: 800px;
    }
}

@media (min-width: 576px) {
    .hr-on-small {
       display: none;
    }
}

a.a-disabled {
    pointer-events: none;
    cursor: default;
    background-color: #f2f2f2;
}

.bg-light-red {
    background-color: #f2dede !important;
}

.bg-light-green {
    background-color: #1de20030 !important;
}

.bg-light-yellow {
    background-color: #fd7e142b !important;
}

.bg-info-warning, .bg-light-blue {
    background-color: #d9edf7 !important;
}

.select2-option-custom {
    padding: 6px 12px;
}

.select2-results__option--highlighted.bg-light-green,
.select2-results__option--highlighted.bg-light-yellow,
.select2-results__option--highlighted.bg-light-red,
.select2-results__option--highlighted.bg-info-warning,
.select2-results__option--highlighted.bg-light-blue {
    background-color: var(--custom-bg-blue) !important;
}

.status-checker-red {
    color: #dc3545;
}

.status-checker-green {
    color: #28a745;
}

.status-checker-yellow {
    color: #fd7e14b3;
}

a.a-disabled {
    pointer-events: none;
    cursor: default;
    background-color: #f2f2f2;
}

.loc-history_buttons-action-container,
.widget-transactions-buttons-action-container,
.insurance_buttons-action-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

select[class*="form-control"][class*="is-invalid"] {
    background-position: right calc(.375em + 0.575rem) center !important;
}

select[class*="form-control"][class*="is-invalid"] + span[class^="select2"] > span[class="selection"] > span[class^="select2-selection"] {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + 1rem) center;
    background-size: calc(.85em + .375rem) calc(.75em + .375rem);
}

div[class^="input-group-prepend"] + select[class*="form-control"][class*="is-invalid"] + span[class^="select2"] > span[class="selection"] > span[class^="select2-selection"] {
    margin-left: 1px !important;
}

.font-weight-normal {
    font-weight: normal !important;
}

.margin-like-padding-label {
    margin-top: calc(.375rem + 1px) !important;
    margin-bottom: calc(.375rem + 1px) !important;
}

.modal {
    overflow: auto !important;
}

.white-space-nowrap {
    white-space: nowrap;
}

.login-logo img {
    max-width: 300px;
}

.icon-circle {
    background-color: #f4f6f9;
    margin: auto;
    border-radius: 50%;
    width: 6rem;
    height: 6rem;
    padding: 1.5rem;
}
.icon-circle > i {
    font-size: 3rem;
}

.brand-image {
    max-height: 40px;
}

.brand-block > div {
    line-height: 1.5;
}



.custom-content-header {
    padding: 15px 0;
}

.custom-content-header > h1 {
    margin: 0;
    font-size: 24px;
}

.custom-control-input-orange:checked~.custom-control-label::before{border-color:var(--custom-bg-orange);background-color:var(--custom-bg-orange)}
.custom-control-input-orange.custom-control-input-outline:checked[type=checkbox]~.custom-control-label::after{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23fd7e14' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E")!important}
.custom-control-input-orange.custom-control-input-outline:checked[type=radio]~.custom-control-label::after{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fd7e14'/%3E%3C/svg%3E")!important}
.custom-control-input-orange:focus~.custom-control-label::before{box-shadow:inset 0 0 0 transparent,0 0 0 .2rem rgba(253,126,20,.25)}
.custom-control-input-orange:focus:not(:checked)~.custom-control-label::before{border-color:var(--custom-border-orange)}
.custom-control-input-orange:not(:disabled):active~.custom-control-label::before{background-color:var(--custom-bg-orange);border-color:var(--custom-border-orange)}

.custom-control-input-orange:checked~.custom-control-label::before{border-color:var(--custom-bg-orange);background-color:var(--custom-bg-orange)}
.custom-control-input-orange.custom-control-input-outline:checked[type=checkbox]~.custom-control-label::after{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23fd7e14' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E")!important}
.custom-control-input-orange.custom-control-input-outline:checked[type=radio]~.custom-control-label::after{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fd7e14'/%3E%3C/svg%3E")!important}
.custom-control-input-orange:focus~.custom-control-label::before{box-shadow:inset 0 0 0 transparent,0 0 0 .2rem rgba(253,126,20,.25)}
.custom-control-input-orange:focus:not(:checked)~.custom-control-label::before{border-color:var(--custom-border-orange)}
.custom-control-input-orange:not(:disabled):active~.custom-control-label::before{background-color:var(--custom-bg-orange);border-color:var(--custom-border-orange)}

.custom-control-input-outline~.custom-control-label::before{background-color:transparent!important;box-shadow:none}
.custom-control-input-outline:checked~.custom-control-label::before{background-color:transparent}


.custom-control-input[disabled]:checked~.custom-control-label::before, .custom-control-input[disabled]:checked~.custom-control-label,
.custom-control-input:disabled~.custom-control-label::before, .custom-control-input[disabled]~.custom-control-label {
    color: #adb5bd;
    border-color: #adb5bd;
}

.custom-checkbox .custom-control-input:disabled:checked~.custom-control-label::before {
    background-color: #e9ecef;
}

.card-header {
    font-weight: 600;
}

table#vendor-config-table tbody td {
    vertical-align: middle;
}

.additional-benefits-info {
    background-color: #fff3cd;
}

.benefits-info {
    cursor: pointer;
}

.list-group-item {
    background-color: transparent;
}

.alert-500 {
    color: #fff;
    background: #dc3545;
    border-color: #d32535;
}

.spinner-border-absolut {
    position: absolute;
}

.spinner-border {
    margin: auto;
    top: calc(50% - 16px);
    left: calc(50% - 16px);
    border-right-color: #ef5d1b;
    color: #6c757d6e !important;
    /*z-index: 99999999999999;*/
}

.notification-dot {
    background-color: #ef5d1b;
    height: 8px;
    width: 8px;
    pointer-events: none;
    top: 3px;
    position: absolute;
    visibility: visible;
}

.select2-selection--single .select2-selection__rendered {
    font-size: 1rem;
}

.nav-tabs > li .close {
    margin: 3px 0 0 10px;
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

.color-blue {
    color: var(--custom-bg-blue) !important;
}

.btn.disabled {
    pointer-events: auto;
}

.row-notification {
    width: 450px;
    margin-bottom: 5px;
}

.row-notification:focus, .row-notification:hover {
    background-color: #f8f9fa;
}