/*
Theme Name:   7thplane Child Theme
Theme URI:    https://seventhplane.co/
Author:       Mohsen Moridi
Author URI:   https://karenjak.com/
Template:     Total
Version:      1.0.0
Text Domain:  totalchildtheme
*/
body{
    font-family: Vazirmatn;
    font-size: 14px;
    line-height: 28px;
}

* {
    text-decoration: none!important;
}

/* ---------------------------------- BLOG ---------------------------------- */
.page-head {
    width: 1280px;
    max-width: calc(100% - 32px);
    margin: 8px auto 40px;
    font-size: 28px;
    line-height: 42px;
    font-weight: 700;
    color: #000;
    padding: 8px 0;
    border-bottom: 1px solid rgb(144 129 211 / 20%);
}

#sidebar .widget-title {
    font-size: 16px;
    border-bottom: 1px solid rgb(144 129 211 / 20%);
    line-height: 20px;
    padding-bottom: 8px;
}

li.cat-item {
    padding: 0;
    border: none!important;
}

li.cat-item:not(:last-child) {
    margin-bottom: 8px;
}

li.cat-item a {
    display: flex;
    font-size: 14px;
    line-height: 28px;
    gap: 8px;
    align-items: center;
    transition: .2s ease-in-out;
}

li.cat-item a:before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--wpex-link-color, var(--wpex-accent));
    border-radius: 10px;
    overflow: hidden;
    margin: 0!important;
}

li.cat-item a:hover {
    color: #501ba7;
}

li.cat-item a:hover:before {
    background: #501ba7;
}

.sidebar-box {
    margin-bottom: 32px;
}

.popular-posts{
    margin-top: 16px!important;
}

.pop-box{
    margin: 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    transition: .2s ease-in-out;
}

.pop-box:not(:last-child) {
    margin-bottom: 16px;
}

a.pop-thumb img {
    width: 106px;
    border-radius: 8px;
    min-width: 106px;
    height: 106px;
    object-fit: cover;
    transition: .2s ease-in-out;
}

a.pop-title {
    color: #181818;
    font-size: 15px;
    line-height: 24px;
    font-weight: 700;
}

.pop-box:hover {
    box-shadow: 0px 12px 44px rgba(0, 0, 0, 0.08);
}

a.pop-thumb {
    display: flex;
}

.pop-text {
    width: 100%;
    padding: 0 8px;
}

.pop-box:hover a.pop-thumb img{
    border-radius: 0 8px 8px 0;
}

.pop-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.pop-info p {
    margin: 0;
    font-size: 12px;
    line-height: 18px;
    color: #808080;
}

.pop-terms a {
    font-size: 14px;
    line-height: 18px;
    margin-left: 8px;
    color: #777;
}

a.pop-title:hover {
    color: #501ba7;
}

div#sidebar-inner {
    margin: 0;
}

.entry-divider.wpex-divider {
    display: none;
}

.post-box {
    display: flex;
    grid-gap: 24px;
    margin-bottom: 36px!important;
    align-items: center;
}

a.post-box-thumb {
    display: flex;
    width: 100%;
    min-width: 312px;
    max-width: 312px;
}

a.post-box-thumb img {
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    background-color: #f9f9f9;
}

a.post-box-title {
    font-size: 18px;
    line-height: 36px;
    color: #181818;
    font-weight: bold;
    margin: 16px 0;
    display: block;
}

.post-box-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.post-box-terms a {
    color: var(--wpex-link-color, var(--wpex-accent));
    margin-left: 8px;
}

a.post-box-title:hover {
    color: #501ba7;
}

.intro-posts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 64px;
}

a.intro-post-box {
    position: relative;
    width: 100%;
    display: block;
    background-size: cover;
    background-position: center;
}

a.intro-post-box:before {
    content: "";
    padding-bottom: 100%;
    display: block;
    min-height: 200px;
    position: relative;
    background-image: linear-gradient(360deg, #000, transparent);
    transition: .2s ease-in-out;
}

.ip-info {
    position: absolute;
    bottom: 56px;
    left: 32px;
    right: 56px;
}

.ip-info h2 {
    color: #ffffff;
    font-size: 16px;
    margin: 0;
    line-height: 1.8em;
}

.ip_term_list {
    margin-bottom: 8px;
}

a.intro-post-box:hover:before {
    opacity: .8;
}

.wpex-pagination {
    margin: 48px auto 0;
}

ul.page-numbers {
    display: flex;
    gap: 8px;
    font-size: 14px;
    font-family: 'vazirmatnfd';
    justify-content: center;
}

ul.page-numbers a, ul.page-numbers span {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #333;
    border-radius: 8px!important;
    padding: 0;
}

ul.page-numbers li {
    border: none;
}

.page-numbers.current {
    background: #501ba7;
    color: #fff;
}

.page-numbers.current:hover {
    background: #501ba7;
    color: #fff;
}

a.prev.page-numbers,
a.next.page-numbers {
    background: #f2f2f2;
    color: #00497B;
}

a.prev.page-numbers:hover,
a.next.page-numbers:hover {
    color: #fff;
    background: #501ba7;
}

a.prev.page-numbers:hover span,
a.next.page-numbers:hover span {
    color: #fff;
}

.single-post main#main {
    margin: 64px 0 0;
}

