#instructions {
  position: fixed;
  top: 50px;
  bottom: 8px;
  right: 0;
  width: 300px;
  transform: translateX(84%);
  transition: .3s ease-out;
  z-index: 999;
  background: #FFF;
  overflow-y: scroll;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  overflow-x: hidden;
}

#instructions.folded {
  transform: translateX(100%);
}

#instructions.opened-full {
  transform: translateX(0%);
}

#instructions .instruction {
  border-bottom: 1px solid gainsboro;
  padding: 0 5px 5px 5px;
  margin: 5px;
  width: 280px;
  cursor: pointer;
}

#instructions .instruction .icon {
  display: inline-block;
  width: 30px;
}

#instructions .instruction .icon:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  height: 30px;
}

#instructions .instruction .icon .icon-content {
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
}

#instructions .instruction .icon .icon-content svg {
  width: 100%;
  fill: black;
}

#instructions .instruction .text {
  display: inline-block;
  font-family: 'Open sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  width: 230px;
  margin-left: 10px;
}

#instructions .instruction .text:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  height: 30px;
}

#instructions .instruction .text .text-content {
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
}

#instructions .instruction:last-child {
  border: 0;
}

#toggle-instruction-text {
  padding: 5px;
  margin: 0 auto;
  text-align: center;
  width: 30px;
  position: absolute;
  top: 3px;
  right: 4px;
  cursor: pointer;
}

#current-instruction {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  transform: translateY(0%);
  transition: .3s ease-out;
  z-index: 1;
  background: #FFF;
  padding: 0 50px;
  text-align: center;
  box-sizing: border-box;
  font-family: 'Open Sans Bold', sans-serif;
  font-weight: 700;
  font-size: 14px;
}
#current-instruction:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

#instruction-content {
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
  padding-right: 25px;
}

@media screen and (min-width: 1200px) {
  #instructions {
    transform: translateX(0%);
  }

  #toggle-instruction-text {
    display: none;
  }
}

@media print {
  #instructions {
    margin-top: 25px;
    position: static;
    width: initial;
    transform: none;
    overflow-y: visible;
  }
  #instructions .instruction {
    width: initial;
  }
  #instructions .instruction .text {
    width: initial;
  }
}

#share {
  position: absolute;
  right: 50px;
  top: 12px;
  cursor: pointer;
}

@media screen and (min-width: 1200px) {
  #share {
    right: 10px;
  }
}
