body {
  background-color: black;
  font-family: 'Arimo', sans-serif;
  font-size: 10px;
}

.game-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.app-help{
  display:none;
}

.app-help-content {
  cursor: default;
}

.app-content {
  background: linear-gradient(to bottom right, #16a2b2, #37c7d5);
}

.sketchfab-wrapper {
  width: 68.3em;
  height: 60.0em;
  position: absolute;
  top: 0;
  left: 34.1em;
  background-image: url('img/BG-3d.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100%;
}

#api-frame,
.mask {
  position: absolute;
  top: 0;
  left: 34.1em;
  width: 68.3em;
  height: 60.0em;
  border: none;
}

.mask {
  background-image: url('img/mask.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100%;
  pointer-events: none;
}

.he .sketchfab-wrapper,
.he #api-frame,
.he .mask {
  left: 0;
}

.button-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 34.1em;
  height: 60.0em;
  background-image: url('img/BG-Choice.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100%;
}

.he .button-wrapper {
  left: 68.3em;
  background-image: url('img/BG-Choice-he.jpg');
}

.button-wrapper-container::before {
  display: block;
  width: 100%;
  height: 7.7em;
  content: " ";
}

.button-wrapper-container {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0);
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -o-transform: scale(0);
  -ms-transform: scale(0);
  animation-name: wrapper_start;
  -webkit-animation-name: wrapper_start;
  -moz-animation-name: wrapper_start;
  -o-animation-name: wrapper_start;
  -ms-animation-name: wrapper_start;
  animation-duration: 0.6s;
  -webkit-animation-duration: 0.6s;
  -moz-animation-duration: 0.6s;
  -o-animation-duration: 0.6s;
  -ms-animation-duration: 0.6s;
  animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  -o-animation-fill-mode: forwards;
  -ms-animation-fill-mode: forwards;
}

@keyframes wrapper_start {
  0% {
    opacity: 0;
    transform: scale(0);
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -o-transform: scale(0);
    -ms-transform: scale(0);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -o-transform: scale(1.05);
    -ms-transform: scale(1.05);
  }

  100% {
    opacity: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
  }
}



.mockup {
  background-image: url('img/background_mockup.jpg');
  background-size: cover;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 65.0em;
}

.background {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.simulation-space {
  position: absolute;
  width: 77%;
  height: 78%;
  top: 0;
  left: 0;
  background-color: cyan;
  background: #16a2b2; /* For browsers that do not support gradients */
  background: -webkit-linear-gradient(left top, #16a2b2, #37c7d5); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(bottom right, #16a2b2, #37c7d5); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(bottom right, #16a2b2, #37c7d5); /* For Firefox 3.6 to 15 */
  background: linear-gradient(to bottom right, #16a2b2, #37c7d5); /* Standard syntax */
}

.notable .simulation-space {
  top: 4.9em;
}

.control-space {
  position: absolute;
  width: 23%;
  height: 78%;
  top: 0;
  right: 0;
  background-color: #155562;
}

.text-area {
  background-color: #faa948;
}

.table-space {
  position: absolute;
  width: 100%;
  height: 22%;
  bottom: 0%;
  left: 0%;
  background-color: #E1EEF4;
}


#table-container {
  position: absolute;
  width: 100%;
  height: 22%;
  bottom: 0%;
  left: 0%;
  background-color: #D2E1EB;
}

#table-subcontainer {
  overflow-y: hidden;
  overflow-x: hidden;
  position: absolute;
  width: 99.9%;
  max-height: 70.8%;
  top: 30.8%;
  left: 0%;
  -ms-touch-action: none !important;
  touch-action: none !important;
}

#datatable {
  width: 58.5em;
  /* height: 87.1%; */
  background-color: transparent;
  border-collapse: separate;
  border-spacing: 0.23em;
  direction: rtl;
  /* font-size: 1em; */
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 1.36em;
}

#table-header {
  width: 58.5em;
  /* height: 58.1%; */
  background-color: transparent;
  border-collapse: separate;
  border-spacing: 0.23em;
  direction: rtl;
  /* font-size: 1em; */
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 1.36em;
}

#table-container td {
  height: 1.9em;
  text-align: center;
  color: #3E5C64;
  /* border-radius:0.3em; */
  width: 13.9em;
  background-color: #ECF2F7;
}

#table-container th {
  height: 2.3em;
  width: 13.9em;
  color: #3E5C64;
  background-color: #C2D3DC;
  /* border-radius:0.3em; */
}

