/*! 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.2;
    width: 1200px;

}

/*
 * 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,
svg,
video {
    vertical-align: middle;
    border: 2px;
    /* background-color: green; */
    display: block;
}
div.fotadjuntas #video {
  border: 2px solid black;
  background-color: gray;
  display: block;

}
/*div.fotadjuntas tabla {
  border: 2px;
  width: 33.3%;
  display: block;

}*/
div.fotadjuntas td img {
  border: 2px;
  width: 300px;
  height: 200px;


}
/*
 * 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: inherit;
}
body {

  font-family: 'Open Sans', sans-serif;
  /*background-color: #e1e1e1;*/
}

section.fondo {
/* img/bg-talleres.jpg */
background-color: #3f3e3e;
 background-image: url("../img/fondo2.png");
  opacity:0.7;
/* background-image: url("../img/bg-talleres.jpg"); */
background-size: 65%;
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;

}
section.fondo2 {
/* img/bg-talleres.jpg */
/* background-color: #3f3e3e; */
 background-image: url("../img/fondo-manos.jpg");
  opacity:0.7;
/* background-image: url("../img/bg-talleres.jpg"); */
background-size: 75%;
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;

}
div.mostrar {
  display: none;
}

@media only screen and (min-width: 480px) {
.mostrar {
    display: block;

  }
}


@media only screen and (min-width: 480px) {
.fondo {
    width: 40%;

  }
}

@media only screen and (min-width: 480px) {
.fondo {
    width: 50%;

  }
}
@media only screen and (min-width: 768px) {
.fondo {
    width: 60%;

  }
}
@media only screen and (min-width: 992px) {
.fondo {
    width: 70%;
    max-width: 1100px;
  }
}

@media only screen and (min-width: 200px) {
section.tamano-botones a.achicar {
    width: 30%;
    height: 100%;
    padding: 0px;
    margin-top: 0px;
    margin-bottom: 0px;


  }
}

@media only screen and (min-width: 480px) {
section.tamano-botones a.achicar {
    width: 40%;
    height: 100%;
    padding: 0px;
    margin-top: 0px;
    margin-bottom: 0px;


  }
}
@media only screen and (min-width: 768px) {
section.tamano-botones a.achicar {
    width: 70%;
    height: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 5px;

  }
}
@media only screen and (min-width: 992px) {
section.tamano-botones a.achicar {
    width: 230%;
    height: 100%;
    max-width: 1100px;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 5px;

  }
}

/* @media only screen and (min-width: 1100px) {
section.tamano-botones a.achicar {
    width: 230%;
    height: 100%;
    max-width: 1100px;
  }
} */



/*
section.programa {
  position: relative;
}
div.contenedor-video {
  max-width: 100%;
  overflow-x:  hidden;
}
/**div.contenedor-video video {
  width: 100%;
}
div.contenido-programa {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
div.programa-evento {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 15px;
  margin-top: 80px;

}
@media only screen and (min-width: 768px) {
  div.programa-evento {
    width: 70%;
  }
}
@media only screen and (min-width: 992px) {
  div.programa-evento {
    width: 50%;
  }
}
div.ocultar {
  display: none;
}
nav.programa-evento {
  width: 100%;


}

@media only screen and (min-width: 786px) {
  nav.programa-evento {
    display: table;
  }
}

nav.programa-evento a {
  display: block;
  text-align: center;
  text-decoration: none;
  color: #000000;
  font-family: 'Oswald', sans-serif;
  margin-bottom: 20px;
  font-size: 1.2em;
  position: relative;
    padding-bottom: 10px;
    border-bottom: 1px solid #fe4918;
}
nav.programa-evento .activo::after {
  position: absolute;
  content: '';
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  height: 20px;
  width: 30px;
  background-image: url('../img/talleres-flecha.jpg');
  background-position: top center;
  background-repeat: no-repeat;
  bottom: -20px;
}
nav.programa-evento a i,
div.detalle-evento p i {
  color: #fe4918;
  font-size: 1.6em;
  margin-right: 10px;
}

@media only screen and (min-width: 786px) {
  nav.programa-evento a {
    display: table-cell;
  }
}


div.detalle-evento {
  margin-top: 20px;
  border-bottom: 1px solid black;
  padding: 0 20px;
}
div.detalle-evento:nth-child(2) {
  border: none;
}
div.detalle-evento p {
  margin-bottom: 20px;
  font-size: 20px;
}
 */


