/* =========================================================
   Base & Typography 
========================================================= */
body {
   /* font-family: Arial, Helvetica, sans-serif; */
font-family: 'Varela Round', 'Heebo', 'Arial', sans-serif;
    color: #676767;
    line-height: 1.4;
    font-size: 16px;
    margin: 0; padding: 0;
    background: url(../../images/bg_page.jpg) repeat-x left top #eff8ff;
}
a { text-decoration: none; color: #007eb2; outline: none; }
.nowrap { white-space: nowrap; }
.tab-break { display: none; }
ul { list-style: none; padding: 0; margin: 0; }
img { border: none; }

/* =========================================================
   Layout Containers
========================================================= */
#container { width: 100%; overflow: hidden; }
#wrapper { max-width: 898px; width: 100%; margin: 0 auto; padding-bottom: 10px; }

/* =========================================================
   Header
========================================================= */
#header {
    width: 100%;
    height: 160px;
    background: url(../../images/header_bg.jpg) no-repeat left top;
    display: flex;
    flex-direction: column;
}
#header_row1 {
    display: flex;
    justify-content: flex-end; 
    padding-top: 12px;
    height: 47px;
}
ul.topnavi { 
    display: flex; 
    font-size: 12px; 
    font-weight: bold; 
    align-items: center; 
    flex-direction: row-reverse; 
    gap: 15px; 
}
ul.topnavi li { padding: 0; }
ul.topnavi a { color: #78a2b2; background: url(../../images/header_arrow1.jpg) no-repeat left center; padding-left: 15px; }
.companies_area { color: #7ba5b5; margin-top: -7px; margin-left: 0; }

#header_row2 {
    display: flex;
    justify-content: space-between; 
    align-items: flex-start;
    width: 100%;
    margin-top: 25px;
}
#logo { 
    display: flex; 
    align-items: flex-start; 
    order: 1; 
    flex-direction: row-reverse; 
    margin-right: 10px; 
    gap: 30px; 
}
#logo p { padding-top: 27px; width: 98px; margin: 0; }
.header_text1 {
    flex: 1; min-width: 0;
    background: url(../../images/header_textdivider.jpg) no-repeat right top;
    padding-right: 28px;
    font-weight: bold;
    color: #688a98;
    line-height: 18px;
    text-align: right;
    order: 2; 
    margin-top: 12px; 
}

/* מסתיר את כפתור "דף הבית" של המובייל במסכים גדולים */
.mobile-home-btn {
    display: none;
}

/* =========================================================
   Main Content Area
========================================================= */
.content_top1 { background: url(../../images/content-top1.jpg) no-repeat left top; height: 10px; width: 100%; }
.content_bottom1 { background: url(../../images/content-bottom.jpg) no-repeat left top; height: 10px; width: 100%; }
.content1 { background: #fff; max-width: 878px; width: 100%; padding: 0 10px; margin: 0 auto; }
.leftright_strips { background: url(../../images/content_bg1.jpg) no-repeat left top; max-width: 878px; width: 100%; margin-left: 0; }

.lr_content {
    background: url(../../images/content_bg2.gif) repeat-y left top;
    display: flex;
    justify-content: space-between;
}

/* Right Side (Main Text) */
.rightstrip1 { flex: 1; min-width: 0; padding: 20px 10px 0 0; text-align: right; }
.cvsend_content1 { width: 100%; }

/* Left Side (Tip Bubble & Kite) */
.leftstrip_main1 { flex-shrink: 0; width: 253px; display: flex; justify-content: center; }

/* =========================================================
   Tabs Area
========================================================= */
#panel_tabs {
    width: 100%; max-width: 580px;
    height: 60px;
    background: url(../../images/tabs_bg.gif) no-repeat center top;
    padding: 0 10px 10px 10px;
    border-bottom: 1px solid #f1f4f6;
    display: flex;
    flex-direction: row;
}
#panel_tabs li { display: block; }

#panel_tabs a {
    box-sizing: content-box; 
    height: 45px;
    padding-top: 11px; 
    color: #a9a9a9;
    font-size: 13px;
    display: block;
    line-height: 1.2; 
}
#panel_tabs a strong { 
    display: block; 
    color: #9b9b9b; 
    font-size: 20px; 
    margin-bottom: 1px; 
    line-height: 1; 
}

#panel_tabs li.tab1 a { width: 162px; padding-right: 60px; }
#panel_tabs li.tab2 a { width: 140px; padding-right: 50px; }
#panel_tabs li.tab3 { margin-right: -31px; } 
#panel_tabs li.tab3 a { width: 120px; padding-right: 78px; }

