/* Fonts */
@import 'https://fonts.googleapis.com/css?family=Roboto+Mono:400,700';
@import 'https://fonts.googleapis.com/css?family=Space+Mono:400,700';



/* Main */

*, *:before, *:after {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}
html, body {
	width: 100% !important;
	overflow-x: hidden !important;
	position: relative;
}
body {
	-webkit-overflow-scrolling: touch;
	-webkit-backface-visibility: hidden;
	background: #ccc;
}



/* Typography */

body, h1, h2, h3, h4, h5, p, a, span, figcaption {
	font-family: 'Roboto Mono', monospace;
	color: #333;
	font-size: 18px;
	font-weight: 400;
	font-style: normal;
	letter-spacing: 0px;
	word-spacing: 1px;
	line-height: 22px;
	text-align: left;
	vertical-align: baseline;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
	font-family: 'Roboto Mono', monospace;
	font-weight: 700;
	font-style: bold;
	letter-spacing: 1px;
	word-spacing: 2px;
	text-indent: 0px;
	display: inline-block;
	padding-bottom: 20px;
	padding-top: 10px;
	margin: 0;
	z-index: 999;
}
h1 {
	width: 100%;
	font-size: 48px;
	line-height: 56px;
	padding-top: 20vh;
	text-align: right;
}
h2 {
	width: 100%;
	text-align: right;
}
h3 {
	font-size: 32px;
	line-height: 40px;
}
strong {
	font-family: 'Roboto Mono', monospace;
	font-weight: 700;
	font-style: bold;
}
figcaption {
	font-size: 12px;
	line-height: 16px;
	text-align: center;
	padding: 10px 0 20px;
}
p span { color: #ccc; }

::-moz-selection { background: #000; color: #fff; text-shadow: none; }
::selection { background: #000; color: #fff; text-shadow: none; }

@-moz-document url-prefix() {
	body, h1, h2, p, a, span, h2 span {
		font-weight: normal;
	}
}
a:link,
a:visited {
	color: #666;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	padding: 0 4px 1px;
	margin: 0 -2px 0;
	border-radius: 3px;
	background-color: rgba(128,128,128, 0);
}
a:hover,
a:active,
a:focus {
	color: #000;
	background-color: rgba(128,128,128, 0.3);
}


/*
@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
	#logo {
		background: none;
		-webkit-backdrop-filter: invert();
		backdrop-filter: invert();
		-webkit-mask: url(../img/stabil-logo-w.svg) no-repeat top right;
		mask: url(../img/stabil-logo-w.svg) no-repeat top right;
	}
}



/* Main content */

#container-left {
	width: 50%;
	height: auto;
	position: relative;
	overflow-x: visible !important;
	pointer-events: none;
	z-index: 1;
	-webkit-transform:	translate3d(0, 0, 0);
	-moz-transform:		translate3d(0, 0, 0);
	-ms-transform:		translate3d(0, 0, 0);
	-o-transform:		translate3d(0, 0, 0);
	transform:			translate3d(0, 0, 0);
}
#container-right {
	width: 50%;
	height: 100vh;
	position: fixed;
	top: 0; left: 50%;
	-webkit-transform:	translate3d(0, 0, 0);
	-moz-transform:		translate3d(0, 0, 0);
	-ms-transform:		translate3d(0, 0, 0);
	-o-transform:		translate3d(0, 0, 0);
	transform:			translate3d(0, 0, 0);
}
section {
	width: 100%;
	height: auto !important;
	min-height: 100vh;
	position: relative;
	display: inline-block;
	float: left;
	pointer-events: auto;
}
.gallery {
	width: 100%;
	height: 100vh;
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	pointer-events: auto;
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 0;
}
#container-left .full-width {
	width: 200%;
}
#container-right .full-width {
	width: 200%;
	-webkit-transform:	translateX(-50%);
	-moz-transform:		translateX(-50%);
	-ms-transform:		translateX(-50%);
	-o-transform:		translateX(-50%);
	transform:			translateX(-50%);
}
article {
	width: 100%;
	height: auto;
	margin: 0 auto;
	padding: 110px 20px 0;
	position: relative;
	display: table;
	z-index: 10;
}
img {
	width: 100%;
	height: auto;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
}
#container-right .gallery img {
	height: 100vh;
	-webkit-object-fit: cover;
	object-fit: cover;
}
#container-right .gallery .title {
	position: absolute;
	top: 0; left: 0;
	z-index: 1;
	pointer-events: none;
	opacity: 0;
}




