/*
	Theme Name: poege-haus
	Author: Matthias Werner
*/

@charset "UTF-8";

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

@font-face {
	font-family:'Quark';
	src:url('fonts/Quark-Light.eot');
	src:url('fonts/Quark-Light.eot?#iefix') format('embedded-opentype'),
		url('fonts/Quark-Light.woff') format('woff'),
		url('fonts/Quark-Light.ttf') format('truetype'),
		url('fonts/Quark-Light.svg#Quark-Light') format('svg');
    font-weight:normal;
    font-style:normal;
}

@font-face {
	font-family:'Quark';
	src:url('fonts/Quark-Bold.eot');
	src:url('fonts/Quark-Bold.eot?#iefix') format('embedded-opentype'),
		url('fonts/Quark-Bold.woff') format('woff'),
		url('fonts/Quark-Bold.ttf') format('truetype'),
		url('fonts/Quark-Bold.svg#Quark-Light') format('svg');
    font-weight:bold;
    font-style:bold;
}

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:400 16px 'Open Sans', Helvetica, Arial, sans-serif;
	line-height:26px;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}

.height-520{
	max-height:520px;
	overflow:hidden;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#000;
}
a:hover {
	color:#555;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}

a:hover img {
	-webkit-filter: brightness(66%); /* Safari 6.0 - 9.0 */
    filter: brightness(66%);
}
h1 {
	font-family: 'Quark', Helvetica, Arial, sans-serif;
	font-size:28px;
	font-weight:bold;
	padding-bottom:20px;
	margin-bottom:0;
	line-height:38px;
}

h2 {
	font-family: 'Quark', Helvetica, Arial, sans-serif;
	font-size:22px;
	font-weight:bold;
	padding-bottom:0;
	margin-bottom:0;
	line-height:32px;
}

input[type=text], input[type=button], input[type=date], input[type=submit], input[type=tel], input[type=email], select {
	outline:0;
	border-top:3px solid #000;
	border-bottom:3px solid #000;
	border-right:0;
	border-left:0;
	font:400 16px 'Open Sans', Helvetica, Arial, sans-serif !important;
	height:40px !important;
}

select {
	cursor:pointer;
}

input:hover, select:hover, textarea:hover {
	background-color:#fff !important;
}

input:focus, select:focus, textarea:focus {
	background-color:#fff !important;
}

textarea {
	outline:0;
	border-top:3px solid #000;
	border-bottom:3px solid #000;
	border-right:0;
	border-left:0;
	font:400 16px 'Open Sans', Helvetica, Arial, sans-serif !important;
}

hr{
	max-width:1000px;
	margin:0 auto;
	height: 25px;
	background: url(img/slash_negativ.svg) repeat-x 0 0;

	border: 0;
	margin-top:70px;
	margin-bottom:50px;
}

.button {
	outline:0;
	border:3px solid #000;
	font-family: 'Quark', Helvetica, Arial, sans-serif !important;
	font-size:22px !important;
	font-weight:bold !important;
	padding-bottom:0;
	margin-bottom:0;
	line-height:40px;
	height:40px !important;
}

.button:hover {
	color:#555;
}

.wpcf7-list-item > label> input[type="checkbox"]
{
	display: none;
}

/* Base for label styling */
.wpcf7-list-item > label> input[type="checkbox"]:not(:checked),
.wpcf7-list-item > label> input[type="checkbox"]:checked {
  position: absolute;
  left: -9999px;
}
.wpcf7-list-item > label> input[type="checkbox"]:not(:checked) + span,
.wpcf7-list-item > label> input[type="checkbox"]:checked + span {
  position: relative;
  padding-left: 1.95em;
  cursor: pointer;
}

/* checkbox aspect */
.wpcf7-list-item > label> input[type="checkbox"]:not(:checked) + span:before,
.wpcf7-list-item > label> input[type="checkbox"]:checked + span:before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 1.25em; height: 1.25em;
  border: 2px solid #ccc;
  background: #fff;
  border-radius: 4px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.1);
}
/* checked mark aspect */
.wpcf7-list-item > label> input[type="checkbox"]:not(:checked) + span:after,
.wpcf7-list-item > label> input[type="checkbox"]:checked + span:after {
  content: '✔';
  position: absolute;
  top: .15em; left: .2em;
  font-size: 1.4em;
  line-height: 0.8;
  color: #09ad7e;
  transition: all .2s;
  font-family: Helvetica, Arial, sans-serif;
}
/* checked mark aspect changes */
.wpcf7-list-item > label> input[type="checkbox"]:not(:checked) + span:after {
  opacity: 0;
  transform: scale(0);
}
.wpcf7-list-item > label> input[type="checkbox"]:checked + span:after {
  opacity: 1;
  transform: scale(1);
}

