* { padding: 0; margin: 0; }

html, body { height: 100%; }

img { border-width: 0; }

body {
  font-family: Tahoma, Helvetica, sans-serif;
  text-align: center;
  font-size: 12px;
  color: #FEFEFE;
  background: url('../img/bg.gif') top left repeat;
}

table {
  border-spacing: 0;
}

td, th {
  padding: 0;
  text-align: left;
  vertical-align: top;
}

h1, h2, h3, h4 {
  font-weight: normal;
}

h1 { font-size: 180%; margin: 0 0 0.6em 0; }

h2 { font-size: 150%; margin: 0 0 0.4em 0; }

h3 { font-size: 120%; margin: 0 0 0.2em 0; }

p { margin: 0 0 1.2em 0; }

a, a:visited { color: #ec7251; }

a:hover { text-decoration: none; }

li { margin: 0 0 0 1.2em; }

#page_wrapper {
  position: relative;
  min-height: 100%;
  margin-bottom: -40px;
  text-align: left;
  background: url('../img/01.gif') top left repeat-x;
}

* html #page_wrapper {
  height: 100%;
}

#page_logo {
  position: absolute;
  left: 44px;
}

#page_top, #page_menu, #page_submenu, #page_layout, #page_fcontent {
  width: 918px;  
}

#page_top {
  position: relative;
  height: 82px;
  margin: 0 auto;
  background: #fff url('../img/03.gif') bottom left repeat-x;
}

#page_top .l {
  width: 100%;
  height: 100%;
  background: url('../img/02.gif') top left no-repeat;  
}

#page_top .r {
  width: 100%;
  height: 100%;
  background: url('../img/07.gif') top right no-repeat;  
}

.contacts {
  position: relative;
  margin: 0 80px 0 500px;
  padding: 20px 0 0;
}

.phone {
  position: absolute;
  color: #181818;
  font-size: 13px;
  line-height: 1.4;
  padding: 0 0 0 4px;
  white-space: nowrap;
}

#page_menu {
  margin: 0 auto;
  height: 59px;
  position: relative;
  background: url('../img/17.gif') top left repeat;  
}

#page_menu .l {
  width: 100%;
  height: 100%;
  background: url('../img/10.gif') top left repeat-y;  
}

#page_menu .r {
  width: 100%;
  height: 100%;
  background: url('../img/13.gif') top right repeat-y;  
}

ul.hmenu {
  list-style: none;
  position: relative;
  line-height: 56px;
}

ul.hmenu li {
  display: inline;
  padding: 0;
  margin: 0 0 0 40px;
  color: #fff;
}

ul.hmenu li a, ul.hmenu li a:visited {
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  padding: 4px 14px;
}

ul.hmenu li a:hover {
  text-decoration: none;
  background: #fff;
  color: #181818;
  width: 100%;
}

ul.hmenu li a.select, ul.hmenu li a.select:visited {
  text-decoration: none;
  background: #fff;
  color: #181818;  
}

#page_submenu {
  margin: 0 auto;
  height: 24px;
  position: relative;
  background: url('../img/32.gif') top left repeat;  
}

#page_submenu .l {
  width: 100%;
  height: 100%;
  background: url('../img/10.gif') top left repeat-y;  
}

#page_submenu .r {
  width: 100%;
  height: 100%;
  background: url('../img/13.gif') top right repeat-y;  
}

#page_submenu ul {
  list-style: none;
  line-height: 20px;
  padding: 0 0 0 60px;
}

#page_submenu ul li {
  display: inline;
  padding: 0 1.2em 0 0;  
}

#page_submenu ul li a, #page_submenu ul li a:visited {
  font-size: 10px;
  color: #fff;
  text-decoration: none;  
}

#page_submenu ul li a, #page_submenu ul li a:visited {
  font-size: 10px;
  color: #fff;
  text-decoration: none;
  padding: 2px 4px;  
}

#page_submenu ul li a:hover {
  background: #797976;
}

#page_submenu ul li a.selected, #page_submenu ul li a.selected:visited {
  background: #797976;
}                

#page_layout {
  margin: 0 auto;
  position: relative;
  background: #3E3E3E;
}

