body {
    background-color: #f3fafd;
    font-family: 'lato', sans-serif;
    font-size: 12px;
    font-weight: 500;
}

.sidebar-menu > li > a {
    font-weight: 300;
}

.wrapper {
    background: #2e3e4e !important;
}

.main-header .logo {
    background: transparent !important;
    position: fixed;
    height: auto;
    color: #4b646f !important;
}

@media only screen and (min-width: 768px) {
    .main-header a.logo {
        padding: 10px 0;
    }
}

aside.main-sidebar {
    border-right: solid 1px #dfdfdf;
}

.skin-blue .sidebar-menu > li > a:hover,
.skin-blue .sidebar-menu > li.active > a {
    color: #fff !important;
    background: #364763;
    border-left-color: #386d8c;
}

.skin-blue .sidebar-menu > li.header {
    background: #2b3544;
}

.skin-blue .user-panel > .info,
.skin-blue .user-panel > .info > a {
    color: #4b646f !important;
}

.content-header {
    font-size: 15px;
    text-transform: uppercase;
    color: #000;
    font-weight: 400;
    padding-bottom: 15px;
    margin-bottom: 5px;
    margin-top: 50px;
    /*background: #ecf0f5 !important;*/
    padding-left: 25px;
    display: inline-block;
}

.modal-header {
    background: #178acc;
    color: #ffffff;
    border-bottom: 0;
    min-height: 20px;
    padding: 15px;
    padding-bottom: 20px !important;
}

.modal-header h5 {
    color: #fff;
}

button.close {
    color: #ffffff;
}

.main-header li.user-header {
    background-color: #2e3c54 !important;
}

.item-table-header {
    background: #2e3e4e;
    color: #fff;
}

.listthumb {
    margin-bottom: 0px;
}

.spinner {
    position: relative;
}

.spinner:after {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8) url(../img/cubes_loader.gif) no-repeat 50% 50%;
    visibility: visible;
    z-index: 5000;
}

.form-control {
    border: 0;
    outline: 0;
    border-bottom: 2px solid grey;
}

.bg-green .panel-heading,
.panel.panel-default > .panel-heading {
    background: #2ecc71 !important;
    color: #b5ef93 !important;
}

.bg-blue .panel-heading,
.panel.panel-default > .panel-heading {
    background: #3498db !important;
    color: #8ae0f9 !important;
}

.bg-yellow .panel-heading,
.panel.panel-default > .panel-heading {
    background: #e67e22 !important;
    color: #ebb16e !important;
}

.bg-red .panel-heading,
.panel.panel-default > .panel-heading {
    background: #a0223a !important;
    color: #bd5b66 !important;
}

textarea {
    resize: none;
}

.invoice-fab {
    position: fixed !important;
    right: 5%;
    bottom: 5%;
}

.invoice-fab i {
    font-style: normal !important;
}

.table tbody > tr > td {
    vertical-align: middle;
}

.sidebar h4 {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
    margin-left: 20px;
}

.login-logo {
    font-size: 20px;
    text-align: center;
    margin-bottom: 0;
    background: #161b1f;
    padding: 15px;
    color: #ffffff;
}

.invoice {
    padding: 20px 15px 30px;
    color: #555;
    max-width: 1100px;
    min-height: 900px;
    box-shadow: 2px 3px 26px 0px #c2dbed;
    display: inline-block;
}

.invoice table tbody > tr > td .form-group {
    margin-bottom: 0;
}

#taxTotal,
#grandTotal,
#subTotal,
.currencySymbol,
#amountDue,
.grandTotal,
#invoiceDPTotal,
#subtotal,
#discount-total,
#additional-discount,
#amountdue,
#totalAfterPPN {
    font-weight: 700;
}

.amount_due {
    font-size: 12px;
}

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

input[type='number'] {
    -moz-appearance: textfield;
    padding-right: 0.2em;
}

.chosen-container {
    width: 100% !important;
}

.invoice_title {
    color: #2e3e4e;
    font-weight: bold;
}

.invoice_title_h4 {
    color: #2e3e4e !important;
    font-weight: bold !important;
    font-size: 16px !important;
}

.panel-body h4 {
    font-size: 18px;
    color: #317eac;
    font-weight: normal;
}

hr.separator {
    border-color: #2e3e4e;
    margin-top: 10px;
    margin-bottom: 10px;
}

