/*
Theme Name: 	Naturheilpraxis
Theme URI: 		http://mohnrot.ch
Version: 		0.1
Author: 		mohnrot
Author URI: 	http://mohnrot.ch
*/



/*** Sensible Defaults ***/

@import "css/reset.css";
@import "css/flickity.css";
@import "css/fonts/stylesheet.css";
@import "typo.css";
@import "blocks.css";

div,
article,
section,
header,
footer,
nav,
li					{ position:relative; /* For absolutely positioning elements within containers (add more to the list if need be) */ }

::-moz-selection 	{ background:#009DE9; color:#fff; }
::selection 		{ background:#009DE9; color:#fff; }

* {
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	   -moz-font-smoothing: antialiased;
	        font-smoothing: antialiased;
}

/* Helper Classes */

.clear { clear: both; }
strong { font-weight: bold; }
em { font-style: italic; }
a, a:link, a:visited, a:hover, a:focus { color: inherit; }

html, body {
	font-family: "RotisSansSerif", Arial, sans-serif;
	font-size: 16px;
	line-height: 120%;
	letter-spacing: 0.02em;
	color: #344f56;
	background: #fff;
}

header {
	height: 9rem;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}



	header a.logo {
		width: 7.7rem;
		height: 7.7rem;
		display: block;
		background: url(css/img/logo.svg) no-repeat center;
		background-size: contain;
		text-indent: -1000px;
		overflow: hidden;
	}

	header a.logo {

	}


nav {
	display: none;
	position: absolute;
	background-color: rgba(241, 114, 33, 0.7);
	left: 0;
	width: 100%;
	top: 9rem;
	z-index: 9999;
	height: calc(100vh - 9rem);
	padding: 2rem 0;
}

	.fix-nav nav {
		position: fixed;
		top: 0;
		height: 100%;
		background-color: rgba(241, 114, 33, 0.9);
	}

	nav ul {
		font-size: 1.8rem;
		line-height: 150%;
		color: #fff;
	}

		nav ul li {
			margin-left: 2rem;
		}

			nav ul li a {
				text-decoration: none;
			}

nav.is-open {
	display: block;
}

.nav-toggle {
	width: 2rem;
    height: 2rem;
    display: block;
    cursor: pointer;
	position: absolute;
	bottom: -3rem;
	left: 2rem;
	z-index: 9;
	transition: all 0.2s ease-in-out;
	}

	.has-nav-open .nav-toggle {
		display: none;
	}

	.nav-toggle span {
		display: block;
		background: #fff;
		width: 100%;
		height: 3px;
		margin: 5px auto;
	}

	.fix-nav .nav-toggle {
		position: fixed;
		top: 2rem;
		left: 2rem;
	}

	.fix-nav .nav-toggle::before {
		background-color: rgba(241, 114, 33, 0.7);
		content: "";
		display: block;
		width: 3rem;
		height: 3rem;
		border-radius: 100%;
		position: absolute;
		z-index: -1;
		left: -0.5rem;
		top: -0.5rem;
	}

.hero {
	background: #eee no-repeat center;
	background-size: cover;
	display: block;
	height: calc(100vh - 9rem);
	overflow: hidden;
	position: relative;
}

	@media (max-width: 500px) and (orientation: portrait) {
		.hero {
			background-position: left 33% center;
		}
	}

footer {
	background-color: rgba(98, 135, 58, 0.6);
	padding: 1rem 0;
	color: #fff;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	font-size: 1rem;
	line-height: 120%;
}

	footer .wrap {
		display: flex;
		flex-flow: row wrap;
		justify-content: space-between;
		align-items: flex-end;
	}

	footer .footer-area {
		width: 100%;
	}

	footer .footer-area:nth-child(2) {
		margin-top: 1rem;
		font-size: 0.8rem;
		line-height: 120%;
		opacity: 0.75;

	}

		@media (min-width: 600px) {
			footer .footer-area {
				width: 50%;
				margin-bottom: 0;
			}

			footer .footer-area:nth-child(2) {
				text-align: right;
				margin: 0;
			}
		}

	footer p {
		margin-bottom: 0;
	}

.footer-arrow {
	width: 3rem;
	height: 1.5rem;
	display: none;
	background: url(css/img/down-arrow.svg) no-repeat center;
	background-size: contain;
	overflow: hidden;
	position: absolute;
	left: 50%;
	transform: translate(-50%, 0);
	cursor: pointer;
}

	@media (min-width: 700px) {
		.footer-arrow {
			display: block;
		}
	}

body.home .footer-arrow {
	display: none;
}

.wrap {
	width: 100%;
	max-width: 1300px;
	padding: 0 2rem;
	margin: 0 auto;
}

.text {
	max-width: 740px;
}

.main-content {
	padding: 2rem 0;
	min-height: 100vh;
}

body.home .main-content {
	display: none;
}


h1 {
	font-weight: 700;
	font-size: 2rem;
	line-height: 120%;
	margin: 1.5em 0 0.5em 0;
}

	* > h1:first-child {
		margin-top: 0;
	}

p {
	margin-bottom: 1.2em;
}

.block-title {
	color: #62873A;
	font-size: 1.3rem;
	text-decoration: underline;
	font-weight: 700;
	margin: 1rem 0;
	cursor: pointer;

}

.block-content {
	background-color: #E1E5D7;
	padding: 2rem;
	color: #455258;
	display: none;
}

	.block-content p:last-child {
		margin-bottom: 0;
	}

.foldblock.is-open .block-content {
	display: block;
}
