/* Fonts */
@font-face {
  font-family: 'Interstate';
  src: url("../fonts/Interstate-Bold.eot");
  src: url("../fonts/Interstate-Bold.eot?#iefix") format("embedded-opentype"), url("../fonts/Interstate-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Interstate';
  src: url("../fonts/Interstate-LightItalic.eot");
  src: url("../fonts/Interstate-LightItalic.eot?#iefix") format("embedded-opentype"), url("../fonts/Interstate-LightItalic.woff") format("woff");
  font-weight: bold;
  font-style: italic;
}

/* Fonts */
@font-face {
  font-family: 'Interstate';
  src: url("../fonts/Interstate-Regular.eot");
  src: url("../fonts/Interstate-Regular.eot?#iefix") format("embedded-opentype"), url("../fonts/Interstate-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Interstate';
  src: url("../fonts/Interstate-Light.eot");
  src: url("../fonts/Interstate-Light.eot?#iefix") format("embedded-opentype"), url("../fonts/Interstate-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}

$blue: #003572;
$blue-light: #809cb8;
$blue-middle: #4c739b;
$blue-highlight: #f2f6f9;
$blue-kondolenz: #3B526A;
$blue-line: #E0E7ED;
$yellow: #ffd500;
$black: #323232;
$grey-footer:#ebebeb;
$grey-divider: #ccc;
$grey-light: #f4f4f4;
$grey-arrows: #969696;
$white: #fff;

/*mixins*/
@mixin transition($transition) {
  -webkit-transition: $transition;
  -moz-transition: $transition;
  -o-transition: $transition;
  transition: $transition;
}

@mixin transform($transform) {
  transform: $transform;
  -o-transform: $transform;
  -ms-transform: $transform;
  -webkit-transform: $transform;
  -moz-transform: $transform;
}

@mixin animation($animation) {
  animation: $animation;
  -o-animation: $animation;
  -ms-animation: $animation;
  -webkit-animation: $animation;
  -moz-animation: $animation;
}

@mixin animation-delay($animation-delay) {
  animation-delay: $animation-delay;
  -o-animation-delay: $animation-delay;
  -ms-animation-delay: $animation-delay;
  -webkit-animation-delay: $animation-delay;
  -moz-animation-delay: $animation-delay;
}

@mixin keyframes($animationName) {
  @-webkit-keyframes #{$animationName} {
    @content;
  }

  @-moz-keyframes #{$animationName} {
    @content;
  }

  @-o-keyframes #{$animationName} {
    @content;
  }

  @keyframes #{$animationName} {
    @content;
  }
}

.blue {
  color: $blue;
}

.hdn {
  display: none;
}

.copyright.with-separator::before {
  content: ", ";
}

.custom-image {
  display: inline-block;
  max-width: 100%;

  img {
    max-width: 100%;
  }

  .description {
    width: 100%;

    .copyright.with-separator-download {
      display: block;
      color: #a8baca;
      border-top: 1px solid #a8baca;
      margin-top: 10px;
      padding-top: 10px;

      &:before {
        content: "(";
        white-space: pre;
      }

      &:after {
        content: ")";
      }
    }

    .download {
      display: block;
      margin-top: 10px;

      .icon-download {
        margin-right: 9px;
      }
    }
  }
}

a {
  color: $blue;
}

.mega-dropdown a:focus {
  outline: 1px dotted #212121 !important;
  outline: 5px auto -webkit-focus-ring-color !important;
}

p {
  margin: 0 0 15px;
}

strong {
  font-family: Interstate, sans-serif;
  font-weight: bold;
  font-style: Normal;
}

b {
  font-family: Interstate, sans-serif;
  font-weight: bold;
  font-style: Normal;
}

body {
  background-color: $white;
  font-family: Interstate, sans-serif;
  font-style: Normal;
  font-weight: 300;
  color: $black;
  font-size: 16px;
}

audio {
  height: 30px;
}

input[type="text"]::-ms-clear {
  display: none;
}

#content {
  padding: 0 0 25px;
}

.col-no-padding {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media only screen and (min-width: 992px) {
  .pull-md-left {
    float: left;
  }

  .pull-md-right {
    float: right;
  }
}

.table-striped>caption {
  padding-top: 8px;
  padding-bottom: 8px;
  color: $blue;
  font-weight: 700;
}

.table-striped>tbody>tr:nth-of-type(odd) {
  background-color: #f0f3f7;
}

.table-striped>tbody>tr:nth-of-type(even) {
  background-color: #fff;
}

.table-striped {
  border-bottom: 4px solid #7896b4;
}

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
  padding: 8px;
  line-height: 1.42857143;
  vertical-align: top;
  border-top: 0;
}

.table tr>thead>td,
.table>tbody>tr>th {
  //border-top: 4px solid #7896b4;
  border-bottom: 1px solid #7896b4;
  font-size: 16px;
  font-family: Interstate, sans-serif;
  font-weight: bold;
  padding: 12px 8px;
  background: #ffffff;
}

.btn-blue {
  color: #fff;
  background-color: $blue;
  border: none;
  margin-top: 0;
  font-size: 16px;
}

.btn-light-blue {
  color: #fff;
  background-color: $blue-light;
  border: none;
  margin-top: 0;
  font-size: 16px;
}

.news-all {
  margin-top: 30px;
  color: $black;
  background: transparent;
  border: 1px solid $black;
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.blueform {
  .form-control {
    width: 100%;
    height: 40px;
    padding: 6px 12px;
    background-color: $blue-highlight;
    border: none;
    border-radius: 0;
    box-shadow: none;
    color: $blue;
    font-family: Interstate, sans-serif;
  }

  .btn {
    padding: 9px 12px;
  }

  ::-webkit-input-placeholder {
    color: $blue;
  }

  :-moz-placeholder {
    /* Firefox 18- */
    color: $blue;
  }

  ::-moz-placeholder {
    /* Firefox 19+ */
    color: $blue;
  }

  :-ms-input-placeholder {
    color: $blue;
  }
}

#gemeinden-navi,
.mobile-alphabet-navi {
  width: calc(100% - 30px) !important;
  margin: auto;

  a {
    font-size: 18px;
    color: $blue;
    border-bottom: none;
    border-top: none;
    font-family: Interstate, sans-serif;
    font-weight: bold;
  }

  .active a {
    color: #000;
  }

  .owl-wrapper-outer {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 10px 0px;
  }

  .owl-prev {
    position: absolute;
    left: -15px;
    top: 22px;
    font-family: Interstate, sans-serif;
    font-weight: bold;
    color: $blue;
  }

  .owl-next {
    position: absolute;
    right: -15px;
    top: 22px;
    font-family: Interstate, sans-serif;
    font-weight: bold;
    color: $blue;
  }
}

.searchbox {
  background-color: $grey-light;

  .sb-input {
    background-color: $grey-light;
    border: none;
    font-size: 12px;
    padding: 8px;
    outline: none;
    height: 33px;
    width: calc(100% - 40px);
  }

  .sb-submit {
    background-color: $yellow;
    border-radius: 0;
    float: right;
    height: 33px;
    width: 40px;
  }

  &.col-xs-12 {
    padding: 0px;
  }
}

@media only screen and (max-width: 767px) {

  /* Force table to not be like tables anymore */
  .table-striped {
    border-top: 4px solid #7896b4;
  }

  .table-striped table,
  .table-striped thead,
  .table-striped tbody,
  .table-striped th,
  .table-striped td,
  .table-striped tr {
    display: block;
  }

  .table-striped tr {
    border-bottom: 1px solid #7896b4;
  }

  /* Hide table headers (but not display: none;, for accessibility) */
  .table-striped tr th {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .table-striped>caption {
    padding-top: 8px;
    padding-bottom: 8px;
    color: $blue;
    font-weight: 700;
  }

  .table-striped td {
    /* Behave  like a "row" */
    border: none;
    position: relative;
    padding-left: 50% !important;
    white-space: normal;
    text-align: left;
    min-height: 30px;
  }

  .table-striped td:before {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 8px;
    left: 6px;
    width: 40%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-family: Interstate, sans-serif;
    font-weight: bold;
  }

  /*
  Label the data
  */
  .table-striped td:before {
    content: attr(data-title);
  }

  .table-striped>tbody>tr:nth-of-type {
    background-color: transparent;
  }

  .table-striped>tbody>tr>td:nth-of-type(odd) {
    background-color: #f0f3f7;
  }

  .table-striped>tbody>tr>td:nth-of-type(even) {
    background-color: #ffffff;
  }

  [data-value] {
    font-family: Interstate, sans-serif;
    font-weight: bold;
  }
}

#menu {
  padding-top: 5px;
  border-bottom: 5px solid $blue-highlight;
}

.btn {
  border-radius: 0;
}

.icon {
  display: inline-block;
}

.icon-arrow-right {
  position: absolute;
  top: 210px;
  right: 20px;
  width: 20px;
}

.icon-arrow-left {
  position: absolute;
  top: 210px;
  left: 20px;
  width: 20px;
}

.icon-globe {
  display: block;
  float: left;
  font-size: 30px;
  margin-right: 10px;
}

.icon-badge {
  display: block;
  float: left;
  font-size: 30px;
  margin-right: 10px;
}

.details {
  .icon-badge {
    margin-top: -17px;
  }

  .icon-globe {
    margin-top: -6px;
  }
}

.icon-search {
  position: relative;
  top: 2px;
}

.icon-plus {
  float: right;
  position: relative;
  top: 17px;
}

.icon-minus {
  float: right;
  position: relative;
  top: 17px;
}

.icon-zoom {
  position: relative;
  top: 2px;
}

.menu-arrow {
  width: 6px;
  height: 12px;
  background: url("../pics/menu-arrow-right.png") no-repeat;
  float: right;
  position: relative;
  top: 4px;
}

.menu-arrow-right-blue {
  width: 6px;
  height: 12px;
  background: url("../pics/menu-arrow-right-blue.png") no-repeat;
  float: right;
  position: relative;
  top: 4px;
}

.active .menu-arrow {
  width: 12px;
  height: 6px;
  background: url("../pics/menu-arrow-down.png") no-repeat;
  float: right;
  position: relative;
  top: 6px;
}


.empty {
  a {
    //cursor: default;
  }

  &.active .menu-arrow {
    width: 6px;
    height: 12px;
    background: url("../pics/menu-arrow-right-blue.png") no-repeat;
    float: right;
    position: relative;
    top: 4px;
  }
}

.icon-caret-right {
  margin-right: 18px;
}

.icon-extern {
  margin-right: 10px;
}

.icon-download {
  margin-right: 15px;
  vertical-align: middle;
}

.icon-getup {
  position: relative;
  top: 5px;
}

.icon-triangle {
  width: 286px;
  height: 252px;
  position: relative;
  display: inline-block;
  top: 20px;
}

.icon-marker {
  position: relative;
  margin-right: 10px;
  top: 3px;
}

.icon-route {
  position: relative;
  margin-right: 10px;
  top: 3px;
}

.icon-service {
  position: relative;
  margin-right: 10px;
}

.icon-mail {
  position: relative;
  margin-right: 10px;
}

.mentop {
  height: 75px;

  .mentop-inner {
    position: absolute;
    right: 15px;
    margin-top: 10px;

    ul {
      list-style: none;
      float: right;
      margin-top: 6px;
      margin-right: 20px;

      li {
        float: left;
        padding: 0 10px 0 10px;

        a {
          text-transform: uppercase;
          color: $blue-middle;
          font-size: 12px;
        }
      }

      li~li {
        border-left: 1px solid $grey-divider;
      }
    }

    .searchbox {
      float: right;
      background-color: $grey-light;
      width: 250px !important;

      &.col-xs-12 {
        width: auto;
        padding: 0px;
      }

      .sb-input {
        background-color: $grey-light;
        border: none;
        font-size: 12px;
        outline: none;
      }

      .sb-submit {
        background-color: $yellow;
        border-radius: 0;

        .fa-search {
          color: $blue;
          font-size: 16px;
        }
      }
    }
  }
}

#menu-top {
  padding-left: 10px;
  padding-right: 10px;

  .navbar-brand {
    height: 120px;
    padding: 0;

    @media (min-width: 992px) {
      padding: 12px 15px 15px;
    }
  }

  .mega-dropdown {
    position: static;

    &.active>a {
      font-weight: bold;
    }

    a:focus {
      outline: 1px dotted #212121 !important;
      outline: 5px auto -webkit-focus-ring-color !important;
    }
  }

  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: -15px;
    ;
    z-index: 1000;
    display: none;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: none;
    border-radius: 0;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);

    .divider {
      height: 1px;
      margin: 6px 0 9px;
      overflow: hidden;
      background-color: #ccd7e2;
    }
  }

  .active>a {
    border-bottom: 5px solid $blue;
    margin-bottom: -5px;
  }

  .mega-dropdown-menu {
    border-top: 5px solid transparent;
    margin-top: 0;
    padding: 15px;
    width: 100%;

    ul {
      padding: 0;
      margin: 0;

      li {
        list-style: none;
        color: $blue;

        a {
          font-size: 14px;
          color: $blue;

          :hover,
          :focus {
            text-decoration: none;
          }
        }
      }
    }

    .dropdown-header {
      font-size: 16px;
      color: #000000;
      padding: 15px 0 0;
      line-height: 17px;
      font-family: Interstate, sans-serif;
      font-weight: bold;
      white-space: normal;

      a {
        font-size: 16px;
        color: $blue;
      }
    }
  }

  .gemeinde {
    padding-top: 15px;
    padding-bottom: 30px;

    .map-content {
      padding-left: 0 !important;

      .ssi_map {
        padding: auto;

        img {
          display: block;
          margin-top: 20px;
          margin-left: auto;
          margin-right: auto;
        }
      }

      .bezListItem {
        padding: 10px;
        border-top: 2px solid $blue-line;
        border-bottom: 2px solid $blue-line;

        ~.bezListItem {
          border-top: 0;
        }
      }

      .bLIHover {
        background-color: $blue-highlight;
      }

    }

    .nav {
      color: $blue;

      .toggles {
        margin-top: 10px;

        a {
          color: $blue;
          font-size: 18px;
          margin-left: 15px;
          margin-right: 15px;
          font-family: Interstate, sans-serif;
          font-weight: 300;

          &:focus {
            text-decoration: none;
          }

          &.active {
            color: #000000;
            font-weight: normal;
          }
        }
      }

      input {
        position: absolute;
        right: 100px;
        border: none;
        box-shadow: none;
        border-radius: 0;
        background-color: $blue-highlight;
        width: 200px;
      }

      .btn {
        position: absolute;
        right: 0;
        color: $white;
        background-color: $blue;
        padding-left: 20px;
        padding-right: 20px;
      }
    }

    .carousel {
      padding: 20px 80px 0 80px;

      .main-alphabet-carousel {
        width: calc(100% + 110px);
        margin-left: -55px;

        &>.owl-wrapper-outer>.owl-wrapper>.owl-item>.item {
          padding: 0 55px;
          color: $blue;

          p {
            font-size: 24px;
            margin-bottom: 0;
            color: $black;
          }

          .col-md-4,
          .item {
            padding: 15px;

            ul {
              border-top: 2px solid $blue-highlight;
              padding-top: 15px;

              li {
                margin-bottom: 3px;

                a.inactive {
                  color: #9e9e9e;
                }
              }
            }
          }

          .paging-carousel {
            margin-left: -15px;
            width: calc(100% + 30px);

            .owl-prev,
            .owl-next {
              position: absolute;
              top: 0;
              width: 40px;
              width: 40px;
              height: 40px;
              top: 50%;
              position: absolute;
              opacity: 1;
              -webkit-transition: opacity 0.5s;
              -moz-transition: opacity 0.5s;
              -o-transition: opacity 0.5s;
              transition: opacity 0.5s;
              background: transparent;
              margin: 0;
              padding: 0;

              &.disabled {
                opacity: 0;
              }

              span {
                font-size: 27px;
                line-height: 40px;
                color: $grey-arrows;
              }
            }

            .owl-prev {
              left: -40px;

              span {
                padding-left: 10px;
              }
            }

            .owl-next {
              right: -40px;

              span {
                padding-left: 13px;
              }
            }
          }

          .results-container {
            p {
              font-weight: bold;
              color: $black;
              font-size: 18px;
              margin: 7px 0;
            }
          }
        }

        .owl-prev {
          content: "";

        }

        .owl-next {}

        .close-filter-search {
          position: absolute;
          right: 0;
        }
      }

      .pagination-alphabet-carousel {
        border-top: 2px solid $blue-highlight;
        padding-top: 20px;

        .item {
          color: $blue;
          text-align: left;

          p {
            font-size: 18px;
            font-weight: 300;
            margin: 7px 0;
            text-align: center;
          }

          &.inactive {
            color: #9e9e9e;
          }
        }

        .owl-wrapper {
          left: -8px !important;
        }

        .owl-item {
          /*width: auto !important;
          padding: 0 10px;*/
          width: 30px !important;

          @media only screen and (max-width: 1200px) {
            width: 28px !important;
          }

          cursor: pointer;

          &:first-child {
            padding-left: 0px;
          }
        }

        .synced p {
          font-weight: bold;
          color: $black;
          font-size: 18px;
          margin: 7px 0;
        }
      }
    }
  }

  .collapse {
    padding: 0;
  }

  .mega-dropdown {
    border-left: 1px solid $grey-footer;
    border-right: 1px solid $grey-footer;

    ~.mega-dropdown {
      border-left: 0 solid $grey-footer;
    }
  }

  .navbar-nav {
    float: right;
    padding-right: 15px;
  }

  .navbar-nav.ext-menu {
    float: left;
    padding-left: 15px;
    margin-left: 34px;
    margin-top: 10px;
  }

  .navbar {
    padding: 0;
    margin: 0;
    background-color: $white;
    border: none;

    .open .dropdown-toggle {
      border-bottom: 5px solid $blue;
      margin-bottom: -5px;
    }

    .container-fluid {
      padding: 0;
    }
  }

  .navbar-inverse .navbar-nav {

    &>li>a,
    &>a {
      color: $blue;
      background-color: $white;
      font-size: 16px;
      text-transform: uppercase;

      &:hover {
        border-bottom: 5px solid $blue;
        margin-bottom: -5px;
      }
    }
  }
}

