body {
    margin:8px 1px;
    padding:0;
    scrollbar-face-color: #b4c3dc;
    scrollbar-highlight-color: white;
    scrollbar-shadow-color: white;
    scrollbar-arrow-color: white;
    scrollbar-base-color: #b4c3dc;
    scrollbar-3d-light-color: #b4c3dc;
    scrollbar-dark-shadow-color: #b4c3dc;
    background: #f0f0ff;
    font-family: serif;
    line-height:normal;
}
h1{
    font-size: 24pt;
    font-family: sans-serif;
    color: #000000;
}
p {
    color: #000099;
    font-size: 8pt;
    margin:8px 0;
}
td > p {
    margin:0;
}
a:link{
    color: #0000cc;
    TEXT-DECORATION: none;
}
a:visited{
    color: #660099;
    TEXT-DECORATION: none;
}
a:active{TEXT-DECORATION: none;}
a:hover {
    color=#ff2030;
    TEXT-DECORATION: none;
    BACKGROUND-COLOR: #ffffff;
}
td {
    font-size: 8pt;
    font-family: arial;
    color: #000000; 
    border-style:solid;border-width:1px;
    border-color:#ffffff; 
    line-height:1.5;
} 
th {
    background-color:#e07030;
    TEXT-DECORATION: none;
    font-size: 8pt;
    font-family: arial;
    color: #000000; 
    border-style:solid;border-width:1px;
    border-color:#ffffff;
    line-height:1.5;
} 
TABLE {border-style:solid;border-width:1px;
    border-color:#ffffff;background-color:white;
    border-collapse:collapse;
} 
  
li {
    font-size: 8pt;
    font-family: arial;
}
.TableEdit {
    border-style:solid;border-width:1pt;
    background-color:#ddddff;
}
   
