
body { background-color: #FFFFFF; }

/* Çàïðåòèòü âûäåëÿòü òåêñò (ïåðå÷èñëèòü ýëåìåíòû â êîòîðûõ íóæíî çàïðåòèòü âûäåëÿòü òåêñò) */
.searchObjCaption, .searchObj, .selectButton, #footer, .filterCntr {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Chrome/Safari/Opera */
  -khtml-user-select: none;    /* Konqueror */
  -moz-user-select: none;      /* Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently
                                  not supported by any browser */
}

/*-------------------------------------------------------------*/
/*  ÒÀÁËÈÖÀ ÍÀÑÒÐÎÉÊÈ ÏÀÐÀÌÅÒÐÎÂ ÎÒ×ÅÒÀ                        */
/*-------------------------------------------------------------*/  

h1, h2, h3, h4 {font-family: "Trebuchet MS", Verdana, sans-serif;}
#content h1, h2, h3, h4 {color: #555;}

/* Çàãîëîâîê */
H1 {text-align: center;font-weight: bold;padding: 0.2ex 0 1.1ex}

/* Çàãîëîâîê îò÷åòîâ */
H2 {text-align: center;}

/* Äëÿ ýêñïîðòà â MS EXCEL */
.mso-str {mso-number-format: '\@';}
.mso-prc {mso-number-format: '0\.00';}
.mso-plotn {mso-number-format: '0\.0000';}

#BeginDate-div {display: inline-block; margin: 0 10px 0 10px;}
#1BeginDate-div input{width: 20ex;}
#BeginDate-div span {margin: 0 10px 0 10px;}
#EndDate-div {display: inline-block; margin: 0 10px 0 10px;}
#1EndDate-div input{width: 20ex;}
#EndDate-div span {margin: 0 10px 0 10px;}
#Period-div {display: inline-block; margin: 10px 10px 10px 10px;}
#Period-div span {margin: 0 5px 0 0;}
#Form-div {display: inline-block; margin: 10px 10px 2em 10px;}

/* Êîíòðîëû ñ äàòîé áåç âðåìåíè */
#BDate, #EDate {
  width: 7em !important;
  text-align: center;
}

/* Êîíòðîëû ñ äàòîé è âðåìåíåì */
#BDateTime, #EDateTime {
  width: 10em;
  text-align: center;
}

#SMENA {
    -webkit-column-width: 36em;
    -moz-column-width: 36em;
    column-width: 36em;
    -webkit-column-count: 10;
    -moz-column-count: 10;
    column-count: 10;
    -webkit-column-gap: 5em;
    -moz-column-gap: 5em;
    column-gap: 5em;
    -webkit-column-rule: 0 none #000;
    -moz-column-rule: 0 none #000;
    column-rule: 1px dotted #DDD;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1em;
}

/* Òàáëèöà ñî ñïèñêîì ñìåí */
#SMENA-TABLE {
   border: 1px solid #B5B5B5;
   border-collapse: collapse; /* Óáèðàåì äâîéíûå ëèíèè ìåæäó ÿ÷åéêàìè */
   margin: auto;
   white-space: nowrap;
}
#SMENA-TABLE td, th{
   border: 1px solid #B5B5B5;
   1white-space: nowrap;
   padding-left: 5px;
   padding-right: 5px;
   page-break-inside: avoid;
   break-inside: avoid;
}

/*òàáëèöà*/
.main_table {                                               
    border: 1px solid #B5B5B5;                              
    background-color: white;
    font-size: 14px;
}

/*ïîëå ââîäà äëÿ ñîðòèðîâêè*/
.table_input {
	width: 300px;
	height: 25px;
	border: 1px solid #B5B5B5;
  background: #F5F5F5;
	padding-left: 5px;
}

#SortComboBox {
	width: 309px;
	height: 29px;
	border: 1px solid #B5B5B5;
  background: #F5F5F5;
	padding: 1px 2px 1px 5px;
}

/*òåêñòîâàÿ îáëàñòü êîíòðàãåíòû*/
.table_textarea {
	width: 470px;
	resize: none;
	border: 1px solid #B5B5B5;
  background: #F5F5F5;
	margin-top: 5px;
	padding-left: 5px;
}

