/*
Theme Name: Rike Bayer Theme
Theme URI: 
Author: Sandra Kreuss
Author URI: 
Description: theme for rike bayer homepage
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rike_wp
*/

*{
	margin:0;
	padding:0;
	box-sizing: border-box;
}

body{
	background-color: white;
}

h1{
	margin-bottom: 15px	
}
img{
	max-width: 100%;
	height: auto
}

p {
	margin-bottom: 10px;
}

a{
	text-decoration: none;
	color: currentColor;
	transition: .3s;
}

a:hover{
	color: gray;
}

.wrapper, header {
	max-width: 850px;
	margin: 0 auto;
	width: 90%
}
header{
	text-align: center;
}
.logo{
	margin-top: 50px;
	font-size: 36px
}

.logo a{
	display: flex;
	align-items: center;
	margin: 0 auto;
	width: fit-content;
}

.logo img{
	width: 150px;
	display: block;
	margin-right:20px
}

.subtitle{
	/* 	margin-top: 10px; */
	font-size: 14px;
	display: block;
}

#menu-haupt-menu {
	margin: 20px auto 80px;
	display: flex;
	max-width: 850px;
	flex-wrap: wrap;
	justify-content: center;
}

#menu-haupt-menu li{
	display: block;
}

#menu-haupt-menu li:not(:last-child):after{
	content: '-';
	margin: 0 10px;
	color: black;
}

.current-menu-item{
	color: gray;
}

article,
section{
	padding-bottom: 50px;
	border-bottom: 1px solid lightgray;
	margin-bottom: 50px
}

article:last-child, 
section:last-child{
	border-bottom: none;
}

.post-date{
	color: gray;
	font-size: 90%;
	display: block;
	padding-bottom: 10px
}

footer{
	border-top: 1px solid lightgray;
	padding-top: 40px;
	padding-bottom: 40px;
	text-align: center;
}

input[type=text],input[type=email], select, textarea {
	width: 100%; 
	padding: 12px;  
	border: 1px solid #ccc; 
	border-radius: 4px; 
	box-sizing: border-box; 
	margin-top: 6px; 
	margin-bottom: 16px;
	resize: vertical
}

input[type=submit] {
	background-color: #bfeac0;
	color: white;
	padding: 12px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: .3s;
}

input[type=submit]:hover {
	background-color: #45a049;
}

.container {
	margin: 0 0 50px;
	width:100%;
	max-width: 550px;
}

table {
	border-spacing: 1;
	border-collapse: collapse;
	background: white;
	border-radius: 10px;
	overflow: hidden;
	width: 100%;
	margin: 0 auto;
	position: relative;
}
table * {
	position: relative;
}
table td, table th {
	padding-left: 8px;
}
table thead tr {
	height: 60px;
	background: #bfeac0
}
table tbody tr {
	height: 50px;
}
table tbody tr:last-child {
	border: 0;
}
table td, table th {
	text-align: left;
}

table thead th{
	line-height: 1.2;
	font-weight: unset;
}

tbody tr:nth-child(even) {
	background-color: #f5f5f5;
}

tbody tr {
	font-size: 15px;
	color: #808080;
	line-height: 1.2;
	font-weight: unset;
}

tbody tr:hover {
	color: #555555;
	background-color: #f5f5f5;
}

td:nth-child(1){
	width: 260px;
	padding-left: 40px;
}


@media screen and (max-width: 992px) {
	table {
		display: block;
	}

	table > *, table tr, table td, table th {
		display: block;
	}

	tbody th{
		padding-left: 30px;
		padding-bottom: 26px;
	}

	table thead {
		display: none;
	}

	table tbody tr {
		height: auto;
		padding: 37px 0;
	}

	table tbody tr td {
		padding-left: 40% !important;
		margin-bottom: 24px;
	}

	table tbody tr td:last-child {
		margin-bottom: 0;
	}

	table tbody tr td:before {
		font-family: OpenSans-Regular;
		font-size: 14px;
		color: #999999;
		line-height: 1.2;
		font-weight: unset;
		position: absolute;
		width: 40%;
		left: 30px;
		top: 0;
	}

	table tbody tr td:nth-child(2):before {
		content: "DIN A6";
	}
	table tbody tr td:nth-child(3):before {
		content: "DIN A5";
	}
	table tbody tr td:nth-child(4):before {
		content: "DIN A4";
	}
	table tbody tr td:nth-child(5):before {
		content: "DIN A3";
	}

	table td{
		width: 100%;
	}

	tbody tr {
		font-size: 14px;
	}
}

@media (max-width: 576px) {
	table {
		padding-left: 15px;
		padding-right: 15px;
	}
}