#invoice{
    padding: 0px;
    font-weight: 400;
    color: #333;
    word-spacing: 0em;
}

.invoice {
    position: relative;
    background-color: #FFF;
    min-height: 680px;
    padding: 0px !important; margin:0;
    border:0 !important;  
}

.invoice .header {
    padding: 10px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #3989c6;
}

.invoice .company-details {
    text-align: right
}

.invoice .company-details .name {
    margin-top: 0;
    margin-bottom: 0
}

.invoice .contacts {
    margin-bottom: 20px
}

.invoice .invoice-to {
    text-align: left;
    background-color: lightgrey;
    padding: 5px;
}
.invoice h1 {
    margin-bottom: 0px;
    font-size: 30px;
}
.invoice h2 {
    font-size: 24px;
}
.invoice .invoice-to .to {
    margin-top: 0;
    margin-bottom: 0
}

.invoice .invoice-details,.invoice .date {
    text-align: right;
}

.invoice .invoice-details .invoice-id {
    margin-top: 0;
    color: #3989c6;
    text-align: right;
}


.invoice .main .thanks {
    margin-top: -100px;
    font-size: 2em;
    margin-bottom: 50px;
}

.invoice .main .notices {
    padding-left: 6px;
    border-left: 6px solid #3989c6;
}

.invoice .main .notices .notice {
    font-size: 1.2em;
}

.invoice table {
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 20px;
}

.invoice table td,.invoice table th {
    padding: 15px;
    background: #eee;
    border-bottom: 1px solid #fff; padding:10px;
}

.invoice table th {
    white-space: nowrap;
    font-weight: 400;
    font-size: 16px; 
}

.invoice table td h3 {
    margin: 0;
    font-weight: 400;
    color: #3989c6;
    font-size: 1.1em;
}

.invoice table .qty,.invoice table .total,.invoice table .unit {
    text-align: right;
    font-size: 0.9em;
}
.invoice table .qty {
    width:10%;
}
.invoice table .no {
    color: #fff;
    font-size: 1.6em;
    background: #3989c6;
}

.invoice table .unit {
    background: #ddd;
}

.invoice table .total {
    background: #3989c6;
    color: #fff;
}

.invoice table tbody tr:last-child td {
    border: none;
}

.invoice table tfoot td {
    background: 0 0;
    border-bottom: none;
    white-space: nowrap;
    text-align: right;
    padding: 5px;
    font-size: 1.1em;
    border-top: 1px solid #aaa;
}

.invoice table tfoot tr:first-child td {
    border-top: none;
}

.invoice table tfoot tr:last-child td {
    color: #3989c6;
    font-size: 1.4em;
    border-top: 1px solid #3989c6;
}

.invoice table tfoot tr td:first-child {
    border: none;
}
.invoice hr {
    color: #777;
}
.invoice .footer {
    text-align: center;
    color: #777;
    padding: 8px 0;
}
.invoice .footer .rcs{
    font-size:60%;
}

.invoice-reassort{
    font-size:150%;
    text-align:center;
    font-weight:800;
} 
.invoice-reassort input{
    margin-left:30px;
}
.invoice .case_blanche
{
    background-color: white;
    height:80px;
    border-right: 1px solid lightgrey;
    border-left: 1px solid lightgrey;
    border-bottom: 1px solid lightgrey;
}
thead tr th {
    color: #565656;
    text-transform: uppercase;    
}
.text-center
{
    text-align:center;
}

@media screen and (max-width: 1400px) {
.invoice table th { font-size: 14px; }
.invoice table td { font-size: 80%; }
.invoice table .qty, .invoice table .total, .invoice table .unit { font-size: 0.8em; }
.invoice table tfoot td { font-size:80% !important; }
}

@media screen and (max-width: 1280px) {
.invoice table th { font-size: 13px; }
.invoice table td { font-size: 70%; }
.invoice table .qty, .invoice table .total, .invoice table .unit { font-size: 0.7em; }
.invoice table tfoot td { font-size:70% !important; }
}

.colblue
{
    background: #3989c6;
    color: #fff;
}