.orange-color {
    color: #ffa500 !important;
}
.red-color {
    color: #ff0000;
}

body {
    min-height: 100vh;
    display: flex;
    background-image: url('../img/fond_artem_flou.jpg');
    /*backdrop-filter: brightness(1.4) grayscale(0.2) contrast(0.8) blur(10px);*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

* {
    transition: all ease-in-out 0.1s;
}

.btn-primary {
    background: linear-gradient(180deg, rgb(253, 146, 71) 0%, rgba(245,130,50,1) 50%, rgb(224, 109, 30) 100%);
    border-color: #f58232;
    box-shadow: 0 0 12px rgba(0,0,0,0.25);

}
.btn-primary:hover {
    background: linear-gradient(180deg, rgb(232, 127, 54) 0%, rgb(232, 119, 41) 50%, rgb(217, 102, 23) 100%);
    border-color: #d36519;
}
.btn-primary:focus {
    background: linear-gradient(180deg, rgb(225, 120, 47) 0%, rgb(217, 107, 32) 50%, rgb(203, 91, 14) 100%);
    border-color: #9b480f;
}
.btn-primary:active {
    background: linear-gradient(180deg, rgb(225, 120, 47) 0%, rgb(217, 107, 32) 50%, rgb(203, 91, 14) 100%);
    border-color: #9b480f;
}
.btn-primary:visited {
    background: linear-gradient(180deg, rgb(253, 146, 71) 0%, rgba(245,130,50,1) 50%, rgb(224, 109, 30) 100%);
    border-color: #f58232;
}

.page-item.active .page-link {
    background-color: #f58232;
    border-color: #f58232;
}

/* Tableaux */
table {
    max-width: 100%;
}
.table thead th {
    color: white;
    background-color: #f58232;
    border-color: #ffbe90;
}

/* TinyMCE */
.tox-statusbar__branding {
    visibility: hidden;
}

/* Formulaires */
.group-input-animation {
    position: relative;
    margin-bottom: 12px;
}
.group-input-animation > label {
    position: absolute;
    top: 15%;
    left: 2%;
    padding: 0;
    width: fit-content;
    height: fit-content;
    color: gray;
    pointer-events: none;
}
.label-animated {
    transform: translate(-5px, -16px);
    background: white;
    border: 1px solid lightgray;
    border-radius: 5px;
    font-size: 12px;
    padding-left: 5px!important;
    padding-right: 5px!important;
}
.group-input-animation > input {
    width: 100%;
    height: 42px;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 5px;
    border: 1px solid lightgray;
}
.show-password {
    position: absolute;
    cursor: pointer;
    top: 22%;
    right: 2%;
}

/* -- Header -- */

.navbar-header {
    background-color: #f58232;
    box-shadow: 0 5px 5px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 2;
    transform-origin: top left;
}
.navbar-header .nav-item {
    border-bottom: 2px solid rgba(255,255,255,0%);
}
.navbar-header .nav-item:hover {
    border-bottom: 2px solid rgba(255,255,255,100%);
}
.navbar-header .nav-link {
    color: white !important;
}

#bandeau {
    display: block;
    background-image: url('../img/banniere_site_v2.png');
    background-color: #ff3900;
    height: 114px;
    /*width: 1110px;*/
    width: 100%;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transform-origin: top right;
}

@media(max-width: 767px) {
    #bandeau{
        height: 64px;
    }
}

.breadcrumb {
    width: fit-content;
    background-color: #f9f9f9;
    font-size: 14px;
    color: #6c757d;
    padding: 6px 8px;
}

#nav-langs {
    display: flex;
}

#nav-langs a {
    margin: auto;
}

.dropdown-menu {
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    background-color: #f88f45;
    color: white;
}
.dropdown-item {
    color: white;
}

/* -- Pages -- */
#main, #login .card {
    margin-top: 30px;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 5px;
    padding: 22px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    margin-bottom: 30px;
    /*background-color: white;*/
    background-color: rgba(255,255,255, 0.94);
}

