/********************************/
/* Default CSS                  */
/* Created by Sean Clark        */
/* Modified by Agent Cuttlefish */
/********************************/

@font-face {
	font-family: "Lato";
	src: url("fonts/Lato/Lato-Regular.ttf") format("truetype");
}

@font-face {
	font-family: "Lato Black";
	src: url("fonts/Lato/Lato-Bold.ttf") format("truetype");
}

@font-face {
	font-family: "Lato Black";
	src: url("fonts/Lato/Lato-Black.ttf") format("truetype");
}

:root {
	--colour: #24853b;
	--lightcolour: #1dB564;
	--titlecolour: #fff;
	--textcolour: #555;
	--headingcolour: #333;
	--eva-yellow: #fadd37;
	--eva-highlight: #fbf0a5;
}

/******************/
/* General Styles */
/******************/

body {
	font-family: "Lato", sans-serif;
	color: var(--textcolour);
	line-height: 1.8em;
	background-color: #fff;
	margin: 0;
}

h1, h2, h3 {
	font-family: "Lato Black", sans-serif;
	font-weight: normal;
	color: var(--headingcolour);
	text-align: center;
}

h1 a, h2 a, h3 a {
	color: var(--headingcolour);
	text-decoration: none;
}

h1 a:hover, h2 a:hover, h3 a:hover {
	text-decoration: underline;
}

p {
	font-family: "Lato", sans-serif;
	color: var(--textcolour);
}

p b {
	font-family: "Lato Black", sans-serif;
	font-weight: normal;
}

p a, ul a, table a {
	font-family: "Lato Black", sans-serif;
	color: var(--textcolour);
	text-decoration: underline;
}

p a:hover, ul a:hover, table a:hover {
	text-decoration: underline;
}

/**********/
/* Header */
/**********/

.header-wrapper {
	position: fixed;
	width: 100%;
	z-index: 99;
}

.header {
	margin: 0 auto;
}

.header .links ul {
	overflow: hidden;
	height: 52px;
	background-color: #fff;
	padding: 0;
	margin: 0;
}

.header .links ul li {
	float: left;
	font-size: 95%;
	list-style-type: none;
	padding: 12px 0 0 10px;
}

.header .links ul li a {
	margin: 4px;
	color: #000;
	text-decoration: none;
}

.header .links ul li a:hover {
	text-decoration: underline;
}

.header .links ul li.title {
	padding: 12px 7px 0 0;
}

.header .links ul li.home {
	text-indent: -9999px;
	padding: 0;
}

.header .links ul li.home a {
	display: block;
	width: 45px;
	height: 45px;
	background-repeat: no-repeat;
	background-size: 45px 45px;
	background-position: center;
}

.header .mobile {
	border-bottom: 2px solid #ccc;
}

.header .mobile ul {
	height: 52px;
	background-color: #fff;
	padding: 0;
	margin: 0;
}

.header .mobile ul li {
	float: left;
	font-size: 100%;
	list-style-type: none;
	padding: 12px 0 0 10px;
}

.header .mobile ul li a {
	margin: 4px;
	color: #000;
	text-decoration: none;
}

.header .mobile ul li a:hover {
	text-decoration: underline;
}

.header .mobile ul li.title {
	padding: 12px 7px 0 0;
}

.header .mobile ul li.home {
	text-indent: -9999px;
	padding: 0;
}

.header .mobile ul li.home a {
	display: block;
	width: 45px;
	height: 45px;
	background-repeat: no-repeat;
	background-size: 45px 45px;
	background-position: center;
	margin: 4px;
}

.header .mobile ul li.menu {
	position: absolute;
	right: 0;
	text-indent: -9999px;
	background-color: var(--colour);
	padding: 0;
}

.header .mobile ul li.menu a {
	display: block;
	width: 45px;
	height: 45px;
	background-repeat: no-repeat;
	background-size: 45px 45px;
	background-position: center;
	margin: 4px;
}

