body {
    font-size: 1.7rem;
}

/* .header {
    background-color: rgb(81, 15, 109);
    color: #fff;
} */

.header {
    color: #222;
    border: solid #ddd;
    border-width: 0 0 1px 0;
}

.title {
    margin-bottom: 0;
    padding-bottom: 1rem;
    display: inline;
}

.title-main, .title-main:hover {
    color: #222;
    text-decoration: none;
    font-weight: 600;
    font-size: 2.7rem;
    /* letter-spacing: 0rem; */
    padding: 2px 5px;
}

.title-main:hover {
    color: #222;
    border: solid #222;
    border-width: 0 0 2px 0;
}

.title-main:active {
    color: #eee;
    border: solid #0FA0CE;
    border-width: 0 0 3px 0;
    background-color: #222;
}

.title-nav {
    padding-top: 0.75rem;
    text-align: right;
    list-style-type: none;
    float: right;
}


.title-nav > li {
    display: inline;
    /* margin-left: 2rem; */
}

.title-main-nav {
    color: #222;
    text-decoration: none;
    font-size: 2rem;
    padding: 2px 5px;
}

.title-main-nav:hover {
    color: #222;
    border: solid #222;
    border-width: 0 0 2px 0;
}

.title-main-nav:active {
    text-decoration: none;
    color: #eee;
    border: solid #0FA0CE;
    border-width: 0 0 3px 0;
    background-color: #222;
}

.post-title a {
    text-decoration: none;
    color: #1EAEDB; 
}

.post-title a:hover {
    /* text-decoration: underline; */
    color: #0FA0CE; 
    border: solid #0FA0CE;
    border-width: 0 0 2px 0;
}

.post-title a:active {
    /* text-decoration: none; */
    color: #eee;
    /* border: solid #222; */
    /* border-width: 0 0 3px 0; */
    background-color: #0FA0CE;
}

main {
    margin-top: 2rem;
}

.content {
    margin-left: 0;
    width: 100%;
    float: left;
    box-sizing: border-box;
}

.sidebar {
    display: none;
    width: 100%;
    float: left;
    box-sizing: border-box;
}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 550px) {
    .content {
        width: 74.0%;
        margin-left: 4%;
    }
    
    .sidebar {
        width: 22%;
        display: block;
    }
}

.footer {
    /* display: none; */
    color: #222;
    border: solid #ddd;
    border-width: 1px 0 0 0;
}

/* @media(max-width: 549px) {
    .footer {
        display: block;
    }
} */

.sidebar-item {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border: dotted #ddd;
    border-width: 1px 0 0 0;
}

.sidebar-item > * {
    margin-bottom: 0;
}

.avatar {
    border-radius: 6px;
    margin-bottom: 10px;
    width: 100%;
}

.social {
    text-align: center;
}

.social > a {
    font-size: 25px;
    margin-right: 5px;
    color: #222;
    text-decoration: none;
}

#TableOfContents ul {
    list-style-type: none;
}

.post {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border: solid #ddd;
    border-width: 0 0 1px 0;
}

.post-title {
    font-size: 2.2rem;
    /* line-height: 1.25; */
    font-weight: bold;
}

.post-meta {
    font-size: 1.5rem;
    margin-bottom: 0.7rem;
}

.pagination {
    list-style-type: none;
    display: inline;
    font-size: 2rem;
}

.pagination > li {
    display: inline;
    margin-right: 1rem;
}

/* Auto Numbering */
body {counter-reset: h2}
h2 {counter-reset: h3}
h3 {counter-reset: h4}
h4 {counter-reset: h5}
h5 {counter-reset: h6}
h6 {counter-reset: h7}
article {counter-reset: figcaption;}

article[autonumbering] h2:before {counter-increment: h2; content: counter(h2) " "}
article[autonumbering] h3:before {counter-increment: h3; content: counter(h2) "." counter(h3) " "}
article[autonumbering] h4:before {counter-increment: h4; content: counter(h2) "." counter(h3) "." counter(h4) " "}
article[autonumbering] h5:before {counter-increment: h5; content: counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) " "}
article[autonumbering] h6:before {counter-increment: h6; content: counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) "." counter(h6) " "}

article[autonumbering] #TableOfContents ul { counter-reset: item }
article[autonumbering] #TableOfContents li a:before { content: counters(item, ".") ". "; counter-increment: item }

article img {
    max-width: 100%;
}

article p {
    text-align: justify;
}

article table {
    width: 100%;
    word-break: break-word;
}

figcaption::before {counter-increment: figcaption; content: "Abbildung " counter(figcaption) " "}

figure {
    margin: 0;
}

figcaption {
    font-size: 80%;
    margin: 5px 0 5px 0;
    padding-left: 5px;
}

thead {
    background-color: #eee;
}

svg {
    width: 100%;
}