/*
 * HTML5 Boilerplate
 *
 * 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
   ========================================================================== */
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{
    display: block;
    behavior: url(border-radius.htc);
}

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em; 
    line-height: 1.4;
    margin:0 auto;
    background:url(../img/fondo-degradado.jpg) repeat-x;
    background-color:#eeeeee;
}

h1,h2,h3,h4,h5,h6,h7 {
    color:#004990;
}
.tituloAz {
    color:#014991;
    font-size:18px;
    font-weight:bold;
    padding:4px 2px 6px -25px;
}
/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * 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 images and the bottom of their containers: h5bp.com/i/440
*/

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
*/

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
*/

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
*/

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
*/

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
*/

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
*/

.clearfix {
    *zoom: 1;
}


/* Easy Slider */
#easyContainer{	
    margin:0 auto;
    position:relative;
    text-align:center;
    width:717px;
    height:270px;
    background:#ccc;		
    margin-bottom:2em;
}	

#slider ul, #slider li,
#slider2 ul, #slider2 li{
    margin:0;
    padding:0;
    list-style:none;
}
#slider2{margin-top:1em;}
#slider li, #slider2 li{ 
    /* 
            define width and height of list item (slide)
            entire slider area will adjust according to the parameters provided here
    */ 
    /*
    width:696px;
    height:241px; */
    width:720px;
    height:270px;
    overflow:hidden;
    text-align:center;
    background:url(../img/bg_slider1-2-0.png) no-repeat;
}	
#prevBtn, #nextBtn,
#slider1next, #slider1prev{ 
    display:block;
    width:30px;
    height:77px;
    position:absolute;
    left:-30px;
    top:71px;
    z-index:1000;
}	
#nextBtn, #slider1next{ 
    left:696px;
}														
#prevBtn a, #nextBtn a,
#slider1next a, #slider1prev a{  
    display:block;
    position:relative;
    width:30px;
    height:77px;
    background:url(../images/btn_prev.gif) no-repeat 0 0;	
}	
#nextBtn a, #slider1next a{ 
    background:url(../images/btn_next.gif) no-repeat 0 0;	
}	

/* numeric controls */	

ol#controls{
    margin:1em 0;
    padding:0;
    height:28px;	
}
ol#controls li{
    margin:0 10px 0 0; 
    padding:0;
    float:left;
    list-style:none;
    height:28px;
    line-height:28px;
}
ol#controls li a{
    float:left;
    height:28px;
    line-height:28px;
    border:1px solid #ccc;
    background:#DAF3F8;
    color:#555;
    padding:0 10px;
    text-decoration:none;
}
ol#controls li.current a{
    background:#5DC9E1;
    color:#fff;
}
ol#controls li a:focus, #prevBtn a:focus, #nextBtn a:focus{outline:none;}

