/* Small only */
@media screen and (max-width: 39.9375em) {
}

/* Medium and up */
@media screen and (min-width: 40em) {
}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
}

/* Large and up */
@media screen and (min-width: 64em) {
}

/* Large only */
@media screen and (min-width: 64em) and (max-width: 74.9375em) {
}

/*********************** Opera Glass Works
/* _______________________________________________ */

:root {
  --black: #3d3d3d;
  --gold: #eaa93d;
  --green: #34a387;
  --custom-ease: cubic-bezier(0.645, 0.045, 0.355, 1);
}

body {
  font-family: 'Libre Baskerville', serif !important;
}

p a, .article-container li a {
  color: var(--green);
  text-decoration: underline;
}

p a:hover {
  opacity: 0.7;
  color: var(--green);
  box-shadow: none;
}

span {
  font-size: 73%;
}

.base-texture {
  background-image: url('../images/subtle_grunge.png');
  background-repeat: repeat;
  background-size: 500px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.site-wrapper {
  max-width: 80rem;
  padding-left: 3rem;
  padding-right: 3rem;
  margin: 12rem auto 7rem auto;
  box-shadow: 0 0 1px 1px white, 0 0 1px 35px var(--gold), 0 0 1px 45px white, 0 0 1px 47px #626262, 0 0 1px 53px white, 0 0 1px 55px #626262, 0 0 1px 63px white, 0 0 1px 65px black;
  position: relative;
  padding-bottom: 2rem;
  mix-blend-mode: multiply;
}

hr {
  margin-bottom: 0;
  border: none;
  box-shadow: 0 0 1px 1px var(--black);
  position: relative;
  z-index: 10;
}

hr.lighter-line {
  opacity: 0.5;
}

section {
  padding-top: 40px;
  padding-bottom: 40px;
}

section.with-border {
  padding-bottom: 0 !important;
}

section.with-border .grid-container {
  border-bottom: 2px solid var(--black);
  padding-bottom: 40px;
}

img {
  display: block;
}

.center-spacing {
  text-align: center;
}

.center-spacing p {
  margin: 1.5rem 0 1.5rem 0;
}

.center-spacing p:last-of-type {
  margin-bottom: 2rem;
}

.center-spacing p:first-of-type {
  margin-top: 2rem;
}

.center-spacing h3 {
  margin: 2rem 0 0 0;
}

.padding-top {
  padding-top: 3rem;
}

.padding-bottom {
  padding-bottom: 3rem;
}

.uppercase {
  text-transform: uppercase;
}

.green-link {
  font-style: italic;
  text-decoration: underline;
  color: var(--green);
}

.current {
  font-weight: 700;
}

.green-link:hover {
  text-decoration: underline;
  box-shadow: none;
  color: var(--green);
}

.section-heading {
  margin-top: -5px;
  margin-bottom: 40px;
}

.no-wrap {
  white-space: nowrap;
}

/* Large and up */
@media screen and (min-width: 64em) {
  section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  section.with-border .grid-container {
    padding-bottom: 80px;
  }
}

@media screen and (max-width: 88rem) {
  .site-wrapper {
    max-width: 70rem;
  }
}

@media screen and (max-width: 80rem) {
  .site-wrapper {
    max-width: 60rem;
  }
}

@media screen and (max-width: 70rem) {
  .site-wrapper {
    max-width: 50rem;
  }
}

@media screen and (max-width: 60rem) {
  .site-wrapper {
    max-width: 42rem;
    margin: 8rem auto 7rem auto;
  }
}

@media screen and (max-width: 48rem) {
  .site-wrapper {
    max-width: 88%;
    padding-left: 5px;
    padding-right: 5px;
    box-shadow: 0 0 1px 1px white, 0 0 1px 10px var(--gold), 0 0 1px 18px white, 0 0 1px 20px black;
    margin: 8rem auto 7rem auto;
  }
}

@media screen and (max-width: 38rem) {
  .site-wrapper {
    max-width: 88%;
    padding-left: 5px;
    padding-right: 5px;
    box-shadow: 0 0 1px 1px white, 0 0 1px 10px var(--gold), 0 0 1px 14px white;
    margin: 8rem auto 3rem auto;
  }
}

/*********************** Header
/* _______________________________________________ */

.logo-wrapper {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 472px;
  padding: 3.5rem 1rem 3.5rem 1rem;
  box-shadow: 0 0 1px 2px #626262, 0 0 1px 7px white, 0 0 1px 9px #626262, 0 0 1px 15px white, 0 0 1px 18px black;
  background-color: #e8ac44;
  background-repeat: repeat;
  background-size: 200px;
  position: relative;
  text-align: center;
  top: -8.5rem;
  background-repeat: repeat;
  background-size: 200px;
  margin-bottom: -4rem;
  transition: opacity 300ms ease;
}

.logo-wrapper:hover {
  opacity: 0.8;
}

.logo-wrapper h1 {
  font-weight: 400;
  font-style: italic;
  text-transform: uppercase;
  margin-bottom: 0;
  position: relative;
  z-index: 10;
}

.logo-wrapper h1 span {
  font-size: 73%;
  letter-spacing: 0px;
  margin-left: -4px;
}

.margin-more {
  margin-left: -8px !important;
}

.social-icons {
  position: absolute;
  right: -74px;
  top: -7.5rem;
  display: flex;
}

.social-icons a:hover {
  border: none;
  box-shadow: none !important;
}

.social-icons img:hover {
  -webkit-filter: invert(44%);
  filter: invert(44%);
}

.social-icons img {
  width: 37px;
  height: auto;
  margin: 0;
  margin-right: 10px;
}

@media screen and (max-width: 39.9375em) {
  .logo-wrapper h1 span {
    margin-left: -3px;
  }
  .margin-more {
    margin-left: -4px !important;
  }
}

@media screen and (max-width: 70rem) {
  nav ul {
    justify-content: center;
    flex-wrap: wrap;
  }
  .social-icons {
    right: -30px !important;
  }
}

@media screen and (max-width: 60rem) {
  .logo-wrapper {
    width: 548px;
    padding: 2.5rem 1rem 2.5rem 1rem;
    top: -5.5rem;
  }
  .social-icons {
    text-align: center;
    right: 0 !important;
    left: 0;
    z-index: 1000;
    top: -76px;
    justify-content: center;
  }
  .social-icons img {
    width: 26px;
  }
}

@media screen and (max-width: 48rem) {
  .logo-wrapper {
    width: 498px;
    top: -5.6rem;
    padding-top: 44px;
    padding-bottom: 18px;
  }
  nav {
    font-size: 78%;
  }
  .social-icons {
    text-align: center;
    right: 0 !important;
    left: 0;
    z-index: 1000;
    top: -80px;
  }
}

@media screen and (max-width: 38rem) {
  .logo-wrapper {
    width: 350px;
    top: -5rem;
    box-shadow: 0 0 1px 2px #626262, 0 0 1px 7px white, 0 0 1px 9px #626262;
  }
  nav {
    font-size: 78%;
  }
  .social-icons {
    top: -70px;
  }
}

@media screen and (max-width: 30rem) {
  .logo-wrapper {
    width: auto;
  }
}

/*********************** Nagivation
/* _______________________________________________ */

.ready-to-translate {
  transition: all 700ms var(--custom-ease);
}

.body-darken {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.8);
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: all 600ms ease;
}

