html {
  box-sizing: border-box;
}

#header_container {
  height: 400px;
  overflow: hidden;
position: relative;
}

#buch{
width: 100px;
height: auto;
    margin-left: 0em;
}

#motive {
  text-align: center;
  width: 100%;
  position: relative;
  bottom: 20px;
}

.images1{
margin-top: 4em;
  display: grid;
  grid-template-columns: 50% 50%;
  -ms-grid-columns: 50% 50%;

}

a {
  color: black;
}

#motive img {
  margin-left: auto;
  margin-right: auto;
  max-height: 422px;
  width: auto;
}

.leftright {
  width: 100%;
  position: absolute;
  display: block;
  top: 0;
}

img {
  height: 100%;
}

#leftLayer {
  position: relative;
  left: 12em;
  height: 400px;
  margin: 0;
  float: left;
}

#rightLayer {
  position: relative;
  height: 400px;
  margin: 0;
  float: right;
}

.logo_container {
  height: 150px;
  position: relative;
  display: inline-block;
  top: -27em;
}

#logoLayer {
  position: relative;
  height: 143%;
  cursor: pointer;
}

#habilaLogo1 {
  position: relative;
  bottom: 10em;
  left: 5em;
  height: 5.5em;
}

#downMotive {
  position: relative;
  height: 35px;
  display: none;
}

#header_small {
  display: none;
  background-color: white;
  height: auto;
}

#HabilaMotive img {
  width: 100%;
  height: auto;
}

#wrapper {
  height: 100%;
  overflow: hidden;
}

#HabilaLogo {
  float: right;
  height: 135px;
  padding: 25px;
}

#HabilaLogo img {
  height: 60%;
}

.horizontal-line {
  position: relative;
  background-color: #e41a3b;
  height: 3px;
  top: 8em;
}

#HabilaMotive {
  height: 100%;
  text-align: center;
  width: 100%;
}

#leftLayer {
  position: relative;
  left: 0em;
}

#rightLayer::after {
  height: 100%;
  background-color: #e41a3b;
  padding-right: 20em;
}

#leftLayer::before {
  height: 100%;
  background-color: #e41a3b;
  padding-left: 20em;
}

@media screen and (max-width: 1250px) {
#buch {
    width: 135px;
    height: auto;
    margin-left: -1.2em;
}
}
@media screen\0 and (max-width: 1200px) {
.container1{
width: 100%;
margin-left: 250% !important;
}

}

@media screen and (max-width: 950px) {
#buch {
    width: 135px;
    height: auto;
    margin-left: 0em;
}
}

@media screen and (max-width: 1150px) {
  #leftLayer {
    left: 0;
    right: 0;
  }
}

@media screen and (max-width: 1000px) {
  #header_container {
    display: none;
  }
  #header_small {
    display: block;
  }
  #downMotive {
    display: block;
    bottom: 1em;
  }
  #downMotive .left {
    width: 100%;
    height: 35px;
  }
}

@media screen and (max-width: 600px) {}

ul li::before {
  content: "\2022";
  color: #0ba0d0;
  font-weight: bold;
  display: inline-block;
  width: 1.3em;
  margin-left: -1.32em;
}

ul {
  list-style-type: none;
  padding: 0;
  padding-left: 24px;
}

h1 {
  font-size: 25px;
  margin-bottom: 0;
}

h2 {
  font-size: 26px;
}

h3 {
  font-size: 22px;
}

h4 {
  font-size: 16px;
}

p {
  font-size: 16px;
  line-height: 150%;
  margin-top: 0;
}

body {
  background-color: #e6e6e6;
  margin: 0;
  font-weight: normal;
  font-family: 'Open Sans', sans-serif;
  overflow-wrap: break-word !important;
}

#publication {
  background-color: white;
  max-width: 979px;
  min-width: 320px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  box-shadow: 0 0 20px grey;
}
img {
	border: none;
	max-width: 100%;
	height: auto;
}
#content {}

