/*  ==========================================================================
Landing hero (.content .hero--video / .hero--image)
Extracted verbatim from legacy-home.css ("Hero" section). The prototype loads
legacy-home.css only on landing pages; the CMS never loaded it, so landing
heroes (Landing Hero block, e.g. /admissions) had no layout and the pause
control was invisible. Only the Hero section is extracted: the file's other
rules (.content { overflow: hidden } etc.) would change every page.
==========================================================================  */
.content .hero { margin-top: 0; }

.content div[class$=hero--image] { padding: 0; }

.content div[class$=hero--video] {
	padding-bottom: 56.25%;
	position: relative;
	overflow: hidden;
	width: 100%;
}

.content .hero_imageShim {
	display: block;
	width: 100%;
	padding: 0 0 46% 0;
	-webkit-transition: all .5s ease-out;
	transition: all .5s ease-out;
	box-shadow: inset 0 0 0 4px rgba(255, 0, 0, 0);
}

.content .hero_imageShim:hover,
.content .hero_imageShim:focus,
.content .hero_imageShim:active{
	box-shadow: inset 0 0 0 8px #009374;
	-webkit-transition: all .5s ease-out;
	transition: all .5s ease-out;
} 

.content .hero_video, 
.content .hero--video .hero_content { margin-top: 0; }

.content div[class$=hero--video] .hero_video {
	display: block;
	padding-bottom: 56.25%;
	overflow: hidden;

	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 101%;
	min-height: 101%;
	width: auto;
	height: auto;
	-ms-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	box-sizing: content-box;
}
.content div[class$=hero--video] .hero_content {
	color: #fff;
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 90%;
}

