/*Imports */
@import "colors.css";
@import "loader.css";

@font-face {
	font-family: 'ElegantIcons';
	src:url('fonts/ElegantIcons.eot');
	src:url('fonts/ElegantIcons.eot?#iefix') format('embedded-opentype'),
		url('fonts/ElegantIcons.woff') format('woff'),
		url('fonts/ElegantIcons.ttf') format('truetype'),
		url('fonts/ElegantIcons.svg#ElegantIcons') format('svg');
	font-weight: normal;
	font-style: normal;
}

/** GLOBAL **/

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    color: var(--df-blue-regular);
    background-image: url("../image/bg-dotted.jpeg");
    background-repeat: repeat;
}

a, a:hover {
    text-decoration: none;
}

.df-custom-rounded-8 {
    border-radius: 8px;
}

.df-custom-rounded-16 {
    border-radius: 16px;
}

.df-mb-2rem {
    margin-bottom: 2rem;
}

.df-w-75vw {
    width: 75vw;
    max-width: 280px;
}

.df-min-vh-100 {
    min-height: 100vh !important;
}

.df-min-vw-100 {
    min-width: 100vh !important;
}

.df-custom-select > button, .df-custom-select > button:hover {
    background-color: #ACACAC
}

.df-custom-select .collapse {
    background-color: #606060;
    max-height: 190px;
    overflow-y: scroll;
}

.mobile-logo img {
    max-width: 145px;
}

/* No scroll bar */
.df-no-scrollbar {
    overflow-y: hidden;
    width: auto;
    /*width: 100%;*/
}
.df-no-scrollbar::-webkit-scrollbar {
    display: none;
}
/************************************/

  /* Designing for scroll-bar */
  ::-webkit-scrollbar {
    width: 8px;
    padding: 0 5px!important;
    margin-right: 5px!important;
}

/* Track */
::-webkit-scrollbar-track {
    background: gainsboro;
    border-radius: 5px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 5px;
    padding: 0 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.btn-principal  {
    /*background-color: #333333;*/
    /*border: 2px solid #333333;*/
    color: white;
    border-radius: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    text-decoration: none ;
    max-width: 320px;
    transition: all 300ms ease;
}

.edit-profil {
    max-width: 200px;
}

.btn-principal:hover  {
    background-color: white;
    /*color: #333333;*/
    border-color: #333333;
}

.btn-principal .fa-user-plus:before {
    content: url("../icons/profiles-add-icon-white.svg");
}

.btn-principal:hover .fa-user-plus:before {
    content: url("../icons/profiles-add-icon-dark.svg");
}

.btn-principal.inverse  {
    background-color: white;
    border: 2px solid #333333;
    color: #333333;
    border-radius: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    text-decoration: none ;
    width: 320px;
}

.btn-principal.inverse:hover  {
    background-color: #333333;
    color: white;
}

/* Path: views/livewire/admin/filter-profil */

.dropdown-toggle.btn-secondary.disablebg {
    background: none;
    border: none;
}

.header .dropdown-toggle::after, .quizz-card .dropdown-toggle:hover::after, .quizz-card .dropdown-toggle::after {
    display: none !important;
}

.custom-table {
    background-color: #F0F0F0;
    color: #333333;
}

.custom-table th, .custom-table td {
    border: none;
}

.card {
    border-radius: 0;
}


/****************************/

/* Path: views/admin/users/create */

.light-grey-background {
    background-color: #f2f2f2;
    border-radius: 8px;
    border: 0px;
}

.btn-custom-grey {
    background-color: #808080; /* ou la couleur que vous voulez */
    color: #ffffff; /* couleur du texte sur le bouton */
}

.select {
    border-radius: 8px !important;
    padding-right: 5px;
    border-right: none !important;
}
.input-group-text {
    background: none !important;
    border-radius: 0 0.25rem 0.25rem 0 !important;
    border-left: none !important;
}

.radio-input {
    background-color: white;
    border: 2px solid #333333;
}

.radio-input:checked {
    background-color: #333333 !important;
    border: 2px solid #333333 !important;
    color: white;
}



.dropdown {
    position: relative;
    display: inline-block;
  }

  .dropdown-content {
    /*display: none;*/
    position: absolute;
    background-color: #FFFFFF;
    border: 1px solid #333333;
    border-radius: 5px;
    min-width: 200px;
    margin-top: 10px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);

    z-index: 1;
  }

  .dropdown-content .dropdown-panel {
    padding: 2px 2px;
  }

  .dropdown .dropdown-content {
    /*display: block;*/
    z-index: 999999;
  }

  #cardfilter.dropdown-toggle::after {
      display: none;
  }

  .card-created-by .btn.dropdown-toggle {
      width: 100%;
      min-width: 300px;
  }