.menu-side {
  padding: 17px 0px;
  float: left;
  width: 100%;

  h2 {
    font-size: 16px;
    font-family: Interstate, sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    padding: 0 0 5px 0;
  }

  ul.nav {
    border-top: 3px solid $blue;
    border-bottom: 3px solid $blue;

    &.empty {
      border-bottom: none;
    }
  }

  .active ul {
    border: none;
  }

  .navbar-sub li>ul li.active>a,
  .navbar-sub li>ul li>a:hover {
    background-color: transparent;
    font-weight: bold;
  }

  .nav>li>a:focus,
  .nav>li>a:hover {
    text-decoration: none;
    background-color: transparent;
  }
}

.left-cont {
  .mediaplayer-wrapper {
    overflow: hidden;
    width: 100%;
    margin-bottom: 10px;

    .video-js {
      height: 12vw !important;

      &.audio {
        height: 38px !important;
        background: #ffffff;

        .vjs-loading-spinner {
          display: none !important;
        }
      }
    }

    .no-media {
      position: relative;
      height: 12vw !important;
      background-size: cover;

      .text {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        color: white;
        padding-top: 20vw;
        text-align: center;
      }
    }

    .mediaplayer-description {
      padding: 5px;
      font-size: 0.8em;
    }

    .copyright {
      display: block;
      color: #a8baca;
      border-top: 1px solid #a8baca;
      margin-top: 10px;
      padding-top: 10px;

      &:before {
        content: "(";
      }

      &:after {
        content: ")";
      }
    }

    .download {
      display: block;
      margin-top: 10px;

      .icon-download {
        margin-right: 9px;
      }
    }

    @media only screen and (max-width: 400px) {
      .video-js {
        height: 48vw !important;

        &.audio {
          height: 38px !important;
          background: #ffffff;
        }
      }

      .no-media {
        height: 48vw !important;
      }
    }

    @media only screen and (min-width: 401px) and (max-width: 991px) {
      background: #f1f5f8;

      .video-js {
        width: 50% !important;
        height: 25vw !important;
        display: inline-block;

        &.audio {
          height: 38px !important;
          background: #ffffff;

          &+.mediaplayer-description {
            border-top: 9px solid white;
          }
        }
      }

      .no-media {
        height: 25vw !important;
        width: 50% !important;
        display: inline-block;

        .text {
          padding-top: 11vw !important;
        }
      }

      .mediaplayer-description {
        float: right;
        width: 50%;
      }
    }

    @media only screen and (min-width: 992px) {
      .no-media {
        height: 160px !important;

        .text {
          padding-top: 75px;
        }
      }
    }

    @media only screen and (min-width: 1200px) {
      .no-media {
        height: 193px !important;

        .text {
          padding-top: 90px;
        }
      }
    }
  }

  .custom-image {
    width: 100%;
    max-width: initial;
    margin-bottom: 10px;

    img {
      width: 100%;
    }

    .description {
      max-width: initial !important;
      font-size: 0.8em;
      background: #f1f5f8;
      padding: 5px;
    }

    @media only screen and (max-width: 400px) {
      .description {
        max-width: initial !important;

        .copyright {
          display: block;

          &.with-separator:before {
            content: "";
          }
        }
      }
    }

    @media only screen and (min-width: 401px) and (max-width: 991px) {
      background: #f1f5f8;

      img {
        width: 50%;
      }

      .description {
        max-width: initial !important;
        width: 50%;
        float: right;

        .copyright {
          display: block;
          color: #a8baca;
          border-top: 1px solid #a8baca;
          margin-top: 10px;
          padding-top: 10px;

          &:before {
            content: "(";
          }

          &:after {
            content: ")";
          }
        }
      }
    }
  }
}

.headline {
  position: relative;
  max-height: 450px;
  overflow: hidden;
  display: block !important;
  z-index: 10;

  img {
    width: 100%;
  }

  .slider-item {
    background: #ffffff;

    .img {
      background-size: cover !important;
      height: 250px;

      @media only screen and (min-width: 768px) {
        height: 450px;
      }
    }
  }

  .headline-title {
    color: $blue;
    position: absolute;
    top: 140px;
    width: 563px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.7);

    @media only screen and (max-width: 1200px) {
      width: 465px;
    }

    @media only screen and (min-width: 768px) {
      margin-left: -5px;
    }

    h2 {
      margin-top: 0;
    }

    h3 {
      margin-top: 0;
      font-family: Interstate, sans-serif;
      font-weight: bold;
      font-size: 36px;
    }

    p {
      font-family: Interstate, sans-serif;
      font-weight: normal;

    }

    .headline-more {
      font-family: Interstate, sans-serif;
      font-weight: bold;
      color: $white;
      margin-top: 0;
      background-color: $blue;
      padding: 7px 20px 7px 20px;
      font-size: 14px;
      border-radius: 0;
      font-weight: bold;
    }
  }

  .chevron-left {
    position: absolute;
    top: 235px;
    left: 20px;
    width: 20px;
  }

  .chevron-right {
    position: absolute;
    top: 235px;
    right: 20px;
    width: 20px;
  }
}

.teaser-text {
  font-weight: 300;
  color: $black;
}

.teaser {
  position: relative;
  background-color: $grey-footer;
  z-index: 20;

  &>.container {
    position: relative;

    &>.row {
      @media only screen and (min-width: 768px) {
        margin-top: -75px;
      }
    }
  }

  .card {
    background-color: $white;
    background-clip: padding-box;
    border: 10px solid transparent;
    padding: 10px;
    margin-bottom: 15px;

    img {
      width: 100%;
      height: auto;

      @media only screen and (min-width: 992px) {
        height: 135px;
      }

      @media only screen and (min-width: 1200px) {
        height: 168px;
      }
    }

    .card-title {
      margin-bottom: 5px;
      height: 50px;
      font-size: 18px;
      font-family: Interstate, sans-serif;
      font-weight: bold;

      a {
        color: $blue;
        font-weight: 400;
      }
    }
  }
}

.fsq {

  padding: 10px;

  .fa {
    color: $yellow;
    display: block;
    float: left;
    font-size: 30px;
    margin-right: 10px;

  }

  .fa-trophy {
    margin-top: 0;
  }

  h3 {
    font-size: 16px;
    font-family: Interstate, sans-serif;
    font-weight: bold;
    padding: 5px 0 20px;
    border-bottom: 1px solid $grey-divider;
    margin-top: 28px;
  }

  h4 {
    border-bottom: 1px solid $grey-divider;
    font-size: 14px;
    padding-bottom: 20px;
  }

  .map {
    padding: 10px 0;

    .btn {
      background-color: $blue;
      color: $white;
      margin-top: 30px;
      width: 74%;
    }
  }

  @media screen and (min-width: 767px) {

    ol.olbreak {
      -webkit-column-count: 2;
      -moz-column-count: 2;
      -ms-column-count: 2;
      -o-column-count: 2;
      column-count: 2;
      -webkit-column-gap: 2em;
      -moz-column-gap: 2em;
      -ms-column-gap: 2em;
      -o-column-gap: 2em;
      column-gap: 2em;
    }

  }

  ol {
    color: $blue-middle;
    font-weight: bold;
    list-style-type: none;
    counter-reset: li-counter;
    padding: 0;
    margin-bottom: 40px;

    li {
      margin-tbottom: 10px;
      display: flex;

      &:before {
        display: inline-block;
        width: 24px;
        margin-right: 12px;
        content: counter(li-counter)".";
        counter-increment: li-counter;
        font-family: Interstate, sans-serif;
        font-weight: bold;
        font-size: large;
      }

      a {
        color: $blue;
        font-size: 18px;
        font-family: Interstate, sans-serif;
        font-weight: bold;
      }
    }
  }

}

.details {
  margin-top: 50px;
}