h1.single-post-title {
    color: #181818;
}

.single-head {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 16px 0 24px;
    font-size: 14px;
    line-height: 28px;
    color: #181818;
    font-family: vazirmatnfd;
}

.single-head span {
    width: 20px;
    height: 20px;
    background: #00b185;
    margin-left: 4px;
}
.single-head strong {
    color: #501ba7;
}


img.blog-single-media-img {
    border-radius: 8px;
    width: 100%;
}

ul.tags {
    display: flex;
    align-items: center;
    gap: 16px;
    list-style: none;
    margin: 0;
}

.post-tags a {
    margin: 0;
    padding: 0;
    border: none;
    background: rgb(146 205 189 / 20%);
    border-radius: 4px;
    padding: 2px 16px;
    color: #9e9e9e;
}

.post-tags {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 32px 0 48px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9e6f6;
    position: relative;
    flex-wrap: wrap;
    gap: 16px;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #00b185;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    padding: 4px 16px;
    border: 1px solid #00b185;
    border-radius: 4px;
    cursor: pointer;
    transition: .2s ease-in-out;
    margin-right: auto;
}

.post-share span {
    background: #00b185;
}

.post-share:hover {
    color: #fff;
    background: #501ba7;
    border: 1px solid #501ba7;
}

.post-share:hover span {
    background: #fff;
}

.post-tags .wpex-social-share {
    margin: 0;
    position: absolute;
    right: -8px;
    top: 0;
    background: #fff;
    visibility: hidden;
    opacity: 0;
    transition: .2s ease-in-out;
}

.post-tags .wpex-social-share ul.wpex-social-share__list {
    gap: 10px;
}

.post-tags .wpex-social-share ul.wpex-social-share__list li {
    margin: 0;
}

.post-tags .wpex-social-share ul.wpex-social-share__list a {
    margin: 0;
    border-radius: 8px!important;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 32px;
}

.post-tags.active .wpex-social-share {
    opacity: 1;
    visibility: visible;
    right: 0;
}

.wpex-social-share__label {
    margin-right: 0;
}

span.wpex-social-share__icon {
    display: flex;
}

div#tns1-mw {
    direction: ltr;
}

article.related-post {
    direction: rtl;
}

.related-posts .wpex-row {
    margin: 0;
}

.wpex-row .col {
    margin: 0;
    padding: 0;
}

.tns-controls button {
    position: absolute;
    top: calc(50% - 20px);
    left: -20px;
    width: 40px;
    height: 40px;
    z-index: 9;
    border-radius: 20px;
    font-size: 24px;
    text-align: center;
    padding: 0;
    line-height: 40px;
    border: 1px solid #e7e7e7;
    background: #fff;
    color: #060606;
    outline: none;
}

.tns-controls button:last-child {
    right: -20px;
    left: unset;
}

body.single-post .related-posts.wpex-overflow-hidden {
    overflow: unset;
}

 .tns-outer {
    position: relative;
}

.tns-controls button:disabled {
    opacity: 0.5;
    cursor: default;
}

.tns-controls button i {
    transform: rotate(90deg);
}

.tns-controls button:last-child i {
    transform: rotate(-90deg);
}

.related-post-inner {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

a.related-post-thumb {
    display: flex;
    border-radius: 8px;
    aspect-ratio: 1.6;
}

a.related-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.related-post-content {
    padding: 0 16px 16px;
}

.related-post-title {
    margin-bottom: 8px;
}

figure.related-post-figure {
    margin-bottom: 16px;
}

/* --------------------------------- FOOTER --------------------------------- */
.footer-bottom-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.footer-bottom-flex:after {
    display: none;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: flex;
}

.footer-social span {
    width: 20px;
    height: 20px;
    background-color: #501ba7;
}

.footer-social a:hover span {
    background-color: #00b185;
}

footer#footer {
    border-top: 1px solid #E6E6E6;
}

