@charset "UTF-8";
/* *** GÉNÉRAL *** */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  overflow: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  line-height: 1;
  position: absolute !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button:focus {
  outline-color: transparent;
  outline-style: none;
}

.nohover {
  cursor: default;
  pointer-events: none;
}

#MathJax_Message {
  display: none !important;
  bottom: -999px !important;
}

/* *** LOADING *** */
#loadingDiv {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* *** LAYOUT GÉNÉRAL *** */
#masterDiv {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* *** HEADER GÉNÉRAL *** */
#header span {
  display: block;
}

#modeSelectionContainer {
  display: block;
  height: 100%;
  width: 100%;
}

#modeselection-dropdown {
  display: block;
  min-width: 150px;
  font-size: 14px;
  font-family: sans-serif;
  font-weight: 700;
  color: #152c52;
  line-height: 18px;
  padding: 4px 23px 5px 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 2px 0 0;
  border-radius: 3px;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: url(img/dropdown-fleche.svg);
  background-size: 8px auto;
  background-position: calc(100% - 10px) center;
  background-repeat: no-repeat;
  border: 1px solid #aebaca;
  border-radius: 3px;
}
@media (max-height: 799px), (max-width: 1066px) {
  #modeselection-dropdown {
    font-size: 12px;
  }
}
#modeselection-dropdown::-ms-expand {
  display: none;
}
#modeselection-dropdown:hover {
  border-color: #888;
}
#modeselection-dropdown:focus {
  border-color: #aaa;
  outline: none;
}
#modeselection-dropdown option {
  font-weight: normal;
}

@supports (-moz-appearance: none) {
  #modeselection-dropdown {
    padding: 4px 20px 4px 5px;
    min-width: 140px;
  }
}
/* *** HEADER SQ/CU *** */
body.theme-sq #header,
body.theme-cu #header {
  background-color: #152c52;
  color: #fff;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 16px;
  height: 70px;
  min-height: 70px;
  margin-bottom: 20px;
  padding: 0 20px 0 0;
  z-index: 1;
}
@media (max-height: 799px), (max-width: 1066px) {
  body.theme-sq #header,
  body.theme-cu #header {
    height: 60px;
    min-height: 60px;
    font-size: 14px;
  }
}
body.theme-sq .header_right,
body.theme-cu .header_right {
  display: flex;
  margin-left: auto;
  padding-left: 1em;
  align-items: center;
}
body.theme-sq .header_activity_type,
body.theme-cu .header_activity_type {
  background-color: #fff;
  color: #152c52;
  display: flex;
  align-items: center;
  align-self: stretch;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  margin-right: 1em;
  padding: 0 20px 0 20px;
}
body.theme-sq .activity_title,
body.theme-cu .activity_title {
  font-weight: 700;
}
body.theme-sq.type_evaluation .header_activity_type,
body.theme-cu.type_evaluation .header_activity_type {
  border-left: 20px solid #ed6e19;
}
body.theme-sq.type_apprentissage .header_activity_type,
body.theme-cu.type_apprentissage .header_activity_type {
  border-left: 20px solid #09a59b;
}
body.theme-sq.type_corrige .header_activity_type,
body.theme-cu.type_corrige .header_activity_type {
  border-left: 20px solid #152c52;
}

#closeAct {
  display: none;
}

#infoAct {
  background-image: url(img/aide.svg);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 100%;
  width: calc(38px - 4px);
  height: calc(38px - 4px);
  margin-left: 20px;
}
@media (max-height: 799px), (max-width: 1066px) {
  #infoAct {
    width: calc(32px - 4px);
    height: calc(32px - 4px);
  }
}
#infoAct:hover {
  background-color: #102352;
}

#audio_toggle_btn {
  display: none;
  background-color: transparent;
  border: 0;
  background-image: url(img/texttospeech.svg);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  cursor: pointer;
  width: 38px;
  height: 38px;
}
@media (max-height: 799px), (max-width: 1066px) {
  #audio_toggle_btn {
    width: 32px;
    height: 32px;
  }
}

/* *** QUESTIONS - GÉNÉRAL *** */
.page-holder {
  display: flex;
  align-items: center;
  flex: 75.75% 0 0;
  height: 75.75%;
  position: relative;
}

#question_container {
  width: 88%;
  height: 100%;
  margin-left: 20px;
  z-index: 1;
}

.question,
.endPage {
  background-color: #fff;
  border: #c8d3e1 solid 1px;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  bottom: 0;
  display: none;
  font-size: 1.75vw;
  width: 100%;
  height: calc(100% - 40px);
  position: relative;
  overflow: visible;
  backface-visibility: hidden;
  z-index: 10;
}
@media (max-height: 799px), (max-width: 1066px) {
  .question,
  .endPage {
    height: calc(100% - 34px);
  }
}

