:root {
  --ryvett-light-grey: #fafafa;
  --ryvett-bright-white: #ffffff;
  /* --ryvett-light-grey: yellow; */
  --ryvett-dark-grey: /**/#cdcdcd;
  --ryvett-grey-blue: #1e6697; /*#003D96; */
  --ryvett-dark-blue: #a4b4bf;
  --ryvett-light-grey-blue-highlighter: #a4b4bf;
  --ryvett-header-spacer: 40px;
  --purple-b-highlight: #E3E3E5;
  --purple-b-table-lines: #AEAEB4;
  --ryvett-submenu-bg-color: #F0F5F9; /*#ECF4FF; */
  --ryvett-submenu-color: #1e6697;
  --ryvett-topmenu-color: #1e6697;
  --ryvett-topmenu-hover-color: #a4b4bf;
  --ryvett-footer-color: #1e6697;
  --ryvett-button-bg-color: #1e6697;
  --ryvett-button-color: #FFFFFF;
}

body{
  min-height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
  background-color: #ffffff;  /*#c8d2d8 #adbdc9;*/
  display: flex;
  flex-direction: column;
  font-family: Cabin, Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif !important;
}

.webix_view, .webix_el_label, .webix_control button, .webix_control input, .webix_control textarea,
.webix_el_richselect .webix_inp_static, .webix_inp_label, .webix_ss_filter select,
.webix_el_select select, .webix_view .webix_pager_item{
  font-family: Cabin, Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif !important;
}

/***********************
 * Header
 **********************/
.qog_header{
  height: 50px;
  padding: 3px 5px 0px 5px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  color: var(--ryvett-topmenu-color);
  font-size: 2em;
  border-bottom: 2px solid var(--ryvett-topmenu-color);
}

.qog_logo{
  height: 50px;
  float: right;
  padding-left: 10px;
}

.qog_menu{
    font-style: oblique;
    flex: 1 0 auto;
    margin-top: auto;
    margin-left: 80px;
    margin-bottom: 3px;
}
.qog_menu a{
  text-decoration: none;
  color: inherit;
  margin-left: 0.5em;
}
.qog_menu a.qog_page_selection{
  color: var(--ryvett-topmenu-color);
  border-bottom: 1px solid var(--ryvett-topmenu-color);
  padding-bottom: 0.1px;
  border-bottom-width: 5px;
  /*var(--ryvett-light-grey);*/
}
.qog_menu a:not(.qog_page_selection):hover{
  color: var(--ryvett-dark-blue);
}

.qog_product_name{
  color: var(--ryvett-topmenu-color);
  margin-top: auto;
  margin-left: 20px;
  margin-right: 14px;
  flex: 0 0 auto;
  text-decoration:none;
}

.qog_logout{
  /* top: 0; */
  /* margin: 0; */
  margin-top: auto;
  flex: 0 0 auto;
}

.qog_user_label{
  color: var(--ryvett-topmenu-color);
}

.qog_user_icon .webix_icon_btn{
	color: var(--ryvett-topmenu-color);
}

.qog_user_icon .webix_img_btn:hover{
	background-color: var(--ryvett-light-grey-blue-highlight);
}

.qog_user_icon .webix_el_box{
	padding: 0;
}

.qog_user_controls{
  background-color: var(--ryvett-light-grey) !important;
    box-shadow: 1px 1px 1px 1px lightgrey;
    border-radius: 10px;
}
.qog_user_controls:hover{
	background-color: transparent;
}
.qog_user_controls .webix_img_btn:hover{
  background-color: var(--ryvett-dark-blue);
  color: white;
  /*var(--ryvett-dark-grey);*/
}


/***********************
 * Footer
 **********************/
.qog_footer{
  flex: 0 0 auto;
  margin-top: auto;
  font-size: 0.75em;
  display: flex;
  flex-direction: row;
  color: var(--ryvett-footer-color);
  padding: 3px 5px 0px 5px;
}
.qog_footer .qog_version{
  margin-left: auto;
}


/***********************
 * Body
 **********************/
