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

body
     {background-color: white;
     font-family: georgia;
     color: black;
     margin: 0px;}
a
    {color: #000;
    text-decoration: none;}
    
math
    {display:inline-block;
    width: min-content;}
    
blockquote p
    {border-left: 2px solid grey;
    display: block;
    width: 100%;
    font-style: italic;
    clear: both;
    font-size: 0.8em;
    padding-left: 1em;}
    
pre {overflow: hidden; overflow-x: auto; clear: both; max-width: 580px;}

.__VENC_PYGMENTIZE_WRAPPER__ {clear: both; width: 580px;}
.__VENC_PYGMENTIZE_WRAPPER__ table {width: 580px; display: block; }
.__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: 95%; display: inline-block;vertical-align: top;}
.__VENC_PYGMENTIZE_WRAPPER__ table td pre {vertical-align: top; margin: 0px;}

.__VENC_TABLE__ table
    {table-layout: fixed;
    width: 580px;}
    
.note, .footnote
    {float: left;
    margin-top: 1em;
    font-size: 0.8em;
    font-style: italic;
    text-align: justify; 
    margin-left: 10px;
    width: 200px;}
    
.social-network-item img
    {width: 20px;
    display: inline-block;}
    
.__VENC_TREE_BUTTON__
    {margin-right: 1em;
    outline: none;}

.navigation
    {text-align: center;}

.navigation ul
    {margin: 0px;
    padding: 0px;
    display:inline-block;}
    
.navigation ul li
    {display:inline-block;
    margin-left: 0.5em;
    margin-right: 0.5em;}

.navigation-next
    {margin-left: 0.5em;}
 
 .navigation-previous
    {margin-right: 0.5em;}
    
/***************/
/* H E A D E R */
/***************/

header {
    width: 800px;
    min-height: 100px;
    line-height: 100px;
    text-align: center;
    border-bottom: 1px solid grey;
}

header h1
    {display: inline-block;
    vertical-align: middle;
    line-height: normal;
}

aside {
    position: fixed;
    width: 290px;
    height: 100%;
    left: calc(50% - 550px);
    top: 0px;
}

footer
    {display: none;}

#blog-avatar
    {width: 110px;
    height: 110px;
    border-radius: 55px;
    margin: auto;
    margin-top: 1em;
    background-color: grey;
    background-size: cover;}

#blog-description
    {width: 95%;
    font-size: 0.8em;
    font-style: italic;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 5%;
}

#social-network
    {text-align: center;
    width: 100%;}

#blog-categories-header,
#blog-chapters-header,
#blog-navigation-header 
    {text-transform: uppercase;
    text-align: center;
    display: block;
    width: 95%;
    margin-left: 5%;
    overflow: hidden;
    margin-top: 1em;}

#blog-categories-header-wrapper,
#blog-chapters-header-wrapper,
#blog-navigation-header-wrapper
    {width: 750px;
    height: 20px;
    position: relative;
    left: 50%;
    margin-left: -375px;}
    
#blog-categories-header-wrapper div,
#blog-chapters-header-wrapper div,
#blog-navigation-header-wrapper div
    {width: 315px;
    height: 5px;
    float: left;
    margin-top: 7px;
    border-top: 1px solid grey;
    border-bottom: 1px solid grey;
    margin-left:5px;}

#blog-categories-header-wrapper div:first-child,
#blog-chapters-header-wrapper div:first-child,
#blog-navigation-header-wrapper div:first-child
 {margin-right:5px;}

#blog-categories-header span,
#blog-chapters-header span,
#blog-navigation-header span
    {float: left;}

#blog-categories,
#blog-chapters
 {
    font-size: 1.1em;
    margin-top: 1em;
}

#blog-categories ul,
#blog-chapters ul
    {display: block;
    margin:0px;
    padding: 5px;}

#blog-categories ul li,
#blog-chapters ul li
    {display: block;
    padding-left: 5px;
    border-left: 1px solid grey;}

#__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;}


/********/
/* NSFW */
/********/

.venc_nsfw
    {clear: both;
    width: 580px;
    min-height: 228px;
    display: block;
    background-repeat: no-repeat;
    background-position: center center;}
    
.venc_nsfw .venc_nsfw_content
	{display: none;}

.venc_nsfw:target .venc_nsfw_content
	{display: block;
    background-color: white;}

/*************/
/* E N T R Y */
/*************/

.entry {
    width: 100%;
    display: block;
    clear: both;
    font-size: 1.15em;
}

.entry p a,
.entry span a
    {font-style: italic;
    color: grey;}


.entry p
    {width: 580px;
    text-align: justify;
    float: left;}
    
.entry iframe,
.entry img,
.entry math
    {max-width: 580px;
    margin-top: 1em;
    clear: both;}

.entry .__VENC_TABLE__ table img
    {width: 100%;}
    
.entry ul, .entry ul li
    {clear: both;
    max-width: 580px;}
    
.entry h1,
.entry h2,
.entry h3,
.entry h4,
.entry h5
    {clear: both;}

.entry-date
    {width: 100%;
    color: grey;
    display: block;}
    
.entry-authors
    {width: 100%;
    display: block;}

.entry_content
    {width: 800px;
    clear: both;}
    
/***************/
/* L A Y O U T */
/***************/

#loading_wrapper
    {width: 800px;
    text-align: center;
    clear: both;}

#__VENC_LOADING__
    {position: fixed;
    bottom: 1em;
    left: 50%;
    display: none;
    transform: translateX(-50%);
    transition: 0.5s ease opacity;}

#blog-content
    {position: absolute;
    left: calc(50% - 250px);
    top: 0px;
    width: 800px;}
    
#VENC_COLUMN_1 {
    display: block;
    top: 100px;
    height: 100px;
    width: 800px;
}
@media (max-width: 1100px) {
    aside
        {display: none;}
    header
        {width: 580px;}
        
    #blog-content
        {width: 580px;
        left: calc(50% - 290px);}

    .entry, .entry_content
        {width: 580px;}
        
    .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;}
        
    footer
        {display: block;
        margin-top: 1em;
        margin-bottom:1em;}
}
