body {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
}

.extra-nav {
    padding: 5px 15px;
    background-color: #ffffff;
    text-align: right;
    /* width: 100%; */
}

li.nav-item:last-child a.nav-link {
    padding-right: 0;
}

@media (min-width: 992px) {
    .navbar .nav a {
	padding: 0 0 3rem 0;
    }
}

.page-head-container {
    background-color: var(--primary-theme-colour);
}

.menuitem-active {
    background-position-y: bottom;
    background-position-x: center;
    background-repeat: no-repeat;
}

.hypothesis-active {
    color: var(--bs-dom-hypothesis) !important;
}

.essay-active {
    color: var(--bs-dom-essay) !important;
}

.artefact-active {
    color: var(--bs-dom-artefact) !important;
}

.journal-active {
    color: var(--bs-dom-journal) !important;
}

.timeline-active {
    color: var(--bs-dom-timeline) !important;
}

.timeline-active {
    color: var(--bs-dom-timeline) !important;
}

.about-active {
    color: var(--bs-dom-home) !important;
}

@media (min-width: 992px) {
    .hypothesis-active {
	background-image: url("/static/sitecore/image/hypothesis-activemarker.70555af6276b.webp");
    }

    .essay-active {
	background-image: url("/static/sitecore/image/essay-activemarker.6c3f51d82f53.webp");
    }
    
    .artefact-active {
	background-image: url("/static/sitecore/image/artefact-activemarker.caf24dec7b3a.webp");
    }
    
    .journal-active {
	background-image: url("/static/sitecore/image/journal-activemarker.d382edd5e509.webp");
    }
    
    .timeline-active {
	background-image: url("/static/sitecore/image/timeline-activemarker.ad7aa34567e6.webp");
    }

    .about-active {
	background-image: url("/static/sitecore/image/about-activemarker.d910405f0d93.webp");
    }
}

a:link, a:visited, a:active {
    text-decoration: none;
    /* text-decoration: underline; */
    /* text-decoration-color: #ddd; */
    color: #000;
    font-weight: 700;
}

/* a:link:hover { */
/*     text-decoration: underline; */
/*     text-decoration-color: #aaa; */
/*     color: #222; */
/*     font-weight: 700; */
/* } */

.page-head-title {
    font-family: 'Raleway', sans-serif;
    font-size: 48px;
    font-weight: 100;
    display: flex;
    align-items: center;
    height: 100%;
}

.page-head-title h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 24px;
    font-weight: 100;
    text-transform: uppercase;
}

.hypothesis-title {
    text-align: left;
}

.hypothesis-title .hypothesis-title-primary {
    font-size: 20.8px;
    font-weight: 700;
    letter-spacing: -0.5px;
    /* line-height: 5px; */
}

.hypothesis-title .hypothesis-title-sub {
    font-weight: normal;
    color: #5f5f5f;
    font-size: 20.8px;
    font-weight: 700;
    letter-spacing: -0.5px;
    /* line-height: 5px; */
}

.hypothesis-footer {
    text-align: right;
    font-weight: 700;
    font-family: 'Raleway', sans-serif;
    font-size: 19.2px;
    text-transform: lowercase;
    padding: 5px;
    margin-top: auto;
}

.hypothesis-footer .version-full {
    border-bottom: 1px solid var(--bs-dom-hypothesis);
}

.hypothesis-footer a:link, .hypothesis-footer a:visited, .hypothesis-footer a:active {
    color: var(--bs-dom-hypothesis);
}

.hypothesis-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 3rem;
    grid-row-gap: 3rem;
    padding: 0;
}