.garbageCell {
  width: 1.2em !important;
  /* background-color: #95A2AB !important; */
  position: relative;
  cursor: pointer;
}

th.garbageCell div {
  background-image: url(../content/img/trash.svg);
  background-size: 100% 100%;
  width: 1.4em;
  height: 1.4em;
  /* position:absolute; */
  /* top: 0.2em; */
  /* left: 0.2em; */
  cursor: pointer;
}

td.garbageCell div {
  background-image: url(../content/img/trash.svg);
  background-size: 80% 80%;
  background-position: center center;
  background-repeat: no-repeat;
  width: 1.4em;
  height: 1.4em;
  /* position:absolute; */
  /* top: 0.5em; */
  /* left: 0.3em; */
  cursor: pointer;
}

.emptyLine .garbageCell div {
  pointer-events: none;
  opacity: 0;
}

.emptyLine .garbageCell {
  pointer-events: none;
}

.garbageCell.inactive div {
  pointer-events: none;
  opacity: 0;
}

.garbageCell.inactive {
  pointer-events: none;
}

.clock-space {
  position: absolute;
  width: 7.8em;
  height: 7.5em;
  top: 3.1em;
  left: 16.8em;
  display: none;
}

.solution-box {
  width: 21.8em;
  height: 2.4em;
  position: absolute;
  right: 1.5em;
}

.CopperChloride {
  top: 6.2em;
}

.GoldChloride {
  top: 10.4em;
}

.ZincChloride {
  top: 14.6em;
}

.title-text {
  top: -0.1em;
  height: 1.15em;
  position: absolute;
  right: 0;
  font-size: 1.9em;
  color: white;
  text-align: center;
}

.solution .title-text {
  width: 3.8em;
}

.concentration .title-text {
  width: 3em;
}

.concentration-slider {
  top: 28.4%;
  right: 20%;
  width: 14.4em;
  height: 5.7em;
  position: absolute;
}

.solution {
  top: 7.6em;
  width: 100%;
  height: 16.3em;
  position: absolute;
}

.notable .solution {
  top: 11.9em;
}

.concentration {
  top: 27.8em;
  width: 100%;
  height: 12.4em;
  position: absolute;
}

.notable .concentration {
  top: 30.7em;
}


.play {
  position: absolute;
  top: 44.5em;
  right: 8.3em;
  width: 5.6em;
  height: 3.0em;
  /* background-color: #257785;
	border-radius: 5em; */
  display: none;
}

.instructions {
  width: 100%;
  right: 0;
  height: 3.1em;
  font-size: 225.1%;
  top: 0em;
  background-color: orange;
}

.notable .instructions {
  height: 4.6em;
  font-size: 2251%;
}

.button-text {
  height: 100%;
  font-size: 1.9em;
  text-align: right;
  right: 1.7em;
  position: absolute;
  width: 51%;
  color: white;
}

.radio-button {
  right: 0;
  position: absolute;
  width: 2.4em;
  height: 2.4em;
}

.solution .title {
  top: 10.2%;
}

.title {
  background-color: orange;
  height: 2.1em;
  right: 9%;
  width: 7.1em;
  position: absolute;
  top: 0;
  border-radius: .6em;
}

.instructions .title {
  height: 3.1em;
  right: 0;
  width: 100%;
  border-radius: 0px;
  position: absolute;
  top: 0;
  left: 0;
}

.notable .instructions .title {
  top: 0.7em;
}

.concentration .title {
  width: 5.7em;
}

.instructions .title-text {
  position: absolute;
  font-size: 93%;
  top: 15%;
  right: 0;
  height: 76%;
  width: 100%;
}

#slider {
  width: 81.2%;
  height: 35%;
  top: 1.84em;
  border-radius: 1.0em;
  background-color: #155562;
  border: 0em;
  cursor: pointer;
  /* margin-left: -12em; */
  left: 19.5%;
  position: absolute;
}

a.ui-slider-handle.ui-state-default.ui-corner-all {
  width: 1.5em;
  height: 147%;
  /* opacity: 0.6; */
  top: -.5em;
  /* margin-left: 4em; */
  /* transform: scale(1.1); */
  /* color: #257785; */
  background-color: #4ECADA;
  border-color: #4ECADA;
  border-radius: .3em;
  cursor: pointer;
}

.ui-slider-range.ui-widget-header.ui-corner-all.ui-slider-range-min {
  background-color: transparent;
  /* transform: scale(1.1); */
  /* transform: scaleY(1.1); */
  top: .37em;
  height: 2.01em;
  cursor: pointer;
  border-radius: 1.3em;
}

