/*
Theme Name: 	Betheme Child
Theme URI: 		http://themes.muffingroup.com/betheme
Author: 		Muffin group
Author URI: 	http://muffingroup.com
Description:	Child Theme for Betheme - Premium WordPress Theme
Template:		betheme
Version: 		1.6.1
*/

/* Theme customization starts here
-------------------------------------------------------------- */

:root {
  --tec-font-family-sans-serif: "Roboto",Helvetica,Arial,sans-serif !important;
  --secondary-color: #0067a2;
  --tec-color-text-events-title: var(--secondary-color);
  --link-hover: #00add8;
}

.section-border-bottom {
  border-bottom: 1px solid #dddddd;
}

/* Icon box */
.icon_box .desc_wrapper {
  margin: 0 5%;
}

/* Header */
.tr-menu.header-classic #Top_bar:not(.is-sticky) {
  background-color: rgba(255, 255, 255, 1) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
#Action_bar {
  font-weight: bold;
}
.header-classic #Action_bar .contact_details li,
.header-classic #Action_bar .social,
.header-classic #Action_bar .social-menu,
.header-classic #Action_bar #login li {
  padding: 12px 0;
}
#Action_bar a {
  text-decoration: none;
}
#Action_bar #login {
  float: right;
}
#Action_bar #login a {
  color: #fff;
}
#Top_bar .menu a {
  font-weight: bold;
  font-size: 15px;
  text-decoration: none;
}

/*=============== General styling ===============*/
body #Subheader {
  padding: 145px 0 70px;
}
body.bbpress #Subheader ul.breadcrumbs {
  width: 100%;
}
body #Subheader ul.breadcrumbs li,
body #Subheader ul.breadcrumbs li a,
body #Subheader ul.breadcrumbs li span,
body #Subheader ul.breadcrumbs .bbp-breadcrumb-current,
body #Subheader ul.breadcrumbs .icon-right-open {
  opacity: 1;
  color: #fff;
}
#Content {
  padding-bottom: 40px;
}
.gallery .gallery-item img {
  margin: 0 auto;
}
.post-photo-wrapper .image_wrapper {
  background-color: #eee;
}
.post-photo-wrapper .image_wrapper a {
  text-align: center;
}
.button-default .button,
.button-flat .button,
.button-round .button,
a.wp-block-button__link {
  border-radius: 0;
  background-color: var(--secondary-color) !important;
}
a.wp-block-button__link:hover {
  text-decoration: none;
}
a {
  text-decoration: underline;
}

/*Post index pages*/
#Filters .filters_wrapper ul li a {
  color: #58595b;
}

/*=============== Header Search Form ===============*/
.site-header .search-form {
  position: absolute;
  right: 200px;
  top: 200px;
}

.site-header .search-field {
  background-color: transparent;
  background-image: url(images/search-icon.png);
  background-position: 5px center;
  background-repeat: no-repeat;
  background-size: 24px 24px;
  border: none;
  cursor: pointer;
  height: 37px;
  margin: 3px 0;
  padding: 0 0 0 34px;
  position: relative;
  -webkit-transition: width 400ms ease, background 400ms ease;
  transition: width 400ms ease, background 400ms ease;
  width: 0;
}

.site-header .search-field:focus {
  background-color: #fff;
  border: 2px solid #c3c0ab;
  cursor: text;
  outline: 0;
  width: 230px;
}
.search-form .search-submit {
  display: none;
}

/*=============== Homepage ===============*/
.home .mfn-main-slider.mfn-rev-slider {
  margin-top: 90px;
}
.home .blog_wrapper .post-author,
.home .blog_wrapper .date .label,
.home .blog_wrapper .date .icon-clock {
  display: none;
}
.home .blog_wrapper h2.entry-title {
  font-size: 21px;
  line-height: 1em;
}
.home .blog_wrapper h2.entry-title a {
  color: #000 !important;
}
.home .blog_wrapper .post-excerpt {
  display: none;
}
.home .tribe-events-list-widget-events {
  box-sizing: content-box;
  display: inline-block;
  padding-left: 0;
}
.home .post-photo-wrapper .image_wrapper > a {
  height: 190px;
  align-items: center;
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.home .post-photo-wrapper:not(.no_link) img:not(.ls-l) {
  min-width: 100%;
  min-height: 110%;
  flex-shrink: 0;
  margin-bottom: 0 !important;
  object-fit: cover;
}
.home .column.mcb-column.mcb-item-gkqkj7kx6.one-third.column_livesearch {
  width: 100%;
  padding: 0;
}
.searchbar_widget,
aside#search-3 {
  margin-bottom: 0;
  padding-bottom: 0;
}

