﻿/*#region Public */

:root {
    --accent: #42A5F5;
    --disabled: #707070;
    --danger: #f44336;
    --Danger: #f44336;
    --Success: #8BC34A;
    --warning: #FFC107;
    --info: #03A9F4;
    --cyan: #00BCD4;
    --pink: #E91E63;
    --purple: #9C27B0;
    --success: #CDDC39;
    --default: #757575;
    --color: #757575;
    --hint: rgba(0,0,0,0.35);
    --hover: rgba(0,0,0,0.07);
    --maxWidth: 1280px;
    --haedColor: #fafafa;
    --desktop: repeat(3,calc(33.3333% - 10px));
    --tablet: repeat(2, calc(50% - 8px));
    --mobile: 100%;
}

.box {
    display: flow-root;
    border: 1px solid var(--hint);
    width: calc(100% - 2px);
    margin-top: 16px;
    box-sizing: border-box;
}

table {
    width: 100% !important;
    max-width: var(--maxWidth);
    padding: 0;
    min-width: auto !important;
    overflow-x: auto;
    scrollbar-width: thin;
}

.infoTab .Grid {
    width: auto !important;
}

.table {
    display: block;
    overflow-x: auto;
    scrollbar-width: thin;
    border: 1px solid var(--hint);
    width: calc(100% - 2px) !important;
}

    .table > tbody {
        display: inline-table;
        width: 100%;
    }

/*table > tbody > tr > th {
    text-align: center;
}*/

        .table > tbody > tr > th {
            border: none;
            background-color: var(--haedColor);
            font-size: 12pt;
            padding: 12px;
            white-space: nowrap;
            text-align: center;
            font-family: 'IRANYekanX';
            font-weight: 600;
        }

.table > tbody > tr > td {
    border: none;
    border-top: 1px solid var(--hint);
    font-size: 12pt;
    padding: 8px 12px;
    white-space: nowrap;
}

.table > tbody > tr:first-child > td {
    border-top: none;
}

.frmTable {
    border: 1px solid var(--hint);
}

    .frmTable > tbody {
        display: grid;
        grid-template-columns: var(--desktop);
        grid-gap: 16px;
        padding: 0px 16px 8px;
    }

        .frmTable > tbody > tr > td {
            display: block;
        }

.frmTblFoot {
    display: flex;
    justify-content: space-between;
    border: 1px solid var(--hint);
    padding: 16px;
    border-top: none;
    background-color: var(--haedColor);
    align-items: center;
}

    .frmTblFoot .checkbox {
        margin: 0 !important;
    }

table tr:last-child > table {
    width: auto !important;
}

table td {
    position: relative;
}

.NewsPanel {
    width: 37%;
    float: left;
}

.customSelect, .TextBox, .TextBoxReq {
    width: calc(100% - 36px);
    padding: 9px 16px 10px;
    margin: 20px 0 0;
    box-sizing: content-box;
    border-radius: 4px;
    border: 1.4px solid rgba(0,0,0, 0.2);
    font-size: 11pt;
    
    color: var(--color);
    font-family: IranSansX;
    position: relative;
    background-color: white;
    direction: rtl;
}

.displayForm .WithHelp .PersianCalendar,
.displayForm .WithHelp .customSelect,
.displayForm .WithHelp .TextBox,
.displayForm .WithHelp .TextBoxReq {
    width: calc(100% - 68px);
    display: block;
    float: right;
}

.lbl-name {
    position: absolute;
    right: 18px;
    font-size: 11pt;
    color: var(--hint);
    top: 31px;
    transition: all ease .3s;
    width: auto !important;
    z-index: 1;
    background-color: white;
}

    .lbl-name::after {
        position: absolute;
        left: 0px;
        top: 13px;
        content: '';
        transform: translate(-96%, -50%);
        height: 14px;
        width: 14px;
        text-align: center;
        background-color: inherit;
    }

    .lbl-name.active,
    .focus .lbl-name,
    .lbl-name[kind="12"],
    .lbl-name[kind="17"],
    .lbl-name[kind="14"],
    .lbl-name[kind="26"],
    .lbl-name[kind="15"],
    .lbl-name[kind="28"] {
        background-color: white;
        transform: translate3d(12px, -110%, 0) scale(0.9);
        padding: 0 6px;
        z-index: 3;
    }

.focus .lbl-name {
    color: var(--color);
}

.focus.required .lbl-name {
    /*color: var(--danger);*/
}

/*.required .lbl-name::after {
    content: '*';
}*/
/*.focus.required .lbl-name::after {*/
.required .lbl-name::after {
    content: '*' !important;
    color: var(--danger);
}

.focus .TextBoxReq,
.focus .TextBox {
    border: 1.6px solid var(--accent) !important;
}

/*.TextBoxReq:invalid {*/
/*.TextBoxReq[value=""],
.TextBoxReq:not([value]) {*/
.TextBoxReq.invalid {
    border: 1.6px solid var(--danger) !important;
}


[id*=rfvValidate] {
    display: none !important;
}


.Button, .Button2 {
    font-family: IranSansX !important;
    font-size: 12pt !important;
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal !important;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none !important;
    border: none !important;
    white-space: nowrap;
    color: #fff !important;
    border-radius: 3px;
    background-color: var(--accent) !important;
    box-shadow: 0px 6px 7px -8px #000;
    transition: all ease-out .3s;
    position: relative;
    overflow: hidden;
    padding: 6px 11px !important;
    float: left;
    margin-right: 12px;
    min-width: 64px;
}


input[type=submit] {
    padding: 4px 11px 6px !important;
}

.Button:after, .Button2:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    transform: scale(1);
    transition: all ease-out .3s;
}

.Button span, .Button2 span {
    padding: 0 !important;
}

.Button:hover:after, .Button2:hover:after {
    background-color: rgba(0, 0, 0, 0.1);
    transform: scale(5);
}

.Button:hover, .Button2:hover {
    box-shadow: 0px 8px 16px -12px #000;
}

.Button.Cancel, .Button2.Cancel {
    background-color: var(--hint) !important;
}

[id*=Validate] {
    color: var(--danger) !important;
}

.PersianCalendar {
    background: url(../Images/Calender.svg) !important;
    background-position: 6px center !important;
    background-repeat: no-repeat !important;
    background-size: 32px !important;
    padding: 9px 16px 10px;
    /*width: calc(100% - 62px);*/
}
/*.displayForm .PersianCalendar {
    width: calc(100% - 70px);
}*/

.btnSubmitForm {
    margin: 0 8px 16px 16px;
}

span.stable,
.lbl-name[kind="7"],
.lbl-name[kind="11"],
.lbl-name[kind="13"],
.lbl-name[kind="16"],
.lbl-name[kind="18"],
.lbl-name[kind="19"],
.lbl-name[kind="20"],
.lbl-name[kind="21"],
.lbl-name[kind="22"],
.lbl-name[kind="27"],
.lbl-name[kind="25"] {
    position: relative;
    display: block !important;
    top: 0 !important;
    margin: 12px 0px 12px 16px !important;
    right: 0;
    color: var(--color);
    font-size: 13pt;
    float: right;
}

    span.stable:after,
    .lbl-name[kind="7"]:after,
    .lbl-name[kind="11"]:after,
    .lbl-name[kind="13"]:after,
    .lbl-name[kind="16"]:after,
    .lbl-name[kind="18"]:after,
    .lbl-name[kind="19"]:after,
    .lbl-name[kind="20"]:after,
    .lbl-name[kind="22"]:after,
    .lbl-name[kind="25"]:after,
    .lbl-name[kind="27"]:after,
    .lbl-name[kind="26"]:after {
        content: '';
        /*background-color: transparent;*/
    }

[kind="11"],
[kind="25"],
[kind="13"] {
    clear: both;
}

span.stable {
    background-color: transparent !important;
}

input[type=text].stable,
select.stable,
textarea.stable {
    margin-top: 0 !important;
}

.lbl-name[kind="27"] {
    margin: 8px 0 6px 0 !important
}

article.iframe {
    margin: 0 16px !important;
}

article.publicIframe {
    margin: 0 auto !important;
    padding: 0 16px !important;
}

.btnDefault {
    box-shadow: 0px 0px 0px 0px #000;
    background-color: transparent !important;
    color: var(--color) !important;
}

    .btnDefault:hover {
        box-shadow: 0px 0px 0px 0px #000;
        background-color: #0000000f !important;
    }

.permissions {
    background-color: var(--hover);
    border-radius: 4px;
    text-align: right;
    display: flow-root;
    margin: 16px 0;
    display: flex !important;
    flex-direction: column;
}


    .permissions #chartPanel {
        margin: 0 8px 8px;
        border-radius: 4px;
        overflow: hidden;
    }

    .permissions > span {
        font-size: 12pt;
        margin: 8px 10px 4px !important;
        color: var(--color);
        display: block;
    }



.txtOrder {
    margin: 0 4px;
    background-color: #0000000d;
    border: none;
    padding: 6px 4px 4px;
    width: 62px !important;
    border-radius: 4px;
    display: block;
    float: right;
}

.btnOrder {
    object-fit: contain;
    background-color: var(--haedColor);
    padding: 6px;
    border-radius: 4px;
    display: block;
    float: right;
}

/*#endregion */


/*#region Parent Field */
.prentField img[src='Images/down-circel.png'] {
    top: 28px;
    left: 8px;
    position: absolute;
    width: 38px;
    height: 38px;
}
.prentField.WithHelp img[src='Images/down-circel.png'] {
    margin-left: 32px;
}

