/* -webkit-filter: grayscale(1); filter: grayscale(1); */

.g1 {
	width: 64px;
	height: 64px;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	background: url(../portadas/s1/g1/IMG_42432_sm.JPG) no-repeat;
	display:block;
	border:1px solid rgba(0,0,0,0.25);
	box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-webkit-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-moz-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	margin:16px auto;z-index: 999999;
}

.g2 {
	width: 64px;
	height: 64px;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	background: url(../portadas/s1/g2/IMG_42951_sm.JPG) no-repeat;
	display:block;
	border:1px solid rgba(0,0,0,0.25);
	box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-webkit-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-moz-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	margin:16px auto;z-index: 999999;
}

.g3 {
	width: 64px;
	height: 64px;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	background: url(../portadas/s1/g3/IMG_42752_sm.JPG) no-repeat;
	display:block;
	border:1px solid rgba(0,0,0,0.25);
	box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-webkit-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-moz-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	margin:16px auto;z-index: 999999;
}

.g4 {
	width: 64px;
	height: 64px;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	background: url(../portadas/s1/g4/IMG_42632_sm.JPG) no-repeat;
	display:block;
	border:1px solid rgba(0,0,0,0.25);
	box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-webkit-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-moz-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	margin:16px auto;z-index: 999999;
}

.g5 {
	width: 64px;
	height: 64px;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	background: url(../portadas/s1/g5/IMG_42722_sm.JPG) no-repeat;
	display:block;
	border:1px solid rgba(0,0,0,0.25);
	box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-webkit-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-moz-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	margin:16px auto;z-index: 999999;
}

.g6 {
	width: 64px;
	height: 64px;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	background: url(../portadas/s1/g6/IMG_6074_sm.JPG) no-repeat;
	display:block;
	border:1px solid rgba(0,0,0,0.25);
	box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-webkit-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-moz-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	margin:16px auto;z-index: 999999;
}

.g7 {
	width: 64px;
	height: 64px;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	background: url(../portadas/s1/g7/IMG_1378_sm.JPG) no-repeat;
	border:1px solid rgba(0,0,0,0.25);
	box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-webkit-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-moz-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	margin:16px auto;z-index: 999999;
}

.g8 {
	width: 64px;
	height: 64px;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	background: url(../portadas/s1/g8/IMG_2064_sm.JPG) no-repeat;
	border:1px solid rgba(0,0,0,0.25);
	box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-webkit-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-moz-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	margin:16px auto;z-index: 999999;
}

/* 

  	-webkit-filter: grayscale(1);
  	filter: grayscale(1);

*/

.g9 {
	width: 64px;
	height: 64px;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	background: url(../portadas/s1/g9/PhotoSep1342257_sm.jpg) no-repeat;
	border:1px solid rgba(0,0,0,0.25);
	box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-webkit-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-moz-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	margin:16px auto;z-index: 999999;
}

.g10 {
	width: 64px;
	height: 64px;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	background: url(../portadas/s1/g10/IMG_1578_sm.JPG) no-repeat;
	border:1px solid rgba(0,0,0,0.25);
	box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-webkit-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-moz-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	margin:16px auto;z-index: 999999;
}

.g11 {
	width: 64px;
	height: 64px;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	background: url(../portadas/s1/g11/IMG_1532_sm.JPG) no-repeat;
	border:1px solid rgba(0,0,0,0.25);
	box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-webkit-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-moz-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	margin:16px auto;z-index: 999999;
}

.g12 {
	width: 64px;
	height: 64px;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	background: url(../portadas/s1/g12/IMG_1614_sm.JPG) no-repeat;
	border:1px solid rgba(0,0,0,0.25);
	box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-webkit-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-moz-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	margin:16px auto;z-index: 999999;
}

.g13 {
	width: 64px;
	height: 64px;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	background: url(../portadas/s1/g13/IMG_3963_sm.JPG) no-repeat;
	border:1px solid rgba(0,0,0,0.25);
	box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-webkit-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-moz-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	margin:16px auto;z-index: 999999;
}

.g14 {
	width: 64px;
	height: 64px;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	background: url(../portadas/s1/g14/IMG_1592_sm.JPG) no-repeat;
	border:1px solid rgba(0,0,0,0.25);
	box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-webkit-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-moz-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	margin:16px auto;z-index: 999999;
}

.g15 {
	width: 64px;
	height: 64px;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	background: url(../portadas/s1/g15/IMG_1398_sm.JPG) no-repeat;
	border:1px solid rgba(0,0,0,0.25);
	box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-webkit-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-moz-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	margin:16px auto;z-index: 999999;
}

