html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  padding: 0;
  background-color: white;
  font-family: Arial, Helvetica, sans-serif;
  /*font-family: Georgia, "Times New Roman", Times, serif;*/
  font-size: 80%;
  line-height: 140%;
}

img {
  border: none;
}

a:link,
a:visited {
  color: #000080;
  text-decoration: none;
}
a:hover,
a:active {
  color: #FF8000;
  text-decoration: underline;
}

h2 {
  margin-top: 1em;
  margin-bottom: 0.5em;
  color: #FF8000;
  /*font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;*/
  font-size: 2em;
  font-weight: normal;
  line-height: 140%;
}

h3 {
  margin-top: 1.em;
  margin-bottom: 0.5em;
  color: #666;
  /*font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;*/
  font-size: 1.6em;
  font-weight: normal;
  line-height: 140%;
}

h4 {
  margin-top: 1em;
  margin-bottom: 0.5em;
  color: #666;
  /*font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;*/
  font-size: 1.4em;
  font-weight: normal;
  font-style: italic;
}

p {
  margin: 0.5em 0;
}

ul {
  margin: 0;
  padding: 0 0 0 2em;
  list-style: square;
}

ol {
  margin: 0;
  padding: 0 0 0 2em;
}

li {
  margin: 0.5em 0;
  padding-left: 0;
}

ul ul {
  list-style: disc;
}

input, select, textarea {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 1em;
}

form {
  margin: 0;
}

form p {
  margin: 0.5em 0;
}

#container {
  position: relative;
  min-height: 100%;
  height: auto;
  background: url(/img/back1.png) repeat-x top left;
}
* html #container {
  height: 100%;
}

#header {
  height: 100px;
  background: url(/img/header_en.png) no-repeat top left;
  color: white;
}
#header.bg,
#header.ru {
  background: url(/img/header_cyr.png) no-repeat top left;
}

#header h1 {
  float: left;
  height: 75px;
  margin: 0;
}

#header h1 a {
  display: block;
  width: 345px;
  height: 28px;
  margin: 20px 0 0 120px;
}
#header.bg h1 a,
#header.ru h1 a {
  width: 380px;
}

#header h1 span {
  display: none;
}

#languages {
  padding: 10px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 0.9em;
  text-align: right;
}

#languages a {
  color: #FFFFEE;
  font-size: 0.9em;
}

#languages ul {
  display: block;
  float: right;
  margin: 0;
  padding: 0;
  list-style: none;
}

#languages li {
  display: inline;
  margin: 0 0 0 5px;
  padding: 0 0 0 7px;
  border-left: 1px solid #777DC8;
}

#languages li.first {
	border: none;
}

#languages li.active {
  font-weight: bold;
}

#menu {
	clear: both;
	margin-left: 120px;
	font-weight: bold;
	font-size: 0.9em;
	text-transform: uppercase;
}

#menu ul {
  height: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

#menu li {
  float: left;
  background: url(/img/menu3.png) no-repeat left top;
  height: 25px;
  margin: 0 0 0 5px;
  padding: 0 0 0 9px;
}

#menu a {
  float: left;
  display: block;
  height: 20px;
  padding: 5px 15px 0 6px;
  background: url(/img/menu4.png) no-repeat right top;
  text-decoration: none;
  color: #D96C00;
}

#menu a:hover {
  color: #FF8000;
}

#menu .active {
  background: url(/img/menu1.png) no-repeat left top;
}
#menu .active a {
  background: url(/img/menu2.png) no-repeat right top;
  color: #FF8000;
}

#main {
	padding: 0 10px 50px 10px;
}

#location {
	margin: 0 0 20px 0;
	padding: 10px 0 2px 0;
  border-bottom: 1px solid #CCC;
  font-size: 0.9em;
}

#location a:link,
#location a:visited {
  color: #666699;
}
#location a:hover,
#location a:active {
	color: #FF8000;
  text-decoration: none;
}

#left {
  float: left;
  width: 200px;
  margin: 10px 0 0 0;
	font-size: 0.9em;
}

#left h2 {
	height: 23px;
  margin: 0;
  padding: 7px 0 0 10px;
  background: url(/img/back3.png) no-repeat top left;
  background-color: #89C5C5;
  color: white;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
}

#left a {
	color: #666699;
}

#submenu {
	margin-bottom: 10px;
}

#submenu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1.1em;
}

#submenu li {
  margin: 1px 0 0 0;
  padding: 0;
}

#submenu li a {
	display: block;
  padding: 5px 15px 5px 10px;
  background: url(/img/back4.png) no-repeat bottom left;
  background-color: #D9ECEC;
}

#submenu ul ul {
  font-size: 0.9em;
  font-weight: normal;
}

#submenu li li {
  margin: 1px 0 0 0;
  background-color: #EEEEEE;
}

#submenu li li a {
	display: block;
	padding-left: 25px;
  background: url(/img/back5.png) no-repeat bottom left;
}

#submenu .active {
  font-weight: bold;
}

