@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=EB+Garamond|Spectral+SC");
/**
 * Reset some basic elements
 */
* {
  box-sizing: border-box;
}

body, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, hr,
dl, dd, ol, ul, figure {
  margin: 0;
  padding: 0;
}

/**
 * Basic styling
 */
body {
  font: 400 18px/1.5 "EB Garamond", serif;
  background: url("../img/bg.jpg") no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: #111;
  background-color: #fdfdfd;
  -webkit-text-size-adjust: 100%;
  -webkit-font-feature-settings: "kern" 1;
  -moz-font-feature-settings: "kern" 1;
  -o-font-feature-settings: "kern" 1;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
  overflow-x: hidden;
  width: 100%;
}

/**
 * Set `margin-bottom` to maintain vertical rhythm
 */
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
ul, ol, dl, figure {
  margin-bottom: 15px;
  font-weight: normal;
}

/**
 * `main` element
 */
main {
  display: block;
  /* Default value of `display` of `main` element is 'inline' in IE 11. */
}

/**
 * Font icons
 */
/**
 * Images
 */
img {
  max-width: 100%;
  vertical-align: middle;
}

/**
 * Figures
 */
figure > img {
  display: block;
}

figcaption {
  font-size: 15.75px;
}

/**
 * Lists
 */
ul, ol {
  margin-left: 30px;
}

li > ul,
li > ol {
  margin-bottom: 0;
}

/**
 * Links
 */
a {
  color: var(--link-color, #006295);
  text-decoration: none;
}
a:visited {
  color: #1a4987;
}
a:hover {
  color: #111;
  text-decoration: underline;
}
.social-media-list a:hover {
  text-decoration: none;
}
.social-media-list a:hover .username {
  text-decoration: underline;
}

/**
 * Blockquotes
 */
blockquote {
  color: #cecece;
  border-left: 4px solid white;
  padding-left: 15px;
  font-size: 20.25px;
  letter-spacing: -1px;
  font-style: italic;
}
blockquote > :last-child {
  margin-bottom: 0;
}

/**
 * Code formatting
 */
pre,
code {
  font-size: 16.875px;
  border: 1px solid white;
  border-radius: 3px;
  background-color: #eef;
}

code {
  padding: 1px 5px;
}

pre {
  padding: 8px 12px;
  overflow-x: auto;
}
pre > code {
  border: 0;
  padding-right: 0;
  padding-left: 0;
}

/**
 * Wrapper
 */
.wrapper {
  margin-right: auto;
  margin-left: auto;
  padding-right: 30px;
  padding-left: 30px;
}
@media screen and (max-width: 800px) {
  .wrapper {
    max-width: -webkit-calc(1100px - (30px));
    max-width: calc(1100px - (30px));
    padding-right: 15px;
    padding-left: 15px;
  }
}

/**
 * Clearfix
 */
.footer-col-wrapper:after, .wrapper:after {
  content: "";
  display: table;
  clear: both;
}

/**
 * Icons
 */
.svg-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  fill: #cecece;
  padding-right: 5px;
  vertical-align: text-top;
}

.social-media-list li + li {
  padding-top: 5px;
}

/**
 * Tables
 */