/* accessibility */
.wpcf7-list-item > label> input[type="checkbox"]:checked:focus + span:before,
.wpcf7-list-item > label> input[type="checkbox"]:not(:checked):focus + span:before {
  border: 2px dotted blue;
}

/* hover style just for information */
.wpcf7-list-item > label> input[type="checkbox"]:checked:focus + span:hover:before {
  border: 2px solid #4778d9!important;
}

.wpcf7-form {
	width:100%;
	max-width:700px;
	margin:0 auto;
}

.wpcf7-form .wpcf7-text, .wpcf7-date, textarea, label, input[type=submit], input[type=button] {
	width:100%;
	max-width:700px;
	margin:0 auto;
	padding-left:10px;
	padding-right:10px;
}

.wpcf7-form select span .wpcf7-list-item{
	height: auto !important;
	margin:0;
	padding:0;
	line-height: 0;
	float: left;
}

.wpcf7-list-item > input{
	height: auto !important;
	margin:0;
	padding:0;
	line-height: 0;
	float: left;
}

.wpcf7-form input:hover, .wpcf7-form textarea:hover, .wpcf7-form input:focus, .wpcf7-form textarea:focus{
	-webkit-transition: background-color 5ms linear !important;
    -ms-transition: background-color 5ms linear !important;
    transition: background-color 5ms linear !important;
	background-color:#fff !important;
}


.custom-background-color {
	background-color: #fff;
	-webkit-transition: background-color 1000ms linear;
    -ms-transition: background-color 1000ms linear;
    transition: background-color 1000ms linear;
/*     -webkit-animation: colorchange 50s infinite;
     animation: colorchange 50s infinite;*/
}
/*@keyframes colorchange
{
  0%   {background: #fff;}
  20%  {background: #ffdede;}
  40%  {background: #fffac4;}
  60%  {background: #e9f9d6;}
  80% {background: #daf3ff;}
  100%   {background: #fff;}
}

@-webkit-keyframes colorchange
{
  0%   {background: #fff;}
  20%  {background: #ffdede;}
  40%  {background: #fffac4;}
  60%  {background: #e9f9d6;}
  80% {background: #daf3ff;}
  100%   {background: #fff;}
}*/

.language-switcher{
	width:36px;
}

.language-switcher > a {
	color: rgba(0, 0, 0, 0) !important;
	background-image: url(img/language-switcher.svg);
	background-repeat: no-repeat;
	background-position: center;
	/*background-size: 26px 26px;*/
}

.language-switcher > a:hover{
	color: rgba(0, 0, 0, 0) !important;
	background-color: rgba(0,0,0,0.1);
}

.wpm-languages {
	list-style: none;
  margin: 0 2px;
  padding: 0;
  justify-content: space-around;
}

.cn-button{
    line-height: 40px !important;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	width:100%;
}
/* header */
.header {
	height:176px;
	margin-bottom:30px;
}
/* logo */
.logo {
	padding-top:20px;
	padding-bottom:20px;
	text-align:center;
}
.logo-img {
	max-height:100px;
	max-width:100px;
}

.notice-poege{
	height:36px;
	color: #000;
	background-color: #fff;
	width:100%;
	text-align: center;
	margin-bottom: 20px;
}

.notice-poege > span{
	display: none;
}

/* nav */
.menu-toggle {
	display:block;
	width:100%;
	padding-top:3px;
	cursor:pointer;
	text-align:center;
}

.menu-closed {
	overflow:hidden;
}

.menu-closed > .menu-toggle:before {
	content:"▼ ";
}

.menu-closed > .menu-toggle:after {
	content:" ▼";
}


