html {
  overflow: hidden;
  margin-left: -15px;
}

@font-face {
  font-family: 'Impact';
  src: url('Impact.eot?#iefix') format('embedded-opentype'), url('Impact.woff') format('woff'), url('Impact.ttf') format('truetype'), url('Impact.svg#Impact') format('svg');
  font-weight: normal;
  font-style: normal;
}

BODY {
  width: 854px;
}

.content {
  width: 100%;
  padding: 10px 14px;
  box-sizing: border-box;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  cursor: default;
}

.content .preloader {
  background: url("../../../images/loading.gif") no-repeat 50% 50%;
  width: 100%;
  height: 100%;
}

.content .app-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.content .app-container svg {
  overflow: hidden;
}


.content .description-text {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  background: white;
  font-family: Arial, sans-serif;
  font-size: 18px;
  padding-bottom: 3px;
}

.content .natural-selection-game-container {
  cursor: none;
}

.content .natural-selection-main-canvas {
  position: absolute;
  left: 0;
  top: 0;
}

.content .natural-selection-cached-canvas {
  position: absolute;
  left: 0;
  top: 0;
  display: none;
}

.content .bean-counter {
  position: absolute;
  left: 28px;
  top: 215px;
  width: 150px;
  height: 100px;
  font-family: Impact, serif;
  text-align: center;
  letter-spacing: 1px;
}

.content .bean-counter.middle {
  position: absolute;
  top: 100px;
  letter-spacing: 3px;
  width:300px;
}

.content .bean-counter.left {
  left: 75px;
}

.content .bean-counter.right {
  left: 450px;
}

.content .bean-counter.big {
  position: relative;
  top: -245px;
  left: 0;
  width: 100%;
  height: 100%;
  letter-spacing: 3px;
}

.content .bean-counter .bean-counter-title {
  display: inline-block;
  color: #D0E8EE;
  font-size: 23px;
}

.content .bean-counter.big .bean-counter-title,.content .bean-counter.middle .bean-counter-title {
  font-size: 46px;
}

.content .bean-counter .bean-counter-content {
  display: table;
  width: 150px;
  height: 70px;
  border-collapse: collapse;
}

.content .bean-counter.big .bean-counter-content,.content .bean-counter.middle .bean-counter-content {
  width: 300px;
  height: 140px;
  margin: 0 auto;
}

.content .bean-counter .bean-counter-content-cell {
  display: table-cell;
  border: 1px solid rgba(208, 232, 238, 1);
  background: rgba(208, 232, 238, 0.5);
  box-shadow: 0 0 4px rgba(208, 232, 238, 1);
  width: 50%;
  color: white;
}

.content .bean-counter.big .bean-counter-content-cell,.content .bean-counter.middle .bean-counter-content-cell {
  box-sizing: border-box;
  border: 2px solid rgba(208, 232, 238, 1);
  box-shadow: 0 0 8px rgba(208, 232, 238, 1);
  font-size: 30px;
  line-height: 30px;
}

.content .bean-counter .bean-counter-value {
  font-size: 50px;
  line-height: 50px;
}

.content .bean-counter.big .bean-counter-value,.content .bean-counter.middle .bean-counter-value {
  font-size: 100px;
  line-height: 100px;
}

.content .time-counter {
  position: absolute;
  left: 185px;
  top: 262px;
  width: 60px;
  height: 60px;
  font-family: Impact, serif;
  text-align: center;
  letter-spacing: 1px;
  box-sizing: border-box;
}

.content .time-counter-title {
  display: inline-block;
  color: #D0E8EE;
  font-size: 23px;
}

.content .time-counter-content {
  border: 1px solid rgba(208, 232, 238, 1);
  background: rgba(208, 232, 238, 0.5);
  box-shadow: 0 0 4px rgba(208, 232, 238, 1);
  width: 100%;
  color: white;
  font-size: 18px;
  text-align: center;
}

.content .natural-selection-continue-button {
  position: absolute;
  left:665px;
  top:275px;
  width:125px;
  height:30px;
  cursor: pointer;
}

.uibtn {
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  white-space: nowrap;
  border: 1px solid #8d8e8f;
  background-color: #fefefe;
  background-position: center bottom;
  background-size: 100% 100%;
  zoom: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0
  rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px
  0 rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0
  rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
  -o-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0
  rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
  line-height: 28px;
  height: 28px;
  color: #333;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  margin: 0 0 13px;
  background: #fefefe; /* Old browsers */
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background:
  url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZlZmVmZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlN2U3ZTciIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top, #fefefe 0%, #e7e7e7 100%);
  /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fefefe),
  color-stop(100%, #e7e7e7)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #fefefe 0%, #e7e7e7 100%);
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #fefefe 0%, #e7e7e7 100%);
  /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #fefefe 0%, #e7e7e7 100%);
  /* IE10+ */
  background: linear-gradient(to bottom, #fefefe 0%, #e7e7e7 100%);
  /* W3C */
}

.uibtn:hover {
  background: #ededed; /* Old browsers */
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background:
  url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VkZWRlZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjN2M2YzYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top, #ededed 0%, #c7c6c6 100%);
  /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ededed),
  color-stop(100%, #c7c6c6)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #ededed 0%, #c7c6c6 100%);
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #ededed 0%, #c7c6c6 100%);
  /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #ededed 0%, #c7c6c6 100%);
  /* IE10+ */
  background: linear-gradient(to bottom, #ededed 0%, #c7c6c6 100%);
  /* W3C */
}

.uibtn.disabled,.uibtn.disabled:hover,.uibtn.disabled:active {
  opacity: 0.6;
  cursor: default;
  border: 1px solid #8d8e8f;
  background-color: #fefefe;
  background-position: center bottom;
  background-size: 100% 100%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0
  rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px
  0 rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0
  rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
  -o-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0
  rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
  background-image: linear-gradient(to bottom, #fefefe, #e7e7e7);
  /* Firefox 16+, IE10, Opera 12.50+ */
}