.card-created-by .bootstrap-select .dropdown-menu {
    min-width: 300px;
}

#chapitres-dropdown, #matieres-dropdown, #matières-dropdown {
    max-height: 250px;
    overflow-y: scroll;
}

.page-parameters-index #chapitres-dropdown, .page-parameters-index #matieres-dropdown {
    direction: rtl;
}

.page-parameters-index #chapitres-dropdown > div, .page-parameters-index #matieres-dropdown > div {
    direction: ltr;
    padding-left: 8px;
}

.page-parameters-index #chapitres-dropdown > div:hover, .page-parameters-index #matieres-dropdown > div:hover {
    background-color: var(--df-blue-light);
}

  .fav-icon {
    width: 21px;
    height: 21px;
}

  .dropbtn {
    background-color: #4CAF50;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
  }

  .dropbtn:hover {
    background-color: #3e8e41;
  }


#cardfilter, #cardtrier, #cardfilterreset {
    font-size: 16px;
    padding: 0.375rem 0.75rem;
}

#cardfilter, #cardtrier {
    color: var(--df-blue-regular) !important;
    background-color: white !important;
}

#cardfilter:hover, #cardtrier:hover {
    color: white !important;
    background-color: var(--df-blue-regular) !important;
}

.disabled.df-c-blue-light {
    color: var(--df-blue-light);
}

.cardfilter .btn.df-c-blue-regular:hover {
    color: var(--df-blue-regular);
    opacity: .82;
}

/*** Card ***/

.super-card .tab-content .card-text, .quizz-card .card-text  {
    min-height: 120px;
    max-height: 120px;
    overflow: hidden;
    color: #333;
}

.card-text-container {
    min-height: 200px;
}

.voir-plus:after, .voir-moins:after{
    margin-left: 8px;
}
.voir-plus:after {
    content: url("../icons/voir-plus-icon.svg");
}

.voir-moins:after {
    content: url("../icons/voir-moins-icon.svg");
}

.card-data {
    font-size: 12px;
    color:#BBB;
}

/* Card collapse */

/*.super-card {*/
/*    font-size: 1rem;*/
/*    line-height: 1.5;*/
/*}*/


/*.super-card .collapse:not(.show) {*/
/*    display: block;*/
/*    height: 3rem;*/
/*    overflow: hidden;*/
/*}*/

/*.super-card .collapsing {*/
/*    height: 3rem;*/
/*}*/

/*.super-card a.collapsed::after {*/
/*    content: '+ Show More';*/
/*}*/

/*.super-card a:not(.collapsed)::after {*/
/*    content: '- Show Less';*/
/*}*/

/* Hide

/************************************/

/* Path: views/card/list */


.card-body .nav-tabs .nav-link {
    text-transform: uppercase;

}

.card-body .nav-tabs .nav-link.active {
    /*border: 0px;*/
    padding: 8px 16px;
    /*border-bottom: 2px solid var(--df-orange-regular);*/
    /*border-radius: 0px;*/
    color: var(--df-blue-regular);
    font-weight: 500;
}

.card-header {
    font-size: 14px;
    font-weight: normal;
    color: #606060;
}
.card-header .card-number {
    color: #333333;
}

.modal {
    /*display: none;*/
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(67 97 159 / 75%);
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 93%;
    max-width: 550px;
    top: 17vh;
}

/* Success, Error & Delete modals */

#confirmDeleteModal, #renameModal, #storeModal, #successModal, #errorModal, #resultsModal {
    z-index: 999999;
}
#confirmDeleteModal .close-modal, #renameModal .close-modal, #storeModal .close-modal {
    background-color: var(--df-blue-light);;
    border: 0px;
    border-radius: 50px;
    padding: 3px 6px!important;
}

