/* 
 *	Das Design folgt dem Mobile-First-Ansatz. Alle Styles werden
 *	zunächst für die kleinen Bildschirme von Smartphones definiert
 *	und dann bei Bedarf mit Hilfe von Media Queries für größere
 *	Bildschirme angepasst.  
 *
 */



/* 
 *	Einige fundamentale Einstellungen 
 *
 */


body {
	margin: 0;
	padding: 0;
	font-family: helvetica, arial, sans-serif;
	text-align: left;
	background-color: #f8f8f8;
}

a img {
	border: none;
}

*:first-child {
	margin-top: 0;
}



/* 
 *	Der Wrapper zentriert die Inhalte der Seiten und skaliert 
 *	sie auf eine Breite von 100%, 740px oder 950px. 
 *
 */

.wrap {
	clear: both;
	margin: 0 auto 0 auto;
	text-align: left;
}


/* Smartphone */

.wrap {
	width: 100%;
}

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

	/* Tablet */

	.wrap {
		width: 750px;
	}

}

@media screen and (min-width:1024px) {

	/* Desktop */

	.wrap {
		width: 950px;
	}
	
}



/* 
 *	Header 
 *
 */

#header { 
	float: left;
	width: 100%;
	background-color: #003366;
	background: linear-gradient(-120deg, #003366, #063e78);
}

#left { 
	float: left;
	width: 100px;
}

#right { 
	float: right;
	width: 170px;
	padding: 0;
}

#menue {
	float: left;
	width: 30px;
	height: 30px; 
	padding: 20px 7px 7px 20px;	
}

#language {
	float: left;
	text-decoration: none;
}

#logo {
	float: right;
}

#claim {
	float: right;
	margin: -16px 0 0 0;
	padding: 0 18px 10px 0;
	color: #ffffff;
	font-weight: bold;
	font-size: 10px;
}


/* Smartphone */

#header { 
	height: 70px;
}

#menue {
	display: inherit;
}

#language {
	padding: 12px 0 16px 24px;
	font-size: 11px;
	color: #003366;
	visibility: hidden;
}

#logo {
	width: 110px;
	margin: 12px 0 0 0;
	padding: 0 34px 0 0;
}

#claim {
	font-size: 10px;
}

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

	/* Tablet und Desktop */

	#header { 
		height: 90px;
	}

	#menue {
		display: none;
	}

	#language {
		padding: 52px 0 16px 32px;
		font-size: 13px;
		color: #5599dd;
		visibility: visible;
	}

	#logo {
		width: 136px;
		margin: 17px 0 0 0;
		padding: 0 40px 0 0;
	}

	#claim {
		font-size: 12px;
	}

}




/* 
 *	Navi 1
 *
 */

#navi1 {
	float: left;
	width: 100%;
	font-weight: bold;
	font-size: 15px;
	background-color: #666666;
	border-style: solid;
	border-color: #f2f2f2;
	overflow: hidden;
}

#navi1 ul {
	float: left;
	margin: 0;
	list-style-type: none;
}

#navi1 li {
	float: left;
	display: inline-block;
	border-style: solid;
	border-color: #f2f2f2;
	border-width: 0 1px 0 0;
}

#navi1 li:last-child {
	border-width: 0;
}

#navi1 a {
	float: left; 
	padding: 0 24px 0 24px;
	color: #ffffff;
	text-decoration: none;
}

#navi1 span {
	float: left; 
	padding: 0 24px 0 24px;
	color: #ffffff;
	background-image: url(../images/kreis-weiss.png);
	background-size: 24px 24px;
	background-repeat: no-repeat;
}

#wissen1 {
	min-width: 53px;
}

#knowledge1 {
	min-width: 81px;
}


/* Smartphone */

#navi1 {
	height: 0;
	line-height: 43px;
}

#navi1 ul {
	padding: 0;
}

#navi1 a {
	padding: 0 24px 0 24px;
}

#navi1 span {
	padding: 0 24px 0 24px;
	background-position: left;	
}

.followed {
	border-width: 1px 0 0 0;
}

.sole {
	border-width: 1px 0 0 0;
}

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

	/* Tablet und Desktop */

	#navi1 {
		height: 32px;
		line-height: 32px;
	}

	#navi1 ul {
		padding: 0;
	}

	#navi1 a {
		padding: 0 32px 0 32px;
	}

	#navi1 span {
		padding: 0 32px 0 32px;
		background-position: 6px 4px;	
	}

	.followed {
		border-width: 1px 0 0 0;
	}

	.sole {
		border-width: 1px 0 40px 0;
	}


}