table {
  margin-bottom: 30px;
  width: 100%;
  text-align: left;
  color: #3f3f3f;
  border-collapse: collapse;
  border-top: 5px solid #000;
}
table thead tr {
  background-color: rgba(255, 255, 255, 0.05);
}
table tr {
  background-color: color-mix(in srgb, var(--link-color, #006295) 5%, transparent);
}
table tr:nth-child(even) {
  background-color: color-mix(in srgb, var(--header-color, #fc0) 5%, transparent);
}
table th, table td {
  padding: 10px 15px;
  border-bottom: 1px solid #000;
}
table th:not(:last-child), table td:not(:last-child) {
  border-right: 1px solid #000;
}
table td {
  vertical-align: top;
}

/**
 * Form elements
 */
select,
button,
.button,
.resource-list.preview + a,
input[type=submit] {
  font: 400 18px/1.5 "EB Garamond", serif;
  border-radius: 3px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  display: inline-block;
  padding: 3.75px 7.5px;
}

textarea {
  font: 400 18px/1.5 "EB Garamond", serif;
  padding: 3.75px 7.5px;
  border: 1px solid #cecece;
}

button,
.button,
.resource-list.preview + a,
input[type=submit] {
  cursor: pointer;
  background-color: var(--button-color, #8bb5cb);
  color: #000 !important;
  border: 1px solid #000;
  border-width: 3px 1px 1px;
  border-radius: 0;
}
button:disabled, button.inactive,
.button:disabled,
.resource-list.preview + a:disabled,
.button.inactive,
.resource-list.preview + a.inactive,
input[type=submit]:disabled,
input[type=submit].inactive {
  background-color: white;
  border: 1px solid #cecece;
  color: #cecece;
  cursor: default;
}
button.yellow,
.button.yellow,
.resource-list.preview + a.yellow,
input[type=submit].yellow {
  background-color: var(--header-color, #fc0);
}

input:not([type=submit]):not([type=file]):not([type=radio]):not([type=checkbox]) {
  font: 400 18px/1.5 "EB Garamond", serif;
  padding: 3.75px 7.5px;
  border: 1px solid #cecece;
}

select {
  padding-right: 30px;
  border: 1px solid #cecece;
  background: white url(../../../../application/asset/img/select-arrow.svg) no-repeat;
  background-position: right 7.5px center;
  background-size: 7.5px;
}
select:after {
  content: ">";
}

/* 
 * Iconfonts
 */
[class*=o-icon-]:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

select {
  padding-right: 22.5px;
}

option {
  margin: 0 7.5px 0 0;
}

blockquote {
  color: #000;
  font-style: normal;
  letter-spacing: normal;
  margin: 60px 0;
  border-color: #8e8e8e;
}

table.tablesaw {
  border-top: 5px solid #000;
}

/**
 * Site header
 */
.site-header {
  min-height: 55.95px;
  position: relative;
}

.site-header a {
  color: #000;
}
.site-header a:hover, .site-header a:active {
  text-decoration: none;
}

.site-header .wrapper {
  padding: 0;
}
.site-header .wrapper > * {
  padding: 0 30px;
}

.site-title {
  font-size: 29.25px;
  font-family: "Spectral SC", serif;
  font-weight: 300;
  line-height: 60.75px;
  letter-spacing: -1px;
  margin-bottom: 0;
  width: 100%;
  display: block;
  text-align: center;
  position: relative;
  background-color: color-mix(in srgb, var(--header-color, #fc0) 80%, transparent);
}
.site-title img {
  margin: 15px;
}

.site-nav {
  width: 100%;
  line-height: 60.75px;
  text-align: center;
  position: relative;
}
.site-nav:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -9999px;
  right: -9999px;
  background-color: #cecece;
  opacity: 0.5;
  z-index: -1;
}
.site-nav ul {
  list-style: none;
  margin: 0;
}
.site-nav ul ul {
  display: none;
}
.site-nav li {
  display: inline-block;
}
.site-nav .nav-trigger {
  display: none;
}
.site-nav .menu-icon {
  display: none;
}
.site-nav .page-link,
.site-nav li {
  color: #111;
  line-height: 1.5;
}
.site-nav .page-link:not(:last-child),
.site-nav li:not(:last-child) {
  margin-right: 20px;
}

.user {
  display: inline-block;
  position: relative;
  margin-right: 10px;
}
.user:before {
  content: "";
  display: inline-block;
  margin-right: 10px;
  background-color: #000;
  height: 18.75px;
  width: 1px;
  transform: translateY(25%);
}

.username {
  font-weight: bold;
}

.site-nav .page-link.user-toggle {
  position: relative;
  z-index: 2;
  padding: 0 7.5px;
  margin-right: 0;
  display: inline-block;
}

.logged-in .user-toggle {
  width: 37.5px;
  text-align: center;
}

.logged-in .user-toggle:after {
  font-family: "Font Awesome 5 Free";
  content: "";
  font-weight: 900;
}

.user-menu {
  position: absolute;
  right: -9999px;
  background-color: #fff;
  border: 1px solid white;
  padding: 15px;
  border-radius: 3px;
  z-index: 0;
  line-height: 1.5;
}

ul.user-menu {
  list-style: none;
}

.user-menu .field {
  margin-bottom: 15px;
}

.user.open .user-menu {
  right: -1px;
}

.user.open .user-toggle:before {
  content: "";
  position: absolute;
  background-color: #fff;
  border: 1px solid white;
  top: -3.75px;
  right: -1px;
  height: 37.5px;
  z-index: -11;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  width: 100%;
}

.user-menu li {
  line-height: 1.5;
}

#scriptologoutform {
  display: inline-block;
}

#scriptologoutform [type=submit] {
  background-color: transparent;
  color: #000;
  border: 0;
  padding: 0;
}
#scriptologoutform [type=submit]:hover {
  text-decoration: underline;
}

.project-nav {
  border-top: 1px solid white;
  display: flex;
  justify-content: space-between;
  padding-top: 7.5px;
  padding-bottom: 7.5px;
  align-items: center;
}

.project-nav h2 {
  margin-bottom: 0;
}

.project-nav ul {
  display: flex;
  list-style: none;
  margin: 0 0 0 auto;
}

.project-nav li {
  margin-left: 30px;
}

.breadcrumbs {
  margin-bottom: 30px;
  padding: 7.5px;
  border: 1px solid white;
  border-radius: 3px;
}

.breadcrumbs .separator {
  display: inline-block;
  margin: 0 3.75px;
}
.breadcrumbs .separator:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "";
}

.section-nav {
  border-bottom: 1px solid white;
  padding-bottom: 7.5px;
  margin-bottom: 30px;
}

.section-nav a {
  display: inline-block;
  padding: 3.75px 7.5px;
}
.section-nav a.active {
  background-color: #c5d9f4;
  border-radius: 20px;
}

#scripto-search {
  padding-top: 7.5px;
  padding-bottom: 7.5px;
  border-top: 1px solid white;
  display: flex;
  position: absolute;
  top: -9999px;
}

#scripto-search.active {
  position: static;
}

#scripto-search input[type=text] {
  border-right: 0;
  width: 100%;
}

