*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

/* NAVIGATION BAR */
body{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.nav_bar{
    background: rgb(152, 111, 33);
    height: 60px;
    width: 100%;
}
.logo{
    height: 50px;
    margin-top: 5px;
    margin-left: 15px;
}
nav ul{
    float:right;
    margin-right: 10%;

    
}
nav ul li{
    display: inline-block;
    line-height: 60px;
    margin: 0 10px;
}

nav ul li a{
    color: white;
    font-size: 17px;
    border-radius: 4px;
    padding: 7px 13px;

}
a:hover{
    background: rgb(122, 82, 9);
    transition: .5s;
}
.checkbtn{
    font-size: 30px;
    color: white;
    float: right;
    line-height: 60px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}
#check{
    display:none;
}



.overview-table td {
    font-size: smaller;
    font-weight: 520;
    min-width: 0px !important;
    max-width: 20px !important;
    width: fit-content;
    height:fit-content;
    padding: 0px !important;
    overflow: hidden;
}
.overview-table tr {
    height: fit-content;
    width: fit-content;
}
.over {
    overflow-x: scroll !important;
    max-width: 40%;
}
.overview {
    display: flex;
    width: 90%;
    max-height: 30em;
    overflow: hidden;
    flex-direction: row;
    align-items: stretch;
    margin: 0;
    padding-left: 5%;
    padding-right: 5%;
    justify-content: center;
}

/* PLAYERS TABLE */
.content-table{
    border-collapse:collapse;
    font-size: 0.6em;
    overflow: hidden;
}

.content-table thead tr{
    background-color: rgb(128, 147, 67);
    color: white;
    text-align: left;
    font-weight: bold;
    border-bottom: 1px solid white;
    
    
}
.content-table th,
.content-table td{
    padding: 2px 10px;
}
.content-table td {
    max-width: 12px;
    min-width: 12px;
}

.content-table tbody tr {
    border-bottom: 0.5px solid rgb(128, 147, 67);
    background-color: white;
}
.content-table tbody tr:nth-of-type(even) {
    background-color:rgb(229, 231, 220);
}

.content-table.absent thead tr{
    background-color: rgb(152, 111, 33);
}
.content-table.absent tbody tr {
    border-bottom: 0.5px solid rgb(152, 111, 33);
}
.content-table.absent tbody tr:nth-of-type(even) {
    background-color:rgb(232, 228, 220);
}

.content-table.change-sess-table th,
.content-table.change-sess-table td {
    
    min-width: 150px;
}


.scroll-div {
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
    overflow-y:scroll;
    padding:0px;
    display: none;
}

.tables {
    max-height: 100% - 35px;
    overflow: hidden;
}

.scroll-div.is-active {
    display: inline-block;
}


.table-all {
    border: 2px solid black;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    max-height: 70%;
    max-width: 50%;
    display: flex;
    flex-direction: row;
    padding:  none;
    margin: 10px;
    margin-top: 15px;
    background-color: white;
    width: fit-content;
}

.table-most {
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: white;
}


#myInput {
    align-content: center;
    margin: 1px;
}

.tabs {
    max-width: 100%;
    display: flex;
    align-items: stretch;
    margin: none;
}

.tabs_toggle {
    display: flex;
    width: 30%;
    height: 30px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 3px 3px 0px 0px;
    overflow: hidden;
    font-size: small;

}

#present-tab {
    background: rgb(128, 147, 67);
    margin-left: 5%;
}
#absent-tab {
    background: rgb(152, 111, 33);
    opacity: 0.5;
    
}

.table-buttons {
    display: flex;
    width: 40px;
    flex-direction: column;
    justify-content:center;
    margin: 2px;
    font-size: 6px;
}


.table-side-button {
    height: 40px;
    font-size: x-small;
}


.content-table tbody tr:hover {
    cursor:pointer;
    background-color: rgb(222, 218, 172) !important;
    
}
.highlight-present {
    background-color: rgb(128, 147, 67) !important;
}
.highlight-absent {
    background-color: rgb(152, 111, 33) !important;
}

.off {
    display: none !important;
}