.search-mobile {
  .navbar-brand {
    margin-left: 7px !important;
    margin-top: 15px !important;
  }

  .navbar-header {
    .logo-mobile {
      float: left;
      margin-top: 10px;
      margin-bottom: 10px;

      .navbar-brand {
        margin-left: 0px !important;
        margin-top: 0px !important;
      }
    }

    .msearch-toggle {
      position: absolute;
      right: 60px;
      background-color: $yellow;
      color: $blue;
      font-size: 24px;
      line-height: 24px;
      border: none;
      padding-top: 0;
      margin-top: 10px;
      height: 50px;
      width: 50px;
      cursor: pointer;
    }
  }

  #msearch {
    background-color: $white;

    .modal-dialog {
      margin: 0;
    }

    input {
      background-color: $grey-footer;
      border: none;
      font-size: 24px;
      float: left;
      width: 100%;
      margin-bottom: 20px;
    }

    .sb-submit {
      background-color: $yellow;
      border-radius: 0;
      border: none;

      .fa-search {
        color: $blue;
        font-size: 16px;
      }
    }

    .modal-header {
      border-bottom: 5px solid $grey-footer;
      padding-bottom: 15px;
      margin-bottom: 20px;
    }

    .close {
      /* 'X' close icon - mobile version only */
      position: absolute;
      z-index: 100;
      right: 10px;
      top: 0;
      height: 50px;
      width: 50px;
      margin-top: 20px;
      margin-right: 15px;
      /* image replacement */
      overflow: hidden;
      text-indent: 100%;
      white-space: nowrap;
      background-color: $blue;
      opacity: 1;
    }

    .close-search {
      position: absolute;
      right: 90px;
      top: 35px;
      color: $blue;
      font-weight: bold;
    }

    .close::after,
    .close::before {
      /* this is the 'X' icon */
      content: '';
      position: absolute;
      left: 50%;
      top: 50%;
      bottom: auto;
      right: auto;
      transform: translateX(-50%) translateY(-50%);
      height: 16px;
      width: 2px;
      background-color: $yellow;
    }

    .close::after {
      transform: translateX(-50%) translateY(-50%) rotate(45deg);
    }

    .close::before {
      transform: translateX(-50%) translateY(-50%) rotate(-45deg);
    }
  }
}

