/**
* Файл style_main.css - файл стилей (для сайта)
*
* @author Дмитрий Щербаков <info@atomcms.ru>
*/

/* НАЧАЛО - Очистка */
html {
	font-size: 100.01%;
}

#main-page {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 10pt;
	line-height: 1.2;
	/*background-image: url(pics/fon-dark.png); */
	background-color:black;
}

a img, :link img, :visited img {border: none;}
a.imglink:visited, a.imglink:link, a.imglink:active, a.imglink:hover {text-decoration: none; border: 0px;}
form label {cursor: pointer;}
fieldset {border: none;}
address, abbr {font-style: normal;}
h1, h2, h3, h4, h5, h6 {font-family: "Times New Roman";}
/* ОКОНЧАНИЕ - Очистка */

/* НАЧАЛО - Основные определенния */
body {
	background-color: #FFF;
	color: #000;
	margin: 0px auto;
	padding: 0px;
	position: relative;
	min-width: 1000px;
	width: expression(document.body.clientWidth < 1001 ? "1000px" : "auto");
}

acronym {
	border-bottom: #000 1px dotted; cursor: help;
}

a:visited, a:link {color:#303425;}
a:active, a:hover {color:#303425;}

.clear {clear: both;}
.left {float: left;}
.right {float: right;}
/* ОКОНЧАНИЕ - Основные определенния */

/* НАЧАЛО - Страница с ошибками и блокировкой сайта */
#err-title, #err-footer {
	padding-top: 100px;
	text-align: center;
}

#err-left-block {
	float: left;
	height: 180px;
	padding: 50px 50px 0px 100px;
	position: relative;
}

#err-right-block {
	height: 180px;
	padding-top: 50px;
	position: relative;
}
/* ОКОНЧАНИЕ - Страница с ошибками и блокировкой сайта */

/* Основа - НАЧАЛО */
#all {
	margin: 0;
	padding: 0;
}
/* Основа - КОНЕЦ */

/* Шапка - НАЧАЛО */
#header {
	background-color: #DEDEDE;
	border: 5px silver solid;
	padding: 20px;
	font-size: 16pt;
	color: gray;
}
/* Шапка - КОНЕЦ */

/* Меню - НАЧАЛО */
#menu {
	background-color: #F2F2F2;
	border: 5px silver solid;
	padding: 10px 20px;
	font-weight: bold;
}
/* Меню - КОНЕЦ */

/* Основная часть - Контент - НАЧАЛО */
#content {
	border-left: 5px silver solid;
	border-right: 5px silver solid;
	padding: 20px;
}
/* Основная часть - Контент - КОНЕЦ */

/* Подвал - НАЧАЛО */
#footer {
	background-color: #DEDEDE;
	border: 5px silver solid;
	text-align: right;
	font-size: 8pt;
	color: gray;
	padding: 5px;
}
#layer-top {
/*height:160px;*/
height:267px;
width:100%;
background-image: url(pics/fon-top.jpg);
background-position:center top;
/*position:relative;*/
/*border-bottom:1px solid #313229; */
}
#main-logo {
position:relative;
margin-top:-163px;
height:250px;
overflow:visible;
left:50%;
margin-left:-200px;
display:block;
width:400px;
/*background: url(pics/head.png) center no-repeat transparent;
_background: none transparent;
_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='pics/head.png', sizingMethod='crop');*/
}
#logo-content {
position:static;
height:250px;
display:block;
width:400px;
background: url(pics/head.png) center no-repeat transparent;
/*_background: none; 
_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='templates/normal/pics/head.png', sizingMethod='scale');*/
}
#layer-top-img {
}
#layer-center {
width:100%;
border-bottom:1px solid #313229;
overflow:visible;
position:relative;
background-image: url(pics/shad.png);
background-position:bottom;
background-repeat:repeat-x;
_background: none repeat-x bottom transparent;
/*_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='templates/normal/pics/shad.png', sizingMethod='crop');*/
}
#layer-center-shad1 {
/*border-top: 1px solid #131b11;*/
/*border-bottom: 1px solid #131b11;*/
background-image: url(pics/fon.jpg);
background-position:center top;
position:relative;
overflow:visible;
}
#layer-center-shad2 {
background: url(pics/line.gif) top no-repeat;
position:static;
}
#menu-center {
font-family:Georgia, "Times New Roman", Times, serif;
font-size:14pt;
font-style:italic;
width:1000px;
height:25px;
padding-top:20px; 
left:50%;
margin-left:-500px;
text-align:center;
position:relative;