.popupPanel {
    box-shadow: 0 0 19px 0 rgba(0,0,0,0.1);
    position: relative;
    background-color: white;
    display: none;
    margin: 8px 0 24px 0;
    position: absolute;
    z-index: 51;
    left: 2px;
    right: 1px;
    top: 13px;
    padding: 0 0 11px 0;
}

    .popupPanel img[src='Images/Delete.gif'] {
        position: absolute;
        top: 13px;
        left: 10px;
        cursor: pointer;
        z-index: 1;
    }

    .popupPanel input[id*=txtSearchChart] {
        margin: 0;
        width: calc(100% - 60px) !important;
        border: none;
        /* border-bottom: 1.4px solid rgba(0,0,0, 0.2); */
        font-size: 11pt;
        background-image: url(../Images/Search.svg);
        background-repeat: no-repeat;
        background-position: calc(100% - 9px) center;
        background-size: 24px;
        padding: 8px 42px 12px 16px;
        border-radius: 0;
        background-color: rgba(0, 0, 0, 0.01);
    }

    .popupPanel span[id*=lblHelp] {
        margin: 0 !important;
        /* position: absolute; */
        bottom: 0;
        display: block !important;
        /* transform: translate(0, 100%); */
        color: var(--color) !important;
        padding: 16px 20px 0 16px;
        text-align: right;
    }

    /*.popupPanel span[id*=lblHelp] {
        margin: 0 !important;
        bottom: 0;
        display: block !important;
        color: var(--color) !important;
        padding: 16px 42px 0 16px;
        text-align: right;
        background-image: url(../Images/about.png);
        background-repeat: no-repeat;
        background-size: 16px;
        background-position: calc(100% - 20px) 21px;
    }*/

    .popupPanel .ui-widget-content {
        background: inherit !important;
        border: none;
    }

a.dynatree-title {
    transition: all ease .3s;
    padding: 1px 8px !important;
    margin: -2px 0 0 !important;
    border-radius: 4px;
}
span.dynatree-icon {
    margin-top: 4px;
}
span.dynatree-checkbox {
    margin-top: 4px;
}

ul.dynatree-container li {
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    -moz-background-clip: border;
    -moz-background-inline-policy: continuous;
    -moz-background-origin: padding;
    background-attachment: scroll;
    background-color: transparent;
    background-position: 0 0;
    background-repeat: repeat-y;
    background-image: none;
    margin: 2px;
    padding: 1px 0 0 0;
    font-size: 11pt;
    font-weight: 300;
    line-height: 20pt;
}

/*#endregion */

/*#region Child Field */

.childField {
    padding-bottom: 16px;
}

    .childField > img {
        position: absolute;
        top: 26px;
        width: 38px !important;
        height: 38px !important;
        left: 8px;
    }

    .childField .popupPanel .ui-widget-content {
        margin-right: 12px;
    }

/*#endregion */

/*#region Child */

.child table {
    border: 1px solid var(--hint);
    width: calc(100% - 3px) !important;
    display: block;
    overflow-x: auto;
    scrollbar-width: thin;
}

    .child table tbody {
        display: inline-table;
        width: 100%;
    }

    .child table th {
        border: none;
        background-color: var(--haedColor);
        color: var(--color);
        font-size: 10pt;
        font-family: 'IRANYekanX';
        white-space: nowrap;
        padding: 6px 6px;
        text-align: right;
    }

    .child table th:first-child {
        text-align: center;
    }

    .child table tr {
        background-color: transparent !important;
    }

    .child table td {
        border: none;
        font-size: 10pt;
        border-top: 1px solid var(--hint);
    }

    .child table .Button {
        margin: 0;
    }

/*#endregion */

/*#region Froala */
.fr-toolbar .fr-command.fr-btn i {
    margin: 0 !important;
    text-align: center;
}

/*#endregion */

/*#region JQuery UI */

.ui-widget-content {
    background: white !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--hint);
    border-radius: 0px;
}


.FieldBar .ui-widget-content {
    overflow: unset !important;
    scrollbar-width: thin;
}


.ui-widget-header {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--hint);
}

#tabs {
    border-radius: 0;
    background-color: white;
    padding: 0;
    border-color: var(--hint);
    width: calc(100% - 2px) !important;
    max-width: var(--maxWidth);
}

ul.tabHeader.ui-tabs-nav.ui-helper-reset.ui-helper-clearfix.ui-widget-header.ui-corner-all {
    padding: 0;
}

li.ui-state-default.ui-corner-top {
    border: none;
    margin: 0 8px -1px 8px;
    padding: 0 0 1px 0;
    border-radius: 0;
    font-family: 'IRANYekanX';
    font-weight: 500;
    font-size: 12pt;
    color: var(--color);
    background: none;
    border-bottom: 1.4px solid transparent;
    transition: all ease .3s;
}

    li.ui-state-default.ui-corner-top:hover {
        background-color: rgba(0, 0, 0, 0.03);
    }

    li.ui-state-default.ui-corner-top.ui-tabs-active.ui-state-active {
        border-bottom: none;
        margin: 0;
        padding: 0;
    }

    li.ui-state-default.ui-corner-top a {
        background: transparent;
        color: var(--color);
        padding: 16px;
        margin-bottom: -2px;
    }

    li.ui-state-default.ui-corner-top.ui-tabs-active.ui-state-active > a {
        background: var(--accent);
        color: white;
    }

.ui-tabs .ui-tabs-nav {
    display: flex;
    overflow: hidden;
    position: static;
    margin: 0;
    padding: 0;
    border-radius: 0;
}

[wizard] .ui-tabs-nav {
    display: none;
}

.ui-tabs .ui-tabs-nav.arrow {
    margin: 0 26px 0 26px;
}

.ui-tabs .ui-tabs-nav > li {
    position: static;
    margin: 0;
    padding: 0;
}

    .ui-tabs .ui-tabs-nav > li > span {
        position: absolute;
        display: none;
        width: 26px;
        height: 49.4px;
        top: 0;
        z-index: 1;
        background-color: white;
        /*box-shadow: 0px 0px 10px 0px #00000036;*/
        cursor: pointer;
    }

        .ui-tabs .ui-tabs-nav > li > span::after {
            display: block;
            content: '';
            background-color: black;
            width: 100%;
            height: 100%;
            -webkit-mask-image: url(/Images/arrow.svg);
            -webkit-mask-size: contain;
            -webkit-mask-repeat: no-repeat;
            -webkit-mask-position: center;
        }

    .ui-tabs .ui-tabs-nav > li > .back {
        right: 0;
        border-left: 1px solid var(--hint);
        border-bottom: 1px solid var(--hint);
    }

    .ui-tabs .ui-tabs-nav > li > .next {
        left: 0;
        border-right: 1px solid var(--hint);
        border-bottom: 1px solid var(--hint);
    }

    .ui-tabs .ui-tabs-nav > li > .back::after {
        transform: rotate(-180deg);
    }

    .ui-tabs .ui-tabs-nav > li > .next::after {
    }

.ui-tabs .ui-tabs-nav.arrow > li > span {
    display: block;
}

.ui-tabs .ui-tabs-panel {
    padding: 16px !important;
    width: calc(100% - 34px) !important;
}

#pnlDesktopCss,
#pnlTabletCss,
#pnlMobileCss {
    padding: 0 !important;
}

.ui-widget-overlay {
    background: rgba(0,0,0,0.5) !important;
    position: fixed;
    height: 100% !important;
}

.ui-dialog {
    border: none !important;
    border-radius: 4px !important;
    /*z-index: 1009 !important; نباید اضافه شود چون باگ روی فیلدهای موجود در دیالوگ بوجود می آید*/
}

    .ui-dialog .ui-dialog-title {
        float: right;
        margin: 6px 34px 6px 16px;
        font-size: 13pt;
        color: white;
        
    }

.ui-draggable .ui-dialog-titlebar {
    background-color: var(--accent);
    border-bottom: none;
}

.ui-dialog-titlebar-close {
    border: none !important;
    width: 24px !important;
    height: 24px !important;
    right: 14px !important;
    top: 22px !important;
    padding: 0 !important;
    background: url(../Images/Close.png) !important;
    background-size: contain !important;
    position: relative;
    cursor: pointer;
}

    .ui-dialog-titlebar-close.ui-state-hover,
    .ui-dialog-titlebar-close.ui-state-focus {
        background: url(../Images/Close.png) !important;
        background-size: contain !important;
    }

.ui-dialog .ui-dialog-titlebar-close span {
    display: none;
}

.ui-dialog-titlebar-close:before {
    content: '';
    background-color: rgba(0, 0, 0, 0.04);
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: all ease .3s;
    top: 50%;
    left: 50%;
}

.ui-dialog-titlebar-close:hover:before {
    transform: translate(-50%, -50%) scale(1.5);
}

.ui-dialog .ui-resizable-se {
    filter: grayscale(1);
}



/*#endregion */

/*#region Calender */

.calendar, .calendar table {
    /*display: block !important;*/
    border: none !important;
    font-size: 13pt !important;
    color: var(--color) !important;
    background: white !important;
    font-family: IranSansX !important;
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.3);
    border-radius: 6px;
}

    .calendar table {
        padding: 16px !important;
    }

    .calendar thead tr {
        background: none !important;
        color: var(--color) !important;
    }

    .calendar .hilite {
        background: rgba(0, 0, 0, 0.05) !important;
        color: #212121 !important;
    }

    .calendar td {
        width: 42px !important;
        height: 42px;
        border: none !important;
        padding: 4px !important;
        cursor: pointer;
        border-radius: 50%;
        margin: 0 !important;
        text-align: center !important;
        background: none !important;
        color: var(--color) !important;
        font-weight: 100 !important;
        transition: all ease .3s;
    }

    .calendar tbody td.selected {
        background: var(--accent) !important;
        color: white !important;
    }

    .calendar td.weekend {
        color: var(--danger) !important;
    }

    .calendar tbody td.weekend.selected {
        background: var(--danger) !important;
        color: white !important;
    }

    .calendar tfoot td {
        border-radius: 0 !important;
    }

    .calendar tfoot tr {
        background: none !important;
    }

    .calendar thead td[colspan="3"],
    .calendar thead td[colspan="5"] {
        border-radius: 4px !important;
    }

    .calendar .combo {
        width: auto !important;
        background: #fbfbfb !important;
        color: var(--color) !important;
        font-size: 12pt !important;
        border: none !important;
        border-radius: 4px;
        box-shadow: 0px 0px 12px 0px rgba(0,0, 0, 0.1);
    }

        .calendar .combo .label {
            background: none !important;
            padding: 6px 16px !important;
        }

            .calendar .combo .label.hilite {
                background: rgba(0, 0, 0, 0.05) !important;
            }

            .calendar .combo .label.active {
                background: var(--accent) !important;
            }

