*,
*:before,
*:after {
    box-sizing: border-box;
}

body {
    color: #000000;
    font-family: Verdana, sans-serif;
    font-size: 11px;
    min-width: 950px;
    margin: 0;
    padding: 0;
    background: #FFF;
}

.error {
    margin: 10px;
    border: 2px solid #CC0000;
    padding: 20px;
    text-align: center;
    font-family: Verdana, sans-serif;
    font-size: 12px;
    color: #CC0000;
    background-color: rgba(237, 169, 169, 0.74);
}

.buma-grid {
    display: grid;
    grid-template-columns: 1fr 50px;
    grid-template-rows: auto;
    grid-template-areas: "debug-top debug-top" "main buttons";
    margin: 15px 0 0 0;
}
.buma-grid-left {
    grid-area: main;
    padding-left: 15px;
}
.buma-grid-right {
    grid-area: buttons;
}
.buma-grid-debug-top {
    grid-area: debug-top;
    background-color: cornsilk;
    padding: 15px;
    display: inline-grid;
    grid-template-columns: 80px 160px auto auto auto auto;
    grid-template-rows: 1fr;
    gap: 15px;
    align-items: center;
}
.buma-grid-debug-top .boxHost input {
    height: 14px;
    width: 200px;
    border: 1px solid #7F9DB9;
}
.buma-grid-debug-top .boxPort input {
    width: 60px;
    height: 14px;
    border: 1px solid #7F9DB9;
}

#iconBox {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3,30px) 15px repeat(3,30px);
}
#iconBox > div {
    height: 30px;
    cursor: pointer;
}
#iconBox > div.row-spacer {
    cursor: default;
}
#iconBox > div.boxTopClear {
    background: url(../img/besen.gif) no-repeat center center;
}
#iconBox > div.boxTopPrint {
    background: url(../img/print.gif) no-repeat center center;
}
#iconBox > div.boxTopSend {
    background: url(../img/senden.gif) no-repeat center center;
}
#iconBox > div.boxTopIncreaseFontSize {
    background: url(../img/increaseFont.gif) no-repeat center center;
}
#iconBox > div.boxTopStandardFontSize {
    background: url(../img/standardFont.gif) no-repeat center center;
}
#iconBox > div.boxTopDecreaseFontSize {
    background: url(../img/decreaseFont.gif) no-repeat center center;
}

/* *** box *** */
.box {
    display: grid;
    grid-template-columns: 22px 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: "box-left box-right";
    margin-bottom: 10px;
}
.box .box-left {
    grid-area: box-left;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 22px 1fr;
    grid-template-areas: "box-left-button" "box-left-label";
    row-gap: 10px;
    justify-items: center;
    background-color: #DDE7F9;
    border: 1px solid #7F9DB9;
    position: relative;
}
.box .box-left.closed {
    grid-template-rows: 22px;
    grid-template-areas: "box-left-button";
    row-gap: 0;
}
.box .box-left .box-left-button {
    grid-area: box-left-button;
    align-self: center;
    background: url(../img/min.gif) no-repeat center center;
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.box .box-left .box-left-button.close {
    background: url(../img/close.gif) no-repeat center center;
}
.box .box-left.closed .box-left-button {
    background: url(../img/plus.gif) no-repeat center center;
}
.box .box-left .box-left-label {
    grid-area: box-left-label;
    color: #0066CC;
    font-weight: bold;
    font-size: 11px;
    position: absolute;
    top: 0;
    white-space: nowrap;
    writing-mode: sideways-lr;
}
.box .box-right {
    grid-area: box-right;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 20px 1fr;
    grid-template-areas: "box-right-label" "box-right-content";
    border: solid #7F9DB9;
    border-width: 1px 1px 1px 0;
    background-color: #DDE7F9;
}
.box .box-right .box-right-label {
    color: #0066CC;
    font-weight: bold;
    font-size: 11px;
    line-height: 1;
    align-self: center;
    padding-left: 10px;

}
.box .box-right .box-right-content {
    background-color: #FFFFFF;
    padding-bottom: 5px;
}

.boxOuter1 .box .box-left:not(.closed) {
    min-height: 110px;
}
.boxOuter2 .box .box-left:not(.closed) {
    min-height: 135px;
}
.boxOuter3 .box .box-left:not(.closed) {
    min-height: 125px;
}
.boxOuter4 .box .box-left:not(.closed) {
    min-height: 210px;
}

.pre-infos-div, .hintsContentBoxStyle {
    font-family: Monospace, sans-serif;
    font-size: 13px;
    line-height: 17px;
    color: #333;
}
.pre-infos-div pre,
.hintsContentBoxStyle pre {
    margin: 0;
}
.hintsContentBoxStyle {
    margin: 16px 0 0 10px;
}


select, input, input:focus,
input:focus-visible {
    outline: none;
}
input {
    height: 12px;
    font-size: 11px;
    margin: 0;
    padding: 0 2px;
}
input[readonly],
input.variableField[readonly] {
    background-color: #F0F0F0 !important;
}
input.variableField {
    position: absolute;
    border: 1px solid #7F9DB9;
    background-color: #FFFFFF;
    font-family: Monospace, sans-serif;
    font-size: 11px;
    height: 14px;
}

.box-member-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: "box-member-left box-member-right";
    column-gap: 40px;
    padding: 5px 10px;
}
.box-member-grid .box-member-grid-left {
    grid-area: box-member-left;
}
.box-member-grid .box-member-grid-right {
    grid-area: box-member-right;
}

