body {
/*	background:url(../images/container_bg.jpg) repeat center top transparent; */
	background-color: #CED0D0;
	font-family: Timew New Roman, sans-serif;
	margin: 0;
	margin-bottom: 50px;	
	padding: 1px 1px;
	/* font-size: 100%; */
}

html,body{
height:100%;
margin:0px;
padding:0px
}

#logo {
	margin: 0px;
	padding: 0px;	
}
#logo table {
	border-bottom: 2px solid #000;
	padding: 0px;
	margin: 0px;
	width: 100%;	
}
#text-logo {
	vertical-align: top;
	width: 100%;
	margin: 0;	
}
#text-logo h1, h2, h3{
	margin: 0;	
}

#text-logo h1, h2, h3{
	text-align: center;
	vertical-align: top;	
}

#text-logo h3{
	color: #7C7C7C;
	font-style: italic;
/*	padding: 5px 330px;	
	padding: 5px 50px;	*/
	padding: 5px 0px;	

}

#image-logo {
	background: url('../images/F45_logo_3_1.jpg') no-repeat scroll center center rgba(0, 0, 0, 0);	
    display: table;
    height: 100px;
    width: 164px;
}

.text p {
/*	color: red;						цвет шрифта	*/
/*	font-weight: bold;				жирный шрифт	*/
/*	font-style: italic;				курсив	*/
/*	line-height: 150%;				межстрочный интервал	*/
/*	text-decoration: underline;		подчеркивание	*/
/*	background-color: #0f0;			цвет фона	*/
	text-indent: 30px;				/*размер абзаца	*/
	text-align: justify;			/*выравнивание по ширине*/
	margin: 0;						/*убираем интервалы между абзацами*/
}


p span {
	font-weight: bold;				/*жирный шрифт */
}



.clear {
	clear: both;
}

.right {
	text-align: right;
}

.left {
	text-align: left;
}

.center {
	text-align: center;
}

#header  {
	text-align: center;
	margin: 50px 0px 10px 0px ;
}

#main_content {
	min-height: 370px;
}

#left, #right {
	min-height: 450px;
	margin: -5px;
	padding: 0px 0px;
/*	width: 200px;*/
	width: 15%;
}

#left {
/*	border-right: 1px solid #000;*/
	float: left;		/*	обтекание слева	*/
/*	border-radius: 7px;		закругленные углы */
}

#right {
/*	border-left: 1px solid #000;		рамка слева сплошная черная	*/
	float: right;
}

#center {
	border-left: 1px solid #000;
	border-right: 1px solid #000;
	margin: 0 190px;
	padding: 0 10px;
}

#center h1{
	margin: 0;
	text-align: center;
}

hr {
	margin: 0;
}

.banner {
	border: 1px solid #000;
	margin: 10px auto 0;
	width: 200px;
}

.no_graf {						/* строка с номерами граф */
	/* font-size: 85%; */
	background: #d1d3d3;
	text-align: center;
	border-left: 1px solid #000;	
}

.graf{
	text-align: center;
	font-size: 100%;
	border-left: 1px solid #000;
}

#mytable{
	margin: auto;
	text-align: center;	
}

#mytable TABLE{
	background: #E8EAEA;	/* Цвет фона таблицы */
	border: 5px double #000;	/* Рамка вокруг таблицы */
	margin: 20px auto;
	text-align: left;
	width: 40%;
	/* width: 80%; */
}
			
#mytable TD, TH {
	border: 1px solid #fff;	/* Рамка вокруг ячеек */
	padding: 5px;	/* Поля вокруг текста */
}



#prim{
	margin: 20px 3px;
	text-align: left;	
}

#prim TABLE {
	background: #CED0D0;
	border: 2px double #fff;	/* Рамка вокруг таблицы */
	width:	auto;
	margin: auto;
}
			
#prim TD, TH {
	padding: 5px;	/* Поля вокруг текста */
}

#data_avtomat{
	position: fixed;
	top: 100px;
	left: 100px;
}

#mess{
	text-align: center;
	margin: 0;
	padding: 0;
}

#mess TABLE{
	text-align: center;
	height: 80px;
	background: #ffffcc;
	padding: 10px;
	border: 1px solid #fff;
	width: 80%;
	margin-left:150px;
}

.zvezda{
	color: #CC0000;
}


.but_menu{
	position: fixed;
	top: 50px;
	left: 15px;
}

.button {
	margin: 0px;
	padding: 0px;
}

button img {
	margin: 0px;
	padding: 0px;
	vertical-align: middle;
	width: 100%;
}

