@font-face {
 font-family:'Inconsolata';
 src: url('img/Inconsolata.ttf');
}

html,
body {
	background-size: 10% auto;
	background-image: url('img/background.png');
	background-repeat: repeat;
	height: 100%;
	margin: 0;
	font-family: Inconsolata;
	text-align: justify;
	text-justify: inter-word;
}

#header
{	
	position: fixed;
	height: 20% !important;
	width: 100% !important;
}

#bordertop
{
	height: 25% !important;
	background-size: auto 100%;
	background-image: url('img/bordertop.png');
	background-repeat: repeat-x;
}

#borderbottom
{
	height: 25% !important;
	background-size: auto 100%;
	background-image: url('img/bordertop.png');
	background-repeat: repeat-x;
}


#menucontainer
{
	height: 50% !important;
	background-size: auto 100%;
	background-image: url('img/header.png');
	background-repeat: repeat-x;
	display: flex;
	flex-direction: row;
	justify-content:space-between;
	align-items:center;
}

#name
{
	color:white;
	padding: 50px;
	font-weight:bold;
	font-size:20px;
}

#menu
{
	display: flex;
	flex-direction: row;
	justify-content:space-between;
	align-items:center;
}

.menubutton
{
	padding: 20px;
	font-size: 20px;
	color:white;
}

#body
{
	position: fixed;
	height: 80% !important;
	top: 20%;
	display: flex;
	flex-flow: row;
	flex: 8 8 auto;
	padding-left: 15%;
	padding-right: 15%;
}

#content
{	
	width: 100% !important;
	background-color: white;
	padding-right: 10%;
	padding-left: 10%;
	overflow-y: auto;
}

/*
#content::-webkit-scrollbar
{
	display: none;
}*/

#borderright
{
	position: fixed;
	right: 15%;
	width: 2% !important;
	height: 100%;
	background-size: 100% auto;
	background-image: url('img/borderright.png');
	background-repeat: repeat-y;
}

#borderleft
{
	position: fixed;
	left: 15%;
	width: 2% !important;
	height: 100%;
	background-size: 100% auto;
	background-image: url('img/borderleft.png');
	background-repeat: repeat-y;
}

a
{
	color:#900000;
	text-decoration:none;
}

a:hover
{
	color:#500000;
	text-decoration:underline;
}

.date
{
	font-weight: bold;
}

.quote
{
	font-style: italic;
}

.page-link
{
	color:#FFFFFF;
	text-decoration:none;
	font-weight:bold;
	font-size:20px;
}

.page-link:hover
{
	color:#FFFFFF;
	text-decoration:underline;
}

.paperbuttons
{
	display: flex;
	flex-direction: row;
	align-items:center;
}

.paperbutton
{
	height: 100% !important;
	margin: 10px;
	padding: 10px;
	background-image:url('img/emptybutton.png');
	background-size: 100% 100%;
	background-repeat: no-repeat;
	color: white;
	cursor: pointer;
	font-weight:bold;
	font-size: 15px;
}

.paperbutton:hover
{
	color:#FFFFFF;
	text-decoration:underline;
}

.abstracthidden
{
	height: 0px;
	overflow: hidden;
}

.abstractopen
{
	height: auto;
}

.abstractopen p
{
	line-height: 1.5;
}

.icon
{
	height: 1.5em; 
	vertical-align: middle;
}

.iconlink .front
{
	display: none;
}

.iconlink:hover .front
{
	display: inline;
	border: 1px solid #500000;
}

.iconlink .back
{
	display: inline;
	border: 1px solid transparent;
}

.iconlink:hover .back
{
	display: none;
}

p
{
	line-height: 1.5em;
}

.error
{
	width: 100%;
}

.texthighlight
{
	color: #900000;
}

.images{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
  	justify-content: center;
  	align-items: stretch;
  	align-content: center;
  	column-gap: 5%;
  	width: 100%;
}

.image
{
	flex-shrink: 1;
	flex-grow: 1;
	flex-basis: 25%;
	text-align: center;
}

.caption
{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-shrink: 1;
	flex-grow: 1;
	flex-basis: 25%;
}