/*
Theme Name: Betheme
Theme URI: https://themes.muffingroup.com/betheme/
Author: Muffin group
Author URI: https://muffingroup.com/
Description: The biggest WordPress Theme ever
License: Themeforest Split Licence
License URI: https://themeforest.net/licenses/standard
Text Domain: betheme
Requires PHP: 7.0
Version: 28.2.1

All css files are placed in /css/ folder
*/
.Latest_news.featured ul
{float: right !important;}

.blog_slider .blog_slider_ul .blog_slider_li .item_wrapper .date_label {
display:none !important;
}

@media only screen and (min-width: 1240px) {
    .header-stack.header-center #Top_bar #menu {
        display: block !important;
    }
}

.header-stack.header-center #Top_bar:not(.is-sticky) .menu_wrapper {
    width: 100%;
    /*background-color: #F2F2F2;*/
	background: url(/mjmaa/wp-content/uploads/2026/02/bg_pattern1.jpg)
}

.header-stack #Top_bar.is-sticky .top_bar_right {
    position: unset;
    display: none;
}

.no_content, .section-page-footer
{
	display: none !important;
}

#Footer {
    background-color: #ccebe5;
	padding: 0px;
	margin-top: 0px;
}

.mfn-footer .footer_copy {
    border-top: 1px dotted #c4c4c4;
}

.footer_copy {
    background-color: #2caf96;
}

.Latest_news.featured ul.ul-first {
    padding: 5px 0px 0px 20px;
}
/***section-title-ar****/
.section-title-ar{
  direction: rtl;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0px;
}

.section-title-ar h2{
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: #2fa58f; 
  position: relative;
  padding-right: 14px;
}


.section-title-ar h2::before{
  content: "";
  position: absolute;
  right: -18px;
  top: 44%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: #c61f2f; 
  transform: rotate(45deg);
}


.section-title-ar .titlerow{
  flex: 1;
  height: 6px;
  background:
    linear-gradient(to left, #2fa58f 0%, #2fa58f 0%, transparent 0%) left center / 100% 3px no-repeat,
    repeating-linear-gradient(
      to left,
      rgba(198,31,47,.8) 0px,
      rgba(198,31,47,.8) 6px,
      transparent 6px,
      transparent 14px
    );
  border-radius: 4px;

  -webkit-mask-image: linear-gradient(to left, black 20%, transparent 100%);
  mask-image: linear-gradient(to left, black 20%, transparent 100%);
}
/********/

/*fix search width - menu*/
#Top_bar .top_bar_right .top-bar-right-input input {
    width: 160px;
}

/*fix arrow padding - menu*/
.menuo-arrows:not(.keyboard-support) #Top_bar .menu > li.submenu > a:not(.menu-toggle) > span {
    padding-left: 30px;
	padding-right: 20px;
}

/*fix arrow padding - menu*/
.menuo-arrows:not(.keyboard-support) #Top_bar .menu > li.submenu > a:not(.menu-toggle):after {
    left: 10px;
    right: auto;
}
/*menu font size*/
nav#menu ul li a span {
    font-size: 15px;
}

/********upper part open***********/
.culture-intro-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 35px;
  align-items: stretch;
  /*padding: 55px 5%;*/
		padding: 30px 0px 0px 0px;
  /*background: linear-gradient(135deg, #f7faf5, #ffffff);*/
  direction: rtl;
}

.culture-text-box {
background-image:url(https://site.qsm.ac.il/mjmaa/wp-content/uploads/2026/02/bg_pattern1.jpg#2493);
background-repeat:repeat;
background-position:center;
  /*background: #244f55; */
  color: #fff;
  padding: 20px 40px 40px 40px;
  border-radius: 24px;
		text-align: justify;
}

.culture-label {
  display: inline-block;
  color: #2fa58f;
  margin-bottom: 12px;
  font-weight: bold;
}

.culture-text-box h2 {
  font-size: 30px;
  margin: 0 0 18px;
  /*color: #fff;*/
		color: #244f55;
}

.culture-text-box p {
  line-height: 2;
  font-size: 17px;
  /*color: #f4f4f4;*/
		color: #000000;
}

.culture-btn {
  display: inline-block;
  margin-top: 18px;
  background: #c61f2f;
  color: #fff;
  padding: 11px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.25s ease;
}

.culture-btn:hover {
  background: #2fa58f;
  color: #fff;
}

.culture-latest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.culture-post-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: 0.25s ease;
}

.culture-post-card:hover {
  transform: translateY(-5px);
}

.culture-post-image-link {
  display: block;
}

.culture-post-card img {
  width: 100%;
  /*height: 145px;*/
	height: 120px;	
  object-fit: cover;
  display: block;
}

.culture-post-content {
  /*padding: 16px;*/
		padding: 10px;
}

