:root {
    --custom-color-primary: #3a6b98;
    --custom-color-info: #006d75;
    --custom-color-warning: #ffc107;
    --custom-color-danger: #dc3545;
}

.custom-color-primary {
    color: #3a6b98 !important;
}

.custom-color-danger {
    color: #dc3545 !important;
}

.custom-bg-danger {
    background: #dc3545 !important;
}

.custom-bg-danger {
    background: #dc3545 !important;
}

.custom-bg-offwhite {
    background: #FAFCFF !important;
}

.custom-bg-gray {
    background: #EBF0F5 !important;
}

.radius-5 {
    border-radius: 5px !important;
}

.radius-6 {
    border-radius: 6px !important;
}

.radius-7 {
    border-radius: 7px !important;
}

.radius-8 {
    border-radius: 8px !important;
}

.radius-9 {
    border-radius: 9px !important;
}

.radius-10 {
    border-radius: 10px !important;
}

.radius-12 {
    border-radius: 12px !important;
}

.radius-14 {
    border-radius: 14px !important;
}

.radius-16 {
    border-radius: 16px !important;
}

.radius-18 {
    border-radius: 18px !important;
}

.fs-14 {
    font-size: 14px !important;
}

.fs-15 {
    font-size: 15px !important;
}

.fs-16 {
    font-size: 16px !important;
}

.custom-bg-primary {
    background: #3A6B98 !important;
}

/* Custom button */
.btn-action {
    padding: 4px 7px;
    display: inline-block;
    font-size: 12px;
    border-radius: 5px;
    margin: 0 2px;
    border: none;
}

.ba-primary {
    background: var(--custom-color-primary);
    color: #fff !important;
}

.ba-info {
    background: var(--custom-color-info);
    color: #fff !important;
}

.ba-warning {
    background: var(--custom-color-warning);
    color: #000 !important;
}

.ba-danger {
    background: var(--custom-color-danger);
    color: #fff !important;
}

.custom-bg-gradient-info {
    background: #fafdff;
}

table > thead > tr {
    background: #c0d1e0 !important;
}

table.dataTable > thead > tr > th {
    border-color: #ffffff !important;
}

table.dataTable > thead > tr > th {
    border-bottom-color: #c0d1e0 !important;
}

table.dataTable > thead > tr > th {
    border-top-color: #c0d1e0 !important;
}

table.dataTable > thead > tr > th:first-child {
    border-left-color: #c0d1e0 !important;
}

table.dataTable > thead > tr > th:last-child {
    border-right-color: #c0d1e0 !important;
}

.common-submit-button-gradient {
    height: 100%;
    border-radius: 5px;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    /*background: linear-gradient(135deg, #71b7e6, #9b59b6);*/
    background: #006666;
    /*background: linear-gradient(135deg, #86B560, #336F4A);*/
    padding: 7px 50px;
    width: 100%;
}

.input-group-prepend{
    /*background: linear-gradient(135deg, #86B560, #336F4A);*/
    /*background: linear-gradient(135deg, #006666, #336F4A);*/
    background: #006666;
}

.input-group-prepend img{
    height: 24px;
}

.forgot_password a{
    font-size: 13px;
    float: right;
    color: #c94e4e;
}

.login-form label{
    font-size: 14px;
}

.login-page,
.register-page {
    align-items: center;
    background: #ffffff;
    /*background: -o-linear-gradient(315deg, #338585, #006666);*/
    /*background: linear-gradient(135deg, #006666, #338585);*/
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
}

.login-box,
.register-box {
    width: 500px;
}

.text_line{
    width: 2px;
    height: 400px;
    background: #006666;
    text-align: center;
    margin-top: 125px;
}


.login-box .card,
.register-box .card {
    margin-bottom: 0;
    background-color: unset !important;
}

.login-card-body,
.register-card-body {
    /*background-color: #fff;*/
    border-top: 0;
    color: #666;
    padding: 20px;
}

.page-filter {
    background: #fff;
    border-radius: 8px;
    padding: 7px 15px;
    margin-bottom: 10px;
}

.filter-label {
    color: var(--custom-color-primary);
}

.create-button {
    padding: 7px 12px;
    border-radius: 8px;
    color: #fff !important;
    background: var(--custom-color-primary);
    font-size: 14px;
    display: inline-block;
}

.danger-btn {
    padding: 7px 12px;
    border-radius: 8px;
    color: #fff !important;
    background: var(--custom-color-danger);
    font-size: 14px;
    display: inline-block;
}

.dataTables_scroll {
    font-size: 14px;
}

#dataTable {
    font-size: 14px;
}

#dataTable_wrapper .row:last-child {
    background: #c0d1e0;
    margin: 0 auto;
    padding: 5px;
}

