body {
    font-size: 12px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #212529;
    margin: 0;
}

.offer-view {
    background: #fff;
    box-sizing: border-box;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.offer-view .head {
    background: #EDEDED;
    border-top: 1px solid #000;
    box-sizing: border-box;
    padding: 5px;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    display: flex;
    justify-content: space-between;
}

.offer-view .head0 {}

.offer-view .head.has-costs {
    background: #cccccc;
}

.offer-view .head span {
    align-self: center;
}

.offer-view .head .inner-costs {
    display: flex;
    margin-left: 30px;
}

.offer-view .head .inner-costs p {
    align-self: center;
}

.offer-view .green-wrap .head {
    background: #e1f1b3;
    font-weight: bold;
}


.offer-view .tree-info {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    /*  page-break-after: avoid;*/
    /* break-after: avoid;*/
    display: block;
    position: relative;
    background: #EDEDED;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
}

.offer-view .tree-info .inner {
    display: flex;
}

.offer-view p.col20 {
    width: 20%;
    border-right: 1px solid #000;
    box-sizing: border-box;
    padding: 5px;
}

.offer-view .arbo {
    font-weight: bold;
    white-space: nowrap;
}

.offer-view p.treename {
    box-sizing: border-box;
    flex-grow: 1;
    padding: 5px;
}

.offer-view p.trunks {
    box-sizing: border-box;
    padding: 5px;
    border-left: 1px solid #000;
    white-space: nowrap;
}

.offer-view .action-pos,
.offer-view .priority {
    display: flex;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
}

.offer-view .action_name {
    box-sizing: border-box;
    padding: 5px;
    flex-grow: 1;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}

.offer-view .action_name .static-opener {
    cursor: pointer;
    color: #AE541A;
}

.offer-view p.info,
.offer-view p.description {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    box-sizing: border-box;
    padding: 5px;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
}

.offer-view p.info:empty {
    display: none;
}




.offer-view .action-costs {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    box-sizing: border-box;
    padding: 5px;
    display: flex;
    justify-content: flex-end;
    font-weight: bold;
    background-color: #ccc;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
}

.offer-view .action-costs p {
    align-self: center;
    margin-left: 5px;
    text-align: right;
}


.offer-view p.travel-costs {
    font-weight: bold;
}

.offer-view .input-wrap {
    width: 90px;
    display: flex;
    justify-content: flex-end;
    background: #fff;
    box-sizing: border-box;
    margin-left: 5px;
    align-self: center;
}

.offer-view .input-wrap span {
    margin-left: 8px;
    margin-right: 5px;
    align-self: center;
}

.offer-view .input-wrap input {
    width: 50px;
    text-align: right;
    border: none;
    border-radius: 3px;
    align-self: center;
    line-height: 25px;
    font-weight: bold;
}

.offer-view .input-wrap.mwst {
    width: 80px;
    display: flex;
    margin-right: 10px;
}

.offer-view .green-total {
    box-sizing: border-box;
    padding: 5px;
    display: flex;
    justify-content: flex-end;
    font-weight: bold;
    background: #e1f1b3;

    border-left: 1px solid #000;
    border-right: 1px solid #000;
    break-before: avoid;
}

.offer-view .green-total p {
    align-self: center;
}

.offer-view .green-total .surcharge-wrap {
    display: flex;
    margin-left: 15px;
}

.offer-view .green-total .surcharge-wrap .input-wrap {
    width: auto;
    color: #000;
}

.offer-view .green-total .surcharge-wrap input {
    width: 50px;
    margin-left: 5px;
}

.offer-view .green-total p.ratio {
    margin-right: 15px;
}

.offer-view p.total {
    width: 90px;
    text-align: right;
    background: rgba(255, 255, 255, .3);
    box-sizing: border-box;
    padding: 5px 4px;
}

.offer-view .action-costs p.total {
    background: rgba(0, 0, 0, .1);
    color: #000;
    white-space: nowrap;
}

.offer-view .action-elem {
    display: block;
    page-break-inside: avoid;
    position: relative;
}

.offer-view .ztv {
    padding: 5px;
}

.offer-view .ztv ul {
    margin-left: 15px;
}

.offer-summary1-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-top: 1px solid #fff;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    padding: 5px;
}

