/*
Theme Name: RotesCMS 2018
Author: Mathias Greiner | Agentur Medienlabor
Author URI: http://www.agentur-medienlabor.de
Description: SPD Brandenburg Theme
Version: 1.0.22
Text Domain: spdbrb2018

*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Normalize
2.0 Accessibility
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 Normalize
Styles based on Normalize v5.0.0 @link https://github.com/necolas/normalize.css
--------------------------------------------------------------*/

html {
  font-family: sans-serif;
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

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

figcaption,
figure,
main {
  display: block;
}

figure {
  margin: 1em 0;
}

hr {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

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

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

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

abbr[title] {
  border-bottom: 1px #767676 dotted;
  text-decoration: none;
}

b,
strong {
  font-weight: inherit;
}

b,
strong {
  font-weight: 700;
}

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

dfn {
  font-style: italic;
}

mark {
  background-color: #eee;
  color: #222;
}

small {
  font-size: 80%;
}

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

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

audio,
video {
  display: inline-block;
}

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

img {
  border-style: none;
}

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

button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

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

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

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

legend {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  display: inline-block;
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
}

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

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

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

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details,
menu {
  display: block;
}

summary {
  display: list-item;
}

canvas {
  display: inline-block;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

/*--------------------------------------------------------------
2.0 Accessibility
--------------------------------------------------------------*/

/* Text meant only for screen readers. */

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  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;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  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: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
}

/*--------------------------------------------------------------
3.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;
}

/*--------------------------------------------------------------
4.0 Clearings
--------------------------------------------------------------*/

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.entry-footer:before,
.entry-footer:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after,
.pagination:before,
.pagination:after,
.widget-area:before,
.widget-area:after,
.widget:before,
.widget:after,
#page-nav-wrapper:before,
#page-nav-wrapper:after,
.content-wrap:before,
.content-wrapafter {
  content: "";
  display: table;
  table-layout: fixed;
}

.clear:after,
.entry-content:after,
.entry-footer:after,
.site-header:after,
.site-content:after,
.site-footer:after,
.pagination:after,
.widget-area:after,
.widget:after,
#page-nav-wrapper:after,
.content-wrap:after {
  clear: both;
}

/*--------------------------------------------------------------
5.0 Typography
--------------------------------------------------------------*/

body,
button,
input,
select,
textarea {
  color: #333;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  line-height: 1.4;
  margin: 0 0 0.75em;
  padding: 1rem 0 0;
  font-weight: 400;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
  padding-top: 0;
}

h1, h2 {
  font-size: 30px;
  font-size: 1.875rem;
}

h3, h4,
.home.blog .entry-title {
  font-size: 22px;
  font-size: 1.375rem;
}


h5, h6  {
  font-size: 18px;
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
}

p {
  margin: 0 0 1.5em;
  padding: 0;
}

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

blockquote {
  color: #666;
  font-size: 18px;
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.7;
  margin: 0;
  overflow: hidden;
  padding: 0;
}

blockquote cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  margin-top: 0.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: #eee;
  text-decoration: none;
}

big {
  font-size: 125%;
}

blockquote {
  quotes: "" "";
}

q {
  quotes: "“" "”" "‘" "’";
}

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

:focus {
  outline: none;
}



/*--------------------------------------------------------------
6.0 Forms
--------------------------------------------------------------*/

label {
  color: #333;
  display: block;
  font-weight: 800;
  margin-bottom: 0.5em;
}

fieldset {
  margin-bottom: 1em;
}

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: #707070;
  background: #f7f7f7;
  background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
  -webkit-border-radius: 0px;
  border-radius: 0;
  border: 1px solid #eaeaea;
  display: block;
  padding: 0.7em;
  width: 100%;
  margin-bottom: 0.7em;
}

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: #000;
  border-color: #333;
  background-color: #fff;
}

select {
  border: 1px solid #eaeaea;
  -webkit-border-radius: 0px;
  border-radius: 0px;
  height: 3em;
  max-width: 100%;
}

input[type="radio"],
input[type="checkbox"] {
  margin-right: 0.5em;
}

input[type="radio"] + label,
input[type="checkbox"] + label {
  font-weight: 400;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
  background-color: #81b1e5;
  border: 0;
  -webkit-border-radius: 0px;
  border-radius: 0px;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.75em 2em;
  text-shadow: none;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
}