.menu-opened {
	padding-bottom:20px;
	width:100%;
	overflow-y:scroll;
	z-position:1000;
	position:absolute;
}

.menu-opened > .menu-toggle:before {
	content:"▲ ";
}

.menu-opened > .menu-toggle:after {
	content:" ▲";
}

.nav {
	z-index:1000;
	font-family: 'Quark', Helvetica, Arial, sans-serif;
	font-size:18px;
	font-weight:bold;
	border-top:3px solid;
	border-bottom:3px solid;
	height:36px;
	position:sticky;
	position: -webkit-sticky;
	top:0;
	-webkit-transition: height 500ms ease-out, background-color 1000ms linear;
    -ms-transition: height 500ms ease-out, background-color 1000ms linear;
    transition: height 500ms ease-out, background-color 1000ms linear;
}

/*sticky {
	position: fixed;
	left: 0;
	top: 0;
	z-index: 100;
}*/

ul.menu-main {
  list-style: none;
  padding: 0;
  display: block;
	text-align:center;
	margin-bottom:0;
}

ul.menu-main > li {
	width:100%;
	padding:0;
	margin:0;
	position:relative;
}

.menu-item > a {
	display:block;
    overflow: hidden;
    text-overflow: ellipsis;
	height:36px;
	padding-top:6px;
	border-top: 1px solid rgba(0,0,0,0.5);
	color:black;
	text-decoration:none;
}

.menu-item a:hover {
	color:#555;
}

ul.menu-main > li:first-child > a {
	margin-top:-6px;
}

ul.menu-main > li:last-child > a {
	border-bottom: 1px solid rgba(0,0,0,0.5);
}

ul.menu-main > li > a:hover {
	background-color: rgba(0,0,0,0.1);
}

.menu-item-has-children > a{
	/*position:absolute;
	top: -webkit-calc(50% - 18px);
	top: expression(50% - 18px);
	top: -moz-calc(50% - 18px);
	top: -o-calc(50% - 18px);
	top: calc(50% - 18px);
	width:400px;
	text-align:center;
	margin-left:-150px;

	-moz-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
	-o-transform: rotate(-90deg);
	-webkit-transform: rotate(-90deg);
	transform: rotate(-90deg);
	border-bottom:1px solid rgba(0,0,0,0);*/
	border-bottom: 1px solid rgba(0,0,0,0.5);
	color:#555;
}

.menu-main > .menu-item-has-children > a:before{
	content:'▼ ';
}

.menu-main > .menu-item-has-children > a:after{
	content:' ▼';
}


/* Submenu */
ul.menu-main > li ul {
	list-style:none;
	padding:0px;
	border-left:36px solid rgba(0,0,0,0.5);;
	border-right:36px solid rgba(0,0,0,0.5);;
}
ul.menu-main > li ul li {
	background-color:#fff;
-webkit-transition: background-color 1000ms linear;
	-ms-transition: background-color 1000ms linear;
	transition: background-color 1000ms linear;
}

/* submenu links */
ul.menu-main > li ul li a{
	display:block;
    padding:5px;
    background-color: rgba(0,0,0,0);
    border-bottom: 1px solid rgba(0,0,0,0.5);
		text-decoration: none;
	font-weight:normal;
}

ul.menu-main > li ul li a:hover{
}

ul.menu-main > li ul li:first-child a{
	border-top: 0px solid rgba(0,0,0,0.5);
}

ul.menu-main > li ul li:last-child a{
	margin-bottom:0;
	border-bottom: 0px solid rgba(0,0,0,0.1);
}

ul.menu-main > li ul li:last-child:hover {
}

.menu-links-hover:hover {
	background-color: rgba(0,0,0,0.1);
}


/*.current-page-ancestor a, li.current-menu-item a {
background-color: rgba(0,0,0,0.1) !important;
color:#555;
border-color:#555;
}*/



.link-poege {
	font-size:18px;
	display:block;
	width:100%;
	text-align:center;
	border-bottom: 1px solid rgba(0,0,0,0.5);
	padding-bottom:5px;
	color:#000;
	text-decoration:none;
	padding-top:5px;
}

nav > form {
	margin-top:0 !important;
	padding-top:0 !important;
}

