/*
Theme Name: ErfahrungsFabrik
Theme URI: http://www.suralin.de/
Author: suralin
Author URI: https://www.suralin.de/
Description: Simple Theme
Version: 0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: simple
Text Domain: ef
*/

/**
 * 1.0 - Reset
 *
 * Resetting and rebuilding styles have been helped along thanks to the fine work of
 * Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
 * along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
 * and Blueprint http://www.blueprintcss.org/
 */

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: #f1f1f1;
}

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:focus {
	outline: 2px solid #c1c1c1;
	outline: 2px solid rgba(51, 51, 51, 0.3);
}

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

a img {
	border: 0;
}

/*
a {
	text-decoration: underline;
}
*/

a:hover {
	text-decoration: none;
}

/**
 * 3.0 Typography
 */

body,
button,
input,
select,
textarea {
	color: #333;
	font-family: "Open Sans", sans-serif;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6; /* rem? */
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-weight: 700;
}
h1.title { clear: none; }

body.co h2 { clear: none; }

p.title a, h1.title a, h2 a {
	text-decoration: none;
}
p.title a:hover, h1.title a:hover, h2 a:hover {
	text-decoration: underline;
}

p {
	margin-bottom: 1.6em;
}
p.title {
	margin-bottom: 0;
}

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;
}

a {
	color: #00d;
}
a:visited {
	color: #55a;
}

small, .small {
	font-size: 80%;
	line-height: 120%;
}

/* Buttons */

button,
.button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background-color: #24890d;
	border: 0;
	border-radius: 2px;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 10px 30px 11px;
	text-transform: uppercase;
	vertical-align: bottom;
}

button:hover,
button:focus,
.button:hover,
.button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
	background-color: #41a62a;
	color: #fff;
}

button:active,
.button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	background-color: #55d737;
}


/* Genericons */

.bypostauthor > article .fn:before,
.comment-edit-link:before,
.comment-reply-link:before,
.comment-reply-login:before,
.comment-reply-title small a:before,
.contributor-posts-link:before,
.menu-toggle:before,
.search-toggle:before,
.slider-direction-nav a:before,
.widget_twentyfourteen_ephemera .widget-title:before {
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font: normal 16px/1 Genericons;
	text-decoration: inherit;
	vertical-align: text-bottom;
}

code {
  font: 1em 'Courier New',Courier,Fixed;
  display: block;
  overflow: auto;
  text-align: left;
  margin: 10px 0 10px 0;
  padding: 5px 10px 5px 10px;
  background: #D7E1FF;
  border-top: solid 1px #9DB7FF;
  border-bottom: solid 1px #9DB7FF;
}


/**
 * 4.0 Elements
 */

.entry-content ul {
	list-style-type: disc;
	list-style: square;
	list-style-type: circle;
}
.entry-content ol {
	list-style: decimal;
}
.entry-content ul, .entry-content ol {
	padding-left: 3em;
	padding-right: 1em;
	margin-bottom: 2em;
}
.entry-content ul li, .entry-content ol li {
	margin-bottom: 1em;
}

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

#primary {
/*	margin-right: 300px; */
	width: 670px;
	float: left;
}
body.single-format-image #primary, body.attachment #primary {
	width: 930px;
	width: 990px;
	width: 1000px;
	max-width: 100%;
}

#secondary {
	width: 320px;
/*	background-color: #ffe; */
}

#page {
	max-width: 990px;
	max-width: 1000px;
	margin: 0 auto;
	margin-bottom: 20px;
	background-color: #fff;
	box-shadow: 0px 0px 10px rgba(50, 50, 50, 0.17);
}

#main {
	background-color: #fff;
}

/**
 * 5.0 Navigation
 * -----------------------------------------------------------------------------
 */

.site-navigation ul {
	list-style: none;
	margin: 0;
/*	border-top: 1px solid rgba(100, 100, 100, 0.5); */
}


.site-navigation a {
	color: #000;
	display: block;
	text-transform: uppercase;
}

.site-navigation a:hover {
	color: #41a62a;
	color: #fff;
}

.site-navigation .current_page_item > a,
.site-navigation .current_page_ancestor > a,
.site-navigation .current-page-ancestor > a,
.site-navigation .current-menu-item > a,
.site-navigation .current-menu-ancestor > a {
	color: #55d737;
	color: #00d;
	color: #333;
/*	font-weight: 900; */
/*	text-decoration: none; */
}

