/*
*
*    GLOBAL
*
*/

* {}

:root {
	--color-offwhite:	245,245,245;			/*  #F5F5F5  */
	--color-card:		76,77,84;				/*  #4C4D54  */
	--color-rule:		151,151,151;			/*  #979797  */
	--color-panel:		30,37,47;				/*  #1E252F  */
	--color-live:		185,6,6;				/*  #B90606  */
	--color-60min:		134,11,11;				/*  #860B0B  */
	--gradient-hero:	linear-gradient(rgba(0,0,0,.3), rgba(0,0,0,.5));
}



/*
*
*    RESET
*
*/

html, body, div, span, h1, h2, h3, p, a, ul, li, img, main, section {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

body {
	line-height: 1;
}

ul {
    list-style: none;
}

img, ul, li {
    display: block;
}





/*
*
*    FONTS
*
*/

@font-face {
	font-family: "PublHeadBold";
	src: url("../../fonts/PublicoHeadline-Bold-Web.woff2") format("woff2"),
		 url("../../fonts/PublicoHeadline-Bold-Web.woff") format("woff"),
		 url("../../fonts/PublicoHeadline-Bold.otf") format("opentype");
}
@font-face {
	font-family: "PublHeadBlack";
	src: url("../../fonts/PublicoHeadline-Black-Web.woff2") format("woff2"),
		 url("../../fonts/PublicoHeadline-Black-Web.woff") format("woff"),
		 url("../../fonts/PublicoHeadline-Black.otf") format("opentype");
}
@font-face {
	font-family: "SFProText";
	src: url("../../fonts/SF-Pro-Text-Regular.woff2") format("woff2"),
		 url("../../fonts/SF-Pro-Text-Regular.woff") format("woff"),
		 url("../../fonts/SF-Pro-Text-Regular.otf") format("opentype");
}
@font-face {
	font-family: "SFProTextBold";
	src: url("../../fonts/SF-Pro-Text-Bold.woff2") format("woff2"),
		 url("../../fonts/SF-Pro-Text-Bold.woff") format("woff"),
		 url("../../fonts/SF-Pro-Text-Bold.otf") format("opentype");
}





/*
*
*    GUIDES
*
*/

#guide {
	position: absolute;
	top: 441px;
	left: 90px;
	height: 2px;
	width: 1740px;
	background: cyan;
	opacity: .25;
}

#overscan {
	position: absolute;
	top: 60px;
	left: 90px;
	width: 1736px;
	height: 956px;
	border: 2px solid cyan;
	opacity: .25;
}





/*
*
*    STRUCTURE
*
*/

body {
	background-color: black;
}

main {
	width: 1920px;
	height: 1080px;
	background-image: url("../img/background-gradient@2x.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
}

#pageContent {
	position: relative;
}

#row1 {}
#row2 {}
#row3 {padding-top: 50px;}
#row4 {padding-top: 50px;}
#row5 {}
#row6 {}
#row7 {padding-top: 50px;}





/*
*
*    PLAYER PANEL
*
*/

#playerPanel {
	position: relative;
	padding: 60px 90px 60px 90px;
	transition: all .2s;
}
.playerPanelOff {
	background: rgba(var(--color-panel),0);
	box-shadow: 0 3px 20px 0 rgba(0,0,0,0);
}
.playerPanelOn {
	background: rgba(var(--color-panel),.97);
	box-shadow: 0 3px 20px 0 rgba(0,0,0,.2);
}
#playerPanel li {
	display: inline-block;
	vertical-align: top;
}
#playerPanel li:nth-child(2) {
	padding: 0 0 0 30px;
	width: 1028px;
}
#playerPanel li:last-child {
	padding: 70px 0 0 0;
	vertical-align: middle;
}
#playerPanel h1 {
	margin: 0;
	padding: 7px 10px 6px 10px;
	background: rgb(var(--color-live));
	font-family: "SFProTextBold", sans-serif;
	font-size: 16px;
	text-transform: uppercase;
	color:  rgb(var(--color-offwhite));
	display: inline-block;
}
#playerPanel h2 {
	margin: 25px 0 0 0;
	font-family: "PublHeadBold", serif;
	font-weight: 400;
	font-size: 35px;
	color: rgb(var(--color-offwhite));
}
#playerPanel h3 {
	margin: 25px 0 0 0;
	font-family: "SFProText", sans-serif;
	font-weight: 400;
	font-size: 22px;
	color: rgb(var(--color-offwhite));
}





/*
*
*    HEADINGS
*
*/

.heading {
	margin: 50px 90px 30px 90px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: center;
}
.heading li:first-child,
.heading li:last-child {
    flex-grow: 1;
    flex-shrink: 0;
    align-self: auto;
	height: 1px;
	background: rgba(var(--color-rule),.2);
}
.heading li:nth-child(2) {
    flex-grow: 0;
    flex-shrink: 0;
    align-self: auto;
}

.heading h1,
h1#headingPill {
	font-family: "SFProTextBold", sans-serif;
	font-size: 22px;
	color: rgb(var(--color-offwhite));
	text-align: center;
	text-transform: uppercase;
}

