.popup-view {
  margin: 0 auto;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1020;
}

.popup-view.hidden {
  display: none;
}

.popup-body-external-link-stopper,
.popup-body-stopper {
  overflow: hidden !important;
}

.popup-view .popup-view-below-small-text {
  margin-top: 20px;
}

.popup-view .popup-wrapper {
  background-color: var(--color-light);
  box-shadow: 7px 7px 0px 0px #f2a21f;
  -webkit-box-shadow: 7px 7px 0px 0px #f2a21f;
  -moz-box-shadow: 7px 7px 0px 0px #f2a21f;
  border: 2px solid #f2a21f;
  width: 750px;
  margin-top: 0;
  padding: 0;
}

.popup-view .popup-wrapper .close-icon {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.popup-view .popup-wrapper .close-icon img {
  height: 35px;
}

.custom-popup-view-overlay-cover {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1020;
  background: rgb(2 0 0 / 74%);
  display: none;
}

.popup-view .popup-view-body {
  max-height: calc(80dvh - 1rem);
  max-width: 900px;
  overflow: auto;
}

.popup-view .popup-view-body h3 {
  text-align: left;
  font-size: 40px;
  line-height: 44px;
  font-family: var(--font-family-Epilogue-Bold);
  color: #1D1D1D;
  margin-bottom: 20px;
}

.popup-view .popup-view-body p {
  text-align: left;
  font-size: 18px;
  line-height: 27px;
  font-family: var(--font-family-Epilogue-Medium);
  color: #393939;
}

.popup-view .popup-view-body ul li {
  text-align: left;
  font-size: 18px;
  line-height: 27px;
  font-family: var(--font-family-Epilogue-Medium);
  color: #393939;
}

.popup-view .popup-wrapper .popup-view-body p {
  margin-bottom: 10px;
}

.popup-view .popup-wrapper .popup-view-body .popup-view-below-small-text p,
.popup-view .popup-wrapper .popup-view-body .popup-view-below-small-text a {
  text-align: left;
  font-size: 12px;
  line-height: 18px;
  font-family: var(--font-family-Epilogue-Medium);
  color: #000000;
}

.popup-view .popup-wrapper .popup-view-body a {
  text-decoration: none;
  text-align: left;
  font-family: var(--font-family-Epilogue-Medium);
  color: #393939;
}

.popup-view .popup-wrapper .popup-view-body {
  padding: 0 40px;
  border: 1px solid transparent;
  overflow: auto;
}

.popup-view .popup-wrapper .popup-view-body:has(.overflow) {
  border-color: var(--color-popup-wrapper);
}

.popup-external-link {
  margin: 0 auto;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1021;
}

.popup-external-link.hidden {
  display: none;
}

.popup-external-link .popup-external-link-below-small-text {
  margin-top: 20px;
}

.popup-external-link .popup-wrapper {
  background-color: var(--color-light);
  box-shadow: 7px 7px 0px 0px #f2a21f;
  -webkit-box-shadow: 7px 7px 0px 0px #f2a21f;
  -moz-box-shadow: 7px 7px 0px 0px #f2a21f;
  border: 2px solid #f2a21f;
  width: 750px;
  margin-top: 0;
  padding: 0;
}

.popup-external-link .popup-wrapper .close-icon {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.popup-external-link .popup-wrapper .close-icon img {
  height: 35px;
}

.custom-popup-external-link-overlay-cover {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1021;
  background: rgb(2 0 0 / 74%);
  display: none;
}

.popup-external-link .popup-external-link-body {
  max-width: 900px;
  overflow: auto;
}

.popup-external-link .popup-external-link-body h3 {
  text-align: left;
  font-size: 40px;
  line-height: 44px;
  font-family: var(--font-family-Epilogue-Bold);
  color: #1D1D1D;
  margin-bottom: 20px;
}

.popup-external-link .popup-external-link-body p {
  text-align: left;
  font-size: 18px;
  line-height: 27px;
  font-family: var(--font-family-Epilogue-Medium);
  color: #393939;
}

.popup-external-link .popup-external-link-body ul li {
  text-align: left;
  font-size: 18px;
  line-height: 27px;
  font-family: var(--font-family-Epilogue-Medium);
  color: #393939;
}

.popup-external-link .popup-wrapper .popup-external-link-body p {
  margin-bottom: 10px;
}

.popup-external-link .popup-wrapper .popup-external-link-body .popup-external-link-below-small-text p {
  text-align: left;
  font-size: 12px;
  line-height: 18px;
  font-family: var(--font-family-Epilogue-Medium);
  color: #393939;
}

.popup-external-link .popup-wrapper .popup-external-link-body a {
  text-decoration: none;
  text-align: left;
  font-family: var(--font-family-Epilogue-Medium);
  color: #393939;
}

.popup-external-link .popup-wrapper .popup-external-link-body {
  border: 1px solid transparent;
  overflow: auto;
  padding: 0 40px;
}

.popup-external-link .popup-wrapper .popup-external-link-body:has(.overflow) {
  border-color: var(--color-popup-wrapper);
}

.popup-external-link .popup-external-link-cta {
  display: flex;
  justify-content: center;
}

.popup-external-link-cta a {
  padding: 10px 40px;
  min-width: fit-content;
}

.popup-external-link .popup-wrapper .popup-external-link-body .popup-external-link-cta {
  gap: 20px;
  padding: 20px 0px 40px 0px;
}

.popup-external-link .popup-wrapper .popup-external-link-body .popup-external-link-cta .cta_cancel {
  background-color: rgba(164, 37, 33, 0.5);
  border: 2px solid rgba(164, 37, 33, 1);
  color: var(--color-light);
}

.popup-external-link .popup-wrapper .popup-external-link-body .popup-external-link-cta .cta_cancel:hover {
  background-color: rgba(164, 37, 33, 1);
  border: 2px solid rgba(164, 37, 33, 1);
  color: var(--color-light);
}

.popup-external-link .popup-wrapper .popup-external-link-body .popup-external-link-cta .cta_ok {
  background-color: rgba(0, 114, 44, 0.5);
  border: 2px solid rgba(0, 114, 44, 1);
  color: var(--color-light);
}

.popup-external-link .popup-wrapper .popup-external-link-body .popup-external-link-cta .cta_ok:hover {
  background-color: rgba(0, 114, 44, 1);
  border: 2px solid rgba(0, 114, 44, 1);
  color: var(--color-light);
}

.popup-external-link .popup-wrapper .popup-external-link-body .popup-external-link-cta a {
  color: var(--color-light);
}

.custom-video-popup-close-cta {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.custom-video-popup-close-cta .vimeo-close {
  position: unset;
  border: 2px solid #fff;
}

div#vimeoModal .vimeo-modal-content {
  background: transparent;
  box-shadow: unset;
}

div#vimeoModal .vimeo-modal-content iframe {
  width: 94% !important;
}

@media(min-width:1901px) {
  .popup-view .popup-view-body {
    max-height: calc(80dvh - 1rem);
  }
}

@media(min-width:1025px) {
  .popup-view .popup-wrapper .popup-view-body p:last-child {
    margin-bottom: 10px;
  }

  .popup-external-link .popup-wrapper .popup-external-link-body p:last-child {
    margin-bottom: 10px;
  }
}

@media(max-width:767px) {
  .popup-view .popup-wrapper {
    width: 100%;
  }

  .popup-view {
    width: 90%;
  }

  .popup-view .popup-wrapper .popup-view-body {
    padding: 0 20px;
  }

  .popup-view .popup-view-body h3 {
    font-size: 24px;
    line-height: 28px;
  }

  .popup-external-link .popup-wrapper {
    width: 100%;
  }

  .popup-external-link {
    width: 90%;
  }

  .popup-external-link .popup-wrapper .popup-external-link-body {
    padding: 0 20px;
  }

  .popup-external-link .popup-external-link-body h3 {
    font-size: 24px;
    line-height: 28px;
  }

  div#vimeoModal .vimeo-modal-content iframe {
    width: 94% !important;
  }
}

@media screen and (min-width: 389px) {
  .popup-view .popup-wrapper .popup-view-body p {
    margin-bottom: 10px;
  }

  .popup-external-link .popup-wrapper .popup-external-link-body p {
    margin-bottom: 10px;
  }
}

@media screen and (max-height: 480px) {
  .popup-view .popup-view-body {
    height: 100%;
    max-height: calc(80dvh - 1rem);
  }
}