body {
  background: #E9E8E8;
  font-family: arial,sans-serif;
  margin:0;
  overflow-y: scroll;
}
.screen-reader-only {
  position: absolute;
  height: 1px;
  width: 1px;
  clip: rect(1px 1px 1px 1px); /* IE 6 and 7*/
  clip: rect(1px,1px,1px,1px);
  clip-path: polygon(0px 0px, 0px 0px, 0px 0px);
  -webkit-clip-path: polygon(0px 0px, 0px 0px, 0px 0px);
  overflow: hidden !important;
}
h1{
  margin-top: 40px;
  margin-bottom: 0 !important;
}
h2{
  margin-top: 40px;
}
h3 {
  padding:10px 0px;
}
.backtotop {
  position: fixed;
  right: 10px;
  bottom: 100px;
  background: #fff !important;
  width: 70px;
  font-size: 14px;
  z-index: 1000;
  color: rgb(1,78,143) !important;
  border-color: rgb(1,78,143)  !important;
  border-radius: 5px !important;
  border: 2px solid;
}
.backtotop:hover,.backtotop:focus {
  color:#fff !important;
  background: rgb(1,78,143) !important;
}
.bigcontainer {
  max-width:1124px;
  margin:auto;
  background: #fff;
}
.formheader {
  height: 220px;
  width:100%;
  background-color: rgb(1,78,143);
  background-repeat: repeat-x;
}


/** --------------------------------------------------ELENA START CSS-1 **/
.logocontainer{
  display: flex;
  flex-wrap: wrap;
  position: relative;
  margin: auto;
  width: 85%;
  font-size: 21px;
  font-weight: bold;
  text-align: left;
}
.logo {
  height: auto;
  background: #fff;
  top: 79px;
  position: relative;
  border: 3px solid #fdc303;
  padding:0 30px 0 13px;
  display: flex;
  align-items: center;
}
.logo p { 
  line-height: 49px;
}
.slogan {
  height: auto;
  background: #fff;
  top: 79px;
  position: relative;
  border: 3px solid #fdc303;
  padding: 13px 30px 0px 13px;
}
.slogan p { 
  padding-top: 0;
  line-height: 1.5rem;
}

.lastupdate{
  width:100%;
  background:#ADADAD;
  font-size:14px;
  line-height: 2.5rem;
  padding-left: 85px;
}
.formcontainer {
  width:85%;
  height:auto;
  margin: -2px auto 0 auto;
  border: 2px rgb(1,78,143) solid ; 
}
/** ELENA END CSS-1 **/
/* -------------------FORM & Tabs -----------------------*/
    /* Style the tab */
  .tab {
    overflow: hidden;
    background-color: #f1f1f1;
    height: 81px;
    display: flex;
    justify-content: space-between;
  }

  /* Style the buttons inside the tab */
  .tab .tablinks {
    background-color: inherit;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px;
    transition: 0.3s;
    font-size: 17px;
    width:100%;
    text-decoration: none;
    color: black;
    text-align: center;
  }
  .tab .tablinks:focus,.navbar.fixed-bottom a:focus,a:focus .backtotop {
    border: 1px solid #333;
  }
  .tablinks {
    height:100%;
    line-height: normal;
    display:block;
  }
  .tablinks span { 
    padding: 6px;
    background: #595959;
    margin: auto;
    font-weight: bold;
    display: block;
    width: 25px;
    height: 22px;
    line-height: 10px;
    position: relative;
    top: -6px;
    color:#fff;
  }
  .active.tablinks span { 
    background: #333;
  }

  /* Change background color of buttons on hover */
  .tab .tablinks:hover {
    background-color: #ddd;
  }

  /* Create an active/current tablink class */
  .tab .tablinks.active {
    background-color: #ccc;
    border-bottom:5px solid #f03228;
  }

  /* Style the tab content */
  .tabcontent {
    padding:20px;
    border-top: none;
  }
  .nextbutton {
    padding: 4px 11px;
  }
  .uberschrift {
    font-size: 21px;
    font-weight: bold;
  }
  #agbLabel a {
    text-decoration: none;
    color: #0d6efd;
  }
  #Biografie,#PMitarbeiter,#WMitarbeiter,#W2Mitarbeiter,#Kommentar{
    min-height: 250px;
  }
  .form-control {
    border-radius: 0px;
    border: 1px solid #606060;
  }
/*------------------EOF FORM & Tabs-----------------------------------*/

.flex-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  width: 85%;
  margin: auto;
}
.flex-elements{
  text-align: center;
}
#speichern fieldset {
  padding:10px;
}
#speichern button {
  margin: 10px 0px 30px 0px;
}

.btn-primary {
  background-color: rgb(1,78,143) !important;
  border: 2px solid rgb(1,78,143);
}
.btn-primary:hover, .btn-primary:active, .btn-primary:visited {
  color: rgb(1,78,143);
  background-color: white !important;
  border: 2px solid rgb(1,78,143);
}
.btn-primary:focus, .btn-primary:focus-within, .btn-primary:focus-visible{
  box-shadow:  0 0 0 5px rgb(1,78,143);
  background-color: #cccccc !important;
  color: #000;
}

.btn-secondary {
  color: red;
  background-color: white;
  border: 2px solid red;
 }
 .btn-secondary:hover {
  color: white;
  background-color: red;
  border: 2px solid red;
 }

 .addAssoc { 
  border: 2px solid rgb(1,78,143);
}

 .addAssoc:hover { 
  color: rgb(1,78,143);
  background-color: white !important;
  border: 2px solid rgb(1,78,143);
}