/*Login widget*/
.lwa-submit-links {
  text-align: left;
}

/*=============== Single Post Items ===============*/
.post-nav.minimal a.home {
  display: none;
}

/*=============== Research resources and Shem Tov pages ===============*/
.page-template-page-research-resources #Filters .filters_wrapper,
.page-template-page-shem_tov #Filters .filters_wrapper {
  display: block;
}

/*For pages that use the "Shem Tov Issue Index Pages" page template*/
.page-template-page-issue_index td {
  text-align: left;
}
.page-template-page-issue_index td ul {
  margin-bottom: 0;
}
.page-template-page-issue_index td li {
  list-style: none;
  margin-bottom: 0;
  display: inline-block;
}
.page-template-page-issue_index td li::before {
  content: " | ";
}
.page-template-page-issue_index td li:first-child::before {
  content: "";
}

/*Login links on top of the header*/
#login {
  float: right;
}
#login li {
  padding: 12px 0;
}

/*For posts that have no featured image*/
.post-item.no-img .post-photo-wrapper {
  display: none;
}
.post-item.no-img .post-desc-wrapper {
  width: 100%;
}

/*Shem Tov and Research Resources Taxonomy Archive pages*/
.tax-subject .category {
  display: none;
}

/*Other items*/
.category.shem-tov-categories {
  margin-right: 10px;
}

/*=============== Rotenberg Ledger pages ===============*/
.page-template-page-rotenberg-index .the_content_wrapper {
  margin-left: 0px;
  margin-bottom: 40px;
}
.page-template-page-rotenberg-index td,
.page-template-page-rotenberg-index th {
  text-align: left;
}
.rotenberg-nav {
  margin-bottom: 30px;
  width: 100%;
  overflow: hidden;
}
.rotenberg-nav div,
form.rotenberg-pagination {
  display: block;
  float: left;
  width: 45%;
}
form.rotenberg-pagination {
  float: right;
  width: 50%;
  text-align: right;
}
form.rotenberg-pagination label,
form.rotenberg-pagination input[type="text"],
form.rotenberg-pagination button {
  display: inline-block;
  font-weight: normal;
  margin-bottom: 0;
}

/*=============== Speakers Profile pages ===============*/
.single-speakers .section-post-about,
.single-speakers .section-post-comments {
  display: none;
}

/*=============== Research Links pages ===============*/
.categories.links td {
  text-align: left;
}

/*=============== "custom menu 404"  ===============*/
div.custom-menu-404 ul {
  list-style-type: none;
  list-style: none;
  list-style-image: none;
  margin: 0 0 20px 0;
}
div.custom-menu-404 li {
  padding: 5px 20px;
  display: inline-block;
}
/*=============== "Members Area" page ===============*/
.page-template-page-member .the_content_wrapper {
  margin-left: 0px;
  margin-bottom: 40px;
}
.widgets-members-area {
  overflow: hidden;
  padding-bottom: 20px;
}
.widgets-members-area .menu li {
  border-color: rgba(0, 0, 0, 0.08);
  border-width: 1px;
  display: block;
  float: left;
  width: 100%;
  border-style: solid;
  padding: 10px;
  box-sizing: border-box;
}

