@import "modules/modals.css";
@import "modules/fileUpload.css";

.modal-backdrop {
    visibility: hidden !important;
}
.modal.show {
    background-color: rgba(49,58,70,0.7);
}

.was-validated .form-control:invalid + .select2-container .select2-selection {
    border-color: #dc3545!important;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: .25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
}

.v-align {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

table.t-sorting {
    width: 100%!important;
}

span.t-section {
    display: block;
    max-width: 90%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

span.t-count {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    min-width: 20px;
    background: #eee;
    text-align: center;
    color: #6c757d;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.2);
    font-size: 12px;
    padding: 1px 1px;
    font-weight: bold;
}

table.t-sorting th.sorting {
    position: relative;
    cursor: pointer;
}

table.t-sorting thead th.sorting:before, table.t-sorting thead .sorting_asc:before, table.t-sorting thead .sorting_asc_disabled:before, table.t-sorting thead .sorting_desc:before, table.t-sorting thead .sorting_desc_disabled:before {
    right: 1em;
    content: "\f0de";
    font-family: 'Font Awesome\ 5 Free';
    font-weight: 900;
    font-size: 1rem;
}

table.t-sorting thead th.sorting:after, table.t-sorting thead .sorting_asc:after, table.t-sorting thead .sorting_asc_disabled:after, table.t-sorting thead .sorting_desc:after, table.t-sorting thead .sorting_desc_disabled:after {
    content: "\f0dd";
    font-family: 'Font Awesome\ 5 Free';
    font-weight: 900;
    right: 16px;
    font-size: 1rem;
}

table.t-sorting thead th.sorting:after, table.t-sorting thead th.sorting:before, table.t-sorting thead .sorting_asc:after, table.t-sorting thead .sorting_asc:before, table.t-sorting thead .sorting_asc_disabled:after, table.t-sorting thead .sorting_asc_disabled:before, table.t-sorting thead .sorting_desc:after, table.t-sorting thead .sorting_desc:before, table.t-sorting thead .sorting_desc_disabled:after, table.t-sorting thead .sorting_desc_disabled:before {
    position: absolute;
    right: 0;
    bottom: .8em;
    display: block;
    opacity: .3;
}

table.t-sorting thead th.sorting_asc:before,  table.t-sorting thead th.sorting_desc:after {
    opacity: 1;
}

.spinner-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(171, 174, 178, .2);
}

.spinner-overlay .spinner-border {
    margin: 0 auto;
    position: absolute;
    top: calc(50% - 15px);
    left: 50%;
}

.dt-res-show {
    display: none;
}

.dtr-data .dt-res-show {
    display: block;
}

.fas-support {
    font-size: 70px;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    color: #727cf5;
}

.account-user-avatar > span {
    background-color: #eee;
    height: 32px;
    width: 32px;
    display: block;
    text-align: center;
    padding-top: 7px;
}

.account-user-avatar > span > i {
    font-size: 17px;
}

span.select2-selection__clear {
    width: 22px;
    text-align: center;
    z-index: 10;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: .2em;
}