#page_layout .l {
  width: 100%;
  height: 100%;
  background: url('../img/10.gif') top left repeat-y;  
}

#page_layout .r {
  width: 100%;
  height: 100%;
  background: url('../img/13.gif') top right repeat-y;  
}

.page_col {
}

td.page_col_center {
  padding: 0 0 0 0px;
}

#page_content {
  position: relative;
  padding: 20px;
  min-height: 400px;
}

* html #page_content { 
  height: 400px;  
}

body#main #page_opacity {
  position: absolute;
  top: 0;
  filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50); 
  -moz-opacity: 0.5; 
  -khtml-opacity: 0.5; 
  opacity: 0.5; 
  background: #000;
  margin: 0 9px;
  width: 450px;
  height: 550px;
  overflow: hidden;  
}

body#main #page_content {
  position: absolute;
  top: 0;
  margin: 0 9px;
}

#scrollDiv {
  width: 400px;
  height: 500px;
  overflow: hidden;
}

body#gallery #page_content {
  margin: 0 9px;
  padding: 0;
}

#gallery_main_picture {
  width: 900px;
  height: 550px;
  overflow: hidden;
}

#wrap_gallery_list {
  width: 820px;  
  padding: 4px 40px 0 40px;
  position: relative;    
}

div#gallery_list {
  width: 800px;  
  overflow: hidden;
}

#wrap_gallery_list a.prev {
  position: absolute;
  width: 14px;
  height: 24px;
  display: block;
  background: url('../img/back.gif') top left no-repeat;
  left: 5px;
  top: 24px;
  z-index: 5;
}

#wrap_gallery_list a.next {
  position: absolute;
  display: block;
  width: 14px;
  height: 24px;
  background: url('../img/next.gif') top left no-repeat;
  right: 5px;
  top: 24px;
}

ul.gallery_list_picture {
  list-style: none;
  white-space: nowrap;
}

.gallery_list_picture li {
  display: inline;
  margin-left: 4px;
}

.gallery_list_picture li img {
  border: 2px solid #C0C0C0;
  padding: 2px;
  background: #181818;
}

.gallery_list_picture li a {
}

#page_main {
  padding: 0 9px;
  width: 900px;
  height: 550px;
  overflow: hidden;
}

#preloader {
  position: absolute;
  width: 80px;
  height: 64px;
  top: 50%;
  left: 50%;
  margin-left: -40px;
  margin-top: -32px;
  font-size: 10px;
  background: url('../img/loading.gif') center center no-repeat;
}

a.arrl {
  position: absolute;
  width: 40px;
  height: 40px;
  background: url('../img/arrl.png') top left no-repeat;
  right: 9px;
  top: 45%;
  margin-top: -15px;  
}

a:hover.arrl {
  background: url('../img/arrli.png') top left no-repeat;
}

* html a.arrl {
  background: url('../img/arrl.gif') top left no-repeat;
}

* html a:hover.arrl {
  background: url('../img/arrl.gif') top left no-repeat; 
}

#page_fcontent {
  height: 9px;
  font-size: 0;
  margin: 0 auto;
  position: relative;
  background: url('../img/49.gif') top left repeat-x;
}

#page_fcontent .l {
  width: 100%;
  height: 100%;
  background: url('../img/47.gif') top left repeat-y;  
}

#page_fcontent .r {
  width: 100%;
  height: 100%;
  background: url('../img/51.gif') top right repeat-y;  
}

#page_empty {
  height: 50px;
  clear: both;
}

#page_footer {
  width: 920px;
  height: 40px;
  text-align: left;
  position: relative;
  z-index: 1;
  background: url('../img/bg.gif') top left repeat;
  margin: 0 auto;
}

#page_footer .text {
  width: 100%;
  height: 100%;
  line-height: 30px;
  font-size: 11px;
  color: #000;
/*  text-align: center;*/
}

#page_counters {
  position: absolute;
  right: 0;
  top: 0px;  
}

.form_order input, .form_order textarea {
  width: 300px;  
}

.form_order textarea {
  height: 200px;  
}

.req {
  color: red;
  font-size: 11px;  
}

.form_order .submit {
  width: 120px;
}
