@font-face {
    font-family: Miller;
    src: url("../fonts/Miller-Text.otf") format("opentype");
}

@font-face {
    font-family: Miller;
    font-weight: bold;
    src: url("../fonts/Miller-TextBold.otf") format("opentype");
}

@font-face {
    font-family: Miller;
    font-style: italic;
    src: url("../fonts/Miller-TextItalic.otf") format("opentype");
}

@font-face {
    font-family: Miller;
    font-weight: bold;
    font-style: italic;
    src: url("../fonts/Miller-TextBoldItalic.otf") format("opentype");
}

@font-face {
    font-family: WindsorLC;
    src: url("../fonts/windsorbt-lightcondensed.otf") format("opentype");
}

@font-face {
    font-family: WindsorEl;
    src: url("../fonts/windsorbt-elongated.otf") format("opentype");
}

body {
    /*	background-color: #4f34d7;
        background-color: #877dcd;
        background: url(../images/background-2.png); */
    margin: 0;
    padding: 0 0 18px 0;
    text-align: center;
    font-family: "Miller", Times, serif;
    font-size: 18px;
    line-height: 25px;
    overflow: scroll;
    color:#000;
}

p, div, h1, h2, h3, h4, ul, ol, li, table, td, img {
    margin: 0; padding: 0; outline: 0; border: none;
}

h1 {
    font-family: "WindsorEl";
}

h2, h3, h4 {
    font-family: "WindsorLC";
}

ul, ol {
    list-style: none;
}
td {
    vertical-align: top;
}


a {
    font-weight: bold;
    color: #cf4997;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}


#paper {
    margin: 0 auto;
    text-align: left;
    /*	background: #ffffff url(../images/menu-left-background.png) top left repeat-y; */
    width: 1200px;
    min-height: 700px;
    padding: 0;
    position: relative;
    -moz-box-shadow: 0 3px 8px #bd0d74;
    -webkit-box-shadow: 0 3px 8px #bd0d74;
    box-shadow: 0 3px 8px #bd0d74;

}

#menu-top {
    height: 34px;
    float: right;
    background-color: #ffffff;
}
#menu-top ul {
    float: right;
    font-size: 11px;
    padding: 90px 5px 4px 12px;
    height: 18px;
}

#menu-top li {
    display: inline-block;
}
#menu-top li:before {
    content: "|";
    color: #8c5fe4;
}
#menu-top li:first-child:before {
    content: "";
}
#menu-top a {
    margin: 0 3px 0 5px;
    letter-spacing: 1px;
}

#menu-top #search-form {
    margin-right: 18px;
}
#menu-top #search-form fieldset {
    border: none;
    margin: 0; padding: 0;
}
#menu-top #query {
    border: solid 1px #bd0d74;
    color: #000;
    background-color: #f3cfe5;
    width: 180px;
    margin: 0 4px 0 0;
    padding: 1px 3px 1px 3px;
}
#menu-top #advanced-form {
    display: none;
}




#banner {
    clear: both;
    width: 70%;
    height: 90px;
    padding: 8px;
    background-color: #ffffff;
}

#logo {
    float: left;
    padding: 8px 0 0 24px;
}

img#logo {
    width: 800px;
    margin-top: -35px;
}

#banner div {
    float: right;
}
#banner div img {
    float: left;
    margin: 0 0 0 6px;
    opacity: 0.75;
    filter: alpha(opacity=75);
    -moz-border-radius: 9px;
    -webkit-border-radius: 9px;
    border-radius: 9px;
}
#banner div img:hover {
    Xopacity: 1.0;
    Xfilter: alpha(opacity=100);
}


.navbar{
    clear: both;
    overflow: hidden;
    background: #bd0d74;
}

.navbar a {
    float: left;
    color: #ffffff;
    font-size: 15px;
    height: 24px;
    text-align: center;
    padding: 2px 42px 0;
    letter-spacing: 1px;
}

.dropdown {
    float: left;
    overflow: hidden;
}