#scripto-search button {
  border-radius: 0 3px 3px 0;
}

.o-icon-search:before {
  font-family: "Font Awesome 5 Free";
  content: "";
  font-weight: 900;
}

/**
 * Site footer
 */
footer .wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

.site-footer {
  border-top: 1px solid #cecece;
  padding: 30px;
}

.footer-heading {
  font-size: 20.25px;
  margin-bottom: 15px;
}

.footer-col-wrapper {
  font-size: 16.875px;
  color: #cecece;
  margin-left: -15px;
}

.footer-col {
  float: left;
  margin-bottom: 15px;
  padding-left: 15px;
}

.footer-col-1 {
  width: -webkit-calc(35% - (30px / 2));
  width: calc(35% - (30px / 2));
}

.footer-col-2 {
  width: -webkit-calc(20% - (30px / 2));
  width: calc(20% - (30px / 2));
}

.footer-col-3 {
  width: -webkit-calc(45% - (30px / 2));
  width: calc(45% - (30px / 2));
}

/**
 * Page content
 */
ul.messages {
  list-style: none;
  margin-left: 0;
}

ul.messages li {
  border-radius: 3px;
  padding: 7.5px;
}

ul.messages .success {
  background-color: #cdffcd;
  border: 1px solid green;
  color: green;
}

ul.messages .error {
  background-color: #ffe6e6;
  border: 1px solid red;
  color: red;
}

.page-content {
  padding: 30px 0;
  flex: 1;
}

.page-heading {
  font-size: 36px;
}

.post-list-heading {
  font-size: 31.5px;
}

.post-list {
  margin-left: 0;
  list-style: none;
}
.post-list > li {
  margin-bottom: 30px;
}

.post-meta {
  font-size: 15.75px;
  color: #cecece;
}

.post-link {
  display: block;
  font-size: 27px;
}

.post-content .field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.post-content .field-meta {
  margin-right: 15px;
}

.post-content .required .field-meta:after {
  content: "*";
}

.filter {
  display: inline-block;
  margin: 0 30px 30px 0;
}

.filter-label {
  font-weight: bold;
}

.filter-label, .filter-value {
  padding: 7.5px;
}

.filter-value {
  background-color: color-mix(in srgb, var(--header-color, #fc0) 50%, transparent);
}

.browse-controls {
  display: flex;
  width: 100%;
}
.browse-controls nav.pagination:only-child {
  width: 100%;
  justify-content: flex-end;
}

nav.pagination {
  display: flex;
  align-items: center;
}

nav.pagination form {
  margin-right: 15px;
}

.browse-controls .pagination .button, .browse-controls .pagination .resource-list.preview + a {
  width: 30px;
  text-align: center;
  border-radius: 0;
}
.browse-controls .pagination .button:first-child, .browse-controls .pagination .resource-list.preview + a:first-child {
  border-radius: 3px 0 0 3px;
}
.browse-controls .pagination .button:not(:first-child), .browse-controls .pagination .resource-list.preview + a:not(:first-child) {
  margin-left: -1px;
}
.browse-controls .pagination .button:last-child, .browse-controls .pagination .resource-list.preview + a:last-child {
  border-radius: 0 3px 3px 0;
}

.previous.button, .resource-list.preview + a.previous {
  border-radius: 3px 0 0 3px;
  width: 30px;
  text-align: center;
}

.next.button, .resource-list.preview + a.next {
  border-radius: 0 3px 3px 0;
  margin-left: -1px;
  margin-right: 15px;
  width: 30px;
  text-align: center;
}

.inactive.button, .resource-list.preview + a.inactive {
  border-top-width: 3px;
}

.o-icon-first:before {
  content: "";
}

.o-icon-prev:before {
  content: "";
}

.o-icon-next:before {
  content: "";
}

.no-resources {
  font-size: 36px;
  line-height: 3;
  text-align: center;
  position: relative;
}
.no-resources:before {
  font-family: "Font Awesome 5 Free";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 108px;
  line-height: 1;
  z-index: -1;
}

.media .no-resources:before {
  content: "";
}

.item .no-resources:before {
  content: "";
}

/**
 * Posts
 */
.post-header {
  margin-bottom: 30px;
}

.post-title {
  font-size: 47.25px;
  letter-spacing: -1px;
  line-height: 1;
}

.post-content {
  margin-bottom: 30px;
}
.post-content h2 {
  font-size: 36px;
}
.post-content h3 {
  font-size: 29.25px;
}
.post-content h4 {
  font-size: 22.5px;
}

@media screen and (max-width: 39.9375em) {
  .site-header .wrapper > * {
    padding: 0 15px;
  }

  .site-title {
    font-size: 40px;
    line-height: 1.5;
    padding: 15px !important;
  }

  table th:not(:last-child),
table td:not(:last-child) {
    border-right: 0;
  }

  .site-nav {
    line-height: 1;
  }

  .site-nav ul {
    line-height: 1.5;
    padding: 15px;
  }
}
#skipnav {
  position: fixed;
  top: 30px;
  left: 50%;
  border: 1px solid #8e8e8e;
  transform: translateX(-50%);
  z-index: -5;
  padding: 7.5px;
  background-color: #fff;
  opacity: 0;
}
#skipnav:focus {
  z-index: 1000;
  opacity: 1;
}

