* { margin: 0px; padding: 0px; }

/* -------------------------------- page marking ---------------------------- */
body, html { height: 100%; }
body { background: none; }
table { border-collapse: collapse; }

#main { width: 100%; margin: 0 auto; min-height: 100%; min-width: 870px; background: #fcebc2 url('./images/background-pattern.png'); }
*html #main { height: auto !important; height: 100%; }
/*#main { -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(color=#a6a6a6,direction=125,strength=25)"; -webkit-box-shadow: 0px 0px 25px #a6a6a6; box-shadow: 0px 0px 25px #a6a6a6; }*/
#main { -webkit-box-shadow: 0px 0px 25px #a6a6a6; box-shadow: 0px 0px 25px #a6a6a6; }

#left-border, #right-border { margin: 0 auto; min-height: 100%; }
*html #left-border, *html #right-border { height: auto !important; height: 100%; }
#left-border { padding-left: 7%; min-width: 910px; background: #d9d9d9 url('./images/border-left.jpg') no-repeat left top; }
#right-border { padding-right: 7%;  background: url('./images/border-right.jpg') no-repeat right top; }

#header { height: auto; min-height: 275px; background: url('./images/header-background.png') repeat-x; }
*html #header { height: auto !important; height: 275px; }
	#header .left { width: 85%; float: left; overflow: visible; text-align: left; } /*border: 1px solid #000;*/
	#header .right { width: 15%; float: right; overflow: visible;  text-align: left; }
	/*#header #logo-img { width: 231px; height: 80px; margin-top: 35px; float: left; }*/
	#header #logo-text { margin: 10pt 0 0 0; float: left; font-size: 18pt; white-space: nowrap; color: #711212; }
	#header #logo-text1 { font-size: 18pt; }
	#header #logo-text2 { font-size: 26pt; }
	#header #links { float: right; width: 84px; margin-top: 55px; }
	#header #links img { margin-right: 0px; }

#menu { width: 100%; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11pt; margin: 20pt 0 15pt 0; }
	#menu table { text-align: center; width: 100%; padding: 0; margin: 0; border: none; border-collapse: collapse; }
	#menu table td { width: 20%; vertical-align: top; }
	#menu table td div { margin-top: 0pt; }

#submenu { margin: 15pt 0 15pt 0; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11pt; }
	#submenu div.menublock { margin: 0 0 10pt 20pt; }
	#submenu div.menuitem { margin: 6pt 0; }
	/*#menu div.active { margin: 0 0 10pt 15pt; }*/

#intro { height: 300px; min-height: 300px; margin: 0; margin-top: 20pt; text-align: center; }
*html #intro { height: auto !important; height: 300px; }
	#intro #container { width: 800px; display: inline-block; overflow: hidden; }
	#intro #container #slider { float: left; }
	#intro #container #slider img { height: 300px; border: none; overflow: hidden; }

/*
#splash { margin-top: 20pt; height: 300px; }
#splash #slider { width: 100%; float: left; text-align: center; }
*/
/*#intro #container #slider img { width: 760px; height: 220px; border: 0px solid #e2effc; overflow: hidden; border-radius: 15px; -moz-border-radius: 15px; -webkit-border-radius: 15px; behavior: url('./border-radius.htc'); }*/
/*
#splash #slider div { width: 100%; height: 300px; text-align: center; display: inline-block; overflow: hidden; }
#splash #slider img { width: 1680px; height: 300px; border: none; }
*/

#footer { height: auto; min-height: 175px; margin-top: -175px; background: #fcebc2 url('./images/background-pattern.png'); }
*html #footer { height: auto !important; height: 175px; }
	#footer .left { width: 72%; margin-top: 10pt; float: left; }
	#footer .right { width: 25%; margin-top: 10pt; float: right; }
#pusher { clear: both; height: 200px; visibility: hidden; }

.content { margin: auto 3%; clear: both; }
	.wide { width: 100%; clear: both; overflow: hidden; }
	.column1 { width: 72%; float: left; clear: both; overflow: hidden; }
	.column2 { width: 25%; float: right; overflow: hidden; }
	.tricolumn1 { width: 31%; float: left; margin-right: 3%; overflow: hidden; }
	.tricolumn2 { width: 31%; float: left; margin-right: 3%; overflow: hidden; }
	.tricolumn3 { width: 31%; float: left; overflow: hidden; }