.search-form-top-input {
	background-color:#fff;
	width:100%;
	text-align:center;
	border-top: 0px solid rgba(0,0,0,0.5);
	border-bottom: 1px solid rgba(0,0,0,0.5);
	border-left:none;
	border-right:none;
	margin-top:-10 ;
	padding-top:0;
	-webkit-transition: width 500ms linear;
    -ms-transition: width 500ms linear;
    transition: width 500ms linear;

}

/* main */
main {
	margin-top:40px;
	text-align:center;
}

article {
	text-align:left;
}

article > div{
	text-align:left;
	padding-left:10px;
	padding-right:10px;
	max-width:700px;
	margin: 0 auto !important;
	padding-bottom:20px;
}

.two-rows{
	padding-top:20px;
}

article > .two-rows > * {
	width:50% !important;
}

article > .two-rows:first-child{
	float:left;
}

article > .two-rows h2 {
	margin-top:0;
	padding-top:0;
}

article > .two-rows span {
	padding-left:10px;
	padding-right:10px;
}

article > p{
	text-align:left;
	padding-left:10px;
	padding-right:10px;
	max-width:700px;
	margin: 0 auto;
	padding-top:20px;
	overflow:auto;
}

article > table{
	text-align:left;
	padding-left:10px;
	padding-right:10px;
	max-width:700px;
	margin: 0 auto;
	padding-top:20px;
}

/* PREVENT FLOTING TEXT NEXT TO IMAGES FOR SMALL SCREENS */
p:before {
  content: "";
  width: 100px;
  display: block;
  overflow: hidden;
}

article > span{
	display: block;
	text-align:left;
	padding-left:10px;
	padding-right:10px;
	width:100%;
	max-width:700px;
	font-weight: normal;
	margin: 0 auto;
}

.project-running {
	background-color: LightGreen;
	font-size: 16px;
	padding-left:5px;
	padding-right:5px;
}

.project-running::before {
	content:"  ";
}

.project-finished {
	background-color: IndianRed;
	font-size: 16px;
	margin-bottom:-10px;
}

article > a{
	display:block;
	text-align:left;
	padding-left:10px;
	padding-right:10px;
	max-width:700px;
	margin: 0 auto;
}

article > h1{
	text-align:left;
	padding-left:10px;
	padding-right:10px;
	max-width:700px;
	margin: 0 auto;
	padding-top:40px;
}

article > h2{
	text-align:left;
	padding-left:10px;
	padding-right:10px;
	max-width:700px;
	margin: 0 auto;
	padding-bottom:20px;
	padding-top:20px;
}

article > h3{
	text-align:left;
	padding-left:10px;
	padding-right:10px;
	max-width:700px;
	margin: 0 auto;
	padding-bottom:20px;
	padding-top:20px;
}


article > ul{
	text-align:left;
	padding-left:40px;
	padding-right:10px;
	max-width:700px;
	margin: 0 auto;
	padding-bottom:20px;
}

article li {
	list-style: none;
	margin-bottom:10px;
}

article li:before {
	content:"— ";
	position: absolute;
	margin-left: -30px;
}

article > img{
	margin: 0 auto;
	padding:0;
}

article > form{
	text-align:left;
	padding-left:10px;
	padding-right:10px;
	max-width:700px;
	margin: 0 auto;
	padding-bottom:20px;
}

.addtoany_list{
	display: block !important;
	text-align:left;
	padding-left:10px;
	padding-right:10px;
	max-width:700px;
	margin: 0 auto;
	padding-bottom:20px;
}

.the-content {
	text-align:left;
	padding-left:10px;
	padding-right:10px;
	max-width:700px;
	margin: 0 auto;
}

.slider{
	margin:0 auto;
	max-width:1000px;
	margin-top:20px;
	margin-bottom:0;
	border-top:3px solid;
	border-bottom:3px solid;
	padding:0;
	position:relative;
}

.slider:before {
	content:"Unsere aktuellen Projekte";
	display:block;
	width:100%;
	background-color:#000;
	color:#fff;
	text-align:center;
	font-family: 'Quark', Helvetica, Arial, sans-serif;
	font-size:22px;
	font-weight:bold;
	line-height:32px;
}

