
body {
	margin: 0px;

	/*font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", Verdana, "DejaVu Sans", Arial, Helvetica, sans-serif;*/
	font: 100%/1.25em "Trebuchet MS", Arial, Helvetica, sans-serif;
	/*letter-spacing: 1px;
	/*background-color: #0C8ABD;
	color: white;*/
	/*font-size: 100%;*/

	background-color: white; /*whitesmoke; /*#F6F6F6;*/
}

@media screen {
	body {
		/*color: #222; /* make text color a little lighter */
	}
}


/* sub- and superscripts line breaks workaround */
sup { vertical-align: baseline; position: relative; top: -0.4em; }
sub { vertical-align: baseline; position: relative; bottom: -0.4em; }

dfn {
	font-style: italic; /* needed for some browsers (e.g. WebKit-based) */
}



h1,
h2,
h3 {
	font-weight: normal;
}

h1 {
	font-family: Arial, sans-serif;
}

h2 {
	font-family: Georgia, serif;
	/*font-weight: normal;*/
	/*font-size: 1.6em;*/
	line-height: 1.25em;
}

h3 {
	font-family: Georgia, serif;
	font-size: 125%;
	line-height: 1.25em;
}

@media print {
	h1 {
		width: 100%;
		border-bottom: solid 1px black;
	}
}

@media screen {

	acronym {
		/*border-bottom: dotted 1px; /* special for browser that don't support acronym tag */
	}

}

a img {
	border: 0px;
}

a:link {
	/*color: #222; /*inherit;*/
	color: #108CC2;
	text-decoration: underline;
}
a:visited {
	color: #636;
	text-decoration: underline;
}
a:hover {
	color: #09506F;
	text-decoration: underline;
}
a:active {
	color: #064D6C;  /* every component of color(:hover) -= 3 */
	text-decoration: underline;
}

@media print {
	
	body {
		background-color: white;
	}
	
	a:link, a:visited, a:hover, a:active {
		color: black;
		text-decoration: none;
	}
	/*
	a:after {
		content: " (" attr(href) ") ";
		font-size: 90%;
		font-family: monospace;
	}
   */
}

/* ====================== content ====================== */

#content {
	position: absolute;  /* switching layout to insets of this box */
	
	top: 96px; /* == height of #title */
	
	left: 0px;
	right: 0px;

	margin: 0px;
	
	/* 82px = height of background; */
	/* 14.8em = position-left(#sections) + width(#sections) + h-paddings(#sections) */
	padding: 82px 0em 0px 15.3em;/*13.8em;
	/*padding: 0px;*/

	background: url("/ru/image/content/bg-left.jpg") repeat-x;

   /* special for IE6 */
	width: expression(document.body.offsetWidth - sections.offsetWidth - sections.offsetLeft - 1);
}

@media print {
	#content {
		position: static;
		padding: 0px;
	}
}

/* ========== content:sections =========== */

#content #sections {
	position: absolute;
	
	top:  24px;
	
	left: 1em;
	width: 13.5em;
	
	margin: 0px;
	padding: 0.4em 0.4em;

	background-color: white; /* = main background-color */
}

#sections ul li {
	list-style: none;
}

@media screen {
	#sections h2 {
		display: none; /* hiding visibility, but leaving in html */
	}
}

@media print {
	#content #sections {
		display: none;
	}
}

/* ========== content:main =========== */

#content #main {
	
	position: relative; /* switching layout to insets of this box */
	
	/*top: 82px; /* = height of background image */
	
	/*left: 15.3em;
	right: 0px;*/

	margin: 0px;
	padding: 1px 0px;   /* 1px - to avoid margin collapsing for box inside */

	/*background: darkgray;*/

	/* special for IE6 */	
	width: expression(document.body.offsetWidth - sections.offsetLeft - sections.offsetWidth - 1);
}

@media print {
	#content #main {
		position: static;
	}
}

/* ================ address ================ */

#address {
	position: absolute;
	/*top: 28em;*//*450px;*/
	/*left: 1em;*/
	
	/*left: 16.25em;*/

	/*top: 16px;*/
	top: 0px;
	right: 60px;

	height: 96px;
	padding: 16px 0px;

	/*width: 13.5em;*/
	/*padding: 0px 0.4em;*/
	
	text-align: right;
	font-size: 81.25%;
	line-height: 1.4;
}

