/* ---------- FONTS ---------- */

@font-face {
	font-family: 'MyriadWebPro';
		src: url('../fonts/myriadwebpro.eot');
		src: url('../fonts/myriadwebpro.eot?#iefix') format('embedded-opentype'),
			 url('../fonts/myriadwebpro.woff') format('woff'),
			 url('../fonts/myriadwebpro.ttf') format('truetype'),
			 url('../fonts/myriadwebpro.svg#myriadwebpro') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'EdoSZ';
		src: url('../fonts/edosz.eot');
		src: url('../fonts/edosz.eot?#iefix') format('embedded-opentype'),
			 url('../fonts/edosz.woff') format('woff'),
			 url('../fonts/edosz.ttf') format('truetype'),
			 url('../fonts/edosz.svg#edosz') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "iconvault";
		src: url("../fonts/iconvault_4d9c75331c2e9642ca1cdf507a4dca46.eot");
		src: url("../fonts/iconvault_4d9c75331c2e9642ca1cdf507a4dca46.eot?#iefix") format("embedded-opentype"),
			 url("../fonts/iconvault_4d9c75331c2e9642ca1cdf507a4dca46.woff") format("woff"),
			 url("../fonts/iconvault_4d9c75331c2e9642ca1cdf507a4dca46.ttf") format("truetype"),
			 url("../fonts/iconvault_4d9c75331c2e9642ca1cdf507a4dca46.svg#iconvault") format("svg");
	font-weight: normal;
	font-style: normal;
}

@font-face {
  font-family: "social-icons";
  src: url("../fonts/iconvault_1e5dcf766ed9b7dbde849a946fcaaef0.eot");
  src: url("../fonts/iconvault_1e5dcf766ed9b7dbde849a946fcaaef0.eot?#iefix") format("embedded-opentype"),
       url("../fonts/iconvault_1e5dcf766ed9b7dbde849a946fcaaef0.woff") format("woff"),
       url("../fonts/iconvault_1e5dcf766ed9b7dbde849a946fcaaef0.ttf") format("truetype"),
       url("../fonts/iconvault_1e5dcf766ed9b7dbde849a946fcaaef0.svg#iconvault") format("svg");
  font-weight: normal;
  font-style: normal;
}

.icon-home:before,
.icon-parent:before,
.icon-totop:before,
.icon-legal:before,
.icon-contact:before {
  font-family: "iconvault";
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  text-decoration: inherit;
}

.icon-home:before { content: "\f100"; }
.icon-parent:before { content: "\f101"; }
.icon-totop:before { content: "\f102"; }
.icon-legal:before { content: "\f103"; }
.icon-contact:before { content: "\f104"; }

.icon-datenschutz:before {
	background:url(../images/layout/datenschutz-icon.png) center top no-repeat;
	width:35px;
	height:35px;

}

#datenschutz_li { height:39px;}
#datenschutz_li a { 
	background: url(../images/layout/datenschutz-icon.png);
	background-position:top center;
	height:35px;
	width:35px;
	margin:0 0 0 10px;
}
#datenschutz_li a:hover { 
	background: url(../images/layout/datenschutz-icon_rot_hover.png);}
	height:35px;
	width:35px;
}

.icon-googleplus:before,
.icon-twitterbird:before {
  font-family: "social-icons";
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  text-decoration: inherit;
}

.icon-googleplus:before { content: "\f100"; }
.icon-datenschutz:before {}
.icon-twitterbird:before { content: "\f102"; }

/* ---------- ALLGEMEIN ---------- */

* {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
*:before,
*:after {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.clearfix:after {
	content: '';
	display: table;
	clear: both;
}

p {
	max-width: 750px;
	margin: 0 auto 24px;
}

a {
	color: #dc0d15;
	text-decoration: none;
}

a:focus,
a:hover {
	outline: 0;
	text-decoration: underline;
}

img {
	max-width: 100%;
	height: auto;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'EdoSZ', Arial, sans-serif;
	font-weight: normal;
	position: relative;
	color: #132c34;
	text-align: center;
	line-height: 100%;
}

h1,
.h1 {
	color: #dc0d15;
	font-size: 40px;
	text-shadow: 3px 3px 0 #fff,
				 -3px -3px 0 #fff,
				 3px -3px 0 #fff,
				 -3px 3px 0 #fff,
				 6px 6px 3px rgba(0,0,0,0.5);
}

h2.headlinerBewerbung {
    background: #dc0d15 none repeat scroll 0 0;
    border-radius: 10px;
    color: #fff;
    margin-bottom: 40px;
    padding: 10px;
}

h2 {
	font-size: 30px;
}

h3 {
	font-size: 20px;
}

h4 {
	color: #dc0d15;
	font-size: 20px;
	margin-bottom: 20px;
}

.hidden-md {
	display: none;
}

small {
	font-size: 12px;
	line-height: 12px;
}

/* ---------- LAYOUT ---------- */

html, body { height: 100%; }

body {
	margin: 0;
	color: #333333;
	font-family: 'MyriadWebPro', Arial, sans-serif;
	font-size: 16px;
	line-height: 20px;
	background: #fff url(../images/layout/background.png) center top no-repeat;
	background-attachment: fixed;
	word-wrap: break-word;
}

#wrapper {
	position: relative;
	padding: 0 0 60px 0;
	margin: 0 auto;
	min-height: 100%;
	max-width: 1240px;
	background: url(../images/layout/bg-transparent.png);
	-moz-box-shadow: 0 0 15px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 0 15px rgba(0,0,0,0.5);
	box-shadow: 0 0 15px rgba(0,0,0,0.5);
	border-top: 10px solid #132c34;
	border-bottom: 10px solid #fff;
}

#header {
	background: #fff;
	border-top: 10px solid #dc0d15;
	border-bottom: 10px solid #132c34;
	margin: 2px 0;
	padding: 40px 5%;
}

