/*
Made by: Sören Meier
Company: ONEFOUR (onefour.ch)
*/

@import url( 'https://fonts.googleapis.com/css?family=Open+Sans:300,600' );

* {
	font-family: "Open Sans", Arial, sans-serif;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-weight: 300;
}

.hidden {
	display: none !important;
}

/* LOADER */
@keyframes loader {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(100vw);
	}
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.loader {
	position: fixed;
	display: none;
	top: 0;
	left: 0;
	width: 100%;
	height: 1px;
	z-index: 999;
}

.loader.active {
	display: block;
}

.loader::after {
	content: "";
	position: absolute;
	display: block;
	top: 0;
	left: -3%;
	width: 6%;
	height: 100%;
	background-color: #343b51;
}

.dark-mode .loader::after {
	background-color: #e6e6e6;
}

.loader.active::after {
	animation-name: loader;
	animation-duration: 1s;
	animation-timing-function: cubic-bezier(0.68, 0.01, 0.28, 1);
	animation-direction: alternate;
	animation-iteration-count: infinite;
}

/* MAIN */
h2 {
	font-size: 26px;
	text-transform: uppercase;
	font-weight: 600;
}

h3 {
	font-size: 15px;
	text-transform: uppercase;
	font-weight: 600;
}

main {
	width: 100%;
	max-width: 960px;
	min-height: calc(100vh - 210px);
	margin: 50px auto 0 auto;
}

nav {
	margin: 20px 30px;
}

nav a {
	display: inline-block;
	text-decoration: none;
	text-transform: uppercase;
	color: #000;
	margin-right: 20px;
	font-size: 15px;
	transition: color .2s ease;
}

nav a:hover {
	color: #ababab;
}

nav a.active {
	font-weight: 600;
}



footer {
	margin: 40px 0 20px 0;
	text-align: center;
}

footer p {
	font-size: 13px;
}

footer a {
	font-size: 13px;
	color: inherit;
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}

p, a, input {
	font-size: 15px;
	line-height: 23px;
}

b {
	font-weight: 600;
}

.cats {
	position: fixed;
	top: 90px;
	right: 30px;
	text-align: right;
	z-index: 3;
}

.cats a {
	display: block;
	text-decoration: none;
	margin-bottom: 5px;
	color: #000;
	font-size: 15px;
	text-transform: uppercase;
	transition: color .2s ease;
}

.cats a:hover {
	color: #ababab;
}

.cats a.active {
	font-weight: 600;
}

.burger-cont {
	height: 30px;
	display: none;
}

.burger {
	position: absolute;
	display: none;
	top: 20px;
	left: 30px;
	width: 30px;
	height: 25px;
	cursor: pointer;
	z-index: 999;
}

.burger::before,
.burger::after {
	content: "";
	transition: transform .2s ease;
}

.burger span,
.burger::before,
.burger::after {
	position: absolute;
	top: 50%;
	left: 3px;
	width: 24px;
	height: 1px;
	background-color: #000;
}

.burger span {
	opacity: 1;
	transition: opacity .2s ease;
}

.burger::before {
	transform: translateY(-9px) rotate(0deg);
}

.burger::after {
	transform: translateY(9px) rotate(0deg);
}

.burger.active span {
	opacity: 0;
}

.burger.active::before {
	transform: translateY(0px) rotate(45deg);
}

.burger.active::after {
	transform: translateY(0px) rotate(-45deg);
}

.cats-burger {
	position: absolute;
	display: none;
	top: 20px;
	right: 20px;
	width: 30px;
	height: 30px;
	cursor: pointer;
	z-index: 999;
}

.cats-burger span {
	position: absolute;
	display: block;
	top: 8px;
	right: 8px;
	height: 15px;
	width: 15px;
	border-left: 1px solid #000;
	border-bottom: 1px solid #000;
	transform: translateX(5px) rotate(45deg);
	transition: transform .2s ease;
}

.cats-burger.active span {
	transform: translateX(0) rotate(-135deg);
}

.to-top {
	position: relative;
	display: block;
	height: 30px;
	cursor: pointer;
	/*text-decoration: none;
	margin: 20px 0;
	font-size: 12px;
	text-transform: uppercase;*/
}

