/*
Theme Name: KLEIN ZAHNAERZTE
Author: Chewing The Sun GmbH
Version: 1.0

Reset default browser CSS. Based on work by Eric Meyer:
http://meyerweb.com/eric/tools/css/reset/index.html
*/

/*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;
}
:focus {/* remember to define focus styles! */
	outline: 0;
}
body {
	background: #fff;
	line-height: 1;
}
ol, ul {
	list-style: none;
}
table {/* tables still need 'cellspacing="0"' in the markup */
	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 {
	quotes: "" "";
}
a img {
	border: 0;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

a:focus {
  outline:0; 
}

/* new clearfix */
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
	}
* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */

/*------------------------------------------------------------*/


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

body {
	font-family:'Brandon Grot W01 Light', helvetica;
	background-image: url(img/gradient.jpg);
	background-position: top left;
	background-repeat: no-repeat;
	background-color: #e0e4f1;
	opacity: 1;
}

.pageWrapper {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    min-height: 100%;
    background-color: #e0e4f1;
    -webkit-box-shadow: -1px -3px 2px 0px rgba(0,0,0,0.29);
    -moz-box-shadow: -1px -3px 2px 0px rgba(0,0,0,0.29);
    box-shadow: -1px -3px 2px 0px rgba(0,0,0,0.29);
}

.Startseite .pageWrapper {
    overflow: hidden;
}

#logo,
#logo-white {
	position: relative;
	display: block;
	width: calc(100% - 78px);
	max-width: 364px;
	z-index: 777;
}

#logo img,
#logo-white img {
	width: 100%;
	height: auto;
}

#pageContent {
	width: 100%;
	max-width: 1024px;
	padding: 20px 24px 40px;
	box-sizing: border-box;
	opacity: 0;
	-webkit-transition: opacity .3s ease-in-out;
	-moz-transition: opacity .3s ease-in-out;
	-ms-transition: opacity .3s ease-in-out;
	-o-transition: opacity .3s ease-in-out;
	transition: opacity .3s ease-in-out;
}

#pageContent.loaded {
	opacity: 1;
}

.pageText {
	font-size: 18px;
	line-height: 24px;
	color: #000;
}

.pageText h1{
	font-size: 18px !important;
	text-transform: uppercase !important;
	display: block !important;
	float: none !important;
	clear: both !important;
	color: #000 !important;
	margin: 0 0 15px 0 !important;
	padding: 0;
}

.pageText p{
	margin: 0 0 24px 0;
}

#pageTitle {
	margin: 0 0 28px 0;
}

.pageImage{
	width: 100%;
	height: auto;
	margin: 0 0 30px 0;
}

.bigImage {
	-webkit-transition: opacity 0.75s ease-in-out;
	-moz-transition: opacity 0.75s ease-in-out;
	-ms-transition: opacity 0.75s ease-in-out;
	-o-transition: opacity 0.75s ease-in-out;
	transition: opacity 0.75s ease-in-out;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-position: center center;
	background-size: cover;
	opacity: 0;
}

.bigImage.visible {
	opacity: 1;
}

#headline{
	position: absolute;
	bottom: 35px;
	right: 24px;
	left: 24px;
	font-size: 26px;
	color: #fff;
	z-index: 20;
	text-transform: uppercase;
}

.imageName {
	margin-top: 12px;
	font-size: 14px;
	line-height: 1.1em;
	color: #fff;
	z-index: 20;
	text-transform: uppercase;
}

.imageName a:link, .imageName a:visited {
	color: #fff;
	text-decoration: underline;
}

.imageName a:hover {
	text-decoration: none;
}

.jspContainer {
	width: 100% !important;
}

.people {
	display: inline-block;
	max-width: 200px;
	margin: 0 35px 0 0;
	text-transform: uppercase;
	font-size: 18px;
	line-height: 25px;
}

.people img{
	display: block;
	margin: 0 0 35px 0;
	cursor: pointer;
}

