/* DEPG */
@font-face
{
	font-family: 'nunito';
	src: url('/fonts/nunito/Nunito-Regular.woff2') format('woff2'), url('/fonts/nunito/Nunito-Regular.woff') format('woff');
	font-weight: 200;
	font-style: normal;
	font-display: swap;
}

@font-face
{
	font-family: 'nunito';
	src: url('/fonts/nunito/Nunito-Medium.woff2') format('woff2'), url('/fonts/nunito/Nunito-Medium.woff') format('woff');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face
{
	font-family: 'nunito';
	src: url('/fonts/nunito/Nunito-SemiBold.woff2') format('woff2'), url('/fonts/nunito/Nunito-SemiBold.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face
{
	font-family: 'nunito';
	src: url('/fonts/nunito/Nunito-Bold.woff2') format('woff2'), url('/fonts/nunito/Nunito-Bold.woff') format('woff');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face
{
	font-family: 'nunito';
	src: url('/fonts/nunito/Nunito-ExtraBold.woff2') format('woff2'), url('/fonts/nunito/Nunito-ExtraBold.woff') format('woff');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face
{
	font-family: 'nunito';
	src: url('/fonts/nunito/Nunito-Black.woff2') format('woff2'), url('/fonts/nunito/Nunito-Black.woff') format('woff');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root
{
  --background: #fffff0;
  --text: #312f28;
  --text-strong: #000;
}

html
{
  background: #fffff0
}

body
{
  background-color: var(--background);
  color: var(--text);
  display: grid;
  gap: 1em;
  letter-spacing: 0;
  padding-top: 2.5em;
  align-items: center;
  max-width: 90rem;
  margin: 0 auto;
}

a
{
	text-decoration: none;
}

#depg
{
  --text: black;
  --bg-color: var(--background);
  
  font-family: nunito, Helvetica, sans-serif;
  font-size: 1.7em;
  font-weight: 400;
}

#depg header
{  
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
  #depg header::before
  {
	display: none;
  }
  
  #depg header h1
  {
	font-size: 4em;
	font-weight: 500;
	letter-spacing: -.06em;
	text-indent: -.13em;
	line-height: .85em;
	
	width: 100%;
	height: 14rem;
	padding-top: .2em;
	/* outline: 1px solid red; */
	
	background-image: url('../img/depg.svg');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: right top;
  }


#depg #main
{
  gap: 1em;
  grid-template-columns: auto;  
}

.centered
{
  text-align: center;
}

#depg #content
{
  width: 100%;
  max-width: 90rem;
}

#depg table
{
  border: .15em solid var(--text);
  border-left-width: 0;
  border-collapse: collapse;
}
  #depg table th
  {
	text-align: center;
	white-space: nowrap;
  }
  #depg table thead th
  {
	border-bottom-width: .15em;
  }
  
  #depg table th[scope='row']
  {
	text-align: left;
	padding-left: .75em;
	padding-right: .75em;
	/* border-bottom-width: unset; */
  }
  
  #depg table th:first-child,
  #depg table th[scope='row']:first-child
  {
	width: 2em;
	background-color: var(--text);
	border-bottom-color: var(--bg-color);
	border-left-width: 0;
	padding: 0;
  }
  
  #depg table th,
  #depg table td
  {
	padding: .4em .3em;
	border: .08em solid var(--text);
	letter-spacing: -.01em;  
  }
  
  #depg table th em
  {
	  padding: .15em .35em;
	  margin: 0 .2em 0 0;
			  
	  background-repeat: no-repeat;
	  background-size: contain;
	  background-position: center center;
	  
	  font-style: normal;
	  font-weight: 700;
	  line-height: 2;

	  background-image: url('../img/tv-outlined.svg');            
  }
  
  #depg table tr#sal
	{
		position: absolute;
		opacity: 0;
		pointer-events: none;
	}
	
  #depg table tr#sal.active
  {
		position: static;
	  opacity: 1;
	  pointer-events: all;
  }
  
  #depg table tr .callout
	{
		color: transparent;
		opacity: 0;
		pointer-events: none;
		transform: rotate(-90deg);
		display: block;
		font-size: .85em;
		
	}

  #depg table tr.highlight
  {
	  background-color: #E8CF44;
  }
  #depg table tr.highlight .callout
{
	color: var(--background);
	opacity: 1;
	pointer-events: all;
}

#depg h3
{
  font-size: 1.8em;
  font-weight: 400;
  letter-spacing: -.03em;
}

#depg  .notes
{
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  max-width: 70rem;
  height: 13.5ch;
  overflow: auto;
  font-size: 1.2em;
  line-height: 1.2;
  margin: 1em 0;
  align-content: start;
}

#depg  .notes p
{
	margin: 0;
}

#depg  .notes h3
{
	display: block;
	margin: .2em 0 0 0;
	font-weight: 600;
	letter-spacing: -.04em;
}

#depg  .notes b	
{
	font-weight: 600;
	font-size: 1em;
	line-height: 1.5em;
	letter-spacing: -.035em;
	text-transform: uppercase;	
}

#depg  .notes i,
#depg  .notes em
{
	padding: .15em .5em;
			
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
	
	font-style: normal;
	font-weight: 600;
	line-height: 2;
}
#depg  .notes i
{
	background-image: url('../img/tv.svg');
	color: var(--bg-color);
}
#depg  .notes em
{            
	background-image: url('../img/tv-outlined.svg');            
}
#depg  .notes em:after
{
	content: 'BW';
	display: inline-block;
	color: var(--text);
	letter-spacing: -.05em;
	transform: scaleX(.85);
	font-size: .95em;
}

#depg #timeline
{
  list-style-type: none;
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  
  margin: 0 0 .5em 0;
  padding: 0;
  display: none;
}

#depg #timeline.active
{
	display: grid;
}
  #depg #timeline li
  {
	/* outline: 1px solid green; */
	position: relative;
	text-align: center;
	border-bottom: .15em solid var(--text);
  }

  #depg #timeline li::after
  {
	display: inline-block;
	content: '';
	position: relative;
	
	width: 1em;
	height: 1em;
	top: .75em;
	
	border-radius: 1em;
	border: .15em solid var(--text);
	background: var(--background);
	
	z-index: 80;
  }
  #depg #timeline li.here::after
  {
	border-width: .3em;
	
	animation-name: 'blinkWeek';
	animation-timing-function: steps(1, end);
	animation-duration: 1000ms;
	animation-iteration-count: infinite;
	tr
  }
	#depg #timeline li.now::before
	{
	  content: 'Now showing';
	  position: absolute;
	  top: -.5em;
	  left: -3rem;
	  width: fit-content;
	  
	  text-align: center;
	  white-space: nowrap;
	  text-transform: uppercase;
	  font-weight: 600;
	}
  #depg #timeline li.future::after
  {
	background: var(--text);
  }
	
  #depg #timeline li a
  {
	position: absolute;
	width: 100%;
	height: 200%;
	left: 0;
	/* outline: 1px solid red; */
	z-index: 90;
  }
  
  #depg #timeline li.clickable
  {
	cursor: pointer;
  }

@keyframes blinkWeek
{
	0% { background: var(--text); }
	50% { background: var(--background); }
}

#depg footer
{
  text-transform: uppercase;
  text-align: right;
  font-size: 1em;
}