.to-top span {
	position: absolute;
	top: 1px;
	left: calc(50% - 2px);
	width: 15px;
	height: 15px;
	border-top: 1px solid #000;
	border-right: 1px solid #000;
	transform: translate(-50%, 0) rotate(-45deg);
	transition: transform .2s ease;
}

.to-top:hover span {
	transform: translate(-50%, -2px) rotate(-45deg);
}

/* HOME */
.home-big {
	position: relative;
	display: block;
	height: 40vh;
	margin-bottom: 20px;
	padding: 30px 35px;
	background-size: cover;
	background-position: center;
	text-decoration: none;
}

.home-big::before {
	content: "";
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0);
	transition: background-color .4s ease;
}

.home-big:hover::before {
	background-color: rgba(0,0,0,.5);
}

.home-big > * {
	position: relative;
	color: transparent;
	transition: color .4s ease;
	z-index: 1;
}

.home-big:hover > * {
	color: #fff;
}

.home-big p {
	font-size: 14px;
}

.home-big:hover p {
	color: #d0d0d0;
}


/* Film */
.video-big {
	position: relative;
	display: block;
	margin-bottom: 20px;
}

.video-big::before {
	content: "";
	position: relative;
	display: block;
	width: 100%;
	padding-bottom: 56.25%;
}

.video-big video,
.video-big iframe {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.video-big .over {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	padding: 30px 35px;
	z-index: 1;
	color: #fff;
	background-color: rgba(0,0,0,.5);
	opacity: 0;
	transition: opacity .2s ease;
	text-decoration: none;
}

.video-big:hover .over {
	opacity: 1;
}

.video-big .over.hide {
	display: none;
}

.video-big .info {
	color: #d0d0d0;
	font-size: 14px;
}

.video-big .txt {
	margin-top: 20px;
}

/* FOTO */
.foto {
	/*width: 100%;*/
	max-width: 1200px;
}

.foto-cat {
	margin-bottom: 60px;
}

/*.foto-cat .desc {
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
}*/

.foto-cat p {
	font-size: 14px;
	color: #969696;
}

.foto-cat .grid {
	display: grid;
	margin-top: 20px;
	grid-template-columns: repeat(3, 1fr);
	/*grid-auto-rows: 30vh;*/
	grid-gap: 20px;
}

.foto-cat .el {
	position: relative;
	padding-bottom: 100%;
}

/*.foto-cat figure {
	position: relative;
	background-size: cover;
	background-position: center;
	cursor: pointer;
}*/

.foto-cat figure {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	cursor: pointer;
	background-color: #eee;
}

.foto-cat figure::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: transparent;
	transition: background-color .4s ease;
}

.foto-cat figure:hover::after {
	background-color: rgba(0,0,0,.5);
}

/* LIGHTBOX */
.lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
	background-color: rgba(0,0,0,.8);
	opacity: 0;
	transition: opacity .4s ease;
}

.lightbox.show {
	opacity: 1;
}

.lightbox .close {
	position: absolute;
	top: 30px;
	right: 30px;
	width: 30px;
	height: 30px;
	cursor: pointer;
}

.lightbox .close::before,
.lightbox .close::after {
	content: "";
	position: absolute;
	display: block;
	top: 14px;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #fff;
}

.lightbox .close::before {
	transform: rotate(-45deg);
}

.lightbox .close::after {
	transform: rotate(45deg);
}

.lightbox figure {
	position: absolute;
	display: flex;
	top: 50%;
	left: 50%;
	width: calc(100% - 180px);
	height: calc(100% - 180px);
	transform: translate(-50%, -50%);
}

.lightbox img {
	max-width: 100%;
	max-height: 100%;
	margin: auto;
}

/* KUNST */
.art-cat {
	margin-bottom: 60px;
}

/*.foto-cat .desc {
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
}*/

/*.art-cat .desc::after {
	content: "";
	display: table;
	clear: both;
}*/

/*.art-cat .desc .l {
	float: left;
	width: calc(50% - 5px);
}

.art-cat .desc .r {
	float: right;
	width: calc(50% - 5px);
}*/

.art-cat .info {
	font-size: 14px;
	color: #969696;
}

.art-cat .txt {
	margin-top: 10px;
}