.btn-confirm:after {
    content: url("../icons/check-icon-small-white.svg");
    margin-top: 5px;
    margin-left: 10px;
}

.btn-confirm:hover:after {
    content: url("../icons/check-icon-small-rose.svg");
}

.btn-cancel:after {
    content: url("../icons/cancel-check-white.svg");
    margin-top: 5px;
    margin-left: 10px;
    display: inline-block;
}

.btn-cancel:hover:after {
    content: url("../icons/cancel-check-blue.svg");
}

#resultsModal .modal-content {
    position: absolute;
    top: 27vh;
    left: 0;
    right: 0;
    width: 93%;
    max-width: 500px;
 }

#resultsModal .modal-content > div {
    max-width: 310px;
    margin: auto;
}

#resultsModal .close-modal {
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
    cursor:pointer;
    background-color: var(--df-blue-light);
    border-radius: 50px;
    padding: 3px 6px!important;
}

.close-modal.text-dark {
    background-color: var(--df-blue-light);
}

.close-modal.text-dark i:before {
    color: var(--df-blue-regular);
}

.modal-btn {
    max-width: 300px;
}

#resultsModal .modal-header .title, #resultsModal .subtitle_2, #resultsModal .subtitle_3 {
    font-size: 20px;
}

#resultsModal .modal-header .subtitle_1 {
    font-size: 30px;
}

#resultsModal .modal-header .subtitle_2 {
    font-size: 20px;
}

.collapse {
    transition: all 300ms ease;
}

/* New profil button */

.profiles-new, .cards-new {
    margin-left: auto;
    position: absolute;
    top: -5rem;
    right: 0;
}

.profiles-new:after, .cards-new:after {
    margin-left: 10px;
    margin-top: 5px;
    display: inline-block;
}

.profiles-new:after {
    content : url("../icons/profiles-icon-white.svg");
}

.profiles-new:hover:after {
    content : url("../icons/profiles-icon-rose.svg");
}

.cards-new:after {
    content : url("../icons/card-icon-white.svg");
}

.cards-new:hover:after {
    content : url("../icons/card-icon-rose.svg");
}

/************************************/

/* Path: views/card/form */

.form-select.select-icon:after {
    content: '\33';
    font-family: 'ElegantIcons';
    font-size: 18px;
    position: absolute;
}

/************************************/

/* nav-icons-5 */
.nav-icon-5{
    z-index: 1000;
    width: 40px;
    height: 25px;
    margin: 0 0 10px;
    position: relative;
    cursor: pointer;
    display: inline-block;
  }
  .nav-icon-5 span{
    background-color: var(--df-blue-regular);
    position: absolute;
    border-radius: 0;
    transition: .3s cubic-bezier(.8, .5, .2, 1.4);
    width:100%;
    height: 4px;
    transition-duration: 500ms
  }
  .nav-icon-5 span:nth-child(1){
    top:5px;
    left: 0px;
  }
  .nav-icon-5 span:nth-child(2){
    top:13px;
    left: 0px;
    opacity:1;
      background-image: url("../icons/burger-middle-icon-dark.svg");
      background-color: transparent;
  }
  .nav-icon-5 span:nth-child(3){
    bottom:0px;
    left: 0px;
  }
  .nav-icon-5:not(.open):hover span:nth-child(1){
    transform: rotate(0deg) scaleY(1.1);
  }
  .nav-icon-5:not(.open):hover span:nth-child(2){
    transform: rotate(0deg) scaleY(1.1);
  }
  .nav-icon-5:not(.open):hover span:nth-child(3){
    transform: rotate(0deg) scaleY(1.1);
  }
  .nav-icon-5.open span:nth-child(1){
    transform: rotate(45deg);
    top: 13px;
  }
  .nav-icon-5.open span:nth-child(2){
    opacity:0;
  }
  .nav-icon-5.open span:nth-child(3){
    transform: rotate(-45deg);
    top: 13px;
  }
  .nav-icon-5.open span {
    background-color:white;
  }

  .custom-option {
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    cursor: pointer;
    text-align: center;
}

