@font-face {
    font-family: 'GreatVibes';
    src: url(../fonts/GreatVibes.ttf);
}

@font-face {
    font-family: 'Merienda';
    src: url(../fonts/Merienda-Regular.ttf);
}

@font-face {
    font-family: 'Merienda-Bold';
    src: url(../fonts/Merienda-Bold.ttf);
}

html, body {
	padding: 0;
	margin: 0;
	font-size: 16px;
	font-family: 'Merienda';
}

b {
	font-family: 'Merienda-Bold';
}

h1 {
	font-size: 38px;
	color: #397f38;
	font-weight: normal;
	font-family: 'GreatVibes';
}

h2 {
	font-size: 25px;
	color: #277f26;
	font-weight: normal;
	font-family: 'GreatVibes';
}

h3 {
	font-size: 22px;
	color: #333;
	font-weight: normal;
	font-family: 'GreatVibes';
}

h4 {
	font-size: 18px;
	color: #3ecc3d;
	font-weight: normal;
	font-family: 'GreatVibes';
}

a {
	color: #397f38;
	font-weight: bold;
	text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.4);
	transition: color 0.3s ease-in-out;
	font-weight: bold;
}

a:hover {
	color: #3ecc3d;
}

input[type=text],
input[type=email],
input[type=tel],
input[type=url],
input[type=search],
input[type=password],
input[type=submit] {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
}

input {
	border: 1px solid #AAA;
	padding: 3px;
	moz-appearance: none;
	webkit-appearance: none;
	transition: border-color 0.2s ease-in-out;
}

input:focus {
	border: 1px solid #397f38;
}

input[type=submit] {
	border: 0px;
	border-radius: 3px;
	background-color: #277f26;
	color: #FFF;
	padding: 7px 12px;
	margin: 10px;
	font-size: 14px;
	font-weight: lighter;
	font-family: 'Merienda';
	cursor: pointer;
	moz-appearance: none;
	webkit-appearance: none;
	transition: box-shadow 0.3s ease-in-out;
}

input[type=submit]:hover {
	box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.6);
}

button {
	border: 0px;
	border-radius: 3px;
	background-color: #277f26;
	color: #FFF;
	padding: 7px 12px;
	margin: 10px;
	font-size: 14px;
	font-weight: lighter;
	font-family: 'Merienda';
	cursor: pointer;
	moz-appearance: none;
	webkit-appearance: none;
	transition: box-shadow 0.3s ease-in-out;
}

button:hover {
	box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.6);
}

/* Cookie-Popup */
.cc_btn {
	background-color: #277f26 !important;
	color: #FFF !important;
	font-weight: normal !important;
}

.cc_btn:hover {
	background-color: #277f26 !important;
}
/* Cookie-Popup ENDE*/

/* Recommended Alert-Boxes */
.alert_container {
    width: 80%;
    height: auto;
    font-weight: normal;
    background-color: #F44336;
    padding: 10px;
    background-image: url(../images/alert_small.jpg);
    background-repeat: no-repeat;
    background-position: left;
    color: #FFFFFF;
    text-align: center;
    margin: auto;
    padding-left: 40px;
    padding-right: 40px;   
    box-sizing: border-box;
}

.done_container {
    display: block;
    width: 80%;
    height: auto;
    font-weight: normal;
    background-color: #4CAF50;
    background-image: url(../images/checked_small.jpg);
    background-repeat: no-repeat;
    background-position: left;
    padding: 13px;
    color: #FFF;
    text-align: center;
    margin: auto;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.info_container {
    display: block;
    width: 80%;
    height: auto;
    font-weight: normal;
    background-color: #2196F3;
    font-size: 14px;
    background-image: url(../images/info_small.jpg);
    background-repeat: no-repeat;
    background-position: left;
    padding: 13px;
    padding-left: 40px;
    color: #FFF;
    text-align: center;
    margin: auto;
    margin-bottom: 10px;
    box-sizing: border-box;
}

#container {
	width: 100%;
	margin: 0px;
	padding: 0px;
}