.header .navigation ul {
	overflow: hidden;
	height: 50px;
	padding: 0;
	margin: 0;
	background-color: var(--colour);
	user-select: none;
}

.header .navigation ul li {
	font-family: "Lato Black", sans-serif;
	font-weight: normal;
	float: left;
	font-size: 100%;
	list-style-type: none;
	padding: 0;
	margin: 0 2px;;
}

.header .navigation ul li.active {
	border-bottom: 2px solid #fff;
}

.header .navigation ul li:hover {
	border-bottom: 2px solid #fff;
}

.header .navigation ul li a {
	display: block;
	margin: 4px;
	color: #fff;
	text-decoration: none;
	padding: 5px 3px 0 3px;
}

/**********/
/* Footer */
/**********/

.footer-wrapper {
	background-color: var(--colour);
}

.footer {
	height: 300px;
	max-width: 1000px;
	margin: 20px auto 0 auto;
}

.footer h2 {
	font-size: 120%;
	color: #fff;
	text-align: center;
	padding: 0;
}

.footer p {
	color: #fff;
	text-align: center;
	padding: 0;
	margin: 0;
}

.footer .social {
	font-size: 100%;
	text-align: center;
	padding: 20px 10px 0  10px;
}

.footer .social a {
	font-size: 100%;
	text-decoration: none;
	margin: 0 10px;
}

.footer .social a:hover {
	text-decoration: underline;
}

.footer .social span {
	display :none;
}

.footer p a {
	color: #fff;
}

.footer p a:hover {
	color: #fff;
}

.footer ul {
	padding: 0;
	margin: 0;
}

.footer ul li {
	float: left;
	list-style-type: none;
	margin: 0 20px;
}

.footer ul li a {
	display: block;
	width: 100px;
	height: 100px;
	background-size: 100px 100px; 
}

/********/
/* Body */
/********/

/******************/
/* Author Profile */
/******************/

.author-profile {
	display: block;
	margin: 0 auto;
	width: 100%;
	max-width: 1000px;
	background-color: #eee;
	margin: 20px auto;
}

.author-profile h2 {
	text-align: left;
	font-size: 140%;
	margin: 0 0 10px;
	padding: 10px 20px;
}

.author-profile-header {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: flex-start;
	padding: 0 20px 10px;
}

.author-profile-image {
	flex: 0 0 auto;
	width: 150px;
	height: auto;
	border-radius: 4px;
	background-color: #ddd;
}

.author-profile-body {
	flex: 1 1 300px;
	min-width: 0;
}

.author-profile-body p {
	color: var(--textcolour);
	font-size: 100%;
	margin: 0 0 10px;
	padding: 0;
}

.author-profile-body p:first-of-type {
	margin-top: 0;
	padding-top: 0;
}

.author-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.author-links li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 90%;
	margin: 0 0 8px;
}

.author-link-icon {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	vertical-align: middle;
}

.author-links a {
	color: var(--textcolour);
	text-decoration: underline;
}

/*************************/
/* Body Cover and Banner */
/*************************/

.body .cover {
	background-color: #333;
}

.body .banner {
	background-color: #ddd;
}

.body .image-wrapper {
	max-width: 1000px;
	margin: 0 auto;
}

.body .cover img, .body .banner img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 400px;
	padding: 20px 0 20px 0;
	margin: 0 auto;
}

.body .cover p {
	max-width: 1000px;
	color: #fff;
	font-size: 100%;
	text-align: center;
	line-height: 1.5em;
	padding: 10px 10px 20px 10px;
	margin: 0 auto;
}

.body .banner p {
	max-width: 1000px;
	color: #333;
	font-size: 100%;
	text-align: center;
	line-height: 1.5em;
	padding: 10px 10px 20px 10px;
	margin: 0 auto;
}

.body .cover p a {
	color: #fff;
}

.body .banner p a {
	color: #333;
}

/**************/
/* Body Title */
/**************/

.body .title {
	background-color: var(--lightcolour);
	padding: 100px 20px 20px 20px;
}