.custom-option.selected {
    background-color: #007bff;
    color: #fff;
}

.btn-custom-border-grey {
    background-color: white;
    border: 2px solid #333333;
    border-radius: 12px;
    color: #333333;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 24px;
}

.btn-custom-border-grey:after {
    font-family: 'ElegantIcons';
    content: "\45";
    position: relative;
    right: 0;
    margin-left: 10px
}

.btn-return {
    background-color: var(--df-orange-regular);
    border: 2px solid var(--df-orange-regular);
    border-radius: 60px;
    color: #fff;
    font-size: 17px;
    font-weight: bold;
    height: 30px;
    padding: 0px 5px;
}

.btn-return:after {
    font-family: 'ElegantIcons';
    content: "\34";
    position: relative;
    right: 0;

}

/**************************************************/

/* TODO: order this on css sub-files? */
/* Fontawesome icons overwrites */

.fa-table-cells-large:before, .fa-th-large:before {
    content: url("../icons/dashboard-icon-dark.svg");
}

.fa-table-cells-large.white-icon:before, .fa-th-large.white-icon:before {
    content: url("../icons/dashboard-icon-white.svg");
}

.fa-cog:before, .fa-gear:before {
    content: url("../icons/setting-icon-dark.svg");
}

.fa-cog.white-icon:before, .fa-gear.white-icon:before {
    content: url("../icons/setting-icon-white.svg");
}

.fa-chart-pie:before, .fa-pie-chart:before {
    content: url("../icons/stats-icon-dark.svg");
}

.fa-chart-pie.white-icon:before, .fa-pie-chart.white-icon:before {
    content: url("../icons/stats-icon-white.svg");
}

.fa-clipboard-list:before {
    content: url("../icons/card-icon-dark.svg");
}

.fa-clipboard-list.white-icon:before {
    content: url("../icons/card-icon-white.svg");
}

.fa-user-plus:before {
    content: url("../icons/profiles-icon-dark.svg");
}
.fa-user-plus.white-icon:before {
    content: url("../icons/profiles-icon-white.svg");
}

.fa-user:before {
    content: url("../icons/profile-icon-dark.svg");
}
.fa-user.white-icon:before {
    content: url("../icons/profiles-icon-white.svg");
}

.fa-heart:before {
    content: url("../icons/fav-icon-dark.svg");
}

.fa-heart.white-icon:before {
    content: url("../icons/fav-icon-white.svg");
}

#sidebar-wrapper .fa-heart.white-icon:before {
    content: url("../icons/fav-icon-white_old.svg")
}

.fa-fileupload:before {
    content: url("../icons/file-upload-icon.svg");
}

.fa-circle-check:before {
    content: url("../icons/check-icon.svg");
}

.fa-circle-check.small-icon:before {
    content: url("../icons/check-icon-small.svg");
}

.fa-circle-check.white-icon:before {
    content: url("../icons/check-icon-white.svg");
}

.fa-solid.error-icon:before {
    content: url("../icons/pas-maitrisee.svg");
}

.dashboard-col-2 .fa-solid {
    content: url("../icons/plus-circle-create-card.svg");
    margin-left: 10px;
}

.dropdown-toggle::after {
    content: url("../icons/arrow-drop-down.svg");
    border-top: none;
}

.dropdown-toggle:hover::after {
    content: url("../icons/arrow-drop-down-white.svg");
    border-top: none;
}

.super-card .dropdown-toggle::after, .super-card .dropdown-toggle:hover::after {
    display: none;
}

.fa-add:before, .fa-plus:before {
    content: url("../icons/plus-icon.svg");
}

.form-check-input[type=radio] {
    background-image: url("../icons/radio-bg-icon.svg");
}

.form-check-input:checked[type=radio] {
    background-image: url("../icons/radio-bg-checked-icon.svg");
}

.form-check-input:checked {
    background-color: unset;
    border-color: unset;
}

.fa-search:before {
    content: url("../icons/search-icon.svg");
}

