/* Base Styles */
header {
margin-bottom: 0 ;
}

header nav ul.navigation {
justify-content: space-around;
}

#content, footer, header,  header nav ul, header nav ul .parent {
max-width: 1180px;
margin: 0 auto;
}

@media screen and (min-width: 800px) {
header nav ul.navigation>li:hover>ul:after {
max-width: 1180px;
}
}

.item.resource .caption {
line-height: 1rem;
}

/* Single Item Pages */
.item dl.media-list {
display: none;
}


footer {
display: flex;
flex-direction: column; 
align-items: center;
margin-top: 1rem;
}

footer > * {
margin: .5rem 0 0 0;
}

#content {
padding-top: 30px;
}
#content > h2, #content > .blocks > h2  {
margin-top: 0;
padding-top: 30px;
}

#content > .breadcrumbs {
margin-top: 0;
}

@media only screen and (max-width: 800px) {
#content {
padding-top: 60px;
}

#content > .breadcrumbs {
margin-top: 20px;
}

#content > h2, #content > .blocks > h2 {
padding-top: 30px;
}
}

.sub-menu ul  {
margin-top: 0;
padding-top: 15px;
}

#content .file, .item-showcase {
border: none;
padding-top: 0;
margin-top: 0;
margin-bottom: 0;
}

#content .site-page-pagination {
display: flex;
justify-content: space-between;
width: 100%;
}

.site-page-welcome #content .site-page-pagination {
justify-content: flex-end;
}

.site-page-pagination a:not(:only-child):first-child:before {
content: ' \003C';
padding-right: 6px;
}

.site-page-pagination a:not(:first-child):after {
content: ' \003E';
padding-left: 6px;
}

.site-page-pagination a {
display: block;
padding: 6px 10px;
}


@media only screen and (min-width: 800px) {
     #search {
     top: 10px;
  }
}

h3 {
line-height: 35px;
}

/* Fix image widths and display on exhibit pages */

.page .resource.item img {
width: 100% !important;
}

.item-showcase .resource.item:not(:only-child) {
width: 50%;
}

.item-showcase:has(:nth-child(4)) .resource.item {
width: 33%;
}

.center.file {
clear: both;
}

.item-showcase .resource.item:not(:only-child) img {
max-height: 100%;
}

#content .caption, #content .item-showcase {
text-align: left;
}

/* Exhibit-Specific Styles */
/* Colors */
body {
background-color: #D5C6B8;
}

#content {
background-color:  #F7F5F3;
}

header, #search {
background-color: #903927;
border: none;
}

header nav:before {
background-color:  #F7F5F3;
}

/* Typography */
body {
color: #233230;
font-family: 'Lato', sans-serif;
font-size: 18px;
line-height: 28px;
}

body header nav, footer  {
font-size: 16px;
}

/* Subnavigation menu item width */
@media screen and (min-width: 800px) {
/*
header nav ul.navigation>li:last-of-type>ul>li {
width: 20%; 
}
*/

header nav ul.navigation>li>ul>li {
width: auto !important;
} 
header nav ul.navigation>li>ul {
justify-content: space-evenly;
}

header nav ul.navigation>li>ul {
background-color: #FCF2DE;
}
}

/* Content Links */
body #content a:link, body #content a:visited {
color: #A8683C;
}

#content .site-page-pagination a {
background-color: #903927;
color: #ffffff !important;
}

/* Header Navigation Links */
header nav a:link,  header nav a:visited {
color: #ffffff;
}
@media only screen and (min-width: 800px) {
 header .parent  ul a:link, header .parent  ul a:visited {
color: #A8683C;
}
}
header nav ul .child-toggle {
color: #251B14;
}

#content > .breadcrumbs a,
#content > .breadcrumbs a:visited {
color: #7B5370;
}


/* Footer Links */
body footer a:link, body footer a:visited {
color: #A8683C;
}

/* Headings */
h1, h2, h3, h5 {
color: #903927;
}

h4 {
color: #A8683C;
}

.blockquote-h3 {
color: #A8683C;
margin-bottom: 0;
font-weight: 400;
font-size: 22px;
}

.blockquote-h4 {
color:  #251B14;
font-size: 18px;
font-weight: 400;
opacity: .75;
}

blockquote h3 strong {
font-weight: 400;
}

#content .border {
border: 1px solid #251B14;
}


#content .bg-light {
background-color: #D5C6B8;
}

button, a.button,  [type=submit] {
background-color: #D5C6B8;
}

#search form button[type=submit] {
background-color: #FCF2DE;
}

@media screen and (min-width: 800px) {
.sub-menu ul {
border-bottom: 1px solid #D5C6B8;
}
}

.boxed {
background-color: #E0EBE5;
padding: 1rem 2rem;
border: 1px solid #96B1AC;
margin-top: 2rem;
margin-bottom: 2rem;
}

.boxed2 {
background-color: #FCF2DE;
padding: 1rem 2rem 1rem;
border: 1px solid #903927;
margin-bottom: 2rem;
}

.boxed3 {
background-color: #903927;
color: #FCF2DE;
padding: 1rem 2rem 1rem;
border: 1px solid #903927;
margin-bottom: 2rem;
}

#content .item.resource img {
border: 1px solid #233230 !important;
margin-bottom: 0 !important;
}

/* Column Layout */
@media screen and (min-width: 800px) {
.columns {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}
.columns .one-third {
width: 32%;
}

.columns .two-thirds {
width: 64%;
}

.columns .half {
width: 48.5%;
}

.columns .single {
max-width: 80%;
}

.columns .carousel {
width: 39%;
}

.columns .carousel2 {
width: 58.5%;
}
}

.item-showcase .item.resource .caption {
margin-top: .25rem;
}

header nav>ul>li>ul>li.active>a:before {
display: none !important;
}

header nav>ul>li>ul>li.active>a {
margin-left: 0;
}

#content nav.sub-menu {
display: none;
}

/* Comment Module */

#comments-container {
display: none !important;
}

.comment .comment-author {
display: none !important;
}

#comments-container .comment-body {
margin: 0 !important;
padding: 0 !important;
min-height: 0 !important;
}