/*
Theme Name: Museumspass 2017
Theme URI: http://underscores.me/
Author: taywa
Author URI: http://www.taywa.ch
Description: fancy
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: museumspass2017
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Museumspass 2017 is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
* {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	outline: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
html {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

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

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}



dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

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

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
	vertical-align: top;
	margin-top: 1.1%;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

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

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body {
	color: #000;
	font-size: 62.5%;
}
body,
button,
input,
select,
textarea,
button {
	font-weight: normal;
	font-family: TheinhardtMedium, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	margin-top: 0;
}

h1,h2,h3,h4,
b, strong,
.sidebarmenu, #footernav {
	font-weight: normal;
	font-family: TheinhardtBold, sans-serif;
}
#featured {
	text-transform: uppercase;
	width: 17em;
}
h1, .site-title, 
#homenav li, #footernav li {
	text-transform: uppercase;
	font-size: 8vw;
	margin: 0;
	line-height: 1em;
}
.entry-header h1 {
	padding-bottom: 0.5em;
}
h1, #logo h2, #footernav li {
	font-size: 6vw;
}
#logo h2 {
	padding-top: 0.4em;
	line-height: 0.9em;
}
h2, h3, h4 {
	text-transform: uppercase;
	margin: 0;
}
h2 {
	margin-bottom: 0.4em;
}
h2, h3, h4, p, li, .entry-footer, .entry-meta, .post-navigation, label, input, select, button, textarea, #order-confirmation {
	font-size: 1.8em;
	line-height: 1.2em;
}
#order-confirmation h2, #order-confirmation h3 {
	font-size: 1em;
}
p, li {
	margin: 0;
}
p {
	padding-bottom: 2em;
}

.entry-content p img {
	padding-bottom: 2em;
}
dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

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

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}
body {
	background: #fff;
	overflow-x: hidden;
}
#pushclip {
	position: relative;
	top:0;
	left:0;
	width: 100%;
	overflow: hidden;
}
#center {
	text-align: center;
	position: relative;
	left: 0;
	transform: translateX(0%);
	transition: transform 0.6s ease-in-out 0.2s;
	padding-top: 6em /* space for fixed head element*/;
	width: 100%;
	z-index: 5;
	background: #fff;
}
.home #center {
	padding-top: 4.5em /* space for fixed head element*/;
}
.boxed {
	position: relative;
	max-width: 128em;
	padding: 0 2em;
	margin: 0 auto;
	text-align: left;
}
#site-navigation {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	overflow: auto;
	background: #444;
	color: #fff;
	transform: translateX(-100%);
	transition: transform 0.6s ease-in-out 0.2s;
	z-index: 1;
}

#site-navigation li {
	color: inherit;
}



/*
body.navexpanded{
	width: 100vw;
	overflow: hidden;
}
*/

.navexpanded #center,
.navexpanded #fixed {
	transform: translateX(100%);
}

.navexpanded #site-navigation {
	transform: translateX(0%);
}



.menu-toggle {
	border: 0;
	background: transparent;
	text-indent: -99em;
	position: absolute;
	overflow: hidden;

	width: 3em;
	height: 3em;
	background: url('img/hamburger.svg') center no-repeat;
	background-size: contain;
	top: 0.5em;
	left: 2em;
	z-index: 5;
	cursor: pointer;
}
.menu-toggle.close {
	background-image: url('img/close.svg');
	margin-top: 0.5em;
}
@keyframes spinup {
  from   { transform: translateY(0) rotate(0deg); }
  to { transform: translateY(-4em) rotate(-180deg); }
}
@keyframes spindown {
  from   { transform: translateY(-4em) rotate(-180deg); }
  to { transform: translateY(0) rotate(0deg); }
}
.menu-toggle.open {
	animation: spindown 0.3s 1 cubic-bezier(0.18, 0.89, 0.32, 1.28) 0.8s both; 
}
.menu-toggle.close {
	animation: spinup 0.3s 1 cubic-bezier(0.6, -0.28, 0.74, 0.05) both; 
}

