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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html{
    box-sizing: border-box;
}
*,*:before,*:after{
    box-sizing: border-box;
}
body{
    font-family: 'Raleway', sans-serif;
}
h2{
    font-size: 1.8em;
    color: var(--negro);
}
h3{
    font-size: 1em;
    color: var(--texto);
    text-align: center;
    margin-top: -20px;
}
p{
    color: var(--texto);
    font-size: 1em;
    line-height: 1.8rem;
    font-weight: 300;
}
img{
    width: 100%;
}
a{
    text-decoration: none;
    color: black;
}
.button{
    padding: 5px 25px;
    color: white;
    font-weight: 300;
    letter-spacing: 0.3rem;
    text-decoration: none;
    font-size: 1em;
    margin-top: 20px;
    display: inline-block;
    border: white 1px solid;
    transition: all .3s ease;
}
.button.hollow,
.button.hollow:hover{
    background-color: white;
    color: var(--azul);
}
.button:hover{
    -webkit-transition: all .5s ease-in-out;
    -webkit-transform: scale(1.1);
}

ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
/** Globales **/

.contenedor{
    width: 90%;
    margin: 0 auto;
}
:root {
    --negro: #3F3F3F;
    --azul: #1E1E2E;
    --texto: #868484;
}

/** Barra **/

.barra{
    background-color: var(--azul);
    height: auto;
}
.fixed{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}
/** Navegacion Proncipal **/

.navegacion-principal{
    display: none;
    width: 100%;
}
.navegacion-principal a{
    color: white;
    text-decoration: none;
    font-size: 1.3em;
    transition: all .6s ease;
    width: 100%;
    display: inline-block;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    margin: 0 auto; 
}
.navegacion-principal a:last-child{
    border: white 2px solid;
    margin-bottom: 10px;
}
.navegacion-principal a:hover{
    background-color: white;
    color: var(--azul);
}

/** Menu movil **/

.menu-movil{
    width: 40px;
    display: block;
    float: right;
    text-align: right;
    margin-top: 20px;
    margin-right: 5%;
    margin-bottom: 20px;
}
.menu-movil:hover{
    cursor: pointer;
}
.menu-movil span{
    height: 5px;
    margin-bottom: 6px;
    background-color: white;
    display: block;
}
.barra{
    width: 100%;
}
.logo{
    display: block;
    float: left;
    margin-top: 15px;
}
.logo img{
    width: 150px;
}

/** Header **/

