/*! HTML5 Boilerplate v7.3.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.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: 14px;
  line-height: 1.4;
}

/*
 * 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;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html {
  font-size: 1em;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
body {
  background-color: rgb(219, 219, 219);
}
img {
  width: 100%;
}

h1 {
  font-family: "Freckle Face", cursive;
}
@media (min-width: 1080px) {
  h1 {
    font-size: 7em;
  }
  h2 {
    font-size: 2.4em;
  }
  h3,
  legend {
    font-size: 2.2em;
  }
  p,
  label {
    font-size: 1.8em;
  }
  a,
  input,
  select {
    font-size: 1.8em;
  }
}
.seccion {
  padding: 3em 0;
}
h2,
h3,
h4,
a,
p,
label {
  font-family: "Source Code Pro", monospace;
}
.contenedor {
  width: 90%;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .contenedor {
    width: 80%;
  }
}
.button {
  display: inline-block;
  text-decoration: none;
  margin: 10px;
  padding: 10px;
  border: 1px solid #ff0000;
  border-radius: 40px;
  background-color: #ff00009d;
  color: #fff;
}
@media (min-width: 780px) {
  .button {
    padding: 20px;
    font-size: 2em;
  }
}
.button:hover {
  background-color: #ff0000;
  cursor: pointer;
}
/*--------------*/
/*header*/
/*---------------*/
.hero {
  width: 100%;
  height: 100vh;
  background-image: url(../img/bganime2.png);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}
.contenido-header {
  padding-top: 1em;
}
nav.redes-sociales {
  text-align: center;
  font-size: 1.5em;
  margin-bottom: 2em;
}
@media (min-width: 680px) {
  nav.redes-sociales a {
    font-size: 2.5em;
    margin-right: 1em;
  }
}

.redes-sociales a {
  color: white;
  margin-right: 0.2em;
}
.facebook:hover {
  color: #3b5998;
}
.twitter:hover {
  color: #1da1f2;
}
.pinterest:hover {
  color: #e60023;
}
.instagram:hover {
  color: #f77737;
}
.youtube:hover {
  color: #ff0000;
}
.informacion-evento {
  width: 90%;
  margin: 0 auto;
  color: #ffffff;
}
/*Textos*/
.informacion-evento {
  text-align: center;
}
.parr-head p {
  margin: 0 0 1em 0;
  font-weight: bold;
}
.parr-head p i {
  color: #f77737;
}
@media (min-width: 780px) {
  .parr-head {
    display: flex;
    justify-content: space-between;
    padding: 2em 0;
  }
  .parr-head p i {
    font-size: 2em;
  }
  .nombre-sitio {
    margin-top: 1em;
  }
}
.nombre-sitio {
  margin-top: 2em;
  text-transform: uppercase;
}
.nombre-sitio span {
  color: #e60023;
}
.slogan {
  color: #ffffff;
  font-size: 2.5em;
}
.slogan span {
  text-transform: uppercase;
  color: #e60023;
}
/*--------------*/
/*barra nav*/
/*---------------*/
.barra {
  background-color: #343434;
  padding: 2em 0;
}
.logo {
  width: 80%;
  float: left;
  margin-bottom: 10px;
  padding-bottom: 1em;
}
.flex {
  align-items: center;
}
.logo img {
  width: 100%;
}
@media (min-width: 780px) {
  .logo {
    width: 33%;
  }
  .flex {
    display: flex;
    justify-content: space-between;
  }
}
/*navegacion principal*/
.navegacion-principal {
  display: none;
}
.navegacion-principal a {
  display: block;
  margin-top: 10px;
  padding-top: 10px;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  transition: all 0.5s;
  border-bottom: 1px solid #fff;
}
.navegacion-principal a:last-child {
  border-bottom: 1px solid #f77737;
  transition: all 0.5s;
  color: #f77737;
}
.navegacion-principal a:hover {
  background-color: #f77737;
  transition: all 0.5s;
}
.navegacion-principal a:last-child:hover {
  color: #ffffff;
  transition: all 0.5s;
}

