
/* general stuff */
body {
     font-size:10pt; 
     color: black;
     background:#FFFFFF; }

/* getting rid of whole blocks we don't want to see */
/* all themes */

p {font-size:10pt; orphans: 3; widows: 3; }

/* sandbox theme */
.sidebar, #access { display:none }

/* K2 theme */
div#sidebar-main, div#sidebar-alt, div#header, .entry-edit  { display:none }

/* Cutline theme */
#masthead, #nav, #header_img,  #sidebar, #l_sidebar, #footer { display: none }

/* getting rid of background-images */
body, div#header, div#container, div#header h1 { background-image: none; }

/* header */
div#header #blog-title, div#header h1 {
	text-indent: 0px;
}

div#header h1 a {
	font-size: 16pt;
	font-family: Times New Roman, Times, serif;
	text-decoration: none;
 
}

/* getting rid of nasty size constraints */

div#header h1 a, div#header h1, div#header {
	width: 100%;
	height: auto;
}

/* other things */

div#content, div#container{ margin:0; 
     float:none; 
     width:auto }
.demo .red { color:black; 
     font-weight:bold }
#content a { font-weight:bold; 
     color:#000066; 
     text-decoration:underline }
div#container, div#content{ margin-left:0; 
     float:none; 
     width:auto }
#footer, .ad { display:none }
h1, h2, h3, h4, h5, h6 { page-break-after:avoid; page-break-inside:avoid }
h2 {page-break-before:always }

h3 { margin-left:10px; 
     margin-bottom:0px; 
     padding-bottom:0px }
blockquote, table, pre { page-break-inside:avoid }
ul, ol, dl  { page-break-before:avoid }
img.centered { display: block; 
     margin-left: auto; 
     margin-right: auto; }
img.right { padding: 4px; 
     margin: 0 0 2px 7px; 
     display: inline; }
img.left { padding: 4px; 
     margin: 0 7px 2px 0; 
     display: inline; }
.right { float: right; }
.left { float: left }
img { page-break-inside:avoid; 
     page-break-after:avoid; width:70%;}
}
article { box-shadow:none!Important; }

table {width:85%!Important; font-size:8.5pt;  page-break-inside: auto; word-break:break-word;}
tr, td {width:auto;}

figure { page-break-inside: avoid;}

.bloghash-layout__boxed-separated #content > article {border-radius:0px!Important; box-shadow:none!Important;}
.bloghash-layout-shadow.bloghash-layout__boxed-separated:not(.archive, .blog, .category, .search-results) #content > article {box-shadow:none!Important;}
.bloghash-container {width:100%!Important; padding:0; margin-left:0; margin-right:15px; margin-bottom:0; margin-top:-80px; }
.bloghash-layout__boxed-separated #content > article {padding:5mm!Important;}
.post-tags, .post-category {display:none;}
h2.entry-title {font-size:25pt!Important;}
li {font-size:9.5pt; orphans: 3; widows: 3;}
.wp-block-separator.alignfull.has-alpha-channel-opacity.is-style-dots {  font-size:3pt;}
hr {display:none;}
p.wp-block-kadence-advancedheading.kt-adv-heading35969_c0a5bd-ea, .wp-block-kadence-advancedheading.kt-adv-heading35969_c0a5bd-ea[data-kb-block="kb-adv-heading35969_c0a5bd-ea"] {
  padding-top: 1.5rem;
  padding-right:1.5rem;
  padding-bottom: 1.5rem;
  padding-left:  1.5rem;
  font-size: 8pt;
  background-color: rgba(65,97,150,0.09);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  bottom:0;
  text-align:justify;
  position:relative;
orphans: 0; widows: 0;

}
blockquote {page-break-inside:avoid; page-break-inside: auto; font-size:9pt!Important; word-break:break-word; }
.bloghash-entry ul:not(.wp-block-latest-posts) {list-style:none; }
entry-content ul:not(.wp-block-latest-posts) li { page-break-before: always;}

h2 { 
string-set: doctitle content(); 
}

/*margins*/

@page {
   size: 21.59cm 27.94cm;  
   margin: 2.40cm 1.90cm 2.20cm;
}

/* styles for the right hand spread
Bottom left we display the title of the book, bottom right the page using a CSS counter, top right the content of the current chapter */
@page:right{ 
   @bottom-left {
       /*margin: 1.05cm 0 30pt 0;*/
       margin: 0.35cm 0 1.05cm 0;
       border-top: .25pt solid #666;
	   /*content: string(doctitle);*/
       content:"Revista Ichan Tecolotl";
       font-size: 9pt;
       color: #333;
       padding:5mm;
   }
   @bottom-right { 
       margin: 0.35cm 0 1.05cm 0;
       border-top: .25pt solid #666;
       content: counter(page);
       font-size: 9pt;
       padding:5mm;
   }
   @top-right {
   	   content: string(doctitle);
   	   margin: 1.05cm 0 0.35cm 0;
   	   font-size: 9pt;
   	   color: #333;
       border-bottom: .25pt solid #666;
   }
}

/* styles for the left hand spread 
Bottom right book title, bottom left current page */
@page:left {

   @bottom-right {
       margin: 0.35cm 0 1.05cm 0;
       border-top: .25pt solid #666;
	     content: "Revista Ichan Tecolotl";
       font-size: 9pt;
       color: #333;
       padding:5mm;
   }
   @bottom-left { 
       margin: 0.35cm 0 1.05cm 0;
       border-top: .25pt solid #666;
       content: counter(page);
       font-size: 9pt;
       padding:5mm;
   }
   @top-left {
   	   content: string(doctitle);
   	   margin: 1.05cm 0 0.35cm 0;
   	   font-size: 9pt;
   	   color: #333;
       border-bottom: .25pt solid #666;
   }
}

/* first page */
@page:first {
  @bottom-right {
       margin: 0.35cm 0 1.05cm 0;
       content: " ";
       font-size: 9pt;
       padding:5mm;
  }

  @bottom-left {
    content: normal;
    margin: 0;
  }

  @top-left {
    content: "Revista Ichan Tecolotl";
    font-size: 9pt;

  }
  @top-right {
    content: "ISSN: 2683-314X";
    font-size: 9pt;
    border-bottom: 0pt solid #666!Important;

  }
}
