.dom {
    display: none;
}

body {
    padding-bottom: 35px;
}

#load{
    width:100%;
    height:100%;
    position:fixed;
    z-index:9999;
    background:url("../img/loading.gif") no-repeat center center rgba(255,255,255,0.5)
}

.chat .item .middle ul>li:nth-of-type(odd) {
    justify-content: flex-end;
}

.chat .item .middle ul>li.received {
    justify-content: flex-start;
}

.chat .item .middle ul>li.sent {
    justify-content: flex-end;
}

.chat .item .middle ul>li:nth-of-type(odd) .bubble {
    background: #007bff;
}

.chat .item .middle ul>li:nth-of-type(odd) p {
    color: #ffffff;
}

.chat .item .middle ul>li.received .bubble {
    background: #f5f5f5;
}

.chat .item .middle ul>li.received .bubble p {
    color: #bdbac2;
}

.chat .item .middle ul>li.sent .bubble {
    background: #007bff;
}

.chat .item .middle ul>li.sent .bubble p {
    color: #ffffff;
}

.chat .item .middle ul>li span {
    margin-top: 3px;
    display: inline-block;
    text-align: right;
}

.chat .item .middle ul>li.sent .content {
    text-align: right;
}

.chat .item .middle ul>li.received span {
    text-align: left;
}

.chat .btn-send {
    color: #666;
}

.chat-messages .conversation-message .icon .fas {
    display: none;
    font-size: 1rem;
}

.chat-messages .conversation-message .icon .fa-check {
    color: #007bff;
}

.chat-messages .conversation-message .icon .fa-check-double {
    color: #43b581;
}

.chat-messages .conversation-message .icon .fa-exclamation {
    color: red;
}

.chat-messages .conversation-message.status-received .icon .fa-check-double {
    display: inline;
}

.chat-messages .conversation-message.status-sent .icon .fa-check {
    display: inline;
}

.chat-messages .conversation-message.status-delivered .icon .fa-check-double {
    color: #bdbac2;
    display: inline;
}

.chat-messages .conversation-message.status-read .icon .fa-check-double {
    color: #43b581;
    display: inline;
}

.chat-messages .conversation-message.status-failed .icon .fa-exclamation {
    display: inline;
}

.chat-messages .conversation-message.status-queued .icon .fa-hourglass-half {
    display: inline;
}

.chat .item .middle ul>li.conversation-message img.media {
    border-radius: 0;
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0;
}

.chat .item .middle ul>li.conversation-message a.media {
    border-radius: 0;
    padding: 0 20px;
    line-height: 1.2;
}

.conversation .headline .created_at {
    margin-left: 10px;
}

.conversation .headline .unread {
    background: #43b581;
    padding: 0 6px;
    border-radius: 50%;
    color: #fff;
    height: auto;
    text-align: center;
    margin-left: 15px;
    font-size: 11px;
    margin-top: 2px;
}

.loader .fa-sync {
    color: #bdbac2;
}

.conversation {
    position: relative;
}

.conversation .divider {
    position: absolute;
    bottom: 1px;
    width: 100%;
    left: 0;
}


.chat-footer .form-group {
    margin-bottom: 15px;
}

.conversation-message i, .conversation-message [class^="icon-"], .conversation-message [class*=" icon-"] {
    font-size: 1.5rem;
}

.form-group textarea.form-control, .form-check textarea.form-control {
    padding: 4px 9px;
}

.conversation-message img.file {
    display: block;
    border-radius: 0;
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0;
}

.jstree-default-large .jstree-node {
    min-height: 35px;
    line-height: 35px;
    margin-left: 35px;
    min-width: 35px;
}

.jstree-default .jstree-hovered {
    background: #eee;
    border-radius: 5px;
}

.jstree-default .jstree-clicked {
    background: #2196F3;
    color: #fff;
    border-radius: 5px;
}
.action-container {
    min-height: auto !important;
}
.document-action-container {
    min-height: auto !important;
    position: fixed !important;
    bottom: 0;
    width: 100% !important;
    left: 0;
    height: auto !important;
    z-index: 100;
    /* box-shadow: 0px 2px 1px -1px rgba(0,0,0,0.2), 0px 1px 1px 0px rgba(0,0,0,0.14), 0px 1px 3px 0px rgba(0,0,0,0.12); */
}
.document-container {
    margin: auto;
    margin-bottom: 30px;
    position: relative;
    width: 100%;
}

.document-container .document-image-container {
    background: top left no-repeat;
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 1;
}

.document-container .document-image-container .document-image {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}

.document-container .document-image-container.droppable {
    cursor: crosshair;
}

.document-container .document-image-container .droppable-field {
    position: absolute;
    z-index: 100;
    border: 1px dashed #000;
}

