body {
    font-size: 90% !important;
    font-family: "Poppins", Roboto, sans-serif !important;
}

.previous-breadcrumb {
    background-color: #e9ecef !important;
    color: #3f729b !important;
    border-color: #3f729b !important;
}

@media (max-width: 768px) {
    .breadcrumb-item:not(:last-child) {
        display: none;
    }
    .container-vote, .button-report, .multi-action {
        zoom: 75%;
    }
}

h1.dark,
h2.dark,
h3.dark,
h4.dark,
h5.dark,
h6.dark {
    color: #364f74 !important;
}

.bg-primary.dark {
    background-color: #364f74 !important;
}

.card.disabled {
    filter: grayscale(80%);
    opacity: 0.8;
}

.active-navlink {
    border-left: 4px solid #3F729B;
    background-color: #e9ecef !important;
}

.active-navlink a {
    color: #3F729B !important;
    font-weight: bold;
}

/* General */
.bg-grey-lighten5 {
    background-color: #e9ecef;
}

.dropdown .dropdown-menu.dropdown-grey-lighten5 .dropdown-item.active,
.dropdown .dropdown-menu.dropdown-grey-lighten5 .dropdown-item:active,
.dropdown .dropdown-menu.dropdown-grey-lighten5 .dropdown-item:hover,
.dropleft .dropdown-menu.dropdown-grey-lighten5 .dropdown-item.active,
.dropleft .dropdown-menu.dropdown-grey-lighten5 .dropdown-item:active,
.dropleft .dropdown-menu.dropdown-grey-lighten5 .dropdown-item:hover,
.dropright .dropdown-menu.dropdown-grey-lighten5 .dropdown-item.active,
.dropright .dropdown-menu.dropdown-grey-lighten5 .dropdown-item:active,
.dropright .dropdown-menu.dropdown-grey-lighten5 .dropdown-item:hover,
.dropup .dropdown-menu.dropdown-grey-lighten5 .dropdown-item.active,
.dropup .dropdown-menu.dropdown-grey-lighten5 .dropdown-item:active,
.dropup .dropdown-menu.dropdown-grey-lighten5 .dropdown-item:hover {
    background-color: #e9ecef !important;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-border-radius: .125rem;
    border-radius: .125rem;
    color: black !important;
}

.dropdown .dropdown-menu.dropdown-grey-lighten5 .dropdown-item.active.disabled,
.dropdown .dropdown-menu.dropdown-grey-lighten5 .dropdown-item:active.disabled,
.dropdown .dropdown-menu.dropdown-grey-lighten5 .dropdown-item:hover.disabled,
.dropleft .dropdown-menu.dropdown-grey-lighten5 .dropdown-item.active.disabled,
.dropleft .dropdown-menu.dropdown-grey-lighten5 .dropdown-item:active.disabled,
.dropleft .dropdown-menu.dropdown-grey-lighten5 .dropdown-item:hover.disabled,
.dropright .dropdown-menu.dropdown-grey-lighten5 .dropdown-item.active.disabled,
.dropright .dropdown-menu.dropdown-grey-lighten5 .dropdown-item:active.disabled,
.dropright .dropdown-menu.dropdown-grey-lighten5 .dropdown-item:hover.disabled,
.dropup .dropdown-menu.dropdown-grey-lighten5 .dropdown-item.active.disabled,
.dropup .dropdown-menu.dropdown-grey-lighten5 .dropdown-item:active.disabled,
.dropup .dropdown-menu.dropdown-grey-lighten5 .dropdown-item:hover.disabled {
    background-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none
}

.card-document,
.card-quiz,
.card-link {
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border-radius: 0.15rem;
    font-weight: 400;
    margin: 1em 0 1em 0;
    border-left: 4px solid #397cc8;
}

.card-document.syntheseFilter {
    border-left: 4px solid #89bb62;
}

.card-document.notesFilter {
    border-left: 4px solid #cb732b;
}

.card-document.examentypeFilter {
    border-left: 4px solid #c65875;
}

.card-document.exercicesFilter {
    border-left: 4px solid #5eaa90;
}

.card-document.autre {
    border-left: 4px solid #739dc5;
}

.card-document small {
    font-size: 85% !important;
}

.card-document .card-body {
    padding-top: 3px !important;
}

.card-quiz.failed {
    border-left: 4px solid #ff4444 !important;
}

