/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
 
 @import url('iconfont/icon.css');
 
* {
    -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
	-webkit-tap-highlight-color: transparent;
	-webkit-focus-ring-color:  rgba(0, 0, 0, 0);
}
html {
	height:100%;
	overflow-y:scroll;
}
body {
	-webkit-touch-callout: none;                /* prevent callout to copy image, etc when tap to hold */
	-webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit */
	-webkit-user-select: none;                  /* prevent copy paste, to allow, change 'none' to 'text' */
	background-color:#a7a7a7;

	box-shadow: 12px 61px 220px -20px rgba(30,30,30,0.5) inset;

	background-attachment:fixed;

	font-family:'HelveticaNeue-Light', 'HelveticaNeue', Helvetica, Arial, sans-serif;
	font-size:16px;
	min-height:100%;
	margin:0px auto;
	padding:0px;
	width:100%;
	min-width:320px;
	max-width:400px;
}
/*
#bg {
	position:absolute;
	height:100%;
	margin:0px auto;
	width:100%;
	min-width:320px;
	max-width:400px;

    background-image:url('../img/Hintergrund.jpg');
	background-position:center top;
	background-repeat:no-repeat;
	background-size:100% 100%;
	
	z-index:-1;
}
*/
/* Portrait layout (default) */
@media trash {
	.app {
		background:url(../img/logo.png) no-repeat center top; /* 170px x 200px */
		position:absolute;             /* position in the center of the screen */
		left:50%;
		top:100px;
		width:225px;                   /* text area width */
		padding:180px 0px 0px 0px;     /* image height is 200px (bottom 20px are overlapped with text) */
		margin:-115px 0px 0px -112px;  /* offset vertical: half of image height and text area height */
									   /* offset horizontal: half of text area width */
	}
}

div#head, div.app { /* wird nach lokalisierung eingeblendet */
	opacity:0;
}


.app {
	/*max-width:1024px;*/
	max-width:400px;
	margin:0 auto;
	padding-top:50px;
}

/* Landscape layout (with min-width) */
@media screen and (min-aspect-ratio: 1/1) and (min-width:400px) {
    .app {
    }
}

h1 {
    font-size:24px;
    font-weight:normal;
    margin:20px 0 10px 0;
    overflow:hidden;
	text-overflow:ellipsis;
	width:50%;
}
h2 {
	font-size:20px;
	font-weight:normal;
	margin:1em 0 0.5em 0;
    overflow:hidden;
	text-overflow:ellipsis;
	width:50%;
}
p {
	margin:1em 0;
}
a {
	text-decoration:none;
}


#head {
	position:fixed;
	display:table;
	top:0px;
	width:100%;
	max-width:400px;
	margin:0px auto;
	z-index:2000;
}
#head2 {
	position:relative;
	width:100%;
	/*max-width:1024px;*/
	max-width:400px;
	margin:0px auto;

	background-image:url('../img/Hintergrund_Kopf.png');
	background-size:2048px 55px;
	background-repeat:repeat-x;
	background-position:left top;
	height:55px;
}
	#head span.Titel {
		display:block;
		margin:0px 50px;
		padding-top:8px;
		text-align:center;
		overflow:hidden;
		text-overflow:ellipsis;
		color:white;
		white-space:nowrap;
	}
	a.Home {
		display:none;
		position:absolute;
		width:100%;
		height:55px;
		top:0px;
		left:0px;
	}
	span.Home {
		display:block;
		position:absolute;
		width:32px;
		height:32px;
		right:5px;
		top:5px;
	}
	span.Icon32 {
		font-family: 'outputIcons', Arial;
		font-style: normal;
		font-weight: normal;
		font-size: 24px;
		line-height: 24px;
		vertical-align: text-top;
		text-align:center;
		-webkit-font-smoothing: antialiased;

		display: inline-block;
		background: transparent center center;
		width: 32px;
		height: 32x;
	}
	span.Icon32 {
		position:absolute;
		top:50%;
		right:0px;
		margin-top:-16px;
		color:#fff;
		transition: color 0.3s, border-color 0.3s;
		-webkit-transition: color 0.3s, border-color 0.3s;
	}
	a.Home.hover span.Icon32, a.Home.clicked span.Icon32 {
		color:#ff7f00;
	}

body.Widerstandsthermometer a.Home, body.Thermoelemente a.Home, body.Umformer a.Home, body.Impressum a.Home {
	display:block;
}