div.logo {
  text-align: left;

}

div.tx_center {
text-align: center;

}
div.tx_marging {
 margin-left:  75px;

}


div.hero {
  margin-top: 1px;
  margin-bottom: : 1px;
  text-align: center;
  color: #63676b;
  text-transform: uppercase;
  padding: 0;

}
section.area {
  padding-top: 5px;
}

@media only screen and (min-width: 768px) {
  div.hero {
    padding: 2px;
  }
}
/* Globales */
.contenedor {
  width: 98%;
  margin: 0 auto;
}
@media only screen and (min-width: 480px) {
.contenedor {
    width: 50%;
  }
}
@media only screen and (min-width: 768px) {
.contenedor {
    width: 75%;
  }
}
@media only screen and (min-width: 992px) {
.contenedor {
    width: 100%;
    max-width: 1100px;
  }
}

/* Globales */
.contenedor1 {
  width: 98%;
  margin: 0 auto;
}
@media only screen and (min-width: 480px) {
.contenedor1 {
  margin-left: 0;
    width: 50%;
  }
}
@media only screen and (min-width: 768px) {
.contenedor1 {
    width: 75%;
  }
}
@media only screen and (min-width: 992px) {
.contenedor1 {
    width: 100%;
    max-width: 1100px;
  }
}
section {
  padding: 0;
}
.seccion p {
  text-align: center;
  font-size: 1.0em;
}
/* h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.0em;
  text-align: left;
  padding-top: 3px;
} */

h2.grafico {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5em;
  text-align: center;
  background-color: Blue;
  color: #ffffff;
  display: inline-block;

}
h2::after {
  content: '';
  margin: 0 auto;
  height: 10px;
  width: 20x;
  padding-top: 10px;
  display: block;

}
/* h3 {
  font-size: 0.8em;
  color: #000000;
  font-family: 'PT Sans', sans-serif;
  padding-top:  20px;
} */
p {
  font-family: 'Oswald', sans-serif;
  line-height: 1.5;
}


/* nav.navegacion-principal {
 display: none;
 width: 100%;
}  */
nav.navegacion-principal li.nav-item a {
font-family: 'Oswald', sans-serif;
color: #ffffff;
font-size: 0.9em;
text-decoration: none;
text-transform: uppercase;
transition: all 0.6s ease;
width: 100%;
display: block;
text-align: center;


}

nav.navegacion-principal li.nav-item a.dropdown-item {
font-family: 'Oswald', sans-serif;
color: #000000;
font-size: 0.9em;
text-decoration: none;
text-transform: uppercase;
transition: all 0.6s ease;
width: 100%;
/* display: block; */
text-align: center;



}
/* nav.navegacion-principal a:last-child {
 margin-right: 0;
 border: 2px solid #fe4918;
 color: #fe4918;

} */
nav.navegacion-principal a:hover {
 background-color: #fe4918;
 color: #ffffff;

}
@media only screen and (min-width: 768px) {
 nav.navegacion-principal {
   width: 95%;
   display: inline-block;
   text-align: left;
   float: right;
 }
 nav.navegacion-principal a {
   margin-right: 5px;
   padding: 5px 5px;
   display: inline-block;
   margin: 0 5px 0 0;
 /**  transition: all 0.3s ease; **/
   width: auto;

 /**  margin: 20px 10px 0 0; **/

 }
 nav.navegacion-principal ul li {
   margin-right: 5px;
   padding: 5px 5px;
   display: inline-block;
   margin: 0 5px 0 0;
 /**  transition: all 0.3s ease; **/
   width: auto;

 /**  margin: 20px 10px 0 0; **/

 }
}

