/*
Welcome to Custom CSS!

CSS (Cascading Style Sheets) is a kind of code that tells the browser how
to render a web page. You may delete these comments and get started with
your customizations.

By default, your stylesheet will be loaded after the theme stylesheets,
which means that your rules can take precedence and override the theme CSS
rules. Just write here what you want to change, you don't need to copy all
your theme's stylesheet content.
*/
/* add sublines to footer menu */
.wsu-footer-site__content > #menu-footer-menu > li > span:first-child {
	display: block;
	padding-bottom: 1em;
	margin-bottom: 1em;
	border-bottom: 3px solid grey;
	transition: border-bottom .5s, color .5s, text-shadow .5s;
}

.wsu-footer-site__content > #menu-footer-menu > li:hover > span:first-child {
	color: white;
	border-bottom: 3px solid #A60F2D;
	text-shadow: 0 0 4px black;
}

.wsu-footer-site__content > #menu-footer-menu > li li a {
	transition: color .5s, text-shadow .5s, transform .3s;
}

.wsu-footer-site__content > #menu-footer-menu > li:hover li a {
	color: white;
	text-shadow: 0 0 4px black;
}

.wsu-footer-site__content > #menu-footer-menu > li li a:hover {
	transform: scale(105%);
}

/* add link icon before last element in the menu, which is currently to the Office of Resarch */
/*ul.wsu-menu--primary-vertical li:last-child a:before {
	padding-right: 5px;
	content: "\f126";
	font-family: wsu-icons;
}
ul.wsu-menu--primary-vertical ul li:last-child a:before {
	content: '';
	padding-right: 0;
}*/
body.tribe-events-style-full h1.wsu-article-header__title:before {
	content: "Events";
}

nav.tribe-events-nav-pagination {
	display: none;
}

h3.tribe-events-list-event-title {
	color: #A60F2D;
}

a.tribe-events-read-more {
	font-style: italic;
}

a.tribe-events-read-more:before {
	content: "\F108";
	padding-right: 5px;
	font-family: "wsu-icons";
	font-style: normal;
	font-size: 70%;
	color: #A60F2D;
}

/* hover effect for head and footer logo */
.wsu-coug-head {
	transition: fill .5s, transform .5s;
}

.wsu-coug-head:hover {
	fill: #4D4D4D;
	transform: scale(105%);
}

.wsu-coug-head--white:hover {
	fill: #a60f2d;
}

/* flip the order of the title and subtitle, add a line, adjust sizing/spacing */
.wsu-logo-lockup__title-wrapper {
	display: flex;
	flex-flow: column;
}

.wsu-logo-lockup__title-wrapper span {
	order: 2;
}

.wsu-logo-lockup__title-wrapper .wsu-logo-lockup__title {
	order: 1;
}

.wsu-logo-lockup__title-wrapper .wsu-logo-lockup__subtitle {
	font-size: 1.2em;
	border-top: 1px solid #ddd;
	padding-top: .2em;
	margin-top: .4em;
	text-transform: uppercase;
}

/* add little link icon to navigation items that go offsite -- for sub-sub menus */
#wsu-site-menu .sub-menu a[href^="https://iacuc.wsu.edu"]::before,
#wsu-site-menu .sub-menu a[href^="https://biosafety.wsu.edu"]::before,
#wsu-site-menu .sub-menu a[href^="https://irb.wsu.edu"]::before,
#wsu-site-menu .sub-menu a[href^="https://rso.wsu.edu"]::before, 
#wsu-site-menu .sub-menu a[href^="https://research.wsu.edu"]::before, 
#wsu-site-menu .sub-menu a[href^="https://researchweek.wsu.edu"]::before, 
#wsu-site-menu .sub-menu a[href^="https://ora.wsu.edu"]::before,
#wsu-site-menu .sub-menu a[href^="https://orso.wsu.edu"]::before, 
#wsu-site-menu .sub-menu a[href^="https://campusvet.wsu.edu"]::before, 
#wsu-site-menu .sub-menu a[href^="https://commercialization.wsu.edu"]::before,
#wsu-site-menu .sub-menu a[href^="https://natlab.wsu.edu"]::before,
#wsu-site-menu .sub-menu a[href^="https://myresearch.wsu.edu"]::before,
#wsu-site-menu .sub-menu a[href^="https://modernization.wsu.edu"]::before {
	content: "\F126";
	font-family: "wsu-icons";
	color: #ccc;
	position: absolute;
	font-size: 80%;
	left: .7em;
	transition: color .5s;
	font-weight: normal;
}

#wsu-site-menu .sub-menu a:hover::before {
	color: #A60F2D;
}

#wsu-site-menu .sub-menu .sub-menu a::before {
	left: 1.4em;
}

iframe {
	width: 100%;
}

/* ----- Check for stage links ----- */
/* Checks for stagewp.research.wsu.edu links once website is launched (published) 
.logged-in a[href*="stagewp.research.wsu.edu"] {
	background-color: rebeccapurple;
}
*/
/* ----- Check links ----- */
/* Checks for empty links & only shows when you are logged into the website */
.logged-in a:not([href]) {
	outline: 8px solid rebeccapurple !important;
}

/* Checks for links that open in a new tab */
body.logged-in a[target=_blank] {
	color: #000000;
	background-color: yellow;
	border: 5px #000000 solid;
	padding: 8px;
}

body.logged-in a[target=_blank]:after {
	content: "Edit the link to toggle off Open in a new tab.";
	color: black;
	border: 3px red solid;
	padding: 5px;
	font-size: .7em;
	font-weight: bold;
	font-style: italic;
}

/* Checks for pound sign/hashtag for a link */
.logged-in a[href="#"] {
	background-color: rebeccapurple;
}

/* ----- END Check links ----- */
/* Check for urldefense links */
.logged-in a[href*="urldefense.com"],
.logged-in a[href*="nam12.safelinks.protection.outlook.com"] {
	background-color: rebeccapurple;
}

/* END Check for urldefense links */
/* Hide column E in TablePress tables in css class 'na-table' */
.na-table .column-5 {
	display: none;
}