/*#endregion */

/*#region Tooltip */

#tooltip {
    background-color: rgba(0, 0, 0, 0.6) !important;
    color: white !important;
    font-family: IranSansX;
    border: none !important;
    border-radius: 4px;
    z-index: 9005 !important;
}

#Arrow {
    display: none !important;
}

.tip[src="Images/tip.gif"] {
    cursor: help;
    width: 22px;
    height: 22px;
    display: inline-block;
    margin: 31px 10px 0 0px;
}

.stable .tip[src="Images/tip.gif"] {
    margin: 12px 0 0 0;
}
.WithHelp .lbl-name[kind="11"],
.WithHelp .lbl-name[kind="13"] {
    right: 28px;
}
.WithHelp .Helper[kind="11"],
.WithHelp .Helper[kind="13"] {
    position: absolute;
    top: 2px;
}

/*#endregion */
/*#region CalcField */
span[kind="16"], span[kind="20"] {
    display: block;
    width: 100%;
    float: right;
    clear: both;
    font-size: 12pt;
}

/*#endregion */

/*#region Time */
.BorderTime {
    border: 1.4px solid rgba(0,0,0, 0.2);
    padding: 0;
    border-radius: 4px;
    display: block !important;
    float: right;
    margin: 0;
    overflow: hidden;
    clear: both;
}

    .BorderTime > div > span {
        border: none;
        margin: 0;
        background: inherit;
        padding: 0;
    }

        .BorderTime > div > span > a {
            border: none !important;
            background-color: rgba(0, 0, 0, 0) !important;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            top: 4px;
            right: 4px;
            transition: all ease .3s;
            background-image: url(../images/dwon_arrow.png) !important;
            background-size: 24px !important;
            transform: rotate(180deg);
            cursor: pointer;
        }

            .BorderTime > div > span > a:hover {
                background-color: rgba(0, 0, 0, 0.05) !important;
            }

            .BorderTime > div > span > a.ui-spinner-down {
                top: unset;
                bottom: 4px;
                transform: rotate(0deg);
            }

        .BorderTime > div > span > .ui-spinner-input {
            border: none;
            background: none;
            padding: 6px 12px;
            margin: 4px 20px 4px 4px !important;
            font-size: 14pt;
            vertical-align: middle;
            color: var(--color);
        }

.tdRequiredTime .BorderTime > div > span > .ui-spinner-input {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

        .BorderTime > div > span > a > * {
            display: none !important;
        }

/*.lbl-name[kind="7"] {
    top: 17px !important;
    right: 4px;
}*/

/*#endregion */

/*#region File Upload */

.fileUploader {
    position: relative;
    border-radius: 4px;
    border: 1.4px solid rgba(0,0,0, 0.2);
    font-size: 13pt;
    
    color: var(--color);
    display: block;
    margin: 20px 0 8px;
    background-image: url(../images/Upload.svg);
    background-repeat: no-repeat;
    background-size: 32px;
    background-position: 12px center;
    padding: 0 0 0 56px;
    cursor: pointer;
}

.dynamicForm .fileUploader {
    display: block;
    float: right;
    width: calc(100% - 92px);
}

.fileUploader span {
    position: absolute;
    top: 50%;
    direction: ltr;
    right: 14px;
    color: var(--hint);
    display: block;
    font-size: 11pt;
    transform: translate(0, -50%);
}

.fileUploader input[type=file] {
    opacity: 0;
    margin: 0px !important;
}

/*#endregion */

/*#region Checkbox */

/*span[kind="11"] {
    margin-top: 20px;
}*/

.checkbox {
    display: inline-block;
    position: relative;
    padding: 0 32px 0 0;
    margin: 0 0 12px 8px !important;
    cursor: pointer;
    font-size: 13pt;
    /*-webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;*/
    direction: rtl;
}

    .checkbox input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

    .checkbox .mark {
        position: absolute;
        top: 0;
        right: 0;
        height: 18px;
        width: 18px;
        border-radius: 2px;
        border: 1.4px solid var(--hint);
        transition: all ease .3s;
    }

    .checkbox input ~ .mark:before {
        content: '';
        width: 18px;
        height: 18px;
        bottom: 0;
        right: 0;
        transform: translate(0, 0) scale(0);
        background-color: rgba(0, 0, 0, 0.00);
        transition: all ease-out .3s;
        display: block;
        border-radius: 50%;
        z-index: 9;
    }

    .checkbox:hover input ~ .mark:before {
        transform: translate(-1px, 0px) scale(2);
        background-color: rgba(0, 0, 0, 0.05);
    }

    .checkbox input:checked ~ .mark {
        border-color: var(--accent);
        background-color: var(--accent);
    }

    .checkbox .mark:after {
        content: "";
        position: absolute;
        transition: all ease .3s;
    }

    .checkbox input:checked ~ .mark:after {
        transform: rotate(45deg) scale(1);
    }

    .checkbox .mark:after {
        left: 6.5px;
        top: 1px;
        width: 4px;
        height: 11px;
        border: solid white;
        border-width: 0 1.6px 1.6px 0;
        -webkit-transform: rotate(45deg) scale(0);
        -ms-transform: rotate(45deg) scale(0);
        transform: rotate(45deg) scale(0);
    }

    .checkbox label {
        padding: 0;
        display: block;
        cursor: pointer;
        font-size: 11pt;
    }

    .checkbox input:disabled ~ .mark {
        border-color: transparent;
        background-color: var(--hint);
    }
/*#endregion */

/*#region Custom Select */
.secondSelect,
select[kind="12"] {
    display: none !important;
}

    .secondSelect.show {
        display: block !important;
    }

.customSelect {
    cursor: pointer;
    padding: 9px 16px 10px 34px;
    width: calc(100% - 54px) !important;
    font-size: 11pt;
    white-space: nowrap;
}

    .customSelect::after {
        content: '';
        left: 12px;
        width: 18px;
        height: 18px;
        top: 50%;
        transform: translate(0,-50%);
        position: absolute;
        display: block;
        background-color: var(--color);
        -webkit-mask: url(../images/down.svg);
        -webkit-mask-size: contain;
    }

    .customSelect items {
        display: block;
        position: absolute;
        background-color: white;
        top: 50%;
        left: 0;
        box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.1);
        border-radius: 3px;
        z-index: 52;
        transition: all ease .4s;
        transform: scale(1.01, 1.01) translateY(-50%);
        overflow: hidden;
        max-height: 0px;
        overflow-y: auto;
        scrollbar-width: thin;
        min-width: 100%;
    }

    .customSelect > span {
        min-height: 23px;
        display: block;
    }

    .customSelect.active items {
        top: 1px;
        min-width: 100%;
        max-height: 400px;
        transform: scale(1.01, 1.01) translateY(0);
    }

    .customSelect items item {
        display: block;
        padding: 8px 16px;
        padding-top: 8px;
        padding-right: 16px;
        padding-bottom: 8px;
        padding-left: 16px;
        transition: all ease .3s;
        cursor: pointer;
        white-space: nowrap;
        text-overflow: ellipsis;
        min-width: 100%;
        min-height: 24px;
    }

        .customSelect items item.active {
            color: var(--accent);
            background-color: rgba(0, 0, 0, 0.05);
        }

        .customSelect items item:hover {
            background-color: rgba(0, 0, 0, 0.07);
        }


/*#endregion */

/*#region Radio */

.radio {
    display: inline-block;
    cursor: pointer;
    font-size: 11pt;
    /*-webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;*/
    margin: 0 0 16px 8px;
    position: relative;
    padding: 0 28px 0 0;
}

    .radio input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
    }

    .radio .mark {
        position: absolute;
        top: 2px;
        right: 0;
        height: 18px;
        width: 18px;
        background-color: white;
        border-radius: 50%;
        border: 2px solid var(--hint);
        transition: all ease .3s;
    }

    .radio input:checked ~ .mark {
        border-color: var(--accent);
    }

    .radio .mark:after {
        content: "";
        position: absolute;
        transition: all ease .3s;
        transform: scale(0);
    }

    .radio input:checked ~ .mark:after {
        transform: scale(1);
    }

    .radio .mark:after {
        top: 3px;
        left: 3px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--accent);
    }

    .radio input ~ .mark:before {
        content: '';
        width: 18px;
        height: 18px;
        bottom: 0;
        right: 0;
        transform: scale(0);
        background-color: rgba(0, 0, 0, 0.00);
        transition: all ease-out .3s;
        display: block;
        border-radius: 50%;
        z-index: 9;
    }

    .radio:hover input ~ .mark:before {
        transform: scale(2);
        background-color: rgba(0, 0, 0, 0.05);
    }


/*#endregion */

/*#region Tabel */

.lbl-name[kind="19"] {
    top: 16px;
    right: 3px;
}

