.bildrahmen {
	width: 20%;
	height: 150px;
	display: block;
	/*background: linear-gradient(to bottom, rgb(216, 216, 216), rgb(243, 243, 243),  rgb(216, 216, 216));*/
	/*border: 1px solid #ABABAB;*/
	/*border-radius: 10px;*/
	padding: 0.5%;
	cursor: pointer;
	/*margin: 1%;*/
	float: left;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.bild {
    /*padding-bottom: 56.25%*/;
    display: block;
    height: inherit;
    background-size: 100% auto !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    /*border-radius: 5px;*/
}

#vorschau {
	display: none;
	position: fixed;
	background-attachment: scroll;
	top: 0;
	width: 100%;
	height: 100%;
	padding-bottom: 55px;
	padding-top: 55px;
	background: rgba(255,255,255,0.9);
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	z-index: 9999;
}

#schliessen {
	display: block;
	position: relative;
	width: 300px;
	height: 80px;
	float: right;
	text-align: right;
	margin-top: -60px;
	font-size: 30px;
	padding-top: 20px;
	padding-bottom: 20px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	z-index: 5;
	cursor: pointer;
}

#schliessen:hover {
	text-decoration: underline;
}

#schliessen img {
	float: right;
	margin-left: 1em;
	margin-top: 5px;
	margin-right: 20px;
	width: auto;
	height: 30px;
}

#zurueck {
	display: block;
	height: 100%;
	width: 50%;
	background: url('../images/next.png');
	background-repeat: no-repeat;
	background-position: 95% 50%;
	background-size: 8% auto;
	left: 0;
	top: 0;
	position: absolute;
	transform: rotate(180deg);
	z-index: 2;
	cursor: pointer;
}

#zurueck:hover {
	background-size: 9% auto;
}

#vor {
	display: block;
	width: 50%;
	height: 100%;
	background: url('../images/next.png');
	background-repeat: no-repeat;
	background-position: 95% 50%;
	background-size: 8% auto;
	right: 0;
	top: 0;
	position: absolute;
	z-index: 2;
	cursor: pointer;
}

#vor:hover {
	background-size: 9% auto;
}

.betrachter {
	display: block;
	width: 80%;
	height: 100%;
	margin-left: 10%;
	margin-right: 10%;
	vertical-align: middle;
	background-repeat: no-repeat !important;
	background-position: center !important;
	position: absolute;
	top: 0;
}

.landscape {
	background-size: 100% auto !important;
}

.portrait {
	background-size: auto 85% !important;
}

/* Loading-animation */
#loading {
	position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes lds-dual-ring {
	0% {
		-webkit-transform: rotate(0);
		transform: rotate(0);
	}
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
@-webkit-keyframes lds-dual-ring {
	0% {
		-webkit-transform: rotate(0);
		transform: rotate(0);
	}
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
@keyframes lds-dual-ring_reverse {
	0% {
		-webkit-transform: rotate(0);
		transform: rotate(0);
	}
	100% {
		-webkit-transform: rotate(-360deg);
		transform: rotate(-360deg);
	}
}
@-webkit-keyframes lds-dual-ring_reverse {
	0% {
		-webkit-transform: rotate(0);
		transform: rotate(0);
	}
	100% {
		-webkit-transform: rotate(-360deg);
		transform: rotate(-360deg);
	}
}
.lds-dual-ring {
	position: relative;
}
.lds-dual-ring div {
	position: absolute;
	width: 160px;
	height: 160px;
	top: 20px;
	left: 20px;
	border-radius: 50%;
	border: 8px solid #000;
	border-color: #28292f transparent #28292f transparent;
	-webkit-animation: lds-dual-ring 1s linear infinite;
	animation: lds-dual-ring 1s linear infinite;
}
.lds-dual-ring div:nth-child(2) {
	width: 140px;
	height: 140px;
	top: 30px;
	left: 30px;
	border-color: transparent #0a0a0a transparent #0a0a0a;
	-webkit-animation: lds-dual-ring_reverse 1s linear infinite;
	animation: lds-dual-ring_reverse 1s linear infinite;
}
.lds-double-ring {
	width: 200px !important;
	height: 200px !important;
	-webkit-transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
	transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
}