.qog_body{
  /* border-radius: 200px/100px 0px 0px 0px; */
  /*background-image: url("/static/imgs/qognit_grey_back_onlyQ.png"); */
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: 600px;
  min-height: 600px;
  background-color: var(--ryvett-bright-white);
  padding-top: 1px;
  flex: 1 0 auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/***********************
 * Webix
 **********************/
.webix_view{
    background-color: transparent;
}
.webix_view .webix_form{
    background-color: transparent;
}
.webix_window{
  background-color: var(--ryvett-light-grey);
}
.webix_list_item{
	border-bottom: none;
}
.webix_list_item.webix_selected{
	color: white;
	background: var(--ryvett-dark-blue);
}

a.webix_list_item{
  color:  #666;
}

.label_header {
  display: block;
  font-size: 1.5em;
  margin-block-start: 0.83em;
  margin-block-end: 0.83em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
}

#qog_content{
  flex: 1 0 auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* padding-top: 5px; */
}

.crumbs .webix_list_item{
  border-right: none;
  padding-top:8px;
}

.crumbs .webix_list_item:hover{
  font-weight: bold;
}

.crumbs .webix_list_item:not(:first-child){
  margin-left: -10px;
}

.crumbs a, .crumbs a:visited{
  text-decoration:none;
  color: var(--ryvett-submenu-color);
  font-size: 14pt;
}
.crumbs .webix_list_item:not(:first-child):before{
  content:">";
  color: var(--ryvett-submenu-color);
  padding-right:10px;
}

.qog_three_container{
  flex: 1 0 auto;
  display: flex;
}

.qog_side_menu{
  border-width: 1px;
  border-right: 0px;
}

.qog_tree_icon{
  margin-left: -9px !important;
}

.qog_tree{
  border-width: 0px !important;
}

#qog_tree{
  float: left;
  margin-top: 0px;
  margin-left: 5px;
  border-collapse: collapse;
  margin-right: 10px;
  /* margin-right: 100px; */
   /*border: 0 !important; /*overriding element.style*/ */
}

#qog_tree  > .webix_layout_line{
    background-color: white;
    /* margin-top: 40px; */
    box-shadow: 1px 1px 1px 1px lightgrey;
    /* border-radius: 10px; */
}

/* #qog_detail .webix_view:first-child{ */
/*     background-color: white; */
/*     margin-top: 20px; */
/*     box-shadow: 1px 1px 1px 1px lightgrey; */
/*     border-radius: 10px; */
/* } */

.sidebar_assay_label{
  /* transform: rotate(-90deg); */
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  text-align: center;
}

#qog_detail{
  flex: 1 0 auto;
  /* padding-left: 20px; */
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.export-add-button .webix_icon{
  font-size:45px;
  margin-left:-20px;
}


.qog_options_button button.webixtype_base{
  background: transparent !important;
  background-color: transparent !important;
  border-color: #666 !important;
  color: #666;
}

.qog_button *{
  text-align: center !important;
}

.qog_transparent_button button.webixtype_base,
.qog_button_small button.webixtype_base,
.qog_button_small span.webix_icon{
  font-size: 0.75em;

}

.qog_transparent_button button.webixtype_base,
.qog_uploader_small button.webixtype_base,
.qog_uploader_small span.webix_icon{
  font-size: 0.75em;

}

.qog_button_large button.webixtype_base,
.qog_button_large span.webix_icon{
  font-size: 1.75em;
}


.qog_button_small button.webixtype_base,
.qog_button_large button.webixtype_base,
.qog_uploader_small button.webixtype_base,
.qog_button  button.webixtype_base,
.qog_button   button.webix_img_btn,
.qog_button button.webixtype_form,
/*.qog_button   span.webix_icon_btn,*/
.webix_popup_button > div{
  background: var(--ryvett-button-bg-color) !important;
  background-color: var(--ryvett-button-bg-color) !important;
  border-color: var(--ryvett-button-bg-color) !important;
  color: var(--ryvett-button-color) !important;
}


.webix_view.webix_control > .webix_disabled {
    opacity: 0.5  !important;
}

.qog_button_large_reverse button.webixtype_base,
.qog_button_large_reverse span.webix_icon{
  font-size: 1.75em;
}

.qog_button_large_reverse  button.webixtype_base,
.qog_button_reverse   button.webix_img_btn,
.qog_button_reverse   span.webix_icon_btn {
  background: transparent !important;
  background-color: transparent !important;
  border-color: transparent !important;
  color: var(--ryvett-button-bg-color) !important;
}

.qog_button_reverse_border   button.webix_img_btn_abs,
.qog_button_reverse_border   span.webix_icon_btn {
  background: transparent !important;
  background-color: transparent !important;
  border-color: var (--ryvett-light-grey) !important;
  color: var(--ryvett-button-bg-color) !important;
}

