﻿.tournament {
    background-color: lightyellow;
    border: dashed 1px;
    overflow: auto;
}

    .tournament .bracket {
        background-color: lightyellow;
        min-width: 100px;
        vertical-align: top;
        float: left;
        padding-top: 10px;
    }

        .tournament .bracket .header {
            background-color: #d98250;
            margin: 2px;
            margin-bottom: 5px;
            padding: 5px;
            min-width: 200px
        }

    .tournament .bracket .match {
        background-color: burlywood;
        border-top: 1px solid;
        border-right: 1px solid;
        border-bottom: 1px solid;
        color: black;
    }

.tournament .bracket .match .p1 {
    height: 20px;
    margin: 10px;
}

.tournament .bracket .match .p2 {
    height: 20px;
    margin: 10px;
}

        .tournament .bracket .match .spacer {
            background-color: lightyellow;
            height: 38px;
        }

.tournament .bracket .spacer {
    height: 80px;
}

.tournament .bracket .half-spacer {
    height: 40px;
}

        .tournament .bracket .small-spacer {
            height: 10px;
            background-color: lightyellow;
        }

        .tournament .bracket .winner {
            border-bottom: 1px solid;
            background-color: gold;
            border-color: goldenrod;
            margin: 10px;
        }

.left-line {
    border-left: 1px solid;
}

.tournament .cell {
    min-width: 100px;
    height: 20px;
    float: left;
    background-color: #DFDFDF;
}

.tournament .l2 {
    background-color: #D0D0D0;
}

.tournament .lmax {
    width: 0px;
    clear: both;
}


.schedule {
    display: inline-flex;
    flex-wrap: wrap;
}

.flex-direction {
    flex-direction: row;
}

.matchSchedule {
    height: 195px;
    width: 400px;
    border: 1px solid;
    margin-bottom: 10px;
    margin-right: 5px;
    background-color: white;
}

@media screen and (max-width: 500px) {
    .flex-direction {
        flex-direction: column;
    }
}