/* Navigation */

#menu {
	width: 100%;
	position: fixed;
	top: 0; left: 0;
	z-index: 9999;
	padding: 40px 40px 20px;
	pointer-events: none;
/*	background: #ccc;
	border-bottom: 1px solid #999;
	background-color: rgba(204, 204, 204, 0.5);
    -webkit-backdrop-filter: invert();
    backdrop-filter: blur(4px)
*/
}
#menu .gradient-bg {
	position: absolute;
	top: 0; right: 50.0001%; bottom: 0; left: 0;
	background-color: transparent;
	pointer-events: none;
	opacity: 0;
}
#menu ul {
	pointer-events: auto;
}
#menu li {
	display: inline;
	position: relative;
	float: left;
	padding-right: 20px;
}
#menu li a {
	height: 100%;
	display: inline;
	position: relative;
}
#menu li.active a {
	color: #000;
}
#menu #logo {
	position: relative;
	width: 93px;
	height: 24px;
	display: inline-block;
	float: right;
	margin-top: -6px;
	background: transparent url(../img/stabil-logo-dyn.svg) no-repeat top right;
}
#menu #logo a,
#menu #logo a:after {
 	width: 100%;
	display: inline-block;
	color: rgba(0, 0, 0, 0);
	background-color: rgba(0, 0, 0, 0);
}
.toggle-view {
	color: #f00;
	position: absolute;
	bottom: 20px; left: calc(50% - 30px);
	pointer-events: auto;
	cursor: pointer;
	z-index: 99999;
	display: none;
}



/* Swiper slide */

.swiper-container {
	width: 100%;
    height: 100%;
}
.swiper-slide {
    text-align: center;
    font-size: 18px;
}
/*
.swiper-slide img {
	width: auto;
 	height: auto;
	max-width: 100%;
	max-height: 100%;
	-ms-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	position: absolute;
	left: 50%;
	top: 50%;
}
*/
.swiper-slide img {
	object-fit: cover !important;
	overflow: hidden;
}
.swiper-pagination {
	text-align: left;
}
.swiper-container-horizontal > .swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
	top: 40px; left: 40px;
	width: 100%;
}
.swiper-pagination-black,
.swiper-pagination-black span {
	color: #333;
}
.swiper-pagination-white,
.swiper-pagination-white span {
	color: #bbb;
}
.swiper-button-next.swiper-button-black, .swiper-button-prev.swiper-button-black,
.swiper-button-next.swiper-button-white, .swiper-button-prev.swiper-button-white  {
	position: absolute;
	top: 40px;
	width: 32px;
	height: 18px;
	display: block;
	background: url(../img/arrow-right.svg) no-repeat top center;
	z-index: 10;
	opacity: 0.6;

	padding: 0 4px 1px;
	margin: -6px -2px 0;
	border-radius: 3px;
	background-color: rgba(128,128,128, 0);
}
.swiper-button-next.swiper-button-white, .swiper-button-prev.swiper-button-white {
	background: url(../img/arrow-right.svg) no-repeat top center;
}
.swiper-button-next.swiper-button-black,
.swiper-button-next.swiper-button-white {
	right: calc(50% - 36px);
}
.swiper-button-prev.swiper-button-black,
.swiper-button-prev.swiper-button-white {
	left: calc(50% - 36px);
	-webkit-transform:	rotate(180deg);
	-moz-transform:		rotate(180deg);
	-ms-transform:		rotate(180deg);
	-o-transform:		rotate(180deg);
	transform:			rotate(180deg);
}
.swiper-button-next:hover.swiper-button-black, .swiper-button-prev:hover.swiper-button-black,
.swiper-button-next:hover.swiper-button-white, .swiper-button-prev:hover.swiper-button-white {
	opacity: 1;
	background-color: rgba(128,128,128, 0.3);
}





/* Gallery transition */

#container-right .gallery {
	opacity: 0;
	-webkit-transition: 	opacity 0.3s ease;
	-moz-transition: 		opacity 0.3s ease;
	-o-transition: 			opacity 0.3s ease;
	-ms-transition: 		opacity 0.3s ease;
	transition: 			all 0.3s ease;
}
#container-right .active {
	opacity: 1;
	z-index: 1;
}