.dropdown .dropbtn {
    font-size: 15px;
    border:none;
    height: 29px;
    padding: 5px 45px 5px;
    letter-spacing: 1px;
    line-height: 18px;
    color: #ffffff;
    background-color: inherit;
    font-weight: bold;
    font-family: inherit; /* Important for vertical align on mobile phones */
    margin: 0; /* Important for vertical align on mobile phones */
}


.navbar a:hover, .dropdown:hover .dropbtn {
    text-decoration: none;
    background-color: #cf4997;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    min-width: 180px;
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    float: none;
    color: #cf4997;
    background: #fff;
    /* #a227ff url(../images/menu-background.png) top center repeat-x;*/
    padding: 5px 15px 0;
    text-decoration: none;
    text-align: left;
    display: block;
    height: 32px;
}

.dropdown-content a:hover {
    color: #fff;
}

/*
.dropdown-content a:hover {
	background-color: #c16fff;
}
*/

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

#menu-main #social {
    display: inline;
    float: right;
    padding-right: 8px;
}

#menu-main #social a {
    width: 24px;
    padding: 4px 5px 0;
}

#menu-main #social a img {
    width: 20px;
}


/*
#menu-left, .left-navigation {
	clear: both;
	font-size: 15px;
	background: #a227ff url(../images/menu-background.png) top center repeat-x;
	width: 99%;
	margin: 0;
	padding: 18px 0 12px 12px;
	font-size: 13px;
	letter-spacing: 1px;
}
#menu-left li, .left-navigation li {
	margin-bottom: 12px;
	color: #ededcb;
	display: inline-block;
}

#menu-left li ul li, .left-navigation li ul li {
	margin-bottom: 0;
	margin-left: 9px;
	font-size: 11px;
	letter-spacing: 0.5px;
}
#menu-left a, .left-navigation a {
	color: #ffffff;
}
#menu-left li ul a, .left-navigation li ul a {
	font-weight: normal;
}
#paper .left-navigation #social {
	padding-top: 18px;
}
*/



#simple-pages-breadcrumbs {
    float: right;
    width: 800px;
    heightx: 24px;
    padding: 2px 0 3px 12px;
    background-color: #f2f2f2;
    color: #181da4;
    color: #5a5ec6;
    display: none;
}


#contents {
    width: 96%;
    margin: 20px 24px;
    min-height: 750px;
}

#contents h2 {
    color: #000;
    border-bottom: solid 1px #000;
    padding: 9px 0 0px 0;
    margin-bottom: 12px;
    font-size: 180%;
    line-height: 160%;
    clear: left;
}
#contents h3 {
    color: #000;
    padding-bottom: 10px;
    font-size: 140%;
    line-height: 110%;
}
#contents p {
    padding: 0 6px 12px 0;
}

#subscribe-button {
    border-radius: 5px;
    border: 3px solid #AA03B3;
    height: 60px;
    width: 150px;
    margin: auto;
}
.col-1 {
    width: 180px;
    margin: 0 0 18px 9px;
    float: left;
}

.col-left {
    float: left;
    width: 48%;
}

.col-right {
    float: right;
    width: 48%;
}


/* home page highlight area */

#hilight {
    /*	background-color: #c5c8df;
        padding: 9px 0 18px 3px;
        margin-bottom: 6px;
        height: 166px;*/
    display:none;
}
#hilight .col-1 {
    width: 162px;
    height: 156px;
    margin: 0 0 18px 9px;
    padding: 9px;
    background-color: #ffffff;
    -moz-border-radius: 9px;
    -webkit-border-radius: 9px;
    border-radius: 9px;
}
#hilight .col-1 p {
    padding: 0; margin: 0;
}
#contents .col-1 h2 {
    margin: 0; padding: 0;
    margin-top: 3px;
    border-bottom: none;
    color: #4b39b9;
    font-size: 160%;
}
#contents .col-1 img {
    width: 162px;
}


#contents ol {
    list-style: decimal;
    padding-left: 24px;
}


