@font-face {
	font-family: Myriad-Pro;
	src: url("Schriften/Myriad-Pro_31655") format("opentype");
	src: url("Schriften/Myriad-Pro-Bold_31631") format("opentype");
	src: url("Schriften/Myriad-Pro-Italic_31634") format("opentype");
}

* {
	font-family: Myriad Pro, sans-serif;
	font-size: 1rem;
	padding: 0;
	margin: 0;
}

body {
	background-image: url("Fotos/hpbg.jpg");
}

#wrapper1 {
	display: flex;
	flex-direction: column;
	width: 100%;
	align-items: center;
	background-color: rgba(255, 255, 255, 0.7);
}

nav {
	background-color: #777878;
	width: 95%;
	text-align: center;
}

nav li{
	display: inline;
	line-height: 3rem;
	list-style: none;
	padding: 1% 2%;
	cursor: pointer;
}

article {
	padding: 10% 0;
	min-height: 400px;
}

nav li:hover {
	background-color: #a7202d;
}

a {
	color: white;
	text-decoration: none;
}

.active {
	background-color: #a7202d;
}

footer {
	background-color: rgba(255, 255, 255, 0.8);
	position: relative;
	height: 5%;
	width: 100%;
	padding-bottom: 1%;
}

#logo {
	width: 80%;
	margin: 8% 10%;
}

#wko {
	position: relative;
	height: 20px;
	border: 3px solid white;
	margin-top: 10px;
	margin-right: 10%;
	margin-left: 10%;
	top: 3px;
}

#slider {
	height: 450px;
	position: absolute;
	right: 20%;
	bottom: 20%;
	border: 10px solid #dddddd;
}

#ebLogo {
	position: absolute;
	height: 60px;
	border: 3px solid #dddddd;
	bottom: 10px;
	right: 5%;
}

.impressum {
	margin: 0 10px;
}

/*Startseite*/
#Deckblatt {
	height: 95%;
	width: 95%;
	margin-top: -10%;
	margin-left: 2.5%;
	margin-bottom: -15%;
}

/*ueber Mich*/
#ueber {
	display: flex;
	flex-direction: row;
	margin-left: 15%;
	margin-right: 10%;
}

#ueber img {
	border: 5px solid #dddddd;
}

#ueber p {
	margin-left: 7%;
	margin-top: 5%;
}

#Unterschrift {
	margin-left: 30%;
	margin-top: 2%;
}

/*Leistungen*/
.leistungenWrapper {
	display: flex;
	flex-direction: row;
	margin-bottom: 5%;
}

.leistungenWrapper a {
	color: #a7202d;
	font-size: 1.4rem;
	text-decoration: underline;
}

.leistungenTextLinks {
	margin-left: 5%;
	margin-right: -2%;
	flex: 2;
}

.leistungenTextRechts {
	margin-right: 5%;
	margin-left: -2%;
	flex: 2;
}

.leistungenWrapper img {
	flex: 2;
}
#leistungen {
	margin-left: 5%;
	margin-right: 5%;
	border: 3px solid #777878;
}

/*Fuhrpark*/
#fuhrpark h1 {
	font-size: 1.4rem;
	margin-left: -15%;
	margin-top: 5%;
	color: #a7202d;
}

#fuhrpark {
	margin-bottom: 8%;
}

.bagger {
	margin-left: 15%;
}

ul {
	line-height: 1.5rem;
}

/*Baugeräteverleih*/
.verleih {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: -5%;
}

.figure {
	background-color: white;
	padding: 10px;
	color: #777878;
	text-align: center;
	margin: 10px;
	width: 25%;
	border: 2px solid #dddddd;
}

.figure img {
	width: 100%;
	height: auto;
}

#pdf {
	color: #a7202d;
	text-decoration: underline;
}

#preis {
	font-size: 1rem;
	color: #a7202d;
	text-align: center;
	margin-top: 8%;
}

#miete {
	margin: 5% 10%;
}

#miete1 {
	margin-left: 10%;
	margin-right: 10%;
	margin-top: 1%;
	font-size: 0.8rem;
}
#miete2 li{
	margin-left: 15%;
	margin-right: 10%;
	font-size: 0.8rem;
	line-height: 0.9rem;
}

/*Referenzen*/
#referenzen {
	display: flex;
	flex-direction: column;
	margin-top: 30%;
	margin-bottom: 40%;
}

.referenzen {
	margin-bottom: 25px;
}


/*weitere Tätigkeiten*/
h1 {
	text-align: center;
	color: #a7202d;
	font-size: 1.5rem;
	margin-bottom: 5%;
}

.weiteres {
	display: flex;
	flex-direction: row;
	margin-bottom: 10%;
	margin-left: -5%;
	align-items: center;
}

.weiteresText {
	margin-left: 10%;
}

.weiteres h1 {
	font-size: 1.4rem;
	margin-left: -15%;
	margin-top: 5%;
	color: #a7202d;
}

.weiteresText h2 {
	margin-top: 5%;
}

.weiteresText ul {
	list-style: none;
}

.weiteresText li {
	margin-left: 25%;
}

.weiteresText p {
	margin-top: 5%;
	line-height: 1.6rem;
}

.weiteresBild {
	border: 3px solid #777878;
}

#dirndl {
	margin-left: 15%;
}


/*Kontakt*/
#kontaktWrapper {
	display: flex;
	flex-direction: row;
	margin-left: -20%;
}

#kontakt1 {
	margin-left: 10%;
	margin-top: 11%;
}

td p {
	margin-left: 15%;
}

iframe {
	width: 500px;
	height: 350px;
	border: 2px solid #777878;
}

#Anfrage {
	margin-top: 10%;
	margin-left: -42%;
	display: none;
}

#Formular {
	margin-top: 5%;
	margin-left: -5%;
	display: none;
}

#anfrage td{
	text-align: -webkit-right;
	vertical-align: top;
	display: none;
}

#absenden {
	margin-left: 49%;
	display: none;
}