.slider-container{
	text-decoration: none !important;
}

.slider-container:last-child{
}

.slider-img{
	max-height:520px;
	z-index: 2000;
}

.slider-img > img{
	width:100%;
}

.slider-text-container{
	padding:0;
	margin:0;
	z-index: 500;
}

.slider-text-background-img {
	-webkit-filter: blur(15px);
  -moz-filter: blur(15px);
  -o-filter: blur(15px);
  -ms-filter: blur(15px);
  filter: blur(15px);
	position:absolute;
	z-index: 1;
	transform: scale(1.1);
	overflow:hidden;
	width:100%;
	background-color:#fff;
	margin: -5px -10px -10px -5px;
}
.slider-text-background-img > img{
	-webkit-transform: scaleY(-1);
    transform: scaleY(-1);
	width:100%;
	opacity: 0.5;
}

.slider-text{
	position:relative;
	z-index: 400;
	width:100%;
	height:100%;
	padding-left:10px;
	padding-right:10px;
	padding-bottom:5px;
	text-align: center;
}

.slider-text>h2{
	padding-bottom: 0;
	margin-bottom: 0;
}

.slider-text>p{
	padding-top:0;
	margin-top:0;
}

.spacer {
	height:20px;
}

.mediacontainer {
	margin:0 auto;
	max-width:1000px;
	margin-top:20px;
	margin-bottom:20px;
	border-top:3px solid;
	border-bottom:3px solid;
	padding:0;
}

.mediacontainer > img{
  width:100%;
	height:auto;
}

.mediacontainer > a > img{
  width:100%;
}

.height500 {
	max-height:500px;
	overflow: hidden;
	-webkit-transition: max-height 500ms linear;
		-ms-transition: max-height 500ms linear;
		transition: max-height 500ms linear;
}

.height500:hover{
	max-height:999px;
	-webkit-transition: max-height 500ms linear;
		-ms-transition: max-height 500ms linear;
		transition: max-height 500ms linear;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%; /* ratio 16x9 */
  height: 0;
  overflow: hidden;
  max-width: 1000px;
  height: auto;
}

.embed-container-full-height {
	position: relative;
  padding-bottom: 56.25%; /* ratio 16x9 */
	height: 100vh;
	height: -webkit-calc(100vh - 36px);
	height: -moz-calc(100vh - 36px);
	height: calc(100vh - 36px);
  overflow: hidden;
  max-width: 1000px;
}

