/* Kontakt Cascading Style Sheet **************************************************************/

#formular textarea, #name, #email, #datenschutzdiv, #table{
	transition: all 300ms ease-in-out;
	-webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	-o-transition: all 300ms ease-in-out;
}

/* HEADER **************************************************/
#main-nav ul li:nth-child(4) a{
	color: #f8c311;
}


/* FORMULAR **************************************************/
#formular textarea, #name, #email, #betreff{
	font-family: 'Fira Sans', sans-serif;
	font-size: 18px;
	margin-bottom: 2%;
	border-radius: 2px;
	border: 2px solid;
	border-color: #353535;
	outline: none;
}

#formular textarea:focus, #name:focus, #email:focus, #betreff:focus{
	border-color: #f8c311;
}

#formular form{
	width: 70%;
	margin: 0 auto;
}

#name{
	width: 48%;
	float: left;
}

#email{
	width: 48%;
	float: right;
}

@media (max-width: 600px){
	#name{
		width: 99%;
		float: none;
	}

	#email{
		width: 99%;
		float: none;
	}
}

#betreff{
	width: 99%;
}

#formular form textarea{
	width: 99%;
	height: 200px;
	resize: none;
}

#datenschutzdiv{
	margin: 0 auto;
}

#datenschutz{
	display: block;
	position: relative;
	padding-left: 30px;
	margin-bottom: 12px;
	cursor: pointer;
	font-family: 'Fira Sans', sans-serif;
	font-size: 18px;
	text-align: left;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

#datenschutz input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

#checkmark {
	position: absolute;
	top: 1px;
	left: 0;
	height: 18px;
	width: 18px;
	border-radius: 5px;
	background-color: #eee;
}

#datenschutz:hover input ~ #checkmark, #datenschutzdiv:focus ~ #datenschutz input ~ #checkmark{
	background-color: #ccc;
}

#datenschutz input:checked ~ #checkmark{
	background-color: #f8c311;
}

#checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

#datenschutz input:checked ~ #checkmark:after{
	display: block;
}

#datenschutz #checkmark:after{
	left: 7px;
	top: 3px;
	width: 3px;
	height: 7px;
	border: solid white;
	border-width: 0 2px 2px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

#datenschutzdiv span{
	text-decoration: underline;
}

#datenschutzdiv span:hover{
	text-decoration: none;
}

#formular #sended{
	width: 60%;
	height: auto;
	background: rgba(248, 195, 17, 0.8);
	border-color: rgba(222, 174, 16, 0.8);
	border-style: dotted;
	border-radius: 20px;
	margin: 5% auto;
	box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.4);
}

#formular #sended h3{
	margin: 5px 0;
}

#formular #sended p{
	color: #ffffff;
	margin: 5px 0;
}

#formular #sended h4{
	color: #ffffff;
	margin: 5px 0;
}

/* KARTE **************************************************/
#karte iframe{
	width: 81%;
}

#table table{
	width: 81%;
	margin: 10px auto;
}

#table table tr td h3{
	color: #5c5c5c;
	font-size: 28px;
	margin: 5px auto;
}

#table table tr td a{
	font-family: 'Dosis', sans-serif;
	font-weight: 800;
	font-size: 18px;
	color: #353535;
}

#table table tr td a:hover{
	color: #f8c311;
	text-decoration: none;
}

@media (max-width: 750px){
	#table table{
		width: 100%;
		margin: 10px auto;
	}

	#table table tr td h3{
		color: #5c5c5c;
		font-size: 20px;
		margin: 5px auto;
	}

	#table table tr td p{
		font-size: 15px;
	}

	#table table tr td a{
		font-size: 15px;
	}

	#table table tr td a:hover{
		color: #f8c311;
		text-decoration: none;
	}

	#table table tr td a button.button{
		width: 180px;
	}
}

@media (max-width: 500px){
	#table table tr td a button.button{
		width: 70px;
		padding: 5px 0;
	}

	#table table tr td p{
		font-size: 12px;
	}

	#table table tr td a{
		font-size: 12px;
	}
}