/* Primary Navigation */

.primary-navigation {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
	font-size: 14px;
/*	padding-top: 24px; */
}

.primary-navigation.toggled-on {
	padding: 0;
}

.primary-navigation .nav-menu {
/*	border-bottom: 1px solid rgba(255, 255, 255, 0.2); */
	display: none;
	float: left;
}
.primary-navigation:after {
	content: '';
	display: block;
	clear: both;
}

.primary-navigation.toggled-on .nav-menu {
	display: block;
	float: none;
}

.primary-navigation.toggled-on li {
	background-color: #555;
}
.primary-navigation.toggled-on .nav-menu a {
	padding-left: 5%;
}

.primary-navigation.toggled-on a {
	padding: 7px 0;
	color: #fff;
	text-decoration: none;
}
.primary-navigation.toggled-on a:hover {
	text-decoration: underline;
	color: #eee;
}

.primary-navigation.toggled-on li a, .primary-navigation.toggled-on ul ul, 
.primary-navigation.toggled-on ul ul li {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
.site-navigation.toggled-on ul ul a {
	border: none;
}
.primary-navigation.toggled-on ul ul li {
	background-color: #666;
}
.primary-navigation.toggled-on li a:hover {
	background-color: #666;
}

.primary-navigation.toggled-on ul ul li:hover a {
	background-color: transparent;
}
.primary-navigation.toggled-on ul ul li:hover {
	background-color: #777;
}

.primary-navigation.toggled-on ul ul li {
	padding-left: 20px;
/*	border: none; */
}
.primary-navigation.toggled-on ul ul li:first-child {
	border-top: none;
}
.primary-navigation.toggled-on ul ul li:last-child {
	border-bottom: none;
}

div.side ul.nav-menu {
	float: right;
}
.primary-navigation.toggled-on div.side ul.nav-menu {
	float: none;
}


/* Secondary Navigation */

.secondary-navigation {
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	font-size: 12px;
	margin: 48px 0;
}

.secondary-navigation a {
	padding: 9px 0;
}

.menu-toggle {
	background-color: #000;
	border-radius: 0;
	cursor: pointer;
	height: 48px;
	margin: 0;
	overflow: hidden;
	padding: 0;
	position: absolute;
	top: 0;
	right: 0;
	text-align: center;
	width: 48px;
}

.menu-toggle:before {
	color: #fff;
	content: "\f419";
	padding: 16px;
}

.menu-toggle:active,
.menu-toggle:focus,
.menu-toggle:hover {
	background-color: #444;
}

.menu-toggle:focus {
	outline: 1px dotted;
}

/**
 * 7.0 Sidebars
 * -----------------------------------------------------------------------------
 */

/* Secondary */

#secondary {
/*	background-color: #000; */

/*	border-top: 1px solid #000; */
/* 	border-bottom: 1px solid rgba(255, 255, 255, 0.2); */
/*	clear: both; */
	color: rgba(255, 255, 255, 0.7);
	color: #555;
/*	margin-top: -1px; */
	padding: 0 0px;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	padding-right: 10px;

/*	margin-left: -300px; */
/*	position: relative; */
/*	z-index: 2; */
	float: left;
/*	margin-right: 10px; */
}

#secondary .widget {
	margin-top: 1em;
	margin-bottom: 1em;
	clear: both;
}
#secondary .widget.text li {
    display: block;
    overflow: hidden;
    list-style-type: none;
    padding-left: 10px;
    background: url(img/arrow.png) 0 5px no-repeat;
}
#secondary .head, #secondary h3 {
	font-weight: bold;
	display: block;
	margin-bottom: 0.5em;
}
#secondary ul.similar li {
	padding-bottom: 1em;
	line-height: 130%;
}
#secondary ul.similar li:after {
	content: '';
	display: block;
	clear: both;
}
#secondary ul.similar li img {
	margin-right: 0.5em;
}
#secondary ul.similar li a {
	text-decoration: none;
}
#secondary ul.similar li a span.title {
	font-weight: bold;
}
#secondary ul.similar li a:hover span.title {
	text-decoration: underline;
}
#secondary ul.similar li a span.description {
	font-size: 85%;
}
#secondary ul.similar li a:hover span.description {
	text-decoration: underline;
}


