.projects-wrapper{
  max-width: 93rem;
  padding-top: 4rem;
  display: flex;
  flex-flow: row wrap;
  margin: 0 auto;
}



/* ###################################################################### */
/* ### Content ### */
/* ###################################################################### */

.content {
  display: flex;
  justify-content: stretch;
  align-items: stretch;
  min-height: 100vh;
  width: 100%;
  flex-direction: row;
}

@media only screen and (max-width: 500px) {
.content {
  flex-direction: column;
  }  
}

@media only screen and (min-width: 768px) {
.content {
  flex-direction: column;
  }  
}

@media only screen and (min-width: 992px) {
.content {
  flex-direction: row;
  }  
}

@media only screen and (min-width: 1200px) {
.content {
  flex-direction: row;
  }  
}

/* ###################################################################### */
/* ### Sidebar ### */
/* ###################################################################### */

aside {
  padding: 3rem .5rem;
  flex: 1 1 0%;
}

@media only screen and (max-width: 500px) {
aside {
  max-width: 100%;  
  }  
}

@media only screen and (min-width: 768px) {
aside {
  width: 100%;  
  }  
}

@media only screen and (min-width: 992px) {
aside {
  width: 21rem;  
  height: 100%;
  position: fixed;
  top: 4rem;
  bottom: 0;
  }  
}

@media only screen and (min-width: 1200px) {
aside {
  width: 21rem;
  height: 100%;
  position: fixed;
  top: 4rem;
  bottom: 0;  
  }  
}


/* ###################################################################### */
/* ### Filter ### */
/* ###################################################################### */

.filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  }

.filter a {
  width: 2.5rem;
  padding: 0.5rem 0.5rem 0.5rem 0.5rem;
  background: #3e3f51;
  color: #ffcc33;
  margin-right: 0.5rem;
  margin-bottom: 0.3rem;
  border-radius: 3px;
  text-decoration: none;
  text-align: center;
}

.filter a:hover {
  color: #ff5722;
}

.filter a [aria-current]{
  background: #333;
}

a.active {
  background: #6b6b6b;
  border: 1px solid #333;
}

/* ######################### */


.tagtitle {
  font-size: 2em;
  font-weight: 600;
  color: #333333;
  margin-top: 1rem;
  text-align: center;
}

.tagthemen {
  margin-top: 2rem;
  text-align: center;
  width: 100%;
}

.tagthemen ul {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}

.tagthemen li {
  list-style: none;
  border: 1px solid;
  background-color: #6b6b6b;
  border-color: #3c3e50;
  border-radius: 5px !important;
  padding: .2rem .3rem;
  margin: 0 .3rem .3rem 0;
  /*line-height: 2.5rem;*/
}

.tagthemen li:hover {
 background-color: #3c3e50;
}

.tagthemen a{
color: #ffcc33;
font-size: 1rem;
}

.tagthemen a:hover{
 color: white;
}

/* ###################################################################### */
/* ### Projects ### */
/* ###################################################################### */

.projects {
flex: 3 1 0%;
}

@media only screen and (max-width: 768px) {
.projects {
  padding-top: 0;
  }  
}

@media only screen and (min-width: 992px) {
.projects  {
  padding: 3rem 0 0 21rem;  
  }  
}

@media only screen and (min-width: 1200px) {
.projects  {
  padding: 3rem 0 0 21rem;  
  }  
}



.grid-wrapper {

}

.grid {
  display: grid;
  max-width: 100%;
  list-style: none;
  grid-column-gap: 0.5rem;
  grid-row-gap: .5rem;
  }

@media only screen and (max-width: 500px) {
  .grid {
    grid-template-columns: 1fr;
    width: 100%;
    }  
  }
  
  @media only screen and (min-width: 768px) {
  .grid {
    grid-template-columns: 1fr 1fr 1fr;
    }  
  }
  
  @media only screen and (min-width: 992px) {
  .grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    }  
  }
  
  @media only screen and (min-width: 1600px) {
  .grid {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }  
  }


.grid li{
background-color: #6b6b6b;
padding: 0.1rem 0.1rem 0 0.1rem;
}

.grid img {
width: 100%;
margin-bottom: .5rem;
}

.grid figcaption {
padding-bottom: 4%;
padding-left: 2%;
font-size: 1.5rem;
text-align: center;
}

@media only screen and (max-width: 480px) {
.grid figcaption  {
  font-size: 1.5rem;
  }  
  
} 

@media only screen and (min-width: 501px) {
.grid figcaption  {
  font-size: 1rem;
  }  
}

@media only screen and (min-width: 992px) {
.grid figcaption  {
  font-size: 1rem;
  }  
}

@media only screen and (min-width: 1200px) {
.grid figcaption {
  font-size: 1.2rem;
  }  
}

.grid figcaption small{
font-size: 0.9rem;
margin-top: -5px;
color: #292B30;
}

/* ######################### */
/* Range-Slider */
/* ######################### */

.sliderwrapper{
  
  display: none;
  
  
  margin-top: 3rem;
  max-width: 100%;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 15px;
  border-radius: 5px;   
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
  margin-bottom: 0.5rem;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%; 
  background: #FF6D47;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #FF6D47;
  cursor: pointer;
}

.filter-result{
  color: #3e3f51;
  font-size: 1.5rem;
  margin: 0 auto 2rem auto;
  width: 80%;
  text-align: center;
}

.filter-result span{
  font-weight: bold;
}

.filter-result p input[type=submit] { 	
margin: 2rem 0 2rem 1rem;             
max-width: 35%;
padding: 0.2rem 0.5rem;
font-size: 1.5rem;     
line-height: 2rem;
border-radius: 8px; 
background-color: #9f9f9f;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
color: #333333;		
}