.culture-post-cat {
  display: inline-block;
  background: rgba(47,165,143,0.12);
  color: #2fa58f;
  font-size: 13px;
  font-weight: bold;
  padding: 5px 11px;
  border-radius: 20px;
  text-decoration: none;
  margin-bottom: 8px;
}

.culture-post-cat:hover {
  background: #2fa58f;
  color: #fff;
}

.culture-post-title {
  text-decoration: none;
}

.culture-post-content h3 {
  font-size: 14px;
  color: #244f55;
  line-height: 1.45;
  margin: 5px 0 8px;
		
	 display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;	
}

.culture-post-date {
  font-size: 13px;
  color: #c61f2f;
  font-weight: bold;
}

a.culture-post-cat:hover, a.culture-btn:hover {
    text-decoration: none;
}

@media (max-width: 900px) {
  .culture-intro-section {
    grid-template-columns: 1fr;
    padding: 35px 20px;
  }

  .culture-text-box {
    padding: 32px 24px;
  }

  .culture-text-box h2 {
    font-size: 27px;
  }

  .culture-text-box p {
    font-size: 16px;
  }

  .culture-latest-grid {
    grid-template-columns: 1fr;
  }
}
/********upper part end***********/

/*****breacramb*********/
#Subheader .title {
	  line-height: 1.4;
}

@media (min-width: 960px) {
#Subheader ul.breadcrumbs {
    float: right !important;
    text-align: right !important;
}

#Subheader .title {
    width: calc(70% - 20px) !important;
}
}
/***************/
/*category descreption hide in mneu*/
#Top_bar .menu li ul li span.description
 {
display: none;
}
/*in mobile*/

#menu-main-menu li.menu-item-object-category span.description
 {
display: none !important;
}

/**/

.list-2-c {
    columns: 2;
    column-gap: 34px;
}

hr.dotted
{
border-top: 1px dotted #d0d0d0;
}

/*****staff open*******/
.staff-body {
    margin: 0;
    background: #ffffff;
    color: #3f3126;
    line-height: 1.7;
}

.staff-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.staff-title {
    font-size: 30px;
    font-weight: 700;
    color: #3f3126;
    margin: 0 0 18px;
    text-align: center;
}

.staff-intro {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 15px;
    color: #6a5a4d;
}


.staff-group {
    margin-bottom: 55px;
}

.group-title {
    font-size: 22px;
    font-weight: 700;
    color: #3f3126;
    margin: 0 0 24px;
    padding-right: 14px;
    border-right: 5px solid #C12030;
    position: relative;
}

.group-title::after {
    content: "";
    display: block;
    width: 70px;
    height: 2px;
    background: #cea6aa;
    margin-top: 10px;
}

.staff-grid-top {
    display: grid;
    grid-template-columns: repeat(2, 360px); 
    justify-content: center; 
    gap: 28px;
}

.staff-grid-two,
.staff-grid-four {
    display: grid;
    gap: 28px;
}

.staff-grid-two {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
}

.staff-grid-four {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
}


.staff-card {
    background: #ffffff;
    border: 1px solid rgba(63, 49, 38, 0.12);
    border-top: 4px solid #C12030;
    padding: 28px 20px 24px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(63, 49, 38, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(63, 49, 38, 0.12);
}


.staff-photo-wrap {
    width: 150px;
    height: 150px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 0 0 1px rgba(237, 112, 58, 0.25), 0 6px 18px rgba(63, 49, 38, 0.10);
    background: #f7f4f2;
}

.staff-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    display: block;
}

.staff-info h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    color: #3f3126;
    line-height: 1.5;
}

.job-title {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 13px;
    color: #2fa58f;
    font-weight: 700;
}

ul.job-title li
{
text-align:right;
color: #000000;
font-weight: normal;
} 

ul.job-title
{
padding-right:10px;
} 

.staff-info a {
    display: inline-block;
    color: #6b625d;
    text-decoration: none;
    font-size: 14px;
    word-break: break-word;
    transition: color 0.3s ease;
}

.staff-info a:hover {
    color: #C12030;
    text-decoration: underline;
}


@media (max-width: 992px) {
    .staff-grid-four {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
    }

    .staff-grid-top {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .staff-grid-top,
    .staff-grid-four {
        grid-template-columns: 1fr;
    }

    .staff-title {
        font-size: 26px;
    }

    .group-title {
        font-size: 20px;
    }

    .staff-card {
        padding: 24px 18px 22px;
    }
}
/******staff end*******/
#Footer {
    border-top: 1px solid #2caf96;
}

@media only screen and (max-width: 767px) {
    #Subheader {
        padding: 30px 0;
    }
}

#onetap-language-list .onetap-icon img, nav.onetap-accessibility.onetap-plugin-onetap .onetap-container .onetap-accessibility-settings header.onetap-header-top .onetap-list-of-languages ul li button img 
 { display: none !important;}
