.abes-speaker-modal {
    position: fixed;
    inset: 0;

    z-index: 999999;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;
}


.abes-speaker-modal.is-open {
    display: flex;
}


.abes-speaker-modal__overlay {
    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0.75);
}


/* Janela do modal */

.abes-speaker-modal__dialog {

    position: relative;

    z-index: 2;

    width: 95vw;

    max-width: 1200px;

    height: 70vh;

    background: #fff;

    border-radius: 12px;

    overflow: hidden;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.45);
}


/* Iframe */

.abes-speaker-modal__iframe {

    display: block;

    width: 100%;

    height: 70%;

    border: none;

}


/* Botão fechar */

.abes-speaker-modal__close {
  position: absolute;
  top: 25px;
  right: 25px;
  z-index: 20;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 100%;
  background: #734bdf;
  color: #fff;
  font-size: 50px;
  line-height: 0;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0,0,0,.3);
  padding-top: 25px;
  padding-bottom: 35px;
  padding-left: 20px;
  padding-right: 40px;
}

.abes-speaker-modal__close:hover {

  background: #8761ee;

}

/* Botão fechar OLD
.abes-speaker-modal__close {

    position: absolute;

    top: 12px;
    right: 12px;

    z-index: 20;

    width: 44px;
    height: 44px;

    border: none;

    border-radius: 50%;

    background: #111;

    color: #fff;

    font-size: 32px;

    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.3);

}



.abes-speaker-modal__close:hover {

    transform: scale(1);

}
 */


body.abes-speaker-modal-open {

    overflow: hidden;

}


/* Mobile */

@media (max-width: 767px) {

    .abes-speaker-modal {

        padding: 8px;

    }


    .abes-speaker-modal__dialog {

        width: 90%;

        height: 96vh;

        border-radius: 8px;

    }

}