/* Transitions */

a, a:after {
	-webkit-transition:	all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
	-moz-transition:	all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
	-o-transition:		all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
	-ms-transition:		all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
	transition:			all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#container-left section {
	-webkit-transition: 	translateX 0.5s ease;
	-moz-transition: 		translateX 0.5s ease;
	-o-transition: 			translateX 0.5s ease;
	-ms-transition: 		translateX 0.5s ease;
	transition: 			all 0.3s ease !important;
}
body, #menu .gradient-bg {
	-webkit-transition:	background-color 0.5s ease;
	-moz-transition:	background-color 0.5s ease;
	-o-transition:		background-color 0.5s ease;
	-ms-transition:		background-color 0.5s ease;
	transition:			background-color 0.5s ease;
}
.menu-bg-up {
	display: none;
}
.menu-bg-down {
	display: block;
}




/* Grid */

.column-full,
.column-100,
.column-75,
.column-66,
.column-50,
.column-33,
.column-25,
.white-space {
	height: auto;
	float: left;
	padding: 0 20px 40px;
	position: relative;
}
.column-full {
	padding: 0;
}
.column-full,
.column-100,
.white-space {
	width: 100%;
}
.column-100 p {
	-webkit-column-count: 1;
	-moz-column-count: 1;
	column-count: 1;
	-webkit-column-gap: 40px;
	-moz-column-gap: 40px;
	column-gap: 40px;
}
.column-75 {
	width: 75%;
	min-height: 50px;
}
.column-66 {
	width: 66.6666666666%;
}
.column-50 {
	width: 50%;
}
.column-33 {
	width: 33.3333333333%;
}
.column-25 {
	width: 25%;
}
.white-space {
	height: 100px;
}
.float-right {
	float: right;
}




/* Window resize */

