.mobile_header{display: none;}

#header
{position: fixed;
top:10px;
left:0;
width: 100%;
background-color:#FFF;
height:90px;
margin-bottom: 20px;
}

.headerBox{
  /*width: calc(20% - 10px);*/
  width:25%;
  width:calc(50% - 270px);
  height:90px;
  background-color: #FFF;
  float: left;
  box-sizing: border-box;
  margin-right:5px;
  margin-left:5px;
  margin:0;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: center;
  /*border:1px solid #EEE;*/
}
#header_logo{
  width:270px;
}

#header_logo:hover{text-decoration: none;}

#search_wrapper {width:calc(100% - 570px);}
#header_suche_input_text {width:400px;}
#search_select_category {width:240px;}
#language_wrapper {width:100px;}
#login_wrapper{
  text-align: right;
   width:200px;
  }

/*#search_wrapper{text-align: center; padding-top:30px; width:calc(50% - 5px);}*/
/*
.search { position: relative; }
.search input { text-indent: 35px; font-size: 18px; border-radius: 5px; border:2px solid #999; background-color: #F9F9F9; width:100%; max-width:280px;}
.search .fa-search {
  position: absolute;
  left:10px;
  top:7px;
  font-size: 18px;
}

.search select  {max-width: 160px;}
*/
#search_select_category option {font-size: 24px;}

#header_logo {
  /*background-image: url('kurzenberger_logo.png');*/
  background-position: left center;
  background-size: contain;
  background-repeat: no-repeat;
  height:90px;
  }


.suchbegriffe {font-size: 12px; line-height:1.6em;}

.header_language { color: #555;}

#register{font-size: 12px;}
#login_status{ font-size:12px; }
.toggle_merkzettel{position: relative;}


@media only screen and (max-width: 1280px)
{
  #header_suche_input_text {width:300px;}
}

@media only screen and (max-width: 1160px)
{
  #header_suche_input_text {width:200px;}
}

@media only screen and (max-width: 1024px)
{
  #header_suche_input_text {width:100px;}
  #search_wrapper .row {margin:0;}


}



@media only screen and (max-width: 860px)
{
#search_wrapper{width:calc(100% - 510px);}

#search_wrapper .input-group{width:100%;}
/*#search_wrapper .input-group-append{display: none;}*/

#language_wrapper {width:80px;}
#login_wrapper{  width:160px;}

}

@media only screen and (max-width: 768px)
{
#header{display: none;}
.headerBox {
  display: inline-block;
  align-items: none;
  justify-content: none;
}
.mobile_header {display: block; position: fixed; width:100%; height:50px; z-index:2;}
.mobile_header_box {
  width:calc(16.666% - 20px);
  background-color: #FFF;
  height:50px;
  margin-bottom: 10px;
  float:left;
  box-sizing: border-box;
  font-size:18pt;

  display: flex;
  align-items: center;
  justify-content: center;
color:#555;
position: relative;}
#mobile_menue{width: 60px; background: #555; color: #FFF;}
#mobile_logo  {width:50%; margin-left: 0px; }
.mobile_header_box:last-child {margin-right: 0;}

#mobile_logo{
background-image: url('kurzenberger_logo.png');
background-position: center;
background-size: contain;
background-repeat: no-repeat;
}

#search_wrapper {width:100%; padding-top:50px;}
.suchbegriffe {margin-top:30px;display: block;}



/*
  @media only screen and (max-width: 768px)
  {
  .headerBox{position: absolute; top:5px; width:50%; height:50px; background-color:yellow;}
  .headerBox:first-child {}
  .headerBox#search_wrapper{top:60px; width:100%; padding-top:0px;}
  .headerBox#language_wrapper {right:5px; left:auto; width:50%; text-align: right; border:1px solid red; padding: 5px;}
  .header_language {float:right;}
  #login_status {position: relative; }

  }
*/
}
