/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


body::selection {
    background-color: #89171F;
    color: #fff;
}

.notice-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 24px;
    position: relative;
}

.notice-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}


.notice-title {
    font-family: var(--e-global-typography-95cc90f-font-family), Sans-serif;
    font-size: var(--e-global-typography-13dd428-font-size);
    font-weight: var(--e-global-typography-95cc90f-font-weight);
    line-height: var(--e-global-typography-95cc90f-line-height);
}

.notice-essentials {
    font-family: var(--e-global-typography-95cc90f-font-family), Sans-serif;
    font-size: var(--e-global-typography-c57dc98-font-size);
    font-weight: var(--e-global-typography-13dd428-font-weight);
    line-height: var(--e-global-typography-95cc90f-line-height);
}

.notice-address {
    font-family: var(--e-global-typography-95cc90f-font-family), Sans-serif;
    font-size: var(--e-global-typography-c57dc98-font-size);
    font-weight: var(--e-global-typography-13dd428-font-weight);
    line-height: var(--e-global-typography-95cc90f-line-height);
}

.notice-time {
    font-family: var(--e-global-typography-95cc90f-font-family), Sans-serif;
    font-size: var(--e-global-typography-c57dc98-font-size);
    font-weight: var(--e-global-typography-13dd428-font-weight);
    line-height: var(--e-global-typography-95cc90f-line-height);
}

.notice-date {
    font-family: var(--e-global-typography-95cc90f-font-family), Sans-serif;
    font-size: var(--e-global-typography-c57dc98-font-size);
    font-weight: var(--e-global-typography-13dd428-font-weight);
    line-height: var(--e-global-typography-95cc90f-line-height);
}

.notice-content {
    font-family: var(--e-global-typography-95cc90f-font-family), Sans-serif;
    font-size: var(--e-global-typography-c57dc98-font-size);
    font-weight: var(--e-global-typography-13dd428-font-weight);
    line-height: var(--e-global-typography-95cc90f-line-height);
}

.elementor-item-active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.elementor-item-active .dash {
    display: inline-block;
    text-align: center;
}

.swiper-pagination-bullet {
    transition: 0.3s;
}

.swiper-pagination-bullet-active {
    width: 30px !important;
    border-radius: 50px !important;
}

@media (min-width: 769px) {
  .swiper-pagination-horizontal {
    display: none;
  }
}

#thumbnail-notif-box {
    height: 100% !important;
    object-fit: cover !important;
    object-position: center;
}







/* رپر اصلی */
.jet-form-builder__field-wrap {
    position: relative;
    box-sizing: border-box;
}

