/*
@import url("//hello.myfonts.net/count/39ce5f");


@font-face {
  font-family: "FibraOneRegular";
  src: url('https://www.penn.museum/fonts/FibraOneRegular/font.woff2') format('woff2'), url('https://www.penn.museum/fonts/FibraOneRegular/font.woff') format('woff');
}
@font-face {
  font-family: "AvertaPE";
  src: url('https://www.penn.museum/fonts/AvertaPE/font.woff2') format('woff2'), url('https://www.penn.museum/fonts/AvertaPE/font.woff') format('woff');
}
*/


:root {
    --skyBlue: #69B3E7;
    --lightBlue: #B1D3EC;
    --violet: #587ABC;
    --darkBlue: #293A5E;
    --purple: #AF76B2;
    --darkRed: #9F2842;
    --green: #A6BE4B;
    --olive: #7A8C37;
    --gold: #FFCC4E;
    --pink: #F05B72;
    --red: #D12D33;
    --gray1: #E1E0DC;
    --gray5: #AEB2B4;
    --gray10: #78808B;
    --lightGray: #F0F0EE;
    --midGray: #E1E0DC;
    --midnightBlue: #101E3A;
}



/* COLORS */

.sky-blue {
    color: var(--skyBlue);
}

.sky-blue-bg {
    background-color: var(--skyBlue);
}

.light-blue {
    color: var(--lightBlue);
}

.light-blue-bg {
    background-color: var(--lightBlue);
}

.violet {
    color: var(--violet);
}

.violet-bg {
    background-color: var(--violet);
}

.dark-blue {
    color: var(--darkBlue);
}

.dark-blue-bg {
    background-color: var(--darkBlue);
}

.purple {
    color: var(--purple);
}

.purple-bg {
    background-color: var(--purple);
}

.dark-red {
    color: var(--darkRed);
}

.dark-red-bg {
    background-color: var(--darkRed);
}

.green {
    color: var(--green);
}

.green-bg {
    background-color: var(--green);
}

.olive {
    color: var(--olive);
}

.olive-bg {
    background-color: var(--olive);
}

.gold {
    color: var(--gold);
}

.gold-bg {
    background-color: var(--gold);
}

.pink {
    color: var(--pink);
}

.pink-bg {
    background-color: var(--pink);
}

.red {
    color: var(--red);
}

.red-bg {
    background-color: var(--red);
}

.gray1 {
    color: var(--gray1);
}

.gray1-bg {
    background-color: var(--gray1);
}

.gray5 {
    color: var(--gray5);
}

.gray5-bg {
    background-color: var(--gray5);
}

.gray10 {
    color: var(--gray10);
}

.gray10-bg {
    background-color: var(--gray10);
}

.light-gray-bg, .has-light-gray-background-color {
    background-color: var(--lightGray)!important;
}

.mid-gray-bg, .has-mid-gray-background-color {
    background-color: var(--midGray)!important;
}

.midnight-blue-bg, .has-midnight-blue-background-color {
    background-color: var(--midnightBlue);
}

.bg-black, .has-black-background-color {
    background-color: black;
}


/* ICONS */

.icon {
    width: 25px;
    height: 25px;
}

.dark .icon {
	filter: invert(1);
}

#quote-icon {
    width: 45px;
    height: 41px;
    margin-bottom: 0.75rem;
}

.breadcrumb img {
    width: 7px;
    height: 14px;
}

i.location {
    background-image: url(/img/brand/svg/location-marker-icon.svg);
    width: 16px;
    height: 23px;
    display: inline-block;
    vertical-align: top;
    margin-right: 5px;
}


/* TEXT AND TYPOGRAPHY */

body {
    font-family: AvertaPE;
}

h1, h2, h3, h4, h5 {
    margin: 0 0 1rem 0;
    padding: 0;
}

h1, h1.small {
    font-size: 36px;
    font-family: FibraOne;
    line-height: 115%;
    margin-bottom: 0;
}

h1.no-topper {
    padding-top: 6rem;
}

h2, .h2 {
    font-size: 24px;
    font-family: AvertaPE;
    line-height: 115%;
    margin-top: 2rem;
}

h3, .h3, .table-title {
    font-size: 20px;
    font-family: AvertaPE;
    line-height: 115%;
    margin-bottom: .5rem;
}

p + h3, p + .h3 {
    margin-top: 2rem;
}

h4, .h4, .accordion-title :is(h1, h2, h3, h4, h5, h6) {
    font-size: 18px;
    font-family: AvertaPE;
    line-height: 160%;
    margin-bottom: 0;
}

h4, .h4 {
    font-weight: bold;
}

.accordion-title :is(h1, h2, h3, h4, h5, h6), .card :is(h1, h2, h3, h4, h5, h6), header h4, header .h4 {
    font-weight: normal;
}


p + h4, p + .h4 {
    margin-top: 1.5rem;
}

h5, .h5 {
    font-size: 16px;
    font-family: AvertaPE;
    line-height: 160%;
    font-weight: bold;
    margin-bottom: 0;
}

h6, .h6 {
    margin-bottom: 0;
}

h6, .h6, .tab-list button, .combo-input, dt, .component-label, table th {
    font-size: 15px;
    font-family: AvertaPE;
    font-weight: bold;
    line-height: 130%;
    text-transform: uppercase;
}

@media (min-width: 576px) {    
    h1, .h1 {
        font-size: calc(30px + 45 * ((100vw - 576px)/ 864));
    }
    
    h1.small {
        font-size: calc(30px + 22 * ((100vw - 576px)/ 864));
    }
    
    h2, .h2 {
        font-size: calc(25px + 23 * ((100vw - 576px)/ 864));
    }
    
    h3, .h3, .table-title {
        font-size: calc(20px + 15 * ((100vw - 576px)/ 864));
    }
    
    h4, .h4, .accordion-title :is(h1, h2, h3, h4, h5, h6) {
        font-size: calc(18.5px + 5.5 * ((100vw - 576px)/ 864));
    }
    
    h5, .h5, .facet-title {
        font-size: calc(15px + 3 * ((100vw - 320px)/ 1120));
    }
    
    h6, .h6, .tab-list button, .combo-input, dt, .component-label, table th {
        font-size: calc(15px + 1 * ((100vw - 576px)/ 864));
    }
}

@media (min-width: 768px) {
    h1.no-topper {
        padding-top: 2rem;
    }

    h2, .h2 {
        margin-top: 2.5rem;
    }
}

@media (min-width: 1440px) {
    h1, .h1 {
        font-size: 75px;
    }
    
    h1.small {
        font-size: 52px;
    }
    
    h2, .h2 {
        font-size: 43px;
        margin-top: 3rem;
    }
    
    h3, .h3, .table-title {
        font-size: 32px;
    }
    
    h4, .h4, .accordion-title :is(h1, h2, h3, h4, h5, h6) {
        font-size: 24px;
        margin-top: 0;
    }
    
    h5, .h5, h4.facet-title {
        font-size: 18px;
    }
    
    h6, .h6, .horizontal-tabs .tabs-nav li, .combo-input, dt, .component-label, table th {
        font-size: 16px;
    }
}

.text-sm, .text-md, .text-16-lh-16, .text-lg, p, cite, ul.text-sm li, ul.text-md li,  ol.text-md li, ol.text-sm li, .is-style-text-sm, .is-style-text-md, .is-style-text-lg {
    font-family: AvertaPE;
    font-style: normal;
    line-height: 160%;
}

.text-lg, p, .is-style-text-lg {
    font-size: 14px;
}

.text-md, cite, dd p, ul.text-md li, ol.text-md li, .is-style-text-md, .table.text-md td {
    font-size: 13px;
}

.text-sm, figcaption.caption, ul.text-sm li, ol.text-sm li, .is-style-text-sm {
    font-size: 12px;
}

.text-transform-none {
    text-transform: none!important;
}

@media screen and (min-width:320px) {
    .text-lg, dd p, p, .is-style-text-lg {
        font-size: calc(14px + 4 * ((100vw - 320px)/ 1120))
    }
    
    .text-md, cite, ul.text-md li, ol.text-md li, .is-style-text-md, table.table.text-md td {
        font-size: calc(13px + 3 * ((100vw - 320px)/ 1120))
    }
    
    .text-sm, figcaption.caption, ul.text-sm li, ol.text-sm li, .is-style-text-sm {
        font-size: calc(12px + 2 * ((100vw - 576px)/ 864))
    }
}

