/* Див для заголовка (справочник, форма) */
div.div_DivTitle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10pt;
  font-family: 'Times New Roman', Times, sans-serif; /* Гарнитура текста */
  min-height: 20px;
  height: 20px;
  color: white;
  background-color: #4c5a55;
  //border: solid 1px;
}

/*************************************/
/* ЭТО ТОЛЬКО ДЛЯ ТАБЛИЦЫ СПИСКА СПРАВОЧНИКОВ */
/* При наведении на таблицу справочников выделять цветом */
.TableSprList tr:hover {
  background: #5f699d; /* Цвет фона при наведении */
  color: #fff; /* Цвет текста при наведении */
  cursor: pointer;
  align-content: center;
}
.TableSprList td{
  border: solid 1px;
  border-color: white;
  border-bottom-color: gray;
  width: 100%;
}

.TableSprList {
  width: 100%;
}




/* Ссылка не выделенная */
.SprButton {
  display: flex;
  text-decoration: none;
  color: #000000;
  min-height: 25px;
  justify-content: center;
  align-items: center;
}

/* Ссылка выделенная */
.SprButtonDown {
  background:#85c4e6;
}
/* ЭТО ТОЛЬКО ДЛЯ ТАБЛИЦЫ СПИСКА СПРАВОЧНИКОВ */


/* Стиль отображения заголовка списков */
table.TableTitle {
  border-collapse: collapse;
  text-align: center;
  font-size: 10pt;
  font-family: 'Times New Roman', Times, sans-serif; /* Гарнитура текста */
  color: white;
  background-color: #87928e;
  width: 100%;

//  background-color: #dadfdf
//    table-layout: fixed;
//    width:100%

}

/* Таблица статистики по отделам */
table.TableListStatOtdel {
  border-collapse: collapse;
  font-size: 8pt;
  width: 100%;
  height: 20px;
}
table.TableListStatOtdel td {
  border-bottom: solid 1px;
  border-right: solid 1px;
  padding: 2px;
}


/* Стиль отображения списков */
table.TableList {
  border-collapse: collapse;
  font-size: 10pt;
  width: 100%;
  height: 30px;

//    table-layout: fixed;
//    width:100%
}
table.TableList td,
table.TableTitle td {
  border: solid 1px;
  padding: 2px;
  border-color: white;
  border-bottom-color: gray;
//  word-wrap:break-word;
}

tr.SelectedRec {
  background:#85c4e6;
}

table.TableList tr:hover {
  background: #5f699d; /* Цвет фона при наведении */
  color: #fff; /* Цвет текста при наведении */

//  cursor: pointer;
}
/* Стиль колонки с кнопками изменить/удалить */
table.TableList td.td_button {
  background: antiquewhite;
  padding-left: 5px;
  padding-top: 5px;

  width: 42px;
/*  width: 1%;
  width: auto !important;
  white-space:nowrap;
*/
}










/* Стиль отображения списков */
table.TableListMaket {
  border-collapse: collapse;
  font-size: 10pt;
  width: 100%;
  height: 30px;
  table-layout: fixed;
}
table.TableListMaket td {
  border: solid 1px;
  padding: 2px;
  border-color: white;
  border-bottom-color: gray;
}







.TitleText {
/*  background: antiquewhite; */
  text-align: center;
  font-size: 14pt;
  background-color: #87928e;
  color: white;
}






