/*--------------------------------------------------------------
VARS
--------------------------------------------------------------*/
.app-infoski:root {
    --infoski-cyan: #17a2b8;
    --infoski-dark: #343a40;
    --infoski-grey: #dee2e6;
    --infoski-violet: #803887;
    --infoski-red-violet: #D5157D;

    --infoski-violet-light: rgba(128, 56, 135, .45);
}

.text-infoski-cyan {
    --bs-text-opacity: 1;
    color: var(--infoski-cyan) !important;
    fill: var(--infoski-cyan) !important;
}

.text-infoski-dark {
    --bs-text-opacity: 1;
    color: var(--infoski-dark) !important;
    fill: var(--infoski-dark) !important;
}

.text-infoski-grey {
    --bs-text-opacity: 1;
    color: var(--infoski-grey) !important;
    fill: var(--infoski-grey) !important;
}

.text-infoski-violet {
    --bs-text-opacity: 1;
    color: var(--infoski-violet) !important;
    fill: var(--infoski-violet) !important;
}

.text-infoski-red-violet {
    --bs-text-opacity: 1;
    color: var(--infoski-red-violet) !important;
    fill: var(--infoski-red-violet) !important;
}

/*--------------------------------------------------------------
HELPERS
--------------------------------------------------------------*/
.d-none-not-important {
    display: none;
}

.d-flex-not-important {
    display: flex;
}

textarea {
    resize: none;
}

.form-text {
    display: block;
    color: #666;
    font-size: 11px !important;
}

.spinner-border {
    border: .25em solid #D5157D;
    border-right-color: transparent;
}

.modal-body-content-preloader {
    display: flex;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.cursor-default {
    cursor: default !important;
}

.min-w-120px {
    min-width: 120px;
}

.max-w-50px {
    max-width: 50px;
}

.max-w-100px {
    max-width: 100px;
}

.max-w-150px {
    max-width: 150px;
}

.max-w-200px {
    max-width: 200px;
}

.max-w-250px {
    max-width: 250px;
}

.max-w-300px {
    max-width: 300px;
}

.max-h-500px {
    max-height: 500px;
}

.btn-delete-row {
    padding: 10px !important;
    height: 0 !important;
    width: 0 !important;
}

.btn-delete-row i {
    font-size: 10px;
}

#form-transactions-import-table table td {
    font-weight: 500;
    color: var(--bs-gray-600) !important;
}

.text-left {
    text-align: left;
}

.grecaptcha-badge {
    pointer-events: none;
    visibility: hidden;
}

.text-overflow {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
    max-width: 80%;
}

/*--------------------------------------------------------------
UPLOADER
--------------------------------------------------------------*/
.file-uploader {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.file-uploader > input[type="file"] {
    display: none !important;
}

.file-uploader label {
    height: 100px;
    margin: 0 auto;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: .4s;
    background: var(--bs-gray-200);
    border: 2px dashed #e5e5e5;
    padding: 10px;
    border-radius: .425rem;
    box-shadow: 0 5px 12px -5px rgba(0, 0, 0, .1);
}

.file-uploader > input[disabled] + label {
    cursor: default !important;
}

.file-uploader label:hover {
    background: var(--bs-white)
}

.file-uploader label i {
    transition: .4s;
    color: #233440;
    font-size: 30px;
}

.file-uploader label:hover > i {
    transform: translate(0, -5px);
}

.file-uploader label > span {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    font-size: 14px;
}

.file-uploader .uploader-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.file-uploader .uploader-preview-item {
    margin-top: 5px;
    width: 100%;
    padding: 5px 10px;
    border: 1px solid #e5e5e5;
    border-radius: .425rem;
    background: #fafafa;
    position: relative;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 12px -5px rgba(0, 0, 0, .1);
}

.file-uploader .uploader-preview-item > div {
    display: inline-flex;
    align-items: center;
    width: 100%;
    height: 30px;
}

.file-uploader .uploader-preview-item > div > span {
    display: block;
    max-width: 80%;
    margin-left: 10px;
    font-size: 12px;
}

.file-uploader .uploader-preview-item div.uploader-preview-image {
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    height: 40px;
    width: 40px;
}

.file-uploader .uploader-preview-item button {
    position: absolute;
    top: -9px;
    right: -8px;
    z-index: 10;
    background: var(--bs-danger);
    border-radius: 100%;
    width: 20px;
    height: 20px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, .1);
    transition: .4s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-uploader .uploader-preview-item button > span:before {
    font-size: 12px;
    color: var(--bs-white);
}

.file-uploader-html img {
    height: 35px;
    margin-right: 29px;
}

.file-uploader-html > *:not(img) {
    color: #3E3E3E;
    line-height: 24px;
}

.file-uploader-html strong {
    font-size: 14px;
}

.file-uploader-html span {
    font-size: 12px;
    font-weight: 300;
}

.form .input-valid-error,
.form select.input-valid-error + .form-select .form-select-title > .form-select-item,
.form textarea.wysiwyg.input-valid-error + .tox-tinymce {
    border-color: var(--bs-danger) !important;
}

.form label.input-valid-error:before {
    color: var(--bs-danger) !important;
}

.tox-tinymce {
    transition: .4s;
}

/*--------------------------------------------------------------
NOTIFY
--------------------------------------------------------------*/
.notify-container {
    position: fixed;
    max-width: 330px;
    padding: 8px;
}

.notify-container.notify-container-full {
    max-width: 660px;
}

.notify-container > .notify-box:not(:first-child) {
    margin-top: 5px;
}

.notify-container .notify-box {
    font-weight: 500;
    padding: 15px 12px;
    border-radius: 6px;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, .15);
    font-size: 12px;
    width: 100%;
    position: relative;
    display: none;
}

