﻿div.appinstall {
    position: relative;
    width: 60px;
    height: 56px;
    padding: 20px 15px 0 0;
    cursor: pointer;
}
#InstallButton {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 12px 25px;
    font-size: 16px;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: linear-gradient(45deg, #6a11cb, #2575fc);
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    display: none; /* ابتدا مخفی */
}

    #InstallButton:hover {
        opacity: 0.9;
    }
.toast, .toast-body {
    direction: rtl;
    text-align: right;
}

.appcontent {
    height: 100vh;
    width: 100vw;
}

.mainformcontent {
    position:absolute;
    top:60px;
    left:0;
    height: 100vh;
    width: 100vw;
    padding-right: 75px;
    overflow-y: auto;
    z-index:-100;
}

.notice-header-container {
    display: grid;
    grid-template-areas: "title"
        "items"
        "footer";
    grid-template-columns: auto;
    grid-template-rows: 20% 55% 20%;
}

    .notice-header-container > div.title {
        grid-area: title;
        padding-top: 20px;
        padding-right: 35px;
        padding-left: 45px;
        text-align: center;
        color: darkred;
    }

    .notice-header-container > div.items {
        grid-area: items;
        padding-right: 25px;
        margin-left: 20px;
        text-align: right;
        vertical-align: top;
        color: darkblue;
        overflow-y: scroll;
        white-space: pre-wrap;
}
.notice-header-container > div.footer {
    grid-area: footer;
    padding-right: 40px;
    padding-left: 50px;
    text-align: center;
    color: orangered;
}
.frm-header-container {
    display: grid;
    grid-template-areas: "menu icon title botton close ok";
    grid-template-columns: 20px 25px auto auto auto auto;
    background-color: darkblue;
    border-radius: 10px 10px 0 0;
    border-style: solid;
    border-color: gray;
    color: white;
    height: 2rem;
    font-size: 15px;
}

    .frm-header-container > div.close {
        position: absolute;
        display: flex;
        float: left;
        top: -10px;
        left: -10px;
        font-size: 20px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background-color: white;
        color: red;
        text-align: center;
        cursor: pointer;
    }

        .frm-header-container > div.close:hover {
            color: orangered;
        }

        .frm-header-container > div.close > i {
            height: 20px;
            width: 20px;
            position: absolute;
            display: flex;
            float: left;
            top: 0;
            left: 0;
        }

    .frm-header-container > div.ok {
        position: absolute;
        display: flex;
        float: left;
        top: -10px;
        left: 10px;
        font-size: 20px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background-color: white;
        color: green;
        text-align: center;
        cursor: pointer;
    }

        .frm-header-container > div.ok:hover {
            color: forestgreen;
        }

        .frm-header-container > div.ok > i {
            height: 20px;
            width: 20px;
            position: absolute;
            display: flex;
            float: left;
            top: 0;
            left: 0;
        }

    .frm-header-container > div.button {
        grid-area: button;
        position: absolute;
        vertical-align: middle;
        left: 10px;
        float: left;
    }

    .frm-header-container > div.title {
        grid-area: title;
        text-align: right;
        padding-top: 5px;
        padding-right: 5px;
    }

    .frm-header-container > div.menu {
        grid-area: menu;
        text-align: center;
        padding-top: 2px;
    }

    .frm-header-container > div.icon {
        grid-area: icon;
        text-align: center;
        font-size: 20px;
    }

.frm-contol-container {
    display: grid;
    grid-template-areas: "frmcontrol qbutton";
    grid-template-columns: auto 25px;
}

    .frm-contol-container > div.qbutton {
        grid-area: qbutton;
        position: absolute;
        left: 0;
        top: 7px;
        width: 20px;
        font-size: 18px;
        cursor: pointer;
    }

    .frm-contol-container > div.frmcontrol {
        grid-area: frmcontrol;
        text-align: right;
    }

.frm-col1 {
    float: right;
    height: 100%;
    width: 25%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    position: relative;
}

.frm-col2 {
    float: right;
    height: 100%;
    width: 75%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    position: relative;
}

.btn-img-bot-left {
    position: absolute;
    top: 90px;
    left: 10px;
}

.btn-filter {
    color: purple;
}

@media screen and (max-width: 800px) {
    .frm-col1, .frm-col2 {
        width: 100%;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
    }
}