.endPage .question-content {
  padding: 5.2083vh 1.9531vw 0;
}
.endPage .question-content > div {
  position: static;
}
.endPage #endStatus {
  font-size: 2.5vw;
  font-weight: bold;
  text-align: center;
  width: 100%;
  margin-bottom: 1.3021vh;
}
.endPage #endStatus span {
  display: none;
}
.endPage #endStatus span.visible {
  display: block;
}
.endPage #endTotalScore {
  display: flex;
  justify-content: center;
  margin-bottom: 3.9063vh;
}
.endPage #endTotalScore > span {
  border: 2px solid #9097a5;
  display: flex;
  align-items: center;
  height: 6.5vw;
  box-sizing: border-box;
  padding: 0.75vh 2vw 0 9.5vw;
  position: relative;
  color: #9097a5;
  font-size: 3.75vw;
  font-weight: bold;
  line-height: 1;
  border-radius: 6px;
}
.endPage #endTotalScore > span:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 6.5vw;
  height: 100%;
  background-color: #9097a5;
  background-image: url(img/trophee-blanc.svg);
  background-size: 45%;
  background-position: center center;
  background-repeat: no-repeat;
  box-sizing: border-box;
}
.endPage #endTotalScore.finished.missed > span {
  border-color: #e93a47;
  color: #e93a47;
}
.endPage #endTotalScore.finished.missed > span:before {
  background-color: #e93a47;
}
.endPage #endTotalScore.finished.success > span {
  border-color: #31af5b;
  color: #31af5b;
}
.endPage #endTotalScore.finished.success > span:before {
  background-color: #31af5b;
}
.endPage #timeSpent {
  margin-bottom: 0.65105vh;
}
.endPage #triesLeft {
  margin-bottom: 3.9063vh;
}
.endPage #endScoreTable {
  width: 100%;
  padding: 0;
}
.endPage #endScoreTable table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  font-size: 1.5vw;
}
.endPage #endScoreTable table thead tr th {
  padding: 0.5vw;
  background: #327ee6;
  color: white;
  text-align: center;
  border: 1px solid #327ee6;
}
.endPage #endScoreTable table thead tr th:first-child {
  background: transparent;
  border: 1px solid transparent;
}
.endPage #endScoreTable table tbody tr td {
  background: #fff;
  border: 1px solid #ddd;
  padding: 0.5vw;
  text-align: center;
}
.endPage #endScoreTable table tbody tr td:first-child {
  background: #327ee6;
  color: #fff;
  font-weight: bold;
}
.endPage #endScoreTable table tbody tr td.success {
  color: #31af5b;
}
.endPage #endScoreTable table tbody tr td.missed {
  color: #e93a47;
}

.endPage #endScoreTable table tbody tr td .tdCurrentPoints,
.endPage #endScoreTable table tbody tr td .tdTotalPoints, .endPage #endScoreTable table tbody tr td.success .questUnanswered, .endPage #endScoreTable table tbody tr td.missed .questUnanswered {
  display: none;
}
.endPage #endScoreTable table tbody tr td.success .tdCurrentPoints, .endPage #endScoreTable table tbody tr td.success .tdTotalPoints, .endPage #endScoreTable table tbody tr td.missed .tdCurrentPoints, .endPage #endScoreTable table tbody tr td.missed .tdTotalPoints {
  display: inline;
}

.endPage .endActivityMode {
  bottom: 5.2083vh;
  width: 100%;
  padding: 0 1.9531vw;
}
.endPage .endActivityMode > div {
  display: none;
  padding: 1.5vw;
}

.type_apprentissage .endPage .endActivityMode.finished .end-apprentissage {
  display: block;
  background: #e2f2f2;
}
.type_apprentissage .endPage .endActivityMode.unfinished .end-finishlater {
  display: block;
  background: #e2f2f2;
}

.type_evaluation .endPage .endActivityMode.finished .end-evaluation {
  display: block;
  background: #faead8;
}
.type_evaluation .endPage .endActivityMode.unfinished .end-finishlater {
  display: block;
  background: #faead8;
}

.question.format_words {
  z-index: auto;
}

.active_question {
  display: block;
}

.question > div,
.question-content > div {
  position: absolute;
}

.question-content {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

#question_header {
  background-color: #f8faff;
  border: 1px solid #c8d3e1;
  border-bottom: none;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  font-size: 17px;
  font-weight: 700;
  color: #383d47;
  display: none;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  position: relative;
  width: 100%;
  line-height: 130%;
}
@media (max-height: 799px), (max-width: 1066px) {
  #question_header {
    font-size: 15px;
    height: 34px;
  }
}
#question_header.visible {
  display: flex;
}

#question-number {
  display: none;
}