/* 
 *	Navi 2 
 *
 */

#navi2 {
	float: left;
	width: 100%;
	font-weight: bold;
	font-size: 15px;
	line-height: 21px;
	background-color: #f2f2f2; 
	overflow: hidden;
}

#navi2 ul {
	margin: 0;
	list-style-type: none;
	border-style: solid;
	border-color: #bbbbbb;
}

#navi2 li {
	margin: 0;
	list-style-type: none;
	white-space: nowrap;
	border-style: solid;
	border-color: #bbbbbb;
}

#navi2 li:last-child {
	border-width: 0;
}

#navi2 a {
	margin: 0;
	text-decoration: none;
	color: #666666;
}

#navi2 span {
	margin: 0;
	color: #003366;
	text-decoration: none;
	background-image: url(../images/kreis-blau.png);
	background-size: 24px 24px;
	background-repeat: no-repeat;
}


/* Smartphone */

#navi2 {
	height: 0;
}

#navi2 ul {
 	padding: 0;
	border-width: 0 0 1px 0;
}

#navi2 ul.rechner2 {
 	padding: 0 0 0 101px;
}

#navi2 ul.calculators2 {
 	padding: 0 0 0 132px;
}

#navi2 li {
	padding: 11px 0 11px 0;
	border-width: 0 0 1px 0;
}

#navi2 ul li ul {
	margin: 11px 0 -11px 0;
	padding: 0 0 0 36px;
	border-width: 1px 0 0 0;
}

#navi2 a {
	padding: 0 12px 0 24px;
}

#navi2 span {
	padding: 0 12px 0 24px;
	background-position: left;
}

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

	/* Tablet und Desktop */

	#navi2 {
		height: auto;
	}

	#navi2 ul {
	 	padding: 16px 0 16px 0px; 
		border-width: 0;
	}

	#navi2 ul.rechner2 {
	 	padding: 16px 0 16px 118px;
	}

	#navi2 ul.calculators2 {
	 	padding: 16px 0 16px 146px; 
	}

	#navi2 li {
		padding: 2px 0 2px 0;
		border-width: 0;
	}

	#navi2 ul li ul {
		margin: 12px 0 12px 0px;
		padding: 0 0 0 36px;
		border-width: 0;
	}

	#navi2 a {
		padding: 0 0 0 32px;
	}

	#navi2 span {
		padding: 0 0 0 32px;
		background-position: 6px -3px;	
	}
	
}




/* 
 *	Content
 *
 */

#content {
	float: left;
	width: 100%;
	color: #555555;
	background-color: #ffffff;
}

#headline {
	float: left;
}

#images,
.cover {
	float: left;
}

#images img,
.cover img {
	width: 100%;
}

#text,
#papers,
.review {
	float: right;
	font-weight: lighter;
}

#text a {
	text-decoration: none;
	color: #0044cc;
}

#text a:hover {
	text-decoration: underline;
}

#text span.tief  {
	position: relative;
	font-size: 10px;
	top: 0.3em;
}

#text span.hoch  {
	position: relative;
	font-size: 10px;
	top: -0.3em;
}

.literatur {
	clear: both;
	margin: 0;
}

#rechner {
	clear: both;
	margin: 0 auto 0 auto;
	text-align: center;
	white-space: nowrap;
	overflow-y: hidden;
	overflow-x: auto;
}

#rechner p.hint {
	margin: 0;
	text-align: left;
	font-weight: bold;
	font-size: 22px;
}

#jhRaumeigenmodenRechner,
#jhLautsprecherRechner {
	display: inline-block;
}


/* Smartphone */

#content {
	padding: 0 0 40px 0;
}

#headline {
	padding: 36px 0 6px 24px;
	width: calc(100% - 24px);	
}

#headline h1 {
	font-size: 26px;
	line-height: 38px;
}

#images,
.cover {
	padding: 10px 0 10px 24px;
	width: 270px;
	font-size: 12px;
	line-height: 18px;
}

#images p {
	padding: 0 0 18px 0; 
}

#text,
#papers,
.review {
	padding: 0 24px 40px 24px;
	width: calc(100% - 48px);
	font-size: 15px;
	line-height: 22px;
}

#rechner p.hint {
	padding: 10px 24px 50px 24px;
	width: calc(100% - 48px);
}