.df-arrow-dark:before {
    content: url("../icons/arrow-icon-white.svg");
    display: block;
    transition: all 300ms ease;
    margin-top: 3px;
}
.edit-profil:hover .df-arrow-dark:before {
    content: url("../icons/arrow-icon-rose.svg");
    /*transform: translateX(10px);*/
}

.page-admin-profile-edit input {
    color: var(--df-blue-regular);
}

.fa-home:before {
    content: url("../icons/home-icon-white.svg");
}

.fa-fav-icon-dark-full:before {
    content: url("../icons/fav-icon-dark-full.svg");
}

/* Buttons */

.dashboard-btn {
    display: flex;
    justify-content: center;
    align-content: center !important;
    color: var(--df-blue-regular);
    transition: all 300ms ease;
    flex-wrap: wrap;
    height: 330px;
}

.dashboard-btn:hover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.05)!important;
}

/* Colors for Bootstrap */
.dashboard-col-2 {
    background-color: var(--df-blue-regular);
    transition: all 300ms ease;
}

.dashboard-col-2:hover {
    /*background-color: var(--df-blue-light);*/
    opacity: .95;
}

.dashboard-col-2 a {
    color: white;
    /*box-shadow: none !important;*/
    height: 100%;
}

/*.dashboard-col-2 a:hover {*/
/*    color: var(--df-dark);*/
/*}*/

/* Blocks */

.fs-30 {
    font-size: 30px;
}

.df-block-title {
    font-size: 18px;
    font-weight: normal;
    line-height: 24px;
    text-transform: uppercase;
    border-bottom: solid 1px #D5D5D5;
    padding-bottom: 3px;
}

a.df-block-link {
    font-size: 14px;
    font-weight: normal;
    line-height: 18px;
    text-decoration: underline;
    color: inherit;
}

/* Modals */

#questionModal, #responseModal {
    z-index: 10001;
}

#responseModal img, #questionModal img {
    width: 100%;
    max-width: 1024px;
}

.df-close-modal {
    cursor:pointer;
    background-color: #D5D5D5;
    border-radius: 50px;
    padding: 3px 6px!important;
}

/* Forms */

/** Boorstrap-select **/

button.btn.dropdown-toggle.btn-light:not(.no-bootstrap-select-style button.btn.dropdown-toggle.btn-light) {
    padding: 1rem;
    border-radius: 8px;
    background-color: var(--df-blue-light);
    color: var(--df-blue-regular);
    font-size: 18px;
}

button.btn.dropdown-toggle.btn-light:not(.no-bootstrap-select-style button.btn.dropdown-toggle.btn-light):hover {
    border-color: var(--df-blue-regular);
    background-color: var(--df-blue-regular);
    color: white;
}

.no-bootstrap-select-style button.btn.dropdown-toggle.btn-light {
    background-color: white;
    border: var(--bs-border-width) solid var(--bs-border-color);
}

textarea {
    background-color: var(--df-blue-light);
    resize: none;
    height: 250px;
}

textarea.form-control:focus {
    background-color: #cbdbffcc;
    box-shadow: none;
}

select.form-control:not(.no-bootstrap-select-style), select.form-control:not(.no-bootstrap-select-style):focus {
    background-color: var(--df-blue-light);
    color: var(--df-blue-regular);
    padding: 1rem !important;
}

form.w-limited {
    width: 100%;
    max-width: 755px;
}

form.w-limited .dropdown.bootstrap-select {
    width: 100% !important;
    /*max-width: 350px;*/
}

/* File upload */
.fileupload-container {
    display: inline-flex;
    align-items: center;
}
i.fa-fileupload {
    margin: 10px;
    cursor: pointer;
    font-size: 30px;
}
i:hover {
    opacity: 0.6;
}
input.fileupload {
    display: none;
}

/** Quizz **/

.quizz-container {
    /*margin-top: 6rem;*/
    max-width: 680px;
}

.quizz-container .quizz-type-content {
    height: 370px;
    border-radius: 10px 10px 0px 0px;
}

.quizz-type-title {
    max-width: 150px;
}

.quizz-type-subtitle {
    font-size: 13px;
}

.quizz-steps-container {
    /*margin-top: 6rem;*/
}

.quizz-step-item-container {
    min-width: 25%;
}

