/*
Theme Name: Bernhard Thielen Psychotherapie Theme
Author: Nils Rogavac
Author URI: https://www.nilsrogavac.de/
*/

* {
	margin: 0;
	padding: 0;
}

body,
html {
	color: #829CAC;
	font-family: 'Ubuntu', sans-serif;
	scroll-behavior: smooth;
	line-height: 1.3;
}

.clearfix::after,
.row::after {
  content: "";
  clear: both;
  display: table;
}

.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.flex-vertical {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

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

.alignright {
	text-align: right;
}

.center {
	text-align: center;
}

/* Typographie */

/* ubuntu-regular - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Ubuntu';
	font-style: normal;
	font-weight: 400;
	src: url('fonts/ubuntu-v20-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
	   url('fonts/ubuntu-v20-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* ubuntu-500 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Ubuntu';
	font-style: normal;
	font-weight: 500;
	src: url('fonts/ubuntu-v20-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
	   url('fonts/ubuntu-v20-latin-500.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

b,
strong {
	font-weight: 500;	
}

h1,
h2,
h3,
h4 {
	color: #0F202E;
	font-weight: 500;
}

h1 {
	font-size: 50px;
}

h2 {
	font-size: 40px;
}

h2.different {
	font-weight: 400;
	font-size: 35px;
}

p {
	font-size: 16px;
	line-height: 2;
}

.button {
	background: #8DDFD0;
	border: 2px solid #8DDFD0;
	padding: 20px 30px;
	border-radius: 5px;
	color: #fff;
	display: inline-block;
}

.button:hover,
.button:active,
.button:focus {
	background: #fff;
	border: 2px solid #8DDFD0;
	color: #8DDFD0;
}

.notfall-button {
	background: #FF4250;
	border: 2px solid #FF4250;
}

.notfall-button:hover,
.notfall-button:focus,
.notfall-button:active {
	background: #fff;
	color: #FF4250;
	-webkit-transition: 0.2s all;
	-o-transition: 0.2s all;
	transition: 0.2s all;
}

.button.center,
.center .button {
	margin: 0 auto;
}

.underscore {
	position: relative;
	z-index: 100;
}

.underscore::after {
	content: " ";
    display: inline-block;
    background: url(https://www.thielen-psychotherapie.de/wp-content/uploads/2023/07/swish.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 100px;
    position: absolute;
    left: 0;
    bottom: -80px;
    z-index: -1;
}

h2 .underscore {
	display: inline-block;
	margin-bottom: 30px;
}

/* Header */

header {
	padding: 30px 0;
	background: #fff;
}

.floatright {
	float: right;
}

header nav li,
footer nav li{
	float: left;
	list-style: none;
	margin-right: 20px;
}

nav ul {
	margin: 0;
}

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

nav a,
a {
	color: #829CAC;
}

nav a:hover,
nav a:focus,
nav a:active,
a:hover,
a:focus,
a:active {
	color: #0F202E;
	-webkit-transition: 0.2s all;
	-o-transition: 0.2s all;
	transition: 0.2s all;
	text-decoration: none;
}

/* Content */

.lightblue-bg {
	background: #DCF5F1;
	margin-bottom: 100px;
	padding: 100px 0 50px;
}

.lightblue-bg .button {
	margin-top: 30px;
	z-index: 500;
    position: relative;
}

.parallax-image {
	height: 650px;
	background: transparent;
}

.quote-wrapper {
	padding-bottom: 100px;
}

quote {
	font-size: 46px;
	color: #0F202E;
}

.leitsaetze {
	padding-top: 100px;
	margin-top: -40px;
}

.author {
	margin-top: 20px;
	position: relative;
	margin-left: 60px;
}

.author::before {
	width: 40px;
    content: "";
    display: block;
    position: absolute;
    top: 11px;
    left: -60px;
    border-top: 1px solid #829CAC;
}

hr.leitsaetze {
	margin: 100px 0;
}

.lightblue-bg.margin {
	margin-top: 100px;
	margin-bottom: 0;
}

/* Accordion */

#accordions-32 {
	border-bottom: 1px solid #0F202E;
	border-left: 1px solid #0F202E;
	border-right: 1px solid #0F202E;
	border-radius: 0;
	background: none !important;
}

#accordions-32 .accordions-head {
	padding: 20px;
	background: none !important;
}

#accordions-32 .accordions-head:hover,
#accordions-32 .accordions-head:focus,
#accordions-32 .accordions-head:active {
	background: #DCF5F1 !important;
	-webkit-transition: 0.2s all;
	-o-transition: 0.2s all;
	transition: 0.2s all;
}

