﻿

html, body {
    scroll-behavior: smooth;
}
form {
    height: 100%;
}

#loader {
    position: fixed;
    display: grid;
    align-content: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background: white;
    top: 0px;
    left: 0px;
    z-index: 999;
}


.sk-folding-cube {
    margin: 20px auto;
    width: 25px;
    height: 25px;
    position: relative;
    -webkit-transform: rotateZ(45deg);
    transform: rotateZ(45deg);
}

    .sk-folding-cube .sk-cube {
        float: left;
        width: 50%;
        height: 50%;
        position: relative;
        -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1);
    }

        .sk-folding-cube .sk-cube:before{
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            -webkit-animation: sk-foldCubeAngle 2.4s infinite linear both;
            animation: sk-foldCubeAngle 2.4s infinite linear both;
            -webkit-transform-origin: 100% 100%;
            -ms-transform-origin: 100% 100%;
            transform-origin: 100% 100%;
        }

        .sk-folding-cube .sk-cube:nth-child(-n+2):before {
            background-color: #999999;
            
        }

        .sk-folding-cube .sk-cube:nth-child(n+3):before {
            background-color: #006599;
        }

    .sk-folding-cube .sk-cube2 {
        -webkit-transform: scale(1.1) rotateZ(90deg);
        transform: scale(1.1) rotateZ(90deg);
    }

    .sk-folding-cube .sk-cube3 {
        -webkit-transform: scale(1.1) rotateZ(180deg);
        transform: scale(1.1) rotateZ(180deg);
    }

    .sk-folding-cube .sk-cube4 {
        -webkit-transform: scale(1.1) rotateZ(270deg);
        transform: scale(1.1) rotateZ(270deg);
    }

    .sk-folding-cube .sk-cube2:before {
        -webkit-animation-delay: 0.3s;
        animation-delay: 0.3s;
    }

    .sk-folding-cube .sk-cube3:before {
        -webkit-animation-delay: 0.6s;
        animation-delay: 0.6s;
    }

    .sk-folding-cube .sk-cube4:before {
        -webkit-animation-delay: 0.9s;
        animation-delay: 0.9s;
    }

@-webkit-keyframes sk-foldCubeAngle {
    0%, 10% {
        -webkit-transform: perspective(140px) rotateX(-180deg);
        transform: perspective(140px) rotateX(-180deg);
        opacity: 0;
    }

    25%, 75% {
        -webkit-transform: perspective(140px) rotateX(0deg);
        transform: perspective(140px) rotateX(0deg);
        opacity: 1;
    }

    90%, 100% {
        -webkit-transform: perspective(140px) rotateY(180deg);
        transform: perspective(140px) rotateY(180deg);
        opacity: 0;
    }
}

@keyframes sk-foldCubeAngle {
    0%, 10% {
        -webkit-transform: perspective(140px) rotateX(-180deg);
        transform: perspective(140px) rotateX(-180deg);
        opacity: 0;
    }

    25%, 75% {
        -webkit-transform: perspective(140px) rotateX(0deg);
        transform: perspective(140px) rotateX(0deg);
        opacity: 1;
    }

    90%, 100% {
        -webkit-transform: perspective(140px) rotateY(180deg);
        transform: perspective(140px) rotateY(180deg);
        opacity: 0;
    }
}

.text-ellipsis {
    overflow-x: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


.form-control input[type=radio] + label {
    margin-left: 1rem;
}


.phone {
    height: 50px;
    width: 100px;
    border: 3px solid white;
    border-radius: 10px;
    animation: rotate 1.5s ease-in-out infinite alternate;
}

.signature-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    touch-action: none;
}

.message {
    color: white;
    font-size: 1em;
    margin-top: 40px;
}

.portrait-container {
    display: flex;
    width: 100%;
    height: 100%;
    background-color: black;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg)
    }

    50% {
        transform: rotate(-90deg)
    }

    100% {
        transform: rotate(-90deg)
    }
}

