﻿@import url('https://fonts.googleapis.com/css2?family=Maven+Pro:wght@400;500;600;700&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Maven+Pro:wght@400;500;600;700&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;600&display=swap');

@font-face {
    font-family: Cedarville-Cursive;
    src: url(../fonts/Cedarville-Cursive.ttf);
}

@font-face {
    font-family: HomemadeApple;
    src: url(../fonts/HomemadeApple-Regular.ttf);
}

@font-face {
    font-family: DancingScript-Variable;
    src: url(../fonts/DancingScript-VariableFont_wght.ttf);
}

@font-face {
    font-family: ShadowsIntoLight-Regular;
    src: url(../fonts/ShadowsIntoLight-Regular.ttf);
}

@font-face {
    font-family: ReenieBeanie-Regular;
    src: url(../fonts/ReenieBeanie-Regular.ttf);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type='number'] {
    -moz-appearance: textfield;
}

/*-------Decline Landing Page Styling Start-----*/

.csm-declined-sign-page {
    background: #202347;
    color: #fff;
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
    font-family: 'Oswald', sans-serif;
    font-size: 1em;
}

    .csm-declined-sign-page .dec-err-left {
        text-align: center;
        max-width: 80%;
        margin: 0 auto;
    }

        .csm-declined-sign-page .dec-err-left > img {
            width: 100%;
            max-width: 586px;
        }

    .csm-declined-sign-page .content .title {
        font-size: 4em;
    }

    .csm-declined-sign-page .content > p.text {
        font-size: 2.2em;
        font-weight: 200;
    }

/* PDF Viewer Wrapper Styles */
#pdfViewerWrapper {
    width: 100%;
    position: relative;
    overflow: visible;
}
/* PDF Viewer Container - Enhanced for iOS Safari  // 01/15/2026 */
#pdfViewerContainer {
    width: 100%;
    height: calc(100vh - 105px);
    min-height: 500px;
    position: relative;
    overflow: visible;
}

/* Desktop specific sizing */
@media screen and (min-width: 769px) {
    #pdfViewerContainer {
        height: calc(100vh - 100px);
        min-height: 700px;
    }

    #pdfViewerWrapper {
        height: calc(100vh - 100px);
    }
}
/* PDF Viewer Container - Enhanced for iOS Safari  // 01/15/2026 */
#pdfviewer {
    -webkit-transform: translate3d(0, 0, 0) !important;
    transform: translate3d(0, 0, 0) !important;
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
    -webkit-perspective: 1000 !important;
    perspective: 1000 !important;
    position: relative !important;
    overflow: visible !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

    /* Center PDF pages, leave gray gutters */
    #pdfviewer .e-pv-viewer-container {
        text-align: center;
        -webkit-overflow-scrolling: touch !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        position: relative !important;
        display: block !important;
        visibility: visible !important;
    }

    #pdfviewer .e-pv-page-container {
        display: inline-block !important;
        text-align: left;
        -webkit-transform: translate3d(0, 0, 0) !important;
        transform: translate3d(0, 0, 0) !important;
        visibility: visible !important;
    }

    /* Ensure pages and canvas are always visible */
    #pdfviewer .e-pv-page-div,
    #pdfviewer .e-pv-page-canvas {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

/* General mobile optimizations */
@media screen and (max-width: 768px) {
    #pdfViewerWrapper {
        height: calc(100vh - 105px);
    }

    #pdfViewerContainer {
        height: 100%;
    }

    #pdfviewer {
        height: 100% !important;
        min-height: 400px;
    }

    /* Improve text rendering on mobile - Better font rendering */
    .e-pv-page-canvas {
        image-rendering: auto !important;
        -webkit-font-smoothing: subpixel-antialiased !important;
        font-smooth: always !important;
    }

    /* Better text layer rendering */
    .e-pv-text-layer {
        -webkit-user-select: none;
        user-select: none;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
    }

    /* Improve form field text rendering on mobile */
    .e-pv-form-field,
    .e-pv-formfield-input {
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
        font-size: 14px !important;
    }

    /* Ensure proper scaling */
    .e-pv-page-container {
        transform-origin: top left;
        -webkit-transform-origin: top left;
    }
}

/* Specific fixes for iPhone Safari and iOS devices */
@supports (-webkit-touch-callout: none) {
    html {
        height: -webkit-fill-available;
    }

    body {
        min-height: 100vh;
        min-height: -webkit-fill-available;
        overflow-x: hidden;
    }

    #pdfViewerWrapper {
        height: calc(100vh - 105px);
        height: calc(-webkit-fill-available - 105px);
        position: relative;
        z-index: 1;
    }

    #pdfViewerContainer {
        height: 100% !important;
        position: relative;
        z-index: 1;
    }

    #pdfviewer {
        -webkit-overflow-scrolling: touch !important;
        height: 100% !important;
        position: relative !important;
        z-index: 1 !important;
    }

        #pdfviewer .e-pv-viewer-container {
            position: relative !important;
            -webkit-overflow-scrolling: touch !important;
            will-change: auto !important;
            display: block !important;
            visibility: visible !important;
            min-height: 100% !important;
        }

    .e-pv-page-canvas {
        -webkit-backface-visibility: hidden !important;
        backface-visibility: hidden !important;
        -webkit-transform: translate3d(0, 0, 0) !important;
        transform: translate3d(0, 0, 0) !important;
        image-rendering: auto !important;
        display: block !important;
        visibility: visible !important;
        position: relative !important;
    }
    /* Force hardware acceleration and visibility for all PDF elements */
    .e-pv-page-container,
    .e-pv-page-div,
    .e-pv-text-layer,
    .e-pv-text {
        -webkit-transform: translate3d(0, 0, 0) !important;
        transform: translate3d(0, 0, 0) !important;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    /* Better text rendering for iOS */
    .e-pv-text-layer,
    .e-pv-text,
    .e-pv-form-field,
    .e-pv-formfield-input {
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
        text-rendering: optimizeLegibility !important;
    }
    /* Prevent scrolling issues on iOS */
    body {
        -webkit-overflow-scrolling: touch;
        overflow-x: hidden;
    }
    /* Fix for iOS Safari viewport height issues */
    .csm-layout-wrap {
        position: relative;
        overflow: visible;
    }
    /* iPad-specific fixes */
    @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
        #pdfViewerWrapper,
        #pdfViewerContainer {
            height: calc(100vh - 105px) !important;
        }

        #pdfviewer {
            min-height: 600px !important;
        }

        /* Better text rendering for iPad */
        .e-pv-form-field,
        .e-pv-formfield-input {
            font-size: 16px !important;
        }
    }
}