@media (max-width: 991.98px) {
    .hypothesis-grid-container {
	grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .hypothesis-grid-container {
	grid-template-columns: 1fr;
    }
}

.hypothesis-grid-item {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.hypothesis-list-card {
    border-color: var(--bs-dom-hypothesis);
}

.hypothesis-list-card h2, .hypothesis-list-card span {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.hypothesis-list-card h3.card-sub-title {
    font-size: 14px;
    font-weight: 400;
    font-style: italic;
}

.hypothesis-list-card a {
    font-size: 16px;
    font-weight: 400;
}

.essay-grid-heading h2 {
    text-align: right;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 24px;
    color: #000;
}

.essay-grid-item h3 {
    font-weight: bold;
    font-size: 17.6px;
    text-align: start;
    text-transform: uppercase;
    color: var(--bs-dark);
}

.essay-grid-item a {
    font-size: 1rem;
}

.essay-grid-item-essay h2, .essay-grid-item-essay h3, .essay-grid-item-essay h4 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 20px;
    color: #000;
}

.essay-grid-item-essay h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 2.5rem;
}

.essay-grid-item-essay h3 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.essay-grid-item-essay p {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

span.artefact-title-title {
    font-style: italic;
    font-weight: 100;
}

span.artefact-title-date {
    font-weight: 100;
}

ul.artefact-grid-item {
    list-style-type: none;
}

ul.artefact-grid-item li {
    margin-bottom: 1rem;
}

.artefact-list-card h3 {
    font-size: 14px;
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 0.25rem;
}

.artefact-list-card ul {
    list-style-type: "> ";
    padding-left: 1rem;
}


/* nav options */

.navbar {
    font-size: 1rem;
}

.dropdown-item {
    font-size: 1rem;
}

nav.navbar-transparent {
    transition: 1000ms ease;
    background-color: transparent!important;
}

nav.navbar-opaque {
    transition: 1000ms ease;
}

.navbar-dark .navbar-nav .show>.nav-link, .navbar-dark .navbar-nav .active>.nav-link, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .nav-link.active {
    border-bottom: 1px solid #fff;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.9);
}

/* splash page header and inset */

.page-header {
    margin: 0;
    padding: 0;
    border: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-position: 50%;
    background-size: cover;
}

.page-header-row {
    padding: 30px 0 60px 0;
}

.inset {
    position: relative;
    z-index: 3;
}

.inset-raised {
    margin-top: -60px;
    border-radius: 6px;
    box-shadow: 0 16px 24px 2px rgba(0,0,0,.14), 0 6px 30px 5px rgba(0,0,0,.12), 0 8px 10px -5px rgba(0,0,0,.2);
}

/* page footer */

footer.page-footer {
    background-color: #4f4e4e;
}

@media (min-width: 768px) {
    footer.page-footer section:not(:first-child) {
	border-left: 2px solid #eee;
    }
}

@media (max-width: 767.98px) {
    footer.page-footer section:not(:first-child) {
	border-top: 2px solid #eee;
    }
}
.page-footer h2 {
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.page-footer address,
.page-footer ul {
    font-size: 0.75rem;
    line-height: 1.5rem;
}

.page-footer address a {
    color: #eee !important;
}

.page-footer a:link, .page-footer a:visited, .page-footer a:active {
    color: #eee;
}

.page-footer a:active,
.page-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.page-footer li {
    line-height: 2;
}

.page-footer hr {
    border-top: 1px solid #808184;
    height: 1px;
    margin: 0;
}

/* base footer */

.base-footer li {
    float: left;
}

.base-footer li a {
    color: #aaaaaa!important;
}

.base-footer li + li:before {
    content: "/";
    padding: 0.5rem;
}

/* cookie consent */

a.cc-btn.cc-dismiss:hover {
    color: black;
}

.cc-message h3 {
    margin-bottom: 1em;
}

/* custom meta data fields */

div.page-author-inline {
    display: inline;
}

div.page-date-published-inline {
    display: inline;
}

div.page-date-revised-inline {
    display: inline;
}

div.page-content-type-inline {
    display: inline;
}

div.event-date-range-inline {
    display: inline;
}

div.event-type-inline {
    display: inline;
}

/* custom colours for social share icons */

div.social-share {
    display: inline-block;
}

i.fa-twitter-square {
    color: #00aced;
}

i.fa-facebook-square {
    color: #3b579b;
}

i.fa-envelope-square {
    color: darkorange;
}

i.fa-linkedin {
    color: #0173b2;
}

i.fa-reddit-square {
    color: #ff5c06;
}

/* figure caption correction */

.figure-caption {
    color: inherit;
}

/* go full width on images for mobile */

@media (max-width: 575.98px) {
    .img-full-width-sm {
	left: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	max-width: 100vw;
	position: relative;
	right: 50%;
	width: 100vw;
    }
}

@media (min-width: 576px) {
    .img-full-width-sm {
	margin-left: auto !important;
	margin-right: auto !important;
    }
}

@media (max-width: 767.98px) {
    .img-full-width-md {
	left: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	max-width: 100vw;
	position: relative;
	right: 50%;
	width: 100vw;
    }
}

@media (min-width: 768px) {
    .img-full-width-md {
	margin-left: auto !important;
	margin-right: auto !important;
    }
}

/* scale display-<N> on mobile */

@media (max-width: 575.98px) {
    .display-1 {
	font-size: 2rem;
    }
    
    .display-2 {
	font-size: 1.5rem;
    }
    
    .display-3 {
	font-size: 1.25rem;
    }
    
    .display-4 {
	font-size: 1rem;
    }
}

@media (max-width: 767.98px) and ( min-width: 576px) {
    .display-1 {
	font-size: 3rem;
    }
    
    .display-2 {
	font-size: 2.5rem;
    }
    
    .display-3 {
	font-size: 1.5rem;
    }
    
    .display-4 {
	font-size: 1.125rem;
    }
}

@media (max-width: 991.98px) and ( min-width: 768px) {
    .display-1 {
	font-size: 4rem;
    }
    
    .display-2 {
	font-size: 3.5rem;
    }
    
    .display-3 {
	font-size: 2.5rem;
    }
    
    .display-4 {
	font-size: 1.5rem;
    }
}

@media (max-width: 1199.98px) and ( min-width: 992px) {
    .display-1 {
	font-size: 5rem;
    }
    
    .display-2 {
	font-size: 4.5rem;
    }
    
    .display-3 {
	font-size: 3.5rem;
    }
    
    .display-4 {
	font-size: 2.5rem;
    }
}

@media (min-width: 576px) {
    .container.inset.inset-raised {
	max-width: 570px;
    }
}

@media (min-width: 768px) {
    .container.inset.inset-raised {
	max-width: 750px;
    }
}

@media (min-width: 992px) {
    .container.inset.inset-raised {
	max-width: 990px;
    }
}

@media (min-width: 1200px) {
    .container.inset.inset-raised {
	max-width: 1170px;
    }
}

/* shadows for splash headers */

div.splash-shadow h1 {
    text-shadow: 2px 2px #1c3577b8;
}
div.splash-shadow h2 {
    text-shadow: 2px 2px #1c3577b8;
}
div.splash-shadow h3 {
    text-shadow: 2px 2px #1c3577b8;
}
div.splash-shadow h4 {
    text-shadow: 2px 2px #1c3577b8;
}
div.splash-shadow h5 {
    text-shadow: 2px 2px #1c3577b8;
}
div.splash-shadow h6 {
    text-shadow: 2px 2px #1c3577b8;
}

/* carousel styling */

.carousel-artefact-caption {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    color: black;
}

.carousel-item:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}