tbody#items > tr > td {
    border: 3px solid #fff !important;
    vertical-align: middle;
}

#items {
    background-color: #f1f1f1;
}

.invoice_status_cancelled {
    font-size: 25px;
    text-align: center;
    color: #cc0000;
    border: 1px solid #cc0000;
}

.invoice_status_paid {
    font-size: 30px;
    text-align: center;
    color: #82b440;
    border: 1px solid #82b440;
}

ul.nav li.dropdown:hover ul.dropdown-menu {
    display: block;
}

.dropdown-menu > li > a {
    font-weight: 400 !important;
    font-size: 13px;
    letter-spacing: 0px;
    line-height: 25px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
}

.dropdown-menu .dropdown-item img {
    width: 20px;
    height: 20px;
    margin-right: 5px !important;
}

.dropdown-menu .dropdown-item span {
    width: 20px;
    height: 20px;
    margin-right: 5px !important;
}

.language-img {
    margin-right: 5px;
    margin-top: -2px;
}

.input-file {
    position: relative;
}

/* Remove margin, it is just for stackoverflow viewing */

.input-file .input-group-addon {
    border: 0px;
    padding: 0px;
}

.input-file .input-group-addon .btn {
    border-radius: 0 4px 4px 0;
}

.input-file .input-group-addon input {
    cursor: pointer;
    position: absolute;
    width: 72px;
    z-index: 2;
    top: 0;
    right: 0;
    filter: alpha(opacity=0);
    -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)';
    opacity: 0;
    background-color: transparent;
    color: transparent;
}

.scrollable {
    overflow-x: hidden;
    overflow-y: auto;
}

.btn {
    border: none;
    text-shadow: none;
}

.line-legend li > span,
.pie-legend li span {
    display: inline-block;
    height: 3px;
    width: 20px;
    margin-right: 5px;
    position: relative;
    top: -3px;
}

.line-legend li,
.pie-legend li {
    list-style: none;
    list-style-type: none;
    font-size: 14px;
    float: left;
    margin-right: 20px;
    line-height: 1.6em;
}

.dashboard_stats {
    font-size: 14px;
}

.dashboard_stats {
    font-size: 14px;
}

.list-group .list-group-item {
    padding-bottom: 6px !important;
    padding-top: 6px !important;
}

.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
    color: #178acc !important;
}

.datatable th.sorting,
.datatable th.sorting_asc {
    cursor: pointer;
}

.datatable th.sorting:hover,
.datatable th.sorting_asc:hover {
    background: #ebfaff;
}

.form-group.has-error input {
    background: #bd5b66;
}

.form-group.has-error.is-focused .form-control {
    color: #a0223a;
    background: none !important;
}

.paper-login-logo {
    text-align: center;
    background: #fff;
    padding: 7px 0;
}

.login-logo {
    background: #e6eaf0 !important;
    color: #4b646f;
}

.checkout-offers {
    width: 100%;
    text-align: center;
}

.bg-yellow h3 {
    color: #eab06e;
    font-weight: 500;
}

.checkout-offers-btn {
    margin-top: 18px !important;
    margin-bottom: 0 !important;
    border: solid 2px #4b646f;
    color: #4b646f !important;
}

.bg-grey {
    background: #ddd;
}

/* The CSS */