.widget-title {
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    color: #5C5C5C;
    margin-bottom: 0;
}

div#footer-widgets {
    margin: 0;
    gap: 42px;
    justify-content: space-between;
}

.footer-box {
    padding: 0!important;
    width: fit-content;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    line-height: 36px;
    color: #808080;
    margin-top: 24px;
}

.footer-contact a {
    color: #808080;
}

.footer-contact a:hover {
    color: #501ba7;
}

.footer-contact a:hover span {
    background: #00b589;
}

.footer-contact span {
    background: #5C5C5C;
}

.footer-contact div,
.footer-contact a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.farsi-num {
    font-family: 'vazirmatnfd';
}

.footer-box .textwidget {
    display: flex;
}

ul#menu-footer-menu a {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 14px;
    line-height: 36px;
    color: #808080;
    transition: .2s ease-in-out;
}

ul#menu-footer-menu a:before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 10px;
    background: #ccc;
}

ul#menu-footer-menu a:hover {
    color: #501ba7;
}

ul#menu-footer-menu a:hover:before {
    background: #00b589;
}

.footer-contact .widget-title {
    margin: 0 0 16px;
}

.menu-footer-menu-container {
    margin-top: 24px;
}

ul#menu-footer-menu li {
    border: none;
    padding: 0;
}

.footer-box.span_1_of_3.col.col-2 {
    width: fit-content;
}

.footer-about a#site-logo-link {
    display: flex;
}

.footer-about a#site-logo-link img {
    height: 60px;
    width: auto;
}

.footer-about p {
    margin: 16px 0 24px;
    max-width: 412px;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    height: 40px;
    min-width: 120px;
    color: #888;
    transition: .2s ease-in-out;
}

.footer-links a:hover {
    border-color: #501ba7;
    background: #501ba7;
    color: #fff;
}

/* --------------------------------- Courses -------------------------------- */
img.cpt-single-media-img {
    width: 100%;
    border-radius: 8px;
}

.single-sfwd-courses main#main {
    margin: 64px 0 0;
}

/* ---------------------------------- PAGES --------------------------------- */
.page:not(.home) div#content-wrap {
    width: 980px;
}

.page .page-head {
    width: 980px;
}

.team-sec {
    margin: 64px 120px;
    gap: 56px;
}

.team-sec .wp-block-column {
    max-width: 240px;
}

figure.team-img {
    width: 100%;
    aspect-ratio: 1;
    background: #eeee;
    border-radius: 100%;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

figure.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 100%;
}

h3.team-title {
    text-align: center;
    margin: 16px 0 0;
}

.about-form {
    width: 100%;
    max-width: 480px;
    margin: 64px auto;
    }


.about-form h2 {
    color: #000;
    text-align: center;
}

/* ----------------------------- PRODUCT SINGLE ----------------------------- */
.woocommerce main#main {
    margin-top: 64px;
}

.product.entry {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 32px;
}

body.woocommerce .product .summary {
    width: 100%;
    display: flex;
    flex-direction: column;
}

div#prd-sidebar-fix {
    width: 100%;
    max-width: 32%;
}

.product div#sidebar {
    width: 100%;
    max-width: 32%;
}

.prd-sidebar {
    width: 100%;
    padding: 24px;
    border-radius: 8px;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    margin-bottom: 64px;
}

body.woocommerce div.product div.images {
    width: 100%;
    background: #fff;
    margin-bottom: 24px;
    border-radius: 8px;
}

body.woocommerce div.product div.images a {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 8px;
}

.prd-sidebar  a.wpex-woo-lightbox-item {
    display: flex;
    justify-content: center;
    padding: 8px;
}

.prd-sidebar  p.price {
    margin: 36px 0 8px;
    font-size: 28px;font-weight: bold;
    text-align: center;
}

.prd-sidebar  .wpex-social-share {
    margin: 0;
}

.button-light {
    width: 100%;
    height: 40px;
    border: 1px solid #99d0c1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #99d0c1;
    margin-top: 16px;
    cursor: pointer;
}

.prd-share {
    margin: 32px 0 8px;
}

.prd-sidebar  a.button {
    width: 100%;
    height: 40px;
    border-radius: 8px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
}

.prd-fee {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* gap: 8px; */
    margin-top: 8px;
    font-family: Vazirmatnfd;
}

.prd-fee p {
    margin: 0;
}

.prd-sidebar-teacher p {
    margin: 0;
    text-align: center;
}

.prd-sidebar-teacher {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
}

.prd-teacher-img {
    display: flex;
    width: 64px;
    height: 64px;
}

.prd-teacher-img img {
    border-radius: 50px;
}