nav li>ul.menudesp {
display: none;

}
nav.navegacion-principal li:hover>ul.menudesp {
 display: block;
 position: absolute;


}
div.borde_negro {
  border: 2px solid black;
  margin-top: 3px;
}
}
div.mapa {
  height: 300px;
  width: 70%;
  margin: 20px;
  background-color: gray;
  border: 2px solid black;

}
.button {
  margin-top: 25px;
}
.button a {
    background-color: #4b4d6f;
    text-decoration: none;
    padding: 5px 5px;
    width:120px;
    height:50px;
    color: #ffffff;
    margin-top: 40px;
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    transition: all .3s ease;
    margin-bottom: 30px;
}
div.button a {
    background-color: #4b4d6f;
    text-decoration: none;
    padding: 15px 15px;
    color: #ffffff;
    margin-top: 10px;
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    transition: all .3s ease;
    margin-bottom: 5px;
}
.button:hover a {
  background-color: #fe4918;
  color: #ffffff;
}

div.bg-primary .col-md-12 {
    background-color: #b4b5c1;
}

.header {
font-family: 'Oswald', sans-serif;
padding-top: 5px;
margin-top: 10px;
background-color: #393c6f;
/* background-color: #3a1eb3; */
color: #ffffff;
font-size: 1.5em;

}
.table {
  margin-top: 20px;
  text-transform: uppercase;
}
.mg-bot {
  margin-bottom: 10px;
}
.float-right {
    float: Right;
    margin-right: 100px;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

div.redondeo {
  background-color: #4b4d6f;
  border-radius: 30px;
  margin-top: -150px;
  width: 70%;
   margin-left: 150px;
}

div.contenido-header {
  padding: 5px;
}
div.error {
  display: none;
  color: red;
  font-size: 1.5em;
  font-weight: bold;


}
div.error h3 {
  font-weight: bold;
  color: red;
  font-size: 1.5em;
}

div.separacion {
  padding-top: 5px;
}
div.centrar {
  width: 900px;
  height: 300px;
}

div.titulo {
  float: left;
  width: 50%;
  text-align: center;
  height: 25px;
}
div.titulo h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.0em;
  padding-top: 3px;
  color: #ffffff;
  background-color: blue;
}
div.logoedif img {
float: left;
    /*max-width: 400px;*/
  margin-left: 30px;
  margin-top: 25px;
  /*max-width: 1200px;*/
/* float: left;*/
  /*height: 200px;*/
  image-resolution: from-image;
  background-position: center;
}
div.tit  {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8em;
  color: #ffffff;
  background-color: #blue;
}
div.tit p.tit1  {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1em;
  color: #2174bb;

}
p.tit1{
text-transform: uppercase;
}

float-left {
  float: left;
}
label.folio {
  height: 25px;
  float: right;
  width: 50%;
  margin-right: 10px;
}
section.antinmueble {
   float: left;
   width: 50%;

}
section.antinmueble input {
  display: inline-block;

}
div.fencuesta {
  height: 25px;
  text-align: center;
  color: #ffffff;
  padding: 0;
  background-color: blue;
}
div.fencuesta h2 {
  border: 2px solid #000000;
  text-transform: uppercase;
  text-align: center;
}
div.idcatastral {
float: right;
  margin-right: 50px;
}
div.localidad {
  text-align: left;
  margin-top: 40px;
  float: left;
  width: 40%;
  text-transform: none;
}
div.fenc {
  text-align: left;
  margin-top: 10px;
  float: left;
  width: 40%;
  text-transform: none;

}
div.fenc   label {
  text-align: left;
  display: block;
}
div.noencuesta_obs {
  margin-top: 20px;
}