#logo_nav {
	position: fixed;
	top: 0%;
	left: 0%;
	height: 50px;
	padding: 5px 20px;
	box-sizing: border-box;
	opacity: 1;
	transition: opacity 0.3s ease-in-out;
	z-index: 7;
}

#logo_nav img {
	height: 100%;
}

#start_button {
	display: none;
	position: absolute;
	width: 50px;
	height: 50px;
	right: 0%;
	top: 0%;
	margin-top: 60px;
	margin-right: 60px;
	cursor: pointer;
	z-index: 5;
}

#nav {
	position: fixed;
	display: block;
	width: 100%;
	height: auto;
	top: 0%;
	left: 0%;
	height: 50px;
	font-family: 'GreatVibes';
	font-size: 25px;
	padding-left: 100px;
	margin-top: 0px;
	background-color: #397f38;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.4);
	box-sizing: border-box;
	transition: background-color 0.3s ease-in-out, padding-left 0.3s ease-in-out, font-size 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
	z-index: 6;
}

#menu_trigger {
	display: none;
	position: fixed;
	right: 0%;
	top: 0%;
	margin-top: -2px;
	height: 55px;
	color: #FFF;
	padding: 10px;
	box-sizing: border-box;
}

#nav_list {
	display: block;
	position: fixed;
	top: 0%;
	left: 0%;
	list-style-type: none;
	font-family: 'GreatVibes';
	font-size: 25px;
	padding-left: 120px;
	margin: 0px;
	box-sizing: border-box;
	transition: background-color 0.3s ease-in-out, padding-left 0.3s ease-in-out, font-size 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
	z-index: 10 !important;
}

#nav_list li {
	display: inline-block;
	padding: 10px;
}

#nav_list a {
	text-decoration: none !important;
	padding: 10px;
	color: #FFF;
	font-weight: normal;
}

#close_nav {
	position: fixed;
	display: none;
	cursor: pointer;
	text-align: left;
	margin-left: -30px;
	margin-top: -50px;
	z-index: 7 !important;
}

#header {
	display: block;
	width: 100%;
	height: 300px;
	min-height: 400px;
	background-image: url(../images/header.jpg);	
	background-position: center center;
	background-size: 100% auto;
	background-repeat: no-repeat;
	margin-top: -30px;
}

#header button {
	position: absolute;
	display: block;
	top: 50%;
	left: 50%;
	margin-top: -25px;
	margin-left: -106px;
	font-size: 25px;
	font-family: 'GreatVibes';
	padding: 10px 10px 5px 10px;
	cursor: pointer;
	border: 3px solid #FFF;
	border-radius: 5px;
	background-color: rgba(57, 127, 56, 0.2);
	color: #FFF;
	box-shadow: 0px 0px 10px #000;
	text-shadow: 0px 0px 10px #000;
}

#header h1 {
	position: absolute;
	bottom: 0%;
	left: 0%;
	margin: 10px;
	margin-left: 35px;
	font-size: 90px;
	color: #FFF;
	cursor: default;
	text-shadow: 0px 0px 20px #000;
}

#logo {
	display: block;
	margin: auto;
	padding-top: 90px;
	transition: height 0.3s ease-in-out, margin 0.3s ease-in-out;
	z-index: 3 !important;
}

#content {
	width: 100%;
	padding: 40px;
	box-sizing: border-box;
}

#dates {
	padding-bottom: 30px; 
	text-align: center;
}

#dates h2 {
	text-align: left;
}

#dates a {
	text-decoration: none;
}

.date_box {
	display: inline-block;
	vertical-align: top;
	margin: 30px 0px;
	width: 24.5%;
	text-align: center;
	min-width: 200px;
	max-width: 300px;
	padding: 20px;
	box-sizing: border-box;
	color: #000 !important;
	text-shadow: none !important;
}

.date_box h3 {
	margin-bottom: 5px;
}

.date_box img {
	border-radius: 100%;
}