.site-description {
	display: none;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
}

/* Primary Sidebar */

.primary-sidebar {
	padding-top: 48px;
}

.secondary-navigation + .primary-sidebar {
	padding-top: 0;
}

/* Content Sidebar */

.content-sidebar {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
	color: #767676;
	padding: 48px 10px 0;
}

/**
* 6.x Comments
*/
#comments {
	padding: 0 5%;
}
h2.comments-title {
	margin-top: 1em;
	margin-bottom: 1em;
}

ol.comment-list {
/*	list-style-type: none; */
}
ol.comment-list {
/*	list-style-type: none; */
}
ol.children {
	margin-left: 2em;
}
li.comment, li.pingback {
	border-top: 1px solid #dcdcdc;
}
div.comment-body {
	padding-top: 1rem;
	margin-left: 75px;
}
div.comment-body p {
	font-size: 90%;
}
li.pingback div.comment-body {
	margin-left: 0;
}
.comment-author img.avatar {
	border-radius: 10%;
}
.comment-meta {
}
.comment-author {
	margin-left: -75px;
	float: left;
	margin-top: 5px;
}
.comment-body p {
	margin-bottom: 1.2em;
}
.comment-body:last-child {
	margin-bottom: 0.5em;
}
.comment-content {
	-webkit-hyphens: auto;
	-moz-hyphens:    auto;
	-ms-hyphens:     auto;
	hyphens:         auto;
	word-wrap: break-word;
}
.comment-form label {
	display: block;
}
.reply {
	font-size: 11px;
	font-size: 1.1rem;
	margin-bottom: 1em;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
	width: 60%;
}

.comment-form textarea {
	width: 100%;
}

#respond {
	margin-top: 1em;
}

.comment-meta-text cite.fn {
	font-style: normal;
	font-weight: bold;
	font-size: 14px;
	font-size: 1.4rem;
	line-height: 1.4rem;
}
.comment-meta-text cite.fn a {
	text-decoration: none;
}
.comment-meta-text cite.fn a:hover {
	text-decoration: underline;
}


#wp_page_numbers {
	margin: 10px;
	margin-left: 5%;
	clear: both;
}
#wp_page_numbers ul li {
	display: inline;
}
#wp_page_numbers li.page_info, #wp_page_numbers li.space {
	background-color: transparent;
}
#wp_page_numbers li.page_info, #wp_page_numbers li.first_last_page {
/*	margin-left: 1em; */
}

#wp_page_numbers li.page_info {
	margin-right: 0.5em;
}
#wp_page_numbers li a {
	line-height: 2;
	background-color: #eee;
	padding: 5px 12px;
}
#wp_page_numbers li a:hover {
	background-color: #ddd;
}
#wp_page_numbers li.active_page a {
	background-color: #666;
	color: #fff;
	text-decoration: none;
}


.nav-links {
	margin: 10px;
	margin-left: 5%;
	clear: both;
}
.page-numbers {
	line-height: 2;
	background-color: #eee;
	padding: 5px 12px;
}
a.page-numbers:hover {
	background-color: #ddd;
}
.page-numbers.dots {
	background-color: transparent;
	padding: 5px 0;
}
.page-numbers.current {
	background-color: #666;
	color: #fff;
}

div.navigation {
	padding: 0 5%;
	margin-top: 10px;
	font-size: 90%;
	line-height: 120%;
}

div.navigation:after {
	content: '';
	display: block;
	clear: both;
}
div.navigation .next { float: left; margin-bottom: 10px; }
div.navigation .prev { float: right; margin-bottom: 10px; }


/**
 * 7.0 Accessibility
 */

/* Text meant only for screen readers */
.says,
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
}

/* must have higher specificity than alternative color schemes inline styles */
.site .skip-link {
	background-color: #f1f1f1;
	box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.2);
	color: #21759b;
	display: block;
	font: bold 14px/normal "Noto Sans", sans-serif;
	left: -9999em;
	outline: none;
	padding: 15px 23px 14px;
	text-decoration: none;
	text-transform: none;
	top: -9999em;
}

.logged-in .site .skip-link {
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	font: bold 14px/normal "Open Sans", sans-serif;
}

