/*
Design by Constantin Mashinskiy, 2010
www.constantinus.ru
*/

/* @group global_reset */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dd, dl, dt, li, ol, ul, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	line-height: 1;
	font-family: inherit;
	text-align: left;
	vertical-align: baseline;
}

a img, :link img, :visited img {
	border: 0;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

ol, ul {
	list-style: none;
}

q:before, q:after,
blockquote:before, blockquote:after {
	content: "";
}

/* @end global reset */

html, body {
	width: 100%;
}

body {
	color: #1a1b1b;
	font: 16px/24px "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif;
	margin: auto;
}

.clear {
	clear: both;
}

div#all {
	margin: auto;
	padding-right: 30px;
	padding-left: 30px;
}

div#all.index #content {
	max-width: 1000px;
}

#content {
	display: block;
	clear: both;
	background-color: #fff;
}

/* @group all text */

a, a:visited {
	color: #317ccd;
}

a:hover {
	color: #234f81;
}

.external {
	background: url(/img/external.gif) no-repeat right center;
	padding-right: 13px;
	zoom: 1;
}

.external:hover {
	background: url(/img/external_h.gif) no-repeat right center;	
}

.sub {
	vertical-align: top;
	color: #6b6c6c;
}

h2 .sub {
	font-size: 60%;
}

span.x {
	padding-right: 0.2em;
	padding-left: 0.2em;
}

p {
	font-size: 0.7em;
	line-height: 1.4em;
}

p.intro {
	color: #505151;
	font-size: 0.85em !important;
}

h1 {
	font-size: 1.3em;
	margin-bottom: 0.5em;
	margin-top: 1.5em;
	clear: both;
	font-weight: bold;
}

h2 {
	font-size: 1.2em;
	padding-bottom: 1em;
	margin-top: 1.8em;
	clear: both;
	padding-top: 0.5em;
}

h3 {
	font-size: 1.1em;
	margin-bottom: 1em;
	margin-top: 1.5em;
	clear: both;
}

h4 {
	font-size: 0.8em;
	margin-bottom: 1em;
	clear: both;
}

em {
	font-style: italic;
}

strong {
	font-weight: bold;
}

input.button {
	width: auto !important;
	margin-top: 1em;
}

.active {
	background-color: #317ccd;
	color: #fff;
}

.active a {
	background-color: #317ccd;
	color: #fff !important;
}

.active a:hover {
	background-color: #317ccd !important;
	color: #e2f3fe;
}

div.menu a:hover, .description a:hover, .info table a:hover, .thumbnails a:hover {
	background-color: #d1e1fd;
}

/* @end */

/* @group header */

#header {
	display: block;
	clear: both;
	margin-top: 1.5em;
	margin-bottom: 2.5em;
}

/* @group top */

#logo {
	display: block;
	float: left;
	clear: both;
	margin-bottom: 2em;
	width: 166px;
	height: 35px;
	background: url(/img/logo.jpg) 0 0;
}

#logo:hover {
	background: url(/img/logo.jpg) 166px 0;
}

#icon_search {
	display: block;
	width: 11px;
	height: 13px;
	background: url(/img/search.gif) 0 0;
}

#icon_search_active {
	display: block;
	width: 11px;
	height: 13px;
	background: url(/img/search.gif) 11px 0;
}

#icon_search:hover {
	background: url(/img/search.gif) 11px 0;
}

#icon_lj {
	display: block;
	width: 10px;
	height: 13px;
	background: url(/img/lj.gif) 0 0;
}

#icon_lj:hover {
	background: url(/img/lj.gif) 10px 0;
}

ul.meta_menu {
	display: inline;
	margin-right: -0.7em;
	float: right;
	margin-bottom: 1em;
}

ul.meta_menu li {
	clear: right;
	float: left;
	padding: 0.2em 0.35em 0.25em;
	margin-right: 1em;
	margin-bottom: 0.3em;
}