.tabs-essais {
  display: flex;
  align-self: flex-end;
  align-items: flex-end;
  margin-left: 40px;
  height: 100%;
}
.tabs-essais li {
  background: #9097a5;
  border: 1px solid #9097a5;
  border-bottom: none;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  cursor: pointer;
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  padding: 0 20px;
  height: 35px;
  position: relative;
  bottom: -1px;
  margin-right: 5px;
}
@media (max-height: 799px), (max-width: 1066px) {
  .tabs-essais li {
    font-size: 14px;
    height: 31px;
    padding: 0 16px;
  }
}
.tabs-essais li:last-child {
  margin-right: 0;
}
.tabs-essais li.active {
  background: #fff;
  border-color: #c8d3e1;
  border-bottom: none;
  color: #383d47;
}
.tabs-essais li.visible, .tabs-essais li.shown {
  display: flex;
}

.type_evaluation .tabs-essais li.visible:not(.active):hover,
.type_evaluation .tabs-essais li.visible:not(.active):hover:before,
.type_evaluation .tabs-essais li.visible:not(.active):hover:after {
  background: #ed6e19;
  border-color: #ed6e19;
}

.type_apprentissage .tabs-essais li.visible:not(.active):hover,
.type_apprentissage .tabs-essais li.visible:not(.active):hover:before,
.type_apprentissage .tabs-essais li.visible:not(.active):hover:after {
  background: #09a59b;
  border-color: #09a59b;
}

.type_corrige .tabs-essais li.visible:not(.active):hover,
.type_corrige .tabs-essais li.visible:not(.active):hover:before,
.type_corrige .tabs-essais li.visible:not(.active):hover:after {
  background: #152c52;
  border-color: #152c52;
}

.tabs-essais li .pastille-essais {
  display: inline-flex;
  letter-spacing: -1px;
  margin-left: 0.75em;
  position: static;
  text-align: center;
  text-indent: -1.5px;
}

.tabs-essais li.noscore .pastille-essais {
  display: none;
}

.type_evaluation #points-count {
  color: #ed6e19;
}

.type_apprentissage #points-count {
  color: #09a59b;
}

.type_corrige #points-count {
  color: #152c52;
}

#points-count .points-count > span {
  color: #383d47;
}

.type_apprentissage .tabs-essais .pastille-essais {
  background: #74b7bf;
}
.type_apprentissage .tabs-essais .active .pastille-essais {
  background: #09a59b;
}

.type_evaluation .tabs-essais .pastille-essais {
  background: #f4996c;
}
.type_evaluation .tabs-essais .pastille-essais .active .pastille-essais {
  background: #ed6e19;
}

.type_evaluation .tabs-essais .introduction #points-count,
.introduction .tabs-essais {
  display: none;
}

.introduction #question-number ~ span {
  display: none;
}

/* *** FOOTER ET NAV *** */
#bottomPart {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  padding: 0 20px;
  width: 100%;
  overflow: hidden;
  min-height: 78px;
  z-index: 0;
}
@media (max-height: 799px), (max-width: 1066px) {
  #bottomPart {
    min-height: 68px;
  }
}

#navigation {
  margin-right: auto;
}
#navigation nav {
  display: flex;
  align-items: center;
}
#navigation button {
  background-color: #fff;
  border: 0.1225vw solid #c8d3e1;
  border-radius: 3px;
  color: #383d47;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 38px;
  width: 38px;
  margin: 0 5px;
}
@media (max-height: 799px), (max-width: 1066px) {
  #navigation button {
    font-size: 16px;
    height: 32px;
    width: 32px;
    margin: 0 3px;
  }
}
#navigation button.hide {
  display: none;
}
#navigation #home_button {
  background-image: url(img/home.svg);
  background-repeat: no-repeat;
  background-size: 64% auto;
  background-position: center center;
}
@media (max-height: 799px), (max-width: 1066px) {
  #navigation #home_button {
    background-size: auto 18px;
  }
}
#navigation #home_button:hover, #navigation #home_button.current_page {
  background-image: url(img/home-hover.svg);
  border-color: #327ee6;
}

#navigation #prev_button,
#navigation #next_button,
#navigation #first_button,
#navigation #last_button {
  width: 28px;
  cursor: pointer;
  background-color: transparent;
  background-image: url(img/next.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: auto 16px;
  border: 1px solid transparent;
}

#navigation #prev_button {
  transform: rotate(180deg);
}

#navigation #prev_button:not(.navInactive):hover,
#navigation #next_button:not(.navInactive):hover {
  background-image: url(img/next-hover.svg);
}

#navigation #prev_button.navInactive,
#navigation #next_button.navInactive,
#navigation #first_button.navInactive,
#navigation #last_button.navInactive {
  cursor: default;
  opacity: 0.35;
}

#navigation #first_button {
  background-image: url(img/first.svg);
}

#navigation #last_button {
  background-image: url(img/last.svg);
}

#navigation #first_button,
#navigation #last_button {
  display: none;
}