.site .skip-link:focus {
	clip: auto;
	height: auto;
	left: 6px;
	top: 7px;
	width: auto;
	z-index: 100000;
}

/**
 * 8.0 Alignments
 */

.alignleft {
	display: inline;
	float: left;
}

.alignright {
	display: inline;
	float: right;
}

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


/**
 * 10.0 Header
 */

.site-header {
	background-color: #fff;
/*	border-bottom: 1px solid rgba(51, 51, 51, 0.1); */
	padding: 2.6923%;
	padding: 2.5%;
	padding-right: 10px;
	padding-top: 10px;
	padding-bottom: 0;
}

.site-brand {
	min-height: 2em;
/*	padding-right: 60px; */
	position: relative;
}
.site-brand p.title {
	font-weight: 700;
}


.site-title {
	font-family: "Open Sans", sans-serif;
	font-size: 22px;
	font-size: 2.2rem;
	font-weight: 700;
	line-height: 1.3636;
	margin-bottom: 0;
}

.site-description {
	display: none;
	font-family: "Open Sans", sans-serif;
	font-size: 12px;
	font-size: 1.2rem;
	font-weight: 400;
	line-height: 1.5;
	margin: 0.5em 0 0;
	opacity: 0.7;
}

/**
 * 12.0 Content
 */

.secondary {
	background-color: #fff;
	display: none;
	padding: 0 7.6923%;
}

.site-footer {
	background-color: #f1f1f1;
/*	border-top: 1px solid rgba(51, 51, 51, 0.1); */
	padding: 3.84615% 7.6923%;
	clear: both;
	text-align: center;
	color: #888;
}

/**
 * 12.1 Posts and pages
 */

.hentry {
/*	background-color: #fff; */
/*	padding-top: 7.6923%; */
	position: relative;
}

.hentry.has-post-thumbnail {
	padding-top: 0;
}


.entry-header {
	padding: 2em 7.6923%;
	padding: 2em 7.6923% 0;
	padding: 2em 5% 0;
}
body.single-format-image .entry-header {
	padding-top: 1em;
}

.entry-title {
	font-size: 26px;
	font-size: 2.6rem;
	line-height: 1.1538;
	margin-bottom: 0.5em;
}
.entry-content .attachment-thumbnail {
	float: right;
	margin-left: 10px;
	padding: 5px;
	background-color: #eee;
	border: 1px solid #ddd;
	width: 125px;
}
.entry-content .attachment-thumbnail:hover {
	background-color: #ddd;
}

.entry-content,
.entry-summary {
	padding: 0 7.6923% 7.6923%;
	padding: 0 5% 5%;
}
.entry-content > :last-child,
.entry-summary > :last-child {
	margin-bottom: 0;
}

.entry-content,
.entry-summary,
.page-content,
.comment-content {
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
	word-wrap: break-word;
}

.entry-content h1,
.entry-summary h1,
.page-content h1,
.comment-content h1 {
	font-size: 26px;
	font-size: 2.6rem;
	line-height: 1.1538;
	margin-top: 1.8462em;
	margin-bottom: 0.9231em;
}

.entry-content h2,
.entry-summary h2,
.page-content h2,
.comment-content h2 {
	font-size: 22px;
	font-size: 2.2rem;
	line-height: 1.3636;
	margin-top: 2.1818em;
	margin-top: 1.0909em;
	margin-bottom: 1.0909em;
}

.entry-content h3,
.entry-summary h3,
.page-content h3,
.comment-content h3 {
	font-size: 18px;
	font-size: 1.8rem;
	line-height: 1.3333;
	margin-bottom: 1.3333em;
	margin-bottom: 1.3333em;
}

.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-summary h4,
.entry-summary h5,
.entry-summary h6,
.page-content h4,
.page-content h5,
.page-content h6,
.comment-content h4,
.comment-content h5,
.comment-content h6 {
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.2;
	margin-top: 3.2em;
	margin-bottom: 1.6em;
}

