/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  height: 100%;
  overflow: hidden;
}
body {
  background: #4F4F4F;
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  min-height: 100%;
  max-height: 100%;
  overflow: hidden;
}
/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
input {
  color: #000000;
  outline: none;
}
label {
  cursor: pointer;
}
.color-white {
  color: #ffffff !important;
}
.color-dark {
  color: #333333 !important;
}
.color-gradient {
  color: #E6BF8E;
}
.text-center {
  text-align: center;
}
.font-weight {
  font-weight: 500;
}
.section-title {
  font-size: 36px;
  margin: 10px 0 30px;
}
.section-title__weight {
  font-weight: 500;
}
.section-subtitle {
  font-size: 18px;
  font-weight: 500;
}
.button {
  border: 1px solid #edd0b4;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  outline: none;

  margin: 10px 10px;
  position: relative;
  height: 48px;
  width: 200px;
}
.button:hover,
.button:focus {
  background: linear-gradient(90deg, #E6BF8E 0%, #F8E6C7 36.76%, #F8F4E6 50.21%, #F3E2C6 63.95%, #EED1A8 100%);
  color: #333333;
  text-decoration: none;
}
.button.disabled {
  background: #E0E0E0;
  color: #333333;
  cursor: not-allowed;
  /*pointer-events: none;*/
}
.button__prev:before {
  background: url('../img/button__icon.svg') center no-repeat;
  background-size: cover;

  transform: scaleX(1);
}
.button__prev:hover:before,
.button__prev.disabled:before {
  background: url('../img/button__icon-hover.svg') center no-repeat;
  background-size: cover;
  transform: scaleX(-1);
}

.button__next:after {
  background: url('../img/button__icon.svg') center no-repeat;
  background-size: cover;
  transform: scaleX(-1);
}
.button__next:hover:after,
.button__next.disabled:after {
  background: url('../img/button__icon-hover.svg') center no-repeat;
  background-size: cover;
  transform: scaleX(1);
}

.button__prev:before,
.button__next:after {
  display: inline-block;
  content: '';

  vertical-align: middle;
  line-height: 1;
  margin: 0 6px;

  height: 6px;
  width: 20px;
}

.button__inline {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.button__tooltip {
  background: #fff;
  border: 1px solid #4F4F4F;
  font-size: 10px;
  font-style: italic;
  line-height: 16px;
  color: #EB5757;

  display: none;
  padding: 10px;
  position: absolute;
  bottom: calc(100% + 20px);

  width: 100%;
}

.phone-number__wrap {
  color: #f1c856;
  font-size: 24px;
  text-align: center;
}
.phone-number {
  color: #f1c856;
  font-size: 36px;
  font-weight: 600;
}
.phone-number:hover {
  color: #f1c856;
  text-decoration: none;
}

.dark-background {
  background: rgba(0, 0, 0, 0.7);
  padding: 40px 68px;
}

.full-page-screen {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 100vh;
  max-height: 100vh;
  height: 100%;
}

.progress-bar__wrapper {
  position: absolute;
  left: 15px;
  right: 15px;
  margin: 60px 0 30px;
}
.progress-bar__line {
  background: #fff;

  position: relative;
  height: 6px;
  width: 100%;
}
.progress-bar__line:after {
  background: #F2C94C;
  display: block;
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}
.progress-bar__line.step-two:after {
  width: 20%;
}
.progress-bar__line.step-three:after {
  width: 40%;
}
.progress-bar__line.step-four:after {
  width: 60%;
}
.progress-bar__line.step-five:after {
  width: 80%;
}
.progress-bar__line.step-final:after {
  width: 100%;
}
.progress-bar__step {
  font-size: 18px;
  color: #333333;
  margin-top: 16px;
  float: right;
}

#first_screen {
  background: url("../img/first_screen.jpg") center no-repeat;
  background-size: cover;
}
#first_screen:before {
  background: linear-gradient(88.62deg, rgba(10, 10, 9, 0.9) 29.44%, rgba(0, 0, 0, 0) 81.98%);
  content: '';
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
}
#first_screen .full-page-screen {

}
#first_screen .phone-number__wrap {
  margin: 10px;
  max-width: 320px;
}

