/*Forms*/
#formBorder {
    width: 650px;
    max-width: 100%;
    margin-top: 10px;
    padding: 10px;
    border: 2px solid;
    border-radius: 6px;
    margin-left: auto;
    margin-right: auto;
}
#formBorder.sequent {
    margin-top: 20px;
}
#formBorder.order {
    position: relative;
    width: 1020px;
    height: auto;
    padding: 15px;
    border: 3px solid #6389A6;
    border-radius: 10px;
    border-top-left-radius: 0;
    margin-top: 0;
    background: #FFF6D3;
    z-index: 2;
}
#formBorder.col1 {
    width: inherit;
    margin: 15px;
}
/*.formblock {
    border-bottom: 1px solid #999;
}*/
.formblock.top {
    /*height: 440px;*/
    border-bottom: 1px solid #999;
}
.formblock.left {
    width: 500px;
    padding: 10px 0 5px 0;
    margin-right: 10px;
}
.formblock.right {
    float: left;
    height: 430px;
    padding-left: 20px;
    border-left: 1px solid #999;
}
.formblock.row {
    width: 855px;
    border-bottom: 1px solid #999;
    padding: 5px 0;
    margin: 5px 0;
}
.formblock.bottom {
    float:left;
    height:165px;
    margin-top:10px;
}
.formgroup {
    position: relative;
    display: inline-block;
    margin-right: 10px;
    vertical-align: top;
}
.formgroup .inline {
    display: inline-block;
}
.formgroup .header {
    margin-bottom: 10px;
    border-bottom: 1px solid #999;
}
.formgroup .header h3 {
    margin: 0;
}
.formgroup .label {
    width: 20%;
    font-weight: bold;
    text-align: right;
    padding: 0;
    margin-right: 15px;
}
#formBorder {
    .header {
        font-size: 15px;
        font-weight: bold;
        color: #fff;
        background: #eb2;
        padding: 10px 15px;
        margin-bottom: 10px;
    }
}
.flex-row {
    display: -ms-flexbox;
    display: flex;
    flex-flow: row wrap;
    margin: 0 -15px;

    &.col-2 {
        .col, .col1, .col2 { 
            flex: 1;
            margin: 0 15px;
        }
        .col { max-width: calc(50% - 30px); }
        .col1 { max-width: calc(40% - 30px); }
        .col2 { max-width: calc(60% - 30px); }
    }
}
.chat {
    border: 1px solid #999;
}
h1.formhead {
    font-size: 18px;
    font-weight: normal;
    border-bottom: 1px solid #999;
}
h1.colhead {
    font-size: 18px;
    font-weight: bold;
}
#details .row {
    margin: 0;
}
label {
    display: inline-block;
    margin: 4px 0;
}
label.default {
    float: left;
    width: 160px;
    font-weight: normal;
    padding: 3px;
}
label.order, label.order2, label.order3, label.userRight, label.option {
    font-size: 14px;
    font-weight: normal;
    padding: 2px 3px 3px 0;
    margin-bottom: 7px;
}
label.order {
    float: left;
    width: 90px;
}
label.order2 {
    float: left;
    width: 150px;
}
label.order3 {
    width: 100%;
}
label.order.top {
    float: none;
    width: auto;
}
label.file {
    width: 150px;
}
label.userRight {
    float: left;
    width: 170px;
    border-bottom: 1px solid #999;
}
label.option {
    width: 292px;
    margin-right: 20px;
}
label.list {
    float: left;
    font-weight: bold;
    padding: 0 10px 0 0;
}
label.from span {
    float: right;
    margin-right: 5px;
}
.label {
    font-size: 14px;
    font-weight: normal;
    padding: 2px 3px 3px 0;
    margin-bottom: 7px;
}
span.label {
    display: block;
    font-size: 13px;
    font-weight: bold;
    padding: 5px 0;
    margin-bottom: 0;
}
input[type="submit"], input[type="button"] {
    height: 25px;
    min-width: 100px;
}
input[type="button"].short, button.short {
    height: 22px;
    min-width: 0;
    font-size: 15px;
    font-weight: bold;
    vertical-align: middle;
}
button.short sup {
    font-size: 18px;
    line-height: .9;
}
input[type="button"].small {
    height: 22px;
    min-width: 0;
}
input[type="button"].icon {
    position: relative;
    top: -4px;
    min-width: 0;
    font-size: 15px;
    height: auto;
}
input[type="submit"].default, input[type="button"].default {
    min-width: 100px;
    height: 22px;
    padding: 0px 10px;
    margin: 5px;
}
input[type="button"].formButton {
    min-width: 100px;
    height: 22px;
    padding: 0px 10px;
    margin: 0px;
}
input[type="button"].cancel {
    border: 1px solid #999;
    border-radius: 4px;
    background: #ddd;
}
input[type="button"].cancel:hover {
    background: #ccc;
}
input[type="text"], input[type="date"], input[type="week"], input[type="email"], select, textarea {
    border: 1px solid #999;
    border-radius: 4px;
    background: #fff;
    /*height: 24px*/
}
input[type="date"], input[type="week"] {
    padding: 3px;
}
select.default, input[type="text"].default, input[type="text"].inactive, input[type="date"]  {
    width: 210px;
    height: 22px;
}
.ticket {
    select.default, input[type="text"].default, input[type="text"].inactive, input[type="date"]  {
        width: 300px;
    }
}
input[type="text"].default.date, input[type="date"] {
    width: 90px;
}
input[type="date"] {
    width: 120px;
}
input[type="text"].default.short, select.default.short {
    width: 140px;
}
input[readonly="readonly"] {
    background: #eee;
    /*border: 1px inset #ccc;*/
    padding: 1px 3px;
}
input[type="text"].overlay {
    position: absolute;
    top: 3px;
    left: 8px;
    width: 190px;
    height: 20px;
    border: 0;
}
input[type="image"].overlay {
    position: absolute;
    top: 1px;
    left: 100px;
    width: 16px;
    height: 19px;
    font-weight: bold;
    color: #999;
    font-size: 14px;
    border: 0;
    background: #fff url(../img/icons/cancel-circle.png);
    opacity: 0.4;
}
input[type="image"].search {
    height: 18px;
    vertical-align: middle;
    margin-left: 5px;
    opacity: 0.6;
}
input[type="checkbox"].default, input[type="radio"].default {
    margin-right: 5px;
}
.outputbox {
    clear: left;
    border: 1px solid #999;
    border-radius: 4px;
    background: #eee;
    padding: 10px;
    margin-bottom: 10px;
}
.checkbox-separator {
    float: left;
    width: 100%;
    height: 8px;
    border-bottom: 1px solid #999;
}
div.default, div.flexbox, div.date, div.short, div.short2, div.short4, div.number, div.medium, div.large, div.empty, div.formRight, div.label-indent {
    float: left;
    padding: 2px 0 2px 5px;
}
div.default, div.flexbox {
    width: 235px; 
}
div.number {
    width: 60px;
}
div.date {
    width: 90px;
}
div.short {
    width: 150px;
}
div.short2 {
    width: 300px;
}
div.short3 {
    float: left;
    width: 100px;
    padding-top: 2px;
    margin-right: 47px;
}
div.short4 {
    width: 265px;
}
div.short.color_system {
    width: 230px;
}
div.medium {
    width: 350px;
}
div.large {
    width: 495px;
}
div.empty {
    width: 495px;
}
div.formRight {
    width: 215px;
}
div.label-indent {
    width: 205px;
    font-size: 13px;
    font-weight: bold;
    padding: 5px 10px 5px 0;
    text-align: right;
}
div.short2 .inner {
    display: inline-block;
    vertical-align: top; 
    margin-bottom: 10px;
}
div.short2 .inner:not(:last-child) {
    padding-right: 10px;
    margin-right: 10px;
    border-right: 1px solid #999;
}
div.formRow {
    clear: left;
    padding: 5px 0;
    border-bottom: 1px solid;
}
div.formRow::after {
    display: block;
    content: '';
    clear: left;
    height: 0px;
}
div.clear {
    clear: left;
    height: 0px;
}
div.formRow .col, .col1-3, .col2-3 {
    display: inline-block;
    vertical-align: top;
    padding: 0;
}
div.formRow .col.cell {
    padding: 2px 10px;
    border-right: 1px solid #ccc;
}
div.formRow .col.head {
    font-size: 1.1em;
    padding: 3px 10px;
    border-right: 1px solid #ccc;
    background: #dae1e6;
}
div.formRow .col1-3 {
    width: 33.3%;
    margin-right: -4px;
}
div.formRow .col2-3 {
    width: 66.6%;
    margin-right: -4px;
}
.formActions {
    clear: left;
    width: 100%;
    text-align: center;
    margin-top: 10px;
}
.formActions.edit {
    position: relative;
    width: 1020px;
    min-height: 57px;
    margin: -7px 0 0 0;
    padding: 15px 0 7px 0;
    background: #e9e9e9;
    border: 3px solid #6389A6;
    border-top: 0;
    border-radius: 0  0 10px 10px;
    z-index: 1;
}
.formActions.border {
    padding-top: 10px;
    margin-top: 30px;
    border-top: 1px solid #999;
}
hr.border {
    height: 0;
    margin: 20px 0;
    border: none;
    border-top: 1px solid #999;
}
div.hint {
    padding-top: 3px;
    margin-bottom: -20px;
}
div.flexbox, div.searchbox {
    position: relative;
}
input[type="text"]::-ms-clear {
    display: none;
}
div.td, div.td70, div.td80, div.td90, div.td150, div.td100c, div.td200, div.tdMax {
    float: left;
    padding: 5px 2px 0 2px;
    border-bottom: 1px solid #999;
}
div.td {
    height: 27px;
    line-height: 23px;
}
div.td70 {
    width: 70px;
    height: 25px;
    border-bottom: 0;
}
div.td80 {
    width: 80px;
    height: 30px;
}
div.td90 {
    width: 90px;
    height: 30px;
}
div.td100c {
    width: 100px;
    height: 27px;
    line-height: 23px;
    text-align: center;
}
div.td150 {
    width: 150px;
    height: 30px;
}
div.td200 {
    width: 200px;
    height: 30px;
}
div.date {
    width: 120px;
    label {
        height: 37px;
        display: flex !important;;
        align-items: end;
    }
}
div.tdMax {
    width: max-content;
    min-width: 100px;
    height: 25px;
    border-bottom: 0;
    margin-right: 10px;
}
div.auto {
    display: inline-block;
    position: relative;
    top: -5px;
    width: auto;
    height: 30px;
    padding: 0 2px;
    margin-left: 10px;
}
figure.service {
    display: inline-block;
    position: relative;
    top: -5px;
    margin: 0 10px 0 0;
    color: red;
}
figure.service img {
    position: relative;
    top: -5px;
}
div.tr {
    display: table-row;
    padding: 3px 0px;
}
div.tdLeft, div.tdLeft90, div.tdLeft100, .shipment_options {
    float: left;
    height: 27px;
    margin-right: 17px;
    padding: 2px;
}
.shipment_options {
    margin-right: 5px;
}
div.tdLeft90 {
    width: 88px;
}
div.tdLeft100 {
    width: 100px;
}
.ware div.tdLeft100 {
    width: 106.5px;
}
div.tdLeft2 {
    float: left;
    height: 27px;
    padding-top: 2px;
    padding-left: 10px;
}
.addressee_options {
    float: left;
    height: 27px;
    padding-top: 2px;
    padding-left: 17px;
}
#VERS_EMPFAENGER3 {
    margin-left: -10px;
}
div.tdRight {
    float: right;
    height: 27px;
    margin-left: 20px;
    padding: 2px;
}
div.tdRight2 {
    float: right;
    height: 27px;
    margin-left: 25px;
    padding: 2px;
}
.slidemenu .input {
    display: inline-block;
    width: 130px;
}
.shipment {
    position: relative;
    width: 300px;
    /*background: url(../img/bg_shipment.png);*/
    padding-bottom: 5px;
    margin-bottom: 0;
    border-bottom: 1px solid #999;
}
.deliverynote_options {
    margin-bottom: 8px;
}
.wareBox {
    float: left;
    position: relative;
    width: 100px;
    padding: 25px 0 10px 5px;
    margin: -37px 5px 5px 0;
    border: 1px solid #999;
}
.wareBox input[type="radio"] {
    position: relative;
    z-index: 3;
}
.border-Box, .ckb-border > div {
    padding: 2px 5px;
    border: 1px solid #999;
}
.border-Box.col-2 {
    width: 230px;
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    > div { 
        width: 50%;
        padding: 0 10px;
    }
    > div:nth-child(2n) { 
        border-right: 1px solid #999;
    }
    &.ware {
        > div:first-child, > div:last-child { 
            width: 100%;
            text-align: center;
            border: 0;
        }
    }
}
.optionContainer {
    display: inline-block; 
    vertical-align: top; 
    margin: 5px 5px 15px 5px;
}
.optgroupContainer {
    display: flex;
    width: 100%;
    margin-bottom: 12px;
    border-bottom: 1px solid #999;
}
.optionContainer.small {
    width: 130px;
}
.optgroupContainer .inner {
    padding: 0 5px 0 15px;
    margin: 0 10px 5px 10px;
    border-left: 1px solid #999;
}
/*.optgroupContainer .inner label {
    font-size: 1.2em;
}*/
.optgroupContainer .inner div {
    margin: 5px 0;
}
.optgroupContainer .inner:first-child {
    border-left: none;
}
.optionBox {
    position: relative;
    width: 110px;
    padding: 5px 5px 10px 5px;
    border: 1px solid #999;
}
.optionBox p {
    padding: 2px 0 4px 0;
    margin: 0;
}
.cart {
    display: inline-block;
    vertical-align:top;
    padding-left: 5px;
}
.cart p {
    margin-top: 0;
    margin-bottom: 5px;
}
.panel .cart input[type="text"] {
    width: 100px;
    text-align: center;
    margin-right: 3px;
    margin-bottom: 3px;
}
.imagebutton {
    display: block;
    cursor: pointer;
    margin-top: 5px;
    opacity: 0.5;
}
.formMsg {
    clear: left; 
}
.formMsgTxt {
    font-size: 11px;
    color: #c00;
    height: 20px;
}
.rowNumber {
    float: left;
    width: 34px;
    padding-left: 10px;
    margin-top: 7px;
}
#prevorder, #nextorder {
    position: absolute;
    top: 20px;
}
#prevorder {
    left: 20px;
}
#nextorder {
    right: 20px;
}
.vlign {
    position: absolute;
    border-left: 1px solid #999;
}
.col {
    display: inline-block;
    vertical-align: top;
}
.col2 {
    width: 49%;
}
.send-icon {
    vertical-align: top;
    margin-top: 10px;
    margin-left: 5px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
  
    img {
        width: 23px;
        display: inline-block;
    }
}
.chat {
    display: flex;
    flex-direction: column;
    height: 500px;
    
    .message-container {
        max-height: 100%;
        overflow: auto;
        padding: 5px;
    }
    .post {
        margin: 5px;
    }
    .user, .text {
        display: inline-block;
        vertical-align: middle;
    }
    .user {
        width: 30px;
        font-size: 1.1em;
        font-weight: bold;
    }
    .text {  
        width: calc(100% - 35px);
        border: 1px solid #999;
        border-radius: 5px;
        background: #f9f9f9;
        padding: 5px;
        
        .date {
            color: #777;
        }
    }
}
.upload {
    label, .default {
        display: inline-block;
        float: none;
    }
}
.gallery {
    display: flex;
    flex-wrap: wrap;
    
    > * {
        flex: auto;
        max-width: 148px;
        margin: 15px;
    }
    img { 
        width:100%;
        cursor: pointer;
        max-height: 160px;
        object-fit: contain;
    }
    figcaption { 
        position: relative;
        padding-top: 10px;
        padding-right: 30px;
        word-wrap: break-word;
    }
    .btn-del {
        position: absolute;
        top: 5px;
        right: 0;
        padding: 2px 6px;
        color: red;
        font-weight: bold;
        background: #ccc;
        border-radius: 5px;
        border: 1px solid #999;
        cursor: pointer;
    }
}
table.position {
    margin-right: 50px;
    margin-bottom: 30px;
    max-width: 45%;
}
table.position .label span {
    display: block;
    padding: 0 5px; 
    background: #ddd;
    border: 1px solid #000;
}
table.position th {
    font-size: 14px;
}
table.position th.label {
    font-size: 12px;
    min-width: 120px;
}
table.position th, table.position td {
    padding: 3px;
    border-bottom: 1px solid #000;
}
table.position input[type="number"] {
    width: 70px;
}
.preparation label.order {
    font-weight: bold;
}
.center {
    text-align: center;
}
.button_small, .button_delete {
    background: #e1e1e1;
    padding: 2px 24px;
    border: 1px solid #adadad;
}
.button_small.delete, .button_small.download, .button_delete {
    font-weight: bold;
    padding: 2px 12px;
}
.button_small.delete, .button_delete {
    color: red;
}
.button_delete {
    width: auto !important;
    min-width: unset !important;
    height: 20px !important;
    cursor: pointer;
}
.button_red, .button_blue, .button_grey, .button_green {
    width: 200px;
    height: auto !important;
    padding: 10px 0;
    border: 2px solid #999;
    margin: 13px 5px 13px 5px;
    cursor: pointer;
}
.button_red {
    background-color: #d77;
}
.button_blue {
    background-color: #BFEEFF;
}
.button_grey {
    background-color: #ccc;
}
.button_green {
    background-color: #7ACC7A;
}

