.modal {
  font-family: inherit;
}
.modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  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;
}
.modal__container {
  background-color: #fff;
  padding: 3.5rem 1.6875rem 2.375rem;
  max-inline-size: 41rem;
  max-block-size: 100vh;
  overflow-y: auto;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  z-index: 99999999;
  inline-size: 100%;
}
.modal__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-padding-after: 1rem;
          padding-block-end: 1rem;
}
.modal__header h3 {
  margin: 0;
}
.modal__title {
  margin-block: 0;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  color: #00449e;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.modal__close {
  background: transparent;
  border: 0;
}
.modal__header .modal__close:before {
  content: "\2715";
}
.modal__content {
  max-block-size: 31.25rem;
  overflow: auto;
}
.modal__content > *:first-child {
  -webkit-margin-before: 0;
          margin-block-start: 0;
}
.modal__content > *:last-child {
  -webkit-margin-after: 0;
          margin-block-end: 0;
}
.modal__footer {
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-padding-before: 1.5rem;
          padding-block-start: 1.5rem;
}
.modal__footer .btn {
  inline-size: 9.125rem;
}
.modal__footer .btn + .btn {
  -webkit-margin-start: 1.75rem;
          margin-inline-start: 1.75rem;
}
@media (min-width: 767px) {
  .modal__container {
    padding: 2.5rem 3.5rem 1.5rem;
  }
  .modal__footer .btn {
    inline-size: 15rem;
  }
  .modal__footer .btn + .btn {
    -webkit-margin-start: 2rem;
            margin-inline-start: 2rem;
  }
}
@media (min-width: 1200px) {
  .modal__container {
    padding: 2.5rem 4.25rem 2rem;
    max-inline-size: 67.25rem;
  }
}
.micromodal-slide {
  display: none;
}
.micromodal-slide.is-open {
  display: block;
  position: absolute;
  z-index: 9999;
}
.micromodal-slide[aria-hidden="false"] .modal__overlay {
  -webkit-animation: mmfadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
          animation: mmfadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}
.micromodal-slide[aria-hidden="false"] .modal__container {
  -webkit-animation: mmslideIn 0.3s cubic-bezier(0, 0, 0.2, 1);
          animation: mmslideIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}
.micromodal-slide[aria-hidden="true"] .modal__overlay {
  -webkit-animation: mmfadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
          animation: mmfadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}
.micromodal-slide[aria-hidden="true"] .modal__container {
  -webkit-animation: mmslideOut 0.3s cubic-bezier(0, 0, 0.2, 1);
          animation: mmslideOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}
.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
  will-change: transform;
}
@-webkit-keyframes mmfadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes mmfadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes mmfadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes mmfadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@-webkit-keyframes mmslideIn {
  from {
    -webkit-transform: translateY(15%);
            transform: translateY(15%);
  }
  to {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes mmslideIn {
  from {
    -webkit-transform: translateY(15%);
            transform: translateY(15%);
  }
  to {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@-webkit-keyframes mmslideOut {
  from {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  to {
    -webkit-transform: translateY(-10%);
            transform: translateY(-10%);
  }
}
@keyframes mmslideOut {
  from {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  to {
    -webkit-transform: translateY(-10%);
            transform: translateY(-10%);
  }
}
