* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0px;
    padding: 0;
    }

html {
    height: 100%;
    width: 100%;
    }   

body {
    margin: 0;
    background: var(--background-default);
    color: var(--default-text); 
    display: flex;
    flex-direction: column;
  }

a {
    text-decoration: none;  
}

/* Bids Salary cap Progress Bar*/
.progress-bar {
    height: 100%;
    width: 0%;
    margin: auto;
    background-color: var(--table-border);
    text-align: center;
    line-height: 30px;
    color: white;
    font-weight: bold;
    position: absolute;
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

.progress-container {
        width: 100%;
        height: 30px;
        background-color: var(--topnav-defaultbg);
        overflow: hidden;
        margin: auto;
        position: relative;
        display: flex;  /* Use Flexbox */
        justify-content: space-between;  /* Space out the elements evenly */
        align-items: center;  /* Vertically center the elements */
        border-top: 2px solid black;
    }


.button-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.button-container button {
    margin-right: 5px; /* Adjust margin as needed */
}

button[type=button],input[type=button]{
    background-color: var(--topnav-defaultbg);
    border: solid 1px var(--topnav-text);
    color: var(--topnav-text);
    padding: 5px 10px;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
  }

  button[type=button]:hover,input[type=button]:hover,button[type=submit]:hover,input[type=submit]:hover{
    background-color: var(--topnav-defaultbg);
    border: solid 1px var(--table-border);
    color: var(--table-border);
    padding: 5px 10px;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
  }

  button[type=submit],input[type=submit]{
    background-color: var(--topnav-defaultbg);
    border: solid 1px var(--topnav-text);
    color: var(--topnav-text);
    padding: 5px 10px;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
}

  button[type=enable],input[type=enable]{
    background-color: var(--tablesecondary);
    border: none;
    color: var(--default-text);
    padding: 0px 0px;
    text-decoration: none;
    margin: 0px 0px;
    cursor: pointer;
  } 

#Id_SeasonChoice.season_select {
    width: 100%;
    padding: 10px 10px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.form-group{
    justify-content: flex-start;
    margin : 5px 5px 5px 5px;
    padding : 3px;
    display:flex;
    align-items: center;
    box-sizing: content-box;
}

.control-label {
    padding: 8px;
}

.control-label--inline {
    padding: 8px;
    white-space: nowrap;
}

#login {
    width:auto;
    border: 4px solid var(--table-border);
    padding-top: 2vh;
    padding-bottom: 5vh;
}



 #logincontainer{
    width: 30%;
    margin:auto;
    margin-top: 25vh;
    height: 100%;
    padding: 10px;
  }  

.messages{
    list-style-type: none;
    padding-left: 0;
    background: var(--topnav-defaultbg);
    margin: auto;
    padding-top: 10px;
    padding-bottom: 10px;
}

#messages {
    border-top: 4px solid var(--table-border);
    border-left: 4px solid var(--table-border);
    border-right: 4px solid var(--table-border);
    color: var(--table-border);
}


.topnav {
    background-color: var(--topnav-defaultbg);
    border-bottom: 4px solid var(--table-border);
    z-index: +99;
    overflow: hidden;
    position: relative
    }
  
.topnav a {
    overflow: hidden;
    float: left;
    color: var(--topnav-text);
    text-align: center;
    padding: 16px 16px;
    text-decoration: none;
    }
  
.topnav a:hover {
    background-color: var(--topnav-hoverbg);
    color: var(--hover-text);
    font-weight: bold
    }

.topnav a.active {
    background-color: var(--topnav-hoverbg);
    color: var(--hover-text)
    }

.topnav .icon {
    display: none;
    }

#topnav_links{
    display: block;
  }

#mobile_links{
    display: none;
  }

#theme-label {
    color: var(--topnav-text);
    width: 150px;
    border: none;
    }

#theme-menu {
    border: none;
    float: right;
    color: var(--default-text);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    }

