/*----------------------------------------------------------------- */
/* FRONT-END
/*----------------------------------------------------------------- */

/* GENERAL
----------------------------------------- */

.brxe-nav-menu a {
	transition: color var(--wm-transition-duration__default),
		background-color var(--wm-transition-duration__default);
}

.brxe-nav-menu .active-item > a {
	cursor: default;
	pointer-events: none;
}

.wm-text-nowrap {
	white-space: nowrap;
}

/* HEADER
----------------------------------------- */

/* active menu item on CPT singles */
.brxe-nav-menu ul > .active-item_archive-ancestor > a {
	font-weight: 700;
}

/* fix for bricks mobile menu */
#brx-header .brxe-nav-menu .bricks-mobile-menu {
	padding: 15px 0;
}

#brx-header .brxe-nav-menu.show-mobile-menu .bricks-mobile-menu-toggle span {
	background-color: var(--wm-color__white);
}

@media (max-width: 1024px) {
	/* own sticky solution */
	#brx-header {
		position: sticky;
		z-index: 999;
		top: 0;
	}
}

/* CONTENT
----------------------------------------- */

/* --- GENERAL --- */
/* #brx-content p,
#brx-content span
{
	line-height: var(--wm-line-height__default);
} */

.brxe-post-content[data-source="editor"] a:not(.wp-element-button),
.brxe-text a {
	transition: text-decoration var(--wm-transition-duration__default);
	text-decoration: underline;
}

.brxe-post-content[data-source="editor"] a:not(.wp-element-button):hover,
.brxe-text a:hover {
	text-decoration: none;
	text-decoration: underline transparent solid;
}

.wp-block-columns {
	gap: 40px;
}

.wp-block-image,
.wp-block-video,
figcaption,
figure {
	margin-top: 0;
}

.brxe-post-content[data-source="editor"] h2 {
	margin-top: 50px;
}

.brxe-post-content[data-source="editor"] h3 {
	margin-top: 40px;
}

.brxe-post-content[data-source="editor"] h4 {
	margin-top: 30px;
}

@media (max-width: 760px) {
	.brxe-post-content[data-source="editor"] h2 {
		margin-top: 40px;
	}

	.brxe-post-content[data-source="editor"] h3 {
		margin-top: 30px;
	}

	.brxe-post-content[data-source="editor"] h4 {
		margin-top: 20px;
	}
}

/* --- BUTTONS --- */
.wp-element-button,
.bricks-button,
.btn {
	margin-top: 20px;
}

a.wp-element-button,
.btn {
	font-size: var(--wm-font-size__default);
	font-weight: 400;
	line-height: normal;

	padding: 12px 24px;

	transition: background-color var(--wm-transition-duration__default);
	text-align: center;
	text-decoration: none;

	color: var(--wm-color__white);
	border: none;
	border-radius: 0;
	background-color: var(--wm-color__blue);
}

a.wp-element-button:hover,
.btn:hover {
	background-color: var(--wm-color__blue-dark);
}

/* --- LISTS --- */
.brxe-post-content ul,
.brxe-text ul {
	padding-left: 22px;
}

.brxe-post-content ol,
.brxe-text ol {
	padding-left: 26px;

	counter-reset: list-counter;
}

.brxe-post-content ol ol,
.brxe-text ol ol {
	padding-left: 40px;

	counter-reset: list-counter;
}

.brxe-post-content ul li,
.brxe-post-content ol li,
.brxe-text ul li,
.brxe-text ol li {
	margin-bottom: 5px;
}

.brxe-post-content ul li::marker,
.brxe-text ul li::marker {
	content: "●  ";

	color: currentColor;
}

.brxe-post-content ul ul > li::marker,
.brxe-text ul ul > li::marker {
	content: "⚬  ";
}