#address p {
	margin: 0px;
	/*padding: 5px 1em;*/
	letter-spacing: 0.75px;
	/*background-color: rgb(112,161,226);*/
	color: white;
	white-space: nowrap;
}

#address .phone {
	font-family: Georgia, serif;
	font-size: 150%;
}

@media print {
	#address {
		display: none;
	}
}

/* ================ copyright ================ */

#copyright {
	position: absolute;
	/*top: 32.8em;*/
	/*top: 30.75em;/*30.75em;*/
	/*top: 32em;*/
	top: 37.5em;
	

	left: 1em;
	width: 13.5em;
	padding: 0px 0.4em;
}

#copyright p {
	margin: 0px;
	padding: 5px 0.5em;
	font-size: 81.25%;
	white-space: nowrap;
}

@media print {
	#copyright {
		position: static;
		margin: 1em 0px 0px auto;
		clear: both;
		page-break-before: avoid;
	}
}

/* ================ license ================ */

#license {
	position: absolute;
	/*top: 34.05em;*/ /* = top(copyright) + 1.25em */
	/*top: 33.25em;*/ /*32em;*/
	top: 38.75em;
	left: 1em;
	width: 13.5em;
	padding: 0px 0.4em;
}

#license p {
	margin: 0px;
	padding: 5px 0.54em;
	font-size: 75%;
	line-height: 1.25em;
}

@media print {
	#license {
		display: none;
	}
}

/* ================ developedby ================ */

#developedby {
	position: absolute;
	/*top: 37.7em;*/  /* = top(license) + 3.65em */
	/*top: 36.85em;*/
	top: 42.35em;
	left: 1em;
	width: 13.5em;
	padding: 0px 0.4em;
}

#developedby p {
	margin: 0px;
	padding: 5px 0.5em;
	font-size: 75%;
	line-height: 1.2em;
	text-align: left;
	color: #bbb;
}

#developedby a {
	color: #bbb;

}

@media print {
	#developedby {
		display: none;
	}
}

/* ========================== meta ========================== */

/*#content {
	/*overflow:hidden
	/*position: relative;
   */
	/*min-height: 68%;*/
	/*background-color: darkgray;*/
/*}*/

#meta {

	/*display:none;*/
	
	/*position: relative;
	top: -95px;

	height: 95px;
	/*background: url('/ru/image/footer-bg.jpg') repeat-x;*/
	
	
	/*margin: 0px;
	padding: 20px 0px 0px 14.8em; /* see padding of #content */
	
	/*color: white;*/

	/*
	position: relative;
	top: auto;
	bottom: 0px;

	vertical-align: bottom;

	margin: auto 0px 0px 0px;
	
	background-color: darkgray;
   */
}

#meta * {
	margin: 0px;
}

@media print {
	#meta {
		padding: 0px;
	}
}

/* ====================== title ====================== */

/*
body {
	background: url("/ru/image/header/bg-left.gif") repeat-x;
}
*/

#title {
	position: absolute;
	
	top: 0px;
	height: 96px;
	
	left: 0px;
	right: 0px;

   /* special for IE6 */
	width: expression(document.body.offsetWidth);

	background: url("/ru/image/header/bg-left.png") repeat-x;
	/*background: url("/ru/image/header/door2.png") center 5px no-repeat;*/
	/*z-index: 2;*/
}

#title #title-mdf-site-link {
	position: absolute;
	/*top: 0px;*/
	
	top: 23px;
	left: 46px;
	
	/*height: 96px;
	width: 717px;*/
	
	height: 50px;
	width: 200px;
	
	/*background: url("/ru/image/header/logo.jpg") no-repeat;*/

	background: url("/ru/image/header/logo_mdf_notm.jpg") no-repeat;

	/*z-index: 3;*/

   /* IE6 fix */
	/*
	background-image: none;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/ru/image/header/logo_mdf_notm.png'),sizingMethod='fixed');
   */
   

}

#title #contact-fast-link {
	position: absolute;
	top: 24px;
	right: 20px;
	height: 17px;
	width: 22px;
	background: url("/ru/image/icon/contact.gif") no-repeat;
}

#title #map-fast-link {
	position: absolute;
	top: 57px;
	right: 20px;
	height: 17px;
	width: 22px;
	background: url("/ru/image/icon/map.gif") no-repeat;
}