#footer  {
    align-content: center;
    width: 100%;
    margin-top: auto;
    }

#footer img
    {
    margin: 10px 10px 0px 0px;
    }
/* Create three unequal columns that floats next to each other */
.home {
    float: left;
    align-content: center;
    margin-top: 0px;
    margin-bottom: 0px;
    width: 25%;
  } 

#label.small {
position: relative;
width: 90%;
float: left;
border-bottom: 4px solid var(--table-border);
font-size: 32px;
font-weight: bold;
padding-top: 10px;
white-space: nowrap;
text-overflow: ellipsis;
margin-left: 5%;    
}

#label.xsmall {
    width: 90%;
    float: left;
    border-bottom: 4px solid var(--table-border);
    font-size: 32px;
    font-weight: bold;
    padding-top: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-left:0  
    }

#label.full {
    position: relative;
    width: 100%;
    float: left;
    border-bottom: 4px solid var(--table-border);
    font-size: 32px;
    font-weight: bold;
    padding-top: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-left: 0;    
    }

    #results_date_container{
        width:90%;
        border-bottom: 2px solid var(--topnav-defaultbg);
        box-shadow: 0px 2px 0px var(--table-border), 0px 2px 0px  var(--table-border);
        margin:auto;
        font-weight: bold;
        font-size: 22px;
        padding-top:10px;
        overflow: hidden;
        display: flex;
        flex-direction: row; /* Arrange children in a row */
        }

    .results_date_container-full{
        width: 100%;
        border-bottom: 2px solid var(--topnav-defaultbg);
        box-shadow: 0px 2px 0px var(--table-border), 0px 2px 0px  var(--table-border) !important;
        margin:auto;
        font-weight: bold;
        font-size: 22px;
        padding-top:10px;
        overflow: hidden;
        display: flex;
        flex-direction: row; /* Arrange children in a row */
        }

        .results_date_container-flex{
            width: auto;
            border-bottom: 2px solid var(--topnav-defaultbg);
            box-shadow: 0px 2px 0px var(--table-border), 0px 2px 0px  var(--table-border) !important;
            margin:auto;
            font-weight: bold;
            font-size: 22px;
            padding-top:10px;
            overflow: hidden;
            display: flex;
            flex-direction: row; /* Arrange children in a row */
            }

    .results_date_container-home{
        width: 98%;
        margin-left: 1%;
        border-bottom: 2px solid var(--topnav-defaultbg);
        box-shadow: 0px 2px 0px var(--table-border), 0px 2px 0px  var(--table-border);
        margin: auto;
        font-weight: bold;
        font-size: 22px;
        padding-top:10px;
        overflow: hidden;
        display: flex;
        flex-direction: row; /* Arrange children in a row */
        }


    .results_date_container_bottom{
        width: 100%;
        margin-top: 2px;
        background-color: #fff;
        border: 2px solid var(--topnav-defaultbg);
        border-top: 1px solid var(--topnav-defaultbg);
        padding-top:10px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        }

    .results_date_container_bottom-signups{
        width: 100%;
        margin-top: 2px;
        background-color: #fff;
        border: 1px solid var(--table-border);
        border-top: 0px;
        padding-top:10px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        }

    .label_background{
        height: 25px;
        margin: 0px 0px 0px -20px;
        overflow: hidden;
        transform: skew(45deg,0deg); 
        align-self: flex-end;
        color: var(--topnav-text);
    }
    
    .label_text {
        z-index: 99;
        
        margin: 0px 0px 0px 25px;
        overflow: hidden;
        transform: skew(-45deg,0deg);  
    }

    .label_toggle {
        z-index: 99;
        color: var(--topnav-text);
        margin: 0px 0px 0px 0px;
        overflow: hidden;
        transform: skew(-45deg,0deg); 
    }

    .label_toggle_text {
        z-index: 99;
        color: var(--topnav-text);
        font-size: 16px;
        padding: 5px;
        opacity: 0.3;
        font-weight: normal;
        font-size: 12px;
    }

    .label_toggle_enabled {
        color: var(--table-border);  
        opacity: 1;
        font-weight: bold;
        font-size: 16px;
    }
    


    .label_background-primary--text-label{
        background-color: var(--topnav-defaultbg);
        width: 20%;
    }
    
    .label_background-primary--xsmall{
        margin: 0px 0px 0px 0px;
        background-color: var(--topnav-defaultbg);
        width: 1%;
    }
    
    .label_background-primary--end{
        margin: 0px 0px 0px 0px;
        background-color: var(--topnav-defaultbg);
        width: 15%;
        margin-right: -20px;
        display: none;
    }
    
    .label_background-secondary--xsmall{
        width: 1%;
        height: 23px;
        margin: 0px 0px 0px 0px;
        background-color: var(--table-border);
        outline: 2px solid var(--topnav-defaultbg);
    }
    
    
    .label_background-tertiary--xsmall{
        width: 1%;
        height: 23px;
        margin: 0px 0px 0px 0px;
        background-color: var(--topnav-text);
        outline: 2px solid var(--topnav-defaultbg);
    }