.art-cat .grid {
	display: grid;
	margin-top: 15px;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 20px;
}

.art-cat .el {
	position: relative;
	padding-bottom: 100%;
}

.art-cat figure {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	cursor: pointer;
	background-color: #eee;
}

.art-cat figure::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: transparent;
	transition: background-color .4s ease;
}

.art-cat figure:hover::after {
	background-color: rgba(0,0,0,.5);
}

/* ARCHITEKTUR */
.arc-cat {
	margin-bottom: 40px;
}

.arc-cat .info {
	font-size: 14px;
	color: #969696;
}

.slider {
	position: relative;
	margin: 10px 0;
}

.slider::before {
	content: "";
	position: relative;
	display: block;
	width: 100%;
	/*padding-bottom: 56.25%;*/
	padding-bottom: 66.6666%;
}

.slider .before,
.slider .after {
	position: absolute;
	top: 0;
	width: 40px;
	height: 100%;
	cursor: pointer;
}

.slider .before {
	left: -40px;
}

.slider .after {
	right: -40px;
}

.slider .before::after,
.slider .after::after {
	content: "";
	position: absolute;
	display: block;
	top: 50%;
	width: 16px;
	height: 16px;
	border-right: 2px solid #000;
	border-bottom: 2px solid #000;
	transition: border-color .2s ease;
}

.slider .before::after {
	left: 25px;
	transform: translate(-50%, -50%) rotate(135deg);
}

.slider .after::after {
	left: 15px;
	transform: translate(-50%, -50%) rotate(-45deg);
}

.slider .before:hover::after,
.slider .after:hover::after {
	border-color: #676767;
}

.slider .cut {
	position: absolute;
	display: flex;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.slider .cont {
	position: relative;
	width: 100%;
	height: 100%;
	transform: translateX(0%);
	white-space: nowrap;
	transition: transform .8s ease;
	font-size: 0;
}

.slider .cont figure {
	position: relative;
	display: inline-block;
	height: 100%;
	width: 100%;
	background-size: cover;
	background-position: center;
	cursor: pointer;
}

.slider .cont video {
	position: absolute;
	height: 100%;
	width: 100%;
	background-color: #0c0c0c;
}

.slider iframe {
	display: block;
	width: 100%;
	height: 100%;
}

/* KONTAKT */
.contact {
	max-width: 500px;
	margin: 0 auto;
}

.contact h2 {
	margin-bottom: 10px;
}

.contact-form {
	margin: 30px auto 0 auto;
}

input,
textarea,
.btn {
	display: block;
	width: 100%;
	margin-bottom: 16px;
	padding: 15px;
	font-size: 15px;
	outline: none;
	border: 1px solid #000000;
	border-radius: 0;
	background-color: #ffffff;
	-webkit-appearance: none;
}

textarea {
	height: 150px;
	resize: vertical;
}

input[type="submit"],
.btn {
	text-align: center;
	color: #000;
	background-color: #ffffff;
	border: 1px solid #000000;
	cursor: pointer;
	transition: background-color .4s ease;
}

input[type="submit"]:hover,
.btn:hover {
	color: #fff;
	background-color: #131313;
}

.notice {
	padding: 15px;
	margin-bottom: 16px;
}

.notice.error {
	background-color: #ffc357;
}

.contact .two::after {
	content: "";
	display: table;
	clear: both;
}

.contact .two input:first-child {
	float: left;
	width: calc(50% - 8px);
}

.contact .two input:last-child {
	float: right;
	width: calc(50% - 8px);
}

/* ADMIN */

/* POP */
.popup-cont {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,.7);
}

.pop-box {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 400px;
	background-color: #fff;
	border-radius: 3px;
	padding: 15px;
	transform: translate(-50%, -50%);
}

.ctx-cont {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.ctx-box {
	position: absolute;
	background-color: #fff;
	box-shadow: 0 1px 20px rgba(0,0,0,.15);
	padding: 5px 0;
}

.ctx-box a {
	display: block;
	text-decoration: none;
	padding: 5px 10px;
	transition: background-color .2s ease;
	color: inherit;
}

.ctx-box a:hover {
	background-color: #f1f1f1;
}

/* DROP */
.drop-field {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .3);
	z-index: 2;
}