.expand,
.collapse {
  display: inline-block;
}

.expand:after,
.collapse:after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.expand:after {
  content: "";
}

.collapse:after {
  content: "";
}

.collapsible {
  display: none;
}

.collapse + .collapsible {
  width: 100%;
  display: block;
  padding: 15px 30px;
  border: 1px solid #cecece;
  margin: 15px 0 30px;
}

.site-header .wrapper > h1 {
  margin: 0;
  padding: 0;
}

header ul.navigation {
  display: inline-block;
}

#search {
  display: inline-block;
  margin-left: 60px;
}
#search button {
  border-top: 1px solid #000;
  text-indent: -9999px;
  width: 37.5px;
  position: relative;
}
#search button:after {
  content: "";
  display: inline-block;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #000;
  text-indent: 0;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 3.75px;
}

#search-form {
  display: flex;
}

.breadcrumbs {
  max-width: 1200px;
  margin: 0 auto;
  border: 0;
  text-align: center;
  border-bottom: 1px solid #8e8e8e;
  padding-bottom: 15px;
  margin-bottom: 30px;
  font-size: 15.75px;
}

.site-page-pagination {
  text-align: center;
  clear: both;
}

.break.opaque {
  border-bottom: 1px solid #8e8e8e;
}

.blocks {
  max-width: 1200px;
  margin: auto;
}

.blocks h2 {
  width: 100%;
  text-align: center;
}

.page .toc-block {
  margin: 0 -15px;
}

.page .toc-block .navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.page .toc-block ul {
  list-style: none;
  margin-left: 0;
  border-left: 0;
}

.page .toc-block a {
  padding: 7.5px 0;
  display: block;
  color: #000;
}

.page .toc-block ul ul a {
  padding-left: 0;
  width: calc(100% - 30px);
}

.page .toc-block ul ul li {
  border-top: 1px solid #000;
  font-variant: normal;
  display: flex;
  flex-wrap: wrap;
}

.page .toc-block ul ul ul {
  padding-left: 26.25px;
  width: 100%;
}

.page .toc-block ul ul ul li {
  border-top-color: transparent;
  margin-top: -15px;
}

.page .toc-block ul ul ul li:before {
  content: "—";
  font-family: "Spectral SC", serif;
}

.page .toc-block > ul > li {
  border-top: 3px solid #000;
  font-variant: small-caps;
  background-color: var(--button-color, #8bb5cb);
  width: calc(50% - 30px);
  margin: 30px 15px;
  padding: 15px 30px;
}

.page .toc-block ul ul li:before {
  content: "";
  display: inline-block;
  margin-right: 15px;
  margin-top: 14px;
  font-family: "Font Awesome 5 Free";
  font-size: 10px;
  color: #000;
}

.page .item-showcase {
  border-color: #8e8e8e;
  margin: 60px 0;
  padding: 30px 0 0;
}

.page .sub-menu ul {
  margin-left: 0;
  text-align: center;
  border-bottom: 1px solid #8e8e8e;
  padding-bottom: 15px;
}
.page .sub-menu ul li {
  display: inline-block;
  margin: 0 15px;
}

.page .block-pageDateTime .property {
  border-bottom: 0;
}

.page .block-oembed {
  align-self: start;
}

.preview-block .resource-list {
  list-style: none;
  margin: 30px 0;
  border-top: 1px solid #8e8e8e;
  padding-top: 30px;
}
.preview-block .resource-list .resource {
  margin-bottom: 30px;
  border-bottom: 1px solid #8e8e8e;
  padding-bottom: 30px;
  display: flow-root;
}
.preview-block .resource-list .resource-link {
  width: 100%;
  display: inline;
}
.preview-block .resource-list .resource .resource-link img {
  margin-left: 30px;
  float: right;
  max-width: 13rem;
}
.preview-block .resource-list .resource-link {
  margin-bottom: 0;
  font-variant: small-caps;
}

.items.search .page-content .wrapper,
.item.browse .page-content .wrapper,
.index.search .page-content .wrapper,
body:not([class]) .page-content .wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.browse .resource-list {
  list-style: none;
  margin: 30px 0;
  border-top: 1px solid #8e8e8e;
  padding-top: 30px;
}
.browse .resource-list .resource {
  margin-bottom: 30px;
  border-bottom: 1px solid #8e8e8e;
  padding-bottom: 30px;
  display: flow-root;
}
.browse .resource-list .resource-link {
  width: 100%;
  display: inline;
}
.browse .resource-list .resource .resource-link img {
  margin-left: 30px;
  float: right;
  max-width: 13rem;
}
.browse .resource-list .resource-link {
  margin-bottom: 0;
  font-variant: small-caps;
}

.resource-list .resource-link img {
  width: auto;
  height: auto;
}

.browse-controls {
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: -15px;
}

.browse-controls .sorting {
  display: flex;
}
.browse-controls .sorting select {
  margin-right: 3.75px;
}

.browse-controls .pagination,
.browse-controls .advanced-search,
.browse-controls .sorting {
  margin-bottom: 15px;
}

.browse-controls .pagination form {
  margin-right: 15px;
}

.wrapper > h2:first-child {
  text-align: center;
}

.wrapper > h2:first-child + h3 {
  text-align: center;
  margin-top: -15px;
  font-variant: small-caps;
}

#content .wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.item-with-metadata .resource.show > dl:not(:first-of-type),
#content .wrapper > dl:not(:first-of-type) {
  border-top: 1px solid #8e8e8e;
  margin-top: -15px;
}

