/*HEADER*/

#primary-nav {
   background-color: #00356b;
}
#primary-nav a.YaleLogo { 
padding: 0 0 0 4%;
}
a.site-title img {
    max-width: 350px;
    padding-top: 4px;
}
#primary-nav .universal-nav a {
     color: #7ca2cf;
     font-size: .75em;
     padding: 8px 36px 5px 18px;
}
#primary-nav .universal-nav a:hover {
   color: #fff;
}

#content {
   padding: 0 4%;
}
@media screen and (min-width: 800px) {

header > * {
padding: 0 20% 0 4%;
}

/* NAV MENU */
header nav {
    padding: 0 4%;
    background-color: #fafafa;
    box-shadow: inset 1px 0px 5px 0px rgba(232,232,232,1);
}
header nav>ul>li>a {
    margin: 3px 10px 1px 3px;
    height: 30px;
}
header nav ul.navigation {
    margin-left: -1px;
    font-size: 0.6em;
    font-weight: 200;
    letter-spacing: .25px;
}

#search {
    left: 80%;
    border-left: 0px solid #dedede;
    padding: 45px 30px;
}
#search form button[type="submit"]::before {
color: #777;
  }
}

@media (min-width: 660px) {

img.banner {
     margin-left: -6.75%;
 }
}

ul.navigation a:link {
    color: #666;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
}
ul.navigation a:visited {
    color: #666;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
}
ul.navigation a:hover {
    color: #286dc0;
    text-decoration: underline;
    letter-spacing: 1px;
}

/* CONTENT */

td {
    padding: 0;
}

/* Site Title */

span.title { 
     font-weight: 400;
     color: #00356b;
}

#content span.title {
     color: #222;
     letter-spacing: 0;
}

body.page .blocks h2 {
color: #74858d;
}

h1 {
    font-family: YaleNew, Georgia, Times;
    font-size: 2.5em;
    letter-spacing: .5px;
}

h2  {
    color: #222222;
    font-size: 2em;
    line-height: 1;
    font-weight: normal;
    padding-top: 20px;
}

h3 {
    font-size: 1.4em;
    color: #222222;
    line-height: 1.3;
}
p { 
    font-size: 1em;
    line-height: 1.75;
    font-weight: 100;
    color: #222;
}

p.statement {
   font-size: 1.125em;
   font-family: Mallory-Light;
   line-height: 2;
}

td.story { 
     padding-right: 60px;
}
blockquote { 
     font-family: YaleNew, Georgia, Times;
     font-size: 1.4em;
     font-style: italic;
     line-height: 1.5;
     color: #999;
     padding-bottom: 20px;
}

img.header-image { 
    background-color: white;
}

div.item.resource {
     font-size: .8em;
}

/* Visual Story Image - To adjust the height, just add an HTML element, create an image source link to the item image and add a height attribute in the image tag */

img.banner { 
     width: 100vw;
     margin-left: -4.35%;
     margin-top: -16px;
     object-fit: cover;
 }

/* This styles the exhibition sponsor or department in small caps with top and bottom borders . */
p.sponsor {
     font-family: YaleNew, Georgia, Times, serif;
     font-variant: small-caps;
     font-size: 1.3em;
     letter-spacing: 3px;
     text-align: center;
     color: #444;
     border-top: 1px solid #ccc;
     border-bottom: 1px solid #ccc;
}

/* This styles the gray pull quote or highlighted text to accompany paragraphs of prose. */
p.blurb { 
     font-family: YaleNew, Georgia, Times;
     font-size: 2.25em;
     line-height: 1.4;
     text-align: center;
     color: #74858d;
}

/* This styles the name attribution for a curator or quote . */
p.credit {
     font-family: YaleNew, Georgia, Times;
     font-size: 1.25em;
     text-align: center;
     color: #74858d;
     letter-spacing: .5px;
}
iframe.timeline { 
     width: 100%
     object-fit: cover;
}
.file {
   border-top: 0;
   border-bottom: 0;
}
.media-render {
    margin-bottom: .5em;
}


.item.resource p {
    line-height: 1.5;
}

body.resource #content>h2:first-of-type+h3 {
     font-variant: small-caps;
     text-transform: lowercase;
     margin: -15px 0 30px;
}

.property h4 { 
     font-size: 18px;
     color: #78909c;
}

/* PAGINATION */

.site-page-pagination {
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
}

.site-page-pagination a:link { 
     text-decoration: none;
     font-size: .8em;
     color: #666;
}

.site-page-pagination a:visited { 
     text-decoration: none;
     font-size: .8em;
     color: #666;
}

.site-page-pagination a:hover { 
     text-decoration: underline;
     color: #286dc0
}

ul.resource-list .resource {
    padding-top: 30px;
    margin-top: -30px;
}

/* FOOTER */

footer {
    background-image: none;
    font-size: .8em;
    line-height: 1;
    color: #cccccc;
}

footer a:link { 
    color: #cccccc;
}

footer a:visited { 
    color: #cccccc !important;
}

footer a:hover {
    color: #63aaff !important;
    text-decoration: underline;
}