@media only screen and (max-width: 767px) {
    .csm-declined-sign-page .dec-err-left > img {
        max-width: 350px;
    }

    .csm-declined-sign-page .dec-err-left {
        max-width: 100%;
    }

    .csm-declined-sign-page .content .title {
        font-size: 2.5em;
    }

    .csm-declined-sign-page .content > p.text {
        font-size: 1.5em;
    }

    /**************CSS Rules 05-30-25****************/
    .sign-ui {
        margin: 0px !important;
    }

    .header-info {
        height: 30px !important;
        padding-right: 5px !important;
        padding-left: 5px !important;
    }

    .header-review-docs {
        padding: 0px 0px;
        padding-top: 10px !important;
    }

    .header-logo {
        padding-right: 5px !important;
        padding-left: 5px !important;
    }

    .header-right-logo {
        padding: 0 !important;
    }

        .header-right-logo > img {
            max-width: 148px !important;
        }

    .csm-header-bar {
        padding: 5px !important;
    }

    .btn-continue-sign {
        padding: 5px 15px 5px 15px !important;
    }

    .csm-more-action-dropdown > button.dropdown-toggle {
        line-height: 16px !important;
        padding: 6px 18px !important;
        font-size: 0.75rem !important;
    }

        .csm-more-action-dropdown > button.dropdown-toggle:after {
            right: 5px !important;
        }

    .csm-more-action-dropdown ul.dropdown-menu {
        min-width: 148px !important;
    }

    #pdfviewer .e-pv-viewer-container {
        transform: scale(1);
        transform-origin: top left;
    }

    #pdfviewer .e-pv-form-field {
        font-size: 14px !important;
    }

    .foreign-object .e-pv-formfield-input {
        font-size: 12px !important;
    }

    .csm-signin-modal .modal-title {
        font-size: 1em !important;
    }

    .csm-more-actions button#startbutton {
        padding: 5px 6px !important;
    }

    .csm-more-actions button#startbutton, .csm-more-actions button.btn-sign, .csm-more-actions button.btn-continue-sign {
        font-size: 0.75rem !important;
    }
    /**
    * signature dialog
    **/
    .csm-tabber {
        margin: 0px 0px !important;
    }

    .cms-form-group .form-title-wrapper {
        margin-bottom: 2px;
        margin-top: 0px;
    }

    .cms-form-group {
        padding-bottom: 1px;
    }

    ul.preview-sign-list > li .form-check span.form-check-label > .text {
        font-size: 1rem !important;
    }

    .csm-sign-area .signCanvas {
        width: calc(100vw - 65px) !important;
    }

    .signToolbar {
        width: calc(100vw - 72px) !important;
    }

        .signToolbar img {
            width: 32px !important;
            height: 32px !important;
            cursor: pointer !important;
            -webkit-tap-highlight-color: rgba(0,0,0,0.1);
            padding: 8px;
            margin: 4px;
            touch-action: manipulation;
            pointer-events: auto !important;
            user-select: none;
            -webkit-user-select: none;
            transition: transform 0.1s ease, opacity 0.1s ease;
            will-change: transform;
        }

            .signToolbar img:active {
                transform: scale(0.9);
                opacity: 0.7;
            }

            .signToolbar img.signReset {
                min-width: 44px !important;
                min-height: 44px !important;
                display: inline-block !important;
                position: relative;
                z-index: 999;
            }

    /* Desktop signature toolbar - normal sizes */
    @media screen and (min-width: 768px) {
        .signToolbar img {
            width: 24px !important;
            height: 24px !important;
            padding: 4px;
        }

            .signToolbar img.signReset {
                min-width: auto !important;
                min-height: auto !important;
            }
    }

    .cms-tab-content {
        padding: 7px !important;
    }

    /* --- FIX: ensure only the active tab-pane is visible (esp. on first open) --- */
    .csm-signin-modal .tab-pane {
        display: none;
    }

        .csm-signin-modal .tab-pane.active {
            display: block;
        }

    /* Bootstrap 5 expects .nav-link.active; your markup sets active on <li>.
   This keeps current visual style even if the active class lands on the <button>. */
    .csm-signin-modal .cms-nav-tabs .nav-link.active {
        position: relative;
        border-bottom-color: #366dbf;
        color: #366dbf;
    }


    .csm-sign-area span.area-indicator {
        max-width: calc(100% - 60px) !important;
    }

    .csm-sign-area .sign-area-label {
        margin-bottom: 16px !important;
    }

        .csm-sign-area .sign-area-label h5 {
            font-size: 0.75rem !important;
            top: -9px !important;
            padding: 0px 4px !important;
        }
}

input[type="radio"], input[type="checkbox"] {
    transform: scale(1.25) !important;
    -webkit-transform: scale(1.25) !important;
}

/*-------Decline Landing Page Styling End-----*/