.quizz-step .btn:disabled:after {
    content: url("../icons/arrow-next-small-icon-dark.svg");
    margin-left: 10px;
}

.quizz-step .btn:not(:disabled, .select-all):after {
    content: url("../icons/arrow-next-small-icon-white.svg");
    margin-left: 10px;
}

.quizz-step-item {
    background-color: white;
    font-weight: 600;
    min-height: 120px;
}

.quizz-step-item.active {
    background-color: var(--df-blue-regular);
    color: white !important;
}

.quizz-step-content .btn.df-btn-outline-blue:not(:disabled),.quizz-step-content .df-btn-blue:not(:disabled) {
    background-color: var(--df-blue-regular) !important;
    color: white !important;
}

.quizz-cards-container {
    /*max-width: 785px;*/
}

.quizz-card-question, .quizz-card-response {
    max-width: 505px;
}

.quizz-card-question h3, .quizz-card-response h3 {
    color: white;
    font-weight: 500 !important;
}

.quizz-cards-nav {
    max-width: 300px;
}

.quizz-cards-nav .show-previous-card:before {
    content: url("../icons/arrow-previous-small-icon.svg");
}

.quizz-cards-nav .show-previous-card:hover:before {
    content: url("../icons/arrow-previous-small-icon-white.svg");
}

.quizz-cards-nav .show-next-card:after {
    content: url("../icons/arrow-next-small-icon.svg");
    margin-left: 10px;
}

.quizz-cards-nav .show-next-card:hover
{
    background-color: var(--df-blue-regular);
}

.quizz-cards-nav .show-next-card:hover:after {
    content: url("../icons/arrow-next-small-icon-white.svg");
}

.quizz-cards-content .show-next-card:after {
    content: url("../icons/arrow-next-small-icon-white.svg");
    margin-left: 10px;
}

.quizz-cards-content .show-next-card:hover:after {
    content: url("../icons/arrow-next-small-icon-rose.svg");
}

button.quizz-evaluation {
    background-color: white;
    transition: all 300ms ease;
    border-bottom: none;
    min-height: 130px;
}

button.quizz-evaluation:hover {
    border-bottom: solid 5px var(--df-rose-regular) !important;
    margin-bottom: -5px;
}

/*button.quizz-evaluation:hover > span {*/
/*    transform: translateY(100%);*/
/*}*/

.quizz-card:not(:first-child) {
    /*display: none;*/
}

.page-quizz-index #page-content-wrapper, page-quizz-resume #page-content-wrapper {
    max-width: 100%;
    overflow: hidden;
}

.quizz-card {
    min-width: calc(100% + 4rem);
}

.select-quizz-types .btn-principal {
    max-width: unset;
}

.select-quizz-types .quizz-type-block:hover .btn-principal {
    background-color: var(--df-blue-light) !important;
    color: var(--df-blue-regular);
    /*color: white;*/
}

.select-quizz-types .quizz-type-block .quizz-type-content {
    background-color: var(--df-blue-light);
    transition: all 300ms ease;
}

.select-quizz-types .quizz-type-block:hover .quizz-type-content {
    background-color: var(--df-blue-regular);
    color: white;
}

/*.select-quizz-types .quizz-type-block .btn-principal:hover {*/
/*    background-color: var(--df-blue-light);*/
/*    color: var(--df-blue-regular);*/
/*}*/

.select-quizz-types a {
    color: inherit;
    text-decoration: none;
}



.quizz-type-CardsTraining {
    font-size: 18px;
    max-width: 340px !important;
    margin: auto;
}

.quizz-type-CardsTraining:disabled {
    opacity: .75;
    cursor: not-allowed;
}

.quizz-type-info-container  {
    z-index: 1001;
}

.quizz-type-info {
    position: absolute;
    top: 3px;
    right: 8px;
    opacity: .5;
    transition: all 300ms ease;
}
.quizz-type-info:hover {
    opacity: 1;
}

.quizz-type-info-content {
    border-radius: 10px 10px 0px 0px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    padding: 2rem;
    z-index: 10001;
    background-color: #49609ade;
    color: white;
    left: 0;
    bottom: -1rem;
    display: none;
}

