body {
	font-family: 'Open Sans', sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%;
	background:#D8D8D8;

	margin: 0;
	
	/*font-size: 1em;
	line-height:1em;*/
	font-weight:400;
	/*min-width:485px;*/
	color:rgba(255,255,255,0.85)
	}
h1,h2,h3,h4,h5{
	margin:0.5em 0 0.5em;
	font-size: 1.25em;
}
a,
a:link,
a:visited{
	opacity:1;
	text-decoration: none;	
	transition: all 0.5s ease 0s;
	outline: 0;
	color:#353535;
	opacity: 0.8;
	}
a:hover,
a.active{
	opacity: 1;
	}

#content{
	margin: 80px 0 0 0;
}
.block {
    position: relative;
    margin: 0 auto;
    max-width: 1280px;
    min-width: 300px;
    z-index: 66;
    padding: 0;
    width: calc(100% - 50px);
	min-width: 320px;
}

#header{
	color:#444444;
	background: rgba(255,255,255,1);
	padding: 0.7em 0 0.1em 0;
	position: fixed;
	margin-top: -80px;
	z-index: 99;
	width: 100%;
}
#header .logo{
	height: 75px;
}
#header .navi{
	font-size: 1.1em;
	margin-top: 4em;
	position: absolute;
	right: 0;
	bottom: .3em;
	font-weight: 600;
}
#header #pagination-container{
	position: absolute;
	right: 0;
	top: .3em;
}
#container{
	background-color: rgba(59,59,59,1.00);
	overflow: hidden;
	/*margin:50px 65px;*/
	/*max-height: 500px;*/
}
#container .block {
    padding: 0 ;
    width: 100%;
	
}
.twentytwenty-container img {
    width: auto;
	max-height: 60vh;
}
.caption{
	font-size: 0.9em;
	background: rgba(0,0,0,0.6);
	padding: 5px 10px;
	display: block;
	width: calc(100% - 2em);
	position:absolute;
	z-index: 100;
	bottom:0;
}
.caption p{
	padding: 0.5em 0;
	margin: 0;
}
.caption p:first-of-type{
	padding: 0;
}
.subline{
	background: #ffffff;
	color: #1C1C1C;	
	font-size: 0.82em;
	min-height: 180px;
}
.subline .block{
	display: flex;
	justify-content: space-between;
	padding: 5px 0;
}
.subline em{
	font-style: normal;
}
.subline .rate{
	text-align: right;
}
.subline .rate .stars{
	/*transform: scale(2);*/
}
.subline #otherThumbs.block{
	display: flex;
	justify-content:flex-start;
	padding: 5px 0 15px;
	width: auto;
}
#selectmenue{
	padding: 2em 0 1.5em;
	color: #555;
}	
#sort-items{
	padding-bottom: 12em;
}
#sort-items .block{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0.5%;
}
.item{
	display: flex;
	flex-direction: column;
	position: relative;
	font-size: 0.9em;
	background: #ffffff;
	width: 240px;
	color: #000000;	
	padding: 2px;
	cursor: pointer;
	overflow: hidden;
	border: 2px solid #D8D8D8;
}
.item.selected {
border-color: #DC0202;
border-style: solid;
	border: 2px solid #DC0202;
    }
.item .img{
	position:relative; 
	overflow: hidden;	
}
.item img {
	min-height: 100%;
	width: 100%;
		
	position: absolute;
	top: 0;
	display: block;
	overflow: hidden;
}
.item img.before {		
	-webkit-clip-path: inset(0 50% 0 0);
	clip-path: inset(0 50% 0 0);
	z-index: 20;
	}
.item .img::after {
	position: relative;
    content: url("images/before-after.svg");
	z-index: 30;
	height: 150px;
	display: block;
	transform: scale(1.27) translate(calc(50% - 11px), 16px);
}
.item img.after {
	z-index: 10;		
	}