.offer-view .summary {
    border-bottom: 1px solid #fff;
    background: #AE541A;
}

.offer-summary1-row p {
    margin-right: 10px;
}

.offer-summary1-row p.total {
    margin-right: 0;
}

.offer-summary1-row p.total.final {
    background: #333;

}


.offer-summary1-row p.costs {
    width: 50px;
    text-align: right;
    padding-right: 5px;
}

.offer-summary1-row.total {
    font-weight: bold;
    background-color: #ccc;
}

.offer-summary1-row-customer-wrap {
    /* page-break-inside: avoid;*/
}

.offer-summary1-row.total p.name {
    text-align: right;
    padding-right: 10px;
}

.offer-summary1-row.overall {
    font-weight: bold;
    /* page-break-before: avoid;*/
    color: #fff;
    background-color: #AE541A !important;
}

.offer-summary1-row.overall .input-wrap {
    color: #333;
}

.offer-summary1-row.overall p.name {
    text-align: right;
    padding-right: 10px;
}

.input-w-label label {
    margin-right: 15px;
}

.form-wrap {
    width: 500px;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    padding: 20px;
    border-radius: 3px;

}

.form-wrap label {
    display: block;
    margin-bottom: 2px;

}

.form-wrap input {
    border-radius: 3px;
    line-height: 30px;
    padding-left: 10px;
    padding-right: 10px;
    border: 1px solid #000;
    width: 100%;
    box-sizing: border-box;
}

.form-wrap .form-item {
    margin-bottom: 20px;
}

.form-wrap button {
    background: #333;
    color: #fff;
    border: none;
    border-radius: 3px;
}

.offer-footer {
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #AE541A;
}

.offer-footer input.borderBottom {
    border: none;
    border-bottom: 1px solid #000;
    width: 200px;
}


.offer-footer-row {
    margin-top: 35px;
    margin-bottom: 35px;
    display: flex;
    font-weight: bold;
}

.offer-footer-row .w50 {
    width: 50%;
}

.offer-footer-row.print-only {
    display: none;
}

table.actions {
    width: 600px;
    border-collapse: collapse;
}

table.actions td {
    border: 1px solid #ededed;
}

table.actions td {
    border: 1px solid #ededed;
}

table.actions tr.obj td {
    border: none;
}

table.actions tr.obj.has-costs td {
    background-color: #ededed;
    border: 1px solid #ededed;
}

.tab-elem {
    width: 50px;
    padding: 3px;
    box-sizing: border-box;
    text-align: right;
    margin-left: 5px;
    margin-right: 5px;
}

.offer-short-view .tab-elem {
    border: 2px solid rgba(0, 0, 0, 0);
}

.tab-elem:focus {
    outline: 0;
    border: 2px solid red;
}

.tab-elem.locked {
    background: #71911A;
    color: #fff;
    border: none;
}

.lock-wrap {
    background: #71911A;
    color: red;
    display: flex;
    cursor: pointer;
    padding-right: 5px;
}

.lock-wrap i {
    align-self: center;
}

.action-elem.locked {
    background: #71911A;
    color: #fff;
}

.action-elem.locked .action-costs {
    background: #71911A;
    color: #fff;
}

.action-elem.locked p.total {
    color: #fff;
}

.head.locked {
    background: #71911A;
    color: #fff;
}

#controls {
    position: fixed;
    left: 0;
    top: 0;
}
#controls i {
    display: block;
    font-size: 30px;
    color:#fff;
    margin-left: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

@media print {
    .offer-view {
        width: 100%;
        max-width: none;
    }

    #controls {
        display: none;
    }

}