/** globale Definitionen **/
:root {
  --fontFamily: "Arial", "Arial Bold", "Simple", "Simple Bold";

  --textColor: #000;
  --borderColor: #000;
  --bulletColor: #000;


  --btnBackHoverColor: #000;
  --btnTextColor: #fff;
  --btnTextHoverColor: #fff;

  --fontSize: 16px;

  --h1Size: 32px;
  --h1LineHeight: 36px;
  --h1Color: var(--black);
  --h1BackColor: transparent;

  --h2Size: 24px;
  --h2LineHeight: 28px;
  --h2Color: var(--blue);
  --h2BackColor: transparent;

  --h3Size: 20px;
  /* --h3LineHeight: 28px; */
  --h3Color: var(--black);
  --h3BackColor: transparent;

  --h4Size: 16px;
  --h4LineHeight: 32px;
  --h4Color: var(--black);
  --h4BackColor: transparent;

  --sitemargin: 0 1rem 0 1rem;

}



@font-face {
  font-family: "Simple";
  src: url("https://assets.stellenpool24.de/01_hsm/fonts/lineto-simple-regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Simple";
  src: url("https://assets.stellenpool24.de/01_hsm/fonts/Simple-regular.ttf") format("ttf");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Simple Bold";
  src: url("https://assets.stellenpool24.de/01_hsm/fonts/Simple-bold.ttf") format("ttf");
  font-weight: 900;
  font-style: normal;
}

/** Reset **/
* {
  margin: 0;
  padding: 0;
  position: relative;
  box-sizing: border-box;
}

html,
body {
  background-color: #fff;
  color: #333333;
  line-height: 138%;
}

p {
  padding: 5px 0;
}

strong {
  font-family: "Arial";
  font-weight: bold;
}

ul,
ol {
  padding: 5px 0 5px 0px;
}

hr {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/** Standards **/
#wrapper {
  margin: auto;
  max-width: 900px;
  font-family: var(--fontFamily);
  border: 1px solid var(--borderColor);
  width: 100%;
  padding: 0 3rem;
  outline: 1px solid #333333;
}

h2:empty,
h3.empty,
h4.empty,
h5.empty,
h6.empty,
div:empty,
p:empty,
ul.empty,
ol.empty,
section:empty {
  display: none !important;
}
section:has(div:only-child:empty) {
  display: none !important;
}
section:has(hr:only-child) {
  display: none !important;
}
a[href^="tel:"] {
  white-space: nowrap;
}

a {
  color: var(--aColor);
}

a:hover {
  color: var(--aHoverColor);
}

ul li::marker {
  color: var(--bulletColor);
}

ul li::before {
  content: "—";
  padding-right: 5px;
  color: var(--bulletColor);

  position: absolute;
  width: 15px;
  margin-left: -4px;
  left: 0;
}

ul {
  margin-top: 1rem;
  margin-left: 3px;
  list-style: none;
}

li {
  list-style-type: none;
  padding-left: 1.5rem;
  /* Ensures the text doesn't go under the dash */

}


li.salary::before,
li.retirement::before,
li.career::before,
li.health::before,
li.transport::before,
li.parking::before,
li.remote::before,
li.flexwork::before {
  position: absolute;
  left: 0;
  margin-top: -16px;
}

li.salary::before {
  content: url("../img/besoldung.svg");
}

li.retirement::before {
  content: url("../img/vorsorge.svg");
}

li.career::before {
  content: url("../img/weiterbildung.svg");
}

li.health::before {
  content: url("../img/gesundheit.svg");
}

li.transport::before {
  content: url("../img/oeffis.svg");
}

li.parking::before {
  content: url("../img/parken.svg");
}

li.remote::before {
  content: url("../img/homeoffice.svg");
}

li.flexwork::before {
  content: url("../img/arbeitszeit.svg");
}

#title h3 {
  padding-bottom: 2rem;
}

#title h1 {
  font-family: "Simple";
  font-weight: bold;
}

#modalities p {
  padding-bottom: 1rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.left,
.right {
  display: flex;
  flex-direction: column;
}

#tasks ul:nth-child(2) {
  padding-bottom: 1rem;
}

#offer .split {
  font-family: "simple";
  display: grid;
  gap: 0rem;
  grid-template-columns: 2fr 2fr;
  align-content: space-between;
}

#offer {
  font-family: "Arial";
}

#offer div {
  display: flex;
  flex-direction: column;
  width: 100%;
}

#offer li {
  padding-left: 70px;
  min-height: 60px;
  text-indent: 0;
  width: 95%;
  align-self: center;
  line-height: 1.2rem;
  padding-bottom:1rem;
}

#offer ul {
  display: grid;
  grid-template-columns: 50% 50%;
  list-style: none;
  padding-left: 1rem;
  flex: 1;
  line-height: 10rem;
}

body {
  color: var(--textColor);
}

h1 {
  color: var(--h1Color);
  background-color: var(--h1BackColor);
  font-size: var(--h1Size);
  line-height: var(--h1LineHeight);
}

h2 {
  color: var(--h2Color);
  background-color: var(--h2BackColor);
  font-size: var(--h2Size);
  line-height: var(--h2LineHeight);
}

h3 {
  color: var(--h3Color);
  background-color: var(--h3BackColor);
  font-size: var(--h3Size);
  line-height: var(--h3LineHeight);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Simple";
  font-weight: 900;
}

header {
  margin-top: 3rem;
  display: block;
  padding-bottom: 3rem;
}