.dataTables_info {
    padding-top: 8px !important;
}

.dataTables_paginate .page-link {
    margin-left: 4px !important;
    border-radius: 8px !important;
    color: #373738;
}

.dataTables_paginate .page-item.active .page-link {
    border: 0 !important;
    background: var(--custom-color-primary) !important;
}

.custom-card {
    border-radius: 8px;
    box-shadow: none !important;
    box-shadow: 0 0 5px #ddd !important;
}

.custom-card-header {
    border-bottom: 0;
    box-shadow: 0px 1px 10px #ddd;
    padding: 12px 21px;
}

.page-title h3 {
    font-size: 21px;
    font-weight: 600;
    margin: 12px 0;
}

.bg-custom2 {
    background-color: #006d75 !important;
}

.sidebar-collapse .main-sidebar,
.sidebar-collapse .main-sidebar:before {
    margin-left: -265px;
}

.sidebar-background .nav-sidebar .nav-item > .nav-link {
    font-size: 14px;
    margin-bottom: 5px;
}

.custom-card h3{
    font-size: 16px;
}

.custom-card label{
    font-size: 14px !important;
}

.custom-card ::placeholder{
    font-size: 14px !important;
}

.custom-card .error{
    font-size: 14px !important;
    color: #c72c40;
}


/* Modal design */

.custom-modal {
}

.custom-modal .modal-header {
    border: none;
    padding: 0px;
}

.custom-modal .modal-header .close, .modal-header .mailbox-attachment-close {
    margin: -1.5rem -0.3rem -1rem auto;
    padding-top: 34px;
}

.custom-modal .modal-content {
    border-radius: 20px;
    background: #FAFCFF;
    /*min-height: 0 !important;*/
}

#delete_model_body{
    overflow-x: auto;
    max-height: 100px;
}

.modal-content {
    min-height: 200px !important;
}

/*.modal-backdrop.show {*/
/*    opacity: 0 !important;*/
/*}*/

.custom-modal .close, .mailbox-attachment-close {
    font-size: 19px;
    font-weight: 500;
    color: var(--custom-color-primary);
    opacity: 1;
}

.custom-modal .modal-header .close span {
    border: 1px solid var(--custom-color-primary);
    display: inline-block;
    height: 20px;
    width: 20px;
    line-height: 17px;
    border-radius: 50%;
}


/* border text card */
.border-text-card {
    border: 1px solid #C0D1E0;
    border-radius: 6px;
}

.border-text-border {
    padding: 3px;
    margin-top: -0.9em;

}

.border-text-title {
    background: #fafcff none repeat scroll 0 0;
    display: inline-block;
    padding: 0 15px;
    font-size: 17px;
    margin-left: 15px;
    font-weight: bold;
    border-radius: 6px;
    margin-top: -2px;
}

.border-text-body {
    padding: 15px;
}

/* custom input group */
.custom-form-group {
    border: 1px solid #DDF1FF;
    margin-bottom: 15px;
    border-radius: 5px;
    margin-top: 10px;
}

.custom-form-group > label {
    position: absolute;
    top: 0px;
    left: 25px;
    background-color: #fafcff;
    color: var(--custom-color-primary);
    padding: 0 5px;
    font-size: 13px;
    border-radius: 8px;
    z-index: 9999;
}

/*todo: this is for resolve above zindex in custom-form-group*/
.custom-modal {
    z-index: 19999;
}

.custom-form-group .required {
    color: red;
    padding: 0 5px;
}

.custom-form-group > input, .custom-form-group > textarea {
    border: none;
    border: 0;
    line-height: 100%;
    font-size: 15px;
    color: #373738;
}

/* create payment link */