.news {
  a {
    text-decoration: none !important;

    &:hover {
      color: $blue;
    }
  }

  h2 {
    font-size: 18px;
    font-family: Interstate, sans-serif;
    font-weight: bold;
    padding: 15px 0;
  }

  .top-news {
    border-top: 1px solid #ccc;
    padding-top: 20px;
  }

  .title {
    margin-bottom: 8px;
  }

  .img {
    padding-left: 0px;
  }

  h4.top-news-headline {
    margin-top: 26px;
    margin-bottom: 34px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .news-story {
    border-bottom: 2px dotted $grey-divider;
    padding-bottom: 20px;

    overflow-x: hidden;

    p {
      margin: 0;
      line-height: 1.69;
    }

    h3 {
      margin-top: 20px;
    }

    .row {
      margin-right: 0;
      margin-left: 0;
    }

    .row.icon {
      padding-bottom: 2px;
      min-height: 20px;
      margin-top: 10px;
    }

    .topmeldung {
      background-color: $yellow;
      font-family: Interstate, sans-serif;
      font-weight: bold;
      color: $black;
      padding: 3px 10px 2px;
      float: left;
      margin-right: 10px;
      font-weight: bold;
      font-size: 13px;
    }

    .datetime {
      font-size: 12px;
      color: $blue-light;
      font-weight: 400;
      margin-bottom: 12px;
      line-height: 24px;
    }

    h4 {
      margin-top: 0px;
      font-weight: 600;
      font-size: 20px;

      a {
        color: $blue;
        font-family: Interstate, sans-serif;
        font-weight: bold;
      }
    }

    h5 {
      color: $black;
    }

    strong {
      font-family: Interstate, sans-serif;
      font-weight: bold;
      margin-bottom: 0;
    }

    p,
    strong {
      color: $black;
      font-size: 16px;
      ;
    }

    .video-icon {
      background: url(../pics/video.png) no-repeat;
      position: absolute;
      width: 26px;
      height: 22px;
    }

    .audio-icon {
      background: url(../pics/audio.png) no-repeat;
      position: absolute;
      width: 24px;
      height: 19px;
    }

    .second-icon {
      margin-left: 29px;
    }
  }

  .news-highlight {
    margin-top: 35px;
    background-color: $grey-footer;
    border-top: 1px solid $grey-divider;
    border-bottom: 1px solid $grey-divider;
    padding: 18px 0px;

    &.news-story {
      .datetime {
        line-height: 23px;
      }
    }

    .row.icon {
      min-height: 20px;
      margin-left: 20px;
    }

    img {
      width: 100%;
      margin-bottom: 15px;
      padding-left: 0px;
    }

    h4 {
      margin-top: 10px;
    }
  }
}

.pressarticle {
  .topbar {
    margin-top: 34px;

    .row {
      margin-right: 0;
      margin-left: 0;
    }

    .topmeldung {
      background-color: $yellow;
      font-family: Interstate, sans-serif;
      font-weight: bold;
      color: $black;
      padding: 3px 10px 2px;
      float: left;
      margin-right: 10px;
      font-weight: bold;
      font-size: 13px;
    }

    .datetime {
      font-size: 12px;
      color: $blue-light;
      padding: 3px;
      font-weight: 400;
    }
  }

  h1 {
    font-size: 24px;
    font-weight: bold !important;
    border-bottom: none !important;
    margin-bottom: 10px !important;
    margin-top: 15px !important;
    color: $blue !important;
  }

  h2 {
    font-size: 16px !important;
    margin-top: 0 !important;
  }
}

.breadcrumb {
  background-color: $white;
  font-size: 12px;
  padding: 30px 0 10px;
  margin-bottom: 5px;

  a {
    color: $black;
    font-family: Interstate, sans-serif;
    font-weight: bold;
  }

}

.breadcrumb>li+li:before {
  padding: 0 10px;
  color: $grey-divider;
  content: "/\00a0";
}

.main-cont {
  font-size: 16px;
  padding-bottom: 20px;

  a {
    color: $blue;
    font-weight: bold;
    font-family: Interstate, sans-serif;
    font-weight: bold;
    line-height: 1.69;
  }

  .h1,
  h1 {
    margin-top: 20px;
    margin-bottom: 15px;
  }

  .h2,
  h2 {
    margin-top: 20px;
    margin-bottom: 25px;
  }

  h3,
  .h3 {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .h4,
  .h5,
  .h6,
  h4,
  h5,
  h6 {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  h1 {
    border-bottom: 3px solid $blue-light;
    padding-bottom: 10px;
    font-family: Interstate, sans-serif;
    font-weight: normal;
  }

  h2 {
    font-size: 24px;
    font-family: Interstate, sans-serif;
    font-weight: bold;
  }

  h3 {
    font-size: 24px;
    font-family: Interstate, sans-serif;
    font-weight: normal;
  }

  h4 {
    font-size: 20px;
    font-family: Interstate, sans-serif;
    font-weight: normal;
  }

  h5 {
    font-size: 16px;
    font-family: Interstate, sans-serif;
    font-weight: normal;
  }

  .abstract {
    padding: 5px 40px 20px;
    margin-bottom: 24px;
    font-size: 18px;
    border-bottom: 2px dotted #ccc;

    p {
      margin: 0;
    }
  }

  .divider {
    border-top: 2px dotted #ccc;
    margin-top: 12px;
    margin-bottom: 12px;
  }

  .divider-strong {
    border-top: 3px solid $blue-light;
    margin-top: 12px;
    margin-bottom: 12px;
    clear: both;
  }

  ol {
    margin: 25px 0;
    list-style-position: outside;
    counter-reset: item;

    li {
      font-family: Interstate, sans-serif;
      font-weight: 300;
      list-style-type: none;
      counter-increment: item;
    }
  }

  ol>li:before {
    display: inline-block;
    width: 1.5em;
    padding-right: 0.5em;
    font-family: Interstate, sans-serif;
    font-weight: bold;
    text-align: right;
    content: counter(item) ".";
    margin-left: -25px;
  }

  ul {
    margin: 25px 0;
  }

  .documents {
    list-style: none;
    margin: 25px 0;
    padding: 0;

    li {
      padding-bottom: 5px;
    }

    .fa-external-link {
      padding-right: 15px;
    }
  }

  .noeiconlinks {
    text-align: center;
    padding: 30px 0 5px;

    img {
      margin-bottom: 15px;
    }
  }

  .clear {
    margin: 0;
    padding: 0;
    font-family: Interstate, sans-serif;
    font-weight: normal;
  }

  .upper {
    text-transform: uppercase;
  }

  .iconlinks {
    font-size: 16px;
    margin-top: -8px;

    p {
      margin: 8px 0;
    }

    [class*=fa] {
      padding-right: 10px;
      color: $blue-light;
      font-size: 22px;
    }

    &>.row>div:last-child {
      p {
        margin-bottom: 3px;
      }
    }
  }

  .getup {
    text-align: right;

    a {
      position: relative;
      top: -3px;
      font-family: Interstate, sans-serif;
      text-align: right;
      color: $blue-light;
      font-weight: normal;
      text-decoration: none;

      &:hover {
        text-decoration: none;
      }
    }

    [class*=fa] {
      padding-right: 10px;

      font-size: 22px;
    }
  }

  .img-wrap {
    overflow: hidden;
    list-style-position: inside;

    img {
      float: left;
      margin-right: 25px;
      margin-bottom: 0px;
      width: 25%;
    }

    p {
      /* margin-top: -5px; */
    }

    ul,
    ol {
      position: relative;
      margin: 0px;
      left: 25px;
    }

    li {
      padding-top: 5px;
    }

    ol>li:before {
      margin-left: 0px;
    }

    .description {
      float: left;
      clear: left;
      width: 25%;
      margin-right: 25px;
      font-size: 0.7em;
      margin-bottom: 30px;

      p {
        margin-top: 0px;
      }
    }

    a .description {
      font-weight: 300;
      color: #323232;
    }

    h1,
    h2,
    h3,
    h4,
    h5 {
      margin-top: 0px;
    }
  }

  .adress {
    padding: 10px 30px 0px;

    .adr-h {
      display: block;
      font-weight: 700;
    }

    .adr-h-sub {
      display: block;
      margin-top: 20px;
    }

    .adr-contact {
      display: block;
      margin-top: 20px;
    }

    p {
      margin: 0;
    }

    span {
      display: block;
    }
  }

  .municipality-info {
    tr {
      td:first-child {
        min-width: 140px;
      }
    }
  }

  @media screen and (min-width: 992px) {
    .carousel {
      img {
        display: block;
        margin: 0 auto;
        height: 267px;
      }
    }
  }

  @media screen and (min-width: 1200px) {
    .carousel {
      img {
        display: block;
        margin: 0 auto;
        height: 324px;
      }
    }
  }

  .carousel {
    display: flex;
    flex-wrap: wrap;

    .carousel-image {
      padding: 0;
      width: 66.46666667%;
      background: $blue-middle;
      border-right: 3px solid #fff;
      overflow: hidden;
      position: relative;

      img {
        display: block;
        margin: 0 auto;

        @media screen and (min-width: 992px) {
          &.portrait {
            height: 100%;
          }

          &.landscape {
            width: 100%;
            top: 0;
            bottom: 0;
            margin: auto;
            position: absolute;
          }
        }
      }
    }

    .carousel-nav {
      display: flex;
      flex-direction: column;
      color: $white;
      background-color: $blue-middle;
      padding: 25px 40px 25px 25px;

      p {
        margin-top: 10px;
      }

      .txt {
        padding: 15px 0;
        font-weight: 300;
        font-size: 16px;
        border-bottom: 2px solid #a6b9cd;
      }

      .author {
        color: #ccc;
        padding: 15px 0;
        font-weight: 300;
        font-style: italic;
        font-size: 14px;
      }

      .lightb-zoom {
        font-family: Interstate, sans-serif;
        font-weight: bold;
        float: right;
        border-radius: 0;
        font-size: 14px;
        padding: 4px 15px;

        i {
          font-size: 17px;
          margin-right: 5px;
        }
      }

    }

    .owl-controls {
      position: absolute;
      right: 25px;
      bottom: 30px;
      color: #fff;

      .owl-prev {
        float: left;
        margin-right: 20px;
        background: #5e81a5;

      }

      .owl-next {
        float: left;
        background: #5e81a5;

      }
    }

    .lightb {
      width: 50%;
      margin-top: 100px;

      .lightb-image {
        padding-right: 0;

        img {
          width: 100%;
        }
      }

      .lightb-nav {
        padding: 10px;
        color: $white;
        background-color: $blue-middle;

        .lightb-close {
          float: right;
          border-radius: 0;
          background-color: $blue-light
        }
      }
    }
  }

  .all-announcements {
    border-bottom: 2px dotted #ccc;
    padding-top: 25px;
    padding-bottom: 20px;

    .icon {
      background: url(../pics/caret-right.png) no-repeat;
      width: 10px;
      height: 15px;
      margin-right: 10px;
    }
  }

  .no-announcements {
    color: $blue;
    padding: 20px 0;
    font-weight: 700;
    font-family: Interstate, sans-serif;
  }

  .kundmachung {
    .a-top {
      color: $blue;
      border-bottom: 2px dotted $grey-footer;
      padding-bottom: 20px;
      margin-bottom: 20px;

      .fa {
        color: $blue-middle;
      }
    }

    h2 {
      font-size: 18px;
    }

  }

  .q-collapse {
    border-top: 2px dotted $grey-divider;

    .top {
      height: 60px;
      word-break: initial;

      h2 {
        display: inline-block;
        color: $blue;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: calc(100% - 30px);
        overflow: hidden;
      }

      a {
        cursor: pointer;
      }
    }

    h3 {
      font-size: 20px;
    }

    li {
      margin-bottom: 15px;
    }
  }

  .q-collapse:last-of-type {
    border-bottom: 2px dotted #ccc;
  }


  /*override main in .lr-cards*/
  .lr-cards {
    a {
      font-weight: normal;
    }

    .abstract {
      margin: 0px;
      padding: 0px;
      border-bottom: none;
    }

    .row-fluid {
      margin-right: 5px;
      margin-left: -5px;
    }



    .lr-card {
      .card-desc {
        background-color: $blue;
        padding: 16px;
        text-align: center;
        height: 160px;

        p {
          font-size: 16px;
          font-weight: 200;
        }

        span {
          a {
            color: #ffffff;
          }
        }

        .limg {
          text-align: center;
        }

        @media only screen and (min-width:335px) and (max-width: 513px) {
          font-size: 14px;
          padding: 10px;

          span {
            font-size: 14px;
          }

          p {
            font-size: 14px;
          }
        }

        @media only screen and (min-width:440px) and (max-width: 513px) {
          height: 145px;
        }

        @media only screen and (max-width: 335px) {
          height: 140px;
        }
      }

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

  .video-js {
    &.no-media {
      display: none;
    }
  }

  .mediaplayer-wrapper {
    .mediaplayer-description {
      .copyright.with-separator-download {
        &:before {
          content: ", ";
        }
      }

      .download {
        display: block;
      }
    }
  }
}

.amyCarousel {
  height: auto !important;
}

.modal .amyCarousel {
  overflow: visible !important;
}

@media screen and (max-width: 335px) {
  .col-xs-6 {
    width: 100% !important;
  }

  .lr-card {
    img {
      width: initial;
    }
  }
}

/* Sub Nav */
.navbar-sub {
  margin-bottom: 40px;
  width: 100%;

  .icon-ctrl {
    float: right;
    margin-top: 5px;
    color: #c7c7c7;
  }

  a {
    font-size: 16px;
    text-decoration: none !important;
    color: $blue;

    .icon-ctrl:before {
      content: "\e912";
      /* Right Arrow */
    }
  }

  .active>a {
    text-decoration: none;
    font-family: Interstate, sans-serif;
    font-weight: bold;
    color: $blue !important;

    .icon-ctrl {
      color: inherit;
    }

    .icon-ctrl:before {
      content: "\e910";
      /* Right Down */
    }
  }

  /* First Level */
  li {
    margin: 0;
    width: 100%;
  }

  li>a {
    background-color: transparent;
    border-bottom: 1px solid #ddd;
    padding: 10px 5px;
  }

  li>a:hover,
  li.active>a {
    /*background-color: $orange;*/
  }

  li.active>ul {
    display: block;
  }

  /* Second level */
  li>ul {
    margin: 0;
    width: 100%;

    li>a {
      font-size: 15px;
      color: $black;
    }

    li>a:hover,
    li.active>a {
      font-weight: bold;

      .icon-ctrl {
        color: $blue;
      }
    }

    li:nth-last-child(1) a {
      border: 0 !important;
    }
  }

  /* Third level */
  li>ul>li>ul {
    margin: 0;
    width: 100%;
    padding-left: 40px;
    background-color: #ededf2;

    li>a {
      border-color: #d4d4d4;
      padding-left: 0;
    }

    li>a:hover,
    li.active>a {
      background-color: transparent;
    }
  }

  li>ul {
    display: none;
  }

  li>ul>li {
    padding-left: 20px;
  }

  li.active>ul {
    display: block;
  }

  .fa {
    float: right;
  }

  .fa-caret-right:before {
    content: "\f0da";

  }

  .active>a .fa-caret-right:before {
    content: "\f0d7";
  }
}

footer {
  background: $grey-footer;
  color: $black;
  font-size: 12px;
  padding-top: 0;
  padding-bottom: 20px;
  margin-top: 3px;

  h3 {
    font-family: Interstate, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
    border-bottom: 1px solid $black;
  }

  a {
    color: $black;
  }

  ul {
    list-style: none;
    padding: 0;
  }
}

.bottom-area {
  padding: 15px 15px 0px 15px;
}

#bottom {
  color: $white;
  background-color: $blue;
  padding-top: 15px;
  padding-bottom: 15px;
  font-size: 16px;
  font-family: Interstate, sans-serif;
  font-weight: normal;

  .links {
    padding-top: 8px;
  }

  a {
    color: $white;
    text-transform: uppercase;
    padding-left: 5px;
    padding-right: 5px;

  }

  a~a {
    border-left: 1px solid #666;
    padding-left: 8px;
  }

  #bottom-right {
    text-align: right;
    padding-top: 8px;

    a~a {
      border-left: none;
      padding-left: none;
    }

    .copy {
      padding-right: 50px;
      vertical-align: top;
    }
  }
}

.visible-modal {
  display: none;
}

.modal {
  .txt {
    font-size: 16px;

    padding-bottom: 10px;
    color: #fff;

    .border {
      border-bottom: 1px solid #a6b9cd;
      width: 15%;
      margin-top: 12px;
    }
  }

  .author {
    font-size: 14px;
    font-style: italic;
    color: #a6b9cd;
  }

  .lightb-zoom,
  .count {
    display: none;
  }

  img {
    width: auto !important;
    margin: 0 auto;
    display: block;
    max-width: 100%;
  }

  .col-sm-8 {
    width: 100%;
  }

  .col-sm-4 {
    width: 100%;
  }

  .modal-header {
    padding: 0 15px;
    border-bottom: none;
  }

  .modal-body {
    position: relative;
    padding: 15px;
    color: #fff;

    .visible-modal {
      display: block !important;
    }

    .video-wrapper {
      max-width: 704px;
      margin: auto;

      .vimeo-video {
        position: relative;
        padding-bottom: 56.25%;
        padding-top: 0px;
        height: 0;
        overflow: hidden;
        margin-bottom: 10px;
      }

      iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
      }

      .info-block {
        margin-bottom: 10px;
        overflow: hidden;

        .topvideo {
          background-color: #ffd500;
          color: #323232;
          padding: 3px 10px 2px;
          float: left;
          margin-right: 10px;
          font-size: 13px;
        }

        .info {
          font-size: 15px;
          color: #a8baca;
          padding: 3px;
          font-weight: 400;
          float: left;
        }

        .share {
          float: right;
        }
      }

      .tags {
        font-size: 13px;
        color: #a8baca;
        margin: 25px 0 25px 0;

        a {
          color: #a8baca;
        }
      }

      h1 {
        color: #a8baca;
        font-size: 24px !important;
        font-weight: 700;
        margin: 10px 0 10px 0;
      }

      h2 {
        color: #a8baca;
        font-size: 20px !important;
        font-weight: 700;
        margin: 10px 0 10px 0;
      }

      p {
        color: #a8baca;
      }

      .copyright {
        color: #a8baca;
        font-size: 14px;
        display: block;
        margin-top: 10px;
        margin-bottom: 10px;
      }

      .copyright::before {
        content: " ";
        display: block;
        width: 180px;
        border-top: 1px solid #a8baca;
        margin-bottom: 8px;
      }
    }

    .description {
      font-size: 0.7em;
      margin: 0 auto;
      margin-top: 5px;
      position: relative;
      font-size: 16px;
      color: #a8baca;

      .copyright {
        display: block;
        margin-top: 10px;
        font-size: 14px;

        &:before {
          content: " ";
          display: block;
          width: 180px;
          border-top: 1px solid #a8baca;
          margin-bottom: 8px;
        }

        p {
          display: block;
          color: #a8baca;
          margin-top: 10px;
          font-size: 14px;
        }
      }

      .download {
        font-size: 14px;
        display: block;
        margin-top: 10px;

        .icon-download {
          margin-right: 9px;
        }

        a {
          color: #afc7de;
          font-weight: bold;
        }
      }
    }

    .similar-videos {
      .similar-videos-heading {
        margin: 30px 0 30px 0;
      }

      .similar-video {
        margin-bottom: 30px;

        img {
          height: auto;
          width: 100% !important;
        }

        .similar-video-categories {
          line-height: 1.69;
          position: absolute;
          bottom: 0;
          background: #003572;
          padding: 0 5px;
          color: #fff;
          font-weight: 400;
        }

        .infoblock {
          .info {
            line-height: 1.69;
            font-size: 15px;
            color: #a8baca;
            padding: 3px;
            font-weight: 400;
          }
        }
      }
    }
  }

  .carousel-nav {
    padding: 15px;
  }
}

@media screen and (max-width: 992px) {
  .modal .modal-body .similar-videos .similar-video .infoblock {
    margin-top: 10px;
  }
}

@media screen and (min-width: 992px) {
  .modal {
    img {
      height: 500px;
    }
  }

  .modal .modal-body .similar-videos .similar-video img {
    width: 100% !important;
    height: auto;
  }
}

.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
  background: rgba(76, 115, 155, 0.8);
}

.modal-header {
  padding: 15px;
  border-bottom: none;
}

.show-in-modal .description {
  /*font-size: 0.7em;*/
  text-align: left;
}

.modal-content {
  position: relative;
  background-color: transparent;
  background-clip: padding-box;
  border: none;
  border-radius: 0;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.modal .modal-header {
  padding: 0 15px;
  border-bottom: none;
  text-align: right;
  font-size: 20px;
  color: #fff;
}

.modclose i {
  cursor: pointer;
}

.count {
  font-size: 24px;
  font-weight: 300;
  float: left;

  .current {
    font-family: Interstate, sans-serif;
    font-weight: bold;
  }
}

/******** meldungen page**********/
.meldungen {
  .advanced-search {
    padding: 0px;

    label {
      font-weight: 300;
    }

    .q-collapse {
      border: 0px !important;
      margin-top: 30px;

      .buttons {
        padding: 0px;
      }
    }

    input[type="text"] {
      background-color: $grey-light;
      padding: 5px 8px;
      border: solid 1px $blue-light;
      outline: none;
    }

    input[type="checkbox"] {
      /*-moz-appearance:none;
      -webkit-appearance:none;
      -o-appearance:none;
      width: 14px;
      height: 14px;*/
      padding: 2px;
      margin: 0 3px 0 0;
      border: solid 1px $blue-light;
      background-color: $grey-light;
    }

    .btn-yellow {
      background-color: $yellow;
      color: $black;
    }

    .btn {
      margin-top: 0px;
      padding: 5px 28px;
    }

    .search-input {
      margin-bottom: 10px;
    }

    >.col-xs-12 {
      padding: 0px;
    }

    .adv-search {
      padding: 0px;
      margin-left: 30px;

      .col-md-10 {
        margin-bottom: 6px;
      }

      .col-md-2 {
        padding: 0px;
      }

      .col-md-4 {
        padding: 0px;
      }

      input[type="text"] {
        background-color: $grey-light;
      }

      input[type="text"] {
        border: solid 1px $blue-light;
      }

      [class*="col-"]:not(input) {
        padding-left: 0;
        padding-right: 0;
      }

      span {
        margin-top: 6px;
      }

      .input-group-addon {
        background: #fff;
        border: 0px;
      }

      .form-control {
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
      }
    }

    .search-filter {
      margin-top: 5px;

      div {
        margin-right: 2px;
      }

      .input-daterange {
        &>div {
          margin-bottom: 6px;
        }
      }
    }

    .icon-minus,
    .icon-plus {
      float: none;
      position: inherit;
      margin-top: 4px;

      .toggle-text {
        margin-left: 30px;
        font-weight: 300;
        font-size: 18px;
      }
    }
  }

  .news {
    padding: 0px;
    padding-top: 30px;

    .title {
      margin-bottom: 12px;
    }

    .subtitle {
      font-weight: 700;
    }

    .nopadding-left-only-xs {
      @media (max-width: 767px) {
        padding-left: 0;
      }
    }

    .nopadding-left {
      padding-left: 0;
    }

    .img {
      margin-bottom: 15px;
      padding-left: 0px;

      @media (min-width: 768px) {
        margin-bottom: 0px;
      }

      img {
        max-width: 100%;
      }
    }

    h4 {
      margin-top: -4px;
    }

    .title-img {
      margin-bottom: 4px;
    }

    .col-md-12 {
      padding: 0;
    }

    .news-highlight {
      .col-md-12 {
        padding-right: 15px;
        padding-left: 15px;
      }

      .title {
        .topmeldung {
          margin-left: 2px;
        }
      }

      .title-img {
        width: 66.666666666%;
        padding-left: 15px;
        float: right;
      }

      h4 {
        margin-top: 10px;
      }
    }

    .news-story {
      .datetime {
        line-height: 26px;
      }
    }
  }

  @media only screen and (max-width: 767px) {
    .advanced-search {
      input[type=text] {
        margin-bottom: 5px;
      }

      .search-filter {
        div {
          margin-right: 0px;
        }
      }

      .q-collapse {
        .buttons {
          padding: 30px 0 0 0;
        }
      }

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

      .search-input {
        margin-bottom: 0px;
      }

      .icon-minus,
      .icon-plus {
        float: left;
      }

      .adv-search {
        margin: 0px;
      }
    }
  }

  @media only screen and (max-width: 472px) {
    .advanced-search {
      .btn-yellow {
        padding: 5px 10px;
      }
    }
  }

  @media only screen and (max-width: 336px) {
    .advanced-search {
      .btn-yellow {
        padding: 5px 6px;
      }
    }
  }
}

//----------------------search results page ----------------------
.search-page {
  .searchbox {
    padding: 0px;
    background-color: $grey-light;
    margin-bottom: 10px;

    .sb-input {
      background-color: $grey-light;
      border: none;
      font-size: 12px;
      outline: none;
      font-weight: 400;
      padding: 8px;

      &:focus {
        ouline: none;
      }
    }

    .sb-submit {
      background-color: $yellow;
      border-radius: 0;

      .fa-search {
        color: $blue;
        font-size: 16px;
      }
    }
  }

  .search-count {
    padding: 10px 0px;
    margin-bottom: 20px;
    border-bottom: 2px dotted $grey-divider;
  }

  .search-row {
    margin-bottom: 20px;

    .img {
      img {
        max-width: 100%;
      }
    }

    .title {
      margin-bottom: 0px;

      h4 {
        display: inline;
        font-weight: 700;
      }
    }

    .meta {
      color: $blue-light;
      font-style: Normal;
      font-weight: 300;
      font-size: 16px;

      span {
        line-height: 1.69;
      }

      .dot {
        font-weight: 700;
        vertical-align: top;
        font-size: 30px;
        line-height: 12px;
      }

      .breadcrumb {
        padding: 0;
        margin: 0;
        display: inline;

        li {
          color: $blue-light;
          font-style: normal;
          font-weight: 300;
          font-size: 16px;

          &.active {
            color: $blue-light;
          }

          a {
            font-weight: 400;
            color: $blue-light;
          }
        }
      }

      .breadcrumb>li+li:before {
        content: "\007c";
        color: $blue-light;
        padding: 0 4px;
      }
    }
  }

  .nav-tabs {
    border-bottom: 3px solid $blue-light;
    margin: 10px 0;
    padding-right: 0px;

    @media screen and (min-width: 768px) {
      padding-right: 15px;
    }

    li {
      float: none;
      margin-right: 0px;
      margin-bottom: 10px;

      @media screen and (min-width: 768px) {
        float: left;
        margin-right: 3px;
        margin-bottom: 0px;
      }

      a {
        background: $white;
        color: $blue;
        font-weight: 700;
        border-radius: 0px;
        border: solid 1px $blue-light;
        margin-right: 0px;
        padding-left: 40px;

        &:hover {
          border: solid 1px $blue-light
        }

        @media screen and (max-width: 767px) {

          &:before,
          &:after {
            content: " ";
            width: 15px;
            height: 15px;
            background: $blue-light;
            display: inline-block;
            border-radius: 50%;
            vertical-align: baseline;
            margin-right: 5px;
            position: absolute;
            left: 15px;
            top: 0;
            bottom: 1px;
            margin: auto;
          }

          &:after {
            background: $white;
            width: 13px;
            height: 13px;
            left: 16px;
          }
        }

        @media screen and (min-width: 768px) {
          margin-right: 2px;
          padding-left: 15px;
        }
      }

      &.active {
        a {
          background: $blue-light;
          color: $white;
          font-weight: 500;
          border-radius: 0px;
          border: 1px solid $blue-light;

          &:hover {
            color: $white;
            background-color: $blue-light;
          }

          @media screen and (max-width: 767px) {
            &:before {
              background: #55697d;
            }

            &:after {
              background: #55697d;
            }
          }
        }
      }
    }
  }

  .search {
    padding: 0px;

    .search-highlight {
      background-color: $yellow;
    }

    .search-result-name {
      display: inline;
    }
  }

  .didyoumean {
    .suggestion {
      text-decoration: underline;
    }
  }

  .load-more {
    margin-bottom: 20px;
    border-bottom: 3px solid $blue-light;
  }

  .contact {
    background-color: $blue-light;
    color: $white;
    font-weight: 500;
    padding: 3px 4px;
    font-size: 12px;
    margin-right: 6px;
    vertical-align: middle;
    margin-top: -7px;
    display: inline-block;
  }

  /*tabs*/
  .ui-tabs-anchor {
    color: $blue;
  }

  .ui-tabs-active a {
    color: $white;
  }

  .ui-tabs-active {
    background: $blue-light !important;
  }

  .nav-select {
    border-top: 2px dotted $grey-divider;
    border-bottom: 2px solid $blue-light;
    margin-bottom: 16px;
  }

  .nav-select select {
    margin: 30px 0;
    border: 0px;
    background: $grey-light;
    padding: 6px;
  }

  .show-more-search-results {
    height: 1px;
    border: none;
    overflow: hidden;
    padding: 0;
    display: block;
  }
}

//----------------------search autocomplete-----------------------

.ui-autocomplete.ui-widget-content {
  background: none;
  background-color: $grey-light;
  border-top: 1px solid $blue-light;
  border-right: none;
  border-bottom: none;
  border-left: none;

  li {
    background-color: $grey-light;
    font-size: 14px;
    padding: 5px;
    margin: 0 5px;

    a {
      color: #003572;
    }
  }

  .ui-state-focus,
  .ui-state-active {
    background-image: none !important;
    background-color: $grey-light;
    border: none !important;
    margin: 0 !important;
  }

  .didyoumean {
    color: $black;
  }
}

.ui-autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  float: left;
  display: none;
  min-width: 160px;
  padding: 6px;
  list-style: none;
  background-color: $grey-light;
  border-radius: 0;
  box-shadow: none;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
  border-right-width: 2px;
  border-bottom-width: 2px;

  .ui-menu-item {
    cursor: pointer;

    &>a.ui-corner-all {
      display: block;
      padding: 3px 15px;
      clear: both;
      font-weight: normal;
      line-height: 18px;
      color: #555555;
      white-space: nowrap;
      text-decoration: none;
    }
  }

  .ui-state-hover,
  .ui-state-active,
  .ui-state-focus {
    color: $white;
    text-decoration: none;
    background-color: $grey-light;
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    background-image: none;
  }

  .didyoumean {
    color: $black;
  }
}

//----------------------kundmachungen page -----------------------

.districts {
  border-bottom: 1px solid $blue-light;
  padding-bottom: 18px;

  .filter {
    margin-bottom: 20px;

    &:last-child {
      margin-bottom: 0;
    }
  }

  select,
  .select {
    padding: 5px 10px;
    background-color: $blue-light;
    color: $white;
    border: 0px;
    min-width: 240px;
  }

  .title {
    color: $blue;
    padding-right: 10px;
    padding-top: 5px;
    width: 70px;
    display: inline-block;
  }
}

//------------------------media----------------------------------

.limg {
  overflow: hidden;
}

.card-desc {
  height: 150px;
}

@media screen and (min-width: 992px) {

  .cd-dropdown-wrapper,
  .search-mobile {
    display: none;
    visibility: hidden;
  }
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 26px;
  }

  #bottom-right {
    text-align: left !important;
    margin-top: 30px;
  }

  .logo-desktop {
    display: none;
  }

  .topmenu,
  .breadcrumb,
  .menu-side,
  .mentop,
  .navbar-nav {
    display: none;
    visibility: hidden;
  }

  .navbar-toggle {
    display: block;
    position: absolute;
    right: 45px;
    background-color: $yellow;
    color: $blue;
    font-size: 24px;
    line-height: 24px;
    border: none;
    padding-top: 12px;
    height: 50px;
    width: 50px;
  }

  .carousel {

    .carousel-image {
      width: 100% !important;
      border-right: 0 !important;
    }

    .carousel-image img {
      max-height: 100%;
      max-width: 100%;
    }

    .carousel-nav {
      width: 100%;
      margin-left: 0;
    }

    .carousel-control.left,
    .carousel-control.right {
      bottom: 35px;
    }
  }

  .modal-body .carousel-control.right {
    top: -50px;
  }

  .alarm .col-md-5 {
    text-align: center;

    .fa {
      font-size: 70%;
    }
  }

  .foerderartikel {
    .top {
      .col-md-9 {
        padding-top: 25px;
      }
    }
  }

  .bottom-area .col-md-3,
  .kontakt .col-md-6 {
    margin: 0 20px;
  }

  .kondolenz {
    .container {
      img {
        margin-left: auto !important;
        margin-right: auto;
        display: block;
      }

      .content {
        padding-right: 0px !important;
      }
    }
  }

  .article-img {
    .art-h {
      margin-top: 20px !important;
    }
  }


  .list-publ .col-md-3,
  .list-publ .col-md-6 {
    padding: 15px 0;
    height: auto !important;
  }

  .bh .row {
    display: block !important;

    .bh-img {
      padding-right: 15px;
    }

    .bh-img-txt {
      margin-left: 15px;
      margin-top: 15px;
      padding: 15px;
    }
  }
}

