.mainAngularWorkspace.can_edit   .controls button {
}
.mainAngularWorkspace.can_edit   .controls button.edit_button {
    display:block;
}
/*
._720kb-datepicker-calendar {
    height:300px; width:300px;
}
*/

.mainAngularWorkspace.can_delete .todelete .controls button.delete_button {
    display: none;
}

.mainAngularWorkspace.can_delete .todelete .controls button.cancel_delete_button{
    display:block;
}
.mainAngularWorkspace button.cancel_delete_button {
    display:none;
}
.mainAngularWorkspace.can_delete .controls button.delete_button {
    display:block;
}



.separator {
    border-top:1px solid #c1c1c1;
}


.header2 {
    margin-left:15px;
    font-weight: bold;
    font-size:15px!important;
    text-transform:uppercase;
}

.header1 {
    font-size:24px!important;
    text-transform:uppercase;
}

div .dropdown-menu a {
    width: 100%;
    display: block;
    color: inherit;
    background-color: inherit;
    padding: 3px 5px;
}
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    color: inherit;
    background-color: #424242;
    border-radius: 5px;
}

.dropdown-menu ul {
    background-color: inherit;
}

.dropdown-submenu li a:hover, .dropdown-submenu li a:focus {
    color: inherit;
    background-color: #424242;
    border-radius: 5px;
}


.navbar-nav > li > div,.navbar-nav > li > a {
    padding-top: 16px;
    padding-bottom: 14px;
}

.code { white-space:pre;}

* {
    font-size:12px!important;
}

.input-group .form-control.w150px {
    width:150px;
}

.input-group-addon {
    color:#E1E3E6;
    border:none;
    cursor: pointer;
    background-color: inherit;
}

.input-group-addon:not(:first-child):not(:last-child) {
    border-left: 1px solid #555555;
}

.list-group-item {
    padding:6px!important;
}
.fieldsToDisplay tr td {padding:2px!important;}

.btn-primary {
    font-size: 16px!important;
    color: #71AAEB;
    background-color: inherit;
    border: none;
}

.btn-primary:hover {
    color: #71AAEB;
    background-color: rgba(255, 255, 255, 0.08);
    border: none;
}

.btn-danger {
    font-size: 16px!important;
    color: #c9302c;
    background-color: inherit;
    border: none;
}

.btn-danger:hover {
    color: #c9302c;
    background-color: rgba(255, 255, 255, 0.08);
    border: none;
}

.btn-success {
    font-size: 16px!important;
    color: #449d44;
    background-color: inherit;
    border: none;
}

.btn-success:hover {
    color: #449d44;
    background-color: rgba(255, 255, 255, 0.08);
    border: none;
}

.btn-default {
    font-size: 16px!important;
    color: #e6e6e6;
    background-color: inherit;
    border: 1px solid #337ab77d;
}

.btn-default:hover {
    color: #e6e6e6;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid #337ab77d;
}

.btn-default.active {
    color: #e6e6e6;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid #222;
}

.btn-default.active:hover {
    color: #e6e6e6;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid #111;
}

.nopadding {
   padding:0px!important;
   margin-bottom:0px!important;
}

.hidden-to-del {
	float:left;
	display:none;
}
*:hover > .hidden-to-del {
	display:block;
}

.add-top {
	top:-30px; right:-100%; margin-left: -25px; position:relative;
}

.wysihtml5-sandbox { display:block!important;  }

