.bracket-container {
  width: 100%;
  overflow-x: scroll;
}

.bracket{
  display: flex;
  flex-direction: row;
  overflow-x: scroll;
  overflow-y: clip;
  width: fit-content;
  font-size: small;
}

.bracket-round{
  display:flex;
  flex-direction: column;
  /*justify-content: center;*/
  justify-content: space-around;
  min-width: 50px;
  list-style: none;
  padding: 0;
}

.de-round{
  justify-content: center;
  width: 170px;
  list-style: none;
  padding: 0;
}


.bracket-round-inverse-1 li {
  height: 50%;
}

.bracket-round-inverse-2 li {
  height: 25%;
}

.bracket-round-inverse-3 li {
  height: 12.5%;
}

.bracket-round-inverse-4 li {
  height: 6.25%;
}

.bracket-round-inverse-5 li {
  height: 3.125%;
}

.bracket-round-inverse-6 li {
  height: 1.5625%;
}

.bracket-round-inverse-7 li {
  height: 0.78125%;
}

.bracket-round LI {
    border-right: 1px solid #aaa;
    min-height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
  }

  .bracket-round-winner LI {
    text-wrap: nowrap;
    border-top: none;
    border-right: none;
    border-bottom: 1px solid #aaa;
    min-height: unset;
    min-width: 50px;
  }

  .bracket-round-0 li {
    height: auto;
    margin-top: 5px;
    margin-bottom: 5px;
  }

.bracket-round li > SPAN {
    min-height: 20px;
    white-space: nowrap;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    padding-left: 2px;
  }

.bracket-round li span:nth-child(2) {
    align-self: flex-end;
  }

  .bracket-round li:not(.bracket-hotovo):hover {
  	background: #f0f0f0;
  }

/*
  li.game-bottom{
    border-top:1px solid #aaa;
	  white-space: nowrap;
    aheight: 15px;
  }
*/

  .bracket-hotovo {
  	color: gray;
  }

  .bracket-current {
  	background: rgb(202, 242, 255);
  }


  .nekresli-vpravo {
	  border-right: 0px !important;
  }


  @media only screen and (max-width: 1081px) {
    .bracket {
      font-size: small;
    }
  }