#jhRaumeigenmodenRechner,
#jhLautsprecherRechner {
	width: 100%;
}


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

	/* Tablet */

	#content {
		padding: 0 0 60px 0;
	}

	#headline {
		padding: 60px 0 10px 237px;
		width: 513px;
	}

	#headline h1 {
		font-size: 30px;
		line-height: 42px;
	}

	#images,
	.cover {
		padding: 4px 0 40px 32px;
		width: 180px;
		font-size: 12px;
		line-height: 18px;
	}

	#images p {
		padding: 6px 0 40px 0; 
	}

	#text,
	#papers,
	.review {
		padding: 0 48px 30px 0px;
		width: 465px;
		font-size: 15px;
		line-height: 22px;
	}

	#rechner p.hint {
		padding: 20px 0 50px 237px;
		width: 513px;	
	}

	#jhRaumeigenmodenRechner,
	#jhLautsprecherRechner {
		width: auto;
	}

}

@media screen and (min-width:1024px) {

	/* Desktop */

	#content {
		padding: 0 0 80px 0;
	}

	#headline {
		padding: 70px 0 12px 342px;
		width: 608px;
	}

	#headline h1 {
		font-size: 32px;
		line-height: 46px;
	}

	#images,
	.cover {
		padding: 4px 0 40px 32px;
		width: 270px;
		font-size: 14px;
		line-height: 21px;
	}

	#images p {
		padding: 10px 0 50px 0; 
	}

	#text,
	#papers,
	.review {
		padding: 0 78px 40px 0px;
		width: 530px;
		font-size: 16px;
		line-height: 26px;
	}

	#rechner p.hint {
		padding: 20px 0 50px 342px;
		width: 608px;	
	}

	#jhRaumeigenmodenRechner,
	#jhLautsprecherRechner {
		width: auto;
	}
	
}




/* 
 *	Footer
 *
 */

#footer {
	float: left;
	width: 100%;
	font-size: 14px;
	line-height: 21px;
	color: #aaaaaa;
}

#impressum {
	float:left;
	border-style: solid;
	border-color: #dddddd;
}

#impressum p {
	margin: 0;
	font-weight: lighter;
}

#impressum a {
	font: inherit;
	text-decoration: none;
	color: #aaaaaa;
}

#datenschutz {
	float:left;
	border-style: solid;
	border-color: #dddddd;
}

#datenschutz p {
	margin: 0;
	font-weight: lighter;
}

#datenschutz a {
	font: inherit;
	text-decoration: none;
	color: #aaaaaa;
}

#nutzung {
	float:left;
	border-style: solid;
	border-color: #dddddd;
}

#nutzung p {
	margin: 0;
	font-weight: lighter;
}

#nutzung a {
	font: inherit;
	text-decoration: none;
	color: #aaaaaa;
}

#copyright {
	clear: both;
	float: left;
}

#copyright p {
	font-weight: lighter;
}


/* Smartphone */

#impressum {
	margin: 30px 0 0 0;	
	padding: 6px 15px 8px 24px;	
	border-width: 0 1px 0 0;
}

#datenschutz {
	margin: 30px 0 0 0;	
	padding: 6px 15px 8px 15px;	
	border-width: 0 1px 0 0;
}

#nutzung {
	margin: 30px 0 0 0;	
	padding: 6px 0 8px 15px;	
	border-width: 0;
}

#copyright {
	margin: 0 0 60px 0;	
	padding: 30px 16px 0 24px;	
}

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

	/* Tablet */

	#impressum {
		margin: 24px 0 0 0;	
		padding: 8px 20px 10px 237px;	
		border-width: 0 1px 0 0;
	}

	#datenschutz {
		margin: 24px 0 0 0;	
		padding: 8px 20px 10px 20px;	
		border-width: 0 1px 0 0;
	}

	#nutzung {
		margin: 24px 0 0 0;	
		padding: 8px 0 10px 20px;	
		border-width: 0;
	}

	#copyright {
		margin: 0 0 100px 0;	
		padding: 20px 0 0 237px;	
	}

}

@media screen and (min-width:1024px) {

	/* Desktop */

	#impressum {
		margin: 30px 0 0 0;	
		padding: 6px 20px 8px 342px;	
		border-width: 0 1px 0 0;
	}

	#datenschutz {
		margin: 30px 0 0 0;	
		padding: 6px 20px 8px 20px;	
		border-width: 0 1px 0 0;
	}

	#nutzung {
		margin: 30px 0 0 0;	
		padding: 6px 0 8px 20px;	
		border-width: 0;
	}

	#copyright {
		margin: 0 0 100px 0;	
		padding: 30px 0 0 342px;	
	}
	
}
