/* YaleNew: Often for headings */
@font-face{
    font-family:"YaleNew";
    src:url(/themes/yale-topnav/asset/fonts/yalenew-roman-webfont.woff) format("woff"),url(/themes/yale-topnav/asset/fonts/yalenew-roman-webfont.woff2) format("woff2");
    font-weight:normal;
    font-style:normal;
}
@font-face{
    font-family:"YaleNew";
    src:url(/themes/yale-topnav/asset/fonts/yalenew-bold-webfont.woff) format("woff"),url(/themes/yale-topnav/asset/fonts/yalenew-bold-webfont.woff2) format("woff2");
    font-weight:bold;
    font-style:normal;
}
@font-face{
    font-family:"YaleNew";
    src:url(/themes/yale-topnav/asset/fonts/yalenew-italic-webfont.woff) format("woff"),url(/themes/yale-topnav/asset/fonts/yalenew-italic-webfont.woff2) format("woff2");
    font-weight:normal;
    font-style:italic;
}
@font-face{
    font-family:"YaleNew";
    src:url(/themes/yale-topnav/asset/fonts/yalenew-bolditalic-webfont.woff) format("woff"),url(/themes/yale-topnav/asset/fonts/yalenew-bolditalic-webfont.woff2) format("woff2");
    font-weight:bold;
    font-style:italic;
}


/*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 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;
}

a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:active {
  text-decoration: underline;
}

h1 {
    font-family: YaleNew, Georgia, Times;
    font-size: 3em;
    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: .9em;
    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 { 
    padding-top: 24px;
    background-color: white;
}

div.item.resource {
     font-size: .8em;
}

div.courses {
     background-color: #EBF6FB;
     overflow-x: hidden;
     padding: 10px 20px 10px 30px;
}


/* 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%; */ /* Updated 24 April 2024 by Trip Kirkpatrick to correct positioning */
     margin-top: -16px;
     object-fit: cover;
 }

 /* Added 24 April 2024 by Trip Kirkpatrick to correct positioning and size */
@media screen {
    .banner { position:static; }
    img.banner { height: 500px; }
}

/* 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: #90a4ae;
}

p.attribution { 
     font-family: YaleNew, Georgia, Times;
     text-align: center;
     color: #90a4ae;
}

/* This styles the name attribution for a curator or quote . */
p.credit {
     font-family: YaleNew, Georgia, Times;
     font-size: 1.15em;
     text-align: center;
     color: #90a4ae;
}

div.caption {
     font-family: YaleNew, Georgia, Times;
     font-size: .9em;
     color: #999999;
     text-align: center;
     line-height: 1.5em;
}

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;
}



.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;
}

.button-link {
	display: inline-block;
	outline: none;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	font: 14px/100% Mallory-Medium, Helvetica, Arial, sans-serif;
        letter-spacing: .5px;
        text-transform: uppercase;
	padding: .5em 1.75em .55em;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.button-link:hover {
	text-decoration: none;
}
.button-link:active {
	position: relative;
	top: 1px;
}

.white {
	color: #606060;
	border: solid 1px #b7b7b7;
	background: #fff;
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ededed));
	background: -moz-linear-gradient(top,  #fff,  #ededed);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ededed');
}
.white:hover {
	background: #ededed;
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#dcdcdc));
	background: -moz-linear-gradient(top,  #fff,  #dcdcdc);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#dcdcdc');
}
.white:active {
	color: #999;
	background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#fff));
	background: -moz-linear-gradient(top,  #ededed,  #fff);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#ffffff');
}

/* 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;
}