/*!
 * CONTENTS
 *
 * SETTINGS
 * 
 * TBD
 */
/*!****************************************************************************
  #GENERIC
******************************************************************************/
/*!
 * Just removing default browser padding/margin
 * apply a natural box layout model to all elements, 
 * but allowing components to change. Other default settings.
 *
 * Set font size to 10px, so [r]em units are easier to calculate.
 */
html {
  font-size: 10px;
  box-sizing: border-box;
}

* {
  box-sizing: inherit;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

/*!****************************************************************************
  #BASE
******************************************************************************/
/*!
 * Basic Page styles
 *
 */
body {
  min-width: 320px;
  color: #444;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.3;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  color: #333;
}

h1 {
  font-size: 3.6rem;
}

h2 {
  font-size: 2.8rem;
}

h3 {
  font-size: 2.1rem;
}

h4 {
  font-size: 1.8rem;
}

h5 {
  font-size: 1.6rem;
}

h6 {
  font-size: 1.2rem;
}

p {
  line-height: 1.8em;
}

/*!****************************************************************************
  #OBJECTS
******************************************************************************/
/*!
 * Wrappers
 *
 * Whole page wrapper
 * (1, 2) Make primary-header (left) sticky (non-scroll),
 * together with Main {overflow: auto}
 * 
 */
.site-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  min-width: 100vw;
  min-height: 100vh;
}

@media (min-width: 768px) {
  .site-wrapper {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    height: 100vh;
    /*! 1 */
    overflow: hidden;
    /*! 2 */
  }
}

/*!
* 
* #SITE STRUCTURE: HEADER and CONTENT
* 
* header wrapper
*/
.primary-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  padding: 1rem 0 0 0;
  background-color: #225b9b;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.75);
}

@media (min-width: 768px) {
  .primary-header {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 24rem;
            flex: 0 0 24rem;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    max-width: 24rem;
    box-shadow: 2px 0 3px rgba(0, 0, 0, 0.75);
  }
}

/*!
* #HEADER_PARTS: Logo, Navigation and bottom info
*
* primary-logo, nav, headerlow
* 
* Logo
*/
.primary-logo {
  -ms-flex-item-align: stretch;
      -ms-grid-row-align: stretch;
      align-self: stretch;
  padding: 1rem 0;
  background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 1%, white 40%, white 60%, rgba(255, 255, 255, 0) 100%);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 1%, white 40%, white 60%, rgba(255, 255, 255, 0) 100%);
  text-align: center;
}

@media (min-width: 768px) {
  .primary-logo {
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    padding: 2.5rem 1.2rem;
  }
}

.primary-logo__img {
  max-width: 14rem;
  height: auto;
}

@media (min-width: 768px) {
  .primary-logo__img {
    max-width: 22rem;
  }
}

.logo-text {
  color: #ffba08;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: .1rem;
  line-height: 2rem;
  text-align: center;
  word-spacing: .3rem;
}

/*! 
* Header Navigation
* 
*/
.nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .nav {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    margin: 6rem 0 0;
    text-align: center;
  }
}

.nav__item {
  display: inline-block;
  padding: 1.5rem;
  -webkit-transition: all .3s;
  transition: all .3s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.nav__item:last-child {
  border-bottom: 0;
}

.nav__item:hover, .nav__item:focus {
  background-color: rgba(219, 38, 9, 0.6);
}

.nav__item--active {
  background-color: rgba(219, 38, 9, 0.8);
}

.nav__item--active:hover {
  background-color: rgba(219, 38, 9, 0.8);
}

@media (min-width: 768px) {
  .nav__item {
    letter-spacing: .1rem;
  }
  .nav__item:hover, .nav__item:focus {
    letter-spacing: .3rem;
  }
  .nav__item--active {
    letter-spacing: .2rem;
  }
}

.nav__link {
  -webkit-transition: color .3s, background .3s;
  transition: color .3s, background .3s;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  text-decoration: none;
  text-transform: uppercase;
}

.nav__link:hover, .nav__link:focus {
  color: #fff;
}

@media (min-width: 768px) {
  .nav__link {
    font-weight: 600;
  }
}

.nav__link--active {
  color: #fff;
}

/*! 
* 
* Header Bottom Part
* 
* 
*/
.headerlow {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .headerlow {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 6em;
            flex: 1 1 6em;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
  }
}

.headerlow__item {
  margin: .1em 0 0 0;
  color: #fff;
  letter-spacing: .1rem;
  text-decoration: none;
  -webkit-transition: all .8s;
  transition: all .8s;
}

.headerlow__item a {
  color: inherit;
  text-decoration: none;
}

.headerlow__item a:hover, .headerlow__item a:focus {
  color: inherit;
}

.headerlow__item:hover, .headerlow__item:focus {
  padding-right: 4rem;
  background-color: #fff;
  color: #444;
  letter-spacing: .2rem;
}

.headerlow__item--em {
  font-weight: 600;
}

.headerlow__item--em:hover, .headerlow__item--em:focus {
  color: #db2609;
}

/*!
* Content Wrapper
* 
*/
/*! 
* Content-area is a strange container, always fills 100% of viewport, but 
* does not stretch vertically with content. It seems to be only for left 
* header stickyness.
* Idea from http://callmenick.com/
*/
.content-area {
  background-color: rgba(88, 115, 133, 0.1);
  overflow: auto;
}

@media (min-width: 768px) {
  .content-area {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 0%;
            flex: 1 0 0%;
  }
}

@media (min-width: 1403px) {
  .content-area {
    padding-right: 10%;
  }
}

@media (min-width: 1603px) {
  .content-area {
    padding-right: 20%;
  }
}

/*! content struktur mit .content-area -> .content -> .article -> (.article-header/content/footer)  */
.content {
  padding: 5% 0;
}

.article {
  margin: 0 1% 0 1%;
  padding-top: 5%;
  padding-bottom: 5%;
  background-color: #fff;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .article {
    margin: 0 3% 0 3%;
  }
}