/*-------Success Landing Page Styling Start-----*/
.success-landing-page {
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 92px;
}

    .success-landing-page .csm-header {
        position: fixed;
        left: 0;
        width: 100%;
        top: 0;
        background: #fff;
        z-index: 99;
    }

    .success-landing-page .juiced-logo {
        padding: 16px 0px;
    }

        .success-landing-page .juiced-logo img {
            max-width: 264px;
            width: 100%;
        }

    .success-landing-page .csm-juiced-confirm-main-wrap {
        position: relative;
        background: #16193c;
        color: #fff;
        font-family: 'Oswald', sans-serif;
        padding-top: 16px;
        padding-bottom: 32px;
        margin-bottom: 32px;
    }

        .success-landing-page .csm-juiced-confirm-main-wrap:after {
            content: '';
            background: #fff;
            width: 100%;
            position: absolute;
            bottom: 0;
            height: 130px;
            left: 0;
        }

    .success-landing-page .congrates-wrap {
        text-align: center;
    }

        .success-landing-page .congrates-wrap > h2.title {
            font-size: 3.6em;
            font-weight: 600;
            margin-bottom: 16px;
            line-height: 1.4em;
        }

        .success-landing-page .congrates-wrap .content-wrap {
            background: #fff;
            max-width: 980px;
            margin: 0 auto;
            padding: 40px;
            position: relative;
            z-index: 9;
            box-shadow: -2px 5px 6px rgb(0 0 0 / 40%);
        }

            .success-landing-page .congrates-wrap .content-wrap .content-box {
                border: 2px solid #ccc;
                max-width: 630px;
                margin: 0 auto;
                color: #0d1637;
                padding: 20px 32px;
                position: relative;
                padding-top: 32px;
            }

    .success-landing-page .content-box img.check-icon {
        position: absolute;
        top: -32px;
        max-width: 64px;
        left: 50%;
        transform: translateX(-50%);
    }

    .success-landing-page .content-wrap .content-box > h3 {
        font-size: 2em;
        font-weight: 600;
    }

    .success-landing-page .content-wrap .content-box > img.sign-img {
        max-width: 100%;
    }

    .success-landing-page .content-wrap .content-box > p.text {
        font-size: 2em;
        font-weight: 600;
    }

        .success-landing-page .content-wrap .content-box > p.text a {
            color: #5a6592;
        }

    .success-landing-page .csm-success-footer {
        font-family: 'Oswald', sans-serif;
        background: #242323;
        color: #fff;
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .success-landing-page .social-links-wrap {
        text-align: center;
        margin-bottom: 64px;
    }

        .success-landing-page .social-links-wrap ul.social-list {
            margin: 0;
            padding: 0;
        }

            .success-landing-page .social-links-wrap ul.social-list > li {
                display: inline-block;
                margin-right: 12px;
            }

                .success-landing-page .social-links-wrap ul.social-list > li img {
                    max-width: 24px;
                    width: 100%;
                }

                .success-landing-page .social-links-wrap ul.social-list > li.list-item > a {
                    display: inline-block;
                }

    .success-landing-page .footer-info-section {
        max-width: 760px;
        margin: 0 auto;
        margin-bottom: 62px;
    }

        .success-landing-page .footer-info-section .footer-col {
            text-align: center;
        }

    .success-landing-page .footer-col > h4.title {
        font-size: 22px;
        font-weight: 300;
        margin-bottom: 32px;
    }

    .success-landing-page .footer-col > .text-widget p,
    .success-landing-page .footer-col > .text-widget p a {
        font-size: 14px;
        font-weight: 300;
        color: #fff;
    }

    .success-landing-page .footer-col .text-widget ul {
        margin: 0;
        padding: 0;
    }

        .success-landing-page .footer-col .text-widget ul > li {
            display: block;
            margin-bottom: 4px;
        }

            .success-landing-page .footer-col .text-widget ul > li > a {
                text-decoration: none;
                color: #fff;
                font-size: 14px;
                font-weight: 300;
                display: inline-block;
                transition: all 0.4s ease;
                line-height: 1;
            }

                .success-landing-page .footer-col .text-widget ul > li > a:hover {
                    color: #1a2b6d;
                }

    .success-landing-page .copyright {
        text-align: center;
        font-weight: 300;
    }

        .success-landing-page .copyright > p {
            font-size: 15px;
        }

@media only screen and (max-width: 767px) {
    .success-landing-page .congrates-wrap > h2.title {
        font-size: 2.1em;
    }

    .success-landing-page .content-wrap .content-box > h3,
    .success-landing-page .content-wrap .content-box > p.text {
        font-size: 1.3em;
    }

    .success-landing-page .content-box img.check-icon {
        top: -22px;
        max-width: 44px;
    }

    .success-landing-page .congrates-wrap .content-wrap {
        padding: 22px;
    }

    .success-landing-page .footer-info-section .footer-col,
    .success-landing-page .social-links-wrap {
        margin-bottom: 32px;
    }

    .success-landing-page .footer-col > h4.title {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .success-landing-page .footer-info-section {
        margin-bottom: 0;
    }

    .success-landing-page .juiced-logo img {
        max-width: 180px;
    }

    .success-landing-page .csm-juiced-confirm-main-wrap:after {
        height: 100px;
    }
}

/* ------ Success Landing Page Styling End --*/

/*-----Coomon Bootstrap Section--------*/

html {
    font-size: 16px;
}

body {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    position: relative;
}

.csm-layout-wrap {
    padding-top: 70px;
    padding-bottom: 0px;
    overflow: visible;
    position: relative;
}

.modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
}

.modal-footer {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
    padding: 1.25rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: calc(0.3rem - 1px);
    border-bottom-left-radius: calc(0.3rem - 1px);
}

.fixed-top {
    position: fixed;
    top: 0px;
    z-index: 999;
}

.modal-backdrop.in {
    filter: alpha(opacity=80);
    opacity: 0.8;
}

.csm-more-actions p.preview-text {
    margin-top: 10px;
    font-size: 19px;
    text-transform: uppercase;
    line-height: 1.1em;
}

/*-----E d Coomon Bootstrap Section--------*/

/*----- Header Section--------*/
.csm-header-bar {
    background: #130954;
    line-height: 16px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: normal;
    font-size: 13px;
    color: #fff;
    padding: 15px;
    width: 100%;
}

    .csm-header-bar .container {
        position: relative;
    }

    .csm-header-bar .review-text {
        margin: 0;
        font-size: 15px;
        margin-top: 12px;
        margin-bottom: 10px;
    }

.csm-more-actions {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

    .csm-more-actions button#startbutton,
    .csm-more-actions button.btn-sign,
    .csm-more-actions button.btn-continue-sign {
        text-align: center;
        font-weight: 600;
        border: none;
        text-shadow: 0px 0px 10px rgb(0 0 0 / 48%);
        padding: 10px 30px 10px 30px;
        font-size: 14px;
        display: inline-block;
        position: relative;
        color: white;
        outline: none;
        border-radius: 1.5em;
        -webkit-transition: background-position 0.7s, box-shadow 0.4s;
        transition: background-position 0.7s, box-shadow 0.4s;
        background-size: 110%;
        background: linear-gradient(to bottom, #36c176, rgba(86, 202, 139, 0.8));
        outline: none;
        box-shadow: none;
        margin: 0px 4px;
    }

    .csm-more-actions button#startbutton {
        padding: 10px 12px;
        min-width: 80px;
        text-align: center;
        text-transform: uppercase;
        background: #df7131;
    }

.csm-more-action-dropdown > button.dropdown-toggle {
    font-family: 'Maven Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: bold;
    border-radius: 0;
    background: transparent;
    font-size: 13px;
    letter-spacing: 0.66px;
    line-height: 20px;
    padding: 6px 18px;
    text-decoration: none;
    text-transform: uppercase;
    padding-right: 34px;
    border: 1px solid transparent;
    color: inherit;
    background-color: transparent;
    position: relative;
    outline: none;
    box-shadow: none;
}

    .csm-more-action-dropdown > button.dropdown-toggle:after {
        border-color: #777 transparent transparent transparent;
        border-style: solid;
        border-width: 6px 4px 0 4px;
        content: '';
        display: block;
        height: 0;
        pointer-events: none;
        position: absolute;
        width: 0;
        top: calc(50% - 3px);
        right: 18px;
        border-color: #fff transparent transparent;
    }

    .csm-more-action-dropdown > button.dropdown-toggle:hover {
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

.csm-more-action-dropdown {
    margin-left: 10px;
    margin-top: 2px;
}

    .csm-more-action-dropdown ul.dropdown-menu {
        background-color: #fff;
        border: 1px solid #ccc;
        border-radius: 2px;
        box-shadow: 0 2px 2px 0 rgb(0 0 0 / 15%);
        color: #333;
        min-width: 240px;
    }

        .csm-more-action-dropdown ul.dropdown-menu > li.dropdown-item {
            padding: 0;
            margin-bottom: 6px;
        }

            .csm-more-action-dropdown ul.dropdown-menu > li.dropdown-item:last-child {
                margin-bottom: 0;
            }

            .csm-more-action-dropdown ul.dropdown-menu > li.dropdown-item:active {
                color: #1e2125;
                background-color: #e9ecef;
            }

            .csm-more-action-dropdown ul.dropdown-menu > li.dropdown-item > a {
                font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
                font-size: 14px;
                line-height: 1.2em;
                border: 0;
                background: transparent;
                min-width: 100%;
                width: auto;
                text-align: left;
                outline: none;
                box-shadow: none;
                display: block;
                text-decoration: none;
                color: #212529;
                padding: 8px 12px;
                cursor: pointer;
            }

            .csm-more-action-dropdown ul.dropdown-menu > li.dropdown-item button:hover {
                background: transparent;
            }

/*-----End Header Section--------*/

/*------- Continue to Sign Modal Section-------*/

div#continueSignModal .modal-dialog {
    width: 100%;
    margin-top: 0;
}

    div#continueSignModal .modal-dialog .modal-content {
        box-shadow: none;
        border-radius: 0;
        border: none;
    }

.header-review-docs > h3 {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.header-right-logo {
    text-align: right;
    padding: 8px 0px;
}

    .header-right-logo > img {
        max-width: 180px;
    }

.header-review-docs > p {
    font-size: 14px;
}

.header-review-docs {
    padding: 8px 0px;
    padding-top: 24px;
}

#continueSignModal .form-check {
    display: flex;
    align-items: flex-start;
}

    #continueSignModal .form-check > input[type='checkbox'] {
        margin-top: 2px;
        margin-right: 8px;
    }

    #continueSignModal .form-check .form-check-label {
        font-weight: normal;
    }

/*------- End Continue to Sign Modal Section-------*/

/*----- Decline sign in Modal -------*/

.csm-continue-to-finish .modal-dialog .modal-content,
.csm-print-and-sign .modal-dialog .modal-content,
.csm-decline-to-sign .modal-dialog .modal-content,
.csm-decline-feedback .modal-dialog .modal-content {
    border: none;
    border-radius: 2px;
    box-shadow: 2px 2px 7px 0 rgb(0 0 0 / 25%);
}