.body .title h1 {
	color: var(--titlecolour);
	font-size: 180%;
	line-height: 1.2em;
	padding: 10px;
	margin: 0 auto;
}

.body .title p {
	font-family: "Lato Black", sans-serif;
	color: #fff;
	font-size: 120%;
	text-align: center;
}

.body .title p a {
	color: #fff;
	text-decoration: none;
}

.body .title p a:hover {
	color: #fff;
	text-decoration: underline;
}

/********/
/* Body */
/********/

.body h2 {
	clear: both;
	font-size: 140%;
	line-height: 1.2em;
	background-color: #eee;
	padding: 20px 20px;
	margin: 0 auto;
}

.body h3 {
	overflow: hidden;
	font-size: 120%;
	text-align: center;
	padding: 0;
	margin: 0;
}

.body h1 span {
	font-family: "Lato", sans-serif;
	font-weight: normal;
	font-size: 70%;
}

.body h2 span {
	font-family: "Lato", sans-serif;
	font-weight: normal;
	font-size: 90%;
}

.body h3 span {
	font-family: "Lato", sans-serif;
	font-weight: normal;
	font-size: 90%;
}

.body p {
	max-width: 1000px;
	font-size: 100%;
	text-align: justify;
	padding: 10px 20px;
	margin: 10px auto;
}

.body img {
	max-width: 100%;
}

.body img.medium {
	width: 50%;	
}

.body img.border {
	border: 1px solid #ccc;
}

.body ul {
	max-width: 1000px;
	font-size: 120%;
	padding: 10px 20px;
	margin: 10px auto;
}

.body ul li {
	padding: 2px 0;
	margin: 0;
}

/***************/
/* Photographs */
/***************/

.body .photographs {
	max-width: 1000px;
	margin: 0 auto;
}

.body .photographs img {
	float: left;
	width: 48%;
	margin: 1%;
}

.body table {
	width: 100%;
	max-width: 1000px;
	font-size: 100%;
	padding: 10px 20px;
	margin: 20px auto;
	border-collapse: collapse;
}

.body table th {
	font-family: "Lato Black", sans-serif;
	font-weight: normal;
	background-color: #eee;
	padding: 4px;
	border: 1px solid #ccc;
}

.body table td {
	padding: 4px;
	border: 1px solid #ccc;
}

.body table tbody th {
	text-align: left;
}

.body table.twocol th {
	width: 50%;
}

.body table.threecol th {
	width: 33%;
}

.body table.fourcol th {
	width: 25%;
}

/***********/
/* Listing */
/***********/

.body ul.listing {
	max-width: 1000px;
	padding: 10px;
	margin: 10px auto;
}

.body ul.listing li {
	float: left;
	list-style-type: none;
	width: 25%;
	padding: 0;
	margin: 0 0 20px 0;
}

.body ul.listing li:hover {
	background-color: #eee;
	border-radius: 5px;
}

.body ul.listing img {
	width: 90%;
	height: auto;
	margin: 5%;
	border: 2px solid #bbb;
}

.body ul.listing h3 {
	height: 2.8em;
	line-height: 1.3em;
}

.body ul.listing p {
	overflow: hidden;
	height: 1.4em;
	text-align: center;
	font-size: 100%;
	padding: 0;
	margin: 0;
}

.body ul.listing p.speaker {
	font-family: "Lato Black", sans-serif;
	height: 2.6em;
	font-size: 100%;
	line-height: 1.2em;
}

/***********/
/* iFrames */
/***********/

.body .youtube-wrapper {
	position: relative;
	max-width: 1000px;
	width: 80%;
	height: 0;
	padding-bottom: 40%;
	margin: 10px auto;
}

.body .youtube-wrapper .video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9;
}

/**************/
/* Custom CSS */
/**************/

.header li.home a {
	background-image: url("ui/cas.png");
}

.footer li.bcs a {
	text-indent: -9990px;
	background-image: url('ui/bcs.png');
}

.footer li.caa a {
	text-indent: -9990px;
	background-image: url('ui/caa.png');
}

