/* modal */
.modal {
  overflow-y: auto;
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  background-color: rgba(0, 0, 0, 0.55);
}

.modal#tncModal {
  overflow: auto;
}

.modal-content {
  overflow-y: auto;
  background-color: #fefefe;
  margin: 0 auto;
  padding: 30px 15px 10px;
  width: 95%;
  max-width: 45%;
  color: #333;
  line-height: 130%;
  max-height: calc(100% - 130px);
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  border: 5px solid #006532;
}

.modal-content h5 {
  margin-bottom: 3px;
  font-size: 20px;
  font-weight: 600;
}

.modal-content .btn-holder {
  width: 100%;
  margin: 0 auto;
}

.modal-content .btn-holder .btn {
  display: inline-block;
  width: 140px;
  color: #fff;
  padding: 15px 12px 14px;
  border-radius: 4px;
  margin-bottom: 15px;
  margin-left: 5px;
  font-size: 19px;
  text-align: center;
  background-color: #39b54a;
  border: 1px solid #39b54a;
}

.modal-content .btn-holder .btn:before {
  content: " ";
  text-indent: -999em;
  background: url(icon_20px.png);
  width: 20px;
  height: 20px;
  margin-right: 5px;
  margin-top: -3px;
  display: inline-block;
  vertical-align: middle;
  background-position: 0px -61px;
}

.modal-content .btn-holder .btn.btn-accept:hover {
  opacity: 0.8;
  background-color: #34a344;
  border: 1px solid #34a344;
}

.modal-content .btn-holder .btn.btn-cancel {
  border: 1px solid #b2b2b2;
  color: #666;
  background-color: #fff;
  width: 100px;
}

.modal-content .btn-holder .btn.btn-cancel:hover {
  background-color: #f0f0f0;
}

/* The Close Button */
.modal-content .close {
  display: block;
  height: 25px;
  max-height: 25px;
  min-height: 25px;
  max-width: 25px;
  min-width: 25px;
  width: 25px;
  bottom: auto;
  left: auto;
  position: absolute;
  right: 10px;
  top: 5px;
  background-image: url(https://www.hangseng.com/etc/designs/hase/pws/common/rwd-assets/images/icn_stroke_close_grey02.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 1;
}

.modal-content .close:hover {
  background-image: url(https://www.hangseng.com/etc/designs/hase/pws/common/rwd-assets/images/icn_stroke_close_hase_green.svg);
}

.modal-content .close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-content .ico-triangle {
  display: block;
  position: absolute;
  bottom: -9px;
  left: 50%;
  margin-left: -8px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 8px 0 8px;
  border-color: #ffffff transparent transparent transparent;
}

.modal.btn-modal {
  position: absolute;
  background: transparent;
  overflow: unset !important;
  top: -185px;
  left: 4%;
}

.modal.btn-modal .modal-content {
  box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.5);
  max-height: 1000% !important;
  top: 0;
  transform: translateY(0%);
  width: 190px;
  padding: 20px 25px 5px;
}

.modal.btn-modal .modal-content .close {
  top: 0px;
  right: 0px;
  display: block;
  width: 26px;
  height: 26px;
  min-width: 20px;
  min-height: 20px;
}

.modal.btn-modal .modal-content .btn-holder {
  margin: 0 auto;
  text-align: center;
}

.modal.btn-modal .modal-content .btn-holder .btn {
  margin-left: 0;
  width: 100%;
  font-size: 16px;
  padding: 12px 12px 11px;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .modal-content {
    max-width: 100%;
  }
}
.warn-modal .modal-content {
  top: 30%;
  border: 0 none;
  padding: 30px;
  border-radius: 20px;
}
@media (max-width: 767px) {
  .warn-modal .modal-content {
    max-width: 90%;
  }
}
.warn-modal .modal-content .warn-heading {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding-top: 15px;
  padding-bottom: 20px;
}
.warn-modal .modal-content .warn-desc {
  font-size: 15px;
  text-align: left;
  margin-top: 10px;
  line-height: 24px;
}
.warn-modal .modal-content .warn-btn {
  text-align: right;
  padding-top: 40px;
}
.warn-modal .modal-content .warn-btn .cancel-btn {
  border: 1px solid #005126;
  color: #005126;
  padding: 10px 40px;
  margin-right: 8px;
  border-radius: 3px;
}
.warn-modal .modal-content .warn-btn .con-btn {
  background-color: #005126;
  color: #fff;
  padding: 10px 40px;
  border-radius: 3px;
}/*# sourceMappingURL=modal.css.map */