@media screen and (min-width: 1800px) {


}
@media screen and (min-width: 1400px) and (max-width: 1799px) {


}
@media screen and (min-width: 1000px) and (max-width: 1399px) {


}
@media screen and (min-width: 740px) and (max-width: 999px) {

	#container-left {
		width: 100%;
		top: 0; left: 0;
		-webkit-transform:	translateX(0);
		-moz-transform:		translateX(0);
		-ms-transform:		translateX(0);
		-o-transform:		translateX(0);
		transform:			translateX(0);
	}
	#container-right {
		width: 100%;
		top: 0; left: 0;
		-webkit-transform:	translateX(100%);
		-moz-transform:		translateX(100%);
		-ms-transform:		translateX(100%);
		-o-transform:		translateX(100%);
		transform:			translateX(100%);
	}
	#container-left .full-width {
		width: 100%;
	}
	#container-right .full-width {
		width: 100%;
		-webkit-transform:	translateX(-100%);
		-moz-transform:		translateX(-100%);
		-ms-transform:		translateX(-100%);
		-o-transform:		translateX(-100%);
		transform:			translateX(-100%);
	}
	#container-left.gallery-view section {
		-webkit-transform:	translateX(-100%);
		-moz-transform:		translateX(-100%);
		-ms-transform:		translateX(-100%);
		-o-transform:		translateX(-100%);
		transform:			translateX(-100%) !important;
	}
	#container-right.gallery-view .gallery {
		-webkit-transform:	translateX(0%);
		-moz-transform:		translateX(0%);
		-ms-transform:		translateX(0%);
		-o-transform:		translateX(0%);
		transform:			translateX(-100%) !important;
	}
	.toggle-view {
		display: block;
	}
	#container-right .gallery .title {
		opacity: 1;
	}
	article {
		padding-top: 110px;
	}
	#menu .gradient-bg {
		top: 0; right: 0; bottom: 0; left: 0;
	}
	#logo {
		position: relative;
		width: 93px;
		height: 24px;
		display: block;
		float: left;
		margin-top: -6px;
		margin-bottom: 20px;
		padding: 0 ;
		background: transparent url(../img/stabil-logo-dyn.svg) no-repeat top left;
	}
	h1 {
		font-size: 36px;
		line-height: 44px;
		text-align: left;
	}
	h2 {
		text-align: left;
	}

}
@media screen and (min-width: 400px) and (max-width: 739px) {

	#container-left {
		width: 100%;
		top: 0; left: 0;
		-webkit-transform:	translateX(0);
		-moz-transform:		translateX(0);
		-ms-transform:		translateX(0);
		-o-transform:		translateX(0);
		transform:			translateX(0);
	}
	#container-right {
		width: 100%;
		top: 0; left: 0;
		-webkit-transform:	translateX(100%);
		-moz-transform:		translateX(100%);
		-ms-transform:		translateX(100%);
		-o-transform:		translateX(100%);
		transform:			translateX(100%);
	}
	#container-left .full-width {
		width: 100%;
	}
	#container-right .full-width {
		width: 100%;
		-webkit-transform:	translateX(-100%);
		-moz-transform:		translateX(-100%);
		-ms-transform:		translateX(-100%);
		-o-transform:		translateX(-100%);
		transform:			translateX(-100%);
	}
	#container-left.gallery-view section {
		-webkit-transform:	translateX(-100%);
		-moz-transform:		translateX(-100%);
		-ms-transform:		translateX(-100%);
		-o-transform:		translateX(-100%);
		transform:			translateX(-100%) !important;
	}
	#container-right.gallery-view .gallery {
		-webkit-transform:	translateX(0%);
		-moz-transform:		translateX(0%);
		-ms-transform:		translateX(0%);
		-o-transform:		translateX(0%);
		transform:			translateX(-100%) !important;
	}
	.toggle-view {
		display: block;
	}
	#container-right .gallery .title {
		opacity: 1;
	}
	article {
		padding-top: 110px;
	}
	#menu .gradient-bg {
		top: 0; right: 0; bottom: 0; left: 0;
	}
	#logo {
		position: relative;
		width: 93px;
		height: 24px;
		display: block;
		float: left;
		margin-top: -6px;
		margin-bottom: 20px;
		padding: 0 50%;
		background: transparent url(../img/stabil-logo-dyn.svg) no-repeat top left;
	}
	h1 {
		font-size: 36px;
		line-height: 44px;
		text-align: left;
	}
	h2 {
		text-align: left;
	}

}
@media screen and (min-width: 0px) and (max-width: 399px) {

	#container-left {
		width: 100%;
		top: 0; left: 0;
		-webkit-transform:	translateX(0);
		-moz-transform:		translateX(0);
		-ms-transform:		translateX(0);
		-o-transform:		translateX(0);
		transform:			translateX(0);
	}
	#container-right {
		width: 100%;
		top: 0; left: 0;
		-webkit-transform:	translateX(100%);
		-moz-transform:		translateX(100%);
		-ms-transform:		translateX(100%);
		-o-transform:		translateX(100%);
		transform:			translateX(100%);
	}
	#container-left .full-width {
		width: 100%;
	}
	#container-right .full-width {
		width: 100%;
		-webkit-transform:	translateX(-100%);
		-moz-transform:		translateX(-100%);
		-ms-transform:		translateX(-100%);
		-o-transform:		translateX(-100%);
		transform:			translateX(-100%);
	}
	#container-left.gallery-view section {
		-webkit-transform:	translateX(-100%);
		-moz-transform:		translateX(-100%);
		-ms-transform:		translateX(-100%);
		-o-transform:		translateX(-100%);
		transform:			translateX(-100%) !important;
	}
	#container-right.gallery-view .gallery {
		-webkit-transform:	translateX(0%);
		-moz-transform:		translateX(0%);
		-ms-transform:		translateX(0%);
		-o-transform:		translateX(0%);
		transform:			translateX(-100%) !important;
	}
	.toggle-view {
		display: block;
	}
	#container-right .gallery .title {
		opacity: 1;
	}
	article {
		padding-top: 110px;
	}
	#menu .gradient-bg {
		top: 0; right: 0; bottom: 0; left: 0;
	}
	#logo {
		position: relative;
		display: block;
		float: left;
		margin-top: -6px;
		margin-bottom: 20px;
		padding: 0 50%;
		background: transparent url(../img/stabil-logo-dyn.svg) no-repeat top left;
	}
	h1 {
		font-size: 36px;
		line-height: 44px;
		text-align: left;
	}
	h2 {
		text-align: left;
	}
}
