:root {
	--color__black: #212121;
	--color__dark-gray: #333;
	--color__red: #c00;
	--color__light-gray: #efefef;
	--color__smoke: #d7d7d7;
	--color__white: #fff;
}

#content .message {
	background-color: rgba(68, 149, 209, .1);
	border: 1px solid var( --clarku-color-pictonblue, rgb(68, 149, 209) );
	display: flex;
	flex-direction: row;
	margin-block-start: 1rem !important;
	padding: 1rem 1rem;
	transition: .2s all ease;
	& p {
		flex-grow: 1;
		margin: 0;
	}
	& button {
		background: none;
		border: 0;
		color: #000;
		text-decoration: underline;
		&:hover {
			color: #c00;
		}
	}
	&.dismissed {
		border: 0 !important;
		margin: 0 0 -1.25rem !important;
		padding: 0 !important;
		& * {
			display: none;
		}
	}
}

.content .bio {
	margin-block-end: 1.5rem !important;
}


.bio {
	line-height: 1.5;
/* 
	margin-block-start: 2rem;
 */
	margin-inline: auto;
	position: relative;
	max-width: 100%;
	
	& .name {

		background-image: url(seal.png);
		background-position: top 50% right 70px;
		background-repeat: no-repeat;
		background-size: 500px;
		border-bottom: 1px solid var(--color__smoke);
		padding: 1.5rem 4.375rem 3.5rem 1.5rem;
		
		& h1 {
			padding-left: 1.25rem;
			border-left: 3px solid var(--color__red);
			margin-left: 0;
			margin-bottom: .75rem;
		}
		& .title {
			font-size: 1.125rem;
			font-style: italic;
		}
	}


	& .title {
		margin-left: 0;
		font-size: .875rem;
		font-style: italic;
	}

	& .bookmark {
		background-color: var(--color__dark-gray);
		grid-column: 1;
  	grid-row: 1 / span 3;
  	align-self: start;
		margin-block-start: 2rem;
		margin-block-end: 1.5rem;
		max-width: 22.5rem;
		min-height: 300px;
		padding-block-end: 1rem;
		
		& .avatar {
			aspect-ratio: 1;
			width: 100%;
			& img {
				aspect-ratio: 1/1;
				display: block;
				object-fit: cover;
				width: 100%;
			}
		}
		
		& .icons a,
		& .links a,
		& .icon::before {
			color: #fff;
			font-weight: normal;
		}
		& .icons a,
		& .links a {
			text-decoration: underline;
		}
		
		& .avatar,
		& .icons,
		& .links,
		& .interests {
			font-size: 1.125rem;
			margin-block: 2rem;
			padding-inline: 1rem;
		}
		& .avatar {
			margin-block-start: 0;
			padding: 0;
		}
		& .links > div {
			margin-bottom: .75rem;
		}
		& .interests h3,
		& .interests p {
			color: #fff;
			font-family: "Source Sans Pro", sans-serif;
			font-size: 1.125rem;
		}
		& .interests h3 {
			margin-bottom: .25rem;
		}
		& .interests p {
			opacity: .72;
		}
		
		
	}
	
	& .faculty-tabs {
		align-self: start;
/* 
  	margin-block-start: 2rem;
 */
		& .tabs-container {
			background-color: var( --color__light-gray );
			display: flex;
			margin-block-end: 2.5rem;
			margin-inline-start: -4rem;
			padding-inline-start: 4rem;		
			& a {
				border-top: 3px solid transparent;
				color: var( --color__dark-gray );
				display: block;
				font-size: 1.125rem;
				font-weight: 600;
				padding: 1rem 1.5rem;
				text-decoration: none;
				&[aria-selected=true] {
					background-color: #fff;
					border-top: 3px solid var( --color__red );
				}
			}
		}

		& .tab {
			display: none;
		}
		& .tab.active {
			display: block;
		}
	}
}
@media only screen and (min-width: 900px) {
	.bio {
		display: grid;
		grid-template-columns: 22.5rem auto;
		grid-template-rows: fit-content(10rem) auto auto;
		& .name {
			grid-column: 2;
			grid-row: 1;
			align-self: start;
			padding: 1.5rem 4.375rem 3.5rem 4.375rem;
		}
	}

	& .faculty-tabs {
		grid-column: 2;
  	grid-row: 2;
  	padding-inline-start: 4rem;
  }
}



