/*
    Document   : style
    Created on : 29 sept. 2010, 14:46:40
    Author     : seb
    Description:
        Purpose of the stylesheet follows.
*/
body{font-size:16px}
html{font-size:90%;}
@media (max-width:1024px){
  .ui-tabs .ui-tabs-nav li {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 10%;
  }
}
@media(min-width:60em){
  html{font-size: 10%}
}
body, table {
    font-family: Arial, Tahoma, no-serif;
}
h1{
  font-size: 1.8em;
}
.lien, #interruption, #passer, #pause, #showReponse, #resultat-recherche li {
    cursor: pointer;
}
.lien:hover, #resultat-recherche li:hover {
    text-decoration: underline;
    color: orange;
}
span.liendirect {
    border: 1px white dashed;
    padding:2px 4px;
    margin-left: 5px;
}
span.lientdirect a {
    text-decoration:none;
}
.surligne {
  background-color: orange;
  font-weight: bold;
}

.invisible{
    display: none;
}
/* réglages smartphones et petites résolutions
*/
.petit {
    font-size: 1em;
}
.moyen {
    font-size: 1.5em;
}
.grand {
    font-size: 2.5em;
}
#questions, #questions table, #reponsesLive, #reponsesLive table {
    font-size: 1.5em;
}
/* réglages ordinateurs écran 840px min
*/
@media(min-width:60em){
  .petit {
      font-size: 1.3em;
  }
  .moyen {
      font-size: 2em;
  }
  .grand {
      font-size: 3.5em;
  }
  #questions, #questions table, #reponsesLive, #reponsesLive table {
      font-size: 2.5em;
  }
}
.right {
  display:block;
  float: right;
}
.rouge {
    color:orange;
}
.bleu{
    color: orange;
}
.gris {
    color: orange;
}
.new::after {
    content: "nouveauté !";
    color:red;
    vertical-align:super;
    font-size: 60%;
}
.correction {
    border-left:1px solid orange;
    font-family: serif;
    float: left;
    width:32%;
    margin-right: 1%;
}
.correction > div{
    border-top:1px solid orange;
    margin-bottom: 10px;
    margin-left: 10px;
}
.correction img:active{
    /*color: white;*/
    position:fixed;
    z-index: 10;
    left:50%;
    margin-left:-250px;
    top: 50vh;
    margin-top: -250px;
    width: 500px;
    height: 500px;
}
#slidert,#sliderc{
    margin-top: 10px;
    margin-bottom: 5px;
}
#tpsaff, #tpscach, #vnbq{
    font-weight: bold;
    color: orange;
}
/*#radioc, #radioenonce {
    float: left;
}
#radioc {
    clear: left;
}*/
fieldset {
    display:inline-block;
}
.gras {
    font-weight: bold;
}
#truc {
    font-size:1px;
    clear:both;
}
.valin {
    vertical-align: middle;
}
.s200 {
    width: 200px;
    height: 200px;
}
.s150 {
    width: 150px;
    height: 150px;
}
.s100 {
    width: 100px;
    height: 100px;
}
.clearfix {
    clear: both;
}
#progressbar {
    position: absolute;
    top:4.6em;
    width:60%;
    margin:0 20%;
    background-color: orange;
    border: 1px solid black;
    height: 2em;
}
@media(min-width:60em){
  #progressbar{top:8em;}
}
#progressbarInner {
    width: 0%;
    height:100%;
    text-align:left;
    line-height: 2em;
    font-size: 1em;
    background-color: #999;
    color: white;
    max-width: 100%;
}