@media print {
	#title {
		display: none;
	}
}

/* ======= menu: level 1 ======== */

/*#sections > ul {*/
#sections ul.level1 {
	margin: 2px 0px; /* to correct visual perseption: white height < white width */
	padding: 0px;
	background-color: #EDF7FF;
}
                	
/*#sections > ul > li {*/
#sections ul.level1 li {
	background: rgb(112,161,226) url("/ru/image/menu/bg-left.jpg") repeat-x;
	margin:  1px 0px 0px 0px;
	padding: 2px 0px 2px 0px;
}

/*#sections > ul > li > a*/
#sections ul.level1 li a {
	padding: 0em 0.8em;
}

/*#sections > ul > li > a:link, 
#sections > ul > li > a:visited {*/
#sections ul.level1 li a:link, 
#sections ul.level1 li a:visited {
	color: white;
	text-decoration: none;
}
/*#sections > ul > li > a:hover {*/
#sections ul.level1 li a:hover {
	color: #E6EFFB;
	text-decoration: underline;
}
/*#sections > ul > li > a:active {*/
#sections ul.level1 li a:active {
	color: #E9F1FE;   /* every component of color(:hover) += 3 */
	/*font-weight: bolder;*/
	text-decoration: underline;
}

/* ======= menu: level 2 ======== */

/*#sections > ul > li > ul {*/
#sections ul.level2 {
	margin: 1px 0px -2px 0px;
	padding: 0px 0px 0px 0px;
	background: #EDF7FF; /* = background-color(#sections > ul) */
}

/*#sections > ul > li > ul > li {*/
#sections ul.level2 li {
	margin: 0px;
	padding: 0px 0px 0px 0px;
	background: #EDF7FF; /* = background of enclosing ul, result of changing css selectors for IE6 */
}

/*#sections > ul > li > ul > li > a {*/
#sections ul.level2 li a {
	padding: 0em 1.5em;
	font-size: 93.75%;/*87.5%;*/
}

/*#sections > ul > li > ul > li > a:link, 
#sections > ul > li > ul > li > a:visited {*/
#sections ul.level2 li a:link,
#sections ul.level2 li a:visited {
	color: #108CC2;
	text-decoration: none;
}
/*#sections > ul > li > ul > li > a:hover {*/
#sections ul.level2 li a:hover {
	color: #09506F;
	text-decoration: underline;
}
/*#sections > ul > li > ul > li > a:active {*/
#sections ul.level2 li a:active {
	color: #064D6C;  /* every component of color(:hover) -= 3 */
	/*font-weight: bolder;*/
	text-decoration: underline;
}

/* ============================================= */
/* ====================== main:chapter ====================== */

@media print {

	h1, h2, h3, h4 {
		page-break-after: avoid;
	}

}

.chapter {
	margin: 0px 0px 2em 0px;
	padding: 0px 2em 0em 1.5em; /* test */
} 


.article {
	font-family: Georgia, serif;
}

.article, .manual {
	/*width: 35em;*/ /* approximately equal to 70 typographic symbols (1symbol ~= 0.5em) */
	
	max-width: 45em;	
	margin: 0px auto 2em 0%;
	padding: 0px 2em 0em 1.5em; /* test */

}

.manual h2, .manual h3  {
	font-family: serif;
	letter-spacing: 0.5px;
}
.manual h2 {
	margin: 1.5em 0px 0px 0px;
} 
.manual h3 {
	margin: 1.4em 0px 0px 0px;
}
.manual p {
	margin: 0.75em 0px 0px 0px;
}

/*
@media screen {
	.article, .manual {
		max-width: 41.5em;
	}
}
*/

@media print {
	.article, .manual {
		margin: 1.5em 1.5em;
		max-width: auto;
		/*border: solid 1px gray;*/
	}
}

.manual li {
	/*margin-top: 1.5em;*/
	
	/*padding-bottom: 1em;
	border-bottom: solid 1px gray;*/
}

.article-list li {
	margin-top: 1.5em;
	/*list-style-type: none;*/
}

@media print {
	.article-list li a {
		font-weight: bold;
	}
}

@media screen {
	.mark {
		font-size: 105%;
		font-weight: bold;
	}
}

.annotation {
	display: block;

	margin-top: 0.3em;
	font-style: italic;
	/*font-family: Arial, serif;
	font-size: smaller;*/
	color: #333;
}