#navigation #points {
  background-color: #fff;
  background-image: url(img/trophee.svg);
  background-size: auto 18px;
  background-repeat: no-repeat;
  background-position: center center;
  border: 0.1225vw solid #c8d3e1;
  border-radius: 3px;
  cursor: pointer;
  height: 38px;
  width: 38px;
  margin: 0 0 0 5px;
}
@media (max-height: 799px), (max-width: 1066px) {
  #navigation #points {
    width: 32px;
    height: 32px;
    background-size: auto 16px;
    margin: 0 0 0 3px;
  }
}
#navigation #points:hover, #navigation #points.current_page {
  background-image: url(img/trophee-hover.svg);
  border-color: #327ee6;
}

#navigation button.question_num_button:hover,
#navigation button.question_num_button.current_page,
#navigation #points:hover,
#navigation #points.current_page {
  border-color: #327ee6;
  color: #327ee6;
}

#navigation button.question_num_button.current_page,
#navigation #points.current_page {
  border-width: 2px;
  font-weight: 700;
}

#navigation button.question_num_button.question_answered,
#navigation button.question_num_button.question_completed {
  color: #c8d3e1;
}

.pastille-essais {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  position: absolute;
  width: 20px;
  height: 20px;
  display: none;
  justify-content: center;
  align-content: center;
  align-items: center;
  border-radius: 100%;
  top: -10px;
  right: -10px;
}
@media (max-height: 799px), (max-width: 1066px) {
  .pastille-essais {
    font-size: 10px;
    width: 16px;
    height: 16px;
    top: -6px;
    right: -6px;
  }
}
.pastille-essais.visible {
  display: flex;
}

.type_evaluation .pastille-essais {
  background: #ed6e19;
}

.type_apprentissage .pastille-essais {
  background: #09a59b;
}

#navigation button.current_page .pastille-essais {
  top: -11px;
  right: -11px;
}
@media (max-height: 799px), (max-width: 1066px) {
  #navigation button.current_page .pastille-essais {
    top: -9px;
    right: -9px;
  }
}
#submit_btn.loading {
  background-image: url(img/loader.svg);
  background-color: #31af5b;
  background-repeat: no-repeat;
  background-size: 50px auto;
  background-position:  center;
  border-radius: 3px;
  border: 0;
  cursor: pointer;
  color: #fff;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  height: 32px;
  padding: 0 60px;
  line-height: 1 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: visibility 1s steps(1, start);
}

#submit_btn,
#finishlater_btn {
  background-image: url(img/soumettre.svg);
  background-color: #31af5b;
  background-repeat: no-repeat;
  background-size: 15px auto;
  background-position: calc(100% - 15px) center;
  border-radius: 3px;
  border: 0;
  cursor: pointer;
  color: #fff;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  height: 38px;
  padding: 0 40px 0 15px;
  line-height: 1 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: visibility 1s steps(1, start);
}
#submit_btn:hover,
#finishlater_btn:hover {
  background-color: #2b9b51;
}
@media (max-height: 799px), (max-width: 1066px) {
  #submit_btn,
  #finishlater_btn {
    background-size: 12px auto;
    background-position: calc(100% - 10px) center;
    padding: 0 30px 0 10px;
    font-size: 14px;
    height: 32px;
  }
}

#finishlater_btn {
  margin-right: 10px;
  background-color: #fff;
  background-image: none;
  border: 0.1225vw solid #c8d3e1;
  color: #327ee6;
  display: none;
  padding: 0 15px;
}
@media (max-height: 799px), (max-width: 1066px) {
  #finishlater_btn {
    padding: 0 10px;
  }
}
#finishlater_btn.visible {
  display: flex;
}
#finishlater_btn:hover {
  background-color: #f8faff;
}

#submit_btn.next,
#submit_btn.start {
  background-image: url(img/debuter.svg);
}

#submit_btn.finish,
#submit_btn.quitter {
  background-color: #e93a47;
}
#submit_btn.finish:active, #submit_btn.finish:focus,
#submit_btn.quitter:active,
#submit_btn.quitter:focus {
  background-color: #dc2936;
}
#submit_btn.finish:hover,
#submit_btn.quitter:hover {
  background-color: #dc1927;
}

#submit_btn.quitter {
  background-image: url(img/quitter.svg);
}

/* *** CONTROLS *** */
#controls_container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100px;
  height: 100%;
  padding-top: 100px;
  z-index: 0;
}

.control_btn {
  background-color: #327ee6;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  position: relative;
  margin-bottom: 1em;
  width: 66px;
  height: 70px;
  text-decoration: none;
}
.control_btn:last-child {
  margin-bottom: 0;
}
.control_btn::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 35px 0 35px 15px;
  border-color: transparent transparent transparent #327ee6;
  line-height: 0px;
  left: 66px;
  position: absolute;
  top: 0;
}
.control_btn:hover, .control_btn.active_button {
  background-color: #2571d9;
}
.control_btn:hover:after, .control_btn.active_button:after {
  border-color: transparent transparent transparent #2571d9;
}
@media (max-height: 799px), (max-width: 1066px) {
  .control_btn {
    height: 60px;
  }
  .control_btn::after {
    border-width: 30px 0 30px 12px;
  }
}

