/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
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: 1.0.1
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
*/

ul.my-custom-list {
    list-style-type: none;
    margin: 0;direction:rtl;
    padding: 0;
}
span.l-date {padding:20px 0 0 20px ;font-weight:600}
li.lecturer-item {padding: 0 0 20px 0;   font-size: 0.9em;} 

.shade {filter:drop-shadow(0px 0px 4px #00000010)}
.project-categories-display a {font-size:12px; color:#1B1D29; padding:5px 10px; margin:6px 6px 0 0; border-radius: 35px;
background: rgba(44, 255, 220, 0.83);}
.video-repeater-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
}

.video-item iframe {
    width: 100% !important;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 8px; /* בונוס למראה מודרני */
}

.accordion-main-container {
    direction: rtl;
    text-align: right;
    max-width: 100%;
}

/* עיצוב אזור הבקרה */
.accordion-controls {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    padding: 0 5px;
}

.switch-text {
    font-size: 0.9em;
    font-weight: bold;
    color: #555;
}

/* עיצוב הסוויץ' עצמו */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.toggle-switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px; width: 14px;
    left: 3px; bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #27a5db; /* הצבע הכחול שלך */
}

input:checked + .slider:before {
    transform: translateX(20px);
}

/* המשך העיצוב המקורי שלך */
.accordion-header {
    display: flex;
    align-items: center;
    padding: 15px 0px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
    transition: all 0.3s;
}

.accordion-header:hover { color: #27a5db; }

.acc-title { margin-left: 10px; }
.acc-number { font-size: 0.95em; color: #27a5db; margin-left: 15px; }
.acc-icon { margin-right: auto; font-size: 1.2em; transition: transform 0.3s; }

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.inner-content { padding: 20px 0; }

.accordion-item.is-active .accordion-content { max-height: 800px; }
.accordion-item.is-active .acc-icon { transform: rotate(45deg); }
.accordion-item.is-active .accordion-header { color: #27a5db; }
.lecturers-list-container {
    direction: rtl;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 20px; /* רווח בין מרצים */
}

.lector-row-card {
    display: flex;
    align-items: flex-start; /* מיישר את התמונה לחלק העליון של הטקסט */
    gap: 15px; /* רווח בין התמונה לטקסט */
}

/* עיצוב התמונה (50px) */
.lector-pic-med {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.lector-pic-med img {
    width: 50px;
    height: 50px;border-radius:100px !important;
    border-radius: 50%; /* תמונה עגולה */
    object-fit: cover;margin-top:5px;
    display: block;
    border: 0px solid #eee; /* בורדר עדין מסביב לעיגול */
}

/* עיצוב הטקסט */
.lector-text-info {
    display: flex;
    flex-direction: column;
    padding-top: 2px; /* תיקון אופטי קטן ליישור מושלם עם ראש התמונה */
}

.lector-name-bold {
    font-weight: bold;
    font-size: 0.9em;
color: #3c4269;
    line-height: 1.2;
    margin-bottom: 4px;
}

.lector-desc-small {
    font-size: 0.8em;opacity:0.9;color: #3c4269;
    line-height: 1.3;
}

/* שינוי צבע הרקע והטקסט של הרשימה שנפתחת בלבד */
.my-course-select select option {
    background-color: #006894 !important; /* צבע הרקע של האפשרויות */
    color: #ffffff !important;            /* צבע הטקסט של האפשרויות */
}

/* אופציונלי: צבע שונה לאפשרות הראשונה (בחר קורס / Placeholder) */
.my-course-select select option:first-child {
    color: #cccccc !important;
}


/* פנייה לכל סוגי הדפדפנים המודרניים */
 input::placeholder,
textarea::placeholder {

    opacity: 1 !important; /* מבטל את השקיפות שדפדפנים מסוימים מוסיפים */
}

/* עבור דפדפני Chrome, Safari ו-Opera */
 input::-webkit-input-placeholder,
 textarea::-webkit-input-placeholder {

    opacity: 1 !important;
}

/* עבור דפדפני Firefox ישנים (גרסאות 4 עד 18) */
 input:-moz-placeholder,
textarea:-moz-placeholder {

    opacity: 1 !important;
}

/* עבור דפדפני Firefox חדשים יותר (גרסאות 19+) */
 input::-moz-placeholder,
 textarea::-moz-placeholder {

    opacity: 1 !important;
}

/* עבור Internet Explorer 10-11 */
 input:-ms-input-placeholder,
 textarea:-ms-input-placeholder {

    opacity: 1 !important;
}




/* מצב רגיל - שקוף */
#my-sticky-header {
    background: transparent !important;
    transition: all 0.4s ease-in-out !important;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
}

/* המצב לאחר גלילה של 300 פיקסלים - כאן קורה הקסם */
#my-sticky-header.header-scrolled {
    background: #1B1D29 !important; /* שנה לצבע הרצוי */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
   
}

/* אם צריך לשנות את צבע התפריט ללבן בגלילה */
#my-sticky-header.header-scrolled .elementor-item {
    color: #ffffff !important;
}

/* 1. הגדרת מצב רגיל ללוגו - וודא שהמעבר יהיה חלק */ 
#my-sticky-header .logopic img {
    height: auto;
    transition: width 0.4s ease-in-out, transform 0.4s ease-in-out !important;
}

/* 2. הקטנת הלוגו ברגע שהקלאס header-scrolled מתווסף (אחרי 300px) */
#my-sticky-header.header-scrolled .logopic img {
    width: 150px; /* הגודל המוקטן שאתה רוצה בגלילה */
}

/* אופציונלי: מרכוז אנכי אם הגובה של ההדר משתנה */
#my-sticky-header.header-scrolled .elementor-widget-image {
    display: flex;
    align-items: center;
    transition: all 0.4s ease-in-out;
}