:root {
    --esign-blue: #007bff;
    --esign-indigo: #6610f2;
    --esign-purple: #6f42c1;
    --esign-pink: #e83e8c;
    --esign-red: #dc3545;
    --esign-orange: #fd7e14;
    --esign-yellow: #ffc107;
    --esign-green: #28a745;
    --esign-teal: #20c997;
    --esign-cyan: #17a2b8;
    --esign-white: #fff;
    --esign-gray: #6c757d;
    --esign-gray-light: #c3c3c3;
    --esign-gray-dark: #343a40;
    --esign-primary: #007bff;
    --esign-secondary: #6c757d;
    --esign-success: #28a745;
    --esign-info: #17a2b8;
    --esign-warning: #ffc107;
    --esign-danger: #dc3545;
    --esign-light: #f8f9fa;
    --esign-dark: #343a40;
    --esign-border-gray: #dee2e6;
    --esign-breakpoint-xs: 0;
    --esign-breakpoint-sm: 576px;
    --esign-breakpoint-md: 768px;
    --esign-breakpoint-lg: 992px;
    --esign-breakpoint-xl: 1200px;
    --font-family-esign: TimesNewRoman,Times New Roman,Times,Baskerville,Georgia,serif;
}

.esign-overflow-hidden {
    overflow: hidden !important;
}

#esign-workspace *, ::after, ::before {
    box-sizing: border-box;
}

#esign-workspace {
    font-family: var(--font-family-esign) !important;
    font-size: 14px !important;
    background-color: #f1f3ff !important;
}

#esign-workspace {
    /* card css */
    /* flex css */
    /* grid css */
    /* util layout css */
    /* text css */
    /* form css */
    /* label css */
    /* btn css */
    /* loader css */
    /* Safari */
    /* List file */
    /* text css */
    /* table css */
    /* remake style jquery-ui */
    /* hr css */
}

#esign-workspace .overlay {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.2);
}

#esign-workspace .pl-3, #esign-workspace .px-3 {
    padding-left: 14px !important;
}

#esign-workspace .cursor-pointer {
    cursor: pointer;
}

#esign-workspace .card {
    background-color: var(--esign-white);
    padding: 14px;
    border-radius: 8px;
}

#esign-workspace .card h4 {
    margin-top: 0;
    margin-bottom: 10px;
}

#esign-workspace .d-flex {
    display: flex !important;
}

#esign-workspace .justify-content-center {
    justify-content: center !important;
}

#esign-workspace .align-items-center {
    align-items: center !important;
}

#esign-workspace .flex-grow-1 {
    flex-grow: 1 !important;
}

#esign-workspace .row {
    display: flex;
    flex-wrap: wrap;
    /* margin-right: -7.5px;
    margin-left: -7.5px;
    */
}

#esign-workspace .row>* {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    #esign-workspace .col-md-auto {
        flex: 0 0 auto;
        width: auto;
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    #esign-workspace .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 768px) {
    #esign-workspace .col-md-8 {
        flex: 0 0 66.6666666667%;
        max-width: 66.6666666667%;
    }
}

@media (min-width: 576px) {
    #esign-workspace .col-sm-10 {
        flex: 0 0 83.3333333333%;
        max-width: 83.3333333333%;
    }
}

#esign-workspace .util-container {
    display: flex;
    width: 100%;
}

#esign-workspace .util-content {
    position: relative;
    width: 100%;
}

#esign-workspace .util-content-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: auto;
}

#esign-workspace .text-center {
    text-align: center !important;
}

#esign-workspace .text-danger {
    color: var(--esign-danger) !important;
}

#esign-workspace .text-primary {
    color: var(--esign-primary) !important;
}

#esign-workspace .text-warning {
    color: var(--esign-warning) !important;
}

#esign-workspace .text-success {
    color: var(--esign-success) !important;
}

#esign-workspace .form-group {
    margin-bottom: 14px;
}

#esign-workspace .form-control {
    display: block;
    width: 100%;
    /* height: calc(21px + 10.5px + 2px);
    */
    padding: 5.25px 10.5px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 3.5px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#esign-workspace .form-title {
    margin-top: 0;
}

