/* ==== Headers */
h1, h2, h3, h4 {
	margin: 0 0 0.4em;
	padding: 0;
	font-weight: bold;
}
h1 {
	font-size: 30px;
}
h2 {
	font-size: 24px;
	font-weight: normal;
}
h3 {
	font-size: 14px;
}
h4 {
	font-size: 100%;
}

/* ==== hyperlinks */
a {
	color: #2b67a4;
	text-decoration: underline;
}

.pseudolink:hover {
	cursor: pointer;
}

/* ==== Lists */
ul {
	list-style-type: none;
	margin: 1em 0;
	padding: 0;
}

ul li {
	margin: 0 0 1em;
	padding: 0 0 0 25px;
	background: url('/i/dot.gif') 4px 0.25em no-repeat;
}

/* ==== Text */
p {
	margin: 0 0 1em;
}
.icon-arrow {
	background: url('/i/db-arrow.gif') left 50% no-repeat;
	padding-left: 12px;
}
.icon-list {
	padding-left: 18px;
	background: url('/i/icon-list.gif') left 50% no-repeat;
}



/* ==== Images */
img {
	border: none;
}

img.rfloat {
	margin: 0 0 1em 1em;
}

img.lfloat {
	margin: 0 1em 1em 0;
}

/* ==== Useful stuff */

.nowrap {
	white-space: nowrap;
}
.bold {
	font-weight: bold;
}
/* ---- easy-align */
.tocenter {
	text-align: center !important;
}
.tojustify {
	text-align: justify !important;
}
.toleft {
	text-align: left !important;
}
.toright {
	text-align: right !important;
}
.tomid {
	vertical-align: middle !important;
}
.intomid * {
	vertical-align: middle;
}
.lfloat {
	float: left;
}
.rfloat {
	float: right;
}
.lclear {
	clear: left;
}
.rclear {
	clear: right;
}
.clearer {
	clear: both;
}

/* ---- easy-margin */
.mt{
	margin-top: 1em;
}
.dmt{
	margin-top: 2em;
}
.mb{
	margin-bottom: 1em;
}
.dmb{
	margin-bottom: 2em;
}
.no-mb{
	margin-bottom: 0;
}

/* ---- easy-size */
.bigger{
	font-size: 110%;
}
.smaller{
	font-size: 95%;
}

/* ==== box */
.box {
	position: relative;
	width: 314px;
	height: 100px;
	padding-top: 10px;
	background: url('/i/box.jpg') left top no-repeat;
	font-size: 11px;
}

.box, .box a {
	color: #f8e1a6;
}

.box h2 {
	margin: 0 0 2px;
	color: #fff4dd;
	font-size: 18px;
	font-weight: bold;
}

.box h2 a {
	color: #fff4dd;
	text-decoration: none;
}

.box h2 a:hover {
	text-decoration: underline;
}

.box .content {
	margin: 0 14px;
}

.box-office span {
	position: absolute;
	left: 6px; top: -42px;
	width: 79px; height: 121px;
	background: url('/i/box-icon-office.gif') left top no-repeat;
}

.box-office .content {
	margin-left: 103px;
}

.box-flat span {
	position: absolute;
	left: -4px; top: -50px;
	width: 100px; height: 129px;
	background: url('/i/box-icon-flat.gif') left top no-repeat;
}

.box-flat .content {
	margin-left: 90px;
}

.box-dacha span {
	position: absolute;
	left: -9px; top: -17px;
	width: 136px; height: 84px;
	background: url('/i/box-icon-dacha.gif') left top no-repeat;
}

.box-dacha .content {
	margin-left: 129px;
}

/* ==== sandbox */
.sandbox {
	padding-bottom: 17px;
	background: url('/i/shadow.jpg') 50% bottom no-repeat;
}

.sandbox .frame {
	border: #adadad solid 1px;
	background: #fdf1d7;
}

.sandbox .lt {
	position: relative;
	left: -1px; top: -1px;
	background: url('/i/sandbox-lt.gif') left top no-repeat;
}

.sandbox .rt {
	position: relative;
	left: 2px; top: 0;
	background: url('/i/sandbox-rt.gif') right top no-repeat;
}

.sandbox .rb {
	position: relative;
	left: 0; top: 2px;
	background: url('/i/sandbox-rb.gif') right bottom no-repeat;
}

