html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}
input{
  font-family:'Arial';    
}
html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  border: 5px;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  background-color: #ecf0f1;
  font-family: helvetica, arial, sans-serif;
  font-size: 16px;
  padding-top: 110px;
  -moz-transition: padding-top 0.5s ease;
  -o-transition: padding-top 0.5s ease;
  -webkit-transition: padding-top 0.5s ease;
  transition: padding-top 0.5s ease;
}

header {
  width: 100%;
  height: 100px;
  /* background-color: #3498db; */
  text-align: center;
  position: relative;
  position: fixed;
  top: 0;
  overflow: hidden;
  background: url(../files/images/LogoBig_CWhite_BgTrans_w78h50.png) no-repeat left top #3498db;
/*   -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease; */
}
header h1 {
  font-size: 26px;
  color: white;
  line-height: 50px;
  font-weight: 100;
  font-style: italic;
}
header nav {
  position: absolute;
  bottom: 0;
  height: 50px;
  line-height: 50px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.1);
}
header nav a {
  color: #fff;
  display: inline-block;
  padding: 10px 15px;
  line-height: 1;
  text-decoration: none;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
}

input[type="text"]:disabled {
  color: #000000;
}

.boldtext {
  font-weight: 600;
}

.curumenu {
  background-color: rgba(0, 0, 0, 0.2);
}

header nav a:hover {
  -moz-box-shadow: 0 0 0 1px #fff;
  -webkit-box-shadow: 0 0 0 1px #fff;
  box-shadow: 0 0 0 1px #fff;
}

header nav form {
    display: inline-block;
}

header nav button {
  color: #fff;
  display: inline-block;
  padding: 10px 15px;
  line-height: 1;
  text-decoration: none;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  border: 0;
  font-size: 16px;
  background: none;
}
header nav button:hover {
  cursor: pointer;
  -moz-box-shadow: 0 0 0 1px #fff;
  -webkit-box-shadow: 0 0 0 1px #fff;
  box-shadow: 0 0 0 1px #fff;
}

h2 {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 2;
  color: #2c3e50;
  margin-left: 30px;
}



p {
/*   margin-bottom: 2rem;
  line-height: 2;
  color: #7f8c8d; */
}

.wrapper {
  width: 73%;
  margin: auto auto auto 16%;
  /* margin-left: 16%; */
}

.wrapper form {
	display: inline-block;
}

.wrapper button:hover {
  cursor: pointer;
}

.wrapper .curPageNumberFlag {
   pointer-events: none;
   text-decoration: none;
   font-weight: 600;
   cursor: default;
}