div.localidad-d {
  text-align: left;
  float: right;
  width: 60%;
  display: inline-block;
  margin-top: 5px;
  text-transform: none;
}
.linea {
  display: inline-block;
}
div label input.le {
  text-align: left;
  border: none;
}
select.le {
  text-align: left;
  border: none;
}
.blanco {
  color: #000000!important;
  font-size: 1.2em;
}
.form-control {
  margin-bottom: 2px;
}

 div li label.fondo_alto  {
  background-color: #8990f0;
  font-family: 'Oswald', sans-serif;
  font-size: 1.5em;
  color: #ffffff;
}

div.localidad input {
  display: inline-block;
}
div.localidad input {
  margin-bottom: 2px;
}
div.localidad-d input {
  margin-bottom: 2px;
}
div.localidad-d input.linea {
  display: inline-block;
}
div.localidad-d input.linea {
  display: inline-block;
}
div.antinmueble {
  float: none;
}
label.idcatastral {
  float: right;
  margin-right: 50px;
}
div.actoadministrativo {
  float: none;

}
div.botonpdf a {
  background-color: #8b90d1;
  text-decoration: none;
  padding: 10px 40px;
  color: #000000;
  margin-top: 40px;
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  transition: all .3s ease;
  margin-bottom: 30px;
  margin-left: 50px;
}
.boton:hover a {
background-color: grey;
color: #ffffff;
}


div.noencuesta_obs {
  text-align: left;
  display: inline-block;
  float: none;
}

}
div.actoadministrativo label {

  margin-bottom: 10px;
}

div.actadm {
    width: 50%;
  float: left;
  text-align: left;

}

div.actadm label {
  text-transform: none;
  text-align: left;
  display: block;
}
div.centornox {
    width: 100%;
  text-align: left;

}
div.centorno {
    width: 100%;
  float: left;
  text-align: left;

}
div.centornos {
    width: 100%;

  text-align: left;

}
div.centorno label {
  text-transform: none;
  text-align: left;
  display: block;
}
div.centornox label {
  text-transform: none;
  text-align: left;
  display: block;
}
div.actadm-d {
  width: 50%;
  float: right;
  text-align: left;
}
div.actadm-d label {
  text-transform: none;
  display: inline-block;

}



div.hero h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.0em;
  padding-top: 3px;
  color: #ffffff;
  background-color: #4b4d6f;
  float: none;
  text-align: center;

}

.boton1 {
  display: none;
}

div label.txt_blanco {
    color:  #ffffff!important;
    font-family: geneva;
    font-size: 1.5em;
}


// lista tabla de encuestas
div.existentes {
  padding: 20px;
  background-color: #e1e1e1;
}
div.existentes  table {
  width: 100%;
  /* font-family: geneva; */
  font-size: 14px;
  border-collapse: collapse;
}
div.existentes  table.mb-with  {
  width: 75%;


  /* font-family: geneva;
  font-size: 16px;
  border-collapse: collapse; */
}
div.existentes  table thead {
  background-color: #393c6f;
    /* background-color: #ff9800; */
  /* background-color: #2174bb; */
  text-align: center;
  color: #ffffff;
}
div.existentes table tbody td {
    text-align: center;
}
div.existentes table thead th {
    padding:10px 0;
    text-align: center;
}
div.existentes table  th.mb-with {
    max-width: 130px;
    width: 130px;
}
div.existentes table tbody tr:nth-child(even) {
  /* background-color: #9e9e9e; */
  background-color: #dddeef;
}
div.existentes  table a  {
  background-color: #3f51b5;
  padding: 5px 10px;
  display: block;
  text-align: center;
  color: #ffffff;
  text-transform: uppercase;
  text-decoration: none;
}
div.existentes  table a.mb-with  {
  max-width: 120px;
  text-align: center;
  font-size: 0.7em;
}

div.existentes  table a.claro {
  background-color: #7179ef;
}
div.existentes  table a.verde{
  background-color: #32cb14;
}
div.existentes  table a.rojo{
  background-color: #cb1414;
}
div.existentes  table td {
  padding: 10px 0;
  line-height: 20px;
}
div.existentes h2 {
  margin-bottom: 20px;
}
div.existentes p {
  text-align: center;
  margin-bottom: 20px;
}
td.borrar a {
  background-color: red!important;
}
div.obsval {
  margin-left: 20px;
  font-size: 1.2em;
  color: red;
  display: block;
}
// Numeros