.timeline .year {
	width: 10%;
}

/**************/
/* EVA Search */
/**************/

table.evapapers .title {
	background-color: #eee;
	padding: 4px;
}

table.evapapers span.soicon {
	text-indent: -9999px;
	background-image: url("thumbnails/soicon.png");
	background-repeat: no-repeat;
	background-size: 100% 100%;
	width: 30px;
	height: 30px;
	display: block;
	padding: 4px;
	border-radius: 10px;
}

table.evapapers span.pdficon {
	text-indent: -9999px;
	background-image: url("thumbnails/pdficon.png");
	background-repeat: no-repeat;
	background-size: 100% 100%;
	width: 30px;
	height: 30px;
	display: block;
	padding: 4px;
	border-radius: 10px;
}

table.evapapers span.youtubeicon {
	text-indent: -9999px;
	background-image: url("thumbnails/youtubeicon.jpg");
	background-repeat: no-repeat;
	background-size: 100% 100%;
	width: 30px;
	height: 30px;
	display: block;
	padding: 4px;
	border-radius: 10px;
}

.evapapers span.highlight,
table.evapapers span.highlight {
	background-color: var(--eva-highlight);
	color: #333;
	padding: 0 2px;
}

table.evapapers td.author-cell a {
	text-decoration: underline;
}

table.evapapers td.author-cell a:hover, table.evapapers td.author-cell a:focus-visible {
	text-decoration: underline;
}

table.evapapers tr.year th a {
	color: inherit;
	text-decoration: underline;
}

table.evapapers tr.year th a:hover, table.evapapers tr.year th a:focus-visible {
	text-decoration: underline;
}

#keyword {
	font-size: 140%;
}

.body .cover {
	background-color: #ddd;
}

.body .cover p {
	color: #000;
}

/****************/
/* Archive Page */
/****************/

.archive-page .page-header {
	background-color: var(--lightcolour);
	text-align: center;
	padding: 170px 20px 20px;
}

.archive-page .page-header h1 {
	color: var(--titlecolour);
	text-align: center;
	font-size: 160%;
	line-height: 1.2;
	padding: 0 0 0 0;
	margin: 0 auto;
}

.archive-page .page-header .subnav {
	font-family: "Lato Black", sans-serif;
	color: var(--titlecolour);
	font-size: 120%;
	text-align: center;
	padding: 0;
	margin: 0 auto;
}

.archive-page .page-header .subnav a {
	color: var(--titlecolour);
	text-decoration: none;
}

.archive-page .page-header .subnav a:hover, .archive-page .page-header .subnav a:focus-visible {
	color: var(--titlecolour);
	text-decoration: underline;
}

.archive-banner {
}

.archive-banner {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
}

.archive-banner-image img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	padding: 20px 0;
	margin: 0 auto;
}

.proceedings-decade > h3 {
	clear: both;
	font-size: 140%;
	line-height: 1.2;
	background-color: #eee;
	padding: 20px 20px;
	margin: 0 auto;
}

.archive-content ul.proceedings-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 20px 0;
	max-width: 1000px;
	padding: 10px;
	margin: 10px auto;
}

.archive-content .proceedings-card {
	list-style: none;
	min-width: 0;
	padding: 0;
	margin: 0;
}

.proceedings-card__link {
	display: block;
	text-decoration: none;
	color: inherit;
	padding: 0;
	margin: 0;
}

.archive-content .proceedings-card__link:hover, .archive-content .proceedings-card__link:focus-visible {
	background-color: #eee;
	border-radius: 5px;
}

.archive-content .proceedings-card:hover {
	background-color: #eee;
	border-radius: 5px;
}

.proceedings-card__date {
	overflow: hidden;
	min-height: 2.6em;
	text-align: center;
	font-size: 100%;
	line-height: 1.3;
	padding: 0;
	margin: 0;
}

.archive-content .proceedings-card__count {
	text-align: center !important;
	font-size: 70% !important;
	color: #666;
	padding: 0 !important;
	margin: -14px 0 6px;
	line-height: 1.2;
}

