﻿/*............................. CheckBox ........................*/
.th-checkbox {
    border-radius: 5px;
    margin-bottom: 15px;
    border-width: 1px;
    border-style: solid;
    padding: 11px 0px;
    cursor: pointer;
}

html.dark .th-checkbox {
    background-color: #0b1727 !important;
    border-color: #344050 !important;
}

.th-checkbox > div:nth-child(1) {
    justify-content: right;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    align-content: center;
    vertical-align: middle;
}

.th-checkbox.th-checkbox-true {
}

.th-checkbox .th-checkbox-right {
    width: 50px;
    display: flex;
    float: right;
    justify-content: center;
    align-items: center;
}

.th-checkbox .th-checkbox-right .th-checkbox-null {
    width: 18px;
    height: 18px;
    border: 2px solid #414348;
    border-radius: 3px;
    cursor: pointer;
}

.th-checkbox .th-checkbox-right .th-checkbox-true {
    color: #414348;
    font-size: 21px;
    color: #f3921a;
    box-shadow: 0px 0px 21px #f3921aad;
}

.th-checkbox .th-checkbox-left {
    flex: 1;
    padding-right: 15px;
}

.th-checkbox .th-checkbox-left label {
    cursor: pointer;
    margin: 0px;
}

.th-checkbox input {
    display: none;
}

.th-checkbox .th-checkbox-comment {
    padding: 0px 10px;
    color: #000000bf;
    font-size: 12px;
    /* border-right: 3px solid rgba(0,0,0,0.6); */
    /* margin-right: 24px; */
    margin-top: 10px;
    border-radius: -4px;
}

html.dark .th-checkbox .th-checkbox-comment {
    color: #6e90c3;
}


html.dark .th-checkbox .th-checkbox-right .th-checkbox-null {
    border-color: var(--falcon-body-color);
}

html.dark .th-checkbox .th-checkbox-right .th-checkbox-true {
    /* color: var(--falcon-body-color); */
    color: #43a8ff;
    box-shadow: 0px 0px 21px #00b9ff8f;
}

html.dark .th-checkbox .th-checkbox-left label {
    color: var(--falcon-body-color) !important;
}

/*.............................End CheckBox ........................*/
/*...................... Button ......................*/
.th-btn[disabled=disabled] i:before {
    animation: spinner 1s infinite linear;
}


.tag-helper {
}

.th-btn {
    border: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease 0s;
    align-items: stretch;
    height: 41px;
}

.th-btn:active {
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
    opacity: 0.7;
}

.th-btn:hover {
    top: -10px;
}

.th-btn i, .th-btn svg {
    background-color: rgba(0, 0, 0, 0.2);
    /* padding: 8px; */
    box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.1);
    display: flex;
    /* padding: 12px; */
    align-items: center;
}

.th-btn span {
    display: flex;
    flex: 1;
    text-align: center;
    justify-content: center;
    cursor: pointer;
    /* padding: 7px 21px; */
    margin-bottom: 0px !important;
    padding: 0px 20px;
    align-items: center;
    font-size: 15px;
    font-weight: normal !important;
}

.th-btn span:empty {
    display: none;
}

.th-btn.th-btn-shadow {
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3);
}

.th-btn-not-click, .th-btn-not-click span {
    cursor: inherit !important;
}

.th-btn.th-btn-round {
    border-radius: 80px;
}

.th-btn.th-btn-curve {
    border-radius: 8px;
}


.tf-toman {
    content: "تـومان"
}

.th-btn-small {
    align-items: stretch;
    height: auto;
}

.th-btn-small i {
    /* padding: 7px; */
    font-size: 11px;
    width: 24px !important;
    padding: inherit;
    align-items: center;
    background: none;
    border: none;
    font-weight: 300;
}

.th-btn-small label {
    padding: 2px 10px 2px 16px;
    font-weight: 300 !important;
    letter-spacing: 0;
    border: none;
}

/*............................. End button ..........................*/


/************************* UploadBox ****************************************/


.RadialProgress {
    --hue: 220;
    --holesize: 65%;
    --track-bg: hsl(0deg 0% 100%);
    height: 25vmin;
    width: 25vmin;
    min-width: 100px;
    color: white;
    min-height: 100px;
    display: grid;
    align-items: center;
    justify-items: center;
    place-items: center;
    position: relative;
    font-weight: 700;
    font-size: max(5vmin, 1.4rem);
}

