/* =====================================
   STETAX PREMIUM TALLY INVOICE
===================================== */

body{
    background:#f3f4f6;
    font-family:Arial, Helvetica, sans-serif;
    font-size:14px;
    color:#000;
}

.invoice-wrapper{
    max-width:1200px;
    margin:auto;
    background:#fff;
    border:2px solid #000;
    padding:20px;
}

/* HEADER */

.company-header{
    border-bottom:2px solid #000;
    padding-bottom:15px;
}

.company-logo{
    max-height:90px;
}

.company-name{
    text-align: right;
    font-size:30px;
    font-weight:700;
    text-transform:uppercase;
    margin-bottom:5px;
}

.company-tagline{
     text-align: right;
    font-size:14px;
    font-weight:600;
    color:#444;
}

.company-info{
     text-align: right;
    font-size:13px;
    line-height:22px;
}

/* TITLE */

.invoice-title{
    text-align:center;
    margin-top:15px;
    margin-bottom:15px;
}

.invoice-title h2{
    border:2px solid #000;
    padding:10px;
    font-size:24px;
    font-weight:700;
    letter-spacing:2px;
}

/* TABLE */

.table{
    margin-bottom:0;
}

.table td,
.table th{
    border:1px solid #000 !important;
    vertical-align:middle;
}

.table th{
    background:#f1f1f1;
    text-align:center;
    font-size:13px;
}

.table input,
.table textarea,
.table select{
    border:none !important;
    box-shadow:none !important;
    font-size:13px;
}

.table input:focus,
.table textarea:focus,
.table select:focus{
    box-shadow:none !important;
}

/* ITEM TABLE */

#invoiceBody td{
    padding:6px;
}

.item-desc{
    min-width:250px;
}

/* BILL TO */

.border{
    border:1px solid #000 !important;
}

.border h6{
    font-weight:700;
    margin-bottom:15px;
}

/* TOTALS */

#subtotal,
#cgst,
#sgst,
#igst,
#grandTotal{
    font-weight:600;
}

.table-secondary{
    background:#e9ecef;
}

.table-secondary td{
    font-size:18px;
    font-weight:700;
}

/* AMOUNT WORDS */

#amountWords{
    font-weight:600;
    font-size:15px;
    min-height:50px;
}

/* TERMS */

ol{
    padding-left:20px;
}

ol li{
    margin-bottom:5px;
}

/* BANK DETAILS */

.bank-details td{
    padding:5px;
}

/* SIGNATURE */

.signature-box{
    min-height:150px;
}

.signature-box h6{
    font-weight:700;
}

/* BUTTONS */

.btn{
    border-radius:4px;
    padding:8px 20px;
}

/* PRINT */

@media print{

    body{
        background:#fff;
    }

    .invoice-wrapper{
        border:none;
        width:100%;
        max-width:100%;
        padding:0;
        margin:0;
    }

    .no-print{
        display:none !important;
    }

    input,
    textarea,
    select{
        border:none !important;
        background:transparent !important;
        padding:0 !important;
    }

    .table th{
        background:#fff !important;
    }

}

/* MOBILE */

@media(max-width:768px){

    .company-name{
        font-size:22px;
        text-align:center;
    }

    .company-tagline{
        text-align:center;
    }

    .company-info{
        text-align:center;
    }

    .invoice-title h2{
        font-size:18px;
    }

    .table{
        font-size:12px;
    }

    .item-desc{
        min-width:150px;
    }

}