/*=============== Events Calendar items (Calendar, event profiles) ===============*/
.tribe-events-calendar thead th,
#tribe-bar-form label,
.tribe-event-duration,
.tribe-event-description,
.tribe-events-meta-group,
#tribe-events-content .tribe-events-calendar td div,
#tribe-events-content .tribe-events-calendar td div a,
ul.tribe-events-sub-nav a,
.tribe-events-back a,
#tribe-events-content .tribe-events-button,
ul.tribe-events-sub-nav a,
.tribe-events-back a,
.tribe-events-calendar-month__header-column-title,
.tribe-events-calendar-month__calendar-event-details * {
  font-size: 16px !important;
}
.tribe-event-duration,
.tribe-event-description {
  color: #58595b;
  padding-bottom: 10px;
}
.tribe-events-meta-group {
  color: #58595b;
}
.tribe-events .tribe-events-calendar-month__day {
  border: solid 1px #ccc; 
}
.tribe-events .tribe-events-calendar-month__day-cell--mobile {
  background-color:transparent;
}
.tribe-events-calendar-month__day--current > button {
  background-color: var(--tec-color-accent-primary) !important;
}
.tribe-events .tribe-events-c-top-bar__datepicker-button, 
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-text,
body .tribe-events a.tribe-events-calendar-day__event-title-link {
  background: none;
  color: var(--link-hover);
}
.tribe-events-c-subscribe-dropdown__container {
  position: absolute;
  z-index: 999;
}
.tribe-events-c-subscribe-dropdown__button:hover button,
.tribe-events-c-subscribe-dropdown__button--active button {
  color: #fff !important;
}

/* New widget 2021 */
.ect-list-post.style-2 {
  border-radius: 0 !important;
}
#ect-events-list-content .ect-list-img {
  background-size: contain !important;
  background-position: top !important;
  background-repeat: no-repeat;
  background-color: transparent !important;
}
#ect-events-list-content .ect-list-post-right,
.tribe-events-c-top-bar__datepicker button,
.tribe-events-c-subscribe-dropdown__button-text {
  color:rgb(64, 64, 64) !important;
  background-color: transparent !important;
}
.ect-list-post-right .ect-list-post-right-table {
  display: flex;
  flex-wrap: wrap-reverse;
  height: auto;
}
.ect-list-post-right .ect-list-post-right-table > div {
  display: block !important;
  width: 100%;
}
#ect-events-list-content .ect-list-post-right .ect-list-description {
  border: none !important;
  box-shadow: none !important;
}
#ect-events-list-content .style-2 .modern-list-right-side {
  background-color: #58c1b2 !important;
  box-shadow: inset 0 0 50px -5px #48a497 !important;
}
.modern-list-right-side .ect-list-date .ect-date-area {
  text-align: left;
  line-height: inherit !important;
}
.modern-list-right-side .ect-list-date .ect-date-area .ev-mo {
  font-size: 0.75em;
  clear: none;
  width: auto;
}
.modern-list-right-side .ect-list-date .ect-date-area .ev-day {
  width: auto;
}
.ect-list-description .ect-event-content p {
  display: none !important;
}
.tribe-events-calendar-month__body a {
  color: var(--secondary-color);
}
.tribe-events-calendar-month__body a:hover {
  color: #00c4b3 !important;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__next, 
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__prev {
  color: var(--secondary-color);
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__next:hover, 
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__prev:hover {
  color: var(--link-hover);
}

/*=============== Forums ===============*/
#bbpress-forums,
.bbp-forum-description,
p.bbp-topic-description,
.bbp-body,
#bbpress-forums .bbp-forum-info .bbp-forum-content,
#bbpress-forums p.bbp-topic-meta,
span.bbp-admin-links a {
  font-size: 16px !important;
  color: #58595b;
}
#bbp_topic_submit,
#bbpress-forums ul.bbp-lead-topic,
#bbpress-forums ul.bbp-topics,
#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-search-results,
#bbp_reply_submit,
#members-list .item a,
#members-list .item span,
#pag-top,
#pag-bottom,
#buddypress .comment-reply-link,
#buddypress .generic-button a,
#buddypress .standard-form button,
#buddypress a.button,
#buddypress input[type="button"],
#buddypress input[type="reset"],
#buddypress input[type="submit"],
#buddypress ul.button-nav li a,
a.bp-title-button,
#buddypress .activity-list li.mini,
#buddypress span.activity {
  font-size: 16px !important;
}

/*=============== Login error pages and Error 404 pages ===============*/
.error_msg {
  text-align: center;
}
.error_msg .jgs_logo {
  display: block;
  height: auto;
  width: 300px;
  margin: 0 auto 30px;
}
.error_msg span {
  color: var(--secondary-color);
  font-size: 2em;
  display: block;
  line-height: 2em;
  margin-bottom: 20px;
}

/*=============== Footer ===============*/
#Footer .widgets_wrapper {
  padding: 20px 0 !important;
}

/*=============== Miscellaneous styles ===============*/
.no-bottom-margin {
  margin-bottom: 0;
}
