* {
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    background-image: url(../img/bm_bg.jpg);
    background-attachment: fixed;
    width: 100%;
    height: 100%;
    font-family: 'Droid Sans', sans-serif !important;
    font-weight: 400;
    font-size: 87.5%;
}

@font-face {
font-family: 'Droid Sans';
font-weight: 400;
src: url('/tl_files/fonts/droid_sans_400.woff2') format('woff2'),
     url('/tl_files/fonts/droid_sans_400.woff') format('woff'),
     url('/tl_files/fonts/droid_sans_400.ttf') format('truetype');
}

@font-face {
font-family: 'Droid Sans';
font-weight: 700;
src: url('/tl_files/fonts/droid_sans_700.woff2') format('woff2'),
     url('/tl_files/fonts/droid_sans_700.woff') format('woff'),
     url('/tl_files/fonts/droid_sans_700.ttf') format('truetype');
}

a {
    text-decoration: none;
}

a img {
    border: none;
    border: 0;
}

li {
    list-style-type: none;
}

#wrapper {
    margin: 0 auto;
    max-width: 1280px;
    background-color: #ffffff;
    height: 100%;
}

#wrapper-container {
    max-width: 1140px;
    padding: 0 6.140350877193%;
    background: #ffffff;
    overflow-y: auto;
}

#header {
    width: 100%;
}

#header-container {
    min-height: 124px;
    position: relative;
}

#logo img {
    display: block;
    width: 73px;
    height: 65px;
    margin: 29px 0 0 0;
    border: none;
    border: 0;
}

#main-nav {
    display: block;
    width: 670px;
    margin: 29px 0 0 0;
}

#main-nav ul {
    width: 540px;
    margin: 20px 0 0;
}

#main-nav ul li{
    border-right: 1px solid #c7c7c7;
    margin: 0 1.92982% 0 0;
    padding: 0 1.92982% 0 0;
}

#main-nav ul li.last {
    border-right: none;
    margin: 0;
    padding: 0;
}

#main-nav ul li span,
#main-nav ul li a {
    font-size: 1.5714285714285714em;
}

#main-nav ul li span {
   color: #0069b3;
   cursor: default;
}

#main-nav ul li a{
    color: #777777;
}

#main-nav ul li:hover a{
    color: #474747;
}

#mobile-header-nav {
    display: none;
    background-color: #0069b3;
    width: 135px;
    height: 30px;
    float: right;
    color: #ffffff;
    margin: 27px 0 0;
    cursor: pointer;
    -moz-border-radius: 2px 2px 2px 2px;
        -webkit-border-radius: 2px 2px 2px 2px;
            border-radius: 2px 2px 2px 2px;
}

#mobile-header-nav span {
    display: inline-block;
    margin: 2px 0 0 10px;
    font-size: 18px;
}

#mobile-header-nav span span:before {
    font-family: fontello;
    content: '\e764';
}

.invisible {
    left: -99999px;
    position: absolute;
}

#container {}

#main {
    padding: 0 0 100px 0;
    background: #ffffff;
}

#impressum h1,
#datenschutz h1 {
    font-size: 28px;
    font-weight: 400;
    color: #0069b3;
    margin: 0 0 30px;
}

#impressum p,
#datenschutz p {
    color: #808080;
    line-height: 1.7;
}

#datenschutz p {
  margin-bottom: 20px;
}

#impressum a,
#datenschutz a {
    color: #0069b3;
}

.bg_main,
.static_content_image_wrapper{
    position: relative;
}

.bg_main img,
.img_wrapper img{
    width: 100%;
    height: auto;
    display: block;
}

.startseite_main {
    width: 100%;
    height: auto;
    position: relative;
}

.startseite_main ul {
    position: relative;
    right: -10px;
    top: 10em;
}

.bg_main ul li {
    margin: 0 30px 0 0;
    text-align: right;
}

.bg_main ul li span {
   font-size: 38px;
   color: #fefefe;
   /*line-height: 1.3;*/
   opacity: 0;
   position: relative;
   right: 12.87719298245614%;
   cursor: default;
}

