:root {height:100%;}
* html, html{height:100%; margin:0; padding: 0;}
body{background: #fff; height:100%; margin:0; padding: 0;
   position: relative;
}

#app{height:100%;}

.catalog{height: inherit;}
#viewer{height: inherit;}

.editor-context-menu{
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 2px;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);
  display: none;
  padding: 1px;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 12px;
}

.cm__item {
  cursor: pointer;
  padding: 8px 15px;
}

.cm__item:hover {
  background-color: #f8f8f8;
}

.cm__divider {
  border-bottom: 1px solid #eeeeee;
  margin: 1px 0;
}


hr {
  border: 0;
  border-bottom: 1px solid #dbdcdb;
  margin: 10px 0;
  height: 1px;
}

.panel{
  padding: 1rem;
  background: #fff;
  margin: 1rem auto 1rem;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  margin-bottom: .3rem;
  background: #f4f4f4;
}

.panel:not(:last-child) {
  margin-bottom: .3rem;
}

.panel h3{ padding: 10px 20px;
  background: #EDEDED;
  display: inline-block;
  margin: 10px 0 0 0;
  border-radius: 0 4px 4px 0;
  color: #777;
  font-family: 'Lato';
  font-size: 0.9em;
  font-weight: 300;
}

h4::before{
content: '';
left: 0;
right: 0;
height: 1px;
background: #dbdcdb;
position: absolute;
top: 50%;
z-index: 0;
}

.wrap {
padding: 0 20px;
}

.wrap {
padding: 0 10px;
max-width: 1020px;
margin: 0 auto;}


body ::-webkit-scrollbar-thumb, #tabulator ::-webkit-scrollbar-thumb {
  cursor: pointer;
  border-radius: 5px;
  background: rgba(0,0,0,.25);
  -webkit-transition: color .2s ease;
  transition: color .2s ease;
}

/*
.button, button, input[type='button'], input[type='reset'], input[type='submit'] {
  border: 1px solid rgba(0,0,0,0.05); 
  line-height: unset;
  text-transform: none;
  padding: 1em;
  height: auto;
  font-weight: 300;
}
*/





header, footer {
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.05);
}


.Abutton{ margin: 1em; padding: 1em; border-radius: 2px; border: 1px solid rgba(0, 0, 0, 0.2);
background-color:rgba(36, 100, 191, 0.25);
display:  inline-flex; cursor: pointer;
 box-shadow: inset 0px 3px 0px 0px rgba(255, 255, 255, 0.18);
  margin: .4em .24em .5em 0;
  
}

.Abutton:hover{
  background-color:rgba(36, 100, 191, 0.3);
}


#TableEditor{width: 1100px; float: left;}

.tabulator{border: 1px solid rgba(0, 0, 0, 0.2); padding: 0px 1px;
 font-size: 11px;
}
.tabulator .tabulator-header .tabulator-col{text-align: center;}

.tabulator{background-color: rgba(136, 136, 136, 0.09);}
.tabulator-row.tabulator-selectable:hover {background-color:rgba(36, 100, 191, 0.25);}


.tabulator-row.tabulator-group{border-top: 0; background: rgba(55, 158, 121, 0.37); padding: 7px 12px 7px 12px; text-align: left; white-space: normal;}
.tabulator-row.tabulator-group:hover{background: rgba(55, 158, 121, 0.47);}
.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow, .tabulator-row.tabulator-group span{}

.tabulator-row.tabulator-group.tabulator-group-level-1{
	white-space: normal;
	background:rgba(181, 219, 205, 0.36);
	font-weight: 200;
	display:block;
}

.tabulator-row.tabulator-group.tabulator-group-level-1 label{
	display:inline-flex;
	max-width: 600px;
}

.tabulator-row.tabulator-group.tabulator-group-level-1:hover{
	background:rgba(122, 204, 174, 0.37)
}

.tabulator-row.tabulator-selectable.tabulator-row-even{
	 border-top: 1px dotted #ddd;
   border-bottom: 1px dotted #ddd;
   /* background-color: #efefef47 */
}


.tabulator-row.tabulator-selectable.tabulator-row-even:hover{
  background-color: rgba(36, 100, 191, 0.25);
}

.tabulator-row.tabulator-row-even1 {
   border-top: 1px dotted rgba(0,0,0,0.1);
	border-bottom: 1px dotted rgba(0,0,0,0.1);
	background: rgba(0, 0, 0, 0.06);
}

.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom {
    border-top: 1px solid #aaa;
}

.tabulator-calcs>div {
  visibility: visible !important;  
}

.tabulator-calcs .tabulator-col-resize-handle{
	visibility: hidden !important;
	display: none;
}

.tabulator-calcs .tabulator-cell{
	border-right: 1px solid rgba(200,200,200,0);
	display: none;
}


.tabulator-calcs [tabulator-field="salary"]{
	overflow: visible; text-align: right !important;
	display: block !important;
	width: 100% !important; 
	font-weight: 700;
	
	
}
.tabulator-calcs [tabulator-field="salary"]:after{  
  text-align: right;
  }  
  
.tabulator-calcs [tabulator-field="salary"]{
  visibility: visible !important; overflow: visible; text-align: right;
}
.tabulator-calcs [tabulator-field="salary"]:before{
	content: "Итого зарплата по группе: ";
	padding: 1em;
}


.tabulator-row.tabulator-moving{
    z-index:99999;
}

.jexcel_label{display: none;}
#xls_grid{float:right;}