/*
Theme Name: Enfold Child
Theme URI:  
Author: MI
Author URI:  
Description: Enfold Child
Version: 1.0
Template: enfold
Text Domain: enfold-child

*/

body , body p , body p a , h1 , h2 , h3 , h4 , h5 , h6 , #top #header .av-main-nav>li>a , 
#top h1 a, #top h2 a, #top h3 a, #top h4 a, #top h5 a, #top h6 a {
	font-family:'Heebo' !important;
}


#top #wrap_all .header_color.av_header_transparency, #top #wrap_all .header_color.av_header_transparency .phone-info.with_nav span, #top #header.header_color.av_header_transparency .av-main-nav > li > a .avia-menu-text, #top #header.header_color.av_header_transparency .av-main-nav > li > a .avia-menu-subtext {
    color: #fff !important;
}
.av-main-nav-wrap {
    float: right;
}
#top .main_menu .menu li.current-menu-item  a{
	color:#fff !important;
 
}
.av-main-nav li:hover .avia-menu-fx, .current-menu-item > a > .avia-menu-fx, .av-main-nav li:hover .current_page_item > a > .avia-menu-fx {
	display:none;
}
.av-masonry-date, .av-masonry-text-sep, .av-masonry-author , .news-time {
	display:none ;
}
.togglecontainer .single_toggle:first-child .toggler, .togglecontainer .taglist + .single_toggle .toggler {
    font-weight: 700;
}
.av_toggle_section .toggle_icon , .av_toggle_section .toggle_icon span {
	border-color: #666 !important;
}






#top #wrap_all .av-social-link-facebook a {
    color: #444 !important;
}
#top #wrap_all .av-social-link-facebook:hover a {
    color: #fff !important;
}
.main_color .avia-icon-list .iconlist-timeline {
    border-color: #fff;
}
 #top .main_color .wpcf7 input[type='text'] {
	 border:1px solid #666;
 }
 #top .main_color .wpcf7 textarea {
	 border:1px solid #666;
	 max-height:120px;
 }
#top .main_menu .menu li.mzcurrent a {
    color: #238ab5;
}
.main_color .avia-icon-list .iconlist-timeline , .alternate_color .avia-icon-list .iconlist-timeline {
    display: none;
}
.widget_nav_menu  >a, .widget_nav_menu  >a ,
.inner_sidebar ul.menu li a   {
    font-size: 18px !important;
}
#top .main_color .wpcf7 input.wpcf7-not-valid {
    border: 1px solid red !important;
}
/**/
 .firstheader {
	 width:100%;
	 background: #263865; 
 } 
 .secondheader {
    width: 100%;
    background: #fff;
    box-shadow: 0 6px 11px rgba(0, 0, 0, 0.1); /* צל בתחתית */
}

.hebrew-clock {
    color: #fff;
    max-width: 195px;
    font-size: 18px;
    white-space: nowrap;
}
.secondheader .main_menu {
	right: 38px;
}
#header_main .secondheader .container {
	height: 40px;
	line-height: 40px;
}
#top #header .secondheader .av-main-nav > li > a {
	line-height: 40px;
	    height: 40px;
}
#top #header .secondheader .av-main-nav > li > a .avia-menu-text, 
#top #header .secondheader .av-main-nav > li > a .avia-menu-subtext {
	color:#2e3136 ;
	
}

 .homepostsmain-container {
            display: flex;
            width: 100%;
            margin-bottom:  0px;
			background: #fff ;
        }
        .homepostsmain-left {
            width: 60%;
        }
        .homepostsmain-left img {
			 aspect-ratio: 16 / 9; /* לדוגמה: 640x360 */
            width: 100%;
            height: auto;
			margin: 0 ;
        }
		.homepostsmain-right {
			width: 40%;
			padding: 10px;
			
		}
        .homepostsmain-right h2 a {
            color: #333;
            text-decoration: none;
        }
        .homepostsmain-right h2 a:hover {
            color: #0073e6;
        }
        .category-link {
            background-color: #0073e6;
            color: #fff;
            padding: 5px 10px;
            border-radius: 5px;
            text-decoration: none;
            margin-bottom: 10px;
            display: inline-block;
        }
        .category-link:hover {
            background-color: #005bb5;
        }
        .meta {
            font-size: 14px;
            color: #777;
        }


