#rm #hyper {
  position: relative;
}

#rm .hypermodel-wrapper,
#rm .hypermodel-grid,
#rm .hypermodel-body {
  border-top: none;
}

#rm .hypermodel-container {
  background-color: transparent;
  font-size: 100%;
  overflow: visible;
  padding: 0;
  text-transform: uppercase;
  position: relative;
}

#rm .hypermodel-container .hypermodel-area {
  margin-top: 0;
  z-index: 1;
  position: relative;
  display: flex;
  justify-content: left;
}

#rm .hypermodel-grid {
  background-color: var(--card-bg-color-transparent);
  border-radius: 0;
}

#rm .hypermodel-wrapper .hypermodel-area .hypermodel-column {
  display: block;
  vertical-align: top;
  margin: 4px 6% 4px 1px;
  position: relative;
  align-self: center;
}

#rm .hypermodel-wrapper .hypermodel-area .hypermodel-column:last-child {
  margin: 4px 4px 4px 0;
}

#rm .hypermodel-area {
  position: absolute;
  margin-bottom: 0px !important;
  overflow: visible;
}

#rm .hypermodel-wrapper .hypermodel-area .hypermodel-column {
  width: 100% !important;
}

#rm .hypermodel-wrapper .hypermodel-grid .hypermodel-body {
  background-color: transparent;
}

#rm .hypermodel-header {
  padding: 6px 6px 0 0.5em;
  background-color: transparent;
}

#rm .hypermodel-header h3 {
  font-size: 11px;
  line-height: 1.6em;
  font-weight: 700;
}

#rm .hypermodel-header h3:hover {
  background-color: #fff;
}

#rm .hypermodel-body {
  padding: 0.25rem 0 0.25rem 0.25rem;
}

#rm .hypermodel-item {
  background-color: transparent;
  color: var(--font-color);
  width: 100% !important;
  height: auto;
  line-height: 1.7;
  font-size: 11px;
  padding: 0 0 0 0.5em;
  margin-bottom: 0 !important;
  border: 1px solid var(--border-color);
  border-left: 0;
  border-bottom: 0;
  border-right: 0;
  cursor: pointer;
  box-shadow: none;
  overflow: inherit;
}

@media (max-width: 960px) {
  #rm .hypermodel-wrapper .hypermodel-area .hypermodel-column {
    margin: 0 2% 0 0;
    align-self: auto;
  }

  #rm .hypermodel-wrapper .hypermodel-area .hypermodel-column:last-child {
    margin: 0 1px 0 0;
  }
  #rm .hypermodel-wrapper .hypermodel-grid {
    margin-bottom: 9px !important;
  }
}

#rm .hypermodel-wrapper .hypermodel-grid {
  font-size: 13px;
  margin-left: 0;
  margin-bottom: 15px;
  cursor: pointer;
  border: 1px solid var(--border-color);
  box-sizing: border-box;
}

#rm span.lucky {
  position: relative;
  font-size: 16px;
  color: #faa05a;
}

#rm #hyper svg {
  margin-top: -9px;
  height: 100%;
}

#rm .genderID:before {
  content: "";
  display: block;
  position: absolute;
  overflow: hidden;
  left: 5px;
  width: 3px;
  height: 20px;
  border-radius: 0;
  padding: 0;
}

#rm #ranked .rankedAthletes:last-child {
  border-right: none;
}

#rm .genderID span.athlete {
  padding-left: 0.5rem;
}

#rm .gender-color-female:before {
  background: #f0506e;
}

#rm .gender-color-male:before {
  background: #1e87f0;
}

#rm .gender-color-dummy:before {
  background: #ececec;
}

#rm ul.heat {
  list-style: none;
  padding: 0.5rem;
  margin: 0.25rem;
}

#rm .laneNumbers {
  border-radius: 3px;
  font-size: 1rem;
  border: 1px solid #e8e8e8;
  padding: 1px 0.5rem;
  min-width: 15px;
}

#rm ul.heat li {
  /*border-bottom: 1px solid #d4d4d4;*/
  font-size: 13px;
}

.fancybox-slide--iframe .fancybox-content {
  width: 90% !important;
  height: 90% !important;
  max-width: 95%;
  max-height: 95%;
  margin: 0;
}