@media screen and (min-width:1440px) {
    .text-lg, dd p, p, .is-style-text-lg {
        font-size: 18px;
    }
    
    .text-md, cite, ul.text-md li, ol.text-md li, .is-style-text-md, table.table.text-md td {
        font-size: 16px;
    }
    
    .text-sm, figcaption.caption, ul.text-sm li, ol.text-sm li, .is-style-text-sm {
        font-size: 14px;
    }
}

ul, ol {
    list-style-position: inside;
    padding-left: 1.5em;
}

.header ul.sub-menu {
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wp-nav ul.sub-menu{
    display: block;
    columns: 2;
}

.header-web__logo {
    flex: 0 0 auto;
    width: 30%;
    max-width: 350px;
    align-self: center;
}

.header-web__nav {
    width: 70%;
    gap: 27px;
}

.wp-nav ul.sub-menu .nav-link-wrapper {
    margin-bottom: 1.5rem;
}

ul.list-unstyled li, ol.list-unstyled li {
    text-indent: 0;
}

li {
    font-size: 13px;
    line-height: 160%;
    text-indent: -1.3em;
}

li:not(:last-child), li.page-item {
    margin-bottom: 0.375rem;
}

@media (min-width: 560px) {
    ul.two-column {
        columns: 2;
        -webkit-columns: 2;
        -moz-columns: 2;
    }
    
    ul.two-column li {
        padding-right: 3.333vw;
    }
    
    li {
        font-size: calc(14px + 4 * ((100vw - 320px)/ 1120));
    }
}

@media (min-width: 1440px) {
    li {
        font-size: 18px;
    }
}

.left-rail :is(h1, h2, h3, h4, h5, h6), .left-rail-wrap-below-xl :is(h1, h2, h3, h4, h5, h6)   {
    margin-bottom: 0.777rem;
    margin-top: 0;
}

blockquote.quote-pm, .intro, .is-style-intro {
    font-family: AvertaPE;
    font-weight: 300;
    font-style: normal;
    line-height: 160%;
    padding-bottom: 3.33vw;
    font-size: 16px;
    margin-bottom: 0;
}

.intro, .is-style-intro {
    font-size: 18px;
}

cite {
    display: block;
    margin-bottom: 2rem;
}

@media (min-width: 320px) {
    blockquote.quote-pm {
        font-size: calc(18px + 6 * ((100vw - 320px)/ 1120));
    }

    .intro, .is-style-intro {
        font-size: calc(16px + 6 * ((100vw - 320px)/ 1120));
    }
}

@media (min-width: 1440px) {
    blockquote.quote-pm {
        font-size: 24px;
    }

    .intro, .intro p, .is-style-intro {
        font-size: 20px;
    }
}

.table__title, .table-title {
    margin-bottom: 0.75em;
}

thead {
    border-bottom: 1px solid #bbb;
}

.table tr {
    padding: 1rem;
    vertical-align: middle;
}

.table tr:not(:last-of-type) {
    border-bottom: 1px solid #bbb
}

.table tr:not(:first-of-type) {
    padding-top: 1rem;    
}

.table td {
    border: none;
}

.table td {
    font-size: 13px;
    line-height: 160%;
    padding: inherit;
}

.table td.left {
    width: 5.875rem;
    font-weight: bold;
}

.table td.center {
    font-family: AvertaPE;
    padding-left: 3.33vw;
}

.table td.right {
    padding-left: 1.667vw;
}

.table th {
    padding: inherit;
}

.table th.center {
    padding-left: 3.33vw;
}

.table th.right {
    padding-left: 1.667vw;
}

@media (min-width: 576px) {
    .table td.left, .table td.center, .table td.right {
        font-size: calc(13px + 5 * ((100vw - 576px)/ 864));
    }
}

@media (min-width: 1440px) {
    .table td.left, .table td.center, .table td.right {
        font-size: 18px;
    }
}

.component-label {
    margin-bottom: 1.125rem;
}

.label p {
    margin-bottom: 0;
}

figcaption.caption {
    color: black;
    font-family: AvertaPE;
    font-weight: 300;
    font-style: italic;
}

dl {
    margin-top: 2rem;
}

dd {
    margin-bottom: 2rem;
}

strong {
    font-weight: bold;
}

.text-right {
    text-align: right;
}

/* LINKS AND BUTTONS */

a {
    width: fit-content;
    color: #0065ad;
    text-decoration: underline;
}

a:hover {
    background-color: var(--lightBlue);
    text-decoration: none;
}

a:visited {
    color: #9f37a4;
}

a:active {
    color: #9f37a4
}

a.no-link-style, a.no-link-style:visited {
    color: black;
    text-decoration: none;

}

a.no-link-style:hover {
    color: black;
    background-color: transparent;
}

.link-arrow {
    text-decoration: none;
}

.link-arrow span {
    vertical-align: middle;
    color: black;
    width: fit-content;
    width: -moz-fit-content;
    margin-right: 0.525rem;
    background-size: 20px 1px;
    background-position: -20px 100%, 100% 100%, 0 100%;
    background-repeat: no-repeat;
    transition: background-size .3s linear, background-position .3s linear;
}

.text-white a.link-arrow span {
    color: white;
}

.link-arrow i {
    vertical-align: middle;
    display: inline-block;
}

/*.link-arrow i::after, .link-arrow i::before {
    content: "";
    background: url(../img/brand/svg/arrow-right_icon.svg) no-repeat;
    display: block;
    position: relative;
    top: -50%;
    transform: translate(0, -50%);
    transition: all .5s cubic-bezier(.25, .25, .08, 1.08);
    background-size: contain;
    width: 10px;
    height: 10px;
}*/

.link-arrow i::before {
    transition: margin .3s;
    font-family: 'Font Awesome 6 Free';
    content: "\f061";
    font-weight: 900;
    color: var(--gray10);
    font-style: initial;
    font-size: 13px;
}

/*.link-arrow i::before {
    opacity: 0;
    transform: translate(0, 50%);
}*/

h1 a.link-arrow i::before, h1 a.link-arrow i::after, h2 a.link-arrow i::before, h2 a.link-arrow i::after, h3 a.link-arrow i::before, h3 a.link-arrow i::after {
    font-size: 25px;
}

h4 a.link-arrow i::before, h4 a.link-arrow i::after, .h4 a.link-arrow i::before, .h4 a.link-arrow i::after {
    height: 11px;
    width: 11px;
}

h5 a.link-arrow i::before, h5 a.link-arrow i::after, h6 a.link-arrow i::before, h6 a.link-arrow i::after {
    height: 10px;
    width: 10px;
}

/*.link-arrow:hover i::after {
    opacity: 0;
    transform: translate(-100%,-50%);
}*/

.link-arrow:hover i::before {
    margin-left: 10px;
}

.link-arrow:hover {
    background-color: transparent;
}

.link-arrow:hover span {
    background-image: linear-gradient(#222b40, #222b40);
    background-size: 100% 1px;
    background-position: 0 100%;
}

.btn {
    width: -moz-fit-content;
    width: fit-content;
    height: fit-content;
    height: -moz-fit-content;
    padding: 16px 18px;
    position: relative;
    display: inline-block;
    background: 0 0;
    border: none;
    font-family: AvertaPE;
    font-weight: bold;
    text-transform: uppercase;
    transition-delay: .2s;
    text-align: center;
    font-size: 13px;
    border-radius: 0;
}

.btn:hover {
    border: none;
    background-color: transparent;
}

.btn.disabled {
    opacity: 1;
    filter: grayscale(100%);
}


.btn:before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--skyBlue);
    transition: all .4s ease-in-out;
}

.btn span {
    display: inline-block;
    position: relative;
    color: black;
}

.btn:hover:before {
    height: calc(100% - 10px);
    width: calc(100% - 10px);
    top: 5px;
    left: 5px
}

.btn:focus:before {
    height: calc(100% - 12px);
    width: calc(100% - 12px);
    top: 6px;
    left: 6px
}

.btn-black:before {
    background: black;
}

.btn-black span {
    color: white;
}

.btn-black-outline:before {
    background: transparent;
    border: 1px solid black;
}

.btn-black-outline:hover span {
    color: white;
}