.people img:hover{
	opacity: 0.7;
}

.people a:link, .people a:visited{
	color: #000;
	text-decoration: underline;
}
.people a:hover{
	color: #000;
	text-decoration: none;
}

#tourContainer {
	width: 100%;
}

.tourImage {
	display: inline-block;
	margin: 0 35px 0 0;
}

.tourImage img {
	width: unset;
	max-height: 40vw;
}

.tourImage span {
	display: block;
	margin-bottom: 20px;
}

.flickity-prev-next-button,
.flickity-prev-next-button:hover {
	top: unset;
	bottom: -44px;
	transform: unset;
	background: transparent;
}

.flickity-prev-next-button path {
	fill: #556f94;
}

.orange {
	color: #556f94;
}

strong {
	font-family:'BrandonGrotW01-Regular';
}

em {
	font-family: 'BrandonGrotW01-LightIt';
}

.single img{
	margin: 0 0 25px 0;
}

/*------------------------------------------------------------*/


/*NAVIGATION--------------------------------------------------*/

header {
	padding: 25px 24px;
}

.nav-toggle {
	position: fixed;
	top: 15px;
	right: 14px;
	width: 30px;
	height: 21px;
	padding: 10px;
	cursor: pointer;
	z-index: 1111;
}

.nav-line {
	position: absolute;
	top: 10px;
	left: 10px;
	width: 30px;
	height: 3px;
	background: #556f94;
	-webkit-transform-origin: center center;
	-moz-transform-origin: center center;
	-ms-transform-origin: center center;
	-o-transform-origin: center center;
	transform-origin: center center;
	-webkit-transition: all .2s cubic-bezier(0.455, 0.030, 0.515, 0.955);
	-moz-transition: all .2s cubic-bezier(0.455, 0.030, 0.515, 0.955);
	-ms-transition: all .2s cubic-bezier(0.455, 0.030, 0.515, 0.955);
	-o-transition: all .2s cubic-bezier(0.455, 0.030, 0.515, 0.955);
	transition: all .2s cubic-bezier(0.455, 0.030, 0.515, 0.955);
}

.nav-line:nth-child(2) {
	top: 19px;
}

.nav-line:nth-child(3) {
	top: 19px;
}

.nav-line:nth-child(4) {
	top: 28px;
}

.nav-toggle.open .nav-line {
	opacity: 0;
}

.nav-toggle.open .nav-line:nth-child(2) {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
	opacity: 1;
}

.nav-toggle.open .nav-line:nth-child(3) {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
	opacity: 1;
}

.navigation {
	display: none !important;
	margin-top: 34px;
	color:#666;
	font-family: 'BrandonGrotW01-LightIt';
	font-size:18px;
	text-transform:uppercase;
}

.navigation a:hover {
	text-decoration:underline !important;
}

.navigation .active a:link,.navigation .active a:visited,.navigation .active a:hover,.navigation .inactive a:hover {
	color:#666;
	text-decoration:underline;
}

.navigation .subNavigation li.active a:Link,.navigation .subNavigation li.active a:visited {
	color:#666!important;
	text-decoration:underline!important;
}

.navigation li {
	margin:0 0 14px 0;
	display: table;
}

.subNavigation li {
	margin: 14px 0 0 0 !important;
}

ul.navigation li ul {
	display:none;
	margin:0 0 0 58px;
}

.navigation a,.navigation a:visited,.navigation .inactive a:link,.navigation .inactive a:visited, .navigation .social-link path {
	color:#666;
	text-decoration:none;
}

.navigation .social-link,
.Startseite .navigation .social-link {
	display: inline-block;
	width: 20px;
	margin: .5em .5em 0 0;
}

.Startseite .navigation .social-link path {
	fill: #ffffff;
}

.Startseite .mobile-nav-wrapper .navigation .social-link path {
	fill: #666;
}