.but1{
	position: fixed;
	top: 200px;
	left: 15px;
}
.but2{
	position: fixed;
	top: 300px;
	left: 15px;
}
.but3{
	position: fixed;
	top: 400px;
	left: 15px;
}
.but4{
	position: fixed;
	top: 500px;
	left: 15px;
}
.but5{
	position: fixed;
	top: 600px;
	left: 15px;
}
.but6{
	position: fixed;
	top: 700px;
	left: 15px;
}


.child_list {
	/* font-size: 80%; */
	list-style: none;	/* убираем точки у списка */
/*	margin: 20px 20px 0px 20px;*/
	margin: 20px 20px 0;
	padding: 0;
	text-align: center;	
}
.title a {
	background-color: #E8EAEA;
    border: 3px solid #3E4547;	
    box-shadow: 2px 2px 8px #000000; /* тень блока */
	color: #000;
	display: block;
	padding: 5px 5px;		/* выравнивание надписи на блоке */
	text-decoration: none;	/* убираем подчеркивание ссылок */
}


#image {
	margin: 0px;
	padding: 0px;
	width: 96%;
}


#block_date {
	padding-top: 15px;
}

.filter {
	background: #E8EAEA;
	border: 1px solid #000;	/* Рамка вокруг таблицы */
	margin: 5px auto;
	width: 50%;
}

.filter  div{
	margin: 5px 0px;
	text-align: center;
}

.prim_otm {						/* отметки в ячейках таблицы */
	float: right;
}

#sortirovka {
	position: fixed;
	top: 180px;
	left: 15px;
	background: #ccc;
	padding: 5px;
	float: left;
	background-color: #E8EAEA;
    border: 3px solid #3E4547;	
    box-shadow: 2px 2px 8px #000000; /* тень блока */
	color: #000;
	display: block;
	width: 130px;	
}
#sortirovka div{ 
	text-align: center;
}

.classover{
	background-color:#d1d3d3 /* цвет активной строки таблицы */
}

.classout{
	background-color:#E8EAEA
}



#footer {
	position: fixed; /* Фиксированное положение */
	left: 0; bottom: 0; /* Левый нижний угол */
	padding: 0px; /* Поля вокруг текста */
	background: #c5c7c7; /* Цвет фона */
	color: #f3f3f3; /* Цвет текста */
	text-align: center;
	width: 100%; /* Ширина слоя */
}


.panel {
/* 	position: fixed;
	top: 180px;
	left: 15px; */
	background: #ccc;
	padding: 5px;
	/* float: right; */
	background-color: #E8EAEA;
    border: 3px solid #3E4547;	
    box-shadow: 2px 2px 8px #000000; /* тень блока */
	color: #000;
	display: block;
	width: 25%;
	margin: 10px;	
}


/****************************************************
/*** Стили относящиеся к модальному окну и содержанию ***/
.popup h1 { /* заголовок 1 */
	color: #008000;
	text-shadow: 0 1px 3px rgba(0,0,0,.3);
	font: 100% 'Trebuchet MS', Helvetica, sans-serif;
	/* font-weight: bold; */
}
.popup h2 { /* заголовок 2 */
	color: #008000;
	text-shadow: 0 1px 3px rgba(0,0,0,.3);
	font:22px 'Trebuchet MS', Helvetica, sans-serif;
}
.popup input {
	margin: 10px 0px;
}

.popup_input {
	margin-left: 0%;
	text-align: center;
	width: 100%;
}

/* Базовые стили слоя затемнения и модального окна  */
.overlay {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	visibility: hidden;
	/* фон затемнения */
	background-color: rgba(0, 0, 0, 0.7);
	opacity: 0;
	position: fixed; /* фиксированное поцизионирование */
	cursor: default; /* тип курсара */
	-webkit-transition: opacity .5s;
	-moz-transition: opacity .5s;
	-ms-transition: opacity .5s;
	-o-transition: opacity .5s;
	transition: opacity .5s;
}
.overlay:target {
	visibility: visible;
	opacity: 1;
}

/* стили модального окна */
.popup {
	right: 0;
	left: 0;
	font-size: 150%;
	z-index: 10;
	display: block;
	visibility: hidden;
	margin: 0 auto;
	width: 90%;
	min-width: 320px;
	max-width: 670px;
	/* фиксированное позиционирование, окно стабильно при прокрутке */
	position: fixed;
	padding: 15px;
	/* border: 1px solid #383838; */
	/* скругление углов */
	-webkit-border-radius: 4px;
	border-radius: 4px;
	-ms-border-radius: 4px;
	border-radius: 4px;
	/* background-color: #FFFFFF; */
	/* внешняя тень */
	-webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
/* 	box-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.8); */
	-o-box-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
	box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.8);
	/* полная прозрачность окна, появление при клике */
	opacity: 0;
	/* эффект перехода (появление) */
	-webkit-transition: all ease .5s;
	-moz-transition: all ease .5s;
	-ms-transition: all ease .5s;
	-o-transition: all ease .5s;
	transition: all ease .5s;
	background: #ccc;	
	background-color: #E8EAEA;
    border: 3px solid #3E4547;	
    box-shadow: 2px 2px 8px #000000; /* тень блока */
	color: #000; top: 20%;
	text-align: center;
	
}
.overlay:target+.popup {
	top: 20%;
	visibility: visible;
	opacity: 1;
}










