/* other commonly-used stuff */
.mobile-only {
  display: none !important;
}

.bg-cover {
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.bg-contain {
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.container.container_size_none {
  padding: 0;
  margin: 0;
  max-width: none;
}

.container.container_size_medium {
  max-width: 1000px;
}

.container.container_size_narrow {
  max-width: 700px;
}

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

form .post-submit {
  display: none;
}

form .pre-submit {
  display: block;
}

form.after .post-submit {
  display: block;
}

form.after .pre-submit {
  display: none;
}

html.stuck {
  overflow: hidden;
  height: 100%;
}

.flex {
  display: flex;
}

.flex.space-between{
  justify-content: space-between;
}

.flex.row {
  flex-direction: row;
}

.flex.column {
  flex-direction: column;
}

.flex .right {
  margin-left: auto;
}

.flex .left {
  margin-right: auto;
}

.flex .center {
  margin-left: auto;
  margin-right: auto;
}

.flex .center.vert {
  margin-top: auto;
  margin-bottom: auto;
}

.flex .top {
  margin-bottom: auto;
}

.flex .bottom {
  margin-top: auto;
}

p>a {
  font-weight: bold;
  text-decoration: underline;
}

.button .small-arrow {
  transition: transform 0.2s linear;
}

.button .small-arrow.arrow-left {
  transition: transform 0.2s linear;
}

button:hover .small-arrow, .button:hover .small-arrow {
  transform: translateX(5px);
  transition: transform 0.2s linear;
}

button:hover .small-arrow.arrow-left, .button:hover .small-arrow.arrow-left {
  transform: translateX(-5px);
  transition: transform 0.2s linear;
}

.small-arrow {
  font-size: 10px;
  padding-left: 10px;
}

.small-arrow.arrow-left {
  transform: rotate(180deg);
  padding-right: 10px;
}

.meta.portal {
  pointer-events: none;
  opacity: 0;
  position: fixed;
  top: 0;
  margin-top: 0;
  left: 0;
  z-index: 10;
  color: black;
  transition: opacity 0.18s ease-out;
  cursor: default;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  flex-direction: row;
}

.meta.portal.active {
  pointer-events: all;
  opacity: 1;
  z-index: 10000;
}

.image-container {
  float: left;
  width: 40%;
  display: flex;
}

.image-container img {
  flex-shrink: 0;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  min-height: 34vw;
}

.meta.portal .details {
  aspect-ratio: 16 / 9;
  float: right;
  padding-top: 65px;
  padding: 30px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  position: relative;
  flex-direction: column;
  text-align: center;
  max-width: 95%;
  min-width: 350px;
  width: 500px;
  max-height: 95%;
  height: 360px;
  min-height: 360px;
  background: white;
}

.meta.portal .details iframe {
  max-width: 350px;
  min-height: 180px;
  margin: 0 auto;
}

.meta.portal .close {
  position: absolute;
  padding: 30px;
  top: 0;
  right: 0;
  cursor: pointer;
  z-index: 2;
}

.meta.portal a {
  font-size: 0.8vw;
  display: block;
  text-decoration: none;
  margin-top: 0.6vw;
}

.meta.portal .details a.homeClosedCTA {
  font-size: initial;
  text-decoration: underline;
  margin-top: 0px;
  font-size: 12px;
}

.meta.portal .details p {
  margin-bottom: 0px;
}

.meta.portal .bio {
  margin-top: 2vw;
}

.meta.portal .bio p {
  margin-bottom: 1vw;
  overflow-y: scroll;
}

.meta.portal.shadow {
  opacity: 0;
  transition: opacity 0.5s linear;
}

.meta.portal.shadow.active {
  opacity: 0.5;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0px;
  left: 0px;
  background-color: black;
  pointer-events: none;
  margin: 0px;
  z-index: 10000;
}

@media screen and (max-width:980px) {
  .mobile-only {
    display: block !important;
  }

  .desktop-only {
    display: none !important;
  }
}
