/*
Theme Name: Luc Otten (Hello Elementor child)
Template: hello-elementor
Description: Look of the old Luc Otten Drupal site: logo, yellow band with menu and photo slider, sidebar with Nieuwe producten and the dark footer. Page content is edited with Elementor.
Version: 1.0.0
Author: WoutICT
Text Domain: lom-hello
*/

/* Base (old theme: Arial 14px, grey text, patterned background) */
body {
	background: #fff url(images/bg-gray.png);
	color: #555;
	font: 14px/135% Arial, sans-serif;
}

a {
	color: #000;
	text-decoration: none;
}

a:hover,
a:active {
	color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #444;
	font-weight: bold;
	margin-top: 0;
}

h1 {
	font-size: 22px;
}

h2 {
	font-size: 17px;
}

.lom-wrap {
	max-width: 978px;
	margin: 0 auto;
	padding: 0;
}

/* Header: logo */
.lom-logo-bar {
	background: url(images/bg-gray.png) repeat-x;
	border-bottom: 4px solid #ccc;
}

.lom-logo {
	display: inline-block;
	margin: 20px 0;
}

.lom-logo img {
	display: block;
	max-height: 90px;
	width: auto;
}

/* Header: yellow band with menu and slider */
.lom-band {
	background: url(images/body.jpg) left bottom;
	padding-bottom: 10px;
}

.lom-menu {
	position: relative;
	z-index: 500;
	background: #fff;
	border: 1px solid #e9e9e9;
}

.lom-menu-toggle {
	display: none;
}

.lom-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lom-menu > ul {
	display: flex;
	flex-wrap: wrap;
}

.lom-menu li {
	position: relative;
	border-right: 1px solid #e9e9e9;
}

.lom-menu a {
	display: block;
	padding: 16px 20px;
	color: #444;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	line-height: 1.2;
}

.lom-menu li:hover > a,
.lom-menu li:focus-within > a,
.lom-menu .current-menu-item > a,
.lom-menu .current-menu-ancestor > a {
	background-color: #444;
	color: #fff;
}

.lom-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 9999;
	width: 185px;
	background-color: #444;
	border: 1px solid #555;
	border-bottom: 0;
}

.lom-menu li:hover > .sub-menu,
.lom-menu li:focus-within > .sub-menu {
	display: block;
}

.lom-menu .sub-menu li {
	border-right: 0;
	border-bottom: 1px solid #666;
}

.lom-menu .sub-menu a {
	padding: 7px 10px;
	color: #999;
	line-height: 18px;
}

.lom-menu .sub-menu li:hover > a,
.lom-menu .sub-menu .current-menu-item > a {
	background-color: #333;
	color: #fff;
}

.lom-hero {
	position: relative;
	height: 313px;
	overflow: hidden;
	background: #fff;
	border: 1px solid #ccc;
	border-top: 0;
}

.lom-hero-item {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1s;
}

.lom-hero-item.is-active {
	opacity: 1;
	z-index: 1;
}

.lom-hero-item img {
	display: block;
	max-width: 100%;
	margin: 0 auto;
}

.lom-hero-text {
	position: absolute;
	left: 1px;
	right: 1px;
	bottom: 1px;
	padding: 16px 10px 8px;
	background: rgba(0, 0, 0, 0.6);
	color: #ccc;
	font-size: 14px;
}

.lom-hero-text a {
	color: #1195bd;
}

.lom-hero-dots {
	padding-top: 10px;
	text-align: center;
}

.lom-hero-dots button {
	display: inline-block;
	width: 12px;
	height: 12px;
	margin: 0 3px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background-color: #b7b7b7;
	cursor: pointer;
}

.lom-hero-dots button:hover,
.lom-hero-dots button.is-active {
	background-color: #000;
}

/* Content and sidebar */
.lom-main {
	display: flex;
	gap: 30px;
	padding-top: 10px;
	margin-bottom: 30px;
}

.lom-content {
	flex: 1 1 auto;
	min-width: 0;
}

.lom-sidebar {
	flex: 0 0 300px;
}

.lom-page-title,
.lom-sidebar-title {
	font-size: 18px;
	letter-spacing: 0;
	border-bottom: 1px solid #c5c5c5;
	margin: 0 0 20px;
	padding: 0 0 8px;
}

.lom-sidebar-title {
	font-size: 17px;
	border-bottom: 0;
	margin-bottom: 15px;
	padding-bottom: 0;
}

.lom-content .page-content {
	padding-left: 5px;
}

.lom-content .page-content img {
	max-width: 100%;
	height: auto;
}

.lom-content table {
	border-collapse: collapse;
}

.lom-content iframe {
	max-width: 100%;
}

/* Footer */
.lom-footer {
	background: url(images/bg-dark-footer.png);
	border-top: 6px solid #ccc;
	color: #fff;
}

.lom-footer-columns {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	padding-bottom: 25px;
}

.lom-footer h2 {
	font-size: 18px;
	margin: 15px 0;
	padding: 0;
	color: #343333;
	text-transform: uppercase;
}

.lom-footer-block {
	margin-left: 20px;
}

.lom-footer-contact a {
	color: #ff0;
}

.lom-footer-contact a:hover {
	color: #000;
}

.lom-footer-contact p {
	margin: 0;
}

.lom-footer ul {
	margin: 0;
	padding: 0;
}

.lom-footer-info ul {
	padding-left: 15px;
	list-style: circle;
}

.lom-footer-members ul {
	list-style: none;
}

.lom-footer-info a,
.lom-footer-members a {
	color: #fff;
}

@media (max-width: 1000px) {
	.lom-wrap {
		padding: 0 16px;
	}

	.lom-band .lom-wrap {
		padding: 0;
	}

	.lom-hero {
		height: auto;
		aspect-ratio: 976 / 313;
	}
}

@media (max-width: 767px) {
	.lom-menu-toggle {
		display: block;
		width: 100%;
		padding: 14px 20px;
		border: 0;
		border-radius: 0;
		background: #fff;
		color: #444;
		font-size: 12px;
		font-weight: bold;
		text-align: left;
		text-transform: uppercase;
	}

	.lom-menu-toggle:hover,
	.lom-menu-toggle:focus {
		background: #444;
		color: #fff;
	}

	.lom-menu > ul {
		display: none;
		flex-direction: column;
	}

	.lom-menu.is-open > ul {
		display: flex;
	}

	.lom-menu li {
		border-right: 0;
		border-top: 1px solid #e9e9e9;
	}

	.lom-menu .sub-menu {
		display: block;
		position: static;
		width: auto;
	}

	.lom-hero-text {
		font-size: 12px;
		padding: 6px 10px;
	}

	.lom-main {
		flex-direction: column;
	}

	.lom-sidebar {
		flex-basis: auto;
	}

	.lom-footer-columns {
		grid-template-columns: 1fr;
	}
}

.lom-content .page-content ul,
.lom-content .page-content ol {
	margin-bottom: 1em;
}

/* Tables like the old site (Machinepark): compact rows, thin lines, no stripes */
.lom-content .page-content table {
	width: auto;
	margin-bottom: 1em;
	font-size: 14px;
}

.lom-content .page-content table td,
.lom-content .page-content table th {
	padding: 3px 5px;
	line-height: 135%;
	border: 1px solid #ccc;
	background: none;
	font-weight: normal;
	text-align: left;
	vertical-align: top;
}

.lom-content .page-content table tbody > tr:nth-child(odd) > td,
.lom-content .page-content table tbody > tr:nth-child(odd) > th,
.lom-content .page-content table tbody tr:hover > td,
.lom-content .page-content table tbody tr:hover > th {
	background: none;
}