.homeposts2-5-container {
            display: flex;
            gap:  0px;
            
			background: #fff ;
			padding: 0 10px;
			    justify-content: flex-start;
        }
		 .homeposts2-5-box {
			width: calc(25% -  0px);
			box-sizing: border-box;
			    padding: 20px 10px 10px;
			
		}
		.classlimit3 .homeposts2-5-box {
				width: calc(33.33% - 0px); 
		}
		.homeposts2-5-box .rowcatlink0 {
			padding: 0 0 10px;
		}
		.homeposts2-5-box .metahome {
			position: static;
		}
        .homeposts2-5-box img {
			aspect-ratio: 4 / 3; /* לדוגמה: 400x300 */
            width: 100%;
            height: auto;
			margin-bottom:10px;
        }
		.homeposts2-5-box h2 {
			font-size: 22px;
			line-height: 1.2em;
			position: relative;
			padding-bottom: 20px;
		}
        .category-link {
            background-color: #0073e6;
            color: #fff;
            padding: 5px 10px;
            border-radius: 5px;
            text-decoration: none;
            display: inline-block;
            margin-bottom: 10px;
        }
        .homeposts2-5-box h2 a {
            color: #333;
            text-decoration: none;
        }
        .homeposts2-5-box h2 a:hover {
            color: #0073e6;
        }
        .meta {
            font-size: 14px;
            color: #777;
        }
body .image-overlay {
	opacity: 0 !important;
	display: none !important;
}
a.homecatlink {
	padding-right: 7px;
	color: #f01d26;
		font-size: 14px;
	line-height: 14px;
	position: relative;
}
a.homecatlink:after {
    display:block;
	content:'';
	width:1px;
	height:16px;
	background:#f01d26;
	display:block;
	top:4px;
	right: 0%;
	position:absolute;
}
a.homecatlink {
	text-decoration: underline ;
}
.rowcatlink0 {
	padding-bottom:20px;
}
.homepostsmain-right  {
	position: relative;
}
.homepostsmain-right h2 {
	font-size: 35px;
	line-height:1.2em;
	position: relative;
	padding-bottom:10px;
	margin-bottom:35px;
}
.homepostsmain-right h2:after {
    display:block;
	content:'';
	width:100px;
	height:2px;
	background: #f01d26;
	display:block;
	bottom:0;
	right: 0%;
	position:absolute;
}
.homepostsmain-right h2 a {
	color:#2e3136 ;
}
p.shorttexth {
    font-size: 18px;
    line-height: 1.5em !important;
    color: #2e3136;
}
.metahome {
	position: absolute ;
	bottom: 30px;
	font-size: 14px;
	color: #919191 ;
}
.archive .main_color ,
.single .main_color.single_wrapmz  {
	background:#ecf3f6 !important ;
	padding-top: 20px;
}
.archive .main_color .content ,
.single .main_color.single_wrapmz .content {
	border: none !important;
	padding-top: 0px !important;
}
.maintitle h1 {
	font-size: 35px;
}
.lineanimated {
	margin-bottom:40px;
}
.lineanimatedin {
	width: 100%;
	height: 3px;
	background: #293b68 ;
}
.archive .homepostsmain-right {
	padding-right:30px;
}
.archive .homeposts2-5-container{
	flex-wrap: wrap;
}
.archive .secpost2 {
	margin-bottom:40px;
	padding-bottom: 5px;
}
.categorybot3 {
	display: flex;
    gap: 0px;
    background: #fff;
    padding: 0  0px;
    justify-content: flex-start;
}
.homeposts3-box img {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  display: block;
}
.homeposts3-box {
	width: calc(33.33% - 0px);
    box-sizing: border-box;
    padding: 20px 10px 10px;
	background-color: #293b68;
	border-left:3px solid #fff;
}
.homeposts3-box.secondbg { background-color: #f01d26; }
.homeposts3-box a.homecatlink { font-size: 12px; color:#fff ;}
.homeposts3-box h2 a { font-size: 22px; color:#fff !important;}
.homeposts3-box .metahome { font-size: 12px; color:#fff ; position: static;}
.homeposts3-box .rowcatlink0 {  padding-bottom: 10px; }
.homeposts3-box  a.homecatlink:after {
    height: 12px;
    background: #fff;
} 
.mainsingle {
	display: flex ;
	background:#fff ;
}
.risingle {
	width: 75%;
	padding: 20px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box;    /* Firefox, other Gecko */
box-sizing: border-box;         /* Opera/IE 8+ */
}
.lesingle {
	width: 25%;
	padding: 20px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box;    /* Firefox, other Gecko */
box-sizing: border-box;         /* Opera/IE 8+ */
}
.lesingle .homeposts2-5-box {
    width: 100%; 
	padding: 0 0 15px;
}
.lesingle .homeposts2-5-box img {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  display: block;
}
.risingle h1 {
    position: relative;
    padding-bottom: 18px;
    margin-bottom: 20px;
}
.risingle h1:after {
    display: block;
    content: '';
    width: 100px;
    height: 2px;
    background: #f01d26;
    display: block;
    bottom: 0;
    right: 0%;
    position: absolute;
}
#bannerBot {
  min-height: 100px;
  width: 100%;
  background-color: transparent; /* או מה שתרצה */
}
#bannerBot img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 5; /* לדוגמה: 320x100 */
}
/* CLS Fix – Aspect Ratio for Images */
.homepostsmain-left img,
.homeposts2-5-box img,
.lesingle .homeposts2-5-box img,
.homeposts3-box img,
#bannerBot img {
  width: 100%;
  height: auto;
  display: block;
}
#bannerBot {
  min-height: 100px;
  width: 100%;
  position: fixed;
  bottom: 0;
  z-index: 9999;
  background: #fff; /* או שקוף */
}
#bannerBot img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 5; /* לדוגמה: 320x100 */
}
.homeposts2-5-box img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 1; /* יחס של 300x100 */
}

