/* General Blueprint Style */
@import url(https://fonts.googleapis.com/css?family=Lato:300,400,700);
/*@import url('https://fonts.gstatic.com/s/muli/v19/7Auwp_0qiz-afTLGLQjUwkQ.woff2');*/
@import url('https://fonts.cdnfonts.com/css/muli');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css');

@font-face {
	font-family: 'bpicons';
	src:url('../fonts/bpicons/bpicons.eot');
	src:url('../fonts/bpicons/bpicons.eot?#iefix') format('embedded-opentype'),
		url('../fonts/bpicons/bpicons.woff') format('woff'),
		url('../fonts/bpicons/bpicons.ttf') format('truetype'),
		url('../fonts/bpicons/bpicons.svg#bpicons') format('svg');
	font-weight: normal;
	font-style: normal;
} /* Made with http://icomoon.io/ */

*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
body, html { font-size: 100%; padding: 0; margin: 0;}

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }

body {
    font-family: 'Muli', 'Lato', Calibri, Arial, sans-serif;
    color: #47a3da;
}

div.footer { color:black; font-size:x-small; }
p.ref { float:left; }
p.edit { float:right; }
div.cbp_tmlabel img { margin:auto; display:block; width:30%; padding-top:2%; }
div.cbp_tmlabel a { text-decoration:underline; }
div.small { font-size:small; text-align:center; }

a { color: #f0f0f0; text-decoration: none; } 
a:hover { color: #000; } 
a.anchor { float: right; opacity:0; transition:opacity .51s; }
a.anchor.active { opacity:1; transition:opacity .5s; }

#intro p { line-height:1.6rem; font-size:larger; }
#login-button { cursor:pointer; padding:4px; }
#login-button:hover { background-color:#eee; border:solid lightgray 1px; }

#menu { float:left; border:solid orange 1px; margin:1vh 1vw; height:90vh; width:20vw; position:fixed; background-color:white; z-index:9}

/* FROM https://www.w3schools.com/howto/howto_js_mobile_navbar.asp */
 /* Style the navigation menu */
  .topnav { background-color: #000; position: fixed; width:20vw; z-index:9; } 
  /* Hide the links inside the navigation menu (except for logo/home) */
  .topnav #chapters { background-color:black; display: none; margin-top:40px; overflow-y:scroll; } 
  /* Style navigation menu links */
  .topnav a { color: #47a3da; padding: 14px 16px; text-decoration: none; font-size: 17px; display: block; } 
  /* Style the hamburger menu */
  .topnav a.icon { background: black; display: block; position: absolute; left: 0; top: 0; } 
  /* Add a grey background color on mouse-over */
  .topnav a:hover { background-color: #ddd; color: black; } 
  /* Style the active link (or home/logo) */
  .topnav a.active { background-color: #4CAF50; color: white; } 
/* TOT HIER */


.main,
.container > header {
	width: 90%;
	max-width: 69em;
	margin: 0 auto;
	padding: 2.875em 1.875em 0 1.875em;
}

.main { padding-top: 0; }

.container > header h1 {
	font-size: 2.125em;
	line-height: 1.3;
	margin: 0 0 0.6em 0;
	float:left;
	font-weight: 400;
}

.container > header > span {
	display: block;
	position: relative;
	z-index: 9999;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5em;
	padding: 0 0 0.6em 0.1em;
}

.container > header > span span:after {
	width: 30px;
	height: 30px;
	left: -12px;
	font-size: 50%;
	top: -8px;
	font-size: 75%;
	position: relative;
}

.container > header > span span:hover:before {
	content: attr(data-content);
	text-transform: none;
	text-indent: 0;
	letter-spacing: 0;
	font-weight: 300;
	font-size: 110%;
	padding: 0.8em 1em;
	line-height: 1.2;
	text-align: left;
	left: auto;
	margin-left: 4px;
	position: absolute;
	color: #fff;
	background: #47a3da;
}

.container > header nav {
	float: right;
	text-align: center;
}

.container > header nav a {
	display: inline-block;
	position: relative;
	text-align: left;
	width: 2.5em;
	height: 2.5em;
	background: #fff;
	border-radius: 50%;
	margin: 0 0.1em;
	border: 4px solid #47a3da;
}

.container > header nav a > span {
	display: none;
}

.container > header nav a:hover:before {
	content: attr(data-info);
	color: #47a3da;
	position: absolute;
	width: 600%;
	top: 120%;
	text-align: right;
	right: 0;
	pointer-events: none;
}

.container > header nav a:hover {
	background: #47a3da;
}

.bp-icon:after {
	font-family: 'bpicons';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	text-align: center;
	color: #47a3da;
	-webkit-font-smoothing: antialiased;
}

.container > header nav .bp-icon:after {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	line-height: 2;
	text-indent: 0;
}

.container > header nav a:hover:after {
	color: #fff;
}

.bp-icon-next:after {
	content: "\e000";
}
.bp-icon-drop:after {
	content: "\e001";
}
.bp-icon-archive:after {
	content: "\e002";
}
.bp-icon-about:after {
	content: "\e003";
}
.bp-icon-prev:after {
	content: "\e004";
}

@media screen and (max-width: 55em) {

	.container > header h1,
	.container > header nav {
		float: none;
	}

	.container > header > span,
	.container > header h1 {
		text-align: center;
	}

	.container > header nav {
		margin: 0 auto;
	}

	.container > header > span {
		text-indent: 30px;
	}
}