.g16 {
	width: 64px;
	height: 64px;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	background: url(../portadas/s1/g16/IMG_2408_sm.JPG) no-repeat;
	border:1px solid rgba(0,0,0,0.25);
	box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-webkit-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-moz-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	margin:16px auto;z-index: 999999;
}

.g17 {
	width: 64px;
	height: 64px;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	background: url(../portadas/s1/g17/IMG_3993_sm.JPG) no-repeat;
	border:1px solid rgba(0,0,0,0.25);
	box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-webkit-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-moz-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	margin:16px auto;z-index: 999999;
}

.g18 {
	width: 64px;
	height: 64px;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	background: url(../portadas/s1/g18/IMG_2396_sm.JPG) no-repeat;
	border:1px solid rgba(0,0,0,0.25);
	box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-webkit-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	-moz-box-shadow: 0 1px 2px rgba(255, 255, 255, .45);
	margin:16px auto;z-index: 999999;
}


.ip-header {
	position:fixed;
	top:0;
	z-index:100;
	min-height:64px;
	width:100%;
	height:100%;
	background:transparent;z-index:999;
}

.ip-header h1 {
	margin: 0 auto;text-align:center;
}

.ip-loader {
	position: absolute;
	left: 0;
	width: 100%;
	opacity: 0;
	cursor: default;
	pointer-events: none;
}

.ip-logo {
	position:absolute;z-index:0;
	top:52px;
	height:100%;
	width:100%;
	background:url("../img/lagerloca_logo.svg") no-repeat;
	background-position: center top;
	-webkit-background-size: 920px 333px;
  	-moz-background-size: 708px 256px;
  	-o-background-size: 708px 256px;
	background-size: 708px 256px;
	/* -webkit-filter: invert(100%);  
	filter: invert(100%); */
}

.logo {
	position:absolute;z-index:0;
	top:72px;
	height:100%;
	width:100%;
	background:url("../img/lagerloca_logo.svg") no-repeat;
	background-position: center top;
	-webkit-background-size: 566px 205px;
  	-moz-background-size: 566px 205px;
  	-o-background-size: 566px 205px;
	background-size: 566px 205px;
	/*-webkit-filter: invert(100%);  
	filter: invert(100%);*/
}

/* Content */
.ip-main {
	position:relative;top:640px;z-index:9999;
	overflow: hidden;
	margin: 0 auto;
	padding: 0px 0 5em 0;
	max-width: 70%;
	width: 70%;
}

@media all and (max-width: 640px) and (min-width: 320px) {
  	.ip-logo {
	position:absolute;z-index:0;
	top:48px;
	height:100%;
	width:100%;
	background:url("../img/lagerloca_logo.svg") no-repeat;
	background-position: center top;
	-webkit-background-size: 320px 116px;
  	-moz-background-size: 320px 116px;
  	-o-background-size: 320px 116px;
	background-size: 320px 116px;
	/*-webkit-filter: invert(100%);  
	filter: invert(100%);*/
  	}

	.ip-main {
	position:relative;top:256px;z-index:9999;
	overflow: hidden;
	margin: 0 auto;
	padding: 0px 0 5em 0;
	max-width: 70%;
	width: 70%;
	}
}

@media all and (max-width: 960px) and (min-width: 640px) {
	.ip-main {
	position:relative;top:320px;z-index:9999;
	overflow: hidden;
	margin: 0 auto;
	padding: 0px 0 5em 0;
	max-width: 70%;
	width: 70%;
	}
}

.ip-loader {
	bottom: 20%;
}

.ip-header .ip-inner {
	display: none;
	margin: 0 auto;
}


.ip-header .ip-loader svg path {
	fill: none;
	stroke-width: 6;
}

.ip-header .ip-loader svg path.ip-loader-circlebg {
	stroke: #ddd;
}

.ip-header .ip-loader svg path.ip-loader-circle {
	-webkit-transition: stroke-dashoffset 0.2s;
	transition: stroke-dashoffset 0.2s;
	stroke: #000;
}

/* Initial animation of header elements */
.loading .ip-logo,
.loading .ip-loader {
	opacity: 1;
	-webkit-animation: animInitialHeader 1s cubic-bezier(0.7,0,0.3,1) both;
	animation: animInitialHeader 1s cubic-bezier(0.7,0,0.3,1) both;
}

