* {
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

html,
body,
.hwe-container {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

@font-face {
  font-family: 'fontello';
  src: url('./font/fontello.eot?37407921');
  src: url('./font/fontello.eot?37407921#iefix') format('embedded-opentype'),
    url('./font/fontello.woff?37407921') format('woff'),
    url('./font/fontello.ttf?37407921') format('truetype'),
    url('./font/fontello.svg?37407921#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}

/* Scroll bot plugin css */
.scrollbar-inner>.scroll-element.scroll-y {
  width: 5px;
}

.scrollbar-inner>.scroll-element .scroll-element_track {
  background-color: #ffffff;
}

.scrollbar-inner>.scroll-element .scroll-bar {
  background-color: rgba(0, 0, 0, 0.20);
  opacity: 1;
}

.hwe-heading {
  display: flex;
  height: 60px;
  width: 100%;
}

.hwe-heading>div:first-child {
  flex: 1;
  height: 50px;
  margin-top: 5px;
  overflow: auto;
  font-size: 15px;
  color: #373A3C;
  letter-spacing: -0.34px;
  line-height: 22px;
}

.hwe-heading>div:last-child {
  width: 180px;
  display: flex;
}

.hwe-heading-text .scroll-element.scroll-y {
  z-index: 1;
}

.hwe-heading button {
  width: 80px;
  height: 30px;
  margin-top: 15px;
  margin-left: 10px;
  background-color: white;
  color: #164569;
  border: 1px solid #164569;
  border-radius: 3px;
  padding: 0;
  font-size: 14px;
  cursor: pointer;
  letter-spacing: -0.26px;
}

.hwe-heading button:disabled {
  color: #000000;
  opacity: 0.3;
}

.hwe-heading button.reset-button {
  margin-left: 6px;
}

.hwe-activity-options-container {
  display: flex;
  width: 100%;
  height: 300px;
}

.hwe-activity-options-container>div:first-child {
  flex: 1;
}

.hwe-activity-options-container>div:last-child {
  width: 430px;
}

.hwe-activity-container {
  width: 428px;
  height: 277px;
  padding: 5px;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.15);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.hwe-activity {
  width: 418px;
  height: 267px;
  background-image: url(../assets/images/grassland_combine.png)
}

.hwe-activity.brown-background {
  background-image: url(../assets/images/drought_combine.png)
}

.hwe-activity-options {
  width: 396px;
  height: 300px;
  padding-right: 10px;
}

.hwe-activity-options-heading {
  height: 30px;
  display: flex;
}

.hwe-activity-options-heading-controls {
  flex: 1;
  display: flex;
  align-items: center;
}

.hwe-activity-options-heading-controls:first-child {
  justify-content: flex-end;
}

.hwe-activity-options-heading-controls button {
  width: 24px;
  height: 24px;
  border: none;
  box-shadow: none;
  padding: 0;
  cursor: pointer;
  border-radius: 100%;
  color: transparent;
  background-color: transparent;
}

.hwe-activity-options-heading-controls button.icon-left-open {
  background-image: url(../assets/images/icons/back-icon.png);
}

.hwe-activity-options-heading-controls button.icon-left-open:disabled {
  background-image: url(../assets/images/icons/Back-icon-disabled.png);
}

.hwe-activity-options-heading-controls button.icon-right-open {
  background-image: url(../assets/images/icons/Next-icon.png);
}

.hwe-activity-options-heading-controls button.icon-right-open:disabled {
  background-image: url(../assets/images/icons/next-icon-disabled.png);
}

.hwe-activity-option-heading {
  font-size: 18px;
  color: #373A3C;
  width: 200px;
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.hwe-activity-option-heading .icon-dice {
  background-image: url(../assets/images/icons/Experiment-icon.png);
  width: 24px;
  height: 24px;
}

.hwe-activity-option-heading .icon-chart-bar {
  background-image: url(../assets/images/icons/data-icon.png);
  width: 24px;
  height: 24px;
}

.hwe-activity-option-tabs {
  height: 270px;
}

.hwe-activity-option-tab {
  width: 100%;
  height: 100%;
  display: none;
  overflow: auto;
}

.hwe-activity-option-tab.active {
  display: block;
}

.hwe-activity-option-tab-heading {
  background-color: #164569;
  border-radius: 4px;
  color: white;
  font-size: 14px;
  height: 24px;
  width: 337px;
  margin: 10px auto;
  text-align: center;
  line-height: 24px;
}

.hwe-activity-option-container {
  width: 100%;
  overflow: auto;
  height: 220px;
}

.hwe-activity-option>div:first-child {
  height: 40px;
  width: 100%;
  background-color: #f1f4f6;
  border-bottom: 1px solid #e3e3e5;
}

.hwe-activity-option>div:first-child p {
  margin: 0;
  height: 40px;
  line-height: 40px;
  padding-left: 20px;
  font-size: 14px;
  color: #190000;
  letter-spacing: -0.26px;
}

.hwe-activity-option>div:first-child p span {
  font-weight: bold;
}

.hwe-activity-option>div:last-child {
  display: flex;
  height: 40px;
  width: 100%;
  border-bottom: 1px solid #e3e3e5;
}

.hwe-activity-option>div:last-child span {
  width: 67px;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.hwe-activity-option>div:last-child>div {
  width: 100%;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.hwe-activity-option>div:last-child>div input[type=range] {
  width: 100%;
  height: 25px;
  display: inline-block;
  margin: 0;
  -webkit-appearance: none;
}

.hwe-activity-option.initial-allele-proportion .slider-fill-upper .interval:last-child {
  display: none;
}

.hwe-activity-option.migration-rate .slider-fill-upper .interval:last-child {
  display: none;
}

.hwe-activity-option.migrant-g-allele-proportion .slider-fill-upper .interval:last-child {
  display: none;
}

.hwe-activity-option.hwe-plant-color>div:last-child {
  height: 75px;
}

.hwe-activity-option.hwe-plant-color>div:last-child>div {
  flex-direction: column;
}

.hwe-plant-color-gradient {
  background-image: linear-gradient(270deg, #6E0202 0%, #3FD24B 100%);
  height: 9px;
  width: 90%;
  margin: 10px 0px;
}

.hwe-activity-option.genotype-relative-fitness .slider-fill-upper .interval:last-child {
  display: none;
}

.edge-slider input[type=range]:focus {
  /* outline: none; */
}

.ui-tabs-nav {
  height: 24px;
  width: 336px;
  margin: 10px auto;
  list-style: none;
  padding: 0;
}

.ui-tabs-nav li {
  display: inline-block;
  width: 166px;
  float: left;
  text-align: center;
  height: 24px;
  line-height: 23px;
  border: 1px solid #164569;
}

.ui-tabs-nav li a {
  text-decoration: none;
  color: #164569;
  padding: 0px 56px;
  font-size: 14px;
  display: block;
}

.ui-tabs-nav li:first-child {
  border-radius: 4px 0px 0px 4px;
}

.ui-tabs-nav li:last-child {
  border-radius: 0px 4px 4px 0px;
}

.ui-tabs-active {
  background-color: #164569;
}

.ui-tabs-active {
  color: #ffffff !important;
}

.ui-tabs-panel {
  display: none;
  height: 220px;
  overflow: auto;
}

.ui-tabs-panel.active {
  display: block;
}

.hwe-activity-data-table-container {
  background-color: rgba(22, 69, 105, 0.06);
  width: 100%;
  padding: 10px 0px;
}

.hwe-activity-data-table {
  width: calc(100% - 20px);
  margin: 0 auto;
  border-collapse: collapse;
  color: #333333;
  font-size: 14px;
}

.hwe-activity-data-table tr {
  height: 26px;
}

.hwe-activity-data-table tr td {
  border: 1px solid #297DBE;
  text-align: center;
}

.hwe-activity-data-table tr td:last-child {
  width: 110px;
}

.hwe-activity-data-table tr:nth-child(odd) td:first-child {
  background-color: #D3EAF3;
}

.hwe-activity-data-table tr:nth-child(even) td:first-child {
  background-color: #AFDBE8;
}

.hwe-activity-data-table tr:nth-child(odd) td:last-child {
  background-color: #FFFFFF;
}

.hwe-charts-container {
  background-color: rgba(22, 69, 105, 0.06);
  width: 100%;
  padding: 10px 0px;
  height: 210px;
  overflow: auto;
}

.hwe-chart-container {
  height: 190px;
  width: calc(100% - 70px);
  margin: 0 auto;
  background: white;
  border: 1px solid #297DBE;
  position: relative;
  margin-top: 10px;
  margin-bottom: 10px;
}

.hwe-chart-heading {
  height: 30px;
  margin-top: 0;
  background: #AFDBE8;
  border-bottom: 1px solid #297DBE;
  font-size: 14px;
  color: #333333;
  letter-spacing: -0.22px;
  text-align: center;
  line-height: 30px;
}

.hwe-chart-generation-label {
  position: absolute;
  bottom: 12px;
  font-size: 12px;
  right: 7px;
}

.hwe-activity-controls-container {
  position: absolute;
  bottom: -44px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 228px;
  height: 57px;
}

.hwe-activity-controls-open-close {
  width: 228px;
  background-color: rgba(58, 58, 58, 0.70);
  border-radius: 4px;
  height: 8px;
  margin-bottom: 5px;
  border: none;
  box-shadow: none;
  position: relative;
  cursor: pointer;
}

.hwe-activity-controls-open-close:before {
  content: '';
  width: 40px;
  height: 4px;
  background-color: white;
  position: absolute;
  border-radius: 4px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.hwe-activity-controls {
  background-color: rgba(58, 58, 58, 0.70);
  border-radius: 4px;
  width: 228px;
  height: 47px;
  display: none;
}

.hwe-activity-controls>div {
  flex: 1;
}

.hwe-activity-controls-button {
  width: 57px;
  height: 47px;
  background-color: transparent;
  box-shadow: none;
  border: none;
  color: white;
  font-size: 25px;
  padding: 0;
  background-repeat: no-repeat;
}

.hwe-activity-controls-button.icon-pause {
  background-image: url(../assets/images/icons/pause-icon.png);
  background-position: 17px 13px;
}

.hwe-activity-controls-button.icon-play {
  background-image: url(../assets/images/icons/play-icon.png);
  background-position: 17px 13px;
}

.hwe-activity-controls-button.icon-fast-bw {
  background-image: url(../assets/images/icons/backward-icon.png);
  background-position: 12px 13px;
}

.hwe-activity-controls-button.icon-fast-fw {
  background-image: url(../assets/images/icons/backward-icon.png);
  background-position: 12px 9px;
  transform: rotate(180deg);
}

.hwe-activity-controls-speed {
  font-size: 13px;
  width: 33px;
  height: 24px;
  background-color: white;
  color: #3a3a3a;
  text-align: center;
  line-height: 25px;
  margin: auto;
  margin-top: 11px;
  border-radius: 5px;
}