@charset "utf-8";

html, body { margin: 0; padding: 0;}

/* Eric Meyer's Resets */
/* v1.0 | 20080212 */

/**/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend
{
	/*
	margin: 0;
	padding: 0;
	*/
	border: 0;
	font-size: 100%;
	font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", Verdana, sans-serif;
	vertical-align: baseline;
	background: transparent;
	line-height: 1.4em;
	-webkit-text-size-adjust: 160%;
	text-rendering: optimizeLegibility;
}

sup{ font-size: 60%; vertical-align: super;}

.clear{
	clear: both;
	overflow: auto;
}

.border{
	border: 1px solid black;
	-xwebkit-box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5);
	-xmoz-box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5);
}
.contactform{
width: 862px;
}

table, caption, tbody, tfoot, thead, tr, th, td /* extra reset due to background: transparent overriding TABLE BGCOLOR */
{
	border: 0;
	outline: 0;
	font-size: 100%;
	font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", Verdana, sans-serif;
	vertical-align: baseline;
	line-height: 1.4em;
}

html {
	/* http://www.hicksdesign.co.uk/journal/forcing-scrollbars-now-even-better */
	height: 100%;
	margin-bottom: 1px;
	}

/*ol, ul { list-style: none; }*/
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: none; }


ins { text-decoration: none; }
del { text-decoration: line-through; }

table
{
	border-collapse: collapse;
	border-spacing: 0;
	margin-bottom: 12px;
}
table td { vertical-align: top; }

/* end reset */

/* @group Reset to defaults */

.mobile{display: none;}

body
{
	margin: 0;
	padding: 0;
	font: 85% "Helvetica Neue", Helvetica, Arial, "Lucida Grande", Verdana, sans-serif;
	font-size: small;
	font-style: normal;
	color: black;
	text-align: left;
	background-color: #fff;
	/* #E5E5E5  #051C48 #082143*/
	behavior: url("http://www.erni-es.com/js/csshover3.htc");
}