/* Formular drucken */
#printProfile #formBorder.order {
    background: #fff;
    height: 980px;
}
#printLandscape #formBorder.order {
    background: #fff;
    height: 650px;
    width: auto;
}
.print div.short {
    width: 160px;
}
.print div.large {
    width: 510px;
}
.print div.td200 {
    width: 180px;
}
.print .optionContainer {
    margin: 5px 10px 0 5px;
}
.print .optionContainer.last {
    margin-right: 0;
}

/* Login */
#loginBox {
    width: 300px;
    margin-left: auto;
    margin-right: auto;
}
.input-group {
    clear: left;
    height: 32px;
    margin-bottom: 10px;
    border: 1px solid #999;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
}
.formicon {
    float: left;
    padding: 5px 7px;
    border-right: 1px solid #999;
    background: #eee;
}
.formicon img {
    margin-top: 2px;
    opacity: 0.5;
}
.formrow {
    float: left;
    padding: 0;
    width: 80%;
}
input[type="text"].forminput, input[type="password"].forminput {
    width: 100%;
    font-size: 13px;
    line-height: 18px;
    padding: 6px 5px;
    border: 0;
    border-radius: 0;
    background: #fff;
}
input[type="text"].forminput:focus, input[type="password"].forminput:focus {
/*    -webkit-box-shadow: 1px 1px 5px 1px #00c;
    -moz-box-shadow: 1px 1px 5px 1px #00c;
    box-shadow: 5px 5px 5px 5px #00c;*/
    border: 0;
}
input.pin {
    width: 150px;
    text-align: center;
    font-size: 2em;
}

