@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: 0;
    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;
}
.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 */
}
.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 */
}
.custom-input::placeholder {
    color: lightgrey;
}
.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;
}

/* TABLES */
.table-leagues {
    width: 100%;
}
.table-leagues th,
.table-leagues td {
	width: 15%;
	text-align: center;
}
.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;
}
.schedule-table-container {
/*    width: 98%;
	text-align: center;
	height: 100%; 
    overflow-y: auto;
	margin: 0 auto;
    position: relative;
    margin-top: 10px; 
	box-sizing: border-box;*/
	display: inline-block;
	position: relative;
	margin: 0 auto;
	text-align: left;
}		
.schedule-table {
    position: relative;
	width: 1300px; /* Table width will not fill the entire page width can also try 100% */
	/*width: max-content;*/
    border-collapse: collapse;
    margin: 0 auto; /* Center table horizontally */
    font-size: 11px; 
	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: #013369;
    font-weight: bold;
	color: white;
    position: sticky;
    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;
}
.sticky-col {
	position:sticky;
	left:0;
	background-color: white;
	z-index: 2;0
}
.league-table {
    position: relative;
	/* width: 1500px; /* Table width will not fill the entire page width */
	/*width: max-content;*/
    border-collapse: collapse;
    /*margin: 0 auto; /* Center table horizontally */
    font-size: 11px; /* Adjust font size as needed */
	table-layout: fixed;
}
.league-table th,
.league-table td {
    border: 1px solid #ddd;
    padding: 3px;
	width: 50px;
    text-align: center;
}
.league-table th {
    background-color: #013369;
    font-weight: bold;
	color: white;
    position: sticky;
	width: 50px;
    top: 0;
	border-top: none;
    z-index: 2; /* Ensures header stays above table rows */
}
.archive-table {
    position: relative;
	/* width: 1500px; /* Table width will not fill the entire page width */
	/*width: max-content;*/
    border-collapse: collapse;
    font-size: 11px; /* Adjust font size as needed */
	table-layout: fixed;
}
.archive-table th,
.archive-table td {
    border: 1px solid #ddd; /* Light border for clarity */
    padding: 3px;
	width: 50px;
    text-align: center;
}
.archive-table th {
    background-color: #013369;
    font-weight: bold;
	color: white;
    position: sticky;
	width: 50px;
    top: 0;
	border-top: none;
    z-index: 2; /* Ensures header stays above table rows */
}

/* PREDICTIONS */
.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-colour: 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 */
}
.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2px; /* Adjust the gap between team elements as needed */
	font-colour: 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 */
}






/* holds T&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;
}

.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;
}

/* MOBILE */
@media (orientation: portrait) {
    html,body,  .custom-select { /* .custom-header, .custom-sub-header */
		font-size: 1em;
    }
	.custom-input,.custom-button {
		font-size: 0.75
	}
/*	.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;
	}
}

	