/**
 * Trimmed from the inline <style> blocks in wp-content/themes/veeva2015/archive-events.php -
 * only the bootstrap-multiselect skin overrides, the filter-pill style, and the
 * page-specific accordion/filter overrides that aren't already covered by the
 * sitewide veeva-2024-bundle stylesheet.
 */

/*
 * The shortcode template wraps its .filter-nav/.veeva-2024 output in this element so
 * the JS and the rules below have a single container to scope to, but the original
 * archive-events.php layout has those two blocks as real first-level siblings.
 * display:contents drops this element's own box so its children lay out exactly as
 * if it weren't there, while keeping it in the DOM for selector/JS targeting.
 */
[data-veeva-custom-events] {
	display: contents;
}

/*
 * The events list is hidden by an inline style until this stylesheet loads, to avoid
 * a flash of unstyled content. Override that inline style once this CSS is applied.
 */
#veeva-events-list {
	display: block !important;
}

.veeva-custom-events .btn-default {
	color: #01040b;
	border-radius: 20px;
	background-color: #eef1f5 !important;
	border: none;
	font-size: 18px;
	text-align: left;
	font-weight: 600;
	padding: 12px 24px;
	max-width: 330px;
}

.veeva-custom-events .btn-default .caret {
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: 2px;
	vertical-align: middle;
	border-top: 7px solid;
	border-right: 7px solid transparent;
	border-left: 7px solid transparent;
	float: right;
	margin-top: 10px;
}

.veeva-custom-events .btn-group.open .dropdown-toggle {
	-webkit-box-shadow: none;
	box-shadow: none;
}

.veeva-custom-events .btn:active,
.veeva-custom-events .btn.active {
	outline: 0;
	background-image: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.veeva-custom-events .form-horizontal .btn-wrap {
	float: none;
	display: inline-block;
	padding: 5px 5px;
}

@media (max-width: 1200px) {
	.veeva-custom-events .form-horizontal .btn-wrap {
		float: none;
		display: block;
		padding: 5px 5px;
	}
}

.veeva-custom-events .multiselect-container > li > a > label.checkbox {
	margin: 0;
	background-color: #eef1f5;
	padding-top: 7px;
	padding-bottom: 7px;
	padding-left: 24px;
	font-size: 16px;
	font-weight: 500;
}

.veeva-custom-events .checkbox input[type="checkbox"] {
	position: absolute;
	margin-left: -20px;
	right: 40px;
}

.veeva-custom-events .multiselect-container {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1000;
	display: none;
	float: left;
	min-width: 320px;
	padding: 10px 0;
	margin: 10px 0 0;
	list-style: none;
	font-size: 14px;
	text-align: left;
	border-radius: 24px;
	background-color: #eef1f5;
	border: none;
	-webkit-box-shadow: 0 6px 12px rgba( 0, 0, 0, 0.175 );
	box-shadow: 0 6px 12px rgba( 0, 0, 0, 0.175 );
	font-family: Poppins, sans-serif;
}

.veeva-custom-events .open .multiselect-container.dropdown-menu {
	display: block;
}

.veeva-custom-events .open .multiselect-container.dropdown-menu > li > a {
	white-space: normal;
}

.veeva-custom-events .button-cancel {
	all: unset;
	align-items: center;
	border-radius: 500px;
	display: inline-flex;
	flex-direction: row;
	flex-shrink: 0;
	font-family: Poppins, sans-serif;
	font-size: 12px;
	font-weight: 400;
	gap: 8px;
	justify-content: center;
	line-height: 1.4;
	overflow: hidden;
	padding: 8px 16px;
	transition: all 0.3s ease-in-out;
	background: #eef1f5;
	color: #01040b;
	margin: 5px 5px 5px 0;
}

.veeva-custom-events .accordion-drawer.active {
	margin-top: 20px;
}

.veeva-custom-events [data-veeva-events-error] {
	padding-top: 20px;
	padding-bottom: 20px;
	border-radius: 32px;
	background: #fff5f5;
	border-color: #feb2b2;
}

.veeva-custom-events [data-veeva-events-error] p {
	margin: 0;
	color: #cc1f1f;
	font-weight: bold;
}

.veeva-2024 .accordion-block__wrapper {
	max-width: 1400px !important;
}

.veeva-2024 .accordion-block--subheading-gradient-orange .accordion-block__section-title {
	margin-bottom: 15px;
	margin-top: 40px;
	margin-left: 5px;
}

@media ( min-width: 767px ) {
	.veeva-2024 .accordion-block--subheading-gradient-orange .accordion-block__section-title {
		margin-left: -15px;
	}
}

.veeva-2024 .accordion-drawer .accordion-button {
	background: transparent;
	padding: 40px 24px 25px;
}

.veeva-2024 .accordion-drawer .accordion-button__content {
	grid-template-columns: none;
}

.veeva-2024 .accordion-drawer .accordion-button__subtitle {
	font-size: 20px;
	gap: 0rem;
	width: auto;
}

.veeva-2024 .accordion-drawer .accordion-button__subtitle span {
	display: inline-block;
	margin-right: 10px;
}

.veeva-2024 .accordion-drawer .accordion-body__content a:not( .button-text-link ) {
	color: white;
}

.veeva-2024 .accordion-drawer .accordion-button__subtitle .date span {
  display: block;
  font-weight: 400;
  margin-top: 5px;
}

.veeva-2024 .button-primary {
	margin: 20px 0;
}

@media ( min-width: 768px ) {
	.filter-nav .container {
		max-width: 90vw;
		width: 100%;
		margin-top: 30px;
	}
}

@media ( min-width: 992px ) {
	.filter-nav .container {
		max-width: 960px;
		width: 100%;
		margin-top: 30px;
	}
}

@media ( min-width: 1200px ) {
	.filter-nav .container {
		max-width: 1140px;
		width: 100%;
		margin-top: 30px;
	}
}

@media ( min-width: 1400px ) {
	.filter-nav .container {
		max-width: 1320px;
		width: 100%;
		margin-top: 30px;
	}
}

@media ( min-width: 1600px ) {
	.filter-nav .container {
		max-width: 1440px;
		width: 100%;
		margin-top: 30px;
	}
}