/* ################################################################### */

.loadingDiv {
    position: absolute;
    left: 1%;
    right: 1%;
    top: 24%;
    width: 98%;
    font-weight: bold;
    color: #0066CC;
    font-size: 35px;
    text-align: center;
}

.colSpacer {
    float: left;
    width: 1%;
}

.clear {
    display: block;
    clear: both;
    height: 0;
    width: 1px;
    font-size: 1px;
    background-color: red;
}

.boxOuter1,
.boxOuter2,
.boxOuter3,
.boxOuter6,
.boxOuter4,
.boxFooter {
    margin-bottom: 10px;
    zoom: 1;
}

.boxOuter5,
.boxOuter5Payment {
    display: none;
    margin-bottom: 10px;
    min-height: 100px;
}

.boxLeftLabel5Payment {
    width: 20px;
    height: 100px;
    color: #0066CC;
    font-weight: bold;
}

.boxContent {
    padding-bottom: 5px;
    background-color: #FFF;
}
.boxOuter3 .boxContent {
    height: 105px;
    overflow-y: auto;
}

.boxActionRow1 {
    background-color: #FEEBDB;
    height: 18px;
    margin-bottom: 5px;
    padding-right: 10px;
    padding-left: 10px;
    display: flex;
    align-items: center;
}

.boxMemberRow1 {
    float: left;
    background-color: #CCC;
    height: 18px;
    width: 100%;
    margin-bottom: 5px;
    margin-top: 12px;
}

