html, body {
	background-color: white;
	background: url('../img/back_left.gif') repeat-y top left;
	font-family: georgia, serif, verdana, Times;
	font-size: 13px;
	margin: 0 auto;
	padding: 0;
	height: 100%;
}
a {
	color: black;
}
img {
	border: 0;
}
h1 {
	color: #4D381F;
	font-size: 1.2em;
	margin: 0;
	padding: 0 0 5px 0;
	text-align: left;
	text-transform: uppercase;
}
h1 a {
	color: #4d381f;
	text-decoration: none;
}
h1 a:hover, h1 a.active {
	color: #C0A874;
}

#site {
	margin: 0 auto;
	min-height: 100%;
	position: relative;
	background: url('../img/back_right.gif') repeat-y top right;
}
#head_wraper {
	background-color: red;
	background: url('../img/back_right_top.png') no-repeat;
	background-position: top right;
}
#head {
	text-align: center;
	background: url('../img/back_left_top.png') no-repeat;
	background-position: top left;
	padding-bottom: 40px;
}

#lang_bar {
    list-style-type: none;
	display: table;
	width: 850px;
	white-space: nowrap;
    display:table;
    margin:0 auto;
}

#lang_bar li {
    float:left;
    padding:0 1px 0 0;
}


#lang_bar a {
    background-image:url('../img/vm_sprites_lang.gif');
    display:block;
    overflow: hidden;
    text-indent:-9999px;
    width: 25px;
    height: 35px;
}

#lang_bar a.lv:hover, #lang_bar a.lv_active {
    background-position: 0 -35px;
}

#lang_bar a.en {
    background-position: -50px 0;
}

#lang_bar a.en:hover, #lang_bar a.en_active {
    background-position: -50px -35px;
}

#lang_bar a.ru {
    background-position: -25px 0;
}

#lang_bar a.ru:hover, #lang_bar a.ru_active {
    background-position: -25px -35px;
}

#logo_box {
    background: url('../img/logo.gif') no-repeat center center;	
    margin: 0 auto;
   	width: 214px;
}

#logo_box img {
	width: 214px;
	height: 96px;
}

#navigation {
	margin: 0 auto;
	width: 900px;
	padding: 24px 0 7px 0;
	display: table;
	white-space: nowrap;
}
#menu_top {
	display: table-row;
	list-style-image: none;
	list-style-position: outside;
	list-style-type: none;
	white-space: nowrap;
}
#menu_top li {
	background-image: url(../img/menu_top_back.gif);
	background-repeat: repeat-x;
	display: table-cell;
	vertical-align: top;
	padding: 2px 10px 7px 10px;
}
#menu_top li.flag_left {
	background-image: url(../img/menu_top_left.gif);
	background-repeat: no-repeat;
	width: 59px;
	height: 35px;
	margin: 0;
	padding: 0;
}
#menu_top li.flag_right {
	background-image: url(../img/menu_top_right.gif);
	background-repeat: no-repeat;
	width: 59px;
	height: 35px;
	margin: 0;
	padding: 0;
}
#menu_top a {
	font-size: 12px;
	font-weight: bold;
	color: #C0A874;
	text-decoration: none;
	text-transform: uppercase;
}
#menu_top a:hover, #menu_top a.active {
	color: #fbf8f3;
}
#menu_sub {
	padding: 0;
	margin: 0;
}
#menu_sub li {
	display: inline;
	list-style: none;
	margin: 0 -3px 0 0;
	padding: 0 20px 0 20px;
	background-image: url(../img/menu_sub_back.gif);
	background-repeat: repeat-x;
	background-position: 0 7px;
}
#menu_sub a {
	background-color: white;
	font-weight: bold;
	color: #4d381f;
	text-decoration: none;
	text-transform: uppercase;
	padding: 0 5px 0 5px;
}
#menu_sub a:hover, #menu_sub a.active {
	color: #C0A874;
}
.inner_page {
	width: 900px;
	margin: 0 auto;
}
.inner_pad {
}
.theme_img {
	float: left;
	overflow: hidden;
	width: 430px;
	margin: 0;
	text-align: center;
}
.theme_img img {
	margin: 0 0 20px 0;
}
.pad_theme_img {
	margin: 40px 0 0 0;
}
.theme_img_tpl_1 {
	width: 100%;
	text-align: center;
}
.content {
	padding: 0;
	margin: 0;
	width: 430px;
	float: left;
}
.content_tpl_1 {
	padding: 0 40px 20px 0;
}
.content_tpl_0 {
	padding: 0 0 20px 40px;
}
.content p {
	padding: 0;
	margin: 0;
	/*text-transform: uppercase;*/
	text-align: left;
	line-height: 2em;
	color: #4d381f;
}

.content p a {
	font-weight: bold;
	font-style: italic;
	text-decoration: none;
	color: #4D381F;
}

.content p a:hover {
	text-decoration: underline;
}