#affichage {
    margin: 10px auto;
    border: 2px orange solid;
    text-align: center;
    height: 100%;
    width: 95%;
    display: table;
}
#affichage #questions, #reponsesLive{
    display:table-cell;
    vertical-align: middle;
}
#loader, #loader2, #decompte {
    position:absolute;
    background: #000000;
    color: orange;
    border: 2px solid #555555;
    text-align: center;
    font-size: 250%;
    z-index: 105;
    padding-top: 10%;
    top:10px;
    left:10px;
    right:10px;
    bottom: 10px;
    opacity: 0.8;
    filter:alpha(opacity=80);
}
#slidernbq {
    display: inline-block;
    margin-left: 20px;
    width: 220px;
}
#divOnlineReponse {
  z-index:10;
  position: absolute;
  bottom: 25px;
  left: 50%;
  margin-left:-320px;
  text-align: center;
  width: 640px;
  padding:5px;
}
#divOnlineReponse, #divOnlineReponse input, #divOnlineReponse button {
  font-size: 1.5em;
}
#onlineReponse {
  text-align: center;
}
.jsxtext{
  margin-top:-0.56em;
  margin-left:-0.4em;
}
.top2em {
  margin-top:-2em;
}

.enonce1, .enonce2 {
    font-size: 0.7em;
    display: block;
    padding:0.2em;
}
.enonce1 {
    background: white;
    color: black;
    margin-left: 20%;
}
.enonce2 {
    background : black;
    color: white;
    margin-right: 20%;
}
table.center td {
    text-align: center;
    width : 4em;
}
.centrer{
    text-align: center;
}
#messagefin {
    position: absolute;
    top:20%;
    left: 20%;
    right: 20%;
    background: rgba(0,0,0,0.8);
    border: 2px #555555 solid;
    z-index: 10;
    color: orange;
    font-size: 500%;
    text-align: center;
    padding: 10px;
}
#fond, #passage {
    display: none;
}
#fond {
    z-index: 5;
    background: blue!10;
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    opacity: 0.7;
}
#restart{
    position:absolute;
    right:20px;
    top:40px;
    cursor:pointer;
    font-size: 2em;
    font-weight: bold;
}
#passage {
    z-index:8;
    position: absolute;
    top: 10px;
    bottom: 150px;
    left:10px;
    right: 10px;
}
#chrono {
    float: right;
    margin-top: 5px;
    margin-right: 5px;
    background: orange;
    border: 2px orange solid;
    padding: 5px;
    font-size: 150%;
}
@media(min-width:60em){
  #chrono {
      float: right;
      margin-top: 10px;
      margin-right: 10px;
      background: orange;
      border: 2px orange solid;
      padding: 20px;
      font-size: 300%;
  }
}
.numeroImpair{
    background : orange;
}
.numeroPair{
    background: orange;
}
#numero{
  margin-top: 5px;
  margin-right: 5px;
  border: 2px oragnge solid;
  height: 50px;
  float: left;
}
#interruption {
    float: right;
    margin-top: 5px;
    margin-right: 5px;
    background: #DDD;
    border: 2px orange solid;
    padding: 10px;
    font-size: 150%;
}
#passer, #showReponse {
    float: right;
    margin-top: 5px;
    margin-right: 5px;
    background: #DDD;
    border: 2px orange solid;
    padding: 10px;
    font-size: 150%;
}
#pause {
    float: right;
    margin-top: 5px;
    margin-right: 5px;
    background: #DDD;
    border: 2px orange solid;
    padding: 10px;
    font-size:80%;
    line-height: 215%;
}
@media(min-width:60em){
  #numero {
    height: 100px;
    margin-top: 10px;
    margin-right: 10px;
    border: 2px orange solid;
      /*padding: 20px;
      font-size: 300%;*/
  }
  #interruption {
      margin-top: 10px;
      margin-right: 10px;
      background: #DDD;
      border: 2px orange solid;
      padding: 20px;
      font-size: 300%;
  }
  #passer, #showReponse {
      margin-top: 10px;
      margin-right: 10px;
      background: #DDD;
      border: 2px orange solid;
      padding: 20px;
      font-size: 300%;
  }
  #pause {
      margin-top: 10px;
      margin-right: 10px;
      background: #DDD;
      border: 2px #8E846B solid;
      padding: 20px;
      font-size:100%;
      line-height: 350%;
  }
}