.login{padding:24px;border:1px solid #e0e0e0;margin-bottom:10px;background:#f2f2f2;float:left}
.login h3{margin-top:0;margin-bottom:8px}
.login p{}
.login td,.login th{margin: 48px; font-weight:normal;vertical-align:baseline}
.login th{text-align:right;font-weight:normal;color:#666}th.required{font-weight:bold;color:#333}
.login th.error{color:#c00;font-weight:bold}
.login div#form{float:left}
.login div#register{float:left;padding:10px;margin-left:10px;border-left:1px solid #dcdcdc;width:345px;voice-family:"\"}\"";voice-family:inherit;width:325px}
.fullwidth { width: 862px; }

/* contact forms */
.subformheader{margin-top: 2em;}

/*
#ie7andup button.fr, #ie6only button.fr{background-color: #000; color:#fff; border: 0; margin: 0; margin-left: 228px; margin-top: 24px; font-size: large; padding: 4px 8px 4px 8px;}
#ie7andup button.fr:active, #ie6only button.fr:active{background-color: #ddd; color: #000;}
#ie7andup button.fr, #ie6only button.fr {padding: 0;}
*/
form#inforequest input, form#inforequest textarea, form#inforequest select{
	width: 400px;
	border: 1px solid #999;
	padding: 3px;
}

button.fr{ margin-left: 228px; margin-top: 24px; }

input.styled:not([class=dummy]), button.fr:not([class=dummy]){ /* :not CSS 3 Selector hides this Rule from IE and presents a default button */
	-webkit-appearance:button;
	padding:0 12px;
	border:1px solid #000;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	background:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#ddd));
	background:-moz-linear-gradient(top,#fff,#ddd);
	font-size: larger;
	color: #000;
	height:1.85em!important;margin:.2em;
	margin-left: 228px; margin-top: 24px;
}

input.styled:active, button.fr:active{
	background:-webkit-gradient(linear,left top,left bottom,from(#ccc),to(#ddd));
	background:-moz-linear-gradient(top,#ccc,#ddd);
}	
	
/* jquery validate rules */
label.error
{
	float: none;
	color: #E10000;
	padding-left: .5em;
	vertical-align: top;
	/*
				min-width: 160px;
				width: 282px;
				display: block;
				margin: 0;
				margin-left: 228px;
				
				
				background-color: red;
				color: #fff;
				padding: 2px 4px 2px 4px;
				border: 0;
				*/
	font-weight: bold;
}

input.error, textarea.error, select.error,
form#inforequest input.error, form#inforequest textarea.error, form#inforequest select.error { border: 2px solid #E10000; }

label.fr{
	float: left;
	width: 220px;
	text-align: right;
	margin-right: 6px;
	margin-top: 3px;
	display: block;
	color: #333;
	vertical-align: baseline;
	margin-bottom: 1em;
}
label.fr.required{
	font-weight:bold;
	color: #333;
}
textarea.fr {margin-bottom: 0.5em;}

form input, form textarea, form submit{
	font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", Verdana, sans-serif;
	font-size: 100%;
}

form br{
	clear: left;
}

/* if not set, IE uses Times in Textares */
input, textarea{
	font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", Verdana, sans-serif; font-size: 100%;
}
/* be nice and give users a hint */
form label {
        cursor: pointer;
}

p{ margin: 1.4em 0 1.4em 0; line-height: 1.4em; }
/* indent every paragraph except the first in a row 
p + p {text-indent: 2em;}
*/
strong, b { font-weight: bold; }
.normal { font-weight: normal; }
.center { text-align: center; }
.left { text-align: left; }
.right { text-align: right; }

.intro /* used for the first one or two paragraphs of longer copy */
{
	font-weight: bold;
	color: #333;
	letter-spacing: 0.1em;
	line-height: 1.4em;
}


#containerbox
{
	width: 960px;
	margin: 0 auto 0 auto;
	padding: 0;
	text-align: left;
	background-color: #fff;
	height: 100%;
	/*
	border-left: 1px #757575  solid;
	border-right: 1px #757575 solid;
	*/
	/*
	background: url(/grid.png) no-repeat top left;
	background-repeat: repeat-y;
	*/
}

#padin 

/* Content Margin left/right */ { padding: 10px; }

#content
{
	width: 912px;
	margin-left: 24px;
	height: auto;
	/*	overflow:auto; */
}

.containerboxtrans
{
	width: 960px;
	margin: 0 auto 0 auto;
	padding: 0;
	text-align: left;
	background-color: transparent;
	height: 100%;
}
#header
{
	clear: both;
	margin: 0 0 0 0;
	height: 99px;
	padding: 24px 0 0 24px;
	-webkit-text-size-adjust: none;
	background-color: transparent;
	background-position: left top;
}
#darktop
{
	/* background: url(images/css/header_bg1.gif) repeat-x bottom left; */
	height: 113px;
	background-color: #F2F2F2;
	padding: 0;
	clear: both;
	margin-bottom: 24px;
	-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3);
	box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.3);
}

#darkbottom
{
	/*background-color: #090909;*/
	background-color: #F2F2F2;
	clear: both;
	margin: 0;
	margin-top: 24px;
	display: block;
	border-top: 1px #D9D9D9 solid;
}

#footer
{
	clear: both;
	color: black;
	margin: 0 0 0 0;
	padding: 24px 24px 24px; 24px;
	display: block;
	/*background: url(images/css/header_bg.gif) repeat-x top left;*/
	
}

#footer a{
	color: black;
	border-bottom: 1px solid #fff;
}
#footer a:hover{
	color: white;
}

#nav
{
	display: block;
	width: 912px;
	height: 65px;
	background-image: url(http://www.erni.com/ernies/images/css/nav_bg.gif);
	background-repeat: repeat-y;
	background-position: left;
	-webkit-text-size-adjust: none;
}

#nav ul
{
	float: left;
	width: 132px;
	padding: 0;
	margin: 0;
	margin-right: 24px;
	-webkit-text-size-adjust: none;
}

#nav li
{
	list-style-type: none;
	font-size: 16px;
	font-weight: bold;
	color: #333;
	line-height: 23px;
	text-decoration: none;
	padding: 0;
	margin: 0;
	-webkit-text-size-adjust: none;
}

#nav li a
{
	font-size: 16px;
	font-weight: bold;
	color: #333;
	line-height: 23px;
	text-decoration: none;
	border: none;
	-webkit-text-size-adjust: none;
}

/* Language Switcher in Header */
#languages
{
	display: none;
}
#languages img{
	display: none;
}
#languages a, #languages a img, #languages a:hover img
{
	-webkit-text-size-adjust: none;
	font-size: 11px;
	color: #333;
	background-color: transparent;
	border: none;
	text-decoration: none;
}


/* Navigational "Where am i" indicators */
html#Entwickeln #nav ul li.mEntwickeln, 
html#Bestuecken #nav ul li.mBestuecken, 
html#Montieren #nav ul li.mMontieren, 
html#Pruefen #nav ul li.mPruefen, 
html#SMDRework #nav ul li.mSMDRework, 
html#UeberUns #nav ul li.mUeberUns, 
html#Kontakt #nav ul li.mKontakt, 
html#Jobs #nav ul li.mJobs
{
	list-style-image: url(http://www.erni.com/ernies/images/css/arrows.gif);
	list-style-position: outside;
	margin-left: 1px; 
}
html#Entwickeln #ie6only #nav ul li.mEntwickeln, 
html#Bestuecken #ie6only #nav ul li.mBestuecken, 
html#Montieren #ie6only #nav ul li.mMontieren, 
html#Pruefen #ie6only #nav ul li.mPruefen, 
html#SMDRework #ie6only #nav ul li.mSMDRework, 
html#UeberUns #ie6only #nav ul li.mUeberUns, 
html#Kontakt #ie6only #nav ul li.mKontakt,
html#Jobs #ie6only #nav ul li.mJobs
{overflow: hidden; margin-left: 2px; list-style-image: url(http://www.erni.com/ernies/images/css/arrows-ie.gif);}


#search
{
	float: left;
	width: 288px;
	padding: 0;
	margin: 0;
	vertical-align: top;
	-webkit-text-size-adjust: none;
}
#search p
{
	font-size: 12px; 
	line-height: 17px;
	margin: 0;
	padding: 0;
	-webkit-text-size-adjust: none;
}

#search input.searchbox
{
	margin: 0;
	padding: 0;
	width: 194px;
	height: 18px;
	font-size: 16px;
	border: 1px #333 solid;
}

#search button
{
	width: 60px;
	height: 24px;
	margin: 0;
	margin-left: 24px;
	font-size: 12px;
	line-height: 12px;
	background-color: #333;
	color: #fff;
	border: none;
	padding: 4px;
	cursor: pointer;
	*cursor: hand;
	vertical-align: top;
	-webkit-appearance: button;
}

h1
{
	font-size: 2.8em;
	line-height: 130%;
	font-weight: inherit;
	margin-top: 12px;
	margin-bottom: 12px;
}
h1.goo
{
	font-size: 100%;
	line-height: 1.6em;
	font-weight: bold;
}
h1.goo a, h1.goo a:visited
{
	font-size: 100%;
	line-height: 1.6em;
	text-decoration: none;
	color: #0078F0;
	border-bottom: 1px solid #0078F0;
}

h2
{
	font-size: 1.85em;
	line-height: 130%;
	color: #333333;
	font-weight: normal; 
	margin-bottom: 12px;
}

h3
{
	font-size: 1.25em;
	line-height: 130%;
	color: #333333;
	font-weight: bold;
	margin-bottom: 1em;
}

h4
{
	line-height: 130%;
	color: #333333;
}


a
{
	padding: 0px;
	border: 0;
	text-decoration: none;
	border-bottom: 1px solid #0078F0;
	font-weight: bold;
}
a:link { color: #0078F0; } 
a:visited { color: #0078F0; border: 0;} /*a:visited { color: #414967; } */
a:active, #nav a:active { font-style: italic; }
a:hover, #nav a:hover, #homepage a:hover, h1.goo a:hover
{
	padding: 0px;
	color: #fff;
	background-color: #0077F1;
	text-decoration: none;
	border-bottom: 1px solid #001F8A; /* #333 */
}
/* Links */
a.plain, a img, a:hover img, div.app a img
{
	border: none;
	text-decoration: none;
	padding: 0;
	background-color: transparent;
}
#nav a img, #nav a img:hover, #nav ul li.mHome a{ background-color: transparent; border: 0; text-decoration: none; } /* avoid extra blue bg on Logo hover */

a.teli{
	display: none;
}
.telno{ display: inline; }

a.pdf
{
	background: url(http://www.erni.com/ernies/images/icon_pdf_small.gif) right center no-repeat;
	padding: 1px;
	padding-right: 18px;
}

a.pdf:hover, a.catalog:active
{
	color: #fff;
	background: #0077F1 url(http://www.erni.com/ernies/images/icon_pdf_small.gif) right center no-repeat;
	padding: 1px;
	padding-right: 18px;
	text-decoration: none;
	border-bottom: 1px solid #333;
}

a.hid
{
	color: #CCCCCC;
	font-size: 8px;
	font-family: Verdana, "Helvetica Neue", Helvetica, Arial;
	font-weight: bold;
	text-decoration: none;
}

/* Pseudo Selector on User-Selected Text - Not supported by guess which? */
::-moz-selection { color: #000; background-color: #82C0FF; }
::selection { color: #000; background-color: #82C0FF;}


.blue { color: #0078F0; }
.light { color: #999; } /* #999 */
.medium { color: #666; }
.dark { color: #333333 !important;}
.bold { font-weight: bold; }

.nomargin { margin: 0; }
.notopmargin { margin-top: 0; }
.nobottommargin { margin-bottom: 0; }
.novmargin { margin-top: 0; margin-bottom: 0; }
.top {margin-top: -4px;} /* top aligns with image when first element on page */

.infobox{
	display: block; 
	width: 428px;
	float: left; 
	padding: 8px; 
	border: 1px solid #0078F0; 
	background-color: #82C0FF; 
	margin-top: 24px; 
}

.row
{
	/*float: left;
	clear: left;*/
	float: none;
	clear: both;
	overflow: auto;
	margin: 0 0 24px 0;
	padding: 0;
	
}
.row .duo
{
	float: left;
	width: 444px;
	padding: 0;
	margin: 0 24px 0 0;
	border: none;
}
.row .duotwogap
{
	float: left;
	width: 366;
	padding: 0;
	margin: 0 24px 0 0;
	border: none;
}
.row .trio
{
	float: left;
	width: 288;
	padding: 0;
	margin: 0 24px 0 0;
	border: none;
}
.row .quartett
{
	float: left;
	width: 210;
	padding: 0;
	margin: 0 24px 0 0;
	border: none;
}
.row .sextett
{
	float: left;
	width: 132;
	padding: 0;
	margin: 0 24px 0 0;
	border: none;
}
.row .last
{
	margin: 0;
	padding: 0;
	clear: right;
}

.quadro
{
	float: left;
	width: 210px;
	padding: 0;
	margin: 0 24px 0 0;
	border: 0px black inset;
}

.quadro .last
{
	padding: 0;
	margin: 0;
	clear: right;
}

.duo ul li
{
	list-style: none;
	margin-bottom: 6px;
}

ul.feature li{
	list-style: square url(http://www.erni.com/ernies/images/css/li-square-blue.gif);
	margin-bottom: 6px;
}

.noscreen { display: none; } /* only shows in print */

#jobposting{
	margin-left: 156px; width: 444px;
}

/* anti spam form field used in contact forms */
.surname {visibility: hidden; margin: 0; padding: 0; height: 0px;}


/* =================== small screen styles  =================== */
@media screen and (max-width: 479px){
	#containerbox, .containerboxtrans
	{
		width: 480px;
		/*background-color: #FFE2D3;*/
	}
	
	#content
	{
		width: 456px;
		margin-left: 12px;
		margin-right: 12px;
		/*background-color: #CAFFCB;*/
	}
	
	#darktop{
		margin: 0 auto 0 auto;
		width: 480px;
		height: auto;
		min-height: 113px;
		margin-bottom: 24px;
	}
	#header
	{
		height: auto;
		overflow: auto;
		clear: both;
		padding: 24px 0 0 12px;
	}
	
	#nav{
		width: auto;
		height: auto;
		overflow: auto;
		margin-bottom: 24px;
	}
	
	#nav #search{
		display: none;
	}
	
	.subformheader{margin-top: 1em;}
	
	.row .duo{margin-bottom: 24px;}
	
	.contactform{width: 456px;}

	#slide-show{margin-bottom: 24px; clear: both;}
	
	.login
	{
		border:0;
		margin: 0 -12px 0 -12px;
		padding: 0 12px 0 12px;
	}
	.fullwidth { width: 456px; }
	
	form#inforequest input, form#inforequest textarea, form#inforequest select{
		width: 448px;;
		border: 1px solid #999;
		padding: 3px;
	}
	label.fr{float: none; width: auto; text-align: left; margin: 0; margin-top: 0.6em;}
	textarea.fr {margin-bottom: 0;}
	#inforequest input, #inforequest textarea, #inforequest select,#inforequest input.error, #inforequest textarea.error, #inforequest select.error{width: 430px;}
	form#inforequest button.fr{margin-left:0; }
	label.error{padding-left: 0; display: block;}
	label.error:before{content: "☝ ";}

}

/* =================== iPad / Tablet styles =================== */
@media screen and (max-device-width: 1024px){
	body{font-size: 75%;}
	/* screen is narrower, so display error labels as block underneath and not besides form field */
	textarea.error {margin-bottom: 0;}
	label.error{padding-left: 0; display: block; margin-left: 226px;}
	label.error:before{content: "▲ ";}

	/* DIM the screen a little bit -> http://twitter.com/iA/status/11745234839 */
	body, #containerbox { background-color: #F7F7F7; }

	/* No Slide-Controls as we can use touch/swipe events */
	#slide-show div.controls img{ display: none;}
	
	.subformheader{margin-top: 1em;}
}
@media screen and (max-device-width: 1024px) and (orientation: landscape){
	body{font-size: 60%;}
}

