.modal .modal-dialog:not(.modal-dialog-centered){
  margin-top:5%;
}
.modal .modal-title{
  font-size:1.4375rem;
  color:#4c2f48;
  padding-bottom:0;
  text-shadow:2px 2px 1px #fff, 1px 1px 0 #fff;
}
.modal .modal-content{
  border-radius:4px;
  border:0;
}
.modal .modal-header{
  border:0;
  padding-top:.5rem;
  padding-bottom:0;
}
.modal .modal-close{
  border:none;
  background:transparent;
  position:absolute;
  right:-2rem;
  top:-2rem;
}
.modal .modal-close i{
  font-size:1.8125rem;
  color:#fff;
  transition:color .1s ease-out;
}
.modal .modal-close i:hover{
  color:#00866c;
}

@media (max-width:767.98px){
  .modal:not(#modal-search) .modal-content{
    position:fixed;
    top:0;
    left:0;
    height:100%;
    width:100vw;
    padding:0;
    overflow:scroll;
    border-radius:0;
    border:none;
  }
  .modal:not(#modal-search) .modal-header{
    border-radius:0;
    border:none;
    padding-right:4rem;
  }
  .modal:not(#modal-search) .modal-footer{
    border-radius:0;
    border:none;
  }
  .modal:not(#modal-search) .modal-close{
    right:1rem;
    top:.75rem;
    z-index:2;
  }
  .modal:not(#modal-search) .modal-close i{
    color:#00866c;
  }

  .modal.fade .modal-dialog,.modal.show .modal-dialog{
    transform:none !important;
  }

  .modal.fade .modal-dialog{
    transition:none !important;
  }
}
.branded-overlay{
  background:rgba(76, 47, 72, .9);
}

.modal-trans .modal-content,.modal-trans .modal-footer,.modal-trans .modal-header{
  background-color:transparent;
}
.modal-close-trans{
  display:inline-block;
  color:#fff;
}
.modal-close-trans:hover{
  color:#00866c;
}
.close-corner .modal-close{
  position:absolute;
  top:1rem;
  right:1rem;
}
#modal-mjim .modal-dialog{
  max-width:100%;
  padding:2rem 5%;
}
#modal-mjim .modal-content{
  border-radius:0;
}
#modal-mjim .modal-header{
  padding:2rem 16%;
  border-radius:0;
}
#modal-mjim .modal-title{
  font-size:2.625rem;
  text-shadow:none;
}
#modal-mjim .modal-body{
  padding:2rem 16%;
  font-size:1.25rem;
}
#modal-mjim .modal-footer{
  padding:0 16% 4rem;
  border:none;
  border-radius:0;
  justify-content:flex-start;
}
#modal-mjim .modal-footer .continue{
  margin-bottom:1rem;
}
#modal-mjim .modal-footer .continue,#modal-mjim .modal-footer .more-info{
  padding:1rem 1.5rem;
  border:1px solid #000;
  font-size:1.25rem !important;
}
#modal-mjim.black_and_white .modal-content{
  border:24px solid #000;
}
#modal-mjim.black_and_white .modal-header{
  background:#212529;
  color:#fff;
}
#modal-mjim.black_and_white .modal-body,#modal-mjim.black_and_white .modal-footer{
  background:#333;
  color:#fff;
}
#modal-mjim.toc_colours .modal-content{
  border:3px solid #fff;
}
#modal-mjim.toc_colours .modal-header{
  background:#51534a;
  color:#fff;
}
#modal-mjim.toc_colours .modal-body,#modal-mjim.toc_colours .modal-footer{
  background:#fff;
  color:#51534a;
}

/*# sourceMappingURL=modal.css.map */