/*--------------------------------------------------*\
/** Styles génériques pour InFormat-Vue
\*--------------------------------------------------*/

html {
  position: relative;
  min-height: 100%;
  min-width: 100%;
}

body {
  min-height: 100%;
  min-width: 100%;
  font-size: 1rem;
  color: #000;
  /* font-family: Arial, Helvetica, sans-serif; */
}

header#header {
  padding: 10px 0;
}

.body_home, #header, 
.infos .modal-header, 
.question .card-header,
.valid .card-header,
.answer .modal-header,
.eval .modal-header,
.dico .modal-header,
.question .weblink_image {
  background-color: transparent;
  background-image: url(assets/Fond-Gen-1600.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

body.no_image, #header.no_image {
  background-image: none;
}

#header .menubar #navbar {
  outline: none; /* #Info : bidon pour le moment… */
}

.page_title, .inf_title {
  color: #ea0 !important;
}

.va_top {
  vertical-align: top !important;
}
.va_middle {
  vertical-align: middle !important;
}
.va_bottom {
  vertical-align: bottom !important;
}

/* On ne garde que le dernier fond gris affiché, on masque tous les autres */
.modal-backdrop.show {
  display: none;
}
.modal-backdrop.show:last-child {
  display: block;
}

/*----------------------------------------*\
/** Pages Question Réponse
\*----------------------------------------*/

.eval .modal-header,
.answer .modal-header {
  box-shadow: inset 0 0 600px 400px rgba(0,68,0,0.30) !important;
}
.eval .modal-header > .modal-title,
.answer .modal-header > .modal-title {
  text-align: left !important;
  line-height: normal !important;
}
textarea#answer_open_input {
  font-size: 1.6rem !important;
}
.answer .answer_props {
  font-size: 1.6rem !important;
}

#modal_eval > .modal-dialog > .modal-content {
  background-color: #f4f6f8 !important;
}

/*--------------------*/

#qst_cont {
  border: none;
  border-radius: 0px;
}
.card-body {
  background-color: #f2f4f6;
}
.card-header, .card-footer {
  background-color: #e9ecef;
  border: none;
  border-radius: 0px;
  padding: 10px 20px;
}
#qst_cont .card-header:first-child,
#qst_cont .card-footer:last-child {
  border-radius: 0px !important;
}
#qst_cont .card-header {
  box-shadow: inset 0 0 600px 400px rgba(0,68,0,0.15) !important;
}

/*--------------------*/

#card_connect {
  box-shadow: 0 0 24px 0 #099 !important;
  border-radius: 0.5rem !important;
  background-color: #f4f6f8 !important;
}
#card_connect > .card-body {
  background-color: transparent !important;
}


/*----------------------------------------*\
/** Outils génériques
\*----------------------------------------*/

