/** Global */

* { margin: 0; padding: 0; }
body { 
  font: 13px/1.5 "helvetica neue", helvetica, arial, sans-serif; 
  color: #332; 
  background: #fff url("/images/header_bg.png") repeat-x top; 
}
p { margin: 1em 0; }
img { border: none; }
blockquote { padding: 0 2em; font-style: italic; background: url("/images/quote_bg.gif") no-repeat top left; }
ul { margin: 1em 1em 1em 1.5em; list-style: outside square; }

/* **/

/** Main layout */

#container { 
	margin: 0 auto; 
	width: 900px;
}

#header { margin: 0 0 20px 0; height: 146px; }
	#header img { float: left; margin-left: 20px; }
		
#content { 
  float: left; 
  padding: 0 30px 0 20px;
  width: 580px;
/*  border-right: 1px solid #d8d6c6;*/
}
  #content.home {
    padding: 0 20px 0 20px;
    width: 528px;
  }
  img#front {
    margin: 5px 0 0 20px;
    border: 6px solid #ebebeb;
    float: left;
  }

#news {
  clear: both;
  padding: 10px 20px 0 20px;
}
  #news .newsitem {
    float: left;
    width: 256px;
    padding-right: 14px;
    margin-right: 15px;
    border-right: 1px solid #d8d6d6;
  }
  #news .newsitem:last-child {
    margin: 0;
    border: none;
  }

#sidebar {
  float: right; 
  padding-left: 26px; 
  padding-right: 20px; 
  width: 224px;
}
	#sidebar img { margin-top: 30px; border: 4px #ebebeb solid; padding: 1px; }
	#sidebar a:hover img { border-color: #5492c0; }

#footer { 
	clear: both; 
  margin: 20px 15px 0 15px;
	padding: 14px 0;
	text-align: right;
}

hr { display: block; margin-top: 1.5em; border: none; height: 1px; background: #d8d6c6; }
hr#footer-line { display: block; margin-bottom: 6px; border: none; height: 1px; background: #d8d6c6; }

/* **/

/** Navigation */

ul#nav { float: right; margin-top: 58px; list-style: none; }
	ul#nav li { 
		float: left;
		margin-right: 10px;
	}
	ul#nav li a { 
		display: block;
		padding: 4px 8px;
	}
	ul#nav li.on a { 
	  color: #fff; 
	  background: #5492c0;
	}
	
ul#sub-nav { list-style: none; margin: 10px 0 0 0; border-bottom: 1px #ccc solid; }
	ul#sub-nav li { border-top: 1px #ccc solid; }
	ul#sub-nav li a { display: block; padding: 4px 10px; }
	ul#sub-nav li.on a, ul#sub-nav li.on a:link, ul#sub-nav li.on a:visited { color: #332; }
	ul#sub-nav li.faux-sub, ul#sub-nav li.on.faux-sub { padding-left: 0.5em; border: none; }

/* **/

/** Fonts, headings, links */

h1, h2, h3, h4 {
 font-family: "helvetica neue", helvetica, arial, sans-serif;
 font-weight: normal; 
 font-style: normal;
}
h1 { margin: 0; font-size: 22px; text-transform: uppercase; } /*color: #44779d;*/
h2 { margin: 0; font-size: 18px; text-transform: uppercase; }
h3 { margin: 1.2em 0 -0.5em 0; font-size: 14px; color: #776; text-transform: uppercase; }
	h3 a, h3 a:link, h3 a:visited { text-decoration: none; }
h4 { margin: 0 0 -0.5em 0; font-size: 14px; }

#nav a, #nav a:link, #nav a:visited { 
  font: 16px "helvetica neue", helvetica, arial, sans-serif; 
  text-decoration: none; 
  text-transform: uppercase;
  color: #5b5a53;
}
#nav a:hover { color: #000; }

#sub-nav a, #sub-nav a:link, #sub-nav a:visited { text-decoration: none; color: #48b; }
#sub-nav a:hover { color: #332; }
#sub-nav li.on a:hover { background: #fff; }

#slice, #footer { font: 11px "helvetica neue", helvetica, arial, sans-serif; }
#slice a, #slice a:link, #slice a:visited { text-decoration: none; }
#slice a:hover { color: #000; }

