@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500&display=swap');

body:not(.scrolled) header.blueBar {
	background-color: transparent;
	background-image: none;
}

header.blueBar, header#topNav {
	transition: all 0.5s ease;
}

body:not(.scrolled) header#topNav {
	background-color: rgba(255, 255, 255, 0);
	border: none;
	height: 8rem;
	padding-top: 1rem;
}

body.scrolled header#topNav {
	background-color: rgba(255, 255, 255, 1);
	border-bottom: 2px solid #f0f0f0;
	height: 5rem;
}

header#topNav img {
	transition: all 0.4s ease;
}

body:not(.scrolled) header#topNav img {
	max-height: 7.5rem;
}

body:not(.scrolled) header#topNav div.tagLine {
	display: none;
}

body:not(.scrolled) header#topNav div.mobile-menu-button {
	display: none;
}

body:not(.scrolled) header#topNav nav {
	display: none;
}

body:not(.scrolled) header#topNav div.cta {
	display: none;
}

body.scrolled header#topNav nav {
	display: inline-block;
}


div#videoPlayback {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
}

div#videoPlayback video {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

div#videoPlayback div#videoOverlay {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	background-color: rgba(0,0,0,0.6);
	z-index: 10;
}

div#videoPlaceholder {
	width: 100%;
	height: calc(100vh - 5rem);
	background-color: transparent;
	position: relative;
}

div#centerVideoMsg {
	position: absolute;
	top: 2em;
	right: 2em;
	width: 35em;
	padding: 2em;
	text-align: right;
	color: #fafafa;
	/* font-family: 'Anton', sans-serif; */
	font-size: 80%;
	z-index: 50;
	opacity: 1;
	/*background-color: rgba(200,200,200,0.1); */
}

@media (max-width: 59.9rem) {
	
	div#centerVideoMsg {
		top: 30%;
	}
	
}

div#centerVideoMsg h1 {
	border: 0 !important;
	text-shadow: 1px 1px 2px #fff;
	font-size: 1.8em;
	margin: 0 !important;
}

div#centerVideoMsg p {
	margin: 1em 0;
}

div#centerVideoMsg div.vmButtonGroup {
	display: block;
}

div#centerVideoMsg a.btn {
	color: #000;
	border: 1px solid #ffba00;
}

div#centerVideoMsg a.btn:hover {
	background-color: #19197b !important;
	border-color: #19197b !important;
	color: #FFF !important;
}

div#centerVideoMsg a.btn.hollow {
	background-color: transparent;
	border: 1px solid #ffba00;
	color: #ffba00;
}

div#videoPlaceholder div#bottomVideoMsg {
	position: absolute;
	bottom: 20px;
	left: 40%;
	text-align: center;
	background-color: rgba(255, 255, 255, 0.7);
	color: #2d2d4e;
	padding: 10px;
	border-radius: 5px;
	font-size: 20px;
}

div.afterVideoWrapper {
	background-color: #1f1f28;
	padding-bottom: 5em;
}

div.afterVideo {
	display: flex;
	flex-wrap: wrap;
	min-height: 12rem;
	padding: 5em 1em 1em 1em;
	text-align: center;
	align-items: flex-start;
	color: #FFF;
}

div.afterVideo div.fiBlock {
	flex: 1 0 30%;
	padding: 0 0.5em;
}

@media (max-width: 59.9rem) {
	div.afterVideo div.fiBlock {
		flex: 1 0 90%;
		padding: 1em;
	}
}

div.afterVideo div.fiBlock header {
	font-size: 3em;
	opacity: 0.2;
}

div.afterVideo div.fiBlock h2 {
	color: #ffba00;
	border-bottom: 0 !important;
	height: 2.5em;
}

div.afterVideoTageline {
	display: block;
	text-align: center;
	color: #ffba00;
	font-size: 1em;
}

body#body_home div.afterVideoTageline h2 {
	border: 0;
	margin: 1em 0 0.5em 0;
	font-family: 'Caveat', cursive;
}

/* Builds */

div.featuredBuild {
	width: 100%;
	min-height: 20em;
	display: grid;
	grid-template-areas: "fb-img fb-title" "fb-img fb-button";
	grid-template-columns: 20em auto;
	grid-gap: 2em;
}

div.featuredBuild > div:first-of-type {
	height: 100%;
	width: 100%;
}

div.featuredBuild figure {
	display: block;
	height: 100%;
	width: 100%;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	border-radius: 5px;
}

@media (max-width: 59.9rem) {
	div.featuredBuild {
		grid-template-columns: auto;
		grid-template-areas: "fb-img" "fb-title" "fb-button";
		grid-template-rows: 10em auto auto;
	}
	
}

div.featuredBuild h3 {
	border-bottom: none !important;
}

/* Categories */

div.rightBox {
	text-align: right;
}

div.rightBox h3 {
	color: #ffba00;
	border-bottom: 0 !important;
}

div#hpBox {
	display: grid;
	width: 100%;
	margin-top: 5em;
	margin-bottom: 10em;
	grid-template-columns: repeat(auto-fill, minmax(14em, 1fr));
	grid-auto-rows: 14em;
}

div#hpBox a, div#hpBox a:visited {
	color: initial;
	display: block;
	width: 100%;
	height: 100%;
}

div#hpBox a:hover {
	opacity: 1 !important;
}

div.hpbItem {
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
}

div.hpbItem div.hpbOverlay{ 
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(0,0,0,0.5);
	transition: all 0.2s;
}

div.hpbItem:hover div.hpbOverlay {
	background-color: rgba(0,0,0,0);
}

div.hpbItem figure {
	display: block;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: all 0.2s;
}

div.hpbItem:hover figure {
	transform: scale(1.3);
}

div.hpbText {
	display: none;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	padding: 0.5em 0;
	background-color: rgba(0,0,0,0.3);
	color: #FFF;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: center;
}

div.hpbItem:hover div.hpbText {
	display: block;
}


div#hpVideos {
	background-color: #000;
	display: block;
	width: calc(100% - 6em);
	padding: 3em;
	position: relative;
}


div#catHighlight {
	flex: 0 0 50%;
	height: 100%;
}