.mediacontainer iframe {

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* sidebar */
.sidebar {

}
/* footer */
.footer {
	border-top:3px solid #000;
	padding:20px;
	text-align:center;
	margin-top:20px;
}

.tags{
	padding-left:5px;
	padding-right:5px;
	margin-right:5px;
	padding-bottom:0;
	margin-bottom:0;
	white-space:nowrap;
}

.share{
	text-align: center;
}

.addtoany_list{
	margin-bottom:20px;
	text-align: center;
}

.arve-wrapper{
	padding-top:20px;
}

:focus {
    outline: none !important;
}

/*------------------------------------*\
    EVENTS
\*------------------------------------*/
.event-wrapper {
	margin:0 auto;
	max-width:700px;
}

.home .clear{
	margin-top:10px;
}

.home .event-wrapper {
	border-top:3px solid #000;
	border-bottom:3px solid #000;
	background-color: #fff;
  /*-webkit-animation: colorchange 50s infinite;
  animation: colorchange 50s infinite;*/
	margin-left:-10px;
	margin-right:-10px;
	-webkit-transition: background-color 1000ms linear;
	  -ms-transition: background-color 1000ms linear;
	  transition: background-color 1000ms linear;
		margin-top:20px;
}

.home .event-wrapper:before {
	content:"Die nächsten Termine";
	display:block;
	width:100%;
	background-color:#000;
	color:#fff;
	text-align:center;
	font-family: 'Quark', Helvetica, Arial, sans-serif;
	font-size:22px;
	font-weight:bold;
	line-height:32px;
	margin-bottom: 20px;
}

.home .event-wrapper:after {
	content:"Weitere Termine anzeigen…";
	display:block;
	width:100%;
	background-color:#000;
	color:#fff;
	text-align:center;
	font-family: 'Quark', Helvetica, Arial, sans-serif;
	font-size:22px;
	font-weight:bold;
	line-height:32px;
	cursor: pointer;
	text-decoration: underline;
}

.home .event-container {
	height:20px;
	overflow: hidden;
	-webkit-transition: height 500ms linear;
	  -ms-transition: height 500ms linear;
	  transition: height 500ms linear;
}

.event-list {
	margin-left:-10px;
	margin-right:-10px;
	padding:10px;
	margin-bottom:20px;
	border-top:3px solid #000;
	border-bottom:3px solid #000;
}

.home .event-list {
	border-top:0px solid #000;
	border-bottom:0px solid #000;
	margin-left:0;
	margin-right:0;
}

.dp_pec_date_event_time {
	font-weight:bold;
}

.dp_pec_event_title {
	margin:0;
}

.pec_event_page_date {
	margin-top:-20px;
}

.weitere-termine ~ .weitere-termine:before {
	content:" | ";
}

/*------------------------------------*\
    PROJEKT SEITE
\*------------------------------------*/

.project-list-container{
	max-width:1000px;
}



.project-list{
	max-width:1000px;
	display: flex;
  justify-content: center;
  align-items: center;
	flex-wrap: wrap;
	align-items: flex-start;
}

.project-list-item{
	text-align: center;
	margin-bottom:20px;
	display: inline-block;
  width: 300px;
	overflow: hidden;
	margin-right:20px;
	margin-bottom:40px;
}

.project-list-item-img{
	height:150px;
	overflow: hidden;
	border-top:3px solid #000;
	border-bottom:3px solid #000;
}

.project-list-item-img img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: 50% 0%;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

/* STANDARD PAGE */

/* Presse */
.press-medium-title-date{
	margin-bottom:0;
	padding-bottom:0;
	font-weight: bold;
	margin-top:20px;
}

.press-title{
	margin-top:0;
	padding-top:0;
	margin-bottom: 0;
	padding-bottom: 0;
	font-size: 24px;
}


/* HAFEN DER STADT - ANKUNFTSGESCHICHTEN */

.animation {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.flip-container
{
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
	display:flex;
	flex-wrap:wrap;
	justify-content: space-evenly;
	padding-top:20px;
	  width:100%;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -ms-transition: all .3s ease;
  transition: all .3s ease;

  /*depth of the elements */
  -webkit-perspective: 10000px;
  -moz-perspective: 10000px;
  -o-perspective: 10000px;
  perspective: 10000px;

}
.secondRow
{
  margin-top: -1.4%
}

.card
{
	margin:10px;
  width: 300px;
  height: 400px;
  cursor: pointer;

  /*transition effects */
  -webkit-transition: -webkit-transform 0.6s;
  -moz-transition: -moz-transform 0.6s;
  -o-transition: -o-transform 0.6s;
  transition: transform 0.6s;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;

}

.card.flipped
{
  -webkit-transform: rotateY( 180deg );
  -moz-transform: rotateY( 180deg );
  -o-transform: rotateY( 180deg );
  transform: rotateY( 180deg );
}

.card .front,
.card .back {
  display: block;
  height: 100%;
  width: 100%;
  	padding:20px;
  position: absolute;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -o-backface-visibility: hidden;
  backface-visibility: hidden;
  box-shadow: 3px 5px 20px 2px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16), 0 2px 5px rgba(0, 0, 0, 0.26);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16), 0 2px 10px rgba(0, 0, 0, 0.26);
}

.card .front {
	overflow:hidden;
	background-image: url("img/rotate.svg");
	background-position: right 20px bottom 20px; /*Positioning*/
	background-repeat: no-repeat; /*Prevent showing multiple background images*/
	background-size:50px;
}

.card .back {
  width: 100%;
  overflow-y: scroll;
	overflow-x: hidden;

  -webkit-transform: rotateY( 180deg );
  -moz-transform: rotateY( 180deg );
  -o-transform: rotateY( 180deg );
  transform: rotateY( 180deg );
  font-size:12px;
  line-height:18px;
}

.ankunft-img {
	height:200px;
	width:260px;
	overflow:hidden;
	margin-bottom:20px;
}

