@font-face {
	font-family: 'impact';
	src: url('../fonts/impact.ttf') format('truetype');
	font-weight: normal;
    font-style: normal;
}
@font-face {
	font-family: 'greatlakes';
	src: url('../fonts/GreatLakesNF.ttf') format('truetype');
	font-weight: normal;
    font-style: normal;
}
@font-face {
	font-family: 'century';
	src: url('../fonts/centurygothic.ttf') format('truetype');
	font-weight: normal;
    font-style: normal;
}
@font-face {
	font-family: 'century';
	src: url('../fonts/centurygothic_bold.ttf') format('truetype');
	font-weight: bold;
    font-style: normal;
}

a:visited {
    color: #FFFFFF; /* Color for visited links */
}
a:hover .white-header{
    color: darkgray; /* Color when hovering over the link */
}



/* Base styles for all devices */
html, body {
    height: 100%;
    margin: 0px;
	/*padding: 0px;*/
    font-family: 'century', Arial, sans-serif;
	color: #4d4d4d;
	font-size: 16px;
	overflow-x: hidden;
}
/* holds all content */
.container {
    display: flex;
    flex-direction: column;
    height: 100vh; /* Full viewport height */
	width: 100%;
	min-height: 100vh;
}

/* top banner, image, icons */
.top-container {
    height: 15vh; /* 15% of viewport height */
    background-color: #013369;
    width: 100%;
    display: flex; /* Enable flexbox */
    align-items: center; /* Center content vertically */
	justify-content: center;
    position: relative; /* Make this container a positioning context for the icons and image */
	font-family: 'impact', Haettenschweiler, Cardana, Charcoal, sans-serif;
	font-weight: bold;
	color: white;
	font-size: 24px;
}



/******************************************* PICKS *******************************************/
.top-container-picks {
    height: 10vh;
    background-color: #013369;
    width: 100%;
    display: flex; /* Enable flexbox */
    align-items: center; /* Center content vertically */
	justify-content: center;
    position: relative; /* Make this container a positioning context for the icons and image */
	font-family: 'impact', Haettenschweiler, Cardana, Charcoal, sans-serif;
	font-weight: bold;
	color: white;
	font-size: 24px;
/*	position: fixed;
	top: 0; */
}
.top-container-picks.changed-color {
    background-color: #D50A0A; 
}
.top-container img.main-image {
    max-height: 85%;
	max-width: 75%;
    object-fit: contain; /* Ensure the image scales to fit the container without cropping */
	margin: 0 auto;
	position: relative;
}
.icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
	width: auto;
	height: 33%;
	max-height: 33%;
	object-fit: contain;
	/*filter: grayscale(100%) brightness(0%); */
}
.icon-left {
    left: 3%; /* Adjust distance from left edge */
}
.icon-right {
    right: 3%; /* Adjust distance from right edge */
}
.left-arrow, .right-arrow {
    position: absolute;
    cursor: pointer;
	height: 33%;
	max-height: 33%;
}
.left-arrow {
    left: 20%;	
}
.right-arrow {
    right: 20%;
}
#current-week-info {
    text-align: center; /* Center the text */
    font-family: 'impact', Haettenschweiler, Cardana, Charcoal, sans-serif;
	font-weight: bold;
    flex: 1; /* Allow the text to take available space */
    white-space: nowrap; /* Prevent the text from wrapping */
	font-size: 24px;
    margin: 0 auto; /* Centering horizontally in case of flex container */
}
#current-week {
    font-weight: bold;
	font-size: 24px;
}


/* holds all main content */
.middle-container {
    flex: 1; /* Fills the remaining space between top and bottom containers */
	width: 100%;
	background-color: white;
	justify-content: center;
    align-items: center;
    text-align: center;
	overflow-y: auto;
}
.content-container {
    width: 60%;
    max-width: 90%;
    margin: 0 auto;
	margin-top: 5%;
	justify-content: left;
    align-items: left;
    text-align: left;
	}
.content-container-info {
    width: 40%;
    max-width: 90%;
    margin: 0 auto;
	margin-top: 5%;
	justify-content: left;
    align-items: left;
    text-align: left;
	}
.page3-active .content-container-info {
	width: 90%;
}
	
/* TEXT */
.no-data {
    margin-top: 50px;
    text-align: center;
    color: darkgray;
}