.bg_main_sub {
    position: relative;
    width: 100%;
    margin: 10px 0 10px;
    background-color: #f2f2f2;
    background-image: linear-gradient(left , #f2f2f2 0%, #e9e9e7 0%);
      background-image: -o-linear-gradient(left , #f2f2f2 0%, #e9e9e7 0%);
        background-image: -moz-linear-gradient(left , #f2f2f2 0%, #e9e9e7 0%);
          background-image: -webkit-linear-gradient(left , #f2f2f2 0%, #e9e9e7 0%);
            background-image: -ms-linear-gradient(left , #f2f2f2 0%, #e9e9e7 0%);
              background-image: -webkit-gradient(
	        linear,
	        left top,
	        right top,
	        color-stop(0, #f2f2f2),
	        color-stop(0, #e9e9e7)
              );
}

.bg_main_sub:last-child {
    margin: 0 0 0 0;
}

.bg_sub {
    position: relative;
    width: 100%;
    margin: 5px 0;
    background-color: #f2f2f2;
    background-image: linear-gradient(left , #f2f2f2 0%, #e9e9e7 0%);
      background-image: -o-linear-gradient(left , #f2f2f2 0%, #e9e9e7 0%);
        background-image: -moz-linear-gradient(left , #f2f2f2 0%, #e9e9e7 0%);
          background-image: -webkit-linear-gradient(left , #f2f2f2 0%, #e9e9e7 0%);
            background-image: -ms-linear-gradient(left , #f2f2f2 0%, #e9e9e7 0%);
              background-image: -webkit-gradient(
	        linear,
	        left top,
	        right top,
	        color-stop(0, #f2f2f2),
	        color-stop(0, #e9e9e7)
              );
}

.bg_static_sub:last-child {
    margin:0 0 0 0;
}

.img_wrapper{
    position: relative;
}

.img_txt {
    position: absolute;
    top: 0;
    right: 0;
    height:100%;
    /* SVG fallback(Opera 11.10-, IE9) */
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxsaW5lYXJHcmFkaWVudCBpZD0iZ3JhZGllbnQiIHgxPSIwJSIgeTE9IjAlIiB4Mj0iMTAwJSIgeTI9IjAlIj48c3RvcCBvZmZzZXQ9IjAlIiBzdHlsZT0ic3RvcC1jb2xvcjpyZ2JhKDQ0LDEyNiwyMDIsMSk7IiAvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3R5bGU9InN0b3AtY29sb3I6cmdiYSg1LDEwOSwxODIsMSk7IiAvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IGZpbGw9InVybCgjZ3JhZGllbnQpIiBoZWlnaHQ9IjEwMCUiIHdpZHRoPSIxMDAlIiAvPjwvc3ZnPg==);
       /* Opera 11.10+ */
       background: -o-linear-gradient(left, rgba(44,126,202,1), rgba(5,109,182,1));
           /* Firefox 3.6+ */
           background: -moz-linear-gradient(left, rgba(44,126,202,1), rgba(5,109,182,1));
               /* Chrome 7+ & Safari 5.03+ */
               background: -webkit-gradient(linear, left top, right top, color-stop(0, rgba(44,126,202,1)), color-stop(1, rgba(5,109,182,1)));
                   /* IE5.5 - IE7 */
                   filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=1,StartColorStr=#FF2C7ECA,EndColorStr=#FF056DB6);
                      /* IE8 */
                      -ms-filter: "progid:DXImageTransform.Microsoft.Gradient(GradientType=1,StartColorStr=#FF2C7ECA,EndColorStr=#FF056DB6)"
}

.welcome_txt {
    color: #777777;
    font-size: 1.57em;
    text-align: center;
    margin: 20px auto;
    display: block;
    font-size: 12px;
    display: none;
}

.welcome_txt em {
    font-style: normal;
    font-weight: 700;
}

.impressum_lnk {
    color: #c6c6c6;
    text-align: center;
    display: none;
    margin: 10px 0 0;
}

.static_content p,
.jobs_content p,
.job_detail h3{
    font-size: 1em;
    color: #808080;
    line-height: 1.7;
}

.img_txt p {
    color: #ffffff;
    font-size: 24px;
    padding: 0 30px;
    position: relative;
    top: 2.3em;
}

.img_txt_bg {
  position: absolute;
  top: 0;
  left: 0;
  background-image: url('../img/bm_kachel_head.png');
  background-repeat: repeat;
  width:100%;
  height: 100%;
}

.startseite_main .img_txt_bg {
    background-image:  url('../img/bm_kachel_head.png');
    background-repeat: repeat;
}

.facebook-link {
    position: absolute;
    right: 0;
    top: -7px;
    display: block;
    text-align: center;
}

#footer-right {
    position: relative;
}

#footer-nav {
    padding-right: 30px;
}


.jobs_content h1{
    margin: 30px 0 20px 0;
    display: inline-block;
}

.jobs_content p {
    margin: 0 0 30px;
}

.job_detail {
    color: #808080;
}

.job_detail h3 {
    border-bottom: 1px solid #d6d6d6;
    padding: 0 0 10px;
    margin: 20px 0 10px;
}

div.job_detail:first-child h3 {
    margin: 0 0 10px;
}

.job_detail span,
.job_detail p {
    line-height: 1.7;
}

.job_detail ul li {
    list-style-type: disc;
    color: #0069b3;
    margin: 0 0 0 14px;
}

.job_detail ul li span {
    color: #808080;
}

.static_content h1 {
    display: inline-block;
    margin: 30px 0 20px 0;
}

.static_content h1 span,
.jobs_content h1 span{
    font-size: 28px;
    color: #0069b3;
    font-weight: normal;
}

.bg_main_sub > span {
    position: absolute;
    color: #777777;
    display: inline-block;
    text-align: center;
    width: 100%;
    font-size: 1.57em;
    top: 33%;
}

.bg_main_sub > span > em {
    font-weight: 700;
    font-style: normal;
}

.job_item {
    border-top: 1px solid #d6d6d6;
    border-bottom: 1px solid #d6d6d6;
    margin: 0 0 15px;
}

.job_item:hover {
    background: #f7f7f7;
}

.job_item_content {
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    position: relative;
}

.job_item_content h2,
.job_detail h2{
    color: #0069b3;
    font-style: normal;
    font-size: 20px;
    font-weight: 400;
}

.job_detail h2{
    margin: 30px 0 20px 0;
    font-size: 28px;
}

.job_item_content p {
    margin: 0 0 42px;
}

.job_item_content a{
    color: #0069b3;
    position: absolute;
    right: 5px;
    bottom: 20px;
}

.job_detail a {
    color: #0069b3;
    float:right;
    margin: 20px 0 0 0;
}

.job_item_inner {
    margin: 20px 5px;
}

.contact_wrapper {
    width: 100%;
}

.contact_content h1 {
    font-size: 28px;
    font-weight: 400;
    color: #0069b3;
    margin: 30px 0 20px;
}

.contact_content p {
    color: #808080;
}

form#contact-form ul li {
    clear: both;
    margin: 0 0 5px;
}

form#contact-form label,
form#contact-form input,
form#contact-form textarea {
    font-size: 14px;
}



form#contact-form input,
form#contact-form textarea {
    background-color: #f9f9f9;
    outline: none;
    border: none;
    border-bottom: 1px solid #d6d6d6;
    float: left;
    padding: 5px;
    color: #808080;
    font-family: Droid Sans;
}

form#contact-form input:focus,
form#contact-form textarea:focus {
    color: #0069b3;
}

#contact-left form#contact-form input,
#contact-left form#contact-form textarea {
    width: 78%;
    float: right;
}

form#contact-form label {
    float:left;
    line-height:2.4;
    width: 20%;
    color: #808080;
}

#contact-submit {
    border: medium none;
    color: #FFFFFF;
    font-size: 14px;
    height: 30px;
    outline: medium none;
    width: 111px;
    margin: 20px 0 0;
    /* SVG fallback(Opera 11.10-, IE9) */
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxsaW5lYXJHcmFkaWVudCBpZD0iZ3JhZGllbnQiIHgxPSIwJSIgeTE9IjAlIiB4Mj0iMTAwJSIgeTI9IjAlIj48c3RvcCBvZmZzZXQ9IjAlIiBzdHlsZT0ic3RvcC1jb2xvcjpyZ2JhKDQ0LDEyNiwyMDIsMSk7IiAvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3R5bGU9InN0b3AtY29sb3I6cmdiYSg1LDEwOSwxODIsMSk7IiAvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IGZpbGw9InVybCgjZ3JhZGllbnQpIiBoZWlnaHQ9IjEwMCUiIHdpZHRoPSIxMDAlIiAvPjwvc3ZnPg==);
/* Opera 11.10+ */
background: -o-linear-gradient(left, rgba(44,126,202,1), rgba(5,109,182,1));

/* Firefox 3.6+ */
background: -moz-linear-gradient(left, rgba(44,126,202,1), rgba(5,109,182,1));

/* Chrome 7+ & Safari 5.03+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0, rgba(44,126,202,1)), color-stop(1, rgba(5,109,182,1)));

/* IE5.5 - IE7 */
filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=1,StartColorStr=#FF2C7ECA,EndColorStr=#FF056DB6);

/* IE8 */
-ms-filter: "progid:DXImageTransform.Microsoft.Gradient(GradientType=1,StartColorStr=#FF2C7ECA,EndColorStr=#FF056DB6)"
}

.error_message {
    color: #808080;
    margin: 15px 0 0;
}

.mandatory_fields {
    color: #808080;
    font-size: 11px;
    margin: 15px 0 0;
    display: block;
}

.post_address {
    color: #808080;
    line-height: 1.7;
}

.post_address a {
    color: #0069b3;
}

.post_address span {
	font-weight: bold;
}

#contact-left {
    width: 61%;
}

#contact-right {
    width:  30.701754385964914%;
}

.contact_wrapper h2{
    font-weight: 700;
    font-size: 14px;
    color: #808080;
    border-bottom: 1px solid #d6d6d6;
    margin: 20px 0 10px;
    padding: 0 0 10px;
}

.contact_data {
    padding: 0 0 20px;
}

#footer {
    width: 100%;
    border-top: 1px solid #d6d6d6;
    background: #ffffff;
    margin: 0 0 20px;
}