.notify-container .notify-box:hover {
    opacity: 1;
}

.notify-container .notify-box > * {
    text-shadow: 0 0 4px rgba(0, 0, 0, .05);
}

.notify-container .notify-content {
    max-width: 100%;
    width: 100%;
    display: flex;
    align-items: center;
}

.notify-container .notify-content > span.notify-content-text {
    width: 100%;
    font-size: 12px;
    font-weight: 600;
    text-shadow: 0 0 4px rgba(0, 0, 0, .1);
    line-height: 25px;
}

.notify-container-close .notify-content {
    max-width: 94%;
}

.notify-container .notify-icon {
    margin-right: 5px;
}

.notify-container.bottom-left {
    bottom: 0;
    left: 0;
}

.notify-container.bottom-right {
    bottom: 0;
    right: 0;
}

.notify-container.top-left {
    top: 0;
    left: 0;
}

.notify-container.top-right {
    top: 0;
    right: 0;
}

.notify-container.top-center, .notify-container.bottom-center {
    right: 0;
    left: 0;
    margin: 0 auto;
}

.notify-container.bottom-center {
    bottom: 0;
}

.notify-container.top-center {
    top: 0;
}

.notify-container.center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.notify-container .notify-close {
    position: absolute;
    top: 3px;
    right: 3px;
    z-index: 10;
}

.notify-container .notify-close > span {
    font-size: 16px;
}

.notify-container.notify-user-page .notify-content > span.notify-content-text {
    font-size: 14px;
}

.notify-container.notify-user-page .notify-box {
    padding: 15px 30px;
}

.cover-page {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .4);
    display: none;
    justify-content: flex-end;
}

.cover-page.cover-page-close:after {
    content: 'cancel';
    position: absolute;
    top: 0;
    right: 0;
    color: #fff;
    cursor: pointer;
    z-index: 1;
}

/*--------------------------------------------------------------
DATATABLE
--------------------------------------------------------------*/
.table-datatable .table-responsive {
    padding-bottom: 10px;
}

.table-datatable > .dt-container > div {
    padding: 0 2.25rem 1.25rem;
}

/*.table-datatable > .dt-container > div .dt-scroll {*/
/*    border-left: 1px solid var(--bs-card-border-color) !important;*/
/*    border-right: 1px solid var(--bs-card-border-color) !important;*/
/*    border-radius: .425rem;*/
/*    overflow: hidden;*/
/*}*/

.table-datatable > .dt-container > div:last-child,
.table-datatable tr:not(.group) > th {
    border-top: 1px solid var(--bs-card-border-color) !important;
}

.table-datatable .datatable-group td {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    background-color: #f7f8fa !important;
}

.table-datatable .datatable-group td,
.table-datatable tr:not(.group) > td,
.table-datatable tr:not(.group) > th {
    border-bottom: 1px solid var(--bs-table-border-color) !important;
    vertical-align: middle;
}

.table > :not(caption) > *:not(.datatable-group) > * {
    color: var(--bs-text-muted) !important;
}

.table-white-spaces {
    white-space: break-spaces;
}

.table-white-spaces:not([class*='max-w-']) {
    max-width: 250px;
}

.datable-modal {
    border: 0 !important;
    box-shadow: none;
}

.datable-modal .card-header {
    padding: 0 !important;
    border-bottom: 0 !important;
    min-height: auto;
}

.datable-modal .card-header .card-title {
    margin: 0 !important;
}

.datable-modal .card-body,
div.table-responsive > div.dt-container > div.row {
    padding-bottom: 0 !important;
}

.datable-modal div.table-responsive > div.dt-container > div.row,
.datable-modal .table-datatable .table-responsive {
    padding: 0 !important;
}

div.dt-processing {
    top: 150px !important;
}

@media screen and (max-width: 420px) {
    .notify-container-close .notify-content {
        max-width: 96%;
    }

    .notify-container .notify-box {
        float: right;
        max-width: 90%;
    }

    .notify-container .notify-icon {
        display: none;
    }
}
