


.invoicegenerator {
    display: flex;
    position: relative;
    padding: 70px 10px 0px 10px;
}

.invoicecenter {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}
p, h1, h2, h3, h4, h5, h6 {
    color: rgb(78, 78, 78);
} 

.maindiv {
    display: flex;
    flex-direction: column;
    background-color: white;
    font-size: 14px;
    padding: 40px 30px 10px 30px;
    height: 93vh;
    overflow-y: scroll;
    box-shadow: 5px 5px 10px rgba(128, 128, 128, 0.114);
}
/* Scrollbar customization for WebKit browsers */
.maindiv::-webkit-scrollbar {
  width: 3px;
}

.maindiv::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
  width: 4px;
}

.maindiv::-webkit-scrollbar-thumb {
  background-color: grey; /* Change this to your desired color */
  border-radius: 5px;
  border: 0.5px solid transparent;
  background-clip: content-box;
}

.maindiv::-webkit-scrollbar-thumb:hover {
  background-color: #388E3C;
}

.sidediv {
    display: flex;
}
.sidecontents{
    display: flex;
    flex-direction: column;
    padding-left: 35px;
    width: 100%;
}
@media (max-width: 991px) {
    .invoicecenter {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
    }
    .sidecontents{
        display: flex;
        flex-direction: column;
        padding-left: 0px;
        margin-top: 40px;
        width: 100%;
    }
}
@media (max-width: 784px) {
    .invoicecenter {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
    }
    .maindiv {
        display: flex;
        flex-direction: column;
        background-color: white;
        font-size: 14px;
        padding: 40px 10px 10px 10px;
        height: auto;
        overflow-y: hidden;
        box-shadow: 5px 5px 10px rgba(128, 128, 128, 0.114);
    }
    .sidecontents{
        display: flex;
        flex-direction: column;
        padding-left: 0px;
        margin-top: 40px;
        width: 100%;
    }
    .maindiv p {
        font-size: 13px;
    }
}
.preview-btn {
    border: 0.3px solid grey;
    border-radius: 6px;
    padding: 8px;
    color: white;
    background-color: black;
}
.preview-btn:hover {
    color: white;
    transition: 200ms;
    background-color: green;
}
.print-btn {
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 8px;
    color: white;
    background-color: rgb(0, 185, 0);
}
.print-btn:hover{
     background-color: var(--lightblue);
     transition: 200ms;
}
.currency-btn{
    border-radius: 6px;
    padding: 10px;
    width: 100%;
}
.invite-btn{
    border: 1px solid rgb(0, 185, 0);
    border-radius: 6px;
    padding: 10px;
    width: 100%;
    color: black;
    font-size: 16px;
    background-color: rgba(0, 128, 0, 0.151);
}
.invite-btn:hover {
    background-color: rgb(0, 185, 0);
    color: white;
    transition: 200ms;
}
.invite-btn:hover i{
    color: white;
}
.invite-btn:nth-child(1) {
    background-color: gold;
    border: none;
}
.invite-btn:nth-child(1):hover{
    color: white;
    background-color: rgb(0, 185, 0);
}
.invite-btn i{
    color: green;
    padding-right: 10px;
}
.invite-btn img{
    height: 25px;
}
.sidediv .line-separator {
    height: 10px;
    width: 100%;
    color: black;
    padding: 0px 0px 0px 100px;
}
.currency-title {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.currency-title img{
    height: 40px;
}
.currency-title p {
    margin: 0px;
    font-size: 20px;
    padding-left: 10px;
}
.currency-title i {
   color: var(--orangered);
}
.sidediv hr{
    margin: 10px 0px;
}

/* Main Div*/

::placeholder {
    color: Grey;
}
input[type="text"] {
    border: 0.9px solid black;
    border-radius: 6px;
    outline-color: var(--lightblue);
    outline-width: 1px;
}

.titlelogog{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
}
.imagelogo{
    display: flex;
    flex-direction: row;
}
.imagelogo i{
    padding-right: 10px;
    color: var(--orangered);
}
.invoice-title{
    height: 50px;
    width: 48%;
    padding: 0 10px;
    font-size: 25px;
}
.invoice-logo-div{
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    height: 200px;
    width: 200px;
    border-radius: 6px;
    border: 0.9px solid black;
}
.logo-img-div{
    position: absolute;
    width: 100%;
    height: 100%;
    height: auto;
    overflow: hidden;
    padding: 10px;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 1;
}
.invoice-logo-div img{
    display: none;
    width: 100%; height: 100%;
    object-fit: contain;
}
.invoice-logo-div p{
    padding: 0px; margin: 0px;
    font-size: 17px;
}
.invoice-logo{
    display: flex;
    position: absolute;
    height: 100%; width: 100%;
    z-index: 2;
    opacity: 0;
}
.logo-delete{
    display: flex;
    position: absolute;
    justify-content: center;
    align-items: center;
    height: 40px; width: 40px;
    bottom: 0; right: 0;
    background-color: rgba(0, 0, 0, 0.447);
    z-index: 3;
    border-radius: 6px 0px 6px 0px;
}
.logo-delete i{
    font-size: 20px;
    color: white;
}
.logo-delete:hover {
    transition: 200ms;
    background-color: rgba(255, 0, 0, 0.307);
    cursor: pointer;
}
.logo-delete:hover i{
    color: red;
    transition: 200ms;
}


/* bill info*/

.bill-info{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}
.bill-from, .bill-to{
    display: flex;
    flex-direction: column;
    width: 48%;
    margin-top: 15px;
}

.bill-inputs{
    display: flex;
    flex-direction: column;
    width: 100%;
}
.bill-input {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
}
.bill-input p{
    padding: 0px; margin: 0px;
}
.bill-input input[type="text"],.bill-input input[type="email"],.bill-input input[type="number"],.bill-input input[type="date"] {
    border: 0.9px solid black;
    height: 35px;
    width: 80%;
    padding: 0px 10px;
    border-radius: 5px;
    outline-color: var(--lightblue);
    outline-width: 1px;
}
.bill-input ::placeholder {
    font-size: 13px;
}

@media (max-width: 784px) {
    .bill-info{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
    }
    .bill-from, .bill-to{
        width: 100%;
    }
    .bill-input p{
        display: none;
    }
    .bill-input input[type="text"],.bill-input input[type="email"],.bill-input input[type="number"],.bill-input input[type="date"] {
        width: 100%;
    }
    .invoice-logo-div{
        height: 120px;
        width: 120px;
    }
    .invoice-title{
        height: 40px;
        width: 48%;
        padding: 0 10px;
        font-size: 20px;
    }
}

/* description and main contents*/

.content-titles{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: rgba(128, 128, 128, 0.174);
}
.content-titles h6{
    font-weight: bold;
    margin: 5px 0px;
}
.description-description{
    width: 48%;
    padding-left: 5px;
}
.description-rate{
    text-align: end;
    width: 18%;
}
.description-qty{
    text-align: end;
    width: 10%;
}
.description-amount{
    text-align: end;
    width: 18%;
    padding-right: 5px;
}
.calculations-div, .row-item {
    display: flex;
    flex-direction: column;
}
.calculations-div hr {
    margin: 5px 0px;
}
.content-data{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 10px;
}
.content-desc{
    display: flex;
    flex-direction: row;
    width: 48%;
}
.desc-inputs{
    width: 100%;
}
.content-data button{
    height: 30px; width: 30px;
    margin-right: 10px;
    border: none;
    background-color: transparent;
}
.content-data button i{
    font-size: 30px;
    color: black;
}
.content-data button i:hover{
    transition: 200ms;
    color: var(--orangered);
}
.content-data input[type="text"], .content-data input[type="number"] {
    border: 0.9px solid black;
    height: 35px;
    width: 100%;
    padding: 0px 10px;
    border-radius: 5px;
    outline-color: var(--lightblue);
    outline-width: 1px;
}
.content-data textarea {
    border: 0.9px solid black;
    width: 100%;
    padding: 0px 10px;
    border-radius: 5px;
    outline-color: var(--lightblue);
    outline-width: 1px;
    line-height: 21px;
    resize: none;
}
.content-data ::placeholder {
    font-size: 13px;
}
.content-rate, .content-amount {
    width: 18%;
}
.content-rate, .content-qty{
    display: flex;
    flex-direction: row;
}
.content-rate p, .content-qty p{
    display: none;
    margin-right: 10px;
}
.content-qty{
    width: 10%;
}
.content-rate input, .content-qty input, .content-amount input {
    text-align: end;
}
.content-amount input {
    border: none !important;
    font-weight: 600;
}
.content-add{
    width: 140px;
    min-width: 140px;
    background-color: var(--orangered);
    border: none;
    border-radius: 8px;
    padding: 10px 0px;
    color: white;
}
.content-add:hover {
    background-color: rgb(0, 185, 0);
    transition: 200ms;
}
.add-and-total{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    font-size: 18px;
}
.add-and-total span{
    text-align: end;
}
.total-div{
    display: flex;
    flex-direction: row;
    justify-content: end;
    width: 50%;
}
.add-and-total .total{
    width: 37%;
    text-align: end;
}
.notes{
    width: 100%;
}
.notes textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 0.9px solid black;
    outline-color: var(--lightblue);
    outline-width: 1px;
    line-height: 21px;
    resize: none;
}