h3.underlined { border-bottom: 1px solid #d8d6c6; }
h3.margin { margin: 1em 0; }
h2.margin { margin-top: 1.5em; }

a, a:link, a:visited { text-decoration: none; color: #48b; }
a:hover { color: #000; }

/* **/

/** Content styling */

.left { float: left; }
.right { float: right; }
	img.right { clear: right; margin: 0 1em; padding-bottom: 1em; }
.clear { clear: both; }

.date { margin-top: 1em; font: 11px geneva, tahoma, arial, sans-serif; }
em { color: #d00; }
p.notice { border: 2px #6ad solid; padding: 12px; }

#contact label { display: block; float: left; margin: 6px 0; width: 180px; }
#contact input.text, #contact textarea, #contact .radio-block { 
	float: left; 
	margin: 4px 0; 
	border: 1px #bba solid;
	padding: 2px; 
	width: 350px; 
	font: 12px arial, sans-serif;
}
	#contact .radio-block { border: none; }
		#contact .radio-block input { margin: 0 5px; }
	#contact textarea { height: 100px; font: 12px arial, sans-serif; }
	#contact input.text:focus, #contact textarea:focus { border-color: #776; }
#contact br { clear: left; }
#contact #send { margin: 10px 0 10px 180px; width: auto; }

/* NEGATIVE CAPTCHA */
#contact .nc { display: none; }

.contact-photo {
  width: 210px;
}
.contact-photo.last {
  width: 160px;
}

#order label { display: block; }
#order input.text { 
	margin: 4px 0; 
	border: 1px #bba solid;
	padding: 2px; 
	width: 200px; 
	font: 12px arial, sans-serif;
}
#order input.text:focus { border-color: #776; }

#twc label { display: block; float: left; margin: 6px 0; width: 150px; }
#twc input.text, #twc textarea { 
	float: left; 
	margin: 4px 0; 
	border: 1px #ddc solid;
	padding: 2px; 
	width: 300px; 
	font: 12px arial, sans-serif;
}
#twc div { clear: both; }
#twc textarea { margin-left: 100px; height: 50px; }
#twc input.text:focus, #twc textarea:focus { border-color: #776; }
#twc input.full { margin-left: 1em; width: 88%; }
#twc input.check { float: left; margin: 6px 0; }
#twc label.check { float: left; padding-left: 1em; width: 400px; }
#twc #hr { height: 30px; }

.contacts { width: 240px; }

ul#tetra-training { list-style: none; margin: 0; }
ul#tetra-training li { float: left; width: 92px; font-weight: bold; }

.vision { width: 220px; }
.wrong { color: #cc2929; }
.correct { color: #379e07; }

#abs {
	position: relative;
	padding: 90px 0;
	font: 13px/1.2 "helvetica neue", helvetica, arial, sans-serif;
}
#abs-dws {
	position: absolute;
	top: 85px;
	left: 10px;
	width: 220px;
}
#abs-training {
	position: absolute;
	top: 5px;
	left: 400px;
	width: 190px;
}
#abs-terminal {
	position: absolute;
	bottom: 0;
	left: 360px;
	width: 230px;
}

table#logos {
  width: 100%;
	vertical-align: center;
	text-align: center;
}
table#logos td {
  padding-top: 10px;
}
#logos img {
	margin-right: 35px;
	margin-bottom: 15px;
}

.news-image {
  float: left;
  margin: 0 10px 10px 0;
}

#world_map {
  width: 770px;
  height: 453px;
  margin-left: -150px;
  background: url("/images/content/world_map.gif") no-repeat center;
}

.badge {
  float: right;
  margin: 10px 0 0 20px;
  width: 75px;
}
.badge img {
  display: block;
  clear: both;
}
.badge div {
  text-transform: uppercase;
  text-align: center;
  font: bold 11px "helvetica neue", helvetica, arial, sans-serif;
}

.diamond {
  float: right;
  width: 300px;
  text-align: center;
}

.fade { 
  position: relative; 
}
.fade * {
  color: #ddd !important;
}
.fade .stamp {
  position: absolute;
  top: 150px;
  left: 80px;
  padding: 15px 50px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  font: bold 48px "helvetica neue", helvetica, arial, sans-serif;
  background: #5492c0;
  color: #fff !important;
}
/* **/
