/* flickety slider scroll issue */
html {
    overflow-y: scroll;
}
.centered {
    text-align: center;
}

/* Links *?

a {
/*text-decoration: none;*/
transition: all 0.25s ease-in;
}

a:hover, a:visited:hover {
    color: #666666;
    transition: all 0.25s ease-in
}

a:hover h2 {
    color: #666666;
}

a:hover figcaption {
    color: #666666;
}
 .light-color a, .light-color a:visited {
    color:var(--white);
} 
 .light-color a, .light-color a:visited {
    color: var(--text-light);
} 
.light-color a:hover, .light-color a:visited:hover {
    color: #ddd;
}
.uppercase {
    text-transform: uppercase;
}

/* Buttons */
.button {
    border: 0;
}

    .button:hover {
        background: #0c3d59;
        color: #E8E8E8 !important;
    }

.button-wrap:has(.button--full-width) {
    width: 100%;
    display: block;
}

.button--full-width {
    width: 100%;
    display: block;
}

.button--square {
    border-radius: unset;
}

.grid-item-button--compact {
    margin-bottom: 0;
}

.col-50:has(.grid-item-button--compact) {
    padding: 0px 5px 0px 5px;
}

/* Banner Slides */
.banner__header {
    font-family: 'neue-haas-grotesk-display', Helvetica, sans-serif;
    padding-top: .5em;
    margin-bottom: 0;
    font-size: 1.75rem;
    font-weight: 600;
}

.banner__text {
    padding: 10px 0 10px;
}

.banner__subheader {
    text-transform: uppercase;
    font-size: .8rem;
}

.banner-slide figcaption {
    float: right;
    width:100%;
}
.banner-slide figcaption > p {
    margin-bottom:0;
}

.banner-slide figcaption p {
    float: right;
}
/* Header */
.grid-item--header:not(.header-order-0) h2, .sectionHeader {
    border-right: 3px solid var(--background-light);
    border-bottom: none;
}

@media only screen and (max-width: 1024px) {
    .grid-item--header:not(.header-order-0) h2, .sectionHeader {
        border-bottom: none;
        border-right:none;
    }
}

@media only screen and (max-width: 768px) {
    .grid-item--header:not(.header-order-0) h2, .sectionHeader {
        border-bottom: 3px solid var(--background-light);
        border-right:none;
    }
}

/* View-More buttons */
.view-more {
    font-weight: 200;
    transition: all 0.25s ease-in;
    cursor: pointer;
    text-transform: lowercase;
    text-align: center;
    font-size: .9rem;
    padding: 0.6rem 0.5rem;
    transition: all .3s ease-in;
}

    .view-more > .chevron-case {
        transition: all .3s ease-in;
    }

.chevron-case {
    transform: scaleX(2);
    margin-left: -8px;
}
.chevron::before {
    border-style: solid;
    border-width: 0.15em 0.15em 0 0;
    content: '';
    display: inline-block;
    height: 1em;
    left: 0.15em;
    position: relative;
    top: 0.15em;
    transform: rotate(-45deg);
    vertical-align: top;
    width: 1em;
}

.chevron.bottom:before {
    top: 0;
    transform: rotate(135deg);
}

.view-more:hover > p {
    transform: scale(1.1);
    transition: all .5s ease-in;
}

@media only screen and (max-width: 768px) {
    .chevron-case {
        transform: scaleX(1);
        margin-left: 0px;
    }
}
.view-more:hover > .chevron-case {
    transform: scaleX(2.2);
    transition: all .5s ease-in;
}

.view-more > p {
    margin-bottom: 0;
    transition: all .3s ease-in;
}

.view-more > .chevron-case {
    transition: all .3s ease-in;
}

.hover-animate {
    transition: transform .35s ease-in, box-shadow .35s ease-in;
    margin-bottom: .3rem;
}
.hover-animate:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.light-color .hover-animate:hover {
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.25);
}

.list--columns {
    columns: 2;
    -webkit-columns: 2;
}

.th-chklstbx {
    margin-bottom: var(--grid-gutter);
}

/* Grid Column Left Offset */
@media only screen and (max-width: 768px) {
    .col-left-offset {
        flex-basis: 0%;
        max-width: 0%;
    }
}

