img, figure, figcaption{
-webkit-transform-style: preserve-3d;
-webkit-transform : translateZ(0);
-webkit-transform: translate3d(0,0,0);
-webkit-transform: scale3d(1,1,1);
-webkit-backface-visibility: hidden;

}


.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}


body{
	font-size: 12px;
	min-width: 768px;
	position: relative;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	line-height: 20px;
	color: black;
	font-weight: bold;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	overflow-x: hidden;
}

div.overflow-scroll{
	overflow: scroll;
	-webkit-overflow-scrolling: touch;
}


#portfolio{
	-webkit-transform-origin: 0 0;
	-moz-transform-origin: 0 0;
	-ms-transform-origin: 0 0;
	-o-transform-origin: 0 0;
	transform-origin: 0 0;
	margin: auto;
	width: 1258px;
	margin-top: 32px;
	padding: 0 26px 0 26px;
	overflow: hidden;
}

a{
	color: black;
	text-decoration: none;
}

div.double-container{
	width: 622px;
}

div.double-container figure.narrow{
	float: left;
}
div.double-container figure.narrow:first-child{
	margin-right: 14px;
}

.single-column	#portfolio{
	width: 622px;
}



#portfolio figure{
	float: left;
}

.left-column{
	width: 622px;
	float: left;
}

.left-column figure.wide, .left-column .double-container{

	float: left;

}

.right-column{
	width: 622px;
	float: right;
}

.right-column figure.wide, .right-column .double-container{

	float: left;

}


#sidebar{
	z-index: 100;
	position: fixed;
	height: 100%;
	/*background-color: rgba(255,0,0,0.5);*/
	width: 120px;
	min-width: 120px;
	right: 0;
	top: 0;
	-webkit-transform-origin: 100% 0;
	-moz-transform-origin: 100% 0;
	-ms-transform-origin: 100% 0;
	-o-transform-origin: 100% 0;
	transform-origin: 100% 0;

}


#sidebar div{
	width: 97px;
	margin-left: 12px;
	position: relative;
	height: 100%;
	min-height: 685px;
}

#logo{
	top: 32px;
	padding: 0;
	margin: 0;
	position: absolute;
	width: 97px;
	height: 376px;
	background: url('../img/logo-rossmann.png');
	background-repeat: no-repeat;
}
@media all and (-webkit-min-device-pixel-ratio: 1.5) {
	#logo{
		background: url('../img/logo-rossmann@2x.png');
		background-size: 97px 376px;
	}
}

#contact{
	padding: 0;
	margin: 0;
	position: absolute;
	width: 97px;
	height: 209px;
	background: url('../img/about-contact.png');
	background-repeat: no-repeat;
	bottom: 50px;
}
@media all and (-webkit-min-device-pixel-ratio: 1.5) {
	#contact{
		background: url('../img/about-contact@2x.png');
		background-size: 97px 209px;
	}
}

#about{
position: absolute;
top: 0;
left: 0;
background: url('../img/info-bg.png');
background: rgba(255,255,255,0.9);
width: 100%;
height: 100%;
text-align: center;
z-index: 50;
opacity: 0; /* h8 u ipad */
	-webkit-transform-origin: 0 0;
	-moz-transform-origin: 0 0;
	-ms-transform-origin: 0 0;
	-o-transform-origin: 0 0;
	transform-origin: 0 0;
}

#about-wrap{
	margin: auto;
	display: inline-block;
}


#about-wrap>p{
	margin-top: 0;
	margin-bottom: 62px;
}
#about-wrap>p:first-child{
	margin-bottom: 26px;
}

#details div{
	float: left;
	padding-left: 20px;
}

#details div p{
	text-align: left;
	margin-top: 0px;
	margin-bottom: 26px;
}
#close{
	cursor: pointer;
	margin: auto;
	margin-top: 62px;
	background: url('../img/close.png') no-repeat;
	height: 53px;
	width: 47px;
}

#postal{
	background: url('../img/home.png') no-repeat 0px 2px;
}
#phone-mail{
	margin-left: 22px;
	background: url('../img/phone.png') no-repeat 0px 2px;
}
#phone-mail a{
	margin-left: -2px;
}
#ustid{
	float: right !important;
	background: url('../img/paragraf.png') no-repeat 0px 2px;
}
#email-address{
	padding-top: 20px;
}
#email-address:before{
	content: url(../img/mail.png);
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-left: -20px;
	margin-right: 8px;
	vertical-align: text-top;
}

@media all and (-webkit-min-device-pixel-ratio: 1.5) {
	#close{
		background: url('../img/close@2x.png') no-repeat;
		background-size: 47px 53px;
	}

	#postal{
		background: url('../img/home@2x.png') no-repeat 0px 2px;
		background-size: 16px 16px;
	}
	#phone-mail{
		background: url('../img/phone@2x.png') no-repeat 0px 2px;
		background-size: 16px 16px;
	}
	#ustid{
		background: url('../img/paragraf@2x.png') no-repeat 0px 2px;
		background-size: 16px 16px;
	}
	#email-address:before{
		content: '';
		background-image: url('../img/mail@2x.png');
		background-size: 16px 16px;
	}
}