/* import osmit css */
@import url("/eBefundNG/zkau/web/public/smartadmin/css/osmit.css");

/* red background in cells for port-errors */
.z-listitem.port-errors > .z-listcell, .z-listitem.port-errors.z-listitem-selected > .z-listcell {
    background-color: #dd0000;
}

/* set text color to white when port is flagged as port-error */
.z-listitem.port-errors > .z-listcell > .z-listcell-content, .z-listitem.port-errors.z-listitem-selected > .z-listcell > .z-listcell-content {
    color: #ffffff;
}

/* hovering over buttons within a cell with port-error should display readable button label */
.z-listitem.port-errors > .z-listcell > .z-listcell-content > .z-toolbarbutton:hover, .z-listitem.port-errors.z-listitem-selected > .z-listcell > .z-listcell-content > .z-toolbarbutton:hover {
    color: rgba(0, 0, 0, 0.9);
}

/* rows with port-errors should still show error state with red text when selected and focused  */
.z-listitem.port-errors.z-listitem-selected.z-listitem-focus:hover > .z-listcell > .z-listcell-content {
    color: #dd0000;
}

/*
.z-listitem.record-inactive>.z-listcell, .z-listitem.port-errors.z-listitem-selected>.z-listcell {
	background-color: #dd0000;
}
*/

.z-listitem.record-inactive > .z-listcell > .z-listcell-content, .z-listitem.record-inactive.z-listitem-selected > .z-listcell > .z-listcell-content {
    color: #999999;
}

/* data list editor - 5px left border on TR's for modified marker */
.z-listbox.dataListEditor tr.z-listitem {
    border-left: 5px solid transparent;
}

.z-listbox.dataListEditor tr.z-listitem:hover {
    border-left: 5px solid #f2f2f2;
}

.z-listbox.dataListEditor tr.z-listitem.z-listitem-selected {
    border-left: 5px solid #e9ecef;
}


/* Overrides for Tree-Visualization in list  */
.z-listcell.tree {
    overflow: visible;
}

.z-listcell.tree > .z-listcell-content {
    padding-top: 0px;
    padding-bottom: 0px;
    overflow: visible;
    height: 35px;
}

.z-listcell.tree > .z-listcell-content > span.tree-viz {
    font-family: Consolas, Menlo, monospace;
    font-size: 28px;
    line-height: 36px;
    display: inline-block;
    margin-top: -1px;
}

.z-window.sa-progressWin > .z-window-header {
    min-height: 1em;
    padding: 0;
}


/* fixes the 'border-disappers-on-hoover issue: http://jira.secadm.org/browse/EBEFUNDNG-349 */
.webkit.safari .z-listbox .z-listbox-body table, .webkit.safari .z-grid table
	{
	border-collapse: separate;
}
/*
.webkit.safari .z-listbox .z-listbox-header table, .webkit.safari .z-grid table {
	border-collapse: separate;
}
.z-listbox .z-listbox-body table tbody tr td:first-child  {
	background-color: red !important;
	margin-right: 2px;
}
*/
/* 8u66 - seltsame "Markierungs"schmiereffekte beim doppelklick auf liste */
.webkit.safari .contentInnerList .z-listbox .z-listitem {
	-webkit-user-select: none;
	user-select: none;
}

/* ZK 9.6 Migration - pre tab, mit breadcrumbs */

@media only screen and (min-width: 992px) {
  .page-wrapper .page-header {
    padding: 0 10px;
  }
}

.page-header .osmit-header #activeTabDropdown {
	margin-right: 15px;
}

.page-header .osmit-header #breadcrumbs-holder {
	flex: 1;
}

.page-header .osmit-header .breadcrumb {
    padding: 0;
    margin: 0;
    background-color: white;
	line-height: 48px;
}
.page-header .osmit-header .breadcrumb .breadcrumb-item {
	max-width: 30vw;
}

.page-header .osmit-header .btn {
	margin-top: 0.4rem;
	height: 2.4rem;
}