table[kind="19"] {
    margin: 46px 0 0;
    border: 1px solid var(--hint);
}

    table[kind="19"] tr:first-child {
        border-bottom: 1px solid var(--hint);
    }

    table[kind="19"] th {
        padding: 10px;
        background-color: #fafafa !important;
        color: var(--color);
        font-size: 12pt;
    }

    table[kind="19"] td {
        position: relative;
        padding: 0 !important;
        border: none !important;
    }

        table[kind="19"] td:before {
            position: absolute;
            height: 3px;
            width: 0;
            bottom: 0;
            left: 50%;
            display: block;
            content: '';
            transform: translateX(-50%);
            background-color: #000;
            transition: all ease .3s;
        }

        table[kind="19"] td.focus:before {
            width: calc(100% - 12px);
        }

    table[kind="19"] input[type=text] {
        padding: 10px 12px;
        margin: 0 6px;
        font-size: 9pt;
        font-family: IranSansX;
        border: none;
        border-bottom: 1px solid var(--hint);
        width: calc(100% - 36px) !important;
    }

    table[kind="19"] tr:last-child td:before {
        bottom: 16px;
    }

    table[kind="19"] tr:last-child input[type=text] {
        margin-bottom: 16px;
    }

/*table[id*=grdField] input[type=text] {
    border-bottom: none;
}

table[id*=grdField] td.focus:before {
    width: 0;
}*/

/*#endregion */

/*#region Filter Box */

filter-box {
    display: flow-root;
    border: 1px solid var(--hint);
    margin-bottom: 16px;
}

    filter-box h3 {
        display: block;
        padding: 12px 16px;
        border-bottom: 1px solid var(--hint);
        margin: 0;
        font-size: 12pt;
        
        text-align: right;
        background-color: var(--haedColor);
    }

    filter-box filters {
        display: flex;
        border-bottom: 1px solid var(--hint);
    }

        filter-box filters .cat-span {
            padding: 10px 8px 12px 14px;
            display: inline-block;
            flex: 1;
        }


            filter-box filters .cat-span .checkbox {
                margin: 0 !important;
            }

                filter-box filters .cat-span .checkbox .mark {
                    top: 2px;
                }


.search {
    display: flex;
}

.box .search {
    display: flex;
    border-top: none;
}

.search input[type=text] {
    border: none;
    font-size: 12pt;
    padding: 8px 46px 12px 12px;
    background-color: var(--haedColor);
    margin: 8px;
    border-radius: 4px;
    background-image: url(../images/Search.svg);
    background-repeat: no-repeat;
    background-size: 26px;
    /* border-bottom: 1.4px solid var(--hint); */
    background-position: calc(100% - 12px) 9px;
    width: 100% !important;
}

.search .Button {
    margin: 8px 0 10px 8px;
    width: 102px !important;
}


/*#endregion */

/*#region Auto Complete */

.ac_results {
    border: none !important;
    box-shadow: 0 0 12px 0 var(--hint);
}

    .ac_results ul li {
        background-color: white !important;
        color: var(--color) !important;
        font-size: 12pt;
        padding: 16px;
        font-weight: normal;
        cursor: pointer;
        transition: all ease .3s;
    }

        .ac_results ul li.ac_over,
        .ac_results ul li:hover {
            background-color: var(--hover) !important;
            color: var(--accent) !important;
        }

/*#endregion */

/*#region Form.aspx */

.selectBox {
    padding-top: 16px;
}

    .selectBox .checkbox {
        display: block;
    }

.grdForm {
    border-top: none !important;
    border: 1px solid var(--hint);
}

.formFoot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--hint);
    background-color: var(--haedColor);
}

    .formFoot .checkbox {
        margin: 0 16px !important;
    }

    .formFoot input[type=submit] {
        margin: 16px 0 16px 16px !important;
    }

.tblForm > tbody {
    display: grid;
    grid-template-columns: repeat(3, calc(33.3333% - 10px));
    grid-column-gap: 16px;
}

.tblForm tbody tr,
.tblForm tbody tr td {
    display: block;
}

.grdForm tr:first-child {
    border: 1px solid var(--hint);
    border-top: none;
    background-color: var(--haedColor);
}

.grdForm th {
    font-size: 12pt;
    
    padding: 10px !important;
    white-space: nowrap;
    border: none;
}

.grdForm td {
    font-size: 11pt;
    padding: 10px !important;
    border: none;
    border-bottom: 1px solid var(--hint);
}

.grdForm .checkbox {
    margin: -10px 0px 0px -10px !important;
}

.grdForm > tbody > tr > td > span {
    display: flex;
    justify-content: center;
}

/*#endregion */

/*#region ViewReport.aspx */

.pnlSearchHead {
    background-color: #f1f1f1;
    padding: 16px;
    border-bottom: 1px solid var(--hint);
    display: flex;
    justify-content: space-between;
}

[id*=pnlSearch] {
    display: flow-root;
    width: calc(100% - 2px) !important;
    margin: 0 !important;
    padding: 0px !important;
    border: 1px solid var(--hint);
    background-color: var(--haedColor);
}

[id*=dlSearch] > tbody {
    display: block;
}

    [id*=dlSearch] > tbody > tr {
        display: block;
    }

        [id*=dlSearch] > tbody > tr > td {
            display: block;
        }

.tblReport {
    display: block;
    overflow: unset;
    scrollbar-width: thin;
}

    .tblReport > tbody {
        display: inline-table;
        min-width: 1080px;
    }

.searchField {
    display: flex;
    justify-content: flex-start;
    padding: 10px 6px;
    align-items: center;
}

    .searchField .searchHead {
        display: flex;
        background-color: var(--hover);
        border-bottom: 1px solid var(--hint);
    }

    .searchField > select.TextBox {
        margin: 0 0 0 8px !important;
        height: 24px;
        padding: 6px 8px 10px 30px !important;
        width: 46px !important;
    }

    .searchField > select.drpSearchOperator {
        width: 100px !important;
    }

    .searchField > div > .TextBox[type=text] {
        padding: 4px 12px 6px !important;
    }

    .searchField > div > .TextBox[kind="6"] {
        padding: 6px 12px !important;
        background-color: white !important;
    }

    .searchField > div > .BorderTime,
    .searchField > div > .Plate {
        background-color: white !important;
    }

    .searchField > .lblSeaerchName {
        display: block;
        font-size: 12pt;
        white-space: nowrap;
        margin: 0 0 0 8px;
        text-align: left;
    }

    .searchField .searchHead > .cbEnable {
        margin: 0 !important;
        padding: 16px 9px 0 0;
        height: 37px;
        display: block;
    }

    .searchField .searchHead > .checkbox {
        padding: 0 12px;
        margin: 0 0 12px 6px !important;
    }

    .searchField .searchContent {
        display: flex;
        flex: 1;
    }

        .searchField .searchContent > .drpSearchOperator {
            margin: 8px 8px 8px 0 !important;
            height: 23px;
            padding: 7px 8px 11px 30px !important;
            width: 62px !important;
        }

        .searchField .searchContent > div {
            flex: 1;
            margin: 0px 8px 0 0;
            border-right: 1px solid var(--hint);
            padding: 8px;
        }

    .searchField .Plate,
    .searchField span[kind="11"],
    .searchField .TextBox,
    .searchField .customSelect {
        margin: 0 !important;
    }

[id*=pnlSearch] .checkbox {
    padding: 0 12px;
}

    [id*=pnlSearch] .checkbox label {
        margin: -2px 16px 0 0;
    }

[id*=pnlSearch] .cbEnable {
    margin: 0 8px 0 0 !important;
    display: flow-root;
    float: right;
    height: 20px;
}

.reportPageCount {
    display: flex;
    width: 240px;
    justify-content: center;
    align-items: center;
    padding: 4px 16px;
    border-radius: 4px;
}

    .reportPageCount span {
        white-space: nowrap;
    }

[id*=pnlSearch] .actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12pt;
    padding: 8px 0;
    background-color: #f1f1f1;
    border-top: 1px solid var(--hint);
}

    [id*=pnlSearch] .actions select.TextBox {
        margin: 0 8px !important;
    }

    [id*=pnlSearch] .actions input[type="submit"] {
        margin: 0 0 0 16px !important;
    }

.pnlRange {
    display: flex;
    font-size: 12pt;
    align-items: center;
}

    .pnlRange > div {
        display: flex;
        align-items: center;
        margin-left: 8px;
    }

        .pnlRange > div > label {
            margin: 0 8px !important;
        }

[id*=grdRequest] {
    border: 1px solid var(--hint);
    display: block;
    width: calc(100% - 3px) !important;
}

    [id*=grdRequest] > tbody {
        width: 100%;
        display: inline-table;
    }

    [id*=grdRequest] tr {
        background-color: inherit !important;
        color: var(--color) !important;
        font-size: 12pt !important;
    }

        /*[id*=grdRequest] > tbody > tr:last-child {
        background-color: var(--haedColor) !important;
    }*/


        [id*=grdRequest] tr a {
            color: var(--accent) !important;
            font-size: 12pt;
            
            /*text-decoration: none;*/
            transition: all ease .3s;
        }

            /*[id*=grdRequest] tr a:hover {
                color: var(--warning) !important;
            }*/

        [id*=grdRequest] tr th {
            font-size: 10pt;
            
            padding: 8px 0;
            border: none;
            background-color: var(--haedColor);
            border-bottom: 1px solid var(--hint);
        }
            [id*=grdRequest] tr th:has(a) {
                padding: 8px 16px;
                white-space: nowrap;
            }

            [id*=grdRequest] tr th a {
                display: inline-block;
                max-width: 150px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }

    [id*=grdRequest] > tbody > tr > td {
        padding: 8px 16px;
        border: none;
        border-bottom: 1px solid var(--hint);
    }
    [id*=grdRequest] > tbody > tr > td.HtmlTag {
        padding: 8px 4px;
    }

    [id*=grdRequest] > tbody > tr:last-child > td {
        border: none;
    }

    [id*=grdRequest] img {
        width: 22px;
        display: block;
        background-color: var(--default);
        border-radius: 4px;
        padding: 4px;
        box-shadow: 0 5px 6px -4px rgba(0,0,0,0.3);
        transition: all ease .3s;
    }

        [id*=grdRequest] img:hover {
            box-shadow: 0 0 8px 0 rgba(0,0,0,0.3);
        }

        [id*=grdRequest] img[src*='Delete'] {
            background-color: var(--danger);
        }

        [id*=grdRequest] img[src*='Edit'] {
            background-color: var(--warning);
        }

        [id*=grdRequest] img[src*='marker'] {
            background-color: #fff558;
        }

        [id*=grdRequest] img[src*='Step'] {
            background-color: var(--purple);
        }

        [id*=grdRequest] img[src*='Step'] {
            background-color: var(--purple);
        }

        [id*=grdRequest] img[src*='Return'] {
            background-color: var(--success);
        }

        [id*=grdRequest] img[src*='Magnifire'] {
            background-color: var(--accent);
        }

