/*
Theme Name: Heimelig 1.0
Theme URI:
Author: Danilo Wanner
Author URI: da.nilowanner.ch
Description: Webseiten-Theme für Heimelig
Version: 1.0
*/

/* @group Clearfix Hack */
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
.clearfix { display: inline-block; }

/* start commented backslash hack \*/
.clearfix { display: block; }
/* close commented backslash hack */
/* @end */


html, body {
	height: 100%;
	color: #000;
	background-color: #fff;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	font-family: "Alegreya SC", sans-serif;
	letter-spacing: 0.08em;
	font-size: 20px;
	line-height: 140%;
	-webkit-text-size-adjust: none;
}
img {
	border: none;
}
a {
	text-decoration: none;
	color: #000;
	transition: color .2s ease-in;
}
a:hover {
	color: #888;
	transition: color .2s ease-in;
}

h1, h2, h3 {
	font-family: 'Dancing Script', serif;
	font-weight: normal;
	letter-spacing: 0;
}
h1 {
	font-size: 3.1em;
	line-height: 120%;
}
h2 {
	font-size: 2.6em;
	line-height: 120%;
	letter-spacing: 0.03em;
	margin: 1em 0 2em 0;
}
h3 {
	font-size: 1.8em;
	line-height: 120%;
	letter-spacing: 0.03em;
	margin: 1em 0 1.1em 0;
}

#menu-toggle {
	display: none;
}
.main-menu {
	background-color: #b10832;
	background-color: rgba(170,0,0,0.80);
	color: #fff;
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 100;
}
.main-menu ul {
	list-style: none;
	font-weight: normal;
	font-size: 0.9em;
	text-transform: uppercase;
	margin: 0;
	padding: 0 0 0 1em;
	text-align: left;
}
.main-menu ul li {
	display: inline-block;
	padding: 1.3em 1em 1.5em 1em;
	height: 1em; line-height: 1em;
}
.main-menu ul a {
	color: #ccc;
}
.main-menu ul li.current_page_item a, .main-menu ul a:hover {
	color: #fff;
}
.main-menu ul li.current_page_item a {
	font-weight: 700;
}
.main-menu ul.side {
	position: absolute;
	top: 0; right: 0;
}
.mobile-menu-icon {
	display: none;
	cursor: pointer;
}
.mobile-menu-icon img {
	height: 1.5em;
}

section {
	padding: 2em;
	position: relative; top: 0; left: 0;

	background-position: center center;
	background-size: cover;
}
section:first-child {
	padding-top: 5em;
}
section h1, section h2, section h3 {
	text-align: center;
	padding: 0 10%;
	margin: 0.7em 0 1em 0;
	color: #b10832;
}
section .content {
	width: 90%;
	max-width: 850px;
	margin: 2em auto;
}

section:nth-child(odd) {
	background-color: #eee;
}
section:nth-child(odd) h1, section:nth-child(odd) h2, section:nth-child(odd) h3 {
	color: #444;
}

section .content p {
	margin: 1.5em 0 1.5em 0;
	text-align: center;
}
section .content img {
	max-width: 100%; height: auto !important;
}
section .content iframe {
	width: 100%;
}
section .content em {
	font-family: 'Dancing Script', serif;
	font-size: 1.2em; letter-spacing: 0;
	font-style: normal;
	color: #666;
}

section.red {
	background-color: #b10832;
	color: #fff;
}
section.red a, section.red h1, section.red h2 {
	color: #fff;
}
section.red a:hover {
	color: #aaa;
}

section.image {
	color: #fff;
	min-height: min(61vh, 56.25vw);
	background-color: #888;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
section.image h1, section.image h2 {
	text-shadow: 1px 1px 0px rgba(120,0,0, 0.9), 1px 1px 20px rgba(0,0,0,0.5), 1px 1px 3em rgba(0,0,0,1);
	padding: 0 10%; margin: 0;
	color: #fff;
}
section.image .content {
	margin: 0;
	font-size: 0.9em;
	padding: 0.5em 1em 0.5em 1.5em;
}

section.image img.logo {
	height: 5.5em;
	margin: -2em 0;
}

div.leftcolumn, div.rightcolumn {
	width: 48%;
}

div.leftcolumn {
	float: left;
}
div.rightcolumn {
	float: right;
}
div.topcolumn {
	clear: both;
}

section a {
	text-decoration: underline;
}

section .easy-table.borderless th, section .easy-table.borderless td {
	border-top: none;
}
section .easy-table.light th, section .easy-table.light td {
	padding-left: 2px;
	padding-right: 2px;
}

.price {
	white-space: nowrap;
}

.phone {
	font-size: 140%;
}

.closing-notice {
	font-family: 'Dancing Script', serif;
	font-size: 1.8em;
	color: #b10832;
}

.last-day-notice {
	background-color: #b10832;
	color: #fff;
	font-size: 1.4em;
	padding: 1em 1.5em;
	border-radius: 8px;
	margin: 1em 0;
}

footer {
	background-color: rgba(170, 0, 0, 0.80);
	color: #ccc;
	text-align: center;
	padding: 1.5em 1em;
	font-size: 0.8em;
}
footer a {
	color: #fff;
}

@media screen and (max-width: 920px) {
	.mobile-menu-icon {
		display: block;
		padding: 0.8em 1em;
	}
	.main-menu ul {
		display: none;
		padding: 0;
	}
	#menu-toggle:checked + .main-menu ul {
		display: block;
	}
	.main-menu ul li {
		display: block;
		padding: 0.8em 1em;
		height: auto;
	}
}
@media screen and (max-width: 560px) {
	html, body {
		font-size: 16px;
	}
	section h1, section h2, section h3 {
		padding: 0 5%;
	}
	section h1 {
		font-size: 2.2em;
	}
	section h2 {
		font-size: 1.8em;
	}
}