.page-header .osmit-header .btn.btn-icon {
	line-height: 2.4rem;
}

.page-footer .osmit-footer-center span, .page-footer .osmit-footer-center span#webSocketState {
	color: #dddddd;
}
.page-footer .osmit-footer-center span#webSocketState:hover {
	color: #000000;
}

/* ########## read / unreade states */
/* datatables variant
.sa-eBefundNG-unread td {
    font-weight: bold;
}
*/
.sa-eBefundNG-unread div.z-listcell-content {
	font-weight: bold;
}

.sa-eBefundNG-unread span.z-label {
	font-weight: bold;
}

/* ########## toolbar bar eBefundNG findings view */
.sa-eBefundNG-toolbar-activeFindingList {
	vertical-align: top;
	margin-right: 5px;
	margin-top: 8px;
	line-height: 15px;
	min-height: 20px !important;
	border: 1px solid #f5f5f5;
	border-radius: 3px;
}

.sa-eBefundNG-toolbar-activeFindingList>.z-combobox-input {
	margin: 0px;
	border-left: 1px;
	padding: 0px 10px;
	height: 18px;
	border: 0px;
}

.sa-eBefundNG-toolbar-activeFindingList>.z-combobox-button {
	margin: 0px 2px 0px 0px;
	height: 18px;
	min-height: 18px;
}

.sa-eBefundNG-toolbar-activeFindingList>.z-combobox-button>.z-combobox-icon
	{
	/* color: #f5f5f5; */
	line-height: 14px;
	width: 20px;
}

.sa-eBefundNG-toolbar-zoomLabel {
	display: inline-block;
	margin-left: 10px;
	vertical-align: top;
	margin-top: 4px;
	margin-right: 5px;
	/* color: #fff; */
}

.sa-eBefundNG-toolbar-slider.z-slider {
	display: inline-block;
	height: 24px;
	padding: 8px 0px;
	vertical-align: top;
	margin-top: 7px;
}

.sa-eBefundNG-toolbar-slider .z-slider-button {
	border-radius: 20px;
	width: 22px;
	height: 22px;
	border: 1px solid #FFF;
	background: none repeat scroll 0% 0% #858585;
	font-family: FontAwesome;
	font-style: normal;
	font-weight: 400;
	-moz-osx-font-smoothing: grayscale;
	text-align: center;
	line-height: 16px;
	font-size: 10px;
	color: #BDBDBD;
	text-shadow: 0px 1px 0px rgba(77, 77, 77, 0.5);
	transform: rotate(90deg);
	top: -7px;
}

.sa-eBefundNG-toolbar-slider .z-slider-button:before {
	content: "\f0c9";
}

/* findings view on mobile devices - hard sizing of containing frame */
.mobile .findingsScrollingDiv {
	position: absolute !important;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
}

.ldtDisplayBox {
	white-space: pre;
	overflow: auto;
	font-family: monospace;
	display: table;
	margin-left: 20px;
	counter-reset: section;
}

.ldtDisplayBox span {
	display: block;
}

.ldtDisplayBox>span:before {
	counter-increment: section;
	content: counter(section) ". ";
	color: #999;
	width: 40px;
	display: inline-block;
	text-align: right;
}

.ldtDisplayBox span.ldtError {
	color: #990000;
}

/* emergency alert related */
.z-menu.findingsAlert .z-menu-content i:not(.z-menu-icon), .z-menuitem.findingsAlert .z-menuitem-content i:not(.z-menu-icon) {
	width: 16px;
	height: 16px;
	min-width: 16px;
	min-height: 16px;
	line-height: 16px;
	text-align: center;
	margin-right: 9px;
}

.responsive-window {
   width: 100%;
}

@media only screen and (min-width: 768px) {
   .responsive-window {
      width:80vw;
   }
}

.z-notification-content {
	width: 100% !important;
	max-width: 450px !important;
}

/* ######### DIVS ########## */