﻿
.content {
	/* Override main.css background color */
	background-color: transparent;
} 


/* ---------------------------------- HEADER/FOOTER SEASON NAV ---------------------------------- */
.seasonNav {
	text-align: center;
	margin: auto;
	margin-bottom: 20px;
	background-color: #181818EE;
	width: fit-content;
	padding: 5px;
	line-height:1.5;
	border-radius: 10px;
}
.activeSeason {
	border-style: solid none solid none;
	border-width: 1px;
	background-color: #444;
	padding: 2px;
}

/* ---------------------------------- SEASON SUMMARY ---------------------------------- */
.seasonSummary {
	position: relative;
	z-index: 0;
	margin: 10px auto 50px auto;
	border-style: solid;
	border-width: 1px;
	border-radius: 15px;
	padding: 1px;
	width: 75%;
	min-height: 400px;
	overflow: clip;
	background-color: #181818EE;
	line-height: 1.1;
	scroll-margin-top: 50px;
	padding: 15px;
	font-style: italic;
	em {
		font-style: normal;
	}
}
.seasonSummary img {
	height: 400px;
	float: left;
	margin-right: 20px;
}
.seasonName {
	display: block;
	text-align: center;
	margin-bottom: 25px;
	font-family: BB, Roboto, sans-serif;
	font-size: xx-large;
	font-style: normal;
}