.loading .ip-loader {
	-webkit-animation-delay: 0.2s;
	animation-delay: 0.2s;
}

@-webkit-keyframes animInitialHeader {
	from { opacity: 0; -webkit-transform: translate3d(0,800px,0); }
}

@keyframes animInitialHeader {
	from { opacity: 0; -webkit-transform: translate3d(0,800px,0); transform: translate3d(0,800px,0); }
}

/* Header elements when loading finishes */
.loaded .ip-logo,
.loaded .ip-loader {
	opacity: 1;
}

.loaded .ip-logo {
	-webkit-transform-origin: 50% 0;
	transform-origin: 50% 0;
	-webkit-animation: animLoadedLogo 1s cubic-bezier(0.7,0,0.3,1) forwards;
	animation: animLoadedLogo 1s cubic-bezier(0.7,0,0.3,1) forwards;
}

@-webkit-keyframes animLoadedLogo {
	to { -webkit-transform: translate3d(0,100%,0) translate3d(0,50px,0) scale3d(0.65,0.65,1); }
}

@keyframes animLoadedLogo {
	to { -webkit-transform: translate3d(0,100%,0) translate3d(0,50px,0) scale3d(0.65,0.65,1); transform: translate3d(0,100%,0) translate3d(0,50px,0) scale3d(0.65,0.65,1); }
}

.loaded .ip-loader {
	-webkit-animation: animLoadedLoader 0.5s cubic-bezier(0.7,0,0.3,1) forwards;
	animation: animLoadedLoader 0.5s cubic-bezier(0.7,0,0.3,1) forwards;
}

@-webkit-keyframes animLoadedLoader {
	to { opacity: 0; -webkit-transform: translate3d(0,-100%,0) scale3d(0.3,0.3,1); }
}

@keyframes animLoadedLoader {
	to { opacity: 0; -webkit-transform: translate3d(0,-100%,0) scale3d(0.3,0.3,1); transform: translate3d(0,-100%,0) scale3d(0.3,0.3,1); }
}

/* Change the color of the logo */
.loaded .ip-logo svg path {
	-webkit-transition: all 0.5s ease 0.3s;
	transition: all 0.5s ease 0.3s;
	fill: #fff;
}

/* Header animation when loading finishes */
.loaded .ip-header {
	-webkit-animation: animLoadedHeader 1s cubic-bezier(0.7,0,0.3,1) forwards;
	animation: animLoadedHeader 1s cubic-bezier(0.7,0,0.3,1) forwards;
}

@-webkit-keyframes animLoadedHeader {
	to { -webkit-transform: translate3d(0,-100%,0); }
}

@keyframes animLoadedHeader {
	to { -webkit-transform: translate3d(0,-100%,0); transform: translate3d(0,-100%,0); }
}

/* Content animations */
.loaded .ip-main h2,
.loaded .ip-main .browser,
.loaded .ip-main .browser .box,
.loaded .codrops-demos {
	-webkit-animation: animLoadedContent 1s cubic-bezier(0.7,0,0.3,1) both;
	animation: animLoadedContent 1s cubic-bezier(0.7,0,0.3,1) both;
}

.loaded .ip-main .browser,
.loaded .ip-main .browser .box:first-child {
	-webkit-animation-delay: 0.1s;
	animation-delay: 0.1s;
}

.loaded .ip-main .browser .box:nth-child(2) {
	-webkit-animation-delay: 0.15s;
	animation-delay: 0.15s;
}

.loaded .ip-main .browser .box:nth-child(3) {
	-webkit-animation-delay: 0.2s;
	animation-delay: 0.2s;
}

@-webkit-keyframes animLoadedContent {
	from { opacity: 0; -webkit-transform: translate3d(0,200px,0); }
}

@keyframes animLoadedContent {
	from { opacity: 0; -webkit-transform: translate3d(0,200px,0); transform: translate3d(0,200px,0); }
}

/* Change layout class for header */
.layout-switch .ip-header {
	position: absolute;
}

/* No JS */
.no-js .ip-header {
	position: relative;
	min-height: 0px;
}

.no-js .ip-header .ip-logo {
	margin-top: 20px;
	height: 180px;
	opacity: 1;
	-webkit-transform: none;
	transform: none;
}

.no-js .ip-header .ip-logo svg path {
	fill: #fff;
}

/* Media queries */

@media screen and (max-width: 45em) {

	.ip-main h2 {
		font-size: 2.25em;
		font-size: 10vw;
	}

	.box {
		width: 100%%;
	}

}