#footer-container {
    margin: 15px 0 0 0;
}

#footer-left {
    width: 350px;
}

#footer-right {
    width: 400px;
    margin: 7px 0 0;
}

#footer-logo {
    background: url(../img/bm_logo_footer.jpg) no-repeat;
    width: 59px;
    height: 53px;
}

#footer-logo-text {
    margin: 8px 0 0 20px;
}

#footer-logo-text span {
    color: #d3d3d3;
}

#footer-logo-text span:first-child {
    color: #c6c6c6;
    font-weight: bold;
}

#footer-nav nav ul{
width: 575px;
}

#footer-copyright,
#footer-logo-text
{
    font: 12px Arial;
}

#footer-copyright {
    color: #c6c6c6;
    margin: 15px 0 0 0;
}

#footer-nav nav ul li a,
#footer-nav nav ul li span {
    color: #c6c6c6;
}

#footer-nav nav ul li{
    border-right: 1px solid #c7c7c7;
    margin: 0 1.92982% 0 0;
    padding: 0 1.92982% 0 0;
}

#footer-nav nav ul li.last {
    border: none;
    margin: 0 0 0 0!important;
    padding: 0 0 0 0 !important;
}

#footer,
#logo img,
#main-nav ul li,
#contact-left,
#footer-left,
#footer-logo,
#footer-logo-text,
#footer-nav nav ul li
{
    float: left;
}

