/* CSS Grid */

.wrapper {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	/* Defined in specific element */
	/* grid-template-rows: 15vw 50vw 5vw; */
	grid-gap: 0em;
}

header,
footer {
	grid-column: 1 / span 8;
}

header {
	grid-row: 1;
}

aside {
	grid-column: 1 / span 2;
}

main {
	grid-column: span 6;
}

.overlay {
	grid-column: 1 / span 2;
	grid-row: 1;
	z-index: 1;
}

.logo {
	grid-column: 1 / span 2;
	grid-row: 1;
	z-index: 1;
}

/*Boxdesign*/

.box {
    float: left;
    /*padding: 20px;*/
    margin-right: 100px;
    margin-left: 0;
    vertical-align: text-top;
}

/*.box:last-child {
    margin-right: 0;
}*/

/* Specific Styles */

body {
	background: #eef0ee;
	margin: 0 auto;
	max-width: 70em;
	padding: 0em 6em;
	font-family: myriad-pro, sans-serif;
	font-weight: 300;
	font-style: normal;
    font-size: 100%;
}

header,
main,
aside,
footer {
	display: flex;
	align-items: center;
}

header {
	background: url(https://bb.server110.de/img/headerimg/books.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 25vw;
}

.overlay {
	background: black;
	opacity: 0.6;
}

.logo {
	display: block;
	margin-left: 40px;
	margin-right: 40px;
	margin-top: auto;
	margin-bottom: auto;
}

img.logo {
	width: 100%;
	height: 100%;
	margin-left: 0px;
	margin-right: 0px;
}

aside {
	background: #f2f2f2;
	text-align: right;
	flex-wrap: wrap;
	padding-top: 9.375em; /*150px*/
	padding-bottom: 40px;
	padding-left: 40px;
	padding-right: 40px;
}

.picture {
  background-color: orange;
  position: absolute;
  width: 250px;
  height: 175px;
  top: 40vw;
  right: 50px;
  float: right;
  margin-left: 1em;
}    
    
.mainmenu {
	align-self: flex-start;
	width: 100%;
}

.secondmenu {
	align-self: flex-end;
	width: 100%;
}

main {
	background: #ffffff;
	padding-top: 4.688em; /* 75px */
	padding-bottom: 100px;
	padding-left: 40px;
	padding-right: 40px;
	text-align: justify;
}

.content {
	align-self: flex-start;
	width: 100%;
}

footer {
	background: #dbdbdb;
	height: 5vw;
}

ul.nav {
	list-style-type: none;
	margin: 0;
	padding: 0;
	width: 200px;
	background-color: #f2f2f2;
}

li.nav {
	font-size: 1.5em;
	padding: 8px 0px;
}

li.nav a {
	display: block;
	color: #8b9090;
	text-decoration: none;
}

li.nav a.active {
	color: #b13507;
	font-weight: 400;
}

li.nav a:hover:not(.active) {
	color: #4e5757;
}

li.nav.horizontal {
	padding: 0px 2px;
	font-size: 0.75em;
	display: inline-block;
}

li.nav.horizontal:last-child {
	padding-right: 0;
}

li.nav.submenu {
	font-size: 1em;
	padding-top: 4px;
	padding-bottom: 4px;
}

ul.list {
  list-style-type: circle;
}

ul.dezimal {
  list-style-type: decimal;
}

h1 {
	margin-top: 0;
	margin-bottom: 43px;
	font-weight: 400;
	font-style: normal;
	color: #b13507;
}

h2 {
	font-weight: 300;
	font-style: normal;
	margin-top: 30px;
}

h3 {
	font-weight: 300;
	font-style: normal;
}

a {
    font-family: myriad-pro, sans-serif;
    font-size: 100%;
    text-decoration: none;
    color: black;
}

b {
	font-weight: 400;
}

.infobox {
	margin: auto;
    margin-bottom: 20px;
	display: block;
	text-align: center;
    display: inline-block;
    background-color: #f2f2f2;
    border-radius: 10px;
    box-shadow: 1px 2px 4px rgba(0,0,0,.4);
}

.infobox rahmen {
    border: solid 0em #ccc;
	display: inline-block;
	margin: 0;
	padding: 1em;
	position: relative;
}

/* Blockquote */

.quote-wrapper {
	margin: auto;
	padding-top: 40px;
	display: block;
	text-align: right;
}

.square-brackets-quote {
	display: inline-block;
	font-style: italic;
	text-align: left
}

.square-brackets-quote blockquote {
	border: solid 0.1em #ccc;
	display: inline-block;
	margin: 0;
	padding: 1em;
	position: relative;
    color: #b13507;
}

.square-brackets-quote blockquote:before {
	background-color: #fff;
	bottom: -1em;
	content: "";
	left: 2em;
	position: absolute;
	right: 2em;
	top: -1em;
}

.square-brackets-quote blockquote cite {
	color: #757575;
	display: block;
	font-size: 0.8em;
	font-style: normal;
	text-align: right;
	text-transform: uppercase;
}

.square-brackets-quote blockquote>* {
	position: relative;
	z-index: 1;
}

/* Shaddow */

.wrapper {
	box-shadow: -50px 0 50px -8px #cccdcb, 50px 0 50px -8px #cccdcb;
}

/* Mobile friendly stuff */


@media (max-width: 700px) {
	/* No colums on mobile */
	main,
	aside {
		grid-column: 1 / span 8;
	}
	body {
		padding: 0;
		background-color: #f1f1f1;
		max-width: 100vw;
	}
	.overlay {
		display: none;
	}
	aside {
		padding-top: 20px;
		padding-bottom: 20px;
		padding-left: 20px;
		padding-right: 20px;
		margin: auto;
		display: block;
		text-align: center;
	}
}