@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Montserrat");
@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");


*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-image: #ffffff;
    font-family: "Poppins", sans-serif;
}


.body-hidden {
    overflow: hidden;
}

.active-hover {
    padding-left: 33px !important;
}

img[src=""]{
    opacity: 0;
}

.tournament-brackets {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    margin-bottom: 50px;
    width: 100%;
    overflow-x: scroll;
    cursor: pointer;
    padding-top: 50px;
}

.tournament {
    display: none;
}

.tournament-brackets::-webkit-scrollbar {
    height: 4px;
}

.tournament-brackets::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.tournament-brackets::-webkit-scrollbar-thumb {
    background-color: #ccdff9;
    outline: 1px solid #ccdff9;
}

.bracket {
    padding-left: 0;
    display: flex;
    margin: 0;
    padding: 30px 0;
    /*flex-grow: 1;*/
    flex-direction: column;
    justify-content: space-around;
    list-style-type: none;
    /* flex: 1;*/
    row-gap: 5px;
    position: relative;
}
.bracket h3 {
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: #ffffff;
    background: #5770c0;
    border: 1px solid #5770c0;
    box-shadow: 0px 2px 4px rgba(45, 52, 57, 0.04);
    border-radius: 10px;
    width: 200px;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.team-item {
    /*padding: 0.5rem;*/
    padding:8px 8px 8px 5px;
    display: block;
    /*margin: 0 10px;*/
    position: relative;
    vertical-align: middle;
    line-height: 2;
    text-align: center;
    height: 66px;
}

.team-item:after {
    border-radius: 10px;
    content: "";
    border-width: 2px;
    position: absolute;
    display: block;
    /* width: 19px;
     right: -11px;*/
    width: 9px;
    right: 0;
    border: #AEBDCA;
    border-bottom-left-radius: unset;
    border-top-left-radius: unset;
}

.team-item:nth-of-type(odd):after {
    border-right-style: solid;
    border-top-style: solid;
    height: 100%;
    top: 58%;
    border-bottom-left-radius: unset;
    border-bottom-right-radius: unset;
    border-top-left-radius: unset;
}

.team-item:nth-of-type(even):after {
    border-right-style: solid;
    border-bottom-style: solid;
    height: 100%;
    top: -38%;
    border-bottom-left-radius: unset;
    border-top-right-radius: unset;
    border-top-left-radius: unset;
}

.team-item:before {
    content: "";
    border-top: 2px solid #AEBDCA;
    position: absolute;
    height: 2px;
    /*width: 17px;
    left: -9px;*/
    width: 5px;
    left: 0;
    top: 58%;
}

.bracket-1 {
    justify-content: left;
}
.bracket-1 h3 {
    position: absolute;
    top: -5%;
    left: 2%;
}
.bracket-1 .team-item:nth-of-type(odd):after {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.bracket-1 .team-item:nth-of-type(even):after {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}

.bracket-2 h3 {
    position: absolute;
    top: 0%;
    left: 2%;
}

.bracket-3 h3 {
    position: absolute;
    top: 5%;
    left: 2%;
}

.bracket-4 h3 {
    position: absolute;
    top: 10%;
    left: 2%;
}

.bracket-2 .team-item:nth-of-type(odd):after {
    height: 200%;
    top: 59%;
}
.bracket-2 .team-item:nth-of-type(even):after {
    height: 200%;
    top: -136%;
}
.bracket-2 .team-item:last-child::before {
    display: none;
}

.bracket-3 .team-item:nth-of-type(odd):after {
    height: 350%;
    top: 58%;
}
.bracket-3 .team-item:nth-of-type(even):after {
    height: 350%;
    top: -286%;
}

.bracket-4 .team-item:nth-of-type(odd):after {
    height: 700%;
    top: 59%;
}
.bracket-4 .team-item:nth-of-type(even):after {
    height: 700%;
    top: -637%;
}

.bracket:first-of-type .team-item:before {
    display: none;
}

.bracket:last-of-type .team-item:after {
    display: none;
}

.team-item time {
    display: inline-block;
    background-color: #dbdbdb;
    font-size: 0.8rem;
    padding: 0 0.6rem;
}

.team-item .item {
    background: #FFFFFF;
    border: 1px solid #DFE5EA;
    border-radius: 10px 10px 0px 0px;
    padding: 0px 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 12px;
    font-size: 12px;
    /* width: 235px;*/
    width: 200px;
    height: 32px;
}
.team-item .item:hover{
    background-color: #5770c0!important;
}
.team-item .item:hover p{
    color: #FFFFFF!important;
}
.team-item .item div {
    display: flex;
    width: 151px;
    align-items: center;
}
.team-item .item div {
    overflow: hidden;
}
.team-item .item div p {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #1F2024;
    margin-bottom: 0;
    padding-left: 5px;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.team-item .item span {
    background: #ebedf1;
    border-radius: 6px;
    font-weight: 500;
    font-size: 15px;
    line-height: 25px;
    color: #1F2024;
    width: 30px;
    height: 25px;
}
.team-item .item:nth-child(2) {
    background: #e4ecff;
    border: 1px solid #DFE5EA;
    border-radius: 0px 0px 10px 10px;
}
.team-item .item:nth-child(2) span {
    background: #ccdff9;
}
.result-box{
    background: #d4ddff;
    border: 1px solid #98a9fd;
    box-shadow: 0px 2px 4px rgba(45, 52, 57, 0.04), 0px 2px 4px rgba(45, 52, 57, 0.04);
    border-radius: 10px;
    padding: 6px;
    position: absolute;
    top: 9px;
    left: 207px;
    display: none;
    z-index: 99999999;
    flex-direction: column;
    row-gap: 8px;
    font-size: 13px;
}
.result-box--top,.result-box--bottom{
    display: flex;
    column-gap: 8px;
}
.result-box .box{
    background: #d4ddff;
    border: 1px solid #1F2024;
    border-radius: 6px;
    /* padding: 2px 13px; */
    width: 29px;
    height: 27px;
    line-height: 27px;
}
.result-box .box-white{
    background: #d4ddff;
    border: 1px solid #1F2024;
}
.result-box .box-black{
    background: #1F2024;
    color:#fff;
}
.team-item .item:hover .result-box{
    display: block;
}
.active-box{
    display: flex;
}
.team-item .item img {
    width: 20px;
    height: 20px;
    border-radius: 100px;
}

.bracket:last-child h3 {
    position: absolute;
    top: 48.3%;
    left: 2%;
}
.bracket:last-child{
    justify-content: center;
    row-gap: 88px;
}

.tournament-brackets{
    display: flex;
    overflow: scroll;
}

.tournament-brackets::-webkit-scrollbar {
    width: 0px;
}
.bracket:last-child .team-item:nth-child(4)::before{
    content: unset;
}
.tournament-women .bracket:last-child h3 {
    position: absolute;
    top: 46.7%;
    left: 2%;
}
.bracket:last-child .last-title{
    top: 10%!important;
    left: 2%;
}

.playerName {
    margin-left: 4px;
}

.octavos {
    line-height: 18px;
    color: #000000;
    box-shadow: 0px 2px 4px rgba(45, 52, 57, 0.04);
    margin: 5px;
    border: 0;
    outline: #d4c8c8;
    width: 300px;
    text-align: center;
}

.cuartos {
    line-height: 18px;
    color: #000000;
    box-shadow: 0px 2px 4px rgba(45, 52, 57, 0.04);
    margin: 5px;
    border: 0;
    outline: #d4c8c8;
    width: 300px;
    text-align: center;
}

.semis {
    line-height: 18px;
    color: #000000;
    box-shadow: 0px 2px 4px rgba(45, 52, 57, 0.04);
    margin: 5px;
    border: 0;
    outline: #d4c8c8;
    width: 300px;
    text-align: center;
}

.final {
    line-height: 18px;
    color: #000000;
    box-shadow: 0px 2px 4px rgba(45, 52, 57, 0.04);
    margin: 5px;
    border: 0;
    outline: #d4c8c8;
    width: 300px;
    text-align: center;
}

.closeBtn {
    line-height: 18px;
    font-family: "Poppins";
    font-size: 12px;
    color: #000000;
    box-shadow: 0px 2px 4px rgba(45, 52, 57, 0.04);
    margin: 5px;
    border-radius: 10px 10px 10px 10px;
    border: 0;
    outline: none;
    width: 50px;
    text-align: center;
}

.dialOctavos {
    position: absolute;
    top: 300px;
    left: 5px;
    margin: 20px;
    border-radius: 10px 10px 10px 10px;
    border: 0;
    outline: none;
}

.dialCuartos {
    position: absolute;
    top: 300px;
    left: center;
    margin: 20px;
    border-radius: 10px 10px 10px 10px;
    border: 0;
    outline: none;
}

.dialSemis {
    position: absolute;
    top: 300px;
    left: center;
    margin: 20px;
    border-radius: 10px 10px 10px 10px;
    border: 0;
    outline: none;
}

.dialFinal {
    position: absolute;
    top: 300px;
    left: center;
    margin: 20px;
    border-radius: 10px 10px 10px 10px;
    border: 0;
    outline: none;
}