h1.product_title.entry-title.single-post-title {
    order: 2;
    font-size: 36px;
    line-height: 52px;
    color: #501ba7;
    font-weight: bold;
}

.prd-cover {
    order: 1;
    border-radius: 8px;
    width: 100%;
    margin-bottom: 24px;
}

.prd-cat {
    order: 1;
}

.prd-teacher {
    order: 3;
    display: flex;
    gap: 4px;
    font-size: 16px;
    margin: 8px 0 24px;
    color: #666;
}

.prd-excerpt {
    order: 4;
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 36px;
}

.prd-info {
    order: 5;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 42px;
}

.prd-info > div {
    color: #181818;
}

.prd-info p {
    margin: 4px 0 0;
    font-size: 16px;
    color: #666;
    font-family: 'Vazirmatnfd';
}

.prd-content {
    order: 6;
}

body.woocommerce .product .summary p.stock.in-stock {
    display: none;
}

body.woocommerce .product .summary form.cart {
    display: none;
}

body.woocommerce .product .summary .product_meta {
    display: none;
}

.prd-content-title {
    display: flex;
    font-size: 24px;
    font-weight: bold;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    color: #181818;
}

.prd-content-title:after {
    content: "";
    width: 100%;
    height: 1px;
    background: #99d0c1;
}

.prd-content-item p {
    margin-bottom: 12px;
}

.prd-content-item strong {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
    color: #444;
}

.prd-disclaimer {
    order: 8;
    margin: 64px 0 42px;
}

.prd-cat a {
    order: 1;
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 500;
    color: #181818;
    display: block;
    line-height: 32px;
}

.prd-teacher p {
  margin: 0;
  color: #00b185;
}

.prd-info a {
  color: #666;
}

.prd-content-item:not(:last-child) {
  margin-bottom: 32px;
}

.prd-content-item ul {
  margin: 0 16px;
}

body.woocommerce .product .summary a:hover {
  color: #501ba7;
}

.prd-sidebar .wpex-social-share .wpex-social-share__label {
  display: none;
}

.prd-sidebar .wpex-social-share .wpex-social-share__link {
  padding: 0;
  width: 32px;
  height: 32px;
  border-radius: 50px !important;
}

.prd-sidebar .wpex-social-share .wpex-social-share__item:not(:last-child) {
  margin-left: 10px;
}

.prd-sidebar p.price .woocommerce-Price-amount.amount {
  color: #501ba7;
  font-family: vazirmatnfd;
}

.prd-sidebar p.price .woocommerce-Price-currencySymbol {
  font-family: vazir;
  font-size: 24px;
}

.prd-instructor-sec {
    order: 7;
    margin-top: 82px;
}

.prd-instructor-card {
    padding: 16px;
    border-radius: 8px;
    background: #f9f9f9;
}

.prd-i-info {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
    align-items: start;
}

a.prd-i-profile {
    color: #501ba7;
    font-weight: 500;
}

.prd-i-img {
    display: flex;
}

.prd-i-img img {
    border-radius: 8px;
    width: 86px;
}

.prd-i-certi {
    display: flex;
    margin-right: auto;
    gap: 10px;
}

.prd-i-certi img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.prd-i-name a {
    font-size: 18px;
    font-weight: bold;
    color: #501ba7;
}

.prd-content-title span {
    min-width: fit-content;
}

.prd-i-other-post {
    margin-top: 56px;
}

.prd-i-other-post-title {
    display: flex;
    gap: 4px;
    font-size: 20px;
    color: #181818;
    font-weight: 500;
    margin-bottom: 24px;
}

.prd-i-other-post-title p {
    margin: 0;
    color: #501ba7;
}

.prd-i-other-post-in {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 24px;
    background: #f9f9f9;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(249,249,249,0) 50%, rgba(249,249,249,1) 100%);
}