.mobile-nav-wrapper {
	position: fixed;
	top: 0;
	right: -318px;
	bottom: 0;
	width: 250px;
	padding: 54px 34px;
	background: #e0e4f1;
	z-index: 999;
	-webkit-transition: right .2s cubic-bezier(0.455, 0.030, 0.515, 0.955);
	-moz-transition: right .2s cubic-bezier(0.455, 0.030, 0.515, 0.955);
	-ms-transition: right .2s cubic-bezier(0.455, 0.030, 0.515, 0.955);
	-o-transition: right .2s cubic-bezier(0.455, 0.030, 0.515, 0.955);
	transition: right .2s cubic-bezier(0.455, 0.030, 0.515, 0.955);
	-webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.35);
	-moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.35);
	box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.35);
}

.mobile-nav-wrapper.open {
	right: 0;
}

.mobile-nav-wrapper .navigation {
	display: block !important;
}

.Startseite .navigation {
	color:#fff;
	font-family: 'BrandonGrotW01-LightIt';
	font-size:18px;
	text-transform:uppercase;
	position: relative;
	z-index: 20;
}

.Startseite .nav-toggle .nav-line {
	background: #ffffff;
}

.Startseite .nav-toggle.open .nav-line {
	background: #556f94;
}

.Startseite #logo,
#logo-white {
	display: none;
}

.Startseite #logo-white {
	display: block;
}

.Startseite .navigation a:hover {
	text-decoration:underline !important;
}

.Startseite .navigation li {
	margin:0 0 14px 0;
	display: table;
}

.Startseite .subNavigation li {
	margin: 14px 0 0 0 !important;
}

.Startseite ul.navigation li ul {
	display:none;
	margin:0 0 0 58px;
}

.Startseite .navigation .active a:link, .Startseite .navigation .active a:visited, .Startseite .navigation .active a:hover, .Startseite .navigation .inactive a:hover {
	color:#000;
	text-decoration:underline !important;
}

.Startseite .navigation .subNavigation li.active a:Link, .Startseite .navigation .subNavigation li.active a:visited {
	color:#000!important;
	text-decoration:underline!important;
}

.Startseite .navigation a, .Startseite .navigation a:visited, .Startseite .navigation .inactive a:link, .Startseite .navigation .inactive a:visited {
	color:#000;
	text-decoration:none;
}

#playButton {
	display: none;
	width: 49px;
	height: 23px;
	background-image: url(img/soundPause.png);
	background-position: top left;
	background-repeat: no-repeat;
	position: fixed;
	right: 20px;
	top: 35px;
	z-index: 60;
	border: none;
	background-color: transparent;
	cursor: pointer;
}

#pauseButton {
	display: none;
	width: 49px;
	height: 23px;
	background-image: url(img/soundPlay.png);
	background-position: top left;
	background-repeat: no-repeat;
	position: fixed;
	right: 20px;
	top: 35px;
	z-index: 60;
	border: none;
	background-color: transparent;
	cursor: pointer;
}

/*------------------------------------------------------------*/

/*PAGE-CONTENT------------------------------------------------*/

#pageContent h1 {
	font-size: 36px;
	text-transform: uppercase;
	float: left;
	color: #666;
}

#pageContent h2 {
	font-size: 18px;
	text-transform: uppercase;
	float: left;
	margin: 15px 15px 0 0;
	color: #666;
}

#pageContent ul {
	margin: 0 0 0 0;
}

#pageContent ul {
	padding: 0;
}

#pageContent a:link, #pageContent a:visited{
	color: #000;
	text-decoration: underline;
}

#pageContent a:hover{
	color: #000;
	text-decoration: none;
}

#pageContent .orange a:link, #pageContent .orange a:visited{
	color: #556f94;
	text-decoration: underline;
}

#pageContent .orange a:hover{
	color: #556f94;
	text-decoration: none;
}

#arrow {
	display: inline-block;
	vertical-align: top;
	width: 50px;
	height: 21px;
	float: right;
	margin: -12px -8px 0 0;
	background-image: url(img/arrow.png);
	background-position: top left;
	background-repeat: no-repeat;
}
/*------------------------------------------------------------*/

