.popup {
  position: fixed;
  z-index: 100;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  display: none;
}

.popup__inner {
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 90%;
  margin: 0 auto;
  max-width: 1000px;
  height: auto;
  background: #fff;
  color: #222;
  -webkit-box-shadow: #ccc 0 0 30px;
  box-shadow: #ccc 0 0 30px;
}
.popup__inner-date {
  text-align: center;
  padding-top: 20px;
}
.popup-close {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 100%;
}

.popup-close:hover::before {
  background: #830000;
}

.popup-close::before {
  font-family: "msi-icons" !important;
  content: "\ea02";
  color: #fff;
  font-size: 20px;
  position: absolute;
  left: 100%;
  width: 25px;
  height: 25px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: #830000;
  cursor: pointer;
}

@media (min-width: 996px) {
  .popup-close::before {
    width: 50px;
    height: 50px;
    font-size: 30px;
  }
}

.popup__header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background: #e54832;
  padding: 10px;
  text-align: center;
  font-size: 24px;
  color: #fff;
  text-shadow: #111 1px 1px 3px;
}

@media (min-width: 996px) {
  .popup__header {
    font-size: 30px;
  }
}

.popup__content {
  height: 80vh;
  overflow-y: auto;
  padding: 25px;
}

.popup__content::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.popup__content::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.popup__content::-webkit-scrollbar-thumb {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#737576),
    color-stop(#bdbfc3),
    to(#96999c)
  );
  background: linear-gradient(to bottom, #737576, #bdbfc3, #96999c);
  border-radius: 10px;
}

@media (min-width: 996px) {
  .popup__content {
    padding: 50px;
  }
}

.terms {
  font-size: 17px;
  line-height: 1.8;
  font-weight: normal;
}

.terms-title {
  font-weight: bold;
  font-size: 20px;
  padding-bottom: 15px;
  margin-top: 25px;
}

.terms ol {
  margin-left: 20px;
}

.terms ol li {
  list-style: decimal;
  padding: 5px 0;
}
.terms ol li ol li {
  list-style: disc;
}
.terms ul li {
  list-style: disc;
  padding: 5px 0;
}

.terms ul {
  margin-left: 25px;
}

.terms h4 {
  padding: 15px 0;
}

.terms a {
  color: #e54832;
  text-decoration: underline;
}

.terms a:hover {
  text-decoration: none;
}

.terms table {
  display: table;
  margin-top: 10px;
  width: 100%;
}

.terms table th {
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    from(#dc7d6e),
    color-stop(#e6ac75),
    to(#ea5a5a)
  );
  background: linear-gradient(to right, #dc7d6e, #e6ac75, #ea5a5a);
  padding: 10px;
  color: #fff;
}

.terms table td {
  border: #ccc 1px solid;
  padding: 10px;
}