.webix_toolbar .webix_icon,
.webix_toolbar .webix_img_btn_text {
  color: var(--ryvett-submenu-color) !important;
}

.qog_transparent_button   span.webix_icon_btn,
.qog_button   span.webix_icon_btn{
  background-color: transparent !important;
  color: #fff;
}

.qog_transparent_button button:hover,
.qog_button_large button:hover,
.qog_button_small button:hover,
.qog_uploader_small button:hover,
.qog_button   span:hover,
.qog_button button:hover{
  background-color: var(--ryvett-dark-blue) !important;
  border-color: var(--ryvett-dark-blue) !important;
}

.qog_page_selection.webix_list_item,
.qog_page_selection.webix_list_item:hover
{
  background-color: var(--ryvett-dark-grey);
}

/*.qog_plate  div[role="gridcell"]{
  margin: 2px;
  border-radius: 5px;
}

.qog_plate td{

  background: #ddd;
  border: 0;

}

.webix_view[view_id="qog_edit_plot"] .webix_overlay,
#qog_content .webix_overlay,
.qog_plate .webix_overlay{
  background: rgba(84,52,80,0.3);
  line-height: 250px;
  font-size: 2em;
  color: #fff;
}

.qog_plate div.webix_cell_select{
  background: var(--ryvett-dark-blue);
}*/

.qog_directional_button, .qog_directional_button .webix_el_arrow,
.qog_directional_button .webix_el_arrow:hover
{
  border-color: var(--ryvett-topmenu-color);
  background: : var(--ryvett-topmenu-color) !important;
}

.qog_banner_toolbar.webix_toolbar{
  background: var(--ryvett-submenu-bg-color);
}

.qog_toolbar.webix_view{
  border: 0 ;
  background-color: transparent;
}

.webix_window .qog_toolbar.webix_view{
  border: 0 ;
  background-color: var(--ryvett-dark-grey);
  color: var(--ryvett-grey-blue);
}

.webix_view[view_id="qog_threshold_plot"] .webix_overlay,
.webix_view[view_id="qog_edit_plot"] .webix_overlay,
.webix_view .webix_overlay,
#qog_content .webix_overlay{
  background: rgba(84,52,80,0.3);
  line-height: 250px;
  font-size: 2em;
  color: #fff;
}

.qog_tabbar .webix_item_tab {
  background: var(--ryvett-bright-white);
  color:var(--ryvett-grey-blue);
  border-color: var(--ryvett-grey-blue);
}

.qog_tabbar .webix_selected,
.qog_tabbar .webix_item_tab.webix_selected,
.qog_tabbar .webix_after_all_tabs{
  background: var(--ryvett-grey-blue);
  border-color: var(--ryvett-grey-blue);
  color: var(--ryvett-bright-white);
}
.qog_tabbar .webix_item_tab:hover{
  background: var(--ryvett-dark-blue);
  border-color: var(--ryvett-dark-blue);
}

/*.qog_plate > div{
  border: 0 ;
  background: #ddd;

}

.qog_plate div[role="columnheader"]{
  text-align: center;
}

.qog_plate_label  div.webix_cell{
  border: 0;
  background: #ddd;
  text-align: center;
}

.qog_plate{
  border-radius: 5px;
  margin-top: 2px;
  border: 0;
  background-color: #FFFDF9;
}


.qog_plate tr[section="header"] > .webix_first {

    border-top: 30px solid #FFF;
    border-right: 70px solid transparent;
    width: 0;
}*/

.qog_scroll{
  border: 0;
  background-color: #FFFDF9;
}

.qog_counter button.webix_inp_counter_next,
.qog_counter button.webix_inp_counter_prev
{
  /* background-color: #fff; */
  /* border-color: grey; */
  background-color: #fff;
  border-color: lightgrey;
  color: grey;
  /*box-shadow: var(--ryvett-dark-blue);*/
}

.qog_select  span.webix_input_icon{
  /* background-color: #fff; */
  /* border-color: grey; */
  background-color: inherit;
  color: grey;
}

.qog_pager button.webix_pager_item{
  background: var(--ryvett-topmenu-color);
  border-color: var(--ryvett-topmenu-color);
}

.qog_pager button.webix_pager_item:hover {
  background: var(--ryvett-topmenu-hover-color);
  border-color: var(--ryvett-topmenu-hover-color);
}