#nav {
    border:3px solid #3e4547;
	text-align: left;
    box-shadow:2px 2px 8px #000000;
    border-radius:3px;
/*    -moz-border-radius:3px;	*/
    -webkit-border-radius:3px;
}
#nav, #nav ul {
    list-style:none;
    padding:0;
    /* width:200px; */
    width:	650px;	/*    ширина меню	*/
}
#nav ul {
    position:relative;
    z-index:-1;
}
#nav li {
    position:relative;
    z-index:100;
}
#nav ul li {
    /* margin-top:-23px; */
    margin-top:-142px;	/*    перекрываем высоту подменю	*/

    -moz-transition:  0.4s linear 0.4s;
    -ms-transition: 0.4s linear 0.4s;
    -o-transition: 0.4s linear 0.4s;
    -webkit-transition: 0.4s linear 0.4s;
    transition: 0.4s linear 0.4s;
}
#nav li a {
    background-color:#d4d5d8;
    color:#000;
    display:block;
    /* font-size:12px; */
    font-size:60px;	/*    размер шрифта меню	*/
    font-weight:bold;
	/* line-height:28px;	 */
	line-height:140px;		/*    высота пункта меню	*/	
    outline:0;
    padding-left:15px;
    text-decoration:none;
	
}
#nav li a.sub {
    background:#d4d5d8 url("../images/down.gif") no-repeat;
}
#nav li a + img {
    cursor:pointer;
    display:none;
    /* height:28px; */
    height:140px;
    left:0;
    position:absolute;
    top:0;
    width:650px;
}
#nav li a img {
    border-width:0px;
    height:70px;/*    высота картинки	*/
    line-height:140px;
    margin-right:8px;
    vertical-align:middle;
    width:70px;/*    ширина картинки	*/
}
#nav li a:hover {
    background-color:#bcbdc1;
}
#nav ul li a {
    background-color:#eee;
    border-bottom:1px solid #ccc;
    color:#000;
    /* font-size:11px; */
    font-size:60px;	/*    высота шрифта подпункта меню	*/
    /* line-height:22px; */
    line-height:140px;	/*    высота подпункта меню	*/

}
#nav ul li a:hover {
    background-color:#ddd;
    color:#444;
}
#nav ul li a img {
    background: url("../images/bulb.png") no-repeat;
    border-width:0px;
    height:70px;
    line-height:22px;
    margin-right:5px;
    vertical-align:middle;
    width:70px;
}
#nav ul li:nth-child(odd) a img {
    background:url("../images/bulb2.png") no-repeat;
}
#nav a.sub:focus {
    background:#bcbdc1;
    outline:0;
}
#nav a:focus ~ ul li {
    margin-top:0;

    -moz-transition:  0.4s linear;
    -ms-transition: 0.4s linear;
    -o-transition: 0.4s linears;
    -webkit-transition: 0.4s linears;
    transition: 0.4s linear;
}
#nav a:focus + img, #nav a:active + img {
    display:block;
}
#nav a.sub:active {
    background:#bcbdc1;
    outline:0;
}
#nav a:active ~ ul li {
    margin-top:0;
}
#nav ul:hover {
    display:block;
}

#doc_time{
	color: #000;
	font-size: 80%;
	padding: 5px 10px 5px 0;
	position: relative;
	text-align: right;
}

/*——стили для кнопок вверх/вниз——*/
.up {
	position: fixed;
	/* width: 64px; */
	right: 10px;
	bottom: 210px;
	z-index: 10;
}
.down {
	position: fixed;
	/* width: 64px; */
	right: 10px;
	bottom: 115px;
	z-index: 10;
}
.up img {
	opacity: 0.6; /*степень прозрачности кнопок до наведения курсора*/
}
.up img:hover{
	cursor: pointer;
	opacity: 1;
	filter: alpha(opacity=100);
}


.down img {
	opacity: 0.6; /*степень прозрачности кнопок до наведения курсора*/
}
.down img:hover{
	cursor: pointer;
	opacity: 1;
	filter: alpha(opacity=100);
}



a.disabled {
	pointer-events: none; /* делаем элемент неактивным для взаимодействия */
	cursor: default; /*  курсор в виде стрелки */
	color: #888;/* цвет текста серый */
}
/* закрепление шапки таблицы */
thead th {
  position: sticky;
  top: 0;
  /* background: #E8EAEA; */
  background: #d1d3d3;
  z-index: 1;
}