/* Tabs */
.tab-bar {
    position: relative;
    width: 1020px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}
.tab-content {
    display: none;
    padding: 0;
}
.tab-content .order.all {
    min-height: 750px;
}
.tab-content .accordion {
    position: relative;
    padding-top: 5px;
    margin-top: 5px;
    border-top: 1px solid #999;
    cursor: pointer;
}
.tab-content .accordion.noborder {
    border-top: none;
}
.tab-content .accordion .title {
    width: 160px;
    font-size: 15px;
    font-weight: bold;
    text-align: right;
    color: #555;
    padding: 5px 0; 
}
.tab-content .accordion::before {
    position: absolute;
    left: 10px;
    top: 10px;
    content: '\f0d7';
    font-family: FontAwesome;
    line-height: 14px;
    padding: 0px 4px;
    background: #fff;
    border: 1px solid #555;
}
.tab-content .accordion.active::before {
    content: '\f0d8';
}
.tab-content .panel {
    display: none;
    position: relative;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.tab-content .accordion.active + .panel {
    display: block;
    max-height: 50000px;
}
.print .tab-content .panel {
    display: block;
    max-height: 600px;
    font-weight: normal;
}
.tab-content .accordion.norights::after, .tab-content .panel.readonly::after, #formBorder.readonly::after {
    content: ' ';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 0;
    border: 0;
    cursor: default;
    background: rgba(0,0,0,.05);
    z-index: 100;
}
.tab-content .panel.readonly.scrollable::after {
    right: 20px;
}
.tab-content .panel.readonly input {
    -moz-user-focus: none;
    user-focus: none;
}
.panel label.order, .panel label.order2, .panel div.default, .panel div.flexbox, .panel div.date, .panel div.number, .panel div.short, .panel div.short2, 
.panel div.short4, .panel div.medium, .panel div.large, .panel div.empty, .panel div.formRight {
    float: none;
    display: inline-block;
    vertical-align: top;
}
.tab-content .panel label.order, .tab-content .panel label.order2 {
    width: 170px;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: right;
    padding: 2px 10px 3px 0;
    margin-bottom: 7px;
}
#date-changed {
    position: absolute;
    top: 10px;
    right: 0;
}
.scroll-content {
    max-height: 1000px;
    overflow-x: hidden;
    overflow-y: auto;
}
.tablet .scroll-content {
    max-height: 50000px;
}
.positions-header .default.count {
    width: 165px;
}
.positions-header .default.label {
    width: 395px;
}
.positions-header .short.label {
    width: 75px;
}
#position-container .default.select {
    width: 170px;
}
#position-container .default.color {
    width: 400px;
}
#position-container .default.color textarea {
    width: 350px;
}
#position-container .short.measure {
    width: 80px;
}
.col66 object {
    width: 380px;
    height: 300px;
}
#artwork_remark {
    width: 220px;
    height: 150px;
}
.col66 object {
    width: 380px;
    height: 300px;
}
.legend {
    width: 1020px;
    margin: 5px auto;
    padding-bottom: 10px;
}
.panel div.default.label, .panel div.short.label, .panel div.short2.label {
    font-size: 13px;
    font-weight: bold;
}
.tab-content .nolabel {
    display: inline-block;
    vertical-align: top;
    margin-left: 170px;
}
.panel .shipment {
    margin-left: 170px;
    border-bottom: none;
}
.panel input[type="text"], .panel input[type="url"], .panel select {
    width: 100%;
    height: 22px;
}
.panel input[type="text"].number {
    width: 30px;
    vertical-align: middle;
    text-align: center;
}
.panel .phase {
    width: 375px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: right;
    padding-left: 220px;
    margin-right: 3px;
}
.panel .phase button {
    float: left;
    padding: 0 20px;
}
.panel .size {
    display: inline-block;
    vertical-align: top;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    background: #fff;
    border: 1px solid #ccc;
    margin-right: -4px;
}
.panel .size p {
    padding: 3px 0;
    margin: 0;
}
.panel .size .name {
    font-weight: bold;
}
.panel .size input {
    width: 40px !important;
    text-align: center;
    outline: none;
}
.panel .sum {
    display: inline-block;
    vertical-align: top;
    text-align: center;
    margin-left: 6px;
}
.panel .articles-sum {
    text-align: right;
    font-weight: bold;
    margin-right: 26px;
    margin-bottom: 5px;
}
.panel .sum input, .panel .articles-sum input {
    line-height: 18px;
    width: 60px !important;
    text-align: center;
    outline: none;
}
.panel .nolabel:last-child .default.label {
    padding-bottom: 10px;
    /*border-bottom: 1px solid #999;*/
}