#card-mfe {
    width: 40%;
    margin-left: 12px;
    margin-bottom: 12px;
    float: right;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}
@media(max-width: 767px) {
    #card-mfe{
        width: 100%;
    }
}

#card-mfe.card-tuteur li {
    list-style: none;
    padding: 12px;
    border: 1px solid lightgray;
    border-radius: 5px;
    margin-bottom: 12px;
}
.collapse-annee {
    cursor: pointer;
    border-bottom:3px solid #FF9933;
}
.collapse-annee.collapsed {
    border-bottom:3px solid #f00;
}
.collapse-annee:after {
    content: "\f107";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    float: right;
}
.collapse-annee.collapsed:after {
    content: "\f106";
}
#card-mfe .apprenants-list {
    font-size: 13px;
}

.note-finale {
    border-bottom: 2px solid black;
}

.table-livrables {
    position: relative;
    padding-top: 100px;
}
.table-livrables tfoot {
    width: 100%;
    position: absolute;
    top: 0;
}
.table-livrables tfoot tr {
    width: 100%;
    display: flex;
}
.table-livrables tfoot tr th {
    display: flex;
    flex-direction: column;
    border: none;
}
.table-livrables tfoot select {
    width: 100%;
    max-width: 200px;
    background-color: white;
    border: 1px solid lightgray;
    border-radius: 5px;
    padding: 5px;
}

.block-stats {
    border: 1px solid lightgray;
    border-radius: 5px;
    padding: 12px;
    min-height: 100%;
}

table .fa-crown {
    font-size: 10px;
}

.tr-separator {
    border-top: 2px solid gray;
}
.tr-separator td {
    font-weight: bold;
}

.border-tab {
    border: 1px solid lightgray;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    padding: 14px;
    background-color: #fff4e0;
}

.card-infos-mfe {
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 5px;
    padding: 18px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    background-color: rgba(255,255,255, 0.94);
}

/* -- Choix des thèmes -- */

.row-generique {
    border: 1px solid lightgray;
    border-radius: 5px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    margin-top: 12px;
    margin-bottom: 12px;
}

.header-generique {
    display: flex;
    border-bottom: 1px solid lightgray;
    background-color: #ff3900;
    padding: 8px 0;
}

.lib-generique {
    color: white;
    text-transform: uppercase;
}

.row-specifique {
    border-bottom: 1px solid lightgray;
    margin-bottom: 8px;
    margin-top: 8px;
    padding-bottom: 8px;
}

.col-spec-ligne {
    border-left: 1px solid lightgray;
    border-bottom: 1px solid lightgray;
}

/* -- Grille d'évaluation -- */

.table-evaluation {
    height: 1px;
}

.cell-notation {
    height: 100%;
}
.cell-notation .form-check {
    padding-left: 0.65rem;
}
.cell-label {
    display: flex;
    cursor: pointer;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
}
.cell-label:hover {
    background-color: #fff3dd;
}
.block-notation {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
}
.texte-notation {
    margin-bottom: 12px;
}
.checks {
    display: flex;
    justify-content: center;
}
#note {
    -webkit-appearance: none;
    -moz-appearance: textfield;
}



/* -- Divers -- */

.konami {
    animation: 3s ease-in-out forwards konami;
}

@keyframes konami {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(100deg);
    }
    50% {
        transform: rotate(75deg);
    }
    100% {
        transform: rotate(110deg) translateX(300%);
    }
}

.konami2 {
    animation: 2.2s ease-in-out forwards konami2;
}

@keyframes konami2 {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-100deg);
    }
    50% {
        transform: rotate(-75deg);
    }
    100% {
        transform: rotate(-90deg) translateX(-300%);
    }
}

.konami3 {
    animation: 2s ease-in-out forwards konami3;
}

@keyframes konami3 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(3960deg) scale(0);
        filter: opacity(0);
    }
}

#curseur {
    display: none;
    background-image: url('../img/curseur.png');
    width: 13px;
    height: 40px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    transition: all ease-in-out 0.0s;
    pointer-events: none;
    z-index: 100;
}