.body-darken.enabled {
  pointer-events: auto;
  opacity: 1;
  backdrop-filter: blur(6px);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: space-around;
  text-transform: uppercase;
  font-style: italic;
  margin: 0;
}

nav ul li::first-letter {
  font-size: 130%;
  margin-right: -1px;
}

a {
  color: var(--black);
  transition: all 200ms ease;
}

nav a {
  padding: 10px;
}

a:hover {
  box-shadow: 0 0 2px 1px var(--gold);
  color: var(--black);
}

/* Medium and up */
@media screen and (min-width: 40em) {
  nav li {
    position: relative;
  }

  .sub-menu {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms ease;
    display: flex;
    flex-direction: column;
    padding: 10px;
    background: var(--gold);
    font-size: 85%;
    z-index: 12;
    width: 240px;
  }
  nav li:hover .sub-menu {
    opacity: 1;
    pointer-events: auto;
  }

  .sub-menu a {
    color: white;
  }

  .sub-menu a:hover {
    opacity: 0.8;
  }
}

/* Small only */
@media screen and (max-width: 39.9375em) {
  nav {
    position: fixed;
    display: flex;
    flex-direction: column;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px;
    width: calc(100vw - 80px);
    transform: translateX(calc(-100vw - 80px));
    z-index: 11000;
    outline: none;
    background: white;
    border-right: 1px solid black;
    font-size: 19px;
  }
  nav.open {
    transform: translateX(0vw);
  }
  nav ul {
    flex-direction: column;
    justify-content: flex-start;
    font-size: 19px;
  }
  nav ul li {
    padding-top: 5px;
    padding-bottom: 5px;
  }
  nav .sub-menu {
    justify-content: flex-start;
    font-size: 14px;
    margin-left: 21px;
  }
  .toggle-menu {
    width: 100%;
    background: var(--green);
    color: white;
    font-weight: 600;
    padding: 10px;
  }
  nav .toggle-menu svg {
    fill: white;
  }
  nav .toggle-menu {
    width: fit-content;
    margin-left: auto;
  }
}

