:root {
  --CI-1st: #008C46; /* BayWa-green */
  --CI-2rd: #272525; /* h1 */
  --CI-3nd: #444444; /* social icons */
  --CI-4th: #444545; /* h2, p */
  --CI-5th: #5E595E; /* low description */
  --CI-6th: #fafafa; /* background */
  --CI-7th: #0070CD; /* accent color 1 */
  --CI-8th: #00549a; /* accent color 2 */
}

html {
  font-size:62.5%;
  line-height:1.5;
}
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--CI-4th);
  margin:0;
}

div, li, p, .column, .button {
  box-sizing: border-box;
}

div {
  display:block;
}

.grid {

}

.column {
    margin: .5rem 0;
    padding: 0;
    margin-top:0;
    margin-bottom: -9999em;
    padding-bottom: 9999em;
    width: 100%;
    vertical-align: top;
    display:inline-block;
}

.jobad {
  min-height: 100vh;
  overflow: hidden;
  padding-bottom: 31px;
  font-size:1.4rem;
}

.wrapper {
min-width: 300px;
max-width: 1268px;
margin-left: auto;
margin-right: auto;
padding: 0 5px;
width: auto;
}

.jobad-container {
  padding-left: 1rem;
  padding-right: 5rem;
  width: 56.25%;
}

.jobad-header {
    margin: 3rem 0 1rem;
    min-height: 4rem;
}

.logo {
  display: inline-block;

}

.logo * {
    display: block;
    max-height: 10rem;
    max-width: 100%;
}

.job-details {
  color: var(--CI-5th);
  margin:.25rem 0;
  text-transform: none;
  padding:0;
  margin:0;
  margin-bottom:3rem;
  list-style-type: none;
}

.job-section {
    margin: 3rem 0;
}

.jobad-aside {
  background: var(--CI-6th);
  padding-left: 5rem;
  padding-right: 5rem;
  position: relative;
  width: 37.5%;
}

.jobad-aside:after {
    background: var(--CI-6th);
    bottom: 0;
    content: "";
    left: 100%;
    position: absolute;
    top: 0;
    width: 450%;
  }

h1 {
  font-weight:normal;
  font-size: 2.4rem;
  line-height: 1.2;
  margin: .25rem 0;
}

h2, h3, h4 {
 font-size:1em;
}

h2 {
  font-size:1.4rem;
  margin: 1rem 0 .5rem;
  text-transform: none;
}

p, ul {
    margin-top:0;
    /* margin-bottom:3rem; */
}

ul {
  padding-left: 2rem;
}

li.remote {
  background: url(https://multiposting.s3.softgarden.de/001D000000lWGLUIA4/4e7d60cd-ba29-4e6e-ae72-fd30c2e690e8/6128006a-95c5-4c8b-ae5e-2f674bd2f3d9/7a1a519e-bf58-411c-8485-731a1dc147a1.png) no-repeat 0 2px;
  padding-left: 2rem; 
  background-size: 15px; 
}


.jobad-buttons {
  margin-top: 8.5rem;
  margin-right: 0px;
  margin-bottom: 1.5rem;
  margin-left: 0px;
}

.button {
  text-align:center;
  border: 0;
  text-decoration: none;
  padding: .7rem 1rem;
  font-size:1.8rem;
  line-height: 1.2;
  vertical-align: middle;
  cursor: pointer;
  border-radius: 3px;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: border-color .3s ease,background .3s ease,color .3s ease;
  padding: .8rem;
  display: block;
  min-width: 0;
  width: 100%;
}

.button:hover {
  opacity: 0.88;
  background-color: var(--CI-1st);
}

.button-1st {
  background-color: var(--CI-1st);
  color: #fff;
  border-style: none;
}

.button-2nd {
  background-color: transparent;
  border: 1px solid #ddd;
  margin-top: 1rem;
  color: var(--CI-4th);
}

.button-2nd:hover {
  background-color: var(--CI-7th);
  border-color: var(--CI-8th);
  color: #fff;
}

.widget {
  margin: 4rem 0;
}

.widget p {
  margin: 1rem 0;
}

.hidden { display:none;}


.video {
    background: center center no-repeat #444;
    background-size: cover;
    height: 0;
    margin: .5rem 0;
    padding-bottom: 116px;
    position: relative;
    width: calc(1 / 3 * 100%);
}

.video-items {
    padding-left: 0;
}

.video-button {
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    height: 5rem;
    left: 50%;
    margin: -2.5rem 0 0 -2.5rem;
    top: 50%;
    transition: border .3s ease,color .3s ease;
    width: 5rem;
    display: inline-block;
    position: absolute;
    padding: 0;
    min-width: 0;
    background: 0 0;
}

.video-button:hover {
    border-color: #aaa;
    color: #aaa;
    background: none;
}

.video-caret {
    content: "";
    height: 0;
    vertical-align: middle;
    width: 0;
    border-left: 1.5rem solid;
    border-bottom: 1.5rem solid transparent;
    border-top: 1.5rem solid transparent;
    left: 50%;
    margin: -1.5rem 0 0 -.5rem!important;
    top: 50%;
    display: inline-block;
    position: absolute;
}

@media (max-width:640px) {
  .jobad-container {
    padding-left: 1rem;
    padding-right: 5rem;
    width: 100%;
  }

  .jobad-aside {
    background: var(--CI-6th);
    padding-left: 5rem;
    padding-right: 5rem;
    position: relative;
    width: 100%;
  }

  .hidden { display:block;}
}
