.modal-container.active .main__modal, .mobile-ask-form.active .main__modal {
  z-index: 99999999999999999999999 !important;
}

.main__modal {
  position: relative !important;
  visibility: visible !important;
  max-width: 770px !important;
  top: auto !important;
}

.mobile-ask-form .main__modal {
  z-index: 1;
  width: 100%;
  height: 100vh;
  background: #fff;
}

/* Greeting Modal Container */
.modal-container {
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}

/* Greeting Modal Container - when open */
.modal-container.active {
  visibility: visible;
  opacity: 1;
  z-index: 9999999999999999999999999;
}

/* Greeting Modal */
.modal-container .modal {
  opacity: 0 !important;
  transform: translateY(-1rem) !important;
  transition: all .3s cubic-bezier(.075, .82, .165, 1) !important;
  transition-delay: .2s !important;
}

/* Main Modal - when open */
.modal-container.active .modal {
  transform: translateY(0) !important;
  opacity: 1 !important;
}

/* Modal Container Styles */
.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #4a4a4a;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  overflow-y: auto;
  z-index: -1;
}

/* Modal Background Styles */
.modal__bg {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .6) 0, rgba(0, 0, 0, .9) 100%);
  visibility: hidden;
  position: fixed;
  opacity: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overflow-scrolling: touch;
  -webkit-overflow-scrolling: touch;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.mobile-ask-form .modal-bg {
  background: transparent !important;
}

.modal-container.active .modal-bg, .mobile-ask-form.active .modal-bg {
  visibility: visible;
  opacity: 1;
  cursor: default;
}
.pum-content {
  outline: none !important;
  line-height: normal;
}
/* Modal close btn Styles */
.modal-container.active .modal-close {
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  min-width: 1em;
  z-index: 2;
  position: absolute;
  left: auto;
  bottom: auto;
  padding: 0;
  font-family: inherit;
  font-size: 18px;
  border: 2px none #fff;
  border-radius: 0;
  box-shadow: 0px 0px 0px 0px rgba(255, 255, 255, 0);
  text-shadow: 0px 0px 0px rgba(255, 255, 255, 0);
  background-color: rgba(255, 255, 255, 0);
  top: 36px;
  right: 36px;
  width: 18px;
  height: 18px;
  line-height: 18px;
  color: #000;
}

.modal-close:hover {
  opacity: 1;
}

@media (max-width: 1019px) {
  .modal-container .pum-container {
    top: 10px !important;
    margin-left: 8px;
    margin-right: 8px;
  }

  .modal-container {
    align-items: stretch;
  }
}

@media (max-width: 400px) {
  .modal-close {
    top: 13px;
    right: 13px;
  }
}

.fixapple {
  /*fix apple*!*/
  position: fixed;
  width: 100%;
  overflow-y: scroll !important;

}

body.fixapple {
  overflow-y: auto !important;
}