#panel_tabs a.inpage, #panel_tabs a:hover { background: url(../../images/selected_shadow.png) no-repeat right top; }
#panel_tabs li.tab1 a.inpage, #panel_tabs li.tab1 a:hover { background-position: left top; }
#panel_tabs li.tab2 a.inpage, #panel_tabs li.tab2 a:hover { background-position: left top; }
#panel_tabs a.inpage strong, #panel_tabs a:hover strong { color: #45a9ed; }

/* =========================================================
   Content & Typography
========================================================= */
.tabs_content { padding: 40px 20px 0 40px; }
/* h1.tab3_title { */
h1.tab3_title, h2.tab3_title {
    background: url(../../images/tab3_title.jpg) no-repeat right top;
    padding-right: 55px;
    height: 35px;
    line-height: 25px;
    font-size: 18px;
    color: #007eb2;
    margin-bottom: 20px;
}

h1.tab2_title, h2.tab2_title {
    background: url(../../images/Bulls-Eye.jpg) no-repeat right top;
    padding-right: 55px;
    height: 35px;
    line-height: 25px;
    font-size: 18px;
    color: #007eb2;
    margin-bottom: 1px;
}

h1.tab1_title, h2.tab1_title {
    background: url(../../images/tab_icon1.jpg) no-repeat right top;
    padding-right: 55px;
   /* height: 35px; */
   /* line-height: 25px; */
    font-size: 18px;
    color: #007eb2;
   /* margin-bottom: 20px; */
}



.tab1_c1 { padding-right: 50px; }

.continue-btn {
    box-sizing: border-box; 
    background: linear-gradient(to bottom, #1f8cff, #0b6fe6);
    border: 1px solid rgba(0,0,0,0.1);
    color: #fff;
    border-radius: 8px;
    padding: 10px 40px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(11,111,230,0.3);
 cursor:pointer;
}

/* hover */
.continue-btn:hover{
  filter: brightness(1.08);
}

/* active לחיצה */
.continue-btn:active{
  transform: translateY(1px);
  box-shadow: 0 1px 4px rgba(11,111,230,0.35);
}


/* =========================================================
   Tip Bubble (Left Sidebar)
========================================================= */
.tooltip_block1 { width: 190px; text-align: center; margin: 20px auto; }
.tooltip_top1 { background: url(../../images/tooltip_top1.png) no-repeat left top; width: 190px; height: 11px; }

.tooltip_content { 
    background: url(../../images/tooltip_contentbg.png) repeat-y left top; 
    width: 180px; 
    padding: 5px 5px; 
    color: #fff; 
    text-align: center; 
    min-height: 150px; 
    max-height: 230px; 
}

.tooltip_content h4 { 
    font-size: 24px; 
    color: #ab6400; 
    font-weight: normal; 
    margin: 0; 
    padding-bottom: 8px; 
}

.tooltip_content p { margin-top: 0; }
.tooltip_bottom1 { background: url(../../images/tooltip_bottom1.png) no-repeat left top; width: 190px; height: 26px; }

/* =========================================================
   Footer
========================================================= */
#footer {
    width: calc(100% - 28px);
    margin: 0 auto;
    background: url(../../images/bg_footer.jpg) no-repeat left top;
    height: 140px;
    padding: 23px 15px 0 13px;
    display: flex;
    flex-direction: column;
}
#footer_row1 {
    width: 100%;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2f4ff;
    text-align: center; 
}
#footer_row1 a { color: #8b8b8b; }
#footer_row2 {
    width: 100%;
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end; 
    color: #8b8b8b;
}
.mind2_logo { padding-right: 15px; } 

.copyrights {font-size: 14px;}