div .dropdown-menu {float:none;}
/*
.dropdown {
    display:block!important;
}

.dropdown > .dropdown-menu{
    display:block!important;
}
*/
/*
li.dropdown-submenu ul {
	position: absolute;;
	right: 100%!important;
	margin-top:-33px;
	border:2px solid #000;
}

ul:not(#w1) > li > div > ul#w2.dropdown-menu {

    position: static; display: none; width: auto; padding: 20px 10px 10px; margin-top: -20px;
}

.dropdown-submenu ul:before {
	content: " ";
	font-weight: bold;
	margin-left: 100%;
	position: absolute;
	width: 100%;
	display:block;
}

ul:not(#w1) > li.clicked > div > ul#w2.dropdown-menu {
    display:block;
}

li.dropdown-submenu ul {
    position:static;
    overflow:visible;
    border:2px solid #000;
}
li. dropdown-menu-wrapper {      display:none;}
li.clicked .dropdown-menu-wrapper {
        content: " ";
        display: block;
        font-weight: bold;
        margin-left: 100%;
        position: absolute;
        right: 100%;
        top: 0;
        width: 100%;
        z-index: 999;
        height:auto!important;
        width:auto!important;
        overflow-x:visible;
    }

#w2.dropdown-menu > li._hidden:not(.clicked) {
    display:none;
}
#w2.dropdown-menu > li._hidden.clicked {
    opacity:block;
}
#w2 li.dropdown-submenu {position:relative;}
#w2 li.dropdown-submenu {position:relative;}

ul#w1 > li > div > ul {
    overflow-y: scroll;
}
 li > div > ul#w2.dropdown-menu {
    position: fixed;   top: 50px; right: 101px; max-height: 100%;
}

li.clicked.found > div
{
    display: inline!important;
    position: static!important;
}
li.clicked > div > ul#w2.dropdown-menu {
    display: block;
    height: auto !important;
    left: 0;
    overflow: visible;
    position: relative;
    top: 0;
    width: auto !important;
}



li.dropdown-submenu{cursor:pointer;}
li.dropdown-submenu:hover{background-color:#e5e5e5;}
li.dropdown-submenu a:not(:only-child) {
pointer-events:none;
cursor:pointer;
}

#w1 > li.open > div > ul#w2.dropdown-menu {
    display:block;
}

li.dropdown-submenu:active >  ul {
	display:block;
}
.price-input input {
	background-repeat:no-repeat;
	background-position:7px 50%;
	padding-left:30px;
}
.price-input input:nth-child(2) {background-image:url('/img/crystal.png');  }
.price-input input:nth-child(4) {background-image:url('/img/diamond.png');  }
.price-input input:nth-child(6) {background-image:url('/img/energy.png');   }

input.styled-checked.inactive{opacity:0.5;}
input.styled-checked{
	width: 20px;
	height:20px;
	border: none;
	color:#fff;
	background-color:#c1c1c1;
	-moz-appearance:none;
	-webkit-appearance:none;
	-o-appearance:none;
	margin: 0 0 0 5px;
	padding: 5px 4px 3px 5px;
}
*/

.site-login {padding:20px; background:#fff;}
div.intarrayAttr {
border:1px solid #357EBD; padding:3px; margin-bottom:-4px; padding-bottom:5px; background:lightgray; margin-right:0px; font-size:small; border-bottom:0px; border-radius:3px;
}
table tr td input[type=text] {min-width:125px;}
table tr td select {min-width:125px;}

#elfinder {
	background-color: #FFFFFF!important;
	border: 10px solid gray!important;
	height: 600px!important;
	left: 5%!important;
	position: fixed!important;
	width: 90%!important;
	z-index: 1001!important;
display:none;
padding:15px;
	border-radius:20px;
}
.elfinder-ltr .elfinder-button-search {
    top: 19px !important;
}
#elfinderClose img {	left: 5%;
		margin-left: -40px;
			margin-top: 0;
			position: fixed;
					  z-index: 9999; width:30px;}
#elfinderClose {display:none; cursor:pointer;}
.elfinder-workzone {clear:both;}


.mainAngularWorkspace {
    padding:20px;
    background-color: #222222;
    border: 1px solid #424242;
    border-radius:5px;
}

.table-bordered {
    border: 1px solid #424242;
}
.table-bordered > tbody > tr > td {
    border: none;
    border-right: 1px solid #424242;
    border-bottom: 1px solid #424242;
}

tr.changed {
    background-color: #413030 !important;
}

.mainAngularWorkspace >  tbody > tr > td {padding:20px;}
.mainAngularWorkspace > tr > td {padding:20px;}

.wrap > .container {
    padding-bottom: 40px;
    display: inline-block;
    width: min-content !important;
    min-width:90%;
}

.container {

}

.footer .container {
    width: auto !important;
}

body {
    background-color: #141414 !important;
    color:#E1E3E6 !important;
}



/* table.fixedWidth tr td {min-width:190px; } */
table.fixedWidth tr td:last-child  {min-width:80px; width:80px; }
table.fixedWidth tr td:empty {display:none!important;}
table.fixedWidth tr:first-child td span {width:150px; display:block; }
z-table.fixedWidth tr:first-child td:last-child {display:none;}