#label {
    position: relative;
    width: 98%;
    float: left;
    border-bottom: 4px solid var(--table-border);
    font-size: 32px;
    font-weight: bold;
    padding-top: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-left: 1%;    
    }
#label.auto{
    position: relative;
    width: fit-content;
    align-self: center;
    border-bottom: 4px solid var(--table-border);
    font-size: 32px;
    font-weight: bold;
    padding-top: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-left: 0;    
    }
#labelcontainer {
    display: flex;
    justify-content: center;
    align-items: center;
    }

#proclub a {
    color: var(--topnav-defaultbg);
    }

#container {
    width: 100%;
    }
    
#content {
    width: 100%;
    }    

.clubcontainer{
    color: var(--default-text);
    text-decoration: none;
    white-space: nowrap;
    background-repeat: no-repeat;
    background-position: left;
    background-size: contain; /* Ensures the background image fits within the container */
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none; 
    border: 1px solid #cccccc;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 30px;

}

.club-row {
    margin-top: 10px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 10px;
}

.club-container {
    background-color: #fff;
    min-width: 30%;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 10px;
}

.clubcontainer:hover {
    background-color: var(--topnav-text);
    border: 2px solid var(--table-border)

}
.select-container--top-border{
    border-top: 2px solid var(--table-border);  
}

.clublistlinks.a{
    text-decoration: none;   
}
.clublistlinks {
    flex: 1 0 25%; /* This will make each club take up 25% of the container width */
    max-width: 25%; /* Ensures each club occupies a maximum of 25% of the container width */
    box-sizing: border-box; /* This includes padding and border in the total width/height of an element */
    padding: 10px; /* Adjust padding as needed */
}

.club_disabled{
    background-color: grey; opacity: 0.4   
}

.club_enabled{
    background:white;   
}


#leagueconfig p{
    display: flex;
    align-items: center; /* Align items vertically in the center */
    margin-bottom: 5px; /* Adjust the value as needed for the desired spacing */
    margin-top: 5px; /* Adjust the value as needed for the desired spacing */
    margin-left: 5px;
    margin-right: 5px;
    padding-left: 5px;
    padding-right: 5px;
}

.league-form-control[type=checkbox]{
    -moz-appearance:none;
    -webkit-appearance:none;
    -o-appearance:none;
    box-sizing: border-box;
    outline: 1px solid var(--topnav-defaultbg);
    width: 11px; /* Set a fixed width */
    height: 11px; /* Set a fixed height */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    position: relative;
    background-color: #fff;
    margin-left: 5px;
    margin-right: 5px;
}

