.mta-iframe-btn {
  background: #0F61A9;
  padding: 5px 10px;
  line-height: 1em;
  color: white;
  border-radius: 5px;
  margin-left: 10px;
  margin-right: 10px;
}

.mta-iframe-btn:hover {
  cursor: pointer;
}

.mta-iframe-btn:focus, .mta-iframe-btn:focus-visible {
  outline: midnightblue auto 1px;
}

.mta-iframe-dialog[aria-hidden="true"] {
  display: none;
}

.mta-iframe-overlay {
  background-color: rgba(0, 0, 0, 0.66);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1040;
}

.mta-iframe .mta-iframe-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1050;
  background-color: #fff;
  border: none;
  border-radius: 0;
  padding: 0;
  height: 435px;
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 576px) and (max-width: 960px) {
  .mta-iframe .mta-iframe-content {
    height: 470px;
  }
}

@media screen and (max-width: 575px) {
  .mta-iframe .mta-iframe-content {
    height: 530px;
  }
}

.mta-iframe .mta-iframe-header {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 15px;
}

.mta-iframe .mta-iframe-body {
  padding: 15px;
  padding-bottom: 0;
  flex: 1;
}

.mta-iframe .mta-iframe-close {
  background: none;
  border: none;
  font-size: 21px;
  font-weight: bold;
  line-height: 1;
  color: #000;
  cursor: pointer;
  padding: 0;
}

@media (max-width: 920px) {
  .mta-iframe .mta-iframe-content {
    width: calc(100% - 20px);
    margin: 10px;
  }
}

@media (min-width: 920px) {
  .mta-iframe .mta-iframe-content {
    width: 900px;
  }
}

.mta-iframe iframe {
  width: 100%;
  height: 100%;
}

.mta-iframe:not(.mta-iframe-width-title) .mta-iframe-header {
  border-bottom: none;
  padding-bottom: 0;
}

.mta-iframe:not(.mta-iframe-width-title) .mta-iframe-body {
  padding-top: 0;
}

.mta-iframe.mta-iframe-width-title .mta-iframe-header {
  text-align: left !important;
}

.mta-iframe.mta-iframe-width-title .mta-iframe-header h3 {
  font-size: 24px;
  flex-grow: 1;
}