/* ------------------------------- formatting ------------------------------- */
body, html {
	/*font-family: Arial, Helvetica, sans-serif;*/
	/*font-family: Verdana, Arial, Helvetica, sans-serif;*/
	font-family: "Times New Roman", Times, serif;
	font-size: 13pt;
	color: #35352e;
	}

p { margin: 10pt 0; line-height: 1.2em; }
.margin3 { margin: 3pt 0; }
.margin5 { margin: 5pt 0; }
.margin10 { margin: 10pt 0; }
.margin15 { margin: 15pt 0; }
.margin20 { margin: 20pt 0; }

.clear { clear: both; }

/* tables */
table.data { width: 100%; border: none; border-collapse: collapse; border-spacing: 0px; }
table.data th { background: none; border: none; font-family: Arial, Helvetica, sans-serif; text-align: left; padding: 5pt 3pt; }
table.data tr { }
table.data td { padding: 5pt 3pt; border-bottom: 1px solid #d3ac8b; border-top: 1px solid #d3ac8b; }
table.noline td { padding: 5pt 0; border: none; }

/* images and photos */
img { border: none; }
div.gallery { clear: both; text-align: center; }
span.album200 { background: #fef2dc; width: 200px; padding: 15px; margin: 0 15px 5px 0; float: left; display: -moz-inline-stack; display: inline-block; vertical-align: top; }
span.photo200 { width: 200px; padding: 5px; padding-bottom: 5px; margin: 5pt; border: none; display: -moz-inline-stack; display: inline-block; vertical-align: top; }
span.photo200 img { -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; behavior: url('./border-radius.htc'); }

/*
span.document180 { width: 180px; margin: 10pt 15px 10pt 15px; display: -moz-inline-stack; display: inline-block; vertical-align: top; }
span.document180 .border { width: 180px; height: 180px; background: #fafafa; }
span.document180 .border:hover { background: #fff; }
span.document180 .border img { width: 160px; height: 160px; margin: 10px; }
*/
/*
p img { display: -moz-inline-block; display: inline-block; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; behavior: url('./border-radius.htc'); }
p[align='left'] img, p[style*='left'] img { float: left; margin: 3pt 10pt 5pt 0; display: -moz-inline-stack; display: inline-block; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; behavior: url('./border-radius.htc'); }
p[align='right'] img, p[style*='right'] img { float: right; margin: 3pt 0 5pt 10pt; display: -moz-inline-stack; display: inline-block; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; behavior: url('./border-radius.htc'); }
*/
p img { display: -moz-inline-block; display: inline-block; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; behavior: url('./border-radius.htc'); }
p[align='left'] img, p[style*='left'] img { float: left; margin: 3pt 10pt 5pt 0; display: -moz-inline-stack; display: inline-block; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; behavior: url('./border-radius.htc'); }
p[align='right'] img, p[style*='right'] img { float: right; margin: 3pt 0 5pt 10pt; display: -moz-inline-stack; display: inline-block; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; behavior: url('./border-radius.htc'); }

div.news150 img { width: 150px; float: left; margin: 2pt 12px 5pt 0; display: -moz-inline-stack; display: inline-block; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; behavior: url('border-radius.htc'); }
div.news200 img { width: 200px; float: left; margin: 2pt 18px 5pt 0; display: -moz-inline-stack; display: inline-block; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; behavior: url('border-radius.htc'); }

/* panorama intros */
table.panoramas { width: 100%; border: none; border-collapse: collapse; border-spacing: 0px; }
table.panoramas td { text-align: center; vertical-align: top; width: 25%; }
table.panoramas td div { margin-top: 5pt; }

/* spoilers */
div.spoiler { margin: 30pt 0 30pt 0; text-align: center; }
div.spoiler img { margin-bottom: 0pt; }
div.spoiler div { margin-top: 5pt; }
div.spoiler div a { font-weight: normal; }


.radius10 { -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; behavior: url('./border-radius.htc'); }

/*
img.border5,div.border5 { background: #fff; padding: 5px; }
img.border10,div.border10 { background: #fff; padding: 10px; }
img.border15,div.border15 { background: #fff; padding: 15px; }
img.noborder { background: none; padding: 0px; }
/*
.shadow5 { -webkit-box-shadow: 0px 0px 5px #e5e5e5; -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(color=#e5e5e5,direction=125,strength=5)"; box-shadow: 0px 0px 5px #e5e5e5; }
.shadow10 { -webkit-box-shadow: 0px 0px 10px #e5e5e5; -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(color=#e5e5e5,direction=125,strength=10)"; box-shadow: 0px 0px 10px #e5e5e5; }
*/
/* lists */
ol,ul { margin: 0 0 10pt 0; }
li { margin: 5pt 0 5pt 25pt; }
/*
div.file { padding: 15pt 0; padding-left: 80px; background: no-repeat left; }
div.file32 { padding: 2pt 0; padding-left: 40px; background: no-repeat left; }
div.file span, div.file32 span { white-space: nowrap; }
*/

/* page numbers */
span.page {
	background-color: #eed6b4;
	display: inline-block;
	padding: 3pt 5pt;
	margin: 0 3pt;
	}

/* font size offlet */
.title24 { font-size: 25pt; }
.title20 { font-size: 21pt; }
.title18 { font-size: 19pt; }
.title16 { font-size: 17pt; }
.title14 { font-size: 15pt; }
.title12 { font-size: 13pt; }
.small { font-size: 11pt; }
.lite,.lite:visited { color: #808080; }
.white, .white a, .white a:visited { color: #9f9f9f; }
.strong { font-weight: bold; }
.italic { font-style: italic; }
.red { color: red; }

/* background blocks */
div.block { padding: 10pt 15pt; margin: 10pt 0; background-color: #eed6b4; }
div.line1 { clear: both; width: 100%; height: 1px; background-color: #711212; }
div.line2 { clear: both; width: 100%; height: 2px; background-color: #d3ac8b; }
/*
div.blue { background-color: #25a3e0; }
div.green { background-color: #8ac547; }
div.yellow { background-color: #fafaed; }
div.red { background-color: #f87c34; }
div.grey { background-color: #fafafa; }
*/
/* urls */
a { color: #8f1017; }
a:visited { color: #8f1017; }
a.nav,a.nav:visited { color: #8f1017; }
a.noline,a.noline:visited { text-decoration: none; }
a.noline:hover { text-decoration: underline; }
a.nolineno,a.nolineno:visited,a.nolineno:hover { text-decoration: none; }
h1 a, h1 a:visited, h2 a, h2 a:visited, h3 a, h3 a:visited, h4 a, h4 a:visited, h5 a, h5 a:visited, h6 a, h6 a:visited { text-decoration: underline; color: #711212; }
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover { text-decoration: underline; }
a.dash,a.dash:visited { text-decoration: none; border-bottom-style: dashed; border-bottom-width: 1px; color: #8f1017; }
a.white,a.white:visited { color: #9f9f9f; }

/* forms and inputs */
/*form, input { font-family: Arial, Helvetica, sans-serif; margin: 0; padding: 0; }*/
label {	cursor: pointer; }
input, textarea, select {
	font-family: Arial, Helvetica, sans-serif;
	color: #35352e;
	font-size: 12pt;
	padding: 3pt;
	}
input.small, textarea.small, select.small { font-size: 10pt; }
input.large, textarea.large, select.large { font-size: 14pt; }
input.xlarge, textarea.xlarge, select.xlarge { font-size: 16pt; }
input.xxlarge, textarea.xxlarge, select.xxlarge { font-size: 20pt; }
input.xxxlarge, textarea.xxxlarge, select.xxxlarge { font-size: 26pt; }
input.x100, textarea.x100, select.x100 { width: 100%; }
input.x50, textarea.x50, select.x50 { width: 50%; }
input.x75, textarea.x75, select.x75 { width: 75%; }
input.x25, textarea.x25, select.x25 { width: 25%; }
input.x30, textarea.x30, select.x30 { width: 30%; }

/* headings */
h1, h2, h3, h4, h5, h6, .header {
	/*font-family: Verdana, Arial, Helvetica, sans-serif;*/
	/*font-family: Georgia, "Times New Roman", Times, serif;*/
	font-family: "Times New Roman", Times, serif;
	font-weight: normal;
	font-style: normal;
	color: #711212;
	}
/*h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child { margin-top: 0; }*/
h1, h2 { margin: 20pt 0 10pt 0; }
h3, h4, h5, h6 { margin: 15pt 0 10pt 0; }
/*h1:first-child, h2:first-child { margin-top: 10pt; }*/
h1 { font-size: 26pt; }
h2 { font-size: 24pt; }
h3 { font-size: 20pt; }
h4 { font-size: 18pt; }
h5 { font-size: 16pt; }
h6 { font-size: 14pt; }

div.developer { padding: 10px 0; padding-left: 38px; line-height: 1.1em; display: block; background: url('./images/o9media32.png') no-repeat left; }
.require:after { content: " *"; color: red;}

/* Постраничная навигация */
.pagination {
    clear: both;
    padding-bottom: 10px;
    padding-top: 10px;
}
.pagination a {
    background-color: #eed6b4;
    display: inline-block;
    padding: 3pt 5pt;
    margin: 0 3pt;
}
.pagination a:hover, .pagination a:active {
}

.pagination span.current {

    background-color: #eed6b4;
    display: inline-block;
    padding: 3pt 5pt;
    margin: 0 3pt;
}
.pagination span.disabled {
    background-color: #eed6b4;
    display: inline-block;
    padding: 3pt 5pt;
    margin: 0 3pt;
}



a.text-size-a,
a.text-size-aa,
a.text-size-aaa {
    color: #000000;
    text-decoration: none;
    margin: 0 2px;
}

a.text-size-a { font-size: 24px;}
a.text-size-aa { font-size: 30px;}
a.text-size-aaa { font-size: 36px;}

a.text-size-a.active,
a.text-size-aa.active,
a.text-size-aaa.active,
a.text-size-a:hover,
a.text-size-aa:hover,
a.text-size-aaa:hover {
    text-decoration: underline;
}

.header-blind {
    background:  #efe0c0;
    display: inline-block;
    padding: 5px 30px 7px;
    border-radius: 5px;
}


body.contrast,
body.contrast a, body.contrast a:visited {
    color: black;
}

body.contrast img {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: gray; /* IE 6-9 */
}

body.contrast.size-aa {font-size: 16pt}
body.contrast.size-aa .small {font-size: 13pt}
body.contrast.size-aa h1 { font-size: 30pt; }
body.contrast.size-aa h2 { font-size: 28pt; }
body.contrast.size-aa h3 { font-size: 26pt; }
body.contrast.size-aa h4 { font-size: 24pt; }
body.contrast.size-aa h5 { font-size: 22pt; }
body.contrast.size-aa h6 { font-size: 20pt; }
body.contrast.size-aa #submenu,
body.contrast.size-aa #menu{ font-size: 13pt }
body.contrast.size-aa .top-menu > .other-links { font-size: 12pt}

body.contrast.size-aaa {font-size: 19pt}
body.contrast.size-aaa .small {font-size: 15pt}
body.contrast.size-aaa h1 { font-size: 34pt; }
body.contrast.size-aaa h2 { font-size: 32pt; }
body.contrast.size-aaa h3 { font-size: 30pt; }
body.contrast.size-aaa h4 { font-size: 28pt; }
body.contrast.size-aaa h5 { font-size: 26pt; }
body.contrast.size-aaa h6 { font-size: 24pt; }
body.contrast.size-aaa #submenu,
body.contrast.size-aaa #menu { font-size: 15pt }
body.contrast.size-aaa .top-menu > .other-links { font-size: 14pt}


body.contrast #left-border,
body.contrast #right-border,
body.contrast #main,
body.contrast #header,
body.contrast #footer { background: #ffffff}

body.contrast #main { box-shadow: none}

body.contrast div.line2 { background-color: #000000}

body.contrast .block { border: solid 2px black; background: white}
body.contrast #header #logo-text { color: #000000}
body.contrast h1,
body.contrast h2,
body.contrast h3,
body.contrast h4,
body.contrast h5,
body.contrast h6 { color: #000000}