.league-form-control[type="checkbox"]:checked {
    padding: 0px 0px;
    background-color: var(--table-border, #000);
    color: #fff;
}

.league-form-control[type="checkbox"]:checked::before {
    content: '\2713'; /* Unicode checkmark character */
    font-size: 12px; /* Adjust the size of the checkmark */
    font-weight: bold;
    color: var(--topnav-defaultbg, #000); /* Use the checkbox outline color as the checkmark color */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.league-form-control-season {
    box-sizing: border-box;
    border: 1px solid var(--topnav-defaultbg);
    width: 100px;
    padding: 5px 5px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.league-form-control[type=text]{
    flex: 1;
    margin: 5px;
    outline: 1px solid var(--topnav-defaultbg);
    padding: 3px 3px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.league-form-control-season[type=number]{
    margin-left: 5px;
    margin-right: 5px;
    padding: 5px 5px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}


.league-form-control[type=url]{
    flex: 1;
    margin-left: 5px;
    margin-right: 5px;
    outline: 1px solid var(--topnav-defaultbg);
    padding: 3px 3px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.league-form-control[type=text]:focus{
    outline: 1px solid var(--table-border);
    padding: 5px 5px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.league-form-control[type=url]:focus{
    outline: 1px solid var(--table-border);
    border: 1px solid var(--table-border);
    padding: 5px 5px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.league-form-control-season[type=number]:focus{
    outline: 1px solid var(--table-border);
    border: 1px solid var(--table-border);
    padding: 5px 5px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

/* Style the dropdown menu */
#form-dropdown::-ms-expand {
    display: none; /* Hide the arrow on IE/Edge */

}

#form-dropdown option {
    border: 1px solid var(--topnav-defaultbg);
    padding: 8px;
    font-size: 16px;
}


.seasonchoice_container {
    text-align: center;
    margin-top: 20px; /* Adjust the margin as needed */
}

.custom-dropdown {
    display: inline-block;
    margin-right: 5px; /* Adjust the margin between the dropdowns as needed */
}

.form-inline > div {
    display: inline-block;
    margin-right: 10px; /* Adjust margin as needed */
    vertical-align: top; /* Align elements to the top */
}
.form-inline label {
    display: inline-block; /* Ensures labels stack vertically */
}
.form-inline button,
.form-inline input[type="submit"] {
    display: inline-block; /* Ensure buttons stay on the same line */
    vertical-align: top; /* Align buttons to the top */
}


.signup-form-control-large {
    background-color: #fff;
    border: 1px solid var(--topnav-defaultbg);
    width: 75%;
    padding: 8px 8px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);

}

.signup-form-control--large:hover{
    border: 1px solid var(--table-border);
    padding: 10px 10px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}


.signup-form-control-med {
    background-color: #fff;
    border: 1px solid var(--topnav-defaultbg);
    width: 50%;
    padding: 8px 8px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    margin-bottom: 5px;
}

.signup-form-control-med:hover{
    border: 1px solid var(--table-border);
    padding: 10px 10px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.signup-form-control-small {
    background-color: #fff;
    border: 1px solid var(--topnav-defaultbg);
    width: 30%;
    padding: 8px 8px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    margin-bottom: 5px;
}

.signup-form-control-small:hover{
    border: 1px solid var(--table-border);
    padding: 10px 10px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}


.signup-form-control-smaller {
    background-color: #fff;
    border: 1px solid var(--topnav-defaultbg);
    width: 20%;
    padding: 8px 8px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    margin-bottom: 5px;
}

.signup-form-control-smaller:hover{
    border: 1px solid var(--table-border);
    padding: 10px 10px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.signup-form-control-smallest {
    background-color: #fff;
    border: 1px solid var(--topnav-defaultbg);
    width: 15%;
    padding: 8px 8px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    margin-bottom: 5px;
}

.signup-form-control-smallest:hover{
    border: 1px solid var(--table-border);
    padding: 10px 10px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}


.signup-form-control-xsmall {
    background-color: #fff;
    border: 1px solid var(--topnav-defaultbg);
    width: 8%;
    padding: 8px 8px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    margin-bottom: 5px;
}

.signup-form-control-xsmall:hover{
    border: 1px solid var(--table-border);
    padding: 10px 10px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.form-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.form-container form input[type="date"],
.form-container form select {
    /* Adjust the width and height as needed */
    width: 125px; /* Example width */
    margin-right: 10px;
}

.form-container form input[type="text"],
.form-container form select {
    /* Adjust the width and height as needed */
    width: 200px; /* Example width */
    margin-right: 10px;
}

.form-container form input[type="time"],
.form-container form select {
    /* Adjust the width and height as needed */
    width: 65px; /* Example width */
    margin-right: 10px;
}

.form-container form input[type="number"],
.form-container form select {
    /* Adjust the width and height as needed */
    width: 55px; /* Example width */
    margin-right: 10px;
}


.form-container form button {
    margin-left: 10px; /* Adjust as needed */
    /* Adjust button size if necessary */
    height: 40px; /* Example height */
    font-size: 16px; /* Example font size */
}

.signup-form-control-xxsmall {
    background-color: #fff;
    border: 1px solid var(--topnav-defaultbg);
    width: 4%;
    padding: 8px 8px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    margin-bottom: 5px;
}

.signup-form-control-xxsmall:hover{
    border: 1px solid var(--table-border);
    padding: 10px 10px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}


.season-form-control {
    background-color: #fff;
    border: 1px solid var(--topnav-defaultbg);
    width: 100%;
    padding: 10px 10px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.signup-form-control {
    background-color: #fff;
    border: 1px solid var(--topnav-defaultbg);
    width: 100%;
    padding: 8px 8px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.signup-form-control:hover{
    border: 1px solid var(--table-border);
    width: 100%;
    padding: 10px 10px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.season-form-control:hover{
    border: 1px solid var(--table-border);
    width: 100%;
    padding: 10px 10px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.seasonchoice_container {
    
    padding: 12px 16px;
    width: 33%;
}
/*===== Statistics Table Styles =====*/  

/* Statistics Table */
#stats_table {
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    border-top: 2px solid var(--table-border);
    background:white;
    margin-top: 2px;
    margin-bottom: 20px;
    border-spacing:0;
    white-space: nowrap;
    overflow-x: scroll;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); 
    }

.stats_table {
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    border-top: 2px solid var(--table-border);
    background:white;
    margin-top: 2px;
    margin-bottom: 20px;
    border-spacing:0;
    white-space: nowrap;
    overflow-x: scroll;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); 
    }

#stats_table.home {
    font-family: Arial, Helvetica, sans-serif;
    width: 90%;
    border: 1px solid #cccccc;
    background:white;
    margin-top: 5px;
    margin-bottom: 20px;
    border-spacing:0;
    white-space: nowrap;
    overflow-x: scroll;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); 
    margin-left: 5%;
    }

#stats_table.small {
    font-family: Arial, Helvetica, sans-serif;
    width: 90%;
    border: 1px solid #cccccc;
    background:white;
    margin-bottom: 20px;
    border-spacing:0;
    white-space: nowrap;
    overflow-x: scroll;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); 
}

#signupmessage{
    width: 30%;
    background-color: #fff;
    margin-top: 20px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
}

#signupmessage-title{
    width: 100%; 
    padding: 20px 20px;
    border-bottom: 1px solid #cccccc;
    box-shadow: 0px 1px 1cqmin 0px rgba(0,0,0,0.2);
    border: 1px solid var(--table-border);
    background-color: var(--topnav-defaultbg);
    color: var(--topnav-text)

}

.signupmessage-content{
    width: 100%; 
    padding: 20px 20px;
    border-bottom: 1px solid #cccccc;
    box-shadow: 0px 1px 1cqmin 0px rgba(0,0,0,0.2);
    text-align: left;
    border: 1px solid var(--table-border);
    margin-bottom: 15px;
}

.signupmessage-content-no-margin{
    width: 100%; 
    padding: 20px 20px;
    border-bottom: 1px solid #cccccc;
    box-shadow: 0px 1px 1cqmin 0px rgba(0,0,0,0.2);
    text-align: left;
    border: 1px solid var(--table-border);
    margin-bottom: 0px;
}

#stats_table.xsmall {
    font-family: Arial, Helvetica, sans-serif;
    width: 90%;
    border: 1px solid #cccccc;
    background:white;
    margin-top: 5px;
    margin-bottom: 20px;
    border-spacing:0;
    white-space: nowrap;
    overflow-x: scroll;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); 
}


#stats_table.details_season
    {
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    border: 1px solid #cccccc;
    margin-top: 5px;
    margin-bottom: 20px;
    border-spacing:0;
    white-space: nowrap;
    overflow-x: scroll;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);       
    }