.prd-i-other-post-box {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 -2px 16px #eee;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

a.prd-i-o-title {
    color: #181818;
    font-size: 16px;
    font-weight: bold;
}

.prd-i-other-post-box p {
    margin: 0;
    font-size: 14px;
}

.fa-num {
    font-family: 'Vazirmatnfd';
    color: #777;
}

a.prd-i-o-more {
    color: #181818;
    font-weight: 500;
    margin-top: 8px;
    display: inline-block;
}

.prd-includes strong, .prd-includes p {
    display: inline-block;
}

.prd-includes p {
    font-family: 'Vazirmatnfd';
}

/* ------------------------------ PRD MODAL ----------------------------- */
.prd-modal {
    position: fixed;
    top: 0px;
    bottom: 0px;
    right: 0px;
    left: 0px;
    justify-content: center;
    align-items: center;
    z-index: 999999999999;
    display: none !important;
}

.pm-back {
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 0px;
    left: 0px;
    background: rgb(0 0 0 / 80%);
}

.pm-content {
    position: relative;
    background: #f9f9f9;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 2px 2px 6px rgb(0 0 0 / 30%);
    width: 100%;
    max-width: 460px;
}

.pm-close {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 24px;
    height: 24px;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
    padding: 0px;
    border: 1px solid #e7443d;
}

.pm-close:before {
    content: "";
    width: 10px;
    height: 10px;
    background-color: #e7443d;
    -webkit-mask-image: url(assets/icons/close.svg);
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
}

.pm-close:hover {
    background: #e7443d;
    transition: 0.2s ease-in-out;
    opacity: 1;
}

.pm-close:hover:before {
    background-color: #fff;
}

.pm-close i {
    display: none;
}

.show-prd-modal.prd-modal {
    display: flex !important;
}

.pm-content p {
    margin: 0 !important;
    font-size: 14px;
}

.pm-content .quform {
    margin: 16px 0px;
}



/* ------------------------------ HOME ----------------------------- */
.home div#content-wrap {
    width: 100%;
    max-width: unset;
}

#home-intro h2 {
    max-width: 620px;
    margin: auto;
    text-shadow: 0 1px 2px #000;
}

.wellcome-title:after {
    content: "";
    width: 6%;
    height: 2px;
    background: #236D71;
    display: block;
    margin: 12px auto 8px;
}

#wellcome-sec a.elementor-button-link {
    border-radius: 50px;
    line-height: 48px;
    padding: 0 32px;
}

#home-blog h2 {
    text-shadow: 0 1px 2px #000;
}

.home-posts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 1140px;
    max-width: calc(100% - 32px);
    margin: auto;
    gap: 24px;
}

.home-post-box {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgb(0 0 0 / 20%);
    padding: 16px;
}

.home-post-box img {
    width: 100%;
    aspect-ratio: 1.8;
    object-fit: cover;
    object-position: center;
    border-radius: 10px!important;
}

.home-post-box a {
    font-weight: bold;
    margin: 16px 0;
    font-size: 16px;
    color: #501ba7;
}

.home-post-box p {
    margin: 0;
}

.home-sec-title h2 {
    color: #501ba7;
    font-size: 26px;
}



.home-story-in > div {
    width: 100%;
}

.story-post-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 12px 0 0;
    direction: rtl;
    height: 100%;
    justify-content: end;
}

.story-text {
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 16px #eee;
    padding: 16px;
    position: relative;
    margin-bottom: 32px;
}

.story-text:after {
    content: "";
    width: 16px;
    height: 16px;
    background: #fff;
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    bottom: -8px;
}

.story_img {
    display: flex;
    width: 72px;
    height: 72px;
    border-radius: 100px!important;
    overflow: hidden;
}

.story-title {
    font-size: 16px;
    font-weight: bold;
    margin: 8px 0 0;
    line-height: 28px;
}

.story-post {
    font-size: 14px;
    padding: 0 32px;
    text-align: center;
    line-height: 26px;
    min-height: 52px;
}

.home-story .tns-outer {
    display: flex;
    flex-direction: column-reverse;
    gap: 56px;
    margin: 0 -16px;
}

.home-story .tns-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.home-story .tns-nav button {
    padding: 0;
    width: 12px;
    height: 12px;
    border: 1px solid #501ba7;
    background: #fff;
}

.home-story .tns-nav button.tns-nav-active {
    background: #501ba7;
}

.home-story .tns-inner {
    margin: 0 -12px 0 16px!important;
}

.home-story-in {
    display: flex;
    align-items: end;
}

.home-event {
    margin-top: 24px;
    box-shadow: 0 2px 56px #eee;
    border-radius: 10px;
}

.event-post-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-radius: 10px;
    direction: rtl;
}

img.event-img {
    width: 100%;
    max-width: 48%!important;
    border-radius: 10px!important;
}

.event-info {
    width: 100%;
    max-width: 48%;
    padding: 0 32px;
}

.event-title {
    font-size: 26px;
    font-weight: bold;
    color: #00b589;
    margin: 16px 0;
    line-height: 32px;
}

.event-date {
    font-size: 18px;
}

.event-desc {
    font-size: 16px;
    line-height: 32px;
    color: #181818;
    margin-bottom: 16px;
}

.event-type {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
}

.event-type span {
    width: 42px;
    height: 42px;
    border: 2px solid #ddd;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-type i {
    width: 24px;
    height: 24px;
    background: #ccc;
}