.btn-black-outline:hover:before {
    background: black;
    border: none;
}

input[type=submit].btn-black {
    background-color: black;
    color: white;
    border-radius: 0;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.btn-blue-outline span {
    color: white;
}

.btn-blue-outline:before {
    background: transparent;
    border: 1px solid var(--skyBlue);
}

.btn-blue-outline:hover span {
    color: black;
}

.btn-blue-outline:hover:before {
    background: var(--skyBlue);
    border: none;
}

@media screen and (min-width:562px) {
    .btn {
        font-size: calc(13px + 3 * ((100vw - 562px)/ 878));
    }
}

@media screen and (min-width:1440px) {
    .btn {
        font-size: 16px;
    }
}

a.btn-back, .breadcrumb .no-parent {
    line-height: 115%;
    text-transform: uppercase;
    background: 0 0;
    display: flex;
    gap: 17px;
    align-items: center;
    text-decoration: none;
    font-family: AvertaPE;
}

.breadcrumb .no-parent img {
    transform: rotate(180deg);
}

a.btn-back:visited {
    color: unset;
}

.breadcrumb {
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: black;
}

.dark .breadcrumb a {
    color: white;
}

.myfinds {
    border: 0;
    background-color: transparent;
    padding: 0;
    margin-top: 1em;
}


/* CTAs */

.cta :is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 0.5625em;
}

.cta p {
    margin-bottom: 1.375rem;
}

.cta p.cta__descr {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: calc(var(--bs-gutter-x) * .5);
    flex: 0 0 auto;
    width: 100%%;
    line-height: 160%;
    align-self: center;
    margin-bottom: 0;
}

@media screen and (min-width: 576px) {
    .cta .btn {
        width: 33%;

    }
    
    .cta p.cta__descr {
        width: 66%;
    }
}

@media screen and (min-width: 1120px) {
    .cta .btn {
        width: 25%;
    }
    
    .cta p.cta__descr {
        width: 75%;
    }
}

.media-cta-bg .lr-cta {
    padding: 0;
    background-color: var(--lightGray);
}

.media-cta-bg .lr-cta :is(h1, h2, h3, h4, h5, h6) {
    padding-top: 1rem;
}


.lr-cta.midnight-blue-bg {
    color: white;
}

.lr-cta {
    padding: 3rem 3.5%;;
}

.lr-cta-title {
    margin-bottom: 0.666rem;
}

.lr-cta-text {
    margin-top: 0.313rem;
    margin-bottom: 0;
}

.lr-cta .btn {
    margin-top: 0.5rem;
}

@media screen and (min-width: 768px) {
    .lr-cta, .media-cta-bg .lr-cta  {
        padding: 3rem 1.5rem;
    }

    .media-cta-bg .lr-cta {
        background-color: white;
    }

    .cta p.cta__descr {
        padding-left: calc(10px + 2.639vw);
    }
}

.cta-banner-text, .cta-banner-img {
    background-repeat: no-repeat;
    background-size: cover;
}

.cta-banner-img {
    margin-top: 4.375rem;
    padding-block: 0;
}

.cta-banner-img .main-container {
    overflow: visible;
}

.cta-banner-text.midnight-blue-bg, .cta-banner-img.midnight-blue-bg {
    background-image: url(../img/brand/banner/cta-dark-blue.png);
    background-color: var(--midnightBlue);
    color: white;
}

.cta-banner-text.midnight-blue-bg a span, .cta-banner-img.midnight-blue-bg a span{
    color: white;
}

.cta-banner-text.mid-gray-bg, .cta-banner-img.mid-gray-bg {
    background-image: url(../img/brand/banner/cta-gray.png);
    background-color: var(--midGray);
}

.cta-banner-text.light-gray-bg, .cta-banner-img.light-gray-bg {
    background-image: url(../img/brand/banner/cta-gray.png);
    background-color: var(--lightGray);
}c

.cta-banner-text .left-rail, .cta-banner-text .right-rail {
    gap: 1.063rem;
    flex-wrap: wrap;
    display: flex;
    flex-direction: column;
    padding-top: 0;
}

.cta-banner-text .left-rail h2 {
    margin-bottom: 0;
}

.cta-banner-text .left-rail {
    padding-bottom: 10px;
}

@media screen and (min-width: 768px) {
    .cta-banner-text .left-rail {
        padding-bottom: 0;
    }
}

.cta-banner-img .left-rail {
    align-self: flex-end;
    padding-top: 0;
    width: 50%;
    margin-left: 0;
}

.cta-banner-img .right-rail {
    padding: 2rem 0 6rem 0;
    align-self: center;
    display: flex;
    gap: 1.25rem;
    flex-direction: column;
}

.cta-banner-img .left-rail img {
    margin-top: -53px;
    width: 100%;
    object-fit: cover;
    vertical-align: middle;
}

.cta-mobile-img {
    display: block;
}

@media screen and (min-width: 768px) {
    .cta-banner-img .left-rail img {
        margin-top: -4.375rem;
    }
    
    .cta-banner-img .left-rail {
        width: 33.33%;
        margin-left: auto;
    }
    
    .cta-banner-img .right-rail {
        padding-block: 1.5rem;
    }
    
    .cta-mobile-img {
        display: none;
    }
}

.media-cta {
    display: flex;
    flex-direction: column;
    gap: 1.125em;
}

.media-cta > * {
    margin: 0;
}

.media-cta-bg {
    height: auto;
    background-size: cover;
    background-position: center center;
}

.media-cta-bg .main-container, .media-cta-bg .row {
    height: auto;
}

.media-cta-bg .left-rail {
    align-self: center;
}

.midnight-blue-bg .media-cta, .bg-black .media-cta {
    color: white;
}

@media (max-width: 768px) {
    .media-cta-bg {
        background-image: none!important;
        background-color: var(--lightGray);
    }
}

@media (min-width: 768px) {
    .media-cta-bg {
        height: 100vh;
    }
    
    .media-cta-bg .main-container, .media-cta-bg .row {
        height: 100%;
    }
}


/* IMAGES */

figure {
    margin-bottom: 0;
}


/* LAYOUT */

section {
    padding-block: 3rem;
}

.has-background {
    padding: 0!important;
}

.main-container {
    width: 90%;
    overflow: hidden;
    margin: auto;
}

.right-rail, .left-rail-wide, .right-rail-narrow {
    width: 100%;
    flex: 0 0 auto;
    margin-left: auto;
    margin-right: auto;
    padding-top: 1rem;
}

.left-rail.overflow {
    width: 100%;
    flex: 0 0 auto;
}

/*.row {
    gap: 2rem;
}*/

@media (min-width: 768px) {
    .main-container {
        width: 78%;
        margin: auto;
    }
    
    .left-rail, .left-rail.overflow, .right-rail-narrow {
        width: 41.67%;
        padding-top: 0;
    }
    
    .right-rail, .left-rail-wide {
        width: 58.33%;
        padding-top: 0;
    }

    section {
        padding-block: 6rem;
    }

    .row {
        gap: 0;
    }

    .row.g-2 > * {
        padding-bottom: calc(var(--bs-gutter-x) * .5); 
        padding-top:  calc(var(--bs-gutter-x) * .5);
    }
}

@media (min-width: 992px) {
    .main-container {
        width: 78%;
        margin: auto;
    }
    
    .left-rail, .left-rail.overflow, .right-rail-narrow {
        width: 33.33%;
        padding-top: 0;
    }
    
    .right-rail, .left-rail-wide {
        width: 66.67%;
        padding-top: 0;
    }
}

@media (min-width: 1200px) {
    .left-rail-wrap-below-xl {
        width: 33.33%;
    }
    
    .right-rail-wrap-below-xl {
        width: 66.67%;
    }
}


/* TOPPERS */

.default-topper .main-container, .event-topper .main-container {
    overflow: visible;
    width: 90%;
}

.topper-info {
    row-gap: 1rem;
    justify-content: space-between;
}

.topper-subtitle {
    margin-top: 0;
}

.info-text {
    flex: 0 0 auto;
    width: 100%;
    padding-right: 0;
    gap: 1em;
}

.info-cta {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.375rem;
}

.tagline {
    width: 100%;
}

.default-topper .cta-heading, .event-topper .cta-heading {
    margin-bottom: 0;
    width: 100%;
    margin-top: 1.063rem;
    text-transform: uppercase;
    font-family: AvertaPE;
    font-weight: bold;
}