/* Statistics Table List Display */
#stats_table_list{
    list-style: decimal inside;
    padding: 0px;
    }

/* Statistics Table Label Column */
#stats_table_data_label{
    display: list-item;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;    
}

/* Statistics Table Clubs Crests */
#stats_table_data_label img{
    width:27px;
    height:27px;
    vertical-align:middle
}

/* Statistics Table Links */
#stats_table a {
    color: var(--default-text); 
    }



/* Statistics Table SortBy Column */




/* Statistics Table Data Padding */    
#stats_table td {
    padding-left: 7px;
    padding-right: 7px;
    }

/* Statistics Table Data Padding */    
.stats_table td {
    padding-left: 7px;
    padding-right: 7px;
    }

/* Statistics Table Hover */
#stats_table tr:hover,#stats_table tr:hover a {  
    background-color: var(--table-hover);
    color: var(--hover-text);
    font-weight: bold
    }

/* Statistics Table Headers */
#stats_table th {
    background: var(--table-header);
    color: var(--table-header-text);
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 7px;
    padding-right: 7px;
    border-bottom: 1px solid #cccccc;
    }
 
/* Statistics Table Headers */
.stats_table th {
    background: var(--table-header);
    color: var(--table-header-text);
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 7px;
    padding-right: 7px;
    border-bottom: 1px solid #cccccc;
    }

