body  {
    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: left; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	background:url(../img/main_background1.gif);
	background-repeat:no-repeat;
	background-position:center 0;
	background-attachment:fixed;
	color:#666;	
	font:12px/18px Tahoma, Arial, Helvetica, sans-serif;	

}

.thrColAbsHdr #container {
	position: relative; /* adding position: relative allows you to position the two sidebars relative to this container */
	margin:0 auto;
	width: 1128px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	~background: #FFFFFF; /* the auto margins (in conjunction with a width) center the page */
	text-align: left; /* this overrides the text-align: center on the body element. */
	
	margin-top: 10px;
	height: 960px;
}

.thrColAbsHdr #header { 
	height: 230px; /* Высота блока */
    border: 1px solid #c5c0c0; /* Параметры рамки */
    background: url(../img/header.jpg) 100% 100% no-repeat; /* Добавляем фон */
	background-repeat:no-repeat;
	background-position:center 0;
    background-size: cover; /* Масштабируем фон */
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
}

.thrColAbsHdr #sidebar1 {
	position: absolute;
	float:left;
	border: 1px solid #c5c0c0;
	top: 231px;
	width: 203px;
	
	left: 0;
	background:#FFFFFF;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
}

.thrColAbsHdr #sidebar2 {
	position: absolute;
	float:left;
	border: 1px solid #c5c0c0;
	top: 233px;
	right: -2px;
	width: 198px;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
}

.thrColAbsHdr #sidebarheader {
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	~display:block;
	background:#8087f1 url(../img/menu/menu_018_c.jpg) repeat-x left;
	color:#000;
	
	padding: 10px 5px 5px 5px;
}

.sidebarcont {
	background: #8087f1;
	padding: 10px;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
}

.thrColAbsHdr #mainContent {
	position: absolute;
	left:6px;
	top: 253px;
	float:left;
	height:689px;
	width: 720px;
	margin: 0 200px 0px 200px;
	border: 0 solid #dcc208; /*THEME CHANGE HERE*/
	border-left-width: 1px;
	border-right-width: 1px;
	overflow:auto;
	background:#FFFFFF;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
	color:#1A1A1A;
}

.thrColAbsHdr #mainContentText p{
	text-align: justify;
	padding-top: 5px;
	color:#1A1A1A;
	text-indent: 1.5em;
}

.thrColAbsHdr #mainContentText {
	margin-bottom: 25px;
	padding: 15px 30px 15px 50px;
}


.thrColAbsHdr #footer {
	position:	fixed;
	bottom: 0px;
	padding: 5px 15px 5px 15px; /* Поля вокруг текста */
	width: 690px; /* Ширина слоя */
	border: 1px solid #c5c0c0;
	background:#FFFFFF;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
	background-image:url(../img/bg_grey.png); /* Путь к фоновому рисунку */
    background-position: left bottom; /* Положение фона */
} 

.thrColAbsHdr #mainContentText ul {
	text-align: justify;
	color:#2C2C2C;
	margin-left: 15px;
	margin-top:5px;
	margin-bottom:5px;
}

.thrColAbsHdr #mainContentText h2, h3, h4, h5{
	color:#1A1A1A;
	margin-bottom: 5px;
}

.thrColAbsHdr td {
	padding: 1px 10 1px 15px;
	color:#1A1A1A;
	font-size: 14pt;
	text-align: left;
}


h1 {
	font-family:Tahoma, Arial, Helvetica, sans-serif;;
}

.themslist li {
	~margin-left: 50px;
	padding-top: 5px;
	font:16px/18px Georgia, "Times New Roman", Times, serif
	color:#000000;
	list-style:none;
}

.selectThems {
	margin-left:150px;
	width: 320px;
	padding: 5px;
	border: 1px solid #000;
}

.selectThems P { margin: 0 0 2px;}

.selectThems A {
	font-size:13px; 
	padding: 2px;
	display: block;
	border: 1px solid #fff;
	text-decoration: none;
}

.selectThems A:hover {
	background:#bfc3fc;
	color: #800000;
	border: 1px dashed #b6baf5;
}

.themHeader {
	margin-left:150px;
	width: 340px;
	padding: 5px;
	border: 1px groove #000;
}

.trborder {
	border: 1px solid #000000;
}

.trleftbord {
	border-left:1px solid #000000;
}

.trrightbord {
	border-right:1px solid #000000;
}