/* propios */
#contenedor
{
    width:753px;
    margin:auto;
    border:1px none #000;
    line-height:130%;
    background-color: transparent;
}
#contenedorIndex
{
    width:800px;
    margin:auto;
    border:1px none #000;
    line-height:130%;
    background-color: transparent;
}
#contenedorIndex .titNaranja {
    color: #f2991f;
    font-size:bold;
    font-size:13px;
}
#contenedorPrint
{
    width:753px;
    height:310px;
    position:relative;
    margin:auto;
    line-height:130%;
    background-color: transparent;
}
.contenedorPrintCreditoOK{
    position:relative;
    width:100%;
    height:100%;
}
#calcPrintMonto{
    position: absolute;
    width: 640px;
    left: -110px;
    top: 167px;
    z-index: 999;
    text-align: center;
}  
#calcPrintMensualidad{
    position: absolute;
    width: 640px;
    left: -110px;
    top: 237px;
    z-index: 999;
    text-align: center;
}  
#contenedorBox
{
    width:600px;
    margin:auto;
    border:1px none #000;
    line-height:130%;
    background-color: transparent;
    font-size:12px;
}
#contenedorBox .tituloAz {
    font-size:14px;
}
#contenedorAbajo
{
    width:753px;
    height:186px;
    margin:auto;
    border:1px none #000;
    line-height:130%;
    background-color:#e0dedf;
    z-index:99999;
    font-size:12px;
}
#contenedorAbajoGeneral
{
    width:753px;
    height:260px;
    margin:auto;
    border:1px none #000;
    line-height:130%;
    background-color: transparent;
    z-index:99999;
    font-size:14px;
    padding-left:25px;
    text-align:justify;
}
#contenedorAbajoChico
{
    width:753px;
    height:160px;
    margin:auto;
    border:1px none #00F;
    line-height:130%;
    background-color: transparent;
    z-index:99999;
    font-size:14px;
    padding-left:25px;
    text-align:justify;
}
#contenedorAbajoContacto
{
    width:753px;
    height:328px;
    margin:auto;
    border:1px none #009;
    line-height:130%;
    background-color:#fff;
    background:url(../img/slider/contacto_bg.png) no-repeat bottom;
    z-index:99999;
}
#contenedorAbajoCalculadora
{
    width:753px;
    height:340px;
    margin:auto;
    border:1px none #000;
    line-height:130%;
    background-color: transparent;
    background:url(../img/calcula/cuadroGris.jpg) no-repeat bottom;
    background-size: 100% 100%;
    border-image: url(../img/slider/sombra.png) 0 0 20 0 stretch;
    border-bottom-width: 20px;
    z-index:99999;
}
#contenedorAbajoLogin
{
    width: 753px;
    height: 181px;
    margin: auto;
    border: 1px none #000;
    line-height: 130%;
    background-color: transparent;
    background: url(../img/slider/cuadro-gris.png) no-repeat bottom;
    z-index: 99999;
    padding-top: 18px;
}
#contenedorReportes
{
    width:900px;
    margin:auto;
    border:1px none #009;
    line-height:130%;
    background-color: transparent;
}

.trNaranja {
    background-color:#f2991f;
    color: #000;
    font-weight:bold;
    font-size:10px;
}

.trPar {
    background-color:#FFF;
    color: #000;
    font-weight:normal;
    font-size:10px;
}

.trNon {
    background-color:#CCC;
    color: #000;
    font-weight:normal;
    font-size:10px;
}

#header
{
    width:753px;
    height:98px;
    margin:auto;
    padding-top:10px;
    border:1px none #00F;
    line-height:130%;
    background-color:#fff;
    vertical-align:bottom;
}

#contentSlider
{
    width:53px;
    height:289px;
    margin:auto;
    border:1px solid #900;
    line-height:130%;
    background-color:#e2e2e2;   
}

.limpia{
    height:20px;
    width:100%;
}

#contentAbajo
{
    width:753px;
    height:260px;
    margin:auto;
    border:1px solid #900;
    line-height:130%;
    background-color:#e0dedf;   
}

#cabecera
{
    padding:10px;
    color:#fff;
    background-color:#becdfe;
    clear:left;
}
#columna1
{
    float:left;
    width:340px;
    margin:0;
    padding:1em;
}
#columna2
{
    margin-left:auto;
    border-left:1px solid #aaa;
    padding:1em;
}
#columna1Head
{
    float:left;
    width:230px;
    margin:0;
    padding:0;
    border:1px solid #000;
    padding-bottom:0;
}
#columna2Head
{
    height: 100%;
    border:1px none #F00;
    color: #CCC;
    margin-right:0;
    margin:0;
    font-weight:lighter;
    font-size:30px;
    text-align:right;
    border:1px solid #060;
    padding-top:40px;
    padding-right:-20px;
    text-align:right;
}
#columna3Head
{
    height: 60px;
    border:1px solid #0FF;
    color: #CCC;
    margin:auto;
    font-weight:normal;  
    text-align:right;
    padding:2px 0 2px;
    font-size:30px;
}
#headSucursal
{
    float:left;
    width:519px;
    height:80px;
    margin:0;
    padding:0;
    border:1px solid #00F;
    color: #CCC;
    text-align:right;
    z-index:9999;
}
#headSucursal2
{
    float:left;
    width:519px;
    height:40px;
    margin:0;
    padding:0;
    border:1px solid #000;
    color: #CCC;
    text-align:right;
    z-index:9999;
    font-size:26px;
}
#headSucursal3
{
    float:left;
    width:519px;
    height:30px;
    margin:0;
    padding:0;
    border:1px solid #000;
    color: #CCC;
    text-align:right;
    z-index:9999;
}
#headTelefono
{
    float:left;
    width:519px;
    margin:0;
    padding:0;
    border:1px solid #000;
    padding-bottom:0;
    color: #CCC;
    text-align:right;
}
#headSucursal .tituloSuc{
    font-size:30px;
}
#headTelefono .tituloTel3{
    font-size:12px;
}