#logo {
  height: 60px;
  margin: 10px;
}

#t-header {
  margin-top: 2em;
  font-size: 18px;
  padding: 25.5px;
  margin-left: 10%;
  margin-right: 10%;
  padding-bottom: 12.25px;
}

.vacancy-lead {
  font-weight: 600;
}

.vacancy-lead p {
  font-size: 14px;
}

.vacancy-location {
  margin-top: 1em;
  font-size: 15px;
  text-align: right;
}

.vacancy-title {
  color: #e41a3b;
}

#t-body {
  padding: 25.5px;
  padding-top: 12.25px;
  margin-left: 10%;
  margin-right: 10%;
}

.heading {
  font-size: 22px;
  font-weight: bold;
  margin: 15px 0;
  color: #0ba0d0;
}

.grid-4 {
  width: 100%;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 25% 25% 25% 25%;
  grid-template-columns: auto auto auto auto;
}

.inline-grid-4 {
  width: 100%;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 25% 25% 25% 25%;
  grid-template-columns: auto auto auto auto;
}

.grid-5050 {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 50% 50%;
  grid-template-columns: auto auto;
}

.grid-100 {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: auto;
  grid-template-columns: auto;
}

.inline-grid-5050 {
  display: -ms-inline-grid;
  display: inline-grid;
  -ms-grid-columns: auto auto;
  grid-template-columns: auto auto;
}

.inline-grid-100 {
  display: -ms-inline-grid;
  display: inline-grid;
  -ms-grid-columns: auto;
  grid-template-columns: auto;
}

.grid-item {
  padding-right: 15px;
}

.text {
  display: inline-block;

  position: relative;
  left: 48%;
}

.images {
  margin-top: 1em;
  display: grid;
  grid-template-columns: 50% 50%;
  -ms-grid-columns: 50% 50%;
}

#holz {
  margin-right: 25px;
    width: 100px;
    height: auto;
}

.last {
  display: none;
  background-color: #DDDFDE;
  width: 100%;
  height: 120px;
  margin-top: -9em;
}

@media screen\0 {
  #vacancy-description {
    width: 100%;
    margin-left: 100%;
  }
  #t-footer .grid-5050 {
    margin-left: 20em !important;
  }

#buch{
margin-left: 0em;
}
.container1{
width: 100%;
margin-left: 200% !important;
}
  .container {
    width: 100%;
    margin-left: 100% !important;
  }
}

@media screen and (max-width: 800px\0) {
  #t-body .grid-5050 {
    display: block !important;
  }
  #vacancy-description {
    margin-left: 0;
  }
  #t-footer .grid-5050 {
    margin-left: 0 !important;
  }
  .container {
    width: 100%;
    margin-left: 100% !important;
  }
}

#impressum {
  float: right;
  margin-right: 4em;
  margin-top: 1em;
  margin-bottom: 3em;
  display: inline-block;
}

#t-footer {
  background-image: url(index-Dateien/footerLayer.png);
  background-position: center;
  background-repeat: no-repeat;
  padding: 25.5px 25.5px 25.5px 147px;
  font-size: smaller;
  margin-top: 3em;
}

#t-footer .grid-5050 {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  -ms-grid-columns: auto auto;
  grid-template-columns: auto auto;
}

#t-footer .grid-item {
  padding-left: 1em;
}

#vacancy-contact_info {
  text-align: left;
}

.box, .arrow-box {
  color: black;
  height: 2em;
  padding: 0 10px;
  margin-right: 3px;
}

a {
  text-decoration: none !important;
}

a.apply-link.arrow-box {
  margin: 25.5px;
  margin-left: 175.5px;
  height: 24px;
  display: inline-block;
  text-align: center;
}

.apply-link {
  color: white;
}

.arrow-box {
  position: relative;
  background: #e41a3b;
  border: 1px solid #e41a3b;
}