.custom-header {
/*	position: sticky;
	top: 0;
	z-index: 10;
	text-align: left;*/
	left: 0;
	font-family: 'impact', 'greatlakes',helvetica;
	font-size: 32px;
	color: #4d4d4d;
	font-weight: normal;
	margin-bottom: 10px;
	margin-top: 10px;
}
.white-header {
	font-family: 'impact', 'greatlakes',helvetica;
	font-size: 32px;
	color: #ffffff;
	font-weight: normal;
	margin-bottom: 10px;
	margin-top: 10px;
}
.custom-sub-header {
	font-family: 'century',helvetica;
	font-size: 32px;
	color: #4d4d4d;
	font-weight: bold;
	margin-bottom: 10px;
	margin-top: 10px;
}

/* FORMS */
.custom-input, .custom-select {
    box-sizing: border-box; /* Includes padding and border in the element's width */
	font-family: 'century', Arial, sans-serif;
}
.custom-input {
    background-color: white;
    color: darkgray;
    border: 1px solid grey;
    padding: 10px;
    border-radius: 10px;
    width: 50%;
	maximum-width: 100%;
    margin-bottom: 20px; /* Spacing between rows */
	font-family: 'century', Arial, sans-serif;
}
.custom-input::placeholder {
    color: lightgrey;
	font-family: 'century', Arial, sans-serif;
}
.custom-select {
    background-color: white;
    color: darkgray;
    border: 1px solid grey;
    padding: 10px;
    border-radius: 10px;
    width: 50%;
	maximum-width: 100%;
    margin-bottom: 20px; /* Spacing between rows */
    font-family: 'century', Arial, sans-serif;
}
.custom-select option[disabled][selected] {
    color: lightgrey;
}
.custom-select option {
    color: darkgray;
}

/* BUTTONS */
.button-container {
    width: 60%;
    max-width: 90%;
    margin: 0 auto;
    box-sizing: border-box;
    background-color: white;
    border-radius: 10px;
	margin-top: 20px;
	justify-content: left;
    align-items: left;
    text-align: left;
}
.custom-button {
	width: 150px;
    background-color: darkgray;
    color: white;
    font-family: 'century', Arial, sans-serif;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
	margin-bottom: 20px;
	margin-right:10px;
}
.custom-button:hover {
    background-color: grey;
}
.custom-button.selected {
    background-color: grey;
}

/******************************************* HOME TABLE  *******************************************/
.table-leagues {
    width: 100%;
}
.table-leagues th,
.table-leagues td {
	width: 15%;
	text-align: center;
	border-top: 0px;
	border-bottom: 1px solid #e0e0e0;
}
/*	  padding-top: 6px;
	  padding-bottom: 6px; */

	
	
.table-leagues a {
    display: inline-block; /* Allows padding and border to apply */
	width: 80%;
/*    padding: 8px; /* Adds padding inside the button */
/*    margin: 5px; /* Adds spacing between buttons */
/*    text-decoration: none; /* Removes underline */
    color: white; /* Text color */
/*    background-color: #013369; /* Button background color */
/*    border: 1px solid #013369; /* Button border color */
    border-radius: 5px; /* Rounds the corners of the button */
    text-align: center; /* Centers text inside the button */
    font-size: 1em; /* Adjusts text size */
    /*transition: background-color 0.3s, border-color 0.3s; /* Smooth transition for hover effects */
}
.table-leagues a:hover {
    background-color: darkgray;
    border-color: darkgray; 
}
.table-icon {
/*    transform: translateY(-50%); */
	width: auto;
	height: 50px;
	filter: invert(100%) brightness(200%);
	/*filter: grayscale(1) brightness(0.5);	*/
}
/* form groups enable labels and inputs to remain vertically aligned */
.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.form-group label {
    width: 200px; 
    text-align: right;
    margin-right: 10px;
}
.table-manage-players {
	text-align: left;	
	width: 95%;
}
.table-manage-players .custom-select {
	width: 80%;
	margin-bottom: 5px;
}
table-manage-players th,
.table-manage-players td {
	margin-right: 20px;
}

/* Added for the home page aloigment of assets START */
.form-container {
  display: flex;
  align-items: flex-start;
  gap: 10px; /* space between button and inputs */
}

.input-group {
  display: flex;
  flex-direction: column;
}

.custom-input2 {
  background-color:#024998;
  color:darkgray;
  border:#024998;
  width:130px;"
  box-sizing: border-box; /* Includes padding and border in the element's width */
  font-family: 'century', Arial, sans-serif;
  padding: 10px;
  border-radius: 10px;
}
.custom-input2::placeholder {
    color: lightgrey;
	font-family: 'century', Arial, sans-serif;
}
/* Added for the home page aloigment of assets END */


