#game-ladder-wrapper {
  padding-top: 10px;
  background-color: #DECCB4;
  min-height: 100vh;
}

#game-ladder-container {
  position: relative;
  padding: 10px;
  max-height: 700px;
  margin: auto;
}

#results_sidebar {
  position: relative;
}

#results_sidebar .close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  text-align: center;
  cursor: pointer;
  background: url("/minigame/ladder/themes/img/btn-exit.png");
  background-repeat: no-repeat;
}

.pc-width {
  max-width: 900px;
}

.mb-width {
  max-width: 500px;
}

.header {
  background-color: transparent;
  text-align: center;
}

.header-top {
  color: #574C38;
  font-weight: 800;
  font-size: 27px;
  line-height: 36.2px;
  margin-bottom: 10px;
}

.header-img img {
  margin: auto;
  max-height: 78px;
}

.header-bottom {
  color: #fff;
  background-color: #886042;
  font-weight: 400;
  font-size: 13px;
  border-radius: 20px;
  padding: 5px;
}

.box {
  background-image: url("/minigame/ladder/themes/img/box-tl.png"),
    url("/minigame/ladder/themes/img/box-tr.png"),
    url("/minigame/ladder/themes/img/box-bl.png"),
    url("/minigame/ladder/themes/img/box-br.png");
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-position: top left, top right, bottom left, bottom right;
  background-color: #fff;
  padding: 5px !important;
}

.box>.box-content {
  background-color: #EDE6D4;
  height: 100%;
  border: 1px solid #CFC9B9;
}

.game-wrapper {
  padding: 10px 0;
  position: relative;
}

/* .game-sidebar {} */

.game-sidebar .sidebar-heading {
  display: grid;
  align-items: center;
  text-align: center;
  color: #574C38;
  font-weight: 600;
  font-size: 20px;
  line-height: 28.96px;
  min-height: 50px;
}

.game-sidebar .sidebar-nav {
  color: #fff;
  background-color: #955F34;
  border-top: 1.4px solid #704827;
  border-bottom: 1.4px solid #704827;
  padding: 5px;
}

.game-sidebar .sidebar-nav>ul {
  color: #fff;
  background-color: #955F34;
}

.game-sidebar .sidebar-nav>ul>li {
  border-right: 1px solid #654200;
  text-align: center;
}

.game-sidebar .sidebar-nav>ul>li:last-child {
  border: none;
}

.game-sidebar .sidebar-body {
  height: 320px;
  overflow-y: scroll;
}

.items-left>li,
.items-right>li {
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  padding: 10px 5px;
  min-height: 50px;
}

.items-left>li:last-child,
.items-right>li:last-child {
  border: none;
}

/* .items-left>li>div {} */

.items-left>li>div>strong {
  background-color: #C52A25;
  border: 2px solid #94201c;
  padding: 5px 10px;
  border-radius: 3px;
  color: #fff;
  font-weight: bold;
}

.items-left>li>div>p {
  margin-bottom: 5px;
}

.items-left .item-label {
  background-color: #EDE1D4;
  border: 0.5px solid #B9B0A0;
  border-radius: 3px;
  padding: 1px 5px;
  width: 80px;
  display: block;
  text-align: center;
}

.game-content .content-heading {
  background-color: #EADFC9;
  padding: 10px;
  font-weight: bold;
}

.game-content .content-br {
  border-top: 1px solid #724826;
  border-bottom: 1px solid #724826;
  background-color: #955F34;
  height: 5px;
  margin: 0;
  padding: 0;
}

.game-content .content-body {
  padding: 10px 0;
  position: relative;
}

.game-content .content-body>.matrix {
  height: 227px;
  background: url("/minigame/ladder/themes/img/matrix.png");
  background-repeat: no-repeat;
  background-position: center;
  color: transparent;
}

.game-content .content-body .character {
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -37px;
  width: 75px;
  height: 75px;
  background: url('/minigame/ladder/themes/img/character.png') no-repeat 0 -160px;
  animation: character_loader_frames 15s steps(1) infinite alternate;
}

.game-content .content-footer {
  min-height: 65.34px;
  position: relative;
  margin-bottom: 45px;
}

.game-content .content-footer>#fixed-footer {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 70px;
  margin: auto;
  background: url("/minigame/ladder/themes/img/content-footer-left.png"), url("/minigame/ladder/themes/img/content-footer-right.png");
  background-position: bottom left, bottom right;
  background-repeat: no-repeat no-repeat;
}

.game-content .results-popup {
  position: absolute;
  /* display: flex; */
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  background-color: #2F2E2A;
  opacity: 0.97;
  z-index: 99;
  margin: auto;
  display: none;
}

.game-content .results-popup .box {
  width: 200px;
  margin: auto;
}

.process-bar,
.percent-bar {
  text-align: center;
}