.navexpanded .menu-toggle.open {
	animation: spinup 0.3s 1 cubic-bezier(0.6, -0.28, 0.74, 0.05) both; 
}
.navexpanded .menu-toggle.close {
	animation: spindown 0.3s 1 cubic-bezier(0.18, 0.89, 0.32, 1.28) 0.8s both; 
}

a.block {
	display: block;
	text-decoration: none;
}
a.block:hover{
	text-decoration: none;
}
#fixed {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 10;
	background: rgba(255,255,255, 0);
	transform: translateX(0);
	transition: transform 0.6s  ease-in-out 0.2s , background 0.6s;
}
#scrolled {
	margin: 0.5em 0;
	padding: 1em 4em;
	background: url('img/logo_black.svg') right center no-repeat transparent;
	opacity: 0;
	transition: opacity 0.6s;
}
#scrolled h3 {
	margin: 0;
}


.scrolleddown #fixed {
	background: rgba(255,255,255, 1);
}
.scrolleddown #scrolled {
	opacity: 1;
}

#homenav, #logo {
	padding-bottom: 4em;
}
#homenav {
	padding-top: 0; /* remove space for mobile */
}

#logo.animated {
	overflow: hidden;
	position: relative;
	margin: -2em;
	padding: 6em 2em;
	box-sizing: content-box;
}
#logo #ani {
	position: relative;
}
#logo #ani img {
	position: absolute;
	left: 0;
	top: 0;
}
#logo #ani #anilogo1 {
	position: static;
	height: auto;
}

@keyframes logotoleft {
	0% { transform: scale(1) translateX(0%); }
	50% { transform: scale(0.8) translateX(5%); }
	100% { transform: scale(0.8) translateX(-120%); }
}
@keyframes logofromright {
	0% { transform: scale(0.8) translateX(100%);  }
	50% { transform: scale(0.8) translateX(-5%); }
	100% { transform: scale(1) translateX(0%); }
}

.loaded #anilogo1 {
	animation: logotoleft 1s 1 cubic-bezier(0.6, -0.18, 0.74, 0.05) 1s forwards;

}

#anilogo2, #anilogo3, #anilogo4 {
	visibility: hidden;
	transform:  translateX(120%); 
}

.loaded #anilogo2 {
	visibility: visible;
	animation: logofromright 1s 1 cubic-bezier(0.18, 0.89, 0.32, 1.28) 2s forwards, logotoleft 1s 1 cubic-bezier(0.6, -0.28, 0.74, 0.05) 5s forwards;
}
.loaded #anilogo3 {
	visibility: visible;
	animation: logofromright 1s 1 cubic-bezier(0.18, 0.89, 0.32, 1.28) 6s forwards, logotoleft 1s 1 cubic-bezier(0.6, -0.28, 0.74, 0.05) 9s forwards;
}

.loaded #anilogo4 {
	visibility: visible;
	animation: logofromright 1s 1 cubic-bezier(0.18, 0.89, 0.32, 1.28) 10s forwards;
}

#logotext {
	width: 12%;
	position: absolute;
	right: 2em;
	top: 0;
}
#logotext svg {
	margin-bottom: 38%;
}
#logotext .balken {
	display: block;
	float: right;
}
#square {
	position: absolute;
	left: -7.5em;
	bottom: 2em;
	width: 2em;
	height: 2em;
	background: #000;
}

#logoall {
	width: 50%;
	float: right;
}

/*
article:after {
	content: '';
	display: block;
	background: url('img/balken.svg') no-repeat 10% center transparent;
	height: 4em;
	background-size: 90px 3px;
}

article:last-child:after,
body.home article.type-page:after {
	content:;
	display: none;
}
*/

body.home article.type-page,
.spaceafter {
	padding-bottom: 4em;
}

body.home .entry-header {
	display: none;
}

body.home .green + h4{
	margin-top: 0.5em; 
}