.entry-content h5,
.entry-content h6,
.entry-summary h5,
.entry-summary h6,
.page-content h5,
.page-content h6,
.comment-content h5,
.comment-content h6 {
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.entry-content > h1:first-child,
.entry-content > h2:first-child,
.entry-content > h3:first-child,
.entry-content > h4:first-child,
.entry-content > h5:first-child,
.entry-content > h6:first-child,
.entry-summary > h1:first-child,
.entry-summary > h2:first-child,
.entry-summary > h3:first-child,
.entry-summary > h4:first-child,
.entry-summary > h5:first-child,
.entry-summary > h6:first-child,
.page-content > h1:first-child,
.page-content > h2:first-child,
.page-content > h3:first-child,
.page-content > h4:first-child,
.page-content > h5:first-child,
.page-content > h6:first-child,
.comment-content > h1:first-child,
.comment-content > h2:first-child,
.comment-content > h3:first-child,
.comment-content > h4:first-child,
.comment-content > h5:first-child,
.comment-content > h6:first-child {
	margin-top: 0;
}

.entry-footer {
	padding: 0px 5% 0px 5%;
}
.entry-footer:after {
	content: '';
	display: block;
	clear: both;
}


div.breadcrumb {
	background-color: #f5f5f5;
	color: #999;
	margin: 10px 5%;
	margin-top: 0px;
	padding: 4px;
	font-size: 90%;
/*	clear: both; */
}
div.breadcrumb:before {
	content: '';
	display: block;
	clear: both;
}
div.navigation:after {
	content: '';
	display: block;
	clear: both;
}

/**
 * 14.0 Media
 */

.site .avatar {
	border-radius: 50%;
}

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

audio,
canvas {
	display: inline-block;
}

embed,
iframe,
object,
video {
/*	margin-bottom: 1.6em; */
	max-width: 100%;
	vertical-align: middle;
}

p > embed,
p > iframe,
p > object,
p > video {
	margin-bottom: 0;
}


/**
 * 14.1 Captions
 */

.wp-caption {
	margin-bottom: 1.6em;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}
figure.wp-caption { margin: 0; }

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

.wp-caption-text {
	color: #707070;
	color: rgba(51, 51, 51, 0.7);
	font-family: "Noto Sans", sans-serif;
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1.5;
	padding: 0.5em 0;
}

.wp-caption.alignright {
	margin-left: 15px;
}
.wp-caption.alignleft {
	margin-right: 15px;
}

img.alignleft {
	margin-right: 15px;
}
img.alignright {
	margin-left: 15px;
}


/**
 * 14.2 Galleries
 */

 figure.gallery-item { margin: 0; }

.gallery {
	margin-bottom: 1.6em;
}

.gallery-item {
	display: inline-block;
	padding: 1.79104477%;
	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%;
}

.entry-content .gallery-icon .attachment-thumbnail {
	margin-left: 0;
	float: none;
}
.gallery-icon img {
	margin: 0 auto;
}
.gallery-icon:after {
	content: '';
	display: block;
	clear: both;
}


.gallery-caption {
	color: #707070;
	color: rgba(51, 51, 51, 0.7);
	display: block;
/*	font-family: "Noto Sans", sans-serif; */
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1.5;
	padding: 0.5em 0;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

body.category-bilder div.entry-content {
	width: 45%;
	float: left;
	margin-top: 2em;
	padding: 0;
}
body.category-bilder div.entry-content:nth-child(2n) {
	margin-left: 5%;
	margin-right: 5px;
	clear: both;
}
body.category-bilder div.entry-content img.attachment-thumbnail {
	width: auto;
	display: block;
	float: none;
	margin-left: 0;
}
body.category-bilder div.entry-content span.title {
	font-size: 90%;
	display: block;
	line-height: 120%;
	width: 90%;
}

img.wp-smiley,
img.emoji {
	display: inline !important;
	border: none !important;
	box-shadow: none !important;
	height: 1em !important;
	width: 1em !important;
	margin: 0 .07em !important;
	vertical-align: -0.1em !important;
	background: none !important;
	padding: 0 !important;
}

.plistaList { padding-bottom: 0.75em; line-height: 100%; }
.plista-advertise {  }
.plistaPowered {
/*	padding-top: 2em; */
}

div.shariff ul { padding-left: 0; margin-bottom: 0; }

.wp_syntax td.line_numbers pre {
  width: auto !important;
}

.cc_container { padding: 10px 30px 10px !important; }
.cc_container .cc_message {
	/*font-size: 1.1em !important; */
}

/*
site specific stuff
*/
.site-header.ck {
  background: url("/upload-ck/top-bg.gif") 0 0 repeat-x #248aff;
}
body.ck figure.wp-caption img, body.tt figure.wp-caption img {
  border: 1px solid #ccc;
}
body.ck figure.wp-caption img:hover, body.tt figure.wp-caption img:hover {
  border: 1px solid #aaa;
}
body.ck figure.wp-caption img.noborder, body.tt figure.wp-caption img.noborder {
  border: none;
}

.site-header.tt {
	background: rgb(16,100,157) url(/upload-tt/bg_header_shadow.gif) repeat-x 0 bottom;
	border-top: #0084C1 1px solid;
}
.site-header.tt .primary-navigation {
	background-color: #10649d;
	background-color: #0e5889;
}

.site-header.hp {
/*  background: url("/upload-hp/hphg.png") 0 0 repeat-x #465C36; */
}
.site-header.hp .primary-navigation, .site-header.db .primary-navigation {
	border-top: 1px solid #ccc;
}

.site-header.tp {
  background: #fff url("/upload-tp/2015/11/templiner-head.jpg") no-repeat 0 -40px;
/*  min-height: 220px; */
}
header.tp .site-brand {
	min-height: 165px;
	min-height: 123px;
}
header.tp .site-brand, header.tp .site-brand a {
	color: #fff;
    text-shadow: 1px 1px 1px #000;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

@media screen and (min-width: 55em) {
	body.tp .primary-navigation li {
/*		height: 32px;
		line-height: 32px; */
	}
	body.tp .primary-navigation  {
		background-color: transparent;
	}

	body.tp .primary-navigation li:hover > a {
 		border-top: 4px solid #060;
	}

}


.hp #secondary a { color: #666; }
.hp #secondary a:hover { color: #79862E; }
.hp #secondary h3 { text-transform: uppercase; }

.ad-468 {
	position: relative;
	margin-top: ;
	margin-left: 5%; 
	margin-right: 5%; 
	margin-top: 25px; 
	padding-bottom: 0.25em;
	border-bottom: 1px dotted #ddd;
}
.footerad::after, .ad-468::after {
	position: absolute;
	bottom: 0;
	right: 0;
	margin-bottom: -1.6em;
	content: 'anzeigen';
	font-size: 75%;
	color: #ddd;
	text-transform: uppercase;
}

.footerad {
	position: relative;
	clear: both;
	margin-bottom: 1.5em;
	margin-left: 3.35%;
	margin-right: 3.35%; 
	max-width: 728px;
	padding-bottom: 0.25em;
	border-bottom: 1px dotted #ddd;
}

/**
 * 15.0 Media Queries
 */

/*
 * Does the same thing as <meta name="viewport" content="width=device-width">,
 * but in the future W3C standard way. -ms- prefix is required for IE10+ to
 * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
 * the meta tag. See https://core.trac.wordpress.org/ticket/25888.
 */
@-ms-viewport {
	width: device-width;
}

@viewport {
	width: device-width;
}

@media screen and (max-width: 1010px) {
    
    #primary {
    	width: 57%;
    	width: calc(100% - 321px);
    }
    #secondary {float: right;}
}

@media screen and (max-width: 47.7em) {
	.topad { display: none; }
    
    #primary {
    	width: 100%;
    }
    #secondary {
    	width: 100%;
    	float: left;
    	padding: 5%;
    	padding-top: 0;
    }

   	.site-header {
		padding: 0;
	}
	.site-brand {
		padding: 0.5em 5%;
	}
	p.description {
		margin-bottom: 0;
	}


}



