/**
CSS: IG Modal
**/
.igModal-enabled > header,
.igModal-enabled > main,
.igModal-enabled .footer,
.igModal-enabled > footer {
    filter: blur(3px);
}

.ig-modal {
  display: none;
  position: relative;
  margin: 0 auto;
  padding: 2.5rem;
  width: auto;
  min-width: 280px;
  max-width: 450px;
  background-color: #FFF;
  border-radius: 5px;
  box-shadow: 0 0 15px rgb(0 0 0 / 25%);
  -webkit-animation-name: fadeIn;
  -webkit-animation-duration: .4s;
  animation-name: fadeIn;
  animation-duration: .4s;
  z-index: 9999;
}
.ig-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 36px;
  line-height: 30px;
  font-weight: 100;
  color: rgba(0,0,0,0.39);
  font-family: sans-serif;
  cursor: pointer;
}

#modal__cover {
  position: fixed;
  overflow: hidden auto;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 5rem 1rem;
  z-index: 8888;
  background: rgba(0,0,0,0.5);
  -webkit-animation-name: fadeIn;
  -webkit-animation-duration: .8s;
  animation-name: fadeIn;
  animation-duration: .8s;
}

#modal__pop {
    position: absolute;
    left: 50%;
    width: 95%;
    max-width: 900px;
    margin: 45px 0;
    transform: translate3d(-50%,0,0);
}

#modal__pop-close {
    position: absolute;
    top: 0;
    right: 0;
}

#modal__pop-close:before {
    content: '×';
    display: block;
    cursor: pointer;
    color: white;
    font-style: normal;
    font-size: 28px;
    line-height: 28px;
    transform: translateY(-100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.modal__content-wrap {
    background: rgba(0,0,0,0.75);
    overflow: hidden auto;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.modal__content-wrap iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

@media only screen and (min-width: 1200px) {
  .ig-modal {
    max-width: 480px;
  }
}
@media only screen and (min-width: 1920px) {
  .ig-modal {
    max-width: 600px;
  }
}