.boxActionRow1Inputs {
    width: 100%;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.boxMemberRowInputs,
.boxMemberRowInputsHead,
.boxMemberRowInputsFoot {
    width: 100%;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
}

.boxMemberRows {
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.boxActionRow1Inputs input {
    width: 100%;
    border: 0 solid black;
}

.boxMemberColInner input {
    width: 100%;
    border: 0 solid black;
    background-color: #FFF;
}

.boxServiceColInner input {
    width: 100%;
    border: 0 solid black;
}

.boxActionColInner {
    border: 1px solid #7F9DB9;
    margin-right: 2px;
    background-color: #FFF;
    margin-top: 3px;
}

.boxMemberColInner {
    border: 1px solid #7F9DB9;
    margin-right: 2px;
    background-color: #FFF;
}

.boxMemberColInnerFirst {
    border: 1px solid #FFF;
    margin-right: 2px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
}

.boxMemberColInner0 {
    margin-right: 2px;
    background: url(../img/einstellungen.gif) no-repeat left center;
    height: 21px;
}
.boxMemberColInner0Invisible {
    margin-right: 2px;
    background: none;
}

.boxMemberColInnerGesamtpreis {
    border: 1px solid #FFF;
    margin-right: 2px;
    line-height: 1;
    text-align: right;
}

.boxMemberColHl {
    padding: 2px 0;
    background-color: #FEEBDB;
}

.boxServiceColInner {
    border: 1px solid #7F9DB9;
    margin-right: 2px;
    background-color: #FFF;
}

.boxFlexEnd {
    display: flex;
    align-items: end;
}

.boxActionCol1 {
    width: 5%;
}
.boxActionCol2 {
    width: 6%;
}
.boxActionCol3 {
    width: 6%;
}
.boxActionCol4 {
    width: 6%;
}
.boxActionCol5 {
    width: 15%;
}
.boxActionCol6 {
    width: 11%;
}
.boxActionCol7 {
    width: 6%;
}
.boxActionCol8 {
    width: 13%;
}
.boxActionCol9 {
    width: 10%;
}
.boxActionCol10 {
    width: 10%;
}
.boxActionCol11 {
    width: 6%;
}
.boxActionCol12 {
    width: 6%;
}
.boxActionCol11,.boxActionCol12 {
    text-align: center;
}
.boxActionCol11.back {
    background-image: url(../img/zurueck.gif);
    background-repeat: no-repeat;
    background-position: center;
    height: 22px;
    filter: alpha(opacity=50);
    opacity: 0.50;
}
.boxActionCol12.forward {
    background-image: url(../img/vor.gif);
    background-repeat: no-repeat;
    background-position: center;
    height: 22px;
    filter: alpha(opacity=50);
    opacity: 0.50;
}
.boxActionRow2, .boxActionRow3 {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}
.boxActionLabel {
    width: 5%;
    height: 16px;
    line-height: 16px;
}
.boxActionVa {
    width: 70%;
}
.boxActionVa2 {
    width: 25%;
}

.boxActionVaInner {
    margin-right: 2px;
    border: 1px solid #7F9DB9;
    background-color: #EEF0F4;
}
.boxActionVa2Inner {
    border: 1px solid #7F9DB9;
    background-color: #EEF0F4;
}
.boxActionVaInner input {
    width: 100%;
    border: 0 solid black;
    background-color: #EEF0F4;
}
.boxActionVa2Inner input {
    width: 100%;
    border: 0 solid black;
    background-color: #EEF0F4;
}
.boxActionMfz {
    width: 95%;
}
.boxActionMfzInner {
    border: 1px solid #7F9DB9;
    background-color: #FFF;
}
.boxActionMfzInner input {
    width: 100%;
    border: 0 solid black;
}
.boxServiceCol1 {
    width: 4%;
    text-align: center;
}

.boxServiceCol2 {
    width: 4%;
    background-image: url(../img/einstellungen.gif);
    background-repeat: no-repeat;
    height: 22px;
}

.boxServiceCol2Hl {
    width: 4%;
}

.boxServiceCol3 {
    width: 2%;
}

.boxServiceCol4 {
    width: 5%;
}

.boxServiceCol5 {
    width: 19%;
}

.boxServiceCol6 {
    width: 8%;
}

.boxServiceCol7 {
    width: 4%;
}

.boxServiceCol8 {
    width: 6%;
}

.boxServiceCol9 {
    width: 6%;
}

.boxServiceCol10 {
    width: 9%;
}

.boxServiceCol11 {
    width: 9%;
}

.boxServiceCol12 {
    width: 10%;
}

.boxServiceCol13 {
    width: 7%;
}

.boxServiceCol13 div,
.boxServiceCol13 input,
input.readonly {
    background-color: #EEF0F4 !important;
}
.boxOuter5 input:focus,
.boxOuter5 input.readonly:focus {
    outline: none !important;
}

.boxServiceCol14 {
    width: 7%;
}

.boxServiceCol14 div,
.boxServiceCol14 input {
    background-color: #EEF0F4;
    font-weight: bold;
}

.boxServiceRow {
    padding: 0 10px;
    display: flex;
    align-items: center;
}

.boxMemberLeft {
    float: left;
    width: 46%;
    padding-right: 3%;
    padding-left: 1%;
    margin-top: 5px;
}

.boxMemberNote {
    margin-bottom: 10px;
}

.boxMemberCol1 {
    width: 6%;
}
.boxMemberCol2 {
    width: 10%;
}
.boxMemberCol3 {
    width: 53%;
}
.boxMemberCol4 {
    width: 13%;
}
.boxMemberColGesamtpreis {
    width: 82%;
}
.boxMemberCol5 {
    width: 18%;
}
.boxMemberCol5Hl {
    width: 18%;
}

.boxMemberCol5 div,
.boxMemberCol5 input {
    background-color: #EEF0F4;
    font-weight: bold;
}

.boxMemberCol5 .boxMemberColInner {
    margin-right: 0;
}

.boxMemberColScroll {
    float: left;
    width: 15px;
}

.boxMemberLabel {
    width: 22%;
}

.boxMemberLabelSos {
    width: 12%;
    white-space: nowrap;
}

.boxMemberValue {
    width: 78%;
    border: 1px solid #7F9DB9;
    background-color: #FFF;
}

.boxMemberValuePlz {
    width: calc(18% - 2px);
    margin-right: 2px;
    border: 1px solid #7F9DB9;
    background-color: #FFF;
}

* html .boxMemberValuePlz {
    width: 17%;
    margin-right: 1%;
    border: 1px solid #7F9DB9;
    background-color: #FFF;
}

.boxMemberValueOrt {
    width: 60%;
    border: 1px solid #7F9DB9;
    background-color: #FFF;
}

.boxMemberValueMobil {
    width: calc(45% - 2px);
    border: 1px solid #7F9DB9;
    background-color: #FFF;
    margin-right: 2px;
}

.boxMemberValueSos {
    width: 21%;
    border: 1px solid #7F9DB9;
    background-color: #FFF;
}
.boxMemberValueChecks {
    float: left;
    width: 76%;
    background-color: #FFF;
    padding-right: 2px;
    padding-top: 4px;
}

.boxMemberValue input,
.boxMemberValuePlz input,
.boxMemberValueMobil input,
.boxMemberValueSos input,
.boxMemberValueOrt input,
.boxMemberNote input {
    width: 100%;
    border: 0 solid black;
    background-color: #FFF;
}

.boxMemberRightRow {
    margin-bottom: 3px;
    display: flex;
    align-items: center;
}

.boxServiceCol2Div {
    width: 20px;
    height: 20px;
}

.boxMemberNote div {
    border: 1px solid #7F9DB9;
    background-color:#FFFFFF;
    width: 100%;
}
.boxMemberNote label {
    display: block;
    margin-bottom: 2px;
}

.boxFooter {}
.boxFooterButtons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.boxFooterButtons img {
    cursor: pointer;
}
.boxFooterMetaData {
    font-family: courier, sans-serif;
    text-align: right;
}

#MessageNo, #MessageText {
    color: #CC0000;
}

.boxMemberRightRowFirst {
    height: 15px;
    display: flex;
    justify-content: end;
    align-items: end;
}

#AddressLock {
    display: none;
    text-align: right;
}