.context-menu {
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
    font-size: 10px;
    z-index: 999;
    position: absolute;
    background-color: white;
    border-radius: 3px;
    display: inline-block;
    
}
.context-menu li:first-of-type {
    border-top: none;
    font-weight: bold;
}
.context-menu li {
    border-top: 0.1px solid black;
    padding: 1px;
}
.context-menu li:first-of-type:hover {
    background-color: white;
    cursor: default;
}
.context-menu li:hover {
    background-color: rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

/* Div layout - Session Page */

.session_page {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.rounds {
    display: flex;
    width: 100%;
    height: 30px;
    align-items: stretch;
}

.current_round {
    width: 100%;
    display: flex;
    flex-direction: row;
    height: 50em;
}



/* Round tabs */

.round_tab {
    font-size: 0.6rem;
    flex: 1 1 0;
    border-radius: 0 0 3px 3px ;
    background-image: linear-gradient(rgb(152, 111, 33), 10%, rgb(128, 147, 67, 0.8) );
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.round_tab:hover {
    cursor: pointer;
}

.active-round {
    background-image: linear-gradient(rgb(152, 111, 33), 10%, rgb(128, 147, 67, 1));
}

/* Button Matrix */

.button_matrix {
    display: flex;
    flex-direction: row;
    flex: 1 1 0;
    margin: 10px;
}

.main_session_buttons {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    padding: 0px;
    
}
.main_session {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
}
.classic {
    max-height: 5em;
    background-color:rgb(207, 213, 188); 
    margin: 0.5em;
    border-radius: 5px;
    border: 2px solid black;
    padding: 5px;
    flex: 1 1 0;
    transition: 0.3s;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    
}
.classic:hover {
    background-color: rgb(128, 147, 67, 1);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
.dual_button {
    flex: 1 1 0;
    display: flex;
    flex-direction: row;
    padding: none;
    max-height: 5em;
    
}

/* Settings */
.game_settings {
    flex: 1 1 0;
    display: none;
    flex-direction: column;
}

.column-container {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
}

.two-column-container-center {
    display: flex;
    flex-direction: row;
    flex: 1 1 0;
    width:80%;
    margin-top: 1em;
}

.two-column-container-center .column-container:first-of-type {
    border-right: 0.5px solid black;
}

.input-div {
    
    flex: 1 1 0;
    font-size: 0.8em;
    margin: 1em;
    
}
.input-text {
    width: 30%;
    margin-right: 7%;
    float: right;
}
.input-label {
    float: left;
    margin-left: 0px;
    width: 60%;
}
.input-checkbox {
    float: right;
    margin: 10px;
}
.input-checkbox:hover {
    cursor: pointer;
}

/* Add Players */
.add_player {
    flex: 1 1 0;
}

.error-message {
    color: red;
    
}

.csv-details {
    font-size: small;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    align-content: center;
    margin-top: 20px;
}
#file-form {
    margin: 40px;
    padding: 10px;
    border-radius: 5px;
 
}
#import-return {
    margin: 40px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Games */
.display-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 50%;
    flex-wrap: wrap;
    justify-content: center;
}
.game_element_div {
    flex: 1 1 0;
    background-color: rgb(128, 147, 67, 0.5);
    border-radius: 5px;
    border: 2px solid black;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    max-width: 30%;
    min-width: 30%;
    margin: 1%;
}
.versus {
    font-weight: bold;
    flex: 1 1 0;
}
.player_element_span {
    flex: 1 1 0;
    text-align: center;
    display: flex;
    justify-content: center;
    border-radius: 3px;
    transition: 0.2s;
    margin: 2px;
}
.player_element_span:hover {
    background-color: rgb(128, 147, 67, 1);
    cursor: pointer;
}
.drag-over {
    border: dashed 1px rgb(152, 111, 33);
}
.being_dragged {
    border: 1px solid black;
}
.hide {
    display: none;
}
.team_div {
    display: flex;
    flex: 1 1 0;
    flex-direction: row;
    justify-content: center;
    font-size: 0.8rem;
}
.display-screen {
    align-items: center;
    display: flex;
    flex-direction: column;
    width: 100%;
}
.display-screen h2 {
    display: block;
    float: center;
    
}
.display-screen-access {
    height: fit-content;
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    text-align: center;
    width: fit-content;
}

.warning {
    position: absolute; top: 50%; left: 50%;
    /* "COUNTER" WIDTH & HEIGHT OF BOX TO "TRULY CENTER" ON SCREEN */
    transform: translate(-50%, -50%);
    border-radius: 4px;
    padding: 10px;
    text-align: center;
    border: 1px solid black;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    display: flex;
    background-color: white;
    z-index: 500;
}

.popup-load {
    position: absolute; top: 50%; left: 50%;
    /* "COUNTER" WIDTH & HEIGHT OF BOX TO "TRULY CENTER" ON SCREEN */
    transform: translate(-50%, -50%);
    border-radius: 4px;
    padding: 100px;
    text-align: center;
    border: 1px solid black;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    display: flex;
    background-color: white;
    font-weight: bold;
}

.above {
    z-index: 100;
    position: absolute; top: 50%; left: 50%;
    /* "COUNTER" WIDTH & HEIGHT OF BOX TO "TRULY CENTER" ON SCREEN */
    transform: translate(-50%, -50%);
}
.warning-buttons {
    flex-direction: row;
    display: flex;
}
#warning-message {
    font-weight: bold;
}

/* LOADING SCREEN */
.loading-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 10%;
}

