html,
body {
  height: 100%;
  scroll-padding-top: 140px;
  overscroll-behavior-y: none;
}
body {
  box-sizing: border-box;
}

* {
  overscroll-behavior-y: none;
}

#root,
#wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100%;
}
input:focus,
textarea:focus {
  outline: none;
}
input:invalid {
  box-shadow: none;
}
/* SheerID modal */
.sid-modal__wrapper {
  position: fixed !important;
}

#unsupported-browser {
  font-family: 'Source Sans Pro', sans-serif;
}

.modal-backdrop {
  width: 100vw;
  height: 100vh;
  position: absolute;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #ffffff;
  padding: 50px;
  max-width: 520px;
  text-align: center;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  background: none;
  border: none;
  top: 11px;
  right: 11px;
  cursor: pointer;
  height: 24px;
  width: 24px;
}

.modal-close-btn span {
  height: 2px;
  width: 12px;
  background-color: #0590d5;
  display: block;
  transform: rotate(45deg);
  transform-origin: center center;
  position: relative;
}

.modal-close-btn span:first-of-type {
  transform: rotate(-45deg);
  top: 2px;
}

.modal-header {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: #17285e;
  margin-bottom: 8px;
}

.modal-text {
  font-size: 19px;
  line-height: 22px;
  color: #0590d5;
}

.modal-button {
  margin-top: 32px;
}

.button {
  background-color: #0590d5;
  text-decoration: none;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  padding: 10px 28px;
  border-radius: 4px;
  display: inline-block;
}

#print-output {
  display: none;
}

@media print {
  body {
    padding-top: 0 !important;
  }

  /* We don't want to print Appcues elements like banner so we hide it with css */
  appcues-experience-container {
    display: none !important;
  }

  #root {
    display: none;
  }

  #print-output {
    height: 100%;
    display: block;
  }

  #print-output canvas {
    display: none;
  }

  #print-output img {
    display: block;
    max-width: 100%;
    max-height: 100%;
  }

  @page {
    margin: 0;
  }
}