#AddressLock img {
    cursor: pointer;
    position: relative;
    top: -2px;
    right: 2px;
}

.optionInner {
    float: left;
    width: 160px;
}
.optionInput {
    float: left;
    width: 20px;
    padding: 1px 0 0 2px;
}
.optionInput input {
    height: 14px;
    width: 14px;
    padding: 0;
}
.optionLabel {
    float: left;
    width: 135px;
}
.bmCheckbox {
    width: 14px;
    height: 14px;
    margin: 0;
    padding: 0;
}

.inputReadonly,
.inputReadonly input {
    background-color: #EEF0F4;
}

#idMain .innerSelect {
    width: calc(100% - 18px);
    margin-right: 0;
    background-color: #fff;
    border: 1px solid #7F9DB9;
}

.img_selectopener {
    cursor: pointer;
    height: 14px;
    width: 17px;
    position: relative;
    left: -1px;
}

select.innerSelect {
    display: none;
    position: absolute;
    margin: 0;
    float: left;
    font-family: Courier, mono, sans-serif;
    z-index: 10;
    background-color: #fff;
    overflow: scroll;
}

.innerSelect input {
    width: 100%;
}

/* autocomplete */
.ui-autocomplete-category {
    font-weight: bold;
    padding: .2em .4em;
    margin: .6em 0 .2em;
    line-height: 1.5;
}
.ui-autocomplete {
    background-color: #FFF;
    border: 1px solid #CCC;
    list-style: none;
    padding: 3px 20px 3px 1px;
    margin: 0;
    display: block;
    float: left;
    font-family: Courier, mono, sans-serif;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
}
.ui-menu {

}
.ui-widget {

}
.ui-widget-content {

}
.ui-corner-all {

}
.ui-menu-item {
    cursor: pointer;
}
.ui-menu .ui-menu-item a {
    text-decoration: none;
    display: block;
    white-space: nowrap;
    line-height: 16px;
    padding: 2px;
    zoom: 1;
}
.ui-menu .ui-menu-item a.ui-state-hover,
.ui-menu .ui-menu-item a.ui-state-active {
    font-weight: normal;
    background: #FEEBDB;
}

.no-close .ui-dialog-titlebar-close {
    display: none;
}

div.dialog {
    display: none;
}

#dialog-deletemask > p > span {
    float: left;
    margin: 0 7px 20px 0;
}