/* Statistics Table Data Borders */    
#stats_table td:nth-child(n) {
    border-bottom: 1px solid #cccccc;
    border-right: 1px solid #cccccc;
    }

/* Statistics Table Data Borders */    
.stats_table td:nth-child(n) {
    border-bottom: 1px solid #cccccc;
    border-right: 1px solid #cccccc;
    }

/* Statistics Table SortBy Column */
#stats_table_sortby{
    background-color: var(--table-hover);
    color: var(--hover-text);
    font-weight: bold;
    font-size: 22;
    
    }

/* Statistics Table SortBy Column */
#stats_table_sortby_secondary{
    background-color: var(--table-hover);
    color: var(--hover-text);
    font-weight: bold;
    font-size: 22;
    opacity: 0.7;
    }

#stats_table_sortby_secondary .text-fully-opaque {
    opacity: 1; /* Make text fully opaque */
}


.matched-row{
    background-color: var(--table-hover);
    color: var(--hover-text);
    font-weight: bold;
    font-size: 22; 
    }
    
#stats_table_header.match_history th:nth-child(n) {
    width: 33%;
    }


#stats_table_header_mobile th:nth-child(n) {
    width: 33%;
    }


#stats_table_header_mobile{
    display: none;
    }



/* The dropdown container */
.dropdown {
    float: left;
    overflow: hidden;
    flex-direction: row;
    z-index: 2;
  }
  
  /* Dropdown button */
  .dropdown .dropbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: var(--topnav-text);
    padding: 16px 16px;
    background-color: inherit;
    font-family: inherit; /* Important for vertical align on mobile phones */
    margin: 0; /* Important for vertical align on mobile phones */
    z-index: 2;
  }

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: fixed;
    background-color: var(--topnav-defaultbg);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    flex-direction: row;
  }
  
  /* Links inside the dropdown */
  .dropdown-content a {
    float: none;
    color: var(--topnav-text);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    border-left: 2px solid var(--table-border);
    border-right: 2px solid var(--table-border) !important;
    border-top: 1px solid var(--table-border);
    border-bottom: 1px solid var(--table-border) !important;
  }
  
  /* Add a grey background color to dropdown links on hover */
  .dropdown-content a:hover {
    background-color: var(--topnav-hoverbg);
  }
  
  /* Show the dropdown menu on hover */
  .dropdown:hover .dropdown-content {
    display:grid;
    z-index: 4;
  }


  /* The subnavigation menu */
  .subnav {
    float: left;
    overflow: hidden;
  }
  
  /* Subnav button */
  .subnav .subnavbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
  }
  
  /* Add a red background color to navigation links on hover */
  .navbar a:hover, .subnav:hover .subnavbtn {
    background-color: red;
  }
  
  /* Style the subnav content - positioned absolute */
  .subnav-content {
    display: none;
    position: absolute;
    left: 0;
    background-color: red;
    width: 100%;
    z-index: 2;
  }
  
  /* Style the subnav links */
  .subnav-content a {
    float: left;
    color: white;
    text-decoration: none;
    background-color: red
  }
  