.default-topper .hero-img, .event-topper .hero-img {
    transform: translateY(3rem);
    margin-bottom: 2rem;
}

.default-topper .hero-img img, .event-topper .hero-img img {
    margin-top: -1.5rem;
}

.topper-offset {
    margin-top: 6rem;
}

.topper-offset .left-rail {
    padding-top: 0;
}

.image-bg {
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    background-color: black;
    background-position: center;
}

.image-bg::before {
    content: "";
    background: rgba(0,0,0,.8);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gallery-topper {
    padding: 0;
    position: relative;
    width: 90%;
    margin: auto;
}

.gallery-topper .main-container{
    width: 100%;
}

.gallery-details, .program-details {
    display: flex;
    flex-wrap: nowrap;
    width: fit-content;
    gap: 10px;
    width: 100%;
}

.vertical-separator {
    margin: 0;
}

.gallery-topper .info-text {
    gap: 1rem;
    z-index: 2;
    margin-top: -40%;
    padding-bottom: 4vw;
}

.gallery-topper .hero-img {
    z-index: 1;
    order: -1;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 49.48%, #000 89.06%, #000 100%);
    display: block;
    cursor: unset;
}

.gallery-topper .overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, #000 89.06%, #000 100%);
}

.header-web, .dark .header-web {
    border: none;
}

.image-bg.dark .header, .image-bg.dark .header-web {
    background: transparent;
}

@media (min-width: 768px) {
    .default-topper .main-container, .event-topper .main-container {
        width: 78%;
    }
    
    .gallery-topper {
        width: 100%;
    }
    
    .gallery-topper .main-container {
        width: 78%;
    }
    
    .gallery-topper .thirds.main-container {
        padding-right: 3.33vw;
        padding-left: 11vw;
        width: 100%;
    }
    
    .gallery-topper .info-text {
        width: 50%;
        margin-top: 0;
        padding-bottom: 0;
    }
    
    .gallery-topper .thirds .info-text {
        width: 33%;
        margin-top: 0;
        padding-bottom: 0;
    }
    
    .gallery-topper .hero-img {
        width: 50%;
        order: 1;
    }
    
    .gallery-topper .thirds .hero-img {
        width: 67%;
        order: 1;
    }
    
    .overlay {
        display: none;
    }

    .default-topper .hero-img, .event-topper .hero-img {
        transform: translateY(3rem);
        padding-bottom: 0rem;
    }

}

@media (max-width: 768px) {
    .image-bg {
        background-image: none!important;
    }
}

@media (min-width: 992px) {
    .topper-info {
        row-gap: 0;
    }
    
    .info-text {
        width: 75%;
        padding-right: 1.667vw;
    }
    
    .info-cta {
        width: 25%;
        justify-content: flex-end;
        flex-shrink: 0;
        gap: 0;
    }
    
    .default-topper .tagline {
        width: 67%;
    }
    
    .default-topper .cta-heading {
        margin-bottom: 1.25rem;
        margin-top: 0;
    }
}


/* NAVIGATION */

#skiptocontent a {
    padding: 6px;
    position: absolute;
    top: -150px;
    left: 0px;
    color: white;
    border-right: 1px solid white;
    border-bottom: 1px solid white;
    border-bottom-right-radius: 8px;
    background: #BF1722;
    -webkit-transition: top 1s ease-out;
    transition: top 1s ease-out;
    z-index: 100;
}

#skiptocontent a:focus {
    position: absolute;
    left: 0px;
    top: 0px;
    outline-color: transparent;
    transition: top .1s ease-in;
    -webkit-transition: top .1s ease-in;
}

div.header-web-wrapper {
    justify-content: space-between;
}

div.header-web__logo a:hover {
    background-color: transparent;
}

ul.table-nav {
    flex-direction: row;
}

li.table-nav__item, li.mobile-nav__item {
    width: unset;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 16px;
    text-indent: 0;
}

.parent-menu {
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: block;
}

.parent-menu__wrapper{
    justify-content: space-between;
}

.parent-menu__logo {
    width: 50%;
}

.parent-menu__nav {
    display: none;
}

ul.parent-menu__nav-list li{
    text-indent: 0;
}

.parent-menu__nav-list li a {
    font-family: FibraOne;
}

.header {
    width: 100%;
    padding: 0 3.333vw;
    position: relative;
}

.light .header {
    background: white;
}

.dark .header {
    background: black;
}

.microsite_nav {
    min-height: 4rem;
}

.header-web__nav .btn-black-outline, .header-web__nav .btn-blue-outline {
    margin-left: 37px;
}

.opening-hours {
    display: flex;
    gap: 10px;
    align-items: center;
    width: fit-content;
}

.header-web__nav .top__search {
    width: fit-content;
    margin-left: 25px;
}

.btn-menu, .btn-nav, .btn-search {
    background: 0 0;
    border: none;
    padding: 0;
    width: fit-content;
    min-width: 28px;
}

.close-molile-menu:focus-visible{
   outline-offset: 30px;
}


input[type=text].input-web-search, input[type=text]#s {
    border: none;
    padding: 0 0 0 6.528vw;
}

.header-mobile__search.show-search-mobile form .input-wrapper input {
    font-family: AvertaPE;
}

.btn-nav {
    font-family: FibraOne;
    font-weight: bold;
}

.table-nav__item.active .btn-nav:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 6.5px 0 6.5px;
    border-color: #78808b transparent transparent transparent;
    left: calc(50% - 6.5px);
    top: calc(100% + 1.1rem);
    z-index: 111;
}

.btn-nav:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 7px 7px 7px;
    border-color: transparent transparent #78808b transparent;
    left: calc(50% - 7px);
    top: 0;
    transition: .5s;
    opacity: 0;
}

.header-web__nav .table-nav__item:hover .btn-nav:after {
    opacity: 1;
    top: calc(100% + 0.6rem);
}

.header-mobile.row {
    gap: 0;
}

