/* ******************************** */
.Red{color:red;}
.Blue{color: #053497;}

.MainMenu {
    background-color: black;
    color: white;
    height: 161.8px;
    margin-top: 0;
    padding-right: 16.18px;
}

.MainMenu ul {
    display: table;
    padding: 16.18px;
    margin-right: auto;
    margin-left: auto;
}

.MainMenu ul li {
    display: inline-table;
    width: 161.8px;
    height: 50px;
    text-align: center;
    font-size: 1.4em;
    position: relative; /* כדי למקם את תתי-התפריטים */
}

.MainMenu ul li > a {
    color: white;
}

.MainMenu ul li > span:hover {
    color: orange;
    border-bottom: 3px solid orange;
    cursor: pointer;
}

.MenuFrame {
    position: absolute;
    background-color: white;
    border: none; /* מסיר לחלוטין את המסגרת */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: auto;
    padding: 0 4px;
    max-height: 0; /* גובה התחלתי 0 */
    overflow: hidden; /* מונע תוכן פנימי מלחרוג */
    transition: max-height 0.3s ease; /* אנימציה חלקה */
    margin: 0; /* הסרת שוליים */
}

.MenuFrame.show {
    max-height: 400px; /* גובה מקסימלי בעת פתיחה */
}

.MenuFrame a {
    text-decoration: none;
	font-size:0.9em;
    color: #333;
    display: block;
    margin: 0; /* ללא שוליים אנכיים בין קישורים */
    padding: 4px; /* ריווח פנימי בלבד */
    border: none; /* מסיר מסגרות פנימיות אפשריות */
}

/* הסרת כל תוכן מיותר מתחת */
.MenuFrame::after {
     content: none;/* מבטל תוכן מדומה אם יש */
}
.MenuFrame a:last-child {
  /*  margin-bottom: 8px;  רווח נוסף אחרי הקישור האחרון */
}

/* הגדרה כללית למרווח נוסף בתחתית 
.MenuFrame::after {
    content: "";
    display: block;
    height: 2px; 
}*/

.MenuFrame a:hover {
    background-color: #f0f0f0;
}

.SubMenu {
    display: none; /* מוסתר כברירת מחדל */
    position: absolute;
    top: 0;
    left: 100%; /* צמוד לימין של MenuFrame */
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: auto;
    padding: 0 4px;
    z-index: 1001;
}

.SubMenu a:hover {
    background-color: #f0f0f0;
}


/* .MainMenu  #MenuFrame1 {
	
	-webkit-transition: max-height 250ms ease-in;
	-moz-transition: max-height 250ms ease-in;
	-o-transition: max-height 250ms ease-in;
	
	height: 0px;
	transition: all 200ms ease-in;
	overflow: hidden;
	box-shadow: 0px 0px 0px 0px #D6D6D6;
}
.MainMenu ul:nth-child(1) li:hover .MenuFrame {
	height: auto;
	
	height: 500px;box-shadow: 1px 2px 4px 2px #D6D6D6;
} */



/* #mainImg{display: block;clip: rect(400px, , 950px, 0px);} */
#mainImg{margin-top:16.18px;display: block;height:485.40px;width:100%;object-fit: cover;}

#header_main{display: block; margin-top: 6px; width: 260px;}

.MainCaption {
	text-align: center;
	float: none;
	padding-top: 11.1416px;
	font-size: 26px;
	font-weight: bolder;
	width: auto;
	display: inline-block;
	color: hsla(0,0%,55%,1.00);
	font-family: Noto Sans Hebrew;
	margin-right: 72px;
	margin-top: -20px;
	white-space: nowrap;
}

.lifestyle1 {
	float: left;
	display: block;
	position: relative;
	margin-top: 20px;
	width: 122px;
	margin-left: 7px;
}
.divPhone {
	position: absolute;
	float: right;
	color: #7C7C7C;
	/* text-shadow: 1px 1px 1px #FFF ;*/
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.9em;
	font-weight: normal;
	margin-top: -2px;
	margin-right: 70px;
	margin-bottom: 0px;
	margin-left: 0px;
	width: auto;
	display: block;
	text-decoration: none;
	white-space: nowrap;
}

#Menu1:hover:after,#Menu2:hover:after ,#Menu3:hover:after{
	content: ' \25bc';
	color: #FF8C00;
}
#Menu1:after,#Menu2:after,#Menu3:after {
	content: ' \25bc';
	-moz-transition: all .5s ease-in;
	-o-transition: all .5s ease-in;
	-webkit-transition: all .5s ease-in;
	transition: all .5s ease-in;
	color: #FFFFFF;
	font-size: 75%;
}