@media (min-width: 780px) {
  .navegacion-principal {
    width: 67%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  .navegacion-principal a {
    border: 1px solid transparent;
    padding: 15px;
    margin-left: 10px;
    border: 1px solid transparent;
    border-radius: 40px;
  }
  .navegacion-principal a:last-child {
    border: 1px solid #f77737;
    border-radius: 40px;
    transition: all 0.5s;
    color: #f77737;
  }
  .navegacion-principal a:hover {
    background-color: #f77737;
    border-radius: 40px;
    transition: all 0.5s;
  }
  .navegacion-principal a:last-child:hover {
    color: #ffffff;
    transition: all 0.5s;
  }
}
/*--------------*/
/*menu movil*/
/*---------------*/
.menu-movil {
  width: 50px;
  display: block;
  float: right;
  margin-top: 0;
}
.menu-movil span {
  height: 6px;
  margin-bottom: 6px;
  background-color: #ffffff;
  display: block;
}
.menu-movil:hover {
  cursor: pointer;
  width: 55px;
  height: 7px;
  transition: all 0.3s;
}
@media (min-width: 780px) {
  .menu-movil span {
    display: none;
  }
}
/*--------------*/
/*main*/
/*---------------*/
.contenedor-main {
  width: 90%;
  margin: 0 auto;
}
.seccion {
  margin-bottom: 10em auto;
}
.seccion h2 {
  text-align: center;
  margin-bottom: 2em;
  text-transform: uppercase;
}
h2::after {
  content: "";
  margin: 10px auto;
  background-color: #ff0000;
  height: 20px;
  width: 150px;
  display: block;
}

@media (min-width: 780px) {
  .seccion {
    padding: 10em 0;
    height: 50em;
  }
  .texto-img {
    display: flex;
    padding: 2em 0;
  }
  .ban {
    width: auto;
    display: inline-block;
  }
}

/*--------------*/
/*video*/
/*---------------*/
@media (min-width: 780px) {
  .programa {
    position: relative;
  }
}
.contenedor-video {
  max-width: 100%;
}
/*--------------*/
/*menu programa*/
/*---------------*/
.stand {
  width: 25px;
}
.programa-evento {
  padding: 20px;
  margin: 0;
}
.programa-evento h2 {
  text-align: center;
  margin: 1em 0;
}
@media (min-width: 780px) {
  .contenido-programa {
    position: absolute;
    top: 0;
    left: 0;
    height: 90%;
    width: 100%;
  }
  .programa-evento {
    background-color: rgba(250, 250, 250, 0.6);
    height: 100%;
    padding: 20px;
    margin: 80px 0 0 80px;
  }
  .stand {
    width: 35px;
  }
}

@media (min-width: 780px) {
  .programa-evento {
    width: 70%;
  }
}
@media (min-width: 998px) {
  .programa-evento {
    width: 50%;
  }
}
.menu-programa {
  width: 100%;
  padding-bottom: 5px;
  border-bottom: 1px solid #ff0000;
}
.menu-programa a {
  display: block;
  color: #000000;
  text-decoration: none;
  margin-bottom: 10px;
  font-weight: bold;
}
.menu-programa a i,
.detalle-evento p i {
  font-size: 30px;
  color: #ff0000;
}

@media (min-width: 780px) {
  .menu-programa a i,
  .detalle-evento p i {
    font-size: 40px;
  }
}
.menu-programa a:hover {
  color: #ff0000;
}
@media (min-width: 780px) {
  .menu-programa {
    display: table;
  }
  .menu-programa a {
    display: table-cell;
    padding-bottom: 20px;
  }
}
/*Detalle evento*/
.detalle-evento {
  margin-top: 2em;
  border-bottom: 1px solid #ff0000;
  padding: 0 1em;
}
@media (min-width: 780px) {
  .detalle-evento {
    padding: 0 2em;
  }
}
.detalle-evento:nth-child(2) {
  border-bottom: none;
}
.detalle-evento h3 {
  margin-bottom: 20px;
  color: #ff0000;
}
.detalle-evento p {
  margin-bottom: 1em;
}

/*--------------*/
/*invitados*/
/*---------------*/

.invitados {
  position: relative;
  margin-top: 10px;
}
.carta .invitados:hover p {
  transform: translateY(0px);
  opacity: 1;
  transition: all 0.8s ease-in-out;
}
.carta .invitados:hover img {
  filter: grayscale(1);
  -webkit-filter: grayscale(1);
}
.invitados img {
  filter: grayscale(0);
  -webkit-filter: grayscale(0);
  transition: all 0.8s ease-in-out;
}
.invitados h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.649);
  color: #f77737;
  text-transform: uppercase;
  text-align: center;
  padding: 1em 1.5em;
  width: 100%;
}
.invitados p {
  position: absolute;
  transform: translateY(500px);
  bottom: 3em;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.649);
  color: #f77737;
  opacity: 0;
  height: 80%;
  font-weight: 300;
  transition: all 0.5s;
  padding: 20px;
}
@media (min-width: 780px) {
  .cont-invitados {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5em;
  }
  .carta {
    position: relative;
  }
}

@media (min-width: 1080px) {
  .cont-invitados {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3em;
  }
}
@media (min-width: 780px) {
  .invitados p {
    padding: 20px;
  }
}

