﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}
/*=====nikoo added form textarea======*/
#description {
    max-width: 100%;
}

#customer {
    max-width: 130px;
}

table, th, td {
    border: 1px double black !important;
}

thead {
    background-color: lightgray;
}

@media print {
    .element-to-hide {
        display: none !important;
    }
   
}

@media print {
    body, html, #wrapper {
        margin-top: -10px;
        padding: 0;
        width: 100%;
    }

    .no-print, .no-print * {
        display: none !important;
    }

    button {
        display: none !important;
    }

    a {
        display: none !important;
    }

    .col-sm-12 {
        width: 100%;
    }

    #hideProductName {
        display: none !important;
    }

    #hideProductCount {
        display: none !important;
    }

    #lblCustomer {
        display: inline !important;
    }

    #lblAddress {
        display: inline !important;
    }

    #Address {
        display: inline !important;
    }

    img {
        display: inline !important;
    }

    table, th, tr, td {
        border: 1px double black !important;
    }
    /*remove thead last column color-profile table input thead print*/
    #tab td:last-child,
    #tab th:last-child {
        display: none !important;
    }
    /*-------------------------------------*/

    /*-----------fit print pages in the single page*/ 
    @page {
        margin: 0.5cm;
        size: auto;
    }

    body {
        margin: 0 !important;
        padding: 10px !important;
        transform: scale(0.8); /* Scale down the entire content */
        transform-origin: top center;
        width: 100% !important;
        height: 100% !important;
    }

    /* Ensure all content fits */
    .container, .invoice, .content {
        width: 100% !important;
        max-width: none !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }
    /*---------------------------------------*/


}

ol ul li, ul ul li {
    list-style-type: none;
    margin: 0 0 .25em 1em;
}

.pagination {
    display: block !important;
}

/*.form-control {
    display: inline !important;
}

#product_chosen {
    width: 240px !important;
    margin-right: 20px !important;
}
#customer_chosen {
    width: 240px !important;
}
*/

.hover-logo {
    display: block;
    width: 200px; /* Adjust as needed */
    height: auto;
    transition: all 0.3s ease;
    /* Ensure no conflicting properties */
    transform: none;
    filter: none;
}

    .hover-logo:hover {
        transform: scale(1.1) rotate(5deg);
        filter: brightness(1.2);
        cursor: pointer; /* Visual feedback */
    }

footer {
    color: azure !important;
}

