.noScroll {
  overflow: hidden;
}

.jpopup-overlay {
  /*Hides pop-up when there is no "active" class*/
/*  visibility: hidden;*/
  position: absolute;
  background: #ffffff;
  border: 3px solid #666666;
  width: 50%;
  height: 50%;
  left: 25%;
  bottom: 25%;
  z-index: 9999;

  position: fixed;
  background: rgba(60,60,60,.9);
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  display: flex;
  align-content: center;
  justify-content: center;
  padding: 70px 20px 50px;
  bottom: auto;
  border: none;
  overflow: auto;
  display: none;
}

.jpopup-overlay-inner {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 100%;
}

.jpopup-overlay.active {
  /*displays pop-up when "active" class is present*/
/*  visibility: visible;*/
/*  text-align: center;*/
}

.jpopup-content {
  /*Hides pop-up content when there is no "active" class */
/*  visibility: hidden;*/
  max-width: 778px;
  background: #fff;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  align-self: center;
/*  padding: 40px 20px 50px;*/
  width: 100%;
  /*max-height: 777px;
  overflow: auto;*/

/*      height: 100%;*/
    max-height: 777px;
    position: relative;
/*        overflow: hidden;*/
}

.jpopup-content.show {
/*  height: 100%;*/
}

.jpopup-content.active {
  /*Shows pop-up content when "active" class is present */
/*  visibility: visible;*/
}

.jpopup-content-inner {
/*  max-width: 582px;*/
/*  margin: auto;*/

  overflow: auto;
      max-height: calc(777px - 80px);
  /*max-width: 666px;
  margin-left: auto;*/
  height: 100%;

  padding: 40px 20px 50px;
}

.jpopup-content-inner2 {
   max-width: 582px;
       margin: auto;
}

.jpopup-content-inner h3 {
  color: #134297;
  font-size: 40px; 
  line-height: 50px;
  font-weight: 500;
  margin-bottom: 0px;

  font-size: 30px;
}

.jtempbutton {
  display: inline-block;
  vertical-align: middle;
  border-radius: 30px;
  margin: .20rem;
  font-size: 1rem;
  color: #666666;
  background: #ffffff;
  border: 1px solid #666666;
}

.jtempbutton:hover {
  border: 1px solid #666666;
  background: #666666;
  color: #ffffff;
}

.jtespanerror{
  color: red;
}

.jemergencycontentmain {
    margin-top: 37px;
}

.jemergencycontent {
  display: flex;
  justify-content: space-between;
}

.jemergencycontentmain .jemergencycontent {
  margin-bottom: 50px;
/*      padding-bottom: 30px;*/
}

.jemergencyhospital {
  font-size: 30px; 
  line-height: 35px;
  font-weight: 500;
  width: 38%;
  padding-right: 20px;

  font-size: 20px;
  line-height: 30px;
}

.jemergencyhospitalright {
  display: flex;
  width: 62%;
  justify-content: space-between;

  width: 120px;
}

.jemergencycontentsub {
    display: none;
}

.jemergencycontentsub .jemergencycontent {
  margin-bottom: 50px;
}

.jemergencycontentsub .jemergencycontent:last-child {
  margin-bottom: 0px;
}

.jemergencymobile {
  font-size: 30px; 
  line-height: 35px;
  margin-right: 20px;

  font-size: 20px;
  line-height: 30px;

      width: calc(62% - 120px);
}

.jemergencylogowaze,
.jemergencylogogoogle {
  font-size: 0px; 
  line-height: 0px;
  display: block;
  margin-left: 30px;
}

.jemergencylogowaze a {
  background: url(/malaysia/wp-content/uploads/2023/10/waze-icon.png) center no-repeat;
  width: 35px; 
  height: 35px;
  display: block;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.jemergencylogogoogle a {
  background: url(/malaysia/wp-content/uploads/2023/10/gmal-icon.png) center no-repeat;
  width: 25px; 
  height: 36px;
  display: block;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.jemergencycontentdivider {
  position: relative;
  font-size: 22px; 
  line-height: 36px;
  margin-bottom: 40px;

  margin-bottom: 15px;
}

.jemergencycontentdivider p {
  background: #fff;
  padding-right: 10px;
  position: relative;
  display: inline-block;
  margin-bottom: 0px;
}

.jemergencycontentdivider:before {
  content: '';
  position: absolute;
  top: 18px;
  left: 0px;
  width: 100%;
  height: 1px;
  background: #00B2A9;
}

.jemergencycontentdivider a {
  color: #00B2A9;
  font-size: 22px;
  line-height: 22px;
  background: #fff;
  padding: 20px 10px;
  min-width: 212px;
  text-align: center;
  position: absolute;
  right: 0px;
  top: -14px;
  border: 1px solid #00B2A9;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  border-radius: 100px;
  text-decoration: none;

  font-size: 16px;
}

.jemergencycontentdivider a:hover {
  color: #00B2A9;
  text-decoration: none;
  opacity: 1;
}



.jpopup-close {
  position: absolute;
  font-size: 0px;
  line-height: 0px;
  padding: 0px;
  border: none;
  background: none;
  top: -56px;
  right: 0px;
  background: url(/malaysia/wp-content/uploads/2023/11/pop-up-close-icon.png) center no-repeat;
  width: 48px; 
  height: 48px;
  cursor: pointer;
  outline: none !important;
}

.jemergencyhospitalrightSocial {
  display: flex;
}


@media (max-width: 1024px){

.jpopup-content-inner h3 {
  font-size: 28px;
  line-height: 38px;

  font-size: 19px;
  line-height: 25px;
}

.jemergencyhospital,
.jemergencymobile {
  font-size: 16px; 
  line-height: 24px;
}

}


@media (max-width: 767px){

.jemergencycontent {
  position: relative;
}

.jemergencyhospitalright {
  position: absolute;
  right: 0px;
  top: 0px;
}

.jemergencycontent {
  flex-wrap: wrap;
}

.jemergencyhospital,
.jemergencymobile {
  width: 100%;
}

.jemergencycontentdivider {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.jemergencycontentdivider a {
  position: static;
  min-width: 168px;
  max-width: 168px;
  margin: auto;
  padding: 13px 10px;
  margin-top: 17px;
}

.jemergencycontentdivider p {
  background: transparent;
}

.jemergencycontentdivider:before {
  top: -36px;
  left: 50%;
  margin-left: -35px;
      max-width: 70px;
}

.jemergencycontentmain .jemergencycontent {
  margin-bottom: 65px;
}

}