.ankunft-bio {
	margin-bottom:0;
	padding-bottom:0;
	margin-top:0;
	padding-top:0;
	font-size:14px;
	line-height:22px;
}

.ankunft-frage{
	font-weight:bold;
	padding:bottom:0;
	margin-bottom:0;
}

.ankunft-antwort {
	padding-bottom:10px;
}

/* HAFEN DER STADT - MEDIENANALYSE */

/* MEDIENANALYSE */
.body-iframe-medienanalyse {
	padding:0;
	margin:0;
	background-color:#fff;
	height:100vh;
}

#myChart {
	height:100vh;
	width:100%;
	min-width:500px;
	min-height:500px;
}

.tooltips{
	margin:20px;
	padding:20px;
	font:400 16px 'Open Sans', Helvetica, Arial, sans-serif;
	line-height:26px;
	width:100%;
	white-space:normal;
}


.tooltips > h1 {
	font-family: 'Quark', Helvetica, Arial, sans-serif;
	font-size:22px;
	font-weight:bold;
	padding-bottom:0;
	margin-bottom:0;
	line-height:32px;
}

.tooltips > p{
	font:400 16px 'Open Sans', Helvetica, Arial, sans-serif;
	line-height:26px;
	display:inline;
}

.tooltips > p:before{
	content:"„";
}
.tooltips > p:after{
content:"“ ";
}

.tooltips > span{
	font:400 16px 'Open Sans', Helvetica, Arial, sans-serif;
	line-height:26px;
	font-style:italic;
	color:#555;
}


.medienanalyse .embed-container {
  height: 600px;
	overflow-y:scroll;
	overflow-x:hidden;
}

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