button.secondary,
input[type="reset"],
input[type="button"].secondary,
input[type="reset"].secondary,
input[type="submit"].secondary {
  background-color: #ddd;
  color: #999;
}

button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
  background: #767676;
}

button.secondary:hover,
button.secondary:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="button"].secondary:hover,
input[type="button"].secondary:focus,
input[type="reset"].secondary:hover,
input[type="reset"].secondary:focus,
input[type="submit"].secondary:hover,
input[type="submit"].secondary:focus {
  background: #bbb;
}

/* Placeholder text color -- selectors need to be separate to work. */
::-webkit-input-placeholder {
  color: #333;
  font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
}

:-moz-placeholder {
  color: #333;
  font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
}

::-moz-placeholder {
  color: #333;
  font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
  opacity: 1;
  /* Since FF19 lowers the opacity of the placeholder by default */
}

:-ms-input-placeholder {
  color: #333;
  font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
}

/*--------------------------------------------------------------
7.0 Formatting
--------------------------------------------------------------*/

hr {
  background-color: #bbb;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
8.0 Lists
--------------------------------------------------------------*/

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

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

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

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/*--------------------------------------------------------------
9.0 Tables
--------------------------------------------------------------*/

table {
  border-collapse: collapse;
  margin: 0 0 1.5em;
  width: 100%;
}

thead th {
  border-bottom: 2px solid #bbb;
  padding-bottom: 0.5em;
}

th {
  padding: 0.4em;
  text-align: left;
}

tr {
  border-bottom: 1px solid #eee;
}

td {
  padding: 0.4em;
}

th:first-child,
td:first-child {
  padding-left: 0;
}

th:last-child,
td:last-child {
  padding-right: 0;
}

/*--------------------------------------------------------------
10.0 Links
--------------------------------------------------------------*/


a {
  color: #005db4;
  text-decoration: none;
  transition: 300ms linear all;
}
a:hover,
a:focus,
a:active {
  color: #81b1e5;
  text-decoration: underline;
  transition: 300ms linear all;
}
a.more-link {
  color: #333;
  font-style: italic;
  border-bottom: 3px solid #f09d2d;
  display: inline-block;
  padding-bottom: 5px;
}
a.more-link:hover,
a.more-link:focus {
  color: #005db4;
  border-bottom: 3px solid #005db4;
  text-decoration: none;
}
.edit-link {
  display: block;
  margin: 20px 0 0;
}






/*--------------------------------------------------------------
11.0 Navigation
--------------------------------------------------------------*/
ul.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 400;
}
ul.menu a {
  text-transform: uppercase;
  color: #000;
}
#top-nav {
  float: right;
}
#top-nav ul li {
  display: inline-block;
  text-transform: uppercase;
  margin-left: 20px;
}

#header-wrapper {
  box-shadow: 0 0 20px rgba(100,100,100,0.1)
}
#page-nav .menu-toggle {
  display: none;
  font-size: 36px;
  padding: 0 ;
  background: none;
  color: #054793;
  cursor: pointer;
  margin: 0;
}
#page-nav .menu-toggle span {
  display: none;
}
#page-nav .menu-toggle:before {
  display: block;
  font-family: 'FontAwesome';
  content: '\f0c9';
}
#page-nav .menu-toggle:hover,
#page-nav .menu-toggle:active {
  color: #4cbce4;
}
#page-nav .menu-toggle.toggle-up:before {
  content: '\f00d';
}
#page-nav > div[class$="-container"] {
  float: left;
}
#page-nav ul.nav-menu {
  padding: 0;
  clear: both;
  list-style: none;
}
#page-nav ul.nav-menu li {
  display: inline-block;
  margin-right: 20px;
}
#page-nav ul.nav-menu li.menu-item-has-children:after {
  display: block;
  float: right;
  content: '\f078';
  font-family: "FontAwesome";
  font-size: 12px;
  padding-left: 10px;
  margin-top: 16px;
}
#page-nav ul.nav-menu li a {
  font-size: 18px;
  line-height: 50px;
  color: #000;
}
#page-nav ul.nav-menu li:hover,
#page-nav ul.nav-menu li a:hover,
#page-nav ul.nav-menu li a:focus {
  text-decoration: none;
  color: #81b1e5;
}
#page-nav ul.nav-menu ul {
  position: absolute;
  left: -9999px;
  margin: 0;
  padding: 0;
}
#page-nav ul.nav-menu > li:hover > ul {
  left: auto;
  z-index: 1000;
}
#page-nav ul.nav-menu ul > li.menu-item-has-children:after {
  position: absolute;
  top: 0;
  right: 20px;
  color: #fff;
  content: '\f105';
}
#page-nav ul.nav-menu ul > li:hover > ul {
  left: auto;
  top: auto;
  margin-top: -47px;
  margin-left: 280px;
  z-index: 1000;
}
#page-nav ul.sub-menu {
  width: 280px;
  background: #005db4;
  background: rgba(0, 93, 180, 0.8);
  padding: 5px 0 0;
}

