/*
Theme Name: geko
Author: Lars Kuczynski
Version: 1
License: Medienlabor GmbH
*/

* {
	box-sizing: border-box;
}

:root {
  --color1: #20409a;
	--color2: #589edf;
	--color3: #97bffa;
	--color4: #26348b;
}

@font-face {
	font-family: 'roboto-light';
	src: url('src/fonts/Roboto/Roboto-Light.ttf') format('truetype');
}

@font-face {
	font-family: 'roboto-regular';
	src: url('src/fonts/Roboto/Roboto-Regular.ttf') format('truetype');
}

@font-face {
	font-family: 'roboto-medium';
	src: url('src/fonts/Roboto/Roboto-Medium.ttf') format('truetype');
}

@font-face {
	font-family: 'rerriweather-sans-bold';
	src: url('src/fonts/Merriweather_Sans/MerriweatherSans-Bold.ttf') format('truetype');
}


/* 1.0 - Reset */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 62.5%;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

body {
	background: #fff;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}

ol,
ul {
	list-style: none;
}

table {
	border-collapse: separate;
	border-spacing: 0;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	quotes: none;
}

a {
	transition: .3s all;
}

a:focus {
	outline: 2px solid #c1c1c1;
	outline: 2px solid rgba(51, 51, 51, 0.3);
}

a:hover,
a:active {
	outline: 0;
	color: var(--color2);
	transition: .3s all;
}

a img {
	border: 0;
}


/**
 * 2.0 - Genericons
 */

.social-navigation a:before,
.secondary-toggle:before,
.dropdown-toggle:after,
.bypostauthor > article .fn:after,
.comment-reply-title small a:before,
.comment-navigation .nav-next a:after,
.comment-navigation .nav-previous a:before,
.posted-on:before,
.byline:before,
.cat-links:before,
.tags-links:before,
.comments-link:before,
.entry-format:before,
.edit-link:before,
.full-size-link:before,
.pagination .prev:before,
.pagination .next:before,
.image-navigation a:before,
.image-navigation a:after,
.format-link .entry-title a:after,
.entry-content .more-link:after,
.entry-summary .more-link:after,
.author-link:after {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font-family: "Genericons";
	font-size: 16px;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	line-height: 1;
	speak: none;
	text-align: center;
	text-decoration: inherit;
	text-transform: none;
	vertical-align: top;
}


/**
 * 3.0 Typography
 */

body,
button,
input,
select,
textarea {
	color: #0e0e0e;
	font-family: "roboto-regular", serif;
	font-size: 16px;
	line-height: 22px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "rerriweather-sans-bold", Arial;
	clear: both;
	color: var(--color1);
}

h1, h2, h3 {
	margin-bottom: 25px;
}

h1 {
	font-size: 30px;
	line-height: 37px;
	text-transform: uppercase;
}

h2 {
	font-size: 26px;
	line-height: 32px;
}

h4 {
	font-size: 20px;
	font-family: "roboto-medium";
	line-height: 26px;
	color: inherit;
	margin-bottom: 11px;
}

.page-content h2 {
	margin-top: 0;
}

body.home h1,
body.home h2 {
	font-size: 30px;
	line-height: 37px;
	text-transform: uppercase;
}

body.home h2 {
	margin-bottom: 35px;
}

strong {
	font-family: 'roboto-medium';
}

p {
	margin-bottom: 15px;
}

p:last-child {
	margin-bottom: 0;
}

a {
	color: inherit;
	text-decoration: none;
	color: var(--color2);
}

a:hover {
	color: var(--color4);
}

a.arrow-link {
	background-color: var(--color1);
  padding: 14px 5px 12px;
  color: #fff;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  font-size: 16px;
  margin-left: 25px;
	line-height: 20px;
	font-size: 15px;
	transition: unset;
}

a.arrow-link:before {
	height: 46px;
	width: 25px;
	background-image: url(img/corner-left.svg);
	background-repeat: no-repeat;
	background-size: 100%;
	position: absolute;
	content: '';
	left: -25px;
	top: 0;
}

a.arrow-link:after {
	height: 46px;
	width: 25px;
	background-image: url(img/corner-right.svg);
	background-repeat: no-repeat;
	background-size: 100%;
	position: absolute;
	content: '';
	right: -25px;
	top: 0;
}

a.arrow-link:hover:after {
	background-image: url(img/corner-right-hover.svg);
}

a.arrow-link:hover:before {
	background-image: url(img/corner-left-hover.svg);
}

a.arrow-link:hover {
	background-color: var(--color2);
	transition: unset;
}

a.arrow-link-small {
	padding: 10px 5px 7px;
	margin-left: 19px;
}

a.arrow-link-small:before,
a.arrow-link-small:after {
  height: 37px;
  width: 20px;
}

a.arrow-link-small:before {
	left: -19px;
}

a.arrow-link-small:after {
  right: -19px;
}

b,
strong {
	font-weight: 700;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	border-left: 4px solid #707070;
	border-left: 4px solid rgba(51, 51, 51, 0.7);
	color: #707070;
	color: rgba(51, 51, 51, 0.7);
	font-size: 18px;
	font-size: 1.8rem;
	font-style: italic;
	line-height: 1.6667;
	margin-bottom: 1.6667em;
	padding-left: 0.7778em;
}

blockquote p {
	margin-bottom: 1.6667em;
}

blockquote > p:last-child {
	margin-bottom: 0;
}

blockquote cite,
blockquote small {
	color: #0e0e0e;
	font-size: 15px;
	font-size: 1.5rem;
	font-family: "Noto Sans", sans-serif;
	line-height: 1.6;
}

blockquote em,
blockquote i,
blockquote cite {
	font-style: normal;
}

blockquote strong,
blockquote b {
	font-weight: 400;
}

address {
	font-style: italic;
	margin: 0 0 1.6em;
}

code,
kbd,
tt,
var,
samp,
pre {
	font-family: Inconsolata, monospace;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
}

pre {
	background-color: transparent;
	background-color: rgba(0, 0, 0, 0.01);
	border: 1px solid #eaeaea;
	border: 1px solid rgba(51, 51, 51, 0.1);
	line-height: 1.2;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 0.8em;
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

abbr[title] {
	border-bottom: 1px dotted #eaeaea;
	border-bottom: 1px dotted rgba(51, 51, 51, 0.1);
	cursor: help;
}

mark,
ins {
	background-color: #fff9c0;
	text-decoration: none;
}

sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	bottom: 1ex;
}

sub {
	top: .5ex;
}

small {
	font-size: 75%;
}

big {
	font-size: 125%;
}


/**
 * 4.0 Elements
 */

hr {
	background-color: #eaeaea;
	background-color: rgba(51, 51, 51, 0.1);
	border: 0;
	height: 1px;
	margin-bottom: 1.6em;
}

ul,
ol {
	margin: 0 0 1.6em 1.3333em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
}

dl {
	margin-bottom: 1.6em;
}

dt {
	font-weight: bold;
}

dd {
	margin-bottom: 1.6em;
}

table,
th,
td {
	border: 1px solid #eaeaea;
	border: 1px solid rgba(51, 51, 51, 0.1);
}

table {
	border-collapse: separate;
	border-spacing: 0;
	border-width: 1px 0 0 1px;
	margin: 0 0 1.6em;
	table-layout: fixed; /* Prevents HTML tables from becoming too wide */
	width: 100%;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

th {
	border-width: 0 1px 1px 0;
	font-weight: 700;
}

td {
	border-width: 0 1px 1px 0;
}

th, td {
	padding: 0.4em;
}

img {
	-ms-interpolation-mode: bicubic;
	border: 0;
	height: auto;
	max-width: 100%;
	vertical-align: middle;
}

figure {
	margin: 0;
}

del {
	opacity: 0.8;
}

.blocks-gallery-grid .blocks-gallery-image, .blocks-gallery-grid .blocks-gallery-item, .wp-block-gallery .blocks-gallery-image, .wp-block-gallery .blocks-gallery-item {
	flex-grow: unset;
}


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

header#page-header {
	padding-bottom: 54px;
}

header#page-header img {
	margin: 25px 0;
	max-height: 112px;
}