.recent {
    list-style: square;
    color: #cf4997;
    padding: 0 0 18px 14px;
    margin: 3px 0 0 6px;
}
.recent li {
    margin-right: 24px;
}
.recent a {
    font-weight: normal;
}


/* item view */

#contents img.full {
    max-width: 460px;
}


/* exhibit list, used in search results and whenever a list of artifacts/exhibits are needed */

#contents .exhibit-list {
}
#contents .exhibit-list .pagination {
    clear: both;
}
#contents .exhibit-list ul.pagination {
    display: inline-block;
    width: 98%;
    text-align: right;
    padding: 2px 18px 3px 0;
    background-color: #e5e5e5;
}
#contents .exhibit-list ul.pagination li {
    display: inline-block;
    padding-left: 6px;
}
#contents .exhibit-list ul.pagination input {
    width: 24px;
    text-align: center;
    border: none;
}

/* standard item list UL */

#contents .exhibit-list ul.list {
    float: left;
    width: 48%;
    padding-right: 24px;
}

#home #contents .exhibit-list ul.list {
    float: left;
    width: 100%;
    padding-right: 24px;
}


#contents .exhibit-list ul.last {
    padding-right: 0;
}

#contents .exhibit-list .list li {
    border-top: solid 1px #e5e5e5;
    border-bottom: solid 1px #e5e5e5;
    padding: 6px 0 4px 0;
    margin: 1px 0 1px 0;
    clear: both;
    max-height: 152px;
    overflow: hidden;
}
#contents .exhibit-list .list h3 {
    padding: 2px 0 0 106px;
    font-size: 115%;
    line-height: 115%;
    padding-bottom: 2px;
}
#contents .exhibit-list .list img {
    float: left;
    width: 146px;
    padding: 3px 10px 6px 0;
    font-size: 90%;
    line-height: 130%;
}
#contents .exhibit-list .list p {
    /*	font-size: 10px;
        line-height: 13px; */
    padding: 3px 0 0px 106px;
    font-size: 90%;
}
#contents .exhibit-list .list p.item-keywords {
    font-style: italic;
    color: #181da4;
    color: #353887;
}

/* bookshelf item list UL */

#contents .exhibit-list ul.covers {
    margin: 8px 0 0 0;
    padding-bottom: 18px;
    overflow: hidden;
}
#contents .exhibit-list ul.covers li {
    display: inline-block;
    width: 143px;
    height: 220px;
    margin: 0 8px 8px 0;
    float: left;
    background-color: #efeefe;
    position: relative;
}
#contents .exhibit-list ul.covers img {
    position: absolute;
    top: 0; left: 0;
    width: 143px;
    height: 220px;
}
#contents .exhibit-list ul.covers div {
    position: absolute;
    top: 0; left: 0;
    width: 131px;
    height: 196px;
    padding: 6px 3px 18px 9px;
    font-size: 10px;
    line-height: 12px;
    letter-spacing: 0.5px;
    color: #ffffff;
    background-image: url(../images/cover-background.png);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    overflow: hidden;
    cursor: pointer;
}
#contents .exhibit-list ul.covers li:hover div {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

/* birthday pages */

div.birthday-month {
    float: left;
    width: 24%;
    padding-right:1%;
}
div.birthday-month h3 {
    border-bottom: solid 1px #33aaff;
    margin-bottom: 6px;
}
#contents div.birthday-month p {
    padding-bottom: 0;
}

.birthday-text, .birthday-links {
    /*	width: 500px; */
    padding-bottom: 9px;
}
.birthday-links span.next {
    float: right;
}


/* events page */

ul.events-yearlist {
    background-color: #ebecf9;
    font-size: 13px;
    font-weight: bold;
    overflow: hidden;
}
ul.events-yearlist li {
    float: left;
    margin: 3px 12px 3px 12px;
}

.events-list {
    background-color: #afefea;
    min-height: 320px;
    margin: 18px 0 18px 0;
    padding: 0 18px 0 36px;
    background: url(../images/event-background.png) 18px 4px no-repeat;
}
.events-list h3 {
    margin-bottom: 18px;
}
.events-list div {
//padding: 0 0 0 80px;
}
#contents .events-list p {
    padding: 0 0 6px 0;
    margin: 0;
}
.events-list span {
    float: left;
}