#canvasContainer {
  width: 100% !important;
  max-width: 1400px;
  overflow: auto;
  background-color: #fff !important;
  position: relative;
  /*display: flex;*/
  /*justify-content: center;*/
  font-size: 13px;
}

#heats,
#semifinals,
#finals {
  width: 33.3%;
  padding: 0;
  float: left;
  margin: 0 1em 0 0;
  position: relative;
  /*align-self: center;*/
}

#semifinals {
  border-left: 0;
  border-right: 0;
}

#finals {
  border-right: 0;
  margin-right: 0;
}

.heatsBox {
  margin-bottom: 1em;
}

.heatsBox:last-of-type {
  margin-bottom: 0;
}

.heatsLanes {
  margin-bottom: 3em;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.block {
  position: relative;
  background-color: #fff;
  align-items: baseline;
  padding: 0;
  text-transform: uppercase;
  border-bottom: 1px solid #d4d4d4;
}

.block:last-of-type {
  border-bottom: none;
}

.f1,
.f3 {
  background-color: #fff;
  color: #111;
}
.f2,
.f4 {
  background-color: #fff;
  color: #111;
}

.sf,
.sf1,
.sf3 {
  background-color: #fff;
  color: #111;
}
.sf2,
.sf4 {
  background-color: #fff;
  color: #111;
}

.final_f,
.final_fa {
  background-color: #fff;
  color: #111;
}
.final_fb {
  background-color: #fff;
  color: #111;
}
.final_fc {
  background-color: #fff;
  color: #111;
}
.final_fd {
  background-color: #fff;
  color: #111;
}

.lit {
  background-color: #000;
  color: #fff;
}

#rm .fa-star-of-life {
  color: #e83561;
}

.heat {
  position: relative;
  /*width: 100%;*/
  margin: 0 0 0.25em 0;
  overflow: hidden;
  padding-bottom: 0.5rem;
  font-size: 12px;
  list-style-position: inside;
  padding-left: 0;
}

.heat li.team {
  position: relative;
  display: flex;
  padding: 0;
  margin-bottom: 0;
  border-bottom: 1px dotted var(--border-color);
}

.heat li.team:last-child {
  border-bottom: 0;
}

.heat li.team span.laneOrder {
  float: left;
  text-align: center;
  width: 25px;
  display: block;
  padding: 0;
  font-size: 1em;
  background: transparent;
  color: #555;
  font-weight: bold;
  border-radius: 1px;
  max-height: 30px;
  margin: 0.25em 0;
}

.heat li.team span.heatTeam {
  display: inline-block;
  float: left;
  width: 100%;
  padding: 0.25rem;
  font-size: 13px;
  /*border-left: 1px solid #d4d4d4;*/
  white-space: nowrap;
}

.heat li.team:hover {
  display: flex;
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab !important;
  background-color: var(--bg-color) !important;
}

.ui-draggable-dragging {
  display: block;
  cursor: grabbing;
  cursor: -moz-grabbing;
  cursor: -webkit-grabbing !important;
  background: var(--bg-color);
  color: #555;
  z-index: 9999;
  padding: 0.25rem 0.5rem;
  font-size: 13px;
}

.heat li.team span.heatTeam:active {
  display: block;
  padding: 0.25rem;
  cursor: grabbing;
  cursor: -moz-grabbing;
  cursor: -webkit-grabbing !important;
  background-color: var(--bg-color) !important;
  border-bottom: 0;
  border-right: 1px solid var(--border-color);
}

.heat:last-child {
  margin-right: 0;
  border-right: 0;
}

.heats ul:before {
  content: attr(data-header);
  font-size: 1em;
  color: var(--font-color);
  font-weight: bold;
  margin-bottom: 5px;
  padding-bottom: 5px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-color);
  display: block;
  overflow: visible;
}

div.number {
  position: absolute;
  border-right: 1px dotted var(--border-color);
  padding: 0.25em 0.5em;
  left: 0;
  top: 0;
}

.heat li .ui-drop-hover {
  background-color: var(--selected-color) !important;
  -webkit-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.25);
  box-shadow: inset 2px 2px 2px 0px rgba(0, 0, 0, 0.25);
  border-bottom: 0;
  border-right: 1px solid var(--border-color);
}
