.ts-modal {
  background: rgba(255, 255, 255, 0.9);
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 999;
  top: 0;
  left: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 40px 20px;
  box-sizing: border-box;
}
.ts-modal.hide {
  display: none;
}
.ts-modal .ts-modal-wrapper {
  width: 60%;
  max-width: 960px;
  height: auto;
  position: relative;
  margin: auto;
}
.ts-modal .ts-modal-wrapper .close {
  position: absolute;
  background: url("/wp-content/plugins/modales-triples/img/icon-close.svg")
    scroll no-repeat center;
  background-size: contain;
  width: 30px;
  height: 30px;
  right: 25px;
  top: 25px;
  z-index: 10;
  cursor: pointer;
  opacity: 1;
}
.ts-modal .ts-modal-wrapper .ts-modal-content {
  background: url("/wp-content/plugins/modales-triples/img/schedule-bg.jpg")
    scroll no-repeat center;
  background-size: cover;
  padding: 50px 70px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ts-modal .ts-modal-wrapper .ts-modal-content img {
  display: block;
  margin: 20px auto;
}
.ts-modal .ts-modal-wrapper .ts-modal-content h2 {
  font-size: 35px;
  line-height: 1.1;
  font-weight: lighter;
  text-align: center;
  margin: 0 0 20px 0;
  color: #052675;
}
.ts-modal .ts-modal-wrapper .ts-modal-content p,
.ts-modal .ts-modal-wrapper .ts-modal-content ul {
  font-weight: lighter;
  line-height: 1.1 !important;
  margin: 0 0 10px 0;
  font-size: 20px;
  line-height: 1.6;
  text-align: center;
  color: #052675;
}
.ts-modal .ts-modal-wrapper .ts-modal-content a:not(.button) {
  font-weight: 600;
  text-decoration: underline;
}
.ts-modal .ts-modal-wrapper .ts-modal-content a.button {
  max-width: 340px;
  display: table;
  width: 90%;
  margin: 20px auto;
}

@media screen and (max-width: 40rem) {
  .ts-modal {
    padding: 20px 0;
    align-items: flex-start;
  }
  .ts-modal .ts-modal-wrapper {
    width: 100%;
  }
  .ts-modal .ts-modal-wrapper .ts-modal-content {
    margin: 20px;
    padding: 20px 30px;
  }
}
