.invoice h2{margin:0}[class="2cols"]{margin:0 0 20px}.form-totals .cell-text{color:#000;font-weight:500!important}.l50 label{display:inline-block;width:100px;text-align:right;margin:0 6px 0 0}.cell:nth-child(1),.cell:nth-child(6){margin:0;width:18px}.row.is-dragging .cell{background:#ccc}.row.is-dragging input,.row.is-dragging textarea{border-color:#92afcb}.cell input{text-align:right}input[name$=price]::-webkit-outer-spin-button,input[name$=price]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[name$=price]{-moz-appearance:textfield}.cell textarea{display:block;height:40px;overflow:hidden}.invoiceLabel{font-size:32px;text-align:center;color:#555;background:#bbb;margin:30px 0!important}@media only screen and (max-width: 767px){.invoice{margin-top:20px}.row{position:relative;padding:10px;border:1px solid #999;border-radius:10px;margin:0 0 20px}.row:first-child{display:none}.cell:nth-child(2){width:100%;margin-right:0}.cell:nth-child(5){flex-grow:5;margin-right:0}.invoice--form .row:not(:first-child){display:grid;grid-template-columns:24px repeat(3,minmax(0,1fr)) 24px;-moz-column-gap:8px;column-gap:8px;border:0;border-bottom:1px solid #ccc;border-radius:0;margin:0;padding:8px 0 14px}.invoice--form .row:nth-child(2){border-top:1px solid #ccc}.invoice--form .row .cell{width:auto;min-width:0;margin:0}.invoice--form .row .cell:nth-child(1){grid-column:1;grid-row:1}.invoice--form .row .cell:nth-child(2){grid-column:2/5;grid-row:1}.invoice--form .row .cell:nth-child(6){grid-column:5;grid-row:1}.invoice--form .row .cell:nth-child(3){grid-column:2}.invoice--form .row .cell:nth-child(4){grid-column:3}.invoice--form .row .cell:nth-child(5){grid-column:4}.invoice--form .row .cell:nth-child(1),.invoice--form .row .cell:nth-child(6){align-self:end;align-items:center;height:48px}.invoice--form .table>button{margin-top:20px}.drag-handle{cursor:move;position:relative;z-index:5;border-radius:5px}.delete-row{color:#888;line-height:0}.file-upload{margin-bottom:20px!important}.l50 label{margin-left:calc((100% - 290px)/2)}}@media only screen and (min-width: 768px){.invoice{max-width:800px;margin:30px auto 50px;border-radius:8px;background:#fff;padding:20px;box-shadow:0 4px 8px #0003,0 6px 20px #00000030}.invoice-actions{display:flex;max-width:800px;margin:10px auto}.file-upload{float:right}[class="2cols"]:after{content:"";display:table;clear:both}.l50{width:50%;margin:0 0 10px;display:flex;flex-direction:column;justify-content:space-between;float:left}.l50+.l50{align-items:flex-end;float:right}input[name=invoiceLabel][name]{width:300px}.table{width:calc(100% + 40px);padding:10px 0 25px;background:#eee;left:-20px;position:relative}.row{padding:8px 10px}.cell input,.cell .autocomplete{margin:0}.drag-handle{cursor:move;margin-right:2px}.row:first-child .drag-handle,.row:first-child .m-delete-row{visibility:hidden}.cell:nth-child(1),.cell:nth-child(6){margin:0;width:24px}.cell:nth-child(2){width:calc(109% + 2px)}.cell label{display:none}.table>button{margin:15px 0 0 30px}}@media only screen and (max-width: 320px){.l50 label{margin:0 8px 0 0}.file-upload{width:calc(100% - 6px)!important;margin:0 0 20px!important}}