#esign-workspace label {
    display: inline-block;
    margin-bottom: 7px;
}

#esign-workspace label:not(.form-check-label):not(.custom-file-label) {
    font-weight: 600;
}

#esign-workspace .btn {
    font-family: var(--font-family-esign);
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 5.25px 10.5px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 3.5px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#esign-workspace .btn.disabled, #esign-workspace .btn:disabled {
    opacity: .65;
    cursor: not-allowed;
}

#esign-workspace .btn>.material-icons {
    margin-right: 8px;
    font-size: 16px;
}

#esign-workspace .btn-outline-primary {
    color: var(--esign-primary);
    border-color: var(--esign-primary);
}

#esign-workspace .btn-outline-primary:hover:not([disabled]) {
    color: #fff;
    background-color: var(--esign-primary);
}

#esign-workspace .btn-primary {
    color: #fff;
    background-color: var(--esign-primary);
    border-color: var(--esign-primary);
}

#esign-workspace .btn-primary:hover:not([disabled]) {
    background-color: #025fc1;
}

#esign-workspace .btn-save {
    margin-right: 14px;
}

#esign-workspace #overlay-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 10480;
}

#esign-workspace .spinner-dual-ring {
    position: fixed;
    top: 50%;
    left: 50%;
    height: 80px;
    min-width: 80px;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 8px;
    box-shadow: 0 0px 7px 0px rgba(0, 0, 0, 0.1);
    padding: 10px;
    z-index: 10490;
    display: flex;
    justify-content: center;
    align-items: center;
}

#esign-workspace .spinner-dual-ring span {
    padding-left: 8px;
}

#esign-workspace .loader {
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid var(--esign-primary);
    width: 32px;
    height: 32px;
    -webkit-animation: spin 2s linear infinite;
    /* Safari */
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#esign-workspace .list-file .list-file-item {
    border-radius: 8px;
    width: 100%;
    padding: 15px 10px;
    /* box-shadow: 0px 0px 7px 0px #eaeaea;
    */
    margin-bottom: 10px;
    border: 1px solid #0062ff;
    display: flex;
    align-items: center;
    cursor: pointer;
}

#esign-workspace .list-file .list-file-item:hover {
    background-color: #0062ff2a;
}

#esign-workspace .list-file .list-file-item:hover .file-actived {
    opacity: 0;
}

#esign-workspace .list-file .added:hover .file-actived {
    opacity: 1;
}

#esign-workspace .list-file .list-file-item .material-icons {
    margin-right: 10px;
}

#esign-workspace .list-file .list-file-item .name-file {
    flex-grow: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

#esign-workspace .text-white {
    color: var(--esign-white);
}

#esign-workspace .table {
    width: 100%;
    margin-bottom: 14px;
    background-color: transparent;
}

#esign-workspace table {
    border-collapse: collapse;
}

#esign-workspace .table td, #esign-workspace .table th {
    padding: 10.5px;
    vertical-align: top;
    border-top: 1px solid var(--esign-border-gray);
}

#esign-workspace .table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid var(--esign-border-gray);
}

#esign-workspace .table-bordered td, #esign-workspace .table-bordered th {
    border: 1px solid var(--esign-border-gray);
}

#esign-workspace .table-bordered thead td, #esign-workspace .table-bordered thead th {
    border-bottom-width: 2px;
}

#esign-workspace .ui-widget-content {
    background: unset;
}

#esign-workspace hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

#esign-workspace hr {
    margin-top: 14px;
    margin-bottom: 14px;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
}

#esign-workspace hr {
    margin-top: 7px !important;
    margin-bottom: 14px !important;
}

#esign-workspace #form-otp-resend {
    color: #949494;
    margin-bottom: 16px;
}

#esign-workspace .resend-otp-link {
    color: #025fc1;
    text-decoration: underline;
    cursor: pointer;
}

#esign-workspace .esign-draw-content {
    position: fixed;
    height: 90%;
    max-height: 450px;
    width: 600px;
    max-width: 90%;
    background: white;
    top: 50%;
    left: 50%;
    z-index: 10490;
    transform: translate(-50%, -50%);
    border-radius: 8px;
}

