body {
	padding: 0;
	margin: 0;
	background-color: #1a1a1a;
	font-family: 'futurist_fixed-widthregular';	
}

#wrapper {
	width: 750px;
	margin: 0 auto;
	padding: 50px 10px 50px;
	height: 750px;
	overflow: hidden;
}

hr {
	height: 0;
	margin: 50px 0;
	clear: both;
	color: #1a1a1a;
	background-color: #1a1a1a;
	border: 1px solid #1a1a1a;
}

.row {
	height: 180px;
	width: 100%;
	clear: both;
}

.left {
	height: 370px;
	width: 180px;
	margin-right: 10px;
	float: left;
	margin-bottom: 10px;
}

.right {
	height: 370px;
	width: 180px;
	float: right;
	margin-bottom: 10px;
}

.middel {
    left: 190px;
    margin: 0;
    position: relative;
    top: -570px;
}

.big {
	width: 370px !important;
	height: 370px !important;
}

.big .box-back{
	width: 370px;
	height: 370px;
}

.big .box-front {
	background-color: #1a1a1a !important;
	border: 2px solid #1aff1a;
	height: 366px;
	width: 366px;
}

.big img {
	width: 100%;
}

.big span {
    color: #1AFF1A !important;
    display: block;
    font-size: 15px;
    margin-top: 173px !important;
}

.container{
	/* How pronounced should the 3D effects be */
	perspective: 800px;
	-webkit-perspective: 800px;
	background: #1a1a1a;
	width: 180px;
	height: 180px;
	position: relative;
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
}

.box-front,	.box-back{
 	/* Enable 3D transforms */
	transform-style: preserve-3d;
	-webkit-transform-style: preserve-3d;
	 backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	width: 180px;
	height: 180px;
	position: absolute;
 	/* Animate the transitions */
	transition: 0.8s;
	text-align: center;
	color: #FFF;
	z-index: 10;
}

.vertical .box-front {
	background-color: #7b0000;	
}

.vertical .box-back{
	/* The back side is flipped 180 deg by default */
	transform: rotateX(180deg);
	-webkit-transform: rotateX(180deg);
	background-color: #ff0000;
}

.vertical:hover .box-front, .vertical-hover .box-front{
	/* When the container is hovered, flip the front side and hide it .. */
	transform: rotateX(180deg);
	-webkit-transform: rotateX(180deg);
	background-color: #7b0000;
}

.vertical:hover .box-back, .vertical-hover .box-back{
	/* .. at the same time flip the back side into visibility */
	transform: rotateX(360deg);
	-webkit-transform: rotateX(360deg);
	background-color: #ff0000;
}

.horizontal .box-front {
	background-color: #007900;	
}

.horizontal .box-back{
	/* The back side is flipped 180 deg by default */
	transform: rotateY(180deg);
	-webkit-transform: rotateY(180deg);
	background-color: #00ff00;
}

.horizontal:hover .box-front, .horizontal-hover .box-front{
	/* When the container is hovered, flip the front side and hide it .. */
	transform: rotateY(180deg);
	-webkit-transform: rotateY(180deg);
	background-color: #007900;
}

.horizontal:hover .box-back, .horizontal-hover .box-back{
	/* .. at the same time flip the back side into visibility */
	transform: rotateY(360deg);
	-webkit-transform: rotateY(360deg);
	background-color: #00ff00;
}

.horizontal a, .horizontal-hover a, .vertical a, .vertical-hover a {
    color: #000000;
    display: block;
    height: 110px;
    padding-top: 85px;
    text-decoration: none;
    width: 100%;
	font-size: 13px;
}

.vertical a, .vertical-hover a {
    color: #fff !important;    
    height: 115px;
    padding-top: 40px;
}

.vertical span, .vertical-hover span {
	color: #000;	
}

.last {
	margin-right: 0;
}



#footer {
    background-color: #000000;
    bottom: 0;
    height: 25px;
    position: fixed;
    width: 100%;
    z-index: 10;
	font-size: 12px;
	padding-top: 15px;
	text-transform: lowercase;
}

#close {
	cursor: pointer;
}

#close a {
	text-decoration: none;
	color: #1aff1a !important;
}

#footer p {
	float: left;
	color: #FFFFFF;
	margin: 0 0 0 30px;	
}

#footer span {
	color: #FFFFFF;
	cursor: pointer;
	float: right;
	margin-right: 30px;
}

#footer .active, #footer strong, .green-link {
	color: #1aff1a !important;
	font-weight: normal;
	text-decoration: none;
}

.green-link {
	cursor: pointer;	
}

#footer div {
	display: none;
	text-align: center;
	width: 96%;
	padding: 4% 2%;
	line-height: 30px;
	overflow: auto;
	height: 60%;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}

#footer a {
	color: #FFF;
}

#ausstellungstermine-div {
    margin: 0 auto;
    position: relative;
	font-size: 14px;
}

#kontakt-div {
    margin: 0 auto;
    position: relative;
	font-size: 14px;
}

#impressum-div {
    margin: 0 auto;
    position: relative;
	font-size: 14px;
}

#ausstellungstermine-div p, #kontakt-div p, #impressum-div p {
	float: none;
	margin-bottom: 30px;
}

#footer-button {
    color: #fff;
    cursor: pointer;
    display: none;
    font-size: 18px;
    height: auto;
    left: 90%;
    position: relative;
    top: -20px;
    width: 16px;
}

.haikus-wrapper {
	background-color: #900000;
	height: 600px;
	width: 100%;
}

#Play, #Pause {
	color: #fff;
    cursor: pointer;
    display: block;
    font-size: 20px;
    height: 20px;
    margin: 20px auto 0;
    width: 20px;
}

@media (max-width: 770px) {
#wrapper {
	width: 380px;
	padding: 400px 10px 450px;
	height: 700px;
}

.middel {
    left: 0;
    margin: 0;
    position: relative;
    top: -1520px;
}

.right {
	float: left;
}

#footer-button {
	display: block;
	transition: 0.5s;
}

#footer-button.active-button {
	transform: rotate(90deg);
	transition: 0.5s;
	color: #1aff1a !important; 
}

#close {
	margin-top: 0px !important;
}

#footer span {
    color: #ffffff;
    cursor: pointer;
    display: block;
    margin: 15px 0 0 0;
    text-align: center;
	float: none;
}
#impressum {
	margin-top: 15px;
}
#footer p {
	margin-top: 15px;
}

#ausstellungstermine-div, #kontakt-div, #impressum-div {
    top: 10%;
}
#ausstellungstermine-div p, #kontakt-div p, #impressum-div p {
	margin: 0 !important;
}
}

@media (max-width: 520px and min-width: 406px) {
#ausstellungstermine-div, #kontakt-div, #impressum-div {
    height: 30% !important;
}	
}

@media (max-width: 405px) {
#wrapper {
	width: 310px;
	padding: 400px 0px 260px;
	height: 700px;
}

.big .box-front {
    height: 306px;
    width: 306px;
}

.big .box-back {
    height: 310px;
    width: 310px;
}

.big {
    height: 310px !important;
    width: 310px !important;
}

.container, .box-front, .box-back {
    height: 150px;
    width: 150px;
}

.right, .left {
	width: 150px;
	height: 310px;
}

.row {
	width: 320px;
}

.middel {
	top: -1280px;
}

.horizontal a {
	padding-top: 70px;
}

.vertical a {
	padding-top: 30px;
	font-size: 12px;
}

.big span {
    margin-top: 150px !important;
}

#ausstellungstermine-div, #kontakt-div, #impressum-div {
    height: 50% !important;
}
}