.btnAllRequests, .btnCheckedRequests {
    background-color: var(--danger);
    color: white !important;
    text-decoration: none;
    padding: 8px 12px 8px 38px;
    font-size: 10pt;
    border-radius: 4px;
    display: block;
    margin: 8px 10px 0 0;
    box-shadow: 0 10px 7px -8px rgba(0,0,0,0.3);
    float: left;
    position: relative;
    background-image: url(/Images/Delete.png);
    background-repeat: no-repeat;
    background-position: 10px center;
    transition: all ease .3s;
    background-size: 20px;
    overflow: hidden;
}

    .btnAllRequests.SMS, .btnCheckedRequests.SMS {
        background-color: var(--success);
        background-image: url(/Images/Send.png);
    }

    .btnAllRequests.Tag, .btnCheckedRequests.Tag {
        background-color: var(--accent);
        background-image: url(/Images/Archive.png);
    }

    .btnAllRequests.Graph, .btnCheckedRequests.Graph {
        background-color: var(--pink);
        background-image: url(/Images/Step.png);
    }

    .btnAllRequests:before, .btnCheckedRequests:before {
        content: '';
        position: absolute;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        top: 50%;
        left: 50%;
        background-color: rgba(0,0,0,0.07);
        transition: all ease .3s;
        transform: translate(-50%, -50%) scale(0);
    }

        .btnAllRequests:hover, .btnCheckedRequests:hover {
            text-decoration: none !important;
        }


        .btnAllRequests:hover:before, .btnCheckedRequests:hover:before {
            transform: translate(-50%, -50%) scale(1);
        }


/*.reportExelFoot {
    background-color: var(--haedColor);
    padding: 8px;
    border-top: 1px solid var(--hint);
}*/

.tblExcel {
    margin: 0 16px 16px;
    padding: 16px 0 0;
    width: calc(100% - 32px) !important;
}

.Priority > td {
    display: flex;
    padding-bottom: 16px;
    align-items: center;
    font-size: 12pt;
}

.Priority .TextBox {
    width: 80px !important;
    display: block;
    margin: 0 8px;
}

.grdReportDownload {
    border: none;
    border-top: 1px solid var(--hint);
    margin: 16px;
    width: calc(100% - 32px) !important;
    font-size: 12pt;
}

    .grdReportDownload tr {
        border-bottom: 1px solid var(--hint);
    }

        .grdReportDownload tr:last-child {
            border: none;
        }

        .grdReportDownload tr td {
            padding: 6px 12px;
            border: none;
        }

        .grdReportDownload tr th {
            padding: 12px 12px;
            border: none;
            background-color: var(--haedColor);
        }

/*#endregion */

/*#region Report */

.reportChecks {
    text-align: right;
    display: grid;
    grid-template-columns: 30% 35% 30%;
}

    .reportChecks .checkbox {
        display: block;
        float: right;
        clear: both;
    }

.rptSecTop tbody {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 16px;
}

    .rptSecTop tbody td {
        display: block;
    }

.rptPermission {
    background-color: var(--hover);
    border-radius: 4px;
    text-align: right;
    display: flow-root;
    margin: 0 0 16px 0;
}

    .rptPermission #chartPanel {
        margin: 0 8px 8px;
        border-radius: 4px;
        overflow: hidden;
    }

    .rptPermission > span {
        font-size: 12pt;
        margin: 8px 10px 4px !important;
        color: var(--color);
        display: block;
    }

span[id*=rfvTitle] {
    display: none !important;
}

.rptContent {
    padding: 0 16px 16px;
    border: 1px solid var(--hint);
}

.rptFoot {
    display: flex;
    justify-content: space-between;
    border: 1px solid var(--hint);
    border-top: none;
    padding: 12px 16px;
    align-items: center;
    margin-bottom: 16px;
    background-color: var(--haedColor);
}

.grdReport {
    border: 1px solid var(--hint);
    border-top: none;
}

    .grdReport tr {
        border-bottom: 1px solid var(--hint);
    }

    .grdReport th {
        border: none;
        white-space: nowrap;
        font-size: 12pt;
        
        padding: 10px 12px;
    }

    .grdReport td {
        border: none;
        font-size: 11pt;
        padding: 4px;
    }

        .grdReport td .checkbox {
            margin: 0 !important;
            width: 100%;
            height: 100%;
            padding: 0 !important;
            position: relative;
        }

            .grdReport td .checkbox .mark {
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
            }

        .grdReport td:nth-child(2),
        .grdReport td:nth-child(3) {
            text-align: right;
        }

/*#endregion */

/*#region Step.aspx */
.stepHeader {
    display: flex;
    font-size: 10pt;
}

    .stepHeader .links {
        display: flex;
        flex: 1;
        flex-direction: column;
        text-align: right;
    }

        /*.stepHeader .links a:hover,
        .stepHeader .links a:active,
        .stepHeader .links a:visited,
        .stepHeader .links a:link {
            text-decoration: none;
        }*/

        .stepHeader .links a:first-child {
            font-size: 14pt;
            /*color: var(--color);*/
        }

        /*.stepHeader .links a {
            opacity: 0.7;
            transition: all ease .3s;
        }

            .stepHeader .links a:hover {
                opacity: 1;
            }*/

            .stepHeader .links a:last-child {
                font-size: 10pt;
                /*color: var(--color);*/
                position: relative;
                padding: 6px 18px 6px 12px;
            }

                .stepHeader .links a:last-child:before {
                    content: '';
                    position: absolute;
                    background-color: var(--danger);
                    width: 11px;
                    height: 11px;
                    top: calc(50% + 1px);
                    right: 0;
                    border-radius: 50%;
                    transform: translate(0, -50%);
                }

    .stepHeader .actions {
        display: flex;
        margin-left: 86px;
    }

.stepButton {
    color: white;
    position: relative;
    margin: 0 8px 8px 0;
    overflow: hidden;
    text-align: center;
    display: block;
    float: left;
}

    .stepButton:before {
        content: '';
        width: 0px;
        height: 35px;
        border-radius: 4px;
        background-color: rgba(0, 0, 0, 0.1);
        position: absolute;
        top: 0;
        left: 0;
        transition: all ease .3s
    }

    .stepButton:hover:before {
        width: 128px;
    }

    .stepButton input[type=image] {
        background-color: var(--default);
        width: 120px;
        height: 28px;
        object-fit: contain;
        object-position: center right;
        padding: 4px;
        border-radius: 4px;
        box-shadow: 0 10px 5px -7px rgba(0,0,0,0.15);
    }

    .stepButton label {
        position: absolute;
        z-index: 1;
        white-space: nowrap;
        font-size: 10pt;
        display: block;
        top: 5px;
        left: 0;
        right: 22px;
        cursor: pointer;
    }

.stepHeader .actions input:disabled {
    box-shadow: 0 0px 0px 0px rgba(0,0,0,0) !important;
}

.stepPermissions #chart2 {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.stepPermissions label {
    font-size: 12pt;
    margin-bottom: 8px;
    display: block;
}

.footDialog {
    display: flow-root;
    background-color: var(--haedColor);
    border-top: 1px solid var(--hint);
}

    .footDialog input[type=submit] {
        margin: 12px 0 12px 12px !important;
    }

        .footDialog input[type=submit]:last-child {
            margin-left: 8px !important;
        }

.flexRow {
    display: flex;
}

.rootRow {
    display: flow-root;
}

.stepTitle {
    flex: 1;
    margin-left: 8px;
}

.stepActionBox {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}


    .stepActionBox .Button {
        margin: 0 8px 8px 0px !important;
        padding: 6px 16px 12px !important;
    }

.helpLabel {
    background-color: var(--hover);
    padding: 2px 8px 4px;
    border-radius: 4px;
    margin: 8px 0 0 10px !important;
    vertical-align: bottom;
    display: inline-block;
}

.stepChart .ui-widget-content {
    border: none;
}

/*#endregion */

/*#region Editor */
.editor {
    margin-bottom: 8px;
    border: 1px solid var(--hint) !important;
    width: calc(100% - 3px) !important;
}

.fr-toolbar .fr-command.fr-btn span, .fr-popup .fr-command.fr-btn span {
    min-width: unset !important;
    float: unset !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin: 4px;
}

.fr-toolbar.fr-rtl .fr-command.fr-btn, .fr-popup.fr-rtl .fr-command.fr-btn {
    justify-content: center;
    display: flex;
    align-items: center;
}

.fr-toolbar {
    box-shadow: none !important;
    border-top: none !important;
    border-bottom: 1px solid var(--hint) !important;
}

