.if-external-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  /* semi-transparent black background */
  z-index: 9999; }
  .if-external-modal.show {
    display: flex;
    align-items: center;
    justify-content: center; }
  .if-external-modal .close-modal {
    position: absolute;
    top: -18px;
    right: -18px;
    font-size: 20px;
    cursor: pointer;
    padding: 3px 12px; }
  .if-external-modal .modal-content {
    text-align: left;
    background-color: #fff;
    padding: 60px;
    width: 100%;
    max-width: 620px;
    height: 100%;
    overflow: visible;
    position: fixed;
    display: none;
    top: 0;
    right: -620px;
    z-index: 9998;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column; }
    .if-external-modal .modal-content h5 {
      font-family: 'Roboto';
      font-style: normal;
      font-weight: 700;
      font-size: 48px;
      line-height: 58px;
      letter-spacing: 0.5px;
      margin-bottom: 30px; }
    .if-external-modal .modal-content .external-link {
      font-family: 'Roboto';
      font-style: normal;
      font-weight: 800;
      font-size: 17px;
      line-height: 20px;
      letter-spacing: 2px;
      text-transform: uppercase;
      /* White */
      color: #FFFFFF;
      margin-bottom: 30px; }
    .if-external-modal .modal-content .modal-logo {
      width: 300px;
      display: block;
      height: auto; }
    .if-external-modal .modal-content .wp-element-button.cancel {
      background: #c4c4c4; }
  .if-external-modal.show {
    display: flex;
    align-items: center;
    justify-content: center; }
    .if-external-modal.show .modal-content {
      display: flex;
      -webkit-animation: slide 0.1s forwards;
      animation: slide 0.1s forwards; }
@-webkit-keyframes slide {
  100% {
    right: 0; } }
@keyframes slide {
  100% {
    right: 0; } }
  .if-external-modal .close-modal.ibf-news-card-modal-close {
    position: absolute;
    top: 50px;
    right: 30px;
    width: 18px;
    height: auto;
    cursor: pointer;
    padding: 0;
    margin: 0;
    z-index: 9999; }
  @media (max-width: 600px) {
    .if-external-modal .if-external-modal .modal-content {
      min-width: 100%;
      width: 100%;
      text-align: center; } }
