/************************************************ général ******************************/


body {
  background-image: url('img/bench-in-the-park.jpg');
  background-size: cover;
  font-family: sans-serif ;
  font-size: 18px;
}
h1, h2, h3 {text-align: center;}
button {line-height: 1.5em; font-size: 1.6em; border-radius: 10px}



/************************************************ PRÉSENTATIONS EN HAUT ******************************/
#divPresentation{  /* affiche la question courrant en haut */
  font-size: 1em;
  text-align: justify;
  background: orange;
  border-radius: 20px;
  padding: 10px;
  width: 750px;
  border: solid 10px white;
  margin-left: auto;margin-right: auto;  
}

#hh1 {
  width: 120px;
  margin-top: 10px;
  left: 10px;
}

#hh2 {
  width: 120px;
  margin-top: 10px;
  right: 10px; 
}


/****************************************************** CARTE ET HISTOGRAMME ******************************/
#mainTable {
    position: relative;
    height: 300px;
    margin: auto;
    }

#imgHisto { display: block; margin: auto;}
#nivPop {
    position: absolute;
    bottom: 0px; left: 0px;
    display: block; margin: auto;
    width: 45px;
    height: 5px;
}

#imgHisto {      /* pour la popularité */
    box-shadow: 0px 0px 20px red;
    border: solid 3px;
    border-radius: 25px;
    }

#tdMap {
    display: inline-block;
    vertical-align: top;
}

#divMap {
    display: inline-block;
    vertical-align: top;
    width:600px; }
    
#instructionsSonder {
      position: relative;
      top:-800px;
      left: -16px;
      padding: 10px;
      width: 450px;
      margin: 20px auto 20px auto;
      font-size: large;
      text-align: center;
      background-color: #f2e6ff;
      border: solid 10px green;
      border-radius: 10px;
      visibility: hidden;
      box-shadow:  0px 0px 20px #000;
      z-index: 3;
      }

#divHisto{
  position: relative;
  left: 30px;
  width:220px;
  vertical-align: top;
}
.labelC {position: relative; top:-65px; left: 10px; margin-right: 15px; width:50px }

#histoChoix {
    border: solid 4px;
    border-radius: 8px;
}


/************************************************ CONTROLES ******************************/
#divControles {
  position: relative;
  top: -80px;
  background-color: white;
  border: solid 10px black; border-radius: 20px;
  padding: 5px;
  text-align: center;
  width: 600px;
  height: 300px;
      }

#bLockChoices {}


/************************************************* DÉCISION ******************************************/
#tdPop {
  background-image: url('img/histo2h.png'); background-repeat: no-repeat;
  width: 200px; height: 400px;
}

#divDecision {
  position: relative;
  top: -80px;
  border: solid black;
  border-radius: 10px;
  background-color: white;
  padding: 5px;
  width: 250px;
}

.tcenter {text-align: center; margin-left: auto;margin-right: auto;}

#tdDecision {
  visibility: hidden;
}

#rChoix {
  height: 45px;
  background: white;
  outline: none;
}

#rChoix::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 45px;
  height: 45px;
  background: url('img/red_arrow_up.png');
  background-size: 100%;
  cursor: pointer;
}

#rChoix::-moz-range-thumb {
  width: 45px;
  height: 45px;
  background: url('img/red_arrow_up.png');
  background-size: 100%;
  cursor: pointer;
}


/************************************************ REPONSES: divQuestionnaire ******************************/
#divQuestionnaire{  /* apparait pour présenter la réponse à la question */
    position: absolute;
    display: inline-block;
    width: 500px;
    left: 50%;
    transform: translateX(-50%);
    top: 230px;
    background-color: pink;
    border: solid 10px red; border-radius: 20px; padding: 10px;
    z-index: 1;
    visibility: hidden;
    }

#laQ {font-weight: 900;}
    
#Reponses {
  background-color: white;
  padding: 10px;
  border-radius: 10px;
  margin: 10px;
  }    

 #imgHabM {
  width: 150px;
  height: 150px;
 }


/************************************************ messagePop ******************************/

#messagePop {
  position: absolute;
  display: block;
  top: 300px;
  margin-left: 50%; transform: translateX(-50%);
  width: 280px;
  background-image: url('img/bench-in-the-park.jpg');
  background-size: 300px;
  border: solid white 10px;
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0px 0px 25px;
//  visibility: hidden;
}

/************************************************  VARIA ************/

.imgChoix { width: 50px;}
.invisible {visibility: hidden; width: 0px; position: absolute; bottom: 0px;}

.absCenter {
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    }

.centred { margin: auto;  }
    
#park { width: 600px}


/************************************************ JETONS MANIPULABLES ******************************/

#container { /* pour les manupulables */
    -ms-touch-action:none; 
    left: 0px; top: 0px;
    }

    #dot{ /* pour jetons manupulables */
     z-index: 5; position: absolute; left: 0px; top: 0px;
     -ms-touch-action:none;
     }


.jetons {
      width:50px ; z-index: 9;
      position: absolute;
      box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
      }

/************************************************ divAllDecisions ******************************/

#divAllDecisions {
    position:absolute;
    top:200px; width: 600px;
    padding: 20px;
    margin: 0px auto 0px 20%;
    border: solid 10px black;
    border-radius: 20px;
    background-color: white;
    visibility: hidden;
}