#resultats, #liste-questions {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: stretch;
}
@media(min-width:60em){
  #resultats, #liste-questions {
      font-size: 2em;
      text-align: left;
  }
}
#tesReponses {
  background: #ccc;
  border: 1px dotted black;
}
#tesReponses ol{
  padding-left: 10px;
}
#tesReponses li.ok:after{
  content: url(../images/checkok.png);
  margin-left: 3px;
}
.col50 {
    float: left;
    width: 49%;
    margin-right: 1%;
}
.col33 {
    float: left;
    width: 32%;
    margin-right: 1%;
}
.cols-3 {
  -webkit-column-count: 3; /* Chrome, Safari, Opera */
  column-count: 3;
  -webkit-column-gap: 20px; /* Chrome, Safari, Opera */
  column-gap: 20px;
  -webkit-column-rule: 2px solid #555; /* Chrome, Safari, Opera */
  column-rule: 2px solid #555;
}
.cols-3 li{
  break-inside: avoid;
}
.reponse1{
    background: white;
    color: black;
}
.reponse2{
    background: black;
    color: white;
}

#rep-graphique {
    width: 600px;
    height: 400px;
    margin: 10px auto;
    vertical-align: middle;
}
canvas {
    background-color: orange;
    border: 2px dotted black;
}
#canvas img{
    margin-top:48px;
}
.fonc-correction {
    width: 150px;
    height: 150px;
    margin: auto;
}

ul.MAJ, ul.MAJ li{
    font-size: 9.5pt;
    color: black;
}
ol{
    counter-reset: repas;
}
ol li {
    list-style-type: none;
    counter-increment: repas; /* on incrémente le compteur à chaque nouveau li */
    margin-bottom: 10px;
}
ol li:before{
    font-size:0.8em;
    content: counter(repas); /* on affiche le compteur */
    padding: 4px 10px 4px;
    text-align:right;
    margin-right: 8px;
    vertical-align: middle;
    background: #678;
    -webkit-border-radius: 20px 50px 50px 0;
    border-radius: 20px 50px 50px 0;
    font-weight: bold;
    color: white;
    display: inline-block;
    width: 1em;
}
.ui-dialog ol {
  padding-left:0;
  cursor: pointer;
}
ul.MAJ {
    clear:both;
    background:white;
    opacity:.6;
}
.MAJ a{
    color: blue;
    text-decoration:none;
}
.MAJ a:hover{
    text-decoration: underline;
}
video#bgvid {
    float:right;
    width:400px;
    margin-left: 20px;
    background: url('../multimedia/demo CM.jpg') no-repeat;
}
.panier-options{
  background: lightgrey;
}
#changestyle{
  display: flex;
  position: absolute;
  bottom:0;
  left:20px;
  height: 1.5em;
  font-size: 0.8em;
  border-radius: 10px 10px 0 0;
  background: blue!25;
  padding-top:5px;
}
#changestyle div{
  margin:0 5px;
  background: white;
  border-radius: 5px 5px 0 0;
  padding:5px;
  line-height: 1em;
  color:black;
}
#copyicons {
  position: absolute;
  bottom:0;
  right:20px;
  height: 1.5em;
  font-size: 0.8em;
  border-radius: 10px 10px 0 0;
  background: red!25;
  padding:5px 7px 0 7px;
}
#presentation {
    display: flex;
    font-size: 16px;
    justify-content: center;
    flex-wrap: wrap;
    width:100%;
    margin-top: 2em;
}
#presentation > img{
  margin: 1em;
  width:242px;
  height:200px;
}
#presentation div{
  position:relative;
  text-align: center;
  text-shadow: 1px 1px grey;
  font-size: 1.6em;
  margin:10px;
  margin-top:2em;
  width: 20%;
  height: 100px;
  background: #C8D8DD;
  padding-top:1em;
  cursor:pointer;
  border:4px solid #94B0BA;
  border-radius: 5px 5px 10px 10px;
}
#presentation div:hover{
  background: #CFD2E2;
  border-color:#A0A6C4;
  box-shadow: 0 8px 6px -6px black,
            -1px 2px 20px rgba(255, 255, 255, 0.6) inset;
}
#presentation div a{
  color:black;
  text-decoration: none;
}
#presentation div img{
  width:96px;
  height:96px;
  position: absolute;
  top:-48px;
  left: calc(50% - 48px);
}