#first_screen .button {
  background: linear-gradient(90deg, #E6BF8E 0%, #F8E6C7 36.76%, #F8F4E6 50.21%, #F3E2C6 63.95%, #EED1A8 100%);
  color: #333333;
  font-size: 26px;
  max-width: 320px;
  height: 60px;
  width: 100%;
}
#first_screen .button:after {
  background: url('../img/button__icon-hover.svg') center no-repeat;
  background-size: cover;
  transform: scale(1);
}
#step_one {
  background: url("../img/step_one.jpg") center no-repeat;
  background-size: cover;

  font-size: 26px;
}
#step_one .checkbox-inline__item label {
  padding-left: 24px;
  margin-right: 30px;
}
#step_one .checkbox-inline__item label:before {
  top: 5px;
  left: 0;
}

#step_two {}
#step_two .checkbox-inline {
  margin: 0 -15px 80px;
}
#step_two .checkbox-inline__item {
  font-size: 18px;
  padding: 0 15px;
  width: 20%;
}
#step_two .checkbox-inline__item label {
  display: block;
  height: 100%;
}
#step_two .checkbox-inline__item img {
  margin-bottom: 15px;
  max-width: 100%;
  width: 100%;
}
#step_two .checkbox-inline__item label:before {
  bottom: 3px;
  left: inherit;
}
#step_two .checkbox-inline__item span {
  padding-left: 30px;
}

#step_three {}
#step_three .checkbox-inline {
  margin: 0 -15px 80px;
}
#step_three .checkbox-inline__item {
  font-size: 18px;
  padding: 0 15px;
  width: calc(100% / 6);
}
#step_three .checkbox-inline__item label {
  display: block;
  height: 100%;
}
#step_three .checkbox-inline__item img {
  display: block;
  max-width: 100%;
  margin-bottom: 15px;
}
#step_three .checkbox-inline__item label:before {
  bottom: 30px;
  left: inherit;
}
#step_three .checkbox-inline__item span {
  display: inline-block;
  padding-left: 30px;
}

#step_four {
  background: url("../img/step_four.jpg") center no-repeat;
  background-size: cover;
}
#step_four .checkbox__item {
  font-size: 18px;
  margin: 10px 0;
}
#step_four .checkbox__item label:before {
  top: 2px;
}

#step_five {
  background: url("../img/step_five.jpg") center no-repeat;
  background-size: cover;
}
#step_five .section-title {
  margin: 10px 0 20px;
}
#step_five .section-subtitle {
  font-weight: 400;
  margin-bottom: 50px;
}
#step_five .input-tel__wrapper {
  max-width: 420px;
  margin: 0 auto 20px;
}
#step_five label {
  font-size: 21px;
  display: block;
  margin-bottom: 20px;
}
#step_five label span {

}
#step_five input {
  font-size: 18px;
  padding: 10px 15px;
  height: 60px;
  width: 100%;
}

#thank_you {
  background: #fff;
}
.thank_you__wrap {
  color: #333333;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  max-width: 840px;
  margin: auto;
}
.thank_you__col {
  font-size: 20px;
  padding: 15px;
  width: 50%;
}
.thank_you__col img {
  display: block;
  margin: 0 auto;
  max-height: 410px;
  max-width: 100%;
}
.thank_you__col .button {
  background: linear-gradient(90deg, #E6BF8E 0%, #F8E6C7 36.76%, #F8F4E6 50.21%, #F3E2C6 63.95%, #EED1A8 100%);
  color: #333333;
  margin: 10px 0;
}

.first-screen__title {
  font-size: 48px;
  font-weight: bold;
  line-height: 1.24;
}
.first-screen__title span {
  display: block;
  color: #f1c857;
  text-transform: uppercase;
}

.first-screen_subtitle {
  font-size: 27px;
  font-weight: bold;
  line-height: 1.24;
  margin: 20px 0 30px;
}

.first-screen__grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;

  margin: 30px 0 0;
}
.first-screen__grid-item {
  font-size: 16px;
  padding-right: 40px;
  margin: 20px 0;
  width: 22%;
}
.first-screen__grid-item img {
  height: 50px;
  width: 50px;
}

