* {
    font-family: arial, sans-serif;
    font-size: 10pt;
}

*, *:before, *:after {
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box; /* Opera/IE 8+ */
    outline: 0;
}

hr {
    display: block;
    clear: both;
}

option {
    font-size: 10pt;
    padding: 0px 2px;
}

select, input[type=text] {
    font-size: 10pt;
    background-color: white;
}

option:hover {
    background-color: #888;
    color: white;
}

option:focus, option:active {
    outline: none;
}

option:checked {
    background-color: rgba(0, 0, 0, 0.3) !important;
}

.right {
    text-align: right;
}

.center {
    text-align: center;
}

div.checkbox {
    display: inline-block;
    position: relative;
    width: 20px;
    height: 20px;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4);
}

div.checkbox input[type=checkbox] {
    visibility: hidden;
}

div.checkbox label {
    cursor: pointer;
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #666;
    left: 0px;
    right: 0px;
}

div.checkbox label:after {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: #444;
    top: 1px;
    left: 1px;
}

div.checkbox label:hover::after {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
    filter: alpha(opacity=30);
    opacity: 0.3;
}

div.checkbox input[type=checkbox]:checked + label:after {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
}

input[type=checkbox] {
    width: auto !important;
}

.ui-tabs-nav {
    text-align: center;
}

img {
    vertical-align: middle;
}

h1 {
    margin: 10px 0px;
    font-weight: bold;
    font-size: 18pt !important;
}

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    text-decoration: underline;
}

a:visited {
    color: #333;
}

a:active, a:focus {
    outline: none;
}

div.CodeMirror * {
    font-family: monospace;
}

html, body {
    margin: 0;
    padding: 0;
}

table {
    table-layout: fixed;
    border-collapse: collapse;
}

table.res_table {
    text-align: left;
    border-collapse: collapse;
}

table td, table th {
    /*white-space: nowrap;*/
    text-align: left;
}

table th {
    vertical-align: top;
}

table.res_table td, table.res_table th {
    white-space: nowrap;
    border: 1px solid black;
}

table.res_table tr:hover {
    background-color: #eee;
}

table.res_table th {
    background-color: #ddd;
}

table.res_table {
    width: 100%;
    border-collapse: collapse;
}

table.res_table td {
    border: 1px solid black;
}

#sortable1, #sortable2, #sortable3, #sortable4 {
    list-style-type: none;
    margin: 0;
    padding: 0 0 2.5em;
    float: left;
    margin-right: 10px;
    border: 1px solid black;
    min-height: 200px;
    width: 175px;
}

#sortable1 li, #sortable2 li, #sortable3 li, #sortable4 li {
    margin: 0 5px 5px 5px;
    padding: 5px;
    width: 150px;
    text-align: left;
}

#user_login {
    margin-bottom: 10px;
}

p#username_key {
    margin: 5px 0px;
}

div.query_div * {
    transform-origin: 0 0 !important;
}

div.query_div table td, div.query_div table th {
    padding: 0px 10px;
}

div.save_assure {
    border: 2px solid #ccc;
    background-color: #eee;
    margin-bottom: 10px;
    padding: 10px;
}

div#tabs {
    margin-bottom: 10px;
}

div#tabs div {
    text-align: center;
}

div#tabs div.ui-tabs-panel {
    overflow: auto;
}

div#tabs div.config {
    text-align: left;
}

div.config div#tabs * {
    font-size: 10pt;
}

div#tabs div table {

}

div#main {
    width: 100%;
    padding: 1%;
}

div.main *:not(.plot_wrapper *) {
    font-size: 18px;
}

div.login * {
    font-size: 20px;
}

div#pdf_download {
    display: inline-block;
}

a.pdf_download {
    background-image: url("/images/layout/pdf.png");
    background-position: left center;
    background-repeat: no-repeat;
    margin-top: 5px;
    padding-left: 20px;
    background-size: 18px 18px;
}

input.ziel {
    text-align: right;
}

td.right, th.right {
    text-align: right;
}

div#content {
    position: absolute;
    top: 0px;
    margin-left: 10px;
    margin-right: 10px;
    right: 0px;
    left: 10px;
    bottom: 0px;
    border-radius: 5px;
    margin-top: 60px;
    padding: 10px;
    background: #f9f9f9;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4);
    margin-bottom: 10px;
    overflow: auto;
    padding-bottom: 10px;
}