.solutionChoice {
  position: absolute;
  right: 0;
  width: 100%;
  height: 1.2em;
  font-size: 1.7em;
  cursor: pointer;
}

  .solutionChoice[data-solution="copper"] {
    top: 31%;
  }

  .solutionChoice[data-solution="gold"] {
    top: 56%;
  }

  .solutionChoice[data-solution="zinc"] {
    top: 81%;
  }

  .solutionChoice * {
    pointer-events: none;
  }

.solutionButton {
  position: absolute;
  border: 0.13em solid lightgrey;
  border-radius: 50%;
  top: 3%;
  right: 7%;
  transition: border-color linear 0.25s;
  padding: 0.2em;
}

.solutionChoice.checked .solutionButton {
  border-color: orange;
}

.solutionChoice:hover .solutionButton {
  border-color: white;
}


.solutionButton div {
  background-color: #155562;
  transition: background-color linear 0.25s;
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
}

.solutionChoice:hover .solutionButton div {
  background-color: white;
}

.solutionChoice.checked .solutionButton div {
  background-color: orange;
}


.solutionName {
  transition: color linear 0.25s;
  color: lightgrey;
  position: absolute;
  top: 12%;
  right: 23%;
  font-size: 0.9em;
}

.solutionChoice:hover .solutionName {
  color: white;
}

.solutionChoice.checked .solutionName {
  color: orange;
}

input[type=radio]:not(:checked) ~ .check::before {
  background: rgba(0,0,255,0);
}

#solution-buttons li input[type=radio]:checked ~ .check {
  border: .2em solid #FEA104;
}

.concentration-text {
  font-size: 1.28em;
  color: white;
  position: absolute;
  top: -0.7em;
}

  .concentration-text#low {
    right: 7.7em;
  }

  .concentration-text#medium {
    right: 2.9em;
  }

  .concentration-text#high {
    right: -1.6em;
  }

.fastforward {
  position: absolute;
  top: 107%;
  left: 26%;
  width: 45%;
  height: 2.4em;
  background-color: #155562;
  border-radius: 4em;
  background-image: url(img/fastforward.svg);
  background-repeat: repeat-x;
  background-position-x: 50%;
  background-repeat: no-repeat;
}

.fauxfill {
  width: 18.2%;
  height: 77%;
  left: -9.7%;
  position: absolute;
  background-color: #2e8f9e;
  border-radius: 1.0em;
  top: 11%;
}

.valueCell span {
  font-size: 1.1em;
}

.fauxfill[data-value="2"] {
  width: 67%;
}

.fauxfill[data-value="3"] {
  width: 117%;
}

#posiTemplate {
  border-radius: 1.0em;
  background: radial-gradient(circle, red, orangered, orange);
  width: 3.0em;
  height: 3.0em;
}

#negaTemplate {
  border-radius: 1.0em;
  background: radial-gradient(circle, blue, #0080FF, green);
  width: 3.0em;
  height: 3.0em;
}

.concentration-background {
  background-image: url('img/slider-background.png');
  width: 83%;
  height: 35%;
  top: 41%;
  left: 10.3%;
  position: absolute;
  /* transform: scale(0.5); */
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}



/*

table#table {
	width: 100%;
	height: 100%;
	background: white;
}

th {
	color: darkblue;
	font-size: 17em;
	width: 22.3%;
	/* position: absolute; */ /*
	top: 0.7em;
	direction: rtl;
	background: grey;
}

	th#liter {
		left: 2.1em;
	}

	th#gram {
		left: 16.1em;
	}

	th#conc {
		left: 30em;
	}

	th#solu {
		left: 44em;
	}

td {
	/* position: absolute; */ /*
	top: 2.5em;
	/* height: 20.2%; */ /*
	width: 22%;
	text-align: center;
	font-size: 19em;
	background: white;
}

	td.trash-item {
		width: 3%;
		left: 1%;
		background-image: url('img/trash.svg');
		background-repeat: no-repeat;
		background-position: 0.75em;
		background-size: 1.2em;
	}

	td.liter-item {
		left: 4.5%;
	}

	td.gram-item {
		left: 26.8%;
	}

	td.conc-item {
		left: 49.1%;
	}

	td.solu-item {
		left: 71.4%;
	}

	td.num-item {
		left: 93.7%;
		width: 3.1%;
	}

tr#table-headers {
	height: 33%;
}

th#trash {
	width: 4.2%;
}

th#num, .num-item {
	width: 5.2%;
	text-align: left;
}*/