#pagetopheader.results{
    display: none;    
}

  /* Add a grey background color on hover */
  .subnav-content a:hover {
    background-color: #eee;
    color: yellow;
  }
  
  /* When you move the mouse over the subnav container, open the subnav content */
  .subnav:hover .subnav-content {
    display: block;
  } 

/* Style for the nested dropdown container */
.sub-dropdown {
    position: relative;
    display: inline-block;
  }
  
  /* Style for the nested dropdown button */
  .sub-dropbtn {
    font-size: 16px;
    border-left: 2px solid var(--table-border);
    border-right: 2px solid var(--table-border) !important;
    border-top: 1px solid var(--table-border);
    border-bottom: 1px solid var(--table-border) !important;
    outline: none;
    min-width: 160px;
    text-align: left;
    color: var(--topnav-text);
    padding: 16px 16px;
    background-color: inherit;
    font-family: inherit; /* Important for vertical align on mobile phones */
    margin: 0; /* Important for vertical align on mobile phones */
    z-index: 2;
  }

  
  .sub-dropbtn:hover, .sub-dropbtn:focus {
    background-color: #bbb;
  }
  
  /* Style for the nested dropdown content */
  .sub-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    z-index: 1;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    background-color: var(--topnav-defaultbg);

  }
  
  .sub-dropdown-content a {
    color: var(--topnav-text);
    text-decoration: none;
    display: block;
  }
  
  .sub-dropdown-content a:hover {
    background-color: #f1f1f1;
  }
  
  /* Show the nested dropdown content when hovering over the nested dropdown */
  .sub-dropdown:hover .sub-dropdown-content {
    display: block;
  }
  
  /* Position the nested dropdown content to the right of the nested dropdown button */
  .sub-dropdown-content {
    top: 0;
    left: 100%;
    /*margin-left: 10px; /* Adjust as needed */
  }
