/*
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.
*/
/* make third-level navs italic */
.wsu-navigation-site-vertical ul.wsu-menu--primary-vertical ul ul li a, 
.wsu-navigation-site-vertical ul.wsu-menu--primary-vertical ul ul li button {
	font-style: italic;
}

/* ... except the down arrows */
.wsu-navigation-site-vertical ul.wsu-menu--primary-vertical ul ul li button::after {
	font-style: normal;
}

/* make fourth-level navs non-italic */
.wsu-navigation-site-vertical ul.wsu-menu--primary-vertical ul ul ul li a, 
.wsu-navigation-site-vertical ul.wsu-menu--primary-vertical ul ul ul li button {
	font-style: normal;
}

/* make fourth-level navs non-italic */
.wsu-navigation-site-vertical ul.wsu-menu--primary-vertical ul ul ul li a::before {
	content: '•\a0\a0';
}

/* hide first set of social media icons */
header .wsu-social-icons {
	display: none;
}

/* also add padding to second set of social media icons */
.wsu-social-icons {
	padding-top: 100px;
}

/* reduce site header dimensions and padding */
div.wsu-header-site__title {
	font-size: 1rem !important;
}

/* 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;
}

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

div.wsu-header-site__label {
	padding: .5rem .5rem .5rem 1rem !important;
}

header.wsu-header-site {
	min-height: 50px !important;
}

ul#menu-catalog-links {
	list-style-type: none;
	padding-left: 0;
	margin-left: 0;
	border-bottom: 1px solid #ccc;
}

ul#menu-catalog-links li {
	padding: .5rem;
	margin: 0;
	border-top: 1px solid #ccc;
}

ul#menu-catalog-links li a {
	text-decoration: none;
}

ul#menu-catalog-links li a:hover {
	text-decoration: underline;
}

.wsu-coug-head--white {
	transition: fill .5s;
}

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

/* hide account byline */
address.wsu-meta-byline {
	display: none;
}

/* add space and border to blog news list */
.wsu-article.wsu-style--index {
	padding-bottom: 5em;
	border-bottom: 5px solid #ccc;
}

/* add Events page title */
body.post-type-archive-tribe_events .wsu-article__header h1:before {
	content: "Events";
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
	padding-top: 0;
}

.wsu-card__person-link .wsu-button {
	font-size: .75em;
}

/* for 2024 Giving Tuesday page */
body.page-id-8141 .wsu-wrapper-content {
	padding-top: .75rem;
}

#givingTuesdayBanner {
	padding-bottom: .5rem;
}

/* ----- 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;
}

/*... except this for the "Catalog" side menu in the Academics section */
.logged-in .wsu-column .menu-item a[href="#"] {
	background-color: white;
	color: black;
	text-decoration: none;
}

/* 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 */
/* ----- Check for stage links ----- */
/* Checks for stagewp.cas.wsu.edu links once website is launched (published) */
.logged-in a[href*="stagewp.cas.wsu.edu"] {
	background-color: rebeccapurple;
}

/* ----- END Check for stage links ----- */
/* ----- END Check links ----- */