.popup__wrapper {
  position: relative;
  opacity: 1;
  visibility: visible;
  z-index: 6001;
}

.popup__wrapper--hide {
  opacity: 0;
  visibility: hidden;
}

.popup-custom {
  position: fixed;
  top: 50%;
  left: 50%;
  box-sizing: border-box;
  width: 800px;
  /* padding-top: 60px; */
  padding-right: 20px;
  padding-left: 20px;
  font-family: 'MyriadPro', sans-serif;
  background-color: transparent;
  background-image: url('../img/international-popup-bg.png');
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  transition: 0.3s;
  transform: translate(-50%, -50%);
  z-index: 6002;
}

.popup-custom--hide {
  opacity: 0;
  visibility: hidden;
}

.popup__info {
  max-width: 600px;
}

.popup__close {
  position: absolute;
  top: -20px;
  right: 0;
  width: 40px;
  height: 40px;
  font-size: 0;
  border: none;
  background-color: transparent;
  background-image: url('../img/international-popup-close.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  cursor: pointer;
  outline: none;
  transition: 0.3s;
}

.popup__close:hover,
.popup__close:focus {
  transform: scale(1.1);
}

.popup__close:active {
  transform: scale(0.9);
}

.popup__text {
  margin: 5px 0;
  font-weight: 700;
  text-align: center;
}

.popup__media {
  position: relative;
  top: -45px;
  /* left: 50px; */
  width: 352px;
  height: 470px;
}

.popup__video {
  width: 100%;
  height: 100%;
}

.popup__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 120px;
  border: none;
  background-color: transparent;
  background-image: url('../img/international-popup-play.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.popup__content {
  width: 520px;
  margin-left: auto;
}

.popup__title {
  margin: 0;
  color: #1d1d1b;
  font-size: 30px;
  font-weight: 400;
  text-align: center;
}

.popup__subtitle {
  display: block;
  margin-top: 15px;
  color: #cd141f;
  font-size: 25px;
  font-weight: 500;
  text-align: center;
  background-image: url('../img/line.png');
  background-repeat: no-repeat;
  background-position: center;
}

.popup__subtitle span {
  padding: 0 15px;
  background-color: #FFFFFF;
}

.popup__date {
  width: 310px;
  margin: 0 auto;
  margin-bottom: 20px;
  padding: 5px 0;
  color: #FFFFFF;
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  background-color: #cd141f;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
}

/* .popup__text {
  margin: 0;
  color: #1d1d1b;
  font-size: 30px;
  font-weight: 400;
  text-align: center;
} */

.popup__form {
  width: 100%;
}

.popup__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
  transition: 0.3s;
  z-index: 6000;
}

.popup__overlay--hide {
  opacity: 0;
  visibility: hidden;
}

.popup__open,
.popup__header {
  display: none;
}

.popup__wrap {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.popup__location {
  padding: 5px 0;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

@media screen and (max-width: 1220px) {
  .popup-custom {
    width: 95%;
  }
}

@media screen and (max-width: 500px) { 
  /*.popup__wrapper {*/
  /*  position: fixed;*/
  /*  top: 0;*/
  /*  left: 0;*/
  /*  width: 100%;*/
  /*  height: 100%;*/
  /*  overflow-y: scroll;*/
  /*}*/
  
  .popup-custom {
    position: fixed;
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-left: 20px;
    padding-bottom: 30px;
    /* transform: none; */
  }
  
  .popup__media {
    position: relative;
    top: 0;
    left: 0;
    width: 250px;
    height: 250px;
    margin: auto;
    margin-bottom: 10px;
  }
  
  .popup__close {
    top: 5px;
    right: 5px;
  }
  
  .popup__content {
    display: none;
    width: 100%;
    padding-top: 30px;
  }
  
  .popup__title {
    font-size: 20px;
  }
  
  .popup__title::before,
  .popup__title::after {
    width: 60px;
  }
  
  .popup__subtitle {
    margin-bottom: 15px;
    font-size: 18px;
  }
  
  .popup__subtitle::before,
  .popup__subtitle::after {
    display: none;
  }
  
  .popup__subtitle br {
    display: none;
  }
  
  .popup__date {
    width: 210px;
    font-size: 20px;
  }
  
  /* .popup__text {
    font-size: 18px;
  } */
  
  .popup__text br {
    display: none;
  }
  
  .popup__form {
    width: 100%;
  }
  
  .popup__open {
    display: block;
    margin-top: 10px;
    padding: 10px 0;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 400;
    border: none;
    border-radius: 10px;
    background-color: #DD0505;
  }
  
  .popup__header {
    display: block;
  }
  
  .popup__wrapper {
    position: fixed;
    top: 0;
    left: 0;
  }
  
  .popup__wrap {
    flex-direction: column;
  }
}