#debug {
    margin: 10px;
    font-family: Monospace, sans-serif;
    font-size: 10px;
    color: #333;
}
#debug .debug-section-header {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #666;
    background-color: cornsilk;
    color: cornflowerblue;
}
#debug .debug-section-main {
    padding: 10px;
    border: 1px solid #666;
    background-color: cornsilk;
    margin-bottom: 10px;
}
#debug .debug-section {
    position: relative;
    padding: 10px;
    border: 1px solid #666;
    background-color: #FEFEFE;
    margin-bottom: 10px;
    overflow: auto;

    h2 {
        margin-top: 0;
    }
}
#debug .debug-section:nth-child(even) {
    background-color: #E1E1E1;
    margin-bottom: 5px;
}
#debug .debug-section[data-visible="0"] {
    height: 80px;
}
#debug .debug-section[data-visible="1"] {
    height: initial;
}
#debug .debug-section--toggle {
    position: sticky;
    display: inline-block;
    padding: 0 5px;
    border: 1px solid #666;
    border-radius: 10px;
    top: 0;
    left: calc(100% - 50px);
    text-align: center;
    background-color: cornsilk;

    span {
        cursor: pointer;
    }
    span.remove {
        color: red;
        font-weight: bold;
    }
}
#debug .debug-section[data-visible="1"] .debug-section--toggle {
    background-color: lightgreen;
}
#debug .debug-section[data-visible="0"] .debug-section--toggle {
    background-color: cornsilk;
}
.debug-info {
    background-color: cornsilk;
    margin: 10px 0;
    padding: 5px;
}

.pad-lr-1 {
    padding-left: 10px;
    padding-right: 10px;
}
.marg-pad-0 {
    margin: 0;
    padding: 0;
}

iframe.iframeStyle {
    display: block;
    position: absolute;
    z-index: -1;
    filter: Alpha(Opacity=0);
}

/* *** payment *** */
.boxContentPayment {
    min-height: 80px;
    padding: 10px !important;
}

.boxContentPayment .clear {
    background-color: red;
}

.boxContentPayment input[type="radio"]{
    width: 14px;
    height: 14px;
    margin: 0 6px 0 0;
    padding: 0;
    line-height: 1;
}

#boxPaymentTypes {
    display: flex;
    align-items: center;
}

#boxPaymentCreditCardSubTypes {
    display: none;
    border: 1px solid #7F9DB9;
    box-sizing: border-box;
    line-height: 1;
    padding-bottom: 8px;
}
#boxPaymentCreditCardSubTypes.hasValue {
    padding-bottom: 0;
}

#boxPaymentTypes > div,
#boxPaymentCreditCardSubTypes > div {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border: 1px solid transparent;
    position: relative;
    top: 1px;
}

#boxPaymentCreditCardSubTypes > div {
    margin-top: 8px;
    top: 1px;
}

#boxPaymentTypes > div.resetButton {
    padding: 0;
}

.boxPaymentTypeSelected {
    border: 1px solid #7F9DB9 !important;
    border-bottom-color: #DDE7F9 !important;
    background-color: #DDE7F9 !important;
    z-index: 1;
}

#boxPaymentCreditCardSubTypes > div:first-child.boxPaymentTypeSelected {
    border-left-color: #DDE7F9 !important;
}

#paymentResetButton {
    font-family: Verdana, sans-serif;
    font-size: 11px;
    margin-left: 40px;
}

#boxPaymentIframe {
    display: none;
    min-height: 100px;
    border: 1px solid #7F9DB9;
    padding: 10px;
}
#boxPaymentIframe.displayHelper {
    position: relative;
    top: -1px;
}
#boxPaymentIframe .paymentIframeLoading {
    position: relative;
    height: 100px;
    color: #0066CC;
    font-weight: bold;
    font-size: 14px;
}
#boxPaymentIframe .paymentIframeError {
    display: none;
    color: red;
}
#boxPaymentIframe .paymentIframeLoading span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#paymentIframe {
    display: none;
    width: 100%;
    min-height: 80px;
    border: 0;
}

@media print {
    .boxLeft,
    .boxActionCol11Hl,
    .boxActionCol12Hl {
        display: none;
    }

    .boxOuter5 input {
        display: none;
    }

    .boxServiceCol2 {
        display: none;
    }

    .boxServiceCol4 {
        float: left;
        width: 8%;
    }

    .boxServiceCol5 {
        float: left;
        width: 24%;
    }

    .boxServiceCol6 {
        float: left;
        width: 7%;
    }

    .boxServiceCol8 {
        float: left;
        width: 4%;
    }

    .boxServiceCol9 {
        float: left;
        width: 5%;
    }

    .boxServiceCol13 {
        float: left;
        width: 6%;
    }

    .boxMemberLabel span {
        display: none;
    }

    .boxMemberCol5 div,
    .boxMemberCol5 input {
        background-color: #EEF0F4;
        font-weight: normal;
    }

    .boxServiceCol14 div,
    .boxServiceCol14 input {
        background-color: #EEF0F4;
        font-weight: normal;
    }

    .boxServiceCol2Hl {
        display: none;
    }

    .iconBox {
        display: none;
    }
}
