.offer-view {
    background: #fff;
    box-sizing: border-box;
    width: 960px;
    height: 100%;
  
    box-sizing: border-box;
}

.offer-view-inner {
    padding: 10px;
    height: 100%;
    overflow: 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;
    font-weight: bold;
}

.offer-view .head.notoffered,
.offer-view .green-total.notoffered,
.offer-view .action-costs.notoffered {
    text-decoration: line-through;

}


.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;
    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 {

    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: #f6f6f6;
    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;
    align-self: center;
}

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

.offer-view .input-wrap.mwst {
    width: 40px;
    display: flex;

}

.offer-view .green-total {
    box-sizing: border-box;
    padding: 5px;
    display: flex;
    border-top: 1px solid #000;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    break-before: avoid;
}

.offer-view .green-total .spacer {
    flex-grow: 1;
}

.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;  
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    padding: 5px;
}

.offer-summary1-row .price-label {
    align-self: center;
    text-align: right;
    width: 80px;
}

.summary {
    border-top: 1px solid #000;   
    margin-top: 20px;
}

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

.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;
    background: #f6f6f6;
    page-break-before: avoid;
}

.offer-summary1-row.overall.notoffered {
    text-decoration: line-through;
}

.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;
}

.offer-footer {
    padding-top: 40px;
    padding-bottom: 40px;
}

.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;
}

.form-wrap {
    background: #fff;
    border-radius: 3px;
    display: flex;
    justify-content: space-between;
}

.form-left,
.form-right {
    width: 48%;
}

.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 .form-item.btn {
    display: flex;
    flex-direction: column;
    justify-content: end;
    height: 49px;
}

.form-wrap button {
    background: #99cc00;
    color: #fff;
    border: none;
    border-radius: 3px;
    line-height: 30px;
    border: 1px solid #000;
    cursor: pointer;
}

.form-wrap button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

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;
}

.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;
}