.btn i {
    margin: 0;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.auth.auth-bg-1 {
    background: #f5f5dc !important;
}

.bg-light {
    background-color: #f0f0f0 !important;
}

.main-content-wrapper {
    width: 100%;
    padding: 100px 30px 0 300px;
    height: 100vh;
}

.full-width-main-content-wrapper {
    width: 100%;
    padding: 100px 30px 0 30px;
}

.home-card {
    cursor: pointer;
    transition: 0.3s;
}

.home-card:hover {
    -webkit-box-shadow: 0px 0px 30px -10px #000000;
    box-shadow: 0px 0px 30px -10px #000000;
}

.home-card .card-title {
    font-size: 22px;
}

.home-card .card-img-container img {
    width: 100%;
    padding: 10px;
}

.sidebar.sidebar-offcanvas .collapse {
    transition: 0.5s;
}

@media (max-width: 991px) {
    .main-content-wrapper {
        padding: 100px 30px 0 30px;
    }
}

.table-hover tr.table-hover-row {
    cursor: pointer;
}

.profile-data h5 {
    padding: 5px 0;
}

.alert-modal .modal-content .modal-header,
.alert-modal .modal-content .modal-footer {
    border: none;
}

.alert-modal .modal-dialog {
    width: 366px;
}

.alert-modal .modal-content {
    border: none;
}

.alert-modal.success .modal-content,
.alert-modal.del-success .modal-content,
.alert-modal.app-success .modal-content {
    background-color: #eaf6ff;
    color: #114E7E;
}

.alert-modal.success .modal-content .alert-button,
.alert-modal.del-success .modal-content .alert-button,
.alert-modal.app-success .modal-content .alert-button {
    background-color: #114E7E;
    color: #fff;
}

.alert-modal.failed .modal-content,
.alert-modal.app-failed .modal-content,
.alert-modal.del-failed .modal-content,
.alert-modal.upload-failed .modal-content,
.alert-modal.auth-failed .modal-content,
.alert-modal.fill-failed .modal-content,
.alert-modal.load-failed .modal-content {
    background-color: #ffefee;
    color: #b42922;
}

.alert-modal.failed .modal-content .alert-button,
.alert-modal.app-failed .modal-content .alert-button,
.alert-modal.del-failed .modal-content .alert-button,
.alert-modal.upload-failed .modal-content .alert-button,
.alert-modal.auth-failed .modal-content .alert-button,
.alert-modal.fill-failed .modal-content .alert-button,
.alert-modal.load-failed .modal-content .alert-button {
    background-color: #b42922;
    color: #fff;
}

.cust-row-card,
.emp-row-card {
    border-radius: 10px;
    border: none;
    transition: 0.3s;
}

.emp-row-card.active:hover {
    -webkit-box-shadow: 0px 0px 30px -10px #000000;
    box-shadow: 0px 0px 30px -10px #000000;
}

.emp-row-card .card-img-container {
    width: 100%;
    overflow: hidden;
    text-align: center;
    padding: 10px;
}

@media(min-width:992px) {
    .emp-row-card .card-img-container {
        height: 100%;
    }
}

@media(max-width:991px) {
    .emp-row-card .card-img-container {
        height: 250px;
    }
}

.emp-row-card .card-img-container .img-container {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 10px;
}

.emp-row-card .card-img-container button {
    display: inline-block;
}

.emp-row-card .card-title {
    font-size: 18px;
    cursor: pointer;
}

.emp-row-card .card-title:hover {
    text-decoration: underline;
}

.emp-row-card .card-title .text-muted {
    font-size: 15px;
}

.emp-row-card .card-text {
    margin: 5px 0;
}

.emp-row-card .job-desc {
    width: 100%;
    overflow: hidden;
}


.emp-row-card .clamp {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.cust-row-card .cust-rows-buttons button,
.emp-row-card .emp-rows-buttons button {
    margin-right: 5px;
}

.emp-row-card .btn-overlay {
    width: 100%;
    height: 100%;
    background-color: #00000088;
    position: absolute;
    top: 0px;
    left: 0px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.2s linear;
}

.emp-row-card .card-img-container:hover .btn-overlay {
    background-color: #00000088;
    visibility: visible;
    opacity: 1;
}

.emp-row-card .card-img-container .btn-overlay button {
    position: relative;
    top: 45%;
}

.image-uploader {
    border: 2px dashed #555;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.upload-preview {
    max-width: 80%;
    height: auto;
    border: 2px dashed #555;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.remove-image {
    display: inline;
    position: relative;
    right: 15px;
    border-radius: 10em;
    padding: 2px 6px 3px;
    text-decoration: none;
    font: 700 20px/21px sans-serif;
    background: #555;
    border: 3px solid #fff;
    color: #FFF;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), inset 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: 0.2s;
    width: 30px;
    height: 30px;
}

.remove-image:hover {
    background: #E54E4E;
}

.remove-image:active {
    background: #E54E4E;
}

.cat-card-title,
.incentive-card-title {
    padding: 0.4rem 0;
    white-space: nowrap;
    width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cat-card-btn {
    padding: 0.4rem 0.2rem;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
}

.cust-details-edit-btn {
    margin-left: 10px;
}

.img-employee {
    width: 200px;
    min-width: 200px;
    height: 200px;
}

/* invoice */

@page {
    bleed: 1cm;
    size: A4 portrait;
    size: auto;
    margin-bottom: 50pt;
    margin-top: 0cm;
    font-size: 12pt;
}

.invoice-container #content,
.invoice-container #page {
    width: 100%;
    margin: 0;
    float: none;
}

.print-only {
    display: none;
}

@media print {
    .invoice-container table {
        page-break-inside: auto;
    }

    .invoice-container tr.last-row {
        background-color: #555 !important;
    }

    .invoice-container tr.last-row>th,
    .invoice-container tr.last-row>td {
        background-color: none !important;
    }

    .invoice-container div.invoice-table .item div {
        width: 100% !important;
    }

    .invoice-container h5.due-date {
        position: absolute !important;
        bottom: 10px !important;
        right: 15px !important;
    }

    .text-md-right {
        text-align: right !important;
    }

    .offset-md-1 {
        margin-left: 8.33333% !important;
    }

    .col-md-3 {
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }

    .col-md-4 {
        flex: 0 0 33.33333% !important;
        max-width: 33.33333% !important;
    }

    .col-md-5 {
        flex: 0 0 41.66667% !important;
        max-width: 41.66667% !important;
    }

    .col-md-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    .col-md-10 {
        flex: 0 0 83.33333% !important;
        max-width: 83.33333% !important;
    }

    @page {
        size: portrait;
    }

    body * {
        visibility: hidden;
    }

    .invoice-container .float {
        display: none !important;
    }

    .invoice-container,
    .invoice-container *,
    .print-only,
    .print-only * {
        visibility: visible;
    }

    .invoice-container {
        position: relative;
        left: 0;
        top: 10px;
    }

    .invoice-table {
        padding-bottom: 300px;
    }

    .page-break {
        page-break-before: always !important;
        padding-top: 150px !important;
    }

    .invoice_details {
        position: fixed;
        margin-top: 100px;
        bottom: 0 !important;
        left: 0;
        width: 100%;
        background-color: #3b3b3b !important;
        color: white;
        text-align: center;
    }

    .invoice_details:first-child {
        display: none !important;
        visibility: hidden !important;
    }

    .invoice_details .margin {
        margin-top: -100px;
    }

    .print-only {
        display: block !important;
    }
}

.invoice-container .gray {
    color: #333;
}

.invoice-container .gray-ish {
    color: #666;
}

.invoice-container .almost-gray {
    color: #999;
}

.invoice-container div.container {
    background-color: white;
    border-radius: 10px;
    height: 100%;
    position: relative;
    margin-top: 50px;
}

.invoice-container div.invoice-header {
    background-color: #444;
    color: white;
    border-bottom: 3px solid rgb(255, 77, 77);
}

.invoice-container div.invoice-header>div>p {
    font-size: 1.2rem;
    font-weight: 350;
    color: white;
}

.invoice-container div.invoice-header>div>h1 {
    font-size: 4rem;
}

.invoice-container div.invoice-table {
    border-top: 3px solid rgb(255, 77, 77);
    overflow-x: scroll;
}

@media(max-width: 1056px) {
    .invoice-container div.invoice-table .item div {
        display: block;
        width: 50px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

.invoice-container div.invoice-table::-webkit-scrollbar {
    height: 5px;
}

.invoice-container div.invoice-table::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.invoice-container div.invoice-table::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.invoice-container div.invoice-table::-webkit-scrollbar-thumb:hover {
    background: #555;
}

@media(max-width: 505px) {

    .invoice-container .table td,
    .invoice-container .table th {
        padding: 10px 0;
    }
}

.invoice-container div.invoice-table>table.table>thead,
.invoice-container div.invoice-table>table.table>thead.thead>tr,
.invoice-container div.invoice-table>table.table>thead.thead>tr>th {
    border-top: none;
}

.invoice-container div.total-field {
    position: relative;
}

@media(min-width: 768px) {
    .invoice-container h5.due-date {
        position: absolute;
        bottom: 10px;
        right: 15px;
    }
}

.invoice-container div.sub-table {
    border-left: 3px solid rgb(255, 77, 77);
    padding-left: 0;
}

.invoice-container div.sub-table>table {
    padding-bottom: 0;
    margin-bottom: 0;
}

.invoice-container tr.last-row {
    margin-top: 25px;
    background-color: #555;
    color: white;
    border-top: 3px solid rgb(255, 77, 77);
}

.invoice-container tr.last-row h4 {
    color: white;
}

.invoice-container p.footer {
    bottom: 0;
    width: 100%;
    background-color: #333;
    color: white;
    padding-top: 15px;
    border-top: 3px solid red;
}

.invoice-container .label-container {
    position: fixed;
    bottom: 48px;
    right: 105px;
    display: table;
    visibility: hidden;
}

.invoice-container .label-text {
    color: #FFF;
    background: rgba(51, 51, 51, 0.5);
    display: table-cell;
    vertical-align: middle;
    padding: 10px;
    border-radius: 3px;
}

.invoice-container .label-arrow {
    display: table-cell;
    vertical-align: middle;
    color: #333;
    opacity: 0.5;
}

.float {
    display: flex;
    border: none;
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #06C;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 3px #999;
    z-index: 10;
}

.float:hover {
    color: #e2e2e2;
}

.my-float {
    font-size: 24px;
    text-align: center;
    margin: auto;
}

.create-invoice .sub-table {
    background: gray;
}

@media(max-width: 505px) {

    .create-invoice .invoice-table .table td,
    .create-invoice .invoice-table .table th {
        padding: 10px 0;
        text-align: center;
    }
}

@media(max-width: 1056px) {
    .create-invoice div.invoice-table .item div {
        display: block;
        width: 50px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

.create-invoice div.invoice-table::-webkit-scrollbar {
    height: 5px;
}

.create-invoice div.invoice-table {
    overflow-x: scroll;
}

.create-invoice div.invoice-table::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.create-invoice div.invoice-table::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.create-invoice div.invoice-table::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.dropdown-menu {
    position: absolute;
    top: 60%;
    left: auto;
    right: 1.75rem;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem;
    padding: 0.75rem 0;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
}

#user-dropdown:focus-within .dropdown-menu,
#user-dropdown:focus .dropdown-menu {
    display: block;
}

#user-dropdown .dropdown-menu .dropdown-item {
    padding: 0.75rem 1.25rem;
}

.react-datepicker-wrapper {
    width: 100%;
}

.cursor-pointer {
    cursor: pointer;
}

.table-borderless td {
    border: none;
}

hr {
    border-top: 2px solid #0000006c;
}

.border-bottom {
    border-bottom: 1px solid #000000 !important;
}

.border-top {
    border-top: 1px solid #000000 !important;
}

.border {
    border: 1px solid #000000 !important;
}