.qog_pager button.webix_pager_item_selected,
.qog_pager button.webix_pager_item_selected:hover{
  background: var(--ryvett-topmenu-color);
  border-color: var(--ryvett-topmenu-color);
}

.qog_metrics_table div{
  border-collapse: collapse;
}

.qog_metrics_table div[role="columnheader"]{
    background-color: lightgrey;
    /* border: 1px solid black; */
    border-collapse: collapse;
    /* color: #fff; */
}

.qog_metrics_table div.webix_ss_header{
  /* border-width: 0px 1px 0px 0px; */
  /* border-color: grey; */
  border: none;
  background: lightgrey;
  /* border-collapse: collapse; */
}

.qog_metrics_table .webix_ss_header td{
  border-color: grey;
  background-color: lightgrey;
  /* border: none; */
  border-collapse: collapse;
}

.qog_resize_table .webix_hcell,
.qog_resize_table div.webix_cell{
  border-right: 1px solid lightgrey;
}

.qog_resize_table .webix_hcell{
  border-top: 1px solid lightgrey;
}



.qog_resize_table .webix_ss_header td{
  border-color: grey;
  border-collapse: collapse;
}

.qog_resize_table div.webix_row_select,
.qog_table div.webix_row_select,
.qog_search_table div.webix_row_select{
  background-color: var(--ryvett-dark-blue);
}

.qog_resize_table div.webix_ss_vscroll_header,
.qog_table div.webix_ss_vscroll_header{
  border-width: 0px 1px 0px 0px;
  border-color: grey;
  border-left: 1px solid #fff;
  border-bottom: 1px solid grey;
  background: #ffffff;
}

.qog_resize_table div.webix_ss_vscroll_header{
  border-top: 1px solid lightgrey;

}

.qog_table .webix_ss_header td{
  border-width: 0px 0px 1px 0px;
  border-color: grey;
}

.qog_table div.webix_cell{
  border-width: 0px 0px 1px 0px;
  /* border: 0px; */
}

div.qog_table{
  border: 1px solid lightgrey;
}

.qog_resize_table div[role="columnheader"],
.qog_table div[role="columnheader"]{
  background-color: #fff;
  color: black;
}

.qog_table .webix_overlay{
  background: rgba(84,52,80,0.3);
  line-height: 250px;
  font-size: 2em;
  color: #fff;
}

.qog_table .webix_tree_none{
  width: 15px;
}

.tooltip::after {
	background: rgba(0, 0, 0, 0.8);
	border-radius: 0px 8px 8px 8px;
	box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
	color: #FFF;
	content: attr(data-tooltip);
	margin-top: 24px;
	opacity: 0;
	padding: 3px 7px;
	position: absolute;
  visibility: hidden;
  z-index: 99 !important;

	transition: all 0.4s ease-in-out;
}

.tooltip:hover::after {
	opacity: 1;
	visibility: visible;
}

/* .qog_tree, */
/* .qog_tree .webix_tree_img */
/* { */
/*   background-color: transparent;; */
/* } */

.qog_tree .webix_tree_item.webix_selected,
.qog_tree .webix_tree_item.webix_selected span{
  background: var(--ryvett-light-grey-blue-highlighter);
}

/*.qog_side_menu{
  background-color: #FEF3EC;
  padding: 2px;
}*/

.qog_label{
  font-weight: bold;
}

.qog_section_title{
  font-weight: bold;
  background-color: #eeeeee;
}

.qog_hidden_list{
  display: none !important;
}

.qog_button_overlay{
  color: #fff;

}

.qog_accordion .webix_accordionitem_label{
  text-align: center;
}

.qog_accordion button{
  width: 300px;
  margin-left: 40%;
  margin-right: 40%;
}

.qog_plate_menu a.webix_list_item:last-child{
  float: right;
  background: grey;
  border-radius: 5px;
}

.qog_plate_menu .webix_menu-x a.webix_list_item:last-child{
  border-radius: 5px !important;
}

.qog_tree_menu.webix_view{
  background: var(--ryvett-grey-blue);
  border: 0;
  width: 100%;
}


.qog_tree_menu.webix_view .webix_img_btn:hover{
  background: var(--ryvett-dark-grey);
}

.qog_toolbar_text{
  background: transparent;
  border: 0;
  color: #fff;
}

.webix_layout_toolbar.webix_toolbar .webix_el_label {
    color: var(--ryvett-submenu-color) !important;
}