p.bottom_pad {
	margin-bottom: 20px;
}
p.lower_letters {
	text-transform: none;
}
.paragraph {
	margin: 0 0 20px 0;
}
#news_list {
	text-align: left;
}
#news_list p {
	color: #4D381F;
	text-transform: none;
	line-height: 150%;
	margin: 5px 0 20px 0;
}
#news_list a {
	color: #C0A874;
}
#news_list a:hover {
	color: #4D381F;
}
.highlight {
	background-color: yellow;
}
.error {
	color: red;
}
#error_box {
	color: red;
	font-weight:bold;
	text-transform: uppercase;
	/*background-color: #FFFFCC;
	padding: 10px;*/
	margin-bottom: 5px;
}
#msg_box {
	color: green;
	background-color: #FFFFCC;
	padding: 15px 5px 10px 40px;
	background-image: url('../img/ok.gif');
	background-repeat: no-repeat;
	background-position: 5px 5px;
	margin-top: 5px;
	margin-bottom: 5px;
}
#footer_wraper {
	background: url('../img/back_left_bottom.png') no-repeat;
	background-position: bottom left;
	text-align: center;
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 60px;
	padding: 0;
	margin: 0 auto;
}
#footer_box {
	background: url('../img/back_right_bottom.png') no-repeat;
	background-position: bottom right;
	height: 100%;
	margin: 0 auto;
}
#footer {
	position: relative;
	top: 35px;
	border-top: 1px solid #C0A874;
	width: 810px;
	margin: 0 auto;
	padding-top: 3px;
}
#footer a {
	font-size: 12px;
	font-weight: bold;
	color: #4d381f;
	text-decoration: none;
	text-transform: uppercase;
}
#footer a:hover, #footer a.active {
	color: #C0A874;
}
.clear {
	clear: both;
	height: 60px;
}
.date_block {
	float: left;
	color: #C0A874;
	text-align: center;
	text-transform: uppercase;
	font-size: 9px;
	width: 26px;
	background: url(../img/date_back.gif) no-repeat top center;
	margin: 0 0 5px 0;
	position:relative;
}
.date_block_active {
	color: #4D381F;
	background: url(../img/date_back_active.gif) no-repeat top center;
}
h1.date_numbers {
	position: relative;
	top: -5px;
	color: white;
	text-align: center;
	font-size: 32px;
	font-weight: normal;
	padding: 0;
	margin: 0;
}

.date_block div {
	position: absolute;
	width: 26px;
	top: 27px;
	left:0;
}

.release_block {
	padding-left: 35px;
}
.release_block h1 {
	color: #4D381F;
	font-size: 1.2em;
}
.release_block p {
	text-transform: none;
	padding: 5px 0 5px 0;
}
.download {
	color: #C0A874;
	text-decoration: none;
}
.download:hover, .download:active {
	color: #4D381F;
}
.active_release {
	color: #C0A874;
}
.active_release:hover, .active_release:active {
	color: #4D381F;
}
.release_block h1 {
	text-transform: none;
}
.clear_block {
	clear: both;
	padding-bottom: 20px;
}
.simple_clear {
	clear: both;
}
#google_map {
	width: 900px;
	height: 500px;
	margin-bottom: 10px;
	clear: both;
}

#google_map_contacts {
	width: 420px;
	height: 420px;
}

#gallery {
	text-align: center;
	width: 780px;
	margin: 0 auto;
}
#gallery div {
	text-align: left;
	list-style: none;
	float: left;
	width: 162px;
	margin: 0 0 20px 20px;
	color: #4d381f;
}
#gallery div img, .gallery_image {
	border: 1px solid #4d381f;
	padding: 10px;
	width: 140px;
	height: 140px;
}
#gallery div a {
	color: #C0A874;
}
#gallery div a:hover, #gallery li a.active {
	color: #4d381f;
}
#gallery hr {
	border: 0;
	clear: both;
	margin: 0;
}
.poll_question {
    font-weight:bold;
    padding: 20px 0 0 0;
}

.poll_answer {
    padding: 5px 0 0 0;
}

label {
    font-weight:normal;
}

#poll_form {
    color: #4D381F;
    text-transform: uppercase;
}

#poll_form textarea {
    font-family: georgia, serif, verdana, Times;
    border: 1px solid #C0A874;
    color: #4D381F;
    width: 99%;
}

#poll_form button {
	font-family: georgia, serif, verdana, Times;
	font-weight: bold;
    color: white;
    background-color: #4D381F;
    padding: 3px;
    border: 0;
}

.poll_thanks {
    font-weight:bold;
    padding: 10px 0 10px 0;

}

.sortable_anwers .drop {
	width: 140px;
	height: 140px;
	border: 1px dashed #4D381F;
	float: left;
	margin: 5px 1px 5px 0;
	text-align: center;
	font-width: bold;
	color: #666;
	position: relative;
}

.sortable_anwers .drop span {
   	position: absolute;
   	left: 0;
   	display: block;
	padding-top: 4em;
   	width: 140px;
}

.drag_wrapper {
	width: 140px;
	height: 140px;
	border: 1px solid #fff;
	background-color: #ccc;
	float: left;
	margin: 5px 1px 5px 0;
	text-align: center;
	font-width: bold;
	color: #666;
}

.sortable_anwers .drag{
	width: 140px;
	height: 140px;
	cursor: move;
}

.sortable_anwers .ui-draggable-dragging {
	z-index: 1;
}

p a.selected {
    font-weight: bold;
}

.products {
    overflow: hidden;
}

.products h1 {
    padding-bottom: 25px;
}

.products p {
    padding-bottom: 25px;
}

.centered {
    text-align: center !important;
}

.lower_case {
	text-transform: none;
}

/* custom fonts */
.first-letter {
	font-family: "Kingthings Italique";
	margin-left: 30px;
	text-transform: uppercase;
	color: #C0A874;
	font-size: 4em;
}