.txt_ombre_000 { text-shadow: 1px 1px #000 !important; }
.txt_ombre_333 { text-shadow: 1px 1px #333 !important; }
.txt_ombre_666 { text-shadow: 1px 1px #666 !important; }
.txt_ombre_999 { text-shadow: 1px 1px #999 !important; }
.txt_ombre_ccc { text-shadow: 1px 1px #ccc !important; }
.txt_ombre_fff { text-shadow: 1px 1px #fff !important; }

.txt_size_025 { font-size: 0.25em !important; }
.txt_size_050 { font-size: 0.50em !important; }
.txt_size_075 { font-size: 0.75em !important; }
.txt_size_100 { font-size: 1.00em !important; }
.txt_size_125 { font-size: 1.25em !important; }
.txt_size_150 { font-size: 1.50em !important; }
.txt_size_175 { font-size: 1.75em !important; }
.txt_size_200 { font-size: 2.00em !important; }

.w-05 { width: 5% !important; }
.w-10 { width: 10% !important; }
.w-15 { width: 15% !important; }
.w-20 { width: 20% !important; }
.w-30 { width: 30% !important; }
.w-35 { width: 35% !important; }
.w-40 { width: 40% !important; }
.w-45 { width: 45% !important; }
.w-55 { width: 55% !important; }
.w-60 { width: 60% !important; }
.w-65 { width: 65% !important; }
.w-70 { width: 70% !important; }
.w-80 { width: 80% !important; }
.w-85 { width: 85% !important; }
.w-90 { width: 90% !important; }
.w-95 { width: 95% !important; }

.opacity-00 { opacity: 0 !important; }
.opacity-01 { opacity: 0.1 !important; }
.opacity-02 { opacity: 0.2 !important; }
.opacity-03 { opacity: 0.3 !important; }
.opacity-04 { opacity: 0.4 !important; }
.opacity-05 { opacity: 0.5 !important; }
.opacity-06 { opacity: 0.6 !important; }
.opacity-07 { opacity: 0.7 !important; }
.opacity-08 { opacity: 0.8 !important; }
.opacity-09 { opacity: 0.9 !important; }
.opacity-10 { opacity: 1 !important; }

.vertical_center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%);
  width: 100%;
}


/*----------------------------------------*\
/** Vue.js
\*----------------------------------------*/

/* https://fr.vuejs.org/v2/api/index.html#v-cloak */
[v-cloak] { display: none; }


/*----------------------------------------*\
/** Extension "vue-multiselect"
  https://www.npmjs.com/package/vue-multiselect
\*----------------------------------------*/

.multiselect > .multiselect__select::before {
  color: #fff !important;
  border-color: #fff transparent transparent !important;
  border-width: 6px 6px 0 !important;
  right: 8px !important;
  top: 22px !important;
}
.multiselect:hover > .multiselect__select::before {
  color: #000 !important;
  border-color: #000 transparent transparent !important;
}
.multiselect > .multiselect__tags {
  width: 140px !important;
  height: 48px !important;
  border: 1px solid #fff !important;
  background-color: transparent !important;
  cursor: pointer !important;
}
.multiselect:hover > .multiselect__tags {
  background-color: #fff !important;
}
.multiselect > .multiselect__tags > .multiselect__single {
  margin-top: -2px !important;
  padding: 0px !important;
  background-color: transparent !important;
}
.multiselect > .multiselect__tags > .multiselect__single strong {
  display: inline-block !important;
  position: relative;
  color: #fff !important;
  text-shadow: 1px 1px #333 !important;
  top: -4px !important;
}
.multiselect:hover > .multiselect__tags> .multiselect__single strong {
  color: #000 !important;
  text-shadow: none !important;
}
.multiselect .multiselect__content .multiselect__element .multiselect__option strong {
  display: inline-block !important;
  position: relative;
  top: -2px !important;
}


/*----------------------------------------*\
/** Extension "vue-simple-accordion" (VSA)
  https://www.npmjs.com/package/vue-simple-accordion
\*----------------------------------------*/

.vsa-list {
  border: 1px solid #fff !important;
  max-width: 100% !important;
  margin: 0px !important;
}
.vsa-item__heading {
  background-color: transparent;
  background-image: url(assets/Fond-Gen-1600.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.vsa-item, .vsa-item__heading, .vsa-item__trigger {
  border: 1px solid #fff !important;
}
.vsa-item__trigger {
  background-color: transparent !important;
  color: #fff !important;
  font-size: 1.25em !important;
  letter-spacing: 2px !important;
  position: relative !important;
  padding: 0.8rem 1.2rem !important;
}
.vsa-item__trigger:focus, .vsa-item__trigger:hover {
  background-color: transparent !important;
  color: white !important;
}
.vsa-item__trigger__icon {
  display: none  !important;
}
.vsa-item__content {
  padding: 0rem !important;
}
.vsa-item__content, .vsa-item__content .lesson {
  margin: 0 !important;
}
.vsa-item__content .item_lesson {
  padding: 0.4rem 1.2rem !important;
}
.vsa-item__trigger__content {
  text-align: left !important;
  display: block !important;
}

.vsa-item__trigger .vsa_label {
  font-size: 1em !important;
  letter-spacing: 0 !important;
  font-weight: 300 !important;
}
.vsa-item__trigger .vsa_label.vsa_label_skill {
  color: #fff !important;
}
.vsa-item__trigger .vsa_label.vsa_label_course {
  color: #000 !important;
}

.vsa-item__trigger .vsa_title {
  font-size: 1.2em !important;
}
.vsa-item__trigger .vsa_title.vsa_title_skill {
  color: #fff !important;
  text-shadow: 1px 1px #333 !important;
}
.vsa-item__trigger .vsa_title.vsa_title_course {
  color: #000 !important;
}

.vsa-item__trigger .vsa_span.vsa_train,
.vsa-item__trigger .vsa_span.vsa_skill {
  /* font-size: 1.25rem !important; */
  color: #fff !important;
  text-shadow: 1px 1px #333 !important;
}

/* Les icônes des stages */
.vsa-item__trigger .vsa_span.vsa_train span.oi {
  font-size: 1.5rem !important;
}

.vsa-item__trigger .vsa_train, 
.vsa-item__trigger .vsa_skill {
  font-size: 1em !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}
.vsa-item__trigger .vsa_train.vsa_right, 
.vsa-item__trigger .vsa_skill.vsa_right {
  position: absolute !important;
  right: 1.2rem !important;
  top: 1rem !important;
}
.vsa-item__content > .vsa-list > .vsa-item > .vsa-item__heading {
  background-color: rgba(255, 255, 255, 0.5) !important;
  box-shadow: inset 0 0 200px 100px rgba(255,255,255,0.40) !important;
}
.vsa-item__content > .vsa-list > .vsa-item > .vsa-item__heading > .vsa-item__trigger > .vsa-item__trigger__content > .vsa_span {
  color: #000 !important;
  text-shadow: none !important;
}


/*----------------------------------------*\
/** Extension "vue-country-flag"
  https://www.npmjs.com/package/vue-country-flag
\*----------------------------------------*/

.flag {
  padding: 0 !important;
  outline: none !important;
}


/*----------------------------------------*\
/** Bootstrap : surcharge
  https://getbootstrap.com/docs/4.2/getting-started/introduction/
\*----------------------------------------*/

/*
Bootstrap 4 Colors
#007bff = primary
#868e96 = secondary
#28a745 = success
#dc3545 = danger
#ffc107 = warning
#17a2b8 = info
#f8f9fa = light
#343a40 = dark
#fff = white
*/

.text-black, .text-body {
  color: #000 !important;
}

.btn {
  outline: none !important;
  box-shadow: none !important;
}
.btn.btn-lg {
  font-size: 1.5rem !important;
}

.btn.btn-lg > span.oi-x { 
  font-size: 80% !important; 
  transform: translateY(-12%) !important;
}

.btn.btn_transparent {
  background-color: transparent !important;
  border-color: transparent !important;
}

.btn-outline-light:hover, 
.btn-outline-light:focus,
.btn-outline-light:active {
  text-shadow: none !important;
}

.modal-header {
  color: #fff !important;
  text-shadow: 1px 1px #333 !important;
  padding: 0.6rem 1rem !important;
}

.input-group-text {
  color: #000 !important;
  background-color: transparent !important;
}

.dropdown-menu .dropdown-item {
  outline: none;
  color: #000 ;
  padding: .5rem 1.5rem;
  cursor: pointer;
  /* text-transform: uppercase; */
}
.dropdown-menu .dropdown-item.disabled {
  color: #888;
}
.dropdown-menu .dropdown-item:hover {
  background-color: rgba(0, 123, 255, 0.2) !important;
}
.dropdown-menu .dropdown-item:active {
  color: #fff !important;
  background-color: rgba(0, 123, 255, 1) !important;
}
.dropdown-menu .dropdown-item#nav_logout:active {
  background-color: #fff !important;
}

/* Formatages pour les HtmlComposants */

.table-bordered, .table-bordered td, .table-bordered th {
  border: 1px solid #ccc !important;
}

hr { 
  opacity: 0.5 !important; 
}

.text-body{ 
  color:#000 !important; 
}

.list-group-item{ 
  border-color:#ccc !important; 
}

.list-group-item.active{ 
  background-color:#66a !important;
  border-color:#66a !important; 
}

.pre{ 
  border:1px solid #ccc;
  background-color:#fff;
  color:#333 !important;
  font-size:60% !important;
  line-height:1.4em !important; 
}

.h1 {
  font-size: 225% !important;
}
.h2 {
  font-size: 200% !important;
}
.h3 {
  font-size: 175% !important;
}
.h4 {
  font-size: 150% !important;
}
.h5 {
  font-size: 125% !important;
}

.modal-backdrop { 
  width: 100% !important;
  height: 100% !important;
}
#qst_text_vgt { 
  z-index: 500 !important;
}

/*----------------------------------------*\
\*----------------------------------------*/

/*----------------------------------------*\
/** Responsive
\*----------------------------------------*/

/* Correspondances en pourcentages */
/* 95.2% <-> 105% ; 90.2% <-> 110% ; 86.9% <-> 115% ; 83.3% <-> 120% ; 80.0% <-> 125% */
/* 0.952rem <-> 105% ; 0.909rem <-> 110% ; 0.869rem <-> 115% ; 0.833rem <-> 120% ; 0.800rem <-> 125% */

/* Général */
html {
  font-size: 1rem;
}

/* src/components/misc/Patience.vue */
.icon_sablier {
  font-size: 200px;
  text-shadow: 8px 4px 12px #999;
}

/* src/components/lesson/LessonItem.vue */
.lec_btn_init,
.lec_btn_val {
  max-width: 15%;
}

span.lec_dico {
  font-size: 0.5rem !important;
  line-height: 0.5rem !important;
}

.icn_lec_dico {
  max-height: 40px;
  width: auto;
  margin: 0;
  padding: 0;
}
.btn_lec_dico,
.btn_lec_dico:hover,
.btn_lec_dico:active,
.btn_lec_dico:visited {
  outline: none;
  border: none;
  background-color: transparent;
  margin: 0;
  padding: 0;
  cursor: pointer;
  max-height: 40px;
  width: auto;
}

/* Media-Queries */
/* https://getbootstrap.com/docs/4.6/layout/overview/ */
/* https://css-tricks.com/snippets/css/media-queries-for-standard-devices/ */
/* https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.css */
/*
@media (min-width: 576px) {
  .container, .container-sm { max-width: 540px; }
}
@media (min-width: 768px) {
  .container, .container-sm, .container-md { max-width: 720px; }
}
@media (min-width: 992px) {
  .container, .container-sm, .container-md, .container-lg { max-width: 960px; }
}
@media (min-width: 1200px) {
  .container, .container-sm, .container-md, .container-lg, .container-xl { max-width: 1140px; }
}
*/

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) { 
  /* Général */
  html {
      font-size: 0.952rem; /* 105% */
  }

  /* src/components/lesson/LessonItem.vue */
  .lec_btn_init,
  .lec_btn_val {
      max-width: 20.00%;
  }
  .div_lec_img > .lec_img {
      max-width: 120px;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) { 
  /* Général */
  html {
      font-size: 0.909rem; /* 110% */
  }

  /* src/App.vue */
  #app_navbar {
      padding: 0.5rem 12rem !important;
  }
  #app_navbar > ul > li {
      margin: 0.5rem auto !important;
      min-width: 100% !important;
  }
  #app_navbar > ul > li button,
  #app_navbar > ul > li a {
      min-width: 100% !important;
  }
  #app_navbar > ul > li .multiselect {
      margin: 0 auto !important;
  }

  /* src/components/lesson/LessonItem.vue */
  .lec_btn_init,
  .lec_btn_val {
      max-width: 25.00%;
  }
  .div_lec_img > .lec_img {
      max-width: 90px;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) { 
  /* Général */
  html {
    font-size: 0.800rem; /* 125% */
    /* 0.833rem; 120% */
    /* 0.869rem; 115% */
  }

  /* src/App.vue */
  #app_navbar {
      padding: 0.5rem 8rem !important;
  }

  /* src/components/lesson/LessonItem.vue */
  .lec_btn_init,
  .lec_btn_val {
      max-width: 33.33%;
  }
  .div_lec_img > .lec_img {
      max-width: 60px;
      max-height: 60px;
  }
  .lec_btn_job {
      outline: none; /* #Info : bidon pour le moment… */
  }

  /* src/components/question/Question.vue */
  #link_url_doc,
  #link_url_html {
      transform: scale(0.65);
      margin: -4rem -4rem;
  }
  .qst_flag, .lec_dico {
      transform: scale(0.80) !important;
      margin-top: -0.5rem !important;
      margin-right: -0.5rem !important;
      margin-left: 4rem !important;
  }
  .lec_flag {
      transform: scale(0.4) !important; /* 115% */
  }
  .lec_lang {
      font-size: 1.2rem;
  }
  .div_lec_flag {
      outline: none; /* #Info : bidon pour le moment… */
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) { 

  /* Général */
  html {
      font-size: 0.666rem; /* 150% */
  }

  /* src/App.vue */
  #app_navbar {
      padding: 0.5rem 4rem !important;
  }
  /* src/App.vue */
  .navbar .header_logos.header_logo_left {
      max-width: 120px;
  }
  .navbar .header_logos.header_logo_right {
      max-width: 80px;
  }

  /* src/components/Connect.vue */
  #card_connect {
      transform: scale(0.952) !important; /* 105% */
  }
  .inf_title {
      font-size: 3.5rem !important;
  }

  /* src/components/misc/Patience.vue */
  .icon_sablier {
      font-size: 100px;
      text-shadow: 4px 2px 6px #999;
  }

  .picto_sablier {
    text-align: center;
    margin: 0;
  }

  /* src/components/question/AnswerMcq.vue */
  /* src/components/question/AnswerScq.vue */
  span.form_radio_icon,
  span.form_check_icon {
    transform: scale(0.952) !important; /* 105% */
    top: 0.65rem;
  }
}


/* Google Chrome */
#alttext{
  font-size: 0.5rem !important;
}

/*----------------------------------------*\
/** Vrac : en commentaire
\*----------------------------------------*/
/*

-------------------

*/