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

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

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

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

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

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

/* active menu item on CPT singles */
.brxe-nav-menu ul > .active-item_archive-ancestor > a {
	/* something here */
}

header .wpml-ls-legacy-dropdown
{
	width: auto;
}

header .wpml-ls-legacy-dropdown a,
header .wpml-ls-legacy-dropdown .wpml-ls-current-language:hover>a
{
	color: var(--wm-color__white);
	background-color: transparent;
}

header .wpml-ls-legacy-dropdown a 
{
    border: unset;
    padding: 0;
	font-size: var(--wm-font-size__h3);
	font-weight: 800;
}

header .wpml-ls-legacy-dropdown a:hover,
header .wpml-ls-legacy-dropdown .wpml-ls-current-language:hover>a
{
	background: transparent;
	color: var(--wm-color__accent-light);
}

header .wpml-ls-legacy-dropdown .wpml-ls-sub-menu
{
	border: unset;
}

header .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle
{
	padding-right: 32px;
}

header .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after
{
	top: calc(50% - 7px);
	border: unset;
	width: 11px;
    height: 13px;
	background-image: url("data:image/svg+xml,%3Csvg width='11' height='13' viewBox='0 0 11 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.49998 12.3739C5.30284 12.3739 5.10572 12.2254 4.95542 11.9289L0.225656 2.59505C-0.0752187 2.0013 -0.0752187 1.03864 0.225656 0.445131C0.526409 -0.148377 1.01413 -0.148377 1.31503 0.445131L5.49998 8.70423L9.68496 0.445419C9.98584 -0.148089 10.4735 -0.148089 10.7742 0.445419C11.0753 1.03893 11.0753 2.00159 10.7742 2.59534L6.04455 11.9292C5.89417 12.2257 5.69705 12.3739 5.49998 12.3739Z' fill='%23fff'/%3E%3C/svg%3E%0A");
}

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

.wp-block-image img {
	border-radius: 30px;
}

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

a.wp-element-button {
	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 {
	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: 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: 15px 15px 15px 0;
	text-align: left;
}

.wm-table tr th:nth-child(1),
.wm-table tr td:nth-child(1)
{
	width: 50%;
}

.wm-table tr th:nth-child(2),
.wm-table tr td:nth-child(2)
{
	width: 30%;
}

.wm-table tr th:nth-child(3),
.wm-table tr td:nth-child(3)
{
	width: 20%;
	padding-right: 0;
}

.wm-table table td a
{
	font-weight: 700;
}

/* --- FORMS --- */
.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;

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

	border-color: transparent transparent var(--wm-color__blue-dark) transparent;
	border-radius: 0;
}

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

.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 p a {
	color: var(--wm-color__blue);
}

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

	margin-top: 15px;
	padding: 16px 25px;

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

	color: #fff;
	border: 1px solid var(--wm-color__blue-dark);
	border-radius: 0;
	background: var(--wm-color__blue-dark);
}

.brxe-shortcode .fluentform .ff-btn:hover {
	border-color: var(--wm-color__blue);
	background: var(--wm-color__blue);
}

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

/* --- SEARCH --- */
.wm_search-group {
	margin-bottom: 50px;
}

.wm_search-group__title {
	margin-bottom: 20px;
	font-size: var(--wm-font-size__h2);
}

.wm_search-group__list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.wm_search-group__item {
	border-bottom: 2px solid var(--wm-color__black-lightest);
	transition: var(--wm-transition-duration__default);
	padding: 15px 0;
}

.wm_search-group__item:hover {
	border-color: var(--wm-color__blue);
}

.wm_search-group__item h3 {
	font-size: 1.6rem;
	font-weight: 700;
	margin-bottom: 10px;
}

.wm_search-group__item p {
	margin-bottom: 10px;
}

.wm_search-group__item-parent {
	display: block;
	margin-bottom: 10px;
}

.wm_search-group__item-url {
	font-style: italic;
	color: var(--wm-color__blue);
}

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