@media screen and (max-width: 767px) {

  .icon-arrow-right {
    position: absolute;
    top: 110px;
    right: 20px;
    width: 20px;
  }

  .icon-arrow-left {
    position: absolute;
    top: 110px;
    left: 20px;
    width: 20px;
  }



}

@media screen and (max-width: 767px) {
  .listpage .select select {
    width: 90% !important;
  }

  .listpage .select {
    .icon-caret-down-white {
      right: 9% !important;
      top: -20px !important;
      float: right;
    }

  }

  .kondolenz {
    .container {
      height: 100% !important;
      box-shadow: none !important;

      .border-wrapper {
        height: auto !important;
      }

      img {
        margin-left: auto !important;
        margin-right: auto;
        display: block;
        height: 200px !important;
      }

      h1 {
        margin-top: 25px !important;
      }
    }

    .btn {
      width: 200px;
      margin: 30px auto !important;
      display: block;
    }
  }

  .kontakt {
    padding: 0 0 50px;
    background-size: cover !important;

    .kontakt-l {
      height: 340px !important;
    }

    .kontakt-r {
      height: 340px !important;
    }
  }

  .wrapper-menu-mobile {
    overflow-x: hidden;
    width: 100% !important;
    border: none !important;

    .mobile-alphabet-navi,
    .mobile-alphabet-content {
      .item {
        a {
          &:not(:first-child) {
            border-top: none !important;
          }
        }

        p.letter-heading {
          font-weight: 700;
          font-size: 20px;
          margin-bottom: 0;
          margin-top: 15px;
          border-bottom: 1px solid $black;
        }
      }
    }

    .mobile-alphabet-navi {
      .owl-item {
        a {
          text-align: center;
          border-top: none;
          border-bottom: none;
          color: $blue;
          font-size: 18px;
          font-weight: 300;
          text-decoration: none;
        }

        &.synced {
          a {
            color: $black;
            font-weight: 700;
          }
        }
      }
    }

    .mobile-alphabet-content {
      position: relative;
      top: initial;
      left: initial;
      padding: 0;
      height: initial;
    }

    .navbar-brand {
      padding: 15px 15px 15px 22px !important
    }
  }

  .headline {
    height: 100%;
  }

  .headline-title {
    color: $blue;
    position: inherit !important;
    top: 180px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.7);
  }

  .teaser .card {
    background-color: #fff;
    background-clip: padding-box;
    border: 10px solid transparent;
    padding: 10px;
    margin-top: 0;
    margin-bottom: 25px;
  }

  .main-cont {
    .q-collapse {
      .top {
        h2 {
          width: calc(100% - 30px);
          font-size: 16px;
        }
      }
    }
  }
}

@media screen and (max-width: 991px) {
  .wrapper-menu-mobile {
    .mobile-search-close {
      border: none;
      opacity: 1;
      margin-right: 1px;
      margin-top: 10px;
      height: 50px;
      text-align: right;
    }
  }
}

@media screen and (min-width: 768px) {
  .wrapper-menu-mobile {
    .navbar-brand {
      display: none;
    }

    .mobile-alphabet-content {
      margin-top: 178px;
    }
  }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
  .kontakt-r {

    .form-group,
    .input-group {
      width: 100%;
    }

    .btn.btn-yellow {
      margin-top: 10px !important;
      width: 100%;
    }
  }
}

@media screen and (max-width: 1199px) {
  .kontakt {
    padding: 0 0 50px;

    .kontakt-l {
      height: 100%;
      padding: 20px 15px;
    }

    .kontakt-r {
      height: 100%;
      padding: 20px 15px !important;
    }
  }

}

//------------------------media----------------------------------

.cd-dropdown-wrapper {
  display: inline-block;
  position: relative;

  float: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  z-index: 30;

}

.cd-dropdown-trigger {
  display: block;
  position: relative;
  font-size: 24px;
  line-height: 24px;
  padding-top: 0px;
  margin-top: 10px;
  height: 50px;
  width: 50px;
  background-color: $blue;
  color: $yellow;
  border: none;
}

.cd-dropdown h2,
.cd-dropdown-content a,
.cd-dropdown-content ul a {
  height: 46px;
  line-height: 46px;
  font-size: 14px;
}

.noscroll {
  overflow: hidden;
}

.cd-dropdown,
.cd-dropdown-search {
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-color: $white;
  color: $black;
  visibility: hidden;
  border-left: 5px solid $grey-footer;
  /* Force Hardware Acceleration */
  backface-visibility: hidden;
  transform: translateZ(0);
  transform: translateX(100%);
  transition: transform 0.5s 0s, visibility 0s 0.5s;
  overflow-y: scroll;
  position: fixed;
  -webkit-overflow-scrolling: touch;

  &.dropdown-is-active {
    visibility: visible;
    transform: translateX(0);
    transition: transform 0.5s 0s, visibility 0s 0s;
  }

  .cd-close {
    /* 'X' close icon - mobile version only */
    position: absolute;
    z-index: 100;
    right: 25px;
    top: 20px;
  }

  .close-menu {
    position: absolute;
    right: 90px;
    top: 35px;
    color: $blue;
    font-weight: bold;
  }
}