.webix_layout_toolbar.webix_toolbar .webixtype_prev {
    border-color: var(--ryvett-topmenu-color) !important;
    background: var(--ryvett-submenu-bg-color) !important;
    color: var(--ryvett-submenu-color) !important;
}

.webix_layout_toolbar.webix_toolbar.qog_toolbar_menu{
  background: #a9a9a9;
}

.qog_login_warning{
  text-align: center;
  color: red;
}


.qog_window .webix_img_btn{
  text-align: center;
}


.webix_popup_text{
  box-shadow: 0 3px #20B7AA inset;
}

.qog_green{
  background-color: green;
  color: #fff;
}

.qog_yellow{
  background-color: yellow;
  /*color: #fff;*/
}

.qog_red{
  background-color: red;
  color: #fff;
}

.qog_hidden_uploader{
  height: 0 !important; /* see if there's a better solution for this later*/
  width: 0 !important; /* webix doesn't seem to respect maxHeight property on resize */
}

.qog_icon_button button[aria-pressed="true"]{
  box-shadow: none !important;

}

.qog_transparent_button .webix_pressed,
.qog_icon_button .webix_pressed{
  background-color: var(--ryvett-light-grey-blue-highlighter) !important;
  color: #fff !important;
  box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}

.qog_icon_button button{
  border: 0 !important;
  background-color: transparent !important;
}

.qog_icon_button .webix_el_box:not(.webix_pressed) button,
.qog_icon_button .webix_el_box:not(.webix_pressed) span{
  color: #666 !important;
}

.qog_icon_button{
  border: 1px solid lightgrey !important;

}

.qog_link_wrap{
  white-space: pre-wrap;      /* CSS3 */
   white-space: -moz-pre-wrap; /* Firefox */
   white-space: -pre-wrap;     /* Opera <7 */
   white-space: -o-pre-wrap;   /* Opera 7 */
   word-wrap: break-word;      /* IE */
}

.qog_table .filter-disabled,
.qog_search_table .filter-disabled{
  background-color: lightgrey;
  cursor: not-allowed;
}

.qog_table .filter-partial,
.qog_search_table .filter-partial{
  background-color: #FCF7C4;
  cursor: not-allowed;
}

.filter-good{
  background-color: lightsteelblue;
}

.qog_contextmenu_item{
  cursor: pointer;
}
.qog_contextmenu_item:hover{
  background: var(--ryvett-dark-blue);
  color: white;
}

.qog_error_page{
  margin-left: 45%;
  margin-top: 20%;
}

.qog_error_page div{
  width: 250px;
  text-align: center;
}

.qog_search_table div.webix_ss_vscroll_header{
  border-width: 0px 1px 0px 0px;
  border-color: lightgrey;
}

.qog_search_table .webix_ss_header td{
  border-width: 0px 0px 1px 0px;
  border-color: lightgrey;
}

.qog_search_table div.webix_cell{
  border-width: 0px 0px 1px 0px;
  text-align: center;
  /* border: 0px; */
}

div.qog_search_table{
  border: 1px solid lightgrey;
}

.qog_search_table div,
.qog_search_table td{
  background-color: #fff;
  /* border-color: black; */
  /* border-collapse: collapse; */
  /* border-width: 0px 0px 1px 0px; */
}

.qog_search_table div[role="columnheader"]{
  background-color: #fff;
  color: black;
  text-align: center;
}

.qog_search_table .webix_overlay{
  background: rgba(84,52,80,0.3);
  line-height: 250px;
  font-size: 2em;
  color: #fff;
}

.multiline{
  line-height: 30px !important;
}

.clickable{
  color: var(--ryvett-grey-blue);
  font-weight: bold;
  cursor: pointer;
}

.treetable-clickable div[aria-level="1"]{
  color: var(--ryvett-grey-blue);
  font-weight: bold;
  cursor: pointer;
}

.treetable-clickable-2 div[aria-level="2"]{
  color: var(--ryvett-grey-blue);
  font-weight: bold;
  cursor: pointer;
}

.qog-button{
  background: transparent;
  color: white;
  border: none;
  border-radius: 6px;
  margin: 4px;
  background-color: var(--ryvett-grey-blue);
}

.qog-button:hover{
  font-weight: bold;
  background-color: var(--ryvett-dark-blue);
}

.webix_upload_server{color:var(--ryvett-grey-blue)}

.dimension-selection-width{
  width: 88px;
}