#cancel-creation-load {
    padding: 10px;
    margin-top: 30px;
}

/* SMALL SCREEN */
@media (max-width:952px){

    nav ul li a{
        font-size:16px;
    }
    .current_round {
        flex-direction: column;
    }
    .table-all {
        max-width: 100%;
    }
    .over-all {
        max-width: 50% !important;
    }

}
@media (max-width: 858px){
    .checkbtn{
        display: block;
    }
    ul{
        position:fixed;
        width:100%;
        height:100vh;
        background:rgb(114, 83, 25);
        top:60px;
        left: -100%;
        text-align: center;
        transition: all .5s;
        z-index: 1000;
    }
    nav ul li{
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    nav ul li a{
        font-size: 20px;
    }
    a:hover{
        background: none;
        color: rgb(152, 111, 33);
    }
    #check:checked ~ ul{
        left: 0;

    }

}

/* AUTH DISPLAY */

.auth-display {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    justify-content: center;
    height: fit-content;
    width: clamp(400px, 60%, 800px);
    margin-top: 2em;
}

.auth-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-height: screen;
    padding-top: 2em;
}
.auth-input-text {
    width: 40%;
    float: right;
    height: 2em;
    border: solid 1px black;
    border-radius: 2px;
}
.auth-input-label {
    float: left;
    margin-left: 0px;
    font-size: 1.2em;
    font-weight: bold;
}

.big-classic {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 25px;
}
.log-flash {
    font-size: medium;
    color: red;
    font-weight: bold;
    max-width: 100%;
}


/* LEAGUE SCREEN DISPLAY */
.league-page {
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 1em;
    padding-left: 12%;
    padding-right: 12%;
}