.cd-dropdown-content {
  padding: 25px 25px 0 25px;
  margin-top: 150px;
  border-top: 5px solid $grey-footer;
  color: $black;
  list-style: none;
  font-weight: normal;
  z-index: 2;

  &>li>.menulink {
    a {
      font-weight: 700;
      text-transform: uppercase;
    }
  }

  .is-hidden {
    display: none;
  }

  ul {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    transition: transform 0.3s;
    list-style: none;
    z-index: 1;

    ul {
      li:not(.go-back) {
        a {
          text-transform: none;
        }
      }
    }
  }

  li {
    .menulink {
      transition: transform 0.3s;
      position: relative;

      .arrow-right {
        position: absolute;
        text-align: center;
        width: 43px;
        height: 45px;
        background: $blue url(../pics/respright.png) no-repeat center;
        right: 0;
        top: 0;
      }
    }

    &.link {
      a {
        font-weight: normal;
        text-transform: uppercase;
        color: $blue;
        height: auto;
        border: none;
        line-height: normal;
        padding-top: 20px;
      }

      &~li.link {
        a {
          padding-top: 10px;
        }
      }
    }

    a {
      &.is-clickable {
        color: $blue;
      }
    }
  }

  .go-back {
    margin-top: 15px;
    margin-bottom: 20px;
    font-size: 16px;
    color: $black;

    a {
      margin-left: 70px;
      font-weight: bold;
      text-transform: uppercase;
    }
  }

  .go-back:before {
    content: url(../pics/respback.png);
    position: absolute;
    width: 50px;
    height: 50px;
    cursor: pointer;
  }

  a,
  ul a {
    display: block;
    /* truncate text with ellipsis if too long */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /* Force Hardware Acceleration */
    transform: translateZ(0);
    backface-visibility: hidden;
    transition: opacity 0.3s, transform 0.3s;
    border-bottom: 1px solid $grey-footer;
    color: $black;
  }

  &.is-hidden,
  ul.is-hidden {
    /* push the secondary dropdown items to the right */
    transform: translateX(100%);
  }

  &.is-hidden>li>a,
  &.move-out>li>a,
  ul.is-hidden>li>a,
  ul.move-out>li>a,
  &.is-hidden>li>.menulink,
  &.move-out>li>.menulink,
  ul.is-hidden>li>.menulink,
  ul.move-out>li>.menulink {
    /* lower down the dropdown items opacity - when secondary dropdown slides in or for dropdown items hidden on the right */
    opacity: 0;
  }

  &.move-out>li>a,
  ul.move-out>li>a,
  &.move-out>li>.menulink,
  ul.move-out>li>.menulink {
    transform: translateX(-100%);
  }

  ul>li.go-back {
    &:before {
      transition: opacity 0.3s;
    }
  }

  ul.move-out>li.go-back {
    &:before {
      opacity: 0;
    }
  }

  :first-child>.menulink>a {
    border-top: 1px solid $grey-footer;
  }

  .go-back>a {
    border: none;
  }
}

.cd-secondary-dropdown {
  margin-top: 155px;
  padding-left: 25px;
  padding-right: 25px;

  ul {
    padding-left: 25px;
    padding-right: 25px;
  }

  :nth-child(2)>a {
    border-top: 1px solid $grey-footer;
  }

  &.alphabet {
    margin-top: 0px;
  }
}

.dropdown-is-active .cd-dropdown-content,
.dropdown-is-active .cd-dropdown-content ul {
  -webkit-overflow-scrolling: touch;
}

@keyframes cd-fade-out {
  0% {
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: visible;
  }
}

.no-js .cd-dropdown-wrapper:hover .cd-dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.no-js .cd-dropdown-wrapper .cd-close {
  display: none;
}

.kontakt {
  color: $white;

  background-color: $blue;
  background-size: 50%;
  background-position: right;

  background-repeat: no-repeat;
  margin: 0;
  position: relative;
  display: flex;
  width: 100%;


  h3 {
    font-weight: bold;
    border: none;
    font-size: 24px;
  }

  p {
    font-size: 14px;
    margin-top: 30px;
  }

  .btn {
    background: none;
    border-radius: 0;
    border: 1px solid $white;
    padding-left: 20px;
    padding-right: 20px;
    margin-right: 10px;
    margin-top: 20px;
    color: $white;
    font-size: 16px;
    font-family: Interstate, sans-serif;
    font-weight: bold;

    &:hover {
      color: $white;
    }

    &.btn-yellow {
      color: $blue;
      background-color: $yellow;
      border: none;
      margin-top: 0;
      font-size: 16px;
    }

    @media screen and (min-width: 768px) {
      width: 100%;
    }

    @media screen and (min-width: 992px) {
      width: auto;
    }
  }

  form {
    margin-top: 35px;
    margin-bottom: 5px;
  }

  .inp {
    color: $blue;
    border: none;
    border-radius: 0;
    font-size: 14px;
    background-color: $blue-highlight;
  }

  .input-group-addon {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: $blue-highlight;
    border: none;
    border-radius: 0;
  }

  ::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: $blue;

  }

  ::-moz-placeholder {
    /* Firefox 19+ */
    color: $blue;

  }

  :-ms-input-placeholder {
    /* IE 10+ */
    color: $blue;

  }

  :-moz-placeholder {
    /* Firefox 18- */
    color: $blue;

  }

  .kontakt-l {
    background-color: $blue;
    flex: 1;
    padding: 20px 15px;
    height: 240px;

    @media screen and (min-width: 768px) {
      height: 300px;
    }

    @media screen and (min-width: 992px) {
      height: 240px;
    }
  }

  .kontakt-r {
    flex: 1;
    padding: 20px 20px 30px;
    height: 240px;

    @media screen and (min-width: 768px) {
      height: 300px;
    }

    @media screen and (min-width: 992px) {
      height: 240px;
    }

    //anachb widget styling
    .HafasMapWidget {

      .locations:nth-of-type(2),
      .draggableLocation,
      .mapWidgetLogo {
        display: none;
      }

      form {
        .submitButton {
          background: $yellow;
          color: $blue;
          padding: 0 20px;
          margin: 0;
          height: 34px;
          font-size: 16px;
          font-family: Interstate, sans-serif;
          border-radius: 0;

          @media screen and (min-width: 992px) {
            width: auto !important;
            margin-left: 3px;
          }
        }

        .sc_clearBoth {
          clear: none;
        }

        input[type='text'] {
          color: $blue;
          position: relative;
          padding: 6px 12px;
          font-size: 14px;
          background-color: $blue-highlight;
          height: 34px;
          margin: 0px;
          margin-right: 10px;
          -webkit-box-shadow: inset 3px 3px 8px rgba(0, 0, 0, .2);
          box-shadow: inset 3px 3px 8px rgba(0, 0, 0, .2);
          width: calc(100% - 41px);
          margin-left: 41px;
          z-index: 3;
          border: none;
          font-family: Interstate, sans-serif;

          &:focus {
            outline: 0;
            -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
          }
        }

        .locations:nth-of-type(1) {
          width: 100%;
          margin-bottom: 15px;

          @media screen and (min-width: 992px) {
            width: 50%;
          }

          &:before {
            display: inline-block;
            width: 17px;
            height: 19px;
            content: " ";
            background: $blue-highlight url('../pics/sprite-v2.png');
            background-position: -264px -312px;
            position: absolute;
            left: 12px;
            top: 8px;
            z-index: 2;
          }

          &:after {
            display: inline-block;
            width: 41px;
            height: 34px;
            content: " ";
            background: $blue-highlight;
            position: absolute;
            top: 0;
            left: 0;
          }
        }
      }
    }
  }

  .upper-wrapper {
    height: auto;
    overflow: visible;

    @media screen and (min-width: 768px) {
      height: 165px;
      overflow: hidden;
    }

    @media screen and (min-width: 1200px) {
      height: 130px;
    }
  }
}

.alarm,
.errorteaser {
  width: 100%;
  color: $blue;
  background-color: $yellow;
  font-family: Interstate, sans-serif;
  font-weight: normal;

  .container {
    padding-top: 80px;
    padding-bottom: 140px;

    .fa {
      font-size: 300px;
    }

    h3 {
      font-family: Interstate, sans-serif;
      font-weight: bold;
      font-size: 36px;
      margin-bottom: 20px;

    }

    .btn {
      background-color: $blue;
      color: $white;
      font-weight: bold;
      margin-top: 20px;
      padding-left: 25px;
      padding-right: 25px;
      font-family: Interstate, sans-serif;
      font-weight: bold;
    }
  }
}

.errorteaser {
  background-color: $blue-light;
  color: $white;

  .container {
    padding-top: 20px;
    padding-bottom: 20px;

    @media screen and (min-width: 768px) {
      padding-top: 80px;
      padding-bottom: 140px;
    }
  }

  .errorcode {
    text-align: center;
    font-size: 120px;
    font-weight: 600;
    line-height: 1;

    @media screen and (min-width: 768px) {
      font-size: 200px;
    }
  }

  .errordesc {
    text-align: center;
  }

  .container {
    .btn {
      background-color: $yellow;
      padding-left: 0;
      padding-right: 0;
      margin-top: 0;
    }

    .sb-input {
      color: $black;
    }
  }
}

.errorArea {
  padding: 15px;
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
  border: 1px solid;
  border-radius: 4px;
}

.errorAreaOverlay {
  padding: 15px;
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
  border: 1px solid;
  border-radius: 4px;
  display: none;
}

.kondolenz {
  width: 100%;
  color: $white;
  background-color: $blue-kondolenz;
  padding: 80px 0;
  font-family: Interstate, sans-serif;
  font-weight: normal;

  .container {
    height: 400px;

    .border-wrapper {
      height: 400px;
      box-shadow: 0 0 0 1px $white, 0 0 0 10px $blue-kondolenz, 0 0 0 13px $white;
      float: left;
      width: calc(100% - 20px);
      margin-left: 10px;
    }

    .image {
      text-align: center;
      margin-top: 50px;

      img {
        height: 300px;
      }
    }

    .content {
      padding-right: 20px;
    }

    h1 {
      font-family: Interstate, sans-serif;
      font-weight: bold;
      margin-bottom: 20px;
      margin-top: 50px;
    }

    .btn {
      background-color: $white;
      color: $blue-kondolenz;
      font-weight: bold;
      margin-top: 20px;
      padding-left: 15px;
      padding-right: 15px;
      font-family: Interstate, sans-serif;
      font-weight: bold;

    }

    h5 {
      font-family: Interstate, sans-serif;
      font-weight: normal;
    }

    .birthdate {
      &:before {
        display: inline-block;
        content: "\002736";
        width: 15px;
        margin-left: -2px;
        margin-right: 7px;
      }
    }

    .deathdate {
      &:before {
        display: inline-block;
        content: "\00271D";
        width: 15px;
        margin-right: 5px;
      }
    }
  }
}

.lr-cards {
  color: $white;
  float: left;

  .lr-card {
    padding: 0;
    border: 5px solid $white;

    .card-desc {
      span {
        font-size: 16px;
        border-bottom: 1px solid $blue-middle;
        padding-bottom: 10px;
        margin-bottom: 15px;
        display: block;
      }

      strong {
        display: block;
      }

      p {
        font-size: 14px;
        font-weight: normal;
      }
    }

    img {
      width: 100%;
    }


  }
}

.vs-cards {
  color: $white;

  a {
    color: $white;
    text-decoration: none;
    display: block;
    height: 100%;
  }

  .vs-card {
    background-color: $blue;
    padding: 0;
    border: 15px solid $white;

    .card-desc {
      margin: 15px 20px;
      min-height: 35px;
      height: auto;

      strong {
        font-size: 16px;
        display: block;
        margin-bottom: 10px;
      }

      p {
        font-size: 14px;
        color: $blue-highlight;
        font-weight: 200;
      }
    }

    @media screen and (min-width: 992px) {
      .card-desc {
        height: 35px;
        margin: 15px 20px 25px 20px;
      }

      .large {
        height: 125px;
      }
    }

    img {
      width: 100%;
      border-bottom: 4px solid $white;
    }
  }
}

.nopad {
  padding: 0;
}