header #hsmFont {
  width: 220px;
  margin-right: 58px;
  float: left !important;
}

header #hsmFaculty {
  width: 130px;
  /* left:-4px; */
}

header #hsmLogo {
  width: 116px;
  float: right !important;
}


#application p:last-of-type {
  margin-bottom: 3rem;
}

a.btn {
  margin-top: 16px;
  text-decoration: none;
  border: 1px solid #000;
  font-family: "Simple";
  font-size: 16.8px;
  padding: 16px 15px;
  color: #000;
  text-transform: uppercase;
  transition: all ease-in-out 0.4s;
}

a:-webkit-any-link {
  cursor: pointer;
}

/* a::before {
  content: "";
  transition: all ease-in-out 0.1s;
  bottom: 0px;
  left: 0;
  width: 0;
  height: 1px;
  position: absolute;
  background: #000;
} */
a:hover:not(.btn) {
  text-decoration: underline;
  transition: all ease-in-out 0.4s;
}

.btn {
  background-color: var(--btnBackColor);
  color: var(--btnTextColor);
}

.btn:hover {
  background-color: var(--btnBackHoverColor);
  color: var(--btnTextHoverColor);
}

#contact {
  margin-top: 1rem;
}

.contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.campus {
  width: 100%;
  height: auto;
  margin-top:1rem;
  margin-bottom: 1.5rem;
}

.noWrap {
  white-space: nowrap;
}

.noMg {
  margin-bottom: 0;
  padding-bottom: 0;
}

footer {
  padding: 2rem 3rem;
  display: block;
  background-color: #f0f0f0;
  width: calc(100% + 6rem);
  margin-left: -3rem;
  margin-top: 20px;
}
footer h2 {
  margin-bottom:1rem;
}
footer h3 {
  padding: 2rem 0;
}

#claim {
  width: 176px;
}

/** RESPONSIVE **/
@media screen and (max-width: 703px) {
  header {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    padding-bottom: 3rem;
  }

  header #hsmFont {
    width: 220px;
    margin-right: 0px;
    float: left !important;
  }

  header #hsmFaculty {
    width: 155px;
    margin-top: 58px;

  }

  header #hsmLogo {
    margin-top: -196px;
    float: right !important;
  }
}

@media screen and (max-width: 600px) {
  .split {
    grid-template-columns: 1fr;
  }

  #offer li {
    margin-bottom: 0rem;
    position: relative;
  }

  #offer div:nth-of-type(1) {
    grid-template-columns: 1fr;
  }

  .contacts {
    grid-template-columns: 1fr 1fr;
  }

  #offer ul {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 500px) {
  header {
    margin-top: 2rem;
  }

  #wrapper {
    padding: 0 2rem;
  }
  footer {
    padding: 2rem 2rem;
    width: calc(100% + 4rem);
    margin-left: -2rem;
  }
}

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

  footer {
    padding: 2rem 2rem;
    width: calc(100% + 4rem);
    margin-left: -2rem;
  }
}

@media screen and (max-width: 450px) {
  #hsmFont {
    width: 180px !important;
  }

  header #hsmFaculty {
    width: 115px;
    margin-top: 46.5px;
    /* margin-right:200px; */
    clear: both;
  }

  #hsmLogo {
    margin-top: -157px !important;
    width: 93px !important;
  }
  #claim {
    width: 136px;
    margin-top: 10px;
  }
}

@media screen and (max-width: 430px) {
  #wrapper {
    padding: 0 1.3rem;
  }

  #offer li {
    padding-bottom: 1rem;
  }

  ul,
  ol {
    padding: 0px 0 0px 5px;
  }

  header {
    padding-bottom: 0;
  }
  footer {
    padding: 2rem 1.3rem;
    width: calc(100% + 2.6rem);
    margin-left: -1.3rem;
  }

}

@media screen and (max-width: 393px) {
  header #hsmFont {
    width: 170px !important;
  }

  header #hsmFaculty {
    margin-top: 42.5px;
    width: 100px !important;
  }

  header #hsmLogo {
    margin-top: -148px !important;
    width: 85px !important;
  }
 #claim {
    width: 126px;
 }

}

@media screen and (max-width: 384px) {
  .contacts {
    display: grid;
    grid-template-columns: 1fr;
    /* gap: 1rem; */
    margin-bottom: 1rem;
  }

  #offer ul {
    padding-left: 1rem;
 
  }

  #offer li {
    margin-top: 1rem;
  }
  #offer li {
    padding-bottom: 0.75rem !important;
  }
}

@media screen and (max-width: 348px) {
  header #hsmFont {
    width: 150px !important;
  }

  header #hsmLogo {
    margin-top: -138px !important;
    width: 75px !important;
  }
  #claim {
    width:106px !important;
  }

}

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

  hr {
    margin: 1rem 0;
  }

  header #hsmFont {
    width: 120px !important;
    /* min-width: 5%; */
  }

  header #hsmLogo {
    width: 63px !important;
    margin-top: -110px !important;
    /* min-width: 5%; */
  }

  header #hsmFaculty {
    width: 80px !important;
    margin-top: 31.5px;
  }
  #offer li {
    padding-bottom: 0 !important;
  }
  #claim {
    width:96px !important;
  }

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

    #hsmFont {
      margin-bottom: 0px;
    }

    header #hsmLogo {
      width: 60px;
      margin-top: -110px !important;
    }
  }

}