@media only screen and (max-width: 824px) and (orientation: landscape) {
    .portrait-container {
        display: none;
    }

    .landscape-container {
        display: block;
        background-color: white;
        top: 0;
        left: 0;
        position: relative;
        width: 100%;
        height: 100%;
    }
}

@media only screen and (max-width: 824px) and (orientation: portrait) {
    .portrait-container {
        display: flex;
    }

    .landscape-container {
        display: none;
    }
}

.landscape-left {
    float: left;
    width: 90%;
    height: 100%;
}

    .landscape-left
    canvas {
        left: 5%;
        top: 5%;
        position: relative;
        width: 90%;
        height: 90%;
        border: 1px solid #212529;
    }

.landscape-right {
    padding: 4px;
    float: left;
    width: 10%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

    .landscape-right button {
        width: 100%;
        height: 47%;
    }

.sign-help-overlay {
    left: 5%;
    top: 5%;
    position: fixed;
    width: 80%;
    height: 90%;
}

    .sign-help-overlay .help-text {
        position: absolute;
        left: 10%;
        width: 80%;
        bottom: 20%;
        border-top: 1px solid #000;
    }



.digit-group input {
    width: 30px !important;
    height: 50px !important;
    background-color: #18182a !important;
    border: none !important;
    line-height: 50px !important;
    text-align: center !important;
    font-size: 24px !important;
    font-family: 'Raleway', sans-serif;
    font-weight: 200 !important;
    color: white !important;
    margin: 0 2px !important;
    padding: 0 !important;
}

.digit-group .splitter {
    padding: 0 5px;
    color: #18182a !important;
    font-size: 30px;
}

#overlay-container {
    touch-action: none;
}


/*extra breakpoints for better mobile support*/
@media(max-width:411px) {
    html,body {
        font-size:11px !important;
    }
}

@media(max-width:320px) {
    html, body {
        font-size: 9px !important;
    }
}

.user-initials {
    font-size: 3.5rem !important;
    font-weight: 900 !important;
}

.image-input.image-input-outline .image-input-wrapper {
    background-size: contain;
    background-position: center;
}

.content {
    background:#f8f8ff;
}


.img-loader .spinner:before {
    left: -0.75rem;
}

.note-editable {
    background-color: white;
}

.dataTables_info {
    overflow-x:hidden;
    white-space:normal !important;
}

.select2-hidden {
    display: none !important;
}

.document {
    position: relative;
    box-shadow: 0 0.5rem 1.5rem 0.5rem rgb(0 0 0 / 7%);
    border-radius: 1rem;
}

    .document .document-index {
        position: absolute;
        left: -10px;
        top: -10px;
    }

    .document [data-action="remove"] {
        position: absolute;
        right: 20px;
        top: -10px;
    }

    .document .checkbox {
        font-size: 0.8rem;
    }

    .document [data-action="move"] {
        position: absolute;
        right: -10px;
        top: -10px;
    }

    .document [data-action="restore"] {
        position: absolute;
        right: 80px;
        top: -10px;
    }

    .document [data-action="edit"] {
        position: absolute;
        right: 50px;
        top: -10px;
    }


.color-info {
    color: #03a9f4;
}

.color-danger {
    color: #F64E60;
}

.color-warning {
    color: #FFA800;
}


.completed-process g [fill] {
    fill: #4caf50;
}

.pending-process g [fill] {
    fill: #ff9800;
}

.cancelled-export g [fill] {
    fill: #f44336;
}



/*custom input file*/
.inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.inputfile + label {
    max-width: 80%;
    font-size: 0.75rem;
    /* 20px */
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    padding: 0.625rem 1.25rem;
    /* 10px 20px */
}

.no-js .inputfile + label {
    display: none;
}

.inputfile:focus + label,
.inputfile.has-focus + label {
    outline: 1px dotted #000;
    outline: -webkit-focus-ring-color auto 5px;
}

.inputfile + label * {
    /* pointer-events: none; */
    /* in case of FastClick lib use */
}

.inputfile + label svg {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    fill: currentColor;
    margin-top: -0.25em;
    /* 4px */
    margin-right: 0.25em;
    /* 4px */
}