.drop-field::before,
.drop-field::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	height: 120px;
	width: 20px;
	background-color: #858585;
}

.drop-field::before {
	transform: translate(-50%, -50%);
}

.drop-field::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.drop-field.show {
	display: block;
}


/* MAIN */
.login-form {
	max-width: 300px;
	margin: 0 auto;
}

.logs {
	font-size: 14px;
	margin-top: 25px;
}

.mainitem {
	margin-bottom: 10px;
	padding: 8px 15px;
	cursor: pointer;
	background-color: #f3f3f3;
	transition: background-color .2s ease;
}

.mainitem:hover {
	background-color: #dadada;
}

.actions::after {
	content: "";
	display: table;
	clear: both;
}

.actions a {
	text-decoration: none;
	color: inherit;
	transition: background-color .2s ease;
}

.actions a:hover {
	background-color: #dadada;
}

.actions > * {
	display: block;
	float: left;
	margin-right: 10px;
	padding: 8px 15px;
	background-color: #f3f3f3;
}

.search {
	width: auto;

}

.select-type {
	display: block;
	max-width: 300px;
	margin: 0 auto 10px auto;
	padding: 10px;
	text-align: center;
	background-color: #f3f3f3;
	transition: background-color .2s ease;
	text-decoration: none;
	color: inherit;
}

.select-type:hover {
	background-color: #dadada;
}

.basic-form {
	max-width: 700px;
	margin: 0 auto;
}

.basic-form h2 {
	margin-top: 20px;
	margin-bottom: 5px;
}

.cats-cont {
	margin-bottom: 20px;
}

.cats-cont::after {
	content: "";
	display: table;
	clear: both;
}

.active-cats {
	float: left;
	width: calc(50% - 10px);
}

.cats-active {
	margin-bottom: 10px;
	padding: 10px 15px;
	background-color: #f3f3f3;
	cursor: pointer;
	transition: background-color .2s ease;
}

.cats-active:hover {
	background-color: #dadada;
}

.cats-select-cont {
	position: relative;
	float: right;
	width: calc(50% - 10px);
}

.cat-select {
	display: block;
	margin-bottom: 10px;
	padding: 10px 15px;
	background-color: #f3f3f3;
	text-decoration: none;
	color: inherit;
	transition: background-color .2s ease;
}

.cat-select:hover {
	background-color: #dadada;
}

.media-notice {
	margin-bottom: 5px;
}

.media-item {
	display: flex;
	margin-bottom: 20px;
	background-color: #f3f3f3;
}

.media-item video,
.media-item img {
	display: block;
	height: 150px;
}

.media-item p {
	padding: 20px;
}

.media-item .position {
	display: flex;
	width: 100%;
	padding: 15px;
	align-self: stretch;
	text-align: center;
	cursor: pointer;
	background-color: transparent;
	transition: background-color .2s ease;
}

.media-item .position span {
	display: block;
	width: 100%;
	align-self: center;
}

.media-item .position:hover {
	background-color: #dadada;
}

.med-ifr-create::after {
	content: "";
	display: table;
	clear: both;
}

.med-ifr-create input {
	width: calc(100%  - 300px);
	float: left;
}

.med-ifr-create a {
	display: block;
	width: 140px;
	margin-left: 10px;
	float: right;
	text-decoration: none;
}

.media-progress {
	position: relative;
	height: 40px;
	margin-bottom: 20px;
	background-color: #f3f3f3;
}

.media-progress::after {
	content: "";
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: var(--progress);
	height: 100%;
	background-color: #696969;
}

.published {
	position: relative;
	display: block;
	margin: 20px 0;
	padding: 10px 15px 10px 55px;
	cursor: pointer;
	user-select: none;
}

label {
	font-size: 15px;
}

.published input {
	position: absolute;
	width: 0;
	height: 0;
	margin: 0;
	visibility: hidden;
	z-index: -1;
}

.checkmark {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 40px;
	background-color: #f3f3f3;
	transition: background-color .2s ease;
}

.checkmark::before,
.checkmark::after {
	content: "";
	position: absolute;
	display: none;
	top: calc(50% - 2px);
	left: 20%;
	height: 4px;
	width: 60%;
	background-color: #696969;
}