#esign-workspace .esign-draw-footer {
    height: 54px;
    display: flex;
    justify-content: flex-end;
    padding: 8px;
    border-top: 1px solid var(--esign-gray-light);
}

#esign-workspace .esign-draw-header {
    height: 54px;
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid var(--esign-gray-light);
}

#esign-workspace .esign-draw-header label {
    flex-grow: 1;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 0;
}

#esign-workspace #esign-draw-exit {
    font-size: 18px;
}

#esign-workspace #esign-draw-canvas {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    /* padding: 8px;
    */
    height: calc(100% - 108px);
}

#esign-workspace .label-img-signature {
    margin-top: 16px;
}

#esign-workspace .esign-image {
    width: 100%;
    margin-top: 16px;
    text-align: center;
}

#esign-workspace #esign-signature-img {
    width: 250px;
    max-width: 60%;
}

#esign-workspace #esign-upload-img {
    margin-right: 8px;
}

#esign-workspace .screen-otp {
    margin-top: 20px;
    margin-bottom: 20px;
}

#esign-workspace .screen-otp .screen-otp-content {
    width: 600px;
}

@media (max-width: 768px) {
    #esign-workspace .screen-otp .screen-otp-content {
        max-width: 90%;
    }
}

#ekyc_sdk_intergrated.ekyc-is-open {
    z-index: 10390;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: auto;
    padding-top: 0;
    padding-bottom: 0;
}

#esign-workspace #tb-ekyc-result .ekycresult-cell {
    padding: 0.5rem 0;
    border-bottom: 1px solid #d0d0d0;
}

#esign-workspace #tb-ekyc-result .ekycresult-cell label.label-cell {
    font-size: 14px;
    font-weight: 600;
    color: var(--esign-gray-dark);
    margin-bottom: 8px;
}

#esign-workspace #tb-ekyc-result .ekycresult-cell p.value-cell {
    font-size: 16px;
    color: var(--esign-dark);
    margin-bottom: 0px;
}

#esign-workspace #tb-ekyc-result .ekycresult-cell .image-ekyc {
    display: flex;
}
#esign-workspace #tb-ekyc-result .ekycresult-cell .image-ekyc .image {
    width: 33.3333333333%;
    padding: 8px;
}
#esign-workspace #tb-ekyc-result .ekycresult-cell .image-ekyc .image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

#esign-workspace .wg-ekyc-result .tb-ft-view {
    margin-top: 1rem;
    /* justify-content: flex-end; */
}

#esign-workspace .wg-ekyc-result .tb-ft-view .btn {
    width: 152px;
    max-width: 152px;
    /* justify-content: flex-end; */
}

#esign-workspace #btn-finish-sign {
    margin-bottom: 0.5rem;
}

/* Modal */
#esign-workspace .e-modal {
    position: fixed;
    height: auto;
    max-height: 450px;
    width: 600px;
    max-width: 90%;
    background: white;
    top: 50%;
    left: 50%;
    z-index: 10490;
    transform: translate(-50%, -50%);
    border-radius: 8px;
}

#esign-workspace .e-modal-body {
    padding: 16px;
}

#esign-workspace .e-modal-footer {
    height: 54px;
    display: flex;
    justify-content: flex-end;
    padding: 8px;
    border-top: 1px solid var(--esign-gray-light);
}

#esign-workspace .e-modal-footer .e-modal-cancel {
    margin-right: 16px;
}

#esign-workspace .e-modal-header {
    height: 54px;
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--esign-gray-light);
}

#esign-workspace .e-modal-header label {
    flex-grow: 1;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 0;
}


#esign-workspace #e-modal-exit {
    font-size: 18px;
}

#esign-workspace #copyright-version {
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: rgb(156 156 156 / 20%);
    font-size: 13px;
    padding: 4px;
    color: #000;
    z-index: 10490;
}
#esign-workspace .signature-info {
    margin: 0;
    padding: 0;
    line-height: 15px;
}