.u-screen-reader {
  position:absolute;
  left:-10000px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

.modal-mask {
  position: fixed;
  z-index: 2147483647;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, .95);
  display: table;
  transition: opacity .3s ease;
}

.modal-wrapper {
  display: flex;
  vertical-align: top;
  height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modal--large .modal-container{
  width: 100%;
  max-width: 640px;
}

.modal-container {
  width: 100%;
  max-width: 375px;
  margin: 0 auto;
  padding: 35px;
  background-color: #fff;
  box-shadow: 0 3px 9px rgba(0,0,0,0.5);;
  transition: all .3s ease;
  font-family: "Whitney A", "Whitney B", Helvetica, Arial, sans-serif;
  position: relative;
}

.modal-header h3 {
  margin-top: 0;
  color: #232323;
  font-size: 21px;
  margin: -22px 0 .85em;
}

.modal-body {
  margin: 20px 0;
}

.modal-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.modal-footer p {
  font-size: 16px;
  width: 100%;
  text-align: left;
  margin: 16px 0 0;
}

.modal-default-button {
  font-size: 16px;
  padding: 12px 5px;
  text-transform: uppercase;
}

.modal-default-button:disabled {
  background: #e0e0e0;
}

.modal-close {
  color: #232323;
  font-size: 22px;
  position: absolute;
  top: 7px;
  right: 15px;
  float: right;
  display: block;
}

.modal-close:hover {
  cursor: pointer;
  color: currentColor;
}

.modal-close::before {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\e90e";
}

.modal-mask input {
  background: #fff !important;
}

.modal-mask textarea {
  background: #fff !important;
  min-height: 50px;
  height: auto;
  resize: vertical;
}

.modal-mask label {
  width: 100%;
  display: block;
}

.modal-error {
  display: block;
  color: #AA0808;
  font-size: 11px;
  line-height: 1em;
  padding: 3px 0;
}

.has-error {
  border-color: #AA0808 !important;
}

/*
 * The following styles are auto-applied to elements with
 * transition="modal" when their visibility is toggled
 * by Vue.js.
 *
 * You can easily play with the modal transition by editing
 * these styles.
 */

.modal-enter {
  opacity: 0;
}

.modal-leave-active {
  opacity: 0;
}

.modal-enter .modal-container,
.modal-leave-active .modal-container {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.modal-success .modal-container {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 35px;
  background-color: #12b5ea;
  color: #fff;
  box-shadow: 0 3px 9px rgba(0,0,0,0.5);;
  transition: all .3s ease;
  font-family: "Whitney A", "Whitney B", Helvetica, Arial, sans-serif;
}

.modal-success .modal-headline {
  font-size: 48px;
  line-height: 1.2em;
  font-weight: 700;
  margin: 0 0 40px;
}

.modal-success .modal-headline a {
  color: #fff;
  cursor: pointer;
}

.modal-success .modal-headline a:hover {
  text-decoration: underline;
}

.modal-success .modal-body {
  font-size: 26px;
  line-height: 1.2em;
  font-weight: 600;
  margin: 0;
}

.modal-success .modal-close{
  color: #fff;
  top: initial;
  right: 15px;
  bottom: 7px;
}
