body {
	font-family: "Ubuntu";
	font-size: 14px;
	background: #f8f8f8;
	color: #222;
	text-align: justify;
}

div {
	margin: 10px;
	padding: 10px;
}

h1 {
	font-size: 20px;
	margin: 0px 0px 30px -2.6em;
}

h2 {
	font-size: 16px;
        margin-left: -2.7em;
}

a:link,
a:visited,
a:active,
a:hover {
	text-decoration: none;
	color: #800;
}

h1 .hiddenname,
h2 .hiddencontacts,
h2 .hiddenpubs,
h2 .hiddenservice {
        visibility: hidden;
}

h1:hover .hiddenname,
h2:hover .hiddencontacts,
h2:hover .hiddenpubs,
h2:hover .hiddenservice {
       visibility: visible;
       color: #ddd;
}

h1:hover:after {
	text-align: right;
	float: right;
	font-size: 14px;
	color: #ddd;
	content: "§";
}

h2:hover:after {
	text-align: right;
	float: right;
	font-size: 14px;
	color: #ddd;
	content: '¶';
}

.mono {
        font-family: Ubuntu Mono;
}

/***************************/

div#upperempty {
	margin: 0px 0px 30px -10px;
	height: 80px;
	background: #33cc99;
	overflow: hidden;
	border-bottom: 2px solid #1a3a3a;
}

div#centerdiv {
	width: 500px;
	margin: auto;
	border-left: dashed #ddd 1px;
	padding-left: 2px;
}

div#lastupdate {
	/*position: fixed;*/
	/*bottom: 0;*/
	color: #888;
	font-size: 10px;
	margin: 10px 0px;
	padding: 0px;
}

div#lastupdate:after {
        content: "■";
        float: right;
        color: #ddd;
}

a h1,
a h2 {
	color: #222;
}

table.adjacencymatrix {
}

table.adjacencymatrix tr {
	line-height: 1.1em;
}

table.adjacencymatrix td {
	padding: 0 5px;
}

table.adjacencymatrix td.border {
	font-size: 1.1em;
	font-weight: bold;
}

ol.pubs {
	display: table;
	padding-inline-start: 2em;
	list-style-type: none;
}

ol.pubs > li {
	text-indent: -2em;
	list-style: none;
	position: relative;
	diaplay: table-row;
}

ol.confpubs {
	counter-reset: confpubs-counter;
}

ol.thesespubs {
	counter-reset: theses-counter;
}

ol.journalpubs {
	counter-reset: journal-counter;
}

ol.servicepubs {
	counter-reset: service-counter;
}

ol.prespubs {
	counter-reset: pres-counter;
}

ol.confpubs li:before {
	content: '[c' counter(confpubs-counter) '] ';
	counter-increment: confpubs-counter;
}

ol.thesespubs li:before {
	content: '[t' counter(theses-counter) '] ';
	counter-increment: theses-counter;
}

ol.journalpubs li:before {
	content: '[j' counter(journal-counter) '] ';
	counter-increment: journal-counter;
}

ol.servicepubs li:before {
	content: '[s' counter(service-counter) '] ';
	counter-increment: service-counter;
}

ol.prespubs li:before {
	content: '[p' counter(pres-counter) '] ';
	counter-increment: pres-counter;
}

div#myphoto {
  display: block;
  margin-left: 0;
  margin-right: auto;
  width: 50%;
}

/****************************************************************************************/


@media only screen and (max-device-width: 480px) {

div#centerdiv {
        width: 90%;
        border: none;
        padding: 0px;
}

div#upperempty {
        height: 30px;
}

h1 .hiddenname,
h2 .hiddencontacts,
h2 .hiddenpubs,
h2 .hiddenservice {
        display: none;
}

h1,
h2 {
         margin-left: 0px;
}

h1:hover .hiddenname,
h2:hover .hiddencontacts,
h2:hover .hiddenpubs,
h2:hover .hiddenservice {
        display: none;
}

}