/* Match the styles input rte-formats.css */
.callout {
    font-size: 20px;
    font-size: 1.25rem;
    font-weight: bold;
    background: var(--background-light);
    padding: 1em;
    display: block;
}

.flex-group {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.flex-group-content-item {
    display: block;
    margin: 0.5rem;
    flex: 0 0 30%;
}

.row-align-center {
    align-items: center;
}

/* Educational Resources */
.resource-information {
    margin-top: 20px;
}

    .resource-information > div {
        border-bottom: 1px solid rgba(51,51,51,.3);
        padding-bottom: 1rem;
    }

.ri-h2 {
    background-color: #f5f5f5;
}

    .ri-h2 h2 {
        transform: translate(0.8rem,1rem);
    }

.ri-dr {
    background-color: #f5f5f5;
    border-bottom: 1px solid rgba(51,51,51,.3);
    padding: 1rem 0.5rem;
}
.resource .grid-item.grid-item--image {
    aspect-ratio: 2/1;
    object-fit: cover;
}

/* Photoswipe */
.gallery__item > figure > figcaption {
    display: none;
}

.pswp__caption__center {
    text-align: center;
    max-width: unset;
    color: unset;
}

.pswp__caption-expand.pswp__caption-closed > h5:after {
    padding-left: 20px;
    font-family: "FontAwesome";
    font-size: 16px;
    content: "\f067";
    cursor: pointer;
}

.pswp__caption-expand:not(pswp__caption-closed) > h5:after {
    padding-left: 20px;
    font-family: "FontAwesome";
    font-size: 16px;
    content: "\f068";
    cursor: pointer;
}

.pswp__button--details {
    background: none;
    display: block;
    background: none !important;
}

    .pswp__button--details:before {
        font-family: "FontAwesome";
        content: "\f05a";
        color: white;
    }

.pswp__button--zoom {
    display: block;
}

.pswp__button.pswp__button--share {
  background-image: url(https://www.anchoragemuseum.org/media/zlbdemih/download-white.png);
  width: 30px;
  background-size: auto;
  background-position: 0;
}

/* Modal, as used in gallery for the media download copyright screen */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1501; /* Sit on top: photoswipe is at 1500 */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

/* The Close Button */
.modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .modal-close:hover,
    .modal-close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

/* image caption */
.image-block figcaption {
    float: right;
}

.grid-item--exhibitionImage figcaption {
    text-align: center;
    font-style: normal;
    font-size: 1rem;
    padding-top: 5px;
    font-weight:500;
}

/* Image animation */
.animate-image {
    transition: all .3s ease-in;
}

.animate-image:hover {
    transform: scale(1.1);
    transition: all .5s ease-in;
}

/* Pod animation */
.animate-pod {
    transition: all .3s ease-in;
}

    .animate-pod:hover {
        transform: scale(1.03);
        transition: all .5s ease-in;
    }


.pod__image {
    margin: auto;
}

.pod__text a {
    color: unset;
}

/* sliders */

.teaser-image img {
    width: 100% ;
    aspect-ratio: 1.91/1;
    object-fit: cover;
}
.teaser h3 {
    margin-bottom:0.1em;    
    font-size: calc(.8*var(--font-size-h3));
    font-weight: 600;
}
.teaser p {
    margin-bottom:.5em;
    font-size: calc(.75*var(--font-size));
}
.teaser {
    margin-bottom:.5em
}
.col-100 > .teaser-image >.grid-item--image {
    margin-bottom:5px;
}
.child-page-group [class*='col-'] {
    padding-top: .5em;
}
p.teaser-date {
    font-size: calc(.65* var(--font-size));
}
a.teaser-text p {
    border-bottom:1px solid;
}

@media only screen and (min-width: 768px) and (max-width: 1600px) {
    .col-50.teaser > p, .col-50.teaser {
        font-size:calc(.85*var(--font-size));
    }
    .col-50> .teaser-text > h3 {
        font-size:calc(.8*var(--font-size-h3));
    }
}
/* calendar */
.calendar-event-text p{
    margin-bottom: 0em;
}
.calendar-event-text{
    font-size:80%;
}
.calendar-event-link > h4 {
    font-size:90%;
}
@media only screen and (max-width: 1024px) {
    .col-left-offset {
            flex-basis:0
    }
    .col-left-offset-remainder {
            flex-basis:100%;
            max-width: 100%;
    }
}
h2.sectionHeader {
    font-size:calc(.8*var(--font-size-h2));
}
.text-fit {
    padding-right: 10px;
}

/* Google Translate */
/*Hide Google Translate banner & "Original Text" tooltip*/
.goog-te-banner-frame {
    display: none;
}
body {
    top: 0px !important;
    position: absolute !important;
}
#goog-gt-tt, .goog-te-balloon-frame {
    display: none !important;
}
.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}
.skiptranslate {
    display: none;
}
li:has(span.text-small) {
    line-height: 1.6rem;
}
strong, b, bold {
    font-weight:600;
}
@media only screen and (max-width: 768px) {
  .share-this-page{
    margin: 10px 0;
  }
}
 .light-color a:hover.card__text, .light-color a:visited:hover.card__text {
    color:var(--white)!important;
} 
 