.brxe-post-content .happyfiles-gallery ul li::marker,
.brxe-text .happyfiles-gallery ul li::marker,
.brxe-post-content .happyfiles-gallery ul ul > li::marker,
.brxe-text .happyfiles-gallery ul ul > li::marker {
	content: "";
}

.brxe-post-content ol > li,
.brxe-text ol > li {
	counter-increment: list-counter;
}

.brxe-post-content ol > li::marker,
.brxe-text ol > li::marker {
	font-weight: 700;

	content: counters(list-counter, ".") ".  ";

	color: currentColor;
}

.brxe-post-content ul ul,
.brxe-post-content ul ol,
.brxe-post-content ol ol,
.brxe-post-content ol ul,
.brxe-text ul ul,
.brxe-text ul ol,
.brxe-text ol ol,
.brxe-text ol ul {
	margin-top: 5px;
	margin-bottom: 0;
}

/* --- TABLES --- */
.wm-table {
	overflow-y: auto;

	width: 100%;
}

.wm-table::-webkit-scrollbar {
	width: 12px;
	height: 12px;

	-webkit-appearance: none;
}

.wm-table::-webkit-scrollbar-thumb {
	border: 3px solid var(--wm-color__white);
	border-radius: 8px;
	background-color: rgba(0, 0, 0, 0.1);
}

.wm-table table {
	width: 100%;
	min-width: 560px;

	table-layout: fixed;
}

.wm-table table td,
.wm-table table th {
	padding: 10px 20px;
}

.wm-table table thead th,
.wm-table table thead td {
	text-align: left;

	color: var(--wm-color__white);
	background-color: var(--wm-color__blue);
}

.wm-table table tbody td {
	background-color: rgba(0, 0, 0, 0.1);
}

/* --- LABELS --- */
.wm-labels {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	align-items: center;
}

.wm-label {
	font-size: var(--wm-font-size__small);
	line-height: var(--wm-line-height__small);
	background-color: var(--wm-color__blue);
	border-radius: 50px;
	color: var(--wm-color__white);
	font-weight: 700;
	padding: 2px 11px;
	border: 2px solid var(--wm-color__blue);
}

.wm-label:hover {
	background-color: var(--wm-color__white);
	color: var(--wm-color__blue);
}

/* --- FORMS --- */
.wm-form-strong {
	font-weight: 700;
}

.brxe-shortcode .fluentform label {
	color: var(--wm-color__black);
	cursor: pointer;
}

.brxe-shortcode .fluentform .ff-el-group {
	margin-bottom: 15px;
}

.brxe-shortcode .frm-fluent-form .ff-t-container {
	gap: 15px;
}

.brxe-shortcode .fluentform .ff-el-form-control {
	font-size: 1.6rem;
	line-height: 50px;
	border-radius: 25px;

	height: 50px;
	padding-right: 15px;
	padding-left: 15px;
	background-color: var(--wm-color__white);

	border-color: var(--wm-color__black);
}

.brxe-shortcode .fluentform .ff-el-form-control:focus {
	border-color: var(--wm-color__blue);
}

.brxe-shortcode .fluentform textarea.ff-el-form-control {
	height: 150px;
	padding-top: 12px;
	padding-bottom: 12px;
}

.brxe-shortcode .fluentform textarea.ff-el-form-control.wm-textarea_custom {
	height: auto;
}

/* .brxe-shortcode .fluentform .ff-custom_html p {
	font-size: 1.3rem;
	line-height: 2.5rem;

	color: var(--wm-color__black);
} */

.brxe-shortcode .fluentform a {
	text-decoration: underline;
}

.brxe-shortcode .fluentform .ff-btn:not(.ff_upload_btn) {
	margin-top: 20px;
	padding: 13px 48px;

	transition: background 0.5s, border-color 0.5s, color 0.5s;

	color: #fff !important;
	border: 2px solid var(--wm-color__blue) !important;
	border-radius: 100px;
	background-color: var(--wm-color__blue) !important;
}

