/*
Theme Name: ASA+SAGA
Theme URI: https://asasaga.com
Description: Custom Theme for ASA+SAGA
Author: Roger Burkhard
Author URI: http://www.rogerburkhard.com
*/

/*------------------------------------------------------
VARIABLES
------------------------------------------------------*/

:root {
  --offset: 2vw;
  --offset-minus:  -2vw;
  --max_width: 100%;
  --columns: 12;
  --gap: 16px;
  --baseline: 10px;
  --baseline-offset: 0;
  --font_color: #000;
  --easing:cubic-bezier(0.33, 1, 0.68, 1);

  --grid_color: hsla(204, 80%, 72%, 0.25);
  --repeating_width: calc(100% / var(--columns));
  --column_width: calc((100% /  (var(--columns)) -  var(--gap)));
  --background_width: calc(100% +  var(--gap));
  --background_columns: repeating-linear-gradient(to right, var(--grid_color), var(--grid_color) var(--column_width), transparent var(--column_width), transparent var(--repeating_width));
  --background_baseline: repeating-linear-gradient(to bottom, var(--grid_color), var(--grid_color) 1px, transparent 1px, transparent var(--baseline));
}

/*------------------------------------------------------
THE BIG FAT RESET
------------------------------------------------------*/

* {
	min-height: 0;
	min-width: 0;
}


html, body, div, span, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote, pre, form, fieldset, table, th, td, header, footer {
	margin: 0;
	padding: 0;
}

sub, sup {
	line-height: 0;
}

/*------------------------------------------------------
IMPORT FONTS
------------------------------------------------------*/