.header{
    background-image: url(../img/slider/edificio-moderno.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 50vh;
}
.header-pablo{
    background-color: var(--azul);
    height: 300px;
    margin-bottom: 300px;
}
.contenido-header{
    text-align: center;
    padding-top: 13vh;
}
.contenido-header h1{
    text-align: center;
    color: white;
    border: 2px solid white;
    font-size: 40px;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 2px 2px rgba(0,0,0,.25);
}
.contenido-header-servicio{
    text-align: center;
    padding-top: 20vh;
}
.contenido-header-servicio h1{
    text-align: center;
    color: white;
    border: 2px solid white;
    font-size: 40px;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 2px 2px rgba(0,0,0,.25);
}
.contenido-header-pablo{
    text-align: center;
    padding-top: 150px;
    max-width: 300px;
}
.contenido-header-pablo img{
    max-width: 300px;
}
.contenido-header-pablo h3{
    color: #868484;
}
.pablo-btn{
    background-color: var(--azul);
}

/** Introduccion **/

.introduccion{
    width: 90%;
    margin: 0 auto;
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: justify
}
.pablo-int{
    text-align: center;
}
.pablo-int p{
    text-align: justify;
    width: 90%;
    margin: 0 auto;
}

/** Colorbox Secciones **/

.lista-categorias li{
    width: 40%;
    margin: 10px;
    box-shadow: -10px 5px 8px -9px rgba(112,112,112,1);
    background-color: white;
}
.lista-categorias  li:hover{
    -webkit-transition: all .5s ease-in-out;
    -webkit-transform: scale(1.1);
}
.lista-categorias{
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
}
.categorias{
    position: relative;
    overflow: hidden;
    padding-top: 40px;
    padding-bottom: 40px;
    margin-bottom: 40px;
    background-color: #EDEAEA;
    max-height: 450px; !important;
}
.categorias h2{
    text-align: center;
}
.categorias img{
    max-width: 100%;
    -webkit-transition: all .5s ease-in-out;
}
.categorias img:hover {
    filter: grayscale(1);
    -webkit-filter: graysacle(1);
}
.categorias p{
    width: 100%;
    text-align: center;
    color: var(--azul);
    transition: all .5s ease-in-out;
    font-size: 1rem;
}
.categorias i{
    color: var(--naranja);
    font-size: 0.9rem;
    margin-right: 5px;
}
/* Servicios */

.lista-servicio {
    margin-top: 30px;
}
.lista-servicio li{
    width: 40%;
    margin: 10px;
    background-color: white;
}
.lista-servicio li:hover{
    -webkit-transition: all .5s ease-in-out;
    -webkit-transform: scale(1.1);
}
.lista-servicio{
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
}
.servicios{
    position: relative;
    overflow: hidden;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #1E1E2E;
}
.blanco{
    background-color: white;
}
.blanco li{
    box-shadow: -10px 5px 8px -9px rgba(112,112,112,1);
}
.servicios p{
    color: white;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}
.servicios .button{
    float: right;
    margin-right: 8%;
    background-color: white;
    color: var(--azul);
}
.servicios h2{
    text-align: center;
    color: white;
}
.servicio img{
    max-width: 100%;
    -webkit-transition: all .5s ease-in-out;
}
.servicio img:hover {
    filter: grayscale(1);
    -webkit-filter: graysacle(1);
}
.servicio p{
    width: 100%;
    text-align: center;
    color: var(--azul);
    transition: all .5s ease-in-out;
    font-size: 1rem;
}
.servicio i{
    color: var(--naranja);
    font-size: 0.9rem;
    margin-right: 5px;
}

@media (min-width:768px){ 
    .lista-categorias li{
        width: 40%;
    }
    .categorias{
        max-width: 400px;
        margin-top: auto;
        margin-bottom: auto;
    }
    .categorias h2{
        display: none;
    }
    .lista-servicio li{
        width: 20%;
    }
}

/** Por que **/

.porque{
    padding-top: 40px;
    padding-bottom: 40px;
}
.porque h2{
    text-align: center;
}
.porque p{
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.lista-porque{
    width: 95%;
    margin: 0 auto;
    max-width: 800px;
    text-align: center;
}
.lista-porque li{
    display: flex;
    flex-wrap: wrap;
}
.lista-porque li i{
    width: 30%;
    margin-top: auto;
    margin-bottom: auto;
    font-size: 3rem;
}
.lista-porque li p{
    width: 60%;
    text-align: justify;
}

/** Plantillas **/

.plantillas{
    padding-top: 80px;
    padding-bottom: 40px;
    text-align: center;
}
.txt-left{
    text-align: justify;
}
.cualidades h3{
    width: 90%;
    margin: 0 auto;
    text-align: left;
    color: var(--azul);
}
.ventajas h3{
    width: 90%;
    margin: 0 auto;
    text-align: left;
    color: var(--azul);
}
.txtPlantillas h2{
    width: 90%;
    margin: 0 auto;
    text-align: left;
}
.txtPlantillas h3{
    width: 90%;
    margin: 0 auto;
    text-align: left;
    color: var(--azul);
}
.txtPlantillas p{
    padding-bottom: 20px;
    width: 90%;
    margin: 0 auto;
    text-align: justify;
}
.plantillas img{
    max-width: 800px;
    height: auto;
    margin-bottom: 40px;
    margin-top: 20px;
    width: 90%;
}
.txtPlantillas h2{
    padding-bottom: 20px;
}
.oscuro{
    background-image: url(../img/software/binary-code-data-software-P83BJ4H.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-bottom: 50px;
    padding-top: 40px;
}
.oscuro .txtPlantillas{
    background-color: rgba(255,255,255,1);
    padding-top: 20px;
    padding-bottom: 20px;
    width: 90%;
    margin: 0 auto;
}
.oscuro .plantillas{
    padding-top: 0px;
}
.prom{
    background-color: var(--azul)
}

/** Objetivos **/

.objetivos{
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    padding-bottom: 40px;
}
.objetivos li{
    position: relative;
    overflow: hidden;
    padding-bottom: 40px;
    margin-bottom: 40px;
    max-width: 300px;
    margin: 20px;
    box-shadow: -10px 5px 8px -9px rgba(112,112,112,1);
}
.objetivos p{
    width: 90%;
    text-align: justify;
    margin: 0 auto;
    padding-top: 20px;
    font-size: 1rem;
}
.titulo-objetivos img{
    margin-top: -200px;
}
.titulo-objetivos h2{
    color: white;
    text-align: center;
    position: relative;
    top: 10px;
    font-size: 3rem;
    letter-spacing: 0.7rem;
}

/** Equipo **/

.grey{
    background-color: #EDEAEA;
}
.equipo{
    position: relative;
    overflow: hidden;
    padding-top: 40px;
    padding-bottom: 40px;
}
.equipo h2{
    text-align: center;
}
.equipo img{
    max-width: 100%;
    -webkit-transition: all .5s ease-in-out;
}
.equipo img:hover {
    filter: grayscale(1);
    -webkit-filter: graysacle(1);
}
.equipo p{
    width: 100%;
    text-align: justify;
    padding-left: 10%;
    color: var(--azul);
    transition: all .5s ease-in-out;
    font-size: 1rem;
}
.equipo p span{
    column-rule-color: var(--texto);
    font-size: 0.8rem;
    position: relative;
    top: -10px;
}
.pablo{
    background-color: var(--azul);
    max-width: 400px;
    margin: 0 auto;
    padding: 40px;
    padding-top: 20px;
    text-align: center;
    margin-top: 40px;
}
.pablo h2, h3{
    color: white;
}
.pablo img{
    margin-top: 20px;
}

/* Boton Whatsapp fixed */

.whats{
    background-color: #7AD06D;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 100%;
    position: fixed;
    bottom: 7vh;
    right: 30px;
    border: 1px solid white;  
}
.whats i{
    color: white;
    font-size: 30px;
    padding-top: 8px;
}
.whats:hover{
    -webkit-transition: all .5s ease-in-out;
    -webkit-transform: scale(1.2);
    background-color: var(--azul);
}

/* informacion */

.contenidoContacto h3{
    padding-bottom: 40px;
}
.info-cont i{
    font-size: 25px;
    background-color: white;
    color: var(--negro);
    padding: 15px;
    border-radius: 100%;
    width: 55px;
    height: 55px;
}
.info-cont ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: -60px;
}
.info-cont li{
    background-color: var(--azul);
    padding: 40px;
    text-align: center;
    max-width: 300px;
    margin: 5px;
    width: 45%;
}
.info-cont p{
    color: white;
    text-align: center;
}
.info-cont li:hover{
    -webkit-transition: all .5s ease-in-out;
    -webkit-transform: scale(1.1);
    background-color: #444467;
}
.imgperfil img{
    max-width: 100px;
    border-radius: 100%;
    background-color: white;
    padding: 20px;
}
.imgperfil{
    position: relative;
    top: -60px;
}
.imgperfil h3{
    color: var(--texto);
    margin-bottom: 40px;
}

/* Servicio Individual */

.left{
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 40px;
    margin-bottom: 20px;
}
.right{
    padding-bottom: 20px;
    text-align: justify;
}
.servicios-btn{
    text-align: center;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    margin-top: -20px;
    margin-bottom: 20px;
}
.servicios-btn h2{
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    border: solid 2px var(--azul);
}
.servicios-btn i{
    font-size: 30px;
    margin: 20px;
    margin-top: 35px;
    margin-bottom: 0px;
    color: #B4AFAF;
}
.servicios-btn i:hover{
    color: var(--azul);
}
.txt-center{
    text-align: center;
}
@media (min-width:768px){
    .left{
        width: 50%;
        margin-top: auto;
        margin-bottom: auto;
    }
    .right{
        width: 40%;
        margin-top: auto;
        margin-bottom: auto;
        padding-bottom: 0px;
    }
}


















/**Colorbox**/

.cboxElement{
    text-align: justify;
}
.cboxElement p{
    width: 90%;
    margin: 0 auto;
    padding-top: 10px;
}

/** Mapa **/

.mapa{
    text-align: center;
    justify-content: center;
}

/* Formulario */

/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea, email, pohne {
    width: 100%; /* Full width */
    padding: 10px; /* Some padding */  
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    margin-bottom: 16px; /* Bottom margin */
    resize: vertical; /* Allow the user to vertically resize the textarea (not horizontally) */
    border: transparent;
    border-bottom: var(--azul) 2px solid;
    background-color: white;
    font-size: 14px;
    color: var(--azul);
}
/* Style the submit button with a specific background color etc */
input[type=submit]{
    color: white;
    background-color: var(--azul);
    padding: 10px 40px;
    box-sizing: content-box;
    cursor: pointer;
    border-style: none;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
}
/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover{
    background-color: var(--texto);
} 
/* Add a background color and some padding around the form */
.formulario{
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    justify-content: center;
    margin: 0 auto;
    padding-top: 40px;
    padding-bottom: 40px;
    width: 90%;
}
.formulario h3{
    margin-bottom: 40px;
}
.buscanos{
    background-color: #EDEAEA;
}

@media (min-width:768px){
    
}

/** Footer **/

.contacto{
    text-align: center;
    background-color: var(--azul);
    padding-top: 10px;
    padding-bottom: 30px;
}
.contacto p{
    margin-bottom: -10px;
    color: white;
    font-weight: 500;
    letter-spacing: 0.3rem;
}
.redes-sociales i{
    color: white;
    font-size: 1.6rem;
}
.redes-sociales i:hover{
    color: #01a5b1;
}
.site-footer{
    background-color: var(--azul);
    padding-top: 40px;
}
footer .contenedor > div{
    color: white;
    padding: 0px 20px;
    font-size: 12px;
}
footer h2{
    color: #B4AFAF;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    margin-bottom: 20px;
}
footer h2 span{
    color: white;
}
footer .ultimos-tweets li{
    margin-bottom: 10px;
}
footer .redes-sociales{
    text-align: left;
}
.footer-informacion p{
    color: white;
    font-size: 16px;
}
.copyright{
    background-color: #B4AFAF;
    color: white;
    padding: 10px 0;
    margin: 20px 0 0 0;
    text-align: center;
}
.menu i{
    margin-right: 10px;
    margin-bottom: 40px;
}
.menu i:hover{
    color: var(--amarillo);
}

.confirmado{
    background-image: url(../img/newsletter.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100vh;
    height: 100vh;
    width: 1920px;
    text-align: center;
    justify-content: center;
    margin: 0 auto;
}
.confirmado h1{
    text-align: center;
    letter-spacing: 1rem;
    color: white;
    border: 2px solid white;
    font-size: 40px;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 30px;
    text-shadow: 2px 2px rgba(0,0,0,.25); 
}
.internoConfirmado{
    padding-top: 30vh;
    max-width: 1280px;
    text-align: center;
    margin: 0 auto;
    justify-content: center;
    text-align: center;
}
.confirmado p{
    color: white;
    white-space: 90%;
    text-align: center;
    margin: 0 auto;
    font-size: 20px;
}

/**Media Query**/

@media (min-width:768px){
    .contenedor{
        width: 90%;
    }
    .flex-equipo{
        width: 90%;
    }
    .flex{
        display: flex;
        flex-wrap: wrap;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .introduccion{
        width: 40%;
    }
    .nosotros{
        width: 80%;
    }
    .categorias{
        width: 40%;
    }
    h2{
        font-size: 2em;
    }
    p{
        font-size: 1.2em;
    }
    .navegacion-principal{
        width: 100%;
        text-align: right;
        display: block;
        margin: 0 auto;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navegacion-principal a{
        padding: 10px 10px;
        display: inline-block;
        width: auto;
        text-align: center;
        margin: 0 10px 0 0;
    }
    .menu-movil{
        display: none;
    }
    .home{
        background-color: transparent;
    }
    footer .contenedor > div{
        width: 33.3%;
        float: left;
        padding-bottom: 40px;
    }
    .mapa h3{
        text-align: center;
    }
    .formulario{
        width: 45%;
        margin-top: -60px;
    }
    .formulario h3{
        text-align: center;
    }
    .plantillas{
        display: flex;
        flex-wrap: wrap;
    }
    .txtPlantillas{
        width: 50% !important;
        margin-top: auto !important;
        margin-bottom: auto !important;
    }
    .imgPlantillas{
        width: 50% !important;
        margin-top: auto !important;
        margin-bottom: auto !important;
    }
    .oscuro{
        padding-bottom: 0px;
    }
    .flex-equipo .equipo{
        display: flex;
        flex-wrap: wrap;
    }
    .flex-equipo .equipo li{
        width: 27% !important;
    }
    .content-equipo{
        width: 40%;
    }
    .pablo{
        width: 40%;
    }
    .contenidoContacto{
        display: flex;
        flex-wrap: wrap;
        padding-bottom: 0px;
    }
    .info-cont{
        width: 40%;
    }
    .contacto-form{
        width: 40%;
    }
    .cualidades{
        width: 50%;
    }
    .ventajas{
        width: 50%;
    }
    .cualidades h3{
        text-align: center;
    }
    .ventajas h3{
        text-align: center;;
    }
    .esp{
        padding-bottom: 120px;
    }
    .logo img{
        width: 200px;
    }

}
@media (min-width:992px){
    .contenedor{
        max-width: 1280px;
        margin: 0 auto;
    }
    .flex-equipo{
        max-width: 1280px;
        margin: 0 auto;
    }
    .menu-programa a{
        display: table-cell;
    }
}










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