.card-quiz.success {
    border-left: 4px solid #89bb62 !important;
}

.card-quiz .text-success {
    color: #89bb62 !important;
}

.btn-type-all {
    border: 2px solid #74bec9;
    color: #74bec9 !important;
}
.btn-type-synthese {
    border: 2px solid #89bb62;
    color: #89bb62 !important;
}
.btn-type-notes {
    border: 2px solid #cb732b;
    color: #cb732b !important;
}
.btn-type-examentype {
    border: 2px solid #c65875;
    color: #c65875 !important;
}
.btn-type-exercices {
    border: 2px solid #5eaa90;
    color: #5eaa90 !important;
}
.btn-type-autre {
    border: 2px solid #739dc5;
    color: #739dc5 !important;
}

.btn-type-all.btn-type-active {
    background-color: #74bec9;
    color: white !important;
}
.btn-type-synthese.btn-type-active {
    background-color: #89bb62;
    color: white !important;
}
.btn-type-notes.btn-type-active {
    background-color: #cb732b;
    color: white !important;
}
.btn-type-examentype.btn-type-active {
    background-color: #c65875;
    color: white !important;
}
.btn-type-exercices.btn-type-active {
    background-color: #5eaa90;
    color: white !important;
}
.btn-type-autre.btn-type-active {
    background-color: #739dc5;
    color: white !important;
}

.label-document-type {
    font-weight: bold;
    font-size: 14px;
    margin-top: 5px;
}

.label-document-type.synthese {
    color: #89bb62;
}

.label-document-type.notes {
    color: #cb732b;
}

.label-document-type.examentype {
    color: #c65875;
}

.label-document-type.exercices {
    color: #5eaa90;
}

.label-document-type.autre {
    color: #739dc5;
}

.btn-md {
    border-radius: 0.12rem;
    cursor: pointer;
    text-transform: uppercase;
    white-space: normal;
    word-wrap: break-word;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    margin: 0.32rem;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15), 0 2px 6px 0 rgba(0, 0, 0, 0.10);
    padding: 0.56rem 1.65rem;
    font-size: 0.72rem;
}

.btn-md.filter{
    font-weight: 500;
    font-size: 0.70rem !important;
    padding: 0.48rem 1.5rem !important;
}
.btn-md.btn-rounded {
    border-radius: 10em;
}

/* file drag and drop */
#file-area, #file-area-quiz {
    margin-top: 15px;
    width: 100%;
    height: 180px;
    border: 1px dashed #818CF8;
    position: relative;
    display: table;
    transition: all 200ms ease 0s;
}

.file-area-success {
    border: 3px dashed #00C851 !important;
}

.file-area-wrong {
    border: 3px dashed #ff4444 !important;
}

.file-dummy {
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    line-height: 2em;
    height: 100%;
    width: 100%;
}

#file-area input[type="file"], #file-area-quiz input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    cursor: pointer;
}

.text-muted {
    color: #6c757d !important;
}

#filename, #filename-quiz {
    text-align: center;
    font-style: italic;
    font-weight: normal;
    color: #424242;
}

.card-body .hidden {
    opacity: 0;
    transition: all .2s ease-in-out;
    padding-left: -0.5px;
}

.card-body:hover .hidden {
    opacity: 0.75;
    transition: all .2s ease-in-out;
}

.card-body .hidden:hover,
.card-body .hidden:hover i {
    opacity: 1;
    transform: scale(1.15);
    padding-left: 1px;
    padding-top: 0.5px;
}

/* Override */
.card-body .btn-floating.btn-sm {
    height: 25px !important;
    width: 25px !important;
}

.btn-floating.btn-sm {
    text-align: center !important;
    line-height: 36.15px !important;
}

.btn-floating {
    line-height: 47px !important;
}