.header-mobile__actions {
    color: white;
    flex: 0 0 auto;
    width: 50%;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.header .vertical-separator {
    margin: 0;
}

.header-web .top-level-item-descr {
    padding-left: calc(var(--bs-gutter-x) * .5);
    padding-right: 2.5005vw;
    width: 33.33333333%;
}

.top-level-item-descr .btn {
    margin-top: 1.375em;
}

.header-mobile .top-level-item-descr {
    margin-top: 22px;
    margin-bottom: 18px;
}

.navigation__subtitle {
    font-family: AvertaPE;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 115%;
    text-transform: uppercase;
    margin-top: 0;
}

@media (min-width: 768px) {
    .navigation__subtitle {
        font-size: 14px;
    }

    .parent-menu {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .parent-menu__logo {
        width: 16.66666667%;
    }

    .parent-menu__nav {
        width: 83.33333333%;
        display: flex;
    }
}

.nav-link-wrapper a {
    text-decoration: none;
    width: fit-content;
    font-family: AvertaPE;
    font-weight: bold;
    color: black;
    background-size: 20px 1px;
    background-position: -20px 100%, 100% 100%, 0 100%;
    background-repeat: no-repeat;
    transition: background-size .3s linear, background-position .3s linear;
}

.nav-link-wrapper a:hover, .nav-link-wrapper a:focus {
    background-image: linear-gradient(#222b40,#222b40);
    background-size: 100% 1px;
    background-position: 0 100%;
    background-color: transparent;
}

.mobile-nav__item {
    margin-bottom: 0;
    border-bottom: 1px solid #bbb;
}

.mobile-nav__link {
    width: 100%;
    padding-block: 18px;
    text-decoration: none;
    font-family: AvertaPE;
    font-weight: bold;
    font-size: 16px;
    line-height: 143%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.mobile-nav__link.top-level {
    text-transform: uppercase;
    font-family: FibraOne;
    font-weight: bold;
}

.mobile-nav__link:hover, a.btn-nav:hover {
    background-color: transparent;
}

.mobile-nav__link:visited {
    color: black;
}

.header ul {
    list-style-type: none;
    gap: 2.3%;
    width: 100%;
    justify-content: flex-end;
}

.page__mobile ul {
    background: #f0f0ee;
    height: 100vh;
    width: 100%;
}

.mobile-nav__list {
    padding: 50px 30px 10px 30px;
    transition: transform .3s;
}

.mobile-nav__list--drop {
    position: absolute;
    left: 100%;
    top: 0;
}

.mobile-nav__link--go-back {
    padding-left: 0;
    border: none;
    justify-content: flex-start;
    font-family: FibraOne;
    font-weight: bold;
}

.header-web__nav .table-nav__drop-inner-wrapper .left {
    max-width: 100%;
    padding-right: 1em;
    margin-top: var(--bs-gutter-y);
    flex: 0 0 auto;
    width: 70.83333333%;
}

.table-nav__drop-inner-wrapper .right .mod-custom {
    height: 100%;
}

/* CARDS */

.label {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 0.625rem;
    margin-bottom: 0.438rem;
    flex-wrap: wrap;
}

div.cards {
    grid-row-gap: 3rem;
}

.card {
    border: none;
    background-color: initial;
}

@media (min-width: 576px) {
    .two-up-symmetric .card {
        width: 50%;
    }
}

.card img {
    margin-bottom: 1.188rem;
    height: auto;
    width: 100%;
    object-fit: cover;
}

.card img.cover-right, .card img.cover-left, .card img.cover-center {
    padding: 0;
}

.card-body {
    padding: 0 3.333vw 0 0;
}

.three-up, .four-up, .five-up {
    row-gap: 4.75rem;
}

.three-up .card .card-body, .four-up .card .card-body, .five-up .card .card-body {
    padding-right: 1.667vw;
}

.three-up .card .card-body p, .four-up .card .card-body p, .five-up .card .card-body p {
    margin-bottom: 0.75rem;
}

.three-up .card .card-body .label p, .four-up .card .card-body .label p, .five-up .card .card-body .label p {
    margin-bottom: 0;
}

.label p {
    width: fit-content;
}

.label p:first-child {
    text-transform: uppercase;
}

.vertical-separator {
    background: var(--gray10);
    height: 28px;
    width: 1px;
}

.card :is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 0.625rem;
    margin-top: 0;
}

a.link-img {
    width: 100%;
}

a.link-img:hover {
    background: none;
}

.two-up-asymmetric .card:nth-child(odd) img {
    margin-bottom: 1.25rem;
}


@media (min-width: 576px) {
    .two-up-asymmetric .card:nth-child(odd) {
        width: 38.75%;
    }
    
    .two-up-asymmetric .card:nth-child(even) {
        width: 54.25%;
    }
    
    .two-up-asymmetric .card:nth-child(odd) h2, .three-up .card :is(h1, h2, h3, h4, h5, h6), .four-up .card :is(h1, h2, h3, h4, h5, h6), .five-up .card :is(h1, h2, h3, h4, h5, h6) {
        font-size: calc(18.5px + 5.5 * ((100vw - 576px)/ 864));
    }

    .card img.cover-right {
        padding-right: 33%;
    }

    .card img.cover-left {
        padding-left: 33%;
    }
}

@media (min-width: 768px) {
    .three-up .card, .four-up .card, .five-up .card {
        width: 50%;
    }
    
    .two-up-asymmetric .card:nth-child(odd) {
        width: 41.67%;
    }
    
    .two-up-asymmetric .card:nth-child(even) {
        width: 58.33%;
    }
}

@media (min-width: 992px) {
    .three-up .card {
        width: 33%;
    }
    
    .four-up .card {
        width: 25%;
    }

    .five-up .card {
        width: 20%;
    }
    
    .two-up-asymmetric .card:nth-child(odd) {
        width: 33.33%;
    }
    
    .two-up-asymmetric .card:nth-child(even) {
        width: 66.67%;
    }
}

@media (min-width: 1440px) {
    .two-up-asymmetric .card:nth-child(odd) h2, .three-up .card :is(h1, h2, h3, h4, h5, h6), .four-up .card :is(h1, h2, h3, h4, h5, h6), .left-rail .card :is(h1, h2, h3, h4, h5, h6) {
        font-size: 24px;
    }
}

.two-up-asymmetric .card:nth-child(even) img {
   margin-bottom: 1.5rem;
}

.two-up-asymmetric .label {
    margin-bottom: 0.625rem;
}


/* TABS */

.vertical-tabs :is(h1, h2, h3, h4, h5, h6) {
    width: 100%;
    margin-bottom: 1.25em;
}

.horizontal-tabs .tab-list {
    list-style: none;
    display: flex;
    padding-bottom: 20px;
    overflow-x: auto;
    overflow-y: hidden;
}

.vertical-tabs .tab-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-block: 1.5rem;
    padding-right: 0;
    border-right: 5px solid #b7b7b7;
    height: fit-content;
}

.vertical-tabs .tab-list button {
    background: 0 0;
    display: block;
    border: none;
    padding: 6px 8px;
    transition: .3s all ease;
    text-align: left;
    line-height: 130%;
    color: var(--gray10);
    font-size: 18px;
}

.vertical-tabs .tab-list button.active {
    background: var(--midGray);
    color: black;
}

.vertical-tabs .tab-list button:hover {
    border-right: 5px solid #b7b7b7;
    color: black;
}

.horizontal-tabs .tab-list button {
    padding-bottom: 1.063rem;
    padding-right: 1.667vw;
    border: 0;
    background: 0 0;
    border-bottom: 3px solid #78808b;
    margin: 0;
}

.horizontal-tabs .tab-list button a {
    text-decoration: none;
    color: #78808b;
    position: relative;
    display: block;
    width: max-content;
}

.midnight-blue-bg .horizontal-tabs .tab-list button a {
    color: var(--gray5);
}

.horizontal-tabs .tab-list button a:visited {
    color: #78808b;
}

.horizontal-tabs .tab-list button.active a {
    color: black;
}

.midnight-blue-bg .horizontal-tabs .tab-list button.active a {
    color: white;
}

.horizontal-tabs .tab-list button a:hover {
    background-color: transparent;
    color: black;
}

.midnight-blue-bg .horizontal-tabs .tab-list button a:hover {
    color: white;
}

.horizontal-tabs .tab-list .clickable.active a:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 7px 0 7px;
    border-color: #78808b transparent transparent transparent;
    bottom: calc(-1.063rem - 9px);
    left: calc(50% - 7px);
}

.horizontal-tabs .tab-list .filler {
    flex: 1;
    padding-bottom: 1.063rem;
    border-bottom: 3px solid #78808b;
}

.horizontal-tabs .tab-panels {
    padding-top: 0;
}

.vertical-tabs .tab-panels {
    width: 100%;
    height: 100%;
}

.vertical-tabs .tab-panels .tab-panel {
    padding-left: 0;
    opacity: 0;
    display: none;
    transition: 2s all cubic-bezier(.075,.82,.165,1);
}

.vertical-tabs .tab-panels .tab-panel.active {
    transition-delay: 2s;
    opacity: 1;
    display: block;
    height: 100%;
}

.vertical-tabs .tab-panels .tab-panel .row {
    padding-top: 1.5rem;
}

.vertical-tabs .tab-panels .tab-panel .tab-text {
    padding-right: 0;
    padding-left: calc(var(--bs-gutter-x) * .5);
    width: 100%;
}

.vertical-tabs .tab-panels .tab-panel .tab-text :is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 0.5em;
    width: 100%;
}

.vertical-tabs .tab-panels .tab-panel .tab-img {
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    padding-top: 3rem;
}


.horizontal-tabs .tab-content .left-rail, .horizontal-tabs .tab-content .right-rail {
    width: 100%;
}

@media (min-width: 768px) {
   .horizontal-tabs .tab-panel {
        padding-top: 3.8rem;
    }
    
    .vertical-tabs .tab-list {
        width: 33%;
        border-right: 1px solid #b7b7b7;
    }
    
    .vertical-tabs .tab-list button {
        padding: 13px 15px;
    }
    
    .vertical-tabs .tab-panels {
        width: 67%;
    }
}

@media (min-width: 1200px) {
    .vertical-tabs :is(h1, h2, h3, h4, h5, h6) {
        width: 58.33%;
    }
    
    .vertical-tabs .tab-list {
        width: 25%;
    }
    
    .vertical-tabs .tab-panels {
        width: 75%;
    }
    
    .vertical-tabs .tab-panels .tab-panel .tab-img {
        width: 50%;
        padding-top: 0;
    }
    
    .vertical-tabs .tab-panels .tab-panel .tab-text {
        width: 50%;
        padding-right: 3.333vw;
        padding-left: 3.333vw;
        
    }

    
}