.listpage {
  .abstract {
    padding: 15px 40px 27px;
    margin-bottom: 40px;
    font-style: italic;
    font-size: 18px;
    border-bottom: 2px dotted $grey-divider;
  }

  ul {
    margin: 10px 0;
  }

  &>a {
    text-decoration: none;

    &:last-of-type {

      .article-img,
      .article {
        border-bottom: none;
      }
    }
  }

  .article-img,
  .article {
    text-decoration: none;
    border-bottom: 2px dotted $grey-divider;
    padding-bottom: 20px;
    margin-top: 20px;

    .art-h {
      color: $blue;
      font-family: Interstate, sans-serif;
      font-weight: bold;
      font-size: 20px;
      margin-bottom: 15px;
      display: block;
    }

    p {
      color: $black;
      font-weight: 300;
    }

    a {
      margin-left: 10px;
    }

    div {
      .art-h {
        margin-top: -7px;
      }
    }
  }

  a.article-link {
    color: $black;
    font-weight: 300;

    &:hover {
      text-decoration: none;
    }
  }

  .list-links {
    margin-top: 30px;

    ul {
      list-style: none;
    }

    a {
      line-height: 26px;
    }
  }

  .select {
    border-bottom: 2px solid $blue-light;
    padding-bottom: 20px;
    color: $blue-middle;

    select {
      background-color: $blue-middle;
      border: none;
      border-radius: 0;
      -webkit-appearance: none;
      color: $white;
      margin-left: 20px;
      width: 30%;
    }

    .icon-caret-down-white {
      color: $white;
      position: relative;
      right: 25px;
      top: -2px;
      pointer-events: none;
    }
  }

  .list-nav {
    height: 50px;
    text-align: center;

    ul {
      list-style: none;
      display: inline-block;

      li {
        float: left;
        margin-right: 15px;
      }

      a {
        color: $black;
        font-weight: normal;
      }

      .activ {
        font-weight: bold;
        color: $blue;
      }
    }
  }

  .atoz {
    .atoz-head {
      border-bottom: 2px dotted $grey-divider;

      ul {
        list-style: none;
        display: inline-block;
        padding: 0;
        margin: 0;

        li {
          float: left;
          margin-right: 10px;
        }

        a {
          color: $blue;
          font-family: Interstate, sans-serif;
          font-weight: bold;
          font-size: 16px;
        }
      }

    }

    .atoz-cont {
      .letter {
        border-bottom: 2px dotted $grey-divider;

        h3 {
          font-family: Interstate, sans-serif;
          font-weight: bold;
        }

        a {
          font-family: Interstate, sans-serif;
          font-weight: bold;
          font-size: 18px;
          line-height: 30px;
        }

        ul {
          list-style: none;
          padding-left: 0;
        }
      }
    }
  }

  .cart {
    .product {
      background-color: $blue-highlight;
      margin: 0;
      margin-bottom: 5px;
      padding: 10px;

      h3 {
        color: $blue;
        font-family: Interstate, sans-serif;
        font-weight: bold;
      }

      input {
        width: 50px;
        text-align: center;
        margin-top: 20px;
      }
    }

    h2 {
      font-family: Interstate, sans-serif;
      font-weight: normal;
    }

    .form-group {
      margin-bottom: 6px;
    }

    .qnt {
      margin-bottom: 80px;

      strong {
        padding-top: 10px;
      }

      .refresh {
        background-color: $blue-middle;
        color: $white;
        float: right;
        padding: 5px 15px;
        font-size: 16px;
        font-weight: 700;
      }
    }

    .form {
      border-top: 2px dotted $grey-divider;
      margin: 0;
      padding: 20px 0;

      &.noborder {
        border-top: none;
        padding-top: 0;

        h3 {
          margin-top: 0;
        }
      }

      label {
        font-size: 14px;
      }

      input,
      textarea {
        border-radius: 0;
      }

      .submit {
        border-top: 2px dotted $grey-divider;
        margin: 0;
        padding: 20px 0;

        .btn {
          background-color: $yellow;
          color: $black;
          float: right;
          padding: 5px 15px;
          font-size: 18px;
        }
      }
    }

  }
}

.main-cont.municipality {
  h2 {
    margin-top: 25px;
    margin-bottom: 20px;
  }
}

.collection-links {
  margin-bottom: 30px;

  #collection-head,
  .collection-head {
    padding-left: 15px;
    margin-bottom: 0;

    h2 {
      font-family: Interstate, sans-serif;
      font-weight: normal;
    }

    ul {
      list-style: none;
      padding: 0;

      li {
        line-height: 24px;
      }
    }

    .icon-getdown {
      position: relative;
      top: 4px;
      margin-right: 10px;
    }
  }

  .collection-cont {
    .collection-anker {

      a,
      strong,
      .btn {
        font-family: Interstate, sans-serif;
        font-weight: bold;
        font-size: 18px;
        margin-bottom: 10px;
      }

      a .fa {
        position: absolute;
        right: 20px;
        padding-top: 25px;
        color: $blue-middle;
        font-size: 24px;
      }

      h2,
      h3 {
        border-bottom: 2px dotted $grey-divider;
        padding-top: 20px;
        padding-bottom: 15px;
        font-weight: normal;
        font-family: Interstate, sans-serif;
        font-size: 24px;
      }

      h2 {
        font-weight: bold;
      }

      .iconup {
        position: relative;

        .icon-getup {
          position: absolute;
          right: 0;
          top: 25px;
        }
      }
    }

    .list-links {
      border-bottom: 2px dotted $grey-divider;
    }
  }

  .list-publ {
    margin: 0;
    padding: 20px 0;

    img {
      padding: 0;
    }

    .publ-h {
      color: $blue;
      font-family: Interstate, sans-serif;
      font-weight: bold;
      font-size: 20px;
      display: block;
      margin-bottom: 10px;
    }

    a {
      line-height: 26px;
      cursor: pointer;
    }

    .icon-plus,
    .icon-minus {
      float: left;
      position: relative;
      top: -2px;
      margin-right: 7px;
    }

    .icon-download {
      float: left;
      position: relative;
      top: 3px;
      margin-right: 7px;
    }

    .form {
      background-color: $blue-highlight;
      padding: 20px 40px;

      .row {
        margin-bottom: 15px;

        .col-md-6 {
          padding: 0;
        }
      }

      input {
        width: 100%
      }

      .btn {
        color: #666;
        background-color: #ffd500;
        width: 100%;
        font-size: 18px;
      }
    }

    &.goto-checkout {
      border-top: 2px dotted $grey-divider;

      .form {
        background: none;
        padding: 0;

        .btn {
          color: $black;
        }
      }
    }
  }

  .list-publ~.list-publ {
    border-top: 2px dotted $grey-divider;
  }
}

.order {
  margin-bottom: 80px;
}

.btn-order {
  color: #666;
  background-color: #ffd500;
  font-size: 18px;
  float: right;
}

.bh {

  .bh-img {
    padding-right: 5px;
    flex: 1;

    img {
      width: 100%;
    }

  }

  .bh-img-txt {
    font-size: 14px;
    color: $white;
    background-color: $blue-middle;
    border-right: 15px solid $white;
    padding-left: 15px;
    flex: 0.9;

    @media screen and (min-width: 991px) {
      height: 280px;
    }
  }

  strong {
    display: block;
    margin-bottom: 5px;
    margin-top: 30px;
  }

  .bh-h {
    display: block;
    font-size: 20px;
    margin-bottom: 5px;
    margin-top: 30px;
  }
}

.bh-img-txt {
  a {
    color: $white;
    font-family: Interstate, sans-serif;
    font-weight: bold;
  }
}

@media screen and (min-width: 991px) {
  .bh {
    img {
      height: 280px;
    }
  }
}

.foerderartikel {
  .top {
    img {
      width: 100%;
    }

    padding-bottom: 30px;
  }
}

.btn-yellow {
  margin-top: 20px;
  background-color: $yellow;
  color: $black;
  padding: 5px 30px;
  font-size: 16px;
}

.search-results {
  padding: 0 15px;
  margin-bottom: 40px;

  h1 {
    border-bottom: 3px solid $blue-middle;
    padding-bottom: 10px;
    font-family: Interstate, sans-serif;
    font-weight: normal;
  }

  h2 {
    font-size: 24px;
  }

  .res-h {
    font-family: Interstate, sans-serif;
    font-weight: bold;
    color: $blue;
    font-size: 18px;
  }

  .result-highlight {
    font-family: Interstate, sans-serif;
    font-weight: bold;
  }

  .searchbox {
    background-color: $grey-light;
    width: 300px;
    margin-top: 30px;

    .sb-input {
      background-color: $grey-light;
      border: none;
      width: 251px;
      font-size: 12px;
      padding: 8px;
      outline: none;
    }

    .sb-submit {
      background-color: $yellow;
      border-radius: 0;
      float: right;
    }
  }

  .nav-tabs {
    margin-top: 30px;
    border-bottom: 3px solid $blue-middle;

    li {
      border: 1px solid $blue-middle;
      margin-right: 5px;

      a {
        color: $blue;
        border: none;
        font-size: 14px;
      }
    }

    .active {
      background-color: $blue-middle;

      a {
        color: $white;
        background-color: $blue-middle;
      }
    }
  }

  .tab-content {
    h3 {
      padding-top: 20px;
      padding-bottom: 20px;
      border-bottom: 2px dotted $grey-divider;

      b {
        color: $blue;
        font-weight: bold;
      }
    }

    .s-result {
      margin-top: 30px;

      h4 {
        color: $blue;
        margin: 0;
      }

      p {
        font-size: 14px;
        margin-top: 3px;
        margin-bottom: 0;
      }

      .blue {
        color: $blue-middle;
      }

      .fa {
        color: $blue-middle;
      }

      .highlight {
        background-color: $blue-middle;
        color: $white;
        font-size: 10px;
        padding: 5px;
        margin-right: 5px;
      }

      .data {
        font-size: 10px;
        color: $black;
      }
    }
  }
}

.form-control {
  -webkit-box-shadow: inset 3px 3px 8px rgba(0, 0, 0, 0.2);
  box-shadow: inset 3px 3px 8px rgba(0, 0, 0, 0.2);
}

.image-modal-zoom {
  cursor: pointer;
}

.inactive {
  p {
    color: #99b0c5;
    font-family: Interstate, sans-serif;
    font-weight: bold;
  }
}

.downloadable-images {
  border-top: 2px dotted $grey-divider;
  margin: 20px 0;

  h4 {
    margin-top: 20px;
  }

  .img-wrap {
    margin: 20px 0;

    p {
      padding-left: calc(25% + 25px);
    }
  }

  .copyright-download-wrapper {
    padding-left: calc(25% + 25px);

    .copyright-download {

      //padding-top: 15px;
      //border-top: 1px solid $grey-light;
      .copyright {
        display: block;
        font-style: italic;
        font-size: 0.9em;
        color: $black;
        margin-bottom: 15px;
      }

      .download {
        display: block;

        .info {
          font-weight: 300;
        }
      }
    }
  }
}

.carousel {
  margin: 20px 0;
}

.carousel-control.right {
  right: 25px;
  bottom: 35px;
  top: inherit;
  left: auto;
  background-image: none;
  filter: none;
  background: #5e81a5;
  width: 40px;
}

.carousel-control.left {
  background-image: none;
  filter: none;
  background-repeat: repeat-x;
  right: 55px;
  bottom: 35px;
  top: inherit;
  left: auto;
  float: left;
  margin-right: 20px;
  background: #5e81a5;
  width: 40px;
}

.modal-body {
  .row.carousel {
    margin: 0 auto;
  }

  .carousel-image,
  .carousel-nav {
    padding-left: 0;
    padding-right: 0;
  }

  .carousel-control.right {
    right: 0;
    bottom: 30px;
    top: inherit;
    left: auto;
    background-image: none;
    filter: none;
    background: transparent;
    width: 50px;
  }

  .carousel-control.left {
    background-image: none;
    filter: none;
    background-repeat: repeat-x;
    right: 45px;
    bottom: 30px;
    top: inherit;
    left: auto;
    float: left;
    margin-right: 20px;
    background: transparent;
    width: 50px;
  }
}

.carousel-control:focus,
.carousel-control:hover {
  cursor: pointer;
}

.icon-slider-left,
.icon-slider-right {
  width: 40px;
  height: 35px;
}

.modal-body .carousel-control.left {
  top: -70px;
  height: 45px;
  opacity: 1;
  right: 48%;
}

.modal-body .carousel-control.right {
  top: -70px;
  height: 45px;
  opacity: 1;
  right: 45%;
}

.modclose {
  opacity: 0.7;
}

.modclose:hover {
  opacity: 1;
  cursor: pointer;
}

.txt {
  max-height: 152px;

  overflow: hidden;
  text-overflow: ellipsis;
}

@media screen and (max-width: 768px) {
  .carousel-control.left {
    bottom: 20px;
    z-index: 99999;
  }

  .carousel-control.right {
    bottom: 20px;
    z-index: 99999;
  }

}


.img100 img {
  width: 100%;
}

.iframe {
  padding: 50px 15px;
}

.ext-slogan {
  margin-left: 150px;
  color: $blue;
  padding-top: 20px;

  h1 {
    font-size: 16px;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
  }
}

.ext-mentop {
  height: 100%;
  top: 0;
  position: absolute;
  right: 10px;

  .btn {
    text-transform: uppercase;
    border: none;
  }

  .dropdown-menu-right,
  .dropdown-menu.pull-right {

    right: 0 !important;
    left: auto !important;
  }

  .open .dropdown-toggle,
  .navbar-inverse .navbar-nav>a:hover,
  .navbar-inverse .navbar-nav>li>a:hover {
    background: none;
    border: none;
  }

  .dropdown-menu>li>a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
  }

  .mentop-inner ul li {
    float: none;
  }

  .mentop-inner ul li~li {
    border-left: none;
  }
}

.ext3 {
  .msearch-toggle {
    right: 0 !important;
  }
}

.print-logo,
.print-bar,
.print-bar-shadow-object {
  display: none;
}

.modclose {
  font-family: Interstate, sans-serif;
  font-weight: 700;
  float: right;
  border-radius: 0;
  font-size: 14px;
  padding: 4px 15px;
  text-transform: uppercase;
  color: #fff;
}

.icon-close-white {
  position: relative;
  top: 1px;
  margin-right: 8px;
}


@media (min-width: 992px) {
  .modal-lg {
    width: 970px;
  }
}

@media screen and (min-width: 1200px) {
  .modal-lg {
    width: 1200px;
  }
}

.bootstrap-select.btn-group .dropdown-toggle .filter-option {
  color: $blue;
}

/*.cd-dropdown.dropdown-is-active li:nth-last-child(3) {
  margin-top:30px;
  a{
    border-bottom: none;
    height: 30px;
    line-height: 30px;

  }
}
.cd-dropdown.dropdown-is-active li:nth-last-child(2) {
  a{
    border-bottom: none;
    height: 30px;
    line-height: 30px;

  }
}
.cd-dropdown.dropdown-is-active li:nth-last-child(1) {
  a{
    border-bottom: none;
    height: 30px;
    line-height: 30px;

  }
}*/
.cd-dropdown-content a {
  border-bottom: 1px solid $blue-highlight;
}

.cd-dropdown-content :first-child>.menulink>a {
  border-top: 1px solid $blue-highlight;
}