/*********************** Home
/* _______________________________________________ */

.home-intro img {
  margin-bottom: 20px;
  width: 100%;
  max-width: 500px;
}

.home-intro h4 {
  line-height: 1.3;
  margin-bottom: 30px;
}

.home-intro .cell p:last-of-type {
  margin-bottom: 0;
}

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

.callout {
  margin: 3rem 0 3rem 0;
  border: none;
  box-shadow: 0 0 1px 1px white, 0 0 1px 3px var(--black);
  text-align: center;
}

.project-home {
}

.project-home a img {
  transition: opacity 300ms ease;
}

.project-home a:hover img {
  opacity: 0.7;
}

.project-home a h3 {
  margin-top: 20px;
}

/* Large and up */
@media screen and (min-width: 64em) {
  .home-intro img {
    max-width: 450px;
    margin-left: auto;
  }
}

/* Small only */
@media screen and (max-width: 39.9375em) {
  .callout {
    margin: 1.5rem 0 0 0;
  }
  .center-spacing p {
    margin-bottom: 1.5rem;
  }
  .center-spacing h3 {
    margin: 1.5rem 0 1.5rem 0;
  }
  .center-spacing p:last-of-type {
    margin-bottom: 1.5rem;
  }
  .center-spacing p:first-of-type {
    margin-top: 1.5rem;
  }
  .padding-top {
    padding-top: 1.5rem;
  }
  .padding-bottom {
    padding-bottom: 1.5rem;
  }
  .home-intro img {
    margin-top: 30px;
  }
  .project-home a h3 {
    margin-top: 10px;
    margin-bottom: 25px;
  }
}

/*********************** Footer
/* _______________________________________________ */

footer {
  font-size: 80%;
  padding-top: 3rem;
}

@media screen and (max-width: 39.9375em) {
  footer {
    padding-top: 1.5rem;
  }
}

/*********************** Pages
/* _______________________________________________ */

/* Past Productions */

section h1 {
  font-size: 22px;
  margin-bottom: 20px;
}

.special-quote {
  background: var(--green);
  font-weight: 600;
  color: white;
  padding: 20px;
  font-size: 115%;
  text-align: center;
  margin-top: 40px;
}

.special-quote p:last-of-type {
  margin-bottom: 0;
}

.next-less-padding + section {
  padding-top: 30px;
}

