/*
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.
*/
.banner {
	background-color: white;
}

.banner section {
	padding: 10px !important;
	padding-bottom: 40px !important;
}

/* student card gallery */
ul#student-gallery {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	flex-basis: calc(100% / 2 - 20px);
}

ul#student-gallery li {
	display: flex;
	flex-flow: column nowrap;
	min-width: 350px;
	width: calc(50% - 10px);
	padding: 5px;
}

ul#student-gallery li div:nth-child(1) {
	background-color: #5e6a71;
	color: white;
	height: 70px;
}

ul#student-gallery li div:nth-child(1) h3, ul#student-gallery li div:nth-child(1) p {
	color: white;
	padding: 0;
	text-align: center;
}

ul#student-gallery li div:nth-child(2) {
	width: 100%;
	max-height: 400px;
	overflow: hidden;
}

ul#student-gallery li div.top:nth-child(2) {
	justify-content: flex-start;
}

ul#student-gallery li div.bottom:nth-child(2) {
	justify-content: flex-end;
}

ul#student-gallery li div:nth-child(2) img {
	min-width: 350px;
	text-align: center;
	width: 100%;
}

ul#student-gallery li div:nth-child(3) p {
	color: white;
	font-size: 17px;
	line-height: 19px;
	font-style: oblique;
}

ul#student-gallery li:nth-child(3n + 1) div:nth-child(3) {
	background-color: #981e32;
}

ul#student-gallery li:nth-child(3n + 2) div:nth-child(3) {
	background-color: #8f7e35;
}

ul#student-gallery li:nth-child(3n) div:nth-child(3) {
	background-color: #4f868e;
}

ul#student-gallery li div:nth-child(3) {
	padding: 15px 5px 5px;
	min-height: 160px;
	text-align: center;
	display: flex;
	flex-flow: column;
	justify-content: center;
	margin-top: -8px;
}

ul#student-gallery li div:nth-child(4) {
	background-color: rgba(0,0,0,.75);
	color: white;
	display: none;
}

ul#student-gallery li:hover div:nth-child(4) {
	background-color: rgba(0,0,0,.75);
	color: white;
	display: block;
	position: absolute;
	min-width: 330px;
	width: calc(50% - 90px);
	height: 480px;
	margin-top: 70px;
	text-align: center;
	padding: 10px;
}

/* Adjustments to /events page */
#tribe-events-pg-template {
	background-color: white;
	padding: 80px;
	margin: -20px;
	width: calc(100% + 40px);
	max-width: unset;
	margin-bottom: 10px;
}