@charset "windows-1251";

a:link {
	color: #CCC;
}
a:visited {
	color: #CCC;
}
a:active {
	color: #CCC;
}

body {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #000000;
	background-color: #546183;
	background-image: url(../img/bg.jpg);
	background-repeat: no-repeat;
	background-position: top;
}
.oneColFixCtrHdr #container {
	border: 0px none #000000;
	text-align: left; /* this overrides the text-align: center on the body element. */
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	background-color: #546183;
	width: 1201px;
}
.oneColFixCtrHdr #header {
	background-color: #DDDDDD;
	background-image: url(../img/header.jpg);
	background-repeat: no-repeat;
	width: 1201px;
	padding: 0;
	height: 388px;
}
.oneColFixCtrHdr #header h1 {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}
.oneColFixCtrHdr #mainContent {
	padding-top: 0;
	padding-right: 20px;
	padding-bottom: 0;
	padding-left: 20px;
	background-color: #546183;
	color: #FFF;
	width: auto;
	height: auto;
}
.oneColFixCtrHdr #footer {
	padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background:#DDDDDD;
}
.oneColFixCtrHdr #footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}#content_text {
	color: #FFF;
	width: 1000px;
	padding-left: 50px;
	left: 22px;
	font-size: 14px;
}
#page_contacts {
	color: #FFF;
	height: 190px;
	width: 250px;
	margin-left: 800px;
	position: absolute;
}
#main_menu {
	top: 0px;
	left: 0px;
}
#main_menu_2 {
	position: absolute;
	left: 863px;
	top: 1px;
}
#content_text_objects {
	color: #FFF;
	width: 1000px;
	padding-left: 70px;
	left: 22px;
	font-size: 14px;
}

// Gallery styling

div.navigation {
	/* The navigation style is set by a javascript generated style on the page.
	   This is so that the javascript specific styles won't be applied unless javascript is enabled. */
}
ul.thumbs {
	clear: both;
	margin: 0;
	padding: 0;
}
ul.thumbs li {
	float: left;
	padding: 0;
	margin: 5px 10px 5px 0;
	list-style: none;
}
a.thumb {
	padding: 2px;
	display: block;
	border: 1px solid #ccc;
}
ul.thumbs li.selected a.thumb {
	background: #000;
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
}

//Дополнительное оформление галлереи

div.content {
	/* The display of content is enabled by a javascript generated style on the page.
	   This is so that the slideshow content won't display unless javascript is enabled. */
	display: none;
	float:right;
	width:550px; 
}
div.content a, div.navigation a {
	text-decoration: none;
	color: #FFFFFF;
}
div.content  a:focus, div.content  a:hover, div.content  a:active {
	text-decoration: underline;
}
div.controls {
	margin-top: 5px;
	height: 23px;
}
div.controls a {
	padding: 5px;
}
div.ss-controls {
	float: left;
}
div.nav-controls {
	float: right;
}
.oneColFixCtrHdr #container #mainContent #content_text table tr td #thumbs .thumbs.noscript li .thumb center {
	font-size: 10px;
}