#logo {
	display: block;
	max-width: 542px;
	width: 100%;
	margin: 0 auto;
}

#logo img {
	display: block;
	width: 100%;
	height: auto;
}

#logo span { display: none; }

#main {
	border-top: 10px solid #dc0d15;
	padding: 0 5%;
	text-align: center;
}

#footer {
	border-bottom: 10px solid #dc0d15;
	background: #132c34;
	position: absolute;
	bottom: 0;
	padding: 10px 5% 5px;
	width: 100%;
	text-align: right;
}

/* ---------- NAVIGATION ---------- */

#main_navi {
	padding: 0;
	margin: 40px 0 0;
	list-style: none;
	text-align: center;
}

#main_navi li {
	display: inline-block;
	overflow: hidden;
	margin: 0 5px;
}

a#totop,
#main_navi li a {
	color: #132c34;
	font-size: 40px;
	line-height: 40px;
	text-decoration: none;
	display: block;
}

a#totop {
	color: #fff;
}

a#totop:focus,
a#totop:hover,
#main_navi li a:focus,
#main_navi li a:hover,
#main_navi li.active a {
	color: #DC0D15;
}

a#totop span,
#main_navi li a span {
	display: none;
}

#main_navi #facebook_li a {
	font-size: 35px;
}

/* ---------- CONTENT ---------- */

section {
	text-align: center;
	margin-bottom: 30px;
}

#section-5 {
	margin-bottom: 0;
}

#section-3-video {
	margin-right: 4px;
	margin-top: 40px;
	padding-bottom: 40px;

}

#section-3-video video {
	width: 100%;
	height: auto;
}

.berufsschule-image {
	display: inline-block;
	overflow: hidden;
}

.berufsschule-image img {
	display: block;
}

.red {
	color: #DC0D15;
	text-shadow: none !important;
}

h3.page-end {
	margin-bottom: -5%;
}

a.lupe {
	display: inline-block;
	padding: 2px 10px;
	background: #DC0D15;
	color: #fff;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

a.lupe:focus,
a.lupe:hover {
	background: #132c34;
	text-decoration: none;
}

#contact {
	background: url(../images/layout/bg-contact.png) left top no-repeat;
	background-size: 100% 100%;
	max-width: 920px;
	margin: 0 auto;
	padding: 15% 10% 2%;
	position: relative;
}

/* ---------- CONTACTFORM ---------- */

#contactForm {
	text-align: left;
	margin: 0 -10px;
}

#contactForm .form-group {
	margin-bottom: 10px;
	width: 100%;
	float: left;
	padding: 0 10px;
	position: relative;
}

#contactForm .form-group.number,
#contactForm .form-group.zipcode {
	width: 50%;
}

#contactForm .form-group.message {
	width: 100%;
}

#contactForm .form-group label {
	display: block;
}

#contactForm .form-group input[type=text],
#contactForm .form-group input[type=tel],
#contactForm .form-group input[type=email],
#contactForm .form-group input[type=file],
#contactForm .form-group select,
#contactForm .form-group textarea {
	width: 100%;
	background: #132C34;
	border: none;
	padding: 10px;
	color: #fff;
	font-family: 'MyriadWebPro', Arial, sans-serif;
	font-size: 20px;
	min-height: 43px;
	border: 1px solid #132C34;
}

#contactForm .form-group input[type=file] {
	font-size: 12px;
	cursor: pointer;
}

#contactForm .form-group select {
	padding: 9px 10px;
}

#contactForm .form-group textarea {
	max-width: 100%;
	min-width: 100%;
	min-height: 100px;
}

#contactForm .form-group input[type=text]:focus,
#contactForm .form-group input[type=tel]:focus,
#contactForm .form-group input[type=email]:focus,
#contactForm .form-group input[type=file]:focus,
#contactForm .form-group select:focus,
#contactForm .form-group textarea:focus {
	border: 1px solid #132C34;
	background: #fff;
	color: #132C34;
}

.button,
button {
	background: #DC0D15;
	color: #fff;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border: none;
	font-family: 'EdoSZ', Arial, sans-serif;
	font-size: 30px;
	padding: 5px 10px;
	cursor: pointer;
	margin: 10px;
	display: inline-block;
}

.bew-button {
		font-size: 18px;
		margin: 10px 0;
	}

.button:hover,
.button:focus,
button:hover,
button:focus {
	background: #132C34;
	text-decoration: none;
}

#contactForm .form-group.has-error textarea,
#contactForm .form-group.has-error select,
#contactForm .form-group.has-error input {
	border: 1px solid #DC0D15 !important;
	background: #7F2A2C !important;
	color: #fff;
}

#contactForm .form-group.has-error .help-block {
	color: #DC0D15 !important;
}

/* custom addition (kgore)*/
#section-3-video {
    background: url('../images/layout/bg-video.png') no-repeat top center;
}
.video-container {
    position: relative;
    padding-bottom: 36.25%;
    padding-top: 15px;
    height: 0;
    overflow: hidden;
}
.video-container iframe {
    /*position: absolute;*/
    top: 0;
    left: 0;
    width: 100%;
    max-width: 520px;
    /*height: 100%;*/
}
@media only screen and (max-width: 568px) {
    .video-container {
        padding-top: 0;   
    }
    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        max-width: inherit;
        height: 100%;
    }
}