/* =========================================================
   Mobile Fixes & STICKY HEADER
========================================================= */
@media (max-width: 767px) {

body {
font-size: 17px;
letter-spacing: -0.02em;
}

/* הסתרה של הטול טיפ ומטוס הנייר בנייד */
.cvsend_left{ display: none;}

/* .copyrights {font-size: 14px;} */



    /* התיקון שמפעיל את ה-Sticky: מאפשר גלילה חופשית של ההאדר */
    #container { overflow: visible; }
    
    #wrapper, .content1, .leftright_strips, #footer {
        width: 100%;
        box-sizing: border-box; 
        background-size: cover;
    }
    
    #header { 
        width: 100%;
        box-sizing: border-box; /* התיקון שמונע מההאדר לחרוג שמאלה ולהעיף את הכפתור! */
        height: auto; 
        padding: 10px 15px 4px 15px; /* מוריד את הפדינג למטה ל-4 וכך חוסך 6 פיקסלים */
        background: url(../../images/header_bg2.jpg) no-repeat center top; 
        background-size: cover;
        
        position: -webkit-sticky; 
        position: sticky; 
        top: 0; 
        
        z-index: 1000; 
        box-shadow: 0 3px 8px rgba(0,0,0,0.1); 
    }
    
    #header_row1, .header_text1 { display: none; }
    
    #header_row2 { 
        margin-top: 0; 
        justify-content: space-between; 
        align-items: center;
        width: 100%;
        box-sizing: border-box;
    }
    
    #logo { 
        width: 100%;
        margin: 0; 
        order: unset; 
        flex-direction: row; 
        justify-content: space-between; 
        align-items: center; 
        gap: 10px;
        box-sizing: border-box;
    }
    
    #logo p { display: none; }
    
    .main-logo-link img {
        width: 170px;
        height: auto;
        display: block; 
    }
    
    .mobile-home-btn {
        display: inline-block;
        background: linear-gradient(to bottom, #1f8cff, #0b6fe6);
        border: 1px solid rgba(0,0,0,0.1);
        color: #fff !important;
        border-radius: 6px;
        padding: 8px 16px;
        font-size: 14px;
        font-weight: bold;
        box-shadow: 0 2px 5px rgba(11,111,230,0.3);
        flex-shrink: 0; 
        white-space: nowrap; 
    }

    .lr_content { flex-direction: column; background: none; }


/* הרווחים מהמסגרת בניידים */    
    .rightstrip1, .cvsend_content1, .leftstrip_main1 { 
        width: 100%; 
        /* padding: 10px; */
padding-top: 10px;
padding-bottom: 0px;
padding-right: 8px;
padding-left: 8px;

        box-sizing: border-box; 
    }
    
    .tabs_content, .tab1_c1 { padding: 10px 0; text-align: right; }
.tab1_c1 {padding-top: 0px;}
    #panel_tabs {
        width: 100%; height: auto; background: none; flex-direction: row; align-items: stretch; border-bottom: 1px solid #f1f4f6; gap: 0; padding: 0; box-sizing: border-box;
    }
    #panel_tabs li { width: auto; flex: 1; margin: 0 !important; display: flex; }
    #panel_tabs a {
    box-sizing: border-box; width: 100% !important; background: none !important; padding: 10px 4px 8px !important; height: auto; border: none; border-top: 3px solid transparent; border-radius: 0; text-align: center; display: flex; flex-direction: column; justify-content: center; color: #a9a9a9;

  
    }
    #panel_tabs a strong { font-size: 17px; }
   /* h1.tab3_title { background: none; padding-right: 0; } */
h1.tab3_title, h2.tab3_title {background: none; padding-right: 0; }
    #panel_tabs a.inpage { background: none !important; border-top: 3px solid #45a9ed; }
/* upper line */    
    #footer { padding: 2px 0 30px; height: auto; background-color: #fff; background-size: 100% auto; background-position: center bottom; border-top: 1px solid #b8d8eb; }

/* bottom line */
    #footer_row1 { width: 100%; padding: 0 15px 1px; border-bottom: 0px solid #b8d8eb; box-sizing: border-box; }

    #footer_row2 { width: 100%; padding: 0px 15px 0; box-sizing: border-box; }
}
/* =========================================================
   Tablet / iPad (768px - 898px):
   Desktop layout + sidebar intact, but mobile-style tabs
   (desktop tab panel needs ~580px which does not fit alongside
   the 253px sidebar at these widths)
========================================================= */
@media (min-width: 768px) and (max-width: 898px) {
    #panel_tabs {
        width: 100%; max-width: none; height: auto; background: none;
        flex-direction: row; align-items: stretch;
        border-bottom: 1px solid #f1f4f6;
        gap: 0; padding: 0; box-sizing: border-box;
    }
    #panel_tabs li { width: auto; flex: 1; margin: 0 !important; display: flex; min-width: 0; }
    #panel_tabs a {
        box-sizing: border-box; width: 100% !important; background: none !important;
        padding: 10px 4px 8px !important; height: auto; border: none;
        border-top: 3px solid transparent; border-radius: 0; text-align: center;
        display: flex; flex-direction: column; justify-content: center; color: #a9a9a9;
    }
    #panel_tabs a strong { font-size: 17px; }
    #panel_tabs a.inpage { background: none !important; border-top: 3px solid #45a9ed; }
}
@media (max-width: 427px) {
    .tab-break { display: block; }
  #panel_tabs .tab-text{ display: block !important;} 
}


/* כותרת אשף */
.ashaf_title {
letter-spacing: -0.02em; 
line-height: 1.1;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); 
font-size: 24px; 
color:#f4831c; 
width:100%; 
text-align: center; 
margin-left: auto; margin-right: auto;
}
 
.ashaf_title a{
font-size: 16px;
color:#007EB2; 
text-decoration: none;
text-shadow: none;              
}

.ashaf_title a:hover{
 text-decoration: underline;
  font-weight:bold;
}

.tab3_title {
margin-top: 30px;
padding-bottom: 30px;
letter-spacing: -0.02em;
}


@media (max-width: 767px) {

.ashaf_title {margin-top: 40px;}
.tab3_title {margin-top: 20px;}

}