div#content.login {
    display: inline-block;
    text-align: center;
    width: 400px;
    position: relative;
    margin: 0;
    left: auto;
    right: auto;
}

div#menu_tog {
    vertical-align: top;
    width: 35px;
    height: 23px;
    margin-right: 10px;
    display: inline-block;
}

div#logged div#menu_tog * {
    vertical-align: top;
}

div#menu_tog2 {
    top: 0;
    right: 0px;
    bottom: 0;
    margin: auto 0;
    position: absolute;
    height: 30px;
    width: 10px;
    background-color: gray;
}

div#menu_tog2:hover {
    background-color: black;
}

div#stat_toggle {
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto 0;
    position: absolute;
    height: 30px;
    width: 10px;
    background-color: gray;
}

div#stat_toggle:hover {
    background-color: black;
}

span#menu_toggle, span#menu_down {
    float: left;
    width: 23px;
    height: 23px;
    margin: 0;
    padding: 0;
    display: inline-block;
    background-image: url("/images/layout/menu.png");
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-position: center center;
    border-radius: 5px;
}

span#menu_down {
    width: 12px;
    background-image: url("/images/layout/swipe_down.png");
}

div#menu_tog {
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4);
}

div#menu_tog:hover {
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.5);
}

div#imenu {
    width: 190px;
    padding: 5px;
}

div#imenu > div > a {
    display: block;
    padding: 5px;
}

div#imenu > div > a:hover {
    background-color: rgba(0, 0, 0, 0.4);
    text-decoration: none;
    color: white;
}

div#imenu > div > a:hover > img {
    filter: invert(100%);
}

div#menu {
    background-color: #eeeeee;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4);
    margin-top: 50px;
    float: left;
    padding: 5px;
    width: 0px;
    top: 0px;
    left: 0px;
    overflow: hidden;
    position: fixed;
    bottom: 0px;
    z-index: 100;
    border-top: 1px solid rgba(0, 0, 0, 0.4);
}

div#logged {
    position: fixed;
    z-index: 100;
    top: 0px;
    left: 0px;
    background: #eeeeee;
    padding: 10px;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4);
    margin-bottom: 3px;
    font-size: 19px;
    width: 100%;
    height: 50px;
    overflow: hidden;
}

div#logged div.title_els {
    display: inline-block;
    white-space: nowrap;
    height: 100%;
    line-height: 30px;
}

div#logged div.title_els * {
    vertical-align: middle;
}

fieldset {
    display: inline-block;
    width: 100%;
    margin: 0;
    margin-bottom: 10px;
    border-radius: 10px;
    border: 0;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4);
}

img.logo {
    float: right;
}

img.logo_top {
    vertical-align: top;
    height: 30px;
    margin-right: 10px;
}

div.filter {
    text-align: center;
    float: left;
}

span.colorsquare {
    height: 17px;
    width: 17px;
    line-height: 16px;
    display: inline-block;
    border: 1px solid black;
    margin: 0px 3px 0px 1px;
}

div.colorcontainer {
    display: block;
    text-align: right;
}

a.active {
    font-weight: bold;
    color: white;
    background-color: rgba(0, 0, 0, 0.3);
}

a.active > img {
    filter: invert(100%);
}

span.del {
    width: 18px;
    height: 18px;
    background-image: url('/images/layout/del.png');
    background-size: 16px 16px;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center center;
    display: inline-block;
    cursor: pointer;
}

fieldset.block, fieldset.block fieldset {
    display: block;
    background-color: #F9F9F9;
}

div.query_editor input[type=text],
div.special_query input[type=text],
div.benchmark_editor input[type=text] {
    padding: 1px;
}

div.query_editor table td, div.query_editor table td input,
div.special_query table td, div.special_query table td input {
    text-align: right;
}

div.benchmark_editor table td, div.benchmark_editor table td input {
    text-align: left;
}

div.query_editor input, div.query_editor select,
div.benchmark_editor input, div.benchmark_editor select,
div.special_query input, div.special_query select {
    width: 100%;
}

div.query_editor input[type=button],
div.benchmark_editor input[type=button],
div.special_query input[type=button] {
    width: auto;
}

input[type=button] {
    border-radius: 2px;
}