.tns-ovh {
    direction: ltr;
}

.callout-title h2 {
    font-size: 26px;
    line-height: 36px!important;
    color: #501ba7;
}

.callout-link a {
    padding: 0 32px;
    border-radius: 50px;
    line-height: 48px;
    background: #00b589;
    font-size: 16px;
}




body .woocommerce-checkout .col2-set .col-1 {
    /* display: none; */
}

body .woocommerce-checkout .col2-set .col-2 {
    /* float: unset; */
    /* width: 100%; */
}


/* ------------------------------ WHO WE ARE ----------------------------- */

.page-id-247 .page-head {
    display: none;
}

.page.page-id-247 div#content-wrap {
    width: 100%;
    max-width: unset;
}

#team-intro h2,
#team-intro p {
    max-width: 620px;
    margin: auto;
    text-shadow: 0 1px 2px #000;
}

#team-intro p {
    line-height: 36px;
    font-size: 20px;
}


/* ------------------------------ LEVELS ----------------------------- */
.post-pagination-wrap {
    display: none;
}

.single-levels div#content-wrap {
    width: 100%;
    max-width: unset;
}

.level-cover {
    min-height: 800px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 32px;
    color: #fff;
    text-align: center;
}

.level-cover p, .level-cover h2 {
    margin: unset!important;
    color: #fff;
}

.level-cover h2 {
    font-size: 42px;
}

.level-content {
    width: 1140px;
    max-width: calc(100% - 32px);
    margin: 120px auto;
    display: flex;
    gap: 64px;
    align-items: center;
}

.level-content-text {
    width: 100%;
    font-size: 16px;
}

.level-content-text p {
    margin: 0;
}

.level-content-text p:not(:last-child) {
    margin-bottom: 16px;
}

img.level-content-img {
    border-radius: 10px;
    width: 100%;
    max-width: fit-content;
}

.level-topics {
    width: 1140px;
    max-width: calc(100% - 32px);
    margin: 240px auto;
}

.level-sec-title {
    color: #236D71;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 32px;
}

.level-topics ul {
    margin: 48px auto 0;
    display: flex;
    gap: 16px 56px;
    flex-wrap: wrap;
    width: 720px;
    font-size: 16px;
    line-height: 32px;
}

.level-topics ul li {
    width: calc(50% - 28px);
}

.level-includes {
    padding: 64px 0;
    background: #e2f4f0;
    margin-bottom: 240px;
}

.level-includes-in ul {
    margin: 32px 16px 0 0;
    font-size: 16px;
    line-height: 32px;
    color: #181818;
}

img.level-includes-img {
    width: 100%;
    max-width: fit-content;
}

.level-includes-in {
    width: 1140px;
    max-width: calc(100% - 32px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 240px;
    margin: 0 auto;
}

.level-sec-desc {
    font-size: 18px;
    text-align: center;
    margin-bottom: 32px;
}

.level-prd-list .level-sec-title {
    margin-bottom: 24px;
}

.level-prd-list ul.products {
    justify-content: center;
    gap: 42px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 1140px;
    max-width: calc(100% - 32px);
    margin: 72px auto 0;
}

.level-prd-list {
    margin-bottom: 120px;
}

.sp-modal {
    display: inline-block;
    margin: 0 2px;
    cursor: pointer;
    color: var(--wpex-link-color, var(--wpex-accent));
    text-decoration: var(--wpex-link-text-decoration);
}

legend.avatar-heading {
    display: block;
    margin-bottom: 5px;
    color: var(--wpex-text-1);
    font-weight: var(--wpex-bold);
    font-size: var(--wpex-text-md);
}

.slide-img {
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    aspect-ratio: 2.98;
}

.slide-text {
    position: absolute;
    right: 10%;
    max-width: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    direction: rtl;
    transition: 0.5s all ease-in-out;
    top: 0;
    bottom: 0;
    gap: 100px;
    z-index: 1;
    opacity: 0;
}

.slide-box {
    position: relative;
}

.slide-text h2 {
    margin: 0;
    font-size: 40px;
    font-weight: 800;
    line-height: 56px;
}

.slide-text p {
    margin: 0;
    font-size: 20px;
    color: #161616;
}

.tns-slide-active .slide-text {
    opacity: 1;
    gap: 16px;
}

.slider-light h2 {
    color: #fff;
}

.slider-light p {
    color: #00b589;
}

.home-slider {
    margin: 42px auto 0;
}

.home-slider-in {
    overflow: hidden;
}

.main-navigation-ul>.menu-item>a.site-search-toggle {
    background: #f1f1f1;
    border-radius: 50px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: .2s ease-in-out;
}

.main-navigation-ul>li.woo-menu-icon a {
    background: #f1f1f1;
    border-radius: 50px;
    aspect-ratio: 1;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s ease-in-out;
}

header .main-navigation-ul {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

div#site-navigation-wrap {
    position: unset;
    width: 100%;
    height: unset;
    margin: 0;
}

div#site-header-inner {
    display: flex;
    align-items: center;
}