/******************************************* SCHEDULE TABLE *******************************************/
.schedule-table-container {
	display: inline-block;
	position: relative;
	margin: 0 auto;
	text-align: left;
}		
.schedule-table {
    position: relative;
	width: 1800px; 
    border-collapse: collapse;
    margin: 0 auto; 
    font-size: 16px; 
	table-layout: fixed;
}
.schedule-table th,
.schedule-table td {
    border: 1px solid #ddd; /* Light border for clarity */
    padding: 2px;
    text-align: center;
}
.schedule-table th {
    background-color: white;
    font-weight: normal;
	color: dark-gray;
    position: sticky;
	padding: 8px;
    top: 0;
    z-index: 3; /* Ensures header stays above table rows */
}
.col-width-1: {
	width: 50px;
	background-color: white;
}
.col-width-2: {
	width: 40px;
}
.col-width-3: {
	width: 55px;
}
.col-width-4: {
	width: 75px;
}
.sticky-col {
	position:sticky;
	left:0;
	background-color: white;
	z-index: 2;
}


/******************************************* LEAGUE TABLE *******************************************/
.league-table-container {
	display: inline-block;
	position: relative;
	text-align: left;
	padding:0px;
	background-color: #f5f5f5;
	border-radius: 12px;
	padding: 12px;
	margin-top: 12px;
	margin-bottom: 12px;
	width:95%;
	overflow-x:auto;
}	

/*	body {
	  font-family: 'Segoe UI', sans-serif;
	  background: #fff;
	  color: #4d4d4d;
	  margin: 0;
	  padding: 1rem;
	} */
.league-table {
	  width: 100%;
	  border-collapse: collapse;
	}

.league-table th, td {
	  padding-top: 6px;
	  padding-bottom: 6px;
	  text-align: center;
	  border-bottom: 1px solid #e0e0e0;
	}
	
.league-table th {
	  background-color: #f9f9f9;
	  font-weight: 600;
	}

.info-icon {
    font-size: 14px;
    margin-left: 6px;
    cursor: help;
    color: #555;
}

.info-icon:hover {
    color: #000;
}

/******************************************* ARCHIVE TABLE *******************************************/
.archive-table-container {
	display: inline-block;
	position: relative;
	text-align: left;
	background-color: #f5f5f5;
	border-radius: 12px;
	padding: 12px;
	margin-top: 12px;
	margin-bottom: 12px;
	width:95%;
	height:91%;
	overflow-x:auto;
}
.sticky-col-archive {
	position:sticky;
	left:-12;
	background-color: white;
	padding-left:12px;
	z-index: 2;
	text-align: left;
}
.archive-table {
    position: relative;
    border-collapse: collapse;
    font-size: 16px; /* Adjust font size as needed */
	table-layout: fixed;
}
.archive-table th,
.archive-table td {
    border: 1px solid #ddd; /* Light border for clarity */
    padding-top: 5px;
    padding-bottom: 5px;
	width: 90px;
    text-align: center;
	font-family: 'Segoe UI', sans-serif;
	font-size: 16px;
}
.archive-table th {
    background-color: #ffffff;
    font-weight: normal;
	color: dark-gray;
    position: sticky;
	width: 150px;
    top: 0;
	border-top: none;
    z-index: 2; /* Ensures header stays above table rows */
}

#player-filter {
    position: relative;
    cursor: pointer;
	color: black;
    font-weight: normal;
}

.filter-label {
    padding: 5px;
	color: dark-gray;
    width: 55px;
    text-align: left;
    border-radius: 4px;
}