@font-face {
    font-family: 'Univers Next Pro Regular';
    src: url('styles/fonts/UniversNextPro-Regular.woff2') format('woff2'),
         url('styles/fonts/UniversNextPro-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Univers Next Pro Medium';
    src: url('styles/fonts/UniversNextPro-Medium.woff2') format('woff2'),
         url('styles/fonts/UniversNextPro-Medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/*------------------------------------------------------
GRID HELPER
------------------------------------------------------*/

/* Grid */

/*
html::before {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin-right: auto;
	margin-left: auto;
	width: calc(100% - (2 * var(--offset)));
	max-width: var(--max_width);
	min-height: calc(100vh - 86px);
	content: '';
	background-image: var(--background_columns), var(--background_baseline);
	background-size: var(--background_width) 100%;
	background-position: 0 var(--baseline-offset);
	z-index: 1000;
	pointer-events: none;
}

/* Squares */

/*
$square: transparent 0 calc(20px - 1px),#ccc 0 20px;

body {
	width: 100%;
	height: 100%;
	margin: 0 auto;
	background: repeating-linear-gradient(to right, $square), repeating-linear-gradient(to bottom,$square) #fff;
}
*/

/*------------------------------------------------------
GENERAL
------------------------------------------------------*/

html {
	width: 100%;
	height: 100%;
	background: #fff;
	margin:0 !important;
	-webkit-text-size-adjust: 100%;
}

body {
	width: -moz-calc(100% - (var(--offset))*2);
	width: -webkit-calc(100% - (var(--offset))*2);
	width: -o-calc(100% - (var(--offset))*2);
	width: calc(100% - (var(--offset))*2);
	padding: 0 var(--offset);
	font: normal 1.38vw/1.66vw 'Univers Next Pro Regular', Helvetica, Arial, Verdana, sans-serif;
	letter-spacing:0.02em;
	color: var(--font_color);
	overflow-y:scroll;
	overflow-x: hidden;
	min-width: 320px;
	-webkit-font-smoothing: antialiased;
	-moz-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-smoothing: antialiased;
}

body, h2, .project_item h2 {
	font: normal 1.38vw/1.66vw 'Univers Next Pro Regular', Helvetica, Arial, Verdana, sans-serif;
	letter-spacing:0.02em;
}

body.noscroll {
	overflow: hidden;
}

body.wait, body.wait a {
	cursor:wait;
	overflow-y:hidden;
}

#wpadminbar {
	display:none !important;
}

div:focus {
	outline: none;
	ie-dummy: expression(this.hideFocus=true);
}

::selection {
  background: #ccc;
  color:#000;
}

::-moz-selection {
  background: #ccc;
  color:#000;
}

a::selection {
	color:#000 !important;
}

a::-moz-selection {
	color:#000 !important;
}

.ie_message {
	display: none;
	padding: 10px;
}

/*------------------------------------------------------
TYPOGRAPHY
------------------------------------------------------*/

h1, h2, h3, h4, h5, h6 {
	font-weight:normal;
}

h1 {
	font: 20px/24px 'Univers Next Pro Regular', Helvetica, Arial, Verdana, sans-serif;
	margin-bottom: 25px;
}

nav ul li a {
	font: 4.16vw/4.16vw 'Univers Next Pro Medium', Helvetica, Arial, Verdana, sans-serif;
}

p {
	margin-bottom: 2vw;
	hyphens: auto;
    hyphenate-limit-chars: 6 3 3;
    hyphenate-limit-lines: 2;
    hyphenate-limit-last: always;   
    hyphenate-limit-zone: 8%;
}

hr {
	margin-bottom:2vw;
	border: none;
	height:1px;
  	background-color:#000;
}

b, strong {
	font-weight: bold;
}

/*------------------------------------------------------
GENERAL LINKS
------------------------------------------------------*/

a {
	outline: none;
	text-decoration: none;
	cursor: pointer;
	color: var(--font_color);
}

:focus {
	-moz-outline-style: none;
}

/*------------------------------------------------------
IMAGES
------------------------------------------------------*/

img {
	display: block;
	border: none 0;
}

.lazyload, .lazyloading {
	opacity: 0;
}

.lazyloaded {
	opacity: 1;
	-webkit-transition:opacity 0.5s;
	transition: opacity 0.5s;
}

/*------------------------------------------------------
VIDEO
------------------------------------------------------*/

video {
	display:block;
	outline: 0;
	-moz-outline-style: none;
}

/* Responsive iFrame */

.video_wrap {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}

.video_wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/*------------------------------------------------------
CLEAR
------------------------------------------------------*/

.clear {
	clear: both;
}

/*------------------------------------------------------
Focus Input & Textarea
------------------------------------------------------*/

input, textarea {
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	resize: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { 
	display: none; 
}

textarea:focus, input:focus, select:focus {
    outline: 0;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="button"], button {
   outline:none !important;
}
input[type="button"]::-moz-focus-inner, button::-moz-focus-inner {
   border: 0 !important;
}

/*------------------------------------------------------
WYSIWIG CONTENT
------------------------------------------------------*/

.wysiwig_content img {
	display: block;
	width: 100%;
	height: auto;
}

.wysiwig_content ul {
    list-style: none;
    margin-left: 0;
    padding-left: 1em;
}

.wysiwig_content ul > li:before {
    display: inline-block;
    content: "–";
    width: 1em;
    margin-left: -1em;
}

.wysiwig_content a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

/*------------------------------------------------------
GRID
------------------------------------------------------*/

.grid {
	display: -ms-grid;
	display: grid;
	grid-gap: var(--gap);
	grid-row-gap: 0px;
	grid-template-columns: repeat(var(--columns), 1fr);
	align-items: start;
}

.full_columns {
	-ms-grid-columns: 1 / 13;
	grid-column:1 / 13;
}

/*------------------------------------------------------
HEADER
------------------------------------------------------*/

header {
	display:block;
	z-index:100;
	position:fixed;
	top:var(--offset);
	left:var(--offset);
	right:var(--offset);
}

header a.home_logo {
	position:absolute;
	left:0;
	top:0;
	width:21.5vw;
	height:3.19vw;
	background:url('images/logo_dark.svg') no-repeat center center;
	background-size:contain;
	-webkit-transition:background 0.4s var(--easing);
	transition:background 0.4s var(--easing);
}

header a.home_logo.active_project_text {
	background:url('images/logo_dark.svg') no-repeat center center !important;
	background-size:contain !important;
}

header a.home_logo.color_hell {
	background:url('images/logo_light.svg') no-repeat center center;
	background-size:contain;
}

header nav {
	position:absolute;
	top:0;
	left: -moz-calc(21.5vw + 4.16vw);
	left: -webkit-calc(21.5vw + 4.16vw);
	left: -o-calc(21.5vw + 4.16vw);
	left: calc(21.5vw + 4.16vw);
}

header nav ul {
	list-style:none;
}

header nav ul li {
	display:inline-block;
	margin-right:var(--offset);
}

header nav ul li:last-child {
	margin-right:0;
}

/*
header nav ul li.current-menu-item a {
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 6px;
}
*/

header nav ul li a {
	position:relative;
}

header nav ul li a:after {
	content:'';
	position:absolute;
	height:2px;
	bottom:0.3vw;
	left:0;
	width:0;
	background:var(--font_color);
	-webkit-transition:width 0.4s var(--easing);
	transition:width 0.4s var(--easing);
}

header nav ul li.current-menu-item a:after,
body.no_touch header nav ul li a:hover:after {
	width:100%;
}

body.home header {
	display:none;
}

header a.hamburger {
	display:none;
}

/*------------------------------------------------------
HOME
------------------------------------------------------*/

.page_home {
	display: flex;
	justify-content: center;
	align-items: center;
	cursor:pointer;
}

.logo_home {
	position:absolute;
	top:0;
	left:10%;
	right:10%;
	bottom:0;
	z-index:100;
}

.page_home, .page_home .swiper {
	position:fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
}

.page_home .swiper {
	z-index:5;
}

.page_home .swiper .swiper-slide {
	position:relative;
	width:100vw;
	height: calc(var(--vh, 1vh) * 100);
}

.is-reloading .image_left,
.is-reloading .image_right {
    transition: none !important;
    transform: none !important;
}

.page_home .swiper .swiper-slide .image_left,
.page_home .swiper .swiper-slide .image_right {
	display:block;
	width:110vw;
	height: calc(var(--vh, 1vh) * 100);
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	mix-blend-mode: multiply;
	transform: translate3d(0,0,0);
}

.page_home .swiper .swiper-slide .image_left {
	-webkit-transform: translateX(-10vw);
	transform: translateX(-10vw);
	-webkit-transition: -webkit-transform 300s ease-out;
	transition: transform 300s ease-out;
}

.page_home .swiper .swiper-slide .image_right {
	-webkit-transform: translateX(0);
	transform: translateX(0);
	-webkit-transition: -webkit-transform 200s ease-out;
	transition: transform 200s ease-out;
}

.page_home .swiper .swiper-slide.animate .image_left {
	-webkit-transform: translateX(20vw);
	transform: translateX(20vw);
}

.page_home .swiper .swiper-slide.animate .image_right {
	-webkit-transform: translateX(-20vw);
	transform: translateX(-20vw);
}

/*------------------------------------------------------
PROJECTS
------------------------------------------------------*/

.page_projects {
	padding-top:14vw;
}

.project_view_text {
	padding-top:4vw;
}

.page_projects .project_item {
	display:none;
	opacity:0;
	-webkit-transition:opacity 1s var(--easing);
	transition:opacity 1s var(--easing);
}

.page_projects  .project_item.show {
	display:block;
}

.page_projects .project_item.show.fade {
	opacity:1;
}

.page_projects .project_item img {
	width:100%;
	height:auto;
}

.page_projects .project_view {
	display:none;
}

.page_projects .project_view.active {
	display: -ms-grid;
	display: grid;
}

/* Image View */

.page_projects .project_view_image {
	grid-gap: 3.8vw;
	row-gap: 3.8vw;
	grid-template-columns: repeat(4, 1fr);
	align-items: end;
}

.page_projects .project_view_image .project_item {
	margin-bottom:0;
}

.page_projects .project_item h2 {
	display:block;
	opacity:0;
	text-align: center;
	margin-top:0.7vw;
	-webkit-transition:opacity 0.5s var(--easing);
	transition:opacity 0.5s var(--easing);
}

body.no_touch .page_projects .project_item:hover h2 {
	opacity:1;
}

/* Text View */

.project_view_text .project_item {
	margin-bottom:13px;
	padding-bottom:13px;
	border-bottom:1px solid #979797;
}

.project_view_text .project_column {
	display:inline-block;
	float:left;
	min-height:1px;
}

.project_view_text .project_column_1 {
	width: -moz-calc(6% - 20px);
	width: -webkit-calc(6% - 20px);
	width: -o-calc(6% - 20px);
	width: calc(6% - 20px);
	margin-right:20px;
}

.project_view_text .project_column_2 {
	width: -moz-calc(15% - 20px);
	width: -webkit-calc(15% - 20px);
	width: -o-calc(15% - 20px);
	width: calc(15% - 20px);
	margin-right:20px;
}

.project_view_text .project_column_3 {
	width: -moz-calc(37% - 20px);
	width: -webkit-calc(37% - 20px);
	width: -o-calc(37% - 20px);
	width: calc(37% - 20px);
	margin-right:20px;
}

.project_view_text .project_column_4 {
	width: -moz-calc(30% - 20px);
	width: -webkit-calc(30% - 20px);
	width: -o-calc(30% - 20px);
	width: calc(30% - 20px);
	margin-right:20px;
}

.project_view_text .project_column_5 {
	width:12%;
	text-align:right;
}

.project_view_text .project_column_5 a {
	color:var(--font_color);
	-webkit-transition:color 0.5s var(--easing);
	transition:color 0.5s var(--easing);
}

body.no_touch .project_view_text .project_column_5 a:hover {
	color:#D9D9D9;
}

/* Filter */

.filter {
	position:fixed;
	top:var(--offset);
	right:6.1vw;
}

.filter a {
	font-family: 'Univers Next Pro Medium';
	display:table;
	position:relative;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none; 
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-transition:color 0.5s var(--easing);
	transition:color 0.5s var(--easing);
}

.filter a:after {
	content:'';
	position:absolute;
	bottom:1px;
	left:0;
	height:1px;
	background:var(--font_color);
	width:0;
	-webkit-transition:width 0.5s var(--easing);
	transition:width 0.5s var(--easing);
}

body.no_touch .filter a:hover {
	color:#D9D9D9;
}

.filter a.active:after {
	width:100%;
}

.filter a.active,
body.no_touch .filter a.active:hover {
	color:var(--font_color);
}

/* View */

.view {
	position:fixed;
	top:var(--offset);
	right:var(--offset);
}

.view a {
	display:block;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none; 
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	text-indent:-10000px;
}

.view a.change_view_image {
	position:relative;
	width:1.94vw;
	height:1.5vw;
	background:url('images/icon_image_view_dark_grey.svg') no-repeat center center;
	background-size:contain;
	margin-bottom:0.5vw;
}

.view a.change_view_text {
	position:relative;
	width:1.87vw;
	height:1.5vw;
	background:url('images/icon_text_view_dark_grey.svg') no-repeat center center;
	background-size:contain
}

.view a.change_view_image:before,
.view a.change_view_text:before {
	opacity:0;
	content:'';
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	-webkit-transition:opacity 0.5s var(--easing);
	transition:opacity 0.5s var(--easing);
}

.view a.change_view_image.active:before,
body.no_touch .view a.change_view_image:hover:before,
.view a.change_view_text.active:before,
body.no_touch .view a.change_view_text:hover:before {
	opacity:1;
}

.view a.change_view_image:before {
	background:url('images/icon_image_view_black.svg') no-repeat center center;
	background-size:contain;
}

.view a.change_view_text:before {
	background:url('images/icon_text_view_black.svg') no-repeat center center;
	background-size:contain;
}

/*------------------------------------------------------
OFFICE
------------------------------------------------------*/

.page_office {
	padding-top:13.1vw;
	position:relative;
}

body.page-template-office .subnavigation {
	position:fixed;
	top:var(--offset);
	right:var(--offset);
}

body.page-template-office .subnavigation a {
	display:table;
	font-family: 'Univers Next Pro Medium';
	position:relative;
}

body.page-template-office .subnavigation a:after {
	content:'';
	position:absolute;
	bottom:2px;
	left:0;
	width:0;
	height:1px;
	background:var(--font_color);
	-webkit-transition:width 0.4s var(--easing);
	transition:width 0.4s var(--easing);
}

body.page-template-office .subnavigation a.active:after {
	width:100%;
}

.page_office .content_section {
	display:block;
	padding-bottom:40px;
	margin-bottom:60px;
	border-bottom:1px solid var(--font_color)
}

.page_office .content_section.content_section_imprint {
	border-bottom:none 0;
}

.page_office .content_section.content_section_imprint p:last-child {
	margin-bottom:0;
}

.page_office .content_section_inside {
	display:block;
	width: -moz-calc(100% - (2 * var(--offset)));
	width: -webkit-calc(100% - (2 * var(--offset)));
	width: -o-calc(100% - (2 * var(--offset)));
	width: calc(100% - (2 * var(--offset)));
	max-width: -moz-calc(43vw - (2 * var(--offset)));
	max-width: -webkit-calc(43vw - (2 * var(--offset)));
	max-width: -o-calc(43vw - (2 * var(--offset)));
	max-width: calc(51vw - (2 * var(--offset)));
	margin:0 auto;
}

.page_office .outer_go_to_top {
	text-align:right;
	position:relative;
}

.page_office a.go_to_top {
	display:inline-block;
	position:absolute;
	bottom:100px;
	right:0;
}

/* Office Gallery */

.swiper_office{
	pointer-events:none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none; 
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.swiper_office,
.swiper_office .swiper-wrapper,
.swiper_office .swiper-wrapper .swiper-slide {
	width:100%;
	aspect-ratio: 21 / 16;
}

.swiper_office .swiper-wrapper .swiper-slide img {
	width:100%;
	height:100%;
	object-fit:contain;
	object-position: center center;
}

a[href^="https://www.instagram.com"] {
	white-space: nowrap;
}

a[href^="https://www.instagram.com"]:after {
	content:'';
	display:inline-block;
	right:0;
	margin-left:0.7vw;
	-webkit-transform: translateY(0.15vw);
	transform: translateY(0.15vw);
	width:1.5vw;
	height:1.5vw;
	background:url('images/insta.svg') no-repeat center center;
	background-size:100% auto;
}

/*------------------------------------------------------
PROJECT DETAIL
------------------------------------------------------*/

body.single-projekte nav {
	display:none;
}

.project_detail .project_slider {
	position:fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background:#fff;
}

/* Project Slides */

.project_detail .swiper-slide {
	background:#fff;
}

.swiper-slide.layout_fullscreen .image_detail {
	width:100vw;
	height: calc(var(--vh, 1vh) * 100);
	background-size:cover;
}

.swiper-slide.layout_passpartout .image_detail {
	height: calc((var(--vh, 1vh) * 100) - 15.4vw);
	margin:7.7vw var(--offset);
	width: -moz-calc(100% - (var(--offset) * 2));
	width: -webkit-calc(100% - (var(--offset) * 2));
	width: -o-calc(100% - (var(--offset) * 2));
	width: calc(100% - (var(--offset) * 2));
	background-size:contain;
	background-repeat: no-repeat;
}

.swiper-slide.layout_combo .image_detail {
	width:89vw;
	padding-left:5.5vw;
	padding-right:5.5vw;
	height: calc((var(--vh, 1vh) * 100) - 21vw);
	padding-top: 10.5vw;
	padding-bottom: 10.5vw;
	background:#000;
}

.swiper-slide.layout_combo .image_detail .combo_left,
.swiper-slide.layout_combo .image_detail .combo_right {
	display:block;
	float:left;
	position:relative;
	width: -moz-calc(50% - 6.25vw);
	width: -webkit-calc(50% - 6.25vw);
	width: -o-calc(50% - 6.25vw);
	width: calc(50% - 6.25vw);
	height:100%;
}

.swiper-slide.layout_combo .image_detail .combo_left {
	margin-right:6.25vw;
}

.swiper-slide.layout_combo .image_detail .combo_right {
	margin-left:6.25vw;
}

.swiper-slide.layout_combo .image_detail .combo_left img {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:auto;
	max-height: 100%;
    object-fit: contain;
    object-position: center center;
}

.swiper-slide.layout_combo .combo_right img {
	position:absolute;
	bottom:0;
	left:0;
	width:100%;
	height:auto;
	max-height: 100%;
    object-fit: contain;
    object-position: center center;
}

.project_detail .swiper-button-prev, .project_detail .swiper-button-next {
	width:50%;
	height:100%;
	top:0;
	bottom:0;
	margin:0;
	padding:0;
	cursor:pointer;
	z-index:10;
}

.project_detail .swiper-button-prev {
	left:0;
}

.project_detail .swiper-button-next {
	right:0;
}

.swiper-button-next::after, .swiper-button-prev::after {
	display:none;
}

/* Legend */

.project_legend {
	position:fixed;
	left:0;
	bottom:-2px;
	right:0;
	padding:var(--offset);
	z-index:100;
	color:#000;
	-webkit-transition:color 0.4s var(--easing);
	transition:color 0.4s var(--easing);
}

.project_legend .show_images {
	display:none;
}

.project_legend.active_project_text .image_legend,
.project_legend.active_project_text .show_text,
.project_legend.active_project_text .counter {
	display:none;
}

.project_legend.active_project_text .show_images {
	display:inline-block;
}


.project_legend.color_hell,
.project_legend.color_hell a {
	color:#fff;
}

.project_legend.active_project_text,
.project_legend.active_project_text a {
	color:#000 !important;
}

.project_legend.active_project_text {
	background:#fff;
}

/* Project Text */

.project_detail .project_text {
	display:none;
	position:fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background:#fff;
	z-index:20;
	text-align:center;
	overflow:auto;
	scrollbar-width: none;
}

.project_detail .project_text::-webkit-scrollbar {
    display: none;
}

.project_detail .project_text .inside_project_text {
	display:block;
	position:relative;
	z-index:1;
	width: -moz-calc(100% - (2 * var(--offset)));
	width: -webkit-calc(100% - (2 * var(--offset)));
	width: -o-calc(100% - (2 * var(--offset)));
	width: calc(100% - (2 * var(--offset)));
	max-width: -moz-calc(43vw - (2 * var(--offset)));
	max-width: -webkit-calc(43vw - (2 * var(--offset)));
	max-width: -o-calc(43vw - (2 * var(--offset)));
	max-width: calc(43vw - (2 * var(--offset)));
	margin:0 auto;
	padding:13.2vw var(--offset) 4vw var(--offset);
	text-align:left;
}

.project_detail .project_text .close_text {
	position:fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background:#fff;
	z-index:0;
}

.project_detail .project_text .inside_project_text .centered_section {
	text-align:center;
}

.project_detail .project_text .inside_project_text .project_detail_text {
	text-align:left;
}

/*------------------------------------------------------
IE
------------------------------------------------------*/

.ie_message {
	display: none;
	padding: 10px;
}

.ie_message a {
	text-decoration: underline;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
	.ie_message {
		display: block !important;
	}
   header, main, footer {
    display: none !important
   }
}

/*------------------------------------------------------
BIGGER THAN 1600px
------------------------------------------------------*/

@media screen and (min-width: 1601px) {

	:root {
	  --offset: 32px;
	  --offset-minus:  -32px;
	}

	body, h2, .project_item h2 {
		font-size:22px;
		line-height:26px;
	}

	header a.home_logo {
		width: 344px;
  		height: 51px;
	}

	nav ul li a {
		font-size:66px;
		line-height:66px;
	}

	.view a.change_view_image {
		width:31px;
		height:24px;
	}

	.view a.change_view_text {
		width:30px;
		height:24px;
	}

	header nav {
		left:410px;
	}

	.page_projects {
		padding-top:224px;
	}

	.project_view_text {
		padding-top:64px;
	}

	.page_office .content_section_inside {
		max-width:800px;
	}

	.project_detail .project_text .inside_project_text {
		padding-top:211px;
		padding-left:32px;
		padding-right:32px;
		padding-bottom:64px;
		max-width:800px;
	}

}

/*------------------------------------------------------
LAPTOP
------------------------------------------------------*/

@media all and (max-width: 1400px) and (min-width: 0) {

	.logo_home {
		left:5%;
		right:5%;
	}

	.page_projects {
		padding-top:18.75vw;
	}

	.project_view_text {
		padding-top:0;
	}

}

/*------------------------------------------------------
TABLET
------------------------------------------------------*/

@media all and (max-width: 1160px) and (min-width: 0) {

	body, h2, .project_item h2 {
		font-size:16px;
		line-height:19px;
	}

	.page_projects .project_view_image {
		grid-template-columns: repeat(3, 1fr);
	}

	header a.home_logo {
		width:250px;
		height:37px;
	}

	header nav {
		left:298px;
	}

	nav ul li a {
		font-size:48px;
		line-height:48px;
	}

	.view a.change_view_image {
		width:22px;
		height:17px;
		margin-bottom:6px;
	}

	.view a.change_view_text {
		width:22px;
		height:17px;
	}

	.page_office {
		padding-top:152px;
	}

	p {
		margin-bottom:23px;
	}

	.page_office .content_section_inside,
	.project_detail .project_text .inside_project_text {
		max-width: -moz-calc(630px - (2 * var(--offset)));
		max-width: -webkit-calc(630px - (2 * var(--offset)));
		max-width: -o-calc(630px - (2 * var(--offset)));
		max-width: calc(630px - (2 * var(--offset)));
		margin:0 auto;
	}

	a[href^="https://www.instagram.com"]:after {
		margin-left:6px;
		-webkit-transform: translateY(2px);
		transform: translateY(2px);
		width:15px;
		height:15px;
	}

	.page_office a.go_to_top {
		bottom:10px;
	}

}

/*------------------------------------------------------
MOBILE
------------------------------------------------------*/

@media all and (max-width: 860px) and (min-width: 0) {

	:root {
	  --offset: 11px;
	  --offset-minus:  -11px;
	}

	.logo_home {
		left:-15vw;
		right:-15vw;
	}

	nav {
		display:none;
	}

	.page_projects .project_view_image {
		grid-template-columns: repeat(1, 1fr);
	}

	.page_projects .project_view_image .project_item {
		text-align:center;
	}

	.page_projects .project_view_image .project_item.format_querformat img,
	.page_projects .project_view_image .project_item.format_hochformat img {
		display:inline-block;
		width:auto;
		max-width:100%;
		object-fit:contain;
	}

	.page_projects .project_view_image .project_item.format_querformat img {
		height:50vw;
	}

	.page_projects .project_view_image .project_item.format_hochformat img {
		height:61vw;
	}

	.page_projects .project_item h2 {
		opacity:1;
	}

	.page_projects .project_item h2 {
		margin-top:0px;
	}

	header a.home_logo {
		width:182px;
		height:27px;
		z-index:101;
	}

	.page_projects {
		padding-top:80px;
	}

	.page_projects .project_view_image .project_item {
		margin-bottom:12px;
	}

	header.active_nav a.home_logo.color_hell {
		background: url('images/logo_dark.svg') no-repeat center center;
		background-size: contain;
	}

	header a.hamburger {
		display:block;
		width:36px;
		height:36px;
		background:url('images/icon_arrow_down.svg') no-repeat center center;
		background-size:100% 100%;
		position:fixed;
		top:-8px;
		z-index:101;
		right:var(--offset);
		transform: rotate(0);
		-webkit-transform: -webkit-rotate(0);
		transform-origin: center center;
		-webkit-transform-origin: center center;
		-webkit-transition: -webkit-transform 0s var(--easing);
		transition: transform 0s var(--easing);
	}

	header a.hamburger.color_hell {
		background:url('images/icon_arrow_down_hell.svg') no-repeat center center;
		background-size:100% 100%;
	}

	header.active_nav a.hamburger.color_hell {
		background:url('images/icon_arrow_down.svg') no-repeat center center;
		background-size:100% 100%;
	}

	header a.hamburger.active {
		top:7px;
		transform: rotate(180deg);
		-webkit-transform: -webkit-rotate(180deg);
	}

	header nav {
		display:none;
		position:fixed;
		top:0;
		left:0;
		right:0;
		background:#fff;
		padding-top:65px;
		padding-left:var(--offset);
		padding-right:var(--offset);
		z-index:100;
		background:#fff;
		padding-bottom:20px;
	}

	header nav ul li {
		display:block;
	}

	nav ul li a,
	.filter a,
	body.page-template-office .subnavigation a {
		font-family:'Univers Next Pro Medium', Helvetica, Arial, Verdana, sans-serif;
		font-size:33px;
		line-height:38px;
		letter-spacing:-0.0038em;
	}

	header nav ul li.current-menu-item a,
	.filter a.active,
	body.page-template-office .subnavigation a.active {
		display:table;
		text-decoration:underline;
		text-decoration-thickness: 2px;
  		text-underline-offset: 4px;
	}

	.filter a.active {
		text-decoration-thickness: 1px;
		text-underline-offset: 3px;
	}

	header nav ul li a::after {
		display:none !important;
	}

	.filter,
	.view,
	body.page-template-office .subnavigation {
		position:relative;
		top:0;
		right:0;
		padding-top:20px;
	}

	.filter a::after,
	body.page-template-office .subnavigation a::after {
		display:none;
	}

	.view a.change_view_image, .view a.change_view_text {
		display:inline-block;
	}

	.page_office .content_section {
		margin-bottom:40px;
	}

	.project_view_text .project_column_1 {
		width:52px;
		margin-left:0;
		margin-right:0;
	}

	.project_view_text .project_column_2,
	.project_view_text .project_column_3,
	.project_view_text .project_column_4,
	.project_view_text .project_column_5 {
		width: -moz-calc(100% - 52px);
		width: -webkit-calc(100% - 52px);
		width: -o-calc(100% - 52px);
		width: calc(100% - 52px);
		margin-left:52px;
		margin-right:0;
		margin-top:12px;
		text-align:left;
	}

	.project_view_text .project_column_2 {
		margin-left:0;
		margin-top:0;
	}

	.swiper-slide.layout_combo .image_detail {
		width: -moz-calc(100% - 22px);
		width: -webkit-calc(100% - 22px);
		width: -o-calc(100% - 22px);
		width: calc(100% - 22px);
		padding-left: 11px;
		padding-right: 11px;
		height: calc((var(--vh, 1vh) * 100) - 35vw);
		padding-top: 15vw;
		padding-bottom: 20vw;
	}

	.project_detail .project_text .inside_project_text {
		padding-top:95px;
		padding-bottom:40px;
	}

	.swiper-slide.layout_passpartout .image_detail {
		height: calc((var(--vh, 1vh) * 100) - 198px);
		margin-top: 99px;
		margin-bottom: 99px;
	}

	.swiper-slide.layout_combo .image_detail .combo_left,
	.swiper-slide.layout_combo .image_detail .combo_right {
		width:100%;
		height:45%;
		margin-right:0;
		margin-left:0;
	}

	.swiper-slide.layout_combo .image_detail .combo_left {
		margin-bottom:5%;
	}

	.swiper-slide.layout_combo .image_detail .combo_right {
		margin-top:5%;
	}

	.swiper-slide.layout_combo .image_detail .combo_left img {
		object-position:top left;
	}

	.swiper-slide.layout_combo .image_detail .combo_right img {
		object-position:top right;
	}

}