.fr-box.fr-basic.fr-top .fr-wrapper {
    box-shadow: none !important;
}

/*#endregion */

/*#region Parser */

.CodeEditor {
    background-color: rgba(0,0,0,0.05);
    padding: 16px;
    border-radius: 4px;
}

    .CodeEditor .parserHelp {
        width: 24px;
        margin: 8px 0 0 0;
    }

    .CodeEditor [id*=drpKeywords] {
        clear: right;
    }

.GoDown {
    cursor: pointer;
    vertical-align: top;
    float: right;
    width: 24px;
    margin: 8px 0px 0 6px;
}

.CodeEditor select.TextBox {
    width: auto !important;
    max-width: 450px;
    float: right;
    margin: 0 0 12px 12px;
    border: 1.4px solid rgba(0,0,0, 0.2) !important;
}

.CodeEditor .btnRunParser {
    float: left;
    margin: -21px 0 0 5px;
    cursor: pointer;
}

parser-runner td:first-child {
    text-align: left;
}

parser-runner .TextBox {
    margin: 2px;
}

parser-runner #pnlResult {
    display: none;
    margin-top: 55px;
    direction: ltr;
    text-align: left;
}

/*#endregion */
/*#region Plate */
.Plate {
    direction: ltr;
    border: solid 1px var(--hint);
    border-radius: 5px;
    margin-bottom: 8px;
    width: auto !important;
    float: right;
    padding: 0 !important;
    display: block;
    overflow: visible;
}

    .Plate tbody {
        padding: 0 !important;
        display: block;
    }

    .Plate tr {
        display: flex;
    }

    .Plate td {
        border: none !important;
        border-left: solid 1px var(--hint) !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        float: right;
        flex: 1;
        padding: 0 !important;
        margin: 0 !important;
    }

        .Plate td:last-child {
            text-align: center;
        }

        .Plate td:first-child {
            border: none !important;
        }

    .Plate .TextBox {
        text-align: center;
        margin: 0;
        border-radius: 5px;
        font-size: 12pt;
        padding: 0 6px !important;
        width: calc(100% - 12px) !important;
        border: none !important;
    }

    .Plate .focus .TextBox {
        border: none !important;
    }

    .Plate select {
        display: none;
    }

    .Plate .customSelect {
        margin: 0;
        border: none;
        font-size: 11pt;
        padding: 0 16px 0 34px;
    }

        .Plate .customSelect::after {
            left: 9px;
            width: 14px;
            height: 14px;
            transform: translate(0,calc(-50% + -2px ));
        }

    .Plate .lblIranPlate {
        display: block;
        background-color: rgba(0, 0, 0, 0.05);
        color: var(--color);
        width: 100%;
        padding: 0 0 3px 0;
        border-bottom: 1px solid var(--hint);
    }

/*#endregion */

/*#region Select */

select, select.TextBox, select.TextBoxReq {
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    background-image: url(../images/down.svg) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 5px center;
    background-size: 18px;
    padding: 9px 12px 8px 27px !important;
    width: calc(100% - 43px) !important;
    direction: rtl;
    font-size: 12pt !important;
    min-width: 38px;
}

select.drpState, select.drpCity {
    width: calc(50% - 45px) !important;
}

/*#endregion */

/*#region Field.aspx */

#chart.ui-widget-content {
    border: none;
}

.CopyField select.TextBoxReq {
    margin: 6px 0 !important;
    border: 1px solid var(--hint) !important;
    width: auto !important;
    max-width: calc(100% - 46px);
}

.footTabs {
    display: flow-root;
    border: 1px solid var(--hint);
    border-top: none;
    background-color: rgba(0,0,0,0.05);
}

    .footTabs input[type="submit"] {
        margin: 12px 0 12px 12px !important;
    }


.headTabs {
    border: 1px solid var(--hint);
    border-bottom: none;
    background: rgba(0,0,0,0.05);
    margin: 0 0 1px 0;
}

    .headTabs .tabsTitle {
        display: flow-root;
        border-bottom: 1px solid var(--hint);
        padding: 8px;
        margin-bottom: 16px;
    }

        .headTabs .tabsTitle a[id*=lnkForm] {
            font-size: 16pt;
            margin: 8px 8px 0 0;
        }

        .headTabs .tabsTitle a[id*=lnkStep] {
            font-size: 10pt;
            margin: 8px;
        }

        .headTabs .tabsTitle a {
            display: block;
            transition: all ease .3s;
            /*color: var(--color);*/
            text-align: right;
            float: right;
            /*clear: both;*/
        }

            /*.headTabs .tabsTitle a:hover,
            .headTabs .tabsTitle a:active,
            .headTabs .tabsTitle a:visited {
                text-decoration: none !important;
            }*/

            /*.headTabs .tabsTitle a:hover {
                color: var(--warning);
            }*/

.grdField {
    border: 1px solid var(--hint);
}

    .grdField > tbody > tr {
        background-color: transparent !important;
    }

        .grdField > tbody > tr > th {
            background-color: var(--haedColor);
            font-size: 12pt;
            white-space: nowrap;
            color: var(--color);
            border: none;
            border-bottom: 1px solid var(--hint);
            padding: 12px 6px;
            
        }

        .grdField > tbody > tr > td:nth-child(1) {
            background-color: rgba(0, 0, 0, 0.05);
            border-left: 1px solid var(--hint) !important;
        }

            .grdField > tbody > tr > td:nth-child(1) .checkbox {
                padding: 0;
                width: 21px;
                height: 21px;
                margin: -5px 0 0 0 !important;
                border-bottom: none !important;
            }

        .grdField > tbody > tr > td {
            padding: 0 8px 8px !important;
            border: none;
            border-bottom: 1px solid var(--hint);
        }

            .grdField > tbody > tr > td:nth-child(3) {
                width: 120px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            .grdField > tbody > tr > td:nth-child(4) .TextBox {
                margin: 0 4px;
                background-color: #0000000d;
                border: none;
                padding: 6px 4px 4px;
                width: 86px !important;
            }

            .grdField > tbody > tr > td:nth-child(4) input[type=image] {
                object-fit: contain;
                background-color: var(--haedColor);
                padding: 0 7px;
                border-radius: 4px;
            }

.btnTable {
    background-color: var(--default);
    border-radius: 4px;
    padding: 6px;
    width: 19px;
    height: 19px;
    transition: all ease .3s;
    box-shadow: 0 5px 8px -5px rgba(0,0,0,0.2);
    display: block;
    overflow: hidden;
    margin: 0 2px;
    vertical-align: middle;
}

    .btnTable img {
        display: block;
        width: 100%;
    }

    .btnTable:hover {
        box-shadow: 0 0 8px 0 rgba(0,0,0,0.3);
    }

/*.grdField > tbody > tr > td > .btnDelete:hover {
        box-shadow: 0 0 10px 0 var(--danger);
    }*/


.grdField > tbody > tr:last-child > td:nth-child(4) input[type=image] {
    background-color: transparent;
}

.grdField > tbody > tr:last-child > td {
    padding: 6px !important;
    background-color: var(--haedColor);
}

.grdField > tbody > tr:last-child > td {
    padding: 8px !important;
    background-color: var(--haedColor);
    border-top: 1px solid var(--hint) !important;
}

.orderRecord {
    display: flex;
}

/*#endregion */

/*#region Dashboard.aspx */

.grdDashboard {
    border: none;
    display: block;
    overflow-y: auto;
    scrollbar-width: thin;
}

    .grdDashboard > tbody {
        display: inline-table;
        width: 100%;
    }

    .grdDashboard tr:first-child {
        background-color: var(--haedColor) !important;
        color: var(--color) !important;
        font-size: 12pt !important;
        border-bottom: 1px solid var(--hint);
    }

    .grdDashboard th {
        padding: 10px 8px;
        font-family: 'IRANYekanX';
        font-weight: 600;
        border: none !important;
        white-space: nowrap;
    }

    .grdDashboard > tbody > tr > td {
        border: none !important;
        border-top: 1px solid var(--hint) !important;
        color: var(--color) !important;
        padding: 10px 8px;
        white-space: nowrap;
    }

    .grdDashboard th a {
        color: var(--accent) !important;
    }
    .grdDashboard td a {
        font-size: 11pt;
    }

.Pager {
    background-color: var(--haedColor);
}
    .Pager > td {
        overflow: auto !important;
        scrollbar-width: thin;
    }

    .Pager td > table td {
        display: inline-block;
    }

        .Pager td > table td span,
        .Pager td > table td a {
            display: block;
            color: var(--color) !important;
            font-size: 12pt;
            text-decoration: none;
            background-color: var(--hover);
            padding: 0 8px;
            border-radius: 3px;
            
            margin: 0 0 0 6px;
        }


        .Pager td > table td span {
            color: white !important;
            background-color: var(--accent);
            box-shadow: 0px 6px 7px -8px #000;
        }


/*#endregion */

/*#region Backgrounds */
.btnEdit {
    background-color: var(--warning) !important;
}

.btnSuccess {
    background-color: var(--success) !important;
}

.btnInfo {
    background-color: var(--info);
}

.btnCyan {
    background-color: var(--cyan);
}

.btnPurple {
    background-color: var(--purple);
}

.btnPink {
    background-color: var(--pink);
}

.btnDelete {
    background-color: var(--danger) !important;
}

/*#endregion */

/*#region Captcha */

#capcha {
    background-color: var(--haedColor);
    border: 1.4px solid rgba(0,0,0, 0.2);
    border-radius: 4px;
    display: flex;
    direction: rtl;
}

    #capcha #btnRefresh {
        padding: 6px;
        width: 36px;
        border-right: 1.4px solid rgba(0,0,0, 0.2);
        cursor: pointer;
    }

    #capcha #imgCaptcha {
        padding: 5px 10px 0;
        object-fit: contain;
        background-color: white;
    }

    #capcha input[type=text] {
        flex: 1;
        border: none;
        border-left: 1.4px solid rgba(0,0,0, 0.2);
        padding: 8px 16px;
        font-size: 12pt;
        text-align: center;
        color: var(--color);
        margin-right: 1px;
    }