.top--dark .main-nav__li.selected > .main-nav__a {
    color: var(--white)!important;
}
.top-border {
    position: relative;
    margin-top: -15px;
    padding-top: 15px!important;
    border-top: 1px solid #e5e3e4;
}
.theme-alt-bg a:hover {
    color: #fafafa;
}
/* Educational Resources Newsletter */

.ri-newsletter {
    margin: 1rem auto;
    transition: all 400ms ease-in-out;
    position: relative;
    cursor: pointer;
	max-width: 350px;
	max-height: 100px;
}
@media all and (min-width: 760) and (max-width: 1099px) {
    .ri-newsletter {
        margin-right: 1rem;
    }
}
.ri-newsletter > div {
    position: absolute;
    background: linear-gradient(90deg, rgba(51,51,51,.3) 50%, rgba(170,170,170,1) 50%);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 1;
}
.ri-newsletter:hover {
    background: transparent;
    transition: all 400ms ease-in-out;
}
.ri-newsletter:hover > div {
    opacity: 0;
    transition: all 400ms ease-in-out;
}
 .ri-newsletter a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    width: 80%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
 }
 .ri-newsletter svg, .ri-newsletter h4 {
     width: 40%;
     font-size: 12px;
     font-weight: 200;
     color: #f5f5f5;
 }
.ri-newsletter:hover h4 {
    color: #d22630;
}
.ri-newsletter .svg {
    fill: #f5f5f5;
}
.ri-newsletter:hover .svg {
    fill: #d22630;
}
/** Safari */
@media not all and (min-resolution: 0.001dpcm) {
    h3 {
        font-weight:500;
    }
}
.shareon>* {
    max-width: 18px;
}
.shareon>.facebook {
    background-color: #000000!important;
}
.shareon>.linkedin  {
    background-color: #000000!important;
}
/* fix issue with error text placement on file upload forms */
.fileupload .field-validation-error, .creativefileupload .field-validation-error {
    margin-top:unset;
    maggin-botton:unset;
}
/* fix issue with rbl on teaching resources form */
.radiobuttonlist label {
    display:inline
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%) scale(0);
        opacity: 0;
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

.slide-in-right {
    animation: slideInFromRight 1s ease-out forwards;
}

.hidden {
    visibility: hidden;
    opacity: 0;
}

.row--center .grid-item {
    text-align: center;
}

/* center audio controls in parent div may neeed to add setting */
.audio-controls {
    text-align:center
}
p.translation-flags{
    text-align:center;
}
.translation-flags img{
    width:25px
}
a.lang-select {
    border:none;
}

/* Responsive tables */

.responsive3 {
    width: 100%;
    border-collapse: collapse;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.responsive3 thead, .responsive3 tbody, .responsive3 th, .responsive3 td, .responsive3 tr { 
    display: block; 
}

/* Hide responsive table headers (but not display: none;, for accessibility) */
.responsive3 thead tr { 
    position: absolute;
    top: -9999px;
    left: -9999px;
}
.responsive3 tr {
    border: none;
}
.responsive3 td { 
    border: none;
    position: relative;
}
.responsive3 td:before { 
    position: absolute;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .responsive3 {
        grid-template-columns: repeat(3, 1fr);
    }
}
	/* Hide responsive table headers (but not display: none;, for accessibility) */
	.responsive thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
        
@media 
only screen and (max-width: 600px){

	.responsive, .responsive thead, .responsive tbody, .responsive th, .responsive td, .responsive tr { 
		display: block; 
	}
	
	.responsive tr {
		border:none;
	}
	.responsive td { 
		/* Behave like a "row" */
		border: none;
		position: relative;
	}
	
	.responsive td:before { 
		/* Now like a table header */
		position: absolute;
		white-space: nowrap;
	}
}
/* Special colors used in membership */
#yellow .grid-item--boxed {
    background-color:#fff200;
}
#yellow .button {
    background-color:unset;
    color:#000000!important;
    border: 1px solid #000;    
}
#yellow .button:hover {
    background-color:#fffa99;
} 