/* @end */

/* @group menu */

div.menu a, ul.main_menu .active{
	padding: 0.2em 0.35em;
}

ul.main_menu li.active a{
	padding: 0 !important;
}

.menu {
	float: left;
	clear: both;
	margin-left: -0.4em;
}

ul.main_menu {
	clear: both;
	margin-bottom: 1em;
	font-size: 0.95em;
	float: left;
	line-height: 2em;
}

ul.main_menu li {
	margin-right: 0.3em;
	display: inline;
	white-space: nowrap;
}

ul.main_menu a, ul.main_menu a:visited {
	color: #3584da;
}

ul.sub_menu {
	font-size: 0.75em;
	clear: left;
	float: left;
	margin-bottom: 0.5em;
}

ul.sub_menu li {
	margin-right: 0.9em;
	margin-bottom: 0.8em;
	white-space: nowrap;
	float: left;
	clear: right;
}

/* @end */

/* @end */

/* @group thumbnails */

.thumbnails {
	text-align: left;
	margin-right: 0;
	margin-left: -36px;
	margin-bottom: 1em;
}

#all.index .thumbnails {
	margin-top: -38px;
}

.thumbnail {
	text-decoration: none;
	display: -moz-inline-box;
	display: inline-block;
	vertical-align: top;
	text-align: center;
	margin: 38px 0 0 36px;
	width: 300px;
}

.thumbnail .c {
	padding: 0px;
	margin: auto;
}

.thumbnail .i {
	height: 200px;
	line-height: 200px;
	vertical-align: middle;
	display: table-cell;
	text-align: center;
	width: 300px;
	padding-bottom: 0.5em;
	margin: 0;
	border-width: 0;
	border-style: none;
}

.thumbnail .i * {
	vertical-align: middle;
}

.thumbnail a {
	
}

.thumbnail img {
	padding: 0;
	margin: 0;
}

.thumbnail p {
	text-align: center;
	margin-bottom: 0.2em;
}

.thumbnail li {
	margin-bottom: 0.6em;
	color: #4a4b4b;
	line-height: 1.3em;
	text-align: left;
}

.thumbnail li ul li {
	margin-bottom: 0.3em;
}

.thumbnail ul {
	padding-left: 1em;
	padding-right: 1em;
}

.thumbnail ul.travel {
	font-size: 0.7em;
	color: #4a4b4b;
	line-height: 1.3em;
	margin-bottom: 0.4em;
	text-align: left;
}

.thumbnail .place {
	font-size: 0.7em;
	color: #6e6e6e;
	line-height: 1.3em;
}

.thumbnail .description {
	font-size: 0.7em;
	color: #4a4b4b;
	line-height: 1.3em;
	margin-bottom: 0.4em;
}

.thumbnail table {
	margin-right: auto;
	margin-left: auto;
}

.thumbnail td, .thumbnail th {
	padding-top: 0.1em;
	padding-bottom: 0.1em;
	line-height: 1.4em;
}

.thumbnail td {
	color: #1a1b1b;
	padding-left: 1em;
	width: 140px;
}

.thumbnail th {
	color: #6a6b6b;
	text-align: right;
}

.pager {
	margin-top: 3em;
}

.pager li {
	display: inline;
	padding-top: 0.1em;
	padding-left: 0.15em;
	padding-right: 0.15em;
	margin-right: 0.3em;
}

.pager li.active {
	background-color: #3f9cfe;
}


/* @end */

/* @group full */

.info {
	float: left;
	clear: right;
}

.full {
	float: left;
	width: 900px;
	margin-right: 2em;
	margin-bottom: 2em;
}

.info table {

}

.info td, .info th {
	padding-top: 0.3em;
	padding-bottom: 0.3em;
	font-size: 0.75em;
	line-height: 1.45em;
}

.info td {
	color: #1a1b1b;
	padding-left: 2em;
}

.info th {
	color: #6a6b6b;
	text-align: left;
}