div.query_editor table,
div.benchmark_editor table,
div.special_query table {
    width: 100%;
    font-size: 12px;
}

div.CodeMirror {
    width: 70%;
    border: 1px solid gray;
    border-right-width: 0;
    margin-bottom: 5px;
    height: 400px;
    text-align: left;
    font-family: monospace;
}

div#tabs div#querytab div {
    text-align: left;
    font-family: monospace;
    border-right-width: 1px;
}

div#tabs div#querytab div.CodeMirror {
    width: 100%;
}

div#inputs {
    width: 30%;
    height: 400px;
    float: right;
    background-color: white;
    font-size: 12px;
    padding: 0;
    margin: 0;
    overflow-y: auto;
}

div#inputs div#params, div#inputs div#tabellen {
    padding: 11px;
    margin: 0;
    height: 369px;
    overflow-y: scroll;
}

div#inputs div ul {
    margin: 0;
    list-style-type: none;
    padding-left: 20px;
    -webkit-user-select: none; /* Chrome all / Safari all */
    -moz-user-select: none; /* Firefox all */
    -ms-user-select: none; /* IE 10+ */

    -o-user-select: none;
    user-select: none;
}

div#inputs div ul li.title {
    font-weight: bold;
    cursor: default;
}

div#inputs div ul li.title > ul {
    font-weight: normal;
}

div#inputs div li {
    cursor: pointer;
}

div#inputs li:hover {
    background-color: #eee;
}

div#inputs li:hover ul {
    background-color: white;
}

div#inputs div > ul {
    margin: 0;
    padding: 0;
}

div#inputs div#tabellen ul li span.keyword {
    color: #30A;
}

div#inputs div#tabellen ul li span.keyword2 {
    color: #708;
}

div#inputs select {
    height: 100%;
    text-align: left;
    font-size: 11px;
    font-family: monospace;
    border: 0;
}

input, textarea, button, select {
    border-style: solid;
    border-width: 1px;
    border-color: gray;
}

select {
    padding: 3px;
}

input {
    border: 1px solid #999;
    padding: 5px;
}

input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus {
    border: 1px solid #a1c611;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3) inset;
    border-radius: 2px;
}

input[type=text]:hover,
input[type=password]:hover,
input[type=email]:hover {
    border: 1px solid black;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3) inset;
}

input[type=submit] {
    cursor: pointer;
}

input[type=button], input[type=submit] {
    border-radius: 3px;
}

fieldset.ui-state-highlight {
    height: 200px;
}

fieldset.iui-state-highlight {
    height: 100px;
}

div.config div.ui-widget-content table {
    width: 100%;
    border: 1px solid gray;
}

div.config form {
    display: inline;
}

div.config div.ui-widget-content table tr:hover td {
    background-color: #dfdfdf;
}

div.config div.ui-widget-content table tr:nth-child(2n+1) {
    background-color: #efefef;
}

div.config div.ui-widget-content table th {
    background-color: #d0d0d0;
    border-bottom: 1px solid gray;
    padding: 5px;
}

div.config div.ui-widget-content table td {
    padding: 0px 5px;
}

div#error_message {
    border: 1px solid #FAC5C5;
    font-size: 12px;
    background-color: #FAE3E3;
    color: #C00;
    margin-bottom: 5px;
    padding: 5px;
    white-space: pre-wrap;
}

.lineerror {
    background-color: #FAE3E3;
}

span.plusminus {
    background-position: right middle;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    display: inline-block;
    width: 20px;
    height: 20px;
    cursor: context-menu !important;
}

span.plus {
    background-image: url('/images/layout/plus.png');
}

span.minus {
    background-image: url('/images/layout/minus.gif');
}

.clickable {
    cursor: pointer !important;
}

table th {
    vertical-align: middle;
}

table th.rotate {
    white-space: nowrap;
    width: 30px;
}

table tr.white, table tr th.white {
    background-color: white !important;
}

table th.rotate div {
    transform: rotate(-45deg);
    width: 30px;
    padding-left: 3px;
}

table th.rotate div span {
    width: 200px;
    line-height: 20px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    padding-left: 5px;
    font-weight: normal;
}

div.config div.ui-widget-content table th.nbbot {
    border-bottom-width: 0px;
    vertical-align: bottom;
}