#page-nav ul.sub-menu li {
  display: block;
  margin: 0;
  position: relative;
}
#page-nav ul.sub-menu li a {
  display: block;
  color: #fff;
  padding: 10px 20px;
  text-align: left;
  line-height: 27px;
}
#page-nav ul.sub-menu li:hover,
#page-nav ul.sub-menu li a:hover,
#page-nav ul.sub-menu li a:focus {
  background: #81b1e5;
  color: #fff;
}
#page-nav-wrapper.is-fixed {
  position: fixed;
  width: 100%;
  z-index: 1000;
  left: 0;
  top: 0;
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid #ddd;
}
span.show-menu-childs {
  display: none;
}



/*--------------------------------------------------------------
12.0 Layout
--------------------------------------------------------------*/

html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

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

body {
  background: #fff;
}

#page {

}

.content-wrap {
  clear: both;
  padding: 60px 0;
}
.line {
  clear: both;
  height: 200px;
  width: 100%;
  background: #f7f7f7;
}



.col-12 {
  width: 100%;
  float: none;
}

.col-8 {
  width: 66.101694915%;
  float: left;
}
.col-4 {
  width: 32.203389831%;
  float: left;
}
.col-5 {
  width: 50%;
  float: left;
}
.col-margin {
  margin-right: 1.6949152542%;
}
.col-padding {
  padding: 30px;
}
.page-center {
  width: 96%;
  max-width: 1180px;
  margin: 0 auto;
}

#frontpage-content-wrapper {
  background: #f7f7f7;
  padding: 60px 0 0;
  overflow: hidden;
  clear: both;
}
#frontpage-content {
  background: #fff;
  margin-bottom: 60px;
  box-shadow: 0 0 30px rgba(0,0,0,0.1);
  overflow: hidden;

}
#frontpage-post-image img,
.info-content img {
  height: 100%;
  width: 100%;
  left: 0;
  bottom: 0;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
}
#frontpage-post-image {
  background-color: #f7f7f7;
}


.coverimage-container {
  background-size: cover !important;
  background-position: center center !important;
}


.flex-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
}
.flex-cell {
  -webkit-column-break-inside: avoid;
  column-break-inside: avoid;
  display: inline-block;
  position: relative;
}

.facebook-container {
  background: #eee;
  width: 100%;
  text-align: center;
}


/*--------------------------------------------------------------
12.1 Header
--------------------------------------------------------------*/

#site-header {
  height: 150px;
  padding: 10px 0;
  position: relative;
  z-index: 10;
}
.site-claim {
  position: absolute;
  bottom: 15px;
  left: 0;
  text-transform: uppercase;
  font-size: 30px;
  color: #005db4;
  font-weight: 400;
  width: 100%;
}
.site-claim .site-name,
.site-claim .site-description {
  display: block;
}
.site-claim .site-description {
  width: 45%;
}
.site-claim .site-description.count25 {
  font-size: 18px;
}
.site-claim .site-description.count50 {
  font-size: 12px;
}
.site-logo {
  margin: 20px auto;
  width: 100px;
  height: 100px;
  position: relative;
  z-index: 100;
}
.einbrandenburg .site-logo {
  width: 190px;
  height: 100px;
}
#header-image {
  height: 100vh;
  background-color: #ddd;
  color: #fff;
  position: relative;
}
#header-image img,
.post-thumbnail-banner img {
  height: 100%;
  left: 0;
  -o-object-fit: cover;
  object-fit: cover;
  bottom: 0;
  width: 100%;
}
.post-thumbnail-banner {
  clear: both;
  height: 30vh;
  overflow: hidden;
}