.RadialProgress::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 50%;
    z-index: -1;
    background: conic-gradient(hsl(var(--hue) 100% 70%), hsl(var(--hue) 100% 40%), hsl(var(--hue) 100% 70%) var(--progress, 0%), var(--track-bg) var(--progress, 0%) 100%);
    -webkit-mask-image: radial-gradient(transparent var(--holesize), black calc(var(--holesize) + 0.5px));
    mask-image: radial-gradient(transparent var(--holesize), black calc(var(--holesize) + 0.5px));
}


.UploadingProgressBG {
    min-height: 100vh;
    min-width: 100vw;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    /*display: grid !important;*/
    align-content: center !important;
    justify-content: center !important;
    place-content: center;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
    display: none;
    z-index: 999999;
    background-color: rgba(0, 0, 0, 0.7);
    color: white
}


.upload-box {
    border: 3px solid black;
    /* padding: 18px; */
    border-radius: 7px;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2);
    margin-top: 30px;
    margin-bottom: 30px;
    transition: all 0.2s ease 0s;
}

.upload-box .upload-box-head {
    display: flex;
    padding: 10px;
}

.upload-box .upload-box-head .upload-box-title {
    vertical-align: middle;
    display: grid;
    align-items: center;
    font-weight: bold;
    color: black;
}

.upload-box .upload-box-head .upload-box-btn-select {
    /*   width: 100%;
    background: none;
    border: 0;
    background-color: #cc1919;
    color: white;
    font-weight: bold;
    padding: 7px 0px;
    border-radius: 6px;
    border: 1px solid #9e2121;
    box-shadow: 0px 2px 3px rgba(0,0,0,0.3);*/
}

.upload-box .upload-box-head .upload-box-btn-crop {
    /*  width: 100%;
    background: none;
    border: 0;
    background-color: #143b64;
    color: white;
    font-weight: bold;
    padding: 7px 0px;
    border-radius: 6px;
    border: 1px solid #0d2844;
    box-shadow: 0px 2px 3px rgba(0,0,0,0.3);*/
}

.upload-box .upload-box-body {
    /* margin-top: 20px; */
    padding: 20px;
}

.upload-box .upload-box-body input[type=radio] {
    /*display: none;*/
}

.upload-box .upload-box-list {
    border-bottom: 1px solid #cecece;
    padding-bottom: 10px;
    padding-top: 10px;
}

.upload-box .upload-box-list-title {
    font-size: 12px;
    text-align: left;
    cursor: pointer;
    direction: ltr;
}

.upload-box .upload-box-list-icon {
    display: flex;
    flex-direction: row;
}

.upload-box .upload-box-list-icon i {
    flex: 1;
    text-align: center;
    align-items: center;
    align-content: center;
    align-self: center;
    cursor: pointer;
}

.upload-box .upload-box-list-icon i.fa-trash {
    color: #d03131;
}

.upload-box .upload-box-footer {
    background-color: black;
    color: white;
    padding: 10px;
    font-weight: 100;
    font-size: 12px;
    margin-top: 20px;
}


.ImageCroperIFrame {
    position: fixed;
    z-index: 9999999999999;
    background-color: white;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
    padding: 20px;
    display: none;
}

.ImageCroperIFrame .iciTitle {
    font-weight: bold;
    font-size: 21px;
}

.ImageCroperIFrame .iciIframe {
    width: 100%;
    height: 90%;
}

.ImageCroperIFrame .iciClose {
    position: absolute;
    top: 3%;
    left: 65px;
    border: none;
    background-color: #ff3535;
    font-size: 19px;
    color: white;
    width: 30px;
    height: 30px;
    text-align: center;
    border-radius: 6px;
    box-sizing: border-box;
    padding-top: 2px;
    box-shadow: 0px 2px 3px rgb(0 0 0 / 20%);
    cursor: pointer;
}


@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