.create-league {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: fit-content;
    margin: 1em;
    border-radius: 1em;
    border: 0.5px solid black;
    background: radial-gradient(ellipse, white 60%, rgba(128, 147, 67, 0.2)100%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
.create-league-input {
    width: clamp(300px, 60%, 800px);
    border: solid 1px black;
    border-radius: 4px;
    margin: 0.5em;
    height: 2.5em;
    padding-left: 0.5em;
}
.create-league-header {
    margin-bottom: 1em;
    margin-top: 0.5em;
}
.league-classic {
    padding: 15px;
    align-self: stretch;
}
.league-panel {
    display: flex;
    background: radial-gradient(ellipse, white 40%, rgba(128, 147, 67, 0.2)100%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    align-self: stretch;
    border: 1px solid black;
    justify-content: center;
    border-radius: 1em;
    margin: 0.5em;
    padding: 5px;
    flex-direction: column;
}
.league-panel-name {
    font-family: 'Courier New', Courier, monospace;
}
.league-panel-access {
    display: flex;
    flex-direction: row;
    
}
.league-panel-admin {
    align-self: flex-start;
    flex: 1 1 0;
    align-self: center;
}
.panel-but {
    margin: 0.5em;
    max-width: 30%;
    
}
.new-league-panel {
    margin-top: 2em;
    background: radial-gradient(ellipse, white 50%, rgb(152, 111, 33, 0.3)100%);
}
.no-leagues {
    float: left;
    font-family: 'Courier New', Courier, monospace;
}
.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    margin: 3em;
}
  
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.unverified {
    background-color: rgba(255, 0, 0, 0.611) !important;
}


/* User Page */

.user-page {
    margin: 0;
    display: flex;
    flex-direction: row;
    align-content:center;
}


.user-header {
    font-family: 'Courier New', Courier, monospace;
    padding-left: 10%;
    font-weight: bold;
    align-self: flex-start !important;
}
.user-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 0;
}


@media (max-width:952px){
    .user-page {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .user-info {
        width: 90%;
    }
    #detail-header {
        border-top: 3px solid black;
        margin-left: 5%;
        padding-left: 5% !important;
        margin-right: 5%;
        padding-top: 1em;
        width: 90%
    }
    .user-game-div {
        flex-grow: 1;
    }
    .user-games-page {
        overflow: hidden;
        padding-left: 5%;
        padding-right: 5%;
    }
    .create-league {
        margin-right: 0px !important;
        margin-left: 0px !important;
    }
    .league-page {
        padding-left: 3%;
        padding-right: 3%;
    }
    .input-label {
        font-size: smaller;
    }
    .two-column-container-center {
        width: 100%;
    }
    .user-header {
        padding-left: 0px;
        font-size: x-large;
    }
    
}

.user-details {
    border: 1px solid black;
    border-radius: 1px;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    margin: 1em;
    font-family: 'Courier New', Courier, monospace;
}
.user-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 0;
}
.detail {
    margin: 4px;
}
.prof-classic {
    padding-top: 10px;
    padding-bottom: 10px;
}
.user-versus {
    font-weight: bold;
    align-self: center;
}
.game-scroller {
    overflow: hidden;
    overflow-y: scroll;
    max-height: 10em;
    border: 1px solid black;
    margin: 1em;
    border-radius: 4px;
}
.detail2 {
    align-self: center;
    font-family: 'Courier New', Courier, monospace;
    padding: 1em;
    font-size: medium;
    
}

.top-border {
    border-top: 3px solid black;
    margin-left: 5%;
    padding-left: 5% !important;
    margin-right: 5%;
    padding-top: 1em;
    width: 90%
}
.user-team-div {
    padding-top: 0.6em;
    padding-bottom: 0.6em;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    border-radius: 3px;
    background: radial-gradient(ellipse, rgba(128, 147, 67, 0.3) 50%, rgba(255, 255, 255, 0));

}
.user-player-element {
    border-radius: 2px;
}
.user-game-div {
    padding: 5px;
    border-radius: 4px;
    border: 1px solid black;
    background: radial-gradient(ellipse, white 50%, rgb(152, 111, 33, 0.4)100%);
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 0.2em;
    margin-right: 0.2em;
    display: flex;
    flex-direction: column;
    
}
.game-scroller .user-game-div:nth-child(1) {
    margin-top: 0.2em !important;
}

.user-games-page {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: flex;
}
.user-team-div .user-player-element:nth-child(2) {
    margin-left: 1.5em;
}

@media (min-width:952px){
    .display-container .user-game-div {
        font-size: small;
        width: 30% !important;
    }
}

@font-face{
    font-family:'digital-clock-font';
    src: url("../images/digital-7.ttf");
   }

.clock {
    font-family: digital-clock-font;
}

.home-page {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 90vh;
    width: 100%;
    padding-top: 3vh;
    align-items: center;

  }
.home-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 1 !important;
    
}
.home-content {
    position: absolute;
    padding-top: 1vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 80%;
}
.home-background {
    opacity: 0.1;
    z-index: 0;
    margin: auto;
    flex-grow: 1;
    margin-top: 5%;
}

.home-display {
    overflow: hidden;
    flex-grow: 1;

}

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
  height: 80%;
  overflow: hidden;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: black;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}
.home-icon-div {
    position: absolute;
    justify-content: center;
    align-items: flex-end;
    display: flex;
    font-size: 4rem;
    height: 80%;
    width: 100%;
    margin-bottom:8%;

}
.home-icon {
    display: block;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.activehome, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}