/* avatar */
.radio-avatar {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-avatar+img {
    cursor: pointer;
    border-radius: 50%;
    border: 4px solid transparent;
}

.radio-avatar:checked+img {
    border: 4px solid #4285F4;
    border-radius: 50%;
    filter: brightness(0.6);
}

/* Notifications */
.dropdown-notifications {
    width: 400px;
    left: auto;
    right: 0;
}

@media screen and (max-width: 800px) {
    .dropdown-notifications {
        right: -100px;
    }
}

.dropdown-notifications .list-notifications {
    max-height: 400px;
    overflow: auto;
    margin: auto;
    position: relative;
}

.dropdown-notifications li {
    border-top: 1px solid #e9ecef;
}

/* Documents */
.badge {
    box-shadow: none !important;
}
.badge-vote {
    position: absolute;
    top: 0;
    right: 20px;
    border-top: 3px solid #739dc5;
    width: 50px;
    color: #739dc5;
}
.badge-vote.positive-vote {
    border-top: 3px solid #89bb62;
    color: #89bb62;
}
.badge-vote.negative-vote {
    border-top: 3px solid #c65875;
    color: #c65875;
}
.badge-vote.questions {
    border-top: 3px solid #0099cc;
    color: #0099cc;
}
.container-vote {
    position: fixed; 
    left: 0; 
    top: calc(50% - 100px); 
    border-radius: 0 12px 12px 0;
    border: 1px solid rgba(0, 0, 0, 0.2);
}
.btnVote {
    font-size: 1.3rem;
}
#valueVote{
    display: inline-block;
    font-size: 22px;
    width: 45px;
    height: 45px;
    line-height: 45px;
    font-weight: bold;
    text-align: center;
}

/* Darkmode */
.darkmode_button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    padding: 5px 15px 5px 15px !important;
    z-index: 999;
}

/* blink button */

@keyframes blink {
    0% {
        box-shadow: 0 5px 25px 0 rgba(0, 0, 0, .20), 0 5px 25px 0 rgba(0, 0, 0, .16)
    }

    50% {
        box-shadow: none;
    }

    100% {
        box-shadow: 0 5px 25px 0 rgba(0, 0, 0, .20), 0 5px 25px 0 rgba(0, 0, 0, .16)
    }
}

@-webkit-keyframes blink {
    0% {
        box-shadow: 0 5px 25px 0 rgba(0, 0, 0, .20), 0 5px 25px 0 rgba(0, 0, 0, .16)
    }

    50% {
        box-shadow: 0 0 0;
    }

    100% {
        box-shadow: 0 5px 25px 0 rgba(0, 0, 0, .20), 0 5px 25px 0 rgba(0, 0, 0, .16)
    }
}

.blink_button {
    -webkit-animation: blink 2.0s linear infinite;
    -moz-animation: blink 2.0s linear infinite;
    -ms-animation: blink 2.0s linear infinite;
    -o-animation: blink 2.0s linear infinite;
    animation: blink 2.0s linear infinite;
}

.solution_button {
    position: absolute;
    text-align: center;
    top: -13px;
    right: 70px;
    font-size: 15px;
}

.border_solution {
    border: 2px solid #00c851;
}

.set_solution_button {
    position: absolute;
    text-align: center;
    top: -10px;
    right: 0;
    width: 40px;
    height: 30px;
    padding-top: 5px;
}

#solution:target {
    animation-name: blink;
    animation-direction: normal;
    animation-duration: 0.7s;
    animation-iteration-count: 2;
    animation-timing-function: ease;
}

@keyframes blink {
    0% {
        background-color: white;
    }

    50% {
        background-color: #c9e7ca;
    }

    100% {
        background-color: white;
    }
}

/* QUIZ */

.form-control.label-option:hover,
.form-control.addOption:hover,
.form-control.input_short_answer:hover {
    background-color: #f5f5f5 !important;
}

/* test card */
.swiper-wrapper {
    max-height: 350px;
}

.swiper-container {
    width: 100%;
    height: 450px;
}

.swiper-slide {
    max-height: 350px !important;
    overflow-y: auto !important;
    position: relative !important;
}

.question .form-check label {
    height: 35px !important;
    margin-top: 10px !important;
}

.question .form-check-input:checked+.form-check:parent {
    background-color: red;
}

/* Dividers */
.divider-hr {
    display: flex;
    align-items: center;
    text-align: center;
}

.divider-hr::before,
.divider-hr::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid grey;
}

.divider-hr::before {
    margin-right: .8em;
}

.divider-hr::after {
    margin-left: .8em;
}

/* button questions types */

.question-type {
    width: 130px;
    height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 10px;
}

.question-type.radio .icon {
    background-color: #739dc5;
}

.question-type.checkbox .icon {
    background-color: #5eaa90;
}

.question-type.text .icon {
    background-color: #c65875;
}