.checkmark::before {
	transform: rotate(-45deg);
}

.checkmark::after {
	transform: rotate(45deg);
}

.published:hover .checkmark {
	background-color: #dadada;
}

.published input:checked ~ .checkmark::before,
.published input:checked ~ .checkmark::after {
	display: block;
}

.inserted {
	text-align: center;
}

.pos-pop {
	width: 960px;
}

.pos-form::after {
	content: "";
	display: table;
	clear: both;
}

.pos-pop .placer {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	grid-gap: 10px 16px;
}

.pos-pop label {
	padding: 0 15px;
}

.pos-prev {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	grid-template-rows: repeat( 3, 15vh );
	grid-gap: 20px;
}

.pos-item {
	background-color: #eee;
}

.pos-item:nth-child(1) {
	grid-area: 1 / 1 / 2 / 2;
}

.pos-item:nth-child(2) {
	grid-area: 1 / 2 / 2 / 3;
}

.pos-item:nth-child(3) {
	grid-area: 1 / 3 / 2 / 4;
}

.pos-item:nth-child(4) {
	grid-area: 2 / 1 / 3 / 2;
}

.pos-item:nth-child(5) {
	grid-area: 2 / 2 / 3 / 3;
}

.pos-item:nth-child(6) {
	grid-area: 2 / 3 / 3 / 4;
}

.pos-item:nth-child(7) {
	grid-area: 3 / 1 / 4 / 2;
}

.pos-item:nth-child(8) {
	grid-area: 3 / 2 / 4 / 3;
}

.pos-item:nth-child(9) {
	grid-area: 3 / 3 / 4 / 4;
}

.pos-main-item {
	grid-area: 1 / 1 / 2 / 2;
	background-color: #696969;
}

@media (max-width: 1300px) {

	.cats {
		position: fixed;
		top: 0;
		right: 0;
		height: 100%;
		margin: 0;
		padding: 70px 50px 70px 80px;
		background-color: #fff;
		z-index: 98;
		transform: translateX(100%);
		transition: transform .2s ease;
	}

	.cats-open .cats {
		transform: translateX(0px);
		box-shadow: 0 0 15px rgba(0,0,0,.1);
	}

	.cats a {
		display: block;
		margin: 0 0 10px 0;
		font-size: 20px;
	}

	.cats a:hover {
		color: #000;
	}

	.cats-burger {
		display: block;
	}

	.admin .cats-burger,
	.no-cats .cats-burger {
		display: none;
	}

}

@media (max-width: 1050px) {
	
	main {
		max-width: none;
		width: calc(100% - 100px);
	}

	.video-big .over {
		opacity: 1;
	}

	.home-big::before {
		background-color: rgba(0,0,0,.5);
	}

	.home-big > * {
		color: #fff;
	}

	.home-big p {
		color: #d0d0d0;
	}

}

/* MEDIA QUERY */
@media (max-width: 700px) {

	main {
		width: calc(100% - 50px);
	}

	main.arc {
		width: calc(100% - 90px);
	}

	nav {
		position: fixed;
		top: 0;
		left: 0;
		height: 100%;
		margin: 0;
		padding: 70px 100px 70px 70px;
		background-color: #fff;
		z-index: 99;
		transform: translateX(-100%);
		transition: transform .2s ease;
	}

	nav a {
		display: block;
		margin: 0 0 10px 0;
		font-size: 20px;
	}

	nav a:hover {
		color: #000;
	}

	.nav-open nav {
		transform: translateX(0px);
		box-shadow: 0 0 15px rgba(0,0,0,.1);
	}

	nav a {
		display: block;
		margin: 0 0 10px 0;
		font-size: 20px;
	}

	nav a:hover {
		color: #000;
	}

	.burger-cont {
		display: block;
	}

	.burger {
		display: block;
	}

	.admin .burger {
		display: none;
	}

	.lightbox figure {
		width: calc(100% - 70px);
		height: calc(100% - 150px);
	}

	.video-big video {
		background-color: #2b2b2b;
	}
	
	.art-cat .grid {
		grid-template-columns: 1fr;
	}
	
	/*.foto-cat .grid {
		grid-auto-rows: 17vh;
	}*/

}