div#synchro_start div.logo {
    font-family: monospace;
    white-space: pre-wrap;
}

span.light {
    height: 26px;
    width: 24px;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 24px 24px;
    vertical-align: middle;
}

span.indicator0 {
    background-image: url('/images/layout/green_light.png');
}

span.indicator1 {
    background-image: url('/images/layout/yellow_light.png');
}

span.indicator2 {
    background-image: url('/images/layout/red_light.png');
}

.edit_user, .del_user {
    width: 26px;
    height: 26px;
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-color: transparent;
    border: 0;
}

.edit_user {
    background-image: url('/images/layout/edit_user.png');
}

.del_user {
    background-image: url('/images/layout/del_user.png');
}

.edit, .del {
    width: 26px;
    height: 26px;
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-color: transparent;
    border: 0;
}

.edit {
    background-image: url('/images/layout/edit.png');
}

.del {
    background-image: url('/images/layout/del.png');
}

.save_button {
    background-repeat: no-repeat;
    background-image: url('/images/layout/save.png');
    background-size: 16px 16px;
    background-position: 1px center;
    padding-left: 18px;
    background-origin: padding-box;
}

.exec_button {
    background-repeat: no-repeat;
    background-image: url('/images/layout/exec.png');
    background-size: 16px 16px;
    background-position: 1px center;
    padding-left: 18px;
    background-origin: padding-box;
}

.download_button {
    background-repeat: no-repeat;
    background-image: url('/images/layout/download.png');
    background-size: 16px 16px;
    background-position: 1px center;
    padding-left: 18px;
    background-origin: padding-box;
}

.add_button {
    background-repeat: no-repeat;
    background-image: url('/images/layout/add.png');
    background-size: 16px 16px;
    background-position: 1px center;
    padding-left: 18px;
    background-origin: padding-box;
}

.rand_button {
    background-repeat: no-repeat;
    background-image: url('/images/layout/random.png');
    background-size: 16px 16px;
    background-position: 1px center;
    padding-left: 18px;
    background-origin: padding-box;
}

.login_button {
    background-repeat: no-repeat;
    background-image: url('/images/layout/login.png');
    background-size: 16px 16px;
    background-position: 1px center;
    padding-left: 18px;
    background-origin: padding-box;
}

.add_user {
    background-repeat: no-repeat;
    background-image: url('/images/layout/add_user.png');
    background-size: 24px 24px;
    background-position: 10px center;
    padding: 10px;
    padding-left: 38px;
    background-origin: padding-box;
}

.logout_button {
    background-repeat: no-repeat;
    background-image: url('/images/layout/logout.png');
    background-size: 24px 24px;
    background-position: 10px center;
    padding: 5px;
    padding-left: 38px;
    background-origin: padding-box;
}

.message_button {
    background-repeat: no-repeat;
    background-image: url('/images/layout/message.png');
    background-size: 24px 24px;
    background-position: 10px center;
    padding: 5px;
    padding-left: 38px;
    background-origin: padding-box;
}

.ajax_loading {
    background-image: url('/images/layout/ajax_loader.gif') !important;
}

input#qvon, input#jvon, input#qbis, input#jbis {
    width: 80px;
    height: 18px;
    font-size: 16px;
    padding: 0;
}

input.numcols, input.col_desig {
    background-color: #ddd;
}

div#content.main ul.ui-tabs-nav {
    float: left;
    height: 100%;
    margin-right: 10px;
}

div#content.main div#tabs, div#content.config div#tabs {
    position: absolute;
    bottom: 0px;
    top: 110px;
    left: 0px;
    right: 0px;
    margin-left: 10px;
    margin-right: 10px;
}

div#content.config div#tabs {
    top: 100px;
}

div#content.main div.ui-tabs-panel {
    left: 250px;
    height: 100%;
    overflow-y: auto;
}

div#content.main ul.ui-tabs-nav {
    width: 220px;
    overflow: hidden;
    padding: 3px;
    padding-right: 10px;
}

div#content.main ul.ui-tabs-nav li.ui-state-default {
    width: 100%;
    clear: left;
    margin-right: 0;
    overflow: hidden;
}

div#content.main ul.ui-tabs-nav li.ui-state-default a {
    width: 100%;
    text-align: left;
    padding: 5px 5px;
}

