/* m21 blue = #2d327b */

:root {
    
  --red: #ff0000;
    --light-blue: #00b1e2;

	--general:#444;
    --extra-light-gray:#f6f6f6;
    --light-gray:#ddd;
    --medium-gray:#888;
    --dark-gray:#444;
    
    --header-height:70px;
    --sticky-header-height: 50px;
    
    --menu-items-padding-x: 10px;
    --menu-items-padding-y: 25px;
    
    --menu-sticky-items-padding-x: 10px;
    --menu-sticky-items-padding-y: 15px;
	

    --border-radius-600: calc(var(--border-radius-general) * 6);
    --border-radius-300: calc(var(--border-radius-general) * 3);
    --border-radius-100: var(--border-radius-general);
	--border-radius-50: calc(var(--border-radius-general) / 2);
	--border-radius-0:0px;
	
}


#header,
#header-wrap {
	height: var(--header-height);
}

#header.sticky-header,
#header.sticky-header #header-wrap
 { height: var(--sticky-header-height); }


#header #primary-menu > ul > li > a{
    line-height: 20px;
    padding:var(--menu-items-padding-y) var(--menu-items-padding-x);
	color:   var(--menu_text_color); 
}
#header.sticky-header #primary-menu > ul > li > a{
    padding:var(--menu-sticky-items-padding-y) var(--menu-sticky-items-padding-x);
}



#top-search {
/*    padding:var(--menu-sticky-items-padding-y) 0;*/
}

#top-search a, #primary-menu-trigger {
width:50px;
height:var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
	color: var(--menu_text_color);
}

#header.sticky-header #top-search a{ height:var(--sticky-header-height)}

#logo {border-radius:20px;}
#logo img {padding:5px; width: auto;}
#header:not(.sticky-header) #logo img {height: 110px;}
#header.sticky-header #logo img {height: 50px; padding: 0px; }


.top-search-open #top-search form input {height: var(--header-height); padding:var(--menu-items-padding-y) 50px;}
.sticky-header #top-search form input {height: var(--sticky-header-height);  padding:var(--menu-sticky-items-padding-y) 50px;}

.border-radius-50 {border-radius:var(--border-radius-50);}
.border-radius-100 {border-radius:var(--border-radius-100);}
.border-radius-300 {border-radius:var(--border-radius-300);}
.border-radius-600 {border-radius:var(--border-radius-600);}

.h100 { height: 100%;}
.w100 { width: 100%;}
.w50 {width: 50%;}
.maxh100 { max-height: 100%;}
.maxw100 { max-width: 100%;}
.p-absolute {position: absolute;
/*    top: 0;*/
    right: 0;
    left: 0;
    bottom: 0; }

.fs100 {font-size: 100%;}
.fs120 {font-size: 120%;}
.fs140 {font-size: 140%;}
.fw800 { font-weight: 800;}
.fw400 { font-weight: 400;}
.text-white { color: white;}
.text-black { color: black;}

.img_portrait, .img_less_300 { width: 50%; float: right; margin-inline-start: 30px;}
.img_landscape.img_more_300 { width: 100%; }


*:focus {

   /* outline: none!important;
/* outline-offset: 3px;*/

}
::placeholder {line-height: 2!important;}

.highlight-me { outline-style:solid; outline-color: transparent;  }

.button-dark, .button-dark a { color: #fff!important;}
.button-light {color:var(--red);}




/*comments */
.comment-body p {margin-bottom: 0;}
.comment-reply-btn {background-color: transparent; padding: 0 auto; margin: 0; color: var(--red);}
#akengage-comment-editor {margin-bottom: 20px;}
.comment-item::marker {
  color: var(--red);
  font-size: 120%;
}
.comment-item li::marker {
 color: var(--light-blue);
     font-size: 100%;
}

.comments_number_badge {
    border: 2px solid var(--brand-color);
    border-radius: 50%;
    padding: 0 8px;
    font-size: 70%;}

.rtl {direction: rtl!important;}
.ltr {direction: ltr!important;}
a:not(.item_content):not(.button):not(.homepage_mod_title *) {color: var(--general);}
a:hover {color: var(--red);}

a.view_all_link {color: var(--brand-color); font-style: italic; text-align: left;}
#content p {
    line-height: 1.6;
}
html, body  {font-size: var(--font-size); line-height: 1.3; color:black; }
#content { padding-top: 40px;


}
.homepage #content { padding-top: 15px;}