.laser {
    position: absolute;
    height: 12px;
    width: 35px;
    background: white;
    border: 4px solid orange;
    border-radius: 4px;
    box-shadow: 0 0 5px #ffc55f;
    animation: 1s linear forwards laser;
}

#charge {
    position: absolute;
    top: -17px;
    left: -23px;
    width: 30px;
    height: 30px;
    background: white;
    border: 4px solid orange;
    border-radius: 1000px;
    box-shadow: 0 0 5px #ffc55f;
    opacity: 0;
    transform: scale(0);
    transform-origin: bottom right;
}

.alien {
    display: none;
    width: 128px;
    height: 128px;
    z-index: 2;
    position: absolute;
    top: auto;
    left: 80%;
    animation: 2s alienmove linear infinite;
}
.alien img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.6));
}

.hitbox {
    position: absolute;
    background-color: #0f65d4;
    opacity: 0.6;
    pointer-events: none;
}

@keyframes laser {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(7000%);
        filter: opacity(0);
    }
}

@keyframes alienmove{
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(580px);
    }
    100% {
        transform: translateY(0px);
    }
}

.alienHit {
    animation: 1s linear alienHit;
}

@keyframes alienHit{
    0% {
        filter: brightness(2);
        scale: 1;
    }
    50% {
        filter: brightness(1.5);
        scale: 1.2;
    }
    100% {
        filter: brightness(1);
        scale: 1;
    }
}

#gnoel {
    display: none;
    background-image: url('../img/alien1.png');
    width: 64px;
    height: 64px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    transition: all ease-in-out 0s;
    pointer-events: none;
    z-index: 100;
    filter: drop-shadow(8px 5px 5px rgba(0,0,0,0.5));
}

.squeezeOn {
    animation: squeezeOn ease-in-out 0.1s forwards;
}
@keyframes squeezeOn{
   from{
       transform: skew(0deg);
   }
    to {
        transform: skew(30deg);
    }
}

.squeezeOff {
    animation: squeezeOff ease-in-out 0.1s forwards;
}
@keyframes squeezeOff{
    from{
        transform: skew(30deg);
    }
    to {
        transform: skew(0deg);
    }
}

/* -- TT et QQ -- */

.typeahead,
.tt-query,
.tt-hint {
    width: 396px;
    height: 30px;
    padding: 8px 12px;
    line-height: 30px;
    border: 2px solid #ccc;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    outline: none;
}

.typeahead {
    background-color: #fff;
}

.typeahead:focus {
    border: 2px solid #0097cf;
}

.tt-query {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
    color: #999
}

.tt-menu {
    width: 422px;
    margin: 12px 0;
    padding: 8px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-suggestion {
    padding: 3px 20px;
    line-height: 24px;
}

.tt-suggestion:hover {
    cursor: pointer;
    color: #fff;
    background-color: #0097cf;
}

.tt-suggestion.tt-cursor {
    color: #fff;
    background-color: #0097cf;

}

.tt-suggestion p {
    margin: 0;
}

#remote .tt-dropdown-menu {
    max-height: 150px;
    overflow-y: auto;
}

.qq-btn
{
    box-shadow: 0 1px 1px rgba(255, 255, 255, 0.37) inset,
    1px 0 1px rgba(255, 255, 255, 0.07) inset,
    0 1px 0 rgba(0, 0, 0, 0.36),
    0 -2px 12px rgba(0, 0, 0, 0.08) inset;
    padding: 3px 4px;
    border: 1px solid #CCCCCC;
    border-radius: 2px;
    color: inherit;
    background-color: #FFFFFF;
}
.qq-upload-delete, .qq-upload-pause, .qq-upload-continue {
    display: inline;
}
.qq-upload-delete
{
    background-color: #e65c47;
    color: #FAFAFA;
    border-color: #dc523d;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.55);
}
.qq-upload-delete:hover {
    background-color: #f56b56;
}
.qq-upload-cancel
{
    background-color: #F5D7D7;
    border-color: #e6c8c8;
}
.qq-upload-cancel:hover {
    background-color: #ffe1e1;
}
.qq-upload-retry
{
    background-color: #EBF6E0;
    border-color: #d2ddc7;
}
.qq-upload-retry:hover {
    background-color: #f7ffec;
}
.qq-upload-pause, .qq-upload-continue {
    background-color: #00ABC7;
    color: #FAFAFA;
    border-color: #2dadc2;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.55);
}
.qq-upload-pause:hover, .qq-upload-continue:hover {
    background-color: #0fbad6;
}

