/* Modal Interstitial */
.modal {
  display: none;
  position: fixed;
  overflow-y: scroll;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 100vh;
  background-color: rgba(255, 255, 255, 0.8);

  /* z-index: 20;*/
}

.modal-content {
  /*position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);*/

  width: 666px;
  margin: 2rem auto;
  z-index: -1;
  /* TWK-864*/
  max-width: calc(100% - 4rem);
  /*max-height: calc(100% - 2rem);*/

  padding: 2rem;

  background-color: white;
  -webkit-box-shadow: 0 0 1.5rem rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 1.5rem rgba(0, 0, 0, 0.25);
}

.modal-close-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;

  height: 0;
  max-width: calc(666px + 4rem);
  margin: 0 auto;
  padding: 0 2rem;
  position: -webkit-sticky;
  position: relative;
  top: 0;
}

.modal-close-trigger {
  position: absolute;
  top: 0.5rem;
  right: 30px;

  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;

  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  padding-bottom: 0.2em;

  background-color: rgb(255, 103, 0);
  color: white;
  cursor:pointer;
}

.modal-body a {
  text-decoration: none !important;
}

.btn-outline-primary {
  color: #FF6700;
  font-weight: bold;
  border-color: #FF6700;
  border-radius: 8px;
  border-width: 2px;
  text-transform: uppercase;
}

.button {
  display: inline-block;
  margin: 0.5rem 0;
  padding: 0.5rem 2rem;
  text-align: center;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: bold;
  border-radius: 4px;
  border: 2px solid rgb(255, 103, 0);
  outline-color: rgb(255, 103, 0);
  color: rgb(255, 103, 0);
  background-color: white;
  cursor: pointer;
}

a.button:hover {
  color: #3EB1C9 !important;
}


@media screen and (max-width: 580px) {
  .modal-close-trigger {

    top: 0.5rem;
    right: 10px;

  }
}



@media screen and (max-width: 480px) {
  .modal-close-trigger {
    position: absolute;
    top: 0.5rem;
    right: 1.0rem;
    /* TWK-864*/
  }
}