.filter-dropdown {
    position: absolute;
    top: 30px;
    left: 0;
    background-color: #fff;
    border: 1px solid #ccc;
	color: black;
    text-align: left;
    z-index: 10;
    max-height: 200px;
    overflow-y: auto;
    width: 200px;
    padding: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.filter-dropdown label {
    display: flex;
    align-items: center;
    margin: 2px 0;         /* Reduce vertical margin */
    line-height: 0.5;      /* Tighter line spacing */
    font-size: 14px;    
    color: black;
}

.green-bg {
    background-color: #b8feba; /* Win background color */
    color: #4d4d4d;
}

.red-bg {
    background-color: #ff9999; /* Loss background color */
    color: white;
}

.yellow-bg {
    background-color: #ffdb93; /* Tie background color */
    color: #4d4d4d;
}

.grey-bg {
    background-color: #f5f5f5; /* No pick background color */
    color: #d50a0a;
}


/******************************************* PICKS *******************************************/
.middle-container-columns {
	display: flex;
/*	padding-top:10vh;
	padding-bottom: 5vh; */
/*	margin-top:15vh;
	margin-bottom: 5vh; */
/*	position: absolute;
	top: 14vh;
	bottom: 7vh; */
	align-items: flex-start;
	background-color: white;

}
.gallery-container {
	height: calc(85vh - 32px);
	margin-left: 15%;
	margin-top: 16px;
	margin-bottom: 5px;
	/*width: 50%;*/
	/*flex: 1;*/
}
.gallery {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Adjust the gap between rows as needed */
    width: 400px; /* Fixed width for gallery */
    overflow-y: scroll; /* Makes gallery scrollable */
	scrollbar-width: none;	
    max-height: 80vh; 
	font-color: darkgrey;
	-ms-overflow-style: none;
	touch-action: auto; /* Enable normal touch interactions */
    -webkit-overflow-scrolling: touch; 
}

.gallery::-webkit-scrollbar {
    display: none; /* Hide scrollbars in Webkit browsers */
}
.gallery > * {
	transform: translateZ(0);
	will-change: transform;
}

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2px; /* Adjust the gap between team elements as needed */
	font-color: darkgrey;
}
.team-container {
    width: 50px; /* Adjust image container width as needed */
    height: 50px; /* Adjust image container height as needed */
    overflow: hidden;
   /* border-radius: 50%; /* Ensure images are circular */
}

.team-container img {
    width: 100%;
    height: auto;
    display: block;
}

.team-name {
    font-size: 14px; /* Adjust font size as needed */
    text-align: center;
    width: 80px; /* Adjust width as needed */
}

.match-name {
	font-size: 14px;
/*    font-size: 16px; /* Adjust font size as needed */
/*    font-weight: bold; */
	width: 60px;
    text-align: center;
	font-color: darkgrey;
}

.selected-image-container {
    flex: 0 0 150px;
    margin-left: 80px;
    position: sticky;
    top: 20px;
	overflow: hidden;
}
.selected-image-container img {
    max-width: 100%;
    height: 100px;
}
.selected-image-text {
    font-size: 14px;
    margin-top: 10px;
}
.unavailable {
    opacity: 0.5;
	filter: grayscale(100%);
}
.disabled {
    opacity: 0.5;
    pointer-events: none;
}
#bench-container {
	margin-top: 20px;
	font-size: 14px;
	display: none;
} 
#bench-image {
    width: 50px;  /* Set width to 300 pixels */
    height: 50px; /* Set height to 200 pixels */
    object-fit: cover; /* Optional: adjust how the image fits within the dimensions */
}
splash-img {
    max-width: 100%;
    height: auto; /* Optional but recommended */
    display: block; /* Optional: Removes the gap below the image */
}






/******************************************* TS AND CS *******************************************/
.bottom-container {
    height: 10vh; /* 10% of viewport height */
	width: 100%;
    background-color: lightcoral;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 10px;
	overflow-wrap: break-word;
	box-sizing: border-box;
}



/******************************************* MOBILE *******************************************/
@media (orientation: portrait) {
    html,body,  .custom-select { /* .custom-header, .custom-sub-header */
		font-size: 1em;
    }
	.custom-input,.custom-button {
		font-size: 1em;
		font-family: 'century', Arial, sans-serif;
	}
/*	.col-width-1, .col-width-2, .col-width-3 {
		width: 1.3em;
	} */
	.col-width-1 {
		width: 60px;
	}
	.col-width-2 {
		width: 60px;
	}
	.col-width-3 {
		width: 60px;
	}
	.content-container {
	    width: 90%;
	}
	.content-container-info {
	    width: 90%;
	}/*	.bottom-container {
		font-size: 1em;
	} */
	.icon, .left-arrow, .right-arrow {
		height: 25%;
		max-height: 25%;
	}
	.left-arrow {
	    left: 10%; 
	}
	.right-arrow {
	    right: 10%; 
	}
/*	.schedule-table {
		font-size: 1em;
		width: 1200px;
	}*/
	.gallery-container {
		margin-left: 5px;
	}
	.gallery {
		width: 240px;
	}
	.selected-image-container {
    margin-left: 20px;
	}
	.custom-button {
		width: 170px;
	}
	.custom-input2 {
 		width:150px;
	}
}

	