/*êíîïêà ïîñòðîèòü îò÷åò*/
.table_button {
	width: 400px;
	height: 35px;
	cursor: pointer;
	border: 1px solid #B5B5B5;
	background: #E6E6FA;
}

/*êíîïêà îòêðûòü îêíî âûáîðà êîíòðàãåíòà*/
.open_button {
	cursor: pointer;
	border: 1px solid #B5B5B5;
	width: 25px;
	height: 25px;
	background: #F5F5F5;
}

.long_button {
	cursor: pointer;
	border: 1px solid #B5B5B5;
	width: 120px;
	height: 25px;
	background: #F5F5F5;
}

/*êíîïêà âûáîðà òî÷åê îáñëóæèâàíèÿ*/
.option_button {
	cursor: pointer;
	border: 1px solid #B5B5B5;
	width: 150px;
	height: 25px;
	margin-top: 3px;
	margin-bottom: 3px;
	background: #F5F5F5;
}

/* êíîïêà î÷èñòêè ñïèñîê âûáðàííûõ êîíòðàãåíòîâ */
#clearContr {
	border: 1px solid #B5B5B5;
	width: 30px;
	height: 30px;
	cursor: pointer;
	background: #F5F6CE;
	position: relative; 
	left: 420px;
	top: 5px;
	border-radius: 0px 0px 0px 10px;
	webkit-border-radius: 0px 0px 0px 10px;
	-moz-border-radius: 0px 0px 0px 10px;
	-o-border-radius: 0px 0px 0px 10px;
	-khtml-border-radius: 0px 0px 0px 10px;
	display: none;
	margin-bottom: -32px;
}

/*î÷èñòèòü ñïèñîê âûáðàííûõ êîíòðàãåíòîâ. ñòèëü òåêñòà*/
#clearContrText {
	font-size: 14px;
	font-weight: bold;
	color: gray;
	margin-top: 7px;
	text-align: center;
}

/*êíîïêà ïîñòðîåíèÿ îò÷åòà (îò÷åò ïî êàæäîìó êîíòðàãåíòó ñòðîèòñÿ â íîâîé âêëàäêå)*/
#blockResultButton {
	text-align: center;
	-margin-top: -14px; /* ????? */
	margin-top: 5px;
}

/*áëîê ñ êîììåíòàðèÿìè*/
.blockComment {
	border: 0px solid black;
	font-size: 12pt;
	font-style: italic;
	margin-left: 50px;
	margin-right: 50px;
	margin-top: 10px;
	margin-bottom: 5px;
}

/*-------------------------------------------------------------*/
/*  ÑÑÛËÊÈ                                                     */
/*-------------------------------------------------------------*/  

/*áëîê ñ ññûëêàìè ïóòè*/
.path_link_block {
	float: left; 
	height: 15px;
	font-size: 18px;
	padding-top: 5px;
  padding-bottom: 10px;
  padding-left: 5px;
	padding-right: 5px;	
	margin-right: 2px; 
}

/*áëîê ñî ñòðåëêîé äëÿ ññûëêè*/
.arrow_link_block {
	float: left; 
	height: 15px;
	font-size: 20px;
	color: gray;
	font-weight: bold;
}

/*áëîê ñ ïåðâûì ñèìâîëîì äëÿ ññûëêè*/
#first_link_block {
	float: left; 
	height: 15px;
	font-size: 20px;
	color: gray;
	font-weight: bold;
	margin-top: 4px;
}

/*-------------------------------------------------------------*/
/* ÂÅÐÑÒÊÀ                                                     */
/*-------------------------------------------------------------*/ 

#center_panel1 {                                            
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing;
    font-size: 18px;                                                                              
    float: left;                                            
    width: 500px;                                                                          
    border: 0px solid black;
}
#center_panel2 {                                            
    box-sizing: border-box;                                 
    -moz-box-sizing: border-box;                            
    -webkit-box-sizing;                                     
    font-size: 18px;                                                                               
    float: left;                                            
    width: 600px;                                                                         
    border: 0px solid black;
}