/* ----------------------------------------- */
/* استایل باکس اصلی دراپ‌داون (حالت عادی) */
/* ----------------------------------------- */
.custom-jfb-trigger {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 0 18px 0 45px;
    
    width: 100%;
    height: 48px;

    background: #FFFFFF;
    border: 1px solid var(--Greyscale-400, #BDBDBD);
    border-radius: 4px;
    
    color: #212121;
    direction: rtl;
    text-align: right;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;

    font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
    font-size: var(--e-global-typography-secondary-font-size);
    font-weight: var(--e-global-typography-secondary-font-weight);
    line-height: var(--e-global-typography-secondary-line-height);

    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23212121' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 18px center;
    background-size: 20px;
}

/* حالت فعال باکس اصلی */
.custom-jfb-trigger.is-open {
    border-color: #89171F;
    box-shadow: inset 0 0 0 1px #89171F;
}

.custom-jfb-trigger.is-open {
    color: #6E1118;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E1118' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='18 15 12 9 6 15'%3e%3c/polyline%3e%3c/svg%3e");
}

/* ----------------------------------------- */
/* استایل منوی بازشونده (پدینگ ۱۸ پیکسل از همه طرف) */
/* ----------------------------------------- */
/* ----------------------------------------- */
/* استایل منوی بازشونده (پدینگ ۱۸ پیکسل از همه طرف) */
/* ----------------------------------------- */
.custom-jfb-menu {
    box-sizing: border-box;
    display: none; 
    flex-direction: column;
    justify-content: flex-start;
    padding: 18px; 

    width: 100%; 
    height: auto;
    max-height: 226px;
    overflow-y: auto; /* فعال بودن اسکرول عمودی */

    background: #FFFFFF;
    border: 2px solid #89171F;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    
    position: absolute;
    top: 64px; 
    right: 0;
    z-index: 9999;
    list-style: none;
    margin: 0;
}

.custom-jfb-menu.show {
    display: flex;
}

/* ----------------------------------------- */
/* استایل گزینه‌ها و رفع مشکل اسکرول ماوس */
/* ----------------------------------------- */
.custom-jfb-menu li {
    box-sizing: border-box;
    width: 100%;
    
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: right;
    direction: rtl;
    
    color: #3A3A3A; 
    cursor: pointer;
    
    /* حل مشکل اسکرول: جلوگیری از فشرده شدن آیتم‌ها در ساختار فلکس */
    flex-shrink: 0 !important;
    
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #EEEEEE; 

    font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
    font-size: var(--e-global-typography-secondary-font-size);
    font-weight: var(--e-global-typography-secondary-font-weight);
    line-height: var(--e-global-typography-secondary-line-height);
}

/* تنظیمات فواصل ابتدا و انتها مابین پدینگ ۱۸ و ۱۰ */
.custom-jfb-menu li:first-child {
    padding-top: 0;
}

.custom-jfb-menu li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* حالت هاور و انتخاب شده */
.custom-jfb-menu li:hover,
.custom-jfb-menu li.is-selected {
    color: #6E1118;
}




/* تنظیم ظاهر دکمه برای قرارگیری درست آیکون و متن */
.jet-form-builder-repeater__new {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px; /* فاصله بین آیکون و متن */
}

/* اضافه کردن آیکون SVG قبل از متن */
.jet-form-builder-repeater__new::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    /* کد SVG شما که برای CSS بهینه‌سازی و انکود شده است (علامت‌های # به %23 تبدیل شده‌اند) */
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12Z' stroke='%2389171F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 8V16M16 12H8' stroke='%2389171F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.jet-form-builder-repeater__row-remove {
    position: absolute;
    left: 0;
    bottom: 8px;
}

@media (max-width: 1024px) {
    .jet-form-builder-repeater__row-remove {
        bottom: 0;
        right: 0;
        bottom: -42px;
    }
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }
  .registration-tabs .jet-form-builder__action-button {
    width: 100% !important;
  }
}






.jet-form-builder__field-wrap:has(#mother_satisfaction_with_parental_role),
.jet-form-builder__field-wrap:has(#father_satisfaction_with_parental_role),
.jet-form-builder__field-wrap:has(#mother_self_assessed_parental_role),
.jet-form-builder__field-wrap:has(#father_self_assessed_parental_role) {
  position: relative;
}

#mother_satisfaction_with_parental_role,
#father_satisfaction_with_parental_role,
#mother_self_assessed_parental_role,
#father_self_assessed_parental_role {
  box-sizing: border-box;
  padding-left: 75px;
  direction: rtl;
  text-align: right;
}

.jet-form-builder__field-wrap:has(#mother_satisfaction_with_parental_role)::after,
.jet-form-builder__field-wrap:has(#father_satisfaction_with_parental_role)::after,
.jet-form-builder__field-wrap:has(#mother_self_assessed_parental_role)::after,
.jet-form-builder__field-wrap:has(#father_self_assessed_parental_role)::after {
  content: "درصد";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;

  font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
  font-size: var(--e-global-typography-secondary-font-size);
  font-weight: var(--e-global-typography-secondary-font-weight);
  line-height: var(--e-global-typography-secondary-line-height);
  color: var(--e-global-color-84a02b3);
}

html {
    -webkit-tap-highlight-color: transparent;
}