.header-one #site-logo {
    min-width: fit-content;
}

header .main-navigation-ul li:first-child {
    margin-right: auto;
}

.main-navigation-ul>.menu-item>a.site-search-toggle:hover,
.main-navigation-ul>li.woo-menu-icon a:hover {
    background: #00b589;
    color: #fff;
}

.main-navigation-ul>li.woo-menu-icon {
    margin: 0 auto 0 16px!important;
    display: flex;
}

.main-navigation-ul>li.woo-menu-icon a.wpex-has-items {
    aspect-ratio: unset;
}

span.wcmenucart-details.count.wpex-has-items {
    font-family: Vazirmatnfd;
    margin: 0;
    font-size: 20px;
}

span.wcmenucart-count {
    display: flex;
    flex-direction: row-reverse;
    gap: 8px;
}

.callout-link a:hover {
    background: #501ba7;
}

.archive  main#main {
    margin-top: 64px;
}

.archive ul.products.wpex-grid {
    padding-top: 24px;
    border-top: 1px solid #eee;
    gap: 24px;
}

body.woocommerce form.woocommerce-ordering {
    display: none;
}

body.woocommerce .woocommerce-result-count {
    float: left;
    font-size: 14px;
    line-height: 32px;
    color: #B4BAC6;
    height: unset;
    opacity: 1;
    margin: 0px;
    font-family: Vazirmatnfd;
}

.wpex-loop-product-images {
    /* aspect-ratio: 1; */
}

.wpex-loop-product-images a {
    display: flex;
    aspect-ratio: 1;
    background: #f9f9f9;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
}

.wpex-loop-product-images a img {
    height: auto;
    object-fit: contain;
    width: 90%;
}

.product-details a h2 {
    font-size: 16px;
    line-height: 30px;
    margin: 0;
}

.product .price {
    font-family: 'Vazirmatnfd';
    font-size: 16px;
}

.products .product .price span.woocommerce-Price-currencySymbol {
    font-size: 12px;
}

.archive.woocommerce article.entry-content.entry > div:first-child {
    display: none;
}

.archive.woocommerce div#primary {
    width: 80%;
}

.archive.woocommerce aside#sidebar {
    width: 18%;
}

.products .product .product-details {
    padding-top: 10px;
}

.filter-order {
    display: none;
}

body.woocommerce .woocommerce-ordering {
    float: right;
    gap: 32px;
    margin: 0px;
    display: flex;
    grid-gap: 24px;
    font-size: 14px;
    line-height: 28px;
    color: #5B6D7B;
}

body.woocommerce .woocommerce-ordering p {
    display: none;
}

body.woocommerce .woocommerce-ordering span {
    padding-bottom: 10px;
    border-bottom: 2px solid #fff;
    cursor: pointer;
}

body.woocommerce .woocommerce-ordering span.active {
    border-color: #00ab85;
    color: #0A2439;
}

body .woof_products_top_panel {
    display: none!important;
}

body .woof_container.woof_checkbox_instock_container {
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    padding: 14px 16px;
    margin-bottom: 32px;
}

body .woof_container {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #eee;
}

body .woof_container h4 {
    margin: 0;
    color: #161616;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

body .woof_container .woof_block_html_items {
    margin-top: 16px;
}

body .woof_submit_search_form_container {
    margin: 32px 0 15px;
}

button.button.woof_reset_search_form {
    width: 100%;
    background-color: #00B589;
    font-size: 14px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

button.button.woof_reset_search_form:hover {
    background: #501ba7;
}

div.woof_info_popup {
    font-family: vazirmatn;
    border-radius: 16px;
    background-color: rgb(0 181 137 / 60%);
    box-shadow: none;
}

body .woocommerce-product-gallery--columns-5 .flex-control-thumbs {
    padding: 10px;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

body.woocommerce div.product .woocommerce-product-gallery .flex-direction-nav a {
    width: unset;
    border-radius: 0 8px 8px 0;
    height: 42px;
}

body.woocommerce div.product .woocommerce-product-gallery .flex-direction-nav a.flex-prev {
    border-radius: 8px 0 0 8px;
}

.theme-heading {
    color: #161616;
    font-family: Vazirmatnfd;
}

#comments .logged-in-as {
    display: none;
}

#comments .comment-reply-title {
    display: none;
}

body .woocommerce-MyAccount-navigation a {
    color: #888;
}

body .woocommerce-MyAccount-navigation a:hover {
    color: #777;
}

.product.entry .product-inner {
    width: 100%;
}


/* ---------------------------------- AUTHOR ---------------------------------- */
.archive.author div#blog-entries {
    display: none;
}