.datagrid table {
  border-collapse: collapse;
  text-align: left;
  width: 98%;
  height: 100%;
  direction: rtl;
}

.datagrid {
  /* font: normal 12px/150% Arial, Helvetica, sans-serif; */
  background: #D2DFE7;
  overflow: hidden;
  border: .5em solid #D2DFE7;
  border-bottom: .1em;
  height: 68%;
}

  .datagrid table td, .datagrid table th {
    /* padding: 0em 0em; */
  }

  .datagrid table thead th {
    background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #C2D3DB), color-stop(1, #C2D3DB) );
    background: -moz-linear-gradient( center top, #999999 5%, #999999 100% );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#999999', endColorstr='#999999');
    background-color: #C2D3DB;
    color: #064858;
    font-size: 2em;
    font-weight: bold;
    border: 0.3em solid #D2DFE7;
    border-top: 0em;
    width: 20%;
  }

    .datagrid table thead th:first-child, .datagrid table tbody td:first-child {
      /* border: none; */
      width: 3.5%;
      /* border-left: none; */
    }

  .datagrid table tbody td {
    color: #00496B;
    border-left: 0.3em solid #D2DFE7;
    font-size: 19em;
    border-bottom: 0.2em solid #D2DFE7;
    font-weight: normal;
    background: #EDF2F5;
    width: 20%;
  }

    .datagrid table tbody td.trash-item {
      /* border-left: none; */
      background-image: url('img/trash.svg');
      background-repeat: no-repeat;
      background-position: 0.35em;
      background-size: 1.3em;
      /* background-position-y: 0.65em; */
      cursor: pointer;
    }

  .datagrid table tbody tr:last-child td {
    border-bottom: none;
  }

  .datagrid table thead th:last-child, .datagrid table tbody td:last-child {
    width: 5.3%;
  }

tr {
  text-align: center;
  /* height: 5em; */
}

thead {
  font-size: 8em;
}

div#scroller {
  width: 2.4%;
  height: 104%;
  position: absolute;
  top: 0;
  right: 0;
  background-color: #D2DFE7;
  pointer-events: none;
}

canvas#simulationCanvas {
  width: 100%;
  height: 100%;
}



#stage {
  /* Chrome,Safari4+ */
  /* Chrome10+,Safari5.1+ */
  /* FF3.6+ */
  /* IE10+ */
  /* Opera 11.10+ */
  /* W3C */
  position: relative;
  width: 100%;
  height: 100%;
  background: #7AAADA;
  background: -moz-linear-gradient(top, #7aaada 0%, #285179 75%, #357cc1 100%);
  background: -ms-linear-gradient(top, #7aaada 0%, #285179 75%, #357cc1 100%);
  background: -o-linear-gradient(top, #7aaada 0%, #285179 75%, #357cc1 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #7aaada), color-stop(75%, #285179), color-stop(100%, #357cc1));
  background: -webkit-linear-gradient(top, #7aaada 0%, #285179 75%, #357cc1 100%);
  background: linear-gradient(to bottom, #7aaada 0%, #285179 75%, #357cc1 100%);
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzdhYWFkYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijc1JSIgc3RvcC1jb2xvcj0iIzI4NTE3OSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMzNTdjYzEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
}

#capsule-wrapper {
  position: absolute;
  top: 15.9em;
  right: 23%;
  width: 57.2%;
  height: 20.3em;
  -moz-transform-origin: top right;
  -ms-transform-origin: top right;
  -o-transform-origin: top right;
  -webkit-transform-origin: top right;
  transform-origin: top right;
}

#capsulebg {
  position: absolute;
  width: 100%;
  height: 100%;
  display: none;
}

#capsule {
  position: absolute;
  top: 22%;
  left: 5%;
  width: 90%;
  height: 74%;
  background-color: rgba(64, 164, 223, 0.3);
  border-bottom-left-radius: 12%;
  border-bottom-right-radius: 12%;
}

  #capsule #divider {
    position: absolute;
    top: 4em;
    bottom: 4em;
    left: 50%;
    margin-left: -5em;
    width: 9em;
    border: 1em solid white;
  }

    #capsule #divider.open {
      top: 0;
      bottom: 0;
      margin-left: 0;
      width: 1px;
      border: none;
      border-right: 1px dashed white;
    }

#capsulebottom {
  position: absolute;
  bottom: -8.7%;
  left: 1.2%;
  width: 97%;
  height: 97.5%;
  z-index: 26;
}

.glow {
  position: absolute;
  bottom: 0;
  left: 0;
}
















canvas.big-canvas {
  width: 100%;
  height: 100%;
}


