/*! HTML5 Boilerplate v6.1.0 | MIT License | https://html5boilerplate.com/ */

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

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

/* ==========================================================================
   Globales
   ========================================================================== */

*{
    margin:0;
    padding:0;
}
body{
    margin:0px;
    padding:0px;
    margin-top: 60px;
}

h1, h2, h3{
    font-family: 'Source Serif Pro', serif;
    font-size: 22px !important;
}
p{
    font-weight: 300;
    font-family: 'Roboto', sans-serif;
    line-height: 1.5rem;
}
a{
    text-decoration: none;
    color: white;
}
.contenedor{
    width: 90%;
    margin: 0 auto;
    max-width: 1000px;
}
ul, ol{
    list-style: none;
}
img{
    width: 100%;
}

@media (min-width:768px){
    body{
        margin-left: 0%;
    }
    h2{
        font-size: 70px !important;
    }
}

/* ==========================================================================
   Estlos
   ========================================================================== */

/* Familia */

.familia{
    background-image: url(../img/fondo-familia.jpg);
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    height: auto;
}
.familia h2{
    color: white;
    border-bottom: 2px solid white;
    width: 50%;
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.familia p{
    color: white;
}
.familia .contenedor{
    padding: 100px 0;
    width: 80%;
}
@media (min-width:768px){
    .familia .contenedor{
        width: 30%;
        margin-right: auto;
        margin-left: 10%;
        padding: 200px 0;
    }
}

/* Lugar */

.lugar{
    background-image: url(../img/fondo-lugar.jpg);
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}
.lugar h2{
    color: white;
    border-bottom: 2px solid white;
    width: 50%;
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.lugar p{
    color: white;
}
.lugar .contenedor{
    padding: 20px;
    width: 80%;
    background-color: rgba(0,57,49,.7);
}
.esp-contenedor{
    padding: 100px 0;
}
@media (min-width:768px){
    .lugar .contenedor{
        width: 40%;
        margin-left: auto;
        margin-right: 0%;
        padding: 200px 60px;
    }
    .esp-contenedor{
        padding: 0;
    }
}

/* GreenStone */

.green-stone{
    background-color: #E6E8E7;
    height: auto;
    text-align: center;
}
.txt-green-stone h2{
    color: #033931;
    border-bottom: 2px solid #033931;
    width: 70%;
    padding-bottom: 10px;
    margin: 0 auto;
    margin-bottom: 15px;
}
.txt-green-stone p{
    color: #033931;
}
.txt-green-stone{
    padding-top: 80px;
    padding-bottom: 20px;
    width: 80%;
}
.vinculo-green-stone{
    text-align: center;
    width: 80%;
    padding-bottom: 80px;
}
.img-logo img{
    width: 180px;
    margin: 0 auto;
    margin-bottom: 40px;
}
.vinculo-green-stone a{
    color: #033931;
    text-decoration: none;
    border: 2px solid #033931;
    padding: 10px 40px;
}
.vinculo-green-stone a:hover{
    background-color: #003931;
    color: white;
}
@media (min-width:768px){
    .green-stone{
        display: flex;
        flex-wrap: wrap;
    }
    .txt-green-stone{
        width: 40%;
        margin-top: auto;
        margin-bottom: auto;
        text-align: left;
    }
    .txt-green-stone h2{
        width: 50%;
        padding-bottom: 10px;
        margin: 0 auto;
        margin-bottom: 15px;
        margin-left: 10%;
        font-size: 40px !important;
    }
    .txt-green-stone p{
        width: 80%;
        margin: 0 auto;
        padding-bottom: 60px;
    }
    .vinculo-green-stone{
        width: 40%;
        margin-top: auto;
        margin-bottom: auto;
    }
    .img-logo img{
        margin-top: 40px;
    }
}

/* Tradición */

.tradicion{
    background-image: url(../img/fondo-tradicion.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: auto;
}
.tradicion h2{
    color: white;
    border-bottom: 2px solid white;
    width: 50%;
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.tradicion p{
    color: white;
}
.tradicion .contenedor{
    padding: 100px 0;
    width: 80%;
}
@media (min-width:768px){
    .tradicion .contenedor{
        width: 30%;
        margin-right: auto;
        margin-left: 10%;
        padding: 200px 0;
    }
}

/* Whatsapp */

.whatsapp{
    text-align: center;
    padding: 40px 0;
}
.txt-whats{
    text-align: center;
}
.txt-whats h2{
    color: black;
    border-bottom: 2px solid black;
    width: 55%;
    font-size: 30px !important;
    padding-bottom: 10px;
    margin: 0 auto;
    margin-bottom: 15px;
    font-weight: 300;
}
.txt-whats p{
    color: black;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 40px;
}
.txt-whats .contenedor{
    padding: 100px 0;
    width: 80%;
}
.txt-whats a{
    background-color: #1BD741;
    padding: 10px 20px;
    border-radius: 10px;
}
.txt-whats a i{
    position: none;
    width: auto;
    height: auto;
    text-align: center;
    top:0; 
    font-size:20px;
    color: white;
    margin-right: 10px;
}
.anillo img{
    width: 200px;
    max-width: 390px;
}
@media (min-width:768px){
    .whatsapp .contenedor{
        display: flex;
        flex-wrap: wrap;
    }
    .txt-whats{
        width: 40%;
        text-align: left;
    }
    .txt-whats p{
        color: black;
        width: 80%;
        margin-left: 22%;
        margin-bottom: 40px;
    }
    .txt-whats a{
        margin-left: 22%;
    }
    .anillo{
        width: 40%;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */

/* terminos y Condiciones */

.popup{
    padding: 20px;
    border: #F0F0F0 15px solid;
}
.popup h2{
    text-align: center !important;
    color: #2DAA80 !important;
    padding-bottom: 30px;
}
.popup span{
    color: black;
}

/* Faqs */

.faqs{
    background-color: #033931;
    text-align: center;
    padding: 20px 0;
}
.faqs a{
    font-weight: 300;
    width: 100%;
    margin: 5px 0;
    margin-bottom: 20px;
}
.faqs .contenedor{
        display: flex;
        flex-wrap: wrap;
    }
footer{
    background-image: url(../img/textura-aleph.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: auto;
    text-align: center;
    color: white;
    padding: 40px 0;
}
.txt-footer p{
    color: white;
    line-height: 2rem;
}
.txt-footer a i{
    font-size: 20px;
}
.img-footer{
    max-width: 200px;
    margin: 0 auto;
    margin-top: 40px;
}
@media (min-width:768px){
    .faqs a{
        width: 50%;
    }
    footer{
        display: flex;
        flex-wrap: wrap;
    }
    .txt-footer{
        width: 30%;
        text-align: left;
        margin-left: 20%;
    }
    .img-footer{
        width: 50%;
    }
    .txt-footer h2{
        font-size: 40px !important;
    }
}

/* ==========================================================================
   Joyeria
   ========================================================================== */

/* Menu Joyeria */

.menu-joyeria{
    background-color: #F3F3F3;
    padding:  10px 0;
}
.menu-joyeria ul{
    text-align: center;
}
.menu-joyeria ul li{
    padding: 15px 0px;
}
.menu-joyeria ul li a{
    color: black;
    font-weight: 300;
    font-size: 20px;
}
@media (min-width:768px){
    .menu-joyeria ul{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .menu-joyeria ul li{
        padding: 10px;
    }
}

/* Productos */

.lista-categorias li{
    width: 40%;
    max-width: 220px;
    margin: 10px;
    border-bottom-left-radius: 2%;
    border-bottom-right-radius: 2%;
    box-shadow: -10px 10px 23px -9px rgba(112,112,112,1);
    background-color: white;
}
.categorias h1{
    font-size: 25px !important; 
    padding: 20px 0;
}
.intro-section{
    margin-bottom: 40px;
}
.intro-section p{
    text-align: center !important;
    max-width: 950px;
    margin: 0 auto;
    line-height: 2rem;
    font-size: 18px !important;
    margin-top: -40px;
    margin-bottom: 40px;
}
.intro-section ol{
    margin-bottom: 40px;
    font-size: 20px !important;
    margin-top: -40px;
}
.flex-bodas ul{
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    margin-bottom: 20px;
}
.flex-bodas ul li{
    margin: 20px;
    margin-top: 0px;
}
.first{
    border-right: 2px solid black;
    padding-right: 40px;
    margin-right: 0px;
}
.des-cat{
    color: white;
    background-color: #2DAA80;
    padding: 10px 20px;
}
.lista-categorias{
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
}
.categorias h1{
    color: black;
}
.ocultar{
    display: none;
}
.categorias{
    position: relative;
    overflow: hidden;
    padding-bottom: 40px;
    text-align: center;
}
.categorias img{
    max-width: 100%;
    -webkit-transition: all .5s ease-in-out;
}
.categorias p{
    padding: 15px 10px;
    background-color: rgba(255,255,255,0.55);
    width: 100%;
    text-align: left;
    color: black;
    transition: all .5s ease-in-out;
    font-size: 0.8rem;
}
.categorias p span{
    color: black;
    font-size: 0.6rem;
}
.categorias i{
    color: black;
    font-size: 0.9rem;
    margin-right: 20px;
    margin-bottom: 40px;
}
.project__category{
    color: #2DAA80;
    font-size: 20px;
}
.referencia{
    color: #A8A7A7;
}
.btn-comprar{
    background-color: #2DAA80;
    color: white !important;
    padding: 5px 10px;
}

@media (min-width:768px){
    .intro-section ol{
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
    }
    .intro-section ol li{
        margin: 20px;
        margin-top: 20px;
        border-right: 2px solid black;
        padding-right: 40px;
    }
    .intro-section ol li:last-child{
        border-right: none;
    }
}

/** Popup-Overlay **/

.popup-overlay {
  /*Hides pop-up when there is no "active" class*/
  visibility: hidden; /* hidden */
  position: absolute;
  background-color: white;
  border: 3px solid #F3F3F3;
  width: 50%;
  height: auto;
  max-height: 400px;
  left: 25%;
}

.popup-overlay.active {
  /*displays pop-up when "active" class is present*/
  visibility: visible;
  text-align: center;
}

.popup-content {
  /*Hides pop-up content when there is no "active" class */
  visibility: hidden; /* hidden */
  text-align: center !important;
  padding: 40px 0;
}
.popup-content p{
    color: gray;
    text-align: center;
    padding: 20px 0;
}
.popup-content i{
    color: #1BD741;
    font-size: 70px;
}

.popup-content.active {
  /*Shows pop-up content when "active" class is present */
  visibility: visible;
}

.popup-overlay2 {
  /*Hides pop-up when there is no "active" class*/
  visibility: hidden; /* hidden */
  position: absolute;
  background-color: white;
  border: 3px solid #F3F3F3;
  width: 50%;
  height: auto;
  max-height: 400px;
  left: 25%;
}

.popup-overlay2.active {
  /*displays pop-up when "active" class is present*/
  visibility: visible;
  text-align: center;
}

.popup-content2 {
  /*Hides pop-up content when there is no "active" class */
  visibility: hidden; /* hidden */
  text-align: center;
  padding: 40px 0;
}
.popup-content2 p{
    color: gray;
    text-align: center;
    margin: 40px 0;
}
.popup-content2 i{
    color: firebrick;
    font-size: 60px;
}

.popup-content2.active {
  /*Shows pop-up content when "active" class is present */
  visibility: visible;
}
#loading {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 3px solid grey;
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
}


@keyframes spin {
  to { -webkit-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
  to { -webkit-transform: rotate(360deg); }
}


/* Formulario */

.formulario{
    text-align: center;
    padding: 30px 0;
    background-color: #F3F3F3;
}
form{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}
.formulario h2{
    margin-bottom: 30px;
}
.formulario p{
    margin-top: 30px;
    color: #606060;
    font-size: 15px;
}

/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea, email, pohne{
    width: 100%; /* Full width */
    padding: 12px; /* Some padding */  
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    margin-bottom: 15px; /* Bottom margin */
    resize: vertical; /* Allow the user to vertically resize the textarea (not horizontally) */
    border-color: transparent;
    background-color: white;
    font-size: 14px;
    color:  white;
    font-family: 'Roboto', sans-serif;
}
/* Style the submit button with a specific background color etc */
input[type=submit]{
    color: white;
    padding: 5px 15px 5px 15px !important;
    background-color: #2DAA80;
    font-size: 17px !important;
    border-color: transparent;
    box-sizing: content-box;
    cursor: pointer;
    font-weight: 300;
    letter-spacing: 0.05em;
    width: 100px !important;
    margin: 0 auto !important;
}
input[type=submit]:hover{
    background-color: #003931;
}

@media (min-width:768px){
    input[type=text], select, email, pohne{
        width: 30%;
        margin: 10px;
    }
    textarea{
        width: 94%;
        height: 180px;
    }
    .flex-form{
        display: flex;
        flex-wrap: nowrap;
        padding-bottom: 40px;
    }
    .enviar-btn{
        width: 20%;
        margin-left: 1%;
    }
    .formulario p{
        width: 70%;
        text-align: left;
        margin-left: 5%;
        margin-top: 0;
    }
    .formulario h2{
        font-size: 40px !important; 
    }
}

/* ==========================================================================
   Esmeralda
   ========================================================================== */

/** Esmeralda Colombiana **/

.esmeralda_hero{
    text-align: center;
    padding: 40px 0;
}
.esmeralda_hero img{
    max-width: 400px;
    width: 70%;
    margin: 20px auto;
}
.esmeralda_hero h1{
    border-bottom: 2px solid black;
    width: 90%;
    margin: 0 auto;
    font-size: 30px;
    text-align: center;
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.esmeralda_hero p{
    color: black;
    width: 90%;
    margin: 0 auto;
    text-align: left;
}
.esmeralda_hero .contenedor{
    padding: 100px 0;
    width: 80%;
}
@media (min-width:768px){
    .esmeralda_hero .contenedor{
        width: 30%;
        margin-right: auto;
        margin-left: 10%;
        padding: 200px 0;
    }
   .esmeralda_hero{
        display: flex;
        flex-wrap: nowrap;
        margin-top: 40px;
    }
    .txt-esmeralda_hero h1{
        text-align: left;
        font-size: 30px !important;
    }
    .txt-esmeralda_hero{
        margin-top: auto;
        margin-bottom: auto;
    }
}

/** Img Fondo **/

.fondo-esmeralda{
    background-image: url(../img/fondo-esmeralda.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 400px;
}

/** Tipos y Fromas **/

.tipos_formas{
    padding: 40px 0;
}
.tipos_formas h2{
    text-align: center;
    padding-bottom: 20px;
    font-size: 30px;
}
.tipos_formas p{
    width: 90%;
    margin: 0 auto;
    padding-bottom: 30px;
}
.tipos_formas ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.tipos_formas ul li{
    width: 40%;
    margin: 10px;
}
.tipos_formas ul li h3{
    font-size: 20px;
    padding: 10px 0;
}
.trapiche{
    padding: 40px 0;
    text-align: center;
}
.trapiche img{
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    margin-bottom: 20px;
}
.trapiche h2{
    color: #033931;
    border-bottom: 2px solid #033931;
    width: 60%;
    padding: 10px 0;
    margin: 0 auto;
    margin-bottom: 15px;
    text-align: left;
    margin-left: 5%;
}
.trapiche p{
    text-align: left;
}
@media (min-width:768px){
    .tipos_formas ul li{
        width: 30%;
        margin: 10px;
    }
    .tipos_formas ul li h3{
        font-size: 16px;
    }
    .trapiche{
        display: flex;
        flex-wrap: wrap;
    }
    .trapiche img{
        width: 40%;
        margin-right: 5%;
    }
    .tipos_formas h2{
        font-size: 40px !important;
    }
    .txt-trapiche{
        width: 55%;
        margin-top: auto;
        margin-bottom: auto;
    }
}

/** Formas **/

.formas{
   padding: 40px 0; 
}
.formas h2{
    text-align: center;
    padding-bottom: 20px;
    font-size: 30px;
}
.formas p{
    padding-bottom: 20px;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    width: 90%;
}
.formas ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.formas ul li{
    width: 30%;
    margin: 10px;
    border: 1px solid #707070;
    padding: 20px;
}
.formas ul li:hover{
    background-image: url(../img/textura-aleph.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: white;
    content: ;
}
.formas ul li h3{
    font-size: 15px;
    text-align: center;
    padding-top: 10px
}
.formas ul li img{
    max-height: 120px;
}
@media (min-width:768px){
    .formas ul li{
        width: 20%;
        margin: 10px;
    }
    .formas{
        max-width: 1280px;
        margin: 0 auto;
        width: 90%;
    }
    .formas h2{
        font-size: 40px !important;
    }
}

/* ==========================================================================
   Contacto
   ========================================================================== */

.header_contacto{
    background-image: url(../img/fondo-contacto.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    text-align: center;
    height: 500px;
}
.header_contacto h1{
    color: white;
    border-bottom: 2px solid white;
    font-size: 40px !important;
    width: 40%;
    margin: auto;
    padding-top: 200px;
}

/** Contactos redes"" **/

.contactos{
    text-align: center;
}
.contactos ul{
    padding: 40px 0;
}
.contactos ul li{
    background-color: #F6F6F6;
    width: 300px;
    margin: 20px auto;
    padding: 20px 0;
    box-shadow: -10px 10px 23px -9px rgba(112,112,112,1);
}
.contactos li:hover{
    background-color: #003931;
    color: white;
}
.contactos ul li i{
    color: #33605A;
    font-size: 40px;
    padding: 10px;
}
.contactos ul li i img{
    width: 50px;
}
.contactos ul li h2{
    color: #33605A;
    margin-top: 10px;
    font-size: 18px !important;
}
@media (min-width:768px){
    .contactos ul{
        display: flex;
        flex-wrap: wrap;
    }
    .header_contacto h1{
        font-size: 90px !important;
        width: 30%;
    }
}










/* ==========================================================================
   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
 */

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

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

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

/*
 * 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 */
        -webkit-box-shadow: none !important;
        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:
     * 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;
    }
}
