﻿.iframe-wrap {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
  border: none;
  overflow: auto !important;
  -webkit-overflow-scrolling: touch !important;
}
.iframe-wrap iframe {
  height: 100%;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  display: block;
  overflow: scroll;
  -webkit-overflow-scrolling: touch;
}
.iframe-wrap.offset-top-small {
  top: 3rem;
}

.iframe-wrap, .reveal.medium, .reveal.large {
  border: none;
}

.reveal-overlay .no-padding {
  padding: 0;
}

.reveal.medium {
  width: 100%;
}

/* Medium and up (expanded 42.5em) medium is actually 40em*/
@media screen and (max-width: 42.5em) {
  .reveal {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 100%;
    margin-left: 0;
    border: 0;
    border-radius: 0;
  }
  .reveal.medium {
    margin: 0 auto;
    max-width: none;
  }
  .reveal.large {
    margin: 0 auto;
    max-width: none;
    width: 100%;
  }
}
@media screen and (min-width: 42.501em) {
  .iframe-wrap.offset-top-small {
    top: 0;
  }
  .reveal.medium {
    width: 50%;
  }
  .reveal.medium, .reveal.large {
    margin: 1rem auto;
  }
  .reveal.large.extra-large {
    width: 95%;
    max-width: 110rem;
    margin: 0.5rem auto;
  }
  .iframe-wrap {
    position: relative;
    width: auto;
    overflow: hidden;
    flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    height: 96vh;
  }
}
