﻿@font-face {
    font-family: 'Noto Sans';
    font-style: normal;
    src: url('../fonts/NotoSans-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Noto Serif';
    font-style: normal;
    src: url('../fonts/NotoSerif-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'PT Mono';
    font-style: normal;
    src: url('../fonts/PTMono-Regular.ttf') format('truetype');
}

/* ---------------------------------- PDF Editor ------------------------------- */


@media (max-width:767px) {
    /*html, body {
        touch-action: none pinch-zoom;
    }*/


    /*ul#doc-pages-list {
        touch-action: auto pinch-zoom;
    }*/
}

.editor-main.modal-open {
    max-height: inherit;
}

.editor-main .main-wrapper {
    min-height: calc(100vh - 196.4px);
}

.mobile-view .editor-container {
    position: fixed;
}

.editor-container {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    background: transparent;
    /*min-width: 210mm;*/
    max-width: 1140px;
    /*display: flex;
    flex-grow: 1;
    flex-direction: column;*/
    /*box-shadow: 0 0 1.25rem rgba(31, 45, 61, 0.05);*/
    margin-bottom: 20px;
    border-radius: 4px;
    /*box-shadow: 0 0 13px 0 rgba(82,63,105,.1);
    border: 1px solid var(--light) !important;*/
}

    .editor-container .editor-container-header {
        display: flex;
        align-items: stretch;
        justify-content: space-between;
        position: relative;
        padding: 15px 25px;
        border-bottom: 1px solid #ebedf2;
        min-height: 60px;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
        transition: height .3s;
        background: var(--primary);
        color: #fff;
        box-shadow: 0 0 13px 0 rgba(82,63,105,.1);
        border: 1px solid var(--light) !important;
    }

        .editor-container .editor-container-header.eh-fixed {
            position: fixed;
            top: 0;
            /*width: 100%;*/
            z-index: 1030;
        }

        .editor-container .editor-container-header .editor-head-label {
            display: flex;
            align-items: center;
            align-content: flex-start;
        }

        .editor-container .editor-container-header .btn-back {
            font-size: 45px !important;
            line-height: 50px !important;
            margin-right: 10px;
        }

        .editor-container .editor-container-header.v2 {
            padding: 0 !important;
            border: none !important;
            border-radius: 6px;
        }

            .editor-container .editor-container-header.v2 .btn-back,
            .editor-container .editor-container-header.v2 .btn-back-to-template {
                margin-right: 7px;
                height: 100%;
                padding: 15px;
                padding-left: 20px;
                width: 60px;
            }

        .editor-container .editor-container-header .editor-head-title {
            margin: 0;
            padding: 0;
            font-size: 1.2rem;
            font-weight: 500;
            color: #fff;
        }

        .editor-container .editor-container-header .editor-head-toolbar {
            display: flex;
            align-items: center;
            align-content: flex-end;
        }

        .editor-container .editor-container-header .editor-head-toolbar-left {
            display: flex;
            align-items: center;
            align-content: flex-start;
        }

        .editor-container .editor-container-header .editor-head-wrapper {
            display: flex;
            align-items: center;
            height: 100%;
        }

            .editor-container .editor-container-header .editor-head-wrapper .dropdown {
                height: 100%;
            }

.file-edit-lock-container {
    position: fixed;
    bottom: 0px;
    width: 100%;
    z-index: 2;
    padding: 0;
    margin: 0;
}

    .file-edit-lock-container .alert {
        display: block;
        margin: 0;
        padding: 2px;
        border-radius: 0;
        text-align: center;
    }

        .file-edit-lock-container .alert a {
            color: white;
            text-decoration: underline;
        }
/*
    MOBILE VIEW MENU
*/
.mobile-view .order-sm-1 {
    -ms-flex-order: 1 !important;
    order: 1 !important;
}

.mobile-view .order-sm-2 {
    -ms-flex-order: 2 !important;
    order: 2 !important;
}

.mobile-view .order-sm-3 {
    -ms-flex-order: 3 !important;
    order: 3 !important;
}

.mobile-view .order-sm-4 {
    -ms-flex-order: 4 !important;
    order: 4 !important;
}

.mobile-view .order-sm-5 {
    -ms-flex-order: 5 !important;
    order: 5 !important;
}

.mobile-view .order-sm-6 {
    -ms-flex-order: 6 !important;
    order: 6 !important;
}

.mobile-view .order-sm-7 {
    -ms-flex-order: 7 !important;
    order: 7 !important;
}

.mobile-view .order-sm-8 {
    -ms-flex-order: 8 !important;
    order: 8 !important;
}

.mobile-view .order-sm-9 {
    -ms-flex-order: 9 !important;
    order: 9 !important;
}

.mobile-view .order-sm-10 {
    -ms-flex-order: 10 !important;
    order: 10 !important;
}

.mobile-view .order-sm-11 {
    -ms-flex-order: 11 !important;
    order: 11 !important;
}

.mobile-view .order-sm-12 {
    -ms-flex-order: 12 !important;
    order: 12 !important;
}

.mobile-view .editor-container .editor-container-body > .add-field-tooltip {
    font-size: 10px;
    line-height: 12px;
}

/*.mobile-view section.slice:first-child {
    padding: 2rem 0 .5rem !important;
}

    .mobile-view section.slice:first-child .row.align-items-center {
        margin-bottom: 0 !important;
    }
*/
/*.mobile-view .editor-container .editor-container-header .editor-head-toolbar {
    position: fixed;
    z-index: 990;
    top: 85px;
    left: -92px;
    transition: left .5s ease-in-out;
}*/

.mobile-view .editor-container .editor-container-header.eh-fixed .editor-head-toolbar {
    top: 55px;
}

.mobile-view .editor-container .editor-container-header .editor-head-toolbar.show {
    left: 0;
}

.mobile-view .editor-container .editor-container-header .editor-head-title {
    font-size: 14px;
    line-height: 18px;
}

.mobile-view .editor-container .editor-container-header.v2 .btn-back {
    padding: 5px;
    width: 35px;
    margin-right: 5px;
    font-size: 30px !important;
    line-height: 35px !important;
}

.mobile-view .editor-container .editor-container-header {
    min-height: 50px;
    border-radius: 0;
}
    /*
    .mobile-view .editor-container .editor-container-header .editor-head-toolbar .editor-head-wrapper {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
    }
*/
    .mobile-view .editor-container .editor-container-header.v2 .btn-editor-tools {
        width: 90px;
        border-radius: 0 !important;
        font-size: 12px;
        line-height: 16px;
        padding: 15px 10px;
        text-align: left;
        border-top: 1px solid var(--secondary-light);
    }

        .mobile-view .editor-container .editor-container-header.v2 .btn-editor-tools:last-child {
            padding-right: 10px;
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
        }

    .mobile-view .editor-container .editor-container-header.v2 .editor-head-wrapper .dropdown:first-child .btn-editor-tools {
        border-top: none;
    }

    .mobile-view .editor-container .editor-container-header.v2 .editor-head-wrapper .dropdown .btn.btn-editor-tools.dropdown-toggle::after {
        transform: rotate( 180deg );
    }

.mobile-view .editor-tools-nav .editor-tools-nav__section {
    padding: 0 .75rem;
}

.mobile-view .editor-tools-nav .editor-tools-nav__item > .editor-tools-nav__link {
    padding: .35rem 1rem;
}

.mobile-view .editor-container .editor-container-header .editor-head-wrapper .dropdown-menu {
    min-width: 150px;
}

.mobile-view .editor-tools-nav .editor-tools-nav__custom a.editor-tools-btn {
    padding: .4rem .75rem;
}

.mobile-view .editor-tools-nav .editor-tools-nav__item > .editor-tools-nav__link .editor-tools-nav__link-text {
    font-size: .7rem;
}

.mobile-view .editor-container .editor-container-header .editor-head-toolbar a.btn-toggle-menu {
    position: absolute;
    top: 0;
    right: -39px;
    padding: .2rem .5rem;
    font-size: 20px;
    line-height: 25px;
    border-radius: 0;
}

    .mobile-view .editor-container .editor-container-header .editor-head-toolbar a.btn-toggle-menu > i {
        font-size: 20px;
        line-height: 25px;
    }

/*
    SHARED DOCS FOR SIGNING
*/

.mobile-view a.btn-next-field {
    padding: 7px 10px;
    font-size: 12px;
    line-height: 16px;
}

    .mobile-view a.btn-next-field::after {
        border: 16px solid var(--secondary);
        border-right: none;
        border-top-color: transparent;
        border-bottom-color: transparent;
        right: -17px;
    }

.mobile-view .editor-container.s-docs .editor-container-header .editor-head-toolbar {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
}

.mobile-view .editor-container.s-docs .editor-container-header.eh-fixed .editor-head-toolbar {
    top: 50px;
}

.mobile-view .editor-container.s-docs .editor-container-header .editor-head-toolbar .editor-head-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.mobile-view .editor-container.s-docs .editor-container-header.v2 .btn-done-signing {
    width: 100%;
    text-align: center;
}



/*
    FIELD MENU BAR
*/

.mobile-view .editor-container .editor-container-header .header-sub-menu-container {
    position: initial;
    margin-top: 0px;
    max-height: initial;
    height: auto !important;
    background: #eee;
    padding: 6px;
    padding-bottom: 0px;
}
    /*
    .mobile-view .editor-container .editor-container-header .header-sub-menu-container.show {
        padding: 7px 10px;
        max-height: 110px;
    }
*/
    .mobile-view .editor-container .editor-container-header .header-sub-menu-container .editor-sub-toolsbar {
        flex-wrap: inherit !important;
        align-content: flex-start;
        display: inline-block !important;
        justify-content: flex-start;
        height: auto;
        flex-direction: column;
        overflow-x: scroll;
        align-items: center;
        overflow-y: hidden;
        width: 100%;
        text-align: left;
    }

        /*.mobile-view .editor-container .editor-container-header .header-sub-menu-container .editor-sub-toolsbar {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: flex-start;
        justify-content: center;
        height: auto;
    }*/

        .mobile-view .editor-container .editor-container-header .header-sub-menu-container .editor-sub-toolsbar .btn-group {
            height: 30px;
            max-height: 30px;
            margin: 1px;
        }

        .mobile-view .editor-container .editor-container-header .header-sub-menu-container .editor-sub-toolsbar .btn-field-tool {
            padding: 7px 10px;
            font-size: 12px;
            line-height: 16px;
            clear: both;
        }

        .mobile-view .editor-container .editor-container-header .header-sub-menu-container .editor-sub-toolsbar .dropdown-menu {
            min-width: 178px;
            max-height: 90px;
        }

        .mobile-view .editor-container .editor-container-header .header-sub-menu-container .editor-sub-toolsbar .btn-group a.dropdown-item {
            font-size: 11px;
            line-height: 15px;
        }

.editor-container .editor-container-header .btn.btn-zoom {
    position: initial;
    display: none !important;
    padding: 15px 10px;
    background: var(--secondary);
    font-size: 16px;
    /* line-height: 18px; */
    /* height: 50px; */
    cursor: pointer;
    border-radius: 5px;
}

    .editor-container .editor-container-header .btn.btn-zoom > i {
        font-size: 20px;
        line-height: 20px;
        color: #fff;
        z-index: -1
    }

.mobile-view .editor-container .editor-container-header .btn.btn-zoom {
    display: none !important;
    margin-left: 0px;
    height: 32px;
}

/*
    SETTINGS MODAL
*/

.mobile-view .field-adv-settings-modal {
    top: 5px;
    width: 250px;
    left: calc((100% - 250px) / 2);
}

    .mobile-view .field-adv-settings-modal .modal-dialog {
        width: 250px;
    }

    .mobile-view .field-adv-settings-modal .modal-header {
        padding: 10px;
    }

        .mobile-view .field-adv-settings-modal .modal-header .modal-title {
            font-size: 18px;
            line-height: 22px;
        }

        .mobile-view .field-adv-settings-modal .modal-header a.btn-close {
            padding: 1rem;
        }

    .mobile-view .field-adv-settings-modal .modal-header, .field-adv-settings-modal .modal-body {
        padding: 10px;
    }

    .mobile-view .field-adv-settings-modal .modal-body .form-group .form-control-label {
        width: 70px;
        padding: 5px;
        padding-right: 15px;
        font-size: 13px;
        line-height: 15px;
        height: 25px;
    }

    .mobile-view .field-adv-settings-modal .modal-body .form-group .form-control {
        width: calc(100% - 80px);
        padding: 5px 10px;
        font-size: 13px;
        line-height: 15px;
        height: 25px;
    }


/*
    END MOBILE VIEW MENU
*/

.editor-container .editor-container-body {
    display: flex;
    flex-direction: column;
    padding: 45px 0;
    border-radius: 4px;
}

    .editor-container .editor-container-body > .add-field-tooltip {
        position: absolute;
        display: none;
        opacity: .9;
        background: var(--secondary-label-light-color);
        -webkit-box-shadow: 0 0 0 2px rgba(255,119,0,.35);
        -moz-box-shadow: 0 0 0 2px rgba(255,119,0,.35);
        box-shadow: 0 0 0 2px rgba(255,119,0,.35);
        color: #000;
        text-align: center;
        font-size: 9px;
        line-height: 100%;
        padding: 0 5px;
        border: 1px solid var(--secondary-light);
        border-radius: 4px;
        z-index: 90;
    }

    .editor-container .editor-container-body .doc-pages-list {
        padding: 0 !important;
    }

        .editor-container .editor-container-body .doc-pages-list > .doc-page-item {
            /*padding: 15px 0 !important;*/
            /*margin-bottom: 20px;*/
            /*border-bottom: 1px solid var(--light-dark);*/
            /*box-shadow: 0 0 13px 0 rgba(82,63,105,.1);
                border: 1px solid var(--light) !important;
                box-shadow: 0 0 13px 0 rgba(82,63,105,.1);
                border: 1px solid var(--light) !important;
                box-shadow: 0 0 1.25rem rgba(31, 45, 61, 0.05);*/
            position: relative;
            display: block;
            width: 100%;
            height: 1266.35px;
            /*height: 1266.35px;*/
        }

            .editor-container .editor-container-body .doc-pages-list > .doc-page-item > .page-preloader,
            .editor-container .editor-container-body .doc-pages-list > .doc-page-item .doc-page .img-preloader {
                position: absolute;
                background: #fff;
                width: calc(100% - 30px);
                height: calc(100% - 30px);
                margin: 15px;
                opacity: 1;
                transition: opacity .5s ease;
                overflow: hidden;
                pointer-events: none;
                display: flex;
                align-items: flex-start;
                justify-content: center;
                border: 1px solid var(--primary-label-light-color);
            }

            .editor-container .editor-container-body .doc-pages-list > .doc-page-item .doc-page .img-preloader {
                width: 100%;
                margin: 0;
                border: none;
            }

            /*.editor-container-1*/
            .editor-container .editor-container-body .doc-pages-list > .doc-page-item .doc-page-container {
                position: relative;
                display: flex;
                -ms-flex-wrap: wrap;
                flex-wrap: wrap;
                /*margin-right: -15px;
                    margin-left: -15px;*/
                -ms-flex-pack: center !important;
                justify-content: center !important;
                /*width: 1110px;
                    height: 1266.35px;*/
                left: 50%;
                top: 50%;
                -ms-transform: translate(-50%, -50%);
                -webkit-transform: translate(-50%, -50%);
                transform: translate(-50%, -50%);
                -ms-transform-origin: center center;
                -webkit-transform-origin: center center;
                transform-origin: center center;
                /*transform: translate(-50%, -50%) scale(1);*/
                /*border: 1px dashed rgb(181, 181, 181);*/
            }

                .editor-container .editor-container-body .doc-pages-list > .doc-page-item .doc-page-container .doc-page-body {
                    position: relative;
                    width: 100%; /*calc(979px + 30px) !important;*/ /* calc(210mm + 30px) !important;*/
                    /*padding-right: 15px;
                    padding-left: 15px;*/
                    /*-ms-flex: 0 0 100%;
                        flex: 0 0 100%;*/
                    max-width: 100%;
                    /*box-shadow: 0 0 13px 0 rgba(82,63,105,.1);
                    border: 1px solid var(--light) !important;
                    box-shadow: 0 0 13px 0 rgba(82,63,105,.1);
                    border: 1px solid var(--light) !important;
                    box-shadow: 0 0 1.25rem rgba(31,45,61,.05);*/
                    z-index: 3; /*For set parent of canvas over it*/
                }

                    .editor-container .editor-container-body .doc-pages-list > .doc-page-item .doc-page-container .doc-page-body .ui-droppable .document-main-image {
                        box-shadow: 0 0 1.25rem rgba(31,45,61,.05);
                        border: 1px dashed rgb(181, 181, 181);
                    }

                    .editor-container .editor-container-body .doc-pages-list > .doc-page-item .doc-page-container .doc-page-body > div {
                        position: relative;
                        width: 100%;
                        display: flex;
                        height: 100%;
                    }

                    .editor-container .editor-container-body .doc-pages-list > .doc-page-item .doc-page-container .doc-page-body div.editor-field-horizontal-bar {
                        border-top: 1px dashed #7d7d7d;
                        z-index: 11111;
                        position: absolute;
                        width: 100%;
                        height: 1px;
                        display: none;
                    }

                    .editor-container .editor-container-body .doc-pages-list > .doc-page-item .doc-page-container .doc-page-body div.editor-field-vertical-bar {
                        border-left: 1px dashed #7d7d7d;
                        position: absolute;
                        height: 100vh;
                        z-index: 11111;
                        WIDTH: AUTO;
                        display: none;
                    }



            .editor-container .editor-container-body .doc-pages-list > .doc-page-item .doc-page-body > div > img.ecpb-1 {
                position: absolute !important;
                width: 100%;
                height: auto;
                z-index: -5 !important;
            }

            .editor-container .editor-container-body .doc-pages-list > .doc-page-item .doc-page-body > div > canvas,
            .editor-container .editor-container-body .doc-pages-list > .doc-page-item .doc-page-body > div > div.ecpb-2 {
                position: absolute;
                width: 100%;
                height: 100%;
                left: 0;
                z-index: -1;
            }

                .editor-container .editor-container-body .doc-pages-list > .doc-page-item .doc-page-body > div > canvas:first-child {
                    z-index: 1 !important;
                    z-index: -3 !important; /*For set canvas to background of parent div[data-page-url]*/
                }

                .editor-container .editor-container-body .doc-pages-list > .doc-page-item .doc-page-body > div > canvas:last-child,
                .editor-container .editor-container-body .doc-pages-list > .doc-page-item .doc-page-body > div > div.ecpb-2 {
                    /*z-index: 3 !important;*/
                    z-index: -1 !important; /*For set canvas to background of parent div[data-page-url]*/
                }

/*---------------------------------------------EDITOR NAV TOOLS--------------------------------------------*/

.btn.btn-editor-tools {
    color: #fff;
    background-color: var(--secondary); /*#840ad9;*/
    border-color: var(--secondary-dark); /*#7c0acd;*/
    border-radius: 0;
    padding: 12px 15px;
    box-shadow: 0 4px 16px 0 rgba(255,119,0,.15);
    box-shadow: none;
}

.editor-container .editor-container-header.v2 .btn-editor-tools {
    padding: 25px 12px;
    height: 100% !important;
    border: none;
    line-height: 26.8px;
    color: var(--primary-dark);
    /*color: #000000;*/
}

    .editor-container .editor-container-header.v2 .btn-editor-tools:last-child {
        /*padding: 25px 35px;*/
        padding-right: 40px;
        border-top-right-radius: 6px;
        border-bottom-right-radius: 6px;
    }

.btn.btn-editor-tools:hover {
    background-color: var(--secondary-dark);
    /*box-shadow: 0 9px 16px 0 rgba(255,119,0,.25) !important;*/
}

.btn.btn-editor-tools.dropdown-toggle::after {
    text-align: center;
    font-size: 0.6rem;
    vertical-align: middle;
    position: relative;
    margin-left: 0.5rem;
    opacity: 0.7;
    font-family: Flaticon2;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    text-rendering: optimizelegibility;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    content: "";
    transform: rotate(-90deg);
    border-width: 0px;
    border-style: initial;
    border-color: initial;
    border-image: initial;
    font-variant: normal;
    text-decoration: inherit;
}

.editor-tools-nav {
    display: block;
    padding: 0.5rem 0;
    margin: 0;
    list-style: none;
    border: 0;
}

    .editor-tools-nav .editor-tools-nav__item {
        display: block;
    }

        .editor-tools-nav .editor-tools-nav__item > .editor-tools-nav__link {
            display: flex;
            flex-grow: 1;
            align-items: center;
            padding: 0.55rem 1.75rem;
            cursor: pointer;
            transition: all 0.3s;
        }

            .editor-tools-nav .editor-tools-nav__item > .editor-tools-nav__link .editor-tools-nav__link-text {
                flex-grow: 1;
                font-size: .8rem;
                color: #595d6e;
                font-weight: 400;
            }

            .editor-tools-nav .editor-tools-nav__item > .editor-tools-nav__link .editor-tools-nav__link-icon {
                flex: 0 0 30px;
                font-size: 1.25rem;
                line-height: 0;
                color: #a2a5b9;
            }

                .editor-tools-nav .editor-tools-nav__item > .editor-tools-nav__link .editor-tools-nav__link-icon:before {
                    line-height: 0;
                }

                .editor-tools-nav .editor-tools-nav__item > .editor-tools-nav__link .editor-tools-nav__link-icon g [fill] {
                    transition: fill 0.3s ease;
                    fill: #a2a5b9;
                }

                .editor-tools-nav .editor-tools-nav__item > .editor-tools-nav__link .editor-tools-nav__link-icon:hover g [fill] {
                    transition: fill 0.3s ease;
                }

            .editor-tools-nav .editor-tools-nav__item > .editor-tools-nav__link .editor-tools-nav__link-bullet {
                text-align: center;
                flex: 0 0 10px;
                margin-right: 10px;
            }

                .editor-tools-nav .editor-tools-nav__item > .editor-tools-nav__link .editor-tools-nav__link-bullet > span {
                    vertical-align: middle;
                    display: inline-block;
                }

                .editor-tools-nav .editor-tools-nav__item > .editor-tools-nav__link .editor-tools-nav__link-bullet.editor-tools-nav__link-bullet--dot > span {
                    width: 4px;
                    height: 4px;
                    border-radius: 100%;
                }

                .editor-tools-nav .editor-tools-nav__item > .editor-tools-nav__link .editor-tools-nav__link-bullet.editor-tools-nav__link-bullet--line > span {
                    width: 8px;
                    height: 2px;
                    border-radius: 2px;
                }

                .editor-tools-nav .editor-tools-nav__item > .editor-tools-nav__link .editor-tools-nav__link-bullet.editor-tools-nav__link-bullet--line > span, .editor-tools-nav .editor-tools-nav__item > .editor-tools-nav__link .editor-tools-nav__link-bullet.editor-tools-nav__link-bullet--dot > span {
                    background-color: #a2a5b9;
                }

            .editor-tools-nav .editor-tools-nav__item > .editor-tools-nav__link .editor-tools-nav__link-badge {
                padding: 0px 0px 0px 5px;
            }

            .editor-tools-nav .editor-tools-nav__item > .editor-tools-nav__link .editor-tools-nav__link-arrow {
                text-align: right;
                flex: 0 0 20px;
                font-size: 0.8rem;
                color: #74788d;
                font-family: "LineAwesome";
                text-decoration: inherit;
                text-rendering: optimizeLegibility;
                text-transform: none;
                -moz-osx-font-smoothing: grayscale;
                -webkit-font-smoothing: antialiased;
                font-smoothing: antialiased;
            }

                .editor-tools-nav .editor-tools-nav__item > .editor-tools-nav__link .editor-tools-nav__link-arrow:before {
                    content: "";
                }

                .editor-tools-nav .editor-tools-nav__item > .editor-tools-nav__link .editor-tools-nav__link-arrow:before {
                    display: inline-block;
                    transition: all 0.3s ease;
                }

            .editor-tools-nav .editor-tools-nav__item > .editor-tools-nav__link.collapsed .editor-tools-nav__link-arrow {
                font-family: "LineAwesome";
                text-decoration: inherit;
                text-rendering: optimizeLegibility;
                text-transform: none;
                -moz-osx-font-smoothing: grayscale;
                -webkit-font-smoothing: antialiased;
                font-smoothing: antialiased;
            }

                .editor-tools-nav .editor-tools-nav__item > .editor-tools-nav__link.collapsed .editor-tools-nav__link-arrow:before {
                    content: "";
                }

                .editor-tools-nav .editor-tools-nav__item > .editor-tools-nav__link.collapsed .editor-tools-nav__link-arrow:before {
                    transition: all 0.3s ease;
                }

        .editor-tools-nav .editor-tools-nav__item > .editor-tools-nav__sub {
            padding: 0;
            margin: 0;
        }

            .editor-tools-nav .editor-tools-nav__item > .editor-tools-nav__sub .editor-tools-nav__item > .editor-tools-nav__link {
                padding: 0.5rem 1.5rem 0.5rem 2.5rem;
            }

        .editor-tools-nav .editor-tools-nav__item.editor-tools-nav__item--last {
            padding-bottom: 0;
        }

        .editor-tools-nav .editor-tools-nav__item.active > .editor-tools-nav__link, .editor-tools-nav .editor-tools-nav__item:hover:not(.editor-tools-nav__item--disabled):not(.editor-tools-nav__item--sub) > .editor-tools-nav__link {
            background-color: #f7f8fa;
            transition: all 0.3s;
        }

            .editor-tools-nav .editor-tools-nav__item.active > .editor-tools-nav__link .editor-tools-nav__link-icon,
            .editor-tools-nav .editor-tools-nav__item.active > .editor-tools-nav__link .editor-tools-nav__link-text,
            .editor-tools-nav .editor-tools-nav__item.active > .editor-tools-nav__link .editor-tools-nav__link-arrow, .editor-tools-nav .editor-tools-nav__item:hover:not(.editor-tools-nav__item--disabled):not(.editor-tools-nav__item--sub) > .editor-tools-nav__link .editor-tools-nav__link-icon,
            .editor-tools-nav .editor-tools-nav__item:hover:not(.editor-tools-nav__item--disabled):not(.editor-tools-nav__item--sub) > .editor-tools-nav__link .editor-tools-nav__link-text,
            .editor-tools-nav .editor-tools-nav__item:hover:not(.editor-tools-nav__item--disabled):not(.editor-tools-nav__item--sub) > .editor-tools-nav__link .editor-tools-nav__link-arrow {
                color: #3699ff;
            }

                .editor-tools-nav .editor-tools-nav__item.active > .editor-tools-nav__link .editor-tools-nav__link-icon g [fill], .editor-tools-nav .editor-tools-nav__item:hover:not(.editor-tools-nav__item--disabled):not(.editor-tools-nav__item--sub) > .editor-tools-nav__link .editor-tools-nav__link-icon g [fill] {
                    transition: fill 0.3s ease;
                    fill: #3699ff;
                }

                .editor-tools-nav .editor-tools-nav__item.active > .editor-tools-nav__link .editor-tools-nav__link-icon:hover g [fill], .editor-tools-nav .editor-tools-nav__item:hover:not(.editor-tools-nav__item--disabled):not(.editor-tools-nav__item--sub) > .editor-tools-nav__link .editor-tools-nav__link-icon:hover g [fill] {
                    transition: fill 0.3s ease;
                }

            .editor-tools-nav .editor-tools-nav__item.active > .editor-tools-nav__link .editor-tools-nav__link-bullet.editor-tools-nav__link-bullet--line > span, .editor-tools-nav .editor-tools-nav__item.active > .editor-tools-nav__link .editor-tools-nav__link-bullet.editor-tools-nav__link-bullet--dot > span, .editor-tools-nav .editor-tools-nav__item:hover:not(.editor-tools-nav__item--disabled):not(.editor-tools-nav__item--sub) > .editor-tools-nav__link .editor-tools-nav__link-bullet.editor-tools-nav__link-bullet--line > span, .editor-tools-nav .editor-tools-nav__item:hover:not(.editor-tools-nav__item--disabled):not(.editor-tools-nav__item--sub) > .editor-tools-nav__link .editor-tools-nav__link-bullet.editor-tools-nav__link-bullet--dot > span {
                background-color: #3699ff;
            }

        .editor-tools-nav .editor-tools-nav__item:hover:not(.editor-tools-nav__item--disabled).editor-tools-nav__item--sub > .editor-tools-nav__link.collapsed {
            background-color: #f7f8fa;
            transition: all 0.3s;
        }

            .editor-tools-nav .editor-tools-nav__item:hover:not(.editor-tools-nav__item--disabled).editor-tools-nav__item--sub > .editor-tools-nav__link.collapsed .editor-tools-nav__link-icon,
            .editor-tools-nav .editor-tools-nav__item:hover:not(.editor-tools-nav__item--disabled).editor-tools-nav__item--sub > .editor-tools-nav__link.collapsed .editor-tools-nav__link-text,
            .editor-tools-nav .editor-tools-nav__item:hover:not(.editor-tools-nav__item--disabled).editor-tools-nav__item--sub > .editor-tools-nav__link.collapsed .editor-tools-nav__link-arrow {
                color: #3699ff;
            }

            .editor-tools-nav .editor-tools-nav__item:hover:not(.editor-tools-nav__item--disabled).editor-tools-nav__item--sub > .editor-tools-nav__link.collapsed .editor-tools-nav__link-bullet.editor-tools-nav__link-bullet--line > span, .editor-tools-nav .editor-tools-nav__item:hover:not(.editor-tools-nav__item--disabled).editor-tools-nav__item--sub > .editor-tools-nav__link.collapsed .editor-tools-nav__link-bullet.editor-tools-nav__link-bullet--dot > span {
                background-color: #3699ff;
            }

        .editor-tools-nav .editor-tools-nav__item.editor-tools-nav__item--disabled {
            opacity: 0.6;
        }

    .editor-tools-nav .editor-tools-nav__custom {
        display: flex;
        padding: 0.55rem 1.75rem;
        align-items: center;
    }

    .editor-tools-nav .editor-tools-nav__section {
        margin-top: 1rem;
        padding: 0 1.75rem;
    }

        .editor-tools-nav .editor-tools-nav__section .editor-tools-nav__section-icon {
            color: #a2a5b9;
        }

        .editor-tools-nav .editor-tools-nav__section.editor-tools-nav__section--first {
            margin-top: 0;
        }

        .editor-tools-nav .editor-tools-nav__section .editor-tools-nav__section-text {
            color: var(--secondary);
            font-weight: 600;
            font-size: 0.8rem;
            text-transform: uppercase;
        }

    .editor-tools-nav .editor-tools-nav__separator {
        margin: 0.7rem 0;
        height: 0;
        display: block;
        border-bottom: 1px solid #ebedf2;
    }

        .editor-tools-nav .editor-tools-nav__separator.editor-tools-nav__separator--dashed {
            border-bottom: 1px dashed #ebedf2;
        }

    .editor-tools-nav .editor-tools-nav__space {
        margin: 0.7rem 0;
    }

    .editor-tools-nav .editor-tools-nav__head,
    .editor-tools-nav .editor-tools-nav__foot {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 1rem;
        color: #595d6e;
        font-weight: 500;
        padding: 0.55rem 1.75rem;
    }

        .editor-tools-nav .editor-tools-nav__head > i,
        .editor-tools-nav .editor-tools-nav__foot > i {
            font-size: 1.2rem;
            color: #74788d;
        }

    .editor-tools-nav .editor-tools-nav__head {
        font-size: 1.1rem;
    }

    .editor-tools-nav.editor-tools-nav--fit {
        padding: 0;
    }

        .editor-tools-nav.editor-tools-nav--fit .editor-tools-nav__item > .editor-tools-nav__link {
            padding-left: 0;
            padding-right: 0;
        }

    .editor-tools-nav.editor-tools-nav--fit-ver {
        padding: 0;
    }

    .editor-tools-nav.editor-tools-nav--lg-space .editor-tools-nav__item {
        margin: 0.35rem 0;
    }

        .editor-tools-nav.editor-tools-nav--lg-space .editor-tools-nav__item .editor-tools-nav__link {
            padding-top: 1.5rem;
            padding-bottom: 1.5rem;
        }

        .editor-tools-nav.editor-tools-nav--lg-space .editor-tools-nav__item:first-child {
            margin-top: 0;
        }

        .editor-tools-nav.editor-tools-nav--lg-space .editor-tools-nav__item:last-child {
            margin-bottom: 0;
        }

    .editor-tools-nav.editor-tools-nav--md-space .editor-tools-nav__item {
        margin: 0.25rem 0;
    }

        .editor-tools-nav.editor-tools-nav--md-space .editor-tools-nav__item .editor-tools-nav__link {
            padding-top: 0.75rem;
            padding-bottom: 0.75rem;
        }

        .editor-tools-nav.editor-tools-nav--md-space .editor-tools-nav__item:first-child {
            margin-top: 0;
        }

        .editor-tools-nav.editor-tools-nav--md-space .editor-tools-nav__item:last-child {
            margin-bottom: 0;
        }

    .editor-tools-nav.editor-tools-nav--bold .editor-tools-nav__item .editor-tools-nav__link .editor-tools-nav__link-text {
        font-weight: 500;
    }

    .editor-tools-nav.editor-tools-nav--bolder .editor-tools-nav__item .editor-tools-nav__link .editor-tools-nav__link-text {
        font-weight: 600;
    }

    .editor-tools-nav.editor-tools-nav--thin .editor-tools-nav__item .editor-tools-nav__link .editor-tools-nav__link-text {
        font-weight: 300;
    }

    .editor-tools-nav.editor-tools-nav--lg-font .editor-tools-nav__item .editor-tools-nav__link .editor-tools-nav__link-text {
        font-size: 1.15rem;
    }

    .editor-tools-nav.editor-tools-nav--xl-font .editor-tools-nav__item .editor-tools-nav__link .editor-tools-nav__link-text {
        font-size: 1.25rem;
    }

.editor-tools-grid-nav {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

    .editor-tools-grid-nav .editor-tools-grid-nav__item {
        display: flex;
        width: 50%;
        min-height: 160px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 1rem;
        border-right: 1px solid #ebedf2;
        border-bottom: 1px solid #ebedf2;
        transition: all 0.3s;
    }

@media screen\0 {
    .editor-tools-grid-nav .editor-tools-grid-nav__item {
        height: 160px;
    }
}

.editor-tools-grid-nav .editor-tools-grid-nav__item .editor-tools-grid-nav__item-icon {
    display: inline-block;
    text-align: center;
    margin-bottom: 0.5rem;
}

    .editor-tools-grid-nav .editor-tools-grid-nav__item .editor-tools-grid-nav__item-icon i {
        font-size: 1.85rem;
        color: #74788d;
        opacity: 0.7;
    }

.editor-tools-grid-nav .editor-tools-grid-nav__item .editor-tools-grid-nav__item-title {
    display: inline-block;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: #48465b;
}

.editor-tools-grid-nav .editor-tools-grid-nav__item .editor-tools-grid-nav__item-desc {
    margin-top: 0.25rem;
    display: inline-block;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 300;
    color: #74788d;
}

.editor-tools-grid-nav .editor-tools-grid-nav__item:hover {
    transition: all 0.3s;
    box-shadow: 0px 0px 50px 0px rgba(82, 63, 105, 0.15);
    text-transform: none;
}

    .editor-tools-grid-nav .editor-tools-grid-nav__item:hover .editor-tools-grid-nav__item-icon i {
        opacity: 1;
        color: var(--secondary);
    }

@media (max-width: 1024px) {
    .editor-tools-grid-nav .editor-tools-grid-nav__item {
        min-height: 80px;
    }
}

@media screen\0 and (max-width: 1024px) {
    .editor-tools-grid-nav .editor-tools-grid-nav__item {
        height: 80px;
    }
}

/*-------------------------------------------------HEADER SUB MENU------------------------------------------*/

.editor-container .editor-container-header .header-sub-menu-container {
    display: none;
    /*position: absolute;
    width: 100%;
    height: 60px;
    top: 72.8px;
    background: var(--primary-light);*/ /*var(--primary-dark);*/
    /*padding: 5px 15px;
    text-align: left;
    display: block;*/
    left: -5000px;
    /* max-height: 0;*/
}

    .editor-container .editor-container-header .header-sub-menu-container.hide {
        padding: 0;
        left: -5000px;
        opacity: 0;
        max-height: 0;
        -webkit-transition: left 0s, opacity 0s, max-height 0.5s linear;
        -moz-transition: left 0s, opacity 0s, max-height 0.5s linear;
        -ms-transition: left 0s, opacity 0s, max-height 0.5s linear;
        -o-transition: left 0s, opacity 0s, max-height 0.5s linear;
        transition: left 0s, opacity 0s, max-height 0.5s ease-in-out;
        /*-webkit-animation: hide-sub-menu-container 0s;
        -webkit-animation-iteration-count: 1;
        -webkit-animation-delay: 0.5s;
        animation: hide-sub-menu-container 0.2s;
        animation-iteration-count: 1;
        animation-delay: 0.5s;*/
    }

/*.editor-container .editor-container-header .header-sub-menu-container {
    display: none;
    position: absolute;
    width: 100%;
    height: 60px;
    top: 72.8px;
    background: var(--primary-light);*/ /*var(--primary-dark);*/
/*padding: 5px 15px;
    text-align: left;
    display: block;
    left: -5000px;
    max-height: 0;
}



.editor-container .editor-container-header .header-sub-menu-container {*/
/*display: block;*/
/*padding: 5px 15px;
    left: 0;
    opacity: 1;
    max-height: 60px;
    -webkit-transition: left 0s, opacity 0s, max-height 0.25s linear;
    -moz-transition: left 0s, opacity 0s, max-height 0.2s linear;
    -ms-transition: left 0s, opacity 0s, max-height 0.2s linear;
    -o-transition: left 0s, opacity 0s, max-height 0.2s linear;
    transition: left 0s, opacity 0s, max-height 0.2s ease-in;
}*/

@keyframes show-sub-menu-container {
    /* You could think of as "step 1" */
    0% {
        left: 0;
        opacity: 1;
    }
    /* You could think of as "step 2" */
    /*100% {
        left: 0;
    }*/
}

@-webkit-keyframes hide-sub-menu-container {
    /* You could think of as "step 1" */
    0% {
        display: block;
        left: 0;
        opacity: 1;
    }

    100% {
        opacity: 0;
        left: -5000px;
        display: none;
    }
}

@keyframes hide-sub-menu-container {
    /* You could think of as "step 1" */
    0% {
        /*display: block;*/
        left: 0;
        opacity: 1;
    }

    100% {
        opacity: 0;
        left: -5000px;
        display: none;
    }
}

.editor-container .editor-container-header .header-sub-menu-container .editor-sub-toolsbar {
    width: 100%;
    height: auto;
    text-align: left;
}

    .editor-container .editor-container-header .header-sub-menu-container .editor-sub-toolsbar .btn-group {
        display: none;
    }

        .editor-container .editor-container-header .header-sub-menu-container .editor-sub-toolsbar .btn-group.show {
            display: -ms-inline-flexbox;
            display: inline-flex;
            align-items: center;
        }

    /*.editor-container .editor-container-header .header-sub-menu-container .editor-sub-toolsbar .btn-group {
            display: none;
        }

    .editor-container .editor-container-header .header-sub-menu-container .editor-sub-toolsbar .btn-group {
        display: -ms-inline-flexbox;
        display: inline-flex;
        align-items: center;
    }*/

    .editor-container .editor-container-header .header-sub-menu-container .editor-sub-toolsbar .btn-field-tool {
        padding: 17px 10px;
        font-size: 16px;
        line-height: 24px;
        color: #fff;
        margin: -6px 0;
        border-radius: 0;
    }

        .editor-container .editor-container-header .header-sub-menu-container .editor-sub-toolsbar .btn-field-tool .icon-img {
            max-height: 18px;
            /*margin-right: 2px;*/
            vertical-align: middle;
            margin-top: -2px;
        }

    .editor-container .editor-container-header .header-sub-menu-container .editor-sub-toolsbar .btn-color {
        width: 70px;
        height: 35px;
    }

    .editor-container .editor-container-header .header-sub-menu-container .editor-sub-toolsbar .btn-ft-action.active {
        background: transparent;
        color: var(--secondary);
    }

    .editor-container .editor-container-header .header-sub-menu-container .editor-sub-toolsbar .btn-field-tool:hover,
    .editor-container .editor-container-header .header-sub-menu-container .editor-sub-toolsbar [data-hover="dropdown"]:hover > .btn-field-tool {
        background: var(--primary);
    }

    .editor-container .editor-container-header .header-sub-menu-container .editor-sub-toolsbar [data-hover="dropdown"]:hover > .dropdown-menu,
    .editor-container .editor-container-header .header-sub-menu-container .editor-sub-toolsbar .btn-assign-to-dd:focus + .dropdown-menu {
        display: block;
        margin-top: -8px;
    }

    .editor-container .editor-container-header .header-sub-menu-container .editor-sub-toolsbar .dropdown-font-size,
    .editor-container .editor-container-header .header-sub-menu-container .editor-sub-toolsbar .dropdown-font-size {
        min-width: 100px !important;
    }

    .editor-container .editor-container-header .header-sub-menu-container .editor-sub-toolsbar .dropdown-colors {
        width: 76px;
        min-width: 76px !important;
        border-radius: 0;
        padding: 2px;
    }

    .editor-container .editor-container-header .header-sub-menu-container .editor-sub-toolsbar .dropdown-menu {
        max-height: 300px;
        overflow: hidden;
        overflow-y: auto;
    }



/*--------------------------------------------------EDITOR FIELDS--------------------------------------------*/

.editor-container-body .doc-page-body > div > .data-item {
    position: absolute;
    background-color: white;
    color: #000000;
    z-index: 7;
    -ms-touch-action: none;
    letter-spacing: .5px;
}

    .editor-container-body .doc-page-body > div > .data-item i.calendar {
        position: absolute;
        top: 50%;
        margin-top: -8px;
        right: 5px;
        height: 14px;
        width: 12px;
    }

    .editor-container-body .doc-page-body > div > .data-item .ui-datepicker {
        margin-top: 5px
    }


    .editor-container-body .doc-page-body > div > .data-item[data-type=CHECKBOX] .field-container .cell-number,
    .editor-container-body .doc-page-body > div > .data-item[data-type=RADIO] .field-container .cell-number {
        right: auto;
        left: -34px;
        width: 30px;
        text-align: right
    }

    .editor-container-body .doc-page-body > div > .data-item[data-type="STRIKETHROUGH"] .field {
        border-top: none !important;
        border-bottom: none !important;
    }

    .editor-container-body .doc-page-body > div > .data-item[data-type=LOGO].highlight {
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none
    }

    .editor-container-body .doc-page-body > div > .data-item.is-invalid .field {
        border-color: var(--danger);
    }

    .editor-container-body .doc-page-body > div > .data-item .field-container {
        position: relative;
        z-index: 1
    }

        .editor-container-body .doc-page-body > div > .data-item .field-container .field .calculation-error {
            padding-left: 3px;
            background-color: #FE5A5A;
            color: #fff;
            font-family: 'Open Sans',sans-serif;
            font-weight: 400;
            font-style: normal;
            text-decoration: none
        }

        .editor-container-body .doc-page-body > div > .data-item .field-container .cell-number {
            color: #ff7964;
            font-weight: 700;
            font-size: 11px;
            cursor: pointer;
            position: absolute;
            margin: auto;
            top: 0;
            bottom: 0;
            right: 5px;
            height: 22px;
            display: none
        }

    .editor-container-body .doc-page-body > div > .data-item.ui-draggable .field-container {
        cursor: pointer
    }

    .editor-container-body .doc-page-body > div > .data-item .movable-grip {
        display: none;
        position: absolute;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        border-radius: 6px;
        background-clip: padding-box;
        top: -6px;
        bottom: -6px;
        left: -6px;
        right: -6px;
        cursor: move;
        border: 6px solid rgba(201,201,200,0)
    }

    .editor-container-body .doc-page-body > div > .data-item .drag-shield {
        /*display: none;*/
        position: absolute;
        top: -3px;
        bottom: -3px;
        left: -3px;
        right: -3px;
        z-index: 3;
    }

    .editor-container-body .doc-page-body > div > .data-item .drag-shield {
        top: auto;
        bottom: -23px;
        left: calc(50% - 10px);
        right: auto;
        width: 20px;
        height: 20px;
        background: var(--secondary-light);
        text-align: center;
        line-height: 20px;
    }

    .editor-container-body .doc-page-body > div > .data-item .movable-grip {
        top: auto;
        bottom: -26px;
        left: calc(50% - 13px);
        right: auto;
        width: 26px;
        height: 26px;
    }

    .editor-container-body .doc-page-body > div > .data-item .drag-shield i {
        z-index: -1;
    }

/*.editor-container-body .doc-page-body > div > .data-item .drag-shield.enabled {
    cursor: move
}

.editor-container-body .doc-page-body > div > .data-item.mode-position:hover .drag-shield.enabled,
.editor-container-body .doc-page-body > div > .data-item.mode-position.active .drag-shield.enabled {
    display: block;
}*/

/*.editor-container-body .doc-page-body > div > .data-item.active .movable-grip {
    display: block;
}*/

/*.doc-page-body .data-item.mode-assign .field-body,
.doc-page-body .data-item.mode-position .field-body,*/
.doc-page-body .data-item.mode-assign textarea,
.doc-page-body .data-item.mode-position textarea,
.doc-page-body .data-item.mode-assign input,
.doc-page-body .data-item.mode-position input {
    pointer-events: none;
}


/*.doc-page-body .data-item .ui-resizable-handle {
    display: none !important;
}*/

.data-item.contract-strike-through-field-container.active-field .ui-resizable-handle {
    display: block !important;
}

.doc-page-body .data-item.mode-position.active-field .movable-grip,
.doc-page-body .data-item.mode-position.active-field .ui-resizable-handle {
    display: block !important;
}


.editor-container-body .doc-page-body > div > .data-item.mode-position.active-field {
    -webkit-border-radius: 3px;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 3px;
    -moz-background-clip: padding;
    border-radius: 3px;
    background-clip: padding-box;
    -webkit-box-shadow: 0 0 0 2px rgba(255,119,0,.35);
    -moz-box-shadow: 0 0 0 2px rgba(255,119,0,.35);
    box-shadow: 0 0 0 2px rgba(255,119,0,.35);
    z-index: 11 !important;
}

.editor-container-body .doc-page-body > div > .data-item.active-field.is-invalid {
    -webkit-box-shadow: 0 0 0 2px rgba(242,87,103,.35);
    -moz-box-shadow: 0 0 0 2px rgba(242,87,103,.35);
    box-shadow: 0 0 0 2px rgba(242,87,103,.35)
}

.editor-container-body .doc-page-body > div > .data-item[data-type=STRIKE] {
    z-index: 9;
}

.editor-container-body .doc-page-body > div > .data-item[data-type=INITIAL] .drag-shield,
.editor-container-body .doc-page-body > div > .data-item[data-type=SIGNATURE] .drag-shield {
    bottom: -15px
}

.editor-container-body .doc-page-body > div > .data-item.active-field .field,
.editor-container-body .doc-page-body > div > .data-item.hover .field,
.editor-container-body .doc-page-body > div > .data-item.moving .field,
.editor-container-body .doc-page-body > div > .data-item:hover .field {
    border-color: var(--secondary-light);
}

.editor-container-body .doc-page-body > div > .data-item.active {
    /*-webkit-border-radius: 3px;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 3px;
    -moz-background-clip: padding;
    border-radius: 3px;
    background-clip: padding-box;
    -webkit-box-shadow: 0 0 0 2px rgba(255,119,0,.35);
    -moz-box-shadow: 0 0 0 2px rgba(255,119,0,.35);
    box-shadow: 0 0 0 2px rgba(255,119,0,.35);*/
    z-index: 11 !important
}

/*.editor-container-body .doc-page-body > div > .data-item:not(.active), .editor-container-body .doc-page-body > div > .data-item.grouped:not(.active) {
        -webkit-border-radius: 3px;
        -webkit-background-clip: padding-box;
        -moz-border-radius: 3px;
        -moz-background-clip: padding;
        border-radius: 3px;
        background-clip: padding-box;
        -webkit-box-shadow: 0 0 0 3px var(--primary-label-light-color);
        -moz-box-shadow: 0 0 0 3px var(--primary-label-light-color);
        box-shadow: 0 0 0 3px var(--primary-label-light-color);
    }*/

.editor-container-body .doc-page-body > div > .data-item.obscured:not(.is-invalid).highlight {
    box-shadow: none
}

.editor-container-body .doc-page-body > div > .data-item.obscured:not(.is-invalid) .CONTACT_TEXTBOX,
.editor-container-body .doc-page-body > div > .data-item.obscured:not(.is-invalid) .DATE,
.editor-container-body .doc-page-body > div > .data-item.obscured:not(.is-invalid) .DATETIME,
.editor-container-body .doc-page-body > div > .data-item.obscured:not(.is-invalid) .TEXTBOX,
.editor-container-body .doc-page-body > div > .data-item.obscured:not(.is-invalid) .TIME {
    border: none;
    cursor: auto
}

.editor-container-body .doc-page-body > div > .data-item.obscured:not(.transparent) .CONTACT_TEXTBOX:not(.has-changed),
.editor-container-body .doc-page-body > div > .data-item.obscured:not(.transparent) .DATE:not(.has-changed),
.editor-container-body .doc-page-body > div > .data-item.obscured:not(.transparent) .DATETIME:not(.has-changed),
.editor-container-body .doc-page-body > div > .data-item.obscured:not(.transparent) .TEXTBOX:not(.has-changed),
.editor-container-body .doc-page-body > div > .data-item.obscured:not(.transparent) .TIME:not(.has-changed) {
    background-color: #fff
}

@-webkit-keyframes flashing {
    0% {
        border-color: var(--secondary-light);
        -webkit-box-shadow: 0 0 2px var(--secondary-light);
    }

    50% {
        border-color: var(--secondary);
        -webkit-box-shadow: 0 0 15px var(--secondary);
    }

    100% {
        border-color: var(--secondary-light);
        -webkit-box-shadow: 0 0 3px var(--secondary-light);
    }
}

@-moz-keyframes flashing {
    0% {
        border-color: var(--secondary-light);
        -webkit-box-shadow: 0 0 2px var(--secondary-light);
    }

    50% {
        border-color: var(--secondary);
        -webkit-box-shadow: 0 0 15px var(--secondary);
    }

    100% {
        border-color: var(--secondary-light);
        -webkit-box-shadow: 0 0 3px var(--secondary-light);
    }
}

@-o-keyframes flashing {
    0% {
        border-color: var(--secondary-light);
        -webkit-box-shadow: 0 0 2px var(--secondary-light);
    }

    50% {
        border-color: var(--secondary);
        -webkit-box-shadow: 0 0 15px var(--secondary);
    }

    100% {
        border-color: var(--secondary-light);
        -webkit-box-shadow: 0 0 3px var(--secondary-light);
    }
}

@keyframes flashing {
    0% {
        border-color: var(--secondary-light);
        -webkit-box-shadow: 0 0 2px var(--secondary-light);
    }

    50% {
        border-color: var(--secondary);
        -webkit-box-shadow: 0 0 15px var(--secondary);
    }

    100% {
        border-color: var(--secondary-light);
        -webkit-box-shadow: 0 0 3px var(--secondary-light);
    }
}


@-webkit-keyframes flashingSign {
    0% {
        background-color: var(--secondary-light);
        border-color: var(--secondary-light);
        -webkit-box-shadow: 0 0 2px var(--secondary-light);
    }

    50% {
        background-color: var(--secondary);
        border-color: var(--secondary);
        -webkit-box-shadow: 0 0 15px var(--secondary);
    }

    100% {
        background-color: var(--secondary-light);
        border-color: var(--secondary-light);
        -webkit-box-shadow: 0 0 3px var(--secondary-light);
    }
}

@-moz-keyframes flashingSign {
    0% {
        background-color: var(--secondary-light);
        border-color: var(--secondary-light);
        -webkit-box-shadow: 0 0 2px var(--secondary-light);
    }

    50% {
        background-color: var(--secondary);
        border-color: var(--secondary);
        -webkit-box-shadow: 0 0 15px var(--secondary);
    }

    100% {
        background-color: var(--secondary-light);
        border-color: var(--secondary-light);
        -webkit-box-shadow: 0 0 3px var(--secondary-light);
    }
}

@-o-keyframes flashingSign {
    0% {
        background-color: var(--secondary-light);
        border-color: var(--secondary-light);
        -webkit-box-shadow: 0 0 2px var(--secondary-light);
    }

    50% {
        background-color: var(--secondary);
        border-color: var(--secondary);
        -webkit-box-shadow: 0 0 15px var(--secondary);
    }

    100% {
        background-color: var(--secondary-light);
        border-color: var(--secondary-light);
        -webkit-box-shadow: 0 0 3px var(--secondary-light);
    }
}

@keyframes flashingSign {
    0% {
        background-color: var(--secondary-light);
        border-color: var(--secondary-light);
        -webkit-box-shadow: 0 0 2px var(--secondary-light);
    }

    50% {
        background-color: var(--secondary);
        border-color: var(--secondary);
        -webkit-box-shadow: 0 0 15px var(--secondary);
    }

    100% {
        background-color: var(--secondary-light);
        border-color: var(--secondary-light);
        -webkit-box-shadow: 0 0 3px var(--secondary-light);
    }
}



.editor-container-body .doc-page-body > div > .data-item .field {
    /*background-color: #fff;*/
    border: 1px solid var(--secondary-light);
    line-height: 1em;
    overflow: hidden;
    position: relative;
    cursor: text;
    z-index: 7;
}

    .editor-container-body .doc-page-body > div > .data-item .field.flash {
        -webkit-animation: flashing 1500ms infinite;
        -moz-animation: flashing 1500ms infinite;
        -o-animation: flashing 1500ms infinite;
        animation: flashing 1500ms infinite;
    }

.editor-container-body .doc-page-body > div > .data-item[data-type="SIGNATURE"] .field.flash,
.editor-container-body .doc-page-body > div > .data-item[data-type="INITIALS"] .field.flash {
    -webkit-animation: flashingSign 1500ms infinite;
    -moz-animation: flashingSign 1500ms infinite;
    -o-animation: flashingSign 1500ms infinite;
    animation: flashingSign 1500ms infinite;
}

.editor-container-body .doc-page-body > div > .data-item .field .field-body,
.editor-container-body .doc-page-body > div > .data-item .field input[type=text],
.editor-container-body .doc-page-body > div > .data-item .field pre,
.editor-container-body .doc-page-body > div > .data-item .field textarea {
    line-height: 1em;
    margin: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    padding: 0;
    position: absolute;
}

.editor-container-body .doc-page-body > div > .data-item .field textarea,
.editor-container-body .doc-page-body > div > .data-item .field .data-display {
    line-height: inherit !important;
}

.editor-container-body .doc-page-body > div > .data-item .field .data-display {
    display: inline-block;
    white-space: pre-wrap !important;
    word-break: normal !important;
    word-wrap: break-word !important;
    /*display: flex;
            align-items: flex-end;*/
    width: 100%;
    height: 100%;
}

    .editor-container-body .doc-page-body > div > .data-item .field .data-display.ml-txt-block {
        align-items: flex-start;
    }

.editor-container-body .doc-page-body > div > .data-item .field textarea,
.editor-container-body .doc-page-body > div > .data-item .field input[type=text] {
    position: absolute;
    overflow: hidden;
    height: 100%;
    width: 100%;
    cursor: text;
    resize: none;
    border: none;
    word-break: normal !important;
    word-wrap: break-word !important;
    white-space: pre-wrap !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    top: 0;
    left: 0;
    outline: 0;
    background: 0 0;
    min-height: 11px;
    padding: 1px;
    z-index: 9;
}

.editor-container-body .doc-page-body > div > .data-item .field input[type="checkbox"] {
    resize: none;
    position: absolute;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    top: 0;
    left: 0;
    outline: 0;
    min-height: 11px;
    z-index: 9;
}

.editor-container-body .doc-page-body > div > .data-item .field-container,
.editor-container-body .doc-page-body > div > .data-item .field,
.editor-container-body .doc-page-body > div > .data-item .field .field-body,
.editor-container-body .doc-page-body > div > .data-item .field input[type=text],
.editor-container-body .doc-page-body > div > .data-item .field pre,
.editor-container-body .doc-page-body > div > .data-item .field textarea {
    background-color: transparent;
    color: inherit;
    text-align: inherit;
    font-style: inherit;
    font-weight: inherit;
    text-decoration: inherit;
    font-size: inherit;
    /*line-height: inherit;*/
}

    .editor-container-body .doc-page-body > div > .data-item .field-container .tooltip {
        position: absolute;
        top: -20px;
        left: 50%;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
        padding: 2px 5px;
        border-radius: 4px;
        background: var(--secondary-light);
        color: var(--primary);
        display: none;
        width: auto;
        height: auto;
        font-size: 9px;
        line-height: 11px;
        z-index: 99;
        opacity: 0;
        white-space: nowrap;
    }

    .editor-container-body .doc-page-body > div > .data-item .field-container:hover .tooltip {
        display: inline-block;
        opacity: 1;
    }

    .editor-container-body .doc-page-body > div > .data-item .field-container .tooltip:after {
        width: 0;
        height: 0;
        content: "";
        border-style: solid;
        border-width: 6px 6px 0 6px;
        border-color: var(--secondary-light) transparent transparent transparent;
        position: absolute;
        bottom: -4px;
        left: 0;
        right: 0;
        margin: auto;
    }


    .editor-container-body .doc-page-body > div > .data-item .field.resizing {
        border-color: var(--secondary-light);
    }

        .editor-container-body .doc-page-body > div > .data-item .field.resizing .delete-field,
        .editor-container-body .doc-page-body > div > .data-item .field.resizing .ui-resizable-handle {
            display: block
        }

    .editor-container-body .doc-page-body > div > .data-item .field .ui-resizable-handle {
        /*display: none;*/
        cursor: pointer;
        position: absolute;
        bottom: 0;
        right: 0;
        background: 0 0;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 0 7px 7px;
        border-color: transparent transparent var(--secondary-light);
        margin: 1px;
        cursor: nwse-resize;
    }

.mobile-view .editor-container-body .doc-page-body > div > .data-item .field .ui-resizable-handle {
    border-width: 0 0 15px 15px;
}

.editor-container-body .doc-page-body > div > .data-item .field.CONTACT_TEXTBOX,
.editor-container-body .doc-page-body > div > .data-item .field.DATE,
.editor-container-body .doc-page-body > div > .data-item .field.DATETIME,
.editor-container-body .doc-page-body > div > .data-item .field.TEXTBOX,
.editor-container-body .doc-page-body > div > .data-item .field.TIME {
    -webkit-border-radius: 3px;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 3px;
    -moz-background-clip: padding;
    border-radius: 3px;
    background-clip: padding-box;
    border: 1px solid var(--secondary-light);
    cursor: not-allowed;
    background-color: #eae7e7
}

    .editor-container-body .doc-page-body > div > .data-item
    .editor-container-body .doc-page-body > div > .data-item .field.CONTACT_TEXTBOX input[type=text],
    .editor-container-body .doc-page-body > div > .data-item .field.CONTACT_TEXTBOX textarea,
    .editor-container-body .doc-page-body > div > .data-item .field.DATE input[type=text],
    .editor-container-body .doc-page-body > div > .data-item .field.DATE textarea,
    .editor-container-body .doc-page-body > div > .data-item .field.DATETIME input[type=text],
    .editor-container-body .doc-page-body > div > .data-item .field.DATETIME textarea,
    .editor-container-body .doc-page-body > div > .data-item .field.TEXTBOX input[type=text],
    .editor-container-body .doc-page-body > div > .data-item .field.TEXTBOX textarea,
    .editor-container-body .doc-page-body > div > .data-item .field.TIME input[type=text],
    .editor-container-body .doc-page-body > div > .data-item .field.TIME textarea {
        overflow: hidden;
        height: 100%;
        width: 100%;
        cursor: drag;
        resize: none;
        border: none;
        word-break: normal;
        position: absolute;
        white-space: pre-wrap;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        top: -1px;
        left: -1px;
        outline: 0;
        background: 0 0;
        z-index: 9;
    }

        .editor-container-body .doc-page-body > div > .data-item .field.CONTACT_TEXTBOX textarea.auto-grow:focus,
        .editor-container-body .doc-page-body > div > .data-item .field.DATE textarea.auto-grow:focus,
        .editor-container-body .doc-page-body > div > .data-item .field.DATETIME textarea.auto-grow:focus,
        .editor-container-body .doc-page-body > div > .data-item .field.TEXTBOX textarea.auto-grow:focus,
        .editor-container-body .doc-page-body > div > .data-item .field.TIME textarea.auto-grow:focus {
            padding-bottom: 20px
        }

        .editor-container-body .doc-page-body > div > .data-item .field.TIME textarea.linked {
            white-space: pre;
            word-wrap: normal
        }

.editor-container-body .doc-page-body > div > .data-item[data-type="IMAGE"] .field,
.editor-container-body .doc-page-body > div > .data-item[data-type="STRIKETHROUGH"] .field {
    cursor: move;
}

.editor-container-body .doc-page-body > div > .data-item[data-type="INITIALS"] .drag-shield,
.editor-container-body .doc-page-body > div > .data-item[data-type="SIGNATURE"] .drag-shield {
    bottom: -25px;
    /*z-index: 7;*/
}

.editor-container-body .doc-page-body > div > .data-item[data-type="INITIALS"] .field,
.editor-container-body .doc-page-body > div > .data-item[data-type="SIGNATURE"] .field {
    -webkit-border-radius: 3px;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 3px;
    -moz-background-clip: padding;
    border-radius: 3px;
    background-clip: padding-box;
    background: var(--secondary-light);
    border: 1px solid var(--secondary-light);
    cursor: default;
    text-align: center;
    overflow: visible;
    color: #fff;
}

.editor-container-body .doc-page-body > div > .data-item[data-type="INITIALS"]:hover .field,
.editor-container-body .doc-page-body > div > .data-item[data-type="SIGNATURE"]:hover .field,
.editor-container-body .doc-page-body > div > .data-item[data-type="INITIALS"].highlight .field,
.editor-container-body .doc-page-body > div > .data-item[data-type="SIGNATURE"].highlight .field {
    background: #fff;
    color: var(--primary);
}

.editor-container-body .doc-page-body > div > .data-item[data-type="INITIALS"] .field .ui-resizable-handle,
.editor-container-body .doc-page-body > div > .data-item[data-type="SIGNATURE"] .field .ui-resizable-handle {
    border-color: transparent transparent #fff;
}

.editor-container-body .doc-page-body > div > .data-item[data-type="INITIALS"]:hover .field .ui-resizable-handle,
.editor-container-body .doc-page-body > div > .data-item[data-type="SIGNATURE"]:hover .field .ui-resizable-handle {
    border-color: transparent transparent var(--secondary-light);
}

.editor-container-body .doc-page-body > div > .data-item[data-type="INITIALS"] .field .signature-mask,
.editor-container-body .doc-page-body > div > .data-item[data-type="SIGNATURE"] .field .signature-mask {
    -webkit-border-radius: 3px;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 3px;
    -moz-background-clip: padding;
    border-radius: 3px;
    background-clip: padding-box;
    position: absolute;
    height: 100%;
    width: 100%;
    cursor: pointer;
}

.editor-container-body .doc-page-body > div > .data-item[data-type="INITIALS"] .field .field-body .signature-body,
.editor-container-body .doc-page-body > div > .data-item[data-type="SIGNATURE"] .field .field-body .signature-body {
    white-space: nowrap;
    outline: 0;
    text-align: center;
    font-family: 'Nunito Sans';
    line-height: 24px;
    text-transform: uppercase !important;
}

.editor-container-body .doc-page-body > div > .data-item[data-type="INITIALS"] .field.signed .field-body .signature-body,
.editor-container-body .doc-page-body > div > .data-item[data-type="SIGNATURE"] .field.signed .field-body .signature-body {
    text-transform: none !important;
}

.editor-container-body .doc-page-body > div > .data-item[data-type="INITIALS"] .field .field-body .signature-body > img,
.editor-container-body .doc-page-body > div > .data-item[data-type="SIGNATURE"] .field .field-body .signature-body > img {
    height: 100%;
    max-height: 100%;
    vertical-align: baseline;
}

.editor-container-body .doc-page-body > div > .data-item[data-type="INITIALS"] .field .field-body .signature-body {
    font-size: 8px;
}

.editor-container-body .doc-page-body > div > .data-item[data-type="INITIALS"] .field .field-body .signature-footer,
.editor-container-body .doc-page-body > div > .data-item[data-type="SIGNATURE"] .field .field-body .signature-footer {
    -webkit-border-top-right-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -webkit-background-clip: padding-box;
    -moz-border-radius-topright: 3px;
    -moz-border-radius-bottomright: 3px;
    -moz-background-clip: padding;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    background-clip: padding-box;
    bottom: 0;
    /*padding: 2px;*/
    font-size: 5px;
    line-height: 8px;
    position: absolute;
}

.editor-container-body .doc-page-body > div > .data-item[data-type="INITIALS"][data-can-sign="Y"] .field,
.editor-container-body .doc-page-body > div > .data-item[data-type="SIGNATURE"][data-can-sign="Y"] .field {
    cursor: pointer;
    color: #fff;
    background-color: var(--secondary-light);
}

    .editor-container-body .doc-page-body > div > .data-item[data-type="INITIALS"][data-can-sign="Y"] .field .ui-resizable-handle,
    .editor-container-body .doc-page-body > div > .data-item[data-type="SIGNATURE"][data-can-sign="Y"] .field .ui-resizable-handle {
        border-color: transparent transparent #fff
    }

    .editor-container-body .doc-page-body > div > .data-item[data-type="INITIALS"][data-can-sign="Y"] .field:hover,
    .editor-container-body .doc-page-body > div > .data-item .data-item[data-type="INITIALS"][data-can-sign="Y"] .field.resizing,
    .editor-container-body .doc-page-body > div > .data-item[data-type="SIGNATURE"][data-can-sign="Y"] .field.resizing,
    .editor-container-body .doc-page-body > div > .data-item .data-item[data-type="SIGNATURE"][data-can-sign="Y"] .field:hover {
        background-color: #fff;
        color: var(--secondary);
    }


.editor-container-body .doc-page-body > div > .data-item[data-type="INITIALS"] .field.signed,
.editor-container-body .doc-page-body > div > .data-item[data-type="SIGNATURE"] .field.signed {
    cursor: default;
    background: 0 0;
    border: none;
}

.editor-container-body .doc-page-body > div > .highlight[data-type="INITIALS"] .field.signed,
.editor-container-body .doc-page-body > div > .highlight[data-type="SIGNATURE"] .field.signed {
    color: var(--secondary);
}


.editor-container-body .doc-page-body > div > .data-item[data-type="INITIALS"] .field.signed .signature-mask,
.editor-container-body .doc-page-body > div > .data-item[data-type="SIGNATURE"] .field.signed .signature-mask {
    background-color: var(--secondary);
    opacity: .1;
    filter: alpha(opacity=10)
}

.editor-container-body .doc-page-body > div > .data-item[data-type="INITIALS"] .field.signed .signature-body,
.editor-container-body .doc-page-body > div > .data-item[data-type="SIGNATURE"] .field.signed .signature-body {
    font-family: 'Mr Dafoe',cursive;
    font-style: italic;
    font-size: 18px;
    line-height: initial;
    height: 100%;
    width: calc(100% - 90px);
    color: var(--primary-dark);
    float: left;
    text-align: left;
    padding-left: 4px;
}

.editor-container-body .doc-page-body > div > .data-item[data-type="INITIALS"] .field.signed .signature-body {
    width: 100%;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
}

    .editor-container-body .doc-page-body > div > .data-item[data-type="INITIALS"] .field.signed .signature-body.has-image > img,
    .editor-container-body .doc-page-body > div > .data-item[data-type="SIGNATURE"] .field.signed .signature-body.has-image > img {
        margin: 0 auto;
        vertical-align: top;
        height: 100%
    }

.editor-container-body .doc-page-body > div > .data-item[data-type="INITIALS"] .field.signed .signature-footer,
.editor-container-body .doc-page-body > div > .data-item[data-type="SIGNATURE"] .field.signed .signature-footer {
    color: #000
}

.editor-container-body .doc-page-body > div > .data-item[data-type="INITIALS"] .field.signed .signature-footer {
    top: 65%;
    font-size: 4px !important;
    line-height: 8px;
    /*  --- Bottom code for new style V2 ---  */
    top: calc(100% - 10px);
    left: calc(50% - 25px);
    width: 50px;
    height: 24px;
}

.editor-container-body .doc-page-body > div > .data-item[data-type="SIGNATURE"] .field .signature-name {
    font-size: 19px;
    line-height: 38px
}

.editor-container-body .doc-page-body > div > .data-item[data-type="SIGNATURE"] .field .signature-footer {
    font-size: 9px;
    width: 70px;
    text-align: left;
    top: 0;
    right: 0
}

.editor-container-body .doc-page-body > div > .data-item[data-type="SIGNATURE"] .field .signature-details-side-container {
    position: absolute;
    top: 50%;
    margin-top: -15px
}

.editor-container-body .doc-page-body > div > .data-item[data-type="SIGNATURE"] .field.signed .signature-name {
    text-align: left;
    margin-left: 2px
}

.editor-container-body .doc-page-body > div > .data-item[data-type="SIGNATURE"] .field.signed .signature-footer {
    padding: 0 2px;
    color: #000;
    background-color: var(--secondary-light);
    font-family: "Nunito Sans", sans-serif;
}

.editor-container-body .doc-page-body > div > .data-item[data-type="INITIALS"] .field .signature-name {
    font-size: 9px;
    line-height: 28px;
    width: 100%;
    margin: 0;
}

.editor-container-body .doc-page-body > div > .data-item[data-type="INITIALS"] .field .signature-footer {
    top: auto;
    width: 100%;
}

.editor-container-body .doc-page-body > div > .data-item[data-type="INITIALS"] .field .footer-container {
    position: absolute;
    min-width: 100%;
    word-break: keep-all;
    white-space: nowrap;
}

.editor-container-body .doc-page-body > div > .data-item .editor-field-wrapper {
    /*display: none;*/
    position: absolute;
    top: 100%;
    left: -5px;
    right: -5px;
    min-width: 90px;
    margin-top: 10px;
    text-align: center;
    padding: 5px;
    -webkit-border-radius: 5px;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 5px;
    -moz-background-clip: padding;
    border-radius: 5px;
    background-clip: padding-box;
    background-color: #2d364c26;
    font-family: 'Open Sans',sans-serif;
    font-size: 13px;
    font-style: normal;
}

    .editor-container-body .doc-page-body > div > .data-item .editor-field-wrapper .editor-field-option {
        padding: 5px 0;
        color: #fff;
        background-color: var(--secondary-light);
        border-top: solid 1px #FFF;
        cursor: pointer;
        font-size: 12px;
        font-family: 'Nunito Sans';
        line-height: 16px;
    }

        .editor-container-body .doc-page-body > div > .data-item .editor-field-wrapper .editor-field-option:first-child {
            border-top: none;
        }

            .editor-container-body .doc-page-body > div > .data-item .editor-field-wrapper .editor-field-option:first-child:before {
                content: '';
                position: absolute;
                top: 0;
                z-index: 2;
                left: 50%;
                margin-left: -6px;
                width: 0;
                height: 0;
                border-style: solid;
                border-width: 0 6px 6px;
                border-color: transparent transparent var(--secondary-light);
            }

            .editor-container-body .doc-page-body > div > .data-item .editor-field-wrapper .editor-field-option:first-child:after {
                content: '';
                position: absolute;
                top: -5px;
                z-index: 1;
                left: 50%;
                margin-left: -10px;
                width: 0;
                height: 0;
                border-style: solid;
                border-width: 0 10px 10px;
                border-color: transparent transparent #2d364c26;
            }

            .editor-container-body .doc-page-body > div > .data-item .editor-field-wrapper .editor-field-option:first-child:hover:before {
                border-color: transparent transparent var(--primary-light);
            }

        .editor-container-body .doc-page-body > div > .data-item .editor-field-wrapper .editor-field-option:hover {
            background-color: var(--primary-light);
        }

        .editor-container-body .doc-page-body > div > .data-item .editor-field-wrapper .editor-field-option .assignTo-options {
            background: #fff;
            color: var(--primary);
            height: 0px;
            max-height: 100px;
            overflow: hidden;
            overflow-y: auto;
            transition: height .3s ease-in-out; /*, padding .3s ease-in-out*/
        }

            .editor-container-body .doc-page-body > div > .data-item .editor-field-wrapper .editor-field-option .assignTo-options.open {
                margin-bottom: -5px;
                padding: 5px 0 !important;
            }

            .editor-container-body .doc-page-body > div > .data-item .editor-field-wrapper .editor-field-option .assignTo-options li {
                margin-bottom: 1px;
            }

                .editor-container-body .doc-page-body > div > .data-item .editor-field-wrapper .editor-field-option .assignTo-options li > a:hover {
                    background: var(--primary-light);
                    color: #fff !important;
                }

.editor-container-body .doc-page-body > div > .data-item[data-type="INITIALS"] .editor-field-wrapper {
    left: -15px;
    right: -15px;
}

    .editor-container-body .doc-page-body > div > .data-item[data-type="INITIALS"] .editor-field-wrapper .editor-field-option {
        font-size: 9px;
        line-height: 12px;
    }

.editor-container-body .doc-page-body > div > .data-item.highlight .editor-field-wrapper /*,
    .editor-container-body .doc-page-body > div > .data-item:hover .editor-field-wrapper*/ {
    display: block;
}


.editor-container-body .doc-page-body > div > .data-item .field.CHECKBOX .ui-resizable-handle {
    margin: 0
}

.editor-container-body .doc-page-body > div > .data-item .field.CHECKBOX .checkbox {
    display: block;
    margin: 0;
    min-width: initial;
    min-height: initial;
    width: 100%;
    height: 100%;
    outline: 0
}

    .editor-container-body .doc-page-body > div > .data-item .field.CHECKBOX .checkbox label {
        top: 0;
        width: 100% !important;
        height: 100% !important;
        -webkit-border-radius: 10%;
        -webkit-background-clip: padding-box;
        -moz-border-radius: 10%;
        -moz-background-clip: padding;
        border-radius: 10%;
        background-clip: padding-box;
        background-color: #eef7ff
    }

        .editor-container-body .doc-page-body > div > .data-item .field.CHECKBOX .checkbox label:after {
            content: '\2714';
            background: 0 0;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            vertical-align: middle;
            text-align: center;
            font-size: inherit;
            line-height: inherit
        }

    .editor-container-body .doc-page-body > div > .data-item .field.CHECKBOX .checkbox input:checked + label {
        background-color: var(--secondary-light);
    }

.editor-container-body .doc-page-body > div > .data-item .field.CHECKBOX.has-changed input:not(:checked) + label {
    background-color: #FFFDA8
}

.editor-container-body .doc-page-body > div > .data-item .field.RADIO .radio {
    display: block;
    margin: 0;
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: 100%
}

    .editor-container-body .doc-page-body > div > .data-item .field.RADIO .radio label {
        top: 0;
        width: 100% !important;
        height: 100% !important;
        -webkit-border-radius: 50%;
        -webkit-background-clip: padding-box;
        -moz-border-radius: 50%;
        -moz-background-clip: padding;
        border-radius: 50%;
        background-clip: padding-box;
        background-color: #fff
    }

        .editor-container-body .doc-page-body > div > .data-item .field.RADIO .radio label:after {
            height: 60%;
            width: 60%;
            top: 50%;
            left: 50%;
            margin-top: -30%;
            margin-left: -30%;
            border-radius: 50%
        }

    .editor-container-body .doc-page-body > div > .data-item .field.RADIO .radio input:checked + label:after {
        background-color: var(--secondary-light);
    }

.editor-container-body .doc-page-body > div > .data-item .field.RADIO.has-changed input + label {
    background-color: #FFFDA8
}

.editor-container-body .doc-page-body > div > .data-item .field.MASK {
    border: none
}

.editor-container-body .doc-page-body > div > .data-item[data-type="STRIKETHROUGH"] {
    background-color: transparent
}

    .editor-container-body .doc-page-body > div > .data-item[data-type="STRIKETHROUGH"] .field .field-body {
        height: 100%
    }

    .editor-container-body .doc-page-body > div > .data-item[data-type="STRIKETHROUGH"] .field .field-strikethrough {
        height: 55%;
        margin-top: .5px;
        border-bottom: 2px solid #000;
    }

    .editor-container-body .doc-page-body > div > .data-item[data-type="STRIKETHROUGH"] .field .ui-resizable-handle {
        margin: 0;
    }

.editor-container-body .doc-page-body > div > .data-item .field.DATE .field-body {
    padding-top: 0;
    padding-bottom: 0
}


.editor-container-body .doc-page-body > div > .data-item .field .field-body,
.editor-container-body .doc-page-body > div > .data-item .field .data-display {
    text-decoration: inherit
}

/*------------------------------------------- CHECKBOX ---------------------------------------------*/
.field-checkbox-2 {
    display: inline-block;
    position: relative;
    padding: 0;
    margin-bottom: 10px;
    text-align: left;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .field-checkbox-2.field-checkbox-2--disabled {
        opacity: 0.8;
        cursor: not-allowed;
    }

    .field-checkbox-2 > input {
        position: absolute;
        z-index: -1;
        opacity: 0;
    }

    .field-checkbox-2 > span {
        border-radius: 0;
        background: none;
        position: absolute;
        top: 1px;
        left: 0;
        height: 11px;
        width: 11px;
        border: 1px solid var(--primary);
    }

        .field-checkbox-2 > span:after {
            content: '';
            position: absolute;
            display: none;
            top: 50%;
            left: 50%;
            margin-left: -1.5px;
            margin-top: -3.5px;
            width: 3px;
            height: 6px;
            border-width: 0 2px 2px 0 !important;
            transform: rotate(45deg);
            border: solid var(--primary);
        }

    .field-checkbox-2 > input:checked ~ span {
        transition: all 0.3s ease;
        background: none;
        border: 1px solid var(--primary);
    }

        .field-checkbox-2 > input:checked ~ span:after {
            display: block;
        }

    .field-checkbox-2:hover > input:not([disabled]):checked ~ span,
    .field-checkbox-2 > input:checked ~ span {
        transition: all 0.3s ease;
    }

    .field-checkbox-2 > input:disabled ~ span {
        opacity: 0.6;
        pointer-events: none;
    }


        .field-checkbox-2 > input:disabled ~ span:after {
            border-color: var(--primary);
        }


/*----------------------------------------------------------------------------------------------------*/

.field-checkbox > input[type=checkbox] {
    position: absolute;
    margin: auto 0;
    bottom: 0;
    top: 0;
    width: 10px;
    height: 10px;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    padding: 0;
}

    .field-checkbox > input[type=checkbox]:not(:checked) {
        width: 10px;
        height: 10px;
        min-height: 0px;
        background: transparent url(/Images/checkbox-unchecked-brand-18.png) no-repeat center center;
        background-size: contain;
    }

        .field-checkbox > input[type=checkbox]:not(:checked):hover {
            width: 10px;
            height: 10px;
            min-height: 0px;
            background: transparent url(/Images/checkbox-unchecked-brand-18.png) no-repeat center center;
            background-size: contain;
            cursor: pointer;
        }

    .field-checkbox > input[type=checkbox]:checked {
        width: 10px;
        height: 10px;
        min-height: 0px;
        background: transparent url(/Images/checkbox-checked-brand-18.png) no-repeat center center;
        background-size: contain;
    }

.field-checkbox.disabled > input[type=checkbox] {
    opacity: .7;
}

.field-checkbox > input[type=checkbox]:checked:hover {
    width: 10px;
    height: 10px;
    min-height: 0px;
    background: transparent url(/Images/checkbox-checked-brand-18.png) no-repeat center center;
    background-size: contain;
    cursor: pointer;
}

/*-----------------------------------------RADIO----------------------------------------*/

.field-radio > input[type=radio] {
    position: absolute;
    margin: auto 0;
    bottom: 0;
    top: 0;
    width: 11px;
    height: 11px;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    padding: 0;
}

    .field-radio > input[type=radio]:not(:checked) {
        width: 11px;
        height: 11px;
        min-height: 0px;
        background: transparent url(/Images/radio-unchecked-brand-18.png) no-repeat center center;
        background-size: contain;
    }

        .field-radio > input[type=radio]:not(:checked):hover {
            width: 11px;
            height: 11px;
            min-height: 0px;
            background: transparent url(/Images/radio-unchecked-brand-18.png) no-repeat center center;
            background-size: contain;
            cursor: pointer;
        }

    .field-radio > input[type=radio]:checked {
        width: 11px;
        height: 11px;
        min-height: 0px;
        background: transparent url(/Images/radio-checked-brand-18.png) no-repeat center center;
        background-size: contain;
    }

        .field-radio > input[type=radio]:checked:hover {
            width: 11px;
            height: 11px;
            min-height: 0px;
            background: transparent url(/Images/radio-checked-brand-18.png) no-repeat center center;
            background-size: contain;
            cursor: pointer;
        }



/*---------------------------------------UI DATEPICKER---------------------------------------*/

.editor-main .ui-datepicker {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    /* height: 512px; */
    border-radius: 7px 7px 4px 4px;
    width: 280px;
    background-color: #fff;
    border: none;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
    padding: 0 15px 15px;
}

    .editor-main .ui-datepicker .ui-datepicker-header {
        height: 60px;
        position: relative;
        padding: 15px 5px;
        padding-right: 24px;
        padding-left: 24px;
        background-color: var(--secondary-light);
        border: navajowhite;
        border-radius: 4px 4px 0 0;
        color: var(--primary);
        line-height: 30px;
        font-size: 16px;
        margin: 0 -15px;
    }

    .editor-main .ui-datepicker .ui-datepicker-title {
        line-height: 30px;
        text-align: center;
        margin: 0;
    }

    .editor-main .ui-datepicker .ui-datepicker-prev,
    .editor-main .ui-datepicker .ui-datepicker-next {
        position: absolute;
        width: 30px;
        top: 15px;
        height: 60px;
        line-height: 60px;
        margin: -15px -1px;
        border-radius: 0;
    }

    .editor-main .ui-datepicker .ui-datepicker-prev {
        border-top-left-radius: 4px;
    }

    .editor-main .ui-datepicker .ui-datepicker-next {
        border-top-right-radius: 4px;
    }

    .editor-main .ui-datepicker .ui-state-hover,
    .editor-main .ui-datepicker .ui-widget-content .ui-state-hover,
    .editor-main .ui-datepicker .ui-widget-header .ui-state-hover,
    .editor-main .ui-datepicker .ui-state-focus,
    .editor-main .ui-datepicker .ui-widget-content .ui-state-focus,
    .editor-main .ui-datepicker .ui-widget-header .ui-state-focus,
    .editor-main .ui-datepicker .ui-button:hover,
    .editor-main .ui-datepicker .ui-button:focus {
        background: var(--secondary);
        border: none;
    }


    .editor-main .ui-datepicker .ui-datepicker-prev span,
    .editor-main .ui-datepicker .ui-datepicker-next span {
        display: block;
        position: relative;
        background-image: none !important;
        margin: 0;
        top: 0;
        left: 0;
        line-height: 30px;
        text-indent: -9999px;
        width: auto;
        height: auto;
        text-align: center;
        background-image: none;
    }

        .editor-main .ui-datepicker .ui-datepicker-prev span:before,
        .editor-main .ui-datepicker .ui-datepicker-next span:before {
            width: 30px;
            float: left;
            line-height: 60px;
            font-size: 20px;
            text-indent: 0;
            text-align: center;
            font-family: Flaticon2;
            font-style: normal;
            font-weight: normal;
            font-variant: normal;
            text-decoration: inherit;
            text-rendering: optimizeLegibility;
            text-transform: none;
            -moz-osx-font-smoothing: grayscale;
            -webkit-font-smoothing: antialiased;
            font-smoothing: antialiased;
        }


        .editor-main .ui-datepicker .ui-datepicker-prev span:before {
            content: "\f1be";
        }

        .editor-main .ui-datepicker .ui-datepicker-next span:before {
            content: "\f1e4";
        }

    .editor-main .ui-datepicker th {
        font-family: 'Nunito Sans';
        color: var(--primary);
    }

.editor-main .ui-state-default,
.editor-main .ui-widget-content .ui-state-default,
.editor-main .ui-widget-header .ui-state-default {
    border: none;
    background: transparent;
    text-align: center;
    color: var(--primary);
}

    .editor-main .ui-state-default:hover,
    .editor-main .ui-widget-content .ui-state-default:hover,
    .editor-main .ui-widget-header .ui-state-default:hover {
        background: var(--primary);
        color: #fff
    }

.editor-main .ui-state-active,
.editor-main .ui-widget-content .ui-state-active,
.editor-main .ui-widget-header .ui-state-active {
    background: var(--secondary);
    color: #000
}

/*---------------------------------------------------- SIGNATURE MODEL --------------------------------------------------*/

.signature-modal .modal-header {
    background: var(--primary);
    color: #fff !important;
}

    .signature-modal .modal-header .modal-title {
        color: #fff !important;
    }

    .signature-modal .modal-header .btn-close {
        font-size: 25px;
        line-height: 22px;
        text-align: center;
        padding: 5px;
        border: none;
    }

.signature-modal .signature-block {
    display: none;
    margin-bottom: 15px;
}

    .signature-modal .signature-block.open {
        display: block;
    }

    .signature-modal .signature-block.font-signature .form-control-label {
        width: 100%;
        border-bottom: 1px solid var(--secondary-light);
    }

    .signature-modal .signature-block.font-signature .form-control {
        border: none;
        border-radius: 0;
        border-bottom: 1px solid var(--secondary-light);
        padding: 12px 5px;
    }

    .signature-modal .signature-block.font-signature .signature-preview {
        padding: 20px 15px;
        background: var(--secondary-label-light-color);
    }

        .signature-modal .signature-block.font-signature .signature-preview .preview-name {
            width: 70%;
            float: left;
            padding-right: 15px;
        }

        .signature-modal .signature-block.font-signature .signature-preview .preview-initials {
            width: 30%;
            float: left;
            padding-left: 10px;
        }

            .signature-modal .signature-block.font-signature .signature-preview .preview-name .name-signed, .signature-modal .signature-block.font-signature .signature-preview .preview-initials .initials-signed {
                display: block;
                font-size: 25px;
                font-family: 'Mr Dafoe', cursive;
                color: var(--primary-dark);
            }

            .signature-modal .signature-block.font-signature .signature-preview .preview-name .name-label, .signature-modal .signature-block.font-signature .signature-preview .preview-initials .initials-label {
                text-transform: uppercase;
                font-size: 12px;
            }

.signature-modal .modal-body p {
    font-size: 13px;
    font-family: 'Nunito Sans';
}

    .signature-modal .modal-body p a {
        color: var(--secondary);
    }

        .signature-modal .modal-body p a:hover {
            color: var(--secondary-dark);
        }

.signature-block.draw-signature .col-draw-sign {
    flex: 0 0 300px;
    max-width: 100%;
}

.signature-block.draw-signature .col-draw-initial {
    flex: 0 0 150px;
    max-width: 100%;
}

    .signature-block.draw-signature .col-draw-sign .draw-label,
    .signature-block.draw-signature .col-draw-initial .draw-label {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .signature-block.draw-signature .col-draw-sign .draw-sign-canvas,
    .signature-block.draw-signature .col-draw-initial .draw-initial-canvas {
        position: relative;
        flex: 0 0 100%;
        /*height: 150px !important;*/
        max-width: 100%;
        padding: 10px 0;
    }

        .signature-block.draw-signature .col-draw-sign .draw-sign-canvas .btn-clear-sign,
        .signature-block.draw-signature .col-draw-initial .draw-initial-canvas .btn-clear-sign {
            cursor: pointer;
        }

.mobile-view .modal.show .modal-dialog {
    align-items: flex-start;
}

.mobile-view .modal .modal-header {
    padding: 1rem;
}

    .mobile-view .modal .modal-header .modal-title {
        font-size: 1.25rem;
        line-height: 1.5rem;
    }

    .mobile-view .modal .modal-header a.btn-close {
        font-size: 2rem;
        line-height: 2rem;
        padding: 12px;
    }

.mobile-view .modal .modal-body {
    padding: 1rem;
}

.mobile-view .signature-modal .modal-body .signature-block {
    margin-bottom: 10px;
}

.mobile-view .signature-modal .signature-block.font-signature .form-control-label {
    font-size: .75rem;
    line-height: 1rem;
}

.mobile-view .signature-modal .signature-block.font-signature .form-control {
    font-size: .875rem;
    padding: 8px 5px;
}

.mobile-view .signature-modal .signature-block.font-signature .signature-preview {
    padding: 15px;
}

    .mobile-view .signature-modal .signature-block.font-signature .signature-preview .name-signed, .mobile-view .signature-modal .signature-block.font-signature .signature-preview .initials-signed {
        font-size: 1.35rem;
        line-height: 2rem;
    }

    .mobile-view .signature-modal .signature-block.font-signature .signature-preview .preview-name .name-label, .mobile-view .signature-modal .signature-block.font-signature .signature-preview .preview-initials .initials-label {
        font-size: 10px;
    }

.mobile-view .signature-modal .modal-body p:last-child {
}

.mobile-view .modal .modal-footer a.btn {
    padding: .5rem .75rem;
    line-height: 1rem;
    font-size: .875rem;
}

.mobile-view .modal .modal-footer {
    padding: 1rem;
}

/*.mobile-view .editor-head-toolbar .spinner-border {
    width: 1rem;
    height: 1rem;
}*/


.field-adv-settings-modal {
    width: 300px;
    overflow: hidden !important;
    background: transparent;
    top: 100px;
    right: auto;
    bottom: auto;
    left: 50px;
}

    .field-adv-settings-modal .modal-dialog {
        width: 300px;
        overflow: hidden !important;
        background: transparent;
        margin: 0;
    }

    .field-adv-settings-modal .modal-content {
        width: 100%;
        border-radius: 12px;
        border: solid 3px var(--primary);
        box-shadow: inset 0 4px 0 0 var(--primary);
    }

    .field-adv-settings-modal .modal-header,
    .field-adv-settings-modal .modal-body {
        padding: 15px;
    }

    .field-adv-settings-modal .move-handle {
        cursor: move;
    }

    .field-adv-settings-modal .modal-body .form-group .form-control {
        width: calc(100% - 70px);
        float: left;
        padding: 7px 12px;
        font-size: 15px;
        line-height: 1.2em;
        height: calc(1.2em + 14px);
    }

        .field-adv-settings-modal .modal-body .form-group .form-control[type="number"] {
            width: 80px;
        }

    .field-adv-settings-modal .modal-body .form-group .form-control-label {
        width: 70px;
        text-align: right;
        float: left;
        padding: 7px 10px 7px 0;
        margin: 0;
        font-size: 15px;
        line-height: 1.2em;
        height: calc(1.2em + 14px);
    }



a.btn-next-field {
    position: fixed;
    top: 120px;
    color: #fff !important;
    border-radius: 0;
    z-index: 999;
}

    a.btn-next-field:hover {
        background: var(--secondary);
        border-color: var(--secondary);
    }

    a.btn-next-field::after {
        content: "";
        border: 25px solid var(--secondary);
        border-right: none;
        border-top-color: transparent;
        border-bottom-color: transparent;
        position: absolute;
        top: -1px;
        right: -26px;
        border-radius: 0;
    }

/*a.btn-next-field:hover::after {
        border: 25px solid var(--secondary-dark);
        border-right: none;
        border-top-color: transparent;
        border-bottom-color: transparent;
    }*/

.mobile-view a.btn-next-field {
    padding: 7px 10px;
    font-size: 12px;
    line-height: 16px;
}

    .mobile-view a.btn-next-field::after {
        border: 16px solid var(--secondary);
        border-right: none;
        border-top-color: transparent;
        border-bottom-color: transparent;
        right: -17px;
    }

/*  ---------------------------------------- REVIEW MODAL --------------------------------  */
.col-star-container,
.col-star-des-container {
    display: flex;
    flex-wrap: nowrap;
}

    .col-star-container .col-star {
        width: 150px;
        margin: 0;
        padding: 10px 0;
        text-align: center;
        cursor: pointer;
    }

        .col-star-container .col-star .col-star-icon {
            margin-top: 10px;
        }

            .col-star-container .col-star .col-star-icon > i {
                font-size: 25px;
                line-height: 35px;
                color: var(--secondary);
            }



        .col-star-container .col-star .col-star-num {
            color: var(--primary);
            font-size: 18px;
            line-height: 25px;
        }

.col-star-des-container {
    padding: 0 calc(5% - 10px);
    margin-top: 15px;
}

    .col-star-des-container .col-star-des {
        width: 250px;
        font-size: 16px;
        /* margin: 10px; */
        /* text-align: center; */
    }

        .col-star-des-container .col-star-des:first-child {
            flex: 0 0 calc(45% - 10px);
        }

        .col-star-des-container .col-star-des:nth-child(2) {
            flex: 0 0 70px;
        }

        .col-star-des-container .col-star-des:last-child {
            flex: 0 0 calc(55% - 60px);
        }

/*
    HELP BAR
*/

.help-bar {
    position: fixed;
    top: 120px;
    right: -200px;
    width: 200px;
    padding: 20px 15px;
    padding-right: 20px;
    background: var(--secondary-label-light-color);
    transition: right .5s ease-in-out;
}

    .help-bar.open {
        right: 0;
    }

    .help-bar .btn-toggle {
        position: absolute;
        padding: 10px 15px;
        background: var(--secondary-label-light-color);
        font-size: 16px;
        line-height: 20px;
        top: 0;
        left: -80px;
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
        cursor: pointer;
    }

    .help-bar.open .btn-toggle {
        left: -45px;
    }

    .help-bar .help-bar-container {
        padding: 5px 0;
        margin: 0 -15px;
        max-height: calc(100vh - 200px);
        overflow: hidden;
        overflow-y: auto;
    }

        .help-bar .help-bar-container .keys-group {
            display: inline-block;
            float: right;
            margin-bottom: 5px;
            font-size: 11px;
            line-height: 23px;
            color: #93a2dd;
            clear: both;
        }

            .help-bar .help-bar-container .keys-group > span {
                padding: 5px 8px;
                font-size: 11px;
                line-height: 11px;
                color: #93a2dd;
                border: 1px solid #93a2dd;
                border-radius: 4px;
            }

        .help-bar .help-bar-container .keys-desc {
            display: inline-block;
            float: right;
            margin-bottom: 10px;
            font-size: 12px;
            font-weight: 400;
            line-height: 16px;
            color: #93a2dd;
        }

/* width */
.custom-scroll::-webkit-scrollbar {
    width: 5px;
}

/* Track */
.custom-scroll::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px var(--primary-label-light-color);
    border-radius: 0;
}

/* Handle */
.custom-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 0;
}

    /* Handle on hover */
    .custom-scroll::-webkit-scrollbar-thumb:hover {
        background: var(--primary);
    }

/*
    ---------------------------------------------------------- SWEET ALERT MODAL STYLE -----------------------------------------------
*/

.mobile-view .swal2-actions .btn {
    padding: .5rem .75rem;
    font-size: .875rem;
    line-height: 1.25rem;
}

.mobile-view .swal2-icon {
    margin: 1em auto 1.25em;
    width: 4em;
    height: 4em;
}

    .mobile-view .swal2-icon.swal2-success [class^=swal2-success-line][class$=tip] {
        top: 2.3em;
        left: .6500em;
        width: 1.25em;
    }

    .mobile-view .swal2-icon.swal2-success [class^=swal2-success-line][class$=long] {
        top: 1.9em;
        right: .4em;
        width: 2.35em;
    }

    .mobile-view .swal2-icon.swal2-error [class^=swal2-x-mark-line] {
        width: 2.35em;
        height: .25em;
        top: 1.85em;
    }

        .mobile-view .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left] {
            left: .85em;
        }

        .mobile-view .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right] {
            right: .8em;
        }

.swal2-title {
    font-size: 1.6rem;
    line-height: 2rem;
    margin-bottom: 1.5rem;
}

.mobile-view .swal2-title {
    font-size: 1.25rem;
    line-height: 1.5rem;
}

.mobile-view .swal2-icon .swal2-icon-content {
    font-size: 3em;
}

/*  -----------------------------------------------------------------------------------------------------------------   */

.mobile-keys-container {
    position: initial;
    display: block;
    top: 200px;
    right: 20px;
    background: white;
    width: auto;
    max-height: initial;
    overflow: hidden;
    border-radius: 6px;
    padding: 4px 4px;
    /*margin-bottom: 8px;*/
}

    .mobile-keys-container .mobile-keys {
        display: inline-block;
    }

    .mobile-keys-container .keys-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .mobile-keys-container .btn-key {
        margin-top: 0;
    }

    .mobile-keys-container .action-keys .btn-key {
        padding: 5px 21px;
    }

    /*.mobile-keys-container .move-controls .btn-key {
        padding: 5px 7px;
        margin: 0 13px;
    }*/

    .mobile-keys-container .move-controls .btn-key,
    .mobile-keys-container .resize-controls .btn-key {
        padding: 5px 10px;
        margin: 0 10px;
    }

        .mobile-keys-container .move-controls .btn-key.btn-key-up {
            margin: 0 32px;
            margin-bottom: -3px;
        }

        .mobile-keys-container .move-controls .btn-key.btn-key-down {
            margin: 0 32px;
            margin-top: -3px;
        }

        /*.mobile-keys-container .resize-controls .btn-key {
        padding: 5px 7px;
        margin: 0 13px;
    }*/

        .mobile-keys-container .resize-controls .btn-key.btn-key-rhp {
            margin: 0;
            margin-bottom: 0;
        }

        .mobile-keys-container .resize-controls .btn-key.btn-key-rh {
            margin: 0;
            margin-top: 0;
        }

            .mobile-keys-container .resize-controls .btn-key.btn-key-rh i {
                transform: rotate(-45deg);
            }

        .mobile-keys-container .resize-controls .btn-key.btn-key-rw i {
            transform: rotate(45deg);
        }

        .mobile-keys-container .move-controls .btn-key-left,
        .mobile-keys-container .resize-controls .btn-key.btn-key-rw {
            margin: 0 4px;
            padding: 0px 4px;
            margin-left: 0.2rem;
            background: #eaedf2;
            border-color: #b1b5b8;
        }

        .mobile-keys-container .move-controls .btn-key-right,
        .mobile-keys-container .resize-controls .btn-key.btn-key-rwp {
            margin: 0 4px;
            padding: 0px 4px;
            margin-left: 0.2rem;
            background: #eaedf2;
            border-color: #b1b5b8;
        }

    .mobile-keys-container .move-controls input,
    .mobile-keys-container .resize-controls input {
        width: 32px;
        height: 30px;
        line-height: 30px;
        font-size: 15px;
        border: none;
        outline: 0 !important;
        text-align: center;
    }

    .mobile-keys-container .keys-divider {
        border-top: 1px solid var(--primary-light) !important;
        width: calc(100% + 10px);
        margin: 10px -5px;
    }

/*  -----------------------------------------------------------------------------------------------------------------   */


.btn-plus-icon {
    /* padding: 6px 8px 7px 12px !important;*/
    padding: 5px 4px 4px 6px !important;
}

    .btn-plus-icon .plus-icon {
        border: solid 1px #f37720;
        border-radius: 5px;
        background-color: #fee3d4;
        float: right;
        margin-left: 5px;
    }

        .btn-plus-icon .plus-icon img {
            height: 18px;
        }

.orange-btn {
    background-color: white;
    color: black;
    border-radius: 5px;
    width: 100%;
}

.contract-card {
    box-shadow: 0 4px 5px 0 rgb(0 0 0 / 8%);
    transition: 0.3s;
    width: 100%;
}

.str-contract-header,
.str-contract-header a {
    white-space: break-spaces;
    display: inline-flex;
    padding-top: 0 !important;
    margin: 0;
    color: #3f434a;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.multi-range-field input[type=range] + .thumb.active .value {
    color: #fff;
    margin-left: -1px;
    margin-top: 8px;
    font-size: 10px;
}

.multi-range-field input[type=range] + .thumb .value {
    display: block;
    width: 30px;
    text-align: center;
    color: #4285f4;
    font-size: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.multi-range-field input[type=range] + .thumb.active {
    -webkit-border-radius: 50% 50% 50% 0;
}

.multi-range-field input[type=range] + .thumb {
    position: absolute;
    border: none;
    height: 0;
    width: 0;
    border-radius: 50%;
    background-color: #4285f4;
    top: 10px;
    margin-left: -6px;
    transform-origin: 50% 50%;
    transform: rotate(-45deg);
}

    .multi-range-field input[type=range] + .thumb .value {
        display: block;
        width: 30px;
        text-align: center;
        color: #4285f4;
        font-size: 0;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }

.multi-range-field {
    position: relative;
    margin: 12px 0px 0px 0px;
}

    .multi-range-field .row {
        margin: 0px 16px;
    }

    .multi-range-field .multi-range-icon-conatiner {
        padding: 4px 7px;
        background: #2c3343;
        border-radius: 27px;
    }

        .multi-range-field .multi-range-icon-conatiner .la {
            color: white;
        }

    .multi-range-field .multi-range {
        width: 100%;
        margin-top: 6px;
    }

.menu-color-container {
    border: 1px solid #f27825;
    background: #fee4d5;
    border-radius: 4px !important;
    color: #f27825 !important;
    height: 30px;
    position: relative;
    display: inline-block;
}

    .menu-color-container .input-color {
        width: 26px;
        background: none;
        border: none;
        height: 30px;
        padding: 2px;
        position: absolute;
    }

    .menu-color-container a {
        height: 28px;
        display: inline-block;
    }

    .menu-color-container img {
        margin: 6px 2px 0 26px;
    }


.btn-orange-img-icon,
.btn-black-img-icon {
    padding: 6px;
}

    .btn-orange-img-icon span,
    .btn-black-img-icon span {
        /*margin-right: 8px;*/
        margin-left: 2px;
        vertical-align: middle;
    }

    .btn-orange-img-icon i {
        color: #d67f39;
        border: solid 1px #f37720;
        border-radius: 5px;
        background-color: #fee3d4;
        vertical-align: middle;
        padding: 4px;
        font-size: 12px;
        margin: 0 !important;
    }

    .btn-orange-img-icon img {
        border: solid 1px #f37720;
        border-radius: 5px;
        background-color: #fee3d4;
        height: 22px;
        vertical-align: middle;
    }

    .btn-black-img-icon img {
        height: 22px;
        vertical-align: middle;
    }


    .btn-orange-img-icon.btn-sm,
    .btn-black-img-icon.btn-sm {
        padding: 4px;
    }

        .btn-orange-img-icon.btn-sm img {
            height: 22px;
            vertical-align: middle;
            padding: 4px;
        }

/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */

    background-color: #f37924;
    color: #fff;
    text-align: center;
    padding: 9px 0px;
    position: fixed;
    z-index: 1;
    bottom: 70px;
    right: 0;
    width: 100%;
}

/* #snackbar:after {
    width: 0;
    height: 0;
    content: "";
    border-style: solid;
    border-width: 6px 6px 0 6px;
    border-color: #f37925 transparent transparent transparent;
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    margin: auto;
    } */

/* Show the snackbar when clicking on a button (class added with JavaScript) */
.snackbar-show {
    visibility: visible !important; /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
However, delay the fade out process for 2.5 seconds */
    /* -webkit-animation: snackbarfadein 0.5s, snackbarfadeout 0.5s 1.5s;
    animation: snackbarfadein 0.5s, snackbarfadeout 0.5s 1.5s; */
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes snackbarfadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 52px;
        opacity: 1;
    }
}

@keyframes snackbarfadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 52px;
        opacity: 1;
    }
}

@-webkit-keyframes snackbarfadeout {
    from {
        bottom: 52px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes snackbarfadeout {
    from {
        bottom: 52px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

.contract-documents-btn-action {
    -ms-flex-pack: center !important;
    justify-content: center !important;
}

    .contract-documents-btn-action a span {
        font-size: 12px;
    }

.page-number-container {
    font-size: 8px;
    position: absolute;
    background: #dadada;
    right: 0;
    z-index: 10;
}

    .page-number-container a:hover {
        background: transparent !important;
    }

.gap-12 {
    gap: 12px;
}