.fright {
	float: right;
	margin-left: 0.5em;
}

.fleft {
	float: left;
	margin-right: 0.5em;
}

.figure {
	margin: 0.5em 0px;
	text-align: center;
}
.figure h2, .figure h3, .figure h4, .figure h5 {
	margin: 0px;
}
.figure .caption {
	/*display: block;*/
	text-indent: 0;
	font-style: italic;
	margin: 0.2em 0px;
}

.chapter#start img {
	display: block;
	margin: 0px auto;  /* center image box horizontally */
}

#main h1 {
	font-variant: small-caps;
	line-height: 1.25em;
}

@media screen {

#main h1 {
	position: absolute;
	top: -58px;   /* aligned by #section top */
	left: 0px;
	right: 0px;
	height: 42px; /* area without gradients and borders */

	margin: 0px;
	padding: 0px 0px 0px 1em;

	/*font-weight: normal;*/
	font-size: 150%;/*x-large;*/
	
	/*font-variant: small-caps;*/
	letter-spacing: 1px;
	color: white;

	/*line-height: 1.25em;*/
	white-space: nowrap;

	/*background-color: darkgray;*/
}

}

@media screen {

	#main h2 {
		color: #3B6BA9;
		font-size: 160%;
	}

	#main h2 * {
		color: #3B6BA9;
	}

}

.chapter#start h2 { /* test */
	/*margin-top: 0.8em;*/
	text-align: center;
	font-style: italic;
	/*font-size: 162.5%;*/
	letter-spacing: 1px;
	color: #222; /* black; */
	padding: 1px; /* piece of first letter isn't shown with padding=0px in some browsers */
}

.chapter#partners .figure {
	text-align: center;
	float: left;
	margin: 15px;
}
.chapter#partners h2 {
	margin: 0px;
	white-space: nowrap;
}

.chapter#contact p {
	padding-left: 2em;
	margin-top: 0em;
}

.chapter#contact h2 {
	margin-bottom: 0.2em;
	white-space: nowrap;
}

.chapter#contact .map {
	margin-top: 15px;
}

.chapter#contact .emaplinks {
	position: absolute;
	padding: 20px 0px 0px 20px;
	line-height: 150%;
}

@media print {
	.chapter#contact .emaplinks {
		display: none;
	}
}

#door-compare {
	font-family: serif;
	border-bottom: solid 1px gray;
}
#door-compare tr td {
	/*font-size: 112.5%;*/
}

#door-compare caption {
	font-family: serif;
	/*font-style: italic;*/
	font-size: 137.5%;/*112.5%;/*137.5%;*/
	letter-spacing: 1px;
	line-height: 150%;
	text-align: left;
	border-bottom: solid 1px gray;
	/*white-space: nowrap;*/
}

#door-compare thead {
	font-style: italic;
}



/*
#door-compare thead .base {
	text-align: center;
}

/*
#door-compare thead .col-end {
	border-right: dashed 1px gray;
}
*/

/*
#door-compare thead .base span {
	display: block;
	border-bottom: dashed 1px gray;
	width: 100%;	
	margin-right: 5px;
	padding-bottom: 0.4em;
}

/*
#door-compare thead .base td+td {
	border-bottom: solid 1px gray;
	margin-left: 1em;
}*/

#door-compare thead td.heading {
	text-align: right;
	color: #444;
}

#door-compare thead tr + tr td { /* , #door-compare thead tr:first-child td+td+td */
	border-bottom: solid 1px gray;
}

#door-compare tr > td + td {
	padding-left: 1em;
	white-space: nowrap;
}

#doors .examples {
	margin-bottom: 4em;
}

.footnote {
	font-size: smaller;
	
}

#doors img {
	margin: 0px 0px 0px 0px;
}

@media print {
	#doors h2 {
		page-break-before: always;
	}
	#doors h3 {
		page-break-after: avoid;
	}
	#door p {
		page-break-before: avoid;
		page-break-inside: avoid;
	}
}

/* ================ sitemap ================== */

#sitemap, #sitemap ul {
	list-style-type: none;
}
#sitemap {
	padding-left: 0px;
}
.chapter#error404 #sitemap {
	padding-left: 2em; /* preserving indentation on 404 error page */
}


