html {
	background-color: #4c4c4c;
}

body {
	font-family: "comic sans ms", arial, verdana;
	font-size: 16px;
	color: #cccccc;
	}

.wrapper {
	display: grid;
/*	grid-template-columns: 90px 1fr 90px;
	grid-template-columns: 10vw 80vw 10vw;
	grid-template-rows: 80px 1fr 40px;*/
	grid-gap: 5px;
	width: 90vw;
	margin: 5px auto;
	height: 100%;
}

/*---------------- Header start ----------------*/
.header-left {
	grid-area: 1 / 1 / 2 / 2;
	width: 90px;
/*	height: 70px;*/
	float: left;
}

.header-middle {
	grid-area: 1 / 2 / 2 / 3;
	width: 70vw;
	min-height: 70px;
	float: left;
	line-height: 70px;
	font-size: 1em;
}

@media screen and (max-width: 64em) {
	.header-middle {
		width: 60vw;
		font-size: 0.8em;
		line-height: 60px;
		min-height: 60px;
	}
}

@media screen and (max-width: 50em) {
	.header-middle {
		width: 50vw;
		font-size: 0.7em;
		line-height: 50px;
		min-height: 50px;
	}
}

.header-right {
	grid-area: 1 / 3 / 2 / 4;
	width: 90px;
/*	height: 70px;*/
	float: left;
	break-after: always;
}
/*---------------- Header end ----------------*/

.mainframe {
	grid-area: 2 / 1 / 3 / 4;
	width: 100%;
	margin-top: 0;
}

@media screen and (max-width: 64em) {
	.mainframe {
		width: 90%;
	}
}

@media screen and (max-width: 50em) {
	.mainframe {
		width: 80%;
	}
}

#content {
	margin: 0 3vw;
	max-width: 100%;
}


#zaehler {
	width: 300px;
	margin: 0 auto;
	background: #00FFFF;"
}

#iframe {
	width: 300px;
	height: 295px;
	margin: 40px auto;
	padding-top: 15px;
	border: 2px solid grey;
	border-radius: 15px;
}

.randombild {
	width: 80%;
}
/*---------------- Footer start ----------------*/
.footer {
	grid-area: 3 / 1 / 4 / 4;
	background-color: #5c5c5c;
	height: 2.5em;
	width: 90vw;
	margin: 0 0 20px 0;
	
}

#meta-menu {
	float: left;
	box-sizing: border-box;
	position: absolute;
	width: 300px;
	text-align: center;
	font-size: 0.9em;
	line-height: 2.5em;
	vertical-align: baseline;
}

#meta-menu a {
	padding: 0 5%;
	text-decoration: none;
}

@media screen and (max-width: 64em) {
	.footer {
		height: 1.6em;
	}
	#meta-menu {
		font-size: 0.8em;
		line-height: 1.6em;
	}
}

@media screen and (max-width: 50em) {
	.footer {
		height: 1.4em;
	}
	#meta-menu {
		font-size: 0.7em;
		line-height: 1.4em;
	}
}

/*---------------- Footer end ----------------*/

.ean-size > img {
	height: 110px;
}

dl {
	margin-left: 50px;
	}

h1 {
	font-size: 1.3rem;
	line-height: 2em;
}

h2 {
	font-size: 1.2rem;
	line-height: 1.6em;
}

h3 {
	font-size: 1.1rem;
	margin-bottom: 0.3em;
	line-height: 1.4em;
}

h4 {
	font-size: 1rem;
}

.standard {
	display: block;
	margin: 0 10vw;
	max-width: 1000px;
}

@media screen and (max-width: 64em) {
	.standard {
		display: block;
		margin: 0 1vw 0 20vw;
	}
}

@media screen and (max-width: 50em) {
	.standard {
		display: block;
		margin: 0 2vw;
	}
}

.div-ext {
	margin: 0 auto;
}

#spruch {
	width: 170px;
	padding-left: 2vw;
	font-size: 1em;
}
#zitat {
	padding-right: 2vw;
	font-size: 1em;
}

@media screen and (max-width: 64em) {
	#spruch {
		width: 140px;
		font-size: 0.9em;
	}
	#zitat {
		font-size: 0.8em;
	}
	#zaehler {
		display: none;
		width: 50px;
	}
}