.media-list,
.property {
  display: flex;
  width: 100%;
  padding: 7.5px 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.media-list:not(:last-child),
.property:not(:last-child) {
  border-bottom: 1px solid #8e8e8e;
}
.media-list dl,
.property dl {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin: 15px 0;
}
.media-list dt,
.property dt {
  width: 30%;
  padding-right: 30px;
  margin-bottom: 0;
  font-variant: small-caps;
  overflow: hidden;
  text-overflow: ellipsis;
}
.media-list dd,
.property dd {
  width: 70%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.media-list dd:not(:last-child),
.property dd:not(:last-child) {
  margin-bottom: 15px;
}
.media-list .value-content:not(:only-child),
.property .value-content:not(:only-child) {
  margin-right: 15px;
}

.resource-link {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.resource-link img {
  width: 45px;
  height: 45px;
  margin-right: 7.5px;
}

.property .language {
  background-color: white;
  padding: 0 7.5px;
  margin-right: 7.5px;
}

.media-list {
  margin-bottom: 60px;
}

.item.show table {
  max-width: 1200px;
  margin: 30px auto;
}

.item.show h3 {
  text-align: center;
  margin: 60px auto 0;
}

#advanced-search .field .button, #advanced-search .field .resource-list.preview + a,
#advanced-search .field a.button,
#advanced-search .field button {
  border-width: 1px;
}

#advanced-search .value {
  margin-bottom: 7.5px !important;
}

#advanced-search .remove-value {
  text-indent: -9999px;
  position: relative;
  width: 45px;
  height: 45px;
  margin-left: 7.5px;
}
#advanced-search .remove-value:before {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  text-indent: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#advanced-search .removable .value:only-of-type .remove-value {
  display: none;
}

.field {
  display: flex;
  margin-bottom: 30px;
}

.field-meta {
  width: 20%;
  padding-right: 7.5px;
}

.field button {
  border-width: 1px;
  font-size: 13.5px;
  margin-left: 7.5px;
}

.field .inputs {
  width: 80%;
  padding-left: 7.5px;
}

.field .field-description {
  font-size: 15.75px;
}

.media-embeds {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.media-embeds img,
.media-embeds video,
.media-embeds audio {
  margin: 30px;
}

.media-list .resource-link {
  margin-bottom: 7.5px;
}

.linked-header {
  max-width: 1200px;
  margin: 0 auto;
}

#linked-filter {
  display: flex;
  justify-content: center;
  margin: 30px 0 0;
}

#linked-filter label {
  margin: 7.5px 15px 7.5px 0;
}

.linked-resource-property {
  margin-bottom: 15px;
  font-style: italic;
}

.results {
  margin-bottom: 60px;
  clear: both;
}

.results ul {
  list-style: none;
  margin-left: 0;
}