/*#endregion */

/*#region FillForm.aspx */

td.dynamicForm .tdUploader {
    text-align: left;
}

.uplIcon {
    position: absolute;
    left: 11px;
    width: 19px;
    height: 21px;
    bottom: 12px;
}

    .uplIcon[src="Images/Save.png"] {
        width: 19px;
        height: 19px;
        bottom: 34px;
    }

    .uplIcon[src="Images/Clean.png"] {
        bottom: 46px;
    }

.galleryLink.uplIcon {
    width: 21px;
    height: 21px;
    bottom: 33px;
    left: 10px;
}

.galleryLink.uplIcon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.tdUploader:has(.Del) .fileUploader span {
    font-size: 0;
}
    .tdUploader:has(.Del) .fileUploader span:before {
        display: inline-block;
        content: 'انتخاب شده است';
        color: var(--success);
        font-size: 11pt;
    }

/*td.dynamicForm input[type=image],
td.dynamicForm .galleryLink {
    display: inline-block;
    z-index: 9;
    width: 16px;
    height: 16px;
    margin-top: 35px;
    position: absolute;
}

td.dynamicForm input[type=image] {
    left: 12px;
    top: 45px;
}

    td.dynamicForm .galleryLink {
        width: 18px;
        height: 18px;
        left: 11px;
        top: 25px;
    }

    td.dynamicForm .galleryLink img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }*/
td.dynamicForm > table {
    display: block;
    width: calc(100% - 2px) !important;
    overflow: visible;
    scrollbar-width: thin;
}

    td.dynamicForm > table > tbody {
        display: flow-root;
    }

        .CaptchaBox,
        td.dynamicForm > table > tbody > tr {
            display: inline-block;
            width: 33.3333%;
            padding: 0 8px;
            box-sizing: border-box;
            vertical-align: top;
        }

            td.dynamicForm > table > tbody > tr > td {
                display: flow-root;
                /*padding-top: 22px;*/
            }

            td.dynamicForm > table > tbody > tr.bigRow {
                width: 100%;
            }

            td.dynamicForm > table > tbody > tr.col1 {
                width: 33.3333%;
            }

            td.dynamicForm > table > tbody > tr.col2 {
                width: 66.6666%;
            }


            td.dynamicForm > table > tbody > tr.col10 {
                width: 33.3333%;
                display: block !important;
            }

            td.dynamicForm > table > tbody > tr.col20 {
                width: 66.6666%;
                display: block !important;
            }

            td.dynamicForm > table > tbody > tr.col3 {
                width: 100%;
            }


/*tr.stable > td > .lbl-name {
    margin-top: -16px !important;
}*/

tr.flow > td > .lbl-name,
tr.flow > td.focus .lbl-name {
    top: 32px;
}


/*tr.flow > td > .tip[src="Images/tip.gif"] {
    top: 18px;
}*/

tr.flow > td.childField > img[src='Images/down-circel.png'],
tr.flow > td.prentField > img[src='Images/down-circel.png'] {
    top: 24px;
}

table.displayForm,
table.displayForm > tbody,
table.displayForm > tbody > tr,
table.displayForm > tbody > tr > td {
    display: flow-root;
    overflow: visible;
    scrollbar-width: thin;
}

/*#endregion */

/*#region Website.aspx */

.tblWebsiteForm {
    width: calc(100% - 2px) !important;
}

    .tblWebsiteForm > tbody {
        display: grid;
        grid-template-columns: var(--desktop);
        grid-gap: 16px;
        margin: 0 16px;
    }

        .tblWebsiteForm > tbody > tr > td {
            display: block;
        }

.webFoot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--hint);
    padding: 16px;
    border-top: none;
    margin-bottom: 32px;
    background-color: var(--haedColor);
}

    .webFoot .checkbox {
        margin: 0 !important;
    }

.tblWebsiteForm .emptyCheck .checkbox {
    position: relative;
}

    .tblWebsiteForm .emptyCheck .checkbox .mark {
        position: relative;
    }

.tblWebsiteList .emptyCheck {
    display: block;
    width: 21px;
    height: 21px;
    position: relative;
    margin: 0 auto;
}

    .tblWebsiteList .emptyCheck .checkbox {
        width: 21px;
        height: 21px;
        margin: 0 !important;
    }

/*#endregion */

/*#region ViewList.aspx */
#pnlCategories {
    display: flow-root;
    margin: 16px 0 0;
    border: 1px solid var(--hint);
    border-bottom: none;
}

    #pnlCategories span {
        display: block;
        float: right;
        font-size: 12pt;
        padding: 14px 16px 10px;
        margin: 0 6px;
        border-bottom: 4px solid transparent;
        cursor: pointer;
    }

        #pnlCategories span.current {
            border-bottom: 4px solid transparent;
            transition: all ease .3s;
            cursor: default;
            background-color: var(--accent);
            color: white;
        }

        #pnlCategories span:hover {
            background-color: var(--hover);
        }

        #pnlCategories span.current:hover {
            background-color: var(--accent);
        }

#pnlTypes {
    display: flow-root;
    margin: 32px 0 0;
    border-bottom: none;
    display: flex;
}

    #pnlTypes span {
        display: block;
        float: right;
        font-size: 12pt;
        padding: 9px 16px 0;
        margin: 0 0 0 10px;
        border-radius: 4px;
        background-color: var(--hover);
        flex: 1;
        cursor: pointer;
    }

        #pnlTypes span.current {
            border-bottom: 4px solid transparent;
            transition: all ease .3s;
            cursor: default;
            background-color: var(--success);
            color: white;
        }

        #pnlTypes span:hover {
        }

        #pnlTypes span.current:hover {
        }

        #pnlTypes span:last-child {
            margin: 0;
        }
/*#endregion */

.m0 {
    margin: 0 !important;
}

/*#region BatchFillForm.aspx */
.grdLstDeskFoot {
    display: flow-root;
    background-color: var(--haedColor);
    padding: 16px;
    border: 1px solid var(--hint);
    border-top: none;
}

/*#endregion */

/*#region Person.aspx */

.prsFoot {
    border: 1px solid var(--hint);
    border-top: 0;
    padding: 13px 24px 8px;
    background-color: var(--haedColor);
}

/*#endregion */

/*#region PrintTemplate.aspx */

.templateContent > div {
    width: calc(30% - 12px);
    display: block;
    float: right;
    margin-left: 12px;
}

.templateContent > table {
    width: 70% !important;
    display: block;
    float: right;
}

.printTemplate {
    max-width: 1148px;
}

    .printTemplate table {
        overflow: unset;
        scrollbar-width: thin;
        margin: 0;
        width: unset !important;
    }

.FieldBar .ui-state-default {
    width: calc(100% - 16px);
    padding: 6px 24px 6px 16px;
    border: none;
    margin: 8px;
    border-radius: 4px;
    background-repeat: no-repeat;
    background-position: calc(100% - 8px) center;
    background-size: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
    direction: rtl;
    box-shadow: 0px 5px 7px -9px #000;
    font-size: 11pt;
    box-sizing: border-box;
    background: #0000001c;
    position: relative;
    color: #212121;
    font-family: IranSansX;
    
}

    .FieldBar .ui-state-default::before {
        content: '';
        position: absolute;
        top: 50%;
        right: 8px;
        width: 14px;
        height: 14px;
        transform: translate(0,-50%);
        -webkit-mask-image: url(/Images/arrowAcc.svg);
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-size: contain;
        -webkit-mask-position: center;
        background-color: var(--color);
    }


.FieldBar .ui-state-default > span{
    display: none;
}


.FieldBar .ui-widget-content {
    padding: 6px !important;
    margin: 8px !important;
    width: calc(100% - 16px);
    box-shadow: none;
    border: none;
    border-radius: 4px;
    background-color: #f5f5f5 !important;
    font-size: 10.5pt;
    box-sizing: border-box;
}


.FieldBar .cl-InnerItem {
    display: block;
    text-align: right;
    vertical-align: top;
    font-size: 10pt;
    box-sizing: border-box;
    padding: 4px 0;
}

.printTemplate td {
    position: unset;
}

.grdPrintTemplate {
    margin: 32px 4px !important;
}

#ItemProperties .txtOrder {
    margin: 0;
}

.templateContent select{
    display: block;
    width: calc(100% - 40px);
    padding: 6px 10px;
    margin: 0px;
    direction: ltr;
    border-radius: 4px;
    border: none !important;
    background-color: var(--hover);
    box-sizing: content-box;
    font-family: IranSansX;
    color: var(--color);
    font-size: 9pt !important;
}

/*#endregion */

/*#region Responsive */
@media all and (max-width: 1199px) {
}

@media all and (max-width: 991px) {
    .tblForm > tbody,
    .frmTable > tbody,
    .tblWebsiteForm > tbody {
        grid-template-columns: var(--tablet);
    }

    td.dynamicForm > table > tbody > tr {
        width: 50%;
    }

        .CaptchaBox,
        td.dynamicForm > table > tbody > tr.col1 {
            width: 50%;
        }

        td.dynamicForm > table > tbody > tr.col10 {
            width: 50%;
            display: block !important;
        }

        td.dynamicForm > table > tbody > tr.col20,
        td.dynamicForm > table > tbody > tr.col2 {
            width: 100%;
        }
}