.menu_title  {font-family: 'Assistant', sans-serif; }
.cf-btn { padding: 10px!important;}
.article_subtitle {font-size: 80%;}

.small, small {
    font-size: .75em;
}

.bg_brand-color {background: var(--brand-color); color: white!important;}
.bg_dark-brand-color {background: var(--dark-brand-color); color: white!important;}
.bg_dark-brand-color > *, .bg_whatsapp > *,.bg_dark-red > *  {color: white!important;}
.bg_light-blue {background: var(--brand-color); color: white!important;}
.bg_extra-light-gray {background: var(--extra-light-gray); }
.bg_light-gray {background: var(--light-gray); }
.light-blue,.light-blue *, .color_light-blue  { color: var(--brand-color);}
.bg_yellow {background: var(--brand-color); color: black!important;}
.bg_yellow >*  { color: black!important;}
.bg_red {background: var(--red); color: white!important;}
.bg_dark-red {background: var(--red); color: white!important;}
.color_dark-red {color: var(--red); }
.bg_whatsapp {background: #25D366; color: white!important;}
.color_whatsapp {color: #25D366;}
.bg_black { background-color: black!important;}
.bg_dark-brand-color {background: var(--dark-brand-color); }

.white_text * {color: white!important;}
.black_text * { color: black!important;}
.text_dark-brand-color, .text_dark-brand-color * {color: var(--dark-brand-color)!important; }

/*.vr_border_left {border-left: 1px solid var(--light-gray);}*/
.grid-container {height: 2000px;}
.uppercase { text-transform: uppercase;}

.chrono_credits { display: none;}
div.chronoform {display: none!important;}
.chronoforms6_credits {display: none;}
.gcore-form-row { margin-bottom: 20px;}

.absolute-middle {position: absolute; left: 50%; top: 25%; margin-left: -30px;  z-index: 1; color: #fff; font-size: 50px; line-height: 1;}

button { border: 0;}
.button-rounded {border-radius: var(--border-radius-50);}

.overlay_button {position: absolute;
    z-index: 2;
    font-size: 150%;
    width: 40px;
    height: 40px;
    line-height: 1;
    border-bottom-left-radius: 25px;

}/* used to position button on top of modal corner */
iframe { width: 100%;}

.cf-input {}

.header-extras {float: left;}
.header-extras ul {list-style: none;display: flex; padding: 0; margin: 0;
    justify-content: flex-end;}
.header-extras ul li {display: block;
    margin-right: 30px;}
.header-extras ul li:first-child{margin: 0;}
.header-extras .he-text {float: right;}
.header-extras .he-text span { display: block; white-space: nowrap;}



.homepage_mod_title * { padding: 0; margin: 0; }

.homepage_mod_title, .homepage_mod_title a { color: var(--brand-color);
}

.homepage_mod_title {min-height: 45px; align-items: center; display: flex;padding-bottom: 20px;
}

.homepage_mod_title H3, .homepage_mod_title H2 { font-size: 200%;  }
.homepage_mod_title span { float: left; text-align: left;  font-weight: 400; font-size: 90%;}
.homepage_mod_title span * {color:var(--medium-gray);}

.module_header {font-size: 200%;  color: var(--brand-color);}
.article_sidebar .homepage_mod_title {
    display: flex;
    justify-content: center!important;
    
} 
img.center {width: 100%!important}

.homepage section:nth-child(odd):not(#content) { background: rgba(85,201,162,0.2); padding: 30px 0;
    margin: 30px 0;}
/*.homepage #top-bar { height: 95px;}*/

#top-bar.transparent_topbar {position: absolute;}
#top-bar .dark_topbar * {color: white;}

#top-bar { border-bottom: 1px solid #eee;}
#topbar-menu li { border-left: 1px solid #eee;}
#topbar-menu li:first-child { border-right: 1px solid #eee;}
.item_content a.button, .item_content a.btn { text-decoration: none!important;}


.item_content h2{ text-align: right;}
.item_content  {  line-height: 1.6!important;text-align: justify;}
.item_content  p { }
.item_content a { text-decoration: underline;}
/* for scrollto data-href links */
.show_on_homepage { display: none!important;}
.homepage .show_on_homepage {display: flex!important;}

.hide_on_homepage { display: flex!important;}
.homepage .hide_on_homepage {display: none!important;} 

.radio { }

.page-title-box { background-color: rgba(0,0,0,0.3); padding: 20px;}
.page-title-border {height: 5px; width: 100%; background: var(--brand-color);}
#page-title { background-color: var(--brand-color); color: #fff;}

.page-title-black {background: black; padding: 10px 30px;}
#page-title * {color: #fff;}


#page-title h1 {text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); }
#page-title span, #page-title span * {color: white;margin: 0; font-weight: 300}
.topborder { border-top: 1px solid #ddd;}
.breadcrumb *, .breadcrumb-item + .breadcrumb-item::before {color: var(--dark-brand-color); font-weight: 700; display: flex;}

/*.breadcrumb-item + .breadcrumb-item::before {content: '»'; font-size: 120%;}*/

.header_image_thumb { border-radius: var(--border-radius-300);    height: 110px;
    width: 110px;
    margin-top: 10px!important;
    background-size: cover;
    background-color: #222;
    background-position: center;
}
/*
.hex {
    width: 110px;
    height: 95px;
    box-sizing: border-box;
    -webkit-clip-path: polygon(0% 50%, 25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%);
    -moz-clip-path: polygon(0% 50%, 25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%);
}
.hex img {object-fit: cover;}
*/

.inline_article_mod i {width: 70px;
    height: 70px;
    color: var(--red)!important;
    background: white;
    border-radius: var(--border-radius-600);
    font-size: 200%;
    display: flex;
    flex: 0 0 auto;
    margin-left: 15px;
    align-items: center;
    justify-content: center; }

.portfolio-overlay {
	background-color: var(--brand-color);opacity: 0.2;
}

table th p { margin: 0;}
#content ul:not(.sidenav):not(.entry-meta), #content ol:not(.sidenav):not(.breadcrumb) {padding: 0 20px;}
.article_sidebar {
	background: white;
	border-radius: var(--border-radius-100);
	box-shadow: 0px 0px 30px -20px rgb(1 1 1 / 60%);
	margin-bottom: 30px;
        
 }

.article_sidebar ul {padding: 0!important;list-style: none;}
.article_sidebar .row { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #eee}
.article_sidebar .row:last-child {   border-bottom: 0px none}
.article_sidebar h4 { margin-bottom: 5px;}
.article_sidebar i { font-size: 80%; }

.videoWrapper iframe{border-radius: var(--border-radius-100);}

.entry-meta {list-style: none; font-size: 90%; padding:0; color: var(--medium-gray);display: flex;}

/*.entry-meta li::after { content: '/'; padding: 0 10px; }*/

.article_sidebar h3 span { font-size: 100%!important;}

.article_sidebar .meta {font-weight: 700;}
.cube::before {content: '';
    content: '';
    border-right: 5px solid var(--dark-brand-color);
    padding-left: 5px;
    display: inline-block;

    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;

}

.article_sidebar img { width: 100%}


h1, h2, h3 {font-weight: 800;  }
h1 { font-weight: 800;line-height: 1; font-size: 220%; }
h4 { font-size: 100%;}
h5 { font-size: 80%;font-weight: 600!important;}
h5 strong {font-weight: 600!important;}


.emphasis_opening {font-weight: 600!important;color: #444;}


.container .container {padding: 0!important;}

.mod-languages {line-height: 22px;  font-size: 120%;}
.mod-languages li a {text-transform: uppercase; color: var(--brand-color);padding: 0 5px;}
.mod-languages li.lang-active a {color: var(--red);border-left: 3px solid var(--red)!important;}
.mod-languages li.not-active { }


/*.long_title {font-size: 200%;}*/
video {width:100%; height: auto;}
.entry-image img {object-fit: cover;
    object-position: center;
    height: 100%;
    position: absolute;
    top: 0;
}
.entry-image {padding-top: 56%;}

.entry-image > a {
    position: absolute;
    top: 0;
    padding-top: 70%;}




.pdf_popup{width: 100%; height: 700px;}


.share_article { 
/*    background: red;*/
/*    color: white;*/
/*    padding: 11px 5px 11px 0;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    position: relative;*/
    /* right: -10px;*/
/*    margin-left: 10px;*/
}

/*
.share_article::after{content: "";
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 10px solid red;
    position: absolute;
    left: -10px;}
*/

.oc-item .entry-image { }
.oc-item .entry-image img {height: 300px;
    object-fit: cover;
    object-position: left;} /* home maccabiah history items */




/* entry */

.scalein {

  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}
.scalein {
-webkit-transform:scale(1);
transform:scale(1)
}

.scalein:hover  {
-webkit-transform:scale(1.05);
transform:scale(1.05)
}

.entry .entry-image {
/*

-webkit-box-shadow: 0px 0px 35px -20px rgba(0,0,0,1);
-moz-box-shadow: 0px 0px 35px -20px rgba(0,0,0,1);
box-shadow: 0px 0px 35px -20px rgba(0,0,0,1);
*/
    background: var(--light-gray);

}


/* MAIN MENU */
#primary-menu > ul > li:last-child a {
padding-right:15px; /* if we have search icon then we need padding*/
}

#primary-menu ul ul { 
	border: 0 none;	
    background: white;
}
#primary-menu ul li a {text-align: right;}

#primary-menu ul ul li > a {/* submenu level menu */
    padding-top: 10px;
    padding-bottom: 10px;
 
}


#primary-menu ul li.current > a, #primary-menu ul li.active > a {
    background-color: var(--brand-color);
    color: white!important;

}

#primary-menu ul ul li.current > a, #primary-menu ul ul li.active > a {border: 0; border-radius: 0;}


#primary-menu ul ul:not(.mega-menu-column) {
/*    display: block!important; */
    /* remove*/
    box-shadow: 0px 0px 20px -10px #000;
    padding-bottom: 0;

  
}
#primary-menu ul ul li {
    border-bottom: 1px solid var(--light-gray);
}