/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

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

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {
	body {
		font-size:18px;
		line-height:32px;
	}

	h1 {
		font-size:32px;
	}

	h2 {
		font-size:28px;
	}

	.spacer {
		height:40px;
	}

	.logo{
		padding-bottom:0;
	}

	.notice-poege{
		margin-top: 20px;
	}

	.notice-poege > span{
		display:inline;
	}

	/* nav */
	.nav {
		overflow:hidden;
		border:0px;
	}

	.menu-toggle{
		display:none;
	}

	.menu-closed {
		overflow:visible;
	}

	ul.menu-main {
	  list-style: none;
	  display: flex;
		display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	  display: -ms-flexbox;      /* TWEENER - IE 10 */
	  display: -webkit-flex;     /* NEW - Chrome */

	  position:relative;
		width:100%;
		width: -webkit-calc(100% - 40px);
		width: -moz-calc(100% - 40px);
		width: calc(100% - 40px);
	}

	ul.menu-main > li {
		text-align: center;
		flex-grow: 1;
    flex-basis: 1;

	}

	ul.menu-main > li > a {
		display:block;
		overflow: hidden;
		text-overflow: ellipsis;
		border-top:3px solid #000;
		border-bottom:3px solid #000;
		padding-top:0px;
		padding-left:0px;
		white-space: nowrap;
	}

	ul.menu-main > li:last-child > a {
		border-bottom: 3px solid rgba(0,0,0,1);
	}

	ul.menu-main > li:first-child > a {
		border-top: 3px solid #000;
		margin-top:0;
	}

	ul.menu-main > li > a:hover {
		border-top:3px solid #555;
		border-bottom:3px solid #555;

	}

	.menu-item-has-children > a{
		cursor:default;
		background-color:rgba(0,0,0,0);
		color:#000;
	}

	.menu-item-has-children > a:hover{
		background-color:rgba(0,0,0,0) !important;
		border-top: 3px solid #000 !important;
		color:#000;
	}


	/* Submenu */
	ul.menu-main > li ul {
		position: absolute;
		margin-top:-3px;
		max-height:0;
		overflow: hidden;
		list-style:none;
		display:block;
		padding:0;
		margin-left:0;
		margin-right:0;
		width:100%;
		border-left:0px solid #fff;
		border-right:0px solid #fff;
		-webkit-transition: max-height 500ms ease-out;
		  -ms-transition: max-height 500ms ease-out;
		  transition: max-height 500ms ease-out;
	}


	ul.menu-main > li:hover ul {
		max-height:500px;

		-webkit-transition: max-height 500ms ease-in;
		  -ms-transition: max-height 500ms ease-in;
		  transition: max-height 500ms ease-in;
	}

	/* submenu links */
	ul.menu-main > li ul li a{
		display:block;
		border-left:3px solid #000;
		border-right:3px solid #000;
		background-color: rgba(0,0,0,0);
		border-top:0;
		border-bottom:0;
	}

	ul.menu-main > li ul li a:hover{
	border-left:3px solid #555;
	border-right:3px solid #555;
	background-color: rgba(0,0,0,0.1);
	}

	ul.menu-main > li ul li:first-child {
		border-top:0;
		border-bottom:0;
	}

	ul.menu-main > li ul li:last-child {

	}

	ul.menu-main > li ul li:last-child a{
		border-bottom:3px solid #000;
		padding-bottom:0;
		margin-bottom:0;
	}

	ul.menu-main > li ul li:last-child a:hover {
		border-bottom:3px solid #555;
	}

	.menu-links-hover:hover {
		background-color: rgba(0,0,0,0.1);
	}


	.current-menu-item a {
	background-color: rgba(0,0,0,0.1) !important;
	color:#555;
	border-color:#555;
	}

	.link-poege {
		position:absolute;
		top:-140px;
		left:0;
		width:220px;
		font-size:18px;
		border:0;
	}

	.link-poege:before {
		content:"◀ ";
	}

	.search-form-top-input {
		position:absolute;
		top:0;
		height:29px !important;
		width:20px;
		padding-left:10px !important;
		padding-right:10px !important;
		text-align:center;
		padding-top:0 !important;
		right:0;
		background: url(img/icons/logo_lupe.svg) no-repeat;
		background-color: rgba(255, 255, 255, 0);
		background-size: 20px 20px;
		background-position: left center;
		border-top:3px solid #000;
		border-bottom:3px solid #000 ;
    text-indent: 20px;
		cursor: pointer;
		-webkit-transition: width 500ms linear, background-color 500ms ease-in;
			-ms-transition: width 500ms linear, background-color 500ms ease-in;
			transition: width 500ms linear, background-color 500ms ease-in;
	}
	.search-form-top-input:hover {
		-webkit-transition: none;
			-ms-transition: none;
			transition: none;
		background-color: rgba(0, 0, 0, 0.1) !important;
		border-bottom:3px solid #555;
		border-top:3px solid #555;
	}

	.search-form-top-input:focus {
		cursor: auto;
		background-color: rgba(255, 255, 255, 1) !important;
		border-bottom:3px solid #000;
		border-top:3px solid #000;
		-webkit-transition: width 500ms linear, background-color 500ms linear;
			-ms-transition: width 500ms linear, background-color 500ms linear;
			transition: width 500ms linear, background-color 500ms linear;
	}

	.white-background {
		background-color: rgba(255, 255, 255, 1) !important;
	}
	.medienanalyse .embed-container {
		overflow:hidden;
	}

	.embed-container-full-height {
		position: relative;
	  padding-bottom: 56.25%; /* ratio 16x9 */
	  height: 0;
	  overflow: hidden;
	  max-width: 1000px;
	  height: auto;
	}


}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    PAGINATION
\*------------------------------------*/
.pagination{
	margin:0 auto;
	width:auto;
    text-align: center;
}
.page-numbers {
	position: relative;
	display: inline-block;
	padding: 5px 10px;
	margin: 0 2px 0 0;
	border: 3px solid #000;
	line-height: 1;
	text-decoration: none;
	background-color:#fff;
	-webkit-transition: background-color 1000ms linear;
    -ms-transition: background-color 1000ms linear;
    transition: background-color 1000ms linear;
}

.page-numbers.current,
 a.page-numbers:hover{
	 border: 3px solid #555;
	 color:#555;
}

.page-numbers.current:before,
a.page-numbers:hover:before{
	position: absolute;
  content:" ";
  top:0;
  left:0;
  width:100%;
  height:100%;
  display: block;
  z-index:0;
  background-color: rgba(0,0,0,0.1);
}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}



/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {
	position:fixed;
	top:0px;
	width:100%;
}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