/*  a Кнопка добавить запись */
a.BtAddRec {
  background: #dee2dd;
  color: #000000;
  border: none;
  border-radius: 3px;
  font-family: Tahoma;
  font-size: 12px;
  text-decoration: none; /* убирать подчёркивание у ссылок */
  user-select: none; /* убирать выделение текста */
  padding: 0.10em 0.65em; /* отступ от текста */
  outline: none; /* убирать контур в Mozilla */
}
a.BtAddRec:hover {background: #f1f1f1;}
a.BtAddRec:active { background: rgb(152,15,0); } /* при нажатии */
/*  a Кнопка добавить запись */

/*  a Кнопка добавить запись */
a.BtAddVersion {
  background: #4c5a55;
  color: #fff;
  border: none;
  border-radius: 3px;
  font-family: Tahoma;
  font-size: 12px;
  text-decoration: none; /* убирать подчёркивание у ссылок */
  user-select: none; /* убирать выделение текста */
  padding: 0.25em 0.65em; /* отступ от текста */
  outline: none; /* убирать контур в Mozilla */
  float: right;
}

/*  a Кнопка добавить запись */
a.BtGoBack {
  background: #4c5a55;
  width: 70px;
  color: #fff;
  border: none;
  border-radius: 3px;
  font-family: Tahoma;
  font-size: 12px;
  text-decoration: none; /* убирать подчёркивание у ссылок */
  user-select: none; /* убирать выделение текста */
  padding: 0.25em 0.65em; /* отступ от текста */
  outline: none; /* убирать контур в Mozilla */
  float: right;
}




a.BtEditRec {
  background: url('../img/editdoc.png') no-repeat;
  background-size: 18px;
  padding: 10px; /* отступ от текста */
}
a.BtDelRecNew {
  background: url('../img/deldoc.png') no-repeat;
  background-size: 18px;
  padding: 10px; /* отступ от текста */
}
a.BtShowRecNew {
  background: url('../img/prevdoc.png') no-repeat;
  background-size: 18px;
  padding: 10px; /* отступ от текста */
}
a.BtOpenDoc {
  background: url('../img/OpenDoc.png') no-repeat;
  background-size: 18px;
  padding: 10px; /* отступ от текста */
}
.BtViewFile {
  background: url('../img/PrevDoc.png') no-repeat;
  background-size: 18px;
  padding: 10px; /* отступ от текста */
}
a.BtDocStateChange {
  background: url('../img/editdoc.png') no-repeat;
  background-size: 18px;
  padding: 10px; /* отступ от текста */
}
.BtHelp {
  background: url('../img/CheckNeed.png') no-repeat;
  background-size: 18px;
  padding: 10px; /* отступ от текста */
}










button.BtAddRec {
//  background: #dee2dd;
//  color: #000000;
//  border: none;
//  border-radius: 3px;
  font-family: Tahoma;
  font-size: 12px;
//  text-decoration: none; /* убирать подчёркивание у ссылок */
//  user-select: none; /* убирать выделение текста */
//  padding: 0.10em 0.65em; /* отступ от текста */
//  outline: none; /* убирать контур в Mozilla */
}


/*  Кнопка для добавления записи в справочник или таблицу  */
button.BtAddRec_OLD {
  // не используется
  display: inline-block;
  background: #2196f3;
  color: #fff;
  padding: 8px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-family: Tahoma;
  font-size: 14px;
  line-height: 1;
  font-weight: 100;
  cursor: pointer;
}

/* Кнопки для добавления/удаления записи */
.BtDelRec {
  background: url('../img/deldoc.png') no-repeat;
}
.BtChangeRec {
  background: url('../img/editdoc.png') no-repeat;
}
.BtPrewVersion {
  background: url('../img/prewversion.png') no-repeat;
}
.BtDownloadFile {
  background: url('../img/downloadfile.png') no-repeat;
}
.BtDeleteFile {
  background: url('../img/deldoc.png') no-repeat;
}
.BtDelete {
  background: url('../img/deldoc.png') no-repeat;
}
.BtPrewDoc {
  background: url('../img/prevdoc.png') no-repeat;
}

.BtDelRec, .BtChangeRec, .BtPrewVersion, .BtDownloadFile, .BtDeleteFile, .BtDelete, .BtPrewDoc {
  display: inline-block;
  border: none;
  cursor: pointer;
  height: 20px;
  width: 20px;
  background-size: 18px 18px;
}

.BtPrewDocAsRaw {
  display: inline-block;
  border: none;
  cursor: pointer;
//  height: 33px;
  height: auto;
  width: calc(100%);
  background-color: transparent;
  text-align: left;
  font-size: 9pt;
//  font-family: 'Times New Roman', Times, sans-serif; /* Гарнитура текста */

}
.BtPrewDocAsRaw:hover {
//  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  background: #5f699d; /* Цвет фона при наведении */
  color: #fff; /* Цвет текста при наведении */

}

.BtAddRec:hover, .BtChangeRec:hover, .BtDelRec:hover, .BtPrewVersion:hover, .BtDownloadFile:hover, .BtLoadFileToServer:hover, .BtPrewDoc:hover {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}


/* Кнопки для добавления/удаления записи */
.BtLoadFileToServer {
  display: inline-block;
  background: #736ebb;
  color: #fff;
  margin: 5px 0px 5px 5px;
  height: 20px;

  border: none;
  border-radius: 3px;
//  text-decoration: none;
  font-family: Tahoma;
  font-size: 14px;
  line-height: 1;
  font-weight: 100;
  cursor: pointer;
}

span.MessError {
  font-size: 10pt;
  font-family: 'Times New Roman', Times, sans-serif; /* Гарнитура текста */
  color: white;
  background-color: red;
}



/* Стиль отображения списков */

/* Таблица для размещения объектов формы */
.FormButtonAddFile {
  width: 100%;
  font-size: 10pt;
  padding-left: 3px;
}

/* Таблица для размещения объектов формы */
.TableElementForm, .TitleForElements {
  width: 100%;
  font-size: 10pt;
}

.TableElementForm input, select, textarea {
  font-family: Montserrat, sans-serif;
  font-size: 10pt;
  width: 100%;
  box-sizing: border-box;
  resize: none;
}

.TableElementForm .CheckBox {
  width: 20px;
}

.TableElementForm input[type="text"]:disabled, select:disabled, textarea:disabled {
  background: #ffffff;
  color: #000000;
}







/* НИЖЕ ЕЩЕ НЕ ИСПОЛЬЗУЕМЫЕ */

div.div_DivTitleOper {
  border: solid 1px;
  text-align: center;
  height: 30px;
}


.Text10TNR {
  font-family: 'Times New Roman', Times, serif; /* Гарнитура текста */
  font-size: 14px; /* Размер шрифта в процентах */

}




#blink1 {
  -webkit-animation: blink1 3s linear infinite;
  animation: blink1 3s linear infinite;
  font-size: 16pt;
}
@-webkit-keyframes blink1 {
  0% { color: rgba(250, 34, 34, 1); }
  50% { color: rgba(250, 34, 34, 0); }
  100% { color: rgba(250, 34, 34, 1); }
}
@keyframes blink1 {
  0% { color: rgba(250, 34, 34, 1); }
  50% { color: rgba(250, 34, 34, 0); }
  100% { color: rgba(250, 0, 0, 1); }
}


#menukabinet {
  -webkit-animation: menukabinet 2s linear infinite;
  animation: menukabinet 2s linear infinite;
/*  font-size: 10pt; */
}
@-webkit-keyframes menukabinet {
  100% { color: rgba(0, 0, 0, 0); }
}
@keyframes menukabinet {
  50% { color: rgb(34, 34, 34); }
  51% { color: rgba(34, 34, 34, 0); }
  100% { color: rgba(34, 34, 34, 0); }
}
