/*

luxo7hagen
Drupal Theme 
Author: Marie-Luise Vorberg
Email: mlv@luxo-five.de
Created: 04072017

*/


/* ::: Table of Contents
-------------------------------------------------- 
:: 1 :: HTML Elements
:: 2 :: Luxo Basic Reset
:: 3 :: Layout
:: 4 :: Navigation
:: 5 :: Content
:: 6 :: Forms
:: 7 :: Table Styles
:: 8 :: Admin Stuff
-------------------------------------------------- 
*/


/* color set


dunkel: #0b395e;
mittel: #1f577c;
hellblau #0973ad;

*/


/* Open Sans */

@font-face {
  font-family: 'open_sanslight';
  src: url('fonts/OpenSans-Light-webfont.eot');
  src: url('fonts/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/OpenSans-Light-webfont.woff') format('woff'), url('fonts/OpenSans-Light-webfont.ttf') format('truetype'), url('fonts/OpenSans-Light-webfont.svg#open_sanslight') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'open_sansregular';
  src: url('fonts/OpenSans-Regular-webfont.eot');
  src: url('fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/OpenSans-Regular-webfont.woff') format('woff'), url('fonts/OpenSans-Regular-webfont.ttf') format('truetype'), url('fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'open_sanssemibold';
  src: url('fonts/OpenSans-Semibold-webfont.eot');
  src: url('fonts/OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/OpenSans-Semibold-webfont.woff') format('woff'), url('fonts/OpenSans-Semibold-webfont.ttf') format('truetype'), url('fonts/OpenSans-Semibold-webfont.svg#open_sanssemibold') format('svg');
  font-weight: normal;
  font-style: normal;
}

html,
body {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
  font-size: 15px;
}

body {
  width: 100%;
  height: auto !important;
  font-family: 'open_sansregular', Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 150%;
  color: #2e353a;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  position: relative;
}

/* :::  1 ::: HTML Elements
-------------------------------------------------- */

html,
body {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
}

h1,
h2,
h3 {
  color: #0b395e;
  font-weight: normal;
}

h1 {
  font-size: 28px;
  line-height: 1.3;
  margin: 0;
  font-weight: normal;
  margin-bottom: 24px;
}

h1 + h2,
h2:first-child,
h1 > h2 {
  margin-top: 0;
}

h2 + h3,
h2 > h3 {
  margin-top: 0;
}

h2 {
  font-size: 18px;
  font-weight: normal;
  margin: 24px 0 12px 0;
}

.rdf-meta + h2,
h1 + h2 {
  margin-top: 0;
}

h3 {
  font-family: 'open_sanssemibold', Arial, Helvetica, sans-serif;
  margin: 24px 0 6px 0;
}

.module h3:first-child {
  margin-top: 0;
}

h2 + h3 {
  margin-top: 0;
}

h4 {}

a {
  text-decoration: none;
  color: #1f577c;
}

a:hover {
  color: #0973ad;
}

p,
ul,
ol {
  margin-bottom: 12px;
}

.content-wrapper ul,
.content-wrapper ol,
.additional-content ul,
.additional-content ol {
  padding-left: 14px;
}

.content-wrapper ul,
.additional-content ul {
  list-style: none;
}

.content-wrapper ul li,
.additional-content ul li {
  list-style-image: url(layout_images/item.png);
}

table {}

tr {
  border-collapse: separate;
}

th,
td {}

img {
  border: none;
  max-width: 100%;
  height: auto;
}

video {
  max-width: 100%;
  height: auto;
}

hr {
  display: block;
  overflow: hidden;
  border: none;
  border-top: 1px solid #cccccb;
  margin: 20px 0 20px 0;
}

code {}

mark {}

del {}

dt {}

dd {}

abbr,
acronym {
  cursor: help;
}

big {}

strong {
  font-family: 'open_sanssemibold', Arial, Helvetica, sans-serif;
  color: rgba(0, 0, 0, 0.9);
  letter-spacing: 0;
}

cite,
em {
  font-style: italic;
}

ins {}

pre {}

blockquote,
q {}

sub,
sub {}

input,
textarea {}

label {}

iframe {
  width: 100%;
}

/* :::  2 ::: Theme Reset
-------------------------------------------------- */

@media screen and (max-width: 800px) {
  .module.size3of4 {
    width: 100%;
  }
}

@media screen and (min-width: 800px) {
  .module.aside.size1of4 {
    float: right;
    width: 25%;
  }

  .module.aside.size1of4:nth-of-type(2n) {
    float: left;
  }

}

.form-submit,
.button {
  background-color: #1f577c;
  border-bottom: 3px solid #0b395e;
  color: white;
  font-size: 14px;
}

.form-submit:hover,
.button:hover {
  background-color: #0973ad;
}

.cd-top {
  /* image replacement properties */
  background: rgba(35, 118, 186, 0.8) url(layout_images/cd-top-arrow.svg) no-repeat center 50%;
}

.no-touch .cd-top:hover {
  background-color: rgba(35, 118, 186, 1);
  opacity: 1;
}

/* :::  3 ::: Layout
-------------------------------------------------- */

.wrapper {
  width: 100%;
}

.group {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.top-header {
  background-color: #f9f9f9;
  height: 40px;
}

.top-header .group {
  overflow: visible;
  position: relative;
}

.top-header .logo {
  display: block;
  position: absolute;
  top: 0;
  left: 40px;
}

.content-wrapper {
  padding-top: 150px;
  padding-bottom: 50px;
  min-height: 700px;
}

.heading {
  text-align: center;
  margin-bottom: 48px;
}

.footer-wrapper {
  background-color: #2a2a2a;
  padding-top: 24px;
  padding-bottom: 80px;
}

.footer {
  color: white;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
}

.footer a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.footer h2,
.footer h3 {
  color: white;
  font-family: 'open_sanssemibold', Arial, Helvetica, sans-serif;
  margin-bottom: 12px;
}

/* :::  4 ::: Navigation
-------------------------------------------------- */

.menu-toggle {
  z-index: 99999;
  position: fixed;
  top: 0;
  right: 10px;
  width: auto;
  background-color: #0075bf;
  color: white;
  padding: 8px 16px;
}

.menu-toggle:hover {
  background-color: #0075bf;
  color: white;
}

#orientation,
#main-menu {
  position: absolute;
  top: -20px;
  left: -2000px;
  width: 100%;
  height: 100%;
  padding: 10%;
  background-color: white;
  -webkit-animation: slide 1s forwards;
  -webkit-animation-delay: 2s;
  animation: slide 1s forwards;
  animation-delay: 2s;
  transition: 1s;
}

#orientation.open,
#main-menu.open {
  transition: 1s;
  left: 0;
  z-index: 99996;
  -webkit-animation: slide 0.5s forwards;
  -webkit-animation-delay: 2s;
  animation: slide 0.5s forwards;
  animation-delay: 2s;
  padding-bottom: 60px;
}