.scroll_div, .scroll_div_cards, #scroll_div_dep,#scroll_div_to, #scroll_div_to2, .scroll_div_users {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing;
  width: 100%;
  overflow: auto;
  border: 1px solid #B5B5B5;
 	background: #F5F5F5;
	 padding: 1px;
}

.scroll_div_cards {
  width: 50%;
  height: 400px;
}

#scroll_div_to, #scroll_div_dep, #scroll_div_to2, .scroll_div_users {
	margin-top: 3px;
	margin-bottom: 3px;
}

/*áëîê âûáîðà òî÷åê îáñëóæèâàíèÿ*/
#scroll_div_to {
  height: 200px;
}

/*áëîê âûáîðà ïîäðàçäåëåíèé */
#scroll_div_dep {
  height: 200px;
}

/*áëîê âûáîðà òî÷åê îáñëóæèâàíèÿ*/
#scroll_div_to2 {
  height: 100px;
}

.scroll_div_users {
  height: 200px;
}

/*-------------------------------------------------------------*/
/* ÔÎÐÌÀ ÂÛÁÎÐÀ ÊÎÍÒÀÃÅÍÒÎÂ                                    */
/*-------------------------------------------------------------*/ 

.CtrnTitle {
  margin-top: 0.5em;
}

/* òàáëèöà êîíòðàãåíòîâ */
.ContrTable {
   border: 1px solid #B5B5B5;
   border-collapse: collapse; /* Óáèðàåì äâîéíûå ëèíèè ìåæäó ÿ÷åéêàìè */
   margin: auto;
}

/*ñòðîêà òàáëèöû êîíòðàãåíòîâ*/
.contr_table1, .contr_table2 {
  border: 1px solid #B5B5B5;
	padding: 2px;
	cursor: pointer;
	background: white;
 width: auto;
}

/*ñòðîêà çàãîëîâêà òàáëèöû*/
.header_table {
  border: 1px solid #B5B5B5;
	padding: 5px;
	background: #E1E5EC;
 font-weight: bold;
 color: gray;
}

/*ñêðûòàÿ ÿ÷åéêà òàáëèöû*/
.hidden_table0, .hidden_table, .hidden_table2, .hidden_table3 {
  display: none;
}     

/*-------------------------------------------------------------*/
/* ÏÎÈÑÊ ÏÎ ÔÎÐÌÅ ÂÛÁÎÐÀ ÊÎÍÒÀÃÅÍÒÎÂ                           */
/*-------------------------------------------------------------*/ 

/*áëîê ïîèñêà ïî êîíòðàãåíòàì*/
.searchObjBlock {
	border: 1px solid #B5B5B5;
	width: 99%;
	margin-bottom: 15px;
	background: white;
  padding: 1px;
}

/*íàäïèñü: ïîèñê ïî*/
.searchObjCaption{
	float: left;
	margin-right: 3px;
	margin-bottom: 3px;
	margin-top: 3px;
	margin-left: 5px;
	padding: 1px;
}

.searchObj, .selectButton {
	float: left;
	margin-top: 3px;
	margin-bottom: 3px;
	padding: 1px;
	cursor: pointer;
	border: 1px solid #B5B5B5;
	text-align: center;
}

/*ïîèñê ïî èìåíè êîíòðàãåíòà*/
#OrgSearchName {
	width: 7em;
	border-radius: 5px 0px 0px 5px;
	-webkit-border-radius: 5px 0px 0px 5px;
	-moz-border-radius: 5px 0px 0px 5px;
	-o-border-radius: 5px 0px 0px 5px;
	-khtml-border-radius: 5px 0px 0px 5px;
}

/*ïîèñê ïî êîäó ïðèâÿçêè*/
#OrgSearchCode {
	width: 7em;
	border-radius: 0px 5px 5px 0px;
	-webkit-border-radius: 0px 5px 5px 0px;
	-moz-border-radius: 0px 5px 5px 0px;
	-o-border-radius: 0px 5px 5px 0px;
	-khtml-border-radius: 0px 5px 5px 0px;
}

/*ïîèñê ïî êëþ÷åâîìó ñëîâó*/
#OrgSearchKeyWord {
	margin-right: -1px;
	margin-left: -1px;
	width: 36%;
}

