.invoice-box {
    max-width: 800px;
    margin: auto;
    padding: 30px;
    border: 1px solid #eee;
    box-shadow: 0 0 10px rgba(0, 0, 0, .15);
    font-size: 12px;
    line-height: 24px;
    font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif;
    color: #555;
}

.invoice-box table {
    width: 100%;
    line-height: inherit;
    text-align: left;
}

.invoice-box table td {
    padding: 5px;
    vertical-align: top;
}

.invoice-box table tr td:nth-child(2) {
    text-align: right;
}

.invoice-box table tr.top table td {
    padding-bottom: 20px;
}

.invoice-box table tr.top table td.title {
    font-size: 45px;
    line-height: 45px;
    color: #333;
}

.invoice-box table tr.information table td {
    padding-bottom: 40px;
}

.invoice-box table tr.heading td {
    /* background: #eee; */
    border-bottom: 1px solid #ddd;
    font-weight: bold;
}

.invoice-box table tr.details td {
    padding-bottom: 20px;
}

.invoice-box table tr.item td {
    border-bottom: 1px solid #eee;
}

.invoice-box table tr.item.last td {
    border-bottom: none;
}

.invoice-box table tr.total td:nth-child(2) {
    border-top: 2px solid #eee;
    font-weight: bold;
}

.center {
    text-align: center !important;
    width: 100px;
}

@media only screen and (max-width: 600px) {
    .invoice-box table tr.top table td {
        width: 100%;
        display: block;
        text-align: center;
    }

    .invoice-box table tr.information table td {
        width: 100%;
        display: block;
        text-align: center;
    }
}

/** RTL **/
.rtl {
    direction: rtl;
    font-family: Tahoma, 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif;
}

.rtl table {
    text-align: right;
}

.rtl table tr td:nth-child(2) {
    text-align: left;
}

/* NEW */
hr {
    border-top: 1px dashed;
    color: darkgrey;
    margin-bottom: -2.5px;
}

h5 {
    font-weight: bold;
}

.invoice-sn {
    padding-right: 10px !important;
}

.second {
    width: 300px !important;
}

.end {
    font-size: 16px;
    font-weight: bold;
}

#address {
    text-align: left;
}

.color-icon {
    color: #29a5a5;
}

.main-footer {
    text-align: center;
}

.search-form {
    margin-left: 60%;
    margin-right: 0;
}

@media (max-width: 1000px) {
    .search-form {
        margin-left: 40%;
        margin-right: -5%;
    }
}

@media (max-width: 768px) {
    .search-form {
        margin-left: 0;
        margin-right: 0;
    }

    .btn-responsive {
        width: 100% !important;
    }

    .btn-download {
        margin-top: 3px !important;
        margin-left: -1px !important;
    }

    li.page-item {

        display: none;
    }

    .pagination {
        display: flex !important;
        justify-content: center !important;
    }

    .page-item:first-child,
    .page-item:nth-child(2),
    .page-item:nth-last-child(2),
    .page-item:last-child,
    .page-item.active,
    .page-item.disabled {
        display: block;
    }
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
-webkit-appearance: none;
}

input[type="number"] {
-moz-appearance: textfield;
}

/* Customize scrollbar */
body::-webkit-scrollbar {
    width: 0.25rem;
}

body::-webkit-scrollbar-track {
    background: #343a40;
}

body::-webkit-scrollbar-thumb {
    background: #FF9E46;
}

/* Override css color */
/* Navbar */
.navbar-orange {
    background-color: #FF9E46
}

/* Sidebar */
.sidebar-dark-orange .nav-sidebar>.nav-item>.nav-link.active,
.sidebar-light-orange .nav-sidebar>.nav-item>.nav-link.active {
    background-color: #FF9E46;
    color: #1f2d3d
}

/* Card */
.card-orange:not(.card-outline) .card-header {
    background-color: #FF9E46
}
.card-orange.card-outline {
    border-top: 3px solid #FF9E46
}
.card-orange.card-outline-tabs .card-header a.active {
    border-top: 3px solid #FF9E46
}

/* Button */
.btn-orange {
    color: #1f2d3d;
    background-color: #FF9E46;
    border-color: #FF9E46;
    box-shadow: none
}

.btn-orange:hover {
    color: #1f2d3d;
    background-color: #eb8f39;
    border-color: #ff7b00
}

.btn-orange.focus,
.btn-orange:focus {
    box-shadow: none, 0 0 0 0 rgba(38, 143, 255, .5)
}

.btn-orange.disabled,
.btn-orange:disabled {
    color: #1f2d3d;
    background-color: #FF9E46;
    border-color: #FF9E46
}

.btn-orange:not(:disabled):not(.disabled).active,
.btn-orange:not(:disabled):not(.disabled):active,
.show>.btn-orange.dropdown-toggle {
    color: #1f2d3d;
    background-color: #cc6300;
    border-color: #c76102
}

.btn-orange:not(:disabled):not(.disabled).active:focus,
.btn-orange:not(:disabled):not(.disabled):active:focus,
.show>.btn-orange.dropdown-toggle:focus {
    box-shadow: 0 0 0 0 rgba(255, 140, 53, 0.5)
}