.text_right {
	clear: both;
	display: block;
	width: 100%;
	text-align: right;
}

#recent {
	position: relative;
	width: 100%;
	height: 500px;
	overflow: hidden;
	background-color: #397f38;
	background-image: url(../images/header.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100% auto;
	margin-bottom: -20px;
	text-align: center;
	box-shadow: inset 0px 0px 10px #000;
}

#recent h2 {
	position: relative;
	color: #FFF;
	padding-top: 30px;
	margin-left: 30px;
	text-shadow: 0px 0px 4px #000;
}

.recent_box {
	display: inline-block;
	vertical-align: top;
	width: 250px;
	height: 318px;
	background-color: #FFF;
	padding: 0px;
	margin: 2.5%;
	margin-bottom: 100px;
	text-align: center;
	box-sizing: border-box;
	box-shadow: 0px 0px 15px #000;
	cursor: default;
	transition: box-shadow 0.3s ease-in-out;
}

.recent_box:hover {
	box-shadow: 0px 0px 35px #000;
}

.recent_box img {
	border-radius: 100%;
	padding: 20px;
}

.recent_box h3 {
	font-size: 25px;
	margin-top: 0px;
	margin-bottom: 10px;
	height: 80px;
	overflow: hidden;
}

.recent_box button {
	bottom: 0%;
	vertical-align: bottom;
	width: 250px;
	background-color: #397f38;
	color: #FFF;
	margin: 0px;
	margin-top: 0px;
	padding: 10px 0px;
	font-size: 18px;
	border-radius: 0px;
}

.recent_button {
	position: absolute;
	right: 0%;
	margin-top: 0px;
	z-index: 3;
}

.recent_button button {
	box-shadow: 10px -10px 20px 30px #FFF;
}

.submit_table {
	width: 80%;
	padding: 0px 0px 30px 0px;
	box-sizing: border-box;
	max-width: 600px;
	margin: 0px;
	margin: auto;
}

.submit_table td {
	width: 100% !important;
	text-align: left;
	padding: 0px;
	margin: 0px;
}

.submit_table tr:last-child td {
	text-align: right;
}

.submit_table input[type=text], .submit_table input[type=email] {
	width: 60%;
	min-width: 60px;
}

.submit_table textarea {
	display: block;
	width: 100% !important;
	min-height: 300px;
	min-width: 100px;
	box-sizing: border-box;
}

.guestbook {
	display: block;
	margin: auto;
	width: 80%;
	max-width: 1000px;
}

.guestbook td{
	border-top: 1px solid #AAA;
	padding: 20px;
	box-sizing: border-box;
}

#footer {
	width: 100%;
	padding: 20px;
	margin-top: 20px;
	height: 100%;
	box-sizing: border-box;
	color: #FFF;
	background-color: #397f38;
	clear: both;
}

#footer div {
	display: inline-block;
	width: 33%;
	height: 100%;
	text-align: center;
	min-width: 250px;
	vertical-align: middle;
	padding: 20px 10px;
	box-sizing: border-box;
}

#footer div:first-child {
	text-align: left;
	padding: 0px 10px;
}

#footer div:last-child {
	text-align: right;
	padding: 0px 10px;
}

#footer div img {
	max-width: 250px;
}

#footer div ul {
	list-style-type: none;
	padding-right: 10px;
	font-size: 14px;
	border-right: 2px solid #FFF;
}

#footer a {
	color: #FFF;
	font-weight: normal;
}

#nav_blocker {
	position: fixed;
	display: none;
	background-color: rgba(0, 0, 0, 0.7);
	width: 100%;
	height: 100%;
	padding-bottom: 60px;
	opacity: 0;
	z-index: 4;
	cursor: pointer;
}

#menu_trigger {
	display: none;
	cursor: pointer;
}

#nav_bg{
	display: none;
	position: fixed;
	right: 0%;
	top: 0%;
	margin-right: -250px;
	background-color: #397f38;
	box-shadow: 0px 0px 10px #000;
	height: 100%;
	width: 250px;
	z-index: 6;
}