/**
 * 15.1 Mobile Large 620px
 */


/**
 * 15.2 Tablet Small 740px
 */
@media screen and (min-width: 46.25em) {
		body.category-bilder div.entry-content {
		width: 45%;
		float: left;
		margin-top: 2em;
		padding: 0;
	}

}

/**
 * 15.3 Tablet Large 880px
 */
@media screen and (min-width: 55em) {
	.search-toggle {
		margin-right: 0;
	}

	body.category-bilder div.entry-content {
		width: 30%;
		float: left;
		margin-top: 2em;
		padding: 0;
	}
	body.category-bilder div.entry-content:nth-child(2n) {
		margin-left: 0;
		clear: none;
	}

	body.category-bilder div.entry-content:nth-child(3n-1) {
		margin-left: 5%;
		clear: both;
	}
	body.category-bilder div.entry-content img.attachment-thumbnail {
		width: auto;
		display: block;
		float: none;
		margin-left: 0;
	}
	body.category-bilder div.entry-content span.title {
		font-size: 90%;
		display: block;
		line-height: 120%;
		width: 90%;
	}

	/* Primary Navigation */

	.primary-navigation {
		/*float: right; */
		clear: both;
/*		font-size: 11px; */
		margin: 10px -10px 0 -2.55%;
		padding: 0;
		text-transform: uppercase;
	}

	.primary-navigation .menu-toggle {
		display: none;
		padding: 0;
	}

	.primary-navigation .nav-menu {
		font-size: 0; /* https://css-tricks.com/fighting-the-space-between-inline-block-elements/border-bottom-right-radius: */
		border-bottom: 0;
		display: block;
	}

	.primary-navigation.toggled-on {
		border-bottom: 0;
		margin: 0;
		padding: 0;
	}

.primary-navigation #menu-hauptmenue.nav-menu {
	margin-left: 33px;
}
.primary-navigation #menu-topmenue.nav-menu {
	margin-right: 20px;
}

	.primary-navigation li {
		border: 0;
		display: inline-block;
		height: 38px;
		line-height: 34px;
		position: relative;
		margin: 0;
		padding: 0;

/*		border-top: 4px solid transparent; */
	}
	.primary-navigation li:hover a {
		text-decoration: underline;
	}
	.primary-navigation ul ul li, .primary-navigation ul ul li:hover {
		border-top: none;
	}
	.primary-navigation ul li:hover ul li a {
		text-decoration: none;
	}
	.primary-navigation ul li:hover ul li:hover a {
		text-decoration: underline;
	}


	.primary-navigation a {
		font-size: 12px;
		font-size: 1.2rem;
		font-weight: bold;
		display: inline-block;
		padding: 0 12px;
		white-space: nowrap;
		color: #333;
/*		margin-right: -2px; */
/*		float: left; */
		border-top: 4px solid transparent;
		text-decoration: none;
	}