/* Upload Button
------------------------------------------ */
.qq-upload-button {
    display: inline;
    width: 105px;
    margin-bottom: 10px;
    padding: 7px 10px;
    text-align: center;
    float: left;
    background: #00ABC7;
    color: #FFFFFF;
    border-radius: 2px;
    border: 1px solid #2dadc2;
    box-shadow: 0 1px 1px rgba(255, 255, 255, 0.37) inset,
    1px 0 1px rgba(255, 255, 255, 0.07) inset,
    0 1px 0 rgba(0, 0, 0, 0.36),
    0 -2px 12px rgba(0, 0, 0, 0.08) inset;
}
.qq-upload-button-hover {
    background: #33B6CC;
}
.qq-upload-button-focus {
    outline: 1px dotted #000000;
}

/* Drop Zone
------------------------------------------ */
.qq-uploader {
    position: relative;
    min-height: 200px;
    max-height: 490px;
    overflow-y: hidden;
    width: inherit;
    border-radius: 6px;
    background-color: #FDFDFD;
    border: 1px dashed #CCCCCC;
    padding: 20px;
}
.qq-uploader:before {
    content: attr(qq-drop-area-text) " ";
    position: absolute;
    font-size: 200%;
    left: 0;
    width: 100%;
    text-align: center;
    top: 45%;
    opacity: 0.25;
}
.qq-upload-drop-area, .qq-upload-extra-drop-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 30px;
    z-index: 2;
    background: #F9F9F9;
    border-radius: 4px;
    border: 1px dashed #CCCCCC;
    text-align: center;
}
.qq-upload-drop-area span {
    display: block;
    position: absolute;
    top: 50%;
    width: 100%;
    margin-top: -8px;
    font-size: 16px;
}
.qq-upload-extra-drop-area {
    position: relative;
    margin-top: 50px;
    font-size: 16px;
    padding-top: 30px;
    height: 20px;
    min-height: 40px;
}
.qq-upload-drop-area-active {
    background: #FDFDFD;
    border-radius: 4px;
    border: 1px dashed #CCCCCC;
}
.qq-upload-list {
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: 450px;
    overflow-y: auto;
    box-shadow: 0px 1px 0px rgba(15, 15, 50, 0.14);
    clear: both;
}