@media (max-width: 784px) {
    .content-data{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding-top: 10px;
    }
    .content-desc{
        display: flex;
        flex-direction: row;
        width: 100%;
        margin-bottom: 5px;
    }
    .content-rate, .content-qty, .content-amount {
        width: 100%;
        margin-bottom: 10px;
    }
    .content-qty{
        width: 100%;
    }
    .description-rate , .description-qty, .description-amount {
        display: none;
    }
    .content-rate p, .content-qty p{
        display: flex;
        width: 100px;
    }
    .total-div{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 50%;
    }
    .total-div span{
        font-size: 16px;
        font-weight: bold;
    }
    .total-div .total{
        width: 70%;
    }
    .notes{
        padding-top: 30px;
    }
}





/* Invoice pop up*/

#invoicePreview{
    display: flex;
    visibility: hidden;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0; bottom: 0; right: 0; left: 0;
    background-color: rgba(0, 0, 0, 0.615);
    z-index: 10;
    
    padding: 60px 20px 60px 20px;
}

.invoicePreviewBox{
    display: flex;
    flex-direction: column;
    width: 794px;
    height: 100%;
    overflow-y: scroll;
    padding: 20px 15px;
    font-family: "Roboto", sans-serif;
    background-color: white;
}
.invoicePreviewBox p{
    color: black;
}
.invoicePreviewBox::-webkit-scrollbar {
  width: 5px;
}