.results > ul {
  margin: 0 -15px;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

.results > ul > li {
  border-top: 3px solid #000;
  font-variant: small-caps;
  background-color: var(--button-color, #8bb5cb);
  width: calc(50% - 30px);
  margin: 15px;
  padding: 15px 30px;
}

.results ul ul li,
.results .result-site {
  border-top: 1px solid #000;
  font-variant: normal;
  display: flex;
}

.results ul ul li:before,
.results .result-site:before {
  content: "";
  display: inline-block;
  margin-right: 15px;
  margin-top: 14px;
  font-family: "Font Awesome 5 Free";
  font-size: 10px;
  color: #000;
}

.results ul a,
.results .result-title {
  display: inline-block;
  color: #000;
  padding: 7.5px;
}

.results .result-title a {
  padding: 0;
}

.results ul ul a {
  padding-left: 0;
}

.pagination + .results {
  margin: 30px 0 0;
  clear: both;
}

.sitewide-search-form {
  display: none;
}

.sitewide-search-form ~ .results + .pagination {
  margin-top: 0;
}

.sitewide-search-form ~ .advanced-search {
  display: block;
}

.sitewide-search-form ~ h2 {
  width: 50%;
  float: left;
}

.sitewide-search-form ~ .pagination {
  margin: 0;
  text-align: right;
  width: 50%;
  justify-content: flex-end;
  float: right;
}

.sitewide-search-form ~ p {
  clear: both;
}

.index.search .results {
  margin-bottom: 60px;
}

.index.search .results ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  margin-bottom: 0;
  columns: 2;
}
.index.search .results ul li {
  padding: 15px 0;
  border-bottom: 1px solid #000;
}
.index.search .results ul + a {
  display: block;
  margin-top: 30px;
}

.faceted-browse-page .tablesaw-bar {
  overflow: hidden;
  border-top: 1px solid #000;
}

.btn.tablesaw-nav-btn.tablesaw-btn {
  margin-bottom: 0;
}

.faceted-browse-page .browse-controls .sorting {
  width: auto;
}

.faceted-browse-page .browse-controls {
  margin-bottom: 0;
  flex-wrap: wrap;
}

.faceted-browse-page .resource-list .resource-link {
  width: 100%;
}

.field label.numeric-toggle-time.button {
  padding: 3.75px 7.5px;
}

@media screen and (max-width: 39.9375em) {
  #search {
    margin-left: 0;
    margin-bottom: 15px;
  }

  [name=fulltext_search] {
    width: calc(100% - 37.5px);
  }

  table th:not(:last-child),
table td:not(:last-child) {
    border-right: 0;
  }

  .blocks .intro {
    padding: 30px;
  }

  .home .transcribe {
    padding: calc(50% + 30px) 30px 30px;
  }
  .home .transcribe:before {
    padding: 0 100% 50% 0;
    right: 0;
    bottom: auto;
  }

  .home .item-showcase {
    flex-wrap: wrap;
  }

  .home .item-showcase .item {
    width: 100%;
    display: block;
  }

  .home .item-showcase .item .item-thumbnail {
    margin: 0;
    width: 25%;
    float: right;
    margin: 0 0 15px 15px;
  }

  .home .item-showcase .media-count {
    display: inline-block;
  }

  .toc-block > ul > li {
    width: 100%;
    margin: 0 15px 30px;
  }

  .browse-controls {
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
  }

  .browse-controls .pagination {
    margin-left: 0;
  }

  .browse-controls .sorting {
    width: auto;
  }

  .item.browse .resource-list .resource-link img {
    align-self: flex-start;
  }

  .media-list,
.property > dt,
.property dd {
    width: 100%;
    text-align: left;
  }

  .property dt {
    margin-bottom: 7.5px;
    padding-right: 15px;
  }

  .property dd {
    margin-left: 30px;
  }
  .property dd:not(:last-child) {
    margin-bottom: 7.5px;
  }

  .media-embeds img,
.media-embeds video,
.media-embeds audio {
    margin: 7.5px 0;
  }

  .sitewide-search-form ~ h2,
.sitewide-search-form ~ .pagination,
.results > ul > li {
    width: 100%;
    float: none;
    justify-content: flex-start;
  }

  .index.search .results ul {
    columns: 1;
  }
}
body {
    background-image: none !important;
    background-color: #ffffff !important;
}

.site-header {
    background-color: #a80050 !important;
    border-bottom: none !important;
}

/* Optional: If the text is hard to read on the new color, make it white */
.site-header a, .site-header .site-title {
    color: #ffffff !important;
}
/* Remove the special "button" styling from the last menu item */
/* Strip all "button" styling from navigation links */
.site-nav .trigger a, 
.site-nav .trigger a:last-child {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 15px !important;
    text-transform: none !important;
    float: none !important;
    display: inline-block !important;
    color: #ffffff !important; /* Assuming they are in the magenta banner */
}

/* Fix the container to stop the right-side justification */
.site-nav .trigger {
    display: block !important;
    text-align: left !important;
}
/* Force the navigation items to stay on the left */
.site-nav .trigger {
    display: flex !important;
    justify-content: flex-start !important;
    float: none !important;
}

.site-nav .trigger a {
    float: none !important;
    margin-left: 0 !important;
    margin-right: 20px !important; /* Adds space to the right of each item */
}
/* KILL ALL FLOATS AND CENTERING */
.site-header .wrapper, 
.site-nav, 
.site-nav .trigger {
    display: flex !important;
    float: none !important;
    text-align: left !important;
    justify-content: flex-start !important;
    width: auto !important;
    margin-left: 0 !important;
}

/* Ensure title and nav sit in one line from the left */
.site-header .wrapper {
    flex-direction: row !important;
    align-items: center !important;
    padding: 0 30px !important;
}

/* Kill the gray background bar in the nav */
.site-nav:before {
    display: none !important;
}

