/*
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.
*/
/*=======================================================*/
/* WP Gallery Styles (Remove if UComm finds missing CSS) */
/*=======================================================*/
.gallery {
	display: -webkit-flex;
/* Safari */
	display: flex;
	flex-flow: row wrap;
}

.gallery img {
	display: flex-box;
}

.gallery img, a > img.frame {
	border: .5em solid #fff;
	box-shadow: 0 1px 3px #b5babe;
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=85);
	filter: alpha(opacity=85);
	-moz-opacity: .85;
	-khtml-opacity: .85;
	opacity: .85;
}

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

.gallery .gallery-caption {
	min-height: 2.5em;
	padding: 0;
	margin: 0;
	margin-bottom: .5em;
}

.gallery .gallery-caption, .wp-caption-text {
	max-width: 90%;
	text-align: center;
	font-size: 90%;
	line-height: 120%;
	font-style: italic;
}

@media screen and (min-width:694px) {
	.gallery-columns-1 figure.gallery-item {
		width: calc(100% - 10px);
	}
	
	.gallery-columns-2 figure.gallery-item {
		width: calc(100% / 2 - 10px);
	}
	
	.gallery-columns-3 figure.gallery-item {
		width: calc(100% / 3 - 10px);
	}
	
	.gallery-columns-4 figure.gallery-item {
		width: calc(100% / 4 - 10px);
	}
	
	.gallery-columns-5 figure.gallery-item {
		width: calc(100% / 5 - 10px);
	}
	
	.gallery .gallery-item {
		margin: 0;
		margin-top: 10px;
		margin-right: 10px;
	}
}

@media screen and (max-width:693px) {
	.gallery-columns-1 figure.gallery-item, .gallery-columns-2 figure.gallery-item, .gallery-columns-3 figure.gallery-item, .gallery-columns-4 figure.gallery-item, .gallery-columns-5 figure.gallery-item {
		width: 100%;
	}
	
	.gallery .gallery-item {
		margin: 0;
		margin-top: 10px;
	}
}

/*===============*/
/* Contact Icons */
/*===============*/
.spine-blank-template [title^="Email"]:before {
	font-family: Spine-Icons;
	content: "\0040";
	cursor: default;
	margin-right: 1em;
}

.spine-blank-template [title^="Phone"]:before {
	font-family: Spine-Icons;
	content: "\1F4DE";
	cursor: default;
	margin-right: 1em;
}

.spine-blank-template [title^="Fax"]:before {
	display: inline-block;
	width: 1.2em;
	height: 1.2em;
	margin-right: .3em;
	content: "";
	background: url("../wp-content/uploads/sites/402/2015/01/fax-icon.svg") no-repeat 0 0;
	background-size: 100%;
}

@media only screen and (min-width:480px) {
	a[href^="tel://"] {
		color: #5E6A71 !important;
		text-decoration: none !important;
		cursor: text;
	}
}

.linkbox {
/* Nested floating div for links; attached to initial  of section */
	width: 35%;
	max-width: 200px;
	min-width: 100px;
	margin-left: 2em;
	padding: .5em;
	float: right;
	clear: both;
	background-color: rgba(239,240,241,0.7);
	border-left: 1px dotted #b5babe;
	border-top: .25em solid #b5babe;
}

.content {
	overflow: auto;
}

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

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

.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;
}

.noLink {
/* Fades back link list items that do not have an href */
	color: #b5babe;
}

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

/* P wrapper for nested images */
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;
}

/* Donate snippet styles */
div.donate-box {
	background-color: #8f7e35;
/* background-color: rgba(114,101,42,0.65); 65% PMS7768 */
	text-align: center;
	padding: 2em;
}

.donate-box * {
	color: #fff;
}

.donate-box p {
	font-size: 1.3em;
	line-height: 1.3em;
}

.donate-box a {
	display: inline-block;
	padding: .25em 1rem;
	margin-top: 1em;
	min-width: 20%;
	max-width: 80%;
	text-transform: uppercase;
	font-weight: 700;
	background: transparent;
	color: #fff;
	border: 3px solid #fff;
	box-sizing: border-box;
	border-radius: 1em/50%;
	-webkit-transition: padding 375ms ease-out;
	transition: padding 375ms ease-out;
}

.donate-box a:hover, .donate-box a:focus {
	color: #8f7e35;
	background: #FFF;
	border-color: #FFF;
	padding-left: 3rem;
	padding-right: 3rem;
	-webkit-transition: padding 375ms ease-out;
	transition: padding 375ms ease-out;
}

.donate-box a:active {
	color: #8f7e35;
	background: #FFF;
	border-color: #FFF;
	padding-left: 5rem;
	padding-right: 5rem;
	-webkit-transition: padding 125ms ease-out;
	transition: padding 125ms ease-out;
	box-shadow: 0 .375em .375em -.25em rgba(86,76,32,0.35), 0 -.25em .375em -.25em rgba(86,76,32,0.35);
}

@media screen and (min-width:650px) {
	div.donate-box {
		padding-left: 240px;
	}
	
	.donate-box .donate-img {
		position: absolute;
		bottom: 0;
		left: 2em;
		z-index: 500;
	}
}