.slider-bar {
  background-color: #CEC6AF;
  position: relative;
  width: 100%;
  height: 22px;
  vertical-align: middle;
  padding: 1px 0 3px 0;
  margin: 5px 0;
  overflow: hidden;
}

.slider-bar>input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 280px;
  height: 16px;
  outline: none;
  overflow: hidden;
  border-radius: 16px;
  border: 0;
  vertical-align: middle;
  padding: 0px;
  margin: 0px;
  position: absolute;
  top: 3px;
  left: 16.5%;
}

/* Track: Mozilla Firefox */
.slider-bar>input[type="range"]::-moz-range-track {
  height: 20px;
  margin: 0;
  padding: 0;
  border: 0;
  background-color: #E62524;
}

/* Thumb: Firefox */
.slider-bar>input[type="range"]::-moz-range-thumb {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 50%;
  opacity: 0;
}

.slider-bar>input[type="range"]::-moz-range-progress {
  background-color: #0F6EDD;
  height: 20px;
}

/* Track: webkit */
.slider-bar>input[type="range"]::-webkit-slider-runnable-track {
  /* height: 18px; */
  background-color: #E62524;
}

/* Thumb: webkit */
.slider-bar>input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 18px;
  width: 18px;
  box-shadow: -407px 0 0 400px #0F6EDD;
}

.slider-bar>.selector {
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 140px;
  height: 25px;
  line-height: 25px;
  position: absolute;
  border-radius: 5px;
  background-color: #EBEAEC;
  box-shadow: 1px 1px #B8B7B7;
  text-align: center;
}

.process-bar {
  padding: 25px 0 0 0;
}

.process-bar>.container {
  margin: auto;
  width: 280px;
  height: 27px;
  background-color: #534835;
  border-radius: 30px;
  line-height: 27px;
  padding: 2px;
  position: relative;
}

.process-bar>.container>.bar {
  display: block;
  background-color: #955F34;
  border-radius: 30px;
  font-size: 12px;
  height: 100%;
  width: 100%;
  min-width: 8%;
  max-width: 100%;
}

.process-bar>.container>.round-info {
  position: absolute;
  width: 100%;
  text-align: center;
  color: white;
  top: 0;
  left: 0;
}

button.btn {
  color: transparent;
  width: 35px;
  height: 36px;
  border: 0;
  cursor: pointer;
  position: relative;
}

.tooltips {
  display: none;
  position: absolute;
  top: -10px;
  right: -10px;
  width: 475px;
  background-color: rgba(0, 0, 0, 0.9);
  border-radius: 10px;
  padding: 15px;
  color: white;
  text-align: left;
  cursor: auto;
  z-index: 999;
}

.tooltips h3 {
  padding: 10px 0;
  font-size: 13px;
}

.tooltips .title {
  position: relative;
  width: 100%;
}

.tooltips .code {
  margin-bottom: 20px;
  padding: 20px;
  width: 100%;
  line-height: 20px;
  border: none;
  background-color: #111;
  box-sizing: border-box;
  font-style: normal;
  line-height: 20px;
}

.tooltips .code span {
  display: block;
  color: #eace63;
  outline: none;
}

.tooltips .code p {
  padding-bottom: 10px;
}

.tooltips p {
  line-height: 21px;
  font-size: 11px;
}

.tooltips .close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: url('/minigame/ladder/themes/img/btn-close.png') no-repeat center center;
  text-indent: -9999px;
  overflow: hidden;
  z-index: 10;
}

.tooltips ul>li {
  padding: 5px 0;
}

.tooltips ul>li>span {
  color: #E1B328;
  font-size: 12px;
  display: block;
  font-weight: bold;
  padding: 5px 0 10px 0;
}

button.btn-option[value="on"] {
  background: url("/minigame/ladder/themes/img/btn-volume-on.png");
  background-repeat: no-repeat;
}

button.btn-option[value="off"] {
  background: url("/minigame/ladder/themes/img/btn-volume-off.png");
  background-repeat: no-repeat;
}

button.btn-option[value="info"] {
  background: url("/minigame/ladder/themes/img/btn-info.png");
  background-repeat: no-repeat;
}

button.btn-option[value="share"] {
  background: url("/minigame/ladder/themes/img/btn-share.png");
  background-repeat: no-repeat;
}

button.btn-option[value="text"] {
  border: 2.5px solid #886042;
  color: #886042;
  width: 45px;
  border-radius: 6.58px;
  background-color: transparent;
  font-weight: 850;
}

#ladder-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 227px;
  width: 209px;
  background: transparent;
  position: relative;
  margin: auto;
}

#ladder-wrapper .ladder-container {
  position: relative;
  display: flex;
  align-items: center;
}