.stop-test:after {
    content: url("../icons/close-white.svg");
    margin-left: 10px;
    display: inline-block;
    translate: 0 2px;
}

.stop-test:hover:after {
    content: url("../icons/close-rose.svg");
    margin-left: 10px;
    display: inline-block;
    translate: 0 2px;
}

.modal .icon-i-want-it:after {
    width: 18px;
    margin-left: 10px;
    margin-top: 6px;
    display: inline-block;
    content: url("../icons/arrow-icon-white.svg");
}

.modal .btn.icon-i-want-it:hover:after {
    width: 18px;
    content: url("../icons/arrow-icon-rose.svg");
}

.modal .btn.icon-re-test:after {
    width: 18px;
    margin-left: 10px;
    margin-bottom: -8px;
    content: url("../icons/replay-icon-white.svg");
}

.modal .btn.icon-re-test:hover:after {
    width: 18px;
    content: url("../icons/replay-icon-rose.svg");
}

.modal .btn.icon-go-home:after {
    width: 18px;
    margin-left: 10px;
    margin-top: 6px;
    display: inline-block;
    content: url("../icons/home-icon-dark.svg");
}

.modal .btn.icon-go-home:hover:after {
    content: url("../icons/home-icon-white.svg");
}
/* Cards load more */

.load-more {
    max-width: 190px;
}

.load-more:after {
    margin-left: 10px;
    content: url("../icons/arrow-drop-down-yellow.svg");
}

.load-more:hover:after {
    content: url("../icons/arrow-drop-down-white.svg");
}

.card-attachment {
    margin-bottom: -1rem;
}

.card-attachment-modal .modal-body {
    min-height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-backdrop {
    z-index: 100;
}

.cards-listing .card-body .nav-tabs .nav-link.active {
    isolation: isolate;

    border-width: 1px 1px 2px 1px;
    border-radius: 8px 8px 0 0;
}

.cards-listing .card-body .nav-tabs .nav-item-question .nav-link.active {
    border-color: var(--bs-secondary-bg) var(--bs-secondary-bg) var(--df-blue-regular) var(--bs-secondary-bg);
}

.cards-listing .card-body .nav-tabs .nav-item-response .nav-link.active {
    border-color: var(--bs-secondary-bg) var(--bs-secondary-bg) var(--df-orange-light) var(--bs-secondary-bg);
}

.cards-listing .loadingCards{
    background :rgba(0,0,0,0.6);
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Stats */

.page-stats-index sup {
    font-size: 12px;
    font-weight: normal;
    top: -1.25rem;
    left: -0.75rem;
}

#chartValidatedCards {
    transform: scale(1.35);
    /*width: 350px;*/
    /*height: auto;*/
    /*margin-top: -60px;*/
    /*margin-bottom: -60px;*/
}

.chartValidatedCardsLegends {
    list-style: none;
}

.chartValidatedCardsLegends li:before {
    content: "";
    width: 18px;
    height: 18px;
    display: block;
    border-radius: 100%;
    margin-right: 10px;
}

.chartValidatedCardsLegends li.bien-maitrisee:before {
    background-color: #EB3695;
}

.chartValidatedCardsLegends li.peu-maitrisee:before {
    background-color: #F9AF50;
}

.chartValidatedCardsLegends li.pas-maitrisee:before {
    background-color: #CBDBFF;
}

/* Profils */

.profil-item {
    transition: all 300ms ease;
}

.profil-item:hover {
    background-color: var(--df-orange-regular);
    color: var(--df-dark);
}


/**** UI *****/

body {
    transition: all 300ms ease;
    color: var(--df-blue-regular);
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    color: var(--df-blue-regular);
}

.card-body {
    color: var(--df-blue-regular);
}

button {
    transition: all 300ms ease;
}

/** Buttons **/

.df-btn-rose, .df-btn-rose a{
    color: white !important;
    background-color: var(--df-rose-regular);
    border-radius: 8px;
    border: solid 1px var(--df-rose-regular);
}

.df-btn-rose:hover {
    background-color: white !important;
    color: var(--df-rose-regular) !important;
    border: solid 1px var(--df-rose-regular);
}

.df-btn-blue {
    border: solid 1px var(--df-blue-regular);
    background-color: var(--df-blue-regular);
    border-radius: 8px;
    color: white;
}

.df-btn-blue:hover {
    border: solid 1px var(--df-blue-regular);
    background-color: white !important;
    color: var(--df-blue-regular) !important;
}

.df-btn-outline-blue {
    border: solid 1px var(--df-blue-regular);
    color: var(--df-blue-regular);
}

.df-btn-outline-blue:hover, .df-btn-outline-blue.active {
    border: solid 1px var(--df-blue-regular);
    background-color: var(--df-blue-regular);
    color: white;
}

    /** Menu **/
#sidebar-wrapper .list-group .user-info{
    padding: 8px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}
