/*
Theme Name: MasterLife - Child
Template: masterlife
*/

.jws_account > a .jws_account_text {
  margin-left: 0;
  margin-right: 10px;
}

.expand-toggler {
  display: none;
}

.checkout.button-custom.wc-forward:hover {
  color: #fff !important;
}

.result-post {
  display: none;
}

/* start normalize events in mobile */

.single-events .events-related {
  margin-top: 0;
}

.sidebar-has_sidebar .jws-filter-modal {
  display: block !important;
  position: relative;
  z-index: 1;
}

.sidebar-has_sidebar .jws-filter-modal .modal-content.sidebar {
  position: relative;
  opacity: 1;
  transform: none;
  padding: 0;
  width: auto;
  z-index: 1;
  overflow: unset;
  max-width: 100%;
}

.sidebar-has_sidebar .jws-filter-modal .modal-top {
  display: none;
}

/* end normalize events in mobile */

.jws-events-advanced-element .layout-inline .post-inner {
    background-color: var(--body3);
}

.jws-events-advanced-element .layout-inline .post-inner:hover {
    background-color: var(--third);
    color: #fff;
}

.jws-events-advanced-element .layout-inline .post-inner:hover .cl-secondary {
    color: #fff !important;
}

.jws-events-advanced-element .layout-inline .post-inner:hover .buy-ticket a {
    background-color: var(--four);
    color: #fff;
}

.jws-events-advanced-element .layout-inline.layout3 .buy-ticket {
    text-align: end;
}

.jws_account.jws-dropdown-ui ul li:not(:nth-child(1)):not(:nth-child(10)),
.ld-dashboard-header-button,
.header-notification,
.header-wishlist {
    display: none;
}

html[dir="rtl"] .post-share .post-share-inner {
  right: unset;
}

@media (min-width: 1024px) and (max-width: 1440px) {
  .ld-dashborad-add-edit-course .jws-post-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 425px) {
  .single-events .jws-filter-modal {
    box-shadow: unset !important;
  }
}


/* پایه مودال جزئیات سفارش */
#order-detail-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    font-family: inherit;
}
#order-detail-modal.open { display: flex; }

.od-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.od-modal-wrap {
    position: relative;
    background: #fff;
    border-radius: 10px;
    max-width: 720px;
    width: 94%;
    max-height: 80vh;
    overflow: auto;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
    animation: odFadeUp .25s ease;
}

.od-modal-header {
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:#2271b1;
    color:#fff;
    padding:12px 16px;
    border-radius:10px 10px 0 0;
}
.od-modal-header h3 { margin:0;font-size:16px; }
.od-modal-close {
    background:transparent;
    border:0;
    color:#fff;
    font-size:24px;
    cursor:pointer;
    padding:0 6px;
    line-height:1;
}

.od-modal-body {
    padding:16px;
    color:#222;
    background: #fff;
}

/* جدول ساده داخل مودال */
.od-modal-body table { border-collapse:collapse; width:100%; }
.od-modal-body th, .od-modal-body td { padding:8px 10px; border-bottom:1px solid #eee; text-align:left; }
.od-modal-body h4 { margin:12px 0 8px; }

/* انیمیشن */
@keyframes odFadeUp {
    from { transform: translateY(10px); opacity:0 }
    to   { transform: translateY(0); opacity:1 }
}

.post-meta-sc .post-auhtor.auhtor-inline,
.course-wishlist-wap {
    display: none;
}

body {
    --btn-bgcolor2: #c7d2ab !important;
}

.jws_cart_content .jws-cart-panel .jws-cart-panel-list-wrap .cart_list li .jws-cart-panel-item-price {
    color: #000;
}

.current-menu-item a {
    color: var(--main) !important;
}
