iframe {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: #FFFFFF;
  font-weight: inherit;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

iframe:focus {
  outline: 0;
}

/* Modal
-------------------------------------------------- */

/* .paylater_modal-open      - body class for killing the scroll
 * .paylater_modal           - container to scroll within
 * .paylater_modal-content   - actual modal w/ bg and corners and shit */

/* Kill the scroll on the body */
.paylater_modal-open {
  overflow: hidden;
}

/* Container that the modal scrolls within */
.paylater_modal {
  display: none; /* Hidden by default */
  overflow: hidden;
  position: fixed; /* Stay in place */
  z-index: 9000; /* Sit on top */
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background-color: #F2F2F2; /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  -webkit-overflow-scrolling: touch;
}

.paylater_modal:focus {
  /* Prevent Chrome on Windows from adding a focus outline. For details, see
   * https://github.com/twbs/bootstrap/pull/10951. */
  outline: 0;
}

.paylater_modal-open .paylater_modal {
  overflow-x: hidden;
  overflow-y: auto;
}

/* Modal content */
.paylater_modal-content {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  height: 100%;
  background-color: #FFFFFF;
  background-clip: padding-box;
  overflow-y: auto;
}

.paylater_modal-content:focus {
  /* Remove focus outline from opened modal */
  outline: 0;
}

@media (min-width: 480px) {
  .paylater_modal-content {
    margin: auto;

    /* merchant styles required */
    width: 90% !important;
    height: 75% !important;

    /* custom styles */
    background-color: #fefefe;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;

    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
  }
}

@media (min-width: 768px) {
  .paylater_modal-content {
    /* merchant styles required */
    width: 600px !important;
    height: 95% !important;
  }
}

.paylater_modal-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    padding-top: 20px;
    background-color: #FFFFFF;
}

@media (min-width: 480px) {
  .paylater_modal-content iframe {
    padding: 20px;
  }
}

.paylater_modal-close {
  background: none;
  border: 0;
  line-height: normal;
  overflow: visible;
  padding: 0;
  user-select: none;
  position: relative;
  display: block;
  color: #aaa;
  float: right;
  font-size: 16px;
  font-weight: bold;
  top: 10px;
  right: 10px;
}

.paylater_modal-close:hover,
.paylater_modal-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.paylater_payment_link {
  color: #00C1D5;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.25;
  font-weight: bold;
  text-decoration: underline;
}

.paylater_payment_link:visited,
.paylater_payment_link:hover,
.paylater_payment_link:focus {
  color: #008eaa;
}

.paylater_payment_link span {
  font-weight: normal;
}