/*----------------------------------------------------------------- */
/* 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;
}

.bricks-nav-menu .bricks-menu-item a,
.brxe-icon-box .content a
{
	position: relative;

	text-decoration: none;
}

.bricks-nav-menu .bricks-menu-item a::after,
.brxe-icon-box .content a::after
{
	position: absolute;
	bottom: -4px;
	left: 0;

	width: 100%;
	height: var(--menu-link-underline-height, 2px);

	content: '';
	transition: transform 0.3s ease-in-out;
	transform: scaleX(0);
	transform-origin: right;

	background-color: currentColor;
}

.bricks-nav-menu .bricks-menu-item a::after
{
	bottom: 5px;
}

.bricks-nav-menu .bricks-menu-item a:hover::after,
.brxe-icon-box .content a:hover::after
{
	transform: scaleX(1);
	transform-origin: left;
}

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

/* --- CARDS --- */

.e_card_about:hover,
.e_card_about
{
	transition: var(--wm-transition-duration__default);
}

.e_card_about .e_card_about_text p
{
	transition: text-decoration-color 0.3s ease-in-out;
	text-decoration: underline;

	text-decoration-color: transparent;
}

.e_card_about:hover .e_card_about_text p
{
	text-decoration-color: currentColor;
}

.e_card_about .e_card_about_text p
{
	position: relative;

	display: inline;
}

.e_stepcard_text.brxe-text a
{
	color: currentColor;
}

.e_review .brxe-video
{
	border-radius: var(--wm-design_border-radius);
}

/** ACCORDION **/

.e_accordion_open
{
	display: flex;
	flex-direction: column;

	gap: 15px;
}

.e_accordion_open .accordion-item
{
	padding: var(--wm-padding__container_mobile) var(--wm-padding__container_mobile) 23px var(--wm-padding__container_mobile);

	border: 2px solid var(--wm-color__bg);
	border-radius: 16px;
	background-color: var(--wm-color_light-bg);
}

.e_accordion_open .accordion-content-wrapper
{
	display: block !important;
	overflow: visible !important;

	height: auto !important;
}

.e_accordion_open .accordion-title-wrapper
{
	cursor: default;
	pointer-events: none;
}

/* --- TIMELINE --- */

.e_timeline
{
	position: relative;

	display: grid;

	grid-template-columns: repeat(6, 1fr);
	grid-template-rows: 1fr 40px 1fr;
}

/* Dashed linka přes celý řádek 2 */
.e_timeline::before
{
	align-self: center;

	width: calc(100% + 10px);
	height: 1px;
	margin-left: -5px;

	content: '';

	background-image: repeating-linear-gradient(
	to right,
	#ccc 0px,
	#ccc 20px,    /* délka čárky */
	transparent 20px,
	transparent 28px  /* délka mezery */
	);

	grid-column: 1 / -1;
	grid-row: 2;
}

/* Liché položky nahoru, sudé dolů */
.e_timeline-item:nth-child(odd)
{
	align-self: end;

	grid-row: 1;
}
.e_timeline-item:nth-child(even)
{
	align-self: start;

	grid-row: 3;
}

.e_timeline-dot
{
	z-index: 1;

	align-self: center;

	width: 14px;
	height: 14px;

	border-radius: 50%;
	background: #f5a623;

	grid-row: 2;
}

.e_timeline-item:nth-child(1)
{
	align-self: end;

	grid-column: 1;
	grid-row: 1;
}
.e_timeline-dot:nth-child(2)
{
	grid-column: 1;
}

.e_timeline-item:nth-child(3)
{
	align-self: start;

	grid-column: 2;
	grid-row: 3;
}
.e_timeline-dot:nth-child(4)
{
	grid-column: 2;
}

.e_timeline-item:nth-child(5)
{
	align-self: end;

	grid-column: 3;
	grid-row: 1;
}
.e_timeline-dot:nth-child(6)
{
	grid-column: 3;
}

.e_timeline-item:nth-child(7)
{
	align-self: start;

	grid-column: 4;
	grid-row: 3;
}
.e_timeline-dot:nth-child(8)
{
	grid-column: 4;
}

.e_timeline-item:nth-child(9)
{
	align-self: end;

	grid-column: 5;
	grid-row: 1;
}
.e_timeline-dot:nth-child(10)
{
	grid-column: 5;
}

.e_timeline-item:nth-child(11)
{
	align-self: start;

	grid-column: 6;
	grid-row: 3;
}
.e_timeline-dot:nth-child(12)
{
	grid-column: 6;
}

@media (max-width: 800px)
{
	.e_timeline
	{
		display: flex;
		flex-direction: column;

		padding-left: 15px;

		border-left: none;
		background-image: repeating-linear-gradient(
		to bottom,
		#ccc 0px,
		#ccc 20px,
		transparent 20px,
		transparent 28px
		);
		background-repeat: repeat-y;
		background-position: left center;
		background-size: 2px 100%;
	}

	.e_timeline::before
	{
		display: none;
	}

	.e_timeline-item:nth-child(odd) p
	{
		margin-bottom: 0;
	}

	/* Schovat samostatné dot elementy */
	.e_timeline-dot
	{
		display: none;
	}

	/* Reset grid placement na všech itemech */
	.e_timeline-item
	{
		position: relative;

		align-self: unset;

		padding: 15px 0;

		grid-column: unset !important;
		grid-row: unset !important;
	}

	/* Tečka přes pseudo */
	.e_timeline-item::before
	{
		position: absolute;
		top: 18px;
		left: -21px;

		width: 14px;
		height: 14px;

		content: '';

		border-radius: 50%;
		background: #f5a623;
	}
}

/* --- ICON BOXES --- */

.e_iconbox_advantage .content > p:first-child:not(:last-child)
{
	font-size: var(--wm-font-size__h4);

	margin-bottom: 10px;
}

/* --- GENERAL --- */

strong
{
	font-weight: 900;
}

.brxe-post-content .wp-block-heading
{
	margin: var(--wm_gap_m) 0 var(--wm-padding__container_mobile) 0;
}

.brxe-post-content :where(p),
.brxe-post-content ol,
.brxe-post-content ul
{
	margin: 0 0 var(--wm-padding__container_mobile) 0;
}

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

/* --- 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_orange);
}

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

.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 .ff-el-input--label label
{
	color: var(--wm-color__dark);
}

.fluentform .ff_upload_btn.ff-btn
{
	border-radius: 24px;
}

.brxe-shortcode .fluentform .ff-el-group.disable-margin
{
	margin-bottom: 0;
}

.brxe-shortcode .fluentform button
{
	width: 100%;
}

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

.brxe-shortcode .fluentform .ff-el-group:last-child
{
	border-bottom: 0;
}

.brxe-shortcode .fluentform .ff-el-group.ff_submit_btn_wrapper
{
	text-align: center;
}

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

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

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

	border-color: var(--wm-color__dark);
	border-radius: 8px;
}

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

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

.brxe-shortcode .fluentform .ff-custom_html p,
.brxe-shortcode .fluentform .ff_t_c
{
	font-size: 1.6rem;

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

/*.brxe-shortcode .fluentform .ff-custom_html p a
{
	color: var(--wm-color__hover);
}*/

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