#primary-menu ul li.current > a, #primary-menu ul li.active > a {
}



.acym_form .onefield input { margin-bottom: 10px; border: 0;}
.modal-content { border: 0; border-radius: 0;}



#logo img { height: 100px;}


/* SUBMENU */

.submenu ul.nav-child { padding: 0 0 0 25px; }



.article_date { display: block; color: var(--brand-color);font-size: 80%; margin-top: 10px;}
/* maccabiah history */


.masonry-thumbs a {padding: 5px; }


.divider i.i-text {background: #eee;
    width: auto; z-index: 1;  text-transform: uppercase;
padding: 20px 30px;
    display: inline-flex;
    align-items: center;}



#copyrights {
	background: rgba(0,0,0,0.2);}
#copyrights .col_one_fourth { margin-bottom: 0!important;}
#copyrights .widget_links a { white-space: nowrap;}
.device-xs #copyrights li.divider { display: none;}



.result-title {font-size: 120%;}


.pagenumber {font-size: 130%; text-align: center;}


.pagination li a:hover {
    background: rgb(224,210,161);
}

.pagination li a, .pagination li span { height: auto!important; min-height: auto!important;}


.page-item.active {
    z-index: 1;
    color:var(--red);
    border-color:var(--red);
}

.page-item a, .page-item span { padding: 5px 10px; background: #efefef; margin: 2px;}

/* Acymailling styles */
.archiveRow {padding: 10px 0; border-top: 1px solid #fff;}
.acymailing_online {display: none;}







.accessibility{
	position: absolute;
	right: -99999px;
	left: auto;
	height: 10px;
	width: 10px
}

.skip_helpers{
    position: absolute;
	right: 0;
	left: auto;
	top: 0;
	width: 100%;
    margin-right: 0;
	text-align: center;
	list-style: outside none;
}

.skip_helpers li{ list-style-type: none }

.skip_helpers a{
	position: absolute;
	right: -99999px;
	left: auto;
	top: 30px;
}


.skip_helpers a:focus, .skip_helpers a:active{
	position: relative;
	right: 0;
	left: auto;
    top: 0;
	z-index:9999;
	width: 75%;
	height: auto;
	margin: 0 auto;
	padding: 10px;
	text-align: center;
	text-decoration: none;
	letter-spacing: -4px !important;
	font-size:  50px;

	color: #000;
	background: white;
}







#footer {background-size: contain; background-repeat: no-repeat; background-position: center top; font-weight: 100;}



.nowrap { white-space: nowrap;}

/* footer menus */
.footerMenu {}

.footer_menu_tpl { margin-bottom: 30px!important;}
.footer_menu_tpl a { position: relative; padding: 3px 0; display: block;}
.footer_menu_tpl .current a  { padding-right: 20px;}

.footer_menu_tpl .current a::before  {    content: '';
    position: absolute;
    border-right: 10px solid var(--brand-color);
    border-top: 10px solid var(--footer_bg_color);
    border-bottom: 10px solid var(--footer_bg_color);
    top: 3px;
    right: 0; }

.device-xs .footer_menu_tpl {text-align: center;}

.footer_logo {min-width: 50px; margin: 0px 0px 0 20px;}

.menu-seperator {padding: 0 10px;}

#cookie-notification.dark {
    background-color: rgba(0,0,0,0.85);
    color: #fff;
}
#cookie-notification.dark a:not(.button-red) {color: var(--brand-color);}

/* search */
.controls { display: flex; flex-direction: column;}
#searchForm label { padding: 5px 0px}
#searchForm input{ margin-right: 5px}
#searchForm hr {margin: 10px 0!important;}
.highlight {border-bottom: 1px dotted #666;}
.search-results .line { margin: 20px 0;}

#quick_menu {
    position: fixed;
    bottom: 0;
    z-index: 98;
    width: 100%;
    background-color: #efefef;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    margin: 0;
    display: flex;
    list-style: none!important;
}
#quick_menu li {
   
    font-weight: 700;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 7px 0;
}