.cpl-box h4 {
    border: 1px solid #C0D1E0;
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.cp-box-main {
    padding: 30px;
    border: 1px solid #C0D1E0;
    border-radius: 6px;
}

.cpl-box {
    padding: 20px;
    padding-top: 0;
}

/* payment link success */
.pl-success {
    text-align: center;
}

.pl-success .fa-check {
    background: #13C2C2;
    height: 65px;
    width: 65px;
    line-height: 65px;
    border-radius: 59%;
    font-size: 28px;
    color: #fff;
    margin-bottom: 15px;
}

.pl-success .fa-times {
    background: var(--custom-color-danger);
    height: 65px;
    width: 65px;
    line-height: 65px;
    border-radius: 59%;
    font-size: 28px;
    color: #fff;
    margin-bottom: 15px;
}

.pl-success h3 {
    font-size: 25px;
    font-weight: 600;
    color: #182D40;
}

.pl-success p {
    color: #182D40;
    font-weight: 500;
}

.pl-share {
    border: 1px solid #C0D1E0;
    padding: 15px;
    border-radius: 8px;
}


.pl-share h5 {
    font-weight: 600;
    color: #222;
}

.pl-share .fa-share-alt {
    border: 2px solid var(--custom-color-primary);
    border-radius: 50%;
    height: 35px;
    width: 35px;
    line-height: 34px;
    text-align: center;
    padding-right: 3px;
    color: var(--custom-color-primary);
}

.copy-link {
    height: 36px;
    display: flex;
}

.copy-link-input {
    flex-grow: 1;
    padding: 0 8px;
    font-size: 14px;
    border: 2px solid #474747;
    border-right: none;
    outline: none;
    background: transparent;
    color: var(--custom-color-primary);
    font-weight: 500;
    border-radius: 6px 0 0 6px;
}

.copy-link-input:hover {
    background: #eeeeee;
}

.copy-link-button {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #333333;
    outline: none;
    border: 2px solid #474747;
    border-left: 0;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 19px;
    color: var(--custom-color-primary);
    border-radius: 0 6px 6px 0;
}

.copy-link-button:hover {
    background: #cccccc;
}

.pl-share-btn {
    text-align: center;
}

.pl-share-btn i {
    font-size: 27px;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 3px;
    color: #1877F2;
    cursor: pointer;
}

/* payment link share */
.pl-success .fa-share-alt {
    border: 2px solid var(--custom-color-primary);
    border-radius: 50%;
    height: 63px;
    font-size: 34px;
    width: 63px;
    line-height: 62px;
    text-align: center;
    padding-right: 3px;
    color: var(--custom-color-primary);
    margin-bottom: 8px;
}

/* pgw styles */
.pgw-tracker-box {
    background: #EBF0F5;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
}

.pgw-tracker-box .bx-lock {
    color: #373738;
    font-size: 35px;
    margin-bottom: 10px;
}

.pgw-tracker-box h5 {
    font-weight: 600;
    color: #373738;
    font-size: 16px;
}

.pgw-tracker-box .fa-check {
    background: #20C374;
    height: 44px;
    width: 44px;
    line-height: 44px;
    border-radius: 50%;
    font-size: 19px;
    color: #fff;
    margin-bottom: 15px;
}

.pgw-tracker-box p {
    margin-bottom: 5px;
    font-weight: 500;
    color: #373738;
    font-size: 14px;
}

.pgw-tracker-box p span {
    color: #20C374;
}

.pgw-tracker-box > span {
    display: inline-block;
    border: 2px solid var(--custom-color-primary);
    height: 62px;
    width: 62px;
    line-height: 61px;
    border-radius: 50%;
}

.pass-show-hide {
    background: transparent;
    border: 0;
    position: absolute;
    right: 5px;
    top: 10px;
}

/* payment link invoice */

.pl-invoice-card {
    border-radius: 8px;
    box-shadow: 0 0 5px #ddd !important;
    /* background: #FAFCFF; */
    padding: 25px;
}

.pli-logo {
    display: flex;
}
.pli-logo p {
    color: #000;
    font-weight: 500;
    font-size: 17px;
}
.pli-logo h5 {
    align-self: center;
    margin-left: 10px;
    color: #000;
    font-weight: 600;
}

.pli-logo img {
    width: 85px;
}

.pli-download button {
    border-radius: 25px;
    font-weight: 500;
}

.pli-invoice-info h6 {
    font-weight: 600;
    color: var(--custom-color-primary);
}

.pli-invoice-info h6 span {
    color: #000;
}

.pli-address {
}

.pli-address > span {
    color: #696A6B;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
    font-weight: 600;
}

.pli-address h6 {
    color: #333;
    font-weight: 600;
}

.pli-address p {
    color: var(--custom-color-primary);
    font-size: 14px;
    margin-bottom: 3px;
    font-weight: 600;
}

.pli-address p span {
    color: #696A6B;
    font-weight: 500;
}

.pli-item-table {
    width: 100%;
}

.pli-item-table thead tr {
    background: #EBF0F5 !important;
}

.pli-item-table thead tr th {
    padding: 15px;
    color: var(--custom-color-primary);
    text-transform: uppercase;

}

.pli-item-table tbody tr {
    background: #F5F5F5 !important;
}

.pli-item-table tbody tr td {
    padding: 13px;
    color: #696A6B;
}

.pli-word-amount h6 {
    color: var(--custom-color-primary);
    font-weight: 600;
    margin-bottom: 0;
}

.pli-word-amount p {
    font-size: 14px;
    color: #696A6B;
}

.pli-calculate {
    border-radius: 8px;
    overflow: hidden;
}

.pli-calculate p {
    padding: 12px;
    border-bottom: 2px solid #EFEFEF;
    color: #696A6B;
    margin: 0;
    background: #F5F5F5;
}

.pli-calculate p span {
    font-weight: 600;
}

.pli-calculate p:last-child {
    background: #EBF0F5;
    padding: 13px;
    font-weight: 600;
    border-bottom: none;
    color: var(--custom-color-primary);
}

.pli-border-right {
    border-right: 2px solid #EFEFEF;
}


.pli-c-payment {
}
.payment-link-client-box{
    min-height: 100%;
}
.payment-link-client-box .pli-submit-btn{
    position:absolute;
    bottom: 0;
}


.pli-c-payment p {
    padding: 12px;
    border-bottom: 1px solid #DDF1FF;
    margin: 0;
    font-weight: 600;
    color: var(--custom-color-primary);
    font-size: 16px;
}

.pli-c-payment p span {
    color: #696A6B;
}

.pli-c-payment p:last-child {
    border-bottom: none;
}

.pli-c-payment p:last-child span {
    border-bottom: none;
    color: var(--custom-color-primary);
}


/* product and services */

.ps-item-box {

}

.ps-item-card {
    border-left: 5px solid var(--custom-color-primary);
}

.psd-top {
    text-align: center;
    color: #222;
}

.psd-top h5 {
    font-weight: 700;
    font-size: 19px;
}

.psd-top p {
    font-size: 15px;
    color: #000;
}

.psd-company-logo {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 40px;
    padding: 7px 20px;
    display: flex;
}
.psd-company-logo img{
    width: 100px;
}
.psd-company-logo h5{
    font-size: 29px;
    align-self: center;
    margin-left: 10px;
}

.psd-top span {

}

.pli-item {
    border-radius: 8px;
    overflow-x: auto;
}

.psd-head .pli-item-table tbody tr {
    background: transparent !important;
}

.psd-head .pli-item-table tbody tr td .quantity-input {
    width: 50%;
    background: #F3F3F3;
    border: 0;
    border-radius: 6px;
    padding: 4px 10px;
    text-align: center;
    margin: 0 auto;
}

.psd-head {
    border-radius: 8px !important;
    overflow-x: auto;
    border: 1px solid #C0D1E0;
}

.psd-head .pli-item-table input[type="checkbox"] {
    pointer-events: none;
    width: 16px;
    height: 16px;
    margin-right: 4px;
    margin-top: 4px;
    accent-color: var(--custom-color-primary);
}

.psd-calculate-area {
    margin-top: 15px;
}

.psd-calculate-area li {
    background: transparent;
    border: 1px solid #C0D1E0;
}

.psd-calculate-area li:last-child {
    text-transform: uppercase;
}

.psd-calculate-area li h6 {
    margin: 0;
    font-weight: 600;
}

.psd-calculate-area li span {
    color: #696A6B;
}

.psd-head .pli-item-table tbody tr td {
    border-bottom: 1px solid #C0D1E0;
    font-weight: 600;
}

.psd-head .pli-item-table thead tr th {
    text-transform: uppercase;
    color: var(--custom-color-primary);
}

.psd-head .pli-item-table tbody tr:last-child td {
    border-bottom: 0 !important;
}

.form-builder-data .form-check {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    padding: 8px 35px;
    background: #fafafa;
    border-radius: 6px;
}

.form-builder-data .form-check label {
    display: block;
}

/* modify create page link styles */
.trans-oc-head {
    background: #EBF0F5;
    border-radius: 8px;
    padding: 7px 15px;
    margin-bottom: 10px;
}

.trans-oc-head h6 {
    font-weight: 600;
}

@media (max-width: 576px) {

    .login-page .col-md-1{
        display: none;
    }
    .login-page .col-md-6 .vh-100{
        height: unset !important;
    }
    .login-page .col-md-5 .vh-100{
        height: unset !important;
    }
    .login-box,
    .register-box {
        margin-top: 0.5rem;
        width: 85vw;
    }
    .psd-head .pli-item-table tbody tr td .quantity-input {
        width: 230% !important;
    }
    .psd-head .pli-item-table tbody tr td .quantity-input::placeholder {
        font-size: 12px !important;
    }
    .pli-item-table{
        font-size: 14px !important;
    }
    .pli-item-table .error {
        color: #ff3e57;
        position: absolute;
        left: 29px;
        background: #fff;
        padding: 5px;
        border-radius: 8px;
    }
    .pli-c-payment p{
        font-size: 14px;
    }
    .payment-link-client-box .pli-submit-btn{
        position:inherit;
        margin-top: 15px;
    }

    .pli-logo {
        display: inherit;
    }
    .pli-logo h5 {
        margin-left: 0;
    }

    .psd-company-logo {
        display: block;
    }

    .psd-company-logo h5{
        font-size: 24px !important;
    }
}