/* Space out the links */
.site-nav .trigger a {
    margin-right: 25px !important;
    margin-left: 0 !important;
}

/* If the search bar is in the way, push it to the right */
#search {
    margin-left: auto !important; /* This pushes search to the right, keeping nav on the left */
}
/* Stack the title on top and the nav below it */
.site-header .wrapper {
    display: flex !important;
    flex-direction: column !important; /* Forces vertical stacking */
    align-items: flex-start !important; /* Aligns both to the left */
    padding: 0 !important;
}

/* Make the title banner full width again */
.site-title {
    width: 100% !important;
    text-align: left !important;
    padding: 10px 30px !important;
    background-color: #a80050 !important; /* Your magenta */
}

/* Align the nav items to the left under the title */
.site-nav {
    width: 100% !important;
    text-align: left !important;
    padding: 10px 30px !important;
    background-color: transparent !important; /* Keeps it inside the magenta flow */
}

.site-nav .trigger {
    display: flex !important;
    justify-content: flex-start !important;
}
/* Specifically target the 'Na hÚdair' link to stop the right-side push */
.site-nav .trigger a:last-child,
.site-nav .trigger .page-link:last-child {
    margin-left: 0 !important;
    margin-right: 20px !important;
    float: none !important;
    display: inline-block !important;
    position: static !important;
}

/* Ensure the container isn't forcing space between items */
.site-nav .trigger {
    display: flex !important;
    justify-content: flex-start !important;
    gap: 0 !important;
}
/* Center the site title text and the title block */
.site-title {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Ensure the title's parent container allows centering */
.site-header .wrapper {
    align-items: center !important; /* This centers the children of the wrapper */
}

/* Keep the navigation left-aligned even though the title is centered */
.site-nav {
    width: 100% !important;
    text-align: left !important;
    padding-left: 30px !important; /* Adjust this to match your title's side padding */
}

.site-nav .trigger {
    justify-content: flex-start !important;
}
/* Hide the specific search button and its container on the browse page */
.search-form-buttons, 
#search-submit {
    display: none !important;
}

/* If there is an input field next to it that is also blue/redundant */
.browse-controls input[name="fulltext_search"], 
.browse-controls .search-form {
    display: none !important;
}


/* Update the Search Button and Reset Button to Magenta */
#search-submit, 
#facets-reset,
.facets-actions .button {
    background-color: #a80050 !important;
    color: #ffffff !important;
    border: 1px solid #80003d !important; /* Slightly darker magenta for border */
}

/* Update the Multi-Select 'Chosen' boxes (the blue selection bars) */
.chosen-container-multi .chosen-choices li.search-choice {
    background-color: #a80050 !important;
    background-image: none !important;
    color: #ffffff !important;
    border: 1px solid #80003d !important;
    box-shadow: none !important;
}

/* Update the hover state for search results links */
.search-results .resource-link:hover {
    color: #a80050 !important;
}

/* Change the 'active' view toggle (list/grid) to magenta */
.search-results-display a.active {
    color: #a80050 !important;
    font-weight: bold;
}

/* Change pagination arrows and page numbers to magenta */
.pagination-buttons .button,
.pagination-buttons a,
.pagination .next,
.pagination .previous {
    color: #a80050 !important;
    border-color: #a80050 !important;
}

/* If the arrow is a background image/SVG icon */
.o-icon-next:before,
.o-icon-prev:before,
.o-icon-first:before,
.o-icon-last:before {
    color: #a80050 !important;
}

/* Ensure the 'active' page input box matches */
.pagination input[type="text"] {
    border-color: #a80050 !important;
}

/* Hover state for arrows */
.pagination-buttons a:hover {
    background-color: #a80050 !important;
    color: #ffffff !important;
}
/* Change pagination arrows and page numbers to magenta */
.pagination-buttons .button,
.pagination-buttons a,
.pagination .next,
.pagination .previous {
    color: #a80050 !important;
    border-color: #a80050 !important;
}

/* If the arrow is a background image/SVG icon */
.o-icon-next:before,
.o-icon-prev:before,
.o-icon-first:before,
.o-icon-last:before {
    color: #a80050 !important;
}

/* Ensure the 'active' page input box matches */
.pagination input[type="text"] {
    border-color: #a80050 !important;
}

/* Hover state for arrows */
.pagination-buttons a:hover {
    background-color: #a80050 !important;
    color: #ffffff !important;
}
/* Target the specific link state for pagination arrows */
.pagination a.next, 
.pagination a.previous,
.pagination-buttons a:link,
.pagination-buttons a:visited {
    color: #a80050 !important;
    text-decoration: none !important;
}