.box label {
  display: block;
  float: left;
  width: 5em;
  margin-right: 0.5em;
  text-align: right;
}

#body {
	margin: 0 220px 0 220px;
}

#right {
	float: right;
	width: 200px;
	margin: 10px 0 0 0;
	font-size: 0.9em;
}

#right a {
	color: #666699;
}

#right ul {
	clear: left;
  margin: 0;
  padding: 0;
  list-style: none;
}

#right li {
  margin: 0;
  padding: 0;
}

#left .box,
#right .box {
	padding-bottom: 10px;
	background: url(/img/back9.png) no-repeat bottom left;
	background-color: #EEEEEE;
	margin: 0 0 10px 0;
}

#left .box h2,
#right .box h2 {
	height: 18px;
  margin: 0;
  padding: 4px 0 0 10px;
  background: url(/img/back8.png) no-repeat top left;
  background-color: #31B2B9;
  color: white;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 1em;
  font-weight: bold;
  text-transform: uppercase;
}

#minicart,
#userbox,
#newsletter {
	padding: 10px 10px 10px 40px;
}

#minicart {
	background: url(/img/cart_full.png) no-repeat top left;
}

#minicart.empty {
	background: url(/img/cart_empty.png) no-repeat top left;
}

#userbox {
	background: url(/img/user.png) no-repeat top left;
}

#newsletter {
	background: url(/img/newsletter.png) no-repeat top left;
}
#newsletter label {
  width: 4em;
}

#clearfooter {
  clear: both;
  width: 100%
}

#footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: url(/img/back2.png) repeat-x top left;
  background-color: #EEE;
  font-size: 0.8em;
  color: #888;
}

#copyright {
	float: left;
	margin: 10px;
}

#design {
	float: right;
	margin: 10px 10px 5px 0;
}

#design a {
	color: #888;
}

#counter {
	float: right;
	clear: right;
	margin: 0 10px 10px 0;
}

#popup_image {
  display: none;
  border: 1px solid #888;
  background-color: white;
  padding: 5px;
  position: absolute;
  top: 170px;
  right: 15px;
}

#popup_image div {
  text-align: right;
  margin-bottom: 5px;
}

#popup_image img {
  display: block;
}

table.form th {
  font-weight: bold;
  text-align: right;
  padding: 3px 5px;
  vertical-align: top;
}

table.form td {
  text-align: left;
  padding: 3px 5px;
  vertical-align: top;
}

table.wireframe {
  border: none;
  border-collapse: collapse
}
table.wireframe th, table.wireframe td {
  padding: 0.25em 0.5em;
  border: 1px solid #CCC;
}
table.wireframe th {
  text-align: center;
  background-color: #EEE;
}
table.wireframe td img {
  vertical-align: middle;
}

.clear {
  clear: both;
}

td.number {
  text-align: right;
}

.right {
  text-align: right;
}

.error {
  color: red;
}

.images {
  margin: 10px 10px 10px 0;
}

.product {
  margin: 0 10px 10px 0;
  padding: 10px;
  border: 1px solid #DDD;
}

.product .image {
  float: left;
}

.product .short_descr {
  margin-left: 160px;
}

.product .title {
  font-weight: bold;
}

.product div.type {
  margin: 0.5em 0;
}

.product span.type {
  margin-right: 0.5em;
}

.price {
  margin: 0.5em 0;
  font-size: 1.1em;
  font-weight: bold;
}

.price .number {
  color: #FF8000;
}

.product_description {
  margin: 1em 0;
}

table.items {
  margin: 1em 0;
  border: none;
  border-top: 2px solid #DDD;
  border-collapse: collapse;
}
table.items th {
  padding: 0.25em 0.5em;
  background-color: #F4F4F4;
  color: #666;
  text-align: center;
}
table.items td {
  padding: 0.25em 0.5em;
}
table.items tr {
  border-bottom: 1px solid #DDD;
}

* html table.items td,
* html table.items th {
  border-bottom: 1px solid #DDD;
}

.center {
  text-align: center;
}

img.cart {
	float: left;
	margin: 0 5px 5px 0;
}

.edit_link {
	float: right;
	padding-top: 10px;
}

#popup_video {
	display: none;
}

.player {
  float: right;
	margin: 0 0 1em 1em;
}

.button {
	padding: 4px 10px;
	background: url(/img/button.png) repeat-x top left;
	background-color: #FF6905;
	border: none;
	color: white;
	font-weight: bold;
	font-size: 0.9em;
}
* html .button {
	padding: 4px 0px;
}

.button2 {
	padding: 3px 10px;
	background: url(/img/button2.png) repeat-x top left;
	background-color: #999999;
	border: none;
	color: white;
	font-weight: bold;
	font-size: 0.9em;
}
* html .button2 {
	padding: 3px 0px;
}

.textbox {
  padding: 2px;
  border: 1px solid #999999;
	font-size: 0.9em;
}

#banner1,
#banner2,
#banner3 {
	margin: 10px 0;
	text-align: center;
}