.tab-panel {
    display: block;
    position: relative;
}

.horizontal-tabs .tab-list::-webkit-scrollbar {
    width: 0;
    background: rgba(255, 255, 255, 0)
}

.vertical-tabs.nested-tabs .tab-list button {
    border: 0;
}

.vertical-tabs.nested-tabs .tab-panel {
    padding-top: 0;
}

/*
:target {
    display: block !important;
}

.tab-panel:not(:target){
    display: none;
}
*/


/* ACCORDION */

.accordion-media {
    width: 100%;
    margin-bottom: 20px;
}

.accordion-media img, .accordion-media .swiffy-slider {
    display: none;
}

.accordion-media .swiffy-slider.accordion-active {
    display: block;
}

.accordion-media .accordion-active, .accordion-media .accordion-active .slide img {
    display: block;
    animation: scale-display .4s;
}

.accordion-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}

.accordion-item {
    border-radius: 0!important;
    border-style: solid;
    border-color: #bbb;
    border-width: 0 0 1px 0;
    background-color: transparent;
}

.accordion-title {
    display: flex;
    align-items: stretch;
    gap: 12px;
    transition: 1s ease-in;
    padding-bottom: 0.438rem;
    background-color: transparent;
    border: none;
    padding-left: 0;
    width: 100%;
    text-align: left;
    color: black;
}

.accordion-arrow-item img {
    width: 9px;
}

.accordion-title :is(h1, h2, h3, h4, h5, h6) {
    margin: 0;
}

.text-white .accordion-item .accordion-title, .text-white .accordion-item .accordion-content {
    color: white;
}

.accordion-item .accordion-title .accordion-arrow, .select-arrow {
    display: inline-block;
    transition: all .2s ease-out;
    align-self: center;
}

.accordion-item .accordion-rotate {
    transform: rotate(90deg);
}

.accordion-item .accordion-content {
    padding-bottom: 0.938rem;
    padding-left: 22px;
    display: none;
}

@media (min-width: 768px) {
    .accordion-text {
        width: 41.67%;
    }
    
    .accordion-text.wide {
        width: 67%;
    }
    
    .accordion-media {
        width: 58.33%;
        margin-bottom: 0;
    }
    
    .accordion-media.narrow {
        width: 33%;
        margin-bottom: 0;
    }
}

@keyframes scale-display {
    0% {
        opacity: 0;
        transform: scale(.8);
        -webkit-transform: scale(.8)
    }
    100% {
        opacity: 1;
        transform: scale(1);
        -webkit-transform: scale(1)
    }
}


/* FOOTER */

.footer {
    padding-block: 6rem 3rem;
    padding-left: 3.5%;
    padding-right: 3.5%;
}

.footer a {
    text-decoration: none;
    color: white;
}

.footer a:visited {
    color: white;
}

.footer a:hover {
    background-color: transparent;
}

.footer a span {
    background-size: 20px 1px;
    background-position: -20px 100%, 100% 100%, 0 100%;
    background-repeat: no-repeat;
    transition: background-size .3s linear, background-position .3s linear
}