/* style 1 */

.inputfile-1 + label {
    color: #f1e5e6;
    background-color: #7e8299;
    border-color: #7e8299;
}

    .inputfile-1:focus + label,
    .inputfile-1.has-focus + label,
    .inputfile-1 + label:hover {
        background-color: #7e8299cc;
        border-color: #7e8299cc;
    }


/* style 2 */

.inputfile-2 + label {
    color: #d3394c;
    border: 2px solid currentColor;
}

    .inputfile-2:focus + label,
    .inputfile-2.has-focus + label,
    .inputfile-2 + label:hover {
        color: #722040;
    }


/* style 3 */

.inputfile-3 + label {
    color: #d3394c;
}

    .inputfile-3:focus + label,
    .inputfile-3.has-focus + label,
    .inputfile-3 + label:hover {
        color: #722040;
    }


/* style 4 */

.inputfile-4 + label {
    color: #d3394c;
}

    .inputfile-4:focus + label,
    .inputfile-4.has-focus + label,
    .inputfile-4 + label:hover {
        color: #722040;
    }

    .inputfile-4 + label figure {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background-color: #d3394c;
        display: block;
        padding: 20px;
        margin: 0 auto 10px;
    }

    .inputfile-4:focus + label figure,
    .inputfile-4.has-focus + label figure,
    .inputfile-4 + label:hover figure {
        background-color: #722040;
    }

    .inputfile-4 + label svg {
        width: 100%;
        height: 100%;
        fill: #f1e5e6;
    }


/* style 5 */

.inputfile-5 + label {
    color: #d3394c;
}

    .inputfile-5:focus + label,
    .inputfile-5.has-focus + label,
    .inputfile-5 + label:hover {
        color: #722040;
    }

    .inputfile-5 + label figure {
        width: 100px;
        height: 135px;
        background-color: #d3394c;
        display: block;
        position: relative;
        padding: 30px;
        margin: 0 auto 10px;
    }

    .inputfile-5:focus + label figure,
    .inputfile-5.has-focus + label figure,
    .inputfile-5 + label:hover figure {
        background-color: #722040;
    }

    .inputfile-5 + label figure::before,
    .inputfile-5 + label figure::after {
        width: 0;
        height: 0;
        content: '';
        position: absolute;
        top: 0;
        right: 0;
    }

    .inputfile-5 + label figure::before {
        border-top: 20px solid #dfc8ca;
        border-left: 20px solid transparent;
    }

    .inputfile-5 + label figure::after {
        border-bottom: 20px solid #722040;
        border-right: 20px solid transparent;
    }

    .inputfile-5:focus + label figure::after,
    .inputfile-5.has-focus + label figure::after,
    .inputfile-5 + label:hover figure::after {
        border-bottom-color: #d3394c;
    }

    .inputfile-5 + label svg {
        width: 100%;
        height: 100%;
        fill: #f1e5e6;
    }


/* style 6 */

.inputfile-6 + label {
    color: #d3394c;
}

.inputfile-6 + label {
    border: 1px solid #d3394c;
    background-color: #f1e5e6;
    padding: 0;
}

    .inputfile-6:focus + label,
    .inputfile-6.has-focus + label,
    .inputfile-6 + label:hover {
        border-color: #722040;
    }

    .inputfile-6 + label span,
    .inputfile-6 + label strong {
        padding: 0.625rem 1.25rem;
        /* 10px 20px */
    }

    .inputfile-6 + label span {
        width: 200px;
        min-height: 2em;
        display: inline-block;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        vertical-align: top;
    }

    .inputfile-6 + label strong {
        height: 100%;
        color: #f1e5e6;
        background-color: #d3394c;
        display: inline-block;
    }

    .inputfile-6:focus + label strong,
    .inputfile-6.has-focus + label strong,
    .inputfile-6 + label:hover strong {
        background-color: #722040;
    }

@media screen and (max-width: 50em) {
    .inputfile-6 + label strong {
        display: block;
    }
}

.dz-message {
    display:flex;
}