/*HOMEPAGE----------------------------------------------------*/
.Startseite {
	overflow: hidden;
}

#player {
	width: 100%;
	height: 100%;
	position: fixed;
}

#playerContainer {
	width: 100%;
	height: 100%;
	background: #fff;
	z-index: 500;
	position: fixed;
	display: none;
}

#skipVideo {
	width: 100%;
	height: 25px;
	position: fixed;
	bottom: 20px;
	z-index: 1000;
	text-align: center;
	font-size: 18px;
	text-transform: uppercase;
	color: #556f94;
	cursor: pointer;
}

.additional-content {
	display: none;
	position: absolute;
	right: 24px;
	bottom: 72px;
	width: 250px;
}

.additional-content * {
	opacity: 0;
}
/*------------------------------------------------------------*/

/*NEWS PAGE---------------------------------------------------*/
.news-post-wrapper {
	margin-bottom: 4em;
}

.news-post-date {
	font-size: 18px;
	padding-bottom: 5px;
	border-bottom: 1px solid #999;
	font-family: 'BrandonGrotW01-Regular', sans-serif;
	color: #556f94;
}

.news-image-wrapper {
	margin: 0 !important;
}

.news-image {
	display: inline-block;
	max-width: 100%;
	margin-bottom: 30px;
	vertical-align: top;
}

.news-image img {
	max-width: 100%;
	height: auto;
	vertical-align: top;
}

.news-social-link {
	display: inline-block;
	width: 25px;
	height: 25px;
	opacity: .6;
}

.facebook-link {
	background: url('img/facebook.svg') center center no-repeat;
	background-size: cover;
}

.instagram-link {
	margin-top: 9px;
	background: url('img/instagram.svg') center center no-repeat;
	background-size: cover;
}

img{
	transition-duration: 0ms;
}
/*------------------------------------------------------------*/

@media only screen and (device-width: 768px) {
	#playerContainer {
		display: none;
	}
}

@media only screen and (device-width: 320px) {
	#playerContainer {
		display: none;
	}
}

@media screen and (min-width: 561px) {
	header {
		padding: 35px 34px;
	}

	.nav-toggle {
		top: 35px;
		right: 24px;
	}

	#pageContent {
		padding: 30px 34px 60px;
	}

	#headline{
		bottom: 55px;
		right: 34px;
		left: 34px;
		font-size: 36px;
	}

	.imageName {
		margin-top: 7px;
		font-size: 18px;
	}
}

@media screen and (min-width: 1024px) {
	.additional-content * {
		opacity: 1;
	}
}

@media screen and (min-width: 1025px) {
	.Startseite #logo {
		display: block;
	}

	.Startseite #logo-white {
		display: none;
	}

	.Startseite .navigation .active a:link, .Startseite .navigation .active a:visited, .Startseite .navigation .active a:hover, .Startseite .navigation .inactive a:hover {
		color:#fff;
	}

	.Startseite .navigation .subNavigation li.active a:Link, .Startseite .navigation .subNavigation li.active a:visited {
		color:#fff!important;
	}

	.Startseite .navigation a, .Startseite .navigation a:visited, .Startseite .navigation .inactive a:link, .Startseite .navigation .inactive a:visited {
		color:#fff;
	}

	#pauseButton {
		 display: block;
	 }

	#logo,
	#logo-white {
		width: 364px;
		z-index: 2500;
	}

	.nav-toggle {
		display: none;
	}

	.navigation {
		display: block !important;
	}

	.mobile-nav-wrapper {
		display: none;
	}

	.pageWrapper {
		display: flex;
		display: -webkit-flex;
		flex-flow: row nowrap;
		-webkit-flex-flow: row nowrap;
	}

	.tourImage img {
		max-height: 30vw;
	}

	#pageContent {
		padding: 90px 94px 60px;
	}
}
