div.clear {clear:both; height:0; font-size:0; line-height:0; margin:0; padding:0;}
* {margin:0; padding:0; }
*:focus {outline:none; }

img.tmp {color: black; background-image: url(../img/def/mask.gif)}
body {
	color:#333;
	background:#fff url(../img/bg-body.jpg) center repeat-y;
	font-family:Tahoma, Arial, Helvetica, sans-serif;
}

body,
table {font-size:100.01%; }

table {border-collapse:collapse; }

img {border:0; }

h1, h2, h3, h4, h5, h6 {
	font-weight:bold;
	color:#096;
}
h1 {font-size:3em; }
h2 {font-size:2em; margin:10px 0 20px 0; }
h3 {font-size:1.16em; margin:28px 0 15px 0; }
h4 {font-size:1em; margin:15px 0 2px 0; }
h5 {font-size:1em; }
h6 {font-size:1em; }

p {margin-bottom:1em; }
p.title {
	font-weight:bold;
	font-style:italic;
}
p img {
	float:left;
	margin:5px 15px 5px 0;
}



#primary ul,
#primary ol {
	margin:1em 0 1em 20px;
}
#primary ul {list-style:disc; }
#primary ul.em {font-style:italic; }
#primary ul.dark {color:#666; }
#primary ul.links {
	background:#E8EEF2;
	color:#1188FF;
	margin:1em 0 1em 0;
	padding:5px 10px 5px 25px;
	line-height:1.5em;
}
/* переопределяем стиль галереи */
#primary #gallery2_block div.l {margin-left:2px; }
#primary #gallery2_block div.l * {font-size:11px; }
#primary #gallery2_block div.l a.img {margin-bottom:10px; background:none; border:1px solid #d9f8cc;}

a {color:#096; text-decoration:underline; }
a:hover {text-decoration:none; }
a:visited {color:#800080; }

/*в этих блоках не работает псевдо класс :visited*/
#statusbar a,
#pages a {color:#18AD4D; }


.cpl_text table{
	width:100%;
	margin:0.5em 0 1em 0;
	background:#F0F0F0;
	color:#000;
}
.cpl_text table th,
.cpl_text table td,  {
	border:1px solid #fff;
	padding:5px 13px;
	width:25%;
}
.cpl_text table th {text-align:left; font-weight:normal; }
.cpl_text table td {text-align:center; }
.cpl_text table thead td {
	padding:13px 10px;
	background:#ED7200;
	color:#fff;
}


.relative {position:relative; }
.container {overflow:hidden; }

#background {
	background:url(../img/bg-background.jpg) center top no-repeat;
}

#main {
	position:relative;
	width:960px;
	margin:0 auto;
	font-size:0.75em;
}

#header {
	position:relative;
	height:125px;
	background:white url(../img/bg-header.jpg) bottom repeat-x;
}

#logo-wrapper {
	position:absolute;
	top:0;
	left:0;
	width:383px;
	height:157px;
	background:url(../img/bg-logo-wrapper.png) no-repeat;
}
* html #logo-wrapper {background-image:none; /*filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/bg-logo-wrapper.png', sizingMethod='scale'); */}
#logo-wrapper .bg {
	width:383px;
	height:177px;
	background:url(../img/bg-logo-wrapper.gif) bottom no-repeat;
}
#logo {
	position:absolute;
	top:10px;
	left:53px;
}

#service-menu {
	position:absolute;
	left:50px;
	top:130px;
	font-size:0.83em;
	color:#B7D9BD;
}
#out-links {
	float:right;
	padding:10px 18px 10px 0;
	font-size:0.83em;
}
#out-links a:visited,#service-menu a:visited {
    color: #009966;
}

#out-links a, #service-menu a, #service-menu span {margin-left:6px; }

#search {
	position:absolute;
	top:42px;
	right:18px;
	text-align:right;
}
#search form {
	display:inline;
}

#search * {vertical-align:middle; }
#search select {
	width:131px;
	margin-right:20px;
}
#search input.text {
	width:118px;
	margin-right:5px;
}

#menu {
	position:absolute;
	top:80px;
	left:401px;
	height:39px;
	margin:0;
	list-style:none;
}
#menu li {
	float:left;
	width:136px;
	height:39px;
	text-indent:-9999px;
}
#menu a,
#menu span {
	display:block;
	height:39px;
	background:url(../img/bg-menu.gif) no-repeat;
}

