body#bracket {
    --background-color: #2b2b2b;
    --foreground-color: #cbcbcb;
    --season-color: #f1ea8a;
    background-color: #2b2b2b !important;
    color: #cbcbcb !important;
    font-family: Arial;
    font-size: 14px;
    background-blend-mode: overlay;
    overflow-y: scroll;
    overflow-x: auto;
}

body#bracket {
    background-image: none !important;
}

@media (max-width: 1400px) {
    .container {
        padding-left: 10px;
        margin-left: 0;
    }
    .hamburger-btn {
        right: 3rem !important;
    }
}
@media (min-width: 1400px) {
    .container h4 {
        margin-bottom: 30px;
    }
}

.bracket {
    margin-left: 10px;
}

.team-input input {
    margin: 10px 0 20px;
    width: 192px;
}

.team-input input:last-child {
    margin-bottom: 0;
}

.match,
.match label,
.matchNumber {
    line-height: 17px;
}

.bracket h1,
.bracket h2,
.bracket h3,
.bracket h4 {
    font-family: Arial;
    font-weight: 700;
    margin: auto;
}

.bracket h2 {
    font-size: 21px;
}

.bracket h3 {
    font-size: 17px;
}

p.text-nav a {
    color: white;
}
p.text-nav a:hover {
    color: red;
    text-decoration: underline;
}

.round-wrapper,
.connections-wrapper {
    /*display: contents;*/
}

.container {
    width: 1350px;
    max-width: 1350px;
}


.last-update {
    margin: 30px 0;
    clear: both;
}

.loser-bracket {
    clear: both;
    padding-top: 20px;
}

.col {
    float: left;
    width: 224px;
}

.col h3 {
    margin: 15px 0;
    text-align: center;
}
.match {
    margin-bottom: 20px;
}

/*
.match label {
    border-bottom: var(--foreground-color) 1px dashed;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 200px;
}
*/

.match input {
    width: 35px;
}

#matchNine {
    padding-top: 46px;
}
#matchTen {
    padding-top: 85px;
}
#matchEleven {
    padding-top: 84px;
}
#matchTwelve {
    padding-top: 87px;
}
#matchSixteen {
    padding-top: 0px;
}
#matchTwenty {
    padding-top: 0px;
}
#matchTwentyone {
    padding-top:  136px;
}
#matchTwentytwo {
    padding-top:  252px;
}
#matchTwentythree {
    padding-top:  90px;
}
#matchTwentyfour {
    padding-top:  40px;
}
#matchTwentyfive {
    padding-top:  78px;
}
#matchTwentysix {
    padding-top:  15px;
}
#matchTwentyseven {
    padding-top:  229px;
}
#matchTwentyeight {
    padding-top:  67px;
}


.matchNumber {
    text-align: center;
    background-color: var(--foreground-color);
    color: var(--background-color);
    width: 50%;
    height: 18px !important;
    margin: 3px auto;
    border-radius: 5px;
}

.match label {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 215px;
    text-align: center;
    padding: 1px 0;
    /*border-bottom: var(--foreground-color) 1px dashed;
    border-radius: 5px 5px 0 0;*/
    border-radius: 5px;
    margin-bottom: 1px;
    background-color: rgba(0, 0, 0, 0.75);
}

.match div {
    height: 22.5px;
}

.match input {
    width: 35px;
}
.match input[type="radio"] {
    width: auto;
    margin: 2px;
    vertical-align: top;
}

.match label.winner {
    color: var(--background-color);
    background-color: var(--season-color);
    border-color: transparent;
    border-radius:  5px;
}

img#trophy {
    position: relative;
    top: 137px;
    left: 95px;
}

#finale {
    padding-top: 137px; 
}

#bronzeGame {
    padding-top: 32px; 
}

.connections-wrapper {
    float: left;
    width: 44px;
}
.connections {
    display: flex;
}

/* winner AF */
.connections-winner-af .connections:first-child {
    margin-top: 68px;
}
.connections-winner-af .connections:nth-child(2) {
    margin-top: 65px;
}
.connections-winner-af .connections:nth-child(3) {
    margin-top: 65px;
}
.connections-winner-af .connections:nth-child(4) {
    margin-top: 65px;
}

.connections-winner-af .left-connection {
    height: 103px;
    width: 16px;
    border-width: 2px 2px 2px 0;
    border-color: var(--foreground-color);
    border-style: solid;
} 
.connections-winner-af .right-connection {
    height: 0;
    width: 16px;
    border-width: 1px;
    border-color: var(--foreground-color);
    border-style: solid;
    align-self: center;
}