@-webkit-keyframes rotate {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

/************************* End UploadBox ****************************************/


th-input, th-checkbox, th-uploadbox, th-dropdownlist {
    margin-bottom: 13px;
    display: block;
}

th-button {
    display: inline-block;
}


.multi-selected, ._shop_category_multi_select {
    width: 100%;
    background-color: #3a3a3a08;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border: 1px solid #e3e3e3;
    border-radius: 5px;
    align-items: center;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.multi-selected label, ._shop_category_multi_select label {
    margin: 0;
    display: flex;
    flex: 1;
    padding-right: 14px;
    cursor: pointer;
}

.multi-selected i, ._shop_category_multi_select i {
    font-weight: bold;
}

.multi-selected span, ._shop_category_multi_select span {
    font-size: 12px;
    color: #606f85;
    font-weight: bold;
    letter-spacing: 1px;
}


html.dark .multi-selected, html.dark ._shop_category_multi_select {
    border-color: #344050;
    background-color: #0b1727;
}

html.dark .multi-selected label, html.dark ._shop_category_multi_select label {
}

html.dark .multi-selected i, html.dark ._shop_category_multi_select i {
}

html.dark .multi-selected span, html.dark ._shop_category_multi_select span {
    color: #bad0dd;
}


._shop_category_multi_select {
    margin-bottom: 20px;
}

.msm-body {
}

.msm-body ul {
    list-style-type: none;
    padding: 0px;
}

.msm-body ul li {
    display: flex;
    width: 100%;
    align-items: center;
    align-content: center;
    /* padding: 10px 0px; */
    background-color: #ebebeb;
    margin-bottom: 11px;
    border-radius: 6px;
    border: 1px solid #dfdfdf;
}

.msm-body ul li label {
    margin: 0;
    font-size: 15px;
    color: #343434;
    cursor: pointer;
    width: 100%;
    display: flex;
    padding: 10px 0px;
    align-items: center;
    align-content: center;
}

.msm-body ul li label input {
    margin: 0px 11px;
}

html.dark .msm-body ul {
}

html.dark .msm-body ul li {
    background-color: var(--falcon-input-bg);
    border: 1px solid var(--falcon-input-border-color);
}

html.dark .msm-body ul li label {
    color: white;
}

html.dark .msm-body ul li label input {
}


.select-dropdown {
    display: none;
}

html.dark .upload-box {
    border-color: #5188a3;
}


html.dark .upload-box .upload-box-head .upload-box-title {
    color: white
}


th-ckeditor {
    margin-bottom: 25px;
    display: block;
}


.upload-box-img {
    display: none;
}

.ubb-gallery .upload-box-list {
    width: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 3px solid #e7e7e7;
    margin: 0;
    border-radius: 12px;
    background-color: #f7f7f7;
    box-shadow: 0px 8px 17px rgba(0, 0, 0, 0.1);
    padding-top: 0px;
    overflow: hidden;
}

.ubb-gallery .upload-box-img {
    width: 100%;
    height: 100px;
    display: block;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.ubb-gallery .upload-box-list-icon {
    column-gap: 20px;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 9px;
}

.ubb-gallery .upload-box-item-delete {
}

.ubb-gallery .upload-box-item-edit {
}

.ubb-gallery .upload-box-list-title {
    width: 100%;
    padding: 0px 5px;
    text-align: center;
}

.ubb-gallery input[type=radio] {
    display: none;
}

.ubb-gallery {
    display: flex;
    flex-direction: row;
    padding: 10px !important;
    width: max-content;
    column-gap: 15px;
}


.upload-box-head .ubh-right {
    width: 50%;
}

.upload-box-head .ubh-left {
    width: 50%;
    display: flex;
    justify-content: flex-end;
    /* border: 1px solid #8d8d8d; */
}

.upload-box-head .ubh-left button {
    background-color: #c1c1c1;
    border: none;
    width: 60px;
    height: 38px;
    border-radius: 0px;
    border-right: 1px solid #7c7c7c;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ubh-left button i {
    color: #1c1c1c !important;
    text-shadow: 0px 4px 5px rgba(0, 0, 0, 0.2);
}

.ubh-left button.active {
    background-color: #e9a857 !important;
}

.ubh-left button.active i {
    color: white
}


.upload-box-wrap {
    overflow: auto;
    direction: ltr;
}

.ubl-main {
    border: 5px solid #3888ffb0 !important;
}

.upload-box.ub-fullscreen {
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 999999;
    background-color: #ffffff94;
    top: 0;
    left: 0;
    box-sizing: border-box;
    margin: 0;
    border-radius: 0px;
    border: none;
    backdrop-filter: blur(4px);
}

html.dark .ubb-gallery .upload-box-list {
    background-color: #07080a;
    color: #d7d7d7;
    border: 3px solid #5c5c5c;
}

html.dark .upload-box.ub-fullscreen {
    background-color: #000000b8;
}

.upload-box.ub-fullscreen * {
    box-sizing: border-box;
}


.upload-box.ub-fullscreen .ubb-gallery {
    width: auto;
    flex-wrap: wrap;
    row-gap: 23px;
    justify-content: space-evenly;
}

.upload-box.ub-fullscreen .upload-box-wrap {
    height: inherit;
    padding-bottom: 140px;
}


html.dark input::placeholder {
    color: #ffffff26;
    font-size: 13px;
}

input[data-type="English"] {
    direction: ltr;
    text-align: left;
}

span.form-validate-error {
    font-weight: 300;
    font-size: 14px;
    padding-right: 10px;
    background-color: #e1841a;
    width: 100%;
    display: block;
    color: white;
    padding: 6px 14px;
    margin-top: 3px;
    border-radius: 3px;
}


._shop_category_multi_select {
    width: 100%;
    background-color: #3a3a3a08;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border: 1px solid #e3e3e3;
    border-radius: 5px;
    align-items: center;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

._shop_category_multi_select label {
    margin: 0;
    display: flex;
    flex: 1;
    padding-right: 14px;
    cursor: pointer;
}

._shop_category_multi_select i {
    font-weight: bold;
}

._shop_category_multi_select span {
    font-size: 12px;
    color: #606f85;
    font-weight: bold;
    letter-spacing: 1px;
}


.toggle-switch {
    position: relative;
    display: inline-block;
    width: 64px;
    height: 30px;
    cursor: pointer;
    margin: 0;
    letter-spacing: normal;
    margin-left: 10px;
}

.toggle-switch input[type="checkbox"] {
    display: none;
}

.toggle-switch-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ddd;
    border-radius: 20px;
    box-shadow: inset 0 0 0 2px #ccc;
    transition: background-color 0.3s ease-in-out;
}

.toggle-switch-handle {
    position: absolute;
    top: 4px;
    left: 5px;
    width: 22px;
    height: 22px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    transform: translateX(31px);
}

.toggle-switch::before {
    content: "";
    position: absolute;
    top: -25px;
    right: -35px;
    font-size: 12px;
    font-weight: bold;
    color: #aaa;
    text-shadow: 1px 1px #fff;
    transition: color 0.3s ease-in-out;
}

.toggle-switch input[type="checkbox"]:checked + .toggle-switch-handle {
    transform: translateX(45px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2), 0 0 0 3px #05c46b;
}

.toggle-switch input[type="checkbox"]:checked + .toggle-switch-background.bg-green {
    background-color: #05e17a;
    box-shadow: inset 0 0 0 2px #07cc6fa1;
}

.toggle-switch input[type="checkbox"]:checked + .toggle-switch-background.bg-red {
    background-color: #e10505;
    box-shadow: inset 0 0 0 2px #cc0707a1;
}

.toggle-switch input[type="checkbox"]:checked + .toggle-switch:before {
    content: "On";
    color: #05c46b;
    right: -15px;
}

.toggle-switch input[type="checkbox"]:checked + .toggle-switch-background .toggle-switch-handle {
    transform: translateX(0px);
}

html.dark .toggle-switch-background {
    background-color: #112541;
    box-shadow: inset 0 0 0 2px #5e6597;
}

.toggle-switch-handle {
}

html.dark .toggle-switch-handle {
    background-color: #5475a1;
}

.toggle-switch input[type="checkbox"]:checked + .toggle-switch-background div {
    background-color: white;
}


.tox-promotion-link {
    display: none !important;
}


textarea[data-type="ckeditor"] {
    display: none;
}

.tagify__dropdown {
    z-index: 99999;
    position: absolute;
    background-color: white;
    padding: 15px 0px;
    box-shadow: 0px 16px 21px rgba(0, 0, 0, 0.15);
    border-radius: 7px;
}

.tagify__dropdown > div {
    padding: 8px 19px;
    border-bottom: 1px solid #e1e1e1;
}

tags.tagify {
    background-color: white;
    /* padding: 23px 10px; */
    min-height: 48px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

tag.tagify__tag {
    background-color: #e7e7e7;
    border-radius: 4px;
}

x.tagify__tag__removeBtn {
    color: white;
    margin-left: 16px;
    float: right;
    background-color: #7b7b7b;
}

.tagify__dropdown__item.tagify__dropdown__item--active {
    background-color: #ebebeb;
}


tags > div:first-of-type {
    display: none;
}

tags div {
    padding-right: 1.7em !important;
}


.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
    text-align: right;
}


.th-range {

    background-color: #4f4f4f0f;

    padding: 17px;

    border-radius: 8px;

    border: 1px solid #cfcfcf;
}

.th-range label {

    margin-bottom: 15px;
}


.th-range > div[data-range] {

}

.th-range div[data-range-name] {

    margin-top: 22px;

    background-color: #494949;

    display: inline-block;

    padding: 3px 15px;

    border-radius: 3px;

    display: inline-flex;

    align-items: center;

    font-size: 12px;

    word-spacing: 17px;

    letter-spacing: 1px;

    color: white;

    font-weight: 900;

    vertical-align: middle;

    padding-top: 5px;
}

.th-range div[data-range-name]:empty {
    display: none;
}