.arrow-box:after {
  left: 100.1%;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.arrow-box:after {
  border-color: rgba(228, 26, 59, 0);
  border-left-color: #e41a3b;
  border-width: 12px;
  margin-top: -12px;
}

#vacancy-contact_info {
  margin-right: 10px;
}

.container img {
  height: 70px;
}

@media screen and (min-width:1400px) {
  #rightLayer {
    position: absolute;
    left: 1298px;
  }
}

@media screen and (max-width: 1000px) {
  #t-header {
    margin-left: 5%;
    margin-right: 5%;
  }
  #t-body {
    margin-left: 5%;
    margin-right: 5%;
  }
}

@media screen and (max-width: 745px) {
  #t-body {
    padding: 25.5px;
    padding-top: 12.25px;
  }
  #t-body .grid-5050 {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto;
    grid-template-columns: auto;
  }
  #t-body .grid-item {
    margin-left: 0;
    margin-right: 0;
  }
  #t-body * {
    margin-right: auto;
    margin-left: auto;
  }
  .grid-item {
    padding-right: 0;
  }
  .arrow-right {
    left: 680.5px;
  }
  #impressum {
    margin-right: 1em
  }

#t-footer {
  background-image: url(index-Dateien/footerLayer.png);
  background-position: center;
  background-repeat: no-repeat;
  padding: 25.5px 25.5px 25.5px 35px;
  font-size: smaller;
  margin-top: -1em;
}
}

@media screen and (max-width: 500px){
#buch {
    width: 135px;
    height: auto;
    margin-left: 7em !important;
}
}

@media screen and (max-width: 617px) {
  .apply-link {
    margin-top: 5px;
  }
}

@media screen and (max-width: 585px) {
  #t-footer .container {
    margin-top: 30px;
  }
}

@media screen and (max-width: 500px) {
  .apply-link {
    width: 70%;
    margin-left: 15% !important;
    margin-right: 15% !important;
  }
}

@media screen and (max-width: 405px) {
  #t-body .grid-item {
    margin-left: 0;
    margin-right: 0;
  }
}

#pdf{
display: none;
}

@media print {
.grid-5050 {
    grid-template-columns: auto;
}

#t-footer{
display: none;
}
#pdf{
display: block;
}
body{
    font-size: 14px;
}

p{
font-size: 14px;
}
#impressum{
display: none;
}
  .apply-link {
    display: none !important;
  }

#impressum{
display: none;
}

#publication {
    box-shadow: none;
    background: white;
}

body{
    box-shadow: none;
    background: white;
}



  #header_container, #header_small, #motive, #leftLayer, #rightLayer {
    height: 150px;
  }
  #motive {
    bottom: 0;
  }
  #t-header {
    margin-top: 0;
    padding-bottom: 0;
    font-size: 15px;
  }
  #t-body {
    padding-bottom: 0;
  }
  #t-footer {
    margin-top: 2.5em;
  }
  .heading {
    margin-top: 0;
    font-size: 17px;
  }
  h1 {
    font-size: 19px;
  }
  ul {
    font-size: 14px;
  }
}

@media screen and (max-width:700px) {
  .grid-4 {
    -ms-grid-columns: 50% 50%;
    grid-template-columns: 50% 50%;
  }
  #item-1, #item-2{
    margin-top: 3em !important;
  }

#buch{
    width: 135px;
    height: auto;
    margin-left: 5em;
}

  #item-3, #item-4{
    margin-top: 2em;
  }

  .last {
    display: block;
  }
  .text {
    left: 0;
    top: 160px
  }
}

@media screen and (max-width:390px) {
  #item-1, #item-2, #item-3, #item-4, .text {
  }

  .text{
    left: -10px;
  }
}

@media screen and (max-width:359px) {
  .text{
    top: 190px !important;
  }
}

@media screen and (max-width:780px) and (min-width:745px) {
  #item-4 {
    margin-left: -3em;
  }
}

@media screen and (max-width:550px) {
  .text {
    top: 170px;
  }
}