.bio {
	& ul.scholary-works {
		list-style: none;
		margin-left: 0;
		padding: 0;
		& li {
			display: list-item;
			padding-block-end: 1.25rem;
			margin-block-end: 2rem;
			border-bottom: 1px solid var(--color__smoke);
		}
		& li::before {
			display: none;
		}

		& .scholary-tag {
			padding: .25rem .75rem;
			border: 2px solid var(--color__smoke);
			display: inline-block;
			font-weight: 700;
			font-size: 1rem;
			letter-spacing: 1px;
			line-height: 1.2;
			color: #969696;
			text-transform: uppercase;
			margin-bottom: .75rem;
			margin-right: .25rem;
		}
		& .scholary-title {
			font-family: "Source Sans Pro", sans-serif;
			font-size: 1.125rem;
			font-weight: 600;
			display: block;
			line-height: 1.3;
			margin-bottom: .25rem;
		}
		& a.scholary-title {
			color: var(--color__red);
			text-decoration: underline;
		}

		& .scholary-group {
			margin-bottom: .25rem;
			& > div {
				display: inline-block;
			}
			& > div:not(:first-of-type)::before {
				content: "●";
				display: inline-block;
				font-size: .5rem;
				vertical-align: bottom;
				padding: 0 .5rem;
			}
		}
		& .scholary-group:last-of-type {
			margin-bottom: 0;
		}
		& .coauthors {
			font-size: 1rem;
			line-height: 1.5;
		}
/* 
		& .scholary__list--item__authors {
			display: flex;
			align-items: flex-start;
			margin-bottom: .75rem;
		}
		& .scholary__list--item__authors svg {
			margin-left: -3px;
			margin-right: 6px;
		}
		& .scholary__list--item__long-desc {
			white-space: pre-line;
		}
		& .scholary__list--item__coauthor {
			font-size: 1rem;
			letter-spacing: 0;
			display: block;
		}
		& .scholary__list--item__coauthor:not(:first-of-type) {
			margin-left: .25em;
		}
 */
		& .coauthors__icon {
			align-items: center;
			display: flex;
			height: 1.5rem;
			justify-content: center;
			margin-right: .5rem;
			width: 1em;
		}
		& .coauthors__comma{
			margin-right: .5rem;
		}
		& .scholary__list--item--coauthors {
			display: block;
		}
		& .coauthors__icon svg {
			fill: #969696;
			width: 1em;
		}
		& .scholary__list--item--coauthors > .coauthors__icon,
		& .scholary__list--item--coauthors > .scholary__list--item__coauthor {
			display: inline;
		}

	}
}

.bio {
	& ul.awards-grants {
		list-style: none;
		margin-left: 0;
		padding: 0;
		display: flex;
		flex-direction: column;
		flex-wrap: wrap;
		gap: .75rem;
		& li {
			border: 1px solid var(--color__smoke);
			border-top: 3px solid transparent;
			display: block;
			width: 100%;
			padding: 1.25rem;
			position: relative;
		}
		& li::before {
			content: '';
			position: absolute;
			top: -1px;
			left: -1px;
			right: -1px;
			bottom: 0;
			height: 3px;
			background: var(--color__red);
			z-index: 10;
		}
		& .award-title {
			font-size: 1.125rem;
			font-weight: 600;
			line-height: 1.3;
			margin-bottom: .75rem;
		}
		& p {
			margin-bottom: .25rem;
		}
		& .award-date {
			display: flex;
			align-items: center;
		}
		& .award-date svg {
			opacity: 0.6;
			margin-right: .25rem;
			margin-left: -.25rem;
		}
	}
}
@media only screen and (min-width: 900px) {
	.bio {
		& ul.awards-grants {
			flex-direction: row;
			& li {
				width: calc( 50% - .75rem );
			}
	}
}

.faculty-archive.list {
	display: block;
	max-width: 100% !important;
	& > li {
		display: list-item;
		margin-left: 0;
		padding-inline: 1rem;
	}
	& > li:not(:first-child) {
		padding-block: 1rem;
	}
	& li:before {
		display: none;
	}
	& .h-card {
		display: flex;
		width: 100%;
	}
	& .avatar {
		height: 5rem;
		margin-inline-end: 1.25rem;
		width: 5rem;
		img {
			aspect-ratio: 1/1;
			border-radius: 50%;
			display: block;
			object-fit: cover;
		}
	}
	& .name {
		flex-grow: 2;
	}
	& .p-name {
		margin-block-end: 0;
	}
	& .position {
		font-family: var( --clarku-type-serif, "Crimson Text", serif);
		font-size: 1.25rem;
		margin-block-end: 1rem;
	}
	& .degrees ul {
		font-family: var( --clarku-type-sans, "Source Sans Pro", sans-serif);
		font-size: 1rem;
		line-height: 1.3;
		& > li {
			display: list-item;
			margin-block-end: .5rem;
		}
	}
	& .department,
	& .contact {
		padding-inline: 1rem;
		text-align: left;
	}
}
.post-type-archive-cu_faculty .posts-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	margin-block-end: 1.5rem;
	width: 100%;
}


@media only screen and (min-width:1366px) {
	.faculty-tabs {
		&::before {
			content: ' ';
			display: block;
			background-color: var(--color__light-grey);
			height: 1px;
			left: -80px;
			position: absolute;
			width: calc(100% + 80px );
			z-index: -1;
		}
	}
}
