body {
	background: url(../images/bg.png) #9ac4e0 repeat-x top center;
	background-attachment: fixed;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 1.5em;
	color: #6e7489;
}

a:link, a:active, a:visited { color: #f47b43; }

/* general classes */

.floatright { float: right; }
.floatleft { float: left; }
.w20 { width: 18%; }
.w33 { width: 30%; }
.w50 { width: 48%; }
.w66 { width: 65%; }
.w80 { width: 78%; }
.clear { clear: both; }
.pull-50 { margin-left: -50px; }
.larger { font-size: 1.2em; }
.smaller {
	font-size: .8em;
	line-height: 1.2em;
}
.error { color: red; }

/* structure */

#container {
	margin: 0 auto;
	width: 1024px;
	background-color: #fff;
}

.company #container { background: url(../images/header_company.jpg) no-repeat; }
.technology #container { background: url(../images/header_technology.jpg) no-repeat; }
.process #container { background: url(../images/header_process.jpg) no-repeat; }
.products #container { background: url(../images/header_products.jpg) no-repeat; }
.contact #container { background: url(../images/header_contact.jpg) no-repeat; }

.terms #container, .privacy #container { background: url(../images/header_home.jpg) no-repeat; }

#sidebar {
	margin-left: 40px;
	padding: 0 15px 200px;
	width: 215px;
	height: 505px;
	float: left;
}

.company #sidebar {	background: url(../images/sidebar_company.jpg) no-repeat; }
.technology #sidebar { background: url(../images/sidebar_technology.jpg) no-repeat; }
.process #sidebar { background: url(../images/sidebar_process.jpg) no-repeat; }
.products #sidebar { background: url(../images/sidebar_products.jpg) no-repeat; }
.contact #sidebar {	background: url(../images/sidebar_contact.jpg) no-repeat; }

#header {
	width: 1024px;
	height: 365px;
}
.home #header {
	position: absolute;
	z-index: 2500;
}
.home #flashheader {
	background: url(../images/header_home.jpg) no-repeat;
	width: 1024px;
	height: 365px;
}
#content {
	margin: 320px 50px 0 0;
	float: right;
	width: 630px;
}
.home #content, .terms #content, .privacy #content {
	margin-top: 20px;
	margin-left: 20px;
	padding-top: 20px;
	padding-left: 30px;
	float: none;
	width: 960px;
}
.terms #content, .privacy #content {
	width: 930px;
}
.home #content {
	height: 350px;
}
.home #content div.floatleft {
	margin-right: 20px;
	padding-left: 20px;
	width: 279px;
	height: 320px;
	border-left: 1px solid #ed783a;
}
.home #content #home_company { background: url(../images/bg_home_company.jpg) no-repeat top right; }
.home #content #home_technology { background: url(../images/bg_home_technology.jpg) no-repeat top right; }
.home #content #home_products { background: url(../images/bg_home_products.jpg) no-repeat top right; }
#footer {
	margin: 4em 0;
	padding: 1em 60px 1em;
	border-top: 1px solid #fcc64c;
}
.home #footer {
	margin-top: 1em;
}

/* nav */

#container a:hover, #container .current a { color: #f47b43; }

.nav a, .language a {
	color: #6e7489;
	text-decoration: none;
}
.nav a {
	text-transform: uppercase;
}
.nav li {
	display: inline;
	text-transform: uppercase;
}
.language {
	margin-right: 50px;
	padding-top: 5px;
	width: 100px;
	float: right;
	text-align: right;
	font-size: .9em;
}
.language li {
	margin-left: 15px;
	line-height: 14px;
}
.header.nav {
	margin-top: 20px;
	text-align: right;
	float: right;
}
.header.nav li {
	margin-left: 50px;
	font-size: 1.2em;
}
#footer .nav {
	margin-bottom: 2em;
	text-align: center;
}
#footer .nav li {
	margin: 0 15px;
	font-size: 1em;
}

/* text styles */

h1 span { display: none; }
h1 {
	width: 215px;
	height: 150px;
}
#header h1 { /* .home h1 */
	margin-left: 55px;
	float: left;
}
h1 a {
	margin-bottom: 30px;
	display: block;
	width: 100%;
	height: 120px;
}

h2 {
	font-size: 2em;
	line-height: 2em;
	font-weight: normal;
}
h3 {
	font-size: 1.6em;
	line-height: 1.8em;
	font-weight: normal;
}
p, dt, dd {
	margin-bottom: 1em;
	line-height: 1.7em;
}
dt {
	width: 120px;
	float: left;
}
dd {
	margin-left: 150px;
}
#content ul, #sidebar ul {
	margin-bottom: 1em;
	list-style: disc;
	list-style-position: inside;
}
img.floatright, .floatright img {
	margin-left: 2em;
	margin-bottom: 2em;
	border: 3px solid #f47b43;
}

/* forms */

fieldset {
	width: 46%;
}
label {
	margin-top: 1em;
	display: block;
}
input, textarea {
	display: block;
	width: 100%;
}
textarea {
	margin: 1.5em 0;
	height: 120px;
	color: #6e7489;
}
#submit {
	padding-left: 10px;
	width: 113px;
	height: 25px;
	border: none;
	text-align: left;
	font-size: 1.1em;
	color: #fff;
	background: url(../images/submit.jpg) no-repeat;
	cursor: pointer;
}

/* specific styles */

#bottle {
	margin-top: -30px;
	margin-left: -50px;
}

/* sidebar */

#sidebar h2 {
	font-size: 1.5em;
	line-height: 1.8em;
}
#sidebar p, #sidebar ul, #sidebar dl {
	font-size: .9em;
	line-height: 1.5em;
}
#sidebar p.larger {
	font-size: 1.2em;
	margin-bottom: 0;
}
#sidebar dl {
	margin-bottom: 1em;
}
#sidebar dt {
	margin:0;
	float: none;
}
#sidebar dd {
	margin: 0;
	line-height: 1.2em;
}

/* footer */

#footer p {
	font-size: .8em;
	line-height: .9em;
}
#footer a {
	color: #6e7489;
}
#footer div.floatright {
	text-align: right;
}

/* heading replacement */

h2.replace, .replace a {
	display: block;
	height: 50px;
}
#sidebar h2.replace {
	height: 28px;
}
h3.replace {
	height: 40px;
}
.replace {
	background-repeat: no-repeat;
	background-position: left center;
}
.replace span {
	display: none;
}

/* home */
/*#upg_company { background-image: url(../images/upg_company.gif);}
#technology { background-image: url(../images/technology.gif); }
#products { background-image: url(../images/products.gif); }*/

/* company */
#strong_parent { background-image: url(../images/strong_parent.gif); }
#uni_president_glass { background-image: url(../images/uni_president_glass.gif); }
#company_values { background-image: url(../images/company_values.gif); }

/* technology */
#commitment_to_elegance { background-image: url(../images/commitment_to_elegance.gif); }
#professional_expertise { background-image: url(../images/professional_expertise.gif); }
#precision_equipment { background-image: url(../images/precision_equipment.gif); }

/* process */
#creating_a_mold {background-image: url(../images/creating_a_mold.gif); }
#manufacturing_processes { background-image: url(../images/manufacturing_processes.gif); }

/* products */
#plastic_components { background-image: url(../images/plastic_components.gif); }
#upg_products { background-image: url(../images/upg_products.gif); }

/* contact */
#thank_you { background-image: url(../images/thank_you.gif); }
#contact_us { background-image: url(../images/contact_us.gif); }
