/*Webix custom css*/

.tpl-layout,
.tpl-layout .webix_template {
  height: 100%;
}

.tpl-wrap {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tpl-header {
  display: flex;
  justify-content: flex-end;
}

.tpl-col {
  flex: 1;
  box-sizing: border-box;
}

.tpl-col.center{ 
	justify-content: center; 
}

.tpl-col.left{ 
	justify-content: flex-start; 
}

.tpl-col.right{ 
	justify-content: flex-end; 
}

.tpl-footer {
  display: flex;
  justify-content: flex-end;
}

.tpl-content {
  flex: 1;
  display: flex;
  box-sizing: border-box;
}

.tpl-col {
  flex: 1;
  box-sizing: border-box;
}

.tpl-col-2 {
  flex: 2;
  box-sizing: border-box;
}

.col-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.col-header {
  display: flex;
}

.col-body {
  flex: 1;
	display: flex;
  flex-direction: column;
  overflow: auto;
}

.col-body .row {
}

.col-body .line-height-initial {
	line-height: 1.4 !important;
}

.col-footer {
  display: flex;
}

.col-footer-button {
	height: 24px;
  display: flex;
	gap: 3px;
}

.col-table {
	border-collapse: collapse !important;
	border: 0 !important;
}

.col-table th {
	line-height: 1.8 !important;
  padding-right: 5px;
	border: 0 !important;
	border-bottom: 1px solid silver !important;
}

.col-table td {
	line-height: 1.8 !important;
  padding-right: 5px;
	border: 0 !important;
}

.col-table.right {
	text-align: right;
}

.col-table th.border-bottom {
	border-bottom: 1px solid silver !important;
}

.col-table th.border-top {
	border-top: 1px solid silver !important;
}

.col-table td.border-bottom {
	border-bottom: 1px solid silver !important;
}

.col-table td.border-top {
	border-top: 1px solid silver !important;
}

.col-table-button {
	display: flex;
	gap: 3px;
	width: 40px;
}

.img-stretch{
	width: auto;
	max-width: 100%;
	max-height: 100%;
}

.badge {
  padding: 1px 8px;
  border-radius: 10px;
	color: #000;
}

.badge.litesilver {
	background-color: #f2f3f4;
}

.badge.silver {
	background-color: #cacfd2;
}

.badge.orange {
	background-color: #f39c12;
	color: #FFFFFF;
}

.badge.yellow {
	background-color: #FFFF00;
}

.badge.purple {
	background-color: #9b59b6;
	color: #FFFFFF;
}

.badge.green {
	background-color: #1e8449;
	color: #FFFFFF;
}

.upper-case {
	text-transform: uppercase;
}

.webix_spiner_loading {
	padding-left: 10px;
	padding-right: 10px;
}

.webix_tooltip {
  font-weight: normal !important;
  color: #000000 !important;
  background: #FFFFFF !important;
  background-color: rgba(255, 255, 255, 1) !important;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
  border: 1px silver solid !important;
  border-radius: 5px !important;
}

.webix_inner_shadow_hover:hover {
  box-shadow: inset 0 0 5px #e6e6e6;
}

.webix_sidebar {
  background: #FFFFFF !important;
  background-color: rgba(255, 255, 255, 1) !important;
  box-shadow: inset 0 0 10px #e6e6e6 !important;
}

.webix_sidebar .webix_tree_item {
  color: #000000 !important;
}

.webix_dtable.webix_header_border_datatable .webix_ss_header .webix_hcolumn > div,
.webix_dtable.webix_header_border_datatable .webix_ss_header .webix_span {
  border-right-color: #dadee0;
  border-bottom-color: #dadee0;
}

.webix_dtable.webix_data_border_datatable .webix_ss_body .webix_column > div,
.webix_dtable.webix_data_border_datatable .webix_table_cell {
  border-right-color: #edeff0;
}

.webix_item_tab .webix_selected {
	background-color: silver !important;
}

.webix_message.webix_success {
	border-radius: 4px !important; 
	border-left: 6px solid #88dcb6 !important;
}

.webix_message.webix_error {
	border-radius: 4px !important; 
	border-left: 6px solid #ff8d82 !important;
}

.webix_message.webix_debug {
	border-radius: 4px !important; 
	border-left: 6px solid #fed282 !important;
}

.webix_message_area {
	left: 33% !important;	
	width: 33% !important
}

.webix_border_top {
	border-top-width: 1px !important;	
}

.webix_error_background {
	background-color: #ffe6e6 !important;
}

.webix_blink {
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0.2;
  }
}

@media all and (max-width: 1200px) {
	.webix_message_area {
		left: 25% !important;	
		width: 50% !important
	}
}

@media all and (max-width: 768px) {
	.webix_message_area {
		left: 0px !important;	
		width: 100% !important
	}
	.tpl-content {
    flex-direction: column;
  }
	.col-footer button {
		width: 100%;
	}
}
