﻿div.dataTables_wrapper div.dataTables_length select {
    min-width: 60px;
}

.cursor-pointer {
    cursor: pointer;
}

.cusror-progress {
    cursor: progress;
}

.cursor-not-allowed {
    cursor: not-allowed;
}

.alert {
    z-index: 2000 !important;
}

.btn, .button {
    cursor: pointer;
}

.datatableBtn > i:hover {
    opacity: 0.5;
}

.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 {
    background-position: center;
}

.bg-align-left {
    background-position: left;
}

.bg-align-right {
    background-position: right;
}

.bg-align-center {
    background-position: center;
}

.loader,
#loader {
    width: 100%;
    height: 100px;
    margin-top: -10px;
    background-image: url("../img/loader.gif");
    background-size: contain;
    background-repeat: no-repeat;
}

.loader-sm {
    width: 40px;
    height: 40px;
    background-image: url("../img/loader.gif");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 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.6rem;
}

.title-h3 {
    font-size: 1.4rem;
}

.title-h4 {
    font-size: 1.2rem;
}

div.is-invalid {
    border-color: #dc3545 !important;
}

.ui-sortable:not(#questionsContainer, #gestion) {
    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%;
    width: auto !important;
}


a.btn-outline-primary:hover > i,
a.btn-outline-secondary:hover > i,
a.btn-outline-danger:hover > i,
a.btn-outline-info:hover > i {
    color: #ffffff !important;
}

.dark-mode .jumbotron {
    background-color: #343a40;
    color: #fff;
}

.dark-mode .modal .jumbotron {
    background-color: #454d55 !important;
}

.dark-mode .bootstrap-select .filter-option-inner-inner {
    color: #fff;
}

.dark-mode .no-results {
    background-color: transparent!important;
}

.btn-link.text-danger,
.btn-link.text-info,
.btn-link.text-success,
.btn-link.text-warning {
    text-decoration: underline;
}

    .btn-link.text-danger:hover,
    .btn-link.text-info:hover,
    .btn-link.text-success:hover,
    .btn-link.text-warning:hover {
        text-decoration: none;
    }

.border-1 {
    border: 1px solid!important;
}

#preview.is-invalid, div.is-invalid {
    border: 1px solid #dc3545;
}

.ui-sortable-placeholder {
    border: 1px dashed #000000;
    visibility: visible !important;
    background-color: transparent;
    min-height: 300px;
}

img {
    max-width: 100%;
    height: auto !important;
    max-height: 600px;
}

#question_container img {
    margin: 0 auto;
    display: block;
}

/*.ui-autocomplete {
    z-index: 2147483647!important;
}*/

@media (min-width: 576px) {
    #widget-container {
        -webkit-column-count: 2 !important;
        -moz-column-count: 2 !important;
        column-count: 2 !important;
    }
}

.tab-content .card > .card-header > .card-tools {
    margin: 0 -.625rem 0 0;
}

.dark-mode .fc .fc-scrollgrid-section-sticky > * {
    background: rgba(0,0,0,.1);
}

.dark-mode .fc-list-day-cushion {
    background: #454d55;
}

.dark-mode .fc .fc-list-event:hover td {
    background-color: #454d55;
}

.dark-mode .popover {
    background: #454d55;
    color: #fff;
}

    .dark-mode .popover .arrow:after {
        border-top-color: #454d55;
    }

    .dark-mode .popover .popover-header {
        background: rgba(0,0,0,.1);
    }

    .dark-mode .popover .btnClosePopover > i {
        color: #fff;
    }

    .dark-mode .popover .btnClosePopover:hover > i {
        color: rgba(255, 255, 255, 0.64);
    }

    .dark-mode .popover .popover-body {
        color: #fff;
    }

    .dark-mode .popover .btn-outline-primary {
        color: #fff;
    }

.pdf-container {
    min-height: 900px;
}

@media (max-width: 757px) {
    .pdf-container {
        min-height: 500px;
    }
}

@media (max-width: 460px) {
    .pdf-container {
        min-height: 450px;
    }
}

.modal-90 {
    max-width: 90%;
}


