.modal .modal-dialog:not(.modal-dialog-centered){
  margin-top:5%;
}
.modal .modal-title{
  font-size:1.625rem;
  color:#002664;
  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.875rem;
  color:#fff;
  transition:color .2s ease-out;
}
.modal .modal-close i:hover{
  color:#1676d0;
}

@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:#1676d0;
  }

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

  .modal.fade .modal-dialog{
    transition:none !important;
  }
}
.branded-overlay{
  background:rgba(0, 38, 100, .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:#1676d0;
}
.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.75rem;
  text-shadow:none;
}
#modal-mjim .modal-body{
  padding:2rem 16%;
  font-size:1.0625rem;
}
#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.313rem !important;
}
#modal-mjim.black_and_white .modal-content{
  border:24px solid #000;
}
#modal-mjim.black_and_white .modal-header{
  background:#232222;
  color:#fff;
}
#modal-mjim.black_and_white .modal-body,#modal-mjim.black_and_white .modal-footer{
  background:#404142;
  color:#fff;
}
#modal-mjim.toc_colours .modal-content{
  border:3px solid #fff;
}
#modal-mjim.toc_colours .modal-header{
  background:#5c5e5f;
  color:#fff;
}
#modal-mjim.toc_colours .modal-body,#modal-mjim.toc_colours .modal-footer{
  background:#fff;
  color:#59636f;
}

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