@media only screen and (min-width: 768px) {
    .top + #content {
        margin-top: calc(var(--header-height) - 28px);
    }
}

.overlay-container {
  position: relative;
  display: inline-block;
  padding-bottom:20px;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 20px);
  background: rgba(0,0,0,0.6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  padding: 0 10px;
  font-size: 85%;
}

.overlay-container.active .image-overlay {
  opacity: 1;
  pointer-events: all;
}
.open-overlay-btn {
  position: absolute;
  bottom: -10px;
  right: -10px;
  z-index: 2;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 1.2rem;
}

.close-overlay-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
}
.overlay-content p {
    margin-bottom: .75em;
}
.overlay-content {
    max-width: 800px;
}

figure {
  display: block;
  width: 100%;
}
.overlay-container figcaption {
    text-align: right;
    font-size: 0.875rem;
    position: absolute;
    bottom: -2px;
    right: 15px;
    z-index: 2;
    border: none;
    padding: 0px 10px;
}
figcaption p {
        margin-bottom: 0em;
}

/* Probably a bad idea but fix for homepage icons */
@media only screen and (max-width: 768px) {
    .col-10 .pod__image img {
        width:50%
    }
}
/*Discovery Center*/

.stretched-text {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;    
  font-family: var(--heading-font);
  font-weight: 500;
}

.stretched-text span {
  flex: 1;
  text-align: center;
  display: inline-block;
  transform: scaleX(1.25); 
  transform-origin: center; 
}
.card--animated .card-hover {
  opacity: 0;
  transition: opacity 1s ease;
}

@media (hover: hover) and (pointer: fine) {
  .card--animated:hover .card-hover {
    opacity: 1;
  }
}

.card--animated .card__title-center {
  display: block;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  opacity: 1;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card--animated .card__header,
.card--animated .card__text-inner > span:not(.card__title-center):not(.card__header) {
  opacity: 0;
  transition: opacity 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
  .card--animated:hover .card__title-center {
    opacity: 0;
  }

  .card--animated:hover .card__header,
  .card--animated:hover .card__text-inner > span:not(.card__title-center):not(.card__header) {
    opacity: 1;
  }
}

.card--animated .stretched-text {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.card--animated .stretched-text span {
  flex: 1;
  text-align: center;
  display: inline-block;
}
.card__title-center.act-heading.stretched-text {
    font-size: 2rem;
}
/* === Base state (desktop): hide text and hover bg === */
.card--animated .card-hover {
  opacity: 0;
  transition: opacity 1s ease;
}

.card--animated .card__title-center {
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.card--animated .card__header,
.card--animated .card__text-inner > span:not(.card__title-center):not(.card__header) {
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* === Hover (desktop only): fade in full content === */
@media (hover: hover) and (pointer: fine) {
  .card--animated:hover .card-hover {
    opacity: 1;
  }

  .card--animated:hover .card__title-center {
    opacity: 0;
  }

  .card--animated:hover .card__header,
  .card--animated:hover .card__text-inner > span:not(.card__title-center):not(.card__header) {
    opacity: 1;
  }
}

/* === Touch devices: show hover state by default === */
@media (hover: none) and (pointer: coarse) {
  .card--animated .card-hover {
    opacity: 1;
  }

  .card--animated .card__title-center {
    opacity: 0;
  }

  .card--animated .card__header,
  .card--animated .card__text-inner > span:not(.card__title-center):not(.card__header) {
    opacity: 1;
  }
}

/*mobile formatting for sponsors*/
@media only screen and (max-width: 768px) {
    .sponsors .col-10  {
        flex-basis: 25%;
        max-width: 25%;
    }
    .sponsors .col-20 {
        flex-basis: 33%;
        max-width: 33%;
    }
}