#main-nav,
#main-nav ul,
#contact-right,
#contact-submit,
#footer-nav nav ul,
#footer-right,
#footer-copyright {
    float: right;
}

.clear,
#clear,
.contact_data,
.contact_message,
.contact_wrapper h2 {
    clear: both;
}

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


@media(max-width: 1200px) {

    .bg_main ul li {
        margin: 0 15px 0 0;
    }

    .bg_main ul li span {
        font-size: 30px;
    }

    .bg_main_sub > span {
        font-size: 19px;
    }

    .img_txt p {
        top: 2.05em;
    }

    .startseite_main ul {
        top: 11em;
    }
}

@media(max-width: 1200px) {
  #footer-left,
  #footer-right {
      float: none;
      margin: 0 auto;
  }

  #footer-nav {
      display: inline-block;
      margin: 20px 0 0 -25px;
  }

  #footer-copyright {
      width: 100%;
      clear: both;
      text-align: center;
  }

  #footer-nav nav ul {
    width: auto;
  }
}

@media(max-width: 960px),
(max-device-width: 960px){

    #wrapper-container {
        padding: 0 2.631578947368421%
    }

    #header-container {
        min-height: 85px;
    }

    #logo img {
        width: 50px;
        height: 45px;
        margin: 20px 0 0;
    }

    #main-nav {
        display: none;
        float: none;
        margin: 0 auto;
        width: 100%;
        padding: 0 0 30px;
        clear: both;
        position: relative;
        top: 30px;
    }

    #main-nav ul {
        float: none;
        margin: 0 auto;
        width: 100%;
    }

    #main-nav ul li {
        float: none;
        border-right: none;
        border-top: 1px solid #c7c7c7;
        margin: 0;
        padding: 0;
    }

    #main-nav ul li:last,
    #main-nav ul li.last {
        border-top: 1px solid #c7c7c7 !important;
    }

    #main-nav ul li a,
    #main-nav ul li span{
        display: block;
        text-align: right;
        line-height: 1.6;
    }

    .bg_main ul li span {
        font-size: 24px;
    }

    .bg_main_sub > span {
        font-size: 16px;
    }

    .img_txt{
        display: none;
    }

    #contact-left form#contact-form input,
    #contact-left form#contact-form textarea {
        float: none;
        width: 98%;
    }

    #contact-left form#contact-form label {
        display: block;
        width: 98%;
    }

    #mobile-header-nav {
        display: block;
    }

    #footer-left,
    #footer-right {
        float: none;
        margin: 0 auto;
    }

    #footer-nav {
        display: inline-block;
        margin: 20px 0 0 -25px;
    }

    #footer-copyright {
        width: 100%;
        clear: both;
        text-align: center;
    }

    .facebook-link {
        position: relative;
        margin-top: 20px;
    }
}