#quick_menu li * {
  
    font-weight: 700;
    
}

#quick_menu li:before {
  font-size: 110%;margin-right: 0; 
}


/**** rbnm TAGS *****/

.rbnm-item-image {
/*    border: 3px solid var(--brand-color);*/
    border-radius: var(--border-radius-600);
    overflow: hidden;
    width: 100%;
    padding-top: 100%;
    position: relative;
    margin-bottom: 10px;
/*    box-shadow:0 0px 15px -5px #000;*/
}
.rbnm-item-image img {position: absolute; 
top: 0;
bottom: 0;
left: 0;
right: 0;
object-fit: cover;
opacity: 1!important; background: white;
height: 100%;}




#rbnm_tags_on_mod { position: absolute; top: 0; right: 0; margin: 10px 20px;display: flex;align-items: center; }
#rbnm_tags_on_mod .rbnm-item-image {width: 60px!important; height: 60px!important; padding: 0; float: right;margin: 0; position: relative; z-index: 2;}
#rbnm_tags_on_mod .rbnm_tags_on_mod_title {position: relative;z-index: 1; background: white; color: #666; padding: 3px 20px 3px 15px; margin-right: -5px;
    border-bottom-left-radius:10px; border-top-left-radius: 10px; font-size: 80%;white-space: nowrap; float: right;}

