div, body, ul.Navigation, ul.Navigation li, #head * { /*just to be sure*/
	margin: 0;
	padding: 0;
}

body { font-size:100.01%;
	max-width: 60em;
	min-width: 320px;
	margin: 0px auto;
	margin-bottom: 2em;
	text-align: center;
  position: relative; /* this has only the effect that descening elements 
  maybe positioned relatively or absolutely to the body element */
}

/* Head line */
#head {
	padding-top: 1em;
}
.head-row  {
}
.head-row > * {
	vertical-align: middle;
	text-align: center;
}
#head-cell-left {
	float: left;
	padding-top: 4px;
}
#head-cell-middle {
	padding-top: 0.5ex;
}
#head-cell-right {
	float: right;
}

@media (max-width: 400px) { /* >= 5px + 143px + 5px + 200px + 5px */
	#head-row *, #head-cell-left, #head-cell-middle, #head-cell-right {
		float: none !important;
	}
}

/* Navigation */
#Navigation {
	/*Abstand links definiert durch body.padding-left,
	  Abstand rechts definiert durch div#main.padding-left*/
	overflow: hidden;
	line-height: 150%;
	width: 100%;
	clear: both;
	float: left;
}
ul.Navigation {
	list-style: none;
	left: 50%;
	margin: 0 auto;
	float: left;
	position: relative;
}
* html ul.Navigation li { padding-bottom: 1px; } /* IE 6 Hack */

ul.Navigation li {
	float: left;
	position: relative;
	right: 50%;
}

ul.Navigation a, span.NavCurrent { /* Listelemente zu Boxen machen */
	display:block;
	padding: 0em 1em;
}

/* Inhaltsspalte */
div#main{
	text-align: center;
	clear: both;
	padding: 0 6%; /*der Abstand links und rechts vom Text*/
}

div#content{
	text-align: left;
	margin: 0 auto 0 auto; /*Abstand zwischen Text und Kopf, Zentrierung*/
}

/* Publication entries */

.publication-navigation {
    text-align: center;
}

.publication-navigation a {
    padding: 5px 0;
    /* to make clicking the links easier */
}

.main-info,
.additional-info,
.additional-info .inline-info {
    display: block;
}

.list-talks .main-info,
.list-talks .additional-info,
.list-talks .additional-info .inline-info {
    display: inline;
}


#content #publications~ol {
    margin: 0;
    padding: 0;
}

#content li.bibentry {
    margin-left: 0;
    margin-bottom: 1em;
    position: relative;
}
#content .list-talks li.bibentry {
    margin-bottom: 5px;
    padding: 0;
}

.author-list {
    display: block;
}

.list-talks .author-list {
    display: inline;
}

.artifact-list ol>li {
    list-style: none;
    display: inline;
    padding: 5px 3px;
}

.artifact-list ol>li::after {
    content: ', ';
}

.artifact-list ol>li:last-child::after {
    content: '';
}

.link-list {
    line-height: 23px;
    user-select: none;
}

.bibentry a {
    padding-top: 5px;
    padding-bottom: 5px;
}

.link-list>a {
    padding-left: 3px;
    padding-right: 3px;
    white-space: nowrap;
}

.link-list>a img {
    margin-right: 5px;
}

.bibtex summary, .artifact-list summary, .abstract summary {
    /* avoid text selection of buttons like 'BibTeX Entry'
    when bibliography text is selected */
    user-select: none; 
}

.additional-info details {
    display: inline-block;
    margin-bottom: 2px;
}

.additional-info details[open] {
    display: block;
    width: 80%;
}

#content li.bibentry {
    margin-right: 1.7em;
    /* Space required by .bibentry-link img, in worst case */
}

.bibentry .bibentry-link {
    position: absolute;
    top: 0;
    right: -0.85em;
    padding: 0;
    margin: 0;
    user-select: none; /* avoid copying links of this class as part of the bibliography */
}

.bibentry-link img {
    height: 1.7em;
    width: 1.7em;
    overflow: hidden;
    background-position: center;
    background-size: 1em 1em;
    background-repeat: no-repeat;
    opacity: 0.6;
}

.bibentry:hover .bibentry-link img,
.bibentry .bibentry-link:focus img {
    background-image: url('https://sosy-lab.org/research/pub/Icons/link.gif');
}

.bibentry:hover .bibentry-link:hover img,
.bibentry .bibentry-link:focus img {
    opacity: 1;
}