/**/
	.primary-navigation {
/*		background-color: #d8d; */
		background-color: #ddd;
/*		border-top: 1px solid #bbb; */
		border-bottom: 1px solid #bbb;
	}

	.primary-navigation li:first-child {
		border-left: 1px solid #bbb;
	}
	.primary-navigation ul ul li:first-child {
		border-left: none;
	}

/*
	.primary-navigation a {
		background-color: #dfd;
		background-color: #eee;
		border-right: 1px solid #bbb;
	} */
	.primary-navigation li {
		background-color: #dfd;
		background-color: #eee;
		border-right: 1px solid #bbb;
	}
/*	.primary-navigation li a {
 		border-top: 4px solid transprarent;
	} */
	.primary-navigation ul ul a, .primary-navigation ul ul a:hover {
		border: none;
	}

	.primary-navigation ul ul {
		border: 1px solid #bbb;
		border-bottom-left-radius: 4px;
		border-bottom-right-radius: 4px;
	}
	.primary-navigation ul ul li:first-child a {
		border: none;
	}
	.primary-navigation ul ul li:last-child a {
		border-bottom-left-radius: 4px;
		border-bottom-right-radius: 4px;
	}

/**/

	.primary-navigation ul ul {
		background-color: #24890d;
		background-color: #bbb;
		float: left;
		margin: 0;
		margin-left: -1px;
		position: absolute;
		top: 38px;
		left: -999em;
		z-index: 99999;
		display: none;
	}
	.primary-navigation ul li:hover ul {
		display: block;
	}

	.primary-navigation li li {
		border: 0;
		display: block;
		height: auto;
		line-height: 1.0909090909;
	}

	.primary-navigation ul ul ul {
		left: -999em;
		top: 0;
	}


	.primary-navigation ul ul li {
		background-color: #eee; /* menu hover */
	}
	.primary-navigation ul ul a {
		padding: 13px 12px;
		white-space: normal;
		width: 176px;
/*		background-color: #eee; */ /* menu hover */
 		text-decoration: none;
	}

	.primary-navigation li:hover > a,
	.primary-navigation li:focus > a {
		background-color: #24890d;
		background-color: #aaa; /* menu hover */ 

		-webkit-transition: border-top 300ms cubic-bezier(0.5,0,.5,1);
    	transition: border-top 300ms cubic-bezier(0.5,0,.5,1);
 		border-top: 4px solid red;
 		border-top: 4px solid #ccc;

		color: #fff;
	}

	.primary-navigation ul ul li:hover,
	.primary-navigation ul ul li:focus {
		background-color: #41a62a;
		background-color: #aaa;
	}

	.primary-navigation ul li:hover > ul,
	.primary-navigation ul li:focus > ul {
		left: auto;
	}

	.primary-navigation ul ul li:hover > ul,
	.primary-navigation ul ul li:focus > ul {
		left: 100%;
	}

	.site-navigation .current-menu-item > a,
	.primary-navigation li.current-post-ancestor a, .primary-navigation li.current-post-parent a,
	.primary-navigation li.current_page_item a, .primary-navigation li.current-menu-ancestor a,
	.primary-navigation li.current-menu-parent a, .primary-navigation li.current_page_parent a,
	.primary-navigation li.current_page_ancestor a {
		text-decoration: underline;
	}
	/* Navigation */
	.site-navigation li .current_page_item > a,
	.site-navigation li .current_page_ancestor > a,
	.site-navigation li .current-menu-item > a,
	.site-navigation li .current-menu-ancestor > a {
		color: #999;
		text-decoration: underline;
	}
	.site-navigation li .current_page_item > a:hover,
	.site-navigation li .current_page_ancestor > a:hover,
	.site-navigation li .current-menu-item > a:hover,
	.site-navigation li .current-menu-ancestor > a:hover {
		color: #fff;
		text-decoration: underline;
	}

	.primary-navigation .menu-item-has-children > a,
	.primary-navigation .page_item_has_children > a {
		padding-right: 26px;
	}

	.primary-navigation .menu-item-has-children > a:after,
	.primary-navigation .page_item_has_children > a:after {
		-webkit-font-smoothing: antialiased;
		content: "\f502";
		display: inline-block;
		font: normal 8px/1 Genericons;
		position: absolute;
		right: 12px;
		top: 17px;
		vertical-align: text-bottom;
	}

	.primary-navigation li .menu-item-has-children > a,
	.primary-navigation li .page_item_has_children > a {
		padding-right: 20px;
		width: 168px;
	}

	.primary-navigation .menu-item-has-children li.menu-item-has-children > a:after,
	.primary-navigation .menu-item-has-children li.page_item_has_children > a:after,
	.primary-navigation .page_item_has_children li.menu-item-has-children > a:after,
	.primary-navigation .page_item_has_children li.page_item_has_children > a:after {
		content: "\f501";
		right: 8px;
		top: 20px;
	}


