.points div.match-btn-container button {
    border-radius: 30px;
    width: 60px;
    height: 52px;
}

.advance div.match-btn-container button {
    margin-top: 2vh;
}

#rounds select {
    color: black !important;
    font-weight: 900;
}


/* BJJ */

#match {
    min-height: 100vh;
}

#pannelPoints {
    padding-left: 13px;
    padding-right: 13px;
    margin-bottom: 20px;
}

#points .match-btn-container,
#advanced .match-btn-container {
    padding: 2px;
}

#points .match-btn-container>div {
    border: 1px solid white;
    height: 9vh;
}

#points .match-btn-container>div img,
#advanced .match-btn-container>div img {
    height: 8.7vh;
    width: 100%;
}

#advanced .match-btn-container>div {
    border: 1px solid white;
    height: 9vh;
}

#advanced .match-btn-container>div.erase {
    padding: 3vh 0vw;
}

#centerPannel {
    margin-top: 30px;
}

#centerPannel .first {
    border: 1px solid white;
    height: 7vh;
    padding: 0px;
}

#centerPannel .reset {
    padding: 2vh 0vh;
}

#centerPannel .first .reset {
    height: 100%;
}

#centerPannel .second .special {
    height: 50%;
}

#centerPannel .second {
    height: 50%;
    padding: 0px;
    padding: 1vh 0vh;
}

.pointsWinner {
    margin-bottom: 8vh;
    margin-top: 8vh;
}

.winner-btn {
    width: 100%;
    height: 200px;
    font-size: 50pt;
    border-radius: 100%;
}

#rounds .refresh {
    margin-right: 9px;
}

#rounds tr:hover,
#rounds label:hover {
    background-color: rgba(0, 0, 0, 0);
    color: white !important;
}

#restartMatch {
    margin-top: 2vh;
    border: 10px solid red;
    color: red;
    padding: 4px 8px;
    background-color: #f5f5f5;
}

#rounds select.input-sm {
    height: 45px;
}

#rounds caption.header {
    border: 1px solid white;
    margin-top: 26px;
    text-align: center;
    color: white;
    font-family: Montserrat-Medium;
}

#rounds caption.header.red {
    background-color: red;
}

#rounds caption.header.blue {
    background-color: blue;
}

#rounds textarea.input-sm {
    margin-bottom: 15px;
}

#rounds .grid td {
    border: 1px solid rgba(255, 255, 255, 0.5);
}

#rounds .points input[type='text'] {
    margin-bottom: 0px;
}

#rounds .grid input[type='text'] {
    border-bottom: none;
    margin-bottom: 0px;
    height: 30px;
    width: 4vw;
}

#rounds .grid tr {
    border-bottom: none;
}

#rounds .grid .title {
    width: 4vw;
    text-align: center;
}

#rounds .grid td.text {
    border: none;
}

#rounds .blueFighter .grid td.text div {
    margin-right: 5px;
}

#rounds .blueFighter .grid td.text {
    float: right;
}


/* #rounds .redFighter .grid td {
    float: right;
} */

#rounds .redFighter .grid td.text div {
    margin-left: 5px;
}

#rounds table.grid {
    margin-top: 8vh;
    margin-bottom: 12vh;
}

#rounds .final_block input[type='text'] {
    border-bottom: none;
}

.winnerContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -1px;
}


/**  Keys **/

.keysMain {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    text-transform: capitalize;
}

.keysMain * {
    font-family: Montserrat-regular;
}

.keysMain.nordic {
    justify-content: space-around;
}

.keysMain.nordic.playoff {
    flex-direction: row;
}

.keys .round {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 300px;
    list-style: none;
    padding: 3px;
}

.keys .round .spacer {
    flex-grow: 1;
    color: black;
    font-size: 20px;
    text-align: center;
    margin-bottom: 3px;
    margin-top: 30px;
    font-weight: bold;
}

.keys .round .spacer:first-child,
.keys .round .spacer:last-child {
    flex-grow: .5;
}

.keys .round .game-spacer {
    flex-grow: 1;
}

.keys li.game {
    padding-left: 4px;
    padding-top: 4px;
    font-weight: bold;
    outline: 4px solid #282b33;
    -webkit-print-color-adjust: exact !important;
    overflow: hidden;
}

.keys li.game.winner {
    outline: 2px solid white;
}

.keys li.game span {
    float: right;
    margin-right: 5px;
}

.keys li.game-top {
    background-color: #C00000;
    height: 46px;
}


/*.keys li.game-top.loser {}*/

.keys li.game-top.winner {
    background-color: #ff0000;
}

.keys li.game-spacer {
    min-height: 30px;
    font-size: 20px;
    background: rgba(255, 255, 255, 1);
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
    margin-top: 6px;
}

.keys li.game-bottom {
    background-color: #0000C0;
    height: 46px;
}


/*.keys li.game-bottom.loser {}*/

.keys li.game-bottom.winner {
    background-color: #0000ff;
}

li.game-final {
    background-color: aliceblue;
    color: #282b33;
    height: 46px;
}

.keys h3 {
    margin-top: -16px;
}

.keys h1 {
    margin-bottom: 46px;
}

.keys * {
    -webkit-print-color-adjust: exact !important;
}

@media print {
    .keysMain {
        margin-top: 70px;
    }
    .reduce {
        zoom: 1 !important;
    }
    .keys {
        page-break-before: avoid;
    }
    .keys .round {
        min-width: 220px;
    }
    .keys li.game {
        padding-left: 4px;
        padding-top: 4px;
        font-weight: bold;
        outline: 2px solid gray;
        -webkit-print-color-adjust: exact !important;
        font-size: 15px;
    }
    .keys .club {
        font-size: 15px;
    }
    .keys li.game.winner {
        outline: 4px solid #282b33;
    }
    .keys li.game-bottom {
        background-color: rgba(0, 0, 192, 0.336) !important;
        -webkit-print-color-adjust: exact !important;
    }
    .keys li.game-top {
        background-color: rgba(192, 0, 0, 0.336) !important;
        -webkit-print-color-adjust: exact !important;
    }
    .keys li.game-spacer {
        background: rgba(255, 255, 255, 1) !important;
        margin-top: 5px;
        margin-bottom: 5px;
        color: rgba(0, 0, 0, 1) !important;
    }
    .keys h1 {
        margin-top: -66px;
    }
}