@media(max-width: 700px),
(max-device-width: 700px){

    .bg_main ul li span {
        font-size: 16px;
    }

    .bg_main_sub > span {
        font-size: 12px;
    }
}

@media(max-width: 600px),
(max-device-width: 600px){
    #contact-left,
    #contact-right {
        float: none;
        width: 100%;
    }
}

@media(max-width: 480px),
(max-device-width: 480px){

    #wrapper-container {
        margin: 0 4px;
    }

    #header-container {
        height: auto;
    }

    .bg_main ul li span {
        display: none;
    }

    .bg_main_sub span{
        display: none;
    }

    .welcome_txt {
        display: block;
    }

    .bg_sub {
        margin: 2px 0;
    }

    form#contact-form label {
        width: 15%;
    }

    #contact-left form#contact-form input,
    #contact-left form#contact-form textarea{

    }

    #footer-left,
    #footer-right{
        width: auto;
    }

    #footer-logo,
    #footer-logo-text{
        float: none;
    }

    #footer-logo {
        margin: 0 auto;
    }

    #footer-logo-text {
        text-align: center;
        margin: 8px 0 0;
    }

    #footer-nav {
        display: none;
    }

    .impressum_lnk {
        display: block;
    }

    #footer-copyright {
        float: none;
        text-align: center;
    }

    #footer-copyright span {
        display: inline;
    }

    p.ten-years-text {
        text-align: left;
        width: 243px;
    }
}

@media(max-width: 320px),
(max-device-width: 320px){

    #footer-left,
    #footer-right {
        width: auto;
    }

    #footer-logo,
    #footer-logo-text{
        float: none;
    }

    #footer-logo{
        width: 59px;
        margin: 0 auto;
    }

    #footer-logo-text {
        width: 100%;
        margin: 20px auto;
    }
}

/*@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {

	#footer-logo-text {
	    width: 100%;
            margin: 0 auto;
	}

}*/

@media screen and (-webkit-min-device-pixel-ratio: 1.5) and (orientation: portrait) and (max-device-width: 480px) {
    .static_content h1 span, .jobs_content h1 span, job_detail h2, .contact_content h1, #impressum h1, #datenschutz h1, #main-nav ul li span, #main-nav ul li a, #mobile-header-nav span {
        font-size: 20px;
    }

    .static_content p, .jobs_content p, .job_detail h3, .job_detail p .job_detail span,
    .job_detail ul li span, .contact_wrapper h2, form#contact-form label, form#contact-form label,
    form#contact-form input, form#contact-form textarea, .post_address p, #footer-copyright, #footer-logo-text, #impressum p, #datenschutz p {
        font-size: 8px;
    }

    .job_detail a {
        font-size:14px;
    }

    #mobile-header-nav {
        width: 140px;
    }

    #mobile-header-nav span{
        margin: 1px 0 0 8px;
    }
}

@media screen and (-webkit-min-device-pixel-ratio: 1.5) and (orientation: landscape) and (max-device-width: 480px) {
    .static_content h1 span, .jobs_content h1 span, .job_detail h2, .contact_content h1, #impressum h1, #datenschutz h1, #main-nav ul li span, #main-nav ul li a, #mobile-header-nav span {
        font-size: 16px;
    }

    .static_content p, .jobs_content p, .job_detail h3, .job_detail p .job_detail span,
    .job_detail ul li span, .contact_wrapper h2, form#contact-form label, form#contact-form label,
    form#contact-form input, form#contact-form textarea, .post_address p, #footer-copyright, #footer-logo-text, #impressum p, #datenschutz p {
        font-size: 6px;
    }

    .job_detail a {
        font-size: 10px;
    }

    #mobile-header-nav {
        width: 120px;
    }

    #mobile-header-nav span{
        margin: 3px 0 0 8px;
    }
}