.tab-content .panel .optionContainer label, .tab-content .panel .formgroup label {
    width: auto;
    text-align: left;
}

input[name="tabs"] {
    display: none;
}
.tab-label {
    display: inline-block;
    width: 200px;
    margin: 0 -2px -8px 0px;
    border: 3px solid #6389A6;
    border-bottom: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    cursor: pointer;
}
.tab-label .tab-label-inner {
    position: relative;
    font-size: 18px;
    font-weight: 300;
    color: #777;
    padding: 4px 10px 12px 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    z-index: 1;
}
.tab-label:before {
    font-family: fontawesome;
    font-weight: normal;
    margin-right: 10px;
}
.tab-label-inner.disabled {
    cursor: not-allowed;
}
label[for='tab0'] .tab-label-inner { background-color: #FFF6D3; }
label[for='tab1'] .tab-label-inner { background-color: #E5F4FF; }
label[for='tab2'] .tab-label-inner { background-color: #ddd; }
label[for='tab3'] .tab-label-inner { background-color: #ddd; }
/*label[for='tab2'] .tab-label-inner { background-color: #e8e5d2; }*/
/*label[for='tab3'] .tab-label-inner { background-color: #e6ddfc; }*/
label.bggrey .tab-label-inner { background-color: #ddd; }
/*label[for='tab1']:before { content: '\f1cb'; }
label[for='tab2']:before { content: '\f17d'; }*/

.tab-label-ouline {
    position: absolute;
    display: inline-block;
    width: 200px;
    height: 35px;
    border-radius: 10px;
    z-index: -1;
}
input[name="tabs"]:checked + .tab-label .tab-label-inner {
    position: relative;
    z-index: 3;
}
#tab0:checked ~ #tabcontent0,
#tab1:checked ~ #tabcontent1,
#tab2:checked ~ #tabcontent2,
#tab3:checked ~ #tabcontent3 {
  display: block;
}

.tabform {
    position: relative;
    width: 1020px;
    height: auto;
    padding: 30px 30px 0 30px;
    border: 3px solid #6389A6;
    border-radius: 10px;
    margin-top: 0;
    background: #FFF6D3;
    z-index: 2;
}
.tabform.bggrey {
    background: #ddd;
}
.tabform .row, .panel .row, .formBorder .row {
    display: -ms-flexbox;
    display: flex;
    flex-flow: row wrap;
    margin: 0 -15px;
}
.tabform .row.border {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #999;
}
.tabform .col25, .panel .col25 {
    flex: 0 23%;
    padding: 0 15px;
}
.tabform .col33, .panel .col33 {
    flex: 0 33.3%;
    padding: 0 15px;
}
.tabform .col66, .panel .col66 {
    flex: 0 66.6%;
    padding: 0 15px;
}
.tabform .col50, .panel .col50 {
    flex: 1 50%;
    padding: 0 15px;
}
.tabform .col50.row label {
    flex: 0 125px;
}
.tabform .col100, .panel .col100 {
    padding: 0 15px;
}
.tabform label {
    display: inline-block;
    width: 110px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: right;
    padding: 2px 20px 3px 0;
    margin-bottom: 7px;
}
.tab-content .panel .col25 label {
    display: block;
    text-align: left;
    padding-left: 5px;
    margin: 0;
}
.tabform label.right {
    width: 85px;
}
.tabform label.wide {
    width: 180px;
    text-align: left;
}
.tabform label.order {
    float: none;
}
.tabform .w100, .tabform .w300, .tabform .w800 {
    display: inline-block;
    vertical-align: top;
}
.tabform .w100 { width: 110px; }
.tabform .w300 { width: 349px; }
.tabform .w800 { width: 840px; }
.tabform label.wide ~ .w300 { width: 270px; }
.tabform input[type="text"], .tabform select, .tabform textarea {
    max-width: 100%;
    width: 100%;
}
.tabform textarea { height: 120px; }
.tabform div.left {
    margin-right: 40px;
}
.tabform .media {
    min-height: 250px;
    margin: 15px 0;
    padding-top: 30px;
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
}
.tabform figure {
    position: relative;
    min-height: 300px;
    margin: 10px 30px;
    /*background: #fff;*/
    border: 1px solid #999;
}
.tabform figure::after {
    position: absolute;
    content: '';
    background: #fff url(../img/icons/file-image.svg) no-repeat center center / 100px;
    opacity: 0.5;
    top: 0; left: 0; bottom: 0; right: 0;
    z-index: -1;   
}
.tabform img {
    width: 100%;
    display: block;
    z-index: 2; 
}
.tabform .figure-button {
    text-align: right;
    padding-right: 25px;
}
.tabform .actions {
    padding: 0 0 20px 0;
    margin: 0 -15px;
}
textarea[readonly="readonly"] {
    background: #eee;
}
textarea[readonly="readonly"] {
    background: #eee;
    border-width: 1px;
    padding-left: 5px;
}
textarea.info {
    width: 100%;
    height: 130px
}
#canvas-editor {
    min-width: 300px;
    min-height: 150px;
    background: #fff;
}
#article-container {
    padding-bottom: 10px;
    border-bottom: 1px solid #999;
}
.article-container, #article-container {
    div.default { width: 160px; }
    div.short { width: 75px; }
    div.number.short { width: 50px; }
    .label {
        font-weight: bold;
        text-transform: uppercase;
        vertical-align: bottom;
        margin: 5px 0;
    }
    .label:not(:first-child) { margin-left: -3px; }
    .art-row input { width: 100%; }
    input.yellow { background: #ff6; }
    input.red { background: #f99; }
    input.green { background: #9f9 }
    input.bold { font-weight: bold; }
}
.vas-article-row {
    display: flex;
    .default { flex: 6; } 
    .short { flex: 3; } 
    .number { flex: 2; }
    .label {
        font-weight: bold;
        text-transform: uppercase;
    }
    input[readonly=""] { background: #eee; }
    input[readonly=""].sumall { background: #aabaf4; }
}
.printElement {
    display: inline-block;
    width: 100%;
    padding: 3px;
    border: 1px inset #ddd;
    overflow: hidden;
}

/* Tabs drucken */
.print .tab-bar {
    width: auto;
}
.print .tab-content {
    display: block;
}
.print .tab-content .accordion .title {
    width: 120px;
}
.print .accordion::before {
    content: '';
    padding: 0;
    border: 0;
}
.print .tab-content .panel label.order {
    width: 130px;
}
.print .tab-content .nolabel {
    margin-left: 130px;
}
.print label[for="tab0"] .tab-label-inner {
    background-color: #fff;
}
.printOutline {
    position: relative;
    border-radius: 10px;
    z-index: -1;
}
.print .value-text {
    display: inline-block;
    padding-top: 7px;
}
.print .articlesA4 {
    width: 875px;
    transform-origin: left top;
    transform: scale(.8);
    margin-top: 10px;
    margin-left: -40px;
    margin-bottom: -30px;
}
.print .positionsA4 {
    width: 875px;
    transform-origin: left top;
    transform: scale(.8);
    margin-bottom: -100px;
}
.print .protocol {
    position: absolute;
    width: 644px;
    bottom: 10px;
    padding-top: 15px;
    border-top: 1px solid #999;
}
.protocol label, .protocol .placeholder, .protocol .unit {
    display: inline-block;
    vertical-align: top;
    margin-right: -4px;
}
.protocol label {
    width: 70px;
    height: 25px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 5px;
}
.protocol .placeholder {
    line-height: 15px;
    border-bottom: 1px solid #000;
}

.dropzone {
    display: inline-block;
    vertical-align: top;
    width: 140px;
    height: 140px;
    min-height: 140px;
    padding: 8px;
    margin-right: 15px;
    overflow: hidden;
}
.dropzone .dz-message .dz-button {
    color: #777;
    font-size: 14px;
}
.dropzone .dz-preview {
    margin: 0 0  15px 0;
}
#dropImport {
    margin-right: 0;
}


.order .mce-ico {
    font-size: 12px;
}
.order .mce-btn button {
    padding: 0px 8px;
}
.order .mce-path {
    display: none;
}

.button.touch {
    width: 180px;
    height: 120px;
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
}
.button.touch.active {
    font-size: 30px;
}
.button.touch.btn_install {
    background: #74dfcf;
}
.button.touch.btn_start {
    /*height: 120px;*/
    background: #5a94ff;
    /*background: #AEE65C;*/
    /*margin-bottom: 30px;*/
}
/*.button.touch.btn_pause {
    height: 50px;
    background: #F3FF80;
}*/
.button.touch.btn_end1 {
    /*background: #FF8099;*/
    background: #a961cd;
}
.button.touch.btn_end2 {
    /*background: #ccc;*/
    background: #999;
}
button.btn-release {
    display: inline-block;
    width: 200px;
    height: 50px;
    text-align: center;
    
}

.modal-bg {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #00000050;
    z-index: 200;
}
.modal-bg .inside {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.modal-bg .modal {
    width: 400px;
    max-height: 100%;
    margin: 0 auto;
    background: #FFFAE9;
    padding: 30px;
    border: 2px solid #777;
    border-radius: 10px;
}
.modal-bg .modal.modal-large {
    width: 600px;
}
.modal-bg .modal-close {
    text-align: right;
    cursor: pointer;
}
.modal-bg .scroll-content {
    max-height: 500px;
}
.modal-bg .modal h1 {
/*   border-bottom: 1px solid #999;
   padding-bottom: 10px;
   margin-bottom: 10px;*/
}
.modal-bg .modal label {
    width: 100%;
    font-weight: bold;
}
.modal-bg .modal .formgroup {
    display: block;
    border-top: 1px solid #999;
    padding-top: 10px;
    margin-top: 10px;
}
.modal-bg .modal input.short {
    width: 40px;
    height: 40px;
    font-size: 30px;
    line-height: 40px;
    margin: 0 10px;
}
.modal-bg .modal input[name="number"], input[name="count"] {
    width: 50px;
    margin:0 10px 10px 0;
    text-align: center;
}

.checkbox-container {
    display: inline-block;
    width: 110px;
    line-height: 1;
}
.checkbox-dropdown {
    display: inline-block;
    width: 175px;
    border: 1px solid #aaa;
    padding: 4px;
    position: relative;
    margin: 3px 0;
    background: #fff;
    border-radius: 4px;
    user-select: none;
    line-height: 1;
}
.checkbox-dropdown:after {
    content:'';
    position: absolute;
    height: 7px;
    width: 7px;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
    top: 50%;
    right: 7px;
    margin-top: -6px;
    transform: rotate(45deg);
}
/*.checkbox-dropdown.is-active:after {
    transform: rotate(-135deg);
    margin-top: -2px;
}*/
.checkbox-dropdown-list {
    list-style: none;
    width: max-content;
    min-width: calc(100% + 2px);
    margin: 0;
    padding: 0;
    position: absolute;
    top: 105%;
    border: inherit;
    border-top: none;
    background: #fff;
    left: -1px;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    max-height: 150px;
    overflow: auto;
    overflow-x: hidden;
    pointer-events: none;
    z-index: 10;
}
.is-active .checkbox-dropdown-list {
    opacity: 1;
    pointer-events: auto;
}
.checkbox-dropdown-list li label {
    display: block;
    padding: 2px 5px;;
    background: #fff;
    transition: all 0.2s ease-out;
    white-space: nowrap;
}
.checkbox-dropdown span {
    color: #777;
}
.checkbox-dropdown input {
    margin-right: 5px;
    vertical-align: middle;
}

/* Druckprotokoll */
.protocol .inside {
    background: #fff;
}
.protocol h2 {
    color: #000;
    text-align: center;
    padding: 10px 0;
    margin: 0;
    border-bottom: 1px solid #000;
}
.protocol .order-data {
    margin: 5px 0;
    border-top: 1px solid #000;
}
.protocol .row {
    flex-flow: nowrap;
    margin: 0;
    border-bottom: 1px solid #000;
}
.protocol .row:not(.bottom) div {
    padding-right: 1px;
    border-right: 1px solid #000;
}
.protocol .row div:last-child {
    border-right: none;
}
.protocol .row.bottom {
    justify-content: space-between;
    border-bottom: none;
}
.protocol .row.bottom label {
    width: auto;
    vertical-align: revert;
    font-weight: normal;
    padding-right: 10px;
}
.protocol .row .col1 { width: 17%; }
.protocol .row .col2 { width: 20%; }
.protocol .row .col3 { width: 37%; }
.protocol .row .col4 { width: 26%; }
.protocol .row .col3-1 { width: 40px; }
.protocol .row .col3-2 { width: 25px; }
.protocol .row .col3-3 { width: calc(37% - 115px); }
.protocol .row .col3-4 { width: 50px; }
.protocol .row div.label {
    text-align: right;
    font-weight: bold;
    line-height: 26px;
    padding: 0 4px;
    margin: 0;
}
.protocol .order-data .label {
    width: 17%;
}
.protocol .order-data .input {
    width: 83%;
}
.protocol input[type="text"], .protocol input[type="date"], .protocol textarea {
    width: 100%;
    height: 25px;
    padding: 0 4px;
    border: none;
    border-radius: 0;
}
.protocol textarea {
    height: 97px;
    resize: vertical;
}
.protocol .red input, .protocol .red textarea {
    color: red;
}
.protocol .blue input, .protocol .blue textarea {
    color: blue;
}
.protocol .header {
    border-top: 1px solid #000;
}
.protocol .header div {
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    line-height: 25px;
}
.protocol .header span {
    font-weight: normal;
}
.protocol .header2 .col3-1, .protocol .header2 .col3-2, .protocol .header2 .col3-4 {
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    writing-mode: vertical-lr;
    line-height: 25px;
    padding: 4px 0;
}
.protocol .header2 .col3-1 { line-height: 40px; }
.protocol .header2 .col3-4 { line-height: 50px; }
.protocol .header2 .field:first-child {
    border-right: none;
    border-bottom: 1px solid #000;
}
.protocol .header2 .field {
    padding: 7px 4px;
}
.protocol .header2 label {
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    width: 80px;
    line-height: 25px;
    margin-right: -4px;
}
.protocol .header2 input {
    width: calc(100% - 80px);
}
.protocol .body .row {
    border-color: #ccc;
}
.protocol .body .col3-2 {
    text-align: center;
    line-height: 26px;
}
.row.protocol {
    justify-content: right;
    padding-right: 30px;
}
.row.protocol input[type="checkbox"] {
    display: inline;
    vertical-align: middle;
    margin-right: 5px;
}
.row.protocol label {
    width: auto;
    font-weight: normal;
    padding-right: 10px;
    text-transform: none;
    margin: 0;
}