.content .hero_headingLink, 
.content .hero_headingLink:visited { color: #fff; }

.content .hero_textLink { font-weight: 400; }

.content .hero_content--h .hero_headingText { text-transform: uppercase; }
.content .hero_content--h .hero_headingText:last-child { font-size: 1.5em; line-height: 1em; }

.content .hero--video .hero_cta,
.content .hero--video .hero_cta:visited {
	background-color: var(--color-primary-usfgreen);
	border-radius: 4px;
	color: #fff;
	display: block;
	margin-left: auto;
	margin-right: auto;
	padding: 0.5em 1em;
	text-align: center;
	text-transform: uppercase;
	width: 200px;
	-webkit-transition: background 0.3s;
	transition: background 0.3s;
}
.content .hero--video .hero_cta:hover,
.content .hero--video .hero_cta:active,
.content .hero--video .hero_cta:focus {
	background-color: #fff;
	color: var(--color-primary-usfgreen);
}

.content .hero--video button.hero_cta {
	box-sizing: content-box;
	font-weight: 700;
}
.content .hero--video button.hero_cta:hover,
.content .hero--video button.hero_cta:active,
.content .hero--video button.hero_cta:focus {
	text-decoration: underline;
}

@media (min-width: 500px), print {
	.content .hero--image { padding: 25% 0 2em;}

	.content .hero--video {
		padding-bottom: 56.25%;
		position: relative;
		overflow: hidden;
		width: 100%;
	}
	.content .hero--video.u-jumbotron--overlay:before { background: rgba(0,0,0, 0.5); }

	.content .hero_video {
		display: block;
		padding-bottom: 56.25%;
		overflow: hidden;

		position: absolute;
		top: 50%;
		left: 50%;
		min-width: 101%;
		min-height: 101%;
		width: auto;
		height: auto;
		-ms-transform: translate(-50%, -50%);
		-moz-transform: translate(-50%, -50%);
		-webkit-transform: translate(-50%, -50%);
		transform: translate(-50%, -50%);
	}

	.content .hero_content { max-width: 750px; }
	.content .hero--video .hero_content {
		color: #fff;
		text-align: center;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 90%;
	}

	/*.hero_content { max-width: 750px; }*/
	.content .hero_text { margin-top: 0.75em; }
	.content .hero_textLink, 
	.content .hero_textLink:visited { color: #fff; }
}

@media screen and (min-width: 650px) {
	.content .hero--video .hero_cta { display: inline-block; }
	.content .hero--video .hero_cta + .hero_cta { margin: 0 0 0 1.5em; }
}

@media screen and (max-width: 849px) {
	.content #hero_control, 
	.content .hero_video iframe, 
	.content .hero_video object, 
	.content .hero_video embed { display: none; }
}

@media screen and (min-width: 850px) {
	.content .hero--image { padding-bottom: 4em; }
	.content .hero--video .hero_heading { font-size: 4em; }
	.content .hero_text { font-size: 1.25em; line-height: 1.5em; }

	.content .hero--video .hero_cta { font-size: .83em; line-height: 1.2em; }

	.content .hero_video iframe,
	.content .hero_video object,
	.content .hero_video embed {
		margin-top: 0;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		pointer-events: none;
		height: 100%;
	}

	.content #hero_control, 
	.content #hero_control:visited, 
	.content #hero_control:active, 
	.content #hero_control:hover, 
	.content #hero_control:focus {
		background-color: var(--color-primary-usfgreen);
		cursor: pointer;
		display: block;
		position: absolute;
		bottom: 1.5em;
		left: 1.5em;
		width: 50px;
		height: 50px;
		z-index: 2;
	}
	.content .hero_pause:before,
	.content .hero_play:before {
		border: 15px solid transparent;
		border-left: 25px solid #fff;
		content: "";
		display: block;
		position: absolute;
		top: 50%;
		left: 50%;
		-ms-transform: translate(-50%, -50%);
		-moz-transform: translate(-50%, -50%);
		-webkit-transform: translate(-50%, -50%);
		transform: translate(-50%, -50%);
		-webkit-transition: all 0.4s ease;
		transition: all 0.4s ease;
	}
	.content .hero_pause:before {
		border-top-width: 0px;
		border-bottom-width: 0px;
		border-right: none;
		height: 30px;
	}
	.content .hero_play:before {
		border: 15px solid transparent;
		border-right: none;
		border-left: 25px solid #fff;
		height: 0;
	}
	.content .hero_pause:after {
		background: var(--color-primary-usfgreen);
		content: "";
		position: absolute;
		left: 20px;
		top: 0;
		-ms-transform: scaleX(1);
		-moz-transform: scaleX(1);
		-webkit-transform: scaleX(1);
		transform: scaleX(1);
		-webkit-transition: all 0.4s ease;
		transition: all 0.4s ease;
		width: 10px;
		height: 50px;
	}
	.content .hero_play:after { 
		-ms-transform: scaleX(0);
		-moz-transform: scaleX(0);
		-webkit-transform: scaleX(0);
		transform: scaleX(0); 
	}

	.content .hero_content--h {
		display: flex;
		align-items: flex-end;
	}
	.content .hero_content--h .hero_heading:not(:last-child) .hero_headingText:last-child:after {
		content: "//";
		color: #9CCB3B;
		display: inline-block;
		padding-left: 0.25em;
	}
	.content .hero_content--h .hero_text {
		flex: 1;
		font-size: 1em;
		padding: 0 0 0.25em 3em;
	}
}

@media screen and (min-width: 1000px) {
	.content .hero--video .hero_heading { font-size: 5em; }
	.content .hero--video .hero_text { font-size: 1.5em; }
}



/*  ==========================================================================
Landing hero: additions for the CMS markup
==========================================================================  */
/* The control is a real <button> now (was an inert <a href="#">). */
.content button#hero_control {
	-webkit-appearance: none;
	appearance: none;
	border: 0;
	padding: 0;
	margin: 0;
	color: inherit;
	font: inherit;
	overflow: hidden;
}
.content #hero_control:focus-visible {
	outline: 3px solid var(--color-text-light, #fff);
	outline-offset: 3px;
}
/* Uploaded MP4/WebM (the prototype only had YouTube iframes). */
.content .hero_video video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin-top: 0;
}