.electrodeLeft, .electrodeRight {
  width: 1.8em;
  height: 1.8em;
  /* background-color: gray; */
  position: absolute;
  top: 15.9em;
  /* display: none; */
  background-repeat: no-repeat;
}

.electrodeLeft {
  left: 37.1%;
  background-image: url(img/minus_sign.svg);
}

.electrodeRight {
  left: 57.2%;
  background-image: url(img/plus_sign.svg);
}

.electrodeLeft.batteryFlipped {
  background-image: url(img/plus_sign.svg);
}

.electrodeRight.batteryFlipped {
  background-image: url(img/minus_sign.svg);
}




.battery-button {
  position: absolute;
  width: 5%;
  height: 4.8em;
  /* background-color: grey; */
  top: 18.1em;
  left: 87.7%;
  background-image: url(img/switch_off.png);
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
}

#divider {
  opacity: 0;
}

.battery {
  position: absolute;
  width: 9%;
  height: 7.1em;
  top: 24.6em;
  left: 79.3%;
  /* background-color: orange; */
  background-image: url(img/battery.png);
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotateY(180deg);
}

  .battery.batteryFlipped {
    /* background-color: darkorange; */
    transform: rotateY(0deg);
  }

.battery-button.circuitOn {
  /* background-color: green; */
  background-image: url(img/switch_on.png);
}

.fastforward[data-value="speed1"] {
  /* background-color: darkblue; */
  background-size: 101% 100%;
}

.fastforward[data-value="speed2"] {
  /* background-color: blue; */
  background-size: 52% 100%;
}

.fastforward[data-value="speed3"] {
  /* background-color: cyan; */
  background-size: 43% 100%;
}

.lightbulb, .light {
  position: absolute;
  width: 11.5%;
  height: 9.8em;
  background-image: url(img/lightbulb.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.lightbulb {
  top: 7.4em;
  left: 80%;
}

  .lightbulb.circuitOn {
    /* background-color: yellow; */
    /* background: radial-gradient(rgba(255,255,0,1), rgba(255,255,255,0), rgba(255,255,255,0)); */
    /* border-radius: 100%; */
    /* background-position-y: -10em; */
    /* background-image: url(img/lightbulb_on.png); */
    /* background-position-x: 6em; */
    /* background-position-y: -19em; */
    /* height: 131em; */
  }

.slider-hit {
  position: absolute;
  top: 31em;
  width: 45%;
  height: 33%;
  cursor: pointer;
}

#hit0 {
  left: -17em;
  border-top-left-radius: 9em;
  border-bottom-left-radius: 9em;
  /* background-color: white; */
}

#hit1 {
  left: 47.2em;
  /* background-color: gray; */
  border-radius: 0;
}

#hit2 {
  /* background-color: black; */
  right: -31em;
  border-top-right-radius: 9em;
  border-bottom-right-radius: 9em;
}

a.ui-slider-handle.ui-state-default.ui-corner-all[data-value="value1"] {
  /* margin-left: 15em; */
}

a.ui-slider-handle.ui-state-default.ui-corner-all[data-value="value3"] {
  /* margin-left: -10em; */
}

.ui-slider-range.ui-widget-header.ui-corner-all.ui-slider-range-min[data-value="value2"] {
  transform: scaleX(1.1);
  margin-left: 5.5em;
}

.index {
  background-color: rgba(255,255,255,0.2);
  width: 11.5%;
  height: 37.1em;
  position: absolute;
  top: 1.5em;
  left: 2.1%;
  text-align: center;
}

.index-title {
  height: 10.3%;
  width: 100%;
  background: #155562;
  font-size: 2.0em;
  text-align: center;
  line-height: 1.6;
  color: white;
}












/*ul li{
  /* color: #AAAAAA; */ /*
  display: block;
  /* position: relative; */
/* float: left; */
/* width: 100%; */
/* height: 26em; */
/* position: absolute; */
/* top: 72%; */
/* right: -93%; */ /*
}

ul li input[type=radio]{
  position: absolute;
  visibility: hidden;
}

ul li label{
  display: block;
  /* position: relative; */ /*
  font-weight: 300;
  font-size: 1.35em;
  /* padding: 25px 25px 25px 80px; */