#sidebar-wrapper .list-group .user-info .ecole{
    font-size: 1.2em;
    color:#fff;
    text-transform: uppercase;
    text-align: center;
}
#sidebar-wrapper .list-group .user-info .formation{

    color:#fff;
    text-transform: uppercase;
    text-align: center;
}
#sidebar-wrapper .active {
    background-color: var(--df-orange-regular);
    border-radius: 8px;
    color: white;
}

#sidebar-wrapper .list-group a {
    transition: all 300ms ease;
}
#sidebar-wrapper .list-group a:hover {
    background-color: var(--df-orange-regular);
    border-radius: 8px;
    padding-left: 5px;
}

#sidebar-wrapper .app-logo img {
    /*width: 100%;*/
    width: 200px;
    /*min-width: 180px;*/
}

.create-card-btn {
    color: white;
    transition: all 300ms ease;
}

.create-card-btn:hover {
    background-color: white;
}

/** Header **/

.header .dropdown-menu li a, .header .dropdown-menu li button  {
    transition: all 300ms ease;
    border-radius: 5px;
}

/* Parametres */

.page-parameters-index .dropdown-toggle:after {
    display: none;
}

/* Profiles search bar */

.profiles-search > div {
    border: solid 1px var(--df-blue-regular);
}
.profiles-search input, .profiles-search input:focus {
    color: var(--df-blue-regular);
    box-shadow: none;
}

/* Loader */

/*#loader {*/
/*    position: absolute;*/
/*    left: 0;*/
/*    right: 0;*/
/*    top: 42vh;*/
/*    margin-left: auto;*/
/*    margin-right: auto;*/
/*    z-index: 1;*/
/*    width: 120px;*/
/*    height: 120px;*/
/*    border-top: 16px solid var(--df-blue-regular);*/
/*    border-bottom: 16px solid var(--df-rose-regular);*/
/*    border-left: 16px solid var(--df-orange-regular);*/
/*    border-right: 16px solid var(--df-orange-regular);*/
/*    border-radius: 50%;*/
/*    -webkit-animation: spin 1.5s linear infinite;*/
/*    animation: spin 1.5s linear infinite;*/
/*}*/

/*@-webkit-keyframes spin {*/
/*    0% { -webkit-transform: rotate(0deg); }*/
/*    100% { -webkit-transform: rotate(360deg); }*/
/*}*/

/*@keyframes spin {*/
/*    0% { transform: rotate(0deg); }*/
/*    100% { transform: rotate(360deg); }*/
/*}*/

/*!* Add animation to "page content" *!*/
/*.animate-bottom {*/
/*    position: relative;*/
/*    -webkit-animation-name: animatebottom;*/
/*    -webkit-animation-duration: 1s;*/
/*    animation-name: animatebottom;*/
/*    animation-duration: 1s;*/
/*}*/

@-webkit-keyframes animatebottom {
    from { bottom:-100px; opacity:0.5 }
    to { bottom:0px; opacity:1 }
}

@keyframes animatebottom {
    from{ bottom:-100px; opacity:0.5 }
    to{ bottom:0; opacity:1 }
}

#main {
    display: none;
    text-align: center;
}

/* Roles filter */

.role-filter button {
    background-color: white;
}

.btn.disabled, .btn:disabled, fieldset:disabled .btn{
    opacity : 1;
}
.form-control:disabled, .dropdown.bootstrap-select.disabled.form-control.select-icon{
    opacity: 0.7;
    cursor: not-allowed;
}