.item .text{
	padding: 3px 5px;
	line-height: 1.35em;
	padding-bottom: 36px;
	padding-right: 75px;
}
.item .text strong{
	display: block;
}
.item .date{
	position: absolute;
	right: 7px;
	top: 155px;
	font-size: 0.9em;
}
.item .user{
	position: absolute;
	left: 7px;
	bottom: 3px;
}
.item .rating{
	position: absolute;
	right: 7px;
	bottom: 3px;
	font-size: 1em;
}
.item .rating em {
  font-style: normal;
}
footer {
	position: fixed;
	left: 0;
	bottom: 0;
	right: 0;
	background: rgba(0,0,0,0.65);
	z-index: 99;
	font-weight: 600;
}
footer a, 
footer a:link, 
footer a:visited{
	color: #ffffff;
}
footer .block{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
}
footer .logo{
	height: 70px;
	margin: 7px 18px 5px 0;
}
footer .text{
	display: flex;
	justify-content: space-between;
}
footer p{
	margin: 0.3em 0;
	max-width: 500px;
}
footer strong{
	font-weight: 700;
}
.stores{
	display: flex;
	justify-content: space-between;
}
.stores img{
	height: 50px;
	margin-left: 8px;
}
#projekt, 
#impressum{
	font-size: 1.2em;
	padding: 2em 0;
	color: #444444;
}
.img-right{
	width: 40%;
  	float: right;
  	margin-left: 10px;
}
.img-left{
	width: 40%;
  	float: left;
  	margin-right: 10px;
	margin-top: 25px;
}



@media only screen and (max-width:1280px) {	

}


@media only screen and (max-width:1000px) {
.block{
	padding: 0;
	width: calc(100% - 20px);
	}
.item {
  width: 48%;
	}
.item img {
  width: 100%;
	}
.item .img::after {
  height: 150px;
  transform: scale(1.27) translate(calc(50% - 12px), 17px);
	}
.item {
  width: 48%;
	}
.item img {
  width: 100%;
	}
.item .img::after {
  height: 150px;
  transform: scale(1.27) translate(calc(50% - 12px), 17px);
	}	
.subline {
    font-size: 0.7em;
	line-height: 1.25em;
	
}
.subline .rate {
    min-width: 110px;
}
footer .logo {
    height: 60px;
    /*margin: 7px 10px 5px 0;*/
}
footer .text {
    font-size: .9em;
    line-height: 1.2em;
	margin-bottom: 0;
	margin-right: 10px;
}
.stores img {
    height: 45px;
    margin: 0 3px 0 0;
}
}




@media only screen and (max-width:800px) {
	
.subline {
    font-size: 0.65em;
	line-height: 1.25em;
}
footer .logo {
    height: 50px;
}
footer .text {
    font-size: .7em;
    line-height: 1.15em;
	margin-bottom: 0;
	margin-right: 10px;
}
.stores img {
    height: 38px;
}
}


/*@media only screen and (orientation:landscape) and (max-width:600px)  {
footer .block {
   flex-wrap: wrap;
}
}*/
@media only screen and (orientation:landscape) and (max-width:800px) {
.subline {
}
footer {
	position: relative;
}
}

@media only screen and (max-width:550px) {	
#header .navi {
	font-size: 0.8em;
	margin-top: 0em;
	top: -6px; 
	bottom: inherit;
}
#container .block {
  padding-left: 0 !important;
	}
.caption{
	position: static;	
	}
.subline .block {
  padding: 5px;
	}
.subline #otherThumbs.block {
  padding: 5px 5px 15px;
}
#selectmenue .block{
  padding: 5px;
	}
.item {
  width: 100%;
	}	
 .item .img::after {
    height: 200px;
    transform: scale(1.7) translate(calc(50% - 12px), 41px);
  }
#projekt, 
#impressum{
	font-size: 0.9em;
	padding: 2em 0;
	color: #444444;
}	
.img-right{
	width: 100%;
  	float: none;
  	margin-left: 0;
}
.img-left{
	width: 100%;
  	float: none;
  	margin-right: 0;
	margin-top: 0;
}
footer .block {
   flex-wrap: wrap;
}
footer .logo {
    height: 56px;
	margin: 7px 12px 5px 0;
}
footer .text {
    font-size: .8em;
    line-height: 1.15em;
	margin-bottom: 10px;
	margin-right: 0;
}	
.stores  {
	justify-content: center;
	width: 100%;
	}
.stores img {
    height: 43px;
	 margin: 0 2vw 0 0;
}
}



.left{
	float:left;
	}			
.right{
	float:right;
	}
.clear{
	clear:both;
	}

:root {
  --star-size: 15px;
  --star-color: rgba(255,255,255,0.3);
  --star-background: #f9f7f4bd;
}

.stars {
  --percent: calc(var(--rating) / 5 * 100%);
  display: inline-block;
  font-size: var(--star-size);
  font-family: Times;
  line-height: 1;
	font-size: 1.7em;
}
.stars::before {
  content: '★★★★★';
  filter: invert(100%);
  letter-spacing: 0px;
  background: linear-gradient(90deg, var(--star-background) var(--percent), var(--star-color) var(--percent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#otherThumbs img {
	padding: 2px;
	border: 2px solid #fff;
		}
#otherThumbs img.select  {
	border: 2px solid #DC0202;
		}



