/*
 :::  Reset
-------------------------------------------------- */
html {
  box-sizing: border-box;
  overflow-y: -moz-scrollbars-vertical;
  overflow-y: scroll;
  height: 100%; }

*, *::before, *::after {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  box-sizing: inherit;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%; }

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

ol, ul {
  list-style: none; }

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

/*-------------------------------------------------- */
/* Source Sans Pro
-------------------------------------------------- */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 300;
  src: url(../fonts/sourcesanspro-300.woff) format("woff"); }
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/sourcesanspro-400.woff) format("woff"); }
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  src: url(../fonts/sourcesanspro-600.woff) format("woff"); }
@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 400;
  src: url(../fonts/sourcesanspro-400-italic.woff) format("woff"); }
/*
 :::  mixins and functions
-------------------------------------------------- */
/* Defaults
-------------------------------------------------- */
html {
  font-family: "Source Sans Pro", sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%; }

body {
  margin: 0 auto;
  font-size: 1.25em;
  line-height: 1.5em;
  max-width: 55em;
  background: #fff;
  color: #222;
  background: url("../images/margetshoechheim.jpg") 0 0 no-repeat;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100%;
  padding-top: 3em;
  min-width: 1024px; }

a {
  color: #005E8E;
  text-decoration: none;
  transition: color .3s, background .3s, border .3s; }
  a:focus, a:hover, a:active {
    text-decoration: none; }

img {
  display: block;
  max-width: 100%; }

strong {
  font-weight: 600; }

/* Headings
-------------------------------------------------- */
h1 {
  line-height: 1.25;
  margin-bottom: .5em;
  color: #005E8E;
  font-size: 1.8em;
  background: #007DBD;
  color: #fff;
  padding: .2em .8em;
  padding-left: 1.3em;
  margin-left: -1.3em; }

h2 {
  font-size: 1.55em;
  line-height: 1.25;
  margin-bottom: .5em;
  background: #007DBD;
  color: #fff;
  padding: .3em .8em;
  padding-left: 1.5em;
  margin-left: -1.5em; }

h3 {
  font-size: 1.4em;
  line-height: 1.3;
  margin-bottom: .5em;
  color: #005E8E; }

h4 {
  font-size: 1.125em;
  line-height: 1.5;
  margin-bottom: .5em;
  color: #005E8E; }

h1 a, h2 a, h3 a, h4 a {
  color: inherit;
  border: 0 !important; }

.nobanner {
  color: #005E8E;
  background: none;
  margin-left: 0;
  padding: 0; }

/* Layout
-------------------------------------------------- */
.header,
.main {
  min-height: 100%;
  margin-bottom: 3em;
  box-shadow: 0 0 1em rgba(44, 44, 44, 0.5); }

/* Header
-------------------------------------------------- */
.header {
  width: 30%;
  background: #2C2C2C;
  background: rgba(44, 44, 44, 0.8);
  float: left; }
  .header:after {
    content: "";
    display: table;
    clear: both; }

.logo {
  display: block;
  padding: 1em 1.5em;
  background: white; }
  .logo img {
    width: 75%;
    height: auto; }

/* Navigation
-------------------------------------------------- */
.menu a {
  display: block;
  color: white; }
  .menu a.active, .menu a:focus, .menu a:hover, .menu a:active {
    color: #ffcb04; }

.menu li {
  list-style: none; }

.menu > li > a {
  padding: .35em 1.5em;
  border-top: 1px solid #a7a7a7;
  font-weight: normal; }

.submenu {
  display: none; }

.active + .submenu {
  display: block; }

.submenu li {
  border-bottom: 1px solid #444; }

.submenu a {
  padding: 0.6em 1.875em;
  font-size: .8em;
  font-weight: 300;
  background: black;
  line-height: 1.3; }

/* Main
-------------------------------------------------- */
.main {
  width: 64.5%;
  float: right;
  background: white;
  background: rgba(255, 255, 255, 0.9);
  padding: 1em 1.5em;
  height: 100%; }

.main hr {
  margin: 3em 0 2.2em;
  height: 2px;
  background: #005E8E; }

.main p,
.main figure,
.main ul,
.main ol {
  margin-bottom: 1.5em; }

.main a {
  border-bottom: 2px solid #a7a7a7; }
  .main a:focus, .main a:hover, .main a:active {
    border-bottom-color: #007DBD; }

.main ul {
  list-style: disc;
  margin-left: 1em; }
.main ol {
  list-style: decimal;
  margin-left: 1em; }
.main figure {
  display: table;
  margin: 0 auto 1em auto; }
  .main figure img {
    display: block;
    width: 100%;
    height: auto; }
  .main figure figcaption {
    display: table-caption;
    caption-side: bottom;
    background: #a7a7a7;
    padding: .6em 1em;
    color: #fff;
    font-size: .8em;
    line-height: 1.2; }
    .main figure figcaption:empty {
      display: none; }

/* Helper
-------------------------------------------------- */
.meta {
  font-size: .8em;
  color: #414141;
  color: #005E8E; }

.introimage {
  margin-bottom: 1.5em; }
  .introimage img {
    margin: 0 auto; }

figure img {
  margin: 0 auto; }

a.readmore {
  float: right; }

a.artthumb {
  float: left;
  margin: .4em .8em .5em 0;
  border: none; }

/* News + Events
-------------------------------------------------- */
.newsteaser,
.eventteaser {
  margin-bottom: 1.7em; }
  .newsteaser:after,
  .eventteaser:after {
    content: "";
    display: table;
    clear: both; }
  .newsteaser h3,
  .eventteaser h3 {
    padding: .3em .8em;
    background: #007DBD;
    margin-left: -1.66em;
    padding-left: 1.66em;
    color: white; }
  .newsteaser .artthumb + p,
  .eventteaser .artthumb + p {
    margin-left: 8.3em; }

.newsteaser {
  margin-bottom: 2em; }
  .newsteaser:after {
    content: "";
    display: table;
    clear: both; }
  .newsteaser .meta {
    margin-bottom: .1em; }

.eventteaser .meta {
  margin-bottom: .1em; }

/* Next/Prev nav
-------------------------------------------------- */
.pagination,
.nextprev {
  padding: 1em 0; }

.pagination a,
.nextprev a {
  border: 0; }

.pagination .prev,
.nextprev .prev {
  float: left; }

.pagination .next,
.nextprev .next {
  float: right; }

/* Personen
-------------------------------------------------- */
.persongroup .person {
  margin-bottom: 1em; }
  .persongroup .person:after {
    content: "";
    display: table;
    clear: both; }
  .persongroup .person .personimage {
    float: left; }
    .persongroup .person .personimage img {
      width: 6.4em;
      height: auto; }
  .persongroup .person .desc span {
    display: block; }
  .persongroup .person .personentext {
    margin-left: 7.4em; }

/* Footer
-------------------------------------------------- */
.footer {
  padding: 1em 1.5em;
  font-size: .8em;
  clear: both;
  background: rgba(255, 255, 255, 0.9);
  width: 65%;
  float: right;
  margin-bottom: 10em; }
  .footer:after {
    content: "";
    display: table;
    clear: both; }

.copyright {
  float: left; }

.colophon {
  float: right; }

.colophon a b {
  color: red;
  padding-left: .25em; }