/*ñòðîêà çàïðîñà äëÿ ïîèñêà*/
.searchObjText, .searchObjText2 {
	width: 80%;
	height: 2em;
	font-size: 14px;
	margin-bottom: 3px;
	margin-left: 3px;
	padding: 1px;
}

.searchObjText {
	width: 80%;
}

.searchObjText2 {
	width: 65%;
}

.filterCntr {
	font-size: 12px;
 margin-left: 2em;
}

/*êíîïêà î÷èñòêè ñòðîêè çàïðîñà äëÿ ïîèñêà, êíîïêà ïîèñêà*/
.searchButtons {
	border-top: 1px solid #B5B5B5;
	border-right: 1px solid #B5B5B5;
	border-bottom: 1px solid #B5B5B5;
	border-left: 0px solid #B5B5B5;
	width: 30px;
	height: 30px;
	font-size: 14px;
	cursor: pointer;
	background: white;	
	margin-left: -4px;
}

/* Êíîïêè Âûäåëèòü âñ¸ è Ñíÿòü âûäåëåíèå */
.selectButton {
 	width: 49.3%;
  margin-top: 0.5em;
  background: #F5F5F5;
}

#blink {
  color: red;
  font-weight: bold;
}

/*-------------------------------------------------------------*/
/* ÑÂÎÄÍÛÅ ÎÒ×ÅÒÛ. ÎÒÏÓÑÊ ÏÎ ÊÀÐÒÀÌ ÏÐÎÖÅÍÒÊÀÐÒ ÇÀ ÏÅÐÈÎÄ      */
/*-------------------------------------------------------------*/ 

/*áëîê âûáîðà ïàðàìåòðîâ*/
.blockParams {
	border: 1px solid #B5B5B5;                           
	padding: 10px;   
	margin: 2px;           
	font-size: 16px;                  
	background: white;                
	
	float: left; 	
	width: 200px;   
	height: 300px; 	
	font-size: 14px;
}

/*çàãîëîâîê áëîêà âûáîðà ïàðàìåòðîâ*/
.blockParamsHeader {
	border-bottom: 1px solid #B5B5B5;
	margin-top: -10px;
	margin-left: -10px;
	margin-right: -10px;
	padding: 5px;
	background: #E1E5EC;
}

/*textarea*/
.textArea {
	resize: none;
	width: 190px;
	height: 170px;
}

/*ñîäåðæèìîå áëîêà âûáîðà ïàðàìåòðîâ*/
.blockParamsContent {
	border: 0px solid black;
	margin-top: 7px;
	margin-bottom: 7px;
}
 
.blockParamsContentAdd {
	border-bottom: 1px solid #B5B5B5;
	margin-top: 7px;
	margin-bottom: 7px;
	padding-bottom: 5px;
}
  
.blockAZS {
	border: 1px solid #B5B5B5;
	overflow: auto; 
	width: 200px;   
	height: 220px;
}

#dbElemBlock {
}

#dbInputFilter:active, #dbInputFilter:hover, #dbInputFilter:focus {
 outline: 0;
 outline-offset: 0;
}

#dbInputFilter::-ms-clear { // Óáèðàåì êðåñòèê î÷èñòêè â ïîëå ââîäà EDGE
 width : 0;
 height: 0;
}

.blockObjects {
	border: 1px solid #B5B5B5;
	overflow: auto;
	width: 200px;
	height: 220px;
}

.dbLab {
	font-size: 11px;
}

.dbLab span {
	font-size: 14px;
}

.dbLabel:hover {
  background: #fbfbfb;
}

#authorization_div {
   top: 50%;
   left: 50%;
   width: 370px;
   height: 150px;
   margin-left: -200px; /* width/2 */
   margin-top: -90px;  /* height/2 */
   position: absolute;
   font-size: 18px;
   line-height: 1.8;
   padding: 15px;
   background: white;
   box-shadow: 0px 0px 7px rgba(122,122,122,0.5);
   -webkit-box-shadow: 0px 0px 7px rgba(122,122,122,0.5);
   -moz-box-shadow: 0px 0px 7px rgba(122,122,122,0.5);
}