.footer a span:hover {
    background-image: linear-gradient(#fff, #fff);
    background-size: 100% 1px;
    background-position: 0 100%
}

.footer a span:focus {
    background-image: linear-gradient(#fff, #fff);
    background-size: 100% 2px;
    background-position: 0 100%
}


.footer .main-container {
    overflow: visible;
}

.footer .contact-area {
    padding: 0 0.8335vw;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.footer .footer-logo-container {
    width: 100%;
    border-bottom: 1px solid rgba(187,187,187,.6);
    padding-bottom: 1.813rem;
}

.footer .logo {
    margin-bottom: 2rem;
}

.footer .logo-link {
    display: block;
    width: 58.33%;
}

.footer .socials-container {
    margin-bottom: 2.75rem;
    display: flex;
    justify-content: flex-start;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.land-acknowledgement {
    border-bottom: 1px solid rgba(187, 187, 187, .6);
    padding-bottom: 1.813rem;
}

.newsletter-area {
    padding-top: 2.125rem;
    display: flex;
    justify-content: space-between;
    column-gap: 0.625rem;
    row-gap: 1.5rem;
}

.footer .links-area {
    width: 100%;
    padding: 0 0.8335vw;
    order: -1;
    display: flex;
    flex-direction: column;
    gap: 1.563rem;
}

.footer .links-area .museum-links {
    justify-content: space-between;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(187,187,187,.6);
    flex-direction: column;
    margin-bottom: 2.813rem;
}

.footer .links-area .museum-links .site-links {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    row-gap: 2.5rem;
    padding-bottom: 2.5rem;
    margin-bottom: 1.813rem;
    border-bottom: 1px solid rgba(187,187,187,.6);
    width: 100%;
    font-size: 13px;
    font-family: FibraOne;
    font-weight: bold;
}

.footer .links-area .museum-links .acknowledgement-newsletter {
    width: 100%;
}

.footer .penn-links {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-auto-rows: min-content;
    gap: 0.5rem;
    padding-top: 1.813rem;
}

.footer .penn-links a:first-child {
    order: 5;
    grid-column: 1/-1;
}

@media (min-width: 576px) {
    .footer .contact-area, .footer .footer-logo-container {
        width: 33%;
    }
    
    .footer .logo-link {
        width: 100%;
    }
    
    .footer .socials-container {
        gap: 0.625rem;
        justify-content: space-between;
        margin-bottom: 0;
    }
    
    .footer .links-area {
        width: 62.5%;
        order: 0;
    }
    
    .footer .penn-links {
        width: 62.5%;
        display: flex;
        gap: 1.25rem;
        flex-wrap: wrap;
        margin-top: 1rem;
        padding-top: 0;
    }
    
    .footer .links-area .museum-links {
        margin-bottom: 0;
    }
    
    .footer .links-area .museum-links .site-links {
        display: flex;
        gap: 0.625rem;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
        margin-bottom: 1.667vw;
        border-bottom: 0;
    }
    
    .footer .footer-logo-container {
        border-bottom: 0;
        padding-bottom: 0;
    }
}

@media (min-width: 768px) {
    .footer {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 904px) {
    .footer .links-area .museum-links {
        flex-direction: row;
    }
    
    .footer .links-area .museum-links .site-links {
        width: 25%;
        gap: 1.75rem;
        font-size: 14px;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    
    .footer .links-area .museum-links .acknowledgement-newsletter {
        width: 70.83%;
    }
}

@media (min-width: 992px) {
    .footer .contact-area, .footer .footer-logo-container {
        width: 25%;
    }
    
    .footer .links-area, .footer .penn-links {
        width: 70.83%;
    }
    
    .footer .links-area .museum-links .site-links{
        flex-direction: column;
    }
}


/* CAROUSEL */

.swiffy-slider {
    --swiffy-slider-track-height: 5px;
}

.slider-header {
    margin-bottom: 1.063rem;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.slider-buttons {
    display: flex;
    align-items: center;
    gap: 0.688rem;
}

.slider-nav {
    all: unset;
    padding: 1.125rem;
}

.slider-nav:hover {
    outline: 2px solid var(--gray10);
    outline-offset: -2px;
}

.slider-nav:focus {
    outline: 2px solid var(--gray10);
    outline-offset: -2px;
}

.slide {
    height: 100%;
    aspect-ratio: 1 / 1;
}

@media (min-width: 576px) {
    .slider-container {
        --swiffy-slider-item-width: 65%;
        --swiffy-slider-item-gap: 1.667vw;
        padding-bottom: 10px;
        aspect-ratio: auto;
    }

    .slider-container .slide-visible {
        aspect-ratio: auto;
    }

    .slide-description {
        width: 70%;
    }

    .slide {
        aspect-ratio: 8 / 5;
    }
}

.slide-wrapper {
    position: relative;
    height: 100%;
}

.slide-wrapper .overlay {
    display: block;
    opacity: .9;
}

.slide-description {
    position: absolute;
    left: 3.333vw;
    bottom: 3.333vw;
    width: calc(100% - 5vw);
    color: #fff;
    z-index: 11111;
}

.slide-description is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 1.25rem;
}

.slide-description a span {
    color: white;
}

.slide-description p {
    margin-bottom: 0;
}

.slide img {
    height: 100%;
    object-fit: cover;
}

.slider-container .slide-visible{
    text-indent: 0;
}


/* VIDOES */

.full-width-video {
    height: 90vh;
    position: relative;
    background-color: black;
}

.full-width-video .main-container {
    position: absolute;
    margin-left: 11%;
    margin-right: 11%;
    bottom: 6rem;
    z-index: 555;
    color: white;
    width: auto;
}

.btn-play .icon{
    z-index: 1;
    width: 32px;
    height: 32px;
}

.btn-play {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.full-width-video .right-rail {
    padding-top: 0;
}

.video-wrapper {
    aspect-ratio: 16/9;
    position: relative;
}

.full-width-video .video-wrapper {
    aspect-ratio: unset;
}

.overlay-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border: 0;
    background: transparent;
    width: 100%;
    height: 100%;
}

.overlay-icon .icon {
    width: 75px;
    height: 75px;
}

#player.playing + button {
    visibility: hidden;
}

#player.playing:hover + button, #player.playing + button:hover {
    visibility: visible;  
}


/* CALENDAR */

.event-topper {
    background: linear-gradient(180deg,rgba(225,224,220,0) 0,#e1e0dc 100%);
}

.event-cards {
    row-gap: 1.875rem;
}

.event-cards .card {
    width: 100%;
    padding: 0 calc(var(--bs-gutter-x) * .5);
    display: flex;
    flex-direction: column;
}

.event-cards .card > img {
    margin-bottom: 0;
    aspect-ratio: 8 / 5;
}

.event-cards .card .card-body {
    background-color: white;
    padding: 19px 24px 18px 24px;
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    border: 1px solid #b7b7b7;
    border-radius: 0;
}

.event-cards .card .card-body hgroup {
    padding-bottom: 0.8125em;
}

.event-cards .card .card-body .label *:first-child, .label span.mod_events_latest_date{
    text-transform: none;
}

.event-cards .card .card-body .label {
    padding-bottom: 2.375rem;
}

.event-cards .card .card-body .label .vertical-separator {
    margin: 0;
}

.event-cards .card .card-body .event-tags {
    margin-top: auto;
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
}

.event-tags .tag {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin-right: 1rem;
}

.event-tags svg {
    width: 16px;
    margin: 0;
    transform: rotate(90deg);
    color: var(--gray10);
}

.event-topper-info {
    justify-content: space-between;
}

.event-topper-info .info-text {
    gap: 1rem;
}

.event-cta {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.event-secondary-cta {
    margin-left: 1rem;
    margin-top: 0;
}

.styled-filter {
    position: relative;
    width: 100%;
}

#filters {
    display: none;
}

@media (min-width: 576px) {
    .styled-filter {
        width: 47%;
    }
}

@media (min-width: 768px) {
    .event-cards .card {
        width: 50%;
    }
}

@media (min-width: 992px) {
    .event-cards .card {
        width: 33.33%;
    }
    
    .event-cta {
        flex-direction: column;
        gap: 1.375rem;
        width: 25%;
        align-items: flex-start;
    }
    
    .event-cta .cta-heading .price-separator {
        visibility: hidden;
    }
    
    .event-cta .cta-heading .price-separator::after {
        content: "\a";
        white-space: pre;
    }
    
    .event-secondary-cta {
        margin: 0;
    }
    
    .event-cta .cta-heading {
        font-size: 16px;
    }
    
    .styled-filter {
        width: 25%;
    }
}

.calendar-filters {
    border-top: 1px solid var(--gray5);
    display: flex;
    padding-top: 1.5rem;
}

.combo-input {
    padding: 20px;
    border: 1px solid var(--gray5);
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
}

.combo-menu {
    background-color: white;
    border: 1px solid var(--gray5);
    display: none;
    position: absolute;
    width: calc(100% - var(--bs-gutter-x) * 1);
    z-index: 100;
}

.combo-option {
  padding: 10px 12px 12px;
}

.combo-option.option-current, .combo-option:hover {
    background-color: var(--gray1);
}

.open .combo-menu {
  display: block;
}

.combo-option.disabled {
    color: var(--gray5);
    pointer-events: none;
}

.select-arrow {
    transform: rotate(90deg);
}

.calendar-filters-tours {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-top: 1em;
}

.check-input {
    width: 18px;
    height: 18px;
    border: 1px solid var(--gray10);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.check-input[type=checkbox] {
    border-radius: 0;
}

.overflow-visible {
    overflow: visible;
}

table.mod_events_latest_table, table.mod_events_latest_table tbody {
    height: 100%;
}

.pagination .limit {
    display: none;
}

.card.canceled img{
    filter: grayscale(1);
    opacity: .5;
}

.card.canceled hgroup, .card.canceled .label, .card.canceled .event-tags{
    opacity: .5;
}



/* COLLECTIONS */

.obj-image, .book-img {
    max-height: 65vh;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: auto;
}

.search-collections {
    width: 100%;
    border-radius: 0;
    border: 1px solid black;
    font-family: AvertaPE;
    line-height: 130%;
    color: black;
    font-weight: bold;
    margin-right: 3rem;
    padding-left: 1rem;
    
}

.collections-search-results .card img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background-color: var(--lightGray);
}

a.myfinds {
    color: black;
    text-decoration: none;
    z-index: 1;
    cursor: pointer;
    position: relative;
}

.card-facet {
    margin-bottom: 2rem;
}

.card-facet .card-header {
    background-color: transparent;
    text-transform: uppercase;
    border-bottom: 3px solid #78808b;
    padding-left: 0;
}

.extra_facet {
    display: none;
}

.toggle_me {
    cursor: pointer;
}

.toggle_me .select-arrow img{
    background-color: transparent;
}

.facet-title {
    font-size: 18px;
}

label {
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 1.25rem;
}

input[type=text]{
    border-radius: 0;
    border: 1px solid black;
    padding: 0.75rem;
}

@media (min-width: 768px){
    .collections-facets.accordion-item > button{
        display: none;
    }

    .collections-facets.accordion-item > .accordion-content{
        display: block;
    }
    
    label {
        margin-top: 0rem;
    }

}


/* RESEARCH */

.research-images img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.arrow-item img {
    width: 10px;
    height: 10px;
}



/* TICKETS */

ol.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-gap: 1em;
    margin: 0 auto;
    max-width: 64em;
    padding: 0;
}

ol.calendar-grid li.day.disabled {
    border-color: var(--gray10);
}

ol.calendar-grid li.day.disabled:hover {
   background-color: transparent;
}

ol.calendar-grid li.day.disabled a{
    color: var(--gray10);
    pointer-events: none;
}

ol.calendar-grid li.day.active {
    background-color: #69B3E7;
}

ol.calendar-grid li.day {
    border: 3px solid #000000;
    aspect-ratio: 1 / 1;
    position: relative;
}

ol.calendar-grid li.day a{
    text-decoration: none;
    color: black;
    margin: 0.25em;
}

ol.calendar-grid li.day:hover{
   background-color: var(--lightBlue);
}

ol.calendar-grid li.day.blank {
    border-color: transparent;
}

ol.calendar-grid li.day.blank:hover {
    background-color: transparent;
}

#ticket-times {
    display: flex;
    flex-direction: column;
}

#tickets-calendar .slider-container {
    --swiffy-slider-item-width: 100%;
    margin-top: -60px;
    height: fit-content!important;
}

#tickets-calendar.swiffy-slider {
    --swiffy-slider-track-height: 0px;
}

#tickets-calendar.swiffy-slider.slider-indicators-outside .slider-nav {
    margin-bottom: 0;
}

#tickets-calendar .slider-header {
    justify-content: right;
    z-index: 2;
    position: inherit;
}

#tickets-calendar .slide {
    aspect-ratio: auto;
}

#tickets-calendar li {
    text-indent: 0;
}

@media (min-width: 768px) {
    .admission {
        margin-top: 4.5em;
    }
}





/* GOOGLE CUSTOM SEARCH */

.form-web-search input {
    font-family: AvertaPE;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0 0 0 6.528vw!important;
    flex-grow: 2;
}

#gs_tti50 {
    padding: 1.188rem 2.847vw 1.188rem 0
}