.natural-monuments {
  .q-collapse {
    border-top: 2px dotted #ccc;
    border-bottom: none !important;

    &:first-of-type {
      border-top: none !important;
    }
  }

  ul.municipality-list {
    list-style: none;
    padding: 0;

    li {
      @include transition(0.5s);

      &>a {
        font-size: 20px;
        text-decoration: none;
      }

      .results {
        display: none;
        padding-left: 35px;
      }

      .icon-caret-right {
        @include transition(0.5s);
        margin-left: 2px;
      }

      &.opened {
        .icon-caret-right {
          @include transform(rotate(90deg));
        }
      }

      .natural-monument {
        padding-bottom: 0;

        &:last-of-type {
          border-bottom: 3px solid $blue-light;
        }

        .art-h {
          font-size: 18px;
        }

        .links {
          a {
            min-width: 150px;
            background: $blue-light;
            display: inline-block;
            color: white;
            margin: 10px 10px 0 0;
            padding: 5px 10px;
            text-decoration: none;
            font-weight: 300;

            &:hover {
              background: #59799a;
            }
          }
        }
      }
    }
  }
}

/*loading animation*/
.cssload-wrap {
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  line-height: inherit;
  background: rgba(255, 255, 255, 0.8);
  visibility: visible;
  opacity: 1;

  &.black {
    background: rgba(0, 0, 0, 0.8);

    .text {
      color: $yellow;
    }
  }

  &.transparent {
    background: none;
  }

  &.hideme {
    @include transition(0.5s);
    visibility: hidden;
    opacity: 0;
  }

  z-index: 1000;

  .text {
    position: absolute;
    left: 0;
    right: 0;
    top: 150px;
    bottom: 0;
    margin: auto;
    height: 20px;
    color: $blue;
  }
}

.cssload-container {
  display: inline-block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0px;
  bottom: 0;
  height: 80px;
  margin: auto;
}

.cssload-dots {
  display: inline-block;
  position: relative;

  &:not(:last-child) {
    margin-right: 28px;
  }

  &:before,
  &:after {
    content: "";
    display: inline-block;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    position: absolute;
  }
}

.cssload-dots {
  &:nth-child(n) {
    &:before {
      background-color: $yellow;
      @include transform(translateY(-200%));
      @include animation(cssload-animBefore 1.15s linear infinite);
    }

    &:after {
      background-color: $blue;
      @include transform(translateY(200%));
      @include animation(cssload-animAfter 1.15s linear infinite);
    }
  }

  @for $i from 1 through 10 {
    $delay: -1.03 * $i;

    &:nth-child(#{$i}) {

      &:before,
      &:after {
        @include animation-delay(#{$delay}s);
      }
    }
  }
}

@include keyframes(cssload-animBefore) {
  0% {
    @include transform(scale(1) translateY(-200%));
    z-index: 1;
  }

  25% {
    @include transform(scale(1.3) translateY(0));
    z-index: 1;
  }

  50% {
    @include transform(scale(1) translateY(200%));
    z-index: -1;
  }

  75% {
    @include transform(scale(0.7) translateY(0));
    z-index: -1;
  }

  100% {
    @include transform(scale(1) translateY(-200%));
    z-index: -1;
  }
}

@include keyframes(cssload-animAfter) {
  0% {
    @include transform(scale(1) translateY(200%));
    z-index: -1;
  }

  25% {
    @include transform(scale(0.7) translateY(0));
    z-index: -1;
  }

  50% {
    @include transform(scale(1) translateY(-200%));
    z-index: 1;
  }

  75% {
    @include transform(scale(1.3) translateY(0));
    z-index: 1;
  }

  100% {
    @include transform(scale(1) translateY(200%));
    z-index: 1;
  }
}

h3.kontakthead {
  font-size: 24px;
}

.municipality-info {
  table {
    p {
      margin: 0;
    }
  }
}

.yellow-button {
  padding: 5px;
  background: $yellow;
  color: $black;
  display: inline-block;
}

.municipalities-csvexport-link {
  @media screen and (min-width: 992px) {
    margin-top: 20px;
  }
}

.popover {
  border-radius: 0;
  max-width: 100%;

  .popover-title {
    background: white;
    border-radius: 0;
    border-bottom: 2px dotted #ccc;
    color: #003572;
    font-weight: 700;
    font-size: 22px;
  }

  .popover-content {
    table td {
      padding-right: 10px;
      vertical-align: top;
    }
  }
}

#owl-carousel .item img {
  display: block;
  width: 100%;
  height: auto;
}

table.election {
  @media screen and (min-width: 768px) {
    &:not(.aloha-table) {
      tr:nth-of-type(1) {
        th {
          border-right: 2px solid #cccccc;
          border-bottom: none;
        }
      }

      tr:nth-of-type(2) {
        th {
          &:nth-child(3n + 1) {
            border-right: 2px solid #cccccc;
          }
        }
      }

      td {
        &:nth-child(3n + 1) {
          border-right: 2px solid #cccccc;
        }
      }
    }

    &.aloha-table {
      tr:nth-of-type(2) {
        th {
          border-right: 2px solid #cccccc;
          border-bottom: none;

          &:first-child {
            border-right: none;
          }
        }
      }

      tr:nth-of-type(3) {
        th {
          &:nth-child(3n + 2) {
            border-right: 2px solid #cccccc;
          }
        }
      }

      td {
        &:nth-child(3n + 2) {
          border-right: 2px solid #cccccc;
        }
      }
    }

    td,
    th {
      &:last-child {
        border-right: none !important;
      }
    }
  }
}

.show-sub {
  display: block !important;
}

.headline.owl-carousel {
  .owl-controls {
    position: absolute;
    right: 25px;
    top: 30px;
    color: #fff;

    .owl-prev {
      float: left;
      margin-right: 20px;
      background: #5e81a5;

    }

    .owl-next {
      float: left;
      background: #5e81a5;

    }

    .owl-buttons {
      display: none;
    }

  }
}

@media only screen and (max-width: 767px) {
  .headline .headline-title {
    width: 100%;
  }

  .meldungen .news .img {
    padding-right: 0;
  }
}

// Social Share

.social-share {
  .social-button {
    background: no-repeat center center url("../share.png");
    background-size: 25px 25px;
    width: 25px;
    height: 25px;
    cursor: pointer;
  }

  .social-menu {
    display: none;
    position: absolute;
    margin-top: 35px;
    width: 200px;
    margin-left: -175px;
    z-index: 500000;

    ul {
      background-color: #003572;
      color: white;
      display: inline-block;
      list-style: none;
      padding: 15px;
      margin: 0;
      width: 200px;
    }

    li {
      margin: 0;
      margin: 10px 10px 10px 10px;
    }

    a {
      position: relative;
      margin-left: 10px;
      bottom: 10px;
      color: white;
    }

    .social-heading {
      text-transform: uppercase;
      font-weight: bold;
    }

    .social-icon {
      display: inline-block;
      width: 30px;
      height: 30px;
    }

    .facebook-icon {
      background: no-repeat center center url("../facebook-share.png");
      background-size: 30px 30px;
    }

    .twitter-icon {
      background: no-repeat center center url("../twitter-share.png");
      background-size: 30px 30px;
    }
  }
}



/* Februar 2018 */
@media only screen and (min-width: 991px) {
  .flex {
    display: flex;
  }
}

@media only screen and (max-width: 991px) {
  .mob-marg {
    margin-top: 15px;
  }

}

.top-news-headline {
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 10px 0;
}

.btn.news-all {
  margin-top: 40px;
}

.bottom {
  margin-bottom: 50px;
}

.news-story {
  border-bottom: 2px dotted #ccc;
  margin-top: 20px;
  margin-bottom: 0;
  overflow-x: hidden;
  padding-right: 16px;
  height: 92%;

  .video-top-icon {
    top: 0;
  }

  img {
    max-width: 100%;
  }
}

.bggrey {
  background: $grey-light;
  margin-top: 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 18px 0;
  margin-right: -3px;

  .vid-desc {
    left: 15px;
  }
}

ul.news-desc {
  list-style: none;
  padding: 0;
  display: flex;

  li {
    float: left;
  }

  .datetime {
    padding-left: 15px;
  }
}

.grey-story {
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  border-bottom: none !important;

  .row {
    margin-left: -15px !important;
    margin-right: -15px !important;
  }
}

.play-btn:before {
  content: url('../pics/play-button.png');
  position: absolute;
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.vid-desc {
  position: absolute;
  bottom: 0;
  background: $blue;
  padding: 0 5px;
  color: $white;
  font-weight: normal;

  strong {
    color: $white !important;
  }
}

.video-top-icon {
  background: url(../pics/video-top.png) no-repeat;
  background-size: contain !important;
  height: 25px;
  width: 30px;
  display: inline-block;
  position: relative;
  top: 8px;
  left: -6px;
}

.vid-padding {
  padding: 40px;
}

.videos {
  margin-top: 20px;
  padding-bottom: 20px;
  overflow: hidden;

  @media only screen and (max-width: 767px) {
    .col-sm-4 {}
  }

  h4 {
    line-height: 1.3 !important;
    font-size: 20px;
  }

  img {
    width: 100%;
  }


  .play-btn:hover:before {
    opacity: 0.8;
  }

  .top-pos {
    margin-top: -7px;
  }


  .news {
    h2 {
      margin-top: 0;
      margin-bottom: -20px;
    }

    h4 {
      line-height: 1.2 !important;
      font-weight: bold;
    }

    margin: 0 0 30px;
    padding: 0
  }

  .videorow {
    border-bottom: 1px dotted #b4b4b4;
    margin-top: 15px;
  }

  .vidborder {
    .videorow:last-child {
      border-bottom: none;
      margin-top: 10px;
    }
  }

  p.datetime {
    margin-bottom: 0 !important;
    margin-top: 4px !important;
  }

  .subtitle {
    line-height: 1.4 !important;
  }

  .topmeldung {
    display: inline-block;
    float: none !important;
    padding: 2px 10px 0 !important;
  }

  .video-icon {
    background: url(../pics/video.png) no-repeat;
    position: absolute;
    width: 20px !important;
    height: 18px !important;
    margin-top: 5px;
    background-size: contain !important;
    margin-left: 10px;
    filter: opacity(60%);
  }

  .vid-header {
    position: relative;
  }

  .img img {
    margin-bottom: 0;
  }

  .news-story {
    padding: 40px 20px !important;
  }

  .datetime {
    font-size: 12px;
    color: #809cb8;
    font-weight: 400;
    line-height: 24px;
  }

  .video-top-icon {
    top: 8px !important;
  }
}

.fbicon-bottom {
  background: url(../pics/fb_weiss_transparent.png) no-repeat;
  width: 33px;
  height: 33px;
  margin-left: 10px;
  display: inline-block;
  top: 2px;

  &:hover {
    background: url(../pics/fb_weiss.png) no-repeat;
  }
}

.twittericon-bottom {
  background: url(../pics/twitter_weiss_transparent.png) no-repeat;
  width: 33px;
  height: 33px;
  margin-left: 30px;
  display: inline-block;
  top: 2px;

  &:hover {
    background: url(../pics/twitter_weiss.png) no-repeat;
  }
}

.fbicon-top {
  background: url(../pics/fb_bunt.png) no-repeat;
  width: 33px;
  height: 33px;
  margin-left: 15px;
  display: inline-block;
  top: 2px;
}

.twittericon-top {
  background: url(../pics/twitter_bunt_transparent.png) no-repeat;
  width: 33px;
  height: 33px;
  margin-left: 10px;
  display: inline-block;
  top: 2px;
}

.instagramicon-top {
  background: url(../pics/Instagram_icon_bunt.png) no-repeat;
  width: 33px;
  height: 33px;
  margin-left: 10px;
  display: inline-block;
  top: 2px;
}

.youtube-top {
  background: url(../pics/Youtube_Icon.png) no-repeat;
  width: 33px;
  height: 33px;
  margin-left: 10px;
  display: inline-block;
  top: 2px;
}

#bottom .links {
  float: left;
}

.mentop .mentop-inner ul {
  float: left;
}

.mentop .mentop-inner .searchbox {
  float: left;
}

.mentop {
  .icon-links {
    float: right;
  }
}

.icon-links {
  position: relative;

  a {
    border-left: none !important;
  }

  a:hover {
    text-decoration: none;
  }
}

.news-story {
  .videos {
    margin-top: 0;
  }
}

.strong {
  font-weight: bold;
}

.topvid {
  background: $yellow;
  color: $blue;
  text-transform: uppercase;
  margin-right: -8px;
  margin-left: 10px;
  font-weight: bold;
  font-size: 11px;
}

@media only screen and (min-device-width: 991px) and (max-width: 1200px) {
  .topvid {
    margin-left: 0;

    &:before {
      content: "\A";
      white-space: pre;
    }
  }
}

@media only screen and (max-width: 991px) {
  #bottom .links {
    float: none;
    text-align: center;
  }

  .icon-links {
    display: block;
    width: 100%;
    text-align: center;
    padding: 20px 0;
  }

  .videos {
    .top-news {
      .col-sm-4 {
        padding-left: 0;
        padding-right: 0;
      }
    }
  }
}

.container-fix {
  padding-left: 0px;
  height: auto;
  margin-left: -15px;
  margin-right: -10px;
}

.wrapper {
  padding-left: 10px;
  padding-right: 10px;
  margin-left: auto;
  margin-right: auto;
}

.h2-fix {
  margin-left: -5px;
}