.dropzone .dz-preview .dz-error-message {
    color:white;
}

/*.note-attachment > span {
    color: blue;
}*/

input[type=file].note-attachments + label > svg g [fill] {
    fill: #8950FC;
}

input[type=file].note-attachments + label:hover > svg g [fill] {
    fill: white;
}

.login-logo > img {
    max-height: 50px;
    width:auto;
}


@media (max-width: 991.98px) {
    .login-logo > img {
        max-height: 40px;
        width: auto;
    }
}




/* facebook like tagging */

.contentbox {
    width: 100%;
    min-height: 50px;
    text-align: left;
    height: auto !important;
    /*border: solid 2px #333;
    font-family: Arial, Helvetica, sans-serif;*/
    /*font-size: 14px;
    margin-bottom: 6px;
    */
}

/*.display .display_box .img {
    float: left;
    width: 150px;
    margin-right: 10px;
    text-align: center;
}

.msgbox {
    border: solid 1px #dedede;
    padding: 5px;
    display: none;
    background-color: #f2f2f2
}
*/
/*.contentbox .red {
    color: #cc0000;
    font-weight: bold;
}

.contentbox a {
    text-decoration: none;
}

.contentbox a:hover {
    text-decoration: none;
}*/

/*.display {
    display: none;
    border-left: solid 1px #dedede;
    border-right: solid 1px #dedede;
    border-bottom: solid 1px #dedede;
    overflow: hidden;
    margin:0;
    padding:0;
}

    .display .display_box {
        min-height: 50px;
        padding: 4px;
        font-size: 12px;
        height: 30px;
    }

.user-box:not(:last-child) {
    border-bottom: solid 1px #dedede;
}

.display .display_box:hover {
    background: #3b5998;
}

        .display .display_box:active {
            background: #3b5998;
        }

.display .display_box:focus-visible {
    outline: none;
}



    .display .display_box:hover .user-fullname {
        color: #FFFFFF !important;
    }

        .display .display_box:active .user-fullname {
            color: #FFFFFF !important;
        }

    .display .display_box:hover .user-email {
        color: #ffffff91 !important;
    }

        .display .display_box:active .user-email {
            color: #ffffff91 !important;
        }

    .display .display_box a {
        color: #333;
    }

.display .display_box a:hover {
    color: #fff;
}


.display .display_box .image {
    width: 25px;
    float: left;
    margin-right: 6px
}*/



.ui-menu-item-wrapper {
    display:flex;
}

    .ui-menu-item-wrapper.ui-state-active span .user-fullname {
        color: #FFFFFF !important;
    }

    .ui-menu-item-wrapper.ui-state-active span .user-email {
        color: #ffffff91 !important;
    }

.ui-menu-item:not(:last-child) {
    border-bottom: solid 1px #dedede !important;
}

    .ui-menu-item-wrapper.ui-state-active {
        background: #3b5998;
        border-color: #3b5998;
    }


table.dataTable tbody td.select-checkbox:before, table.dataTable tbody td.select-checkbox:after, table.dataTable tbody th.select-checkbox:before, table.dataTable tbody th.select-checkbox:after {
    top: 45%;
}


.alert[data-notify] {
    z-index: 9999 !important;
}


.file-options {
    top: 0;
    position: absolute;
    right: 5%;
}

.dropdown-toggle.file-options::after {
    display:none;
}

.ocr-icon {
    position: absolute;
    left: 55%;
    bottom: 8%;
    font-size: 0.47rem !important;
}

.file-options-dropdown .dropdown-item {
    padding: 0.2rem 1rem !important;
}

.input-action-icon {
    position: absolute;
    bottom: 0;
    right: 10px;
    padding: 1.75rem 1rem;
    cursor: pointer;
}

    i.copy-input-text:hover {
        color: #3b5998;
    }


.warning-row {
    background-color: #ffeb3b54;
}

.success-row {
    background-color: #3bff4654;
}

#searchOrder {
    position: absolute;
    width: 250px;
    z-index: 1;
    top: 65px;
    left: 810px;
}