.rbnm-item-title {font-weight: 600;}


.tag-active .rbnm-item-image {box-shadow: 0px 0px 0px 3px var(--brand-color)}
.tag-active .rbnm-item-image img {}
/**** rbnm TAGS *****/


/*#header, #header-wrap { height: 70px;position: absolute; top: 0;width: 100%;}*/

/**** @ media queries ****/
@media (min-width: 768px) and (max-width: 991px) {
    #logo {height: auto!important;}
    .mobile-max-width { max-width: 100%!important;}
    .homepage_mod_title span {  font-size: 70%;}

}



@media (max-width: 1199px) {
#logo img { max-width: 230px;}

     #header #primary-menu > ul > li > a{
    line-height: 20px;
    padding:var(--menu-items-padding-y) calc(var(--menu-items-padding-x) - 5px);
        font-size: 100%;
}
#header.sticky-header #primary-menu > ul > li > a{
    padding:var(--menu-sticky-items-padding-y) calc(var(--menu-sticky-items-padding-x) - 5px);
}
}


@media (min-width: 1000px) and (max-width: 1025px) {
	
	.navbar-toggler {
    padding: 1rem .75rem;
    font-size: 1rem;
	}
    
   
    
    
    
}

@media (min-width: 992px)  {
/*    #header {box-shadow: 0 0 10px rgb(0 0 0 / 10%);}*/
}

