a:link, a:visited, a:hover, a:active {
  color: #5D8CAF;
}

html, textarea {
  font-family: Arial,"Helvetica Neue",Helvetica,sans-serif;
}

body {
  font-size: 14px;
  background-color: #ffffff;
  margin: 2px;

  max-width: 98vw;
}

form {
  margin-right: 8px;
}
  

em {
  font-style: italic;
}

h1, h2 {
  color: #00305b;
}

h1 {
  font-size: 20pt;
}


h2 {
  font-size: 14pt;
  margin-top: 4px;
  margin-bottom: 8px;
}

h3 {
  color: #333333;
  font-size: 14px;
  font-weight: bold;
  padding-bottom: 2px;
}

a {
  cursor: pointer;
}

a.bubble-close {
  font-size: 20px;
}

input, textarea {
  font-size: 14px;
}

input {
  vertical-align: bottom;
}

textarea {
  background-color: #f2f2f2;
  padding: 3px;
  margin-top: 14px;
}


th {
  font-size: 14px;
  font-face: bold;
}


.alles {
  width: 100%;
  margin: auto;
  background-color: #f0f0f0;
}

.inhalt {
  width: 100%;
  margin-left: 0px;
  padding: 0px;
  background-color: #ffffff;
  margin-left: 0px;
  margin-right: 0px;
  top: 0px;
}

#headertitle {
  position: relative;
  padding-top: 72px;
}

#headerclaim {
  position: relative;
  padding-top: 0px;
}



.ads {
  margin-left: 64px;
}

.bubble {
  background: #ffffaa;
  width: 420px;
  max-width: 90vw;
  height: 92px;
  padding: 8px;
  position: absolute;
  border: 1px solid #000000;
  border-bottom: 2px solid #000000;
  border-right: 2px solid #000000;
  right: 4px;
  top: -104px;
  display: none;
  z-index: 1000;
  font-size: 11px;
}

.bubbleLow {
  background: #ffffaa;
  width: 280px;
  max-width: 90vw;
  height: 120px;
  padding: 8px;
  position: absolute;
  border: 1px solid #000000;
  border-bottom: 2px solid #000000;
  border-right: 2px solid #000000;
  right: 0px;
  top: 160px;
  display: none;
  z-index: 1000;
  font-size: 11px;
}

.bubbleSmall {
  background: #ffffaa;
  width: 420px;
  max-width: 90vw;
  height: 60px;
  padding: 8px;
  position: absolute;
  border: 1px solid #000000;
  border-bottom: 2px solid #000000;
  border-right: 2px solid #000000;
  right: 4px;
  top: -72px;
  display: none;
  z-index: 1000;
  font-size: 11px;
}

.bubbleImgTop {
  position: absolute;
  top: -20px;
  left: -1px;
}

.bubbleImgBottom {
  position: absolute;
  bottom: -21px;
  right: -1px;
  font-size: 11px;
}

.section {
  position: relative;
  border: 1px solid #e0e0e0;
  margin-top: 8px;
  margin-bottom: 8px;
  padding: 2px;
  padding-bottom: 8px;
}

.sectionHighlight {
  position: relative;
  border: 1px solid #888888;
  margin-top: 8px;
  margin-bottom: 8px;
  padding: 2px;
  padding-bottom: 8px;
}

.auswahl {
  width: 200px;
  margin-left: 4px;
}

.phrase {
  position: relative;
  float: right;
  top: 16px;
  right: 12px;
  width: 40%;
}

.phrase textarea {
  width: 95%;
}

.smallprint {
	font-size: 9px;
}



.abschnitt {
  display: grid;
  position: relative;
  grid-template-columns: repeat(12, 1fr);
  border: 1px solid #e0e0e0;
  margin-top: 8px;
  margin-bottom: 8px;
  padding: 8px 4px 12px 4px;
}

.abschnitt-header {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

.link-erklaerung {
  text-align: right;
  padding: 4px;
  font-size: 12px;
}

div.erklaerung {
  display: none;
  
  position: absolute;
  z-index: 1000;
  
  border: 1px solid #999;
  font-size: 13px;
  width: 60%;
  right: 60px;
  top: 40px;
  padding: 12px;
  
  background-color: #fff;
  -webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
  -moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
  box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
}

.abschnitt-titel, .link-erklaerung, .abschnitt-varianten, .abschnitt-phrase {
  display: block;
}

.abschnitt textarea {
  min-height: 96px;
  width: 95%;
  max-width: 90vw;
}

textarea[name="txt_taetigkeiten_einl"] {
  min-height: 20px !important;
  height: 20px !important;
}

textarea[name="txt_zeugnistext"] {
  min-height: 240px !important;
  height: 240px !important;
}


.abschnitt-breit {
  grid-column: span 12;
}

.abschnitt-flex {
  display: block;
}

.abschnitt-ma-angaben {
  display: flex;
  flex-wrap: wrap;
}

@media screen and (min-width: 768px) {
  .abschnitt-header {
    grid-column: span 12;
  }
  .abschnitt-titel {
    grid-column: span 9;
  }
  .link-erklaerung {
    grid-column: span 3;
  }
  .abschnitt-varianten {
    grid-column: span 3;
  }
  .abschnitt-phrase {
    grid-column: span 9;
  }
}
@media screen and (max-width: 767px) {
  .abschnitt-header {
    grid-column: span 12;
  }
  .abschnitt-titel {
    grid-column: span 9;
  }
  .link-erklaerung {
    grid-column: span 3;
  }
  .abschnitt-varianten {
    grid-column: span 12;
  }
  .abschnitt-phrase {
    grid-column: span 12;
  }
}