.TableSearchForm { background-color:#eaeaff;}  
.EditDoc { background-color:#eaeaff;}  
.table_without_border {
    border-style:none;border-width:0px;
    border-color:#888888;background-color:white;
}
.table_bordered {
    border-bottom-style:solid;border-bottom-width:1px;
    border-right-style:solid;border-right-width:1px;
    border-left-style:none;border-top-style:none;
    border-color:black;background-color:white;
}
.td_bordered {
    border-top-style:solid;border-top-width:1px;
    border-left-style:solid;border-left-width:1px;
    border-color:black;background-color:white;
}
.td_unbordered {border-style:none;
    border-color:#666666;background-color:white;
}
.td_block {
    border-style:solid;border-width:1px;
    border-color:#666666;background-color2:white;
}
.td_bordered_right {
    border-top-style:solid;border-top-width:1px;
    border-left-style:solid;border-left-width:1px;
    border-right-style:solid;border-right-width:1px;
    border-color:black;background-color:white;
}
.td_bordered_bottom {
    border-top-style:solid;border-top-width:1px;
    border-left-style:solid;border-left-width:1px;
    border-bottom-style:solid;border-bottom-width:1px;
    border-color:black;background-color:white;
}
.td_bordered_upper {
    border-top-style:solid;border-top-width:1px;
    border-color:black;background-color:white;
}
.td_full_bordered {border-style:solid;border-width:1px;
    border-color:#888888;background-color:white;
}
.td_bordered_no_right {border-style:solid;border-width:1px;
    border-color:black;background-color:white;
}
table.wide td, table.wide th {
    padding:5px 3px;
}
table.typical td, table.typical th {
    padding:5px 3px;
}
table.typical tr:hover {
    background:#f2f2f2;
}
table.typical tr {background:#ffffff;}
table.typical tr:nth-child(even) {background: #e8e8e8;}
table.typical tr:hover {
    background:#f2f2f2;
}
label {
    margin-bottom:0;
}
input {
    font-size: 8pt;
    font-family: sans-serif;
    color: #100020; 
    border-color:#888888;
} 
input[type="checkbox"] {
    margin:3px;
}
input[type="number"] {
    text-align:right;
}
/* Hide spinners on input type=number
/* Chrome, Safari, Edge, Opera */
input.no-spinner::-webkit-outer-spin-button,
input.no-spinner::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox */
input.no-spinner {
  -moz-appearance:textfield;
}
select{
    font-size: 8pt;
    font-family: sans-serif;
    color: #100020; 
    border-style:solid;border-width:1px;
    border-color:#888888;
}
textarea {
    font-size:12px;
    font-family: monospace, serif;
}
button, input, optgroup, select {
    line-height:13px;
}
button {font-size: 8pt;}
submit {font-size: 8pt;}
.mytable {
    border-bottom-style:solid;border-bottom-width:1px;
    border-right-style:solid;border-right-width:1px;
    border-left-style:solid;border-top-style:solid;
    border-color:black;background-color:white;
}
.rs_string_title {
    font-family:"Times New Roman";
    font-style:italic;
    font-weight:bold;
    font-size: 12pt;
}
.rs_string_text {
    font-family:"Times New Roman";
    font-size: 12pt;
}
.rs_string_small_text {
    font-family:"Times New Roman";
    font-size: 10pt;
    border-bottom-style:
    solid;border-bottom-width:1pt;
} 
.rs_string_text_noborder {
    font-family:"Times New Roman";
    font-size: 12pt;
} 
.string_10_text {
    font-family:"Times New Roman";
    font-size: 10pt;
} 
.string_12_text {
    font-family:"Times New Roman";
    font-size: 12pt;
}

.table_header {
    font-size: 8pt;
    font-family: sans-serif;
    BACKGROUND-COLOR: #2040a0;
    color: #eeeeff;
    FONT-WEIGHT: bold;
    background-image: url(/images/HeaderBG1.jpg);   
    background-image: url(/images/TopImage2.jpg);background-repeat: no-repeat;
    padding:3px;
    min-height:14pt;       
}  
.ttemp {
    BACKGROUND-COLOR: #2040d0;
    color: #ffffff;
} 
.deleteinput {COLOR: #ff2233;}
.saveinput {COLOR: #0000ff;}
.cancelinput {COLOR: #117722;}
.sortlink {COLOR: #11ff22;}
.checkinput {border-style:none;}     
.checkinput {border-style:none;}     
.ch_color1 {BACKGROUND-COLOR: #eaeaff;}
.ch_color2 {BACKGROUND-COLOR: #dbdbf0;}
.global_table {
    BACKGROUND-COLOR: #f4f5ff;
    border-style:solid;border-width:1px;
    border-color:#ffffff; 
}
.h1_uf {
    font-size: 10pt;
    font-weight: bold;
    color: #FF6600
}
.wide-button {
    padding-left:30px;
    padding-right:30px;
}
button.multiselect, .multiselect-container.dropdown-menu, button.dropdown-item {
    font-size:12px;
}
.bootstrap-select .dropdown-menu, .bootstrap-select .form-control, .bootstrap-select .btn {
    font-size:12px;
}
.bootstrap-select .bs-searchbox input.form-control {
    height:inherit;
}
.bootstrap-select .dropdown-menu.show {
    padding:0;
}
.bootstrap-select .dropdown-item, .bootstrap-select .btn {
    padding:2px 5px;
}

/* Таблица с фиксированными колонками и строками */
.table-scroll {
    position: relative;
    width:auto;
    z-index: 1;
    /* overflow: scroll; */
    overflow: auto;
    height__:600px;
}
.table-scroll table {
    max-width: 100%;
    position:relative;
    border-spacing:0;
}
.table-scroll thead th {
    position: -webkit-sticky;
    position: sticky;
    border-top:none;
    border-bottom:none;
    top: 0;
    z-index:4;
}
.table-scroll table td, .table-scroll table th {
    box-sizing:border-box;
}
/* safari and ios need the tfoot itself to be position:sticky also */
.table-scroll tfoot th,
.table-scroll tfoot td {
    position: -webkit-sticky;
    position: sticky;
    border-top:none;
    border-bottom:none;
    bottom: 0;
    z-index:4;
}
.table-scroll tfoot td {
    background: #ffffff;
}
.table-scroll th.fixed-side, .table-scroll td.fixed-side {
    position: -webkit-sticky;
    position: sticky;
    border-left:none;
    border-right:none;
    left:0;
    z-index:5;
    background: #f2f2f2;
}
.table-scroll th.fixed-side {
    z-index:6;
}

.fixed-block {
    position: relative;
    padding:6px;
    margin-top:0;
    /* box-shadow:0 2px 8px 0 rgba(0,0,0,0.45); */
}
.fixed-block-float {
    z-index:1;
    background:#fff;
    position: fixed;
    top: 0px;
    width:100%;
    text-align:center;
}
.number-cell {text-align:right;}
.wide-cell, table.typical td.wide-cell, table.typical th.wide-cell {padding-left:10px;padding-right:5px;}
.warning, table.typical tr.warning {
    color:#343434;
	background:#e9f7fe;
}
.attention, table.typical tr.attention {
    /* background:#FFF3C8; */
    background:#ffd28b;
}
.error, table.typical tr.error {
    color: #343434;
    /* background:#ff9c9c; */
    background:#ffb8b8;
}
#loading {
	display:none;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0.5;
    /*background: url('/images/loading.gif') 50% 50% no-repeat rgb(127,127,127);*/
    background: url('/images/loading.gif') 50% 50% no-repeat rgb(127,127,127);
}

table.form th, table.form td {
	padding:5px 3px;
}
table .noborder, table .noborder td, table .noborder th {
	border:none;
}