.formshow {
    position: static;
    z-index: 5;
    display: block;
    align-content: center;
    padding-top: 60px;
    width: 100%;
    height: 100vh;
}

.full-formshow {
    position: static;
    z-index: 5;
    display: block;
    align-content: center;
    width: 100%;
    height: 100vh;
}

.alwaystop {
    position: relative;
    z-index: 1000000 !important;
}

@media only screen and (min-width: 120px) and (max-width: 640px) {
    .formshow .full-formshow {
        width: 100%;
        height: 100%;
    }
}

.formshow-modal {
    z-index: 3;
}
.frommodal {
    position: absolute;
    z-index: 4;
    display: grid;
    align-content: center;
    height: 100vh;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.frommodal-nodark {
    position: absolute;
    z-index: 5;
    display: grid;
    align-content: center;
    height: 100vh;
    width: 100%;
}

.noborder {
    border-radius: 10px !important;
    border: 0 solid transparent !important;
    margin-bottom: 0 !important;
}

.header-text {
    background-color: darkblue;
    border-radius: 10px 10px 0 0;
    border-style: solid;
    border-color: gray;
    width: 100%;
    color: white;
    height: 2.5rem;
    line-height: 2.5rem;
    display: flex;
    align-items: center;
}

.header-text-modal {
    background-color: darkblue;
    border-radius: 10px 10px 0 0;
    border-style: solid;
    border-color: gray;
    width: 100%;
    color: white;
    height: 2.5rem;
    line-height: 2.5rem;
    display: flex;
    align-items: center;
}

.headericon {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-line-pack: center;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    vertical-align: middle;
    margin-right: 1em;
    margin-left: 0.5em;
}

.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    /*border-radius: 0 0 0 0;*/
    z-index: 1;
}

.control-label {
    float: right;
    padding: 17px 0 0 1px;
    font-size: 12px;
}

.border {
    border-radius: 0 0 10px 10px;
    width: 100%;
    height: 100%;
    border-style: solid;
    border-color: gray;
}

.form-border-title {
    border-radius: 0 0 10px 10px;
    width: 100%;
    height: 100%;
    border-left: 0;
    border-right: 0;
    border-style: solid;
    border-color: gray;
    overflow: auto;
}

.form-border {
    border-radius: 0 0 10px 10px;
    width: 100%;
    height: 80vh;
    border-top: 0;
    border-style: solid;
    border-color: gray;
    overflow: auto;
}

.form-border-full {
    border-radius: 0 0 10px 10px;
    width: 100%;
    height: 94vh;
    border-top: 0;
    border-style: solid;
    border-color: gray;
    overflow: auto;
}

.form-border-modal {
    border-radius: 0 0 10px 10px;
    width: 100%;
    height: auto;
    max-height: 80vh;
    border-top: 0;
    border-style: solid;
    border-color: gray;
    overflow: auto;
    box-sizing: border-box;
}

.form-noborder {
    z-index: -2;
    width: 100%;
    height: 100vh;
    overflow: auto;
}

form-noborder::-webkit-scrollbar {
    display: none;
}

.userinfo-border {
    position: absolute;
    left: 0;
    padding: 5px;
    border-radius: 0 0 10px 10px;
    height: auto;
    border-top: 0;
    border: 1px solid #9da8ae;
    background-color: #dce8fc;
}

.form-border-filter {
    border-radius: 0 0 10px 10px;
    width: 100%;
    height: 100%;
    border-top: 0;
    border-style: solid;
    border-color: gray;
}

.form-border-header {
    border-radius: 0 0 10px 10px;
    width: 35px;
    background-color: black;
    color: white;
    height: 100%;
    border-style: solid;
    border-color: gray;
    /* Firefox */
    display: -moz-box;
    -moz-box-pack: center;
    -moz-box-align: center;
    /* Safari and Chrome */
    display: -webkit-box;
    -webkit-box-pack: center;
    -webkit-box-align: center;
    /* W3C */
    display: box;
    box-pack: center;
    box-align: center;
    margin: auto;
}

.header {
    border-radius: 0 0 10px 10px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    height: auto;
    width: 100%;
    color: white;
    margin-right: 5px;
}

.grid-container {
    display: grid;
    grid-template-columns: 0fr 1fr;
    grid-gap: 0;
}

.rotate90 {
    transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    display: inline-block;
}