.header-image-content {
  position: absolute;
  bottom: 100px;
  width: 100%;
  text-shadow: 0 0 20px rgba(0,0,0,1);
}
.header-image-content h2 {
  text-transform: uppercase;
  font-size: 50px;
  font-size: 3.125rem;
}
.header-image-content {
  color: #fff;
  font-size: 24px;
  font-size: 1.5rem;
}

#site-social {
  margin-top: 10px;
  float: right;
}
#site-social ul li {
  display: inline-block;
  margin-left: 5px;
}
#site-social ul li a {
  font-size: 20px;
  color: #054793;
}
#site-social ul li a:hover,
#site-social ul li a:focus {
  color: #4cbce4;
}

/*--------------------------------------------------------------
12.2 Front Page
--------------------------------------------------------------*/

.content-wrap article {
  margin-bottom: 30px;
  clear: both;
}
.blog .content-wrap article .post-thumbnail,
.archive .content-wrap article .post-thumbnail {
  display: block;
  width: 33.33333%;
  margin: 0 20px 20px 0;
  float: left;
}
.content-wrap article .entry-title {
  clear: none;
}
.content-wrap article .date,
.content-wrap article .date {
  color: #81b1e5;
  margin-bottom: 0.5em;
}


/*--------------------------------------------------------------
12.3 Regular Content
--------------------------------------------------------------*/
#special-post-content {
  margin-bottom: 60px;
}
#special-post-content .special-post-content-post{
  float: left;
  background: #fff;
  box-shadow: 0 0 30px rgba(0,0,0,0.1);
}
.special-post-content-cols-2  .special-post-content-post {
  width: 49.1525423729%;
  margin-right: 1.6949152542%;
}
.special-post-content-cols-3  .special-post-content-post {
  width: 32.203389831%;
  margin-right: 1.6949152542%;
}
#special-post-content .special-post-content-post:last-of-type {
  margin-right: 0;
}
#special-post-content .special-post-content-post img {
  margin-bottom: 25px;
}
#special-post-content .special-post-entry {
  padding: 0 30px 30px;
}

.content-wrap li {
  margin-left: 1.5em;
}
.post-thumbnail {
  margin-bottom: 1em;
}

.pagination {
  margin-bottom: 1.5em;
}


/*--------------------------------------------------------------
12.4 Posts
--------------------------------------------------------------*/
#all-posts {
  width: 280px;
  display: inline-block;
  text-align: center
}

#all-events {
  width: 100%;
  display: inline-block;
  text-align: center
}

.archive article,
.category article {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}
.archive article:last-of-type,
.category article:last-of-type {
  border: none;
}
.posted-on, .updated-on {
  display: block;
  font-style: italic;
  margin: -1em 0 1em;
  color: #81b1e5;
}





/*--------------------------------------------------------------
12.4 Person
--------------------------------------------------------------*/
.post-type-archive-person #main,
.tax-person_categories #main {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
}
.post-type-archive-person article.person,
.tax-person_categories article.person {
  width: 31.6239316239%;
  margin-right: 2.5641025641%;
  padding: 20px;
  float: left;
  clear: none;
  background: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  column-break-inside: avoid;
  display: inline-block;
  position: relative;
}
.post-type-archive-person article.person:nth-child(3n),
.tax-person_categories article.person:nth-child(3n) {
  margin-right: 0;
}
.post-type-archive-person article.person .post-thumbnail,
.tax-person_categories article.person .post-thumbnail {
  width: auto;
  margin: -20px -20px 20px;
}


article.person .person-meta {
  position: relative;
  padding-left: 30px;
  word-wrap: break-word;
}
article.person .person-meta:before {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  font-family: 'FontAwesome';
  color: #888;
}
article .person-phone:before { content: '\f095'; }
article .person-fax:before { content: '\f1ac'; }
article .person-mail:before { content: '\f003'; }
article .person-website:before { content: '\f0ac'; }
article .person-facebook:before { content: '\f09a'; }
article .person-twitter:before { content: '\f099'; }