@media screen and (max-width: 50em) {
	#spruch {
/*		visibility: hidden;*/
		display: none;
		padding-left: 0;
		width: 0;

	}
	#zitat {
		font-size: 0.8em;
		padding: 0;
	}
	#zaehler {
		display: none;
		width: 50px;
	}
}

/* ---------- Extene Links start ----------*/
.linkRows {
	width: 80vw;
	margin-left: 7vw;
	float: left;
}

.child {
	width: 11vw;
	height: 11vw;
	margin: 0.3vw;
	float: left;
	font-size: 1em;
	text-align: center;
	line-height: 11vw;
}

.div_links {
	width: 24vw;
	float: left;
	font-size: 1.3vw;
	text-align: left;
	padding: 3px 0 0 5px;
	line-height: 1.7em;
}
/* ---------- Extrene Links end ----------*/

/* ---------- clock-to and berlinuhr start ----------*/
.clock, .binaryclock {
	width:39vw; 
	clear:left; 
	outline:4px solid #808080; 
	background-color:#404040; 
	margin:2vw auto; 
}

.parent, .binaryparent {
	width: 39vw; 
	clear: left;
	height: 3.1vw; 
}

.child_on, .child_off, .binarychild_on, .binarychild_off {
	width: 3vw; /* Achtung: Zellen sind nicht quatratisch */
	height: 3.1vw; 
	float: left; 
	font-family: arial; 
	font-weight: bold;
	font-size: 2vw; 
	text-align: center; 
	line-height: 3.1vw;
}

.child_on, .binarychild_on {
	color: #EEEEEE; 
}

.child_off, .binarychild_off {
	color: #505050; 
}

@media screen and (max-width: 768px) {
	.clock {
		width:84.5vw; 
		height:82.3vw;
		clear:left; 
		outline:6px solid #808080; 
		background-color:#404040; 
		margin:3vw auto;
	}
	.parent {
		width:84.5vw;
		clear:left;
	}
	.child_on, .child_off {
		width:6.5vw; 
		height:6.85vw; 
		float:left; 
		font-family:arial; 
		font-weight:bold;
		font-size:4.5vw; 
		text-align:center; 
		line-height:6.85vw;
	}
}
/* ---------- clock-to and berlinuhr end ----------*/

p {
	margin-top: 0.4em;
	margin-bottom: 0.4em;
}

a:link {
	color: #cccccc;
}

a:active {
	color: #888888;
	}

a:visited {
	color: #cccccc;
	}

a:hover {
	color: #eeeeee;
}

/* Style the navigation menu */
.topnav {
	overflow: hidden;
	position: absolute;
	width: 10px;
}

/* Hide the links inside the navigation menu (except for logo/home) */

.topnav #myLinks {
	position: fixed;
	top: 90px;
	left: 10px;
	width: 130px;
	background: brown;
	opacity: 0.75;
	display: none;
	text-align: left;
	margin-right: 0;
	border-radius: 12px;
	padding: 10px 20px;
}

/* Style navigation menu links */
.topnav a {
	color: whitesmoke;
	text-decoration: none;
	font-size: 1rem;
	padding: 7px;
	display: block;
/*	text-align: center;*/
}

/* Style the hamburger menu */
.topnav a.icon {
	background: brown;
	color: whitesmoke;
	border-radius: 6px;
	display: block;
	position: fixed;
	left: 78px;
	top: 25px;
	z-index: 5;
}

/* Add a grey background color on mouse-over */
.topnav a:hover {
	background: whitesmoke;
	color: brown;
	border-radius: 6px;
}

/* Style the active link (or home/logo) */
.active {
	display: none;
	position: relative;
	color: white;
	pointer-events: none;
	height: 76px;
	width: 100%;
	margin-top: 0;
  }
.active:hover { text-decoration: none; color: none; }

/*----------------- Media-Screen ------------------------*/

@media screen and (max-width: 768px) {

/*	.header-middle {
		width: 50vw;
		height: 80px;
		font-size: 0.8rem;
	}*/

	.small_menu {
		display: inline;
	}

	.ean-size > img {
		height: 70px;
	}

	.modalDialog > div {
			visibility: hidden;
	}
}