div.contador {
  content: '';
  display: block;
  clear: both;
}
.parallax::before {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}
 div.contador {
   position: relative;
   height: auto;
 }
 div.contador::before {
   background-image: url(../img/bg-resumen.jpg);
   content: '';
 }

 ul.resumen-evento {
   position: relative;
   padding: 10px 0;
   }

 ul.resumen-evento li {
   width: 50%;
   float: left;
   text-align: center;
   font-family: 'Oswald', sans-serif;
   color: #ffffff;
   font-size: 15px;
   text-transform: uppercase;
 }

 @media only screen and (min-width: 768px) {
   ul.resumen-evento li {
     width: 25%;
   }
 }
p.numero {
    /* color: #fe4918; */
    color: #ffffff;
    font-size: 2.0em;
    display: block;
    margin: 0 0 2px 0;
    font-family: 'Oswald', sans-serif;
}

// lista encuestas

div.resumen {
  background-color: #elelel;

}
div.resumen p {
  background-color: #3f51b5;
  padding: 5px 10px;
  display: block;
  float: left;
  font-size: 1.2em;
  display: inline-block;
  color: #ffffff;
  text-transform: uppercase;
  text-decoration: none;
  margin-left: 25px;
  font-family: 'Oswald', sans-serif;
}
div.resumen p span {
  font-size: 1.6em;
}


div.usoinmAled-der {
  text-align: left;
  margin-left: 30px;
}
div.usoinmAled-izq {
  margin-top: 30px;
  text-align: left;
  margin-left: 30px;
}


label.fotale{
  margin-left: 100px;
}

div.encabezado  li{
text-align: left;
list-style-type: none;
}
div li {
text-align: left;
list-style-type: none;
text-transform: none;
color: black;
}

div.encabezado  li{
text-align: left;
list-style-type: none;
}
div.hero li {
text-align: left;
list-style-type: none;
text-transform: none;
color: black;
}
/*
div.informacion-evento {
  text-align: center;
  color: #ffffff;
}
@media only screen and (min-width: 768px) {
  div.informacion-evento{
    width: 50%;
    margin: 0 auto;
    margin-top: 50px;
  }
}
div.informacion-evento p {
  margin: 0;
  display: inline;
  text-transform: uppercase;
  font-size: 20px;

}
div.informacion-evento p i {
  color: #fe4918;
  font-size: 2.4rem;
}

p.fecha {
  float: left;
}
p.ciudad {
  float:right;
  text-align: right;
}
p.slogan {
  text-transform: none!important;
}
p.slogan span {
  font-weight: bold;
}

h1.nombre-sitio {
  font-family: 'PT Sans', sans-serif;
  font-size: 5.9vw;
  text-transform: uppercase;
}
@media only screen and (min-width: 768px) {
  h1.nombre-sitio {
    font-size: 8.5vw;
    margin: 0;
    text-align: center;
    line-height: 1;
  }
}

/** barra **/

div.barra {
  background-color: #353535;
  /* padding: 20px 0; */
}


/*
@media only screen and (min-width: 768px) {
div.logo {
  width:  200px;
  height: 96px:
  width: 33%;
  }
}
@media only screen and (min-width: 480px) {
div.logo {
  width:  200px;
  height: 96px:
  width: 33%;
  }
} */
/*
/** Menu Movil **/

/**
div.menu-movil {
  width: 60px;
  display: block;
  float: right;
  text-align: right;
  margin-top: 12px;
}

div.menu-movil {
  cursor: pointer;
}

@media only screen and (min-width: 768px) {
  div.menu-movil {
    display: none;
  }
}

div.menu-movil span {
  height: 8px;
  margin-bottom: 6px;
  background-color: white;
  display: block;
}

/** Talleres - detalle evento */
/**

/** detalle evento **/
/**

/** seccion Invitados **/
/**


**/



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