.content-submenu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
/*  justify-content: center;
  align-items:center;*/
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
}
.content-submenu .content-submenu-item {
  width: 48.3050847458%;
  margin: 0 1.6949152542% 20px 0;
  column-break-inside: avoid;
  display: inline-block;
  position: relative;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  transition: 300ms linear all;
}
.content-submenu-item a {
  display: block;
  padding: 40px 15px;
  text-decoration: none !important;
  text-align: center;
  font-size: 30px;

  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
.content-submenu-item:hover,
.content-submenu-item:focus {
  background-color: #e2ebf8;
  transition: 300ms linear all;
}
.content-submenu-image {
  background: #fff center center;
  background-size: cover;
}
.content-submenu-image a {
  color: #fff;
  text-shadow: 0 0 5px rgba(0, 0, 0, 1), 0 0 20px rgba(0, 0, 0, 1);
}
.content-submenu-image a:hover,
.content-submenu-image a:focus {
  color: #000;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.75), 0 0 20px rgba(255, 255, 255, 1);
}



/*--------------------------------------------------------------
12.5 Pages
--------------------------------------------------------------*/


/*--------------------------------------------------------------
12.6 Footer
--------------------------------------------------------------*/

#site-footer-wrapper {
  border-top: 160px solid #005db4;
  clear: both;
}
.einbrandenburg #site-footer-wrapper {
  border-top-color: #f76d61;
}
#site-footer {
  padding: 30px 0;
  position: relative;
  overflow: hidden;
}

.site-claim-footer {
  text-align: center;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 27px;
  color: #005db4;
  font-weight: 400;
}

.site-logo-footer {
  width: 50px;
  height: 50px;
}
.einbrandenburg .site-logo-footer {
  width: 95px;
  height: 50px;
}

.info-content-wrapper {
  background: #81b1e5;
  padding: 60px 0;
  overflow: hidden;
  clear: both;
}
.einbrandenburg .info-content-wrapper {
  background: #fbb6b0;
}
.info-content-wrapper ~ .info-content-wrapper {
  padding-top: 0;
}
.info-content {
  background: #fff;
  box-shadow: 0 0 30px rgba(0,0,0,0.1);
  overflow: hidden;
}

#footer-nav {
  float: left;
}
#bottom-nav {
  float: right;
}
#footer-nav ul li {
  display: inline-block;
  margin-right: 10px;
}
#bottom-nav ul li {
  display: inline-block;
  margin-left: 10px;
}

#back-to-top {
  position: absolute;
  top: 30px;
  right: 0;
  width: 30px;
  height: 30px;
  cursor: pointer;
  color: #005db4;
  transition: 300ms linear all;
}
#back-to-top:hover {
  color: #81b1e5;
  transition: 300ms linear all;
}
#back-to-top:after {
  content: "\f077";
  font-family: "FontAwesome";
  display: block;
  width: 30px;
  font-size: 30px;
  line-height: 30px;
  text-align: right;
}



/*--------------------------------------------------------------
12.7 Search
--------------------------------------------------------------*/
#main #searchform #s {
  width: 74%;
  float: left;
}
.widget-area #searchsubmit,
#main #searchform #searchsubmit {
  width: 24%;
  float: right;
  font-size: 16px;
  font-size: 1rem;
  padding: 0.7em;
  border: 1px solid #81b1e5;
}


/*--------------------------------------------------------------
12.8 Events Manager
--------------------------------------------------------------*/
.em-search-wrapper {
  display: none;
}
.widget_em_widget ul li {
  margin: 0 0 10px !important;
}
.widget_em_widget ul li a {
  display: block !important;
}
.css-events-list td {
  padding: 10px 10px 10px 0 !important;
  vertical-align: top !important;
}
.css-events-list td a {
  text-decoration: none !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}
.css-events-list td span.date,
.css-events-list td span.time{
  display: block !important;
  line-height: 1.5 !important;
}
.css-events-list td span.date {
  color: #999 !important;
  font-weight: normal !important;
}
.css-events-list .em-pagination a {
  text-decoration: none !important;

}
.css-events-list .em-pagination .page-numbers {
  padding-right: 5px !important;
}

.widget_em_widget ul,
.widget_em_rotescms_widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.widget_em_widget ul li,
.widget_em_rotescms_widget ul li {
  margin-left: 0;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #eee;
}
.widget_em_widget ul li:last-of-type,
.widget_em_rotescms_widget ul li:last-of-type {
  border-bottom: none;
}

.css-events-list table.events-table th.event-description {
  padding-left: 0px;
}
.css-events-list table.events-table th.event-time {
  width: 250px;
}