.document-container .document-image-container .droppable-field[data-type="input"] {
    border-color: coral;
}
.document-container .document-image-container .droppable-field[data-type="signature"] {
    border-color: goldenrod;
}
.document-container .document-image-container .droppable-field.readonly[data-type="signature"] {
    border: none;
}
.document-edit-container .document-image-container .droppable-field[data-type="signature"] {
    min-width: 100px;
    min-height: 50px;
}
.document-container .document-image-container .droppable-field[data-type="file"] {
    border-color: green;
}
.document-edit-container .document-image-container .droppable-field[data-type="file"] {
    min-width: 100px;
    min-height: 50px;
}
.document-container .document-image-container .droppable-field[data-type="image"] {
    border-color: goldenrod;
}
.document-container .document-image-container .droppable-field.readonly[data-type="image"] {
    border: none;
}
.document-edit-container .document-image-container .droppable-field[data-type="image"] {
    min-width: 100px;
    min-height: 50px;
}
.document-container .document-image-container .droppable-field[data-type="image_signature"] {
    border-color: goldenrod;
}
.document-container .document-image-container .droppable-field.readonly[data-type="image_signature"] {
    border: none;
}
.document-edit-container .document-image-container .droppable-field[data-type="image_signature"] {
    min-width: 100px;
    min-height: 50px;
}
.document-container .document-image-container .droppable-field[readonly="readonly"] {
    border: none;
}
.document-container .document-image-container .droppable-field .check-label {
    position: absolute;
    top: -2px;
    left: -2px;
    top: 0;
    left: 0;
    height: inherit;
    width: inherit;
    font-size: inherit;
    background: transparent;
    color: #999;
    margin: 0;
    padding: 0;
}
.document-container .document-image-container .droppable-field .check-label input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
}
.document-container .document-image-container .droppable-field .check-label span {
    height: 100%;
    width: 100%;
    /* border: 1px solid #000; */
    border-radius: 2px;
    display: block;
    position: relative;
    font-size: inherit;
}
.document-container .document-image-container .droppable-field .check-label span:before {
    content: "\ea7f";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: inherit;
    font-family: 'fuse-iconfont' !important;
    display: block;
}
.document-container .document-image-container .droppable-field .check-label input:disabled:checked + span {
    /* background: grey; */
    /* opacity: 0.5; */
}
.document-container .document-image-container .droppable-field .check-label input:checked + span {
    background: white;
}
.document-container .document-image-container .droppable-field .check-label input:checked + span:before {
    content: "\ea83";
    display: block;
}

.document-container .document-image-container .droppable-field.check {
    border: none;
    min-width: 22px;
    min-height: 22px;
    border-color: transparent;
}

.document-container .document-image-container .droppable-field.check-sign {
    border-color: transparent;
}

.document-container .document-image-container .droppable-field .btn_action {
    display: none;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);

    font-size: 25px;
    line-height: 25px;
    width: 33px;
    height: 25px;
    padding: 0 4px;
}

.document-container .document-image-container .droppable-field:hover, .document-container .document-image-container .droppable-field:active {
    z-index: 200;
}

.document-container .document-image-container .droppable-field.active .btn_action, .document-container .document-image-container .droppable-field:hover .btn_action, .document-container .document-image-container .droppable-field:active .btn_action {
    display: block;
}


.document-container .document-image-container .droppable-field .btn_delete {
    right: -33px;
    cursor: pointer;
}

.document-container .document-image-container .droppable-field .btn_move {
    left: -33px;
}

.document-container .document-image-container .droppable-field .btn_settings {
    left: -58px;
    cursor: pointer;
}

.document-container .document-image-container .droppable-field .btn_copy {
    left: -86px;
    cursor: pointer;
}

.document-container .document-image-container .droppable-field .btn_upload {
    left: -115px;
    cursor: pointer;
}

.document-container .document-image-container .droppable-field input[type="text"], .document-container .document-image-container .droppable-field textarea {
    width: 100%;
    height: 100%;

    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    cursor: inherit;
    background: transparent;

    font-size: 80%;
    line-height: 100%;
    text-size-adjust: 80%;
    font-family: 'Open Sans', sans-serif;
    text-align: inherit;
}
.document-container .document-image-container .droppable-field input[type="checkbox"] {
    border: none;

    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}
