#navbar-primary .navbar-nav {
  width: 100%;
  text-align: center; }

body {
  background: #efefef; }

#navbar-primary .navbar-nav > li {
  display: inline-block;
  float: none; }

#navbar-primary .navbar-nav > li > a {
  padding-left: 30px;
  padding-right: 30px; }

.border-wrapper {
  border: 1px solid lightgray;
  border-radius: 5px;
  margin-top: 20px;
  background-color: white;
  box-shadow: 0px 0px 3px lightgrey; }

.navbar-default {
  background-color: white;
  border: none;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom: 1px solid lightgray;
  margin-bottom: 0; }

.galerie-img img {
  width: 100%;
  padding: 15px 0; }

p {
  line-height: 1.8em; }

.table.events td.pdf {
  width: 30px; }

.table.events td.name {
  width: 50%; }

.table.events td.description {
  width: 20%; }

.table.events td.filesize {
  text-align: right; }

.wrapper {
  width: 1024px;
  border-radius: 10px;
  margin: 20px auto 0 auto; }

a.dropdown-link-tablet {
  float: right;
  display: inline-block !important; }

.container {
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px; }
  .container .content {
    margin-top: 10px;
    padding: 20px; }
  .container h1 {
    font-size: 22px;
    border-bottom: 1px solid lightgray; }

.gryf-image {
  position: relative; }
  .gryf-image img {
    width: 100%; }

.zunft-text {
  position: absolute;
  left: 40px;
  bottom: 10px;
  color: white;
  font-size: 40px;
  text-transform: uppercase; }

footer {
  border-top: 1px solid lightgray; }

footer {
  text-align: center; }

footer .center a {
  padding: 0 10px; }

footer li {
  list-style: none;
  display: inline; }

.center {
  width: 100%;
  text-align: center; }

main {
  min-height: 700px; }

.search main {
  min-height: 0; }

svg.icon.icon-search {
  display: none; }

@media screen and (max-width: 768px) {
  .zunft-text {
    position: absolute;
    left: 0;
    bottom: 10px;
    right: 0;
    text-align: center;
    color: white;
    font-size: 20px;
    text-transform: uppercase; }
  /*  nav {
      li.menu-item {
        display: table;
        width: 100%;
        a {
          display: table-cell;
        }
        span.dropdown-toggle {
          display: table-cell;
        }
        ul a{
          display: inherit;
        }
      }
    }*/
  header a:hover {
    background-color: #efefef !important;
    transition-duration: 300ms; }
  span.dropdown-toggle {
    height: 30px;
    width: 100%;
    line-height: 30px;
    display: inline-block;
    text-align: center; }
  span.dropdown-toggle:hover {
    background: #efefef;
    transition-duration: 300ms; }
  ul.dropdown-menu li:first-child {
    border-top: 1px solid lightgray; }
  ul.dropdown-menu li {
    border-bottom: 1px solid lightgray; } }

@media screen and (min-width: 768px) {
  a.dropdown-link-tablet {
    float: right;
    display: none !important; }
  header a:hover {
    background-color: #efefef !important;
    transition-duration: 300ms; }
  header nav .nav.navbar-nav li a, header nav .nav.navbar-nav li .link a {
    line-height: 85px;
    padding: 0 20px;
    height: 85px;
    display: inline-block;
    float: left; }
  header nav .nav.navbar-nav .dropdown-menu li {
    width: 100%; }
    header nav .nav.navbar-nav .dropdown-menu li a {
      width: 100%;
      line-height: 25px;
      height: auto;
      float: none; }
  header nav .nav.navbar-nav .dropdown-toggle {
    height: 85px;
    float: left;
    display: inline-block; }
    header nav .nav.navbar-nav .dropdown-toggle i {
      padding: 0 5px;
      line-height: 85px; }
    header nav .nav.navbar-nav .dropdown-toggle i:hover {
      transition-duration: 300ms;
      background-color: #efefef; }
  header nav .logo {
    float: right;
    width: 150px; }
    header nav .logo img {
      width: 100%; } }

@media screen and (max-width: 1024px) {
  header nav .logo {
    float: right;
    width: 96px;
    line-height: 75px; } }