/* winner VF */
.connections-winner-vf .connections:first-child {
    margin-top: 114px;
}
.connections-winner-vf .connections:nth-child(2) {
    margin-top: 148px;
}
.connections-winner-vf .left-connection {
    height: 189px;
    width: 16px;
    border-width: 2px 2px 2px 0;
    border-color: var(--foreground-color);
    border-style: solid;
} 
.connections-winner-vf .right-connection {
    height: 0;
    width: 16px;
    border-width: 1px;
    border-color: var(--foreground-color);
    border-style: solid;
    align-self: center;
}

/* winner HF */
.connections-winner-hf .connections:first-child {
    margin-top: 203px;
}
.connections-winner-hf .connections:nth-child(2) {
    margin-top: 149px;
}
.connections-winner-hf .connections:first-child .left-connection {
    height: 104px;
    width: 16px;
    border-width: 2px 2px 0 0;
    border-color: var(--foreground-color);
    border-style: solid;
} 
.connections-winner-hf .connections:first-child .right-connection {
    height: 0;
    width: 16px;
    border-width: 1px;
    border-color: var(--foreground-color);
    border-style: solid;
    align-self: end;
}
.connections-winner-hf .connections:nth-child(2) .left-connection {
    height: 104px;
    width: 16px;
    border-width: 0 2px 2px 0;
    border-color: var(--foreground-color);
    border-style: solid;
} 
.connections-winner-hf .connections:nth-child(2) .right-connection {
    height: 0;
    width: 16px;
    border-width: 1px;
    border-color: var(--foreground-color);
    border-style: solid;
    align-self: start;
}

/* winner F */
.connections-winner-f .connections:first-child {
    margin-top: 306px;
}
.connections-winner-f .connections:nth-child(2) {
    margin-top: 150px;
}
.connections-winner-f .connections .connection {
    height: 0;
    width: 32px;
    border-width: 1px;
    border-color: var(--foreground-color);
    border-style: solid;
    align-self: center;
}

/* loser R1 */
.connections-loser-r1 .connections:first-child {
    margin-top: 95px;
}
.connections-loser-r1 .connections:nth-child(2) {
    margin-top: 84px;
}
.connections-loser-r1 .connections:nth-child(3) {
    margin-top: 84px;
}
.connections-loser-r1 .connections:nth-child(4) {
    margin-top: 84px;
}
.connections-loser-r1 .connections .connection {
    height: 0;
    width: 32px;
    border-width: 1px;
    border-color: var(--foreground-color);
    border-style: solid;
    align-self: center;
}

/* loser R2 */
.connections-loser-r2 .connections:first-child {
    margin-top: 86px;
}
.connections-loser-r2 .connections:nth-child(2) {
    margin-top: 64px;
}
.connections-loser-r2 .connections:first-child .left-connection {
    height: 104px;
    width: 16px;
    border-width: 2px 2px 2px 0;
    border-color: var(--foreground-color);
    border-style: solid;
} 
.connections-loser-r2 .connections:first-child .right-connection {
    height: 0;
    width: 16px;
    border-width: 1px;
    border-color: var(--foreground-color);
    border-style: solid;
    align-self: center;
}
.connections-loser-r2 .connections:nth-child(2) .left-connection {
    height: 104px;
    width: 16px;
    border-width: 2px 2px 2px 0;
    border-color: var(--foreground-color);
    border-style: solid;
}
.connections-loser-r2 .connections:nth-child(2) .right-connection {
    height: 0;
    width: 16px;
    border-width: 1px;
    border-color: var(--foreground-color);
    border-style: solid;
    align-self: center;
} 

/* loser AF */
.connections-loser-af .connections:first-child {
    margin-top: 124px;
}
.connections-loser-af .connections:nth-child(2) {
    margin-top: 100px;
}
.connections-loser-af .connections:first-child .left-connection {
    height: 48px;
    width: 16px;
    border-width: 2px 2px 0 0;
    border-color: var(--foreground-color);
    border-style: solid;
} 
.connections-loser-af .connections:first-child .right-connection {
    height: 0;
    width: 16px;
    border-width: 1px;
    border-color: var(--foreground-color);
    border-style: solid;
    align-self: end;
}
.connections-loser-af .connections:nth-child(2) .left-connection {
    height: 48px;
    width: 16px;
    border-width: 0 2px 2px 0;
    border-color: var(--foreground-color);
    border-style: solid;
} 
.connections-loser-af .connections:nth-child(2) .right-connection {
    height: 0;
    width: 16px;
    border-width: 1px;
    border-color: var(--foreground-color);
    border-style: solid;
    align-self: start;
}

/* loser VF */
.col.loser-qf {
    margin-left: 0px;
}