.csm-continue-to-finish .modal-header,
.csm-print-and-sign .modal-header,
.csm-decline-to-sign .modal-header,
.csm-decline-feedback .modal-header,
.cms-terms-condition-modal .modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

    .csm-continue-to-finish .modal-header .modal-title,
    .csm-print-and-sign .modal-header .modal-title,
    .csm-decline-to-sign .modal-header .modal-title,
    .csm-decline-feedback .modal-header .modal-title,
    .cms-terms-condition-modal .modal-header .modal-title {
        font-family: 'Maven Pro', sans-serif;
        line-height: 1.42857143;
        color: #000;
        font-size: 20px;
        font-weight: 600;
    }

    .csm-continue-to-finish .modal-header button.btn-close,
    .csm-print-and-sign .modal-header button.btn-close,
    .csm-decline-to-sign .modal-header button.btn-close,
    .csm-decline-feedback .modal-header button.btn-close,
    .cms-terms-condition-modal .modal-header button.btn-close {
        padding: 0;
        font-size: 12px;
    }

.csm-continue-to-finish .modal-body .widget-text p,
.csm-print-and-sign
.modal-body
.widget-text
p
.csm-decline-to-sign
.modal-body
.widget-text
p {
    color: #595959;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    line-height: 1.3em;
    margin-bottom: 8px;
}

.widget-text p span.bold {
    text-transform: uppercase;
    font-weight: 600;
    color: #000;
}

.csm-continue-to-finish .modal-footer,
.csm-print-and-sign .modal-footer,
.csm-decline-to-sign .modal-footer,
.csm-decline-feedback .modal-footer {
    justify-content: flex-start;
}

    .csm-continue-to-finish .modal-footer > button.btn,
    .csm-print-and-sign .modal-footer > button.btn,
    .csm-decline-to-sign .modal-footer > button.btn,
    .csm-decline-feedback .modal-footer > .btn {
        margin: 0;
        font-family: 'Maven Pro', 'Helvetica Neue', HelveticaNeue, Helvetica, Arial, sans-serif;
        font-size: 14px;
        line-height: 1.5em;
        font-weight: 500;
    }

        .csm-continue-to-finish .modal-footer > button.btn.btn-continue,
        .csm-print-and-sign .modal-footer > button.btn.btn-continue,
        .csm-decline-to-sign .modal-footer > button.btn.btn-continue,
        .csm-decline-feedback .modal-footer > .btn.btn-continue {
            background: #130954;
            color: #fff;
            margin-right: 12px;
            text-transform: uppercase;
        }

.csm-continue-to-finish .modal-body .widget-text p:last-child,
.csm-print-and-sign .modal-body .widget-text p:last-child,
.csm-decline-to-sign .modal-body .widget-text p:last-child {
    margin-bottom: 0;
}

.csm-feedback-form > .field-label {
    color: #000;
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 5px;
    font-weight: 600;
}

.csm-feedback-form {
    margin: 0px;
}

    .csm-feedback-form textarea#MainContent_declineFeedback {
        font-family: 'Open Sans', sans-serif;
        font-size: 14px;
        color: #000;
        padding-top: 0.625rem;
        outline: none;
        min-height: 100px;
    }

span#remainingC {
    text-align: left;
    color: #595959;
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 6px;
}

/*----- End Decline sign in Modal -------*/

div#MainContent_viewdiv {
    margin-top: 60px;
}

.confirmation {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: bold;
    background-color: lightblue;
}

.popup-background {
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 5000;
}

.save-sign-wrap {
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    padding: 12px;
    padding-top: 0;
    text-align: left;
    background: #fff;
    transition: all 0.5s ease;
    padding-bottom: 130px;
}

    .save-sign-wrap.show {
        display: block;
    }

    .save-sign-wrap button#saveSignBtn {
        text-align: center;
        font-weight: 600;
        border: none;
        text-shadow: 0px 0px 10px rgb(0 0 0 / 48%);
        padding: 14px 30px 14px 30px;
        font-size: 16px;
        max-width: 230px;
        margin: 0 auto;
        display: block;
        position: relative;
        color: white;
        outline: none;
        border-radius: 1.5em;
        cursor: pointer;
        width: 100%;
        transition: all 0.5s ease;
        background-size: 110%;
        background: linear-gradient(to bottom, #36c176, rgba(86, 202, 139, 0.8));
        outline: none;
        box-shadow: none;
    }

        .save-sign-wrap button#saveSignBtn:hover,
        .csm-more-actions button.btn-sign:hover,
        .csm-more-actions button.btn-continue-sign:hover {
            box-shadow: none;
            background: linear-gradient(to bottom, #36c176, rgba(86, 202, 139, 0.9));
        }

.csm-more-actions button.btn-sign:after,
.csm-more-actions button.btn-continue-sign:after {
    top: -4px;
}

.csm-signin-modal .modal-content {
    position: relative;
    outline: 0;
    background: #eee;
    border: none;
    border-radius: 2px;
    box-shadow: 2px 2px 7px 0 rgb(0 0 0 / 25%);
}

.csm-signin-modal .modal-header {
    border-radius: 0;
    padding: 0;
    border-bottom: 1px solid #ccc;
    background-color: #130954;
    color: #fff;
}

    .csm-signin-modal .modal-header .header-title {
        padding: 16px;
        width: 100%;
    }

.modal-header .header-right-logo {
    width: 100%;
    max-width: 220px;
    background-color: #fff;
}

    .modal-header .header-right-logo > img {
        width: 100%;
        max-height: 80px;
        object-fit: cover;
    }

.csm-signin-modal .modal-title {
    font-family: 'Maven Pro', sans-serif;
    line-height: 1.42857143;
    color: #fff;
    font-size: 1.5em;
}

.csm-signin-modal .modal-footer {
    justify-content: flex-start;
}

    .csm-signin-modal .modal-footer .btn {
        display: inline-block;
        padding: 6px;
        box-sizing: border-box;
        color: #545454;
        text-decoration: none;
        letter-spacing: 0.075em;
        font-family: 'Maven Pro', 'Helvetica Neue', HelveticaNeue, Helvetica, Arial, sans-serif;
        font-size: 14px;
        line-height: 1.7em;
        font-weight: 600;
        transition: 0.1s all;
        margin: 0px;
        border-radius: 0;
        border: none;
        background: transparent;
        box-shadow: none;
    }

        .csm-signin-modal .modal-footer .btn:not(:last-child) {
            margin-right: 18px;
        }

        .csm-signin-modal .modal-footer .btn:hover {
            background: transparent;
        }

        .csm-signin-modal .modal-footer .btn.save-btn {
            color: #fff;
            border-radius: 1.3em;
            padding: 8px 24px;
            background: #130954;
            min-width: 164px;
        }

            .csm-signin-modal .modal-footer .btn.save-btn:hover {
                color: #fff;
                background-color: #130954;
            }

.csm-sign-area .signContainer {
    margin: 0px;
}

.cms-sign-widget-wrap {
    padding: 0px;
}

.cms-form-group {
    font-family: 'Open Sans', sans-serif;
    padding-bottom: 8px;
}

    .cms-form-group .form-title-wrapper {
        margin-bottom: 16px;
        margin-top: 8px;
    }

.cms-sign-widget-wrap .form-title-wrapper .form-title {
    /* font-size: 19px; */
    font-size: 1.12rem;
    font-family: 'Open Sans', sans-serif;
    color: #000;
    margin: 0;
    line-height: 1em;
    font-weight: 600;
}

.required {
    position: relative;
}

    .required:after {
        content: '*';
        color: red;
        font-size: 13px;
        display: inline-block;
        margin-left: 2px;
    }

.cms-sign-widget-wrap .form-title-wrapper span {
    color: #595959;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
}

    .cms-sign-widget-wrap .form-title-wrapper span.required:after {
        content: none;
    }

    .cms-sign-widget-wrap .form-title-wrapper span.required:before {
        content: '*';
        margin-right: 2px;
        color: red;
        font-size: 13px;
        display: inline-block;
    }

.cms-row.justify-content-between {
    display: flex;
    justify-content: space-between;
    margin-left: -15px;
    margin-right: -15px;
    width: auto;
}

    .cms-row.justify-content-between .cms-col {
        padding: 0px 15px;
    }

div#signArea div#MainContent_ctlSignature_Container {
    margin: 0px !important;
}