/* margin: 10px auto; */
/* height: 1em; */
/* z-index: 9; */ /*
  cursor: pointer;
  -webkit-transition: all 0.25s linear;
  font-size: 29em;
  color: white;
  width: 1em;
}

ul li:hover label{
	color: lightgray;
}

ul li .check{
  display: block;
  position: absolute;
  border: 5px solid lightblue;
  border-radius: 100%;
  height: 14em;
  width: 14em;
  top: 0em;
  right: 0em;
  /* z-index: 5; */ /*
  transition: border .25s linear;
  -webkit-transition: border .25s linear;
}

ul li:hover .check {
  border: 5px solid blue;
}

ul li .check::before {
  display: block;
  position: absolute;
	content: '';
  border-radius: 100%;
  height: 15px;
  width: 15px;
  top: 5px;
	left: 5px;
  margin: auto;
	transition: background 0.25s linear;
	-webkit-transition: background 0.25s linear;
}

input[type=radio]:checked ~ label{
  color: orange;
}*/



#polarity-buttons {
  list-style: none;
  width: 8.2%;
  height: 11%;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 75%;
  right: 1.3%;
  background-color: rgba(128,128,128,0.2);
  border-radius: 17%;
}

  #polarity-buttons li {
    color: #155562;
    display: block;
    position: absolute;
    float: left;
    width: 30%;
    right: 28%;
    /* height: 100px; */
    /* border-bottom: 1px solid #111111; */
  }

    #polarity-buttons li input[type=radio] {
      position: absolute;
      visibility: hidden;
    }

    #polarity-buttons li label,
    #polarity-buttons .polarity-caption {
      display: block;
      position: absolute;
      font-weight: 300;
      font-size: 1.35em;
      /* padding: 0.8em 0.7em 0em 0em; */
      /* margin: 10px auto; */
      height: 1.4em;
      z-index: 9;
      cursor: pointer;
      -webkit-transition: color 0.25s linear;
      font-size: 19em;
      right: -1.6em;
      top: 0.8em;
      width: 4.6em;
      line-height: 1em;
      text-align: right;
    }

  #polarity-buttons .polarity-caption {
    right: 82%;
    width: 100%;
    pointer-events: none;
    font-size: 21em;
    /* margin-right: 7%; */
    /* margin-top: 19%; */
  }

li:hover label {
  color: #FFFFFF;
}

li:hover .polarity-caption {
  color: lightcyan;
}

#polarity-buttons li .check {
  display: block;
  position: absolute;
  border: 2em solid lightblue;
  border-radius: 100%;
  height: 20em;
  width: 20em;
  top: 16em;
  left: 10em;
  z-index: 5;
  transition: border .25s linear;
  -webkit-transition: border .25s linear;
}

#polarity-buttons li:hover .check {
  border: 2em solid lightcyan;
}

#polarity-buttons li .check::before {
  display: block;
  position: absolute;
  content: '';
  border-radius: 100%;
  height: 13em;
  width: 13em;
  top: 3.24em;
  left: 3.5em;
  margin: auto;
  transition: background 0.25s linear;
  -webkit-transition: background 0.25s linear;
}

input[type=radio]:checked ~ .polarity-caption {
  color: orange;
}

li#CWiseButton {
  top: -22%;
}

li#CCWiseButton {
  top: 24%;
}

#polarity-buttons li input[type=radio]:checked ~ .check {
  border: 2em solid #FEA104;
}

#capsulesolution {
  position: absolute;
  width: 90%;
  height: 74%;
  top: 22%;
  left: 5%;
  opacity: 0;
  border-bottom-left-radius: 1.5em;
  border-bottom-right-radius: 1.5em;
  z-index: 27;
}

.light {
  background-image: url(img/lightbulb_on.png);
  opacity: 0;
  width: 100%;
  height: 100%;
}

input[type=radio]:not(:checked):hover ~ .check::before {
  background-color: lightcyan;
}


#particle-container {
  position: absolute;
  top: -30%;
  left: 17%;
  width: 100%;
  height: 100%;
}

canvas.copper-canvas,
canvas.gold-canvas,
canvas.zinc-canvas,
canvas.chlorine-canvas {
  transform: scale(0.075);
  position: absolute;
  width: 67%;
  z-index: 2;
}

canvas.copper-canvas,
canvas.zinc-canvas,
canvas.chlorine-canvas {
  /* transform: scale(0.109375); */
}

.hasReacted {
  opacity: 0.1;
}

#circuit-canvas {
  position: absolute;
  top: 5.8em;
  left: 37%;
  width: 53.4%;
  height: 20.7em;
}

#clock-canvas {
  width: 100%;
  height: 100%;
}

input {
  width: 98%;
  height: 20%;
  font-size: 25em;
}


.datagrid.table-header {
  /* position: absolute; */
  height: 27%;
  z-index: 2;
  /* background: rgba(0,0,0,0); */
  /* border: 5em solid rgba(0,0,0,0); */
}