/* *** HINTS/FEEDBACK *** */
.feedback,
.hint {
  display: block;
  position: fixed !important;
  height: 0;
  overflow: hidden;
  margin: 0;
  width: 100%;
  left: 0;
  bottom: 0px;
  z-index: 9999999999;
}
.feedback.visible,
.hint.visible {
  top: auto;
  height: 55vh;
}

.feedback:not(.ui-resizable-resizing),
.hint:not(.ui-resizable-resizing) {
  transition: height ease-in-out 0.5s;
}

.feedback.ui-resizable-resizing,
.hint.ui-resizable-resizing {
  transition: none;
}

.feedback-header,
.hint-header {
  background-color: #327ee6;
  color: #fff;
  max-width: 100%;
  text-align: left;
  height: 5.5vh;
  line-height: 1;
  font-weight: 700;
  padding: 0.4vw 2.9297vw 0;
  text-transform: none;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.resize_popup.ui-resizable-handle.ui-resizable-n {
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5.5vh;
}
.resize_popup.ui-resizable-handle.ui-resizable-n span {
  background: #fff;
  border-radius: 10px;
  display: block;
  width: 60px;
  height: 6px;
  text-indent: -99999px;
}

.minimize_small {
  display: none;
}

.close_small {
  border: none;
  display: block;
  width: 2.5vw;
  height: 2.5vw;
  background-color: transparent;
  background-image: url(img/btn-close.svg);
  background-size: 1.25vw 1.25vw;
  background-position: center;
  background-repeat: no-repeat;
  text-indent: -9999px;
  cursor: pointer;
  position: relative;
  top: -0.2vw;
}

.feedback-content,
.hint-content {
  background-color: #fff;
  border-left: 1px solid #c8d3e1;
  border-right: 1px solid #c8d3e1;
  height: calc(100% - 5.5vh);
  position: relative;
  overflow: auto;
}

/* Scrollbar visible aussi sur ipad */
.question-content::-webkit-scrollbar,
.feedback-content::-webkit-scrollbar,
.hint-content::-webkit-scrollbar {
  width: 28px;
}

.question-content::-webkit-scrollbar-track,
.feedback-content::-webkit-scrollbar-track,
.hint-content::-webkit-scrollbar-track {
  background: #fff;
  border-left: 0;
  border-right: 0;
}

.question-content::-webkit-scrollbar-thumb,
.feedback-content::-webkit-scrollbar-thumb,
.hint-content::-webkit-scrollbar-thumb {
  border-radius: 30px;
  border: 10px solid transparent;
  background-color: #c8d3e1;
  background-clip: content-box;
}
.question-content::-webkit-scrollbar-thumb:hover,
.feedback-content::-webkit-scrollbar-thumb:hover,
.hint-content::-webkit-scrollbar-thumb:hover {
  background-color: #b3becd;
}

.introduction .control_btn {
  visibility: hidden !important;
}

.not-submitted #show_answers,
.not-submitted #next_try,
.last-try #next_try {
  visibility: hidden;
}

#masterDiv.has-hint #show_hint {
  visibility: visible;
}
#masterDiv:not(.has-hint) #show_hint {
  visibility: hidden;
  height: 0;
  margin: 0;
  padding: 0;
}

.submitted.summative #show_answers {
  visibility: hidden;
  height: 0;
  margin: 0;
}

.submitted.formative #show_answers,
.submitted:not(.last-try).formative #next_try {
  visibility: visible;
}

/* FIX padding des paragraphes */
.static_text p,
.drop_list_text p {
  padding-bottom: 1.5vh;
}

/* ***** INTRO AUTOMATIQUE ***** */
.question-content {
  height: 100%;
}

.Introduction .question-content {
  width: 100%;
}
.Introduction .question-content > div {
  position: relative;
}

.introduction #question_header,
.resultPage #question_header {
  display: none !important;
}

.introduction .question,
.resultPage .endPage {
  height: 100%;
  border-radius: 3px;
}

.resultPage .control_btn {
  visibility: hidden !important;
}

.intro-bienvenue {
  width: 100%;
  height: 9vh;
  top: 5.2083vh;
  padding: 0 1.9531vw;
}
.intro-bienvenue p {
  padding-bottom: 1.7vh;
}
.intro-bienvenue p:first-child > strong {
  font-size: 1.85vw;
}

.intro-variable {
  width: 100%;
  height: 33.5vh;
  padding: 5.2083vh 1.9531vw 0;
}

