/* Online and program pages Enquire Now Form Popup CSS start*/
.popup_tm {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 100px 15px;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  overflow-y: auto;
  transition: 0.5s;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  .programme_guide_form_wrap {
    background-color: transparent;
    box-shadow: unset;
    padding: 0;
  }
}

.popup_tm.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.popup_tm .popup_box {
  position: relative;
  background-color: #fff;
  padding: 25px 30px;
  max-width: 700px;
  border-radius: 5px;
  overflow: hidden;
}

.popup_tm .popup_box .close {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #f69227;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;

  &::before,
  &::after {
    content: "";
    position: absolute;
    width: 3px;
    height: 20px;
    background: #fff;
    border-radius: 5px;
  }
  &::before {
    transform: rotate(45deg);
  }
  &::after {
    transform: rotate(135deg);
  }
}
.closebtn {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #f69227;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0 !important;

  &::before,
  &::after {
    content: "";
    position: absolute;
    width: 3px;
    height: 20px;
    background: #fff;
    border-radius: 5px;
  }
  &::before {
    transform: rotate(45deg);
  }
  &::after {
    transform: rotate(135deg);
  }
}
.popup_tm .popup_box .gform_title {
  display: none !important;
}
@media (max-width: 767.98px) {
  .popup_tm .popup_box {
    padding: 20px 15px;
  }
}

.online_program_en a.enquire_today_btn {
  display: none !important;
}
.online_program_en button.enquire_today_btn {
  display: inline-block !important;
}

/* convert form section to popup css */
.programme_guide_form_wrapper.active {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: auto;
  padding: 70px 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: row;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;

  .programme_guide_form_wrap {
    max-width: 600px;
    width: 100%;
    padding-top: 35px !important;
  }
}
/* Online and program pages Enquire Now Form Popup CSS end*/