/*position:absolute;*/
}
#menu-center a {
padding:0 5pt;
text-decoration:none;
color:#ffcc99;
cursor:pointer;
}

#menu-center a:hover, #menu-center a.menu_activ {
padding:0 5pt;
text-decoration:none;
color:#ffffcc;
cursor:pointer;
}
#layer-center-content {
/*height:230px;
width:510px;
margin:40px auto 60px auto;*/
height:304px;
width:580px;
margin:6px auto 40px auto;
position:relative;
}
#layer-center-container {
position:relative;
width:580px;
height:304px;
}
#fade-1 {
_display:none;
}
.layer-center-container-fade {
position:absolute;
overflow:hidden;
padding:46px 0 0 45px;
}
.layer-center-container-fade-0 {
position:absolute;
overflow:hidden;
_display:none;
}
.layer-center-container-fade img{
width:490px;
height:210px;
display:block;
padding:0;
}
#layer-center-window {
width:930px;
margin:40px auto 60px auto;
position:relative;
}
#window-border-1 {
/*padding:35px 0 0 0; */
background: url(pics/border-top.png) center top no-repeat;
height:35px;
width:100%;
overflow:hidden;
}
#window-border-2 {
/*padding:0 0 35px 0;*/
background: url(pics/border-bottom.png) center bottom no-repeat;
overflow:hidden;
height:35px;
}
#window-border-3 {
padding:0 10px;
background: #fff url(pics/border.jpg) top left repeat-y;
_background: transparent url(pics/border.jpg) top left repeat-y;
overflow:visible;
position:relative;
}
#window-content {
padding: 0 28px;
font-family:Verdana, Geneva, sans-serif;
position:relative;
_height:100%;
/*border:1px solid red;*/

}
#window-content h1 {
font-family:Arial, Helvetica, sans-serif;
font-size:18pt;
font-weight:normal;
padding:0.5em 0;
margin:0;
line-height:100%;
border:0;
outline:0;
vertical-align:baseline;
background:transparent;
}
#window-content p {
padding:0.5em 0;
font-size:10pt;
line-height: 1.8;
font-weight:550;
margin:0;
}
#layer-footer-border {
width:100%;
height:11px;
background-image: url(pics/bottom-border.jpg) no-repeat;
background-position:center top;
}

#layer-footer {
	width:100%;
	height:155px;
	padding-top:10px;
	color:#73765c;
	text-align:center;
	font-family:Georgia, "Times New Roman", Times, serif;
	background-image: url(pics/fon-dark.jpg);
	background-position:center;
	line-height:100%;
	border-bottom:1px solid #313229;
}

a.footer-link:visited, a.footer-link:link, a.footer-link:active, a.footer-link:hover { color: #73765c; text-decoration: none; }

#layer-footer img {
	display:inline;
	vertical-align:text-bottom;
}

#layer-footer-1 {
	width:1000px;
	margin:0 auto 0 auto;
	height:25px;
	margin:
}
#layer-footer-2 {
width:1000px;
margin:30px auto 0 auto;
height:20px;
color:#73765c;
}
#layer-footer-3 {
width:1000px;
margin:15px auto 0 auto;
height:20px;
}

#footer-otdel {
font-style:italic;
font-size:12pt;
padding-right:10px;
}
#footer-tel {
font-style:italic;
font-size:18pt;
padding-right:100px
}
#footer-zastr {
font-style:italic;
font-size:12pt;
padding-right:10px;
}
#footer-com {
font-family: Tahoma, Comic Sans MS;
font-style:normal;
font-size:10pt;
}
/* Подвал - КОНЕЦ */

/*##################################################################*/
/*#################### РАЗЛИЧНЫЕ КЛАССЫ СИСТЕМЫ ####################*/
/*##################################################################*/
#content .kroshki-hleba {
	font-size: 9pt;
	font-weight: bold;
	line-height: 1.2;
	margin-top: 0px;
	text-align: left;
}

#content a.kroshka:visited, a.kroshka:link {
	text-decoration: none;
	border: 0px;
}

#content a.kroshka:active, a.kroshka:hover {
	text-decoration: none;
	border: 0px;
}

#content .desc {
	font-size: 8pt;
	padding: 5px;
	margin-bottom: 10px;
	margin-left: 30%;
	margin-top: 10px;
	border: 2px #777 dotted;
}

