.modal .modal-dialog:not(.modal-dialog-centered){
  margin-top:5%;
}
.modal .modal-title{
  font-size:1.5rem;
  color:#002664;
  padding:0;
  line-height:normal;
}
.modal .modal-content{
  border-radius:7px;
  border:0;
}
.modal .modal-header{
  border:0;
  padding:1.5rem 1.5rem 0;
}
.modal .modal-close{
  border:none;
  background:transparent;
  position:absolute;
  right:-2rem;
  top:-2rem;
}
.modal .modal-close i{
  font-size:1.9375rem;
  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:0 4rem 0 0;
  }
  .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:#002664;
}

.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;
}

.views-exposed-form .modal-close-trans{
  display:none;
}
.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:3rem;
  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.25rem !important;
}
#modal-mjim.black_and_white .modal-content{
  border:24px solid #000;
}
#modal-mjim.black_and_white .modal-header{
  background:#232222;
}
#modal-mjim.black_and_white .modal-header h2{
  color:#fff;
}
#modal-mjim.black_and_white .modal-body,#modal-mjim.black_and_white .modal-footer{
  background:#404b5d;
}
#modal-mjim.black_and_white .modal-body p,#modal-mjim.black_and_white .modal-footer p{
  color:#fff;
}
#modal-mjim.toc_colours .modal-content{
  border:3px solid #fff;
}
#modal-mjim.toc_colours .modal-header{
  background:#5c5e5f;
}
#modal-mjim.toc_colours .modal-header h2{
  color:#fff;
}
#modal-mjim.toc_colours .modal-body,#modal-mjim.toc_colours .modal-footer{
  background:#fff;
  color:#404b5d;
}

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