.cms-sign-widget-wrap .form-group label,
.cms-sign-widget-wrap .form-check {
    font-weight: normal;
    text-align: left;
    line-height: 1.5;
    color: #595959;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 6px;
}

.form-group .help-block {
    font-size: 12px;
}

span.form-check-label {
    color: #606060;
    font-size: 26px;
    font-weight: normal;
    text-align: left;
    line-height: 1.5;
}

.cms-sign-widget-wrap .form-check {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

    .cms-sign-widget-wrap .form-check input#checkTerms {
        margin-right: 8px;
        min-width: 16px;
    }

.cms-sign-widget-wrap .form-group input[type='text'] {
    background-color: transparent;
    color: #000;
    font-size: 16px;
    line-height: 1.5em;
    padding: 4px 12px;
    font-weight: 400;
    border: 2px solid #898989;
    border-radius: 0px;
    font-family: 'Maven Pro', sans-serif;
    outline: none;
    max-width: 100%;
}

.csm-sign-area {
    position: relative;
    max-width: 440px;
    margin: 0 auto;
    margin-bottom: 20px;
}

    .csm-sign-area span.area-indicator {
        border-bottom: 2px dashed #e2a0a6d6;
        display: block;
        width: 100%;
        max-width: calc(100% - 80px);
        margin: 12px auto;
        position: relative;
    }

    .csm-sign-area .sign-area-label {
        text-align: center;
        margin-bottom: 24px;
    }

    .csm-sign-area span.area-indicator:before,
    .csm-sign-area span.area-indicator:after {
        content: '';
        position: absolute;
        border-left: 2px dashed #e2a0a6d6;
        height: 24px;
        top: calc(50% + 2px);
        transform: translateY(-50%);
    }

    .csm-sign-area span.area-indicator:before {
        left: 0px;
    }

    .csm-sign-area span.area-indicator:after {
        right: -1px;
    }

    .csm-sign-area .sign-area-label h5 {
        font-size: 14px;
        font-weight: normal;
        line-height: 1.5;
        display: inline-block;
        margin: 0;
        position: absolute;
        top: -11px;
        left: 50%;
        transform: translateX(-50%);
        background: #fff;
        color: #cc7a81;
    }

.popup-background button.close {
    font-size: 28px;
    font-weight: normal;
    position: absolute;
    right: 6px;
    top: 0px;
    line-height: 1em;
}

.csm-tabber {
    position: relative;
    margin: 16px 0px;
}

button.btn.btn-sign-refresh {
    position: absolute;
    right: 0;
    top: 0;
    border: 1px solid #dee2e6;
    background: #fff;
    outline: none;
    transition: all 0.3s ease;
}

    button.btn.btn-sign-refresh:hover {
        color: #366dbf;
        border-color: #366dbf;
    }

.csm-tabber .cms-nav-tabs {
    border-bottom: 0px solid #dee2e6;
    margin: 0 -16px;
    padding: 0 16px;
    margin-bottom: 10px;
}

    .csm-tabber .cms-nav-tabs > li.nav-item {
        margin-right: 40px;
        padding: 0;
        position: relative;
    }

.cms-nav-tabs .nav-item .nav-link {
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    color: #545454;
    display: block;
    font-family: 'Maven Pro', 'Helvetica Neue', HelveticaNeue, Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    padding: 0 0 12px 0;
    text-transform: uppercase;
    background-color: transparent;
}

.cms-nav-tabs .nav-item.active .nav-link {
    position: relative;
    border-bottom-color: #366dbf;
    color: #366dbf;
}

/* Also style when .active is on the button itself (no Bootstrap JS) */
.cms-nav-tabs .nav-item .nav-link.active {
    border-bottom-color: #366dbf;
    color: #366dbf;
}


.cms-nav-tabs .nav-item .nav-link:hover {
    color: #366dbf;
}

.cms-tab-content {
    padding: 12px;
    width: 100%;
    border: 1px solid #ddd;
    background: #fff;
    line-height: 1.5em;
    letter-spacing: 0.3px;
    color: #444;
}

    /* Hide all panes by default; show only the active one */
    .cms-tab-content .tab-pane {
        display: none;
    }

        .cms-tab-content .tab-pane.active {
            display: block;
        }


.preview-area {
    background: #fff;
    padding: 12px;
    border: 1px solid #a69c9c;
    position: relative;
    max-height: 210px;
    overflow-y: auto;
}

ul.preview-sign-list > li {
    display: block;
    margin: 0;
    margin-bottom: 10px;
}

ul.preview-sign-list li .form-check > input[type='radio'] {
    opacity: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    border: 0;
    position: absolute;
    left: 0;
    margin: 0;
    z-index: 99;
    cursor: pointer;
}

ul.preview-sign-list li .form-check.disabled > input[type='radio'] {
    cursor: not-allowed;
}

ul.preview-sign-list {
    margin: 0;
    padding: 0;
}

    ul.preview-sign-list > li .form-check {
        position: relative;
        padding: 0;
        display: block;
    }

    ul.preview-sign-list > li:last-child {
        margin-bottom: 0;
    }

        ul.preview-sign-list > li:last-child .form-check {
            margin-bottom: 0;
        }

    ul.preview-sign-list > li .form-check span.form-check-label {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px;
        border: 1px solid #ccc;
        border-radius: 6px;
        cursor: pointer;
        font-weight: normal;
        line-height: 1.4em;
        appearance: none;
        transition: all 0.3s ease;
    }

    ul.preview-sign-list > li .form-check.disabled span.form-check-label {
        pointer-events: none;
        cursor: not-allowed;
        background: #eee;
        opacity: 0.5;
    }

    ul.preview-sign-list > li .form-check span.form-check-label span.initail {
        font-size: 18px;
        line-height: 1;
        padding: 8px 16px;
        border-radius: 4px;
        background-color: #eee;
        text-align: center;
        min-width: 120px;
    }

    ul.preview-sign-list > li .form-check span.form-check-label.cedarville {
        font-family: Cedarville-Cursive;
    }

    ul.preview-sign-list > li .form-check span.form-check-label.homemade-apple {
        font-family: HomemadeApple;
    }

    ul.preview-sign-list > li .form-check span.form-check-label.dancingscript {
        font-family: DancingScript-Variable;
    }

    ul.preview-sign-list > li .form-check span.form-check-label.shadows-into {
        font-family: ShadowsIntoLight-Regular;
    }

    ul.preview-sign-list > li .form-check span.form-check-label.reenie-beanie {
        font-family: ReenieBeanie-Regular;
    }

    ul.preview-sign-list > li .form-check span.form-check-label > .text {
        font-size: 32px;
        white-space: nowrap;
    }

    ul.preview-sign-list > li .form-check input:checked + span.form-check-label {
        background: #d7e5fb;
        outline: none;
        border-left: solid #2d58a1db;
        box-shadow: 0 0 3px 1px #4186ec, 0 0 0 1px #2c6ee1c4;
    }

.preview-wrap select {
    outline: none;
    font-size: 16px;
    padding: 2px 6px;
}

    .preview-wrap select option {
        font-size: 16px;
        border-bottom: 1px solid #fff;
    }