.info ul.travel {
	font-size: 0.75em;
	color: #4a4b4b;
	line-height: 1.45em;
	margin-bottom: 0.4em;
	text-align: left;
}

.info .travel li {
	margin-bottom: 0.6em;
	color: #4a4b4b;
	line-height: 1.3em;
	text-align: left;
}

.info .travel li ul li {
	margin-bottom: 0.3em;
	padding-left: 1em;
}

.info .travel ul {
	padding-right: 1em;
}

/* @end */

/* @group search */

.search {

}

.search table {

}

.search td, .search th {
	font-size: 0.7em;
	line-height: 1.45em;
	vertical-align: middle;
	padding-bottom: 0.5em;
	padding-top: 0.5em;
}

.search td {
	color: #1a1b1b;
	padding-left: 2em;
}

.search td span {
	margin-right: 0.5em;
	margin-left: 0.5em;
}

.search th {
	color: #6a6b6b;
	text-align: left;
}

.search li {
	display: inline;
	padding-right: 0.8em;
	white-space: nowrap;
	line-height: 1.8em;
}

.search input.big_field {
	width: 40em;
}

.search input.small_field {
	width: 10em;
}

/* @end */

/* @group buy */

.buy div.image {
	margin-bottom: 1em;
	width: 300px;
	clear: both;
}

.buy div.image p {
	margin-top: 0.5em;
}

.buy table {
	float: left;
	margin-right: 2em;
}

.buy td, .buy th {
	padding-top: 0.4em;
	padding-bottom: 0.4em;
	font-size: 0.75em;
	line-height: 1.5em;
}

.buy td {
	color: #1a1b1b;
	padding-left: 2em;
	width: 20em;
	vertical-align: middle;
}

.buy th {
	color: #6a6b6b;
	text-align: right;
	vertical-align: middle;
	width: 10em;
}

.buy table.quality th, .buy table.quality td {
	vertical-align: top;
	padding-bottom: 1.3em;
}

.buy table.contacts input, .buy table.contacts textarea, .buy table.contacts select {
	width: 100%;
}

.buy table.contacts textarea {
	height: 8em;
}

.buy li {
	padding-right: 0.8em;
	line-height: 1.5em;
}

.buy input.big_field {
	width: 40em;
}

.buy input.small_field {
	width: 10em;
}

.buy span.red {
	color: #f72123;
	vertical-align: middle;
	font-weight: bold;
	font-size: 1em;
	margin-right: 0.5em;
	display: inline;
}

/* @end */

/* @group page */

.text li, .text p{
	font-size: 0.8em;
	line-height: 1.5em;
	margin-bottom: 1em;
}

.text li {
	list-style-position: outside;
	list-style-type: decimal;
}

.text ul {
	margin-left: 1.5em;
}

.notes img {
	margin-bottom: 1em;
}

.notes p {
	margin-bottom: 0.75em;
	text-align: right;
	font-size: 0.7em;
	line-height: 1.5em;
}

.page div.text, .commercial div.text, .travel div.text {
	float: left;
	min-width: 20em;
	max-width: 50em;
	margin-right: 2em;
	margin-bottom: 2em;
	width: 60%;
}

.page div.notes {
	float: left;
	clear: right;
}

.lj a img {
	vertical-align: text-bottom;
	text-decoration: none;
	margin: 0;
}

.lj a {
	text-decoration: none;
}

.commercial li {
	list-style-type: none;
	margin-bottom: 0;
}

/* @end */

/* @group footer */

#footer {
	display: block;
	clear: both;
	float: none;
	padding: 1em 0 0;
	margin: 5em 0 1.5em;
	border-top: 1px solid #8e8e8e;
}

#footer p {
	font-size: 0.65em;
	line-height: 1.45em;
	margin-bottom: 0.4em;
}

.copy {
	float: left;
	width: 70%;
}

.counters {
	float: right;
}



/* @end */