.folder-box,
.file-box {
    border-radius: 1.5rem;
    background-color: #fff;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 1rem;
    min-height: 80px;
    padding: .5rem;
    width: 100%;
    box-shadow: 0 0 1px rgba(0,0,0,.125),0 1px 3px rgba(0,0,0,.2);
}
    .folder-box:hover,
    .file-box:hover {
        background-color: #e3e5e8;
    }

    .folder-box .btn-group > button,
    .file-box .btn-group > button {
        border-radius: 1rem !important;
    }

        .folder-box .btn-group > button:hover,
        .file-box .btn-group > button:hover {
            background-color: #d0d2d5;
        }

.dark-mode .folder-box,
.dark-mode .file-box {
    background-color: #343a40;
    color: #fff;
}

.dark-mode .card .folder-box,
.dark-mode .card .file-box {
    background-color: #454d55;
}

    .dark-mode .folder-box:hover,
    .dark-mode .file-box:hover {
        background-color: #292e33;
    }

    .dark-mode .folder-box .btn-group > button,
    .dark-mode .file-box .btn-group > button {
        color: #fff;
    }

            .dark-mode .folder-box .btn-group > button:hover,
            .dark-mode .file-box .btn-group > button:hover {
                background-color: #22262b;
            }

.folder-box-icon, .file-box-icon {
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    font-size: 1.875rem;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    width: 70px;
}

.folder-box-content, .file-box-content {
    padding: 0 10px;
}
.folder-box-title, .file-box-title {
    font-weight: bold;
}

.bg-folder {
    background-color: #fff3cc;
    color: #ffb900;
    width: 50px;
    border-radius: 10px;
}

.dark-mode .bg-folder,
.dark-mode .bg-file,
.dark-mode .bg-pdf,
.dark-mode .bg-file-required {
    background-color: #1e2022;
}

.bg-file,
.bg-pdf,
.bg-file-required {
    background-color: #e5f1ff;
    color: #007bff;
    width: 50px;
    border-radius: 10px;
}
.bg-pdf {
    background-color: #ffe0d8;
    color: #d65532;
}

.bg-file-required {
    background-color: #ffccd1;
    color: #dc3545;
}

.icon-folder {
    color: #ffb900;
    font-size: 25px;
}

.icon-file {
    color: #007bff;
    font-size: 25px;
}

.icon-pdf {
    color: #d65532;
    font-size: 25px;
}

.icon-file-required {
    color: #dc3545;
    font-size: 25px;
}

.btn-table-bibliotheque button {
    border-radius: 1rem !important;
}

    .btn-table-bibliotheque button:hover {
        background-color: #d0d2d5;
    }

.dark-mode .btn-table-bibliotheque button {
    color: #fff;
}

    .dark-mode .btn-table-bibliotheque button:hover {
        background-color: #22262b;
    }


.bibliotheque-breadcrumb {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: .75rem 1rem;
    margin-bottom: 0;
    list-style: none;
}

    .bibliotheque-breadcrumb .bibliotheque-breadcrumb-item {
        padding: 0 .5rem;
    }

        .bibliotheque-breadcrumb > .bibliotheque-breadcrumb-item.active {
            color: #6c757d;
        }

.dark-mode .bibliotheque-breadcrumb > .bibliotheque-breadcrumb-item.active {
    color: #d7d7d7;
}

        .bibliotheque-breadcrumb > .bibliotheque-breadcrumb-item + .bibliotheque-breadcrumb > .bibliotheque-breadcrumb-item {
            padding-left: .5rem;
        }

.btn-dossier-current,
.btn-share-folder {
    border-radius: 18px;
}

    .btn-dossier-current:hover,
    .btn-share-folder:hover{
        background-color: #e3e5e8;
    }

.dark-mode .btn-dossier-current .btn {
    color:#fff!important;
}

.dark-mode .btn-dossier-current:hover,
.dark-mode .btn-share-folder:hover {
    background-color: #292e33;
}

.btn-share-folder {
    padding: 4px;
}

.dark-mode .bg-light {
    background-color: #454d55 !important;
    color: #fff !important;
}

.stats-bg {
    background-color: #f8f9fa !important;
}


.dark-mode .text-secondary {
    color: #bfc8cf !important;
}