/* FariDocs 1.11 - specialized generators and corporate contrast */
.document-preview.template-corporate .preview-addresses span{
    background:#20384a!important;
    color:#fff!important;
    text-shadow:0 1px 1px rgba(0,0,0,.18)
}
.items-table-head.has-item-date,.item-row.has-item-date{
    grid-template-columns:minmax(170px,1fr) 104px 76px 116px 108px 28px
}
.items-table-head.has-item-unit,.item-row.has-item-unit{
    grid-template-columns:minmax(170px,1fr) 76px 82px 116px 108px 28px
}
.item-row .item-unit{height:36px}
.preview-items.has-item-date th:first-child{width:16%;text-align:center}
.preview-items.has-item-date th:nth-child(2){width:38%;text-align:left}
.preview-items.has-item-date th:nth-child(3){width:11%;text-align:center}
.preview-items.has-item-date th:nth-child(4){width:17%;text-align:right}
.preview-items.has-item-date th:nth-child(5){width:18%;text-align:right}
.preview-items.has-item-date td:first-child{text-align:center;white-space:normal}
.preview-items.has-item-date td:nth-child(2){text-align:left}
.preview-items.has-item-date td:nth-child(n+3){text-align:right}
@media(max-width:1250px){
    .items-table-head.has-item-date,.items-table-head.has-item-unit{display:none}
    .item-row.has-item-date,.item-row.has-item-unit{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
    .item-row.has-item-date label:first-child,.item-row.has-item-unit label:first-child{grid-column:1/-1}
    .item-row.has-item-date label>span,.item-row.has-item-unit label>span{display:block;margin-bottom:5px;color:#657488;font-size:8px;font-weight:800}
}
@media(max-width:620px){
    .item-row.has-item-date,.item-row.has-item-unit{grid-template-columns:1fr 1fr}
    .preview-items.has-item-date{font-size:5.7px}
}