.homepostsmain-left img { aspect-ratio: 16 / 9; }
.homeposts2-5-box.banner img {
    aspect-ratio: 3 / 3.65;
    margin-bottom: 0;
}
.homeposts2-5-box img { aspect-ratio: 4 / 3; }
.lesingle .homeposts2-5-box.banner img {
	aspect-ratio: 3 / 3.65;
}
.lesingle .homeposts2-5-box img { aspect-ratio: 4 / 3; }
.homeposts3-box img { aspect-ratio: 16 / 9; }
#bannerBot img { aspect-ratio: 16 / 5; }

#bannerBot {
  min-height: 100px;
}




.metasingle {
	bottom: 30px;
    font-size: 14px;
    color: #919191;
	margin-bottom:20px;
}
.risingle {
	font-size:18px;
	line-height:1.3;
}
.risingle p {
	font-size:18px;
	line-height:1.3;
	margin: 10px 0;
}
.lesingle .homeposts2-5-box h2 {
	position: relative;
	padding-bottom:10px;
	margin-bottom:10px;
}
.lesingle .homeposts2-5-box h2:after {
    display: block;
    content: '';
    width: 100px;
    height: 2px;
    background: #f01d26;
    display: block;
    bottom: 0;
    right: 0%;
    position: absolute;
}
.lesingle .homeposts2-5-box {
    border-bottom: 2px solid #dddddd;
    margin-bottom: 25px;
}
.relativeposts {
	padding: 30px 0;
}
.relativeposts h2.reltitle {
    font-size: 35px;
}
.rowcatlink0si a.homecatlink {
    padding-right: 0px;
    padding-left: 7px;
}
.rowcatlink0si a.homecatlink:after {
    right: auto;
    left:0 ;
}

.rowcatlink0si a.homecatlink:last-child:after { display: none ;}
.rowcatlink0.rowcatlink0si {
    padding-bottom: 8px;
}
.home3random { width: 100% ; }

.ctadivall {
    display: flex;
    background-color: #ecf3f6;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    margin-top: 30px;
    border-radius: 8px;
}