#orientation.open li,
#main-menu.open li {
  margin-top: 24px;
}

#orientation.open ul.menu li li,
#main-menu.open ul.menu li li {
  margin: 0;
}

#orientation.open ul.menu li,
#main-menu.open ul.menu li {
  list-style: none;
  width: 100%;
  text-align: center;
  margin-bottom: 12px;
}

#orientation.open ul.menu li a,
#main-menu.open ul.menu li a {
  border: none !important;
}

#orientation.open ul.menu,
nav#main-menu.main-navigation.clear.open ul.menu {
  display: block !important;
  margin-top: 12px;
  font-size: 22px;
}

#orientation.open ul.menu ul.menu,
nav#main-menu.main-navigation.clear.open ul.menu ul.menu {
  display: block !important;
  margin-top: 0px;
  font-size: 18px;
  font-weight: normal;
}

nav#main-menu.main-navigation.clear.open ul.menu li a.active,
nav#main-menu.main-navigation.clear.open ul.menu li a.active-trail,
nav#main-menu.main-navigation.clear.open ul.menu li a:hover {
  border: none;
}

.additional-navigation li a:hover {
  font-weight: normal;
}

#orientation .menu li a,
.main-navigation .menu li a {
  font-size: 14px;
  font-size: 0.9333rem;
  line-height: 22px;
  font-family: 'open_sanssemibold', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
}