#page-navigation {
	background-color: var(--color1);
}

nav#page-navigation ul {
	list-style: none;
	margin: 0;
	height: 60px;
}

nav#page-navigation ul li {
	float: left;
	margin-right: 40px;
	position: relative;
	padding-bottom: 2px;
}

nav#page-navigation ul li a {
	display: block;
	font-family: 'roboto-light';
	font-size: 23px;
	line-height: 30px;
	color: #fff;
	transition: .3s all;
	padding: 16px 0 12px;
}

nav#page-navigation ul li.current-menu-item > a,
nav#page-navigation ul li.current-menu-parent {
	text-decoration: underline;
}

nav#page-navigation ul li:hover a {
	color: var(--color3);
	transition: .3s all;
}

nav#page-navigation ul li ul {
	display: none;
	height: auto;
}

nav#page-navigation ul li:hover ul {
	display: block;
	position: absolute;
	left: -20px;
	top: 60px;
	background-color: var(--color4);
	z-index: 999;
}

nav#page-navigation ul li ul li {
	float: none;
	margin-right: 0;
	white-space: nowrap;
}

nav#page-navigation ul li ul li a {
	color: #fff !important;
	padding: 10px 20px 6px;
	font-size: 20px;
}

nav#page-navigation ul li ul li:hover a {
	background-color: var(--color1);
	color: var(--color3) !important;
}

