/*
Welcome to custom CSS for the WSU Spine Theme!

You may delete these comments and get started with your custom stylesheet.
Before doing so, please review the WSU web standards:

https://brand.wsu.edu/media/web/web-standards/

As a general rule of thumb, if your styles target aspects of the spine
(#spine), that's against standard, whereas if you're styling elsewhere on
the page, it's all good.
*/
/**
 * Mobile view fallback images for the homepage video.
 * Uses the WSU Spine definition of a mobile view - less than 990px.
 */
@media screen and (max-width: 989px) {
	.hero-video-wrapper {
		background-position: center;
		background-size: cover;
	}
	
	.five1 .hero-video-wrapper {
		background-image: url(https://s3.wp.wsu.edu/uploads/sites/880/2017/10/homepage-video-01.jpg);
	}
	
	.five2 .hero-video-wrapper {
		background-image: url(https://s3.wp.wsu.edu/uploads/sites/880/2017/10/homepage-video-02.jpg);
	}
	
	.five3 .hero-video-wrapper {
		background-image: url(https://s3.wp.wsu.edu/uploads/sites/880/2017/10/homepage-video-03.jpg);
	}
	
	.five4 .hero-video-wrapper {
		background-image: url(https://s3.wp.wsu.edu/uploads/sites/880/2017/10/homepage-video-04.jpg);
	}
	
	.five5 .hero-video-wrapper {
		background-image: url(https://s3.wp.wsu.edu/uploads/sites/880/2017/10/homepage-video-05.jpg);
	}
	
	/* This is admittedly not the greatest, as it leaves the video playing for devices which may not be mobile. */
	.hero-video-wrapper video {
		display: none;
	}
}

#foreground-text {
	position: absolute;
	top: 50%;
	width: 100%;
	text-align: center;
	margin: 0 auto;
	color: white;
}

body .gform_wrapper .gform_footer input.button,
body .gform_wrapper .gform_footer input[type=submit] {
	background: none;
	border: 1px solid;
	border-radius: 0;
	color: #a60f2d;
	margin-top: 1.5rem;
	padding: .75rem 2rem;
	text-transform: uppercase;
	transition: all .3s ease;
}

body .gform_wrapper .gform_footer input[type=submit]:hover {
	background-color: #a60f2d;
	color: #ffffff;
}

body #gform_wrapper_4 {
	border-style: solid;
	border-width: 1px;
	border-color: #717171;
	padding: 15px;
}

.tablepress tfoot th, .tablepress thead th {
	background-color: #f1e4c4;
}

.ytp-watermark {
	display: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
}

.ytp-watermark:hover {
	opacity: 0 !important;
}

.ytp-svg-shadow {
	opacity: 0 !important;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 105%;
	height: 100%;
}