.idae-dialog {
  font-size: 0.9em;
  width: 100%;
  height: 100%;
  display: flex;
  display: -ms-flexbox;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  overflow: auto;
  padding: 1.5em;
  background: rgba(0,0,0,0.8);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
}

@media screen and (min-width: 620px) {
  .idae-dialog {
    font-size: 1em;
  }
}

  .idae-dialog .dialog__box {
    max-width: 31.625em;
    background: #fff;
    border-radius: 0.5em;
    padding: 1.5em 0.5em 0.5em;
    position: relative;
  }

    .idae-dialog .button--close {
      width: 2em;
      height: 2em;
      background-image: url('../images/idae/button-close.png');
      background-size: contain;
      position: absolute;
      right: 0.5em;
      top: 0.5em;
      z-index: 2;
    }

    @media screen and (min-width: 620px) {
      .idae-dialog .button--close {
        transform: translate(100%, -100%);
        right: 0;
        top: 0;
      }

      .csstransforms .idae-dialog .button--close:hover,
      .csstransforms .idae-dialog .button--close:focus {
        transform: translate(100%, -100%);
      }
    }

    .idae-dialog .box__header {
      display: flex;
      display: -ms-flexbox;
      -ms-flex-pack: distribute;
      justify-content: space-around;
      align-items: center;
      -ms-flex-align: center;
      margin: 0 0 1.5em;
    }

      .idae-dialog .box__header .logo {
        flex: 0 1 auto;
        -ms-flex: 0 1 auto;
        font-size: 0.8em;
        background-size: contain;
        background-position: 50% 50%;
        background-repeat: no-repeat;
      }

      @media screen and (min-width: 620px) {
        .idae-dialog .box__header .logo {
          font-size: 1em;
        }
      }

      .idae-dialog .box__header .logo--idae {
        width: 10.4375em;
        height: 9.375em;
        background-image: url('../images/idae/modal-patrons.png');
      }

      .idae-dialog .box__header .logo--cuetara {
        width: 10.1875em;
        height: 4.875em;
        background-image: url('../images/idae/modal-cuetara.png');
      }

    .idae-dialog .box__content {
      max-height: 260px;
      background: #efefef;
      border-radius: 0.5em;
      padding: 0.5em 1.5em;
      overflow: auto;
    }

    @media screen and (min-width: 620px) {
      .idae-dialog .box__content {
        padding: 1.125em 2.875em;
      }
    }

      .idae-dialog .dialog__box p {
        font: normal 0.6875em / 1.4 Arial, Helvetica, sans-serif;
        color: #121212;
        margin: 1em 0;
      }
