@media print{
  @page {
    margin: 2cm 2cm;
    size: A4 portrait;
  }

/* conf general */
body {
   background-image: none; /* no imprimir imagenes de fondo, para los navegadores antiguos */
   font-size: 10pt !important;
   line-height: 12pt !important;
   margin: 2cm 2cm;
   background: #fff !important;
   color: #000; 
  }
  
h1, h2, h3, h4, h5, h6 {
  /*page-break-after: avoid;*/
  page-break-inside:avoid;
  line-height: normal;
}


img {
    page-break-inside: avoid;
    max-width: 100%;
  }
  
  #pie {
   page-break-inside: avoid;
  }
  
/* viudas y huerfanas */
p {
  orphans: 2;
  widows: 2;
}
    
*,
*:before,
*:after,
*:first-letter,
p:first-line,
div:first-line,
blockquote:first-line,
/* preguntar si queremos iconos en las búsquedas, para ponerlos comentar lo de background  */
li:first-line {
    /*background: transparent !important;*/
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}
    

div.menu-wrapper>ul.menu {
  display: none !important;
}
  
  

div.poolBdatos, div.poolLibros, div.poolLegis, div.poolAgencia, div.poolAnuncios, div.poolBORME {
  margin:0 auto;
  max-width:100%; 
}

/** esto esta en sumario.css, vale para todas **/
  #header, .menu-wrapper, #franjaMigas, #logosInicio, .menu-idiomas, .enlacesSumario, 
  .linkSumarioN, .linkSubir, .otros-enlaces {
    display:none;
    }


 /* enlaces */
/*a:not(:local-link):after {
   content:" < " attr(href) "> ";
}*/

  /* Displaying link color and link behaviour */
a:link, a:visited, a {
  background: transparent;
  text-decoration: underline;
  text-align: left;
}

a {
    page-break-inside:avoid
}

a[href^=http]:after {
      content:" < " attr(href) "> ";
}


a[href^="#"]:after {
   content: "";
}
a[href^="https://www.boe.es"]:after {
	content: "";
}
 
    

/** sumario **/

.linkSumario {
  text-align: center !important;
}
.linkSumario ul{
  display:none !important;
}
#filtros{
  padding: 0 !important;
}
#filtros div.dropdown{
  margin:0;
  display: none;
}
#filtros input{
  display:none;
}
#filtros label{
  border:none;
  background: none;
}
#filtros h3{
  display:block;
}
.sumario h3 h4 h5 h6{
  font-size: 12pt;
}
.sumario ul, .sumario li {
  background-color: white !important;
  margin: 0;
}
.enlacesDoc {
  margin:0;
}
.enlacesDoc ul li{
  display:inline;
}

li.puntoHTML a{
/*  display:none;*/
}

ul li.dispo, ul li.notif {
  margin-bottom: 6pt !important;
  /*margin-left: 0pt !important;*/
  margin-right: 0pt !important;
  padding-top: 6pt !important;
  padding-left: 0pt !important;
}
/* .puntoConso a, .puntoPDF a, .puntoPDFsup a, .puntoPDF2 a, .puntoXML a, .puntoHTML a, .puntoEpub a, .puntoLibro a, .puntoAyuda a {
    padding: 2pt 4pt 4pt 4pt !important;
    line-height: inherit;*/
}
 h6{
  padding-top: 0pt !important;
  padding-bottom: 0pt !important;
}

/* Texto disposicion */
p, a, body, img, h1, h2, h3, h4, h5, h6 {margin:0; padding:0; font-size:10pt !important; line-height: 12pt !important;}
ul, table, form, div, option, select, input {font-size:10pt !important; line-height: 12pt !important;}

/*#pie {
  display: block;
  width:100%;        
  position:relative;
  left:0;
  bottom:0;
  top:1cm;
}*/

}