fieldset#param {
    z-index: 99;
    position: absolute;
    left: 0px;
    right: 0px;
    margin: 0 auto;
    top: 10px;
    background-color: #F9F9F9;
    max-width: 90%;
}

div#but_div {
    position: absolute;
    left: 0px;
    right: 0px;
    margin: 0 auto;
    top: 70px;

}

table#mitarbeiter_aktiv input {
    width: 100%;
}

div.account_possibility {
    height: 100px;
    width: 100%;
    padding: 10px;
    border-bottom: 1px solid #999;
    cursor: pointer;
    position: relative;
}

div.account_possibility:hover {
    background-color: #ddd;
    border-left: 5px solid #A1C611;
}

div.account_possibility:last-of-type {
    border-bottom-width: 0;
}

div.account_possibility img {
    width: 80px;
    height: 80px;
    float: left;
}

div#content.login div.account_possibility span, div#content.login div.account_possibility span strong {
    text-align: left;
    font-size: 16px;
}

div#content.login div.account_possibility span {
    margin-left: 100px;
    display: block;
}

div#content.login div.account_possibility span.del_item {
    width: 50px;
    height: 100px;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.1);

    background-repeat: no-repeat;
    background-image: url('/images/layout/delete.png');
    background-size: 24px 24px;
    background-position: center center;

    right: 0px;
    top: 0px;
}

div#content.login div.account_possibility span.del_item:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

div#content.login select#lang {
    width: 100%;
    padding: 5px;
}

div#content.login select#lang option {
    padding: 0px;
}

p#username_key span, p#username_key span strong {
    text-align: center;
    display: block;
    font-size: 18px;
}

div#zoom_in, div#zoom_out, div#zoom_reset {
    width: 20px;
    height: 20px;
    position: absolute;
    background-color: transparent;
    z-index: 12;
    right: 0;
    margin-right: 22px;
    background-image: url('/images/layout/zoom_in.png');
    background-size: 20px 20px;
    background-position: center center;
    background-repeat: no-repeat;
    cursor: zoom-in;
}

div#zoom_out {
    top: 25px;
    background-image: url('/images/layout/zoom_out.png');
    cursor: zoom-out;
}

div#zoom_reset {
    top: 50px;
    background-image: url('/images/layout/zoom_reset.png');
    cursor: all-scroll;
}

div#content.config div.ui-tabs-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 50px;
    bottom: 0;
    margin: 4px;
}

table#parform td {
    overflow: hidden;
    text-overflow: ellipsis;
}

p#msg {
    margin: 0px 0px 10px 0px;
}

tr.filter_possibility {
    display: none;
}

div.ui-tooltip.tooltip_nopointer {
    pointer-events: none !important;
}

div#synchro_dialog {
    width: auto !important;
    overflow: auto;
}

div#good_message {
    font-size: inherit;
    margin-top: 20px;
    border: 2px solid #75920d;
    background-color: #A1C611;
}

div.save_assure {
    background-image: url("/images/layout/info.png");
    background-repeat: no-repeat;
    background-origin: padding-box;
    background-position: 5px center;
}

div.save_error {
    background-image: url("/images/layout/warning.png");
    background-color: #FAE3E3;
    border-color: #FAC5C5;
    color: #C00;
}

@media only screen and (max-width: 650px) {
    div#content {
        left: 10px !important;
    }

    div#content.login {
        width: 90%;
        left: auto !important;
    }

    .hide_on_mobile {
        display: none !important;
    }

    div#zoom_in, div#zoom_out, div#zoom_reset {
        margin-right: 5px;
    }

    div#content.login div.account_possibility span {
        margin-left: 0;
    }

    div#menu {
        overflow-y: auto;
    }

    div#content.main div#tabs {
        bottom: auto;
    }

    div#content.config div#tabs {
        bottom: 0px;
    }

    div#content.main div#tabs {
        top: 110px;
    }

    div#content.config div#tabs {
        top: 0px;
        margin: 10px;
    }

    div#content.config ul.ui-tabs-nav {
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        text-align: left;
    }

    div#content.config .ui-tabs .ui-tabs-nav li {
        float: none;
        display: inline-block;
    }

    fieldset#param {
        top: 10px;
    }

    div#but_div {
        top: 70px;
    }

}