.entry-content .event-categories {
  list-style: none;
  margin: 0;
  padding: 0;
}
.entry-content .event-categories li {
  display: inline-block;
  margin: 0 0 0;
}
.entry-content .event-categories li:after {
  content: ', ';
  display: inline-block;
}
.entry-content .event-categories li:last-child:after{
  display: none;
}


/*--------------------------------------------------------------
13.0 Widgets
--------------------------------------------------------------*/

#secondary .widget {
  margin: 0 0 1.5em;
}
#secondary .widget ul:last-of-type {
  margin-bottom: 0;
}
.widget #searchform #s {
  width: 64%;
  float: left;
}
.widget #searchform #searchsubmit {
  width: 34%;
  padding: 0.75em;
  float: right;
  border: none;
}


/* RSS */
.content-area .widget_rss .widget-title {
  display: none;
}
.widget_rss ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.widget_rss ul li {
  margin: 0 0 0.5em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #eee;
}
.content-area .widget_rss ul li {
  margin: 0 0 1em;
  padding-bottom: 1em;
}
.widget_rss .widget-title .rsswidget {
  text-decoration: none;
  color: #333;
}
.widget_rss li .rsswidget {
  text-decoration: none;
}
.content-area .widget_rss li .rsswidget {
  font-size: 22px;
  font-size: 1.375rem;
}
.widget_rss .rss-date {
  display: block;
  font-style: italic;
  color: #999;
}
.widget_rss .rssSummary {
  margin-top: 0.5em;
}
.widget_rss .rss-widget-icon {
  display: none;
}
.widget_rss cite {
  display: block;
  margin-top: 0.5em;
  color: #999;
}


/*--------------------------------------------------------------
14.0 Media
--------------------------------------------------------------*/

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

.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 {
  margin-bottom: 1.5em;
  max-width: 100%;
}

/* Remove bottom on embeds that wrapped in paragraphs via wpautop. */

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

.wp-caption,
.gallery-caption {
  color: #666;
  font-size: 13px;
  font-size: 0.8125rem;
  font-style: italic;
  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;
}

/* Media Elements */

.mejs-container {
  margin-bottom: 1.5em;
}

/* Audio Player */

.mejs-controls a.mejs-horizontal-volume-slider,
.mejs-controls a.mejs-horizontal-volume-slider:focus,
.mejs-controls a.mejs-horizontal-volume-slider:hover {
  background: transparent;
  border: 0;
}

/* SVG Icons base styles */

.icon {
  display: inline-block;
  fill: currentColor;
  height: 1em;
  position: relative; /* Align more nicely with capital letters */
  top: -0.0625em;
  vertical-align: middle;
  width: 1em;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* Default for 1600x900 videos 16:9 ratio*/
  padding-top: 0px;
  height: 0;
  overflow: hidden;
  margin-bottom: 1.6em;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*--------------------------------------------------------------
15.0 Galleries
--------------------------------------------------------------*/

.gallery-item {
  display: inline-block;
  text-align: left;
  vertical-align: top;
  margin: 0 0 1.5em;
  padding: 0 1em 0 0;
  width: 50%;
}

.gallery-columns-1 .gallery-item { width: 100%; }
.gallery-columns-2 .gallery-item { max-width: 50%; }
.gallery-columns-3 .gallery-item { max-width: 33.333333%; }
.gallery-columns-4 .gallery-item { max-width: 25%; }
.gallery-columns-5 .gallery-item { max-width: 20%; }
.gallery-columns-6 .gallery-item { max-width: 16.666666%; }
.gallery-columns-7 .gallery-item { max-width: 14.285714%; }
.gallery-columns-8 .gallery-item { max-width: 12.5%; }
.gallery-columns-9 .gallery-item { max-width: 11.111111%; }


.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus,
.widget-area .gallery-item a,
.widget-area .gallery-item a:hover,
.widget-area .gallery-item a:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
  background: none;
  display: inline-block;
  max-width: 100%;
}

.gallery-item a img {
  display: block;
  -webkit-transition: -webkit-filter 0.2s ease-in;
  transition: -webkit-filter 0.2s ease-in;
  transition: filter 0.2s ease-in;
  transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
  -webkit-filter: opacity(60%);
  filter: opacity(60%);
}

.gallery-caption {
  display: block;
  text-align: left;
  padding: 0 10px 0 0;
  margin-bottom: 0;
}