.index-entry {
  width: 100%;
  /* height: 17%; */
  margin-bottom: 20em;
  margin-top: 30em;
}

  .index-entry img {
    width: 100%;
    margin-bottom: 10em;
    transform: scale(1);
  }

  .index-entry div {
    font-size: 20em;
  }

canvas#reaction-canvas {
  position: absolute;
  top: -5%;
  z-index: 1;
}

canvas#capsule-canvas {
  z-index: 27;
  position: absolute;
}

canvas.chlorine-canvas {
  transform: scale(0.2);
}

input[type=number] {
  display: none;
}

.battery .electrodeLeft, .battery .electrodeRight {
  width: 21%;
  height: 17%;
  top: 19%;
}

  .battery .electrodeLeft, .battery .electrodeRight.batteryFlipped {
    left: 10%;
  }

    .battery .electrodeRight, .battery .electrodeLeft.batteryFlipped {
      left: 56%;
    }

#index3 img {
  width: 33%;
}

#index1 img {
  width: 66%;
}

#index2 img {
  width: 66%;
}

#electrons-canvas, #electrons-reverse-canvas {
  position: absolute;
  transform: scale(0.35);
  transform-origin: top center;
  top: -11%;
  width: 100%;
  z-index: 2;
  display: none;
}


  #electrons-canvas, #electrons-reverse-canvas.batteryFlipped {
    left: -20.2%;
  }

    #electrons-canvas.batteryFlipped, #electrons-reverse-canvas {
      left: 19.6%;
    }

.notable #table-container {
  display: none;
}

.notable .simulation-space, .notable .control-space {
  height: 100%;
}

#polarity-button {
  transition: transform ease-in-out 0.3s;
  position: absolute;
  width: 6.7em;
  height: 5.0em;
  top: 33.4em;
  right: 11%;
  cursor: pointer;
}

  #polarity-button.pm {
    transform: rotate(180deg);
  }

#polarity-inner {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

#index-bg {
  background-size: 100% 100%;
  width: 100%;
  height: 89.4%;
  position: absolute;
  bottom: 0;
  left: 0;
  background-image: url(img/pas_copper.png);
}

.indexName {
  width: 100%;
  height: 8%;
  text-align: center;
  color: #145664;
  font-size: 1.35em;
  position: absolute;
  left: 0;
}

  .indexName[data-index="1"] {
    top: 19.7%;
  }

  .indexName[data-index="2"] {
    top: 38%;
  }

  .indexName[data-index="3"] {
    top: 58.2%;
  }

  .indexName[data-index="4"] {
    top: 77.9%;
  }

  .indexName[data-index="5"] {
    top: 95.2%;
  }

#zoomin-canvas {
  width: 6.0em;
  height: 6.0em;
  position: absolute;
  top: 7.7%;
  left: 53.8%;
  display: none;
}

#zoomin-triangle {
  background-image: url(img/triangle.svg);
  background-size: 100% 100%;
  position: absolute;
  width: .9em;
  height: 1.8em;
  top: 19.9%;
  left: 57.4%;
  display: none;
}

.magnify {
  background-image: url(img/magnify.svg);
  background-size: 100% 100%;
  position: absolute;
  width: 3.3em;
  height: 3.3em;
  top: 20.5em;
  z-index: 5654654654654654;
  display: none;
  cursor: pointer;
}

#magL {
  left: 38.3%;
}

#magR {
  left: 58.4%;
}

.magCanvas {
  width: 2.9em;
  height: 2.9em;
  position: absolute;
  transition: opacity linear 0.3s, transform ease-in-out 0.4s;
  top: 22.3em;
  opacity: 0;
  transform-origin: 50% 50%;
  z-index: 3543534534;
  display: none;
}

  .magCanvas[data-position="right"] {
    left: 58.1%;
    display: inline-block;
  }

  .magCanvas[data-position="left"] {
    left: 38.1%;
    display: inline-block;
  }

  .magCanvas.active {
    opacity: 1;
  }

  .magCanvas[data-position="right"].active {
    transform: scale(9.1) translate(.4em, -1.23em);
  }

  .magCanvas[data-position="left"].active {
    transform: scale(9.1) translate(-.54em, -1.23em);
  }

.ex {
  position: absolute;
  top: 3.3em;
  cursor: pointer;
  width: 2.8em;
  height: 2.9em;
  z-index: 34523453453453454534;
  display: none;
}

#exR {
  left: 77.4%;
}

#exL {
  left: 43.5%;
}