.menu-toggle {
  display: none;
  margin: 0 auto;
	position: absolute;
	right: 0;
	top: -90px;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 0;
  border-radius: 0;
  background-color: var(--color1);
}

.menu-toggle:focus {
  outline: 0;
}

.menu-toggle img {
  height: 20px;
	margin: 0 auto !important;
  display: block;
}


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

#welcome .background-image {
	position: relative;
	height: 700px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.background-image .container12 {
	height: 700px;
	position: relative;
}

.background-image .column7 {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(255,255,255,.8);
	padding: 40px;
}

.background-image .column7 p {
	font-size: 18px;
	line-height: 26px;
}

#warning .container12 {
	border: 2px dashed red;
	background-color: rgba(255,0,0,.05);
	margin-top: 100px;
	overflow: hidden;
}

#warning .column7 .warning-text-wrapper {
	padding: 40px 20px;
}

#warning .column5 {
	background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 40px;
}

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

section#current-projects,
section#topics,
section#partner {
	padding: 100px 0;
}

section#current-projects {
	padding: 100px 0 80px;
}

.main-content-wrapper {
	padding: 0px 0 100px;
}

main#main {
	padding: 0 0 40px 0;
}

.page-content {
	padding: 40px 0 0;
}

#sidebar {
	padding-left: 40px;
}

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

section#topics {
	background: var(--color2);
}

section#topics h2 {
	color: #fff;
}

section#topics .topic-item {
	padding: 30px 25px;
	background-color: #fff;
	margin-bottom: 20px;
	position: relative;
	min-height: 138px;
	transition: .3s all;
}

section#topics .topic-item:hover {
	background-color: var(--color1);
	transition: .3s all;
}

section#topics span.topic-title {
	font-size: 22px;
	line-height: 28px;
	width: 65%;
	padding-right: 25px;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	transition: .3s all;
}

section#topics .topic-item:hover span.topic-title {
	color: #fff;
	transition: .3s all;
}

.topic-item svg {
	width: 80px;
	height: 80px;
	transition: .3s all;
}