/* Ensure the icon itself is forced to magenta */
.pagination a.next:before,
.pagination a.previous:before {
    color: #a80050 !important;
}
@media screen and (max-width: 768px) {
    /* Targets the main wrapper for the search interface */
    .search-results-wrapper, 
    #search-page {
        display: flex;
        flex-direction: column;
    }

    /* Resets the sidebar and results to full width */
    #search-facets, 
    #search-results {
        width: 100% !important;
        float: none !important;
        margin: 0 0 20px 0; /* Adds spacing between facets and items */
    }

    /* Ensures thumbnails scale to the new container width */
    .item-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
}
/* Adds a clean line and spacing between the Title and Nav */
header h1, 
.site-title {
    border-bottom: 1px solid #ffffff; /* Adjust color to match your theme */
    padding-bottom: 15px;
    margin-bottom: 15px;
    display: block;
}

/* Optional: Add a subtle background color to the Nav bar to set it apart */
header nav {
    background-color: #f9f9f9; 
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

/* 1. Inject the Tagline */
.site-title::after {
    content: "Cultúr · Teanga · Stair";
    display: block;
    font-size: 0.5em; /* Smaller than "Amárach" */
    font-weight: normal;
    font-style: normal;
    color: #ffffff;
    margin-top: 5px;
}

/* 2. Create the Demarcation Line */
.site-header h1 {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
    margin-bottom: 15px;
    width: 100%;
}

/* 3. Ensure Navigation sits below the line */
.site-nav {
    display: block;
    clear: both;
}
/* Tighten the space between Title and Tagline */
.site-header h1 {
    line-height: 1.1; /* Reduces the height of the title box */
    margin-bottom: 5px; /* Shrinks space before the underline */
}

.site-title {
    display: inline-block; /* Helps the tagline sit closer */
    margin-bottom: 0;
}

.site-title::after {
    margin-top: 0; /* Removes extra top margin from the tagline */
    line-height: 1.2;
}
/* Force all nav links to the same size */
.site-nav a, 
.site-nav .trigger > a,
.site-nav li a {
    font-size: 1rem !important; /* Adjust '1rem' to your preferred size */
    text-transform: none;      /* Prevents unexpected capitalization */
}

/* Specifically target the 'last-child' if the theme is shrinking it */
.site-nav .trigger *:last-child {
    font-size: inherit !important;
}
/* Targets the logo inside your footer */
.footer-logo img {
    width: 100%;   /* Scales it to half the width of its container */
    max-width: 250px; /* Optional: Sets a hard limit so it doesn't get too big on desktop */
    height: auto; /* Maintains the original aspect ratio */
    display: block;
    margin: 0 auto; /* Centers it if you want it aligned with the text */
}
.site-footer .wrapper {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* Space between logo and text */
}

/* Reduce vertical space in the navigation menu */
.site-nav {
    line-height: 1 !important; /* Removes the default 1.5 line height */
}

.site-nav .page-link {
    padding-top: 5px !important;    /* Default is often 10px or 20px */
    padding-bottom: 5px !important;
    margin-bottom: 0 !important;
}

/* Adjust the trigger container if it has extra height */
.site-nav .trigger {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex;
    align-items: center; /* Keeps items centered horizontally if the bar is still tall */
}

/* ==========================================================================
   FINAL PORTAL GALLERY (Normal Flow)
   ========================================================================== */

/* 1. GRID CONTAINER */
.site-page-cartlanna-chonamara-baile .site-list {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 50px !important;
    margin: 40px 0 !important;
    list-style: none !important;
    padding: 0 !important;
}

/* 2. THE IMAGE: Forcing them to be large and vertical */
.site-page-cartlanna-chonamara-baile .site-thumbnail-image {
    width: 100% !important;
    min-width: 100% !important; /* Forces the image to fill the grid cell */
    max-width: none !important;  /* Kills any theme caps */
    height: auto !important;
    aspect-ratio: 3 / 4 !important; /* Ensures a tall portrait look, no letterbox */
    object-fit: cover !important;
    border-radius: 25px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

/* 3. SITE TITLE: Balanced size */
.site-page-cartlanna-chonamara-baile .site-link {
    font-family: "Spectral SC", serif !important;
    font-size: 1.5rem !important; /* Reduced from 2.2rem to balance the layout */
    color: #a80050 !important;
    margin-top: 15px !important;
    display: block !important;
    line-height: 1.2 !important;
    text-align: center !important; /* Centers titles under the big thumbs */
}

/* 4. SUMMARY */
.site-page-cartlanna-chonamara-baile .site-summary {
    font-size: 1rem !important;
    text-align: center !important;
    margin-top: 10px !important;
}


/* 1. Reset the entire text wrapper container back to left alignment */
.list-of-sites, 
.site-list, 
.site, 
.site-text {
    text-align: left !important;
}

/* 2. Force all text elements, paragraphs, and summaries to left-align, overriding any global center rules */
.site-page-cartlanna-chonamara-baile .site-text,
.site-page-cartlanna-chonamara-baile .site-summary,
.site-page-cartlanna-chonamara-baile .site-link {
    text-align: left !important;
}

/* 3. Ensure the title links stop inheriting block-level center alignment */
.site-page-cartlanna-chonamara-baile .site-link {
    display: inline-block !important;
}

/* 4. Keep the thumbnail centered using block auto margins */
.square-thumb {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
}