.author-all-prd-in {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

section.author-bio {
    margin-bottom: 64px;
    padding: 16px;
    border-radius: 8px;
    background: #f9f9f9;
    border: none;
}

.author .wpex-pagination {
    display: none;
}

.author-docs {
    margin-bottom: 64px;
}

.author-docs-in {
    display: flex;
    gap: 24px;
}

.author-docs-in a {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.filter-header {
    display: none;
}

span.woocommerce-Price-amount.amount {
    font-family: 'vazirmatnfd';
}

.woocommerce .quantity input[type=number] {
    font-family: 'vazirmatnfd';
}

.cart-collaterals .cart_totals>h2, .cart-collaterals .cross-sells>h2 {
    color: #161616;
}

table.cart .actions .coupon .input-text {
    height: 40px;
    border-radius: 8px;
}

table.cart .actions .coupon .button {
    height: 40px;
    margin-right: 10px;
}

button {
    height: 40px;
}

.cart-collaterals .wc-proceed-to-checkout .button {
    height: 40px;
}

form.woocommerce-form .input-text, form.woocommerce-checkout .input-text, form .woocommerce-address-fields .input-text, form .wc-pao-addons-container .input-text {
    height: 40px;
    border-radius: 4px;
}

body .select2-container .select2-selection--single .select2-selection__rendered {
    height: 40px;
}

body .select2-container .select2-selection--single, body .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px;
}

body .woocommerce-form-coupon .input-text, body .woocommerce-form-coupon .button {
    border-radius: 8px;
}

body div#order_review table th {
    color: #161616;
}

body textarea#order_comments {
    height: 135px;
}

body .woocommerce-checkout-payment ul.wc_payment_methods {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 16px;
}

body .woocommerce-checkout-payment .wc_payment_method label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

body .woocommerce-terms-and-conditions-wrapper {
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    padding: 16px;
}

body .woocommerce-checkout-payment .wc_payment_method p {
    padding: 0;
    color: #777;
}

body .woocommerce-terms-and-conditions-wrapper p.form-row.validate-required {
    margin: 0;
}

body .woocommerce-terms-and-conditions-wrapper p.form-row label {
    margin: 0;
}

button#place_order {
    width: 100%;
    margin-top: 24px;
}

.tns-nav {
    display: none;
    justify-content: center;
    gap: 10px;
}

.tns-nav button {
    padding: 0;
    width: 10px;
    height: 10px;
}

.tns-nav button.tns-nav-active {
    background: #501ba7;
    width: 20px;
}

.home-slider .tns-outer {
    display: flex;
    flex-direction: column-reverse;
    gap: 16px;
}

.home-sec-title {
    text-align: center;
}

.home-sec-title p {
    font-size: 16px;
    line-height: 32px;
}

.home-story {
    margin-bottom: 120px;
}


p#billing_birth_field input {
    width: 100%;
}

p#billing_disease_field {
    width: 100%;
    margin: 0 0 var(--wpex-el-margin-bottom);
}

p#billing_disease_field span.select2.select2-container.select2-container--default {
    width: 100%!important;
}

.sp-extra-info {
    margin: 24px 0;
}

select#sp_disease {
    width: 100%;
    height: 39px;
    border-radius: 2px;
    font-size: var(--wpex-input-font-size);
    line-height: var(--wpex-input-line-height);
    transition: var(--wpex-input-transition);
    padding: var(--wpex-input-padding);
    border-radius: var(--wpex-input-border-radius);
    font-family: inherit;
}


.woocommerce-EditAccountForm.edit-account fieldset {
    display: none;
  }

  .thwcfd-field-radio label.radio {
    margin-left: 15px;
    margin-right: 0;
  }

  #billing_disease_field .woocommerce-input-wrapper label,
#billing_disease_field .woocommerce-input-wrapper input {
  cursor: pointer;
}


#billing_postcode_field  .required {
    display: none;
}


a.wa_link svg {
    fill: #5C5C5C;
    width: 20px;
    vertical-align: text-bottom;
    position: relative;
    top: -2px;
    right: -1px;
}


a.wa_link:hover svg {
    fill: #00b589;
}