#accordions-32 .ui-accordion .ui-accordion-header {
	margin: 0 !important;
	border-top: 1px solid #0F202E !important;
	border-radius: 0;
}

#accordions-32 .ui-accordion-header-active {
	border-bottom: 1px solid #0F202E !important;
}

#accordions-32 .accordion-content {
	padding: 30px;
	background: none !important;
	font-size: 16px !important;
	line-height: 1.7;
}

#accordions-32 .accordion-content ul li {
	color: #0F202E !important;
	margin-bottom: 15px;
}

#accordions-32 .accordion-content ul li:last-child {
	margin-bottom: 0;
}

#accordions-32 .ui-state-active {
    border-bottom: 1px solid #0F202E;
}

/* Scroll Gallery */

.overflow {
	overflow-x: hidden;
}

.sidescroll {
	margin: 30px 0 100px;
}

.sidescroll-slide {
	padding-right: 30px;
	overflow: hidden;
	margin-top: 15px;
}

/* Slick Navigation */

.grid-items {
	margin-top: 10px;
}

.slick-prev,
.slick-next {
	top: 20px;
	opacity: 1 !important;
	z-index: 999;
}

.slick-prev {
    left: 0;
}

.slick-next {
    top: 0px;
	left: 50px;
    position: absolute;
}

.slick-prev.slick-disabled:before,
.slick-next.slick-disabled:before {
	opacity: 1 !important;
}

.slick-arrow {
	background: #e2e2e2;
	padding: 10px;
	border-radius: 100%;
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content;
	border: 0;
}

.slick-arrow:hover,
.slick-arrow:active,
.slick-arrow:focus {
	-webkit-transition: 0.2s all;
	-o-transition: 0.2s all;
	transition: 0.2s all;
	background: #8DDFD0;
	color: #fff;
	outline: 0;
}

.slick-prev::before,
.slick-next::before {
	font-weight: 600;
	color: #0f2031;
    font-size: 12px;
	top: -3px;
    left: 0px;
    position: relative;
}

