/* Служебные дела и общие установки */

body {
	font: 80%/1.6 arial, helvetica, sans-serif;
	color: #C7CDD4;
	background: #041A36;
	padding: 0;
	margin: 0;
}

div#measurer {
	position: absolute;
	width: 100%;
	top: 0;
	height: 1px;
	line-height: 1px;
}

div#around {
	position: relative;
	min-height: 100%;
	min-width: 985px;
	max-width: 1400px;
}

* html div#around {
	height: 100%;
	width: expression(
	(
		document.getElementById('measurer')
		&& document.getElementById('measurer').clientWidth < 985
	)
	?	'985px'
	:	(
			document.getElementById('measurer')
			&& document.getElementById('measurer').clientWidth < 1400
		)
		?	'100%'
		:	'1400px'
);
}


a {
	color: #E1F02D;
	text-decoration: none;
}
.a0 {
    color: #E1F02D;
	font-size: 12px;
	font-weight: bold;
}
a:hover {
	color: #FFFFCC;
}


/* Логотип и верхнее меню */

#sup_header {
	height: 60px;
	border-bottom: 1px solid #D8E7FE;
}

#sup_header p {
	float: left;
	margin: 0;
	font-family: Times New Roman, Times, serif; font-size: x-large; font-style: italic;
	color: #FFFFFF;
	padding-top: 0.3em; padding-left: 1em;
}

#sup_header table {
	float: right;
	margin: 0;
}

#sup_header table td {
	border-left: #CCCCCC solid 1px;
	font-size: 11px;
	font-weight: bold;
	text-align: center;
	color: #97C4FD;
	line-height: 1.3em;
	vertical-align: middle;
	margin: 0; padding-left: 5px;
}

#sup_header table td a {
	color: #79A1D3;
}

#sup_header table td a:hover {
	color: #C7CDD4;
}

#sup_header table td a.zakaz {
	color: #FF9900;
}

#sup_header table td a.zakaz:hover {
	color: #FFCC00;
}


/* Шапка */

#header {
	top: 60px;
	height: 117px;
	margin-bottom: 10px;
	background: url(images/kf.PNG);/* url(images/diplom.jpg) left no-repeat;*/
	border-bottom: 1px solid #D8E7FE;
}
.elit {
	color: #FFFFFF;
}

#header h1 {
	margin: 0;
	font-family: Times New Roman, Times, serif; font-size: x-large;
	color: #FFFFFF; text-align: center; font-weight: lighter;
	padding-top: 0.7em;
}


/* Основной блок */

#content {
	background: #162A44 url(images/corner_1.gif) right top no-repeat;
	margin: 0;
	padding-top: 10px; padding-bottom: 10px;
}


/* Правое меню */

ul.menu {
	list-style: none;
	color: white;
	font-size: 12px;
	float: right;
	width: 20%;
	margin: 0;
	padding-top: 11px; padding-right: 11px;
}

ul.menu li {
	background: #304968 url(images/corner_tl_li.gif) top left no-repeat;
	border-bottom: 0.5em solid #162A44;
}

ul.menu li span {
	display: block;
	background: url(images/corner_tr_li.gif) top right no-repeat;
}
ul.menu li span span {
	background: url(images/corner_br_li.gif) right bottom no-repeat;
}
ul.menu li span span span {
	background: url(images/corner_bl_li.gif) bottom left no-repeat;
	margin: 0;
	padding: 0.7ex 1em;
}


/* Средняя колонка */

#bar {
	font-size: 12px;
	padding: 11px; padding-left: 0;
	width: 76%;
	height: 1000px;
	background: #203755 url(images/corner_2.gif) right top no-repeat;
}

* html #bar {
	padding: 11px; padding-left: 0;
}

#bar_menu {
	float: right;
	margin: 5px;
	width: 27%;
}

#bar_menu span {
	display: block;
	height: 121px;
	background: url(images/bg_pt_right.gif) right top no-repeat;
	color: #0000CC;
}

#bar_menu span span {
	display: block;
	background: url(images/bg_pt_left.gif) top left no-repeat;
	height: 121px;
}

#bar_menu span span img {
	float: left;
	margin: 20px; margin-right: 5px;
}

#bar_menu span span p {
	margin: 0;
	padding: 0;
	padding-top: 20px; padding-right: 5px;
}

p a {
	color: #000099;
}

p a:hover {
	color: #0033FF;
}

td p {
	margin: 10px 0;
}

a.btn {
	 background: url(images/btn.gif);
	 display: block;
	 margin-top: 20px;
	 padding-top: 30px;
	 width: 100px; height: 50px;
	 font-family: Arial, Helvetica, sans-serif; font-size: 14px;
	 text-align: center; text-decoration: none;
	 vertical-align: middle;
	 color: #000099;
}

a.btn:hover {
	 background-position: 0px -80px;
}


/* Белое текстовое поле */

#bar_content {
	float: left;
	width: 69%;
	background: #FFFFFF url(images/corner_3.gif) top right no-repeat;
	padding-bottom: 20px;
}

* html #bar_content {
	width: 70%;
}

#bar_content h1 {
	margin: 20px; margin-bottom: 10px;
	font-family: Times New Roman, Times, serif; font-size: large;
	color: #3333CC; font-weight: lighter;
}

#bar_content p {
	margin: 20px;
	margin-top: 0;
	margin-bottom: 5px;
	color: #333333;
}

#bar_content p strong {
	color: #0033CC;
}

#bar_content a {
	color: #000099;
	text-decoration:underline;
}
#bar_content a:hover {
	color: #0033FF;
	
}
#bar_content .a1 {
	color: #304968;
	font-weight: bold;
	font-size: 12px;
	text-decoration: none;
}
#bar_content .a0 {
    color: #E1F02D;
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
}
#bar_content .a1:hover {
	background-color:#FFFFCC;
	
}
#bar_content .a0:hover {
	background-color:#6DA6ED;
}


#bar_content ul {
	margin-right: 20px; margin-top: 5px;  margin-bottom: 5px;
	color: #333333;
}


/* Кнопки и поля */

input {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
}

input.bgr {
	background: #8fc1fe;
	color: #333333;
}

input.btn {
	margin-top: 5px;
	margin-bottom: 10px;
}


/* Фотоконкурс */

td#header_left, td#header_right {
	background: #8fc1fe;
	border: #FFFFFF solid 1px;
	color: #FFFFFF;
	padding: 0;
	
}

td#header_right {
	text-align: right;
	padding-right: 5px;
}

td#header_right a {
	color: #FFFFFF;
	text-decoration: underline;
}

td#header_left {
	text-align: left;
	padding-left: 5px;
}

td#main {
	border: #666666 solid 1px;
	color: #990000;
	padding: 5px;
}

td#main a {
	color: #000099;
	text-decoration: underline;
}

/* Блок с телефонами */

#phones {
	position: absolute;
	top: 60px; right: 0;
	width: 240px;
	height: 110px;
	font-size: 10px;
	text-align: right;
	color: #000033;
	padding-right: 20px; padding-top: 8px;
}

#phones a {
	color: #0000CC;
	text-decoration: underline;
	font-weight: bold;
}

#phones a:hover {
	color: #0066FF;
}