.form-border-gray {
    border-radius: 0 0 10px 10px;
    border-top: 0;
    border-style: solid;
    border-color: gray;
    background-color: gray;
    overflow: auto;
}

.container {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
}

.row {
    --bs-gutter-x: 1.0rem !important;
    display: flex;
    /*padding: 0;
    margin: 0;*/
}

    .row:after {
        content: "";
        display: table;
        clear: both;
    }

    .row .column {
        position: relative;
        min-width: 200px;
        flex: 25%;
        padding: 0 15px 0 15px;
    }

    .row .column20 {
        position: relative;
        min-width: 200px;
        flex: 20%;
        padding: 0 15px 0 15px;
    }

    .row .column30 {
        position: relative;
        min-width: 200px;
        flex: 30%;
        padding: 0 15px 0 15px;
    }

    .row .column50 {
        position: relative;
        min-width: 200px;
        flex: 50%;
        padding: 0 15px 0 15px;
    }

    .row .column70 {
        position: relative;
        min-width: 200px;
        flex: 70%;
        padding: 0 15px 0 15px;
    }

    .row .column75 {
        position: relative;
        min-width: 200px;
        flex: 75%;
        padding: 0 15px 0 15px;
    }

    .row .column100 {
        position: relative;
        min-width: 200px;
        flex: 100%;
        padding: 0 15px 0 15px;
    }

    .row .column-1 {
        position: relative;
        min-width: 200px;
        width: 100%;
        padding: 0 15px 0 15px;
    }

    .row .column-2 {
        position: relative;
        min-width: 200px;
        flex: 50%;
        padding: 0 15px 0 15px;
    }

    .row .column-3 {
        position: relative;
        min-width: 200px;
        flex: 33%;
        padding: 0 15px 0 15px;
    }

    .row .column-4 {
        position: relative;
        min-width: 200px;
        flex: 25%;
        padding: 0 15px 0 15px;
    }

@media only screen and (min-width: 120px) and (max-width: 640px) {
    .row {
        flex-direction: column;
    }

        .row .column {
            position: relative;
            width: 100%;
            flex: 100%;
            padding: 0 15px 0 15px;
        }

        .row .column20 .column30 .column50 .column75 .column100 {
            position: relative;
            width: 100%;
            flex: 100%;
            padding: 0 15px 0 15px;
        }

        .row .column-1 .column-2 .column-3 .column-4 {
            position: relative;
            width: 100%;
            flex: 100%;
            padding: 0 15px 0 15px;
        }
}

.row .btn-top-left {
    position: absolute;
    display: flex;
    float: left;
    top: -10px;
    left: -10px;
}

.row .btn-top-right {
    position: absolute;
    display: flex;
    float: right;
    top: -10px;
    left: 22px;
}

.btn-extra {
    position: relative;
    display: flex;
    float: left;
    top: -10px;
    left: -10px;
}

.wrap-input {
    width: 100%;
    position: relative;
}

.div-ghabzprint {
    width: 8cm;
    height: 15cm;
}

.div-card {
    width: 100%;
    height: 100%;
}

.div-table {
    width: 100%;
    height: 100%;
    padding-top: 0;
    padding-bottom: 0;
}

.div-subtable {
    font-size: 12px;
    color: gray;
    width: 100%;
    height: 100%;
}

.td-table {
    width: 100px;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 15px;
}

.display-flex {
    display: flex;
    align-items: center;
    width: 100%;
}

.div-left {
    position: absolute;
    left: 0;
    vertical-align: middle;
    display: flex;
    float: left;
}

.div-right {
    float: right;
}

.center {
    display: table;
    margin: auto;
}

.btn-small-round {
    border-radius: 50%;
    height: 2.2em;
    line-height: 2;
    padding: 0;
    width: 2.2em;
}

.input-form-column1 {
    width: auto;
    height: auto;
    margin: auto;
    width: 250px;
}

.input-form-column2 {
    width: auto;
    height: auto;
    margin: auto;
    width: 500px;
}