@media (hover: none) {
    .bibentry .bibentry-link img {
        background-image: url('https://sosy-lab.org/research/pub/Icons/link.gif');
    }
}

input#show-compact {
    display: none;
}

label[for=show-compact] {
    display: inline;
    width: auto;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
}

input#show-compact:checked~ol .additional-info {
    display: none;
}

input#show-compact:checked~ol .author-list {
    display: inline;
}

input#show-compact:checked~ol li.bibentry {
    margin-bottom: 0;
}

#newsList li {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 10px;
    list-style: none;
    margin: 4em 0;
    /*border: 2px solid var(--sosy-light-grey);*/
    /*box-shadow: 0px 0px 10px 0 rgba(0, 0, 0, 0.1);*/
}

#newsList li:first-child {
    margin-top: 0;
}

#newsList article {
    padding: 0;
    margin: 0;
}

#newsList article img {
    max-width: 100%;
    height: auto;
}

#thesisLists .topics {
    margin-left: 20px;
    margin-bottom: 40px;
}

@media only screen and (min-width: 701px) {
    #main {
        padding: 0 6%;
        /*der Abstand links und rechts vom Text*/
    }
}

@media only screen and (max-width: 700px) {
    #main {
        padding: 0 5px;
    }
    #newsList li {
        display: block;
    }

    #thesisLists .topics {
        margin-left: 0;
    }
}

/* Sonstiges */
.text	{ text-align: justify; }
.center	{ text-align: center; }
.left	{ text-align: left; }
.right	{ text-align: right; }

img.float	{ float:left; margin-right: 1em; margin-bottom: 0.5ex }
.floatright	{ float:right; margin-left: 1em; margin-bottom: 0.5ex }
img		{ vertical-align:middle; border-color:white; margin: 1ex; }

/* Publication entries */

.publication-navigation {
    text-align: center;
}

.publication-navigation a {
    padding: 5px 0;
    /* to make clicking the links easier */
}

.main-info,
.additional-info,
.additional-info .inline-info {
    display: block;
}

.list-talks .main-info,
.list-talks .additional-info,
.list-talks .additional-info .inline-info {
    display: inline;
}


#content #publications~ol {
    margin: 0;
    padding: 0;
}

#content li.bibentry {
    margin-left: 0;
    margin-bottom: 1em;
    position: relative;
}
#content .list-talks li.bibentry {
    margin-bottom: 5px;
    padding: 0;
}

.author-list {
    display: block;
}

.list-talks .author-list {
    display: inline;
}

.artifact-list ol>li {
    list-style: none;
    display: inline;
    padding: 5px 3px;
}

.artifact-list ol>li::after {
    content: ', ';
}

.artifact-list ol>li:last-child::after {
    content: '';
}

.link-list {
    line-height: 23px;
    user-select: none;
}

.bibentry a {
    padding-top: 5px;
    padding-bottom: 5px;
}

.link-list>a {
    padding-left: 3px;
    padding-right: 3px;
    white-space: nowrap;
}

.link-list>a img {
    margin-right: 5px;
}

.bibtex summary, .artifact-list summary, .abstract summary {
    /* avoid text selection of buttons like 'BibTeX Entry'
    when bibliography text is selected */
    user-select: none; 
}

.additional-info details {
    display: inline-block;
    margin-bottom: 2px;
}

.additional-info details[open] {
    display: block;
    width: 80%;
}

#content li.bibentry {
    margin-right: 1.7em;
    /* Space required by .bibentry-link img, in worst case */
}

.bibentry .bibentry-link {
    position: absolute;
    top: 0;
    right: -0.85em;
    padding: 0;
    margin: 0;
    user-select: none; /* avoid copying links of this class as part of the bibliography */
}

.bibentry-link img {
    height: 1.7em;
    width: 1.7em;
    overflow: hidden;
    background-position: center;
    background-size: 1em 1em;
    background-repeat: no-repeat;
    opacity: 0.6;
}

.bibentry:hover .bibentry-link img,
.bibentry .bibentry-link:focus img {
    background-image: url('https://sosy-lab.org/research/pub/Icons/link.gif');
}

.bibentry:hover .bibentry-link:hover img,
.bibentry .bibentry-link:focus img {
    opacity: 1;
}

@media (hover: none) {
    .bibentry .bibentry-link img {
        background-image: url('https://sosy-lab.org/research/pub/Icons/link.gif');
    }
}