/* ---------------------------------------- ------------ ---------------------------------------- */
/* ---------------------------------------- EPISODE CARD ---------------------------------------- */
/* ---------------------------------------- ------------ ---------------------------------------- */
.episodeCard {
	position: relative;
	z-index: 0;
	margin: auto;
	padding: 1px 0px;
	width: 95%;
	overflow: clip;
	min-height:530px;
	background-color: #2a2a2eEE;
	line-height: 1.1;
	scroll-margin-top: 50px;
	border: 1px solid black;
	border-radius: 30px 30px 0px 0px;
}
.episodeCardBG{
	z-index:-1;
	height: 350px;
	width: auto;
	overflow:hidden;
	object-fit:contain;	
	border: 2px solid #C0C0C0;
		clip-path: polygon(
		calc(100% - 60px) 0%, 
		100% 60px, 100% 100%, 0% 100%, 0% 0%
	  );
}
td:has(> img.episodeCardBG) {
	text-align: right;
}
.episodeCardFlare{
	position: absolute;
	z-index:-1;
	left: 0;
	top: 0;
	overflow:hidden;
	object-fit:contain;
}
.episodeCardTable{
	width: 100%;
	height: 100%;
	border-collapse: collapse;
}
.episodeCardTable > tbody > tr:nth-child(2) > td{
	/* Make the second row (the detail block) have a minimum height */
	height: 280px;
}


	/* | ---------------------------------------- EPISODE CARD BLOCKS ---------------------------------------- */
	.titleBlock {
		margin-left: auto;
		margin-right: auto;
		width: 98%;
	}
	.detailRow {
		position: relative;
		padding: 8px;
		clip-path: polygon(
		0% 70px, 70px 0%, calc(100% - 70px) 0%, 
		100% 70px, 100% 100%, 0% 100%
	  );
		background: linear-gradient(to bottom, #FFFBFE, #FFFBFE 49%, #2A2A2E00 50%, #2A2A2E00);
	}
	.detailRow::before {
		content: "";
		position: absolute;
		top: 8px; left: -1px; right: -1px; bottom: -1px;
		background: var(--shirt-color);
		z-index: -1;
		clip-path: polygon(
			0% 72px, 72px 0%, calc(100% - 72px) 0%, 
			100% 72px, 100% calc(100% - 42px), 50% 99%, 0% calc(100% - 42px)
		);
	}
	.detailBlock {
		margin-left: 56px;
		border-width: 0;
		height: auto;
		min-height: 100%;
		padding-top: 8px;
	}
	.detailBlock > table {
		height: 100%;
		min-height: 280px;
		width: 100%;
	}
	.detailBlock > table > tbody > tr:last-child > td {
		/* Make the last row fill the remaining space */
		height: 100%;
		vertical-align: bottom;
		padding-bottom: 8px;
	}
	.detailBlock a {
		text-decoration: underline dotted 1px;
	}
	.ratingBlock {
		margin-left: auto;
		margin-right: auto;
		margin-top:10px;
		width: 98%;
		border: 2px solid #C0C0C0;
		z-index: 1;		
	}


		/* || ---------------------------------------- TITLE BLOCK ELEMENTS ---------------------------------------- */
		.seasonEpisodeNumberBox {
			text-align: left;
			font-size: large;
			vertical-align: bottom;
			font-weight: bold;
			line-height: 1;
		}
		.airDateBox {
			border: 1px solid #fffbfe;
			text-align: center;
			background-color:rgba(0,0,0,0.6);
			width: 90px;
			height: 24px;
			line-height: 0.9;
			padding-top: 0px;
			font-size: 14px;
		}
		.SepisodeNumberBox {
			border: 1px solid #fffbfe;
			text-align: center;
			background-color:rgba(0,0,0,0.6);
			width: 90px;
			height: 24px;
			line-height: 0.9;
			padding-top: 0px;
		}
		.FepisodeNumberBox {
			border: 1px solid #fffbfe;
			text-align: center;
			background-color:rgba(0,0,0,0.6);
			width: 90px;
			height: 24px;
			cursor: help;
			line-height: 0.9;
			padding-top: 0px;
		}
		.combadgeBox {
			text-align: center;
			font-size: xx-large;
			height: 36px;
			width: 36px;
			line-height: 0;
		}
		.titleBox {
			text-align: left;
			font-size: xx-large;
			height: 36px;
			font-family: BBI, Roboto, sans-serif;
			font-weight: bold;
			padding-bottom: 0px;
		}
		.titleMarginBox {
			width: auto;
		}
		.summaryBox {
			vertical-align: top;
			height: 1px;
			padding-bottom: 8px;
		}
		.summary {
			text-align: left;
			font-size: small;
			font-style: italic;
			em {font-style: normal;}
			/*background-color: #18181890;*/
			border-radius: 5px;
			height: auto;
			width: fit-content;
			padding: 2px;
		}
		.arcDescription {
			font-style: normal;
			font-size: medium;
			color: #111;
			background-color: #999;
			padding: 2px;
			border-radius: 2px;
		}


		/* || -------------------- DETAIL BLOCK ELEMENTS -------------------- */
		.timelinePopup {
			position: absolute;
			left: 0%;
			top: 50%;
			transform: translateX(-100%) translateY(-50%);
			z-index: 12;
			transition: .3s;
			vertical-align: middle;
		}
		.timelinePopup table,img{
			display: inline-block;
			vertical-align: middle;
		}
		.timelinePopupTab {
			position: absolute;
			left: 0;
			top: 50%;
			transform: translateY(-50%);
			z-index: 5;
			height: fit-content;
			width: 16px;
			font-size: small;
			background-color: #000030;
			text-align: center;
			cursor: pointer;
		}
		.timelineCloseTab {
			display: inline-block;
			z-index: 6;
			height: fit-content;
			width: 16px;
			font-size: small;
			background-color: #300030;
			text-align: center;
			vertical-align: middle;
			cursor: pointer;
		}
		.popupLeft {
			display: none;
			position: absolute;
			left: 30px;
			top: 50%;
			transform: translateY(-50%);
			color: white;
			background-color: #00000088;
			border-radius: 200px;
			font-size: 36px;
			cursor: pointer;
			padding: 2px 10px 2px 7px;
			&:hover {
				background-color: #000000EE;
			}
		}
		.popupRight {
			position: absolute;
			right: 10px;
			top: 50%;
			transform: translateY(-50%);
			color: white;
			background-color: #00000088;
			border-radius: 200px;
			font-size: 36px;
			cursor: pointer;
			padding: 2px 7px 2px 10px;
			&:hover {
				background-color: #000000EE;
			}
		}
		.imageBox {
			vertical-align: top;
		}
		.iconBox {
			text-align: center;
			font-size: large;
			height: 24px;
			width: 36px;
			vertical-align: top;
		}
		.iconDescription {
			border-radius: 8px;
			text-align: left;
			font-size: medium;
			height: auto;
			width: fit-content;
			/*background-color: #18181890;*/
			padding: 0px 3px 3px 3px;
		}
		.quoteDescription {
			border-radius: 8px;
			text-align: left;
			font-size: medium;
			height: auto;
			width: fit-content;
			/*background-color: #18181890;*/
			padding: 0px 3px 3px 3px;
		}
		td:has(> .iconDescription){
			vertical-align: top;
		}
		.minorReferencesList{
			font-size:small;
			line-height: 1;
			margin-top: 2px;
			margin-left: 12px;
			padding-left: 12px;
			& li {
				line-height:1;
				margin-bottom: 2px;
			}
		}
		.nitpickery {
			border-radius: 8px;
			text-align: left;
			font-size: small;
			height: auto;
			width: fit-content;
			/*background-color: #18181890;*/
			padding: 3px;
		}
		.quote {
			border-radius: 10px;
			height: 24px;
			text-align: center;
			font-size: xx-large;
			font-family: "Times New Roman", serif;
		}
		.thoughtsSection {
			border-radius: 8px;
			text-align: left;
			font-size: small;
			height: auto;
			width: fit-content;
			/*background-color: #18181890;*/
			padding: 3px;
		}
		.watchRecommendationExplanation {
			border-radius: 8px;
			text-align: left;
			font-size: medium;
			height: auto;
			width: fit-content;
			/*background-color: #18181890;*/
			padding: 3px;
		}


		/* || -------------------- RATING BLOCK ELEMENTS -------------------- */
		.myRatingDescriptionBox {
			text-align: right;
			vertical-align: top;
			width: 200px; height: 24px;
			font-weight: bold;
			padding-top: 8px;
		}
		.SFDratingDescriptionBox {
			text-align: right;
			width: 200px; height: 24px;
			font-weight: bold;
		}
		.EASratingDescriptionBox {
			text-align: right;
			width: 200px; height: 24px;
			font-weight: bold;
			cursor: help;
		}
		.NIMDBratingDescriptionBox {
			text-align: right;
			width: 200px; height: 24px;
			font-weight: bold;
			cursor: help;
		}
		.starRatingBox {
			font-size: large;
			padding-left: 10px;
		}
		.timelineSuggestionBox {
			font-size: small;
			vertical-align: top;
			text-align: right;
			width: 575px;
			min-width: 100px;
		}
		.ratingsInfoLinkBox{
			font-size: small;
			vertical-align: bottom;
			text-align: right;
		}
		.ratingsInfoLinkBox a {
			white-space: normal;
			background-color: #18181890;
		}

			/* ||| --- WATCH RECOMMENDATION BOX --- */
			.watchRecommendationBox {
				border: 1px solid #CCCCCC;
				text-align: center;
				background-color:rgba(51,51,51,0.7);
				width: 150px;
				vertical-align:top;
				line-height: 0.9;
			}
			.watchRecommendationTitle {
				font-size: small;
			}
			
			/* ||| --- REFERENCE METER BOX --- */
			.referenceMeterBox {
				border: 1px solid #CCCCCC;
				text-align: center;
				background-color:rgba(51,51,51,0.7);
				width: 150px;
				vertical-align:top;
				line-height: 1;
			}
			.referenceMeterTitle {
				font-size: small;
			}

			/* ||| --- SCORE BOX --- */
			.ScoreBox {
				border: 4px solid #e47545; /*#CCCCCC*/
				text-align: center;
				color: #000000;
				background-color: #ccc;
				width: 120px;
				vertical-align:middle;
				font-weight: bold;
			}


/* ---------------------------------------- ------------ ---------------------------------------- */
/* -------------------------------------- End Episode Card -------------------------------------- */
/* ---------------------------------------- ------------ ---------------------------------------- */