.slick-prev::before {
	display: block;
    content: url(https://www.thielen-psychotherapie.de/wp-content/uploads/2023/08/chevron-left.svg);
    width: 14px;
    height: 14px;
	fill: green;
}

.slick-next::before {
	display: block;
    content: url(https://www.thielen-psychotherapie.de/wp-content/uploads/2023/08/chevron-right.svg);
    width: 14px;
    height: 14px;
}

.slick-slide {
    padding-right: 20px;
}


/* Infobox */

.infobox-wrapper {
	position: fixed;
    right: 0;
	z-index: 999;
	overflow: hidden;
	top: 30%;
}

.infobox {
	cursor: pointer;
	background: #8DDFD0;
    padding: 0;
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    color: #fff;
	float: left;
	border-top: 1px solid #fff;
}

.notfall .infobox {
	border-top: 0;
	font-size: 35px;
}

.notfall .infobox {
	background: #FF4250;
}

.infobox-text {
	background: #fff;
	padding: 5px;
	height: 50px;
}

.infobox-text p {
	margin: 0;
}

.notfall .infobox-text {
	width: 150px;
}

.notfall {
    position: relative;
    right: -270px;
}

.box1 .infobox-text {
	width: 180px;
}

.box1 {
    position: relative;
    right: -270px;
}

.box2 .infobox-text {
	width: 270px;
}

.box2 {
    position: relative;
    right: -270px;
}

.notfall:hover,
.notfall:focus,
.notfall:active {
	right: -120px;
	-webkit-transition: right 0.5s ease;
	-o-transition: right 0.5s ease;
	transition: right 0.5s ease;
}

.box1:hover,
.box1:focus,
.box1:active {
	right: -90px;
	-webkit-transition: right 0.5s ease;
	-o-transition: right 0.5s ease;
	transition: right 0.5s ease;
}

.box2:hover,
.box2:focus,
.box2:active{
	right: 0;
	-webkit-transition: right 0.5s ease;
	-o-transition: right 0.5s ease;
	transition: right 0.5s ease;
}

/* Footer */

.content-wrapper {
	z-index: 100;
	height: -webkit-fit-content;
	height: -moz-fit-content;
	height: fit-content;
	margin-bottom: 500px;
	padding-bottom: 100px;
}

.content {
	background: #fff;
}

.termine {
	padding-bottom: 100px;
	padding-top: 100px;
}

footer {
	margin-top: 100px;
    padding: 100px 0 50px;
    background-color: #DCF5F1;
    position: fixed;
    width: 100%;
    height: 100vh;
	bottom: 0;
	z-index: -300;
}

.footer-fixed {
    position: absolute;
    bottom: 0;
    width: 100%;
}
	
footer h2 {
	font-size: 20px;
}

footer .alignright {
	margin: 0;
}

hr {
	margin: 30px 0;
    border-top: 1px solid #829CAC;
}

footer .padding-bottom {
	padding-bottom: 50px;
}

/* Media Queries */

@media (max-width: 1199px) { /* Large */
	
	
	
}

@media (max-width: 991px) { /* Medium */
	
	
	
}

@media (min-width: 768px) { /* Ab Small */
	
	#trigger-overlay,
	.overlay {display: none;}
	
	.right-img { width: 100vw; }
	
}

@media (max-width: 767px) { /* Small */
	
	h1,
	h2,
	h3,
	h4 {
		-webkit-hyphens: auto;
		    -ms-hyphens: auto;
		        hyphens: auto;
	}
	
	h1 {
		font-size: 40px;
	}
	
	.content-wrapper {
		margin-bottom: 700px;
	}
	
	.button.notfall-button {
		margin-bottom: 30px;
	}
	
	header nav {display: none;}
	
	.fa-bars:before {
		float: right;
	}
	
	#trigger-overlay {
		width: 100%;
		font-size: 40px;
		color: #8DDFD0;
		cursor: pointer;
		position: relative;
		z-index: 9999;
	}

	#trigger-overlay:hover,
	#trigger-overlay:active,
	#trigger-overlay:focus {
		color: #0F202E;
		-webkit-transition: 0.2s all;
		-o-transition: 0.2s all;
		transition: 0.2s all;
	}

	/* Overlay style */
	.overlay {
		position: fixed;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		background: #0F202E;
		z-index: 9999;
	}

	/* Overlay closing cross */
	.overlay .overlay-close {
		width: 25px;
		height: 25px;
		position: absolute;
		right: 20px;
		top: 20px;
		overflow: hidden;
		border: none;
		background: url(img/cross.png) no-repeat center center;
		text-indent: 200%;
		color: transparent;
		outline: none;
		background-size: contain;
		z-index: 100;
		cursor: pointer;
	}

	/* Menu style */
	.overlay nav {
		text-align: center;
	}

	.overlay ul {
		list-style: none;
		padding: 0;
		margin: 0 auto;
		display: inline-block;
		height: 100%;
		position: relative;
		float: none;
	}

	.overlay ul li {
		display: block;
		-webkit-backface-visibility: hidden;
		backface-visibility: hidden;
		float: none;
	}

	.overlay ul li a {
		font-size: 35px;
		font-weight: 300;
		display: block;
		color: #fff;
		-webkit-transition: color 0.2s;
		-o-transition: color 0.2s;
		transition: color 0.2s;
		border-bottom: 2px solid #0F202E;
	}

	.overlay ul li a:hover,
	.overlay ul li a:focus,
	.overlay ul li a:active {
		border-bottom: 2px solid #fff;
		text-decoration: none;
	}

	/* Effects */
	.overlay-slidedown {
		visibility: hidden;
		-webkit-transform: translateY(-100%);
		-ms-transform: translateY(-100%);
		    transform: translateY(-100%);
		-webkit-transition: -webkit-transform 0.4s ease-in-out, visibility 0s 0.4s;
		-webkit-transition: visibility 0s 0.4s, -webkit-transform 0.4s ease-in-out;
		transition: visibility 0s 0.4s, -webkit-transform 0.4s ease-in-out;
		-o-transition: transform 0.4s ease-in-out, visibility 0s 0.4s;
		transition: transform 0.4s ease-in-out, visibility 0s 0.4s;
		transition: transform 0.4s ease-in-out, visibility 0s 0.4s, -webkit-transform 0.4s ease-in-out;
	}

	.overlay-slidedown.open {
		visibility: visible;
		-webkit-transform: translateY(0%);
		-ms-transform: translateY(0%);
		    transform: translateY(0%);
		-webkit-transition: -webkit-transform 0.4s ease-in-out;
		transition: -webkit-transform 0.4s ease-in-out;
		-o-transition: transform 0.4s ease-in-out;
		transition: transform 0.4s ease-in-out;
		transition: transform 0.4s ease-in-out, -webkit-transform 0.4s ease-in-out;
	}

	.overlay nav {
		font-size: 34px;
	}
	
}


@media (max-width: 575px) { /* Small */
	
	.margin-bottom {
		margin-bottom: 20px;
	}
	
	.content-wrapper {
		margin-bottom: 850px;
	}
	
	footer .padding-bottom {
		text-align: center;
		float: none;
	}
	
	footer .alignright {
		text-align: center;
		float: none;
	}
	
	.footer-nav {
		margin: 0 auto 10px;
    	display: inline-block;
	}
	
	body {
		overflow-x: hidden;
	}
	
}