.intro-apprentissage,
.intro-evaluation,
.intro-corrige {
  border-radius: 3px;
  overflow: hidden;
  position: absolute !important;
  bottom: 5.2083vh;
  width: calc(100% - 3.9062vw);
  height: auto;
  display: none;
  left: 1.9531vw;
}
.intro-apprentissage > div,
.intro-evaluation > div,
.intro-corrige > div {
  color: white;
  font-weight: bold;
  line-height: 100%;
  padding: 1.25vh 0 0.8vh;
  margin: 0 0 1.5vh;
  text-align: center;
}

.intro-apprentissage {
  background: rgba(9, 165, 155, 0.1);
  border: 1px solid #09a59b;
}
.intro-apprentissage > div {
  background: #09a59b;
}

.intro-evaluation {
  background: rgba(237, 110, 25, 0.075);
  border: 1px solid #ed6e19;
}
.intro-evaluation > div {
  background: #ed6e19;
}

.intro-corrige {
  background: rgba(21, 44, 82, 0.05);
  border: 1px solid #152c52;
}
.intro-corrige > div {
  background: #152c52;
}
.intro-corrige ul {
  margin: 2.25vh 0;
  padding-left: 4vw;
}

.intro-apprentissage ul,
.intro-evaluation ul {
  margin: 2.25vh 0;
  display: flex;
  justify-content: center;
}
.intro-apprentissage ul li,
.intro-evaluation ul li {
  padding: 0 2vw;
  display: inline-block;
  line-height: 25px;
}
.intro-apprentissage ul li:not(:last-child),
.intro-evaluation ul li:not(:last-child) {
  border-right: 1px solid #383d47;
}

.type_apprentissage .intro-apprentissage,
.type_evaluation .intro-evaluation,
.type_corrige .intro-corrige {
  display: block;
}

.img-encadre {
  text-align: center;
}
.img-encadre > div {
  display: inline-block;
  position: relative;
}
.img-encadre p {
  text-align: left;
}
.img-encadre img {
  height: 26vh;
  width: auto;
}

/* *** FIX VARIÉS *** */
/* *** Fix des exposants */
sup,
sub {
  vertical-align: baseline;
  position: relative;
  top: -0.4em;
}

sub {
  top: 0.4em;
}

/* *** Fix drag and drop image *** */
.drag.image.dropped,
.feedback-content div.drop.image,
.type_corrige div.drop.image {
  background-size: 100% 100% !important;
  border: 0;
}

#retour_cahier_form {
  display: none;
  position: relative;
}

#loadingDiv {
  width: 100%;
  height: 100%;
  z-index: 100000000000;
}

/* Message d'erreur dans le gabarit formatage pour expliquer pourquoi la réponse n'est pas bonne */
.format_feedback {
  display: none;
  background: #e93a47;
  color: #fff;
  padding: 0.2em 0.5em 0.05em;
  font-weight: 700;
  border-radius: 4px;
  left: 10px;
  top: 1.6vh;
  left: 1.9531vw;
  font-size: 1.1vw;
}
.format_feedback.visible {
  display: block;
}

/* raphael svg */
svg text {
  text-shadow: -1.5px -1.5px 0.25px #fff, 1.5px -1.5px 0.25px #fff, -1.5px 1.5px 0.25px #fff, 1.5px 1.5px 0.25px #fff;
}

.uiwebviewquit {
  display: none;
}

/* ***** CONSIGNES AUDIO ***** */
button.audio-text-to-speech {
  background: url("img/pr/consigneaudio.svg");
  background-size: contain;
  background-repeat: no-repeat;
  border: 0;
  border-radius: 100%;
  content: "";
  cursor: pointer;
  width: 2.2vw;
  height: 2.2vw;
  position: absolute;
  left: -2.51485vw;
  top: 0.08vw;
  text-indent: -9999px;
  transition: all ease-in-out 0.2s;
  pointer-events: none;
  visibility: hidden;
  z-index: 5;
}
button.audio-text-to-speech.visible {
  pointer-events: auto;
  visibility: visible;
}
button.audio-text-to-speech:not(.playing):hover {
  opacity: 0.8;
}
button.audio-text-to-speech.playing {
  animation: audioplaying 1.2s ease-in-out infinite;
}

.audioRight button.audio-text-to-speech {
  left: auto;
  right: -2.51485vw;
}

