.tol_canvas {
  width: 70vw;
  height: 80vh;
  position:absolute;
  top:50%;
  left:50%;
  margin-right:-50%;
  transform: translate(-50%,-50%);
  background-color: #bbb1b1;
  border-radius: 25px;
  border: 2px solid #807e7e;
}


/* 25 width 20 height originally */
.tol_peg_board {
  width: 25vw; 
  height: 20vw;
  position:absolute;
  top:50%;
  left:50%;
  margin-right:-50%;
  transform: translate(10%,-60%);
}

.tol_your_board {
  width: 25vw;
  height: 20vw;
  position:absolute;
  top:50%;
  left:50%;
  margin-right:-50%;
  transform: translate(-110%, -60%);
}

.tol_base {
  width: 100%;
  height: 3vw;
  background-color: rgb(92, 92, 92);
  position:absolute;
  top:100%
}

.tol_board_label {
  width: 50%;
  height: 2vw;
  position:relative;
  top: 103%;
  left: 50%;
  transform: translate(-50%,0%);
  font-size: 16px;
  color: white;
  text-align:center;  
}

/* 20% width, 103%height */
#tol_peg_1 {
  width:20%;
  height: 103%;
  position:absolute;
  top:0%;
  left:0%;
  margin-right:-50%;
  -moz-transform:rotate(180deg);
  -webkit-transform:rotate(180deg);
  -o-transform:rotate(180deg);
  -ms-transform:rotate(180deg);
  
}

#tol_peg_2 {
  width:20%;
  height: 70%;
  position:absolute;
  top:33%;
  left:35%;
  margin-right:-50%;
  -moz-transform:rotate(180deg);
  -webkit-transform:rotate(180deg);
  -o-transform:rotate(180deg);
  -ms-transform:rotate(180deg);
}

#tol_peg_3 {
  width:20%;
  height: 36%;
  position:absolute;
  top:67%;
  left:70%;
  margin-right:-50%;
  -moz-transform:rotate(180deg);
  -webkit-transform:rotate(180deg);
  -o-transform:rotate(180deg);
  -ms-transform:rotate(180deg);
}

.tol_ball {
  width: 5vw;
  height: 5vw;
  background:brown;
  -moz-border-radius: 2.5vw;
  -webkit-border-radius: 2.5vw;
  border-radius: 2.5vw;
  margin-top: 1vw;
  position: relative;
}

.tol_hand_ball {
  width: 5vw;
  height: 5vw;
  background: brown;
  -moz-border-radius: 2.5vw;
  -webkit-border-radius: 2.5vw;
  border-radius: 2.5vw;
  position:absolute;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
}

.tol_ball_label {
  text-align:center;
  font-size: 20px;
  position: relative;
  top: 50%;
  -moz-transform:rotate(180deg);
  -webkit-transform:rotate(180deg);
  -o-transform:rotate(180deg);
  -ms-transform:rotate(180deg);
}

/*change peg color*/
.tol_peg {
  width: 25%;
  height: 101%;
  background-color: rgb(92, 92, 92);
  margin-left: 37%;
  margin-right: 37%;
  position: relative;
  vertical-align: bottom;
  border-radius: 15px;
}

.tol_Red {
  background: brown;
}

.tol_Green {
  background: rgb(60, 116, 60);
}

.tol_Blue {
  background: #2c86c2;
}

.tol_hand_box {
  width: 5.5vw;
  height: 5.5vw;
  position:absolute;
  top:16%;
  left:35%;
  margin-right:-50%;
  background-color: whitesmoke;
  border-radius: 25px;
  border: 2px solid #606060;
  -moz-transform:rotate(80deg);
  -webkit-transform:rotate(180deg);
  -o-transform:rotate(180deg);
  -ms-transform:rotate(180deg);
}

.tol_hand_label {
  width: 15vw;
  height: 10vw;
  position:absolute;
  top:13%;
  left:35%;
  margin-right:-40%;
  font-size: 18px;
}