/*--------------*/
/*Contador*/
/*---------------*/
.parallax::before {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
div.contador::before {
  background-image: url(../img/paldep.png);
  content: "";
}
div.contador {
  position: relative;
  height: auto;
}
.resumen-evento {
  position: relative;
  justify-content: space-between;
  text-align: center;
  align-items: center;
  color: #ffffff;
  list-style: none;
  text-transform: uppercase;
  padding: 2em;
}
.resumen-evento li {
  margin-bottom: 2em;
}
p.numero {
  color: #e60023;
  margin-bottom: 10px;
  font-size: 2em;
}

@media (min-width: 780px) {
  div.contador {
    margin-top: 90em;
  }
  .resumen-evento {
    display: flex;
    padding: 10em;
    font-size: 2.3em;
  }
  p.numero {
    font-size: 4em;
    text-align: center;
  }
}

/*--------------*/
/*Precios*/
/*---------------*/
h2.precios {
  margin-bottom: 2em;
}
.tabla-precio {
  margin-top: 2em;
  padding: 40px;
  border: 1px solid rgb(155, 155, 155);
  transition: all 0.5s ease-in-out;
}
.tabla-precio:hover {
  transform: scale(1.1);
  border: 1px solid #f77737;
  box-shadow: 0px 0px 50px #555;
  transition: all 0.3s ease;
}
.tabla-precio h3 {
  text-align: center;
  color: #f77737;
}
.tabla-precio .numero {
  color: #0a0a0a;
  font-weight: bolder;
}
.tabla-precio ul {
  list-style: none;
}
.tabla-precio ul li {
  margin-top: 15px;
  text-transform: uppercase;
  color: #707070;
}
/*cloca las palomitas al inicio de cada listado*/
.tabla-precio ul li::before {
  content: "\f00c";
  font-family: "FontAwesome";
  display: inline-block;
  vertical-align: top;
  padding: 0 5px;
  color: green;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 780px) {
  .flex-precios {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
  }
}
.mapa {
  display: block;
  margin: 0 auto;
  height: 600px;
  background-color: #343434;
}
iframe {
  margin: 0 auto;
  display: block;
  padding: 50px 0;
}
@media (min-width: 780px) {
  .mapa {
    margin-top: 30em;
  }
}
/*--------------*/
/*Testimoniales*/
/*---------------*/
.testimonial {
  margin: 10px 0;
  border: 1px solid rgb(155, 155, 155);
}

blockquote p::before {
  content: "\201c";
  position: absolute;
  left: -35px;
  top: -6px;
  font-size: 4rem;
  margin: 0;
  padding: 0;
  line-height: 1;
  color: #e60023;
}
.info-test img {
  border-radius: 100%;
  margin: 20px 0;
}
.info-test cite {
  display: block;
  margin: 20px 0;
}
.info-test cite span {
  display: block;
  color: #707070;
  margin: 5px 0;
}
@media (min-width: 780px) {
  .flex-test {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
  }
  .testimonial {
    padding: 50px;
    text-align: center;
  }
  blockquote {
    height: 900px;
    display: flex;

    flex-wrap: wrap;
    align-content: space-between;
    padding: 10px;
    position: relative;
  }
  blockquote p {
    text-align: left;
    padding: 0 20px 0 40px;
  }
  blockquote p::before {
    font-size: 8rem;
    left: -40px;
  }
  .info-test {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .info-test img {
    min-width: 200px;
    max-width: 200px;
    width: 30%;
  }
  .info-test cite {
    width: 100%;
    margin-left: 100px;
    font-size: 2.2em;
    color: #e60023;
    text-align: left;
  }
}
/*--------------*/
/*registro*/
/*---------------*/
div.concursantes {
  position: relative;
  height: auto;
}
@media (min-width: 780px) {
  div.concursantes {
    margin-top: 40rem;
  }
}
div.concursantes::before {
  content: "";
  background-image: url(../img/concursos.png);
}
div.concursantes .contenido {
  padding: 10rem 0;
  color: #ffffff;
  text-align: center;
  position: relative;
}
div.concursantes .contenido p {
  font-size: 2em;
}
@media (min-width: 780px) {
  div.concursantes .contenido h3 {
    margin-top: 0;
    font-size: 10em;
  }
}

/*--------------*/
/*Contador*/
/*---------------*/
.contador-evento {
  position: relative;
  justify-content: space-between;
  text-align: center;
  align-items: center;
  color: #e60023;
  list-style: none;
  text-transform: uppercase;
  padding: 1em 0;
}
.contador-evento li {
  margin-bottom: 2em;
}
p.numero {
  color: #e60023;
  margin-bottom: 10px;
  font-size: 2em;
}

@media (min-width: 780px) {
  div.contador {
    margin-top: 90em;
  }
  .contador-evento {
    display: flex;
    padding: 2em 10em;
    font-size: 2.3em;
  }
  p.numero {
    font-size: 4em;
    text-align: center;
  }
}
/*--------------*/
/*foooter*/
/*---------------*/
.footer-principal {
  background-color: #222;
  padding: 5rem 0;
}
@media (min-width: 780px) {
  .footer-principal {
    margin-top: 20rem;
  }
}
.artic-foot h3 {
  color: #f77737;
  margin: 1em 0;
  text-align: center;
}
.artic-foot p {
  color: #cccccc;
  margin: 20px 0 30px 0;
}
.artic-foot ul {
  list-style: none;
}
.artic-foot ul li {
  display: inline-block;
  margin: 20px 0;
}
.artic-foot ul li p {
  margin: 0;
}
.artic-foot p i {
  color: #f77737;
}
@media (min-width: 780px) {
  .flex-foot {
    display: flex;
    justify-content: space-between;
  }
  .artic-foot {
    width: 33%;
  }
  .artic-foot h3 {
    margin: 0;
  }
  .artic-foot p {
    margin-top: 20px;
  }
  .artic-foot ul li {
    display: flex;
  }
  .artic-foot ul li p {
    margin: 0;
  }
  .artic-foot p i {
    margin: 0 0 0 20px;
  }
}
/*Redes sociales footer*/
.redes-sociales-footer h3 {
  margin-top: 1em;
  color: #f77737;
  margin-bottom: 1rem;
  font-size: 1.5em;
}
nav.redes-sociales-footer {
  text-align: center;
  margin-bottom: 1em;
}
nav.redes-sociales-footer a {
  margin-top: 10px;
  color: #fff;
  margin-right: 1em;
  font-size: 1.5em;
}
@media (min-width: 780px) {
  .redes-sociales-footer h3 {
    font-size: 3em;
    margin: 0;
  }
  nav.redes-sociales-footer a {
    font-size: 2.5em;
  }
}

/*--------------*/
/*registro*/
/*---------------*/
.formulario {
  background-color: #fff;
}
.formulario h3 {
  text-align: center;
  text-transform: uppercase;
  margin: 2em 0 0 0;
}
h4 {
  text-align: center;
  text-transform: uppercase;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #f77737;
  font-size: 1.8em;
}
.formulario fieldset {
  border: 1px solid #f77737;
  padding: 2em;
  margin-top: 50px;
}
.formulario label {
  margin-bottom: 5px;
  font-weight: bold;
}

legend {
  text-align: center;
  text-transform: uppercase;
  color: #ff7777;
}
.datos_form {
  padding: 10px;
}
@media (min-width: 780px) {
  .datos_form {
    display: flex;
    justify-content: space-between;
  }
}
/*--------------*/
/*Paquetes de precios*/
/*---------------*/
.paquetes .tabla-precio:hover {
  transform: none;
  box-shadow: none;
}
.paquetes .tabla-precio input {
  display: block;
  width: 100px;
  margin-top: 10px;
}
/*--------------*/
/*eventos*/
/*---------------*/

.nota p {
  display: none;
  color: #000000;
  margin-bottom: 100px;
  border: 1px solid #f77737;
  background-color: #f7773769;
  padding: 20px;
  text-align: left;
}
.nota span {
  font-weight: bold;
}

.contenido-dia {
  padding: 20px;
  display: none;
}
.contenido-dia p {
  margin: 50px 0 40px 0;
  text-align: center;
  color: #f77737;
}

@media (min-width: 780px) {
  .contenido-dia > div {
    display: flex;
    justify-content: space-around;
  }
}
.contenido-dia > div label {
  display: block;
  margin: 10px 0 10px 0;
}
.contenido-dia > div label time {
  color: #f77737;
}

.contenido-dia > div input {
  margin: 10px 0 10px 0;
}
.contenido-dia > div input[type="radio"] {
  margin-right: 10px;
  width: 30px;
  height: 30px;
}
.contenido-dia > div input[type="checkbox"] {
  margin-right: 10px;
  width: 30px;
  height: 30px;
}
.resumen p {
  text-transform: uppercase;
}
@media (min-width: 780px) {
  .resumen {
    display: flex;
    justify-content: space-around;
    padding: 30px;
  }
}
.extras .orden {
  text-align: left;
  margin-bottom: 20px;
}
.extras .orden input {
  margin-top: 10px;
}
#lista_productos {
  border: 1px solid #f77737;
  margin-bottom: 20px;
  padding: 20px;
  background-color: #f777374d;
  display: none;
}
#suma-total {
  text-align: center;
  font-weight: bolder;
  color: #f77737;
  border: 1px solid #f77737;
  padding: 20px;
  margin-bottom: 20px;
  display: none;
}

/*--------------*/
/*footer registro*/
/*---------------*/
.footer-second {
  background-color: #222;
  padding: 5rem 0;
}
@media (min-width: 780px) {
  .footer-second {
    margin-top: 240em;
  }
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.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: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.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: 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: transparent !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;
  }
}
