/*
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.
*/
a[href*=".pdf"]:after, a.pdf:after {
	content: " (pdf)";
}

a[href*=".doc"]:after, a.doc:after {
	content: " (doc)";
}

a[href*=".xls"]:after, a.xls:after {
	content: " (xls)";
}

.content {
/* Wrapper for .linkbox div */
	overflow: auto;
}

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

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

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

/* P wrapper for nested images */
p.nested {
	margin: 0;
	padding-bottom: 0;
	padding-top: .5em;
}

#contact {
	margin-bottom: 1em;
}

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

.contactbox {
	background-color: #eff0f1;
	background-color: rgba(227,229,230,0.66);
	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;
}

/*====================================*/
/*  Indoor/Outdoor Pests image grids  */
/*====================================*/
div.imageGrid {
	max-width: 216px;
	margin-top: 2rem;
	margin-left: auto;
	margin-right: auto;
}

div.imageGrid:first {
	margin-top: 0;
}

div.imageGrid a {
	-webkit-transition: background-color 1s, box-shadow .5s ease-out;
	-moz-transition: background-color 1s, box-shadow .5s ease-out;
	-ms-transition: background-color 1s, box-shadow .5s ease-out;
	-o-transition: background-color 1s, box-shadow .5s ease-out;
	transition: background-color 1s, box-shadow .5s ease-out;
	padding: 8px;
	background-color: #d7dadb;
	text-align: right;
	text-transform: uppercase;
	display: block;
}

div.imageGrid a img {
	display: inline-block;
	height: 200px !important;
	width: 200px !important;
	object-fit: cover;
	overflow: hidden;
	-webkit-filter: saturate(65%);
	-moz-filter: saturate(65%);
	-ms-filter: saturate(65%);
	filter: url("data:image/svg+xml;utf8,&lt;svg xmlns='http://www.w3.org/2000/svg'>&lt;filter id='grayscale'>&lt;feColorMatrix type='saturate' values='0.65'/>&lt;/filter>&lt;/svg>#grayscale");
/* Firefox 10+, Firefox on Android */
	filter: saturate(65%);
	text-transform: none;
	font-size: 200%;
	color: rgba(239,240,241,0.85);
	text-shadow: 0 1px 2px #2c3e50;
	line-height: 200px;
	text-align: center;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#4ca1af+0,2c3e50+100 */
	background: #2c3e50;
/* Old browsers */
	background: -moz-linear-gradient(-45deg,#4ca1af 0%,#2c3e50 100%);
/* FF3.6-15 */
	background: -webkit-linear-gradient(-45deg,#4ca1af 0%,#2c3e50 100%);
/* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(135deg,#4ca1af 0%,#2c3e50 100%);
/* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4ca1af',endColorstr='#2c3e50',GradientType=1);
/* IE6-9 fallback on horizontal gradient */
}

div.imageGrid a:hover {
	background-color: #fff;
	box-shadow: 0 0 3px #b5babe;
}

div.imageGrid a:hover img, div.imageGrid a:active img {
	-webkit-filter: none;
	-moz-filter: none;
	-ms-filter: none;
	filter: none;
}

div.imageGrid a:active {
	background-color: #464e54;
	color: #eff0f1;
	box-shadow: none;
}

div.imageGrid :after {
	display: none;
}

div.imageGrid p {
	padding: 0;
}

/* UPEST Board table styles */
.tablepress-id-1 td.column-1 {
	width: 50%;
}

.tablepress-id-1 td.column-2:not([colspan]), .tablepress-id-1 td.column-3 {
	width: 25%;
}

.tablepress-id-1 td.column-2[colspan] {
	width: auto;
}

.tablepress-id-1 td:first-child {
	font-weight: bold;
}

@media screen and (max-width:693px) {
	.tablepress-id-1 thead, .main-header {
		display: none;
	}
	
	.tablepress-id-1 .row-hover tr:hover td, .tablepress-id-1 .row-hover tr:hover td:last-child {
		background: inherit !important;
	}
	
	.tablepress-id-1 tr {
		display: block;
		padding-top: .5em;
		margin-top: .5em;
	}
	
	.tablepress-id-1 tr:not(:first-child) {
		border-top: 1px solid #d7dadb;
	}
	
	.tablepress-id-1 td {
		display: block;
		padding: 0 !important;
		margin: 0;
		border: none !important;
		width: 100% !important;
	}
	
	#tablepress-1 td.dataTables_empty {
		font-weight: bold;
		padding: 2em;
		margin: 0;
		width: auto;
		text-align: center;
	}
}