#orientation #logo,
#orientation #logo img {
  padding: 0;
  display: block;
  margin: 0 auto;
}

#orientation .menu li a {
  color: #2376ba;
}

#orientation .menu .menu li a {
  font-weight: normal;
}

#sitemap {
  margin-top: 24px;
}

/* secondary */

.secondary-navigation {
  margin: 0;
}

.secondary-navigation ul {
  float: right;
}

.secondary-navigation ul li {
  display: inline;
}

.secondary-navigation ul li a {
  color: rgba(38, 38, 38);
}

.secondary-navigation ul li a:after {
  content: '|';
  display: inline-block;
  padding: 9px 6px;
}

.secondary-navigation ul li:last-child a:after {
  content: '';
  padding: 0;
}

@media screen and (min-width: 800px) {
  .menu-toggle {
    display: none;
  }

  #main-menu {
    display: block;
    position: relative !important;
    left: auto;
    right: auto;
    bottom: 0;
    top: auto;
    padding: 0;
    width: 100%;
    background: transparent;
    padding-left: 280px;
  }

  .main-navigation ul.menu {
    width: 100%;
    margin: 0;
    margin-top: 30px;
    padding: 0;
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;
    /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Chrome */
    display: flex;
    /* NEW, Spec - Opera 12.1, Firefox 20+ */
    justify-content: space-between;
  }

  .main-navigation ul.menu li {
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
    z-index: 1;
    position: relative;
  }

  .main-navigation ul.menu li a {
    padding: 10px 8px;
  }

  .main-navigation ul.menu {
    text-align: center;
  }

  .main-navigation .menu .menu {
    display: none;
    background-color: white;
    position: absolute;
    top: 4px;
    width: 260px;
    left: 0;
    text-align: left;
    padding: 8px;
    background-color: #f9f9f9;
  }

  .main-navigation .menu li:hover .menu {
    display: block;
  }

  .main-navigation .menu li:last-child .menu {
    right: -8px;
    left: auto;
    text-align: right;
  }

  .main-navigation .menu .menu li {
    display: block;
    padding: 0;
    margin: 0;
    margin-bottom: 6px;
  }

  .main-navigation .menu .menu li a {
    line-height: 1;
  }

  .main-navigation .menu li a.active-trail,
  .main-navigation .menu li a.active,
  .main-navigation .menu li a:hover {
    background-color: #f9f9f9;
    border-bottom: 4px solid #1f577c;
    color: #1f577c;
  }

  .main-navigation .menu li ul li a.active-trail,
  .main-navigation .menu li ul li a.active,
  .main-navigation .menu li ul li a:hover {
    background-color: transparent;
    border-bottom: none;
  }
}

/* :::  5 ::: Content
-------------------------------------------------- */

.teaser h3 {
  margin: 12px 0;
  font-size: 17px;
  font-weight: normal;
}

.text-image-block {
  margin-bottom: 24px;
}

.text-image-block .image {
  width: 100%;
}

.text-image-block h3 {
  margin-top: 0;
}

@media screen and (min-width: 600px) {
  .text-image-block .image {
    width: 33.33333333%;
    float: left;
    padding-right: 20px;
  }

  .text-image-block .text {
    width: 66.66666666%;
    padding-left: 8px;
    float: left;
  }
}

.publication {
  padding: 18px 0;
  border-bottom: 1px dotted #0b395e;
}

.publication:first-child {
  padding-top: 0;
}

.publication h3 {
  font-size: 18px;
  font-weight: normal;
  margin: 0 0 12px 0;
}