@media all and (max-width: 768px) {
    .tblForm > tbody,
    .frmTable > tbody,
    .tblWebsiteForm > tbody {
        grid-template-columns: var(--mobile);
        grid-gap: 0px;
    }

    /*header .Title,
    header .Notification {
        display: none !important;
    }*/
    #capcha input[type=text] {
        width: 110px;
    }
    select.drpState, select.drpCity {
        width: calc(100% - 45px) !important;
    }

    header .Profile {
        display: none !important;
    }

    td.dynamicForm > table > tbody > tr {
        width: 100%;
    }

        .CaptchaBox,
        td.dynamicForm > table > tbody > tr.col1 {
            width: 100%;
        }

        td.dynamicForm > table > tbody > tr.col10 {
            width: 100%;
            display: block !important;
        }

    filter-box filters {
        flex-direction: column;
    }

    .grdDashboard {
        display: block;
    }

        .grdDashboard > tbody {
            display: grid;
            grid-template-columns: 100%;
        }

            .grdDashboard > tbody > tr {
                display: block;
                margin: 6px 12px;
                border: 1px solid rgba(0, 0, 0, 0.2);
                text-align: center;
            }

                .grdDashboard > tbody > tr:last-child {
                    display: block;
                    border-bottom: none;
                }

                .grdDashboard > tbody > tr:first-child {
                    display: none;
                }

                .grdDashboard > tbody > tr:nth-child(2) {
                    margin-top: 12px;
                }

                .grdDashboard > tbody > tr > td {
                    background-color: #ffffff5c;
                    display: inline-block;
                    border: none !important;
                    text-align: right;
                    width: calc(100% - 8px) !important;
                    box-sizing: border-box;
                    margin: 2px;
                    border-radius: 4px;
                    padding: 4px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }

                    .grdDashboard > tbody > tr > td.Hidden {
                        display: none !important;
                    }

                    .grdDashboard > tbody > tr > td:before {
                        display: inline-block;
                        font-weight: bold;
                        margin-left: 8px;
                    }


                    /*ردیف	کد رهگیری	عنوان	درخواست دهنده	در کارتابل	زمان ارسال	عملیات*/
                    .grdDashboard > tbody > tr > td:nth-child(1) {
                        display: none;
                    }
                    .grdDashboard > tbody > tr.Pager > td:nth-child(1) {
                        display: block;
                    }

                    .grdDashboard > tbody > tr > td:nth-child(3):before {
                        content: 'کدرهگیری:';
                    }

                    .grdDashboard > tbody > tr > td:nth-child(4):before {
                        content: 'عنوان:';
                    }

                    .grdDashboard > tbody > tr > td:nth-child(5):before {
                        content: 'درخواست دهنده:';
                    }

                    .grdDashboard > tbody > tr > td:nth-child(6):before {
                        content: 'در کارتابل:';
                    }

                    .grdDashboard > tbody > tr > td:nth-child(7):before {
                        content: 'زمان ارسال:';
                    }

                    .grdDashboard > tbody > tr > td:nth-child(8) {
                        text-align: left;
                    }

                    /*.grdDashboard > tbody > tr > td:nth-child(8):before {
                        content: 'عملیات:';
                    }*/

    filter-box filters {
        display: grid;
        grid-template-columns: 50% 50%;
    }

    filter-box filters span:last-child {
        grid-column: 1 / span 2;
        /*border-bottom: 1px solid var(--hint);*/
    }

}

@media screen and (min-width: 0) and (max-width: 600px) {
    header .Notification {
        margin-left: -10px;
    }

    header .chatAlarm {
        margin-left: 5px;
    }

    table.displayForm .Button {
        float: unset !important;
        margin: 4px 0 !important;
        width: 100%;
    }

    div[id*='pnlModule'], .NewsPanel {
        width: 100% !important;
    }

    .tblReport > tbody {
        min-width: 100%;
    }

    .searchField {
        display: block;
        padding-bottom: 4px;
        box-sizing: border-box;
        border-bottom: dashed 1px var(--hint);
    }

        .searchField > .cbEnable {
            margin: 10px 6px 0 0 !important;
        }

        .searchField > select.drpConditionOperator {
            margin: 0 !important;
            width: calc(100% - 85px) !important;
        }

        .searchField > .lblSeaerchName {
            width: auto !important;
            text-align: justify;
            padding: 8px;
            margin: 0;
            white-space: normal;
        }

        .searchField > select.drpSearchOperator {
            margin: 0px 7px !important;
            width: calc(100% - 52px) !important;
        }

        .searchField > div > .TextBox[type=text] {
            padding: 4px 11px 6px !important;
            margin: 7px !important;
        }

        .searchField > .pnlRange {
            display: block;
        }

            .searchField > .pnlRange input[type=checkbox] {
                margin: 14px 8px 10px 3px;
                vertical-align: middle;
            }

            .searchField > .pnlRange .end {
                margin-top: 5px;
            }

        .searchField [style*="visibility: hidden"] {
            display: none;
        }

    [id*=pnlSearch] .actions {
        display: block;
    }
    [id*=pnlSearch] .actions > span {
        margin: 5px 15px;
        display: block;
    }
    [id*=pnlSearch] .actions input[type="submit"] {
        width: calc(100% - 30px);
        margin: 5px 15px !important;
        float: none;
    }

    .rootRow > a {
        width: calc(100% - 50px);
    }

    .tblExcel {
        margin: 0;
        padding: 0;
        width: auto !important;
        text-align: justify;
    }
        .tblExcel input[type=submit] {
            padding: 8px 11px 6px !important;
            width: 100%;
        }

    .PersonEdit td {
        display: block;
        width: 100% !important;
        height: auto !important;
    }
    .PersonEdit td input {
        margin-top: 0;
        margin-bottom: 10px;
    }
    .PersonEdit [style*="visibility:hidden"],
    .PersonEdit [style*="visibility: hidden"] {
        display: none !important;
    }
    .PersonEdit td br {
        display: none !important;
    }
    .PersonEdit .Button {
        padding: 10px 20px !important;
        width: 100%;
    }
}

/*#endregion */

/*#region Wizard */
.tabState {
    display: none;
    color: var(--color);
    margin: 0 0 16px;
    border-bottom: 6px solid var(--haedColor);
    box-shadow: 0px 18px 48px -29px #000;
    position: relative;
    transition: all ease-out .5s;
}

    .tabState label {
        font-family: IranSansX;
        font-size: 12pt;
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translate(0, -50%);
        color: var(--color);
        /*background-color: var(--warning);
        color: white;*/
        padding: 0 6px 3px 4px;
        border-radius: 2px;
        display: none;
    }

[wizard] .tabState {
    display: flow-root;
}

.tabState.active {
    box-shadow: 0px 18px 51px -22px var(--success);
}

.tabState h2 {
    
    margin: 16px;
}

.tabState span {
    display: block;
    height: 6px;
    width: 16px;
    background-color: var(--warning);
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translate(0, 100%);
    transition: all ease-out .5s;
}

/*.tabState.active label,*/
.tabState.active span {
    background-color: var(--success);
}

wizard-box {
    position: relative;
    display: flow-root;
}

wizard {
    display: none;
    position: static;
    text-align: center;
}

[wizard] wizard {
    display: flow-root;
    overflow: hidden;
    padding: 32px 0 16px;
}

@keyframes glow {
    from {
        box-shadow: 0px 0px 29px -13px var(--warning);
    }

    to {
        box-shadow: 0px 0px 29px 0px var(--warning);
    }
}


wizard-nav {
    display: block;
    margin: 0 auto;
}

wizard-box > span {
    position: absolute;
    display: none;
    top: 50%;
    right: 0px;
    width: 24px;
    height: 24px;
    transform: translate(50%, calc(-50% + 8px));
    border-radius: 50%;
    background-color: var(--danger);
    box-shadow: 0px 3px 8px -4px #000;
    z-index: 1;
    cursor: pointer;
}

wizard-box.arrow > span {
    display: block;
}

wizard-box > span.next {
    right: auto;
    left: 0;
    transform: translate(-50%, calc(-50% + 8px));
}

wizard-box > span:before {
    background-color: white;
    width: 100%;
    height: 100%;
    display: block;
    content: '';
    -webkit-mask-image: url(/Images/arrow.svg);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 16px;
    -webkit-mask-position: center;
}

wizard-box > span.back:before {
    transform: rotate(-180deg);
}

wizard-nav item {
    width: 48px;
    height: 48px;
    position: relative;
    display: block;
    float: right;
    border-radius: 50%;
    margin: 0 20px;
    cursor: pointer;
    transition: all ease .3s;
    background-color: var(--success);
    color: white;
}

    wizard-nav item.active {
        animation-name: glow;
        animation-duration: .9s;
        animation-iteration-count: infinite;
        animation-direction: alternate;
        background-color: var(--warning);
    }

    wizard-nav item::before {
        content: '';
        height: 0;
        width: 40px;
        top: 50%;
        right: 0;
        transform: translate(100%, -50%);
        transition: all ease .3s;
        display: block;
        position: absolute;
        border-bottom: 2px dashed var(--success);
    }

    wizard-nav item.active ~ item {
        background-color: var(--hover);
        color: var(--color);
    }

        wizard-nav item.active ~ item::before {
            border-color: var(--hover);
        }

    wizard-nav item:first-child::before {
        display: none;
    }

    wizard-nav item span {
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%) scale(0);
        left: 50%;
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 3px;
        padding: 0px 8px;
        font-size: 9pt;
        color: white;
        white-space: nowrap;
        z-index: 999;
        transition: all ease .3s;
    }

    wizard-nav item:hover span {
        top: 0;
        transform: translate(-50%, -120%) scale(1);
    }

    wizard-nav item step {
        font-family: IranSansX;
        font-size: 16pt;
        display: flex;
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
    }

/*#endregion */