/* Use a media query to add a break point at 800px: */
@media screen and (max-width: 800px) {
    #login_buttons {
        display: none;
      }

      #clubs_button{
        display: none;
      }

      #topnav_links{
        display: none;
        }

    .club-container {
        background-color: #fff;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 10px;
        margin-left: 10px;
        margin-right: 10px;
    }

    #mobile_links{
        float: none;
        display: block;
        text-align: left;
    }
    
    #formcontainer {
        background-color: var(--topnav-defaultbg);
        color: var(--topnav-text);
        padding-bottom: 10px;
        
    }

    #theme-menu {
        float: left;
        }

    .topnav a:not(:first-child), .dropdown .dropbtn  {display: none;}
    .topnav a.icon {
        float: right;
        display: block;
    }
    
    #pagetopheader{
        color: var(--topnav-text);
        background-color: var(--topnav-defaultbg);
        border-left: 0px solid var(--table-border);
        border-right: 0px solid var(--table-border);
        border-top: 0px  solid var(--table-border);
        border-bottom: 4px solid var(--table-border);
        padding-top: 10px;
        padding-bottom: 10px;
    }

    #pagetopheader.results{
        display:block;
        border-bottom: 3px solid var(--table-border); 
 
    }
    
    .trophy{
        border-bottom: 3px solid var(--table-border); 
    }

    #logincontainer{
        width: 90%;
        margin:auto;
        padding: 10px;
      }  
      #login {
        width:100%;
        padding-top: 2vh;
        padding-bottom: 5vh;
    }
    #loginpage{
        width: 100%;
        margin:auto;
        margin-top: 15vh;
        padding: 10px;
      }  
    
    .messages{
        list-style-type: none;
        padding-left: 0;
        background: var(--topnav-defaultbg);
        margin: auto;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    #messages {
        width: 100%;
        border-top: 4px solid var(--table-border);
        border-left: 4px solid var(--table-border);
        border-right: 4px solid var(--table-border);
        color: var(--table-border);
    }

    #container {
        max-width: 90%;
        width: 90%;
        overflow-x: scroll;
        margin:auto        
        }

    .home {
        width: 100%; /* The width is 100%, when the viewport is 800px or smaller */
        padding: 0px 0px;
        align-content: center;
        }
    
    /* Clear floats after the columns */
    .row:after {
        content: "";
        display: table;
        clear: both;
        }


    /* Statistics Table */    
    #stats_table {
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;           
    border-radius: 0px;
    border-spacing:0;
    margin: 0px;
    margin-bottom: 10px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); 
    }  

    #stats_table.details_season
    {
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    border-radius: 0px;
    border-top: 4px solid var(--table-border);
    border-left: 0px solid var(--table-border);
    border-right: 0px solid var(--table-border);
    border-bottom: 0px solid var(--table-border);
    margin-bottom: 20px;
    border-spacing:0;
    white-space: nowrap;
    overflow-x: scroll        
    }


#content {
    width: 100%;
    }    


    #stats_table_header.match_history{
        display:none
    }

    #stats_table_header_mobile{
        display:table-row
        }

#label{
    width: 90%;
    float: left;
    margin-left: 5%;
    border-bottom: 4px solid var(--table-border);
    margin-bottom: 5px; 
    font-size: 32px;
    font-weight: bold;
    padding-top: 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;   
    }

    .label_background-primary--text-label{
        width: 75%;
    }
    
    
    .label_background-primary--xsmall{
        width: 3%;
    }
    
    
    .label_background-secondary--xsmall{
        width: 3%;
    }
    
    
    .label_background-tertiary--xsmall{
        width: 3%;
    
    }
    
    .label_background-primary--end{
        margin: 0px 0px 0px 0px;
        background-color: var(--topnav-defaultbg);
        width: 15%;
        margin-right: -20px;
        display: flex
    }
}

@media screen and (max-width: 800px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
    .topnav.responsive .dropdown {float: none;}
    .topnav.responsive .dropdown-content {position: relative;}
    .topnav.responsive .dropdown .dropbtn {
      display: block;
      width: 100%;
      text-align: left;
    }


    #signupmessage{
        width: 90%;
        background-color: #fff;
        margin-top: 20px;
        border: 1px solid #cccccc;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    }
    
    #signupmessage-title{
        width: 100%; 
    }
    
    #signupmessage-content{
        width: 100%; 
    }
}