#content .sys-table {
	border: 0px;
	border-collapse: collapse;
	width: 100%;
}

#content .sys-table td {
	padding-bottom: 50px;
}

#content .sys-title {
	font-size: 10pt;
	font-weight: bold;
}

#content .sys-info {
	font-size: 8pt;
	font-weight: normal;
}

#content .sys-text {
	margin: 0px;
	padding: 0px;
	padding-top: 5px;
}
.sys-text-project {
	margin: 0px;
	padding: 20px 0px;
}
.sys-text-project a {
text-decoration:none;
}

#content ul.sys-ul-main {
	margin: 5px 0px 0px 20px;
}

#content ul.sys-ul-sub {
	margin: 5px 0px 0px 50px;
}

p.sys-top-links {
	font-size: 8pt;
	text-align: right;
}





#content .required {
	color: #FF0000;
}

#content .link-panel {
	margin-bottom: 20px;
}

#content .link-panel p {
	margin: 0px;
	padding: 0px;
	margin-top: 10px;
}

#content .link-panel a:visited, #content .link-panel a:link {
	background-color: #CDE4F1;
	border: 1px solid #000;
	color: #000;
	padding: 0px 2px 0px 2px;
	text-decoration: none;
}

#content .link-panel a:active, #content .link-panel a:hover, .link-panel-active {
	background-color: #FFF;
	border: 1px solid #000;
	color: #000;
	padding: 0px 2px 0px 2px;
	text-decoration: none;
}

/* НАЧАЛО - Страница с блокировкой сайта и страница с ошибками */
#err-title {
	padding: 10px;
	color: #fff;
	font-weight: bold;
	font-size: 16pt;
	text-align: left;
}

#err-msg {
	margin-top: 50px;
	color: #000;
	font-weight: bold;
	font-size: 12pt;
	text-align: center
}

#err-msg-block {
	margin-top: 50px;
	color: #000;
	font-weight: bold;
	font-size: 10pt;
	text-align: center
}

#err-message {
	color: #ff0000;
	font-weight: bold;
	font-size: 12pt;
	text-align: center
}
/* ОКОНЧАНИЕ - Страница с блокировкой сайта и страница с ошибками */

/* НАЧАЛО - Классы для определенных элементов HTML */
select.sel-normal {
	background-color: #CDE4F1;
	border: 1px #000 solid;
}

textarea.textarea-full {
	background-color: #CDE4F1;
	height: 100px;
	width: 630px;
	border: 1px #000 solid;
}

input.edit-full {
	background-color: #CDE4F1;
	width: 630px;
	border: 1px #000 solid;
}

input.edit-normal {
	background-color: #CDE4F1;
	border: 1px #000 solid;
}

input.check-normal {
	background-color: #CDE4F1;
	border: 1px #000 solid;
}

input.button-full {
	background-color: #CDE4F1;
	font-weight: bold;
	width: 630px;
	border: 1px #000 solid;
	margin-top: 5px;
	cursor: pointer;
}

input.button-normal {
	background-color: #CDE4F1;
	font-weight: bold;
	border: 1px #000 solid;
	margin-top: 5px;
	cursor: pointer;
}
/* ОКОНЧАНИЕ - Классы для определенных элементов HTML */

/* НАЧАЛО - Классы для календаря DatePicker */
a.dp-choose-date {
	float: left;
	width: 16px;
	height: 16px;
	padding: 0;
	margin: 5px 3px 0;
	display: block;
	text-indent: -2000px;
	overflow: hidden;
	background: url(pics/calendar.png) no-repeat;
}

a.dp-choose-date.dp-disabled {
	background-position: 0 -20px;
	cursor: default;
}

input.dp-applied {
	width: 140px;
	float: left;
}
/* ОКОНЧАНИЕ - Классы для календаря DatePicker */



















#subpage-content p.title {
	font-weight: bold;
	padding-left: 50px;
}

#subpage-content td {
	border: 0px solid #000;
}

/* НАЧАЛО - Настройки шрифта для текста ошибок либо предупреждений */
#error {
	color: #FF0000;
	font-size: 8pt;
}
/* ОКОНЧАНИЕ - Настройки шрифта для текста ошибок либо предупреждений */

/* НАЧАЛО - Цвета строк для чередования */
.light {
	background-color: #E8E8E8;
}

.dark {
	background-color: #CDE4F1;
}
/* ОКОНЧАНИЕ - Цвета строк для чередования */

