/* .offset-sidebar {
  overflow-x: hidden;
} */
.g_gracket { 
  width: 200%; 
  background-color: transparent; 
  padding: 55px 15px 5px; 
  line-height: 100%; 
  position: relative; 
  overflow-x: auto;
  display: flex;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
  scrollbar-width: none; /* Newer Firefox and not confirmed */
  overflow: -moz-scrollbars-none; /* Older Firefox*/
}


.g_gracket::-webkit-scrollbar {
  display: none; 
}
.g_round { 
  float: left; 
  min-width: 200px;
  margin-right: 70px; 
}
.g_game { 
  position: relative; 
  margin-bottom: 4rem;
  cursor: pointer;
}
.g_game .g_seed {
  display: none;
}
.g_gracket .team-info { 
  margin: 0; 
  /* padding: 10px 8px 8px;  */
  font-size: 1rem; 
  font-weight: normal; 
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.g_game .team-info .bracket-image {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  margin-right: 1rem;
}
.g_gracket .team-info .result {
  margin-left: 1rem;
  padding: .7rem;
  background: #959aa2;
  border-radius: .7rem;
}
.g_team { 
  padding:1rem;
  width: 200px;
  height:80px;
  background-color: rgba(27, 28, 35, 0.6);
  border-top-right-radius: 30px;
  border-top-left-radius: 30px;
  text-align: center;
  display: flex;
}
.g_round:not(:nth-last-child(1)) .g_team:last-child {  
  border-top: 1px solid #959aa2; 
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}
.g_round:last-child { 
  margin-right: 20px; 
}
.g_winner { 
  background-color: rgba(27, 28, 35, 0.6);
  border-radius: 30px;
}
.g_winner .g_team { 
  background: none; 
  border:none;
  border-radius: 30px;
}
.g_current { 
  cursor: pointer; 
  /*background: #3fa9f5!important;*/ 
}
.g_round_label { 
  top: 0; 
  font-weight: normal; 
  color: #959aa2; 
  text-align: center; 
  margin-left: 1rem;
  font-size: 1.2rem;
  color: #fff;
}
/* Fecha y hora de partido */
.g_team:last-child .team-date-time {
  display: none;
}
.g_winner .team-date-time {
  display: none;
}

/*Enlace a Twitch*/
.fa-twitch:hover {
  color: #fff!important;
  text-decoration: none;
  background-color: transparent;
}

/* Partido del usuario */
.g_team:last-child .player_play {
  display: none;
}
.g_winner .player_play {
  display: none;
}
.player_play {
    color: #fff;
    background-color: #3fa9f5;
    border-color: #3fa9f5;
    border-radius: 1rem;
    padding: .25rem 1.5rem;
    margin: 2.625rem 2rem .5rem;
    font-size: .7rem;
    white-space: nowrap;
    position: absolute;
    top:35px;
    margin-left: auto;
    margin-right: auto;
}

.g_team .team-date-time {
  position:absolute;
  top: -2rem;
  font-size: 0.8rem;
  color: #959aa2;
}

/*Modal Partido*/
#showMatchModal .modal-content {
  background: #21232b;
  border-radius: 1.3rem;
}

#showMatchModal .modal-body {
  width: 85%;
  margin: auto;
}

#showMatchModal .close {
    color: #fff;
    text-shadow: none;
    opacity: 1;
}

#showMatchModal .modal-header {
  border-bottom: none;
}

#showMatchModal .form-control {
  background-color: #1b1c23;
  border: 1px solid #666;
  border-radius: 15px;
}

#showMatchModal .btn {
  width:100%;
  margin-top:20px;
  border-radius: 30px;
}

#showMatchModal div.hr-or {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 0;
  border-top: 1px solid #eee;
  text-align: center;
  height: 0px;
  line-height: 0px;
}

#showMatchModal  div.hr-or:before {
  content: 'o';
  background-color: #21232b;
  padding:5px;
}

#showMatchModal .create-link {
  width:100%;
}

#showMatchModal .btn-primary {
  color: #fff;
  background-color:  #3fa9f5;
  border-color:  #3fa9f5;
  padding:10px;
  margin-bottom: 1.75rem;
}

#showMatchModal .btn-primary:hover {
color: #fff!important;
background-color:#3385E4;
border-color: #3385E4;
}
#showMatchModal input[type=password] {
  color: #fff;
}
.matchdetailline td {
  padding: 1.50rem.75rem;
  vertical-align: middle;
  border-top: 1px solid #959aa2;
  font-weight: 400;
}
.matchdetailimage {
  height: 3rem;
  width: 3rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  margin-right: 1rem;
}
.nousergames{
  text-align: center;
}
.gamesicon {
  width: 80px;
}
#spinner_tournamentmatches {
  display: none;
}
/* Ajustes brackets*/

canvas,
.g_spacer {
  display:none;
}
.g_round {
  display:flex;
  flex-direction: column;
  justify-content: space-around;

}
/* Conectores partidos impares */
 .g_game:nth-child(odd):after
{
  content:" ";
  height:100%;
  border: #959aa2 1px solid;
  border-left:0;
  border-bottom:0;
  width: 20px;
  display:block;
  position:absolute;
  top:50%;
  left:100%;
}
/* Conectores partidos pares */
.g_game:nth-child(even):after{
  content:"";
  height:100%;
  border: #959aa2 1px solid;
  border-left:0;
  border-top:0;
  width: 20px;
  display:block;
  position:absolute;
  left:100%;
  top:-49%;
}
/* Líneas */
.g_round:not(:first-of-type) .g_game:before
{
  content:" ";
  height:100%;
  border:  #959aa2 1px solid;
  border-left:0;
  border-bottom:0;
  border-right:0;
  width: 25%;
  display:block;
  position:absolute;
  top:50%;
  left:-25%;
}

/* Ganador bracket secundario */
.loser-bracket-winner {
  color: #3385e4;
}

