/*
Theme Name: Echoezine
Theme URI: https://echoezine.ch
Description: Custom Theme for Echoezine
Author: Roger Burkhard
Author URI: http://www.rogerburkhard.com
*/

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

:root {
  --offset: 35px;
  --offset-minus:  -35px;
  --max_width: 100%;
  --columns: 12;
  --gap: 16px;
  --baseline: 0;
  --baseline-offset: 0;
  --font_color: #000;
  --font_color_neon: #CBFB88;
  --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: 'ABC Whyte Inktrap';
    src: url('styles/fonts/ABCWhyteInktrap-Regular.woff2') format('woff2'),
         url('styles/fonts/ABCWhyteInktrap-Regular.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);
	height:100%;
	padding: 0 var(--offset);
	font: normal 20px/24px 'ABC Whyte Inktrap', Helvetica, Arial, Verdana, sans-serif;
	color: var(--font_color);
	overflow-x: hidden;
	min-width: 320px;
	-webkit-font-smoothing: antialiased;
	-moz-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-smoothing: antialiased;
}

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: var(--font_color);
  color:#fff ;
}

::-moz-selection {
  background: var(--font_color);
  color:#fff ;
}

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

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

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

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

h1, h2 {
	font-weight:normal;
}

h1 {
	font-size:35px;
	line-height:34px;
}

h2 {
	font-size:35px;
	line-height:34px;
}

h3 {
	font-size:20px;
	line-height:24px;
}

p {
	margin-bottom: 20px;
}

b, strong {
	font-weight: normal;
}

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

a {
	outline: none;
	text-decoration: none;
	cursor: pointer;
	color: #000;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	-webkit-transition:color 0.4s var(--easing);
	transition:color 0.4s var(--easing);
}

a:hover {
	color:#fff;
}

: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;
    margin-bottom:20px;
}

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

/*------------------------------------------------------
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;
}

main {
	width:100%;
	height:100%;
}

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

.page_home {
	margin-left:var(--offset-minus);
	margin-right:var(--offset-minus);
	height:100%;
}

h1.logo {
	position:fixed;
	top:50%;
	left:50%;
	width:111px;
	margin-left:-55.5px;
	height:57px;
	margin-top:-28.5px;
	text-indent: -100000px;
	background:url('images/logo.svg') no-repeat center center;
	background-size:100% auto;
	mix-blend-mode: difference;
	transform: translate3d(0,0,0);
}

/* Flying Points */

.flying_point {
	position:absolute;
	color:var(--font_color_neon);
	text-decoration:none;
	padding-left:32px;
	mix-blend-mode: difference;
	transform: translate3d(0,0,0);
	-webkit-transition:width 1s var(--easing), height 1s var(--easing);
	transition:width 1s var(--easing), height 1s var(--easing);
}

/*
.flying_point > span {
	white-space: nowrap;
}
*/

.flying_point:before {
	content:'';
	position:absolute;
	top:2px;
	left:0;
	width:20px;
	height:20px;
	background:var(--font_color_neon);
	border-radius:50%;
	-webkit-transition:all 1s var(--easing), transform 0s;
	transition:all 1s var(--easing), transform 0s;
}

.flying_point.inactive {
	animation: pulse 4s ease-in-out infinite;
}

body.no_touch .flying_point.inactive:hover {
	animation: shake 0.8s ease-in-out infinite ;
}