.preview-sign {
    background: white;
    font-family: Cedarville-Cursive;
    font-size: 32px;
    line-height: 1em;
    font-weight: normal;
    margin: 0 auto 0 auto;
    min-height: 60px;
}

.preview-wrap select option {
    border-radius: 0;
    font-size: 14px;
    display: block;
    padding: 10px 16px;
}

.csm-tab-caption p.caption-text {
    margin: 0;
    margin-top: 8px;
    font-weight: normal;
    text-align: left;
    line-height: 1.5;
    color: #595959;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 0px;
}

.cms-sign-widget-wrap .form-check label.form-check-label {
    font-weight: normal;
    text-align: left;
    line-height: 1.5;
    color: #595959;
    font-size: 10px;
    font-family: 'Open Sans', sans-serif;
    margin-top: 4px;
}

.csm-signin-modal .modal-content .modal-body {
    padding-bottom: 0;
}

.cms-terms-condition-modal .modal-dialog {
    max-width: 740px;
}

.cms-terms-condition-modal .modal-body {
    max-height: 360px;
    overflow-y: auto;
}

.cms-terms-condition-modal .cms-modal-content {
    color: #595959;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    line-height: 1.5em;
}

.cms-terms-condition-modal .modal-footer button.btn.btn-success {
    background: #130954;
    color: #fff;
    text-transform: uppercase;
    min-width: 60px;
    margin: 0;
    font-family: 'Maven Pro', 'Helvetica Neue', HelveticaNeue, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5em;
    font-weight: 500;
}

.csm-feedback-form textarea#declineFeedback {
    max-width: 100%;
    font-size: 12px;
    padding: 6px 12px;
}

.csm-upload-wrap .preview-sec > h5 {
    color: #545454;
    font-family: 'Maven Pro', 'Helvetica Neue', HelveticaNeue, Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
    margin-bottom: 8px;
}

.csm-upload-wrap .preview-sec .preview-area {
    min-height: 120px;
    border-radius: 3px;
    margin-bottom: 16px;
}

.csm-upload-wrap button.upload-btn {
    background-color: #fff;
    border: 1px solid #a69b9c;
    border-radius: 0;
    margin-bottom: 8px;
    font-family: 'Maven Pro', 'Helvetica Neue', HelveticaNeue, Helvetica, Arial, sans-serif;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 18px;
    text-align: center;
    width: 100%;
    max-width: 240px;
}

.preview-bottom-sec .meta-info {
    color: #666;
    font-size: 11px;
    line-height: 1.4;
}

    .preview-bottom-sec .meta-info > p:last-child {
        margin: 0;
    }

/*-----Footer Section---------*/
.csm-footer {
    background: #eee;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 99;
    border-top: 1px solid #cecece;
    line-height: 34px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 10px;
}

    .csm-footer .footer-logo > img {
        max-width: 110px;
        width: 100%;
    }

    .csm-footer .copyright-text p {
        margin: 0;
    }

    .csm-footer .copyright-text {
        text-align: right;
    }

/*-----End Footer Section---------*/

.csm-input-close-icon {
    position: absolute;
    right: 0px;
    font-size: 16px;
    line-height: 1em;
    text-align: center;
    color: #333;
    opacity: 0.4;
    transition: all 0.3s ease;
    padding: 0;
    width: auto;
    height: auto;
}

    .csm-input-close-icon:hover {
        opacity: 1;
    }

    .csm-input-close-icon i.fa-times {
        padding: 5px 6px;
    }

.csm-check-icon {
    color: #56ca8b;
    z-index: 99;
    position: absolute;
    left: 16px;
    top: 3px;
    font-size: 20px;
    line-height: 1;
}

.juiced-loader {
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background: #2222228a;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 999;
}

    .juiced-loader .loading {
        display: flex;
    }

        .juiced-loader .loading .dot {
            position: relative;
            width: 120px;
            height: 120px;
            margin: 0.8em;
            border-radius: 50%;
            padding: 10px;
            box-shadow: 4px 3px 7px rgb(0 0 0 / 50%);
        }

            .juiced-loader .loading .dot img {
                width: 100%;
                max-width: 100px;
            }

            .juiced-loader .loading .dot::before {
                position: absolute;
                left: 0;
                top: 0;
                content: '';
                width: 100%;
                height: 100%;
                background: inherit;
                border-radius: inherit;
                animation: wave 2s ease-out infinite;
            }

            .juiced-loader .loading .dot:nth-child(1) {
                background: #fff;
            }

                .juiced-loader .loading .dot:nth-child(1)::before {
                    animation-delay: 0.2s;
                }

@keyframes wave {
    50%, 75% {
        transform: scale(1.4);
    }

    80%, 100% {
        opacity: 0;
    }
}

/*------- Error Page Section --------*/

.csm-error-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    font-family: 'Maven Pro', 'Helvetica Neue', HelveticaNeue, Helvetica, Arial, sans-serif;
}

.err-left {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    justify-content: center;
}

    .err-left > img {
        max-width: 320px;
        width: 100%;
    }

.err-title-container {
    margin-bottom: 2em;
}

    .err-title-container > h1 {
        font-size: 4rem;
        line-height: 1em;
        margin: 0;
        color: #130954;
        font-weight: 600;
    }

.csm-error-wrap .container {
    width: 80%;
}

.err-right > img {
    max-width: 490px;
    width: 100%;
}

.err-right {
    text-align: center;
}

.err-title-container > h3 {
    color: #130954;
    font-weight: 600;
    line-height: 1em;
    font-size: 2.1em;
}

.err-left > label {
    display: block;
    color: #dc3545;
    font-size: 1.2em;
    font-weight: 600;
}

.err-info > span {
    display: block;
    color: #dc3545;
    font-size: 1.2em;
    font-weight: 600;
}

/*------- End Error Page Section --------*/

/* ----- Bookmark and Step Progressbar section --------*/

.bookmark-popup {
    position: absolute;
    background: gold;
    visibility: hidden;
    pointer-events: none;
    min-width: 100px;
    min-height: 100px;
    padding: 1rem;
}

    .bookmark-popup.is-active {
        visibility: visible;
        pointer-events: auto;
    }

.stepper-wrapper {
    display: flex;
    justify-content: space-between;
    position: absolute;
    left: 0px;
    right: 0;
    width: calc(100% - 30px);
    top: 0px;
    max-width: 350px;
    margin: auto;
    display: none;
}

    .stepper-wrapper:after {
        content: 'Juiced Progressbar';
        color: #fff;
        font-size: 10px;
        position: absolute;
        bottom: -17px;
        left: calc(50% - 40px);
        right: auto;
        width: auto;
        margin: auto;
    }

.stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

    .stepper-item::before {
        position: absolute;
        content: '';
        border-bottom: 3px solid #ccc;
        width: 100%;
        top: 5px;
        left: 0%;
        z-index: 2;
    }

    .stepper-item::after {
        position: absolute;
        content: '';
        border-bottom: 3px solid #ccc;
        width: 100%;
        top: 5px;
        left: 0%;
        z-index: 2;
    }

    .stepper-item .step-counter {
        position: relative;
        z-index: 5;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #ccc;
        margin-bottom: 0px;
        opacity: 0;
    }

    .stepper-item.active {
        font-weight: bold;
    }

    .stepper-item.completed .step-counter {
        background-color: #36c176;
    }

    .stepper-item.completed::after {
        position: absolute;
        content: '';
        border-bottom: 3px solid #36c176;
        width: 100%;
        top: 5px;
        left: 0%;
        z-index: 3;
    }

    .stepper-item:last-child:after {
        left: 0%;
    }