.brxe-shortcode .fluentform .ff-btn:not(.ff_upload_btn):hover {
	color: var(--wm-color__blue) !important;
	background: var(--wm-color__white) !important;
}

.brxe-shortcode .fluentform .ff-message-success {
	margin: 30px 0;

	text-align: center;

	color: #fff;
	border: none;
	background: var(--wm-color__blue);
	box-shadow: none;
	border-radius: 15px;
	cursor: default;
}

.brxe-shortcode .fluentform .ff-el-is-error .text-danger {
	padding-left: 24px;
}

.brxe-shortcode .fluentform .ff-step-titles li.ff_active,
.brxe-shortcode .fluentform .ff-step-titles li.ff_completed {
	color: var(--wm-color__blue);
}

.brxe-shortcode .fluentform .ff-step-titles li.ff_active:before,
.brxe-shortcode .fluentform .ff-step-titles li.ff_completed:before {
	background: var(--wm-color__blue);
}

.brxe-shortcode .fluentform .ff-step-titles li span {
	line-height: 1.8rem;
	display: inline-block;
}

/* CHECKBOX & RADIO FIELDS */
.brxe-shortcode .fluentform .ff-el-form-check input {
	display: none;
}

.brxe-shortcode .fluentform .ff-el-form-check label {
	position: relative;
	padding-left: 30px;
	display: block !important;
}

.brxe-shortcode .fluentform .ff-el-form-check label span:before,
.brxe-shortcode .fluentform .ff-el-form-check.ff-el-tc label:before {
	content: "" !important;
	display: block;
	position: absolute;
	left: 0;
	top: 5px;
	width: 14px;
	height: 14px;
	border: 1px solid var(--wm-color__black);
	background-color: var(--wm-color__white);
	transition: background-color var(--wm-transition-duration__default);
}

.brxe-shortcode
	.fluentform
	.ff-el-form-check
	input[type="radio"]
	+ span:before {
	border-radius: 50%;
}

.brxe-shortcode
	.fluentform
	.ff-el-form-check.ff_item_selected
	label
	span:before,
.brxe-shortcode
	.fluentform
	.ff-el-form-check.ff-el-tc.ff_item_selected
	label:before {
	background-color: var(--wm-color__black);
}

.brxe-shortcode .fluentform .ff-el-form-check .ff_t_c {
	display: block;
}

.brxe-shortcode .fluentform .ff-el-form-check .ff_tc_checkbox {
	display: none;
}

/* STEPS */
.brxe-shortcode .fluentform .ff-el-progress-status {
	font-size: var(--wm-font-size__small);
}

.brxe-shortcode .fluentform .ff-el-progress-bar span {
	font-size: 0;
}

.brxe-shortcode .fluentform .ff-step-titles li:before {
	border-radius: 50%;
	width: 30px;
	line-height: 28px;
	height: 30px;
	font-size: var(--wm-font-size__smallest);
}

.brxe-shortcode .fluentform .ff-step-titles li:after {
	top: 14px;
}

.brxe-shortcode .fluentform .ff-step-titles li.ff_active:after,
.brxe-shortcode .fluentform .ff-step-titles li.ff_completed:after {
	background: var(--wm-color__blue);
}

/* UPLOAD */
.brxe-shortcode .fluentform .ff-dropzone .ff_upload_btn.ff-btn {
	border-color: var(--wm-color__blue);
	margin-top: 10px;
	border-width: 2px;
}

@media (max-width: 760px) {
	.brxe-shortcode .fluentform .ff-el-form-control {
		line-height: 40px;

		height: 40px;
		padding-right: 15px;
		padding-left: 15px;
	}

	.brxe-shortcode .fluentform textarea.ff-el-form-control {
		height: 120px;
		padding-top: 10px;
		padding-bottom: 10px;
	}
}

/* FOOTER
----------------------------------------- */
#brx-footer address {
	font-style: normal;
}