/* for text during instructions */
.tol_topbox {
  width:70vw;
  height: 23vw;
  position:absolute;
  top:40%;
  left:50%;
  margin-right:-50%;
  transform: translate(-50%,-60%);
}

.tol_bottombox {
  width:70vw;
  height: 20vw;
  position:absolute;
  bottom:10%;
  left:50%;
  margin-right:-50%;
  transform: translate(-50%,60%);
}

.tol_feedbackbox {
  width:30vw;
  height: 10vh;
  position:absolute;
  top:50%;
  left:50%;
  margin-right:-50%;
  transform: translate(-50%,-400%);
}

/* .jspsych-instructions-nav {
  text-align: center;
  margin-top: 109px;
  position: relative;
  z-index: 1;
} */

.jspsych-fullscreen-btn {
  margin-top: 109px;
  position:absolute;
  top:50%;
  left:50%;
}


/* Text based classes */
/* Used for general instructions */
.block-text {
  width:100%;
  height 100vw;
  text-align: justify;
  margin: 0 auto;
  margin-bottom: 1em;
  font-size: 22px;
  line-height: 120%;
  font-style:normal;
  font-family:  Helvetica;
}

/* As above but centered instead of justified. Good for instructions with few lines */
.center-block-text {
  width:100%;
  /* height 100vw; */
  text-align: center;
  margin: 0 auto;
  margin-bottom: 1em;
  font-size: 28px;
  line-height: 120%;
}

/* used for large text shown in the center of the screen, like FB or stimuli */
.center-text {
  text-align:center;
  font-size: 60px;
  position: relative;
  top: 50%;
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

/* fixation should be used like this in: '<div class = centerbox><div class = fixation>+</div></div>'*/
.fixation {
  text-align: center;
  font-size: 150px;
  position: relative;
  top: 50%; 
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}


/* Used in lists */
.list-text li{
  font-size: 20px;
}

/* flex box used to vertically and horizontally center an img.
Sample html: <div class = centerbox><div class = img-container><img...></img></div></div>
*/
.img-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center; /* align horizontal */
  align-items: center; /* align vertical */
}

#legal {
  margin: 0 auto;
  margin-top: 1.5em;
  font-size: 0.8em;
}


/* Used for positioning buttons (previous, next) during instructions */


/* Buttons */
.jspsych-btn, #jspsych-instructions-next, #jspsych-instructions-back {
  font-size:20px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  padding: 10px 18px 12px 20px;
  color: white;
  /* background-color:rgba(19, 22, 24, 0.11); */
  background-color:#757272;
  cursor: pointer;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;

}
.jspsych-instructions-nav {
  text-align: center;
  margin-top: 2vw;
  position: relative;
  z-index: 1;
}

#jspsych-instructions-next:hover {
  background-color: rgba(137, 145, 151, 0.719);
  border-color: #aaa;
}
#jspsych-instructions-back:hover {
  background-color: rgba(137, 145, 151, 0.719);
  border-color: #aaa;
}
/* .jspsych-instructions-nav {
  text-align: center;
  margin-top: 25vw;
  font-size:10px;
  padding: 10px 18px 12px 20px;
  left: 41%;
  z-index: 10;
  cursor: pointer;
  position:center;

} */

.jspsych-instructions-nav p {

  font-family: 'Roboto' serif;
  font-size: 20px;
  line-height: 20px;

}
/* 
.display_stage {
  position: fixed;
  left: 5vw;
  top: 2vh;
  height: 94vh;
  width: 90vw;
  background-color: white;
  box-shadow: 1px 1px 1px #999;
  border-radius: 15px;
  z-index: 0;
  padding: 30px 30px 30px 30px;
  -webkit-box-sizing: border-box; 
  -moz-box-sizing: border-box;    
  box-sizing: border-box;         
  overflow: auto;
}
 */

/* .centerbox {
  width: 50vw;
  height: 60vh;
  position:absolute;
  top:50%;
  left:50%;
  margin-right:-50%;
  transform: translate(-50%,-50%);
} */

