/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Description: Child theme for the reteststk.sk rebuild
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* Closed UAE dropdown keeps its nowrap items at natural width and overflows the viewport; clip only while closed so the open panel is untouched. */
@media (max-width: 1024px) {
	.hfe-nav-menu__layout-horizontal.hfe-dropdown:not(.menu-is-active) {
		overflow: hidden;
	}
}

.rt-card-link,
.rt-card-link p {
	margin: 0;
}

.rt-card-link a {
	color: #c8141b;
	font-weight: 700;
}

.rt-card-link a:hover {
	color: #a51016;
}

.rt-hero-contact a {
	color: #ffffff;
	text-decoration: underline;
}

.rt-checklist ul {
	margin: 0;
	padding-left: 1.2em;
}

.elementor-widget-text-editor h2,
.elementor-widget-text-editor h3 {
	margin: 1.4em 0 0.5em;
}

.elementor-widget-text-editor ul,
.elementor-widget-text-editor ol {
	margin: 0 0 1em;
}

.elementor-widget-text-editor li {
	margin-bottom: 0.5em;
}

.elementor-widget-text-editor img.alignleft {
	float: left;
	margin: 0 20px 10px 0;
}

.elementor-widget-text-editor img.alignright {
	float: right;
	margin: 0 0 10px 20px;
}

.elementor-widget-text-editor table {
	width: 100%;
	border-collapse: collapse;
}

.elementor-widget-text-editor th,
.elementor-widget-text-editor td {
	border: 1px solid #d5d9df;
	padding: 10px 12px;
	vertical-align: top;
	text-align: left;
}

.elementor-widget-text-editor th {
	background: #00529c;
	color: #ffffff;
}

.elementor-widget-text-editor table tbody > tr > th {
	background: #e3ebf4;
	color: #00529c;
}

.elementor-widget-text-editor tbody tr:nth-child(even) td {
	background: #f4f5f7;
}

@media (max-width: 767px) {
	.elementor-widget-text-editor table {
		display: block;
		overflow-x: auto;
	}

	.elementor-widget-text-editor img.alignleft,
	.elementor-widget-text-editor img.alignright {
		float: none;
		display: block;
		margin: 0 0 12px;
	}
}

#page {
	display: flex;
	flex-direction: column;
	min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
}

/* the content wrapper is main#content on theme pages but a bare div.elementor on Elementor canvas pages */
#page > #masthead + * {
	flex-grow: 1;
}
