﻿div.dataTables_wrapper div.dataTables_length select {
    min-width: 60px;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-not-allowed {
    cursor: not-allowed;
}

.alert {
    z-index: 2000 !important;
}

.btn {
    cursor: pointer;
}

.modal-xl {
    max-width: 800px;
}

.modal-xxl {
    max-width: 1300px;
}

textarea {
    /*min-height: 250px;*/
}

.overflow-auto {
    overflow: auto;
}

.bg-error:after {
    background: #343a40 !important;
}

.bg-img, .bg-error {
    background-image: url(/img/background.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

    .bg-img:before, .bg-error:before {
        content: "";
        opacity: .33;
        background: #000000;
        width: 100%;
        height: 100%;
        z-index: 2;
        position: absolute;
    }

    .bg-img:after, .bg-error:after {
        background: linear-gradient(to bottom, #9368E9 0%, #943bea 100%);
        content: "";
        opacity: .77;
        z-index: 3;
        position: absolute;
        width: 100%;
        height: 100%;
    }

    .bg-img > div:not(.fade), .bg-error > div {
        z-index: 4;
    }

a.text-white:hover, a.text-primary:hover, a.text-success:hover, a.text-info:hover {
    text-decoration: underline;
}
.dropdown-menu a.text-white:hover, .dropdown-menu a.text-primary:hover, .dropdown-menu a.text-success:hover, .dropdown-menu a.text-info:hover {
    text-decoration: none;
}

.dropdown-menu a.text-secondary:active {
    background-color: #6c757d !important;
    color: #ffffff !important;
}
.dropdown-menu a.text-danger:active {
    background-color: #dc3545 !important;
    color: #ffffff !important;
}
.dropdown-menu a.text-primary:active {
    background-color: #007bff !important;
    color: #ffffff !important;
}
.dropdown-menu a.text-success:active {
    background-color: #28a745 !important;
    color: #ffffff !important;
}
.dropdown-menu a.text-info:active {
    background-color: #17a2b8 !important;
    color: #ffffff !important;
}

.dropdown-menu a.text-orange:active {
    background-color: #fd7e14 !important;
    color: #ffffff !important;
}

.dropdown-menu a.text-orange:active {
    background-color: #fd7e14 !important;
    color: #ffffff !important;
}

.dropdown-menu a.text-purple:active {
    background-color: #6f42c1 !important;
    color: #ffffff !important;
}

body > .wrapper {
    overflow-x: hidden;
}

#loader {
    width: 100%;
    height: 100px;
    margin-top: -10px;
    background-image: url("../img/loader.gif");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

/* INPUT FILE */
input.input_file {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

label.input_file {
    max-width: 100%;
    /*font-size: 1.25rem;*/
    /*font-weight: 700;*/
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    /*font-size: 12px;*/
}

/*input:disabled ~ label.input_file:hover strong {
    color: #fff;
    background-color: #2D114C;
}*/

input:disabled ~ label.input_file:hover {
    cursor: default;
}

label.input_file:hover strong {
    color: #3472F7;
    background-color: #fff;
}

label.input_file > strong {
    height: 100%;
    color: #fff;
    background-color: #3472F7;
    border: 2px solid #3472F7;
    display: inline-block;
    border-radius: 0.25rem;
    padding: 0.625rem 1.25rem;
}

label.input_file.is-invalid > strong {
    background-color: #FF4A55;
    border: 2px solid #FF4A55;
}

label.input_file.is-invalid:hover > strong {
    color: #FF4A55;
    background-color: #fff;
}

label.input_file > span {
    width: 100%;
    min-height: 2em;
    margin-left: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: baseline;
}

.file_container {
    margin: 10px 0;
}
/* END INPUT FILE */

@media screen and (max-width: 767px) {
    li.paginate_button.previous {
        display: inline;
    }

    li.paginate_button.next {
        display: inline;
    }

    li.paginate_button {
        display: none;
    }
    div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        justify-content: center!important;
    }
}

.keditor .ke-toolbar.ke-toolbar-sticky {
    position: relative!important;
}

.alert {
    z-index: 1200!important;
}

.title-h2 {
    font-size: 1.4rem;
}

.title-h3 {
    font-size: 1.2rem;
}

div.is-invalid {
    border-color: #dc3545 !important;
}

.ui-sortable{
    cursor:move;
}
.ui-sortable-placeholder{
    width:100%;
    height: 20px;
    background:gray;
}

.orderable-check:hover {
    background-color: #f7f7f7;
}






.blink {
    animation: blink 3s linear infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.ui-state-highlight {
    height: 120px;
}

#overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background-color: rgba(0,0,0,0.5);*/
    z-index: 1040;
    cursor: progress;
}

a.info-box:hover {
    background: #f7f7f7;
}

.doc-body img {
    border: 2px solid #dee2e6 !important;
    max-width: 100%;
}

.dark-mode .jumbotron {
    background-color: #343a40;
    color: #fff;
}

.dark-mode .bootstrap-select .filter-option-inner-inner {
    color: #fff;
}

.dark-mode .no-results {
    background-color: transparent !important;
}

.dark-mode .content-wrapper a,
.dark-mode .main-footer a {
    color: #3998ff;
}
    .dark-mode .content-wrapper a:hover,
    .dark-mode .main-footer a:hover {
        color: #007bff !important;
    }