#BoxMainDeals {
    max-width: 1200px;
    margin: 0 auto 0 auto;
    display: flex;
    flex-wrap: wrap; /* מאפשר לקוביות לזוז לשורה הבאה אם אין מספיק מקום */
    justify-content: center; /* מרכז את הקוביות בשורה */
    gap: 16.18px; /* מרווחים בהתאמה מדויקת ליחס הזהב */
}

.BoxDeal {
    width: 323.60px;
    height: 647.20px; /* גובה מותאם ליחס הזהב */
    margin: 16.18px;
    padding: 16.18px;
    border: 1px solid #ccc;
    position: relative;
    box-sizing: border-box;
   /*  background-color: white; */
    text-align: center;
    display: flex; /* שימוש ב-Flexbox */
    flex-direction: column; /* מסדר את האלמנטים אנכית */
    justify-content: space-between; /* מרווחים בין האלמנטים כך שלא יתנגשו */
    align-items: center; /* מרכז את התמונה ואלמנטים אחרים */
	overflow: hidden; /* מונע חריגה של התמונה והטקסט */
}

.BoxDeal img {
	max-width: 100%; /* מתאים את רוחב התמונה לרוחב הקובייה */
    max-height: 300px; /* מגביל את גובה התמונה כדי שלא תעלה על ה-BottomDeal */
    height: auto; /* שומר על הפרופורציות של התמונה */
    margin: 10px 0; /* רווח בין הפסקה לתמונה */
 flex-shrink: 0; /* מונע מהתמונה להתכווץ */
}
	
.BottomDeal {
    position: absolute;
    bottom: 16.18px; /* מרחק מתחתית הקוביה בהתאם ליחס הזהב */
    left: 16.18px;
    right: 16.18px;
    text-align: center;
	font-size: 1.3em;
    background-color: #f8f8f8;
   /*  padding: 16.18px;  *//* ריווח פנימי אופציונלי */
    border-radius: 4px;    
	line-height: 44.45px; /* מיישר את הטקסט אנכית */
}

.BoxDeal span { /* background-color: pink; */
    display: block; /* משנה את ה-span כך שיתנהג כמו בלוק */
    max-width: 100%; /* מונע תוכן רחב מדי */
    overflow: visible; /* מבטיח שהטקסט יוצג באופן מלא */
    white-space: normal; /* מאפשר שורות מרובות בטקסט */
    margin: 10px 0; /* מוסיף מרווחים מסביב */
	height:200px;
	margin: 0; /* מבטל מרווחים לא נחוצים */   
}

.BottomDeal a {
	font-size: 0.8em;
	margin:0 auto 0 auto;
	color:MidnightBlue;
	
}





/*********************** Footer /***********************/
.FooterMain {
	background-color: #232323;
	color: hsla(0,0%,82%,1.00);
	font-weight: lighter;
	font-size: small;
	text-align: center;
	z-index: 44444;
	width: 100%;
	height: auto;
	padding-top: 11.6px;
	position: absolute;
	margin-top: 100px;
	float: right;
	border-top-right-radius: 11.1618px;
	border-top-left-radius: 11.1618px;
}
.MenuDown {
	text-align: center;
	display: block;
	font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
	font-weight: bold;
}
.MenuDown div {
	display: inline-table;
	width: 200px;
	float: none;
	margin-right: auto;
	margin-left: auto;
	text-align: right;
}
.MenuDown div ul {
	list-style-type: none;
	padding-right: 0px;
}
.MenuDown div ul li {
}
.MenuDown div ul li a {color: hsla(0,0%,82%,1.00);font-weight: lighter;
}


@media screen  and (min-width:290px) and (max-width: 960px) {
	#header_main{display: block; margin-top: 6px; width: 160px;}
	
	.MainMenu ul {    padding: 2px;margin-top:30px;}
.MainMenu ul li {
    width: 97.08px;
    font-size: 1.1em;
}
	.MainCaption {
	font-size: 20px;
}

.lifestyle1 {
	margin-top: 20px;
	width: 122px;
	margin-left: 7px;
}
.divPhone {
	font-size: 1.5em;
}
}