#columna2Head .tituloSuc {
    font-size:1.28em;
    font-weight:normal;
    border:1px solid #F00;
}
#columna2Head .tituloTel {
    font-size:0.7em;
    font-weight:normal;
    margin-top:0px;
    border:1px solid #09C;
}
#columnaLeft
{
    float:left;
    width:366px;
    margin:0;
    padding:6px 4px 6px 6px;
}

#calculaLeft
{
    float:left;
    width:450px;
    margin:0;
    padding:5px;
    border: 1pz solid #090;
    font-size:0.75em;
    text-align:right;
}
#calculaCenter
{
    float:left;
    width:50px;
    margin:0;
    padding:5px;
    border: 1pz none #090;
    font-size:0.75em;
    text-align:right;
}
#calculaRight
{
    margin-left:auto;
    border:1px none #C03;
    padding:6px;
    float:left;
}
#columnaRight
{
    margin-left:auto;
    border-left:1px none #aaa;
    /*  padding:6px; */
    padding:6px 6px 6px 4px;
    float:left;
    overflow:hidden;
}
#contactoLeft
{
    float:left;
    width:280px;
    margin:0;
    padding:5px;
    border: 1pz none #090;
    font-size:0.75em;
    text-align:right;
}
#contactoCenter
{
    float:left;
    width:40px;
    margin:0;
    padding:5px;
    border: 1pz none #090;
    font-size:0.75em;
    text-align:right;
}
#contactoRight
{
    margin-left:auto;
    border-left:1px none #aaa;
    padding:6px;
    float:left;
}
#pie {
    padding:10px;
    color:#fff;
    background-color:#becdfe;
    clear:left;
}