.less-padding {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

.article-container {
  max-width: 650px;
  margin: 0 auto;
}

.article-container h3 {
  margin-bottom: 30px;
}

.article-container ul li{
	margin-bottom: 10px;
}

/* Medium and up */
@media screen and (min-width: 40em) {
  section h1 {
    font-size: 30px;
    margin-bottom: 30px;
  }
  td:first-of-type {
    width: 350px !important;
  }
}

/* Large and up */
@media screen and (min-width: 64em) {
  section h1 {
    font-size: 35px;
    margin-bottom: 30px;
  }
  .next-less-padding + section {
    padding-top: 40px;
  }
  .article-container h3 {
    margin-bottom: 40px;
  }
  .article-image-container {
    width: calc(100% + 140px);
    margin-left: -70px;
  }
}

/* Small only */
@media screen and (max-width: 39.9375em) {
  td:last-of-type {
    padding-left: 10px;
  }
  td {
    border-bottom: 1px solid lightgrey;
  }
}

.small-caps,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-variant: small-caps;
}

.small-text {
  font-size: 85%;
  margin-top: 5px;
}

/* Donation Form */

input[type='checkbox'] {
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  background: white;
  border-radius: 5px;
  border: 2px solid var(--black);
  margin-bottom: -10px;
}
input[type='checkbox']:checked {
  background: var(--gold);
}

input[type='checkbox']:focus {
  outline: none;
}

fieldset button,
fieldset .send-button {
  box-shadow: 0 0 1px 1px white, 0 0 1px 4px var(--gold);
  padding: 10px;
  cursor: pointer;
  border: none;
  display: block;
  width: fit-content;
}

fieldset {
  margin-top: 30px;
}

fieldset button:hover,
fieldset .send-button:hover {
  background: #e8e8e8;
}

.center-button {
  margin: 0 auto;
}

.no-click {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.7;
}

@media screen and (min-width: 40em) {
  .mc-field-group {
    width: 33%;
    float: left;
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Large and up */
@media screen and (min-width: 63.9375em) {
  .img-sub {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 5px;
  }
}

.video-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

/*********************** Galleries
/* _______________________________________________ */

.masonry.grid-padding-x {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.masonry.grid-padding-x > .cell {
  padding-left: 2.5px;
  padding-right: 2.5px;
}

.masonry.grid-padding-x > .cell {
  margin-bottom: 5px;
}

.masonry.grid-padding-x > .cell img {
  width: 100%;
  display: block;
  transition: opacity 300ms ease;
  cursor: pointer;
}

.masonry.grid-padding-x > .cell img:hover {
  opacity: 0.7;
}

#image-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%);
  z-index: 10;
  outline: none;
  background: white;
  opacity: 0;
  pointer-events: none;
  width: 90vw;
  height: 80vh;
  transition: all 500ms var(--custom-ease);
}

#image-modal img {
  width: 100%;
  height: 100%;
  padding: 18px;
  object-fit: contain;
}

#image-modal.open {
  transform: translate(-50%, -50%);
  opacity: 1;
  pointer-events: all;
}

#close-image-modal {
  position: fixed;
  top: 10px;
  right: 10px;
  padding: 7px;
  cursor: pointer;
  background: white;
  z-index: 1;
}

#close-image-modal svg {
  width: 25px;
  height: auto;
}

.loader {
  width: 48px;
  height: 48px;
  border: 5px solid #fff;
  border-bottom-color: var(--gold);
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
}

.embla {
  overflow: hidden;
  height: 100%;
}
.embla-container {
  display: flex;
  height: 100%;
}
.embla-slide {
  flex: 0 0 100%;
  min-width: 0;
}

.slider-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 10px;
  z-index: 1;
}

.slider-nav button {
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 5px;
}

.slider-nav button svg {
  height: 30px;
  width: auto;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Medium and up */
@media screen and (min-width: 40em) {
  #image-modal {
    box-shadow: 0 0 1px 2px #626262;
  }
}

/* Small only */
@media screen and (max-width: 39.9375em) {
  #image-modal {
    width: 100vw;
    height: 100vh;
    height: 100svh;
    max-height: unset;
  }
  #image-modal img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center center;
  }
}

/* Small only */
@media screen and (max-width: 39.9375em) {
}

/* Medium and up */
@media screen and (min-width: 40em) {
}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
}

/* Large and up */
@media screen and (min-width: 64em) {
}

/* Large only */
@media screen and (min-width: 64em) and (max-width: 74.9375em) {
}