#TB_caption {
  float: none !important;
  font-weight: bold;
  height: auto !important;
  padding: 5px 15px !important;
}
#TB_caption #TB_secondLine {
  font-weight: normal;
}
#TB_closeWindow {
  position: absolute;
  bottom: 18px;
  right: 5px;
  height: auto !important;
  padding: 0;
  float: none;
}


/*--------------------------------------------------------------
16.0 Swiper Slider
--------------------------------------------------------------*/
.swiper-container {
  clear: both;
}
.swiper-slide {
  position: relative;
}
.swiper-button-prev,
.swiper-button-next {
  display: none;
}
.swiper-container:hover .swiper-button-prev,
.swiper-container:hover .swiper-button-next {
  display: block;
}
.slider-overlay {
  position: absolute;
  width: 100%;
  bottom: 50px;
  left: 0;
  color: #fff;
  font-size: 18px;
  line-height: 27px;
  text-shadow: 0px 0px 20px rgba(0, 0, 0, 1), 0px 0px 50px rgba(0, 0, 0, 1);
}
.slider-overlay h4 {
  color: #fff;
  font-size: 30px;
  line-height: 36px;
  margin-bottom: 10px;
}

/*--------------------------------------------------------------
17.0 Event Clender
--------------------------------------------------------------*/
#tribe-bar-form {
  background: #f7f7f7;
  border-bottom: 1px solid #eee;
}
#tribe-events .tribe-events-button, .tribe-events-button {
  border-radius: 0;
  background-color: #81b1e5;
}
#tribe-events .tribe-events-button:hover,
.tribe-events-button.tribe-active:hover,
.tribe-events-button.tribe-inactive,
.tribe-events-button:hover {
  background: #767676;
  color: #fff;
}
.single-tribe_events .tribe-events-event-meta {
  background: #f7f7f7;
  border: 1px solid #eaeaea;
}
h2.tribe-events-page-title {
  text-align: left;
}
.tribe-events-list-separator-month {
  background: #f7f7f7;
  border-bottom: 1px solid #eee;
}
.tribe-list-widget li.tribe-events-list-widget-events {
  margin-left: 0;
  padding: 0;
}



/*--------------------------------------------------------------
18.0 Media Queries
--------------------------------------------------------------*/


@media screen and (max-width: 1180px) {
  #site-claim {
    bottom: 15px;
    font-size: 18px;
    line-height: 27px;
  }
  #page-nav-wrapper {
    position: relative;
  }
  #page-nav .menu-toggle {
    display: block;
  }
  #page-nav > div[class$="-container"] {
    margin: 0 -2%;
    background: #fff;
    width: 104%;
    display: none;
  }
  #page-nav ul.nav-menu li {
    display: block;
    margin: 0;
    border-top: 1px solid #eee;
    position: relative;
  }
  #page-nav ul.nav-menu li a {
    display: block;
    padding: 10px 4%;
    line-height: 30px;
  }
  #page-nav ul.nav-menu li li a {
    padding: 10px 6%;
  }
  #page-nav ul.nav-menu li li li a {
    padding: 10px 10%;
  }
  #page-nav ul.nav-menu li.menu-item-has-children:after {
    display: none;
  }
  #page-nav ul.nav-menu ul {
    position: static;
    display: none;
  }
  #page-nav ul.sub-menu {
    width: 100%;
  }
  #page-nav ul.nav-menu ul > li:hover > ul {
    margin: 0;
  }
  #page-nav ul#main-menu li a {
    background: #fff;
    color: #000;
  }
  #page-nav ul#main-menu li a:hover,
  #page-nav ul#main-menu li a:focus {
    background: #81b1e5;
    color: #fff;
  }

  span.show-menu-childs {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    padding: 10px;
    font-size: 20px;
    line-height: 30px;
    background: #f7f7f7;
    color: #000;
    transition: 300ms linear all;
  }
  span.show-menu-childs:before {
    display: block;
    font-family: 'FontAwesome';
    content: '\f078';
  }
  .open > span.show-menu-childs:before {
    content: '\f077';
  }
   span.show-menu-childs:hover,
   span.show-menu-childs:focus  {
    color: #fff;
    background: #81b1e5;
    transition: 300ms linear all;
  }
}

@media screen and (max-width: 960px) {
  #main-content .post-item img {
    width: 140px;
  }
  #main-content .post-item .post-item-text {
    margin-left: 160px;
  }
  .post-type-archive-person #primary.col-8 article.person,
  .tax-person_categories #primary.col-8 article.person {
    width: 100%;
    margin-right: 0;
    float: none;
  }
}