.wrapper {
    position: relative;
}

    .wrapper .span-icons-date {
        position: relative;
        top: -35px;
        float: right;
        cursor: pointer;
        font-size: 25px;
        color: #808080;
    }

    .wrapper .span-icons-date-err {
        position: relative;
        top: -35px;
        float: right;
        cursor: pointer;
        font-size: 25px;
        color: #f44336;
    }

    .wrapper .span-icons-err {
        position: relative;
        top: -30px;
        margin: 0;
        padding: 0;
        width: 20px;
        height: 20px;
        float: left;
        cursor: pointer;
        font-size: 20px;
        color: #f44336;
    }

    .wrapper .btn-icons-inline {
        max-width: 20px;
        max-height: 20px;
        position: relative;
        top: -25px;
        float: left;
        cursor: pointer;
    }

    .wrapper .btn-icons {
        max-width: 20px;
        max-height: 20px;
        position: relative;
        float: left;
        top: -20px;
        cursor: pointer;
    }

.inputContainer {
    width: 100%;
    height: 40px;
    white-space: nowrap;
}

    .inputContainer label {
        display: inline-block;
        float: right;
        margin-right: 5px;
    }

    .inputContainer div {
        overflow: hidden;
    }

    .inputContainer input {
        display: inline-block;
        width: 100%;
        display: block
    }

    .inputContainer:hover .tooltip {
        opacity: 1;
    }

.tooltip {
    position: absolute;
    font-size: 10px;
    font-family: 'font';
    background-color: whitesmoke;
    color: orangered;
    text-align: center;
    border: 1px solid gray;
    border-radius: 6px;
    top: 30px;
    margin: auto;
    padding: 2px;
    width: 97%;
    z-index: 1;
    opacity: 0;
    transition: opacity 2s;
}

.tooltipmessage {
    position: absolute;
    font-size: 10px;
    font-family: 'font';
    background-color: whitesmoke;
    color: orangered;
    text-align: center;
    border: 1px solid gray;
    border-radius: 6px;
    top: 35px;
    padding: 2px;
    width: 100%;
    z-index: 1;
    transition: opacity 2s;
}

.btn-icon {
    max-width: 25px;
    max-height: 25px;
}

.btn-icon-md {
    max-width: 20px;
    max-height: 20px;
}

.btn-icon-sm {
    max-width: 15px;
    max-height: 15px;
}

.btn-pointer {
    cursor: pointer;
}

.btn-w200 {
    max-width: 200px;
    min-height: 40px;
}

.header-50 {
    height: 50px;
}

.btn-span-inline {
    max-width: 28px;
    max-height: 25px;
    position: relative;
    top: -30px;
    float: left;
    cursor: pointer;
}

.div-l-inline {
    position: absolute;
    left: 0;
    top: 0px;
    padding: 10px;
    font-size: 10px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.wrapper .span-icons-err-btn {
    position: relative;
    top: -30px;
    margin: 0;
    padding: 0;
    width: 20px;
    height: 20px;
    float: left;
    left: 35px;
    cursor: pointer;
    font-size: 20px;
    color: #f44336;
}

.wrapper .span-icons-err-cmb {
    position: relative;
    top: -25px;
    margin: 0;
    padding: 0;
    width: 20px;
    height: 20px;
    float: left;
    left: 15px;
    cursor: pointer;
    font-size: 20px;
    color: #f44336;
}

.divmessage {
    padding: 10px;
    font-size: 10px;
    position: absolute;
    top: 30px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
}

.logo-div {
    -webkit-box-align: stretch !important;
    -ms-flex-align: stretch !important;
    align-items: stretch !important;
    margin: 0;
    padding: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid #555;
    background-color: transparent;
}

.center-div {
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
}

.logo-divsmall {
    -webkit-box-align: stretch !important;
    -ms-flex-align: stretch !important;
    align-items: stretch !important;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid #555;
    background-color: transparent;
}

.td-table-l {
    width: 100px;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 15px;
    text-align: left;
}

.td-table-r {
    width: 100px;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 15px;
    text-align: right;
}

.txtbox-f12 {
    font-size: 12px;
}

.txtbox-f14 {
    font-size: 14px;
}

.txtbox-f17 {
    font-size: 17px;
}

.txtbox-f17-left {
    font-size: 14px;
    direction: ltr;
}

.txtbox-withspan {
    direction: ltr;
    padding-left: 40px;
}

.txtbox-withspan-err {
    direction: ltr;
    padding-left: 60px;
}

.txtbox-withoutspan {
    direction: ltr;
}

.txtbox-withoutspan-err {
    direction: ltr;
    padding-left: 30px;
}