/* ----- End Bookmark section --------*/

/* -------- Date Picker ------- */

.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
    color: #333;
}

span.span-error {
    color: red;
    position: absolute;
    bottom: -20px;
    white-space: nowrap;
}

/* --------End Date Picker ------- */

/* -------- Access Document Page Styling ------- */

.access-page {
    min-height: 100vh;
    background: #f0f0f08c;
}

.csm-sequrity-card {
    max-width: 440px;
    margin: 40px auto;
    background: #fff;
    border-radius: 8px;
    color: #333;
}

    .csm-sequrity-card h5.card-title {
        font-size: 22px;
        text-transform: uppercase;
        font-weight: 600;
    }

    .csm-sequrity-card p.card-text {
        font-size: 13px;
        color: #333;
        border-bottom: 1px solid #eee;
        padding-bottom: 16px;
        margin-bottom: 16px;
    }

    .csm-sequrity-card .card-body {
        padding: 16px 40px;
    }

    .csm-sequrity-card .card-footer {
        border-top: 1px solid #eee;
        padding: 16px;
    }

.csm-sequrity-form .form-group > label {
    font-weight: normal;
    font-size: 14px;
}

.csm-sequrity-form {
    color: #333;
}

    .csm-sequrity-form .form-group > input {
        width: 100%;
        max-width: 100%;
    }

    .csm-sequrity-form .btn-go {
        color: #fff;
        padding: 8px 24px;
        background: #130954;
    }

/* -------- End Access Document Page Styling ------- */

@media only screen and (max-width: 767px) {
    .csm-header-bar .review-text {
        font-size: 13px;
    }
}

@media only screen and (max-width: 575px) {
    div#MainContent_viewdiv {
        margin-top: 92px;
    }

    .csm-header-bar .review-text {
        display: block;
        text-align: center;
        margin-top: 0;
        margin-bottom: 15px;
    }

    .csm-header-bar .row > div[class*='col-sm-'],
    .csm-footer .row > div[class*='col-sm-'] {
        width: 100%;
        flex: auto;
    }

    .csm-more-actions {
        justify-content: center;
    }

        .csm-more-actions button.btn-sign,
        .csm-more-actions button.btn-continue-sign {
            margin: 0;
        }

    .csm-footer {
        padding-top: 5px;
        padding-bottom: 8px;
        line-height: normal;
    }

        .csm-footer .footer-logo {
            text-align: center;
            margin-bottom: 5px;
        }

        .csm-footer .copyright-text {
            text-align: center;
        }
}

a:link {
    color: yellow;
    background-color: transparent;
    text-decoration: none;
}

a:visited {
    color: pink;
    background-color: transparent;
    text-decoration: none;
}

a:hover {
    color: red;
    background-color: transparent;
    text-decoration: underline;
}

a:active {
    color: orange;
    background-color: transparent;
    text-decoration: underline;
}


/*Responsive for all auth pages - KT 19-June*/
@media screen and (min-width: 1400px) {
}

@media screen and (max-width: 1365px) {
    .jk-msg-outer {
        width: 80%;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
}

@media screen and (min-width: 768px) and (max-width: 991px) {
}

@media screen and (max-width: 991px) {
    .jk-auth-msg h2 {
        font-size: 40px;
    }

    .jk-blog-outer .jk-img-main {
        min-height: 350px;
    }
}

@media screen and (max-width: 767px) {
    .jk-msg-outer {
        width: 100%;
    }

    .jk-auth-msg h2 {
        font-size: 32px;
    }

    .jk-blog-outer .jk-img-main {
        min-height: 250px;
    }

    .jk-blog-outer {
        padding: 10px !important;
    }
}

@media screen and (max-width: 550px) {
    .jk-auth-msg h2 {
        font-size: 28px;
    }

    .jk-auth-msg .jk-subheading, .jk-blog-head {
        font-size: 18px;
    }

    p.jk-blog-cont {
        font-size: 14px;
    }

    .cust-btn {
        font-size: 16px;
    }

    .error-gif {
        width: 90%;
    }
}

@media screen and (max-width: 340px) {
}

/*Main CSS for all auth pages - KT 19-June*/
a {
    text-decoration: none;
}

    a:focus, .btn:focus {
        outline: none;
        outline-offset: 0px;
    }

    a:hover, a:focus {
        text-decoration: none;
    }

.vh-center {
    display: table-cell;
    vertical-align: middle;
}

.vh-bottom {
    display: table-cell;
    vertical-align: bottom;
}

.jk-header {
    padding: 5px 0;
    background: rgb(19, 9, 84, 1.0);
}

.logo-h-fix {
    max-height: 60px;
}

.jk-auth-msg {
    height: calc(100vh - 74px);
    background: #fafafa;
    display: table;
    width: 100%;
    /* padding: 20px 0; */
    font-family: "Poppins", sans-serif;
}

    .jk-auth-msg h2 {
        font-weight: 700;
        font-size: 48px;
        color: rgb(19, 9, 84, 1.0);
    }

        .jk-auth-msg h2.error-title {
            font-size: 58px;
        }

    .jk-auth-msg .jk-subheading {
        font-size: 18px;
        font-weight: 400;
    }

        .jk-auth-msg .jk-subheading.error-subTitle {
            font-size: 30px;
            font-weight: 500;
        }

.jk-center-align {
    text-align: center;
}

.jk-msg-outer {
    width: 70%;
    margin: -30px auto 0;
}

.jk-blog-outer {
    padding: 20px;
    box-shadow: 0 0 5px #999;
    background: #fff;
    border: 1px solid #ddd;
    margin-top: 15px;
    cursor: pointer;
}

    .jk-blog-outer .jk-img-main {
        min-height: 350px;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center bottom 32%;
        box-shadow: 0 0 5px #999;
    }

.jk-img-main img {
    width: 100%;
    box-shadow: 0 0 5px #999;
}

.jk-blog-head {
    font-size: 26px;
    font-weight: 600;
    margin: 10px 0;
}

p.jk-blog-cont {
    font-size: 17px;
    text-align: left;
    color: #242323;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cust-btn {
    background: rgb(13, 22, 55, 1.0) !important;
    color: #fff !important;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 4px 5px #999;
    padding: 6px 45px;
    border-radius: 6px;
    margin-top: 8px;
    display: inline-block;
    position: relative;
    z-index: 999;
    border: 2px solid rgb(13, 22, 55, 1.0);
    transition: all 300ms linear 0s;
    -o-transition: all 300ms linear 0s;
    -moz-transition: all 300ms linear 0s;
    -webkit-transition: all 300ms linear 0s;
}

    .cust-btn:hover {
        background: #eaf2ff !important;
        color: #4b8ac7 !important;
        border-color: #4b8ac7 !important;
    }

.error-box {
    margin: 20px 0;
    padding: 20px;
    background: rgb(253, 237, 235);
    color: rgb(232, 99, 79);
    border-radius: 20px;
    border: 1px solid rgba(230, 79, 55, 0.1);
}

.error-gif {
    width: 350px;
    margin: 20px 0;
    border-radius: 20px;
}

.errorHead {
    font-weight: bold;
    margin-bottom: 10px;
    display: inline-block;
}

textarea.e-input,
.e-float-input textarea,
.e-float-input.e-control-wrapper textarea,
.e-input-group textarea,
.e-input-group.e-control-wrapper textarea {
    resize: none;
}


#continueSignModal .modal-lg {
    max-width: 100%;
    width: 100%;
}

    #continueSignModal .modal-lg .btn:disabled {
        cursor: not-allowed !important;
        pointer-events: auto !important;
    }