footer{font-size:10px; background-color:#FFF;
       border:2px solid #e0dedf;
       border-bottom:none;
       border-left:none;
       border-right:none;
       position:relative;display:block;
       width:753px;
       height:60px;
       margin:25px auto;
       background-color: transparent;
}
.tagline_left{float:left}.tagline_right{float:right}
.tagline_centro{display:block;float:left;width:60%;line-height:1.6em;margin:0; border:1px none #000;}

.backwards {unicode-bidi:bidi-override; direction: rtl;} 
.colorNaranja{ color:#ffa60e; /*feb74cp*/ }
.colorAzul{ color:#014991; /*#4378ad*/ }
.colorGris{ color:#808082; }

.colorNaranja{ color:#ffa60e; font-weight:normal; }
.colorAzul{ color:#014991; font-weight:normal; }
.colorGris{ color:#808082; font-weight:normal; }

.naranjaCalc{ color:#f89829;
              font-size:30px;
              text-transform:capitalize;
}
.azulCalc{ color:#014991;
           font-size:22px;
           border:1px none #000;
           padding:4px;
}
.grisCalc{ color:#666666;
           font-size:12px;
           border:1px none #090;
           margin-bottom:-15px;
}

.tituloGris{ color:#808082;
             font-weight:bold;
             font-size:18px;
}

.tituloGrisIndex{ color:#666666;
                  font-weight:bold;
                  font-size:13px;
                  margin-bottom:10px;
                  cursor:pointer;
                  text-decoration: none;
}
.colorIndex{
    color:#666666;
    font-size:12px;
}
.tituloGrisIndex:hover{
    color:#00F;
}
ul {
    list-style: none;
    padding:0;
    margin:0;
}

li {
    padding-left: 1em;
    text-indent: -.7em;
}

li:before {
    /*content: ". ";*/
    content: "* ";
    color: #F00; /* or whatever color you prefer */
}

.button {
    display: inline-block;
    zoom: 1; /* zoom and *display = ie7 hack for display:inline-block */
    *display: inline;
    vertical-align: baseline;
    margin: 0 2px;
    outline: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font: 12px/100% Arial, Helvetica, sans-serif;
    padding-top:.4em;
    padding-bottom:.4em;
    padding-left:.8em;
    padding-right:.8em;
    text-shadow: 0 1px 1px rgba(0,0,0,.3);
    -webkit-border-radius: .5em;
    -moz-border-radius: .5em;
    border-radius: .5em;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
    box-shadow: 0 1px 2px rgba(0,0,0,.2);
    color: #000;
    border: solid 1px #333;
    background: #d3d3d5;
}

.buttonCalcular{
    cursor: pointer;
    background-image: url(/img/calcular.png);
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;
    width: 68px;
    height: 22px;
}


.button:hover {
    text-decoration: none;
}
.button:active {
    position: relative;
    top: 1px;
}

#linkNaranja{ color:#feb74c; text-decoration:none; /*ffa60e;*/ }
#linkAzul{ color:#014991; /*4378ad;*/ text-decoration:none; /*014991;*/ }
.msgError{ color:#900; font-size:smaller; }

/*nav*/
#nav-container { 
    position:relative;
    display:block;
    width:100%;
    height:36px;
    margin:0 auto;
}
#nav-container{z-index:1000;font-size:14px;text-align:center;border:1px solid #666;font-weight:bold; color:#FFF; }
.nav,.nav *{list-style:none;margin:0;padding:0}.nav ul{position:absolute;top:-999em;width:10em}
.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav li{display:inline-block; width:125px; height:36px; margin:0; padding:0px; margin-left:120px;}

#navBar
{
    width:753px;
    height:40px;
    margin:auto;
    border:1px none #000;
    line-height:130%;
    background-color:#fff;
}
#navMenu
{
    float:left;
    width:150px;
    height:100%;
    margin:0;
    padding:0;
    border:1px none #000;
    text-align:center;
    text-decoration:none;
    vertical-align:middle;
    background-color:#CCC;
    background:url(../img/nav/nav_normal.png) no-repeat;
    color:#909;
    font-weight:bold;
    font-size:0.8em;
    text-decoration:none;
    padding-top:8px;
}
#navMenuActive
{
    float:left;
    width:150px;
    height:96%;
    margin:0;
    padding:0;
    border:1px none #000;
    text-align:center;
    text-decoration:none;  
    vertical-align:middle;
    background-color:#CCC;
    background:url(../img/nav/nav_activo.png) no-repeat;
    color:#ffa60e;
    font-weight:bold;
    font-size:0.8em;
    text-decoration:none;
    padding-top:8px;
}
#navBar #navMenu a {
    color:#fff;
    text-decoration:none;
}

#navBar #navMenu a:hover {
    color:#ffa60e;
    text-decoration:none;
}

#navBar #navMenuActive a {
    color:#ffa60e;
    text-decoration:none;
}

.nav a:active_suc{background:#e0e0e0; color:#f59b13; background:url(../img/nav/nav_naranja_160x36.png) no-repeat;}
.nav .normal_suc{background:#e0e0e0; color:#ffffff; background:url(../img/nav/nav_gris_160x36.png) no-repeat; width:160px; border:1px solid #0F0;}
.nav .normal{background:#e0e0e0; color:#ffffff; background:url(../img/nav/nav_gris_135x36.png) no-repeat; width:135px; border:1px solid #0F0;}

#datos_form {
    width:100%;
    height:30px;
    border:1px none #F00;
}
#datos_form2 {
    width:100%;
    height:26px;
    border:1px none #F00;
}
#datos_form_calcula_input {
    display:inline;
    float:left;
    width:44%;
    border:1px none #0F0;
    text-align:right;
}

#datos_form_right_error{
    display: inline;
    float: left;
    width: 52%;
    border: 1px none #0F0;
    text-align: center;
    color: red;
}

#datos_form_calcula_centro_label {
    display:inline;
    float:left;
    width:10px;
    border:1px none #00F;
    text-align:right;
    font-weight:normal;
}
#datos_form_calcula_label {
    display:inline;
    float:left;
    width:50%;
    border:1px none #0F0;
    text-align:right;
    font-weight:normal;
}

#datos_form_calcula_label2 {
    display:inline;
    float:left;
    width:44%;
    border:1px none #0F0;
    text-align:right;
    font-weight:bold;
    color: #004990;
}
.tituloDatosCalula {
    font-size:14px;
    font-weight:bold;
}
#datos_form_contacto {
    width:100%;
    border:1px solid #F00;
}
.validar{
    border:1px solid #abadb3;
}
.validar2{
    display: block;
    margin-bottom: 4px;
    color: #464749;
    height: 20px;
    width: 233px;
    padding-left: 3px;
    border-style: none;
    background-color: #CACACA;
    border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border: 0px solid #000000;
}
.validarError{
    background-color:#FFB3B3; /*#FF9393*/
    border:1px solid #900;
}
.validarError2{
    display: block;
    margin-bottom: 4px;
    color: #464749;
    height: 20px;
    width: 233px;
    padding-left: 3px;
    border-style: none;
    background-image: url(/img/text-boxError.png);
    background-color: transparent;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

::-webkit-input-placeholder { color:#464749; }
::-moz-placeholder { color:#464749; } /* firefox 19+ */
:-ms-input-placeholder { color:#464749; } /* ie */
input:-moz-placeholder { color:#464749; }

.selectReportes{
    border:1px solid #abadb3;
    font-size:10px;
}
.validarCaptcha{
    border:1px solid #abadb3;
    background-color:#eff0f0;	
}
.validarErrorCaptcha{
    background-color:#FFB3B3; /*#FF9393*/
    border:1px solid #900;
}

#datos_form_contacto .blockFormDatosLabel{display:inline;
                                          /*float:left;
                                          width:260px;height:40px;margin:0; padding-right:6px; */
                                          border:1px solid #00F; font-size:9px; text-align:right; } 

#datos_form_contacto .blockFormDatos{display:inline;float:left;
                                     /*width:430px;height:40px;margin:0;padding:1px; padding-left:6px; */
                                     border:1px solid #00F; font-size:11px; } 

#datos_form_contacto .blockFormDatosSubmit{display:inline;float:left;width:430px;height:80px;margin:0;padding:1px; padding-left:6px; border:1px none #00F; font-size:11px; } 

#datos_form_contacto .blockFormDatosComentarios{display:inline;float:left;width:430px;height:160px;margin:0;padding:1px; padding-left:6px; border:1px none #00F; font-size:11px; } 
/*SliderJ*/
<style type="text/css" media="screen">
/*
        Load CSS before JavaScript
*/

/*
        Slides container
        Important:
        Set the width of your slides container
        Set to display none, prevents content flash
*/
#slides .slides_container {
    width:700px;
    height:264px;
    display:none;
}

/*
        Each slide
        Important:
        Set the width of your slides
        If height not specified height will be set by the slide content
        Set to display block
*/
/*
#slides .slides_container div {
        width:700px;
        height:170px;
        display:block;
}*/

/*
        Slides container
        Important:
        Set the width of your slides container
        Set to display none, prevents content flash
*/
/*
#slides_two .slides_container {
        width:250px;
        display:none;
}*/

/*
        Each slide
        Important:
        Set the width of your slides
        If height not specified height will be set by the slide content
        Set to display block
*/

#slides_two .slides_container div {
    width:250px;
    height:250px;
    display:block;
}

/*
        Slides container
        Important:
        Set the width of your slides container
        Set to display none, prevents content flash
*/
#slides_three .slides_container {
    width:200px;
    display:none;
}

/*
        Each slide
        Important:
        Set the width of your slides
        If height not specified height will be set by the slide content
        Set to display block
*/

#slides_three .slides_container div {
    width:200px;
    height:100px;
    display:block;
}

/* 
        Example only
*/
.pagination .current a {
    color:red;
}
hr {
    background:#efefef;
}
</style>

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses 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 only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow:none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: none;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
    */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}