.form-web-search {
    opacity: 0;
    visibility: hidden;
    position: absolute; 
    top: 50%;
    transform: translate(0, -50%);
    display: flex;
    flex-direction: row;
    border: 1px solid grey;
    padding-block:1.188rem;
    padding-right: 2.847vw;
    width: 100%;
    background: #fff;
}

.form-web-search#results-page, .form-web-search#wp-search {
    opacity: 1;
    visibility: visible;
    position: inherit;
    margin-top: 3rem;
}

.form-web-search button {
    padding: 0;
    margin: 0;
    border: none;
    background: 0 0;
    color: #000;
    flex-grow: 0;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
}


/* Pagination */
/* Google Search Results Pagination */

.pagination, .gsc-results .gsc-cursor {
    display: flex!important;
    gap: 1.25rem;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.page-item .page-link, .gsc-results .gsc-cursor-box .gsc-cursor-page {
    padding: 8px 6px;
    font-family: "AvertaPE";
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 130%;
    color: var(--gray10)!important;
    border: none;
    background: 0 0;
    border-bottom: 3px solid transparent;
    background-color: white!important;
    position: unset;
    display: inline;
    text-indent: 0;
    display: block;
}

.page-item.disabled .page-link {
    color: var(--gray5)!important;
}

.page-item .page-link:hover, .gsc-results .gsc-cursor-box .gsc-cursor-page:hover {
    color: black!important;
    text-decoration: none!important;
}

.page-item.active .page-link, .gsc-results .gsc-cursor-box .gsc-cursor-current-page {
    color: #000!important;
    border-bottom: 3px solid var(--gray5)!important;
    border-radius: 0;
}

.gs-webResult.gs-result a.gs-title:link {
    color: #0065ad!important;
    text-decoration: underline!important;
}

.gs-webResult.gs-result a.gs-title:visited {
    color: #9f37a4!important;
}

.gs-webResult div.gs-visibleUrl, .gs-webResult:not(.gs-no-results-result):not(.gs-error-result) .gs-snippet {
    color: black!important;
}

.icon-arrow-right::before {
    font-family: 'Font Awesome 6 Free';
    content: "\f061";
    font-weight: 900;
    color: var(--gray10);
}

.icon-arrow-left::before {
    font-family: 'Font Awesome 6 Free';
    content: "\f060";
    font-weight: 900;
    color: var(--gray10);
}

.disabled .icon-arrow-left::before, .disabled .icon-arrow-right::before {
    opacity: .5;
}


/* INSTAGRAM IMAGE LINKS */
.insta-link:hover {
    display: block;
    height: fit-content;
}

.insta-link img:hover {
    opacity: .5;
}


/* HOMEPAGE */

#home-hero {
    position: relative;
}

#home-hero picture{
    height: 0;
}

#home-hero::before{
    content: '';
    width: 100%;
    height: 100%;
    z-index: 10;
    display: block;
    position: absolute;
    background: linear-gradient(0deg,#000 -25%,rgba(0,0,0,0) 40%);
    font-size: 12px;
}

.home-overlay {
    width: 100%;
    height: min-content;
    display: block;
    background:  linear-gradient(0deg,#000 30%,rgba(0,0,0,0) 75%), url(https://www.penn.museum/img/homepage/reskin/hero-mobile-aug23.jpg) center / cover;
}

.home-hero-text {
    gap: 2rem;
    position: absolute;
    bottom: 2%;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 90%;
    left: 5%;
    right: 5%;
}



@media (max-width: 576px) {
    .home-hero-emphasis {
        font-size: 35pt;
        line-height: 100%;
    }

    #home-hero picture {
        height: auto;
    }
}

@media (min-width: 576px) {
    .home-above-fold {
        height: calc(100% - 160px);
    }

    .home-hero-text {
        width: 78%;
        left: 11%;
        right: 11%;
    }

    .home-overlay {
        background: linear-gradient(0deg,#000 10%,rgba(0,0,0,0) 50%), url(https://www.penn.museum/img/homepage/reskin/hero-desktop-aug23.jpg) right / cover;
        overflow: hidden;
    }
}


/* CSS GRID SYSTEM, REPLICATING BOOTSTRAP BETA FUNCTIONALITY */

.grid {
    display: grid;
    grid-template: repeat(1, 1fr)/repeat(12, 1fr);
    gap: 1.5rem;
}

.grid-template-2-rows {
    grid-template-rows: repeat(2, 1fr)
}

.grid-template-3-rows {
    grid-template-rows: repeat(3, 1fr)
}

.grid-template-4-rows {
    grid-template-rows: repeat(4, 1fr)
}

.g-col-1 {
    grid-column: auto/span 1;
}

.g-col-2 {
    grid-column: auto/span 2;
}

.g-col-3 {
    grid-column: auto/span 3;
}

.g-col-4 {
    grid-column: auto/span 4;
}

.g-col-5 {
    grid-column: auto/span 5;
}

.g-col-6 {
    grid-column: auto/span 6;
}

.g-col-7 {
    grid-column: auto/span 7;
}

.g-col-8 {
    grid-column: auto/span 8;
}

.g-col-9 {
    grid-column: auto/span 9;
}

.g-col-10 {
    grid-column: auto/span 10;
}

.g-col-11 {
    grid-column: auto/span 11;
}

.g-col-12 {
    grid-column: auto/span 12;
}

.styleguide-toggle {
    padding: 10px;
    border: 1px solid black;
    min-width: 100px;
    text-align: center;   
}

.fit-content{
    width: fit-content!important;
}

.ratio-8x5 {
    aspect-ratio: 8 / 5;
    object-fit: cover;
}

.ratio-16x9{
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
/* LIGHTBOX */

/* Styles the lightbox, removes it from sight and adds the fade-in transition */

.lightbox-target {
position: fixed;
top: -100%;
width: 100%;
background: rgba(0,0,0,.7);
width: 100%;
opacity: 0;
-webkit-transition: opacity .5s ease-in-out;
-moz-transition: opacity .5s ease-in-out;
-o-transition: opacity .5s ease-in-out;
transition: opacity .5s ease-in-out;
overflow: hidden;
 
}

/* Styles the lightbox image, centers it vertically and horizontally, adds the zoom-in transition and makes it responsive using a combination of margin and absolute positioning */

.lightbox-target img {
position: absolute;
top: 50%;

left:0;
right:0;
bottom: 0;
max-height: 0%;
max-width: 0%;
border: 3px solid white;
box-shadow: 0px 0px 8px rgba(0,0,0,.3);
box-sizing: border-box;
transform: translateY(-50%);
-webkit-transition: .5s ease-in-out;
-moz-transition: .5s ease-in-out;
-o-transition: .5s ease-in-out;
transition: .5s ease-in-out;
  
}

/* Styles the close link, adds the slide down transition */

a.lightbox-close {
display: block;
width:50px;
height:50px;
box-sizing: border-box;
background: white;
color: black;
text-decoration: none;
position: absolute;
top: -80px;
right: 0;
-webkit-transition: .5s ease-in-out;
-moz-transition: .5s ease-in-out;
-o-transition: .5s ease-in-out;
transition: .5s ease-in-out;
}

/* Provides part of the "X" to eliminate an image from the close link */

a.lightbox-close:before {
content: "";
display: block;
height: 30px;
width: 1px;
background: black;
position: absolute;
left: 26px;
top:10px;
-webkit-transform:rotate(45deg);
-moz-transform:rotate(45deg);
-o-transform:rotate(45deg);
transform:rotate(45deg);
}

/* Provides part of the "X" to eliminate an image from the close link */

a.lightbox-close:after {
content: "";
display: block;
height: 30px;
width: 1px;
background: black;
position: absolute;
left: 26px;
top:10px;
-webkit-transform:rotate(-45deg);
-moz-transform:rotate(-45deg);
-o-transform:rotate(-45deg);
transform:rotate(-45deg);
}

/* Uses the :target pseudo-class to perform the animations upon clicking the .lightbox-target anchor */

.lightbox-target:target {
opacity: 1;
top: 0;
bottom: 0;
  overflow:scroll;
}

.lightbox-target:target img {
max-height: 100%;
max-width: 100%;
}

.lightbox-target:target a.lightbox-close {
top: 0;
}


/* Quiz map markers */

.leaflet-marker-icon.leaflet-interactive {
    filter: hue-rotate(131deg);
}