.ctatitle {
    color: #000;
    font-weight: bold;
    font-size: 20px;
	line-height: 1.4;
}

.ctabtn a {
    background-color: #f01d26;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
	    white-space: nowrap;
}
.spacercat {
	width:100%;
	height: 30px;
}
.ctadivalltype2 {
    display: flex;
        justify-content: center;
    align-items: center;
    padding: 30px;
    margin-top: 10px;
}
.ctadivalltype2 .ctabtn a {
    display: inline-block;
    background: linear-gradient(to bottom, #f44336, #c62828);
    color: white;
    font-family: 'Heebo', sans-serif;
    font-weight: bold;
    font-size: 22px;
       padding: 17px 35px;
    border-radius: 40px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid #b71c1c;
    transition: background 0.3s ease;
    direction: rtl;
}
.ctadivalltype2 .ctabtn a:hover {
    background: linear-gradient(to bottom, #e53935, #b71c1c);
}



@media (max-width: 4770px) and (min-width: 800px) {
.html_header_top.html_header_sticky #top #wrap_all #main {
    padding-top: 129px !important;
}
#header_main {
    margin-top: -1px;
}


}
@media (min-width: 801px) {
    .firstheader {
        transition: height 0.3s ease, opacity 0.3s ease;
        height: auto; /* Default height */
        opacity: 1;
        overflow: hidden; /* Prevents content from overflowing during animation */
    }

    #header.scrolled .firstheader {
        height: 0;
        opacity: 0;
        padding: 0; /* Prevents extra spacing */
        margin: 0;
    }
}



@media (max-width: 770px) and (min-width: 300px) {
    .secondheader , .hebrew-clock{
		display: none;
	}
	.responsive #top #wrap_all #header.scrolled {
        position: fixed !important;
	 }
	 .homepostsmain-container {
		flex-direction: column-reverse;
	}
	.homepostsmain-right {
		width: 100%;
		padding: 0 15px;
	} 
	.homepostsmain-left {
		width: 100%;
	} 
	.homepostsmain-left img {
		margin-bottom: 10px;
	} 
	.homepostsmain-right h2 {
    font-size: 32px; 
	}
p.shorttexth {
    margin: 0;
}
.homepostsmain-right  .metahome {
    position: static;
    margin: 20px 0; 
}
.homeposts2-5-container {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping to a new row */
    gap:  0px;
    justify-content: space-between;
	padding: 0;
	background: transparent ;
}
.homeposts2-5-container.secpost2 {
  min-height: 200px; /* הערך המדויק תלוי בעיצוב שלך */
}

.homeposts2-5-box img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1; /* מותאם ל־300x100 */
  display: block;
}
.homeposts2-5-box img {
  aspect-ratio: 4 / 3;
}


.homeposts2-5-container > * {
    flex9: 0 1 calc(50% - 10px); /* 50% width minus half the gap */
	width: 100% !important; /* Full width */
    padding: 15px;
}
.secpost2 .thumbbox  img { display: none ;}
.homeposts2-5-box {
	background: #fff;
	margin-top: 15px;
}	
.categoryposts .homeposts2-5-box:not(:first-child) .thumbbox img ,
.relativeposts .categoryposts .homeposts2-5-box .thumbbox img {
  display: none;
}


.homeposts2-5-box h2 {
    padding-bottom: 5px;
}
.homeposts3-box {
    width: 100%; 
}

.categorybot3 {
    flex-direction: column;
}
.homeposts3-box {
    border-left: 0px solid #fff;
    border-bottom: 3px solid #fff;
}
.archive .secpost2 {
    margin-bottom: 0px; 
}
.categorybot3 {
	margin-top:10px;
}
.archive .homepostsmain-right {
    padding-right: 15px;
}
.mainsingle {
    flex-direction: column;
}
.risingle {
	width: 100%;
	padding: 15px;
}
.lesingle {
		width: 100%;
	padding: 15px;
}
.ctadivall {
    justify-content: space-between;
    padding: 10px;
    flex-direction: column;
}
.ctatitle {
	padding-bottom:30px;
	text-align: center;
	font-size:25px;
}
.ctabtn { padding-bottom:20px;}



}