.lmenu {
  position: fixed;
  top: 110px;
  left: 5px;
  width: 15%;
  padding: 10px 1px 10px 1px;
  margin-bottom: 40px;
  background-color: #fff;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}
.lmenu table {
	table-layout: fixed;
	width: 100%
}
.lmenu tr:first-child {
	border-width: 0;
}
.lmenu tr {
	border-width: 7px 0 0 0;
	border-style: solid;
	border-color: transparent;
}
.lmenu .curlmenu {
  text-align: left;
}

.lmenu button {
    height: 18px;
	border: 0;
    padding: 0;
    background: none;
    text-decoration: none;
	/* line-height: 25px; */
	display: block;
	color: #000;
	font-size: 16px;
	text-align: left;
}

.lmenu button:hover {
  cursor: pointer;
  text-decoration: underline;
}
.lmenu p {
	height: 18px;
	border: 0;
    padding: 0;
    background: none;
    text-decoration: none;
	display: block;
	color: grey;
	font-size: 16px;
	text-align: left;
}

.lmenu p:hover {
  cursor: pointer;
  text-decoration: underline;
}
.lmenuCurTd button {
	text-decoration: none;
}

.lmenuCurTdLeft{
	/* background: #AFCDE7;
    color: black;
    padding: 0;	 */
	background: #AFCDE7;
    padding: 5px 0 5px 5px;
    border-radius: 5px 0 0 5px;
}
.lmenuCurTdRight{
	background: #AFCDE7;
    padding: 5px 5px 5px 0;
    border-radius: 0 5px 5px 0;
}

.rmenu {
  position: fixed;
  right: 5px;
  width: 10%;
  top: 110px;
  padding: 10px;
  margin-bottom: 40px;
  background-color: #fff;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.rmenu a {
	line-height: 25px;
	display: block;
	color: #000;
}

section {
  padding: 20px;
  margin-bottom: 20px;
  background-color: #fff;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}
/* Заголовок секции, использует только <th> */
.secHeadStringTable{
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 16px;
border-collapse: separate;
text-align: left;
width: 100%;
table-layout:fixed;
margin-bottom: 3px;
border: 4px solid #AFCDE7;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px 4px 0 0;
}
.secHeadStringTable th {
background: #AFCDE7;
color: white;
white-space: nowrap;
text-align: left;
padding: 0;
}
.secHeadStringTable th:first-child {
padding-left: 0px;
}
.secHeadStringTable th a{
font-size: 8.5px;
}
/* Таблицы карты меню */
.mapMainTable {
margin: auto;
border-collapse: collapse;
border: none;
}
.mapMainTable td{
border-style: solid;
border-width: 0 2px;
border-color: #2b8ac6;
padding: 0 5px;
vertical-align: top;
}
.mapMainTable td:first-child {border-left: none;}
.mapMainTable td:last-child {border-right: none;}
.mapInTable {
font-size: 16px;
border-collapse: separate;
text-align: left;
table-layout:fixed;

}
.mapInTable th, .mapInTable td {
padding: 2px 0;
white-space: nowrap;
}
.mapInTable th {
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
background: #AFCDE7;
color: white;
white-space: nowrap;
text-align: left;
padding: 0;

margin-bottom: 3px;
border: 4px solid #AFCDE7;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px 4px 0 0;
}
.mapInTable button{
height: 18px;
border: 0;
padding: 0;
background: none;
display: block;
color: #000;
font-size: 16px;
text-align: left;
}
.mapInTable button:hover {
  cursor: pointer;
  text-decoration: underline;
}
.mapInTable p{
height: 18px;
border: 0;
padding: 0;
background: none;
text-decoration: none;
display: block;
color: grey;
font-size: 16px;
text-align: left;	
}
.mapInTable p:hover {
  cursor: pointer;
  text-decoration: underline;
}

/* Форма кнопок-ссылок с номерами страниц списка */
.pageButtons button {
    border: 0;
    padding: 0;
    background: none;
    text-decoration: underline;
	line-height: 25px;
	color: #000;
	font-size: 16px;
}
/* Таблица списка в wrfirst */
.spisTable, .editTable{
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 14px;
border-collapse: collapse;
text-align: left;
width: 100%;
table-layout:fixed;
}
.spisTable th, .spisTable td:last-child {
background: #AFCDE7;
color: white;
text-align: center;
padding: 5px 1px;
/* padding: 5px 5px; */
}
 .spisTable th, .editTable th {
padding: 7px 1px;
/* padding: 7px 20px; */
}
 .spisTable th, .spisTable td, .editTable th, .editTable td {
border-style: solid;
border-width: 0 1px 1px 0;
border-color: white;
}
 .spisTable td, .editTable td {
background: #D8E6F3;
width: auto;
word-wrap: break-word;
}
 .spisTable tr:hover {
    color: red;
}
.spisTableCurTr{
/* Текуящая(редактируемая) запись */
border: 2px solid #2b8ac6;
}
/* Таблица списка в wrtransfer */
.spisTableTrWr{
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 14px;
border-collapse: collapse;
text-align: left;
width: 100%;
table-layout:fixed;
display: table;
}
.spisTableTrWr_div{
height: 150px;
overflow: auto;
border-collapse: collapse;
width: 100%;
display: block;
}
.spisTableTrWr th, .spisTableTrWr td:last-child {
background: #b0bce8;
color: white;
text-align: center;
padding: 5px 5px;
}
 .spisTableTrWr th {
padding: 7px 20px;
}
 .spisTableTrWr th, .spisTableTrWr td {
border-style: solid;
border-width: 0 1px 1px 0;
border-color: white;
}
 .spisTableTrWr td{
background: #d8ddf2;
width: auto;
word-wrap: break-word;
}
 .spisTableTrWr tr:hover {
    color: red;
}
/* Таблица и форма добавления/редактирования находящаяся внутри таблицы */
.editTable{
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 14px;
border-collapse: collapse;
text-align: left;
width: 100%;
table-layout:fixed;
}
.editTable th {
background: #AFCDE7;
color: white;
text-align: center;
padding: 5px 5px;
}
.editTable th, .editTable td {
border-style: solid;
border-width: 0 1px 1px 0;
border-color: white;
}
 .editTable td {
background: #d8f2e9;
width: auto;
word-wrap: break-word;
}
.editTable p {
font-size: 16px;
padding: 7px 10px;
}
.addEditForm input[type="text"], .addEditForm select {
	padding: 3px 5px;
	font-size: 16px;
	background: #d8f2e9;
	border: 0px;
	width: 100%;
}
.addEditForm input[type="text"]:disabled {
	background: #AFCDE7;;
}
.addEditForm input[type="text"]:read-only {
	background: #AFCDE7;;
}
.addEditForm input[type="date"]{
	padding: 3px 5px;
	font-size: 16px;
	background: #d8f2e9;
	border: 0px;
	width: 100%;
}
.addEditForm input[type="date"]:read-only {
	background: #AFCDE7;;
}
.addEditForm input[type="date"]::-webkit-inner-spin-button {
  display: none;
}
.addEditForm input[type="date"]::-webkit-calendar-picker-indicator {
  display: none;
}
.addEditForm input[type="date"]::-webkit-clear-button {
  display: none;
}
/*
.addEditForm input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
} */
/* Форма внутри wrapper */
.wrForm {
	width: 100%;
}

/* Кнопки правого меню */
.bluebutton {
  display: inline-block;
  width: 100%;
  font-size: 60%;
  color: rgba(255,255,255,.9);
  text-shadow: #2e7ebd 0 1px 2px;
  text-decoration: none;
  text-align: center;
  line-height: 1.1;
  white-space: pre-line;
  padding: .7em 0;
  border: 1px solid;
  border-color: #60a3d8 #2970a9 #2970a9 #60a3d8;
  border-radius: 6px;
  outline: none;
  background: #60a3d8 linear-gradient(#89bbe2, #60a3d8 50%, #378bce);
  box-shadow: inset rgba(255,255,255,.5) 1px 1px;
  margin-bottom: 5px;
}
.bluebutton#wrbutton {
	margin-top: 5px;
	width: 150px;
	float: right;
	padding: 5px 5px;
}
.bluebutton#wrbutton_add {
	margin-top: 5px;
	width: 120px;
	float: left;
	padding: 5px 5px;
}
.bluebutton:first-line{
  font-size: 150%;
  font-weight: 700;
}
.bluebutton:hover {
  color: rgb(255,255,255);
  background-image: linear-gradient(#9dc7e7, #74afdd 50%, #378bce);
}
.bluebutton:active {
  color: rgb(255,255,255);
  border-color: #2970a9;
  background-image: linear-gradient(#5796c8, #6aa2ce);
  box-shadow: none;
}
/* Для ссылок <a> */ 
.bluebuttonstyle {
	width:180px;
	float:right;
	padding: 5px 5px;
	margin-bottom: 0;
}
/* <p> для вывода ошибок и подтверждений */
#usererror {
	-webkit-animation: usererror 2s linear infinite; 
	animation: usererror 2s linear infinite; 
	font-weight: bold; 
	color: color: #F00;
	padding: 5px 0px;	
}

@-webkit-keyframes usererror { 
	0% { color: #F00; }
	50% { color: #FBB; }
	100% { color: #F00; }
}

@keyframes usererror {  
	0% { color: #F00; }
	50% { color: #FBB; }
	100% { color: #F00; } 
}
#userconfirm {
	-webkit-animation: userconfirm 2s linear infinite; 
	animation: userconfirm 2s linear infinite; 
	font-weight: bold; 
	color: color: #0F0;
	padding: 5px 0px;	
}

@-webkit-keyframes userconfirm { 
	0% { color: #0F0; }
	50% { color: #BFB; }
	100% { color: #0F0; }
}

@keyframes userconfirm {  
	0% { color: #0F0; }
	50% { color: #BFB; }
	100% { color: #0F0; }
}

/* Кнопки-иконки 16x16*/

.td_btn {
	text-align: center;
}
.wrapper .td_btn button, .debug .td_btn button {
	border: 0;
	background-color: transparent;
	background-size: 16px 16px;
	width: 16px;
	height: 16px;
}
.wrapper .p16ButtAdd{
	background-image: url(../files/icon/Add.gif);
	border: 0;
	background-color: transparent;
	background-size: 16px 16px;
	width: 16px;
	height: 16px;
	float: right;
	margin: 0px 3px;
}
.wrapper .p16ButtStub, .debug .p16ButtStub{
	pointer-events: none;
}
.wrapper .p16ButtRaise, .debug .p16ButtRaise{
	background-image: url(../files/icon/Raise.gif);
}
.wrapper .p16ButtFall, .debug .p16ButtFall{
	background-image: url(../files/icon/Fall.gif);
}
.wrapper .p16ButtEdit, .debug .p16ButtEdit{
	background-image: url(../files/icon/Modify.gif);
}
.wrapper .p16ButtDel, .debug .p16ButtDel{
	background-image: url(../files/icon/Delete.gif);
}
/* Zero-Wrapper set - если пустая - не показываем*/
.wrapper section#wrzero:empty {
  display: none;
}
/* Transfer-Wrapper set - если пустая - не показываем*/
.wrapper section#wrtransfer:empty {
  display: none;
}
/* First-Wrapper set - если пустая - не показываем*/
.wrapper .wrfirst:empty {
  display: none;
}
/* Дебажный div - временный */
.debug {
	position: absolute;
	left: 10px;
	top: 10px;
	background-color: white;
}
.debug details summary{
	color: white;
	background-color: #3498db;
}
.debug details details{
	border-collapse: collapse;
	border: 1px solid black;
	margin-bottom: 3px;
}
.debug details details summary{
	outline: 0px;
	border: 0px;
	color: white;
	background-color: black;
}
.debug th{background-color: grey; font-weight: 600; text-align: center;}
.debug td, .debug th{
	vertical-align: top;
	border-collapse: collapse;
	border: 1px solid black;
	padding: 3px 3px
}
.debug p{display: inline;display: inline;}
.dc_arr{color: #c405eb;display: inline;}
.dc_name{color: #034aff;display: inline;}
.dc_boolval{color: #1c8507;font-weight: 600;display: inline;}
.dc_intval{color: #1c8507;font-weight: 1000;display: inline;}
.dc_strval{color: #1c8507;font-weight: 600;display: inline;}

/* Отображение данных вошедшего пользователя - для конт. div */
.login {
	position: absolute;
	right: 10px;
	top: 10px;
	color: white;
	background-color: #3498db;
	text-align: right;

}
/* Отображение форм авторизации/регистрации - для конт. div */
.unlogin {
/* 	position: absolute;
	right: 10px;
	top: 100px;
	color: white;
	background-color: #3498db;
	text-align: right; */
}
.unlogin form{
	/* display: block; */
}
/* Кнопка выхода */
.exitbutton {
	background-image: url(../files/icon/exitbw.png);
	border: 0;
	background-color: transparent;
	background-size: 16px 16px;
	width: 16px;
	height: 16px;
	float: right;
	margin: 0px 0px 0px 3px;
	/* background-position: 0px 1px; */
    background-repeat: no-repeat;
}
.exitbutton:hover {
  cursor: pointer;
}
/* Форма поиска */
.search {
	width: calc(100% - 95px); /* Ширина поля с кнопкой */
    /* border: 1px solid #000; */
    /* min-height: 20px; */
	margin-bottom: 15px;
   }
.search input[type="search"] {
	width: calc(100% - 85px);
	font-size: 18px;
	margin: 3px 0;
	border: 1px solid #000;
	min-height: 28px;
    outline: none; /* Убираем свечение в Chrome и Safari */
    -webkit-appearance: none; /* Убираем рамку в Chrome и Safari */
    vertical-align: middle; /* Выравнивание по середине */
   }
.search input[type="search"]::-webkit-search-cancel-button {
	display: none;
 }
.search input[type="submit"] {
	/* margin-top: auto;
	margin-bottom: auto;
	margin-right: 3px; */
	margin: 3px 3px;
	float: right;
	/* margin: auto, 3px; */
	width: 20px; /* Ширина кнопки */
    height: 20px; /* Высота кнопки */
    border: 0; /* Убираем рамку */
    background: none;
	background-size: 20px 20px;
	background-image: url(../files/icon/Find.gif); /* Параметры фона */
	vertical-align: middle; /* Выравнивание по середине */
   }
.bluebutton#clrsearch {
	margin-left: 3px;
	margin-right: 0px;
	width: 90px;
}
.bluebutton#confsearch {
	margin-left: 3px;
	margin-right: 0px;
	width: 80px;
}
/* Скрываем поля и заголовки таблицы */
th.thhidden { visibility:collapse; border-width: 0 0px 0px 0;}
td.tdhidden { visibility:collapse; border-width: 0 0px 0px 0;}
/* Таблица внутри <td> */
table.tabInTD {width: 100%;}
table.tabInTD td {width: 100%;}
/* Черная таблица - для админских функций */
.blacktable th{background-color: grey; font-weight: 600; text-align: center;}
.blacktable td, .blacktable th{
	vertical-align: top;
	border-collapse: collapse;
	border: 1px solid black;
	padding: 3px 3px
}

/* Черная таблица - для отчётов */
.reptable th{background-color: #AFCDE7; font-weight: 600; text-align: center;}
.reptable {
	border-collapse: collapse;
	width: 100%;
	table-layout:fixed;	
}
.reptable td, .reptable th{
	vertical-align: top;
	border: 1px solid black;
	padding: 3px 3px
}
/* Выпадающее меню на теле странице (на шапке свой меню)
есть также js часть: dropdownmenu.js */
/* Dropdown Button */
/* .dropbtn {
    background-color: #3498DB;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
} */
.dropbtn {
background-image: url(../files/icon/Clock.gif);
	border: 0;
	background-color: transparent;
	background-size: 16px 16px;
	width: 16px;
	height: 16px;
	float: right;
	margin: 0px 3px;
	/* padding: 16px; */
}
/* Dropdown button on hover & focus */
.dropbtn:hover, .dropbtn:focus {
    background-color: transparent;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
	margin-top: 16px;
	background-color: #AFCDE7;
	text-align: center;
	border: 3px solid #AFCDE7;
}

/* Links inside the dropdown */
.dropdown-content button {
    margin: 0;
    display: block;
	min-width: 160px;
}

/* Change color of dropdown links on hover */
.dropdown-content button:hover {background-color: #ddd}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;}

/* Sticky Header Style */
/* ---------------------------------------- */
/* body.sticky-header {
  padding-top: 100px;
}
body.sticky-header header {
  height: 60px;
  background-color: rgba(52, 152, 219, 0.9);
}
body.sticky-header header h1 {
  -moz-transform: scale(0, 0);
  -ms-transform: scale(0, 0);
  -webkit-transform: scale(0, 0);
  transform: scale(0, 0);
} */