.checkbox-inline {
  display: flex;
}
.checkbox-inline__item {}
.checkbox-inline__item input {
  display: none;
  opacity: 0;
}
.checkbox-inline__item label {
  position: relative;
}
.checkbox-inline__item label:before {
  background: #ffffff;
  border: 3px solid #fff;
  display: block;
  content: '';
  position: absolute;

  height: 18px;
  width: 18px;
}
.checkbox-inline__item input:checked + label:before {
  background: #F2C94C;
}


.checkbox__item {
  display: block;
}
.checkbox__item input {
  display: none;
  opacity: 0;
}
.checkbox__item label {
  position: relative;
  padding-left: 30px;
}
.checkbox__item label:before {
  background: #ffffff;
  border: 3px solid #fff;
  display: block;
  content: '';
  position: absolute;

  height: 18px;
  width: 18px;
}
.checkbox__item input:checked + label:before {
  background: #F2C94C;
}

.calculate__wrapper {
  user-select: none;
}
.calculate__minus {
  display: inline-block;
  cursor: pointer;
  text-align: center;
  width: 20px;
}
.calculate__input {
  width: 60px !important;
}
.calculate__plus {
  display: inline-block;
  cursor: pointer;
  text-align: center;
  width: 20px;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 100em) {
  .container {
    width: 1530px;
  }

  .phone-number {
    font-size: 44px;
  }
  .phone-number__wrap {
    font-size: 30px;
  }
  .button {
    font-size: 24px;
    height: 64px;
    width: 260px;
  }
  .checkbox-inline__item label:before {
    height: 26px;
    width: 26px;
  }
  .progress-bar__step {
    font-size: 24px;
  }
  .section-title {
    font-size: 48px;
  }
  .first-screen__title {
    font-size: 64px;
  }
  .first-screen_subtitle {
    font-size: 36px;
  }
  .first-screen__grid-item {
    font-size: 20px;
  }
  #first_screen .phone-number__wrap {
    max-width: 460px;
  }
  #first_screen .button {
    font-size: 36px;
    max-width: 460px;
    height: 90px;
  }
  #first_screen .button__next:after {
    height: 12px;
    width: 40px;
  }
  #step_one {
    font-size: 36px;
  }
  #step_one .checkbox-inline__item label {
    padding-left: 35px;
    margin-right: 60px;
  }
  #step_one .checkbox-inline__item label:before {
    top: 7px;
  }
  .calculate__input {
    width: 80px !important;
  }

  #step_two .checkbox-inline__item {
    font-size: 24px;
  }
  #step_two .checkbox-inline__item img {
    margin-bottom: 50px;
  }
  #step_two .checkbox-inline__item span {
    padding-left: 40px;
  }

  #step_three .checkbox-inline__item img {
    margin-bottom: 50px;
  }
  #step_three .checkbox-inline__item {
    font-size: 24px;
  }
  #step_three .checkbox-inline__item span {
    padding-left: 40px;
  }
  #step_three .checkbox-inline__item label:before {
    bottom: 40px;
  }
  #step_four .checkbox__item {
    font-size: 30px;
  }
  #step_four .checkbox__item label {
    padding-left: 40px;
  }
  #step_four .checkbox__item label:before {
    height: 26px;
    width: 26px;
  }

  #step_five .section-subtitle {
    font-size: 24px;
  }
  #step_five .input-tel__wrapper {
    max-width: 560px;
  }
  #step_five label {
    font-size: 28px;
  }
  #step_five input {
    font-size: 24px;
  }

  .thank_you__wrap {
    max-width: 1140px;
  }
  .thank_you__col {
    font-size: 28px;
  }
  .thank_you__col img {
    max-height: 550px;
  }
}
@media only screen and (max-width: 75em) {
  .dark-background {
    padding: 40px 48px;
  }
}
@media only screen and (max-width: 62em) {
  .dark-background {
    padding: 10px 30px;
  }
  .progress-bar__wrapper {
    margin: 30px 0 20px;
  }
  .progress-bar__step {
    font-size: 14px;
  }
  .section-title {
    font-size: 26px;
  }
  .checkbox-inline__item label:before {
    height: 14px;
    width: 14px;
  }
  .checkbox__item label:before {
    height: 14px;
    width: 14px;
  }
  #first_screen .button {
    margin-left: 0;
  }
  .first-screen__title {
    font-size: 42px;
  }
  .first-screen_subtitle {
    font-size: 24px;
  }
  .first-screen__grid-item {
    padding-right: 20px;
    width: 33%;
  }
  #step_one {
    font-size: 22px;
  }
  #step_two .checkbox-inline__item {
    font-size: 14px;
  }
  #step_two .checkbox-inline__item span {
    padding-left: 20px;
  }
  #step_three .checkbox-inline__item {
    font-size: 14px;
  }
  #step_three .checkbox-inline__item span {
    padding-left: 20px;
  }
  #step_three .checkbox-inline__item label:before {
    bottom: 20px;
  }
  #step_four .checkbox__item {
    font-size: 16px;
  }
  #step_five .section-subtitle {
    font-size: 14px;
    margin-bottom: 30px;
  }
  #step_five label {
    font-size: 18px;
  }
  #step_five .input-tel__wrapper {
    max-width: 360px;
  }

  .thank_you__col img {
    max-height: 360px;
  }
  .thank_you__col {
    font-size: 16px;
  }
}

