# Dynamic font size for whole page

html {
  font-size: calc(1em + 0.2vw);
# font-size: 1em
}

body {
  margin: 2%;
  font-family: Arial,sans-serif;
  font-style: normal;
  font-weight: normal;
  color: black;
  background-color: white;
}

header {
  position: relative;
  text-align: center;
  margin: 0px;
  padding: 0px;
  border: 0
}

nav {
  width: 100%;
  background-color: #323232;
  margin: 0px;
  padding: 0px;
  border: 0;
  position:sticky;
#  position: -webkit-sticky;
  top: 0px;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #333;
}

nav li.linkleft {
  float: left;
}

nav li.linkright {
  float: right;
}

nav li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

nav li a:link {
  text-decoration: none;
  color: white;
}

nav li a:hover {
  text-decoration: none;
  color: white;
  background-color: black;
}

input {
  display: none;
}

main a {
  font-weight: bold;
}

main a:link {
  text-decoration: none;
  color: #0033FF;
}

main a:hover {
  text-decoration: none;
  color: white;
  background-color: #323232;
}

footer {
  width: 100%;
  background-color: #323232;
  text-align: center;
}

address {
  font-style: normal;
  font-weight: normal;
  color: white;
  text-align: left;
  display: inline-block;
  margin: auto;
  padding: 14px 30px;
}

h1 {
  font-size:1.6em;
  color: white;
  position: absolute;
  width: 100%;
  left:0;
  top: 30%;
  text-align: center;
#  transform: translate(-50%, -50%);
}

h2 {
  clear:both;
  font-size: 1.1em;
  font-weight: normal;
  text-align: center;
  margin: 0;
}

section {
  clear: both;
}

section.padded {
  margin: 1%;
}

article {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  margin: 10px 0 0 0;
}

article > header {
  background-color: #323232;
  width: 100%;
  color: white;
  padding: 5px;
  margin: 0;
}

.text-col {
	text-align: left;
}

.fig-col {
	text-align: center;
}

.fig-col:after {
	clear: both;
}

.text-col, .fig-col {
  width: 48%;
  margin: 1%;
  display: inline-block;
}

img.framed {
#  width:75%;
  max-width:75%;
  height:auto;
  padding: 10px;
  background-color: white;
  border: 1px solid #323232;
#	margin: 10px;
}

.fig-float {
  float: right;
  max-width:20%;
  min-width:180px;
  height:auto;
  padding: 10px;
  background-color: white;
  border: 1px solid #323232;
  margin: 10px;
}

.fig-float img {
  width: 100%;
  height: auto;
}

p.abstract, p.text {
	line-height: 1.8;
	font-size: 100%;
	text-align: justify;	
}

p.abstract {
	clear: left;
}



@media screen and (max-width: 800px) {
  .text-col, .fig-col {
    width: 100%;
  }
  
  nav ul {
    transition: top 0.5s ease-in-out;
  }

  nav input#toggle {
    display: none;
  }	
  
  nav input#toggle + label {
    display: block;
    background:url(Icons/menu.svg)
  }
  
  input#toggle:checked ~ #menu {
    top: -400px;
  }
}


/*----- List of publications -----*/

ol.publications, ol.thesis {
	font-size: 1em;
}

ol.thesis {
	list-style-type: upper-roman;
}

ol.publications a, ol.thesis a {
	font-style: normal;
	font-weight: bold;
}

ol.publications li, ol.thesis li {
	margin-bottom: 1.5em;
}

span.authors {
	font-style: normal;
	font-weight: normal;
}

span.presenting {
	text-decoration: underline;
}

span.title {
	font-style: normal;
	font-weight: normal;
}

span.journal {
	font-style: normal;
	font-weight: normal;
}

span.publisher {
	font-style: normal;
	font-weight: normal;
}

span.volume {
	font-style: normal;
	font-weight: bold;
}

span.pages {
	font-style: normal;
	font-weight: normal;
}

span.year {
	font-style: normal;
	font-weight: normal;
}

span.address {
	font-style: normal;
	font-weight: normal;
}

span.ISBN {
	font-style: normal;
	font-weight: normal;
}

span.howpublished {
	font-style: normal;
	font-weight: normal;
}

span.note {
	font-style: normal;
	font-weight: normal;
}

span.abstract {
	font-style: normal;
	font-weight: bold;
}

p.center {
  text-align: center;
  width: 100%;
}

/*----- Abstracts -----*/

section.authors, section.journal {
	clear: both;
	background-color: #CACACA;
	font-size: 1em;
	text-align: left;
	padding: 1em;
	margin-top: 0;
	width: 100%;
}

section.authors {
	padding-bottom: 0.1em;
}

section.journal {
	padding-top: 0.1em;
	margin-bottom: 1em;
}

section.download a.left {
	font-style: normal;
	font-weight: normal;
	float: left;
	background-color: #323232;
	color: white;
	padding: 0.8em;
	margin-top: 0;
	margin-right: 0.8em;
	margin-left: 0;
}

section.download a:link {
  text-decoration: none;
  color: white;
}

section.download a:hover {
  text-decoration: none;
  color: white;
  background-color: black;
}

p.single-photo-right {
#  max-width:20%;
#  min-width:180px;
#  height:auto;
	float: right;
	padding: 10px;
	background-color: white;
	margin-top: 1.5em;
	margin-bottom: 0.5em;
	margin-right: 0;
	margin-left: 1em;
	border: 1px solid #323232;	
}

p.single-photo-right img {
	width: 100%;
	height:auto;
}