.archive-feedback {
	display: block;
	margin: 0 auto;
	width: 100%;
	max-width: 1000px;
}

.archive-feedback p {
	background-color: var(--eva-yellow);
	font-size: 90%;
	text-align: center;
}

.body .archive-feedback a {
	color: inherit;
	text-decoration: underline;
}

.body .archive-feedback a:hover, .body .archive-feedback a:focus-visible {
	text-decoration: underline;
}

/* Authors index page */
.author-index {
	max-width: 1000px;
	margin: 20px auto;
	padding: 0 20px;
}

.author-index p {
	text-align: center !important;
	font-size: 120% !important;
}

.author-index a {
	display: inline-block;
	margin: 0 6px;
	color: #222;
	text-decoration: none;
	font-weight: bold;
}

.author-index a:hover, .author-index a:focus-visible {
	text-decoration: underline;
}

.author-section {
	margin: 20px auto;
	padding: 0 20px;
	max-width: 1000px;
	scroll-margin-top: 160px;
}

.author-section h2 {
	font-size: 160%;
	border-bottom: 2px solid var(--eva-yellow);
	padding-bottom: 6px;
	margin: 20px 0 10px;
}

.author-list {
	list-style: none;
	padding: 0;
	margin: 0;
	column-count: 3;
	column-gap: 30px;
	text-align: left;
}

.author-list li {
	break-inside: avoid;
	padding: 4px 0;
	text-align: left;
}

.author-name {
	font-size: 90%;
	font-weight: bold;
}

.author-meta {
	font-size: 80%;
	color: #666;
}

@media (max-width: 800px) {
	.author-list {
		column-count: 2;
	}
}

@media (max-width: 500px) {
	.author-list {
		column-count: 1;
	}
}

.proceedings-card__date time, .proceedings-card__date b {
	display: block;
	width: 100%;
	text-align: center;
}

.proceedings-card__date b {
	font-size: 70%;
}

.proceedings-card__year {
	display: block;
}

.proceedings-card__cover img {
	display: block;
	width: 90%;
	height: auto;
	margin: 1% 5% 5%;
	border: 2px solid #bbb;
}

.header li.menu .menu-button {
	display: block;
	width: 53px;
	height: 53px;
	text-indent: -9999px;
	background-color: transparent;
	background-image: url("ui/menu.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 45px 45px;
	border: 0;
	cursor: pointer;
}

/* Sub-navigation bar */
.subnavigation {
	position: fixed;
	top: 102px;
	left: 0;
	right: 0;
	z-index: 98;
	background-color: var(--eva-yellow);
	color: #222;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.subnavigation ul {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	max-width: 1000px;
	list-style: none;
	margin: 0 auto;
	padding: 0 20px;
	height: 50px;
}

.subnavigation li a {
	display: flex;
	align-items: center;
	height: 50px;
	color: #222;
	text-decoration: none;
	font-size: 90%;
	padding: 0 10px;
	border-radius: 0;
}

.subnavigation li a:hover, .subnavigation li a:focus-visible {
	background-color: rgba(0, 0, 0, 0.15);
	text-decoration: underline;
}

.subnav-search form {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 50px;
}

.subnav-search__box {
	display: flex;
	align-items: center;
	gap: 6px;
	background-color: #fff;
	border: 1px solid #b8a000;
	border-radius: 20px;
	padding: 3px 10px;
}

.subnav-search__box:focus-within {
	outline: 2px solid #222;
	outline-offset: 1px;
}

.subnav-search__icon {
	display: flex;
	align-items: center;
	color: #555;
	pointer-events: none;
}

.subnav-search input[type="search"] {
	width: min(100%, 240px);
	padding: 0;
	border: 0;
	border-radius: 0;
	font-size: 90%;
	background-color: transparent;
	outline: none;
}

.subnav-search input[type="search"]::placeholder {
	color: #777;
}

.subnav-search button[type="submit"] {
	padding: 4px 14px;
	border: 1px solid #b8a000;
	border-radius: 20px;
	background-color: #fff;
	color: #222;
	font-family: "Lato Black", sans-serif;
	font-size: 85%;
	cursor: pointer;
}

.subnav-search button[type="submit"]:hover,
.subnav-search button[type="submit"]:focus-visible {
	background-color: #eee;
	color: #222;
}

.subnav-search button[type="submit"]:active {
	background-color: #333;
	color: #fff;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.archive-page a:focus-visible, .archive-page button:focus-visible {
	outline: 3px solid #111;
	outline-offset: 3px;
}

.archive-page .footer {
	height: auto;
	padding-bottom: 30px;
}

.archive-page .supporters ul {
	display: flex;
	justify-content: center;
	gap: 40px;
	padding: 20px 0;
}

.archive-page .supporters ul li {
	float: none;
	margin: 0;
}

.search-page #keyword-search {
	text-align: center;
}