.document-container .document-image-container .droppable-field img {
    border: 1px dotted #000;
    width: 100%;
    height: 100%;

    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

.document-container .document-image-container .droppable-field img.signature-img {
    background: rgb(245, 248, 250);
    border: 1px solid #0072c6;
}

.document-container .document-image-container .droppable-field.readonly[data-type="signature"] a {
    pointer-events: none;
}

.document-container .document-image-container .droppable-field.readonly[data-type="signature"] img {
    background-color: transparent !important;
    border: none !important;
}

.document-container .document-image-container .droppable-field img.image-img {
    background: rgb(245, 248, 250);
    border: 1px solid #0072c6;
}

.document-container .document-image-container .droppable-field.readonly[data-type="image"] a {
    pointer-events: none;
}

.document-container .document-image-container .droppable-field.readonly[data-type="image"] img {
    background-color: transparent !important;
    border: none !important;
}

.document-container .document-image-container .droppable-field.readonly[data-type="image_signature"] a {
    pointer-events: none;
}

.document-container .document-image-container .droppable-field.readonly[data-type="image_signature"] img {
    background-color: transparent !important;
    border: none !important;
}

.document-container .document-image-container .droppable-field div.cross {
    position: absolute;
    font-size: 20px;
    line-height: 20px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    right: auto;
    margin-top: -10px;
    margin-left: -10px;
    z-index: 10;
}

.document-container .document-image-container .droppable-field .file-lnk {
    display: inline-block;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.document-container .document-image-container .droppable-field .file-lnk .file-img {
    z-index: 8;
}

.document-container .document-image-container .droppable-field .file-lnk input[type="file"] {
    visibility: hidden;
    z-index: 10;
}

.document-container .document-image-container .droppable-field .file-lnk .progress {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: orange;
    z-index: 10;
}

.progress {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: orange;
    z-index: 10;
}

.doc .example.action-bar {
    width: 250px;
    position: fixed;
    top: 2.4rem;
    right: 2.4rem;
    height: auto;
    z-index: 99;
    min-height: 0;
}

.doc .example.action-bar .nav-item .nav-link.active {
    background: #2196F3;
    color: #fff;
}

#selector {
    border: 1px dotted #000;
    position: absolute;
    z-index: 100;
}

.frm-default .icn-loading,
.frm-default .icn-success,
.frm-loading .icn-default,
.frm-loading .icn-success,
.frm-success .icn-default,
.frm-success .icn-loading
{
    display: none;
}


.myGlower {
    background-color: #fafafa !important;
    border: 1px solid #0072c6 !important;
    -webkit-transition: border 0.2s linear, box-shadow 0.2s linear;
       -moz-transition: border 0.2s linear, box-shadow 0.2s linear;
            transition: border 0.2s linear, box-shadow 0.2s linear;
}

.myGlower.active {
    border-color: blue;
    -webkit-box-shadow: 0 0 5px #0072c6;
       -moz-box-shadow: 0 0 5px #0072c6;
            box-shadow: 0 0 5px #0072c6;
}

.signature-canvas canvas {
	border: 1px solid #000;
	width: 100%;
    /* height: 120px; */
    z-index: 9999;
}
/*
.btn-fab.btn-sm {
    font-size: 1.4rem !important;
    height: 1.4rem !important;
    min-height: 1.4rem !important;
    line-height: 1.4rem !important;
    width: 1.4rem !important;
    min-width: 1.4rem !important;
}

.btn-sm i {
    font-size: 1.4rem !important;
    height: 1.4rem !important;
    min-height: 1.4rem !important;
    line-height: 1.4rem !important;
    width: 1.4rem !important;
    min-width: 1.4rem !important;
} */

.btn-main {
    height: 3rem !important;
    line-height: 3rem !important;
    min-height: 3rem !important;
}

.btn-main.btn-fab {
    min-width: 3rem !important;
    width: 3rem !important;
}

.btn-main i {
    font-size: 1.4rem !important;
    height: 1.4rem !important;
    min-height: 1.4rem !important;
    line-height: 1.4rem !important;
    width: 1.4rem !important;
    min-width: 1.4rem !important;
}


/* rtl */
.modal-header .close {
    margin: -15px auto -15px -15px
}

.form-group label, .form-group .invalid-feedback, .form-group .form-text {
    text-align: right;
}

.form-group label {
    transform-origin: right top !important;
}

.form-group label.custom-file-label {
    padding-right: 100px;
}

.form-group select {
    max-width: 100%;
}

.btn-invite {
    width: 125px !important;
}

.btn-icon-only {
    width: 55px !important;
    max-width: 55px !important;
    min-width: 55px !important;
}

#cursor_dot {
    position: absolute;
    z-index: 9999;
    /* width: 10px;
    height: 10px;
    background: #000; */
    display: none;
    border-radius: 50%;
    pointer-events: none;
}

#cursor_dot i {
    color: #000;
    font-size: 4rem;
    position: absolute;
    top: -18px;
    /* top: -18px;
    left: -12px; */
    pointer-events: none;
}

.form-check label.form-check-label {
    padding-right: 40px;
}

.form-check label.form-check-label .checkbox-icon {
    right: 0;
}

.group-tree .jstree-anchor {
    position: relative;
}

.group-tree .jstree-anchor .btn-settings {
    text-decoration: none;
    line-height: 32px;
    display: none;

    position: absolute;
    left: -25px;
    top: 2px;
}

.group-tree .jstree-anchor:hover .btn-settings {
    display: block;
}
/*
.modal-signature {
    width: 90%;
    max-width: 90%;
}

@media only screen and (min-width: 768px) {
    .modal-signature {
        width: 90%;
        max-width: 700px;
    }
} */

.form-check-centered {
    justify-content: center;
    align-items: center;
    display: flex;
}

.form-check-centered .form-check-label {
    width: auto;
    display: inline-flex;
}