.invoicePreviewBox::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
  width: 6px;
}

.invoicePreviewBox::-webkit-scrollbar-thumb {
  background-color: grey; /* Change this to your desired color */
  border-radius: 5px;
  border: 0.5px solid transparent;
  background-clip: content-box;
}

@media (max-width: 900px) {
    #invoicePreview{
        padding: 60px 15px 60px 15px;
    }
    .invoicePreviewBox{
        display: flex;
        flex-direction: column;
        width: 90%;
        height: 100%;
        padding: 20px 10px;
        background-color: white;
    }
}

.inv-innercontents{
    display: flex;
    flex-direction: column;
}
.inner-title{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.inner-title h4{
    font-weight: bold;
}
.inner-logo{
    display: flex;
    align-items: start;
    justify-content: start;
    width: 150px;
    min-width: 150px;
    margin-right: 15px;
}
.inner-logo img{
    width: 100%;
    object-fit: contain;
}
.innerfromto{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.inner-bill-from{
    width: 34%;
}
.inner-bill-from span{
    font-weight: bold;
}
.inner-bill-from:nth-child(3){
    display: flex;
    flex-direction: column;
    align-items: end;
}
.inner-bill-to{
    width: 50%;
}
.innerfromto h5{
    font-size: 18px;
    font-weight: bold;
}
.inner-bill-to p{
    font-size: 16px;
    padding: 0px 0px 0px 3px;
    margin: 0px;
}
.innerfromto p{
    font-size: 16px;
    padding: 1px 0px;
    margin: 0px;
}
.inner-content-titles{
    display: flex;
    flex-direction: row;
    background-color: rgba(128, 128, 128, 0.156);
}
.inner-content-titles p{
    font-size: 17px;
    padding: 2px 4px;
    margin: 0px;
    font-weight: bold;
}
.inner-description-description{
    width: 51%;
}
.inner-description-rate, .inner-description-amount{
    width: 19%;
}
.inner-description-qty{
    width: 10%;
}
.inner-description-amount{
    display: flex;
    justify-content: end;
}
.inner-description-qty{
    display: flex;
    justify-content: center;
}
.inner-content-item{
    display: flex;
    font-size: 16px;
    line-height: 20px;
    flex-direction: row;
}
.inner-content-item p{
    margin: 0px;
}
.inner-description{
    padding-right: 20px;
    width: 51.5%;
}
.inner-rate, .inner-amount{
    width: 19%;
}
.inner-qty{
    width: 10%;
}
.inner-amount{
    display: flex;
    justify-content: end;
}
.inner-qty{
    display: flex;
    justify-content: center;
}
.inv-innercontents hr{
    margin: 0px;
    border: none;
    border-top: 1px dashed #000; 
}
.inner-desc-title{
    font-weight: 500;
}
.inner-total, .inner-total-amnt{
    font-weight: bold;
}
.additionalinfo{
    font-size: 16px;
}
.billname{
    font-size: 22px !important;
    font-weight: bold !important;
}
.inner-bill-to i{
    font-size: 13px;
    padding-right: 10px;
}
.inner-bill-to p{
    font-weight: 400;
}
.inner-desc-desc{
    font-weight: 300;
}





.mobileheader .dropdown .btn{
    background-color: black !important;
    padding: 0px;
    outline: none !important;
    border: none ;
}
.mobileheader .dropdown .btn i{
    font-size: 25px;
}
.btn:focus, 
.btn:active, 
.btn:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.mobileheader .dropdown-menu i{
    padding-right: 10px;
    color: var(--orangered);
}



.instruct{
    display: flex;
    flex-direction: column;
    padding-top: 80px;
}
.smallinstruct{
    display: none;
}
.instruct h4{
    font-weight: bold;
}
.instruct p{
    font-size: 16px;
    line-height: 20px;
}
.instruct a{
    color: rgb(0, 140, 195);
}
.instruct a:hover{
    color: var(--orangered);
}

@media (max-width: 991px) {
    .instruct{
        display: none;
    }
    .smallinstruct{
        display: flex;
        flex-direction: column;
        padding-top: 80px;
    }
    .smallinstruct h4{
        font-size: 20px;
        font-weight: bold;
    }
    .smallinstruct p{
        font-size: 15px;
        line-height: 20px;
    }
    .smallinstruct a{
        color: rgb(0, 140, 195);
    }
    .smallinstruct a:hover{
        color: var(--orangered);
    }
    .copyrightbelow{
        text-align: center;
    }
}


.requirelogin{
    display: flex;
    position: fixed;
    top: 0; bottom: 0; right: 0; left: 0;
    background-color: rgba(0, 0, 0, 0);
    z-index: 30;
}




.cachepopup .cachebox{
    display: flex;
    flex-direction: column;
    background-color: white;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 220px;
    border-radius: 10px;
    padding: 10px;
}
.cachepopup .cachebox img{
    height: 50px;
}
.cachepopup .cachebox .title{
    font-size: 18px;
    font-weight: bold;
    margin: 5px;
}
.cachepopup .cachebox .body{
    font-size: 14px;
    line-height: 17px;
    margin: 0px;
    text-align: center;
}
.cachepopup .cachebox .cachebtns{
    padding-top: 15px;
}
.cachepopup .cachebox .cachebtns button{
    border: 1px solid rgb(0, 185, 0);
    background-color: rgb(0, 185, 0);
    font-size: 15px;
    color: white;
    padding: 0px 20px 0px 20px;
    margin: 0px 5px;
    border-radius: 20px;
}
.cachepopup .cachebox .cachebtns .cookiedecline{
    background-color: grey;
    border: 1px solid grey;
}
.cachepopup .cachebox .cachebtns .cookiedecline:hover{
    background-color: red;
    transition: 200ms;
    border: 1px solid red;
}

#popad .cookiedecline{
    background-color: gold;
    transition: 200ms;
    color: black;
    border: 1px solid gold;
}


@media (max-width: 1200px) and (min-width: 991px) {
    .cachepopup .cachebox .cachebtns button{
        padding: 0px 15px 0px 15px;
        margin: 0px 3px;
    }
    .cachepopup .cachebox .cachebtns .adexplore{
        display: none;
    }
    .currency-title img{
        height: 30px;
    }
    .currency-title p {
        margin: 0px;
        font-size: 15px;
        line-height: 18px;
        padding-left: 10px;
    }
    #downloadpdf {
        font-size: 15px;
    }
    .currency-btn{
        font-size: 14px;
    }
    .cachepopup .cachebox img{
        height: 40px;
    }
}