#error_login_div {
   top: 50%;
   width: 100%;
   margin-top: 100px;
   position: absolute;
   font-size: 18px;
   text-align: center;
   color: red;
   wpadding: 25px;
}

#error_div {
   top: 20%;
   width: 95%;
   margin-top: -20px;
   position: absolute;
   font-size: 18px;
   text-align: center;
   color: red;
   padding: 15px;
}

/* Îêíî äëÿ âûâîäà îøèáêè */
#ErrorBox {
   top: 50%;
   left: 50%;
   width: 30em;
   -margin-left: -15em; /* width/2 */
   -margin-top: -100px;  /* height/2 */
   -position: absolute;
   text-align: center;
   font-size: 16pt;
   color: red;
   line-height: 1.8;
   padding: 15px;
   background: white;

  -webkit-box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid silver;

  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
}
#ErrorBox #ErrorContent{
   margin-top: 15px;
  overflow: auto;
}
#ErrorBox #ErrorBoxHeader {
   color: white;
   font-size: 14pt;
   border-bottom: 1px solid #B5B5B5;
   margin-top: -10px;
   margin-left: -10px;
   margin-right: -10px;
   padding: 0px;
   background: red;
}
/**************************/

#error_hasp_div {
   top: 50%;
   left: 50%;
   font-size: 25px;
   text-align: center;
   color: red;
   line-height: 0.1;
   padding: 15px;
   border: 0 solid black;
}    

#footer {
   position: fixed;
   left: 0;
   bottom: 0;
   width: 100%;
   clear: both;
   border-top: 1px solid #bbb;
   font-size: 0.9em;
   color: #aaa;
   padding: 5px;
   text-align:center;
   background:#fff;
}

#content {
  width: 100%; /* ˜èðèíà ñëîß */
  margin-bottom: 1220px;
  margin-left: 10px;
  margin-top: -15px;
}

/******************************************************* ÁËÎÊ ÂÛÁÎÐÀ ÑÌÅÍ *****/
#EmptySmenDiv {
  padding: 1em 2em 1em;
  color: white;
	font-size: 2em;
}

#SmBlockCloseButton {
  position:absolute;
  top: 0; /* Half the icon height */
  right: 0; /* half the icon width */
  z-index:50;
  height: 2em;
  width: 2em;
}

#SelSmenButton {
  height: 1.61em;
  width: 6em;
}

#smena-block-request {
  padding: 1em 2em 1em;
  background: white;
}

#smena-block-request img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  vertical-align: middle;
}

#smena-block-request span {
  vertical-align: middle;
}

#smena-block { /* Áëîê âûáîðà ñìåí */
  position: absolute;
  display: none; /* ïðîïèñàòü â ñàìîì ýëåìåíòå */
  border: 1px solid black;
  overflow: auto;
  background: #578FB0;
  box-shadow: 0.5em 0.5em 0.5em rgba(170, 170, 170, 0.7), 0.5em 0.5em 0.7em rgba(220, 220, 220, 0.5), 0.5em 0.5em 0.9em rgba(240, 240, 240, 0.3);
  max-width: 90%;
  box-sizing: border-box;
}

#smena-block-top { /* Áëîê âûáîðà ñìåíþ. Çàãîëîâîê */
  border: 1px solid black;
  margin: 0.4em 0.3em 0.4em;
  padding: 0.4em;
  background: white;
  height: 3em;
  box-sizing: border-box;
}

#smena-block-top span {
  display: inline-block;
  margin: 0.5em 0 0;
	font-weight: bold;
}

.SmFilter {
  float: right;
	cursor: pointer;
	border: 1px solid #B5B5B5;
	width: 9em;
	height: 1.8em;
	background: white;
  margin-right: -1px;
}

.SmFilter:disabled {
	cursor: default;
  color: gray;
}

#smena-block-scroll { /* Áëîê âûáîðà ñìåíþ. Ñðåäíèé áëîê */
  position: relative;
  overflow: auto;
  height: 400px;
  border: 0px solid blue;
  background: white;
  resize: both;
  margin: 0 0.3em 0;
  background: #578FB0;
  max-width: 99.2%;
  min-width: 52em;
  min-height: 7em;
}

