* {
	box-sizing: border-box;
}

p {
	max-width: 1000px;
	margin: auto;
}

.wohnungholder{
	max-width: 1000px;
	margin: auto;
	padding:0px;
}

div.wohnung {
	float: left;
	height: auto;
	display: inline-block;
	position: relative;
	box-shadow: 0 4px 8px 4px rgba(0, 0, 0, 0.2);
	transition: box-shadow 0.5s ease;
}

.wohnung:hover {
	box-shadow: 0 4px 8px 4px rgba(0, 0, 0, 0.6);
}

.wohnung img {
	width: 100%;
	max-height: 480px;
}

.wohnung h5 {
	width: 40%;
	padding-left: 10px;
	display: inline-block;
}

.wohnung i {
	font-size: 2vw;
	margin: 0;
	padding-top: 5px;
	vertical-align: bottom;
}

.wohnung-zeile {
	width: 40%;
	float: right;
	padding-top: 0px;
	display: inline-block;
}

.wohnung-zeile span {
	padding-left: 10px;
	vertical-align: middle;
	font-size: 1vw;
}


.wohnungholder::after{
	content:"";
	clear:both;
	display: table;
}

/*Alles außer dem Schild wird ausgegraut*/

.keineVermietung :not(.schild) {
	opacity: 0.4;
}

.keineVermietung:hover {
	box-shadow: 0 4px 8px 4px rgba(0, 0, 0, 0.2);
	cursor: pointer;
}

.schild {
	-ms-transform: rotate(-20deg);
	/* IE 9 */
	-webkit-transform: rotate(-20deg);
	/* Safari */
	transform: rotate(-20deg);
	background-color: white;
	color: crimson;
	text-align: center;
	font-weight: bold;
	font-size: 1.4vw;
	border: 1px solid black;
	position: absolute;
	top: 50%;
	left: 12.5%;
	width: 75%;
	margin: auto;
}


/*Slideshowrahmen - enthält die einzelnen Folien*/

.slideshowRahmen {
	position: relative;
	max-width: 1000px;
	margin: auto;
	margin-top: 10px;
	margin-bottom: 0;
	padding-bottom: 0;
}

.prev,
.next {
	cursor: pointer;
	position: absolute;
	top: 50%;
	margin-top: -24px;
	padding: 12px 16px;
	color: white;
	background-color: rgba(0, 0, 0, 0.2);
	font-size: 32px;
	font-weight: bold;
	text-decoration: none;
	transition: 0.6s ease;
}

.next {
	right: 0;
}

.prev:hover,
.next:hover {
	background-color: rgba(0, 0, 0, 0.6);
	color: white;
}


/*Slideshowfolien, die durchblättert werden*/
.slideshowFolie {
	display: block;
	position: absolute;
	top:0;
	opacity:0;
	transition: opacity 0.5s ease;
}

.slideshowFolie img {
	width: 100%;
}


/*Platzhalter legt die Größe des Slideshowrahmen fest, durch Bild im richtigen Kantenformat und macht das ganze skalierbar, da andere Bilder mit absoluter Position für Übergangsanimation*/
.platzhalter{
	position:relative;
	opacity: 1;
	z-index: +3;
}

.platzhalter img{
	width:100%;
}


.slideshowText {
	color: black;
	font-size: 26px;
	position: absolute;
	bottom: 15px;
	width: 100%;
	text-align: center;
}

.dot {
	cursor: pointer;
	height: 20px;
	width: 20px;
	border-radius: 50%;
	margin: 0 2px;
	display: inline-block;
	background-color: burlywood;
	transition: background-color 0.6s ease;
}

.dot:hover{
	background-color: chocolate;
}

.dot.active {
	background-color: chocolate;
}


#belegungskalender {
	max-width: 1000px;
	margin: auto;
}

#belegungskalender iframe {
	width: 100%;
	min-height: 650px;
}


/* Small devices (kleiner als 768px) */
@media only screen and (min-width: 0px) {
	.wohnungholder{
		width: 100%;
		margin-left: 0px;
		margin-right: 0px;
		margin-top: 25px;
		margin-bottom: 25px;
	}
	
	div.wohnung{
		width: 96%;
		margin: 2%;
	}
	
	.wohnung h5 {
		font-size: 3vw;
	}

	.wohnung i {
		font-size: 5vw;
	}
	
	.wohnung-zeile span {
		font-size: 3vw;
	}
	
	#belegungskalender{
		width:100%;
	}
	
} 

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
	.wohnungholder{
		width: 700px;
		margin:auto;
	}
	.wohnung h5 {
		font-size: 22px;
	}

	.wohnung i {
		font-size: 36px;
	}
	
	.wohnung-zeile span {
		font-size: 22px;
	}	
	
} 

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {


} 

/* Cave geändert auf 1300px, sonst 1200 in den anderen CSS */
@media only screen and (min-width: 1300px) {
	.wohnungholder{
		width: 1000px;
		margin:auto;
		margin-top:25px;
		margin-bottom:25px;
	}
	
	div.wohnung{
		margin: 0.5%;
		width: 32.3%;
	}

	.wohnung h5 {
		font-size: 16px;
	}

	.wohnung i {
		font-size: 26px;
	}
	
	.wohnung-zeile span {
		font-size: 16px;
	}	

}


