/*
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.
*/
/* --------------- GENERAL STYLES ------------------ */
body {
	font-family: 'Open Sans', "Lucida Sans", sans-serif;
	color: #464e54;
}

#spine #glue:before {
	border-right: solid 1px #dcdcdc;
}

#binder {
	border-right: solid 1px #dcdcdc;
	background-color: rgba(255,255,255,.9);
}

main {
	padding-bottom: 60px;
}

.main-header {
	background: none;
	height: auto;
	z-index: 100;
	width: auto;
	text-align: right;
	padding: 10px 0;
}

.main-header .header-group:not(.unset) {
	padding: 0;
	position: relative;
	max-width: 100%;
}

.main-header .sup-header:not(.unset) a, .sub-header span, .sup-header-default {
	color: #2a3033;
	letter-spacing: 2px;
	font-size: 10px;
	margin-right: 20px;
}

.sub-header span {
	font-weight: 300;
	color: #fff;
	margin: 10px 0;
	padding: .25em 20px;
	background-color: #981e32;
	display: inline-block;
	font-size: 100%;
}

.blog section.row, .single section.row, .archive section.row, .error404 section.row {
	background-color: rgba(255,255,255,.97);
	padding-bottom: 40px;
}

.single section.row {
	background-color: rgba(255,255,255,.97);
	padding-bottom: 0;
}

.single #page-4094 section.row {
	background-color: transparent;
}

div.page {
/*padding-bottom: 40px;*/
	background-color: rgba(255,255,255,.97);
	padding-bottom: 60px;
}

.left-title-align {
/* aligns top of right block with no title with left block that has title */
	padding-top: 3rem;
}

iframe {
	width: 100% !important;
}

/* ----------- LINKS ---------------- */
main a {
	color: #981e32;
	display: inline-block;
	vertical-align: middle;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	box-shadow: 0 0 1px rgba(0,0,0,0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	position: relative;
	overflow: hidden;
	padding-bottom: .1rem;
	cursor: pointer;
	text-decoration: none;
}

main a:before {
	border-bottom: 2px solid #981e32;
	content: "";
	position: absolute;
	z-index: -1;
	left: 50%;
	right: 50%;
	bottom: 0;
	transition-property: left, right;
	transition-duration: .3s;
	transition-timing-function: ease-out;
}

main a:hover {
	background: #f1f4f6;
	border: 0 4px solid #feb81c;
	border-top: none;
	border-bottom: underline;
	color: #2a3033;
	margin: 0;
}

main a:hover:before,
main a:focus:before,
main a:active:before {
	left: 0;
	right: 0;
}

main a:hover {
	color: #000;
}

main a.icons:hover {
	border: none;
	background: none;
	margin: 0;
}

a.link-reversed, .research-stats a.link-reversed, .image-box-with-background a.link-reversed {
	color: #fff;
}

a.link-reversed:hover, .research-stats a.link-reversed:hover, .image-box-with-background a.link-reversed:hover {
	color: #333;
}

@media only screen and (max-width: 693px) {
	.main a {
		overflow-wrap: break-word;
		word-wrap: break-word;
	/* Adds a hyphen where the word breaks */
		-webkit-hyphens: auto;
		-ms-hyphens: auto;
		-moz-hyphens: auto;
		hyphens: auto;
	}
	
	/* ----------- Low Cost DLM ------------ */
	.dlm-overview h2 {
		font-weight: bold;
		color: #2a3033;
		margin: 2.5rem 0 .5rem;
	}
	
	/* ----------- ACCORDION ------------ */
	.accordion {
		background-color: #fefffa;
	}
	
	.accordion	h2 {
		font-size: 38px;
		font-weight: 300;
		letter-spacing: 2px;
		line-height: 1.5;
	}
	
	.accordion	details {
		width: 75%;
		min-height: 5px;
		max-width: 700px;
		padding: 10px;
		margin: 0 auto;
		position: relative;
		font-size: 15px;
		border: 1px solid rgba(0,0,0,.1);
		border-radius: 15px;
		box-sizing: border-box;
		transition: all .3s;
	}
	
	.accordion	details + details {
		margin-top: 5px;
	}
	
	.accordion	details[open] {
		min-height: 50px;
		background-color: #f6f7f8;
		box-shadow: 2px 2px 20px rgba(0,0,0,.2);
	}
	
	.accordion	details p {
		color: #96999d;
		font-weight: 300;
	}
	
	.accordion	summary {
		font-weight: 500;
		cursor: pointer;
	}
	
	.accordion	summary:focus {
		outline: none;
	}
	
	.accordion	summary::-webkit-details-marker {
		display: none;
	}
	
	.accordion	summary::after {
		padding: 20px;
		position: absolute;
		top: 50%;
		right: 0;
		-webkit-font-smoothing: antialiased;
		transform: translateY(-50%);
		transition: .3s ease;
		background-image: url('/wp-content/uploads/sites/2379/2019/02/x-crimson-wider-er.png') !important;
	}
	
	.accordion	details[open] summary::after {
		top: 0;
		transform: translateY(0);
		transition: .3s ease;
	}
	
	.accordion	details[open] summary:hover::after {
		animation: pulse 1s ease;
	}
	
	.accordion @keyframes pulse {
	}
	
	50% {
		transform: scale(1);
	}
	
	75% {
		transform: scale(1.1);
	}
	
	100% {
		transform: scale(1);
	}
}

/* ----------- UL and LI Layout Design ------------ */
ul.subnav-two {
	margin: 0 0 14px;
	padding: 7px 10px;
	border-top: 2px dashed #2f5055;
	border-bottom: 2px dashed #2f5055;
	background-color: #edf3f4;
}

ul.subnav-two li {
	display: inline;
	list-style-type: none;
	line-height: 1.5em;
	padding-right: 8px;
}

ul.subnav-two.list li {
	display: block;
}