@media (max-width: 991px) {

#primary-menu > ul, #primary-menu > div > ul {}


    #primary-menu > ul {position: absolute; left:12px;top: calc(var(--header-height) + 12px);min-width:250px; padding: 10px; background: var(--mainbarBG); color: var(--menu_text_color); }
    #primary-menu > ul > li {border-bottom: 1px solid var(--light-gray); background: white; }
    #primary-menu ul li.current > a, #primary-menu ul li.active > a {
    border-radius: 0;
        border: 0 none;
    }
    #primary-menu ul ul:not(.mega-menu-column) {
/*     display: block!important; */
    box-shadow: 0;

    padding-bottom: 0;
    margin-top: 0;
        border-radius: 0;

        border-top: 0 none;
    }
    
    
#header:not(.responsive-sticky-header) #logo img {height: 80px; padding: 5px;}
#header.responsive-sticky-header #logo img {height: 70px; padding: 5px; }
    
    #header-wrap > .container {align-items: center;}

    #primary-menu-trigger i {font-size: 140%; color: var(--menu_text_color);}
    #primary-menu-trigger span { color: var(--menu_text_color);}
    
    #top-search #searchword::-moz-placeholder {color: var(--menu_text_color);}
    #top-search #searchword:-ms-input-placeholder {color: var(--menu_text_color);}
    #top-search #searchword::-webkit-input-placeholder {color: var(--menu_text_color);}
    #primary-menu ul li a {color: black;}
      
 .news_item_title h4, .news_item_title h3 {font-size: 120%;} 
.homepage_mod_title H3 { font-size: 150%; }
}

 
@media (max-width: 575px) {	
#footer .col { margin-bottom: 20px;}
    .content-wrap { padding-top: 0;} 
   
}


@media (max-width: 360px) {

	#logo  {max-width: 180px;}
	#logo img {width: 100%;}
.module_header.row {font-size: 150% !important;}
}




@media only screen and (max-width: 991px) {
    .module_header.row {font-size: 150% !important;}

}



