﻿body {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently */
    background-image: url('../images/background.png');
    background-size: cover;
    background-position: center;
    min-height:100dvh;
    position: absolute;
}
.selected-items {
    display: flex;
}
.select-box {
    border: 10px solid var(--tra-orange);
    display: flex;
    width: 200px;
    height: 200px;
    min-width: 200px;
    align-items: center;
    justify-content: center;
    margin: 2vw;
}
.select-sport {
    display: inline-grid;
    justify-items: center;
    width: min(30vw, 30vh);
    height: min(30vw, 30vh);
    min-height: 230px;
}
.sport-image {
    width: min(20vw, 20vh);
    height: min(20vw, 20vh);
    min-height: 170px;
    min-width: 170px;
}
.select-bar {
    display: flex;
    height: 80vh;
    width: 100dvw;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.select-player-box {
    min-height: 40vh;
    height: min-content;
}
.select-header {
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tra-yellow);
}
.select-header {
    font-size: min(7vw, 7vh);
    font-weight: bold;
}
.select-player {
    font-weight: bold;
    display: block;
    margin-left: 0px;
    margin-right: 0px;
    height: max-content;
    min-height: 170px;
    width: 300px;
}
#select-tournament {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90vh;
    font-size: large;
    color: var(--tra-orange);
    font-weight: bold;
}
#menu-bar {
    height: 10vh;
}
#menu-bar .courtlogo {
    width: 100%;
    height: 100%;
    margin: 0px;
}
#menu-bar .sport-image {
    width: 100%;
    height: 100%;
    margin: 0px;
    min-height:0px;
    min-width: 0px;
}
#menu-bar .courtname {
    display: none;
}
.menu-item {
    height: 8vh;
    border: 1vh solid var(--tra-orange);
    width: 8vh;
    margin: 1vh;
}
.courtlist {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap:wrap;
}
.courtlogo {
    width: 170px;
    height: 170px;
    margin: 10px 10px 5px 10px;
}
.playerlogo {
    width: 170px;
    height: 170px;
    margin: 10px 10px 5px 10px;
    justify-content: center;
    display: flex;
    align-items: center;
    font-size:40pt;
    color: var(--tra-orange);
}
.playerlogobox {
    width: min-content;
    display:flex;
}
.logo {
    display: flex;
    justify-content: CENTER;
    align-items: center;
    height: 200px;
}
.courtname {
    width: 170px;
    height: 50px;
    margin: 0px 10px 10px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: bold;
    font-size: 20pt;
    color: var(--tra-yellow);
}
.courtselect {
    border: 1vh solid var(--tra-orange);
    margin: 20px;
    width: max-content;
}
.playerlabel {
    width: 170px;
    height: 50px;
    margin: 0px 10px 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hcap {
    margin: 0px 5px 0px 5px;
}
.name {
    margin: 0px 5px 0px 5px;
}
.search {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--tra-yellow);
}
.prevlogo {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30pt;
    width: 50px;
    color: var(--tra-yellow);
}
.nextlogo {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30pt;
    width: 50px;
    color: var(--tra-yellow);
    cursor: pointer;
}
.prevlogospacer {
    display: flex;
    width: 50px;
}
.nextlogospacer {
    display: flex;
    width: 50px;
}
.player-frame {
    margin: 20px;
}
.odds {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 200px;
}
.oddsedit {
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 10px;
}
.details-panel {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: var(--tra-yellow);
    margin-top: 10px;
    margin-bottom: 10px;
}
.details-label {
    font-weight: bold;
    font-size: x-large;
    margin: 20px;
    width: 280px;
    transition: 120ms transform ease-in-out;
}
.format-edit label {
    display: inline-flex;
    font-size: large;
    transform: translate(6px, -1px);
}
.format-edit table {
    width: 320px;
}
.format-edit select {
    font-size: initial;
    margin: 0px;
    width: 320px;
}

input[type="radio"] {
    /* Add if not using autoprefixer */
    -webkit-appearance: none;
    /* Remove most all native input styles */
    appearance: none;
    /* For iOS < 15 */
    background-color: var(--form-background);
    /* Not removed via appearance */
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 1.15em;
    height: 1.15em;
    border: 0.15em solid currentColor;
    border-radius: 50%;
    display: inline-grid;
    transform: translateY(-0.075em);
    place-content: center;
}

    input[type="radio"]::before {
        content: "";
        width: 0.65em;
        height: 0.65em;
        border-radius: 50%;
        transform: scale(0);
        transition: 120ms transform ease-in-out;
        box-shadow: inset 1em 1em var(--tra-yellow);
        /* Windows High Contrast Mode */
        background-color: CanvasText;
    }

    input[type="radio"]:checked::before {
        transform: scale(1);
    }

    input[type="radio"]:focus {
        outline: max(2px, 0.15em) solid currentColor;
        outline-offset: max(2px, 0.15em);
    }

    #select-match-settings {
        display: grid;
    }

    #select-court-button {
        width: 200px;
        margin: 20px;
    }

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
}
.rto-login {
    background-color: #40372D;
    margin: 35vh auto; /* 15% from the top and centered */
    padding: 2vh 2vw;
    border: 1px solid #888;
    width: 60%; /* Could be more or less, depending on screen size */
    border-radius: 20px;
    font-weight: bold;
}
.modal-row {
    color: var(--tra-yellow);
    font-size: large;
}
.modal-row div {
    width: 45%;
    margin-left: 0px;
    margin-right: 0px;
    display: inline-flex;
}
.modal-row input {
    font-size: large;
}
.modal-row select {
    font-size: large;
}

#donate-button-container {
    margin-right: 10px;
    margin-left: auto;
    display: flex;
    align-items: center;
}