#lastdays {
	width: 100%;
	height: 98vw;
	min-height: 40em;
	max-height: 100em;
}

.videos {
	margin: 0 -2em;
}
.preserve-ratio {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
}
.preserve-ratio iframe {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
}

.instagram-pics {
	list-style: none;
	margin: 0 -2em;
	padding: 0;
}
.instagram-pics li {
	list-style: none;
	margin: 0;
	padding: 0;
	width:50%;
	float:left;
}
.instagram-pics img {
	display: block;
}


.site-footer {
	padding-bottom: 10%;
}



/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/

.blue{
	color: #3155a4;
}
.red, .post-navigation,
.entry-header h1{
	color: #e41513;
}
.green{
	color: #3fa535;
}
.gray,
.entry-footer, .entry-meta{
	color: #919191;
}

.mobno,
.deskonly {
	display: none;
}

i.ta {
	display: inline-block;
	width: 1em;
	height: 1em;
	background: center no-repeat;
	background-size: 80% auto;
    position: relative;
    top: 0.1em;
}

i.ta.plus {
	background-image: url('img/kreuz.svg');
}

i.fa {
	margin-right: 0.5em;
}

hr {
	display: block;
	background: url('img/balken.svg') no-repeat 10% center transparent;
	height: 4em;
	background-size: 90px 3px;  /* line.svg*/
	background-size: 70px 20px;
	border: 0 none transparent;
	margin: 0;
}

hr.large,
div.large {
	height: 8em;
	background-size: 180px 6px; /* line.svg*/
	background-size: 70px 20px;
}

ul + hr,
ol + hr,
p + hr {
	margin-top: -1em;
}
*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}


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

blockquote,
q {
	quotes: "" "";
}


ul,
ol {
	margin: 0;
	padding: 0 0 0 1.7em;
}

ul {
	list-style: square;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100% ; /* Adhere to container width. */
}

figure {
	margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
	table-layout: fixed;
}

table + table {
	margin-top: -1.5em;
}

table img {
	display: block;
	box-sizing: border-box;
	border: 0.2em solid transparent;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, .8);
	line-height: 1;
	padding: .6em 1em .4em;
}
select {
	border-radius: 3px;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}


a:focus,
a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

.navigation ul {
	display: block;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

#mainnav, #miscnav {
	list-style: square;
	padding-left: 1.5em;
}
.navigation li {
	position: relative;
	margin-bottom: 0.4em;
}

.navigation a {
	display: block;
	text-decoration: none;
}
.navigation a:hover {
	text-decoration: underline;
}
#site-navigation > div {
	clear: left;
	padding: 1em 0 1em 2em;
}
#lang {
	margin-left: 4.5em;
	overflow: hidden;
	padding-top: 0.5em;
}
#lang li {
	float: left;
	padding-right: 1em;
}


.current-menu-item a,
.wpml-ls-current-language a {
    color: #aaa;
}


.main-navigation ul ul {
	padding-left: 2em;
}



#homenav li {
	line-height: 0.92em;
}

#featured li {
    margin-bottom: 0.4em;
}


/* funny alignments */

.site-title {
	text-align: center;
	overflow: visible;
	line-height: 0.95em;
}
.site-title span{
	display: block;
	float: left;
	padding-right: 2.5%;
}

.site-title .gray{
	margin-left: 50%;
	white-space: nowrap;
}

.balken {
	width: 70px;
}
.site-title img {
	float: left;
	padding-top: 1%;
	margin-right: 7%;
}


.sidebarmenu li {
	line-height: 0.92em;
	text-align: right;
}

.sidebarmenu li.blue {
	padding-left: 7%;
	word-spacing: -1.5vw;
	text-align: left;
}
#featured li.blue {
	word-spacing: -0.1em;
	text-align: left;
}


.sidebarmenu li.gray {
	text-align: left;
}
.sidebarmenu li.black {
	text-align: right;
	padding-right: 7%;
}