@media only screen and (max-height: 48em) {
  .progress-bar__wrapper {
    margin-top: 40px;
  }
  .dark-background {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .section-title {
    margin: 10px 0 20px;
  }
}
@media only screen and (max-width: 48em) {
  body {
    /*overflow: auto;*/
  }
  .phone-number {
    font-size: 26px;
  }
  .phone-number__wrap {
    font-size: 18px;
  }
  .button {
    font-size: 14px;
  }
  .button__inline {
    margin-bottom: 10px;
  }
  .full-page-screen {
    align-items: flex-end;
  }
  .dark-background {
    margin-bottom: 20px;
  }
  .section-title {
    font-size: 16px;
    margin: 0 0 10px;
  }
  .progress-bar__wrapper {
    margin: 15px 0 0;
  }
  .progress-bar__line {
    height: 4px;
  }
  .progress-bar__step {
    font-size: 12px;
  }

  #first_screen:before {
    background: linear-gradient(359deg, #0A0A09 31.27%, rgba(7, 7, 7, 0.7) 62.33%, rgba(0, 0, 0, 0) 86.52%);
  }
  #first_screen .phone-number__wrap {
    margin: 10px 0;
    max-width: 260px;
  }
  #first_screen .button {
    font-size: 22px;
    height: 50px;
    max-width: 260px;
  }
  .first-screen__title {
    font-size: 32px;
  }
  .first-screen_subtitle {
    font-size: 20px;
  }
  .first-screen__grid-item {
    font-size: 14px;
  }

  #step_one {
    font-size: 20px;
  }
  #step_one .checkbox-inline__item label {
    margin-right: 22px;
  }

  #step_two .checkbox-inline {
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  #step_two .checkbox-inline__item {
    width: 33%;
  }
  #step_two .checkbox-inline__item img {
    display: block;
    margin: 10px auto 5px;
    max-width: 160px;
  }

  #step_three .checkbox-inline {
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  #step_three .checkbox-inline__item {
    width: calc(100% / 3);
  }
  #step_three .checkbox-inline__item img {
    margin: 10px auto 5px;
    max-width: 160px;
  }
  #step_three .checkbox-inline__item label:before {
    bottom: 15px;
  }

  #step_four .checkbox__item {
    font-size: 14px;
  }
  #step_four .checkbox__item label:before {
    top: 0;
  }
  #step_five .section-title {
    font-size: 24px;
  }
}
@media only screen and (max-width: 35em) {
  .button__inline {
    justify-content: space-between;
  }
  .button {
    margin: 0;
    height: 36px;
    width: 48%;
  }
  .button__prev:before,
  .button__next:after {
    display: none;
  }
  .full-page-screen {
    padding: 0 20px 80px;
  }
  .dark-background {
    padding: 10px 20px;
  }
  .section-title {
    font-size: 14px;
    margin: 0 0 5px;
  }

  #first_screen {
    background: url("../img/first_screen__mobile.jpg") top center no-repeat;
    background-size: contain;
  }
  .first-screen__title {
    font-size: 22px;
  }
  .first-screen_subtitle {
    font-size: 16px;
  }
  .first-screen__grid {
    margin-top: 0;
  }
  .first-screen__grid-item {
    display: flex;
    align-items: center;
    padding-right: 0;
    margin: 10px 0;
    width: 100%;
  }
  .first-screen__grid-item img {
    margin-right: 15px;
    height: 33px;
    width: 33px;
  }
  .first-screen__grid-item p {
    margin: 0;
  }

  #step_one {
    font-size: 14px;
  }
  #step_one label {
    display: inline-block;
    vertical-align: middle;
    width: 58%;
  }
  #step_one input {
    width: 30%
  }
  #step_one .checkbox-inline__item label {
    margin-right: 15px;
    padding-left: 18px;
  }
  #step_one .checkbox-inline__item label:before {
    top: 3px;
  }
  .calculate__input {
    width: 35px !important;
  }

  #step_two {
  }
  #step_two .full-page-screen {
    align-items: flex-start;
    padding: 30px 20px 0;
  }
  #step_two .checkbox-inline {
    margin-bottom: 10px;
  }
  #step_two .checkbox-inline__item {
    font-size: 11px;
    width: 50%;
  }
  #step_two .checkbox-inline__item img {
    max-width: 120px;
    height: 100px;
  }
  #step_two .checkbox-inline__item label:before {
    bottom: 10px;
  }

  #step_three {
  }
  #step_three .full-page-screen {
    align-items: flex-start;
    padding: 30px 20px 0;
  }
  #step_three .checkbox-inline {
    margin-bottom: 10px;
  }
  #step_three .checkbox-inline__item {
    font-size: 11px;
    padding: 0 10px;
    width: 50%;
  }
  #step_three .checkbox-inline__item img {
    max-width: 120px;
    height: 100px;
  }
  #step_three .checkbox-inline__item label:before {
    bottom: 10px;
  }

  #step_four {

  }

  #step_five {

  }
  #step_five .dark-background {
    padding-bottom: 70px;
    margin: 0 -35px -80px;
  }
  #step_five .section-title {
    font-size: 20px;
    text-align: left;
  }
  #step_five .section-subtitle {
    text-align: left;
  }
  #step_five label {
    font-size: 14px;
  }
  #step_five input {
    font-size: 16px;
  }

  #thank_you {

  }
  #thank_you .section-title span{
    display: block;
  }
  .thank_you__wrap {
    flex-direction: column;
  }
  .thank_you__col {
    font-size: 12px;
    padding: 0;
    width: 100%;
  }
  .thank_you__col img {
    max-width: 200px;
  }
  .thank_you__col .button {
    margin: auto;
    width: auto;
  }
}

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */

}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