.filter {
  padding: 24px;
  background-color: #f9f9f9;
}

.filter ul {
  margin: 0;
  padding: 0;
}

.filter ul li {
  list-style: none;
  padding: 0;
  margin: 0 0 6px 0;
}

.gallery {
  margin-top: 24px;
}

.gallery-image {
  margin-bottom: 12px;
}

.gallery-image img {
  display: block;
}

@media screen and (min-width: 420px) {
  .gallery-image {
    width: 50%;
    float: left;
    padding-right: 12px;
    margin-bottom: 24px;
  }

  .gallery-image:nth-of-type(2n) {
    padding-left: 12px;
    padding-right: 0;
  }
}

.media.media-element-container.media-wysiwyg {
  padding: 12px;
  font-size: 14px;
  font-style: italic;
  text-align: center;
}

.media.media-element-container.media-wysiwyg a,
.media.media-element-container.media-wysiwyg a img {
  display: block;
  margin: 0 auto 12px auto;
}

.event-article {
  padding-right: 48px;
  padding: 18px 24px 18px 0;
  border-bottom: 1px dotted #0b395e;
  border-top: 1px dotted #0b395e;
  margin-top: 4px;
}

.event-article:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.event-article:last-of-type {
  border-bottom: none;
}

.event-article:first-of-type h2 {
  margin-top: 0;
}

/* :::  6 ::: Forms
-------------------------------------------------- */

.views-exposed-form .views-exposed-widget {
  float: none;
  width: 100%;
  margin-bottom: 30px;
}

.views-exposed-form .views-exposed-widget input[type=text],
.views-exposed-form .views-exposed-widget textarea {
  display: block;
  width: 100%;
}

.form-submit {
  width: auto !important;
}


.views-exposed-widget.views-reset-button,
.views-exposed-widget.views-submit-button {
  float: left !important;
  width: auto !important;
}


/* :::  7 ::: Table styles
-------------------------------------------------- */

.catalogue-table {
  overflow-x: auto;
}

.catalogue {
  table-layout: auto;
}

.catalogue::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
}

.catalogue::-webkit-scrollbar-thumb {
  border-radius: 8px;
  border: 3px solid #fff;
  background-color: rgba(0, 0, 0, .3);
}

.catalogue th {
  white-space: nowrap;
}

.catalogue th,
.catalogue td {
  padding: 16px;
}

.catalogue td:first-child {
  display: table;
  min-width: 430px;
}

.catalogue td:nth-child(2n) {
  white-space: nowrap;
}


/* :::  8 ::: Admin Stuff
-------------------------------------------------- */

#toolbar strong {
  color: white !important;
}

.admin-tabs ul.primary {
  max-width: 1120px;
  padding: 0 40px;
}

/* :::  X ::: Cookie Consent
-------------------------------------------------- */

#sliding-popup .popup-content {
  max-width: 940px;
  margin: 0 auto;
  padding: 24px 0;
}

#sliding-popup .popup-content #popup-text h2 {
  font-size: 28px;
  font-weight: normal;
}

#sliding-popup .popup-content #popup-text p {
  font-size: 17px;
  font-weight: normal;
}

#sliding-popup .popup-content #popup-buttons button {
  border: none;
  box-shadow: none;
  background-color: white;
  color: rgba(0, 105, 166, 1);
  border-radius: 0;
  padding: 12px;
  border-bottom: 2px solid white;
  font-size: 15px;
  background-image: none;
}

#sliding-popup .popup-content #popup-buttons button:hover {
  opacity: 0.9;
}

#sliding-popup .popup-content #popup-buttons .agree-button {
  border-bottom: 2px solid darkgreen;
}

#sliding-popup .popup-content #popup-buttons .find-more-button {
  border-bottom: 2px solid deeppink;
}

#sliding-popup.sliding-popup-bottom {
  background-color: rgba(0, 105, 166, 0.8) !important;
}