/* Uploaded Elements
------------------------------------------ */
.qq-upload-list li {
    margin: 0;
    padding: 9px;
    line-height: 15px;
    font-size: 16px;
    color: #424242;
    background-color: #F6F6F6;
    border-top: 1px solid #FFFFFF;
    border-bottom: 1px solid #DDDDDD;
}
.qq-upload-list li:first-child {
    border-top: none;
}
.qq-upload-list li:last-child {
    border-bottom: none;
}
.qq-upload-file, .qq-upload-spinner, .qq-upload-size,
.qq-upload-cancel, .qq-upload-retry, .qq-upload-failed-text,
.qq-upload-delete, .qq-upload-pause, .qq-upload-continue {
    margin-right: 12px;
    display: inline;
}
.qq-upload-file {
    vertical-align: middle;
    display: inline-block;
    width: 300px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow-x: hidden;
    height: 18px;
}
.qq-upload-spinner {
    display: inline-block;
    background: url("../img/loading.gif");
    width: 15px;
    height: 15px;
    vertical-align: text-bottom;
}
.qq-drop-processing {
    display: block;
}
.qq-drop-processing-spinner {
    display: inline-block;
    background: url("../img/processing.gif");
    width: 24px;
    height: 24px;
    vertical-align: text-bottom;
}
.qq-upload-size, .qq-upload-cancel, .qq-upload-retry,
.qq-upload-delete, .qq-upload-pause, .qq-upload-continue {
    font-size: 12px;
    font-weight: normal;
    cursor: pointer;
    vertical-align: middle;
}
.qq-upload-status-text {
    font-size: 14px;
    font-weight: bold;
    display: block;
}
.qq-upload-failed-text {
    display: none;
    font-style: italic;
    font-weight: bold;
}
.qq-upload-failed-icon {
    display:none;
    width:15px;
    height:15px;
    vertical-align:text-bottom;
}
.qq-upload-fail .qq-upload-failed-text {
    display: inline;
}
.qq-upload-retrying .qq-upload-failed-text {
    display: inline;
}
.qq-upload-list li.qq-upload-success {
    background-color: #EBF6E0;
    color: #424242;
    border-bottom: 1px solid #D3DED1;
    border-top: 1px solid #F7FFF5;
}
.qq-upload-list li.qq-upload-fail {
    background-color: #F5D7D7;
    color: #424242;
    border-bottom: 1px solid #DECACA;
    border-top: 1px solid #FCE6E6;
}
.qq-progress-bar {
    display: block;
    display: block;
    background: #00abc7;
    width: 0%;
    height: 15px;
    border-radius: 6px;
    margin-bottom: 3px;
}

.qq-total-progress-bar {
    height: 25px;
    border-radius: 9px;
}

.qq-total-progress-bar-container {
    margin-left: 9px;
    display: inline;
    float: right;
    width: 500px;
}

INPUT.qq-edit-filename {
    position: absolute;
    opacity: 0;
    filter: alpha(opacity=0);
    z-index: -1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}

.qq-upload-file.qq-editable {
    cursor: pointer;
    margin-right: 4px;
}

.qq-edit-filename-icon.qq-editable {
    display: inline-block;
    cursor: pointer;
}

INPUT.qq-edit-filename.qq-editing {
    position: static;
    height: 28px;
    padding: 0 8px;
    margin-right: 10px;
    margin-bottom: -5px;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-size: 16px;

    opacity: 1;
    filter: alpha(opacity=100);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.qq-edit-filename-icon {
    display: none;
    background: url("../img/edit.gif");
    width: 15px;
    height: 15px;
    vertical-align: text-bottom;
    margin-right: 16px;
}

.qq-hide {
    display: none;
}

/* Thumbnail
------------------------------------------ */
.qq-thumbnail-selector {
    vertical-align: middle;
    margin-right: 12px;
}

/* <dialog> element styles */
.qq-uploader DIALOG {
    display: none;
}

.qq-uploader DIALOG[open] {
    display: block;
}

.qq-uploader DIALOG {
    display: none;
}

.qq-uploader DIALOG[open] {
    display: block;
}

.qq-uploader DIALOG .qq-dialog-buttons {
    text-align: center;
    padding-top: 10px;
}

.qq-uploader DIALOG .qq-dialog-buttons BUTTON {
    margin-left: 5px;
    margin-right: 5px;
}

.qq-uploader DIALOG .qq-dialog-message-selector {
    padding-bottom: 10px;
}

.qq-uploader DIALOG::backdrop {
    background-color: rgba(0, 0, 0, 0.7);
}

#fine-uploader .alert-danger {
    display: none;
    margin-top: 20px;
}

.list-group-item.active {
   background-color: #f58232;
   border-color: #f58232;
    margin-top: 12px!important;
}

.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: rgba(0,0,0,0.60);
    display: flex;
}
.inner-overlay {
    background-color: white;
    margin: auto;
    border-radius: 5px;
    box-shadow: 0 0 12px rgba(255,255,255,0.4);
    text-align: center;
    padding: 18px;
}
.col-pick-lang {
    display: flex;
    flex-direction: column;
}
.col-pick-lang img {
    width: 100px;
    height: 50px;
}
