﻿@font-face {
    font-family: 'IRANSans';
    src: url('/common/font/iransans/IRANSansWebMedium.eot?#') format('eot'), url('/common/font/iransans/IRANSansWebMedium.woff') format('woff'), url('/common/font/iransans/IRANSansWebMedium.ttf') format('ttf');
    font-weight: normal;
}

@font-face {
    font-family: 'IRANSansBold';
    src: url('/common/font/iransansBold/IRANSansWebBold.eot?#') format('eot'), url('/common/font/iransansBold/IRANSansWebBold.woff') format('woff'), url('/common/font/iransansBold/IRANSansWebBold.ttf') format('ttf');
    font-weight: normal;
}

@font-face {
    font-family: "BrandMPS";
    src: url("/common/font/brandMPS/BrandMPS.ttf") format("woff"), url("/common/font/brandMPS/BrandMPS.ttf") format("opentype"), url("/common/font/brandMPS/BrandMPS.ttf") format("truetype");
}


:root {
    --clr: #222327;
    --clrdef: rgb(251 249 249 / 98%);
    --clrblue: #037ccc;
    --clrred: #d00f00;
    --clryellow: #f1c40f;
    --clrgreen: #3cb371;
    --clrorange: #f49700;
    --clrcancel: #ffeeee;
    --bs-gutter-x: 20px;
    --animate-duration: 300ms !important;
    --animate-delay: 0 !important;
}

ul,
ol,
li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul,
ol {
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 !important;
}

a {
    text-decoration: none !important;
}

hr {
    border: none;
    border-bottom: 1px solid #ddd;
}

img,
svg {
    max-width: 100%;
    max-height: 100%;
}

.btn {
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    font-size: 0.917rem !important;
}

button.eraser,
button#Installment,
button.new,
button.save,
button#Print,
button.save2,
button.swalclose {
    position: relative;
}

    button.eraser:before,
    button#Installment:before,
    button.new:before,
    button.save:before,
    button#Print:before,
    button.settings:before,
    button.save2:before,
    button.swalclose:before {
        position: absolute;
        font-family: Muli, Arial, Helvetica, sans-serif !important;
        font-size: 10px;
        top: 2px;
        left: 2px;
    }



    button#Installment:before {
        content: "F12";
    }

    button.new:before {
        content: "F1";
    }

    button.save:before {
        content: "F2";
    }

    button#Print:before {
        content: "F3";
    }

button.settings:before {
    content: "F4";
}

button.save2:before {
    content: "F5";
}

button.eraser:before {
    content: "F6";
}

button.swalclose:before {
    content: "Esc";
}

/* Warnings */
.Warnings .telsupport {
    background-image: url('/common/images/support/telsupport.png');
    height: 46.91px;
    background-size: auto 46.91px;
    background-position: center right;
    background-repeat: no-repeat;
    padding-right: 73px;
}

    .Warnings .telsupport a {
        padding: 8px 0 8px 10px;
        width: 206px;
    }

.Warnings .redirect a {
    width: 279px;
    height: 38px;
}

.Warnings .text ul,
.Warnings .text ul li {
    list-style-type: square !important;
    padding: revert;
    text-align: right;
}

    .Warnings .text ul li {
        line-height: 2.3;
    }

/* Comment */
.Comment {
    border-top: 1px solid #ccc;
    background-color: #f5f5f5;
}

    .Comment > ul > li {
        width: 300px;
    }

        .Comment > ul > li:nth-child(2) {
            padding-right: 1rem;
        }

    .Comment > div:nth-child(3) textarea {
        min-height: 80px;
    }

    .Comment > div:nth-child(3) textarea,
    .Comment > div:nth-child(4) {
        width: 600px;
    }

    .Comment .captcha {
        border: 1px solid #ccc;
        height: 36px;
    }