.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}



/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.entry-meta, .cat-links {
	display: none;
}

article.post {
	padding-bottom: 15px; /* andreas idee */	
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}



/*  cleverreach form */

.cr_form input,
.cr_form button,
.cr_form label {
	padding: 1% 0%;
    line-height: 1.2em;
	float: left;
}
.cr_form button {
	padding: 1% 6%;
	border: 0px none;
	color: #fff;
	background: #777;
}
.cr_form input {
	padding: 1% 2%;
	margin: 0 5%;
	width: 40% !important;
	margin-bottom: 1em;
}



/*--------------------------------------------------------------
## Responsive
--------------------------------------------------------------*/

@media (max-width: 380px) {
	#scrolled h3 {
		font-size: 1.5em;
	}
}

@media (max-width: 340px) {
	#scrolled h3 {
		font-size: 1.3em;
		margin-top: 0.2em;
	}
}



@media (min-width: 600px) {
	#logo.animated,
	#homenav,
	#footnavwrap,
	#dotleft,
	#dotright,
	#logo.double img,
	.twocol > div  {
		width: 50%;
		float: left;
	}
	#homenav {
		padding-top: 4em;
	}

	.twocol {
		overflow: hidden;
	}
	.twocol > div {
		padding-left: 3%;
	}

	.twocol > div:first-child {
		padding-left: 0;
		padding-right: 3%;
	}
	.narrow,
	.hfeed .hentry {
		margin-right: 20%;
	}


	.instagram-pics,
	.videos {
		margin: 0;
		padding-right: 6em;
	}

	#site-navigation {
		width: 60%;
	}
	.navexpanded #center,
	.navexpanded #fixed {
		transform: translateX(70%);
	}



	.site-title, 
	#homenav li {
		font-size: 5vw;
	}
	h1, #logo h2, #footernav li {
		font-size: 3.4vw;
	}

	h2, h3, h4, p, td, li, .entry-footer, .entry-meta, .post-navigation, label, input, select, button {
		font-size: 2em;
	}
	ul, ol {
		padding-left:2em;
	}

	#dotleft {
		background-position: left center;
	}
	#dotright {
		background-position: right center;
	}
	#logoall {
		width: 18em;
	}
	.menu-toggle {
		width: 3.5em;
		height: 3.5em;
		top: 0.4em;
	}
	#scrolled {
		padding: 1em 5em;
	}
	.mobno {
		display: block;	
	}
	.mobonly {
		display: none;	
	}

	#featured {
		width: 20em;
	}


	.site-title {
		text-align: right;
	}
	site-title span {
		padding-right: 2%;
	}
	.site-title span.gray{
		padding-right: 0;
		margin-left: 2%;
		float: right;
	}
	.site-title span.blue {
		clear: right;
	}
}
@media (min-width: 600px) and (max-width: 104px){
	#homenav ul {
		padding-left: 5%;
	}
	#homenav li {
		word-spacing: 5em;
	}
	#homenav .blue {
		text-indent: 8%;
	}
	#homenav .red {
		text-indent: 30%;
		text-align: left;
		padding-left: 14%;
	}

	#homenav .black {
		text-indent: 35%;
		text-align: left;
		padding-left: 21%;
		padding-right: 0;
	}
}

@media (min-width: 600px) and (orientation: portrait), (min-width: 1040px) and (min-height: 1280px)  {

	@keyframes scaledown {
		from { transform: scale(2); }
		to { transform: scale(1); }
	}

	@keyframes fadein {
		from { opacity: 0; }
		to { opacity: 1; }
	}

	#logo.animated {
		transform-origin: left top;
		animation: scaledown 1s 1 ease-in-out 0.5s both;
	}
	.home #homenav,
	.home #content {
		opacity: 0;
		animation: fadein 0.5s 1 ease-in-out 1.5s both;
	}
}