.topic-item:hover svg {
	fill: #fff;
	transition: .3s all;
}

body.single-themen .single-header svg {
	width: 75px;
	height: 75px;
	fill: var(--color1);
	float: left;
}

body.post-type-archive-themen .all-topic-wrapper .topic-item svg {
	width: 45px;
	height: 45px;
	float: left;
  margin-top: -6px;
  margin-right: 20px;
	fill: #fff;
}

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

section#partner {
	padding-bottom: 80px;
}

.partner-item {
	display: inline-block;
  vertical-align: bottom;
  margin: 0 20px 20px 0;
}

.team-wrapper {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.team-item .content-wrapper {
	position: relative;
	padding-bottom: 37px;
}

.team-item {
	width: calc(33.43% - 40px);
	margin: 0 0 40px;
}

.team-item:first-child {
	margin-left: 0;
}

.team-item:nth-child(3n) {
	margin-right: 0;
}

.team-item:nth-child(3n+1) {
	margin-left: 0
}

.team-item a.arrow-link-small {
	position: absolute;
	bottom: 0;
	left: 45%;
	transform: translateX(-55%);
}

.team-item h4 {
	text-align: center;
	font-family: 'roboto-regular';
	margin-top: 15px;
}

.team-item span {
	text-align: center;
	display: block;
	margin-bottom: 15px;
}

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

section .project-item {
	background-repeat: no-repeat;
	background-size: cover;
	height: 250px;
	position: relative;
	overflow: hidden;
	margin-bottom: 20px;
}

section .project-item .content-wrapper {
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 20px 25px;
	background-color: rgba(255,255,255,.8);
	transition: .3s all;
}

/* section .project-item:hover .content-wrapper {
	top: 0;
	transition: .3s all;
} */

section .project-item .content-wrapper h4 {
	margin-bottom: 0;
}

.member-description {
	padding-top: 10px;
}

.project-description {
	display: none;
	padding-top: 10px;
}

.project-description p {
	font-size: 14px;
	line-height: 18px;
}

.project-description.hide {
	display: none !important;
}

.desciption-page {
	height: 460px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	position: relative;
}

.desciption-page .overlay {
	width: 50%;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	background-color: rgba(255,255,255,.8);
	padding: 40px 30px;
}

.desciption-page .overlay h1 {
	margin-bottom: 0;
}

.desciption-page .overlay p {
	margin-top: 20px;
}

.desciption-page .single-header h1 {
	margin-bottom: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 140px;
}

.all-topic-wrapper h2 {
	margin: 30px 0 20px;
	padding: 20px;
	background: var(--color1);
	color: #fff;
	position: relative;
}

.all-topic-wrapper .topic-item h2:after {
	content: '';
	width: 30px;
	height: 30px;
	background-image: url(./img/arrow.svg);
	background-size: 100%;
	background-repeat: no-repeat;
	position: absolute;
	right: 20px;
	top: 24px;
	transition: .3s all;
}

.all-topic-wrapper .topic-item h2.rotate:after {
	transform: rotate(180deg);
	transition: .3s all;
}

.all-topic-wrapper .topic-item {
	display: block;
	overflow: hidden;
}

.all-topic-wrapper .topic-item .projects-wrapper {
	display: none;
}

.page-content h2 {
	text-transform: uppercase;
	margin-top: 40px;
}

.row.page-content {
	margin-bottom: 40px;
}

.project-wrapper h2 {
	background: inherit;
	color: var(--color1);
	text-transform: uppercase;
}

.text-content-wrapper {
	margin-top: 40px;
}

.projects-wrapper {
	overflow: hidden;
}

.project-page header h1 {
	margin-bottom: 10px;
	text-transform: none;
}

.project-page header h3 {
	margin-bottom: 0;
}

.project-page header img {
	margin-top: 30px;
}


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

.widget {
	margin-bottom: 40px;
}

.widget h2 {
	margin-top: 0;
}

.widget.submenü ul {
	margin: 0;
	list-style: none;
}

.widget.submenü ul.submenu-projects li {
	background-color: var(--color1);
	color: #fff;
	transition: .3s all;
}

.widget.submenü ul.submenu-projects li:hover {
	background-color: var(--color4);
	transition: .3s all;
}

.widget.submenü ul.submenu-projects li a {
	padding: 10px 15px;
	display: block;
	font-size: 19px;
	font-family: 'roboto-medium';
	transition: .3s all;
}

.widget.submenü ul.submenu-projects li:hover a {
	color: rgba(255,255,255,.75);
	transition: .3s all;
}

.widget.submenü ul ul.submenu-level-two li {
	background-color: #689acf;
}

.widget.submenü ul ul.submenu-level-two li:hover {
	background-color: var(--color3);
	transition: .3s all;
}

.widget.submenü ul ul.submenu-level-two li a {
	font-size: inherit;
	padding-left: 40px;
	font-family: 'roboto-regular';
	position: relative;
}

.widget.submenü ul ul.submenu-level-two li a:before {
	content: '';
	width: 15px;
	height: 15px;
	background-image: url(img/arrow-right.svg);
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: center;
	position: absolute;
	left: 15px;
	top: 13px;
}

.telefon-widget a {
  display: block;
  overflow: hidden;
  margin-bottom: 12px;
}

.verantwortlicher-item {
	margin-bottom: 20px;
}

.verantwortlicher-item:last-child {
	margin-bottom: 0;
}

.verantwortlicher-item img {
	width: 35%;
	transition: .3s all;
}

.verantwortlicher-item a:hover img {
	opacity: .75;
	transition: .3s all;
}

.verantwortlicher-item h4 {
	transition: .3s all;
}

.verantwortlicher-item h4:hover a {
	color: var(--color2);
	transition: .3s all;
}

.verantwortlicher-meta-info {
	float: right;
	width: 57%;
}

.verantwortlicher-meta-info span,
.verantwortlicher-meta-info a {
	display: block;
}

.verantwortlicher-meta-info span.function {
	margin-bottom: 10px;
}

body.single-team img.attachment-team-hoch {
	margin-bottom: 40px;
}

.wpcf7-form label {
	display: block;
}

.wpcf7-form {
	margin-top: 35px;
}

.wpcf7-form .wpcf7-form-control {
	width: 100%;
	margin-top: 7px;
	border-radius: 0;
  border: 1px solid #c7c7c7;
  padding: 5px;
}

.wpcf7-form .wpcf7-form-control:focus {
  outline: var(--color2) auto 1px;
}

.wpcf7-form .wpcf7-form-control.wpcf7-submit {
	background-color: var(--color1);
	color: #fff;
	border: 0;
	transition: .3s all;
}

.wpcf7-form .wpcf7-form-control.wpcf7-submit:hover {
	background-color: var(--color2);
	color: #fff;
	transition: .3s all;
}

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

footer#page-footer {
	padding: 100px 0;
	background-color: var(--color1);
}

footer#page-footer * {
	color: #fff;
}

footer#page-footer a {
	transition: .3s all;
	opacity: 1;
}

footer#page-footer a:hover {
	opacity: .75;
	transition: .3s all;
}

footer#page-footer .column3 span,
footer#page-footer .column3 p,
footer#page-footer .footernav {
	display: block;
	font-size: 18px;
	line-height: 26px;
	font-family: 'roboto-light';
}

footer#page-footer .footernav {
	position: absolute;
	right: 0;
	bottom: 0;
}

footer#page-footer .footernav .menu-footer-menu-container,
footer#page-footer .footernav span.copyright {
	float: right;
}

footer#page-footer .footernav span.copyright {
	display: inline-block;
	margin-left: 15px;
}

footer#page-footer .footernav ul {
	list-style: none;
}

footer#page-footer .footernav ul li {
	float: left;
	margin-left: 15px;
}
