/* One surface for The Events Manager, Paid Memberships Pro, and Directorist. */

body.bambar-theme {
	--directorist-color-white: #fffdf8;
	--directorist-color-dark: #151515;
	--directorist-color-primary: #151515;
	--directorist-color-primary-rgb: 21, 21, 21;
	--directorist-color-secondary: #d9a414;
	--directorist-color-success: #4f6b62;
	--directorist-color-info: #2d3559;
	--directorist-color-warning: #d9a414;
	--directorist-color-danger: #9c5e44;
	--directorist-color-border: #151515;
	--directorist-color-border-gray: #e4d9c8;
	--directorist-color-bg-gray: #efe5d6;
	--directorist-color-light: #efe5d6;
	--directorist-color-btn: #151515;
}

body.bambar-theme .directorist-btn,
body.bambar-theme .directorist-btn-primary,
body.bambar-theme .pmpro_btn,
body.bambar-theme a.pmpro_btn,
body.bambar-theme input.pmpro_btn,
body.bambar-theme .em-booking-submit,
body.bambar-theme button.em-search-submit,
body.bambar-theme .em-search-submit {
	border-radius: 0 !important;
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

body.bambar-theme .directorist-btn-primary,
body.bambar-theme .pmpro_btn,
body.bambar-theme a.pmpro_btn,
body.bambar-theme input[type="submit"].pmpro_btn,
body.bambar-theme .em-booking-submit {
	background: #d9a414 !important;
	color: #151515 !important;
	border: 2px solid #151515 !important;
	box-shadow: 4px 4px 0 #151515;
	min-height: 48px;
	padding: 0.75rem 1.1rem;
}

body.bambar-theme .directorist-btn-primary:hover,
body.bambar-theme .pmpro_btn:hover,
body.bambar-theme .em-booking-submit:hover {
	background: #151515 !important;
	color: #efe5d6 !important;
}

/* Events Manager */
body.bambar-theme .em-item,
body.bambar-theme article.em-event,
body.bambar-theme .em-event-list .em-event {
	background: #fffdf8;
	border: 2px solid #151515;
	box-shadow: 6px 6px 0 #151515;
	margin-bottom: 1rem;
	padding: 0.9rem;
}

body.bambar-theme .em-item-title,
body.bambar-theme .em-event-title,
body.bambar-theme .em-item h3,
body.bambar-theme .em-event h3 {
	font-family: Fraunces, "Iowan Old Style", serif;
	font-weight: 560;
	letter-spacing: -0.03em;
	line-height: 1.05;
	color: #151515;
}

body.bambar-theme .em-item-title a,
body.bambar-theme .em-event-title a { color: #151515; text-decoration: none; }
body.bambar-theme .em-item-title a:hover,
body.bambar-theme .em-event-title a:hover { color: #9c5e44; }

body.bambar-theme .em-item-meta,
body.bambar-theme .em-event-meta,
body.bambar-theme .em-location-map-info {
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #4f6b62;
}

body.bambar-theme table.em-calendar {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	background: #fffdf8;
	border: 2px solid #151515;
	font-size: 0.78rem;
}
body.bambar-theme table.em-calendar th,
body.bambar-theme table.em-calendar td {
	border: 1px solid #e4d9c8;
	vertical-align: top;
	padding: 0.35rem;
}
body.bambar-theme table.em-calendar thead th {
	background: #2d3559;
	color: #efe5d6;
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 700;
}
body.bambar-theme table.em-calendar td.eventful,
body.bambar-theme table.em-calendar td.eventful-today { background: #efe5d6; }
body.bambar-theme table.em-calendar td.eventful-today,
body.bambar-theme table.em-calendar td.today { box-shadow: inset 0 -4px 0 #d9a414; }
body.bambar-theme table.em-calendar a { color: #151515; font-weight: 650; }
body.bambar-theme .em-cal-day-date { font-family: "Barlow Condensed", sans-serif; }

body.bambar-theme .em-search,
body.bambar-theme .em-search-form,
body.bambar-theme .em-booking-form {
	background: #fffdf8;
	border: 2px solid #151515;
	padding: 0.9rem;
	margin-bottom: 1rem;
}

body.bambar-theme .em-ticket {
	border-bottom: 2px solid #efe5d6;
	padding: 0.7rem 0;
}

@media (min-width: 800px) {
	body.bambar-theme table.em-calendar { font-size: 0.95rem; }
}

@media (max-width: 600px) {
	body.bambar-theme .em-booking-submit,
	body.bambar-theme .pmpro_btn,
	body.bambar-theme .directorist-btn-primary { width: 100%; }
}

/* Paid Memberships Pro */
body.bambar-theme .pmpro_card,
body.bambar-theme .pmpro_box,
body.bambar-theme #pmpro_account .pmpro_box {
	background: #fffdf8;
	border: 2px solid #151515;
	border-radius: 0;
	box-shadow: 6px 6px 0 #151515;
	padding: 1rem;
	margin-bottom: 1rem;
}

body.bambar-theme .pmpro_card_title,
body.bambar-theme .pmpro_card h2,
body.bambar-theme .pmpro_level h2,
body.bambar-theme #pmpro_levels h2 {
	font-family: Fraunces, "Iowan Old Style", serif;
	font-weight: 560;
	letter-spacing: -0.03em;
	color: #151515;
}

body.bambar-theme .pmpro_message {
	border: 2px solid #151515;
	border-radius: 0;
	padding: 0.8rem 1rem;
	background: #efe5d6;
	color: #151515;
}
body.bambar-theme .pmpro_error,
body.bambar-theme .pmpro_message.pmpro_error { background: #9c5e44; color: #fffdf8; }
body.bambar-theme .pmpro_success,
body.bambar-theme .pmpro_message.pmpro_success { background: #4f6b62; color: #fffdf8; }

body.bambar-theme #pmpro_account-links,
body.bambar-theme .pmpro_actions_nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
body.bambar-theme #pmpro_account-links a,
body.bambar-theme .pmpro_actions_nav a {
	font-family: "Barlow Condensed", sans-serif;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #2d3559;
}

body.bambar-theme table.pmpro_table,
body.bambar-theme #pmpro_levels_table {
	width: 100%;
	border-collapse: collapse;
	background: #fffdf8;
}
body.bambar-theme table.pmpro_table th,
body.bambar-theme #pmpro_levels_table th {
	background: #2d3559;
	color: #efe5d6;
	font-family: "Barlow Condensed", sans-serif;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-align: left;
	padding: 0.7rem;
}
body.bambar-theme table.pmpro_table td,
body.bambar-theme #pmpro_levels_table td {
	border-bottom: 1px solid #e4d9c8;
	padding: 0.7rem;
}

body.bambar-theme .pmpro_form_label,
body.bambar-theme .pmpro label {
	font-family: "Barlow Condensed", sans-serif;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
body.bambar-theme .pmpro_asterisk,
body.bambar-theme .pmpro_required { color: #9c5e44; }

/* Directorist */
body.bambar-theme .directorist-listing-single,
body.bambar-theme .directorist-card,
body.bambar-theme .atbd_single_listing {
	background: #fffdf8;
	border: 2px solid #151515 !important;
	border-radius: 0 !important;
	box-shadow: 6px 6px 0 #151515;
	overflow: hidden;
}

body.bambar-theme .directorist-listing-single__title,
body.bambar-theme .directorist-listing-single__title a,
body.bambar-theme .directorist-listing-title,
body.bambar-theme .directorist-listing-title a,
body.bambar-theme .atbd_listing_title a {
	font-family: Fraunces, "Iowan Old Style", serif;
	font-weight: 560;
	letter-spacing: -0.03em;
	color: #151515;
	text-decoration: none;
}

body.bambar-theme .directorist-listing-card-category,
body.bambar-theme .directorist-listing-category a,
body.bambar-theme .directorist-badge,
body.bambar-theme .atbd_badge {
	font-family: "Barlow Condensed", sans-serif;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: #d9a414;
	color: #151515;
	border-radius: 0 !important;
}

body.bambar-theme .directorist-listing-card-location,
body.bambar-theme .directorist-listing-card-price,
body.bambar-theme .directorist-pricing {
	font-family: "Barlow Condensed", sans-serif;
	letter-spacing: 0.04em;
	color: #4f6b62;
}

body.bambar-theme .directorist-pagination .page-numbers,
body.bambar-theme .directorist-pagination a {
	border-radius: 0 !important;
}

body.bambar-theme .directorist-search-form,
body.bambar-theme .directorist-advanced-filter,
body.bambar-theme .directorist-add-listing-form,
body.bambar-theme .directorist-form-section,
body.bambar-theme .directorist-user-dashboard,
body.bambar-theme .directorist-author-profile-area {
	background: #fffdf8;
	border: 2px solid #151515;
	border-radius: 0 !important;
	padding: 0.9rem;
}

body.bambar-theme .directorist-form-element,
body.bambar-theme .directorist-form-group .directorist-form-element,
body.bambar-theme .select2-container--default .select2-selection--single,
body.bambar-theme .select2-container--default .select2-selection--multiple {
	border: 2px solid #151515 !important;
	border-radius: 0 !important;
	min-height: 48px;
	background: #fffdf8 !important;
	color: #151515;
}

body.bambar-theme .directorist-user-dashboard__nav,
body.bambar-theme .directorist-user-dashboard-tab__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}
body.bambar-theme .directorist-user-dashboard__nav a,
body.bambar-theme .directorist-user-dashboard-tab__nav a,
body.bambar-theme .multistep-wizard__nav__btn {
	font-family: "Barlow Condensed", sans-serif;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border: 2px solid #151515;
	border-radius: 0 !important;
	color: #151515;
	background: #efe5d6;
	text-decoration: none;
	padding: 0.45rem 0.7rem;
}
body.bambar-theme .directorist-user-dashboard__nav a.active,
body.bambar-theme .directorist-tab__nav__link.active,
body.bambar-theme .multistep-wizard__nav__btn.active {
	background: #d9a414;
}

body.bambar-theme .directorist-single-wrapper,
body.bambar-theme .directorist-single-contents-area,
body.bambar-theme .directorist-card__body {
	font-family: Literata, "Iowan Old Style", serif;
}

body.bambar-theme .directorist-details-info-wrap,
body.bambar-theme .directorist-single-info {
	border-top: 2px solid #efe5d6;
	padding-top: 0.8rem;
}

body.bambar-theme .directorist-generic-header,
body.bambar-theme .directorist-header-bar,
body.bambar-theme .directorist-listings-header {
	font-family: "Barlow Condensed", sans-serif;
	letter-spacing: 0.06em;
}

body.bambar-theme .directorist-thumb-area img,
body.bambar-theme .directorist-listing-single__thumb img {
	width: 100%;
	object-fit: cover;
}

body.bambar-theme .directorist-map-wrapper,
body.bambar-theme .directorist-single-map { border: 2px solid #151515; }

body.bambar-theme .directorist-alert,
body.bambar-theme .directorist-notice {
	border: 2px solid #151515;
	border-radius: 0;
	background: #efe5d6;
	color: #151515;
}