#magTriangleL, #magTriangleR {
  background-image: url(img/triangle.svg);
  background-size: 100% 100%;
  position: absolute;
  width: 4.8em;
  height: 3.73em;
  top: 20.9em;
  z-index: 34534534;
  display: none;
  pointer-events: none;
}

#magTriangleL {
  left: 31.4%;
}

#magTriangleR {
  right: 34%;
  transform: scaleX(-1);
}

.st0 {
  fill: none;
  stroke: #FFFFFF;
  stroke-miterlimit: 10;
  transition: stroke linear 0.15s;
}

.st1 {
  fill: #FFFFFF;
  transition: fill linear 0.15s;
}

#polarity-button:hover .st1 {
  fill: orange;
}

#polarity-button:hover .st0 {
  stroke: orange;
}

#polarity-button.inactive {
  pointer-events: none;
}

.game-container.running #control-overlay {
  display: inline-block;
}

#control-overlay {
  display: none;
  position: absolute;
  bottom: 0;
  height: calc(100% - 69em);
  left: 0;
  z-index: 7892;
  width: 100%;
  background-color: black;
  opacity: 0.3;
}

.notable #control-overlay {
  height: calc(100% - 88em);
}

.notable .zoomin {
  display: none !important;
}

#polarity-button.inactive .st0 {
  stroke: grey;
}

#polarity-button.inactive .st1 {
  fill: grey;
}

#preloader {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  overflow: visible;
  background: #333 url('img/loading.gif') no-repeat center center;
  transition: opacity linear 0.5s;
  opacity: 1;
}

  #preloader.hide {
    opacity: 0;
    pointer-events: none;
  }

.lineNumber {
  width: 1.5em !important;
}

#total-overlay {
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.3;
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 234234234234;
}

#delete-window {
  background-color: #D9D9E3;
  position: absolute;
  transform-origin: 50% 50%;
  transition: transform ease-in-out 0.5s;
  box-shadow: #485962 -0.3em 0.3em;
  width: 52%;
  height: 42.5%;
  transform: scale(0);
  z-index: 2342342342344;
  top: 26%;
  right: 22%;
  border: .1em solid black;
}

  #delete-window.active {
    transform: scale(1);
  }

#ex {
  cursor: pointer;
  /* width: 1.5em; */
  /* height: 1.5em; */
  position: absolute;
  top: 2%;
  right: 2%;
  color: #165662;
  font-size: 2.4em;
}

#delete-text {
  text-align: center;
  width: 100%;
  height: 40%;
  font-size: 2.87em;
  direction: rtl;
  color: #165662;
  position: absolute;
  top: 29%;
  right: 0;
}

#button-yes, #button-no {
  position: absolute;
  color: #165662;
  font-size: 2.62em;
  background-color: #D9D9E3;
  width: 27%;
  height: 17%;
  bottom: 1.3em;
  padding-top: 0.1em;
  border: 0.08em solid #165662;
  border-radius: 0.1em;
  text-align: center;
  cursor: pointer;
}

  #button-yes:hover, #button-no:hover {
    background-color: #20ADBE;
    color: white;
  }

#button-yes {
  right: 57%;
}

#button-no {
  right: 16.3%;
}

@-webkit-keyframes blinker {
  from {
    opacity: 1.0;
  }

  to {
    opacity: 0.0;
  }
}

@keyframes blinker {
  from {
    opacity: 1.0;
  }

  to {
    opacity: 0.0;
  }
}

#blink {
  animation: blinker infinite ease-in-out 0.6s;
  border-radius: 50%;
  background-color: black;
  width: .97em;
  height: .97em;
  position: absolute;
  top: 40%;
  left: 35%;
  pointer-events: none;
}

.circuitOn #blink {
  display: none;
}

.notable .index {
  top: 18em;
}

#hand-canvas {
  width: 33.4em;
  height: 66.5em;
  position: absolute;
  top: 198em;
  z-index: 9978;
  pointer-events: none;
  right: 41em;
}

.fade {
  transition: opacity ease-in-out 0.4s;
  opacity: 0;
}

#slidertop {
  width: 24.1em;
  height: 21.8em;
  position: absolute;
  top: 17em;
  left: 145em;
  cursor: pointer;
}


.mCSB_scrollTools {
  width: 2.1em !important;
}

  .mCSB_scrollTools .mCSB_draggerContainer {
    left: .7em !important;
  }

  .mCSB_scrollTools .mCSB_draggerRail {
    width: .31em !important;
  }

  .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    width: .35em !important;
  }
