
body {
    direction: rtl;
}

/* کوچکتر کردن جهانی UI برای هم‌تراز شدن با زوم ۸۰٪ در دسکتاپ */
:root {
    font-size: 12.5px;
}

@media (min-width: 992px) {
    :root {
        font-size: 13px;
    }
}

@media (min-width: 1400px) {
    :root {
        font-size: 13.5px;
    }
}

/* کانتینرها را سراسری جمع می‌کنیم تا مقیاس ۱۰۰٪ به ۸۰٪ نزدیک شود */
:root {
    /*--vo2-container-max: min(84vw, 1040px);*/
}

.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl,
.container-fluid {
    /*max-width: var(--vo2-container-max);*/
}

@media (min-width: 1200px) {
    :root {
        --vo2-container-max: min(82vw, 1120px);
    }
}

@media (min-width: 1400px) {
    :root {
        --vo2-container-max: min(80vw, 1180px);
    }
}

/* کوچکتر کردن تایپوگرافی ناوبری و آیتم‌های منو
   توضیح: برای حفظ خوانایی و نزدیک شدن به حالت ۸۰٪، سایز فونت را کمی کم کردیم. */
.navbar-nav .nav-link,
.navbar .nav-item > a,
.menu a,
.dropdown-menu a {
    font-size: 0.92rem;
    font-weight: 500;
}

@media (min-width: 1200px) {
    .navbar-nav .nav-link,
    .navbar .nav-item > a,
    .menu a,
    .dropdown-menu a {
        font-size: 0.95rem;
    }
}

@font-face {
    font-family: "qatar";
    src: url(../fonts/qatar.ttf);
}

@font-face {
    font-family: "iran";
    src: url(../fonts/IRANSansWeb_Bold.woff);
}