@media screen and (max-width: 800px) {
  .einbrandenburg .site-logo {
    width: 95px;
    height: 50px;
  }
}

@media screen and (max-width: 768px) {
  #frontpage-post-text,
  #frontpage-post-image,
  .content-wrap .col-8,
  .content-wrap .col-4,
  .info-content .col-5,
  #all-posts {
    width: 100%;
  }
  #frontpage-post-image img.coverimage,
  .info-content-image img.coverimage {
    display: block !important;
    width: 100%;
    height: auto !important;
  }
  .slider-overlay {
    bottom: auto;
    top: 10px;
  }
  .post-type-archive-person #primary.col-8 article.person,
  .tax-person_categories #primary.col-8 article.person {
    width: 31.6239316239%;
    margin-right: 2.5641025641%;
    float: left;
  }
  .post-type-archive-person #primary.col-8 article.person:nth-child(3n),
  .tax-person_categories #primary.col-8 article.person:nth-child(3n) {
    margin-right: 0;
  }
  .content-submenu .content-submenu-item {
    width: 100%;
    margin: 0 0 20px;
  }
  img.alignleft,
  img.alignright {
    float: none;
    margin-left: 0;
    margin-right: 0;
  }

  .einbrandenburg #site-claim {
    position: static;
    margin: 0;
    text-align: center;
  }
  .einbrandenburg .site-claim .site-description {
    margin: 0 auto;
    width: 70%;
  }
  .einbrandenburg #top-nav {
    display: none;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 600px) {
  #special-post-content .special-post-content-post {
    width: 100%;
    margin-bottom: 30px;
  }
  #site-claim {
    position: static;
    margin: 0 0 30px 30px;
    text-align: center;
  }
  #site-claim {
    margin: 0;
  }
  .site-claim .site-description {
    margin: 0 auto;
    width: 70%;
  }
  .site-logo{
    width: 50px;
    height: 50px;
  }
  #all-posts {
    margin-bottom: 60px;
  }
  .header-image-content h2 {
    font-size: 20px;
    font-size: 1.25rem;
  }
  .header-image-content p {
    font-size: 16px;
    font-size: 1rem;
  }

  #top-nav {
    display: none;
    margin-bottom: 10px;
  }
  #footer-nav,
  #bottom-nav {
    float: none;
    text-align: center;
    margin-bottom: 30px;
  }
  .slider-header,
  .slider-text {
    display: none;
  }
  .post-type-archive-person article.person,
  .tax-person_categories article.person {
    width: 100% !important;
    margin-right: 0 !important;
    float: none !important;
  }

}

/*--------------------------------------------------------------
17.0 Print
--------------------------------------------------------------*/

@media print {

  /* Hide elements */

  form,
  button,
  input,
  select,
  textarea,

  #secondary,
  .content-bottom-widgets,
  #header-wrapper,
  #header-image,
  .swiper-container,
  .info-content-wrapper,
  #site-footer-wrapper,
  .post-thumbnail-banner,
  .video-container,
  .pagination,
  .more-link {
    display: none !important;
  }

  .entry-footer,
  #comments,
  .site-footer,
  .single-featured-image-header {
    border: 0;
  }

  /* Font sizes */

  body {
    font-size: 12pt;
  }

  h1 {
    font-size: 24pt;
  }

  h2 {
    font-size: 22pt;
  }

  h3 {
    font-size: 17pt;
  }

  h4 {
    font-size: 12pt;
  }

  h5 {
    font-size: 11pt;
  }

  h6 {
    font-size: 12pt;
  }


  /* Layout */

  * {
    background: none !important;
    box-shadow: none !important;
    border: none !important;
  }
  #primary {
    width: 100% !important;
  }
  body.single .post-thumbnail,
  body.page .post-thumbnail {
    text-align: center;
  }
  body.single .post-thumbnail img,
  body.page .post-thumbnail img {
    max-width: 33%;
  }



  /* Colors */

  body,
  a,
  .site-title a {
    color: #222 !important;
  }

  h2,
  h5,
  blockquote,
  .site-description,
  .entry-meta,
  .entry-meta a {
    color: #777 !important;
  }

  .site-footer {
    padding: 0;
  }
}
