﻿.dtTopContent {
    display: flex;
    justify-content: space-between;
    direction: rtl;
    align-items: center;
}

.vertical-align-middle {
    vertical-align: middle !important;
}

@font-face {
    font-family: 'iransansweb';
    src: url('../font/iransansweb_light.eot') format('embedded-opentype'), url('../font/iransansweb_light.ttf') format('truetype'), url('../font/iransansweb_light.woff') format('woff'), url('../font/iransansweb_light.woff2') format('woff2');
}

@font-face {
    font-family: 'Vazir';
    src: url(/UserTemplate/fonts/7-Vazir/Vazir-FD.woff2) format('woff2');
    font-display: swap;
}

* {
    font-family: Vazir;
    font-variant-numeric: normal;
    font-feature-settings: 'lnum';
}

.invalid {
    display: block !important;
}

.iconFlex {
    display: flex;
}

.requiredField {
    position: relative;
}

    .requiredField:after {
        font-family: tabler-icons;
        content: "\f014";
        position: absolute;
        right: 3px;
        top: 3px;
        font-size: 7px;
        border-radius: 2px;
        animation-name: required;
        animation-timing-function: linear;
        animation-duration: 3s;
        animation-iteration-count: infinite;
        color: red;
    }

@keyframes required {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(2);
        opacity: .1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}






/*#region filepond Custom*/

.filepond--root {
    font-family: IRANSans;
    font-size: 14px;
}

.filepond--drop-label.filepond--drop-label label {
    display: block;
    margin: 0;
    padding: 0.5em;
    font-weight: bold;
    cursor: pointer;
}



.filepond--drip {
    border: 1px dashed var(--PrimaryDark);
    pointer-events: none;
    border-radius: 0.5em;
    background: none;
}

.filepond--file-status-sub {
    direction: rtl !important;
    text-align: right !important;
}

.filepond--file-status {
    transform: unset !important;
    margin: 0;
    width: 100%;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    bottom: 5px;
    padding: 4px 0;
    background-color: #0000007a;
}

    .filepond--file-status > .filepond--file-status-sub {
        color: white !important;
        opacity: .8;
        margin-top: 5px
    }

.filepond--file-info-sub {
    opacity: 1 !important;
    color: white;
    background-color: #00000091;
    padding: 3px 5px 1px 5px;
    margin: 0;
    border-radius: 5px;
    margin-top: 2px;
    font-size: 10px !important;
}

.customPond .filepond--item {
    width: calc(33.3% - 0.5em);
    margin-bottom: 10px;
}

@media only screen and (max-width: 767px) {
    .customPond .filepond--item {
        width: calc(50% - 0.5em);
        margin-bottom: 10px;
    }

    .filepond--drop-label > label {
        font-size: 12px;
    }
}

.filepond--item img {
    max-width: 100%;
}

.filepond, .filepond * {
    direction: ltr;
    cursor: pointer;
}

.filepond--credits {
    display: none;
}

/*#endregion filepond Custom*/






.AnnounceView-DesktopMap {
    margin-top: 30px;
}

.AnnounceView-DesktopPersonalNote {
    margin-top: 30px;
}

.AnnounceView-DesktopFeedback {
    margin-top: 30px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    color: black;
}

    .AnnounceView-DesktopFeedback i {
        font-size: 19px;
        color: gray;
    }

