.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1054;
  display: none;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  outline: 0;
  background: rgba(0, 0, 0, .7);
}

.modal.fade .modal-dialog {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
  -webkit-transition: -webkit-transform 0.3s ease-out;
  -o-transition: -o-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
}

.modal.in .modal-dialog {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
}

.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 10px;
}

.modal-content {
  position: relative;
  background-color: #ffffff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid #999999;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  outline: 0;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000000;
}

.modal-backdrop.fade {
  filter: alpha(opacity=0);
  opacity: 0;
}

.modal-backdrop.in {
  filter: alpha(opacity=50);
  opacity: 0.5;
}

.modal-header {
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
}

.modal-header .close {
  margin-top: -2px;
}

.modal-title {
  margin: 0;
  line-height: 1.42857143;
}

.modal-body {
  position: relative;
  padding: 15px;
}

.modal-footer {
  padding: 15px;
  text-align: right;
  border-top: 1px solid #e5e5e5;
}

.modal-footer .btn+.btn {
  margin-bottom: 0;
  margin-left: 5px;
}

.modal-footer .btn-group .btn+.btn {
  margin-left: -1px;
}

.modal-footer .btn-block+.btn-block {
  margin-left: 0;
}

.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}

.msa-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.msa-popup-inner {
  background: #fff;
  border-radius: 8px;
  max-width: 400px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  min-width: 600px;
  text-align: center;
  height: auto;
  max-height: 80%;
  overflow: hidden;
}

.msa-popup-header {
  position: sticky !important;
  background: #fff;
  top: 0;
}

.msa-contact-list::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.msa-contact-list::-webkit-scrollbar-thumb {
  background-color: #aaa;
  border-radius: 10px;
}

.msa-contact-list::-webkit-scrollbar-track {
  background: transparent;
}

.popup-info:after {
  content: "";
  width: 100%;
  height: 0.5px;
  background: #ccc;
  display: block;
}

.popup-info p:last-of-type {
  margin-bottom: 15px !important;
}

.msa-popup-footer {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 10px 0px;
  background: #fff;
  width: 100%;
}

.msa-popup-inner h4 {
  color: #373547;
  display: block;
  padding: 20px;
  margin: 0;
  font-size: 24px;
  line-height: 28.8px;
  padding-inline-end: 30px !important;
}


.msa-btn-close {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  color: #373547 !important;
  position: absolute;
  inset-inline-end: 10px;
  top: 10px;
  font-size: 25px !important;
  font-weight: normal !important;
}

.msa-btn-close:hover,
.msa-btn-close:focus {
  background: transparent;
  color: #FB6166 !important;
  border: 0 !important;
}

.msa-btn-close span {
  display: block;
  width: 100%;
  height: 100%;
}

.msa-popup-inner .popup-info h5 {
  font-size: 16px;
  margin: 0;
  color: #FB6166;
  text-transform: capitalize;
}

.popup-info:nth-of-type(odd) {
  border-inline-end: 1px solid #cbbebe;
}

.msa-popup-inner .popup-info p {
  font-size: 16px;
  margin-bottom: 10px;
  min-height: 24px;
}

.msa-contact-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0 20px 20px 20px;
  height: auto;
  scrollbar-width: thin;
  scrollbar-color: #aaa transparent;
  -ms-overflow-style: none;
  max-height: 270px;
  overflow-x: auto;
}

.popup-info {
  padding: 10px 20px 0 20px;
  text-align: start;
}

.msa-popup-footer .msa-close-popup {
  border: 0;
  min-width: 150px;
  margin: 10px auto !important;
  background-color: #FB6166;
  font-size: 18px;
  font-weight: 700;
  line-height: 18px;
  color: #fff;
  border-radius: 10px 10px 10px 10px;
  padding: 16px 20px 16px 20px;
}

.msa-popup-footer .msa-close-popup:hover {
  background-color: #373547;
}

.msa-popup .popup-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .modal-dialog {
    width: 600px;
    margin: 30px auto;
  }

  .popup-info:last-of-type:after,
  .popup-info:nth-last-of-type(2):after {
    content: none !important;
  }

  .modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  }

  .modal-sm {
    width: 300px;
  }
}

@media (min-width: 992px) {
  .modal-lg {
    width: 900px;
  }
}

.clearfix:before,
.clearfix:after,
.modal-header:before,
.modal-header:after,
.modal-footer:before,
.modal-footer:after {
  display: table;
  content: " ";
}

.clearfix:after,
.modal-header:after,
.modal-footer:after {
  clear: both;
}

.hide {
  display: none !important;
}

.show {
  display: block !important;
}

/* .fade.in{
  display: block !important;
} */

@media(max-width: 767px) {
  .msa-popup-inner {
    min-width: 300px;
  }

  .msa-popup-inner h4 {
    font-size: 20px;
    line-height: 24px;
  }

  .msa-contact-list {
    grid-template-columns: repeat(1, 1fr);

  }

  .popup-info:nth-of-type(odd) {
    border-inline-end: 0;
  }

  .popup-info:last-of-type:after {
    content: none !important;
  }
}