.flying_point.active {
	z-index:200;
	transform: scale(1) !important;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes shake {
	0% { transform: translateX(0) }
	  25% { transform: translateY(-9px) }
	  35% { transform: translateY(-9px) rotate(17deg) }
	  55% { transform: translateY(-9px) rotate(-17deg) }
	  65% { transform: translateY(-9px) rotate(17deg) }
	  75% { transform: translateY(-9px) rotate(-17deg) }
	  100% { transform: translateY(0) rotate(0) }
}

.flying_point.show_content_info {
	top:30px;
}

.flying_point a.close,
.flying_point .content {
	display:none;
	pointer-events:none;
	opacity:0;
	-webkit-transition:opacity 0.5s var(--easing);
	transition:opacity 0.5s var(--easing);
}

/* Inactive Point */

.flying_point.inactive {
	cursor:pointer;
} 

.flying_point.show > span {
	display:none;
}

.flying_point.show a.close,
.flying_point.show .content {
	opacity:1;
	pointer-events:all;
}

a.close {
	display:block;
	position:absolute;
	cursor:pointer;
	top:1px;
	right:32px;
	width:20px;
	height:20px;
	background:url('images/close.svg') no-repeat center center;
	background-size:100% 100%;
	z-index:10;
}

.flying_point.show .content {
	color:#000;
	position:absolute;
	padding:30px;
	height: min(calc(70vh - 60px), 464px) !important;
	width: calc(100% - 100px);
	margin-left:-30px;
}

.flying_point.show .content::-webkit-scrollbar {
    display: none;
}

.flying_point.show .content .content_inside {
	display:none;
	position:relative;
	padding-bottom:90px ;
	height:calc(100% - 90px );
	overflow-x:hidden;
	overflow-y:auto;
	scrollbar-width: none;
}

.flying_point.show .content .content_inside {
	display:block;
}

.flying_point.show .content .content_inside img {
	max-width:80%;
	height:auto;
}

.flying_point.show .content .gradient {
	display:none;
	position: absolute;
	pointer-events:none;
	left: 0;
	right: 0;
	bottom: 0;
	height: 40%;
	background: linear-gradient(#cbfb88 0%, #caf988 17.73%, rgba(200, 245, 136, 0) 54.19%, rgba(0, 0, 0, 0) 100%);
	z-index: 1;
	transform: rotate(180deg);
	-webkit-transform: -webkit-rotate(180deg);
	transform-origin: center center;
	-webkit-transform-origin: center center;
}

@media (max-height: 800px), (max-width: 1300px) {
	.flying_point.show .content .gradient {
		display:block;
	}
	.flying_point.show .content .content_inside {
		padding-bottom:90px;
		height:calc(100% - 90px);
	}

}

/* Active Content */

.flying_point.active {
	width:34vw !important;
	max-width:470px;
	height: min(70vh, 524px) !important;
	margin-top: calc(-0.5 * min(70vh, 524px)) !important;
	top:50% !important;
	mix-blend-mode: normal;
	transform: translate3d(0,0,0);
	-webkit-transition:all 1s var(--easing);
	transition:all 1s var(--easing);
}

.flying_point.active:before {
	max-width:470px;
	width:34vw;
	height: min(70vh, 524px);
	border-radius:10px;
	-webkit-transition:all 1s var(--easing);
	transition:all 1s var(--easing);
}

/*  Active Info */

.flying_point.show_content_info.active {
	--element-width: clamp(0px, 34vw, 470px);
	left: calc(100vw - var(--element-width) - 7vw) !important;
}

.flying_point a.mail_us {
	position:absolute;
	width:calc(100% - 60px);
	background:#000;
	color:var(--font_color_neon);
	bottom:30px;
	padding:3px 0;
	margin-left:auto;
	margin-right:auto;
	text-align: center;
	left:0;
	right:0;
	z-index:20;
	border-radius:13px;
	text-decoration:none;
	border:1px solid #000;
	-webkit-transition:background 0.4s var(--easing);
	transition:background 0.4s var(--easing);
}

body.no_touch .flying_point a.mail_us:hover {
	background:#fff;
}

/*  Active Keep me Updated */

.flying_point.show_content_keep_me_updated.active {
	left: 7vw !important;
}

/*------------------------------------------------------
POPUP CONTENT
------------------------------------------------------*/

.popup_content {
	display:none;
}

.popup_content.active {
	position:fixed;
	top:0;
	left:var(--offset);
	right:var(--offset);
	bottom:0;
	display: flex;
	justify-content: center;
	align-items: center;
}

.popup_content.active.show .grid {
	position:relative;
	width:100%;
}

.popup_content.active .outer_popup_content {
	display:block;
	position:relative;
	-ms-grid-columns: 2 / 12;
	grid-column:2 / 12;
	background:var(--font_color_neon);
	border-radius:10px;
	max-height:80vh;
	overflow:hidden;
}

.popup_content.active a.close {
	right:0;
	top:0;
}

.popup_content .gradient {
	position: absolute;
	pointer-events:none;
	left: 0;
	right: 0;
	bottom: 0;
	height: 40%;
	background: linear-gradient(#cbfb88 0%, #caf988 17.73%, rgba(200, 245, 136, 0) 54.19%, rgba(0, 0, 0, 0) 100%);
	z-index: 1;
	transform: rotate(180deg);
	-webkit-transform: -webkit-rotate(180deg);
	transform-origin: center center;
	-webkit-transform-origin: center center;
}

.popup_content.active .inside_popup_content {
	width:100%;
	height:100%;
	overflow-x:hidden;
	overflow-y:auto;
	max-height:80vh;
	scrollbar-width: none;
}

.popup_content.active .inside_popup_content::-webkit-scrollbar {
    display: none;
}

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

/*------------------------------------------------------
BREVO SHIZZLE (Hate it)
------------------------------------------------------*/

#sib-container {
	background:transparent;
	padding:0;
	margin-top:40px;
}

.sib-form, .sib-form button {
	font: normal 20px/24px 'ABC Whyte Inktrap', Helvetica, Arial, Verdana, sans-serif;
	color: var(--font_color);
	padding:0;
	background:transparent !important;
}

.sib-form * {
	font-weight:normal !important;
}

.sib-form-block {
	padding:0;
}

.sib-form .checkbox {
	border-radius:50%;
	border-color:#000;
}

.sib-form .input_replaced:checked + .checkbox_tick_positive {
	background:#fff;
	border-color:#000;
}

.sib-form .checkbox.checkbox_tick_positive {
	background:var(--font_color_neon);
}

.sib-form .checkbox_tick_positive::before {
	display:none !important;
}

.sib-form .input_replaced:active + .checkbox, .sib-form .input_replaced:active + .radio-button, .sib-form .input_replaced:focus + .checkbox, .sib-form .input_replaced:focus + .radio-button {
	box-shadow:none !important;
}

.sib-checkbox-group {
	margin-bottom:30px;
}

.sib-form .entry__field {
	background:transparent;
	border:none 0;
}

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

.sib-form input, .sib-form button {
	width:100% !important;
	text-align:center !important;
	border:1px solid #000 !important;
	border-radius:13px !important;
	background:transparent !important;
	height:26px !important;
	padding:0;
	margin-bottom:0 !important;
}

.sib-form input::-webkit-input-placeholder {
    color: #000;
}

.sib-form input:-moz-placeholder {
   color: #000;
   opacity: 1;
}

.sib-form input::-moz-placeholder {
   color: #000;
   opacity: 1;
}

.sib-form input:-ms-input-placeholder {
   color: #000;
}

.sib-form input:focus:required:invalid, 
.sib-form textarea:focus:required:invalid {
	border:1px solid #000 !important;
}

.sib-form button {
	padding:3px 0 !important;
	min-height:initial;
	background:#000 !important;
	color:var(--font_color_neon);
	margin-top:4px;
	height:auto !important;
	border:1px solid #000;
	-webkit-transition: background 0.4s var(--easing);
	transition: background 0.4s var(--easing);
}

body.no_touch .sib-form button:hover {
	background:#fff !important;
	color:var(--font_color_neon);
	border:1px solid #000 !important;
}

.sib-form .entry__error {
	font-size:12px !important;
}

/*------------------------------------------------------
IMPRESSUM
------------------------------------------------------*/

.popup_content.popup_content_impressum.active .inside_popup_content .subgrid .lead {
	-ms-grid-columns: 2 / 8;
	grid-column:2 / 8;
	padding-top:85px;
	padding-bottom:60px;
}

.popup_content.popup_content_impressum.active .inside_popup_content .subgrid .lead a {
	text-decoration:none;
}

.popup_content.popup_content_impressum.active .inside_popup_content .subgrid .two_columns {
	display: -ms-grid;
	display: grid;
	grid-gap: var(--gap);
	grid-row-gap: 0px;
	-ms-grid-columns: 1 / 10;
	grid-column:1 / 10;
	grid-template-columns: repeat(9, 1fr);
	align-items: start;
	padding-bottom:85px;
}

.popup_content.popup_content_impressum.active .inside_popup_content .subgrid .two_columns .column_left {
	-ms-grid-columns: 4 / 7;
	grid-column:4 / 7;
}

.popup_content.popup_content_impressum.active .inside_popup_content .subgrid .two_columns .column_right {
	-ms-grid-columns: 7 / 10;
	grid-column:7 / 10;
}

/*------------------------------------------------------
DATENSCHUTZ
------------------------------------------------------*/

.popup_content.popup_content_datenschutz.active .inside_popup_content .subgrid {
	display: -ms-grid;
	display: grid;
	grid-gap: var(--gap);
	grid-row-gap: 0px;
	grid-template-columns: repeat(10, 1fr);
	align-items: start;
	padding-bottom:85px;
}

.popup_content.popup_content_datenschutz.active .inside_popup_content .subgrid .title {
	-ms-grid-columns: 2 / 9;
	grid-column:2 / 9;
	padding-top:25px;
	padding-bottom:35px;
}

.popup_content.popup_content_datenschutz.active .inside_popup_content .subgrid .section_title {
	-ms-grid-columns: 2 / 4;
	grid-column:2 / 4;
}

.popup_content.popup_content_datenschutz.active .inside_popup_content .subgrid .section_content {
	-ms-grid-columns: 4 / 10;
	grid-column:4 / 10;
	margin-bottom:85px;
}

/*------------------------------------------------------
FOOTER
------------------------------------------------------*/

footer a {
	position:fixed;
	bottom:20px;
	text-decoration:none;
	color:var(--font_color_neon);
	mix-blend-mode: difference;
	transform: translate3d(0,0,0);
}

footer a.show_content_impressum {
	left:var(--offset);
}

footer a.show_content_datenschutz {
	right:var(--offset);
}

/*------------------------------------------------------
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
   }
}

/*------------------------------------------------------
Media Queries
------------------------------------------------------*/

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

	:root {
	  --columns: 4;
	}

	.full_columns,
	.popup_content.popup_content_datenschutz.active .inside_popup_content .subgrid,
	.popup_content.popup_content_datenschutz.active .inside_popup_content .subgrid .title,
	.popup_content.popup_content_datenschutz.active .inside_popup_content .subgrid .section_title,
	.popup_content.popup_content_datenschutz.active .inside_popup_content .subgrid .section_content,
	.popup_content.popup_content_impressum.active .inside_popup_content .subgrid .lead,
	.popup_content.popup_content_impressum.active .inside_popup_content .subgrid .two_columns,
	.popup_content.popup_content_impressum.active .inside_popup_content .subgrid .two_columns .column_left,
	.popup_content.popup_content_impressum.active .inside_popup_content .subgrid .two_columns .column_right {
		-ms-grid-columns: 1 / 5;
		grid-column:1 / 5;
	}

	.popup_content.popup_content_impressum.active .inside_popup_content .subgrid .two_columns .column_left {
		margin-bottom:50px;
	}

	.flying_point.show .content {
		padding:24px !important;
		height: calc((var(--vh, 1vh) * 100) - 190px) !important;
		width: calc(100% - 88px) !important;
		margin-left:-30px;
	}

	.flying_point.active {
		width:calc(100vw - 68px) !important;
		max-width:calc(100vw - 68px) !important;
		left:34px;
		height: calc((var(--vh, 1vh) * 100) - 142px);
		margin-top: 68px !important;
		top:0% !important;
	}

	.flying_point.active:before {
		width:calc(100vw - 68px) !important;
		max-width:calc(100vw - 68px) !important;
		height: calc((var(--vh, 1vh) * 100) - 142px);
	}

	.flying_point.show_content_info.active {
		left:34px !important;
	}

	.flying_point a.mail_us {
		width:calc(100% - 48px);
	}

	.flying_point.show_content_keep_me_updated.active {
		left: 34px !important;
	}

	.flying_point.show .content .content_inside {
		padding-bottom:70px;
		height:calc(100% - 70px);
	}

	.popup_content.active .outer_popup_content {
		-ms-grid-columns: 1 / 5;
		grid-column:1 / 5;
		max-height: calc((var(--vh, 1vh) * 100) - 142px);
	}

	.popup_content.popup_content_datenschutz.active .inside_popup_content .subgrid,
	.popup_content.active .inside_popup_content .subgrid,
	.popup_content.popup_content_impressum.active .inside_popup_content .subgrid .two_columns {
		grid-template-columns: repeat(4, 1fr);
	}

	.popup_content.active .inside_popup_content {
		padding:24px;
		width: -moz-calc(100% - 48px);
		width: -webkit-calc(100% - 48px);
		width: -o-calc(100% - 48px);
		width: calc(100% - 48px);
	}

	.popup_content.popup_content_datenschutz.active .inside_popup_content .subgrid .title,
	.popup_content.popup_content_impressum.active .inside_popup_content .subgrid .lead {
		padding-top:10px;
	}

	.popup_content.popup_content_impressum.active .inside_popup_content .subgrid .lead {
		padding-bottom:50px;
	}

	.popup_content.popup_content_impressum.active .inside_popup_content .subgrid .two_columns {
		padding-bottom:100px;
	}

	.popup_content.popup_content_impressum.active .inside_popup_content .subgrid .two_columns .column_right {
		padding-bottom:85px;
	}

}