.search-page #keyword-search label {
	font-family: "Lato Black", sans-serif;
}

.search-page #keyword {
	width: min(100%, 620px);
	margin-top: 8px;
	margin-left: auto;
	margin-right: auto;
	display: block;
}

.search-page #keyword-search p {
	text-align: center;
}

.search-page #search-results {
	text-align: center;
}




/*****************/
/* Media Queries */
/*****************/

@media (max-width: 360px)  {
	.header .mobile .title {
		display: none;
	}
}

@media (max-width: 600px)  {
	.body .cover img,
	.body .banner img {
		padding: 0;
		width: 100%;
		height: auto;
		max-width: 100%;
		max-height: 100%;
	}
	.body ul.listing li {
		width: 50%;
	}
	.footer ul li a {
		width: 75px;
		height: 75px;
		background-size: 75px 75px; 
	}
}

@media (min-width: 801px)  {
	.header .mobile {
		display: none;
	}
}

@media (max-width: 800px)  {
	.header .links {
		display: none;
	}
	.header .navigation {
		display: none;
	}
	.header .navigation ul {
		position: fixed;
		right: 0;
		overflow: visible;
		height: auto;
	}
	.header .navigation ul li {
		float: none;
		width: 200px;
	}
	.header .navigation ul li:hover {
		border: none;
	}
	.header .navigation ul li.active {
		border: none;
	}
	.header .navigation ul li a {
		padding: 0 10px;
	}
	.header .navigation ul li a:hover {
		background-color: #fff;
		color: var(--colour);
	}
	.body .title {
		padding-top: 68px;
	}
	.body p {
		text-align: left;
	}
	.body table {
		width: 100%;
	}
	.body .cover img,
	.body .banner img {
		max-width: 100%;
		max-height: 100%;
	}
}

@media (max-width: 600px) {
	.author-profile p {
		font-size: 90%;
	}
}

@media (max-width: 800px) {
	.subnavigation {
		top: 52px;
	}

	.archive-page .page-header {
		padding-top: 110px;
	}

	.subnavigation ul {
		flex-wrap: wrap;
		gap: 8px 16px;
		padding: 8px 10px;
	}

	.subnav-search input[type="search"] {
		width: 120px;
	}

	.header .navigation.is-open {
		display: block;
	}

	.archive-content ul.proceedings-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 500px) {
	.subnavigation ul {
		justify-content: flex-start;
	}

	.subnavigation ul li:not(.subnav-search) {
		display: none;
	}

	.subnav-search {
		width: 100%;
	}

	.subnav-search form {
		width: 100%;
	}

	.subnav-search input[type="search"] {
		flex: 1;
		width: auto;
	}

	.subnav-search button[type="submit"] {
		flex: 0 0 auto;
	}

	.archive-content ul.proceedings-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 400px) {
	.archive-content ul.proceedings-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 800px)  {
	.artist {
		float: normal;
		width: 100%;
	}
	.artist p {
		height: auto;
		text-align: left;
	}
	.artist img,
	.artist .two img,
	.artist .three img,
	.artist .four img {
		width: 90%;
		margin:  20px 5%;
	}
}