@media (min-width: 1024px) {
  .article {
    margin: 0 7% 0 7%;
  }
}

/*! If we have a nice picture as header, use no padding */
.article .has-thumbnail {
  padding-top: 0;
}

.article-header {
  margin: 0 10%;
  margin-bottom: 5em;
}

.article-content {
  margin: 0 1% 5%;
}

@media (min-width: 768px) {
  .article-content {
    margin: 0 3% 5%;
  }
}

@media (min-width: 1024px) {
  .article-content {
    margin: 0 7% 5%;
  }
}

.text--centered {
  text-align: center;
}

.article-footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin: 0 7.2% 2px 7.2%;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.99);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  text-align: center;
}

.footer-link {
  text-decoration: none;
  color: #333;
}

/*!
* #CONTENT Elements
* 
*/
.byline {
  font-size: 1.3em;
  color: #6f6f6f;
}

.teaser {
  margin-top: 4em;
}

.flash {
  background-color: rgba(255, 186, 8, 0.4);
}

.news-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
      -ms-flex: 1 0 auto;
          flex: 1 0 auto;
  /*! (2) important to not get shrunk by (1). Without it all box calculations are overriden by (1) */
  -ms-flex-flow: row nowrap;
      flex-flow: row nowrap;
  margin: 1.6em 0;
  padding: 0 0 2.5em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  text-align: left;
}

.news-item:last-child {
  border-bottom: 0;
}

.news-item__date {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  -ms-flex-flow: column nowrap;
      flex-flow: column nowrap;
  margin: .7em 1.5em 0 .5em;
  padding: 1em 1.5em;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 1em;
  font-weight: 400;
  line-height: normal;
  text-align: center;
}

.date__day {
  display: block;
  font-size: 2em;
  font-weight: 700;
}

.date__month {
  display: block;
  margin-top: -7px;
  font-size: 1em;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.date__year {
  display: block;
  margin-top: -3px;
  font-weight: 600;
}

.news-item__sub {
  -webkit-box-flex: 4;
      -ms-flex: 4 1 auto;
          flex: 4 1 auto;
  -ms-flex-flow: column nowrap;
      flex-flow: column nowrap;
}

.news-item__title {
  padding: .8em 0 .2em;
  font-size: 1em;
  font-weight: 400;
  text-transform: uppercase;
}

.news-item__text {
  margin: 0;
}

.activated {
  background-color: rgba(0, 128, 0, 0.3);
}

.deactivated {
  background-color: rgba(255, 0, 0, 0.3);
}

/*!
* 
* Picture/Gallery flexbox style
* 
*/
.gallery {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
}

.gallery-item {
  -webkit-box-flex: 1;
      -ms-flex: 1 0 25rem;
          flex: 1 0 25rem;
  margin: 1em;
  margin-bottom: 1em;
}

.gallery-item--onerow {
  -webkit-box-flex: 1;
      -ms-flex: 1 0 70%;
          flex: 1 0 70%;
}

/*! reset chromium user agent stylesheet, normalize.css */
figure {
  font-style: italic;
  text-align: center;
  /*! TBD media queries, max-height for equal height img. */
}

figure img {
  width: 100%;
  margin-bottom: 1em;
  padding: 5px;
  border: 1px solid #ccc;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.6);
}

/*!
* 
* #COMPONENTS
* 
*/
/*! 
* the Media Object from solved-by-flexbox
*/
.media {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin-bottom: 1em;
}

.media-figure {
  margin-right: 1em;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.6);
}

.media--rounded {
  border-radius: 20px;
}

.media-body {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  margin-left: .5em;
}

.media-body,
.media-body :last-child {
  margin-bottom: 0;
}

.media-title {
  margin: 0 0 .5em;
}

.media--center {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

/*!
* Form options
*/
.label--above {
  display: block;
}

/*# sourceMappingURL=maps/style.css.map */