.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: dashed;
    border-top: solid \9;
    border-right: solid transparent;
    border-left: solid transparent;
}

.dropup, .dropdown {
    position: relative;
}

.dropdown-toggle:focus {
    outline: 0;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    text-align: left;
    list-style: none;
    background-clip: padding-box;
    border: 1px solid;
}

    .dropdown-menu.pull-right {
        right: 0;
        left: auto;
    }

    .dropdown-menu > li > a {
        display: block;
        padding: 3px 20px;
        clear: both;
        font-weight: 400;
        white-space: nowrap;
    }

        .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
            text-decoration: none;
        }

    .dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
        text-decoration: none;
        outline: 0;
    }

    .dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus {
        text-decoration: none;
        background-color: transparent;
        background-image: none;
    }

.open > .dropdown-menu {
    display: block;
}

.open > a {
    outline: 0;
}

.dropdown-menu-right {
    right: 0;
    left: auto;
}

.dropdown-menu-left {
    right: auto;
    left: 0;
}

.dropdown-header {
    display: block;
    padding: 3px 20px;
    white-space: nowrap;
}

.dropdown-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -10;
}

.pull-right > .dropdown-menu {
    right: 0;
    left: auto;
}

.dropup .caret, .navbar-fixed-bottom .dropdown .caret {
    content: "";
    border-top: 0;
    border-bottom: dashed;
    border-bottom: solid \9;
}

.dropup .dropdown-menu, .navbar-fixed-bottom .dropdown .dropdown-menu {
    top: auto;
    bottom: 100%;
    margin-bottom: 2px;
}


/* =========================================
   Header Styles For Message Landing Pages - RAMESH SINGH - 01/28/2026
   ========================================= */
.landing-header {
    padding: 1.25rem 0;
    position: relative;
    width: 100%;
    z-index: 1000;
}

.landing-logo {
    max-width: 180px;
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   Container & Layout For Message Landing Pages - RAMESH SINGH - 01/28/2026
   ========================================= */
.landing-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.landing-vh-center {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
    padding: 1rem 0;
}

.landing-outer-container {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: calc(100vh - 80px);
    padding: 1rem 0;
}

.landing-msg-outer {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 1rem 1rem;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.jk-center-align h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.jk-subheading {
    font-size: 1.125rem;
    color: #555555;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   Tablet Styles (768px - 1024px)
   ========================================= */
@media screen and (max-width: 1024px) {
    .landing-container {
        max-width: 960px;
    }

    .landing-msg-outer {
        padding: 1.5rem 1.75rem;
    }

    .jk-center-align h2 {
        font-size: 1.875rem;
    }

    .jk-blog-head {
        font-size: 1.25rem;
        margin: 1.25rem 1.25rem 0.875rem;
    }

    .jk-blog-cont {
        margin: 0 1.25rem 1.25rem;
    }

    .cust-btn {
        margin: 0 1.25rem 1.25rem;
    }
}

/* =========================================
   Mobile Landscape & Small Tablet (481px - 767px)
   ========================================= */
@media screen and (max-width: 767px) {
    html {
        font-size: 15px;
    }

    .landing-container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .landing-vh-center {
        min-height: calc(100vh - 70px);
        padding: 1.5rem 0;
    }

    .landing-header {
        padding: 1rem 0;
    }

    .landing-logo {
        max-width: 150px;
    }

    .jk-auth-msg {
        min-height: calc(100vh - 70px);
        padding: 1.5rem 0;
    }

    .landing-msg-outer {
        padding: 2rem 1.5rem;
        border-radius: 10px;
    }

    .jk-center-align h2 {
        font-size: 1.625rem;
        margin-bottom: 0.875rem;
    }

    .jk-subheading {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .jk-blog-head {
        font-size: 1.125rem;
        margin: 1.125rem 1.125rem 0.75rem;
    }

    .jk-blog-cont {
        font-size: 0.9375rem;
        margin: 0 1.125rem 1.125rem;
    }

    .cust-btn {
        padding: 0.75rem 1.75rem;
        font-size: 0.9375rem;
        margin: 0 1.125rem 1.125rem;
    }

    .error-title {
        font-size: 2rem;
    }

    .error-subTitle {
        font-size: 1.125rem;
    }

    .error-gif {
        max-width: 250px;
        margin: 1.5rem auto;
    }

    .error-box {
        padding: 1.25rem;
    }
}

/* =========================================
   Mobile Portrait (320px - 480px)
   ========================================= */
@media screen and (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .landing-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .landing-vh-center {
        min-height: calc(100vh - 60px);
        padding: 1.75rem 0;
    }

    .landing-header {
        padding: 0.875rem 0;
    }

    .landing-logo {
        max-width: 130px;
    }

    .jk-auth-msg {
        min-height: calc(100vh - 60px);
        padding: .25rem 0;
    }

    .landing-msg-outer {
        padding: 1.75rem 0.5rem;
        border-radius: 8px;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    }

    .jk-center-align h2 {
        font-size: 2.5rem !important;
        margin-bottom: 0.75rem;
        line-height: 1.25;
    }

    .jk-subheading {
        font-size: 0.9375rem;
        margin-bottom: 1.75rem;
        line-height: 1.6;
    }

    .jk-blog-outer {
        border-radius: 8px;
        margin-top: 1.5rem;
    }

    .jk-blog-head {
        font-size: 1rem;
        margin: 1rem 1rem 0.625rem;
        line-height: 1.35;
    }

    .jk-blog-cont {
        font-size: 0.875rem;
        margin: 0 1rem 1rem;
        line-height: 1.6;
    }

    .cust-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        margin: 0 1rem 1rem;
        width: calc(100% - 2rem);
        display: block;
    }

    .error-title {
        font-size: 1.75rem;
    }

    .error-subTitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .error-gif {
        max-width: 220px;
        margin: 1.25rem auto;
    }

    .error-box {
        padding: 1rem;
        margin-top: 1.5rem;
    }

    .err-text {
        font-size: 0.9375rem;
    }

    .errorHead {
        font-size: 1rem;
        margin-bottom: 0.625rem;
    }
}

/* =========================================
   Extra Small Mobile (max-width: 374px)
   ========================================= */
@media screen and (max-width: 374px) {
    html {
        font-size: 13px;
    }

    .landing-msg-outer {
        padding: 1.5rem 1rem;
    }

    .jk-center-align h2 {
        font-size: 1.375rem;
    }

    .jk-subheading {
        font-size: 0.875rem;
    }

    .landing-logo {
        max-width: 110px;
    }

    .error-gif {
        max-width: 180px;
    }
}

/* =========================================
   Large Desktop (min-width: 1441px)
   ========================================= */
@media screen and (min-width: 1441px) {
    .landing-container {
        max-width: 1400px;
    }

    .landing-msg-outer {
        max-width: 900px;
        padding: 1.5rem 1.5rem;
    }

    .jk-center-align h2 {
        font-size: 2.25rem;
    }

    .jk-subheading {
        font-size: 1.25rem;
    }
}

/* =========================================
   Safari-Specific Fixes
   ========================================= */
@supports (-webkit-appearance: none) {
    .jk-blog-outer {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .cust-btn {
        -webkit-appearance: none;
        appearance: none;
    }
}

/* =========================================
   iOS Safari Specific Fixes
   ========================================= */
@supports (-webkit-touch-callout: none) {
    body {
        -webkit-text-size-adjust: 100%;
    }

    .landing-vh-center {
        min-height: -webkit-fill-available;
    }

    .jk-auth-msg {
        min-height: -webkit-fill-available;
    }
}