.events-list p.hidden {
    display: none;
}

/* item browse pages */

#contents .browse-prev-next-box {
    float: right;
    width: 226px;
    padding: 0 9px 9px 9px;
    text-align: right;
}
#contents .browse-prev-next-box span {
    float: left;
}

#contents .browse-metadata-box {
    float: right;
    width: 300px;
    background-color: #ebecf9;
    padding: 12px 12px 9px 12px;
    margin: 0 0 0 18px;
    clear: right;
}
#contents .browse-metadata-box div, #contents .browse-metadata-box p {
    padding: 0 0 9px 0;
}
#contents .browse-metadata-box img {
    max-width: 100%;
}


/* metadata callout box */

#contents .metadata-box {
    float: right;
    width: 214px;
    background-color: #ebecf9;
    padding: 3px 18px 9px 12px;
    margin: 0 0 0 18px;
}
#contents .metadata-box h2 {
    display: none;
}
#contents .metadata-box h3 {
    padding-top: 12px;
}



#outhistory-vocab-list {
    padding: 0 0 18px 0;
    width: 98%;
}

#outhistory-vocab-list td {
    padding: 0 36px 0 0;
    width: 24%;
}

#outhistory-vocab-list p {
    padding: 0;
}


/* feature exhibits */

#exhibit #exhibit-sections ul li {
    margin-top: 14px;
    font-weight: bold;
}
#exhibit #exhibit-sections ul ul li {
    margin-top: 0px;
    font-weight: normal;
}
#exhibit .exhibit-credits {
    padding: 18px 0;
}

#exhibit #nav-container {
    margin-bottom: 9px;
}
#exhibit #exhibit-banner {
    background-color: #f1ece8;
    padding: 18px 12px 0 12px;
    margin-bottom: 12px;
}
#exhibit #primary h1, #exhibit #primary h1 a {
    color: #000000;
    line-height: 38px;
    padding-bottom: 12px;
    font-size: 150%;
}

#exhibit .exhibit-page-navigation {
    clear: both;
    padding: 3px 0;
}
#exhibit .exhibit-nav-prev {
    display: inline-block;
    width: 482px;
}
#exhibit .exhibit-nav-contents {
    display: inline-block;
    vertical-align: top;
    width: 180px;
    font-size: 14px;
    text-align: center;
}
#exhibit .exhibit-nav-next {
    display: inline-block;
    vertical-align: top;
    width: 482px;
    text-align: right;
}

#exhibit .exhibit-page-contents {
    clear: both;
    padding: 9px 0;
    border-bottom: solid 1px #e5e5e5;
}

#exhibit .exhibit-page-contents ul {
    list-style: disc;
    padding-left: 24px;
}
#exhibit .exhibit-page-contents li {
    padding-bottom: 9px;
}



#exhibit .exhibit-items img.full {
    width: 100%;
    margin: 4px 0 10px 0;
}

#exhibit .exhibit-item-caption {
    font-size: 11px;
    color: #2f3087;
}
#exhibit .metadata-box {
    clear: right;
}
#exhibit .item-prev-next-box {
    width: 244px;
    float: right;
    padding: 3px 0 9px 0;
}
#exhibit .item-prev-next-box a.exhibit-next-item {
    float: right;
}

#exhibit #itemfiles img {
    max-width: 500px;
}

x.gallery-thumbnails-text-top .secondary div:nth-child(4n+1),
x.gallery-thumbnails-text-bottom .primary div:nth-child(4n+1),
x.gallery-thumbnails .primary div:nth-child(4n+1) {
    clear: left;
}

/* custom exhibit banners */
#exhibit #exhibit-banner.queer-bronzeville {
    background: #f1ece8 url(../images/exhibit-queer-bronzeville.png) no-repeat;
}



/* Quick Search results page */

.quick-search #search-filters {
    margin-bottom: 18px;
}
.quick-search #search-filters li {
    display: none;
}
.quick-search #search-filters li:first-child {
    display: block;
}

