@charset "utf-8";

* html #page {
	height: 100%;
}
#page {
	position: relative;
	min-height: 100%;
	width: 950px;
	margin: 0 auto;
	min-height: 100%;
	text-align: left;
	background-color: #ffffff;
}
/* HEADER */

#header {
	height: 220px;
	background-image: url(../images/header-bg.jpg);
	background-repeat: repeat-x;
	background-position: left bottom;
}
#header-left {
	height: 220px;
	width:486px;
	float:left;
	background-image: url(../images/header-01.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	margin:0;
	padding:0;
}
#header-right {
	height: 220px;
	float:right;
	width:250px;
	background-image: url(../images/header-03.jpg);
	background-repeat: no-repeat;
	background-position: left top;
}
#hl-buttons {
	text-align: left;
	vertical-align: bottom;
	height: 16px;
	margin-left:16px;
	margin-top:10px;
}
#hl-slogan {
	margin-top:129px;
	padding-right:3px;
	text-align:right;
	color:#84817f;
	font-family: Tahoma, Arial, sans-serif;
	font-size: 14px;
	font-weight: bold;
	line-height:normal;
}
#hr-buttons {
	text-align: right;
	vertical-align: bottom;
	height: 16px;
	margin-right:25px;
	margin-top:10px;
}
#hr-buttons img {
	margin-left: 6px;
}
#hr-phone {
	margin-left:82px;
	margin-top:26px;
	font-family: "Times New Roman", Times, serif;
	font-size: 24px;
	font-weight: bold;
	line-height:normal;
}
#hr-skype {
	margin-left:82px;
	margin-top:22px;
	font-family: "Times New Roman", Times, serif;
	font-size: 24px;
	font-weight: bold;
	line-height:normal;
}
#hr-icq {
	margin-left:82px;
	margin-top:28px;
	font-family: "Times New Roman", Times, serif;
	font-size: 24px;
	font-weight: bold;
	line-height:normal;
}
/* CONTENT */

#content {
	padding-bottom: 150px;
}
.menudiv_common {
	height:166px;
}
#menudiv {
	background-color: #b9171e;
	background-image: url(../images/menu-bg-center.jpg);
	background-repeat: repeat-x;
	background-position: left top;
	margin-left:-25px;
	margin-right: -25px;
}
#menudiv-left {
	background-image: url(../images/menu-bg-left.jpg);
	background-repeat: no-repeat;
	background-position: left top;
}
#menudiv-right {
	background-image: url(../images/menu-bg-right.jpg);
	background-repeat: no-repeat;
	background-position: right top;
	padding-right: 25px;
	padding-left: 25px;
	text-align: center;
	vertical-align: top;
}
/* FOOTER */

#footer {
	position: absolute;
	bottom: 0;
	margin-left:-25px;
	width: 1000px;
	color: #ffffff;
	background-color: #35312f;
	text-align: center;
}
#footer #footer-left {
	background-image: url(../images/footer-bg-left.jpg);
	background-repeat: repeat-y;
	background-position: left top;
}
#footer #footer-right {
	background-image: url(../images/footer-bg-right.jpg);
	background-repeat: repeat-y;
	background-position: right top;
}
.footer-top_common {
	height:23px;
}
#footer #footer-top {
	background-image: url(../images/footer-top-center.jpg);
	background-repeat: repeat-x;
	background-position: left top;
}
#footer #footer-bottom {
	padding-top:1em;
	padding-left:25px;
	padding-right:25px;
	padding-bottom:1.5em;
}
#fb-left {
	width: 40%;
	float:left;
	text-align: left;
}
#fb-right {
	float:right;
	width:59%;
	text-align:right;
	vertical-align:top;
}


/* Главное меню */
#topmenu {
	margin:0;
	padding:0;
	display:table-row;
	width:100%;
	line-height:normal;
}
.tm-level0 {
	display: inline;
	display:table-cell;
	margin:0;
	padding:0;
	height: 166px;
	text-align: center;
	background-repeat: no-repeat;
	background-position: center top;
}

.tm-level0 {
 //display:inline;
	zoom:1;
	vertical-align:top;
}
.tm-level0 a {
	color: white;
	display: block;
	text-decoration: none;
	padding-top:123px;
	font-size: 14px;
	width:150px;
}

.tm-level0 a:hover {
	text-decoration:underline;
}

/*Алерты*/
.alert-notice{
	background-color: #f2f2ff;
	background-image: url(../images/alert/notice.png);
	background-repeat: no-repeat;
	background-position: 10px center;
	min-height:68px;
	padding-left:70px;
	padding-top:1em;
	padding-bottom:1em;
	padding-right:10px;
	text-align: left;
	vertical-align: middle;
	border: 1px solid #ababce;
	margin-bottom: 1em;
	margin-left:auto;
	margin-right:auto;
	max-width:40em;
}

.alert-normal{
	background-color: #d1fb98;
	background-image: url(../images/alert/normal.png);
	background-repeat: no-repeat;
	background-position: 10px center;
	min-height:68px;
	padding-left:70px;
	padding-top:1em;
	padding-bottom:1em;
	padding-right:10px;
	text-align: left;
	vertical-align: middle;
	border: 1px solid #52c128;
	margin-bottom: 1em;
	margin-left:auto;
	margin-right:auto;
	max-width:40em;
}

.alert-warning{
	background-color: #ffffb2;
	background-image: url(../images/alert/warning.png);
	background-repeat: no-repeat;
	background-position: 10px center;
	min-height:68px;
	padding-left:70px;
	padding-top:1em;
	padding-bottom:1em;
	padding-right:10px;
	text-align: left;
	vertical-align: middle;
	border: 1px solid #a57508;
	margin-bottom: 1em;
	margin-left:auto;
	margin-right:auto;
	max-width:40em;
}

.alert-critical{
	background-color: #ffa586;
	background-image: url(../images/alert/critical.png);
	background-repeat: no-repeat;
	background-position: 10px center;
	min-height:68px;
	padding-left:70px;
	padding-top:1em;
	padding-bottom:1em;
	padding-right:10px;
	text-align: left;
	vertical-align: middle;
	border: 1px solid #b40d00;
	margin-bottom: 1em;
	margin-left:auto;
	margin-right:auto;
	max-width:40em;
}

/*Отладчик*/
#debug_area{
	margin-top:2em;
	width:95%;
	height:300px;
	font-family: "Courier New", Courier, monospace;
	font-size: 12px;
	background-color: #FCFCFC;
	border: 1px dashed #CCCCCC;
}
/* Special */
.clearer {
	clear: both;
	display: block;
	height: 1px;
	margin-bottom: -1px;
	font-size: 1px;
	line-height: 1px;
}