td + td.m2mTable { padding:0px!important; border:1px solid #444 !important;  width:0px;}
td.m2mTable { padding:0px!important; border:1px solid #444 !important;  width:0px;}
td.m2mTable > div {padding:5px; border-top:0px; border-bottom:0px;}
/* .table-bordered > tbody > tr > td.m2mTable {border:1px dashed darkgray!important;} */

table.fieldsToDisplay {border-collapse: separate;}
.fixedWidth  td >div  {padding:5px;}

table.fieldsToDisplay {     background-color: #424248; }
table.fieldsToDisplay tr:nth-child(odd) {background-color:#222222;}
table.fieldsToDisplay tr:nth-child(even) {background-color:#363636;}
table.fieldsToDisplay tr:hover {background-color: #424248;}

.navbar-inverse.navbar-fixed-top {
    background-color: #222222;
    border: 1px solid #424242;
    border-left: none;
}

.navbar-nav.navbar-right {
    margin-right: 0px;
}

ztable.fixedWidth tr td:nth-last-child(1)  div  {border:0px!important; }
ztable.fixedWidth tr td:nth-last-child(1)   {border:0px!important; }
ztable.fixedWidth tr td:nth-last-child(2)  div  {border:0px!important; }

table.fixedWidth tr td div label {font-size:x-small;}
table.fixedWidth tr td:last-child > div:after { background-color:red; display:none!important;}
div table.fixedWidth tr:nth-child(2) td > div:after {
	nope-border-right: 1px dashed darkgray;
	content: "";
	display: block;
	height: 100%;
	margin-left: -5px;
	position: absolute;
	top: 0;
	margin-left:-11px;
	transition-duration: 180px;
	width: 1px;
}

table.fixedWidth tr {border-bottom:1px dashed darkgray;}
table.fixedWidth tr:first-child {border-bottom:0px dashed darkgray;}
table.fixedWidth tr:last-child {border-bottom:0px dashed darkgray;}

div.buffer.binvisible{
    top:100%;
    margin-top:-39px;
    width:200px;
    border: none;
}

div.buffer.binvisible table{
    display: none;
}

div.buffer.bvisible {
    bottom: 43px;
}
div.buffer {
    max-height: 85%;
    overflow: auto;
    background-color: #141414;
    border: 2px solid #357EBD;
    border-radius: 5px;
    position: fixed;
    z-index: 999;
    min-width: 200px;
    padding: 0px 0px;
    width: 98%;
    left: 1%;
    right: 1%;
    text-align: center;
}


/*
div.buffer.bvisible h5:after {content:" hide ";}
div.buffer.binvisible h5:after {content:" show ";}
*/

div.buffer h5:after {
content:" ";
font-weight:bolder;
text-transform:uppercase;

float: right;
padding-left:47px;
cursor:pointer;
font-size: 12px;
top: 11.5px;
right:10px;
position:absolute;


}

div.buffer table {margin:5px;}
div.buffer table tr {border:1px dashed gray;}
div.buffer table tr td {padding:5px;}
.humane, .humane-libnotify {margin-top:00px; font-size:10px;
overflow:scroll;
max-width:400px;
max-height:60%;

}
div.buffer > div > table {
}
div.buffer h5 {
	background-color: #000000;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	color: #FFFFFF;
	margin-top: 0;
    padding: 7px;
    position: fixed;
    width: 200px;
    bottom: -12px;
    right: 10px;
    border-left: 2px solid #357EBD;
    border-right: 2px solid #357EBD;
    border-top: 2px solid #357EBD;
}

div.buffer h5 .badge{
    background-color: white;
    color: black;
}


.buttoncopy.btn-xs {
	background-image: url("/img/buttoncopy.png");
	background-position: left center;
	background-repeat: no-repeat;
	background-size: 22px 22px;
	padding-left: 17px;
	min-height:22px;
}
.buttonpaste.btn-xs {
	background-image: url("/img/buttonpaste.png");
	background-position: left center;
	background-repeat: no-repeat;
	background-size: 22px 22px;
	padding-left: 17px;
	min-height:22px;
}
.buttoncopy {
	background-image: url("/img/buttoncopy.png");
	background-position: left center;
	background-repeat: no-repeat;
	background-size: 30px 30px;
	padding-left: 26px;
	min-height:34px;
}
.buttonpaste {
	background-image: url("/img/buttonpaste.png");
	background-position: left center;
	background-repeat: no-repeat;
	background-size: 30px 30px;
	padding-left: 26px;
	min-height:26px;
}


/*
.hint-before:before{
	content: attr(data-hint);
}

.hint:hover:after {font-size:small; opacity:1; padding:5px; width:auto; display:block; }
.hint:after {
	z-index:999;
	opacity:0;
	font-size:small;
	width:0px;
	transition:width  0.1s ease-in-out 1.5s, opacity  0.1s ease-in-out 1.5s;
	background: none repeat scroll 0 0 #242424;
	border-radius: 3px;
	content: attr(data-hint);
	font-size: small;
	padding: 0px;
	position: absolute;
	text-transform: uppercase;
	font-size:0px;
top:101%;
}
*/


table.fieldsToDisplay tr td {z-width:1%;}
.editable-wrap {width:100%;}

.mono {
    font-family:monospace!important;
}

.ngdialog-content > .mainAngularWorkspace {
    width:100%!important;
    margin-top:0px!important;
}
.picker__box {
    background:inherit!important;
}
.picker__box > * {
    background-color: white;
    border: 20px solid white;
}


.m2mTable form.form-buttons button {
    z-index:999;
    position:relative;
}
.inline-function-form {
    width:100%;
    margin-bottom:120px;
}

.inline-function-form > tbody > tr > td > span > div textarea {
    width:100%!important;
    height:100px!important;
}


.inline-function-form > tbody > tr > td > span > div {
    float:none!important;
    clear:both;
}


td {
    vertical-align:top;
}

input.form-control, select.form-control, label.form-control, textarea.form-control {
     height: auto!important;
    background-color: #424242;
    border: 1px solid #555555;
    color: #E1E3E6;
}

textarea.form-control {
    min-height: 100px !important;
}


.empty-input {
        border: 1px dashed gray;
        border-radius: 3px;
        padding: 3px;
        display: block;
}

.red-border {
    border:1px solid red;
}



table.list-group {
    width:100%;
}

table.list-group td.list-group-item {
    padding:5px!important;
}






.wrapper {

}
ul.dropdown-menu {
    background-color: #222222;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
    color: #337ab7;
    background-color: inherit;
    font-weight: bold;
    cursor: pointer;
}

.dropdown-menu .dropdown-submenu.clicked {
    background-color: #333;
}

.found ul {
    position: static;
    display: block;
}

div.filtered  li.found div {
    display: block;
    margin: 0 0 0 10px;
    position: static;
}

li.found > ul > ._hidden {
    display: block;
}

li.clicked > ul > ._hidden {
    display: block;
}

li.found > a {
    background-color: #444;
}

li.open > div.dropdown-menu-wrapper {
    display: block;
}
li.clicked > div.dropdown-menu-wrapper {
    display: inline-block;
}
div.dropdown-menu-wrapper {
    margin: 0 0 0 10px;
    position: static;
}

div.filtered._hidden {
    display:none!important;
}

div.filtered {
    display:block!important;
}

#w2.dropdown-menu > li._hidden {
    display:none;
}

#w1 > li > div {
    right: -25px!important;
    top: 45px;
    position: absolute;
    list-style: none;
    width: max-content;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 700px;
    padding-top: 0px;
}

.top-right-menu li.dropdown {
    height:49px;
}

li.dropdown {
    padding-left:5px;
    padding-top:3px;
    position: relative;
    height:30px;
}

#w1 > li > div.dropdown-menu-wrapper  {
    right:0px;
}
li .dropdown-menu-wrapper {
  display:none;
  z-index: 10;
  padding-right:0px;
  cursor: auto;
}
li.clicked > .dropdown-menu-wrapper {
  display: block;
}
li:nth-child(2n) {
}
li:nth-child(2n+1) {
}
li.parent {
  cursor: pointer;
}

li.clicked > div > ul.dropdown-menu {
    display:block;
}


#w1 > li.open > div > ul#w2.dropdown-menu {
    display:block;
    background-color: #222222;
    border: 1px solid #424242;
    position: relative;
}

.navbar.left-top-navbar {
    border: 0px;
    position: fixed;
    left: 00%;
    z-index: 99000;
    top: 2px;
    max-width: 70%;
    min-height: 38px;
    height: 51px;
    overflow: hidden;
    top: 0px;
    border-top: 1px solid #424242;
}

#loading-block {
    position:fixed;
    left:10px;
    bottom:20px;
    padding:10px;
    background-color:#222222;
    border:1px solid #424242;
    z-index:99999;
}

#loading-block img{
    width: 26px;
    margin-top: -4px;
}

#clipboard-button {
    margin-top:-2px; float:right;
}

.dropdown-backdrop {
    display: none !important;
}

.form-control-xs {
    padding: 2px 5px !important;
}

.progress-bar-default {
    background-color: #ccc !important;
    color: black !important;
}
.progress-bar-success {
    color: black !important;
}




.top-right-menu {
    position: absolute;
    right: 0px;
    z-index: 1;
}