.grid {
	position: relative;
	margin: 0 auto;
	padding: 0em 0 0em;
	max-width: 100%;
	list-style: none;
	text-align: center;
	z-index: 1;
	margin-top: -5px;
}
.gridstart {
margin-top: 30px;
}
@media only screen and (max-width: 800px) {
	.grid { 
	margin-top: 5px
}
}

/* Common style */
figure.quadrat {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 0px 0%;
	min-width: 250px;
	max-width: 600px;
	max-height: 282px;
	width: 35.00%;
	background: #ffffff;
	text-align: center;
	cursor: pointer;
}
figure.rechteck {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 0px 0%;
	min-width: 250px;
	max-width: 600px;
	max-height: 282px;
	width: 65.0%;
	background: #ffffff;
	text-align: center;
	cursor: pointer;
}
figure.viereck {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 30px 10px;
	min-width: 250px;
	max-width: 450px;
	max-height: 380px;
	width: 31.75%;
	background: #ffffff;
	text-align: center;
	cursor: pointer;
}
figure.starteck {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 0px 0%;
	min-width: 250px;
	max-width: 800px;
	max-height: 500px;
	width: 50.0%;
	background: #ffffff;
	text-align: center;
	cursor: pointer;
}
.grid figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 1.0;
}
.grid figure figcaption {
	padding: 1em;
	color: #fff;
	font-size: 1.4em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-box-shadow: inset 0px 0px 0px 5px rgba(255,255,255,1);
	-moz-box-shadow: inset 0px 0px 0px 5px rgba(255,255,255,1);
	box-shadow: inset 0px 0px 0px 5px rgba(255,255,255,1);
}
.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}
.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}
.grid figure h2 {
	font-size: 120%;
}
.grid figure h3 {
font-size: 1.1em;
color: #fff;
}
.grid figure h2 span {
	font-weight: 100;
}
.grid figure h2,
.grid figure p {
	margin: 0;
}
.grid figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}

/*-----------------*/
/***** Apollo *****/
/*-----------------*/
figure.effect-apollo {
	background: #006e82;
}
figure.effect-apollo img {
	opacity: 1.0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale3d(1.05,1.05,1);
	transform: scale3d(1.05,1.05,1);
}
figure.effect-apollo figcaption::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255,255,255,0.5);
	content: '';
	-webkit-transition: -webkit-transform 0.6s;
	transition: transform 0.6s;
	-webkit-transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-100%,0);
	transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-100%,0);
}
figure.effect-apollo p {
	position: absolute;
	right: 0;
	bottom: 4em;
	margin-right: 4.5em;
	padding: 0 1em;
	max-width: 450px;
	border-right: 4px solid #fff;
	text-align: right;
	opacity: 0;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
	font-weight: 300;
}
figure.effect-apollo h2 {
	text-align: left;
}
figure.effect-apollo:hover img {
	opacity: 0.25;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}
figure.effect-apollo:hover figcaption::before {
	-webkit-transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,100%,0);
	transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,100%,0);
}
figure.effect-apollo:hover p {
	opacity: 1;
	-webkit-transition-delay: 0.1s;
	transition-delay: 0.1s;
}

@media screen and (max-width: 1200px) {
figure.quadrat {
	min-width: 250px;
	max-width: 800px;
	max-height: 320px;
	width: 35.00%;
}
figure.rechteck {
	min-width: 250px;
	max-width: 800px;
	max-height: 320px;
	width: 65.0%;
}
figure.viereck {
	margin: 20px 1px;
	width: 31.75%;
}
}

@media screen and (max-width: 800px) {
figure.quadrat, figure.rechteck, figure.viereck {
float: none;
display: inline-block;
margin: 0px auto;
width: 100%;
min-width: 350px;
max-width: 600px;
max-height: 350px;
}
}

@media screen and (max-width: 600px) {
figure.quadrat, figure.rechteck, figure.viereck, figure.starteck {
width: 100%;
max-width: 100%;
}
.grid figure p {
font-size: 14px;
}
}

@media screen and (max-width: 385px) {
figure.quadrat, figure.rechteck, figure.viereck, figure.starteck {
min-width: 250px;
max-width: 320px;
}
}

/* Immokaufleute Fixed ============================================================================= */
#award {
text-align: right;
width: 280px;
margin: 0 auto;
position: fixed;
bottom: 100px;
right: 30px;
z-index: 100;
}
#award a {
text-align: right;
display: inline-block;
width: 270px;
}
@media only screen and (max-width: 760px) {
#award  {
display: none;
}
}