@keyframes audioplaying {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
/* **************************** */
/* ********* GENERAL ********* */
/* **************************** */
p:empty {
  display: none;
  margin: 0;
  padding: 0;
}
p:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

::-moz-selection {
  background: transparent;
}

::selection {
  background: transparent;
}

.image {
  background-size: 100% 100%;
  z-index: 5;
}
.image.bg-image, .image.image-bg {
  z-index: 0;
}

.clickable {
  z-index: 10;
}
.clickable * {
  cursor: pointer;
}

a.fancybox:not(.nozoom) {
  position: absolute;
  right: 0;
  top: 0;
  width: 2.8vw;
  height: 2.8vw;
  text-indent: -9999px;
  background-image: url(img/zoom.svg);
  background-size: 50% auto;
  background-position: center center;
  background-repeat: no-repeat;
  border-bottom-left-radius: 3px;
  background-color: #327ee6;
}
a.fancybox:not(.nozoom):hover {
  background-color: #102352;
}

/* **************************** */
/* ********* TEXTES ********* */
/* **************************** */
alphaConsigne {
  font-weight: 700;
}

alphaList,
alpha {
  color: #327ee6;
  display: inline-flex;
  font-weight: 700;
  width: 2.6vw;
  padding-right: 1vw;
  text-indent: initial;
}

.arrowTop {
  position: relative;
}
.arrowTop:after {
  content: "→";
  font-size: 1.2vw;
  position: absolute;
  top: -40%;
  left: -10%;
}

boldBleu {
  font-weight: 700;
}

bullet,
.bullet,
.ParHasBullet bullet,
.ParHasBullet .bullet {
  padding-right: 1.1vw !important;
}

.Capitalize p:first-letter {
  text-transform: uppercase;
}

.ParHasBullet {
  text-indent: -1.6vw !important;
  padding-left: 1.6vw !important;
}

.redText {
  color: #e93a47;
}

.smallerText {
  font-size: 1.2vw;
}

stretch {
  display: inline-block;
  transform: scale(1.4, 1); /* W3C */
  -webkit-transform: scale(1.4, 1); /* Safari and Chrome */
  -moz-transform: scale(1.4, 1); /* Firefox */
  -ms-transform: scale(1.4, 1); /* IE 9 */
  -o-transform: scale(1.4, 1); /* Opera */
  padding-left: 0.2vw;
  padding-right: 0.2vw;
}

.Subtitle,
subtitle {
  display: block;
  margin-top: 1em;
}

p:first-of-type .Subtitle,
p:first-of-type subtitle {
  margin-top: 0;
}

sym {
  font-family: Stix;
}

tag {
  background: black;
  border-radius: 3px;
  color: white;
  font-size: 1.3vw;
  font-weight: 600;
  letter-spacing: 0.075vw;
  padding: 0.3vw 0.5vw 0.1vw;
  margin-right: 0.25vw;
  vertical-align: middle;
}

/* Hide OneTrust button*/ 
#ot-sdk-btn-floating.ot-floating-button{
  display: none !important;
}
#footer_timer {
  background: white;
  border: 1px solid #9097a5;
  border-radius: 3px;
  color: #383d47;
  font-size: 16px;
  font-weight: 700;
  height: 38px;
  padding: 0 10px;
  max-width: 180px;
  margin-right: 10px;
  display: none;
}
@media all and (max-height: 768px) {
  #footer_timer {
    height: 32px;
    font-size: 14px;
  }
}
#footer_timer span {
  display: flex;
  text-align: center;
  min-width: 0px;
  flex-grow: 1;
  justify-content: center;
  cursor: default;
  margin: 0 auto;
  height: 100%;
  align-items: center;
  align-content: center;
}
#footer_timer.alert_mode {
  border-color: #ed989e;
  color: #e93a47;
}

.timer #footer_timer {
  display: flex;
}

#timeOut {
  display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0px;
  background: rgba(0, 0, 0, 0.75);
}

#timeOutContainer {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

#timeOutText {
  font-size: 40px;
  font-family: "Roboto";
  font-weight: 100;
}

#showResultsTimeOut {
  text-decoration: none;
  cursor: pointer;
  border: none;
  height: 40px;
  line-height: 40px;
  min-width: 100px;
  border-radius: 3px;
  font-size: 16px;
  background-color: #327ee6;
  text-align: center;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 170px;
  margin: 0 auto;
  margin-top: 40px;
}

#timeSpent {
  display: none;
  text-align: center;
  width: 100%;
}

#triesLeft {
  display: none;
  text-align: center;
  width: 100%;
}

.timer #navigation {
  pointer-events: none;
}

#timeLimitIntro::before,
#footer_timer span::before,
#timeSpent::before {
  content: "";
  background-image: url(./img/settings_timer.svg);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  width: 1.45vw;
  height: 1.45vw;
  margin-right: 0.5vw;
  display: inline-block;
  vertical-align: middle;
}

#timeLimitIntro::before {
  width: 1.7vw;
  height: 1.7vw;
  margin-right: 0.75vw;
  position: relative;
  bottom: 0.15vw;
}

#triesDescription::before,
#triesLeft span::before {
  content: "";
  background-image: url(./img/settings_tentatives.svg);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  width: 1.7vw;
  height: 1.7vw;
  margin-right: 0.75vw;
  position: relative;
  bottom: 0.05vw;
  display: inline-block;
  vertical-align: middle;
}

#timeOutVisual {
  background-image: url(./img/timer_over.svg);
  background-size: cover;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