.dropdown-select {
    padding: 3px;
    margin: 0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow:
        0 3px 0 #ccc,
        0 -1px #fff inset;
    -moz-box-shadow:
        0 3px 0 #ccc,
        0 -1px #fff inset;
    box-shadow:
        0 3px 0 #ccc,
        0 -1px #fff inset;
    background: #f8f8f8;
    color: #888;
    border: none;
    outline: none;
    display: inline-block;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

/* Targetting Webkit browsers only. FF will show the dropdown arrow with so much padding. */

@media screen and (-webkit-min-device-pixel-ratio: 0) {
    select {
        padding-right: 18px;
    }
}

.dropdown-group {
    position: relative;
}

.dropdown-group:after {
    content: '<>';
    font:
        11px 'Consolas',
        monospace;
    color: #aaa;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    right: -20px;
    top: 10px;
    padding: 0 0 2px;
    border-bottom: 1px solid #ddd;
    position: absolute;
    pointer-events: none;
}

select.dropdown-group:before {
    content: '';
    right: 6px;
    top: 0px;
    width: 20px;
    height: 20px;
    background: #f8f8f8;
    position: absolute;
}

hr.separator-light-top {
    margin: 15px 15px 35px 15px !important;
    border-color: #c1c1c1;
}

hr.separator-light-bottom {
    margin: 0 15px 35px 15px !important;
    border-color: #c1c1c1;
}

.custom-field-flex {
    display: flex;
    flex-wrap: wrap;
}

/* new table style */
.paper-table .p-datatable-tbody tr {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 3px 15px 0px #c2dbed63;
}

.paper-table .datatable-paper {
    border-collapse: separate;
    border-spacing: 0 1em;
    padding: 0 5px;
    font-size: 13px;
}

.paper-table .datatable-paper.datatable-paperchain-activities {
    padding: 0 10px 0 0;
}

.paper-table .p-datatable-tbody tr td {
    padding: 1em 0.75em;
    word-wrap: break-word !important;
}

.paper-table .p-paginator-page.p-ripple {
    background: transparent;
    color: #434343;
    font-weight: 700;
    padding: 0.5em 0.625em;
    font-family: 'Lato', sans-serif;
    margin-left: 0.063em;
    margin-right: 0.063em;
    text-decoration: none;
}

.paper-table .p-paginator-element {
    background: transparent;
}

.paper-table .p-paginator-element .p-paginator-icon {
    font-family: paper-icon !important;
}

.paper-table .p-paginator-element .pi-angle-double-left::before {
    content: '\e900' !important;
}

.paper-table .p-paginator-element .pi-angle-double-right::before {
    content: '\e901' !important;
}

.paper-table .p-paginator-element .pi-angle-right::before {
    content: '\e902' !important;
}

.paper-table .p-paginator-element .pi-angle-left::before {
    content: '\e903' !important;
}

.paper-table .p-paginator-element.p-disabled {
    opacity: 0.35;
}

.paper-table .p-paginator-page.p-ripple.p-highlight {
    color: #4199d5;
    border-bottom: 2px solid #4199d5;
}

/* new table style */
.margin-left-5 {
    margin-left: 5px;
}

.margin-horizontal-5 {
    margin: 0 5px;
}

.margin-right-5 {
    margin-right: 5px;
}

.align-items-center {
    align-items: center;
}

.global-faq-button span.web {
    display: block;
    cursor: pointer;
}

.global-faq-button span.mobile {
    display: none;
}

@media only screen and (max-width: 767px) {
    .dialog-responsive {
        width: 100%;
    }

    .global-faq-button span.web {
        display: none;
    }

    .global-faq-button span.mobile {
        display: block;
        margin: 0px 8px;
        font-size: 16px;
    }
}

@media only screen and (min-width: 768px) {
    .dialog-responsive {
        width: 450px;
    }

    .global-faq-button span.web {
        display: block;
        cursor: pointer;
    }

    .global-faq-button span.mobile {
        display: none;
    }
}

.full-width-bottom-sheet {
    padding: unset !important;
    position: absolute;
    bottom: 0px;
    width: 512px;
    max-width: 100% !important;
    transform: translateX(-50%) !important;
    left: 50%;
}

.inverted-image {
    filter: brightness(0) invert(1);
}

/* #region change-payment-confirm-overlay */
.change-payment-confirm-overlay {
    background: rgba(0, 0, 0, 0.32);
    width: 100%;
    height: 100%;
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    max-width: 100% !important;
    max-height: 100%;
    margin-top: unset !important;
}

@media (max-width: 767px) {
    .change-payment-confirm-overlay {
        align-items: flex-end !important;
    }
}

/* #endregion */
/* #region success-subs-paper-plus-dialog-overlay */
.success-subs-paper-plus-dialog-overlay {
    background: rgba(0, 0, 0, 0.32);
    width: 100%;
    height: 100%;
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    max-width: 100% !important;
    max-height: 100%;
    margin-top: unset !important;
}

@media (max-width: 767px) {
    .success-subs-paper-plus-dialog-overlay {
        align-items: flex-end !important;
    }
}

/* #endregion */
.pointer {
    cursor: pointer;
}
.btn-group.single-document-action.width-220 ul {
    min-width: 220px !important;
}