.dates {
	width: 100%;
}

.dates tr:first-child td{
	border-top: none;
}

.dates td {
	padding: 30px;
	border-top: 1px solid #DDD;
}

.chosen_date {
	padding-top: 40px !important;
	border: 3px solid #397f38 !important;
}

.date_image {
	float: left; 
	border-radius: 100% !important; 
	margin-right: 30px;
	margin-bottom: 20px;
}

.occur {
	position: absolute;
	margin-top: 5px;
	margin-left: 130px;
	font-size: 12px;
	color: green;
	padding: 3px;
	background-color: #FFF;
	border: 1px solid green;
	border-radius: 3px;
	transform: rotate(15deg);
	cursor: default;
}

.not_occur {
	position: absolute;
	margin-top: 5px;
	margin-left: 150px;
	font-size: 12px;
	color: red;
	padding: 3px;
	background-color: #FFF;
	border: 1px solid red;
	border-radius: 3px;
	transform: rotate(15deg);
	cursor: default;
}

.occur_date {
	position: absolute;
	margin-top: 5px;
	margin-left: 30px;
	font-size: 12px;
	color: green;
	padding: 3px;
	background-color: #FFF;
	border: 1px solid green;
	border-radius: 3px;
	transform: rotate(15deg);
	cursor: default;
}

.not_occur_date {
	position: absolute;
	margin-top: 5px;
	margin-left: 50px;
	font-size: 12px;
	color: red;
	padding: 3px;
	background-color: #FFF;
	border: 1px solid red;
	border-radius: 3px;
	transform: rotate(15deg);
	cursor: default;
}

@media(max-width: 1170px){
	#menu_trigger {
		display: block;
	}

	#start_button {
		display: block;
	}

	#nav {
		top: 0%;
		margin-top: 0px;
	}

	#nav_list{
		display: none;
		position: fixed !important;
		right: 0%;
		top: 0%;
		left: auto;
		margin-top: -60px !important;
		margin-right: -250px;
		padding: 30px;
		padding-top: 120px;
		padding-right: 50px;
		padding-left: 30px !important;
		height: calc(100%+80px);
		width: auto;
		max-width: 250px;
		text-align: right;
		font-size: 30px !important;
		background-color: #397f38 !important;
		overflow-y: auto;
		z-index: 5;
	}

	#nav_list li{
		display: block;
	}

	#nav_list a {
		text-shadow: none !important;
	}

	#logo_nav {
		left: 50%;
		margin-left: -70px;
	}

	#close_nav {
		display: block;
	}
}

@media(max-width: 1105px){
	#footer div {
		width: 49%;
		padding: 30px;
		margin-top: 30px;
		box-sizing: border-box;
		min-width: auto;
	}

	#footer div:first-child{
		width: 50%;
		display: block;
		margin: auto;
	}

	#footer div:last-child{
		right: 0%;
	}
}

@media(max-width: 470px){
	#content {
		padding: 20px;
	}

	.guestbook {
		width: 100%;
	}

	#footer div {
		width: 100%;
		padding: 30px;
		box-sizing: border-box;
	}

	#recent h2 {
		margin-left: 30px;
		text-align: left;
	}
}

@media(max-width: 450px){
	#header {
		text-align: center;
	}

	#header h1{
		font-size: 60px;
		width: 100%;
		text-align: center;
		left: auto;
		margin: auto;
	}

	#logo {
		width: 100% !important;
		box-sizing: border-box;
	}

	#start_button {
		margin-right: 20px;
	}
}


@media(max-height: 400px){
	#header h1{
		position: absolute;
		top: 0%;
		margin-top: 290px;
	}

	#header button {
		margin-top: 70px;
	}
}

@media(min-width: 1171px){
	#nav_list {
		display: block !important;
	}

	#nav_blocker {
		display: none !important;
	}

	#nav_bg {
		display: none !important;
	}
}