@font-face {
    font-family: "FontAwesome";
    font-style: normal;
    font-weight: 400;
    src: url(webfonts/fa-regular-400.eot);
    src: url(webfonts/fa-regular-400.eot?#iefix) format("embedded-opentype"),url(webfonts/fa-regular-400.woff2) format("woff2"),url(webfonts/fa-regular-400.woff) format("woff"),url(webfonts/fa-regular-400.ttf) format("truetype"),url(webfonts/fa-regular-400.svg#fontawesome) format("svg")
}

* {
    margin: 0;
    padding: 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

*:focus {
	outline: none;
}

body, html {
	margin: 0 auto;
	font-family: Arial;
}	

img {
	max-width: 100%;
}

.container {
	position: relative;
	width: 100%;
	max-width: 960px;
	padding: 0 20px;
	margin: 0 auto;
	overflow: hidden;
}

@media only screen and (max-width: 768px) {
	
	.container {
		padding: 0 10px;
	}
	
}

.header-bar {
	height: 20px;
	background: #DADADA;
}

.header-links {
	float: right;
}

.header-links a {
	text-decoration: none;
    color: #FFF;
	font-weight: bold;
    line-height: 18px;
    font-size: 14px;
}

.logo {
	height: 72px;
	width: 170px;
	margin: 34px auto 16px auto;
	background-image: url(../images/mietfinanz-logo@2x.png);
	background-size: 170px 72px;
}

.navigation {
	height: 30px;
    border-top: 2px solid #DADADA;
    border-bottom: 2px solid #DADADA;
	text-align: center;
}

.navigation a {
	display: inline-block;
	margin: 0 20px;
	text-decoration: none;
    color: #000;
    line-height: 28px;
    font-size: 16px;
}

.header-image {
	width: 100%;
	height: 0;
	padding-bottom: 31.7%;
	background-image: url(../images/header-image.jpg);
	background-size: 100% auto;
	background-position: center 40%;
}

@media only screen and (max-width: 768px) {
	
	.navigation a {
		margin: 0 5px;
	}
	
	.header-image {
		padding-bottom: 40%;
	}
	
}

.content-wrapper {
	width: 100%;
	padding-top: 10%;
}

.content-wrapper h2 {
	text-align: center;
    color: #0F477F;
    font-weight: normal;
    font-size: 32px;
    margin: 0;
    padding: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #DADADA;
}

.content-wrapper p {
	color: #878787;
	font-size: 18px;
	line-height: 1.4;
	margin-top: 26px;
	padding: 0 26px;
}

.content-wrapper ol {
	padding: 0 26px 0 46px;
    color: #878787;
    font-size: 18px;
    line-height: 1.4;
}

@media only screen and (max-width: 768px) {
	
	.content-wrapper {
		padding-top: 5%;
	}
	
	.content-wrapper h2 {
		font-size: 28px;
		padding: 0 10px;
		padding-bottom: 10px;
	}
	
}

#formcontainer {
	margin-bottom: 100px;
}

form {
	padding: 0 26px;
	margin-top: 40px;
}

form label {
	display: block;
    margin-bottom: 2px;
}

form h3 {
	font-size: 16px;
	margin-bottom: 20px;
}

form .width-50 {
    width: calc(50% - 10px);
}

form .width-50.left {
	float: left;
}

form .width-50.right {
	float: right;
}

.required {
	margin-bottom: 20px;
}

input[type="text"], select, textarea {
	width: 100%;
	height: 38px;
    padding: 0 6px;
    margin-bottom: 20px;
    border-radius: 0;
    max-width: 100%;
    border: 1px solid rgba(15, 71, 127, 0.2);
    background: rgba(15, 71, 127, 0.2);
    font-size: 16px;
    color: #0f477f;
    resize: none;
    overflow: auto;
    -webkit-transition: background 0.3s;
    -moz-transition: background 0.3s;
    -ms-transition: background 0.3s;
    transition: background 0.3s;
	-webkit-appearance: none;
}

textarea {
	height: 114px;
	padding: 6px;
}

input[type="text"]:hover,
input[type="text"]:focus,
select:not([disabled="disabled"]):hover,
select:not([disabled="disabled"]):focus,
textarea:hover,
textarea:focus {
	background: rgba(15, 71, 127, 0.3);
}

input[type="text"].error,
.error select {
	border-color: #EB0000;
}

.g-recaptcha-error {
	color: #EB0000;
    font-size: 14px;
    margin-top: 10px;
}

.anliegen {
	position: relative;
}

.anliegen i {
    position: absolute;
    right: 7px;
    top: 24px;
    font-size: 30px;
    color: #0f477f;
    display: inline-block;
    pointer-events: none;
}

.submit {
	position: relative;
    float: right;
    padding-right: 11px;
}

.submit:before {
	content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 37px;
    height: 28px;
    text-align: center;
    line-height: 28px;
    border-radius: 100%;
    background: #0f477f;
    -webkit-transform: skewX(-15deg);
    transform: skewX(-15deg);
    backface-visibility: hidden;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    transition: 0.3s;
}

input[type=submit] {
	position: relative;
    background: none;
	padding-right: 37px;
    height: 30px;
    margin: 0;
    border: 0;
    padding-right: 37px;
    margin: 0;
	font-size: 18px;
    line-height: 28px;
    color: #0f477f;
	font-weight: bold;
    cursor: pointer;
    background: url(../images/next@2x.png) right 9px no-repeat;
    background-size: 13px 11px;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    transition: 0.3s;
}

.confirm {
	display: none;
	clear: both;
    padding-top: 20px;
    text-align: center;
}

@media only screen and (max-width: 768px) {
	
	#formcontainer {
		margin-bottom: 50px;
	}
	
	form .width-50 {
		width: 100%;
	}
	
	form .width-50.left,
	form .width-50.right {
		float: none;
	}
	
	.submit {
		margin-top: 20px;
	}
	
}

.footer-bar {
	height: 30px;
	background: #0F477F;
}

.footer-links {
	float: right;
}

.footer-links a {
	text-decoration: none;
    color: #FFF;
	font-weight: bold;
    line-height: 28px;
    font-size: 14px;
	margin-left: 20px;
}

/* =================== Helper =================== */
.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

.clearfix {
	*zoom: 1;
}

.hidden {
	display: none;
}