.select2-container--default .select2-selection--multiple{
    height: auto !important;
}
.ck-content {
    font-family: 'iran', sans-serif; /* Set your desired font-family */
    font-size: 14px; /* Set your desired font-size */
    /*height: 200px;*/
}
/* Generated by script */
@font-face {
    font-family: "Vazir";
    src: url('../fonts/Vazirmatn-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazir";
    src: url('../fonts/Vazirmatn-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazir";
    src: url('../fonts/Vazirmatn-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazir";
    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazir";
    src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazir";
    src: url('../fonts/Vazirmatn-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazir";
    src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazir";
    src: url('../fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazir";
    src: url('../fonts/Vazirmatn-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}


.counter {
    padding: 0px 20px;
    background: #9f9d9d36;
    border-radius: 10px;
    box-shadow: 0 0 5px rgb(8 11 15 / 87%);
    /*margin-top: 10px;*/
    font-size: 1rem;
}
.embed-tool__caption {
    background: #959595;
}

.footer-image {
    width: 260px;
    height: 313px;
    object-position: 50% 77.31%;
    background-position: 50% 77.31%;
    margin: -203px 1px 0 auto;
    object-fit: contain;
    background-size: contain;
}

.btn-2 {
    background-image: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    border-style: none;
    font-weight: 700;
    margin: 34px 0 0 auto;
    padding: 12px 31px 13px 29px;
    color: #111111 !important;
    background-color: #dc3545;
    border-radius: 50px !important;
}

#team .member .rank {
    display: block;
    float: right;
    border-radius: 50%;
    background: #ddd;
    width: 14px;
    height: 14px;
    line-height: 14px;
    text-align: center;
    /*margin-left: 4px;*/
    font-size: 11px;
    color: #000;
    margin: 5px 0 0 5px;
}

.line {
    width: 111px;
    height: 6px;
    transform-origin: left center;
    background-color: #dc3545 !important;
    margin: 10px 0;
}


.btn-2:hover {
    background: black !important;
    color: #ffffff !important;

}

.trainer-image {
    object-position: 50% 0;
    width: 608px;
    height: 659px;
    margin: 0 auto 0 0;
    object-fit: cover;
}

.img-closeup {
    width: 233px;
    height: 221px;
    margin: 0 0 0 auto;
}

.img-sm-right {
    width: 236px;
    height: 210px;
    object-position: 50% 24.9%;
    margin: 0 0 0 auto;
}
.search-bar {
    position: relative;
}
@media (max-width: 575px) {
    .footer-image {
        width: 96px;
        height: 74px;
        margin-top: -39px;
    }
}

@media (max-width: 991px) {
    .footer-image {
        width: 307px;
        height: 227px;
        margin-top: -117px;
    }
}

@media only screen and (max-width: 480px) {

    #navbar {
        transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
    }
    .navbar-mobile {
        max-height: 600px !important; /* Adjust based on your content */
        opacity: 1 !important;
    }
    .search-bar {
        margin-left: 5px;
    }

    .search-bar input {
        width: 100%;
    }

    .dropdown-lg {
        display: none;
    }

    .nav-item.language {
        display: none;
    }

    .right-nav-link a.nav-link {
        padding-right: .0rem !important;
    }

    .topbar-nav .navbar {
        padding: 0 10px 0 5px;
    }


}
input[type="number"] {
    -webkit-appearance: textarea;
    -moz-appearance: textfield;
}
.table-box {
    background: #9f9d9d36;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(8, 11, 15, 0.87);

}
#my-cart-table tr {
    vertical-align: baseline;
}
.is-compact .fancybox__footer .fancybox__caption
{
    text-align: center;
}
.compare-rider {
    color: black;
    position: relative;
    bottom: 2rem;
    font-size: 1rem;
    background: #ffffffe3;
    /*padding: 5px 0;*/
    /*transform: rotate(-10deg);*/
    text-align: center;
}

@media only screen and (max-width: 767px) {
    .edit-profile-button {
        /*position: fixed;*/
        z-index: 3;
        /*top: 75px;*/
    }

    .compare-rider {
        bottom: 2rem;
        font-size: 0.6rem;
    }
}

tbody, td {
    white-space: nowrap;
    overflow: hidden;
    /*text-overflow: ellipsis;*/
    max-width: 170px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #2f2d2d !important;
}

.search-container {
    position: relative;
    display: inline-block;
    margin: 4px 2px;
    height: 50px;
    width: 50px;
    vertical-align: bottom;
}

.mglass {
    display: inline-block;
    pointer-events: none;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
}

.searchbutton {
    position: absolute;
    font-size: 22px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.search:focus + .searchbutton {
    transition-duration: 0.4s;
    -moz-transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
    background-color: white;
    color: black;
}

.search {
    position: absolute;
    left: 49px; /* Button width-1px (Not 50px/100% because that will sometimes show a 1px line between the search box and button) */
    background-color: white;
    outline: none;
    border: none;
    padding: 0;
    width: 0;
    height: 100%;
    z-index: 10;
    transition-duration: 0.4s;
    -moz-transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
}

.search:focus {
    width: 363px; /* Bar width+1px */
    padding: 0 16px 0 0;
}

.expandright {
    left: auto;
    right: 49px; /* Button width-1px */
}

.expandright:focus {
    padding: 0 0 0 16px;
}

.vo2_loader {
    width: 100%;
    height: 100%;

}

.vo2loading {
    height: 24px;
    width: 24px;
    animation: rotate-simple .8s infinite linear;
    -webkit-animation: rotate-simple .8s infinite linear;
    border: 4px solid #7653f2;
    border-right-color: transparent !important;
    border-radius: 50%;
    top: 2px;
    left: 15px;
    position: absolute;
}

.headToheadSticky {
    position: sticky;
    top: 4.4rem;
    background: white;
}


@-webkit-keyframes rotate-simple {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    50% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.bootstrap-autocomplete {
    cursor: pointer;
}

.dropdown-item {
    white-space: normal !important;
    padding: .25rem 0rem !important;
    font-size: 0.85rem !important;
    color: #fff;
    z-index: 999;
}

.short-link .post-link__button {
    color: #767676;
    float: right;
    cursor: pointer;
    top: -14px;
    position: absolute;
    font-size: 12px;
    right: 20px;
    padding: 5px;
    background: #fff;
    border-radius: 3px;
    box-shadow: inset 0 0 1rem 0 rgba(0, 0, 0, .1);
    border: .1rem solid rgba(0, 0, 0, .15);
}

.short-link input {
    pointer-events: none;
    text-align: left;
    font-size: 12px;
    font-family: monospace;
    z-index: -1;
    position: relative;
    direction: ltr;
}

.crunchify-link {
    padding: 5px !important;
    color: #e71068 !important;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 12px;
    border-radius: 2px;
    margin-right: 5px;
    cursor: pointer;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .2);
    -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .2);
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .2);
    margin-bottom: 5px;
    display: inline-block;
    text-decoration: none;
    width: 30px;
    text-align: center;
    float: left;
    background: #fff;
}

.rating {

}

.rating-0 {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.rating > input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.rating > label {
    cursor: pointer;
    width: 40px;
    height: 40px;
    margin-top: auto;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23e3e3e3' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 76%;
    transition: .3s;
}

.rating > input:checked ~ label,
.rating > input:checked ~ label ~ label {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23fcd93a' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
}

.rating > input:not(:checked) ~ label:hover,
.rating > input:not(:checked) ~ label:hover ~ label {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23d8b11e' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
}

.emoji-wrapper {
    position: absolute;
    text-align: center;
    height: 100px;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 64px;
}

.emoji {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: .3s;
}

.emoji > svg {
    margin: 30px 0;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

#rating-1:checked ~ .emoji-wrapper > .emoji {
    -webkit-transform: translateY(-100px);
    transform: translateY(-100px);
}

#rating-2:checked ~ .emoji-wrapper > .emoji {
    -webkit-transform: translateY(-200px);
    transform: translateY(-200px);
}

#rating-3:checked ~ .emoji-wrapper > .emoji {
    -webkit-transform: translateY(-300px);
    transform: translateY(-300px);
}

#rating-4:checked ~ .emoji-wrapper > .emoji {
    -webkit-transform: translateY(-400px);
    transform: translateY(-400px);
}

#rating-5:checked ~ .emoji-wrapper > .emoji {
    -webkit-transform: translateY(-500px);
    transform: translateY(-500px);
}

