/*
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
-------------------------------------------------------------- */

.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); 
}
.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 #login {
	float:right;
}
#Action_bar #login a {
    color: #00c4b3;
}

/*=============== General styling ===============*/
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;
}
a.wp-block-button__link {
    border-radius: 0;
    background-color: #1f2033;
}
a.wp-block-button__link:hover {
    text-decoration:none;
}

/*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 .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;
}
.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*/
/*.archive.tax-reseaarch_subject .extra_content {
	display: none;
}*/
.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,.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 {
    font-size: 16px;
}
.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 {
  background: none;
  color: #00add8;
}
.tribe-events-c-subscribe-dropdown__container {
  position: absolute;
  z-index: 999;
}

/*=============== 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: #00c4b3;
    font-size: 2em;
    display: block;
    line-height: 2em;
    margin-bottom: 20px;
}

@media (max-width: 767px) {
#login {
    float: none;
    text-align: center;
}
#login li {
    padding: 0 0 12px;
}

}

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