.profilbild {
  display:block;
  height: 150px;
  min-width:20px;
  background:#ccc;
  margin-bottom:15px;
}
textarea#floatingTextarea {
  min-height:200px;
}
.datastorage {
    width: 100%;
    padding: 15px;
}
.infobox {
    background-color: #E9E8E8;
    border-color: #E9E8E8 !important;
}
.infobox p{
  margin: 0 !important;
}
.marginleftinput {
  margin-left: -10px;
}
.btn-danger { 
  background-color: white ;
  border: 2px solid rgb(1,78,143)!important;
  color: rgb(1,78,143);
}
.btn-danger:hover {
  color: #fff;
  background-color: rgb(1,78,143);
  border-color: rgb(1,78,143);
}
#resetLocalStorage {
  color: #fff;
  background-color: #595959;
  border-color: #595959;
}
/* ----------------------------  NAVBAR FOOTER ----------------------------------------------------------------------------- */
footer {
  max-width: 1124px;
  margin: auto;
}
footer .navbar, footer .navbar a {
  color: white !important;
}

 footer .navbar a:hover,
 footer .navbar a:focus {
  background-color: white !important;
  color: rgb(1,78,143) !important;
  text-decoration: none !important;
}

footer ul {
  list-style: none;
  color:white;
  font-weight: lighter;
}

#formErrorFieldList {
  list-style-type: disc;
  color: red;
}

.kfooterlinks li a{
  padding: 15px;
  color: #fff;
  font-weight: bold; 
  text-decoration: none;
}
.footerlinkhover:hover{
  text-decoration: underline;
}
.hidden {
  display: none;
}

.removeAssoc {
  width: 400px;
  margin: 30px auto;
}

.addAssoc {
  width: 400px;
  margin: 15px auto 50px auto;
  display: block;
}

.navbar  {
  background:rgb(1,78,143);
  color:#000;
  width: 85%;
  height: auto;
  padding: 15px;
  margin: auto;
}
.faktorelogo {width:100px;}
/* ---------------------------- EOF NAVBAR FOOTER ----------------------------------------------------------------------------- */
/* ---------------------------- Media queries ----------------------------------------------------------------------------- */
@media (min-width: 992px) { 
  .logo {
    border-right: 0;
  }
}
@media (max-width: 991px) { 
  .hidebr {
    display:none;
  }
  .formheader{
    height:100%;
    padding-bottom: 100px;
  }
  .formcontainer {
    margin: 0 auto 30px auto;
  }
  .logo {
    height:75px;
  }
  .slogan {
    border-top: 0;
    padding-top: 0;
    height: 100%;
    padding-bottom:20px;
    padding-top:20px;
    display: flex;
    align-items: center;
  }
  .slogan p{
    margin-bottom:0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
  }
  .tab bottom {
    font-size:16px;
  }
  .tab {
    overflow: visible;
    background-color: #f1f1f1;
    height: 81px;
    display: block;
  }
  .mobtab {
    height: 405px;
  }
  .tab .tablinks {
    border: 1px solid #ccc;
    border-top: 5px solid #f1f1f1;
  }
  .tab .tablinks:hover {
    border: 1px solid #ccc;
    border-top: 5px solid #ddd;
  }
  .tab .tablinks.active {
    background-color: #ccc;
    border-top: 5px solid #F03228;
    border-bottom: 0; 
  }
  .datastorage {
    max-width: 95%;
  }
}
@media (max-width: 768px) { 
  .nopaddingright {
    padding-right: 0;
  }

.formcontainer {
  margin: -1px auto 30px auto;
}
.slogan {
    border-top: 0;
    display: flex;
    align-items: center;
}
.slogan p {
  margin-bottom: 0;
}
}
@media (max-width: 708px) { 
  .list-group {
    display: block;
  }
  .list-group li{
    padding: 15px;
  }
}
  @media (max-width: 576px) { 
    .nopaddingrightsmall {
      padding-right: 0;
    }
    .removeAssoc {
      width: 300px;
    }
    .addAssoc {
      width: 300px;
    }
  }
@media (max-width: 480px) { 
  .formheader {
    /*height: 235px;*/  
  }
  .formcontainer,.logocontainer {
      width: 95%;
  }
  .datastorage {
    width: 95%;
  }
  .removeAssoc {
    width: 250px;
  }
  .addAssoc {
    width: 250px;
  }
}


/* Force showing tabs for no-JS */
.showWithoutJavascript {
    display: block !important;
}

.hideWithoutJavascript {
    display: none !important;
}

/* ---------------------------- Print queries ----------------------------------------------------------------------------- */
.printArea {
    display: none !important;
}

@media print {
    .hidePrint {
        display: none !important;
    }
    .forcePrint {
        display: block !important;
    }
    .formcontainer {
      border:none;
    }
    .mb-3.col-lg.col-md.row.nopaddingright {
      flex: none;
      display: block;
    }
    .logo, .slogan {
      float:left;
      width: 49%;
      border: none;
    }
    #info {
      margin-top: -50px;
    }
    .displayblockforprint {
      display: block ;
    }
    .pagebreakafter {
      page-break-after: always;
    }
    .pagebreakbefore {
      page-break-before: always;
    }
    .printArea {
        display: block !important;
        min-height: 25px;
        border: 1px solid black;
        padding: 0px 5px 0px 5px;
    }
    .printTextarea {
        min-height: 150px;
        border: 0px;
    }
    /* Special case, we want this box to be fillable in a printout. */
    #printW2Mitarbeiter,
    #printWMitarbeiter,
    #printPMitarbeiter,
    #printKommentar {
        border: 1px solid black;
        min-height: 250px !important;
    }
    .hidePrintarea {
        display: none !important;
    }
}