.feedback {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    /*align-items: center;*/
    position: relative;max-width: 650px;margin: 0 auto;
}
.ranking-nav-toggle{
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
}


.btn-grad-success {
    background-image: linear-gradient(to right, #02AAB0 0%, #00CDAC  51%, #02AAB0  100%);
    /*margin: 10px;*/
    padding: 5px 10px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
    align-content: center;
}

.btn-grad-success:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}

.btn-grad-danger{
    background-image: linear-gradient(to right, #B24592 0%, #F15F79  51%, #B24592  100%);
    /*margin: 10px;*/
    padding: 5px 10px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
    align-content: center;
}

.btn-grad-danger:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}

.btn-grad-red {
    background-image: linear-gradient(to right, #f857a6 0%, #e71068 51%, #f857a6 100%);
    margin: 10px;
    padding: 10px 20px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 10px #281c1c;
    border-radius: 10px;
    display: block;
    align-content: center;
}
.btn-grad-red-1 {
    background-image: linear-gradient(to right, #f857a6 0%, #e71068 51%, #f857a6 100%);
    text-align: center;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 10px #281c1c;
    display: block;
    align-content: center;
}

.btn-grad-red:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}



.btn-grad-orange {
    background-image: linear-gradient(to right, #DE6262 0%, #FFB88C  51%, #DE6262  100%);
    /*background-image: linear-gradient(to right, rgb(222, 98, 98) 0%, rgb(255, 184, 140)  51%, rgb(222, 98, 98)  100%);*/
    margin: 10px;
    padding: 10px 20px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
    align-content: center;
}

.btn-grad-orange:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.fade-in.show {
    opacity: 1;
}