.quick-search ul.pagination {
    clear: both;
    display: inline-block;
    width: 748px;
    text-align: right;
    padding: 2px 18px 3px 0;
    background-color: #e5e5e5;
}
.quick-search ul.pagination li {
    display: inline-block;
    padding-left: 6px;
}
.quick-search ul.pagination input {
    width: 24px;
    text-align: center;
    border: none;
}

.quick-search #search-results {
    margin: 3px 0 9px 0;
}
.quick-search #search-results thead {
    display: none;
}
.quick-search #search-results td {
    padding: 0 9px 3px 0;
}

/* advanced search page */

#advanced-search-form {
    margin: 0 0 18px 0;
}

#advanced-search-form #search-keywords {
    margin: 18px 0 18px 0;
}
#advanced-search-form #keyword-search {
    width: 350px;
}
#advanced-search-form .field {
    margin-bottom: 9px;
}

#advanced-search-form div.search-entry select {
    margin: 0 6px 0 0;
}
#advanced-search-form .add_search {
    displayX: none;
}
#submit_search_advanced {
    margin-top: 9px;
}


/* contribution page */

#contribution-contributor-metadata, #contribution-item-metadata {
    border: none; padding: 0 0 18px 0;
}
#contribution-contributor-metadata legend {
    display: none;
}
#contribution-contributor-metadata label, #contribution-type-form label {
    font-weight: bold;
}
#contribution-contributor-metadata div.inputs {
    padding-bottom: 6px;
}
#contribution-item-metadata div.inputs {
    padding-bottom: 12px;
}
#contributor-name, #contributor-email {
    width: 250px;
}
#ContributorFields-1 {
    width: 650px;
}
#contribution-type-form textarea {
    width: 650px;
}
#element-41 {
    padding-top: 6px;
}
#contribution-confirm-submit {
    background-color: #efeefe;
    width: 500px;
    padding: 18px 0 18px 18px;
}
#contribution-confirm-submit p {
    padding-left: 28px;
    font-style: italic;
}
#form-submit {
    margin-top: 18px;
}

.element-set #oral-history-item-type-metadata-transcription .element-text {
    height: 200px;
    overflow: scroll;
    border: solid 1px #efefef;
}

#footer {
    clear: both;
    background: #bd0d74 url("../images/outhistory-separator-magenta.png") right no-repeat;
    color: #ffffff;
    border-top: solid 18px #ffffff;
    padding: 6px 9px 9px 9px;
    text-align: center;
    height: 40px;
}

#footer a {
    color: #ffffff;
    margin: 0 6px 0 6px;
}

#image-bar {
    float:right;
}

#image-bar img{
    width: 70%;
}

#footer p {
    text-align: left;
    padding-top: 10px;
}

.browse-metadata-box p {word-break: break-word;}

/* =========================================
   Find-on-Page (Browser-style mini find bar)
   ========================================= */

/* Visually hidden but screen-reader accessible */
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Floating find bar */
#find-on-page-bar {
    position: fixed;
    right: 12px;
    bottom: 12px;
    z-index: 9999;

    display: flex;
    align-items: center;
    gap: 8px;

    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);

    max-width: calc(100vw - 24px);
}

/* Input field */
#find-on-page-bar input[type="search"] {
    width: 260px;
    max-width: 52vw;
    padding: 6px 8px;
    font-size: 1rem;
}

/* Match counter (e.g. 3/18) */
#find-on-page-count {
    min-width: 56px;
    text-align: right;
    font-variant-numeric: tabular-nums;
    color: rgba(0, 0, 0, 0.75);
}

/* Buttons (prev / next / close) */
#find-on-page-bar button {
    padding: 6px 10px;
    line-height: 1;
    cursor: pointer;
    border-radius: 6px;
}

/* Highlighted matches */
.find-hit {
    background-color: #ffeb3b;
}

/* Active match (current result) */
.find-hit-active {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    #find-on-page-bar {
        scroll-behavior: auto;
    }
}