.catalog {
	margin: 0px;
	padding: 0px 16px 0px 1.5em; /* test */
} 

.catalog-item {
	margin: 0px;
	padding: 1.5em 16px 0px 1.5em;
}

.catalog h2, .catalog-item h2 {
	font-family: Arial, sans-serif;
	clear: both;
}
.catalog-item h2  {
	white-space: nowrap;
}

.catalog table.description {
	font-size: 87.5%;
}

.pages {
	clear: both;
	width: 100%;
	padding: 0em 0px 1.5em 0px;
	color: #777;
}

@media print {
	.pages {
		display: none;
	}
}

.page-active{
	background: #cccccc;
	padding-left: 5px;
	padding-right: 5px;
}

.hidden{
	display: none;
}
.order-hidden{
	display: none;
}

.chapter-line{
	width: 100%;
	height: 2px;
	background-color: #6FA1E0;
	font-size: 1px;
}

.filter {
	background-color: #F4F4F4;
	margin-bottom: 1em;
}

.filter td {
	font-size: 85%;
}

.filter select {
	width: 10em;
	border-style: groove;
	vertical-align: middle;
}

.gallery-title {
	font-family: Georgia, serif;
	font-size: 150%;
	font-style: italic;
	letter-spacing: 1px;
	color: #707070;
	padding-left: 1em;
	vertical-align: middle;
}

.gallery-list {
	float: left;
	width: 33%;
	padding: 0;
	margin-bottom: 20px;
}

@media print {
	.gallery-list {
		page-break-inside: avoid;
	}
}

.gallery-list table {
	width: 100%;
}

.catalogue-link-active {
	background: #dddddd;
	color: #0B346A;
	text-decoration: none;
	text-transform: lowercase;
	margin-left: 2px;
	margin-right: 2px;
}

.catalogue-link {
	color: #0B346A;
	text-transform: lowercase;
	margin-left: 2px;
	margin-right: 2px;
}

div.catalogue-link-description {
	border-left: #6FA1E0 2px solid;
	text-align: left;
	padding-left: 5px;
}

div.catalogue-link-image{
	margin-left: 2px;
	text-align: left;
	padding-left: 5px;
}

td.catalogue-list-item-image {
	margin: 2px;
	border: solid #F4F4F4 1px;
	padding: 15px 10px;
}

td.catalogue-list-item-top {
	border-top: solid #6FA1E0 2px;
	font-size: 1px;
}

td.catalogue-list-item-description {
	font-size: 87.5%;
	background-color: #F4F4F4;
	padding: 8px;
}

td.catalogue-list-item-description div {
	border-left: solid #6FA1E0 2px;
	padding-left: 7px;
}

td.content-top {
	border: 1px solid #ddd;
	vertical-align: top;
}

.bargain-list {
	margin: 0px;
	padding: 0px;
	text-indent: 0px;
	list-style: none;
}



.bargain-list li {
	/*width: 200px;*/
	min-height: 20em;
	
	display: -moz-inline-stack;
	display: inline-block;
	
	vertical-align: top;
	zoom: 1;
	*display: inline;

	_height: 20em;
	margin: 0px;


	padding: 0px;
	text-indent: 0px;
}

.bargain-item {
	float: left;

	/*width: 300px;*/

	margin: 0px 25px 4em 0px;
	padding: 10px;

	border-top: solid 1px #aaa;
	text-align: center;

	max-width: 20em;
}

.bargain-item:hover {
	background-color: #eee;
}


.bargain-item .code {
	margin: 0px;

	text-align: left;
	font-size: 130%;
	color: #666;
}


.bargain-item .image {
	margin: 10px 0px;
}



.bargain-item .description, .bargain-item .defect {
	text-align: left;
	margin: 0px -10px;
	background-color: #eee;
	padding: 10px;
	
	/*border-bottom: solid 1px #aaa;*/

}

/*.bargain-item .description:hover {
	background-color: #ddd;
}*/


.bargain-item .description {
	white-space: nowrap;
}

.bargain-item .defect {
	font-style: italic;

}


.bargain-item .cost {
	/*position: absolute;
	top: 0px;
	right: 0px;*/
	
	margin: 0.5em 0 0 0;

	/*border-top: solid 1px #6FA1E0;
	padding-top: 0.5em;
	/*font-weight: bold;*/
	font-size: 150%;
	text-align: left;
}