.question-type .icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.question-type .icon img {
    filter: invert(100%);
}

.question-type .name {
    font-weight: 400;
    text-align: center;
}

.question-type:hover {
    box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.15), 0px 2px 8px rgba(0, 0, 0, 0.15);
}

/* Card button (lesson, year, feature, etc.) */

.whole-card-button {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .2), 0 2px 10px 0 rgba(0, 0, 0, .15);
    border-radius: 0.3rem;
}

.info-box {
    display: block;
    min-height: 100px;
    background: #fff;
    width: 100%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
    border-radius: 2px;
}

.info-box-content {
    padding: 7px 15px;
}

.info-box-content-features {
    padding: 10px 13px;
    margin-left: 100px;
}

.info-box-number {
    display: block;
    font-weight: bold;
    font-size: 22px;
}

.info-box-icon {
    border-top-left-radius: 2px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 2px;
    display: block;
    float: left;
    height: 100px;
    width: 100px;
    text-align: center;
    font-size: 45px;
    line-height: 90px;
    background: rgba(0, 0, 0, 0.2);
}

.lesson-document {
    border-bottom: 4px solid #30409f;
    color: #30409f;
}
.lesson-link {
    border-bottom: 4px solid #BD93BD;
    color: #BD93BD;
}
.lesson-quiz {
    border-bottom: 4px solid #10d5c8;
    color: #10d5c8;
}
.lesson-stats {
    height: 26px;
    font-size: 14px;
    padding-top: 3px;
    box-shadow: 1px 1px 3px inset #e8e8e8;
}
.lesson-stats div {
    text-shadow: 0 0 0.5px rgba(0, 0, 0, 0.3);
}

#advice {
    position: fixed;
    bottom: 15px;
    left: 30px;
    z-index: 9999;
    width: 400px;
    background-color: white;
    display: none;
}

.badge-pink {
    color: #fff !important;
    background-color: #ec407a !important;
}

/* Circular progress bar */
.circular .progress {
    width: 50px;
    height: 50px !important;
    float: left;
    line-height: 50px;
    background: none;
    margin: 10px;
    box-shadow: none;
    position: relative
}

.circular .progress:after {
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 6px solid #ff3547;
    position: absolute;
    top: 0;
    left: 0
}

.circular .progress>span {
    width: 50%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    z-index: 1
}

.circular .progress .progress-left {
    left: 0
}

.circular .progress .progress-bar {
    width: 100%;
    height: 100%;
    background: none;
    border-width: 6px;
    border-style: solid;
    position: absolute;
    top: 0
}

.circular .progress .progress-left .progress-bar {
    left: 100%;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    border-left: 0;
    -webkit-transform-origin: center left;
    transform-origin: center left
}

.circular .progress .progress-right {
    right: 0
}

.circular .progress .progress-right .progress-bar {
    left: -100%;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    border-right: 0;
    -webkit-transform-origin: center right;
    transform-origin: center right;
    transform: rotate(180deg);
}

.circular .progress .progress-value {
    width: 90%;
    height: 90%;
    border-radius: 50%;
    background: white;
    font-size: 12px;
    color: black;
    font-weight: bold;
    line-height: 45px;
    text-align: center;
    position: absolute;
    top: 5%;
    left: 5%
}

.circular .progress .progress-bar {
    border-color: #89bb62;
}



/* PDF NOTE */
.dot-note {
    position: absolute;
    height: 25px;
    width: 25px;
    background-color: #397cc8;
    border-radius: 50%;
    display: inline-block;
}

#annotation-layer {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    opacity: 0.2;
    line-height: 1.0;
}

#annotation-layer>section {
    color: transparent;
    position: absolute;
    white-space: pre;
    cursor: text;
    transform-origin: 0% 0%;
}

#annotation-layer>.linkAnnotation>a {
    position: absolute;
    font-size: 1em;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Document.show */

#show-more-mobile,
#close-show-more-mobile {
    position: fixed;
    bottom: 0;
    left: calc(50% - (27px));
    z-index: 9999;
    text-align: center;
    color:white;
}

#right-side .toggle-icon {
    position: relative;
    top: calc(50vh - 80px);
    right: 28px;
    background-color: white;
    text-align: center;
    cursor: pointer;
    background-color: #f2f4f6;
    z-index: 9999;
}