.sandbox .lb {
	position: relative;
	left: -2px; top: 0;
	padding: 10px 20px 20px;
	background: url('/i/sandbox-lb.gif') left bottom no-repeat;
}

/* ==== images */
.image184x164 {
	float: left;
	position: relative;
	padding: 3px 3px 25px 3px;
	margin-right: 15px;
}

.image184x164 div {
	position: absolute;
	left: 0; top: 0;
	width: 190px;
	height: 193px;
	background: url('/i/frame-184x164.png') left top no-repeat;
}

/* ==== news */
dl.news {
	margin: 0 0 1em;
	padding: 0;
}

dl.news dt {
	display: block;
	margin: 0;
	padding: 8px 0 0;
	font-size: 24px;
	color: #686868;
	background: url('/i/list-separator.gif') 50% top no-repeat;
}

dl.news-full dt {
	background-image: url('/i/dots.gif');
	background-repeat: repeat-x;
	padding-top: 15px;
	color: #1c1512;
}

dl.news dt.first {
	padding-top: 0;
	background: none;
}

dl.news dt h2 {
	margin: 0;
}

dl.news dt span {
	font-size: 11px;
}

dl.news-full dt span {
	float: right;
	padding-top: 0.75em;
}

dl.news dd {
	display: block;
	margin: 5px 0 8px;
	padding: 0;
}

dl.news-full dd {
	margin-bottom: 15px;
}

/* ==== breadcrumbs box */
.bread-crumbs {
	background: url('/i/shadow.jpg') 20% bottom no-repeat;
	font-size: 11px;
}

.bread-crumbs .frame {
	border-color: #d3b7a5;
	background: #fef6e4;
}

.bread-crumbs .lt {
	background-image: url('/i/bc-box-lt.gif');
}

.bread-crumbs .rt {
	background-image: url('/i/bc-box-rt.gif');
}

.bread-crumbs .rb {
	background-image: url('/i/bc-box-rb.gif');
}

.bread-crumbs .lb {
	padding: 5px 15px 10px;
	background-image: url('/i/bc-box-lb.gif');
}


/* ==== responses */
.responses img, img.response {
	margin: 0 4px;
	border: #ccbfa7 solid 2px;
}


/* ==== feedback */
.feedback p {
	margin-bottom: 10px;
}

.input-text, .input-textarea {
	margin: 0;
	padding: 7px 11px;
	border: none;
	font-family: tahoma, verdana, sans-serif;
	font-size: 12px;
	color: #f5e9c7;
}

.input-text {
	width: 250px;
	height: 14px;
	background: url('/i/input-text.gif') left top no-repeat;
}

.input-textarea {
	width: 442px;
	height: 146px;
	background: url('/i/input-textarea.gif') left top no-repeat;
}

.input-submit {
	margin: 0;
	padding: 0;
	border: none;
	background: none;
}


/* ==== page selector */
.page-selector {
	margin: 0 auto;
	text-align: center;
}

.page-selector table {
	margin: 0 auto;
	padding: 0;
	background: url('/i/page-selector-left.gif') left top no-repeat;
	border-collapse: collapse;
	border-spacing: 0;
}

.page-selector div {
	padding: 0 10px;
	background: url('/i/page-selector-right.gif') right top no-repeat;
}

.page-selector table table {
	background: none;
}

.page-selector td {
	padding: 0;
}

.page-selector td td {
	padding: 5px 2px;
	vertical-align: middle;
}

.page-selector td td.ml {
	padding-left: 13px;
}

.page-selector td td.mr {
	padding-right: 13px;
}

.page-selector a, .page-selector strong {
	display: block;
	width: 25px; height: 21px;
	padding: 5px 0 0;
	background: url('/i/page-active.gif') left top no-repeat;
	color: #fff;
	text-decoration: none;
}

.page-selector strong {
	background-image: url('/i/page-passive.gif');
}

.page-selector .special a {
	display: inline;
	padding: 0;
	background: none;
	color: #2b67a4;
	text-decoration: underline;
}


/* ==== packing */
table.packing {
	width: 100%;
	border-spacing: 0;
	border-collapse: collapse;
}

table.packing td {
	padding: 7px 12px;
	text-align: center;
	vertical-align: top;
	font-weight: bold;
}

table.packing img {
	padding: 4px 4px 28px 4px;
	background: url('/i/packing-frame.jpg') left top no-repeat;
}

