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

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

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

#brx-header.scrolling {
	transition: box-shadow var(--wm-transition-duration__default);

	box-shadow: 0 0 30px 4px rgba(0, 0, 0, 0.04);
}

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

/* active menu item on CPT singles */
#brx-header .bricks-nav-menu .active-item_archive-ancestor > a {
	color: var(--wm-color__brown);
}

#brx-header .bricks-nav-menu a {
	transition: color var(--wm-transition-duration__default) !important;
}

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

/* --- GENERAL --- */
.brxe-post-content h2,
.brxe-post-content h3,
.brxe-post-content h4 {
	display: flex;
	flex-direction: column;

	gap: 20px;
}

.brxe-post-content h2:after,
.brxe-post-content h3:after,
.brxe-post-content h4:after {
	display: block;

	width: 50px;
	height: 2px;

	content: "";

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

#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-image,
.wp-block-video,
figcaption,
figure {
	margin: 0;
}

[class^="wp-block-"]:not(
		.wp-block-spacer,
		.wp-block-columns,
		.wp-block-column
	) {
	margin-bottom: 40px !important;
}

.wp-block-columns {
	margin-bottom: 0;

	gap: 40px;
}

@media (max-width: 760px) {
	[class^="wp-block-"] {
		margin-bottom: 20px !important;
	}

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

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

a.wp-element-button,
.btn {
	font-size: var(--wm-font-size__default);
	font-weight: 300;
	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__brown);
}

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

/* --- 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: var(--wm-color__black);
}

.brxe-post-content ul ul > li::marker,
.brxe-text 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: var(--wm-color__black);
}

.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);
}

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

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

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

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

	height: 50px;
	padding-right: 15px;
	padding-left: 15px;

	border-color: var(--wm-color__brown-light);
	border-radius: 0;
	transition: border-color var(--wm-transition-duration__default);
}

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

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

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

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

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

.brxe-shortcode .fluentform .ff-custom_html a:hover {
	text-decoration: none;
}

.brxe-shortcode .fluentform .ff-btn {
	font-family: "Roboto", sans-serif;

	margin-top: 15px;
	padding: 12px 24px;

	transition: background 0.5s, border-color 0.5s, color 0.5s;
	text-transform: uppercase;

	border: none;
	border-radius: 0;
	background: var(--wm-color__brown);

	line-height: normal;
	font-size: var(--wm-font-size__default);
	color: var(--wm-color__white);
	font-weight: 300;
	text-align: center;
	text-transform: none;
}

.brxe-shortcode .fluentform .ff-btn:hover {
	background: var(--wm-color__brown-light);
}

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

	text-align: center;

	color: #fff;
	border: none;
	background: #4caf50;
	box-shadow: none;
}

@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;
}

#brx-footer a {
	text-decoration: none;
}