#menu #m-about a {background-position:0 0; }
#menu #m-buyer a {background-position:-136px 0; }
#menu #m-partner a{background-position:-272px 0; }
#menu #m-work a {background-position:-408px 0; }
#menu #m-about a:hover, #menu #m-about span {background-position:0 -39px; }
#menu #m-buyer a:hover, #menu #m-buyer span {background-position:-136px -39px; }
#menu #m-partner a:hover, #menu #m-partner span {background-position:-272px -39px; }
#menu #m-work a:hover, #menu #m-work span {background-position:-408px -39px; }


#content {
	min-height:500px;
	_height:500px;
	background:url(../img/bg-content.jpg) top right no-repeat;
/*	overflow-x:hidden;*/
	padding:70px 0px 0px 0px;
	clear: both;
}

#secondary {
	float:left;
	padding:0 0px 0 10px;
}
#secondary .box {margin-bottom:20px; }

#submenu {
	margin:0 0 19px 0;
	list-style:none;
	width:180px;
}

#submenu li {margin-bottom:1px; }

#submenu a,
#submenu span {
	display:block;
	width:156px;
	padding-left:24px;
	height:21px;
	background:url(../img/bg-submenu.gif) 0 -21px no-repeat;
	line-height:21px;
	color:#fff;
	font-weight:bold;
	text-decoration:none;
}
#submenu a:hover,
#submenu span,
#submenu a.active {background-position:0 0; }


#primary {
	float:left;
	padding:0 0 20px 20px;
	width:560px;
}

#statusbar {
	color:#18AD4D;
	margin-bottom:10px;
}


#primary #gallery {
	width:625px;
	list-style:none;
	margin:0 0 0 -10px;
	text-align:center;
}
* html #content #gallery {margin-left:-20px; }
#gallery li {
	float:left;
	width:180px;
	margin-left:10px;
	height:250px;
	overflow:hidden;
}
#gallery div {
	width:178px;
	height:165px;
	overflow:hidden;
	border:1px solid #D9F8CC;
	padding-top:13px;

}

#gallery p {
	font-size:0.8em;
	margin:5px 0 0 0;
}

#pages {position:relative; width:100%; height:30px; margin:2em 0; font-size:0.9em; }
#pages .center {text-align:center; }
#pages .left {position:absolute; top:0; left:0; }
#pages .right {position:absolute; top:0; right:0; }


#footer {
	position:relative;
	width:960px;
	height:139px;
	background:#10A945 url(../img/bg-footer.gif) no-repeat;
	color:#fff;
	clear: both;
}

#copy {
	position:absolute;
	top:58px;
	left:25px;
	font-size:0.9em;
}
#copy .i-partner {font-size:0.9em; }
#copy .i-partner,
#copy .i-partner a {color:#9FF6DB; }


#bottom-menu {
	position:absolute;
	top:58px;
	right:25px;
	text-align:right;
	font-size:0.9em;
}
#bottom-menu a,#bottom-menu span {color:#fff; margin-left:25px; }

ul.map {margin: 0 2em;}
ul.map li {margin: 0 2px; list-style-type:disc; }
ul.map li li {list-style-type:circle; }
ul.map li li li {list-style-type:square; }

.links {
    width:100%;
	border-bottom: 1px solid #d5d5d5;
	font-size: 12px;
}
.links-img {
	float:left;
	padding:0;
	text-align: center;
}

.links-img img {
	margin:0 15px 5px 0;
	padding:0;
}

.links-text {
	padding: 30px 0 0 20px;
}
.links-text a {
	font-weight:bold;
}
.links-text div {
	margin-bottom:10px;
}

/* FEEDBACK */
#cpl_feedback {}
	#cpl_feedback input.text {border:1px solid #6391b5; background:#f5f5f5; width:300px}
	#cpl_feedback textarea {border:1px solid #6391b5; background:#f5f5f5; width:300px; height:100px}
	#cpl_feedback select {border:1px solid #6391b5; background:#f5f5f5; width:305px;}
	#cpl_feedback div.send {padding-top:20px;}

#primary #cpl_downloads ul li {background-position:0px 0px; padding:5px 40px; background-image:url(../img/doc.gif)}

#div4auth {
	text-align:left;
	font-size: 12px;
	width:400px;
	margin:0px 0px 10px 0px;
}

#div4auth p{
	text-align:left;
	font-size: 12px;
	color:#096;
	font-weight:bold;
	width:400px;
}

#div4auth a {font-weight:bold;}

#input4auth {
	display:block;
	width:250px;
	clear:none;
	float:left;
	height:20px;
	padding:2px 0px 0px 0px;
	border:1px solid #ed7200;
}
#button4auth {
	display:block;
	clear:none;
	float:left;
	margin:0px 0px 0px 10px;
}

#error_msg {
	padding:0px 0px 5px 0px;
	display:block;
	font-weight:bold;
}