#smena-block-left, #smena-block-right { /* Áëîê âûáîðà ñìåíþ. Ëåâàÿ ïàíåëü */
  position: relative;
  overflow: auto;
  width: 49.7%;
  height: 100%;
  box-sizing: border-box;
  border: 1px double black;
	background: white;
}

#smena-block-left { /* Áëîê âûáîðà ñìåíþ. Ëåâàÿ ïàíåëü */
  float: left;
}

#smena-block-right { /* Áëîê âûáîðà ñìåíþ. Ïðàâàÿ ïàíåëü */
  float: right;
}

#smena-block-bottom, #SmenSelectCount, #SmenAllCountDiv {
  height: 2.99em;
}

#smena-block-bottom { /* Áëîê âûáîðà ñìåí. Íèæíÿÿ ïàíåëü */
  position: relative;
  border: 0px solid green;
  text-align: center;
  box-sizing: border-box;
  margin: 0 0.3em 0;
}

#SmenSelectCount, #SmenAllCount {
  color: white;
}

#SmenSelectCount { /* Áëîê âûáîðà ñìåí. div ñ íàäïèñüþ î âûäåëåííûõ ñìåíàõ â íèæíåé ïàíåëè */
  float: left;
	cursor: pointer;
  display: table;
}

#SmenButtonApply { /* Áëîê âûáîðà ñìåí. Êíîïêà ïðèìåíèòü */
  float: right;
	cursor: pointer;
	border: 1px solid #B5B5B5;
	width: 9em;
	height: 2em;
	background: white;
  margin: 0.4em 0 0.4em;
  padding: 0;
}

#smena-block-bottom span, #SmenAllCountDiv span {
  padding: 0 1em 0 0.5em;
  vertical-align: middle;
  display: table-cell;
}

#SmenAllCountDiv {
  float: right;
  display: table;
  margin-right: 4em !important;
}

#SmCountSelect {
	font-weight: bold;
}

#PeriodLabelYear {
  color: red;
  font-weight: bold;
  font-size: 1.5em;
  text-shadow: #FFF 1px 1px 0, #FFF -1px -1px 0,
               #FFF -1px 1px 0, #FFF 1px -1px 0;
}

#PeriodLabelMonth {
  color: orange;
  font-weight: bold;
}

/* Òàáëèöà ñî ñïèñêîì ñìåí */
#smena-table {
  border: 1px solid #B5B5B5;
  border-collapse: collapse; /* Óáèðàåì äâîéíûå ëèíèè ìåæäó ÿ÷åéêàìè */
  width: 100%;
	background: white;
}
#smena-table td, th{
  border: 1px solid #B5B5B5;
  padding-left: 5px;
  padding-right: 5px;
  page-break-inside: avoid;
}

#smena-table tr{
	cursor: pointer;
}

#smena-table .td0{ /* Íîìåð ñìåíû */
	font-weight: bold;
  text-align: right;
}

#smena-table .td1, .td2{ /* Äàòû */
  width: 11em;
}

/****************************** ÏÅ×ÀÒÜ ****************************************/

@media only print {
#menu, #topmenu, #thedrot, .meta, #comments, #commentform, #postcomment, #resplink, #footer {display: none}

  * {
    -webkit-transition: none !important;
    transition: none !important;
  }	
}

@media print {
#menu, #topmenu, #thedrot, .meta, #comments, #commentform, #postcomment, #resplink, #footer {display: none}
  * {
    -webkit-transition: none !important;
    transition: none !important;
  }

html, body
{
  height: 297mm;
  width: 210mm;
}

 #NoPrint
{
  display:none !important;
  transition: none !important;
  height: 0 !important;
}

 @page
{
 margin: 10mm 10mm 10mm 20mm;
}
}

@media print {
 thead  { display: table-header-group; }
 table { page-break-inside: avoid; width: 80em; -fs-table-paginate: paginate; }
 tr    { page-break-inside: avoid; page-break-after: auto; }
 @page { margin: 1cm; }
}

@media all and (-webkit-min-device-pixel-ratio:0) and (min-resolution: .001dpcm) { /* äëÿ õðîìà #3402 */
 thead  { display: table-row-group; break-inside: avoid; }
}