#Widerstandsthermometer, #Thermoelemente, #Umformer, #Impressum {
	display:none;
}

body.Widerstandsthermometer #Menu, body.Thermoelemente #Menu, body.Umformer #Menu, body.Impressum #Menu {
	display:none;
}
body.Widerstandsthermometer #Widerstandsthermometer {
	display:block;
}
body.Thermoelemente #Thermoelemente {
	display:block;
}
body.Umformer #Umformer {
	display:block;
}
body.Impressum #Impressum {
	display:block;
}

/* Base */
div.Rechner {
	/*overflow:hidden; /* sonst werden Schatten abgeschnitten */
	position:relative;
	padding:0px 10px;
	margin:0px auto;
}
	img {
		max-width:100%;
	}
	input, select {
		/*
		border: 0 solid rgba(0, 0, 0, 0);
		border-radius: 2px;

		color: #2C2C2C;
		font-size: 100%;

		background-color: #D9D9D9;
		box-shadow: 0 0 7px 2px rgba(0, 0, 0, 0.15) inset, -1px -1px 1px rgba(0, 0, 0, 0.5), 1px 1px 1px rgba(255, 255, 255, 0.5);
		-webkit-box-shadow: 0 0 7px 2px rgba(0, 0, 0, 0.15) inset, -1px -1px 1px rgba(0, 0, 0, 0.5), 1px 1px 1px rgba(255, 255, 255, 0.5);
		transition: all 0.3s linear 0s;
		*/
	}
	input, select {
		font-size:16px;
		padding:8px 4px;
		color:black;
		line-height:20px;
		box-sizing:border-box;
		-webkit-appearance: none;
		-moz-appearance: none;
	}
	input {
		padding:9px 4px;
		border:1px solid black;
		border-radius:2px;
		transition: color 0.3s, border-color 0.3s;
	}
	/* hides the spin-button for firefox */
	input[type=number] {
		-moz-appearance:textfield;
	}
	/* hides the spin-button for chrome*/
	input[type=number]::-webkit-outer-spin-button,
	input[type=number]::-webkit-inner-spin-button {
		-webkit-appearance: none;
		margin: 0;
	}
	select {
		-moz-appearance: window;
		text-indent: 0.01px; /* doesn't work on ff30 any more */
		text-overflow: '';	
	}
	select::-ms-expand {
		display: none;
	}
	.select {
		display:block;
		position:relative;
		overflow:hidden;
		height:38px;
		border:1px solid black;
		border-radius:2px;
		background:white;
		margin:2px auto;
		transition: color 0.3s, border-color 0.3s;
	}
	.select select {
		display:block;
		width:135%;
		/*width:100%;*/
		position:absolute;
		z-index:50;
		background:none repeat scroll 0 0 rgba(0, 0, 0, 0);
		border:0px none;
		margin:0px;
		transition: color 0.3s, border-color 0.3s;
	}
	.select:after {
	  content: "\e613";
	  font-family: 'outputIcons';
	  z-index: 0;
	  position: absolute;
	  right: 10px;
	  top: 50%;
	  margin-top: -9px;
	  color: #555555;
	  transition: color 0.3s, border-color 0.3s;
	}
	.select:focus, input:focus, .select:hover, input:hover {
		border-color:#ff7f00;
	}
	.select:focus selectxx, .select:focus:after, input:focus, .select:hover selectxx, .select:hover:after, input:hover {
		color:#ff7f00;
	}
	
	label {
		display:block;
		padding:3px;
		color:#000;
		overflow:hidden;
		text-overflow:ellipsis;
		white-space:nowrap;
		height:20px;
		line-height:20px;
	}
	.col1 {
		float:left;
		width:48%;
	}
	.col2 {
		float:right;
		padding:0px 0px 10px 10px;
		width:48%;
		box-sizing:border-box;
		overflow:hidden; /* new */
		xborder:1px solid black;
	}
	.col2.offsetKompensiert {
		margin-top:-26px;
	}
	.Ergebnisspalte {
		width:100%;
		height:100%;
		position:fixed;
		top:0;
		left:0;
		z-index:-1;
	}
	.Ergebnisspalte2 {
		max-width:1024px;
		margin:0 auto;
		height:100%;
		position:relative;
	}
	.Ergebnisspalte3 {
		position:absolute;
		top:0;
		right:0;
		
		width:48%;
		height:100%;
		background-color:rgba(255,255,255,0.5);
	}
	