/*.site-header.hp .site-brand { margin-left: -10px; } */

}

/**
 * 15.4 Desktop Small 955px
 */
@media screen and (min-width: 59.6875em) {
}

/**
 * 15.5 Desktop Medium 1100px
 */
@media screen and (min-width: 68.75em) {
}
/**
 * 15.6 Desktop Large 1240px
 */

@media screen and (min-width: 77.5em) {
}

/**
 * 16.0 Print
 */

@media print {
	body {
		background: none !important; /* Brute force since user agents all print differently. */
		font-size: 11.25pt;
	}

	.secondary-toggle,
	.navigation,
	.page-links,
	.edit-link,
	#reply-title,
	.comment-form,
	.comment-edit-link,
	.comment-list .reply a,
	button,
	input,
	textarea,
	select {
		display: none;
	}

	.site-header,
	.site-footer,
	.hentry,
	.entry-footer,
	.page-header,
	.page-content,
	.comments-area {
		background: none !important; /* Make sure color schemes dont't affect to print */
	}

	body,
	blockquote,
	blockquote cite,
	blockquote small,
	label,
	a,
	.site-title a,
	.site-description,
	.post-title,
	.author-heading,
	.entry-footer,
	.entry-footer a,
	.taxonomy-description,
	.entry-caption,
	.comment-author,
	.comment-metadata,
	.comment-metadata a,
	.comment-notes,
	.comment-awaiting-moderation,
	.no-comments,
	.site-info,
	.site-info a,
	.wp-caption-text,
	.gallery-caption {
		color: #000 !important; /* Make sure color schemes don't affect to print */
	}
}