#footer_timer.alert_mode span::before {
  background-image: url(./img/settings_timer_alert.svg);
}
.ui-dialog {
    font-family: 'Roboto' !important;
}

.ui-widget-header {
    background: none !important;
    border: none !important;
}

.ui-dialog-titlebar-close {
    background-color: transparent;
    border: none;
    min-width: 20px;
}

.ui-dialog-titlebar {
    background: none;
    font-size: 18px;
    
}

.ui-button {
    text-decoration: none;
    cursor: pointer;
    border: none;
    height: 40px;
    line-height: 40px;
    min-width: 100px;
    border-radius: 3px;
    font-size: 16px;
    margin-left: 10px;
    background-color: #fff;
    text-align: center;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto';
}

.white_btn {
    background-color: #fff;
    border: 1px solid #c8d3e1;
    padding: 0 15px;
    float: left;
    color: #327ee6;

}

.blue_btn {
    background-color: #327ee6;
    border: 1px solid #327ee6;
    color: #fff;
    padding: 0 15px;
}

.ui-dialog-buttonpane {
    border: none;
}

.ui-dialog-titlebar-close {
    min-width: 20px;
}

.ui-widget-content {
    font-size: 16px !important;
    border: none !important;
}

.ui-widget button {
    
    font-family: 'Roboto';
}
/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
	padding: 0;
	margin: 0;
	border: 0;
	outline: none;
	vertical-align: top;
}

.fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	background: #f9f9f9;
	color: #444;
	text-shadow: none;
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
	        border-radius: 4px;
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-opened .fancybox-skin {
	-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	   -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fancybox-outer, .fancybox-inner {
	position: relative;
}

.fancybox-inner {
	overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
	-webkit-overflow-scrolling: touch;
}

.fancybox-error {
	color: #444;
	font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	margin: 0;
	padding: 15px;
	white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}

#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
	background-image: url('fancybox_sprite.png');
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -22px;
	margin-left: -22px;
	background-position: 0 -108px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 8060;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
	background: url('fancybox_loading.gif') center center no-repeat;
}

.fancybox-close {
	position: absolute;
	top: -18px;
	right: -18px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	z-index: 8040;
}

.fancybox-nav {
	position: absolute;
	top: 0;
	width: 40%;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: transparent url('blank.gif'); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}

.fancybox-prev {
	left: 0;
}

.fancybox-next {
	right: 0;
}

.fancybox-nav span {
	position: absolute;
	top: 50%;
	width: 36px;
	height: 34px;
	margin-top: -18px;
	cursor: pointer;
	z-index: 8040;
	visibility: hidden;
}

.fancybox-prev span {
	left: 10px;
	background-position: 0 -36px;
}

.fancybox-next span {
	right: 10px;
	background-position: 0 -72px;
}

.fancybox-nav:hover span {
	visibility: visible;
}

.fancybox-tmp {
	position: absolute;
	top: -99999px;
	left: -99999px;
	visibility: hidden;
	max-width: 99999px;
	max-height: 99999px;
	overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
    overflow: hidden !important;
    width: auto;
}

.fancybox-lock body {
    overflow: hidden !important;
}

.fancybox-lock-test {
    overflow-y: hidden !important;
}

.fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 8010;
	background: url('fancybox_overlay.png');
}

.fancybox-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
	visibility: hidden;
	font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	position: relative;
	text-shadow: none;
	z-index: 8050;
}

.fancybox-opened .fancybox-title {
	visibility: visible;
}

.fancybox-title-float-wrap {
	position: absolute;
	bottom: 0;
	right: 50%;
	margin-bottom: -35px;
	z-index: 8050;
	text-align: center;
}

.fancybox-title-float-wrap .child {
	display: inline-block;
	margin-right: -100%;
	padding: 2px 20px;
	background: transparent; /* Fallback for web browsers that doesn't support RGBa */
	background: rgba(0, 0, 0, 0.8);
	-webkit-border-radius: 15px;
	   -moz-border-radius: 15px;
	        border-radius: 15px;
	text-shadow: 0 1px 2px #222;
	color: #FFF;
	font-weight: bold;
	line-height: 24px;
	white-space: nowrap;
}

.fancybox-title-outside-wrap {
	position: relative;
	margin-top: 10px;
	color: #fff;
}

.fancybox-title-inside-wrap {
	padding-top: 10px;
}

.fancybox-title-over-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 10px;
	background: #000;
	background: rgba(0, 0, 0, .8);
}

/*Retina graphics!*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	   only screen and (min--moz-device-pixel-ratio: 1.5),
	   only screen and (min-device-pixel-ratio: 1.5){

	#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
		background-image: url('fancybox_sprite@2x.png');
		background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
	}

	#fancybox-loading div {
		background-image: url('fancybox_loading@2x.gif');
		background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
	}
}