@font-face {
    font-family: "Montserrat-Regular";
    src: url("../fonts/Montserrat/Montserrat-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Montserrat-SemiBold";
    src: url("../fonts/Montserrat/Montserrat-SemiBold.ttf") format("truetype");
}

@font-face {
    font-family: "Anybody-ExtraBold";
    src: url("../fonts/Anybody/Anybody-ExtraBold.ttf") format("truetype");
}

html,
body {
    background: #fff7ed;

    font-family: "Montserrat-Regular";
    font-size: 1em;

    /* color: #1b223a; */
    color: #707070;

    box-sizing: border-box;
    height: 100%;
    margin: 0px 0px 100px 0px;
}

label {
    color: #707070;
    font-size: 1.1em;
}

h1 {
    font-size: 1.5em;
    margin: 0px;
    line-height: 1.1;
}

header {
    padding: 10px;
    font-size: 1.5em;
}

footer {
    padding: 20px;
}

a {
    color: #707070;
}

a:hover {
    color: #f39200;
}

nav {
    display: flex;
    /* Use flexbox */
    flex-wrap: wrap;
    /* Allow items to wrap onto multiple lines */
    justify-content: flex-start;
    /* Align items to the start */
}

nav a {
    margin-right: 6px;
    color: #707070;
    padding: 8px 12px;
    background-color: #fae7ce;
    border-radius: 12px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}

hr {
    margin: 2px 0px;
}

.wrapper {
    margin: 0px 10px;
}

@media print, screen and (min-width: 40em) {
    .wrapper {
        margin: 0px 40px;
    }
}

table {
    border-collapse: collapse;
    margin: 5px 0px;
    padding: 5px;
}

.score-table {
    font-size: 1.1em;
}

td {
    padding: 3px 0px;
}

tr {
    /* height: 40px; */
}

.numbers {
    font-feature-settings: "tnum";
}

.orange {
    color: #f39200;
}

.mybox {
    color: #707070;
    padding: 8px 12px;
    background-color: #fae7ce;
    border-radius: 12px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}

.large_button {
    font-size: 16px;
    display: inline-block;
    font-family: "Montserrat-SemiBold";
    color: white;
    padding: 15px;
    background-color: #1b223a;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    width: 240px;
    word-wrap: break-word;
}

.beige {
    color: #fff7ed;
}

.topblock {
    margin-top: 20px;
}

.firstrow {
    border-bottom: 1pt solid #ccc;
}

.big {
    font-size: 1.5em;
    font-weight: 600;
}

.bold {
    font-weight: 600;
}

.matchtitle {
    font-family: "Anybody-ExtraBold";
    font-size: 1.2em;
    color: #1b223a;
}

.title {
    font-family: "Anybody-ExtraBold";
    font-size: 1.2em;
    color: #f39200;
}

.large {
    font-family: "Montserrat-SemiBold";
    font-size: 1.2em;
    /* color: #707070; */
}

.semibold {
    font-weight: 600;
}

.bold {
    font-family: "Montserrat-SemiBold";
    font-weight: 800;
}

.info {
    font-family: "Montserrat-SemiBold";
    font-size: 0.9em;
    color: #707070;
}

.small {
    font-size: 0.8em;
}

.minor-info {
    color: #707070;
    font-size: 0.85em;
}

.logo {
    height: 80px;
    /* padding: 5px 10px; */
}

.padding-bottom-small {
    padding-bottom: 4px;
}

.padding-bottom {
    padding-bottom: 20px;
}

.padding-top-small {
    padding-top: 4px;
}

.padding-left {
    padding-left: 10px;
}

.team-names-box {
    height: 60px;
}

.match-result {
    display: flex;
    align-items: center;
    padding: 8px 0px;
}

.player {
    flex: 1;
    display: flex;
    flex-direction: column;
    /* Stack player names vertically */
}

.scores {
    display: flex;
}

.separator {
    height: 1px;
    background-color: #707070;
    margin: 5px 0px;
}

.score {
    display: inline-block;

    font-size: 1.3em;
    vertical-align: middle;
    text-align: center;
    padding: 0px 5px;
    /* width: 30px; */
}

.winner {
    color: #f39200;
}

.ws {
    font-family: "Montserrat-SemiBold";
    /* text-align: right; */
    /* background-color: red; */
}

.center {
    text-align: center;
    margin: 0 auto;
}

.my-block {
    padding: 10px 10px;
}

.red {
    background-color: red;
}

svg {
    border-radius: 16px;
}

.padding20 {
    padding: 20px;
}

.padding {
    padding: 100px;
}

h-margin {
    margin: 100px;
}

.bubble {
    padding: 20px;
    background-color: white;
    border-radius: 24px;
    box-shadow: 0 0 10px 5px #f9e7cf;
}

.dark_bubble {
    padding: 20px;
    background-color: #1b223a;
    color: white;
    border-radius: 24px;
    /* box-shadow: 0 0 10px 5px #f9e7cf; */
}

.white {
    color: white;
}

.test {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* width: 25%; */
}

.fit {
    width: fit-content;
}

.inline {
    display: inline-block;
    vertical-align: middle;
}

.horizontal-padding {
    padding: 0px 20px;
}

.horizontal-margin {
    margin: 0px 10px;
}

.margin10 {
    margin: 10px;
}

.left-margin {
    margin-left: 10px;
}

.vert-middle {
    vertical-align: middle;
}

.club {
    font-family: "Anybody-ExtraBold";
    font-size: 1.3em;
    color: #f39200;
}

.event {
    font-family: "Anybody-ExtraBold";
    font-size: 2em;
    color: #1b223a;
}

.bottom-border {
    border-bottom: 1px solid #ccc;
}

.dark-bottom-border {
    border-bottom: 1px solid #485170;
}

.bubble-bottom {
    font-size: 0.9em;
}

.duration {
    width: 100%;
    background-color: #fcc;
}

.clear {
    clear: both;
}

.teamname {
    width: 100%;
}

.top-margin {
    margin-top: 10px;
}

.smatch {
    padding-top: 20px;
    width: 800px;
    margin: 0 auto;
}

.scontainer {
    display: flex;
    align-items: center;
}

.verticalmargin {
    margin: 10px 0px;
}

.vertical-padding {
    padding: 8px 0px;
}

.tight {
    line-height: 1.1;
}

.flex-row {
    display: flex;
    justify-content: space-between;
    height: 24px;
    align-items: center;
    /* vertical-align: middle; */
}

.left-label {
    align-self: flex-start;
    /* Aligns the left label to the top */
}

.right-label {
    align-self: flex-end;
    /* Aligns the right label to the bottom */
}

.left-column {
    flex-grow: 1;
}

.right-column {
    flex-grow: 1;
    text-align: right;
}

.team_image {
    height: 40px;
    width: 40px;
}

.table-row-1-colum {
    display: grid;
    grid-template-columns: 1px auto;
    /* Vertically center the content within each column */
    padding: 5px 0px;
}

.table-row-2-column-header {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    /* Vertically center the content within each column */
    padding: 5px 0px;
}

.table-row-2-colums {
    display: grid;
    grid-template-columns: 2fr 60px;
    align-items: center;
    /* Vertically center the content within each column */
    padding: 5px 0px;
}

.table-row-2-colums-test {
    display: grid;
    grid-template-columns: 1px auto 100px;
    align-items: center;
    /* Vertically center the content within each column */
    padding: 5px 0px;
}

.table-row-3-colums {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    /* Vertically center the content within each column */
    padding: 5px 0px;
}

.table-row-4-colums-tournament {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    /* Vertically center the content within each column */
    padding: 5px 0px;
}

.table-row-6-colums-club-tournament {
    display: grid;
    grid-template-columns: 100px 80px 100px 80px 1fr auto;
    align-items: center;
    /* Vertically center the content within each column */
    padding: 5px 0px;
}

.table-row-4-colums {
    display: grid;
    grid-template-columns: 1px auto 50px 70px 100px;
    /* first column is a hack */
    align-items: center;
    /* Vertically center the content within each column */
    padding: 5px 0px;
}

.table-row-3-colums-ranks {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    /* first column is a hack */
    align-items: center;
    /* Vertically center the content within each column */
    padding: 5px 0px;
}

.table-row-3-colums-teams {
    display: grid;
    grid-template-columns: 1px auto auto 80px;
    /* first column is a hack */
    align-items: center;
    /* Vertically center the content within each column */
    padding: 5px 0px;
}

.table-row-3-colums-summons {
    display: grid;
    grid-template-columns: 1px auto 180px 120px;
    /* first column is a hack */
    align-items: center;
    /* Vertically center the content within each column */
    padding: 5px 0px;
}

@media print, screen and (min-width: 80em) {
    .table-row-4-colums {
        display: grid;
        grid-template-columns: 1px auto 50px 160px 180px;
        /* first column is a hack */
        align-items: center;
        /* Vertically center the content within each column */
        padding: 5px 0px;
    }
}

.table-row-5-colums {
    display: grid;
    grid-template-columns: 60px auto 50px 70px 130px;
    align-items: center;
    /* Vertically center the content within each column */
    padding: 5px 0px;
}

.table-cell {
    flex-grow: 1;
    /* text-align: center; */
    /* padding: 5px; */
}

.table-cell-large {
    grid-column: 2 / span 1;
    /* Center column spans from column 2 to column 3 */
    text-align: left;
}

.table-cell-responsive-large {
    flex-grow: 1;
    display: none;
}

.table-cell-responsive-short {
    flex-grow: 1;
    display: block;
}

@media print, screen and (min-width: 80em) {
    .table-row-4-colums-tournament {
        grid-template-columns: 50px 1fr auto auto;
    }

    .table-cell-responsive-large {
        display: block;
    }

    .table-cell-responsive-short {
        display: none;
    }
}

.wrap {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 100vh;
    /*the height will need to be customized*/
    width: 50px;
}

#xrow {
    background: #000;
    color: #fff;
    height: 50px;
    width: 50px;
    margin-left: 10px;
}

.flex {
    display: flex;
    align-items: center;
}

.flex-left {
    flex: 1;
    text-align: left;
    padding: 5px 0px;
}

.flex-right {
    flex: initial;
    text-align: right;
    vertical-align: middle;
    padding: 5px 0px;
}

#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.left-content {
    display: flex;
    align-items: center;
}

.right-content {
    margin-left: auto;
}