main.camera {
    margin: 3rem 0 2rem;
    width: 90vw;
    height: calc(90vw * 3 / 5);
    max-width: 550px;
    max-height: calc(550px * 3 / 5);
    background: linear-gradient( to top, #34323e 55%, #403c49 );
    border-radius: 30px;
    filter: drop-shadow(0 1px 2px #403c49);
    position: relative;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

    main.camera:before {
        position: absolute;
        content: "";
        background: #403c49;
        bottom: 100%;
        left: 50%;
        width: 60%;
        height: 2.5rem;
        transform: translateX(-50%);
        border-radius: 20px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    main.camera .close {
        top: -30px;
        right: 115px;
    }

    main.camera video {
        position: absolute;
        min-width: 210px;
        min-height: 210px;
        max-width: 270px;
        max-height: 270px;
        width: 45vw;
        height: 45vw;
        object-fit: fill;
        border-radius: 50%;
        border: 1rem solid #858193;
        -webkit-transform: scaleX(-1);
        transform: scaleX(-1);
    }

    main.camera div#line {
        position: absolute;
        width: 148px;
        height: 238px;
        border: 2px solid #f49700;
        border-radius: 50%;
    }

    main.camera div#view {
        position: absolute;
        width: 100px;
        height: 100px;
        left: 17px;
        top: 17px;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: contain;
        border-radius: 10px;
        background-color: #282630;
        transition: background-color 700ms ease-in-out;
    }

    main.camera canvas {
        display: none;
    }

button.camera__click {
    background: #858193;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    position: absolute;
    top: 2rem;
    right: 3rem;
    cursor: pointer;
}

    button.camera__click:before {
        position: absolute;
        content: "";
        background: #34323e;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        transform: translate(-50%, -50%) scale(1.5);
        border-radius: 50%;
        z-index: -5;
    }

    button.camera__click:hover {
        background: #726f80;
    }

    button.camera__click:active {
        transform: scale(0.7);
    }

main.scanner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 500px;
    height: 400px;
    background: linear-gradient(to top, #3f3c4a 55%, #4a4556 );
    border-radius: 15%;
}

    main.scanner:before,
    main.scanner::after,
    main.scanner .scan:before,
    main.scanner .scan:after,
    main.scanner .scan .fingerprint:before,
    main.scanner .scan .fingerprint::after {
        content: '';
        position: absolute;
    }

    main.scanner:before {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 380px;
        height: 10px;
        background: linear-gradient(to top, #545064 55%, #585267 );
        border-radius: 50%;
    }

    main.scanner:after {
        top: 10px;
        left: 10px;
        width: 480px;
        height: 380px;
        background: linear-gradient(to top, #34323e 55%, #403c49 );
        border-radius: 15%;
    }

    main.scanner .close {
        top: 25px;
        right: 25px;
    }

    main.scanner .scan {
        background: #474454;
        border-radius: 50%;
        width: 310px;
        height: 310px;
        z-index: 2;
    }

        main.scanner .scan:before,
        main.scanner .scan:after,
        main.scanner .scan .fingerprint,
        main.scanner .scan .fingerprint:before,
        main.scanner .scan .fingerprint:after,
        main.scanner .scan .fingerprint div,
        main.scanner .scan .fingerprint div:before {
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
            border-radius: 50%;
        }

        main.scanner .scan:before {
            width: 250px;
            height: 250px;
            background-color: #545064;
        }

        main.scanner .scan:after {
            width: 215px;
            height: 215px;
            background-color: #716c83;
        }

        main.scanner .scan .fingerprint {
            position: absolute;
            background: linear-gradient(to bottom, #3f3c4a 55%, #777285 );
            width: 175px;
            height: 175px;
            z-index: 3;
        }

            main.scanner .scan .fingerprint:before {
                background: linear-gradient(to bottom, #9a94b1 55%, #e5e4e4 );
                width: 165px;
                height: 165px;
                z-index: 4;
            }

            main.scanner .scan .fingerprint:after {
                background-color: #4e4958;
                width: 155px;
                height: 155px;
                z-index: 5;
            }

            main.scanner .scan .fingerprint div {
                position: absolute;
                width: 87px;
                height: 86.5px;
                z-index: 6;
            }

                main.scanner .scan .fingerprint div:before,
                main.scanner .scan .fingerprint div:after {
                    position: absolute;
                    overflow: hidden;
                    content: "\f577";
                    font-family: var(--fa-style-family, "Font Awesome 6 Pro");
                    font-weight: var(--fa-style, 900);
                    font-size: 6rem;
                    width: 100%;
                    height: 100%;
                }

                main.scanner .scan .fingerprint div:before {
                    color: #fff;
                    z-index: 7;
                }

                main.scanner .scan .fingerprint div:after {
                    color: #3fefef;
                    z-index: 8;
                    height: 0;
                    animation: scanner 4s ease-in-out infinite;
                }

                main.scanner .scan .fingerprint div span {
                    position: absolute;
                    display: flex;
                    border-radius: 10px;
                    top: -5px;
                    left: -5%;
                    width: 110%;
                    height: 5px;
                    background-color: #3fefef;
                    z-index: 9;
                    filter: drop-shadow(0 0 20px #3fefef) drop-shadow(0 0 60px #3fefef);
                    animation: scanner_line 4s ease-in-out infinite;
                }

main.notepad {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 840px;
    height: 500px;
    background: linear-gradient(to top, #3f3c4a 55%, #4a4556 );
    border-radius: 40px;
}

    main.notepad.active {
        width: 748px;
    }

    main.notepad:before,
    main.notepad::after {
        content: '';
        position: absolute;
    }

    main.notepad:before {
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        width: 800px;
        height: 70px;
        background: #474454;
        border-top-right-radius: 100%;
        border-top-left-radius: 100%;
    }

    main.notepad.active:before {
        width: 708px;
    }

    main.notepad:after {
        top: 10px;
        left: 10px;
        width: calc(100% - 20px);
        height: calc(100% - 20px);
        background: linear-gradient(to top, #34323e 55%, #403c49 );
        border-radius: 35px;
    }

    main.notepad svg {
        position: absolute;
        top: 17px;
        height: 27px;
        z-index: 5;
    }

    main.notepad .close {
        top: 15px;
        right: 20px;
    }

    main.notepad .format {
        width: 100%;
        margin: 50px 20px 20px 20px;
        height: calc(100% - 70px);
        overflow: hidden;
        border-bottom-right-radius: 28px;
        border-bottom-left-radius: 28px;
    }

        main.notepad .format > div:first-child {
            background-color: #474454;
            padding: 10px;
            width: 100px;
            z-index: 2;
        }

            main.notepad .format > div:first-child tr:not(:nth-child(2)) span {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 30px;
                height: 30px;
                border-radius: 5px;
                cursor: pointer;
            }

            main.notepad .format > div:first-child tr:first-child span {
                background-color: #f5f6f7;
            }

            main.notepad .format > div:first-child tr:not(:nth-child(1)):not(:nth-child(2)) span {
                margin-top: 10px;
            }

                main.notepad .format > div:first-child tr:not(:nth-child(1)):not(:nth-child(2)) span.slt {
                    box-shadow: 0 0 10px #48b263;
                }

            main.notepad .format > div:first-child span i {
                font-size: 1rem;
            }

        main .notepad .format canvas {
            margin-top: 1px;
            background-color: #fff;
            z-index: 3;
        }

        main.notepad .format #sig {
            width: 708px;
            height: 430px;
            z-index: 3;
        }

main.paint {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 600px;
    height: 380px;
    background: linear-gradient(to top, #3f3c4a 55%, #4a4556 );
    border-radius: 9%;
}

    main.paint:before,
    main.paint::after {
        content: '';
        position: absolute;
    }

    main.paint:before {
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        width: 560px;
        height: 70px;
        background: #474454;
        border-top-right-radius: 100%;
        border-top-left-radius: 100%;
    }

    main.paint:after {
        top: 10px;
        left: 10px;
        width: 580px;
        height: 360px;
        background: linear-gradient(to top, #34323e 55%, #403c49 );
        border-radius: 9%;
    }

    main.paint svg {
        position: absolute;
        top: 17px;
        height: 27px;
        z-index: 5;
    }

    main.paint .close {
        top: 15px;
        right: 20px;
    }

    main.paint .format {
        margin: 50px 20px 20px 20px;
        height: calc(100% - 70px);
        overflow: hidden;
        border-bottom-right-radius: 9%;
        border-bottom-left-radius: 9%;
    }

        main.paint .format > div:first-child {
            background-color: #474454;
            padding: 10px;
            width: 100px;
            z-index: 2;
        }

            main.paint .format > div:first-child tr:not(:nth-child(2)) span {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 30px;
                height: 30px;
                border-radius: 5px;
                cursor: pointer;
            }

            main.paint .format > div:first-child tr:first-child span {
                background-color: #f5f6f7;
            }

            main.paint .format > div:first-child tr:not(:nth-child(1)):not(:nth-child(2)) span {
                margin-top: 10px;
            }

                main.paint .format > div:first-child tr:not(:nth-child(1)):not(:nth-child(2)) span.slt {
                    box-shadow: 0 0 10px #48b263;
                }

            main.paint .format > div:first-child span i {
                font-size: 1rem;
            }

        main .paint .format canvas {
            margin-top: 1px;
            background-color: #fff;
            z-index: 3;
        }

        main.paint .format #sig {
            width: 460px;
            height: 308px;
            z-index: 3;
        }

main.cart {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 500px;
    height: 340px;
    background: linear-gradient(to top, #3f3c4a 55%, #4a4556 );
    border-radius: 9%;
}

    main.cart:before,
    main.cart::after,
    main.cart .scan:before,
    main.cart .scan:after {
        content: '';
        position: absolute;
    }

    main.cart:before {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 380px;
        height: 10px;
        background: linear-gradient(to top, #545064 55%, #585267 );
        border-radius: 50%;
    }

    main.cart:after {
        top: 10px;
        left: 10px;
        width: 480px;
        height: 320px;
        background: linear-gradient(to top, #34323e 55%, #403c49 );
        border-radius: 9%;
    }

    main.cart .close {
        top: 20px;
        right: 20px;
    }

    main.cart .scan {
        position: relative;
        width: 68%;
        height: 58%;
        border-radius: 3%;
        background-color: #ccc;
        z-index: 1;
    }

        main.cart .scan:before {
            display: flex;
            justify-content: center;
            align-items: center;
            top: 10px;
            left: 10px;
            width: 95px;
            height: 95px;
            content: "\f21b";
            font-family: 'Font Awesome 6 Pro';
            font-size: 50px;
            font-weight: 900;
            border-radius: 50%;
            color: #f5f5f5;
            background-color: #ddd;
            z-index: 2;
        }

        main.cart .scan:after {
            top: 30px;
            right: 10px;
            width: 120px;
            height: 18px;
            background-color: #ddd;
            border-radius: 1%;
            z-index: 2;
        }

        main.cart .scan span {
            position: absolute;
            display: flex;
            border-radius: 10px;
            top: -5px;
            left: -2.5%;
            width: 105%;
            height: 5px;
            background-color: #3fefef;
            z-index: 3;
            filter: drop-shadow(0 0 20px #3fefef) drop-shadow(0 0 60px #3fefef);
            animation: scanner_line 4s ease-in-out infinite;
        }

.scale {
    animation-name: scale;
    animation-duration: 50ms;
    animation-iteration-count: 1;
}

.signs button,
.signs button > svg {
    transition: all .15s;
}

.signs button {
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    text-align: center;
    border: none;
    cursor: pointer;
    outline: none;
    font-weight: 600;
    background-color: var(--transparent,transparent) !important;
    color: var(--primary,var(--primary,#0d72ff)) !important;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    filter: grayscale(100);
}

    .signs button:hover {
        filter: grayscale(0);
    }

        .signs button:hover > svg {
            transform: scale(0.9);
            border-radius: 0.25rem;
            background-color: #eee;
        }

.containerbackdrop, .backdrop, .editor {
    height: 203px;
}

.print > *:not(.headreng):not(.footerreng) * {
    color: #000;
}

.els {
    display:block;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

@keyframes scanner {
    0%,100% {
        height: 0%;
    }

    50% {
        height: 100%;
    }
}

@keyframes scanner_line {
    0%,100% {
        top: -5px;
    }

    50% {
        top: 100%;
    }
}

@keyframes scale {
    0% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

.flashit {
    color: var(--clrred);
    -webkit-animation: flashcolor linear 1.5s infinite;
    animation: flashcolor linear 1.5s infinite;
}

    .flashit:hover {
        color: var(--clrred);
        opacity: 1;
        -webkit-animation-name: none;
    }

@-webkit-keyframes flashcolor {
    0% {
        opacity: 1;
    }

    50% {
        opacity: .1;
    }

    100% {
        opacity: 1;
    }
}

@keyframes flashcolor {
    0% {
        opacity: 1;
    }

    50% {
        opacity: .1;
    }

    100% {
        opacity: 1;
    }
}

.pulseit {
    -webkit-animation: pulsecolor linear .5s infinite;
    animation: pulsecolor linear .5s infinite;
}

@-webkit-keyframes pulsecolor {
    0% {
        width: 200px;
    }

    50% {
        width: 340px;
    }

    100% {
        width: 200px;
    }
}

@keyframes pulsecolor {
    0% {
        width: 200px;
    }

    50% {
        width: 340px;
    }

    100% {
        width: 200px;
    }
}

@media screen and (max-width: 769px) {
    .Comment > ul, .Comment > ul > li, .Comment > div:nth-child(3), .Comment > div:nth-child(3) textarea, .Comment > div:nth-child(4) {
        width: 100%;
    }

        .Comment > ul > li:nth-child(2) {
            padding-top: 1rem;
            padding-right: 0;
        }
}
