/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
 * core/modal.scss *
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.modal .ada {
  display: initial !important;
  height: 1px;
  left: -5000px;
  overflow: hidden;
  position: absolute;
  top: 0;
  visibility: visible !important;
  width: 1px;
}

.modal ::selection,
.modal .selection {
  background-color: rgba(255, 255, 0, 0.2);
  text-shadow: 1px 2px 3px #ccc;
}

.modal [aria-hidden='true'] {
  visibility: hidden;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
 * core/modal/basis.scss *
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.modal {
  align-items: center;
  background-color: rgba(33, 33, 33, 0.8);
  display: none;
  height: 100%;
  justify-content: center;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
}

.modal.active {
  display: flex !important;
}

.modal>* {
  max-height: 100%;
  max-width: 100%;
  position: relative;
}

.modal>div {
  background-color: white;
  box-shadow: 0 0.5em 3em -0.5em black;
  display: block;
  max-width: 960px;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
 * core/modal/closer.scss *
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.modal>div a.closer {
  color: gray;
  font-size: 2em;
  height: 0.9em;
  line-height: 0.5;
  overflow: hidden;
  position: absolute;
  right: 0.05em;
  text-align: center;
  text-decoration: none;
  top: 0.05em;
  width: 0.9em;
  z-index: 9999;
}

.modal>div a.closer:focus,
.modal>div a.closer:hover {
  color: #ae1e23;
}

.modal>div a.closer::after {
  content: '\d7';
  text-shadow: #fafafa 0 0 1px, #fafafa 0 0 1px, #fafafa 0 0 1px;
  user-select: none;
  vertical-align: middle;
}

.modal>div.classic a.closer {
  background-color: #333;
  border: 2px solid #eee;
  border-radius: 2em;
  color: #eee;
  height: 2em;
  right: -1em;
  top: -1.25em;
  width: 2em;
}

.modal>div.classic a.closer:focus,
.modal>div.classic a.closer:hover {
  background-color: #ae1e23;
}

.modal>div.classic a.closer::after {
  font-size: 1.4em;
  font-weight: 800;
  left: 0.5em;
  line-height: 0;
  position: absolute;
  top: 0.75em;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
 * core/modal/dialog.scss *
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.modal .wells {
  line-height: 1.2;
  max-height: 80%;
  max-width: 80%;
  padding: 1em;
  text-align: left;
  width: 28em;
}

.modal .wells div * {
  font-family: "Wells Fargo Sans", sans-serif;
  font-size: 1.2em;
}

.modal .wells .content h2 {
  color: #444;
  font-size: 1.25em;
  font-weight: bold;
  margin: 0 0 1em;
}

.modal .wells .footer {
  font-weight: 600;
  margin-top: 2.5em;
  text-align: right;
}

.modal .wells .footer a {
  display: inline-block;
  margin-left: 1.5em;
}

.modal .wells .header {
  margin: 0 0 1.5em;
  text-align: left;
}

.modal .wells .header .logo {
  height: 3em;
  min-height: 50px;
  min-width: 50px;
  width: 3em;
}

.modal .wells .utilitybtn {
  background-color: #5174b8;
  background-image: linear-gradient(to bottom, #5174b8 0, #3d62a3 50%, #335898 52%, #244a87 100%);
  border: 0;
  border-radius: 4px;
  color: white;
  cursor: pointer;
  display: inline;
  margin-right: 0.5em;
  padding: 0.3em 0.6em;
  text-align: center;
  text-decoration: none;
  text-shadow: none;
  white-space: nowrap;
  z-index: 1;
}

/* sm only */
@media (min-width: 0px) and (max-width: 540px) {
  .modal .wells {
    font-size: 14px;
  }
}

/* md and above */
@media (min-width: 541px) {
  .modal .wells {
    font-size: 16px;
  }
}