.AnnounceView-DesktopReport {
    margin-top: 15px;
    color: gray;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

    .AnnounceView-DesktopReport > label {
        display: flex;
        align-items: center;
        font-size: 14px;
        cursor: pointer;
    }

        .AnnounceView-DesktopReport > label > i {
            font-size: 19px;
            margin-left: 10px;
            cursor: pointer;
        }












.Modal-Wrapper {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    z-index: 1500;
    background-color: rgba(0, 0, 0, .3);
    backdrop-filter: blur(2px);
    overflow: hidden;
    display: none;
}

    .Modal-Wrapper .Modal-Inner {
        background-color: white;
        width: auto;
        height: auto;
        margin: auto;
        border-radius: 5px;
        padding: 0 40px;
        display: flex;
        min-width: 300px;
        max-width: 95%
    }

@media only screen and (max-width: 768px) {
    .Modal-Wrapper .Modal-Inner {
        padding: 0 20px;
    }
}

.Modal-Wrapper .Modal-Inner .Modal-Content {
    width: 100%;
}


    .Modal-Wrapper .Modal-Inner .Modal-Content .Modal-Content-Header {
        padding: 20px 0;
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        border-bottom: 1px solid silver;
        align-items: center;
    }

    .Modal-Wrapper .Modal-Inner .Modal-Content .Modal-Content-Body {
        padding: 20px 0;
        max-height: 80vh;
        padding-bottom: 50px;
        overflow-y: auto;
        overflow-x: hidden;
    }

.cover {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(1px);
    background-color: #00000070;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.color-black {
    color: black !important;
}

.tr-success td {
    box-shadow: inset 0px 0px 6px #00ff66;
    border: 1px solid #00ff66;
}

.tr-warning td {
    box-shadow: inset 0px 0px 6px #ffeb00;
    border: 1px solid #ffeb00;
}

.tr-info td {
    box-shadow: inset 0px 0px 6px #00b8ff;
    border-color: #00b8ff;
}

.tr-danger td {
    box-shadow: inset 0px 0px 6px #ff006a;
    border-color: #ff006a;
}

td {
    transition-duration: .3s;
}

.custom-radio {
    transition-duration: .3s;
    cursor: pointer;
    border: 1px solid gray;
}

    .custom-radio.active {
        border: 1px solid var(--Primary);
        box-shadow: -2px 2px 7px var(--Primary) !important;
    }

.fs-16 {
    font-size: 16px !important;
}

.fs-12 {
    font-size: 12px !important;
}

.fs-11 {
    font-size: 11px !important;
}

.fs-10 {
    font-size: 10px !important;
}

.fs-8 {
    font-size: 8px !important;
}

.fs-18 {
    font-size: 18px !important;
}

.fs-20 {
    font-size: 20px !important;
}

.fs-22 {
    font-size: 22px !important;
}

.cursor-pointer {
    cursor: pointer;
}

.cardFilter {
    border: 1px solid gray;
    margin: 0 4px 10px 4px;
    padding: 1px 4px;
    font-size: 12px;
    border-radius: 4px;
    box-shadow: var(--ShadowLight);
    cursor: pointer;
    transition-duration: .5s;
    font-weight: bold;
}

    .cardFilter.active {
        border-color: var(--Primary);
        box-shadow: -2px 2px 7px var(--Primary);
        color: white;
        background-color: var(--Primary);
    }

.hideLastBorder-bottom:last-child {
    border-bottom: none !important;
}

.mb-last0:last-child {
    margin-bottom: 0 !important;
}

.ml-2 {
    margin-left: 0.5rem !important;
}

.mr-1 {
    margin-right: 0.25rem !important;
}

.ml-1 {
    margin-left: 0.25rem !important;
}

.mr-2 {
    margin-right: 0.5rem !important;
}

.biggerCheckbox-20 {
    width: 20px;
    height: 20px;
}

.customCheckBox input[type="checkbox"] {
    /* Add if not using autoprefixer */
    -webkit-appearance: none;
    appearance: none;
    /* For iOS < 15 to remove gradient background */
    background-color: #fff;
    /* Not removed via appearance */
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 1.15em;
    height: 1.15em;
    border: 0.15em solid currentColor;
    border-radius: 0.15em;
    transform: translateY(-0.075em);
    display: grid;
    place-content: center;
}

    .customCheckBox input[type="checkbox"]::before {
        content: "";
        width: 0.65em;
        height: 0.65em;
        transform: scale(0);
        transition: 120ms transform ease-in-out;
        box-shadow: inset 1em 1em var(--chckboxIconActive);
        background-color: var(--Primary);
    }

    .customCheckBox input[type="checkbox"]:checked::before {
        transform: scale(1);
    }


/*#region Uploader*/
.MainProgressContainer {
    width: 100%;
    height: 100vh;
    position: fixed;
    background-color: #0000006e;
    z-index: 10000;
    top: 0;
    backdrop-filter: blur(3px);
}

    .MainProgressContainer * {
        direction: ltr;
    }

.progressContainer {
    position: absolute;
    z-index: 100000;
    width: 360px;
    height: 150px;
    border-radius: 5px;
    box-shadow: 1px 1px 20px black;
    background-color: var(--Black);
    color: white;
    top: 50%;
    right: 50%;
    transform: translate(50%,-50%);
    direction: ltr;
    padding: 10px;
}

.progressOuter {
    position: relative;
    width: 90%;
    height: 20px;
    background-color: white;
    box-shadow: inset 1px 1px 13px black;
    top: 23%;
    left: 50%;
    transform: translate(-50%,-50%);
    border-radius: 7px;
    overflow: hidden;
}

.progressInner {
    position: relative;
    left: 0;
    top: 0;
    height: 20px;
    width: 0;
    background-color: var(--Primary);
    filter: url(#progressblob);
}

.progresscircle1, .progresscircle2, .progresscircle3 {
    position: absolute;
    z-index: 1000100;
    width: 20px;
    height: 20px;
    background-color: var(--Primary);
    border-radius: 20px;
    right: -10px;
    transform: translateY(-50%);
}

.progresscircle1 {
    top: 10%;
    animation-name: progresscircle;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
}

.progresscircle2 {
    top: 90%;
    animation-name: progresscircle;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-delay: .5s;
}

.progresscircle3 {
    top: 50%;
    animation-name: progresscircle;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-delay: 1s;
}

.progresspercent {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: black;
    font-weight: bold;
    z-index: 3;
}

#progressbarLogo {
    height: 30px;
    margin-right: 50%;
    transform: translateX(50%);
    margin-top: 10px;
}

#progressCover {
    position: absolute;
    width: 90%;
    height: 20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 7px;
    background-image: linear-gradient(#0000004a,#00000000,#0000004a);
}

.primaryColor {
    color: #1AB394;
    font-weight: bold;
}


@keyframes progresscircle {
    0% {
        right: -10px;
        width: 20px;
        height: 20px;
    }

    100% {
        right: -80px;
        width: 0;
        height: 0;
    }
}
/*#endregion*/
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.form-control:focus {
    border-color: var(--Primary);
}

.minWidth-200 {
    min-width: 200px !important;
}

.left-0 {
    left: 0;
}

.inputNumberWithoutArrows::-webkit-outer-spin-button, .inputNumberWithoutArrows::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.inputNumberWithoutArrows {
    -moz-appearance: textfield;
}

#ImagePreviewModal {
    width: 100%;
    height: 100dvh;
    position: fixed;
    background-color: #000000f0;
    backdrop-filter: blur(8px);
    z-index: 99999999;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    #ImagePreviewModal img {
        max-width: calc(90% - 20px);
        max-height: calc(90% - 20px);
    }

        #ImagePreviewModal img:not(.Reveal) {
            display: none;
        }

    #ImagePreviewModal .closeBtn {
        position: absolute;
        top: 5px;
        width: 100%;
        display: flex;
        justify-content: center;
        height: 100px;
        cursor: pointer;
    }

    #ImagePreviewModal .next {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        color: var(--PrimaryLight);
        font-size: 35px;
        cursor: pointer;
        height: 100%;
        display: flex;
        align-items: center;
    }

    #ImagePreviewModal .previous {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        color: var(--PrimaryLight);
        font-size: 35px;
        cursor: pointer;
        height: 100%;
        display: flex;
        align-items: center;
        -moz-appearance: textfield;
    }

.cpointer {
    cursor: pointer;
}

    .cpointer * {
        cursor: pointer;
    }

.mr-3 {
    margin-right: 1rem !important;
}

.ml-3 {
    margin-left: 1rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mr-4 {
    margin-right: 1.5rem !important;
}

.ml-4 {
    margin-left: 1.5rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mr-5 {
    margin-right: 3rem !important;
}

.ml-5 {
    margin-left: 3rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.pr-1 {
    padding-right: .25rem !important;
}

.pr-2 {
    padding-right: .5rem !important;
}

.pr-3 {
    padding-right: 1rem !important;
}

.pr-4 {
    padding-right: 1.5rem !important;
}

.pr-5 {
    padding-right: 3rem !important;
}

.formSeperator {
    flex-grow: 1;
    height: 1px;
    border-bottom: 1px solid #6f6f6f;
}
