/*
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:

http://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.
*/
img {
	-ms-interpolation-mode: bicubic;
}

:target:before {
/* Position reset for anchor link targets */
	content: "";
	display: block;
	height: 1em;
/* fixed header height*/
	margin-top: -1em;
/* negative fixed header height */
}

/*=======================================================*/
/* WP Gallery Styles (Remove if UComm finds missing CSS) */
/*=======================================================*/
.gallery img {
	border: .5em solid #fff;
	box-shadow: 0 2px 5px -2px #b5babe;
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
	filter: alpha(opacity=80);
	-moz-opacity: .8;
	-khtml-opacity: .8;
	opacity: .8;
}

.gallery img:hover, .gallery img:active {
	box-shadow: 0 2px 5px -2px #5e6a71;
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	-khtml-opacity: 1;
	opacity: 1;
}

.gallery .gallery-caption, .wp-caption-text {
	font-size: .85em;
	line-height: 1.2em;
}

.no-bullet ul, ul.no-bullet, .linkbox ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.hanging li, .linkbox li {
	padding-left: 1em;
	text-indent: -1em;
}

.noLink {
/* Alternate "null" text color for intentional non-linked items included in a list of links. */
	color: #b5babe;
}

.noMarginTop {
	margin-top: 0;
	padding-top: 0;
}

/*================================================================*/
/* Nested floating div for links; attached to initial  of section */
/*================================================================*/
@media screen and (min-width: 694px) {
	.linkbox {
		width: 200px;
		margin-left: 2em;
		padding: .5em;
		float: right;
		clear: both;
		background-color: #fff;
		border: 1px solid #b5babe;
		border-top: .25em solid #b5babe;
	}
}

@media screen and (max-width: 693px) {
	.linkbox {
		margin: 1em 0;
	}
	
	.linkbox h3:not(:first-of-type) {
		margin-top: 1em;
	}
	
	.linkbox ul {
		list-style: none;
		margin: 0;
		padding: 0;
		background: #eff0f1;
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-flow: column wrap;
		flex-flow: column wrap;
	}
	
	.linkbox li a {
		text-align: center;
		text-decoration: none;
		display: block;
		color: #981e32;
		padding: 1em;
		padding-left: 2em;
		border-top: 1px solid #fff;
		border-bottom: 1px solid #b5babe;
	}
	
	.linkbox li a:hover, .linkbox li a:focus {
		background: #d7dadb;
	}
	
	.linkbox li a:active {
		background: #981e32;
		color: #fff;
	}
	
	.linkbox li {
		padding: 0;
	}
	
	.linkbox li:last-of-type a {
		border-bottom: none;
	}
}

.content {
/* wrapper for quicklinks div */
	overflow: auto;
}

/*===================*/
/*    List Styles    */
/*===================*/
.no-bullet ul, ul.no-bullet, .linkbox ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.hanging li, .linkbox li {
	padding-left: 1em;
	text-indent: -1em;
}

.no-link {
/* Alternate "null" text color for intentional non-linked items included in a list of links. */
	color: #b5babe;
}

.no-margin-top {
	margin-top: 0;
	padding-top: 0;
}

.highlight-item li:hover {
	color: #2a3033;
/* dark gray */
}

.highlight-item li:hover:before {
	content: "\25B6";
	color: #8f7e35;
	font-size: 150%;
	line-height: 0;
	float: left;
	clear: none;
	position: relative;
	left: -.9em;
	top: .35em;
}

/*=====================*/
/* Image style classes */
/*=====================*/
/*  wrapper to properly nest images into following content */
p.nested {
	margin: 0;
	padding-bottom: 0;
	padding-top: .5em;
}

.frame {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	border: .5em solid #FFF;
	font-size: .9em;
	line-height: 1.4em;
}

.shadow {
	box-shadow: 0 1px 2px #D7DADB;
}

#contact {
	margin-bottom: 1em;
}

#contact p {
	padding-bottom: 0;
	font-size: .9em;
	line-height: 1.4em;
}

.contactbox {
	background-color: #fff;
	padding-top: 1rem;
	padding-bottom: 1rem;
	margin-bottom: .5rem;
	border-bottom: 1px solid #d7dadb;
}

.contactbox:last-of-type {
	padding-bottom: 2rem;
	margin-bottom: 0;
	border-bottom: 0;
}

/* Restyle titles on media attachment pages */
.attachment h1.article-title {
	font-size: 1.2em;
	margin-bottom: .5em;
}