#ladder-wrapper .ladder-st-left,
#ladder-wrapper .ladder-st-right,
#ladder-wrapper .ladder-rs-odd,
#ladder-wrapper .ladder-rs-even {
  position: absolute;
  color: white;
  width: 35px;
  align-content: center;
  height: 35px;
  border-radius: 50%;
  text-align: center;
  font-size: 14px;
  padding: 6px;
}

.ladder-st-left {
  top: 0;
  left: 2px;
}

.ladder-st-right {
  top: 0;
  right: 2px;
}

.ladder-rs-odd {
  bottom: 0;
  left: 2px;
}

.ladder-rs-even {
  bottom: 0;
  right: 2px;
}

.ladder-container .ladder {
  position: relative;
  width: 180px;
  height: 65px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

/* Bậc ngang */
.ladder-container .ladder .step {
  position: relative;
  width: 100%;
  height: 10px;
}

/* Bâc dọc */
.ladder-container .vertical-bar {
  position: absolute;
  width: 10px;
  height: 145px;
  top: -40px;
}

.ladder-container .left-bar {
  left: 0;
}

.ladder-container .right-bar {
  right: 0;
}

/* Đường vẽ */
.ladder-container .path {
  position: absolute;
  /* background: #0F6EDD; */
  transition: all 0.5s ease-in-out;
}

.ladder-container .horizontal {
  height: 10px;
  width: 0;
}

.ladder-container .vertical {
  width: 10px;
  height: 0;
}

@keyframes character_loader_frames {

  /* Start Bottom */
  0% {
    background-position: 0 -240px;
  }

  2.5% {
    background-position: 0 -160px;
  }

  5% {
    background-position: 0 -320px;
  }

  7.5% {
    background-position: 0 -160px;
  }

  10% {
    background-position: 0 -240px;
  }

  12.5% {
    background-position: 0 -160px;
  }

  15% {
    background-position: 0 -320px;
  }

  17.5% {
    background-position: 0 -160px;
  }

  /* End Bottom */

  20% {
    bottom: 5px;
    background-position: 0 -80px;
  }

  22.5% {
    background-position: 0 0;
  }

  25% {
    bottom: 20px;
    background-position: 0 -80px;
  }

  27.5% {
    background-position: 0 0;
  }

  30% {
    bottom: 35px;
    background-position: 0 -80px;
  }

  32.5% {
    background-position: 0 0;
  }

  35% {
    bottom: 50px;
    background-position: 0 -80px;
  }

  37.5% {
    background-position: 0 0;
  }

  40% {
    bottom: 65px;
    background-position: 0 -80px;
  }

  42.5% {
    background-position: 0 0;
  }

  45% {
    bottom: 80px;
    background-position: 0 -80px;
  }

  47.5% {
    background-position: 0 0;
  }

  50% {
    bottom: 95px;
    background-position: 0 -80px;
  }

  52.5% {
    background-position: 0 0;
  }

  55% {
    bottom: 110px;
    background-position: 0 -80px;
  }

  57.5% {
    background-position: 0 0;
  }

  60% {
    bottom: 125px;
    background-position: 0 -80px;
  }

  62.5% {
    background-position: 0 0;
  }

  65% {
    bottom: 140px;
    background-position: 0 -80px;
  }

  67.5% {
    background-position: 0 0;
  }

  70% {
    bottom: 155px;
    background-position: 0 -80px;
  }

  72.5% {
    background-position: 0 0;
  }

  75% {
    bottom: 165px;
    background-position: 0 -80px;
  }

  77.5% {
    background-position: 0 0;
  }

  /* Top */
  80% {
    bottom: 165px;
    background-position: 0 -240px;
  }

  82.5% {
    bottom: 165px;
    background-position: 0 -160px;
  }

  85% {
    bottom: 165px;
    background-position: 0 -320px;
  }

  87.5% {
    bottom: 165px;
    background-position: 0 -160px;
  }

  90% {
    bottom: 165px;
    background-position: 0 -240px;
  }

  92.5% {
    bottom: 165px;
    background-position: 0 -160px;
  }

  95% {
    bottom: 165px;
    background-position: 0 -320px;
  }

  97.5% {
    bottom: 165px;
    background-position: 0 -160px;
  }

  100% {
    bottom: 165px;
    background-position: 0 -160px;
  }

  /* End Top */
}

#btn-menu-list {
  position: absolute;
  top: 7px;
  right: 0;
  text-align: right;
  padding-right: 0 5px;
  width: 100%;
}

#btn-menu-list>ul>li {
  position: relative;
  padding: 5px;
}

.fl-left {
  float: left;
}

.fl-right {
  float: right;
}

@media screen and (max-width: 400px) {
  .process-bar>.container {
    width: 230px;
  }

  .slider-bar>input[type="range"] {
    width: 230px;
  }
}

@media screen and (max-width: 300px) {
  .process-bar>.container {
    width: 160px;
  }

  .slider-bar>input[type="range"] {
    width: 180px;
  }
}