* {
  box-sizing: border-box;
  margin: 0; /* wegen footer */
}

body {
	background:#ffffee;
	font-family: 'Open Sans', sans-serif;
	font-size: 81.25%;
	color:#444444;
}

html,
body {
	height: 100%; /* wegen footer */
}

/* wegen footer Anfang */
.wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -4.5em;
}

.footer,
.push {
	height: 4.5em;
	clear: both;
}
/* weggen footer Ende */


/* Footer Aussehen Anfang */
.footerstyle {
	color:#ffffff;
	background: #808080;
	padding: 0.25em 0 0.25em 0;
/*	text-align: center; */
  	font-size: 1em;
/*	font-weight:bold; */
	border-top: 1px solid #de7100;
	border-bottom: 1px solid #de7100;
}

#footer-nav {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}
     
#footer-nav li {
  display: inline;
}
     
#footer-nav a {
  color:#ffffff;
  padding: 0.75em;
  text-decoration: none;
  line-height: 1.5em;
}
     
#footer-nav a:hover {
	text-decoration: none;
	color:#77acc3;
	cursor:pointer;
}

/* Footer Aussehen Ende */



.screen-reader-text {
  position: absolute;
  top: -9999px;
  left: -9999px;
}

.search-form {
  width: 20%;
  float: left;
  padding-right: 0.5em;
}

/*.logo {
  width: 20%;
  padding-right: 0.5em;
}*/

.search-term {
  width: 100%;
  margin: 0 0 5px 0;
}
.search-terms {
  display: table;
  margin: 0 0 10px 0;
}
.search-filters {
  overflow: hidden;
  margin: 0 0 10px 0;
  /*background: #ffffff;*/
  padding: 10px;
}
.search-filters-title {
  display: none;
  font-weight: normal;
  font-size: 0.9em;
  margin: 0 0 0.5em 0;
}
.filter-group {
  margin: 0 0 0.8125em 0;
}
.cloned-filters {
  display: none; 
}
.search-results {
  width: 80%;
  float: right;
/*  padding-bottom: 2500px;  just scrolling space */
}
.sub-search-results {
  width: 100%;
  float: right;
/*  padding-bottom: 2500px;  just scrolling space */
}
.result {
  float: left;
  width: 24%;
/*  height: 25em; */
  margin-right: 1.33%;
  margin-bottom: 1.33%;
  border-radius: 1em 1em 1em 1em;
  border: 1px solid #de7100;  
/* border: 0.0625em solid #de7100; */
  background-color: #ffffff;
  padding: 1em 0 1em 0;  
/*  font-size: 1.125em;
  font-weight: bold; */
  text-align: center; /* TWTW */
}
.result:nth-child(4n) {
  margin-right: 0; 
}

.result img {
  TWTWheight: auto;
  TWTWdisplay: block;
  TWTWwidth: 100%;
}

@media (max-width: 1600px) {
.search-form {
  width: 25%;
}
.search-results {
  width: 75%;
}
.result {
  float: left;
  width: 32.33%;
  margin-right: 1.5%;
  margin-bottom: 1.5%;
}
.result:nth-child(4n) {
  margin-right: 1.5%; 
}
.result:nth-child(3n) {
  margin-right: 0; 
}

@media (max-width: 1280px) {
.search-form {
  width: 35%;
}
.search-results {
  width: 65%;
}
.result {
  float: left;
  width: 49.25%;
  margin-right: 1.5%;
  margin-bottom: 1.5%;
  /*background: green;*/
}
.result:nth-child(4n) {
  margin-right: 1.5%; 
}
.result:nth-child(3n) {
  margin-right: 1.5%; 
}
.result:nth-child(2n) {
  margin-right: 0; 
}

@media (max-width: 900px) {
.search-form {
  width: 48%;
}
.search-results {
  width: 52%;
}
.result {
  float: right;
  width: 100%;
  margin-right: 0;
  margin-bottom: 1.5%;
}
.result:nth-child(4n) {
  margin-right: 0; 
}
.result:nth-child(3n) {
  margin-right: 0; 
}


@media (max-width: 640px) {
  .search-form,
  .search-results {
    width: 100%;
  }
  .search-form {
    padding: 0;
  }
  .search-terms {
    display: table;
    width: 100%;
    margin: 0;
  }
  .search-terms > div {
    display: table-row; 
  }
  .search-terms > div > span {
    display: table-cell;
  }
  .search-term-wrap {
    padding-right: 10px;
  }
  .search-button {
    width: 100%;
  }
  .search-filters-title {
    display: inline;
	color: blue;
    text-decoration: underline;
	cursor: pointer;
    margin: 0;
  }
  .search-filters.pinned {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
  }
  .filter-group {
    display: none;
  }
  .filter-explanation {
    display: none;  
  }
  
  .filters-open .filter-group,
  .filters-open .filter-explanation {
    display: block; 
  }
  .filters-open .search-filters-title {
    margin: 0 0 10px 0;
  }
  .result {
    float: left;
    width: 98%;
/*    height: 26em; */  
	margin: 0 1% 2% 1%;
/*  background: #eee; */
}


}
