/***************/
/* G L O B A L */
/***************/

body, html
  {margin: 0px;
  font-family: sans;
  font-weight: lighter;
  background-color: white;}

p
    {padding: 0px;}
    
a
  {outline: none;
  text-decoration: none;
  color: black;
  transition: 0.5s ease all;
  opacity: 0.9;}

a:hover
  {opacity:1.0;}

hr
  {border: 0px;
  background-color: grey;
  height: 1px;}

strong
  {font-weight: bold;
  text-shadow: 1px 0px 0px black;}
    
pre {overflow: hidden; overflow-x: auto;}

.__VENC_PYGMENTIZE_WRAPPER__ {clear: both; width: 100%;}
.__VENC_PYGMENTIZE_WRAPPER__ table {width: 100%; display: block; clear: both;}
.__VENC_PYGMENTIZE_WRAPPER__ table tr {width: 100%; display: block;}
.__VENC_PYGMENTIZE_WRAPPER__ table tbody {width: 100%; display: block;}
.__VENC_PYGMENTIZE_WRAPPER__ table .linenos {width: 4%; display: inline-block;vertical-align: top;}
.__VENC_PYGMENTIZE_WRAPPER__ table .code {width: 94%; display: inline-block;vertical-align: top;}
.__VENC_PYGMENTIZE_WRAPPER__ table td pre {vertical-align: top; margin: 0px;}

.__VENC_TABLE__
    {width: 100%;
    overflow: auto;}

.note,
.footnote
    {border-left: 2px solid grey;
    padding-left: 10px;
    display: inline-block;
    margin: 0px;
    width: calc(100% - 12px);
    float: none;
    clear: both;}
        
.footnote
    {height: 0px;
    opacity: 0;
    transition: 0.25s ease all;}
        
.footnote:target
    {height: auto;
    opacity: 1;}

math
    {display:inline-block;
    width: min-content;}

/***************/
/* H E A D E R */
/***************/

header
  {text-align: center;
  max-width: 800px;
  margin: auto;
  margin-top: 1em;
  color: black;}

header ul
  {margin: 0px;
  display: inline-block;
  list-style-type: none;
  padding: 0px;}

header li
  {display: inline-block;}

header li a
  {margin: 1em;
  display: inline-block;}

#__VENC_FEEDS_HEADER__
    {position: absolute;
    top: 0px;
    
    text-align: center;
    background-color: #FF8800;
    color: white;
    font-size: 0.8em;
    opacity: 0.25;
    left: 1em;
    padding-right: 0.5em;
    padding-left: 0.5em;
    transition: ease 0.25s opacity; 
    border-radius: 0px 0px 3px 3px;}

#__VENC_FEEDS_HEADER__:hover
    {opacity: 0.5;}
    
#__VENC_FEEDS_HEADER__ img
    {height: 10px;
    margin-right: 0.5em;}
    
#__VENC_FEEDS_HEADER__ a
    {color: white;}
    
/*************/
/* E N T R Y */
/*************/

.entry
  {font-size: 0.7em;
  text-align: justify;
  transition: 1s ease all;
  overflow: hidden;}

.entry h1
    {text-align: center;}
    
.entry img
  {max-width: 100%;
  display: inline-block;
  margin: auto;}
    
.entry p:last-of-type
    {margin-bottom: 0px;}

.entry p:first-of-type
    {margin-top: 0px;}

.permalink
  {display: block;
  width: 100%;
  height: 0px;
  opacity: 0;
  margin-bottom: 5px;
  text-align: center;
  font-size: 1em;
  background-color: white;
  overflow-y: hidden;
  transition: 0.5s ease all;}
  
.entry:hover .permalink
    {height: 1em;
    opacity: 1;}

/***************/
/* F O O T E R */
/***************/

footer
  {padding: 1em;
  font-size: 1.25em;
  margin: auto;
  margin-bottom: 1em;
  max-width: 800px;
  text-align: center;}
 
footer #pagesList
  {list-style-type: none;
  display:inline-block;
  text-align: center;
  margin: 0px;
  padding-left: 3px;}

footer a
  {color: black;}

footer #pagesList li, #previous, #next
  {display: inline-block;}

#previous
    {float: left;}
    
#next
    {float: right;}
    
#__VENC_LOADING__
    {position: fixed;
    bottom: 1em;
    left: 50%;
    display: none;
    transform: translateX(-50%);
    transition: 0.5s ease opacity;}
    
/***************/
/* L A Y O U T */
/***************/

#__VENC_THREAD__
  {max-width: 800px;
  text-align: center;
  margin: auto;}

@media (max-width: 480px) {
  header li
    {display: block;}

  header ul
    {margin: 0px;
    padding: 0px;
    display: block;}
    
  #archives, #categoriesHeader {display: none;}
  
  .__VENC_PYGMENTIZE_WRAPPER__ table .linenos {width: 7%; display: inline-block;vertical-align: top;}
  .__VENC_PYGMENTIZE_WRAPPER__ table .code {width: 90%; display: inline-block;vertical-align: top;}
}