#right-side .toggle-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    height: 100%;
}

#right-side .toggle-icon:hover svg {
    transform: scale(1.25);
}

#right-side .toggle-icon.closed {
    position: fixed;
    right: -5px;
    top: 50vh;
}

#right-side .toggle-icon.closed svg {
    transform: rotate(180deg);
}

#right-side.closed .nav-buttons,
#right-side.closed #container-info,
#right-side.closed #container-comment {
    display: none !important;
}

.comment-header {
    background-color: #f2f4f6;
}

#fake-right-panel {
    display:none;
}

#fake-right-panel.closed {
    position: fixed;
    display: block;
    right: 0;
    width: 22px;
    height: calc(100% - 65px);
    top: 65px;
    background-color: #f2f4f6;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
}

/* MODAL */
.modal-dialog .modal-content {
    border-radius: 12px;
}
@media (max-width: 720px) {
    .modal-full-screen {
        width: 100%;
        height: 100%;
        margin: 0;
    }

    .modal-full-screen .modal-dialog {
        width: 100%;
        height: 100%;
        margin: 0;
    }

    .modal-full-screen .modal-content,
    .modal-full-screen .modal-content .card {
        height: 100%;
        border: none;
        border-radius: 0;
    }
}

/* ADS */
.img-odiug {
    width: 80%;
}
@media (max-width: 1600px) {
    .img-odiug {
        width: 90%;
    }
}
@media (max-width: 1280px) {
    .img-odiug {
        width: 100%;
    }
}
.type-Bars {
    border: 2px solid #7986cb !important;
    background-color: #7986cb !important;
    color: black !important;
}
.type-Restauration {
    border: 2px solid #e57373 !important;
    background-color: #e57373 !important;
    color: black !important;
}
.type-Magasins {
    border: 2px solid #81c784 !important;
    background-color: #81c784 !important;
    color: black !important;
}
.type-Imprimeries {
    border: 2px solid #e0e0e0 !important;
    background-color: #e0e0e0 !important;
    color: black !important;
}
.type-Culturel {
    border: 2px solid #4db6ac !important;
    background-color: #4db6ac !important;
    color: black !important;
}
.type-Divertissement {
    border: 2px solid #ffd54f !important;
    background-color: #ffd54f !important;
    color: black !important;
}
.type-Bars.btn-outline {
    background-color: white !important;
    color:#5c6bc0 !important;
}
.type-Restauration.btn-outline {
    background-color: white !important;
    color:#ef5350 !important;
}
.type-Magasins.btn-outline {
    background-color: white !important;
    color:#66bb6a !important;
}
.type-Imprimeries.btn-outline {
    background-color: white !important;
    color:#424242 !important;
}
.type-Culturel.btn-outline {
    background-color: white !important;
    color:#26a69a !important;
}
.type-Divertissement.btn-outline {
    background-color: white !important;
    color: #ff8f00 !important;
}

/* Skeleton placeholder */
.skeleton {
    color: rgba(0, 0, 0, 0) !important;
    border-radius: 0.4rem;
}

.skeleton.light {
    background: linear-gradient(to right,
            rgba(241, 241, 241, 0),
            rgba(255, 255, 255, 0.2) 50%,
            rgba(241, 241, 241, 0) 80%),
        #f1f1f1;
    background-repeat: repeat-y;
    background-size: 100px 500px;
    background-position: 0 0;
    animation: shine 1s infinite;
}

.skeleton.medium {
    background: linear-gradient(to right,
            rgba(224, 224, 224, 0),
            rgba(255, 255, 255, 0.2) 50%,
            rgba(224, 224, 224, 0) 80%),
        #e0e0e0;
    background-repeat: repeat-y;
    background-size: 100px 500px;
    background-position: 0 0;
    animation: shine 1s infinite;
}

.skeleton.dark {
    background: linear-gradient(to right,
            rgba(189, 189, 189, 0),
            rgba(255, 255, 255, 0.15) 50%,
            rgba(189, 189, 189, 0) 80%),
        #bdbdbd;
    background-repeat: repeat-y;
    background-size: 100px 500px;
    background-position: 0 0;
    animation: shine 1s infinite;
}

@keyframes shine {
    to {
        background-position: 100% 0;
    }
}

#mobile-share-menu {
    z-index: 999 !important;
}