body, html { margin: 0; padding: 0px; height: 100%; }
body { background: #000000 url('/images/body_bg.jpg') repeat-x; }

p, a, li, span, td, div, input { font-size: 12px; color: #7d7d7e; font-family: Tahoma; }
ul, li { padding: 0; margin: 0; }
li { list-style: none; }
img { padding: 0; margin: 0; }
a img { border: 0px; }
a { color: #79797a; text-decoration: none; }
a:hover { color: #79797a; text-decoration: none; }
a:visited { color: #79797a; text-decoration: none; }
/**:focus {outline: 0;}*/
h1 { color: #fff; font-size: 16px; border-bottom: 1px solid #232323; padding-bottom: 8px; margin-bottom: 10px; letter-spacing: 1px; }
h2 { color: #fff; font-size: 14px; paddin: 0; margin: 0; letter-spacing: 1px; }

#container { min-height: 100%; clear: both; width: 976px; margin: 0 auto; position: relative; }
*html #container { height: 100%; }

.header { height: 30px; background: url('/images/header_bg.gif') bottom repeat-x; clear: both; padding: 0 2px; }
#menu_top { background: url('/images/top_menu_bg.gif') top repeat-x; height: 30px; padding: 0 20px; clear: both; }
#menu_top li { text-transform: uppercase; color: #cacaca; font-size: 11px; text-decoration: none; letter-spacing: 3px; float: right; }
#menu_top li a, #menu_top li span { text-transform: uppercase; color: #cacaca; font-size: 11px; text-decoration: none; letter-spacing: 3px; line-height: 28px; }
#menu_top li span.devider, span.devider { float: left; background: url('/images/devider.gif'); display: block; width: 1px; height: 30px; margin: 0 20px 0 15px; _margin: 0 20px 0 0; }
span.devider { _margin: 0 20px 0 15px; }

#about { position: absolute; }
#about a { text-transform: uppercase; color: #fff; font-size: 11px; text-decoration: none; letter-spacing: 3px; line-height: 28px; display: block; float: left; }

#logo { text-align: center; margin-top: 16px; }
#logo a {  }

.hole { clear: both; height: 159px; }

#footer { height: 159px; margin-top: -159px; }
#copyright { width: 350px; margin: 0 auto; border-top: 1px solid #262626; height: 80px; text-align: center; vertical-align: middle; color: #646464; padding-top: 20px; text-transform: uppercase; letter-spacing: 10px; }
.counters {
	position: absolute;
	right: 0;
	bottom: 10px;
}
#copyright, #copyright a { font-family: Tahoma; font-size: 14px; text-decoration: none; }
#copyright a { color: #646464; display: block; text-align: center; padding-bottom: 10px; }

#wrapper { padding-bottom: 20px; display: table; width: 100%; clear: both; }
.main #wrapper { background: url('/images/vinietka.gif') bottom no-repeat; padding-bottom: 90px; margin-bottom: 20px; }
#wrapper img { border: 1px solid #232323; padding: 5px; }
#wrapper .spinner img, #wrapper img.spinner, #wrapper .spinner { border: none; padding: 0; }

.subpages li { float: left; }
.subpages li a, .subpages li span { display: block; text-transform: uppercase; color: #cacaca; font-size: 11px; text-decoration: none; letter-spacing: 3px; text-align: center; border: 2px solid #000; padding-top: 10px; padding-bottom: 8px; background-position: 2px 12px; *background-position: 4px 14px; background-repeat: no-repeat; }
.subpages li a:hover, .subpages li span { color: #fff; border: 2px solid #232323; padding-top: 10px; padding-bottom: 8px; background-color: #232323; }
.subpages li span.border_mask { border: 1px solid #fff; margin-bottom: 12px; width: 156px; height: 50px; background: none; padding: 0; }

.input_shadow { border: 1px solid #333333; padding: 1px; padding-right: 13px; _padding-right: 1px; margin-top: 3px; }
input, textarea { background: #bababa; border: 1px solid #bababa; padding: 5px; color: #484848; font-size: 14px; font-weight: bold; }
.name_td .input_shadow { width: 70%; }
.name_td .input_shadow input, .tf_td .input_shadow textarea { /*width: 98%;*/ }
.phone_td .input_shadow input,
.email_td .input_shadow input { /*width: 96%;*/ }
.email_td { width: 50%; }
.email_td .input_shadow, .phone_td .input_shadow, .tf_td .input_shadow { margin-right: 30px; }
textarea { margin-right: 30px; _margin-right: 0; height: 105px; }
input.submit { background: url('/images/submit.jpg'); width: 227px; height: 36px; border: none; padding: 0; }
#wrapper .captcha img { border: none; }
.captcha { width: 96%; }
.captcha input { width: 240px; }

.cont td { vertical-align: top; }
.cont td table td { vertical-align: middle; }
.white { color: #fff; }

.sub, .files, #sitemap, #sitemap ul { margin: 10px 20px; }
.sub li, .files li, #sitemap li { background: url('/images/marker.gif') 0 5px no-repeat; padding: 0 0 3px 6px; }

#main_struct { margin: 50px auto 0 auto; }
#main_struct td { padding: 35px 20px 20px 20px; }
#main_struct td a { text-transform: uppercase; color: #cacaca; font-size: 14px; text-decoration: none; letter-spacing: 5px; line-height: 28px; display: block; }
#wrapper #main_struct td img { border: 1px solid #bfbfbf; padding: 1px; }
#main_struct td.left { background: url('/images/big_devider.gif') right top no-repeat; text-align: right; }
#main_struct td.right { background: url('/images/big_devider.gif') left top no-repeat; text-align: left; }
#main_struct td.cent { text-align: center; }
#main_struct td a span { position: relative; margin-top: 15px; display: block; }
#main_struct td a span span { display: none; top: 0; left: 0; position: absolute; margin-top: 0; }
#main_struct td a:hover span span { display: block; }
#main_struct td a:hover { background: #000; }

.space { clear: both; padding-top: 15px; }
.spacel { clear: both; padding-top: 1px; }

.gallery { margin-top: 20px; border-collapse: collapse; }
.gallery td { background: #202020 url('/images/for_list.gif') bottom repeat-x; padding: 0 0 5px 0; border: 1px solid #000; vertical-align: top; }
#wrapper .gallery td img { padding: 0; margin: 0; border: 1px solid #fff; }
#wrapper .gallery td a, #wrapper .gallery td a:hover, #wrapper .gallery td a:visited { display: block; text-align: center; color: #fff; text-transform: uppercase; letter-spacing: 3px; padding: 10px 0; }

.parthners td { border: 1px solid #565656; padding: 10px; text-align: center; vertical-align: middle; }