.heading h1 {
	margin: 0 10px;
}
h1#headingPill {
	position: absolute;
	margin: 0;
	padding: 15px 0;
	top: 375px;
	left: 890px;
	background: rgba(0,0,0,.75);
	width: 140px;
	border-radius: 5px;
	opacity: 0;
}





/*
*
*    SHOWS
*
*/

.rowShows {
	padding: 0 90px 0 90px;
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	grid-row-gap: 0;
	grid-column-gap: 30px;
}
.rowShows li {
	height: 110px;
	box-shadow: 0 3px 20px 0 rgba(0,0,0,.2);
	transition: all .15s;
	display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;
	text-align: center;
}





/*
*
*    VIDEOS
*
*/

.rowVideos {
	padding: 0 90px 0 90px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-row-gap: 0;
	grid-column-gap: 60px;
}
.rowVideos li {
	height: 330px;
	box-shadow: 0 3px 20px 0 rgba(0,0,0,.2);
	transition: all .15s;
}
.rowVideos h1 {
	margin: 12px 27px 0 27px;
	font-family: "PublHeadBold", serif;
	font-size: 29px;
	color: rgb(var(--color-offwhite));
	line-height: 34px;
	text-transform: none;
	text-align: left;
}
.thumbnailWrapper {
	position: relative;
	width: 390px;
	height: 195px;
	overflow: hidden;
}
.thumbnail {
	position: relative;
	width: 390px;
	height: 195px;
	background-repeat: no-repeat;
	background-size: cover;
	transition: all .2s;
}
.rowVideos li.heroGiant {
	height: 579px;
	grid-column: 1/5;
	background-repeat: no-repeat;
	background-size: cover;
}
.heroOverlay {
	width: 100%;
	height: 100%;
	background: var(--gradient-hero);
}
.heroPanel {
	position: relative;
	top: 90px;
	margin: 0 auto;
	width: 1000px;
	height: 390px;
	background: rgba(var(--color-offwhite),.9);
	opacity: 0;
}
.heroPanel h1 {
	margin: 0 auto;
	width: 800px;
	font-family: "PublHeadBlack", serif;
	font-size: 75px;
	line-height: 68px;
	color: black;
	text-align: center;
}



/*
*
*    PLAYLISTS
*
*/

.rowPlaylists {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-row-gap: 0;
	grid-column-gap: 60px;
}
.rowPlaylists li {
	height: 363px;
	box-shadow: 0 3px 20px 0 rgba(0,0,0,0.2);
	transition: all .15s;
	background-repeat: no-repeat;
	background-size: cover;
}
.rowPlaylists h1 {
	margin: 0;
	font-family: "PublHeadBlack", serif;
	font-size: 52px;
	color: rgb(var(--color-offwhite));
	line-height: 52px;
	text-transform: none;
}
.playlistOverlay {
	height: 100%;
	justify-content: center;
	align-items: center;
	align-content: center;
	text-align: center;
	background-color: rgba(0,0,0,.3);
}





/*
*
*    METADATA
*
*/

.metadata span:last-child {
	margin: 0 0 0 5px;
}

.metadata span {
	padding: 7px 10px 5px 10px;
	color: black;
	background-color: rgb(var(--color-offwhite));
	font-family: "SFProTextBold", sans-serif;
	font-size: 16px;
	letter-spacing: 1px;
	text-align: center;
	text-transform: uppercase;
	clear: both;
	display: inline-block;
}

.rowVideos .metadata {
	position: absolute;
	bottom: 20px;
	left: 27px;
	opacity: 0;
}

.rowPlaylists .metadata {
	margin: 0 auto 0 auto;
	padding: 125px 0 10px 0;
}

.heroPanel .metadata {
	margin: 0 auto;
	padding: 70px 0 10px 0;
	text-align: center;
	position: inherit;
	bottom: inherit;
	left: inherit;
	opacity: 1;
}

.heroPanel .metadata span {
	color: rgb(var(--color-offwhite));
	background-color: black;
}







/*
*
*    ANIMATION CLASSES
*
*/

.videoUp {
	transform: scale(1.1);
	background: rgb(var(--color-offwhite));
}
.videoDown {
	transform: scale(1);
	background: rgba(var(--color-card), .2);
}

.showUp {
	transform: scale(1.1);
	background: rgb(var(--color-60min));
}
.showDown {
	transform: scale(1);
	background: rgba(var(--color-card), .2);
}

.scaleUp {
	transform: scale(1.1);
}
.scaleDown {
	transform: scale(1);
}











/*
*
*    Z-INDEX & SCALE
*
*/

#guide {
	z-index: 5;
}
#overscan {
	z-index: 4;
}
#headingPill {
	z-index: 3;
}
#playerPanel {
	z-index: 2;
}
#pageContent {
	z-index: 1;
}

/*
html {
	-moz-transform: scale(0.7);
	-webkit-transform: scale(0.7);
	transform: scale(0.7);
	transform-origin: top left;
}
*/