@media (min-width: 1040px) {
	#center, .home #center {
		padding-top: 7em /* space for fixed head element*/;
	}

	#logo.animated {
		padding-top: 2em;
	}
	#logo.animated,
	#homenav  {
		width: 45%;
		float: left;
	}
	#homenav  {
		width: 41.5%;
		margin-left: 1.5%;
		padding-right: 6em;
		padding-top: 5%;
	}

	#homenav li.blue {
		word-spacing: -0.5vw;
	}
	.site-title, 
	#homenav li {
		font-size: 3.2vw;
	}
	#logo.animated h2 {
		font-size: 3.2vw;
	}
	h1, #logo h2, #footernav li {
		font-size: 2vw;
	}



	h2, h3, h4, {
		font-size: 2em;
	}
	p, li, .entry-footer, .entry-meta, .post-navigation, label, input, select, button {
		font-size: 1.8em;
	}
	ul, ol {
		padding-left:2em;
	}
	.site-title{
		float: right;
		width: 41.5%;
		margin-right: 12%;
		padding-right: 60PX;
	}
	#logo.double {
		position: relative;
	}
	#logo.double img{
		width: 29%;
	}

	.menu-toggle {
		width: 4em;
		height: 4em;
	    top: 0.2em;
	}
	#scrolled {
		padding: 1em 6em;
		background-size: 59px 46px; /* because IE sucks at calculating background-size*/
		margin-right: 6.5%;

	}

	

	#featured {
		width: 27em;
	}

	#content {
		margin-right: 12%;
	}

	#dotleft,
	#footnavwrap {
		width: 100%;
		float: none;
	}
	.deskonly {
		display: block; /*ev "initial" - geht das ?*/
	}
	.deskno {
		display: none;
	}


/*
	.site-branding .site-title span {
		float: left;
		padding-right: 2%;
		margin-left: 0;
	}
	.site-branding .site-title span.red {
		float: right;
		padding-right: 0;
	}
*/

	.site-title {
		text-align: justify;
	}
	.site-branding .site-title span {
		display: inline;
		float: none;
		padding: 0;
		margin: 0;
	}
	.site-title .gray:before{
		content: "\A";
		white-space: pre; 
	}
	.site-branding .site-title span.green {
		padding-left: 12%;
	}
}


@media (min-width: 1280px) {
	.site-title, 
	#homenav li {
		font-size: 4.1em; /*  8.5em */
	}
	#logo.animated h2 {
		font-size: 4em;
	}
	h1, #logo h2, #footernav li {
		font-size: 2.5em;
	}
}





/*--------------------------------------------------------------
## Anpassungen Belleville Andreas Kohli
--------------------------------------------------------------*/

p {
    padding-bottom: 1em;
}

@media (max-width: 380px) {
		body.home article.type-page, .spaceafter {padding-bottom: 3em;}
}
	
@media (max-width: 340px) {
		body.home article.type-page, .spaceafter {padding-bottom: 3em;}
}

@media (min-width: 600px) {
		body.home article.type-page, .spaceafter {padding-bottom: 3em;}
}

@media (min-width: 600px) and (max-width: 104px){
		body.home article.type-page, .spaceafter {padding-bottom: 3em;}
		#site-navigation {width: 480px;}
}

@media (min-width: 600px) and (orientation: portrait), (min-width: 1040px) and (min-height: 1280px)  {
		body.home article.type-page, .spaceafter {padding-bottom: 3em;}
		#site-navigation {width: 480px;}
}

@media (min-width: 1040px) {
		.site-title {text-align: left;}
		.site-branding .site-title span.green {padding-left: 0;}
		#logo.animated, #homenav {width: 46%;}
		body.home article.type-page, .spaceafter {padding-bottom: 3em;}
		#site-navigation {width: 480px;}
}

@media (min-width: 1280px) {
		.site-title {text-align: left;}
		.site-branding .site-title span.green {padding-left: 0;}
		body.home article.type-page, .spaceafter {padding-bottom: 3em;}
		#site-navigation {width: 480px;}
}