/*@media screen and (max-width:567px) { */
/*@media screen and (max-width:639px) {*/
	h1, h2 {
		width:auto;
	}
	.col1 {
		float:none;
		width:auto;
	}
	.col2 {
		float:none;
		background-color:rgba(255,255,255,0.5);
		width:auto;
		margin-left:-10px;
		margin-right:-10px;
		margin-top:1em;
		padding:10px;
	}
	.col2.offsetKompensiert {
		margin-top:1em;
	}
	.Ergebnisspalte {
		display:none;
	}
/*}*/

/* Menue */
	div#Menue_Abstand {
		overflow:hidden;
	}
	div#Menue_Abstand_Innen {
		margin-top:-150px;
		padding-bottom:40vh;
	}
	div#Menu {
		max-width:400px;
		margin:0px auto;
		padding:20px 10px 0 10px;
	}
	#Menu a {
		display:block;
		background-color:white;
		border:1px solid black;
		border-radius:2px;
		padding:9px 10px;
		line-height:20px;
		margin:12px 0;
		color:black;
		text-align:center;
		text-decoration:none;
		transition:border-color 0.3s, color 0.3s;
	}
	#Menu a.hover, #Menu a.clicked {
		border-color:#ff7f00;
		color:#ff7f00;
	}
	

/* Impressum */
#Impressum {

}

	#Impressum_Inhalt {
		padding-top:20px;
		max-width:400px;
		margin:0 auto;

	}
	#Impressum a {
		color:#FF7900;
		text-decoration:none;
	}

/* Elemente */



div.FeldGruppe {
	margin-bottom:5px;
	overflow:hidden;
}

.Trenner {
	height:5px; overflow:hidden;
}
.input1 {
	width:100%;
}
	.input1 input {
		width:calc(100% - 30px);
		max-width:80px;
		margin-right:2px;
	}
	.input1 span {
		display:inline-block;
		width:26px;
	}

.input2 {
	width:50%;
	float:left;
	text-align:center;
}
	.input2 .right {
		width:auto;
		float:right;
	}
	.input2 input {
		width:calc(100% - 30px);
		max-width:90px;
		margin-right:2px;
	}
	.input2 span {
		display:inline-block;
	}
.input3 {
	width:33.33%;
	float:left;
	text-align:center;
}
	.input3 .right {
		width:auto;
		float:right;
	}
	.input3 input {
		width:calc(100% - 30px);
		max-width:52px;
		margin-right:2px;
	}
	.input3 span {
		display:inline-block;
		width:26px;
	}


/* Toleranzen */
div.tolerance, div.toleranceCaption, div.toleranceCaption2, .Hinweis {
	color:#555;
}
div.tolerance, div.toleranceCaption {
	overflow:hidden;
}
div.toleranceCaption {
	display:none;
}
span.tolLeft {
	display:block;
	width:31%;
	float:left;
	border-right:1px solid #8b8b8b;
}
span.tolRight {
	display:block;
	width:31%;
	float:right;
	text-align:right;
	border-left:1px solid #8b8b8b;
}
span.tolCenter {
	display:block;
	width:37%;
	margin:0px auto;
	text-align:center;
}

.toleranceCaption span {
	overflow:hidden;
	text-overflow:ellipsis;
}
div.toleranceCaption2 span.tolLeft,
div.toleranceCaption2 span.tolRight {
	width:49%;
}

span#rWireR, span#rWireT {
	white-space:nowrap;
}

/* Reset */
a.Reset {
	display:block;
	background-color:white;
	border:1px solid black;
	border-radius:2px;
	padding:9px 10px;
	line-height:20px;
	margin:12px 0;
	color:black;
	text-align:center;
	text-decoration:none;
	transition:border-color 0.3s, color 0.3s;
	float:left;
}
a.Reser.hover, a.Reset.clicked {
	border-color:#ff7f00;
	color:#ff7f00;
}
div.ResetDiv {
	overflow:hidden;
	margin-bottom:-10px;
}

.clearfix:after {
	clear: both;
	content: ".";
	display: block;
	height: 0;
	line-height: 0;
	visibility: hidden;
	overflow:hidden;
}
/*
.clearfix {
	display: inline-block;
}
html[xmlns] .clearfix {
	display: block;
}
* html .clearfix {
	height: 1%;
}
*/

.cf:before, .cf:after {
    content: " ";
    display: table;
}
.cf:after {
    clear: both;
}
.cf {
}
