:root
{
	--toolbar-background-color: #ddd;
	--toolbar-border-color: #bbb;
	--toolbar-hover-color: rgba(0,0,0,0.1);
	--toolbar-seperator-color: rgba(0,0,0,0.25);
	--toolbar-text-color: #000;
	--toolbar-menu-bgcolor: #fff;
}

.toolbar
{
	border-width	: 0 0 1px 0 ;
	border-style	: solid;
    background-color: var(--toolbar-background-color);
    color			: #000000;
	height			: 30px;
	padding			: 0px 0.25em;
	position: relative;
	line-height: 20px;
	white-space: nowrap;
    line-height: 	25px;
	padding			: 0px 0.25em;
	color:  var(--toolbar-text-color);
	border-color: var(--toolbar-border-color);
}

.toolbars
{
	background: initial;
    background-color: var(--toolbar-background-color);
	width: 100%;
	display: flex;
}
.toolbar ~ .toolbar
{
	border-width	: 0 0 1px 1px ;
}
.toolbars div.toolbar:last-of-type
{
	flex-grow: 2;
}

.toolbars:before,
.toolbars:after
{
	content: "";
	clear: both;
	display: table;
}

#mainmenulogo
{
	background-image: url('../img/ibvision.svg');
	background-size: auto 90%;
	background-repeat: no-repeat;
	background-position: right center;
	flex-basis: 100%;
}

.toolbar select {
    margin: 0;
    width: auto !important;
}

.toolbar > a,
.toolbar .tbBtn,
.toolbar .tbTextBtn,
.toolbar .tbMenu,
.toolbar .tbLabel,
.toolbar .tbInput,
.toolbar > .spr
{
	color: var(--body-text-color);
	position: relative;
	z-index: 751;
	display: inline-block;
	height: 28px;
	line-height: 28px;
	margin: 0;
	padding: 0 0.5em;
	border: none;
	background-color: transparent;
	vertical-align: middle;
}

.toolbar .tbBtn
{
	text-align: center;
}

.toolbar > a,
.toolbar > span
{
	display: inline-block;
    vertical-align: middle;
	height: 28px;
	line-height: 28px;
}

.toolbar > *,
.toolbar > * > img
{
    vertical-align: middle;
}

.toolbar .tbMenuXS
{
	padding: 0 0.2em;
}

.toolbar .tbBtn .fa-fw
{
	font-size: 16px;
	line-height: 28px;
}

.toolbar .tbBtn:hover,
.toolbar .tbTextBtn:hover,
.toolbar .tbMenu:hover,
.toolbar .active
{
	background-color: var(--toolbar-hover-color);
}

.toolbar input:not([type]),
.toolbar input[type="text"],
.toolbar input[type="password"],
.toolbar input[type="number"],
.toolbar input[type="date"],
.toolbar input[type="email"],
.toolbar input[type="search"],
.toolbar input[type="button"],
.toolbar input[type="submit"],
.toolbar input[type="image"],
.toolbar button,
.toolbar select
{
	height: 22px;
	line-height: 20px;
	vertical-align:  middle;
}

.toolbar .spr
{
	padding: 0;
	margin: 0 0.25em;
	border-left: 1px solid var(--toolbar-seperator-color);
}

.toolbar .tbBtn
{
	width: auto;
	min-width: 28px;
	background-repeat: no-repeat;
	background-position: center center;
}


.toolbar .tbMenu ul
{
	line-height: 28px;
	position: absolute;
	visibility: hidden;
	opacity: 0;
	transition: all 0.0s 0.1s;
	top: 100%;
	left: 0;
	background: var(--toolbar-menu-bgcolor);
	border: 1px solid var(--toolbar-border-color);
	display: block;
	padding: 0;
	margin: 0;
	box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.5), inset 25px 0px 0px 0px rgba(0,0,0,.1);
	list-style-type: none;
	max-height: calc(100vh - 80px);
	overflow-y: auto;
	width: auto;
	text-align: left;
}

.toolbar .tbMenu:hover
{
	z-index: 1000;
	cursor: pointer;
}

.toolbar.menuactive .tbMenu.exp ul
{
	visibility: visible;
	opacity: 1;
}

.toolbar .tbMenu li
{
	position: relative;
	display: block;
	white-space: nowrap;
	background-position: 5px center;
	background-repeat: no-repeat;
	cursor: pointer;
	padding: 0 0.5em 0 32px;
	margin: 0;
}
.toolbar .tbMenu li i.fa-fw
{
	position: absolute;
	top: 0;
	left: 0;
	line-height: 28px;
	width: 28px;
}

#tbTextEdit.toolbar .tbMenu li i.fa-fw
{
	top: 0;
	line-height: 22px;
}
.toolbar .tbMenu li.spr
{
	border: none;
	border-top: 1px solid var(--toolbar-seperator-color);
}

.toolbar .tbMenu li:hover
{
	background-color: var(--toolbar-hover-color);
}

.toolbar spanx
{
	display: block;
	clear: none;
	float: left;
}

.toolbar .fa-folder,
.toolbar .fa-folders,
.toolbar .fa-folder-open,
.toolbar .fa-folder-plus,
.toolbar .fa-folder-upload,
.toolbar .fa-coins
{
	color:  var(--icon-folder-color-dark);
}
