@import "bootstrap";
@import "variables";
@import "icons";
@import "search";
@import "forms";
//@import url('https://fonts.googleapis.com/css?family=PT+Sans:400,400i,500,500i,700,700i');

@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  src: url('https://www.bibb.de/system/fonts/PTSans-Regular.eot');
  src: local('PT Sans'), local('PTSans-Regular'), url('https://www.bibb.de/system/fonts/PTSans-Regular.eot') format('embedded-opentype'), url('https://www.bibb.de/system/fonts/PTSans-Regular.woff') format('woff');
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  src: url('https://www.bibb.de/system/fonts/PTSans-Bold.eot');
  src: local('PT Sans Bold'), local('PTSans-Bold'), url('https://www.bibb.de/system/fonts/PTSans-Bold.eot') format('embedded-opentype'), url('https://www.bibb.de/system/fonts/PTSans-Bold.woff') format('woff');
}
@font-face {
  font-family: 'PT Sans';
  font-style: italic;
  font-weight: 400;
  src: url('https://www.bibb.de/system/fonts/PTSans-Italic.eot');
  src: local('PT Sans Italic'), local('PTSans-Italic'), url('https://www.bibb.de/system/fonts/PTSans-Italic.eot') format('embedded-opentype'), url('https://www.bibb.de/system/fonts/PTSans-Italic.woff') format('woff');
}
@font-face {
  font-family: 'PT Sans';
  font-style: italic;
  font-weight: 700;
  src: url('https://www.bibb.de/system/fonts/PTSans-BoldItalic.eot');
  src: local('PT Sans Bold Italic'), local('PTSans-BoldItalic'), url('https://www.bibb.de/system/fonts/PTSans-BoldItalic.eot') format('embedded-opentype'), url('https://www.bibb.de/system/fonts/PTSans-BoldItalic.woff') format('woff');
}
@font-face {
  font-family: 'PT Serif';
  font-style: normal;
  font-weight: 400;
  src: url('https://www.bibb.de/system/fonts/PTSerif-Regular.eot');
  src: local('PT Serif'), local('PTSerif-Regular'), url('https://www.bibb.de/system/fonts/PTSerif-Regular.eot') format('embedded-opentype'), url('https://www.bibb.de/system/fonts/PTSerif-Regular.woff') format('woff');
}
@font-face {
  font-family: 'PT Serif';
  font-style: normal;
  font-weight: 700;
  src: url('https://www.bibb.de/system/fonts/PTSerif-Bold.eot');
  src: local('PT Serif Bold'), local('PTSerif-Bold'), url('https://www.bibb.de/system/fonts/PTSerif-Bold.eot') format('embedded-opentype'), url('https://www.bibb.de/system/fonts/PTSerif-Bold.woff') format('woff');
}

@brand-primary: #619144; /* a11y overrides @brand-primary in sass */
@active-orange: #E70;

/* --- Bootstrap MODS ---*/
@import "common";

body {
  background: @brand-primary;
  font-size: 13px
}

#commentList .comment:nth-child(even) { background: @gray-lighter; }
#dateVisColorSettings { stroke: @brand-primary; }
#hierarchyRecord { background: #fff; }
.cart-controls .checkbox { line-height: 2rem; }

/* --- Layout --- */
.main .container { padding-top: 1rem; }
@media (min-width: 768px) {
  .main .sidebar { padding: 0; }

  .modal-dialog {
    width: 750px;
  }
}

/* --- Header --- */
header { margin-top: 18px; }
header .fa.fa-bars { font-size: 21px; }
header .navbar {
  border-radius: 5px 5px 0 0;
  padding: 0 10px;
  &.search { border-radius: 0; }
  .navbar-brand {
    height: 34px;
    width: 346px;
    margin-top: 5px;
    color: transparent;
    background-image: ~"url('../../bibb/images/logo.png')";
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    &:active,
    &:focus,
    &:hover { color: transparent; }
    &.lang-ar { background-image: ~"url('../../bibb/images/logo.png')"; }
  }

  .navbar-nav > li > a { padding: 12px 6px; }
  .navbar-right { margin-top: 12px; }
  @media (max-width: 767px) {
    .navbar-nav > li > a { padding: 8px 24px; }
    .navbar-right { margin: 0; }
  }
}
header .searchbox .tab-content { border: 0; }
header .searchbox .tab-content .navbar-text { margin: 5px 10px 5px 0; }
@media (max-width: 767px) {
  header #header-collapse .navbar-right li { text-align: right; }
  header .searchForm_type {
    margin-top: 2px;
    margin-bottom: 2px
  }
}

/* --- Footer --- */
footer {
  margin-bottom: 2rem;
  border-radius: 0 0 5px 5px;
  border-top: 1px solid @nav-tabs-border-color;
}
footer hr { display: none; }
footer p { margin: 0; }
footer ul { padding-left: 30px; }

/* --- Browse --- */
[id^=list].list-group .col-sm-9 { margin: 0; }

/* --- Channels --- */
.channel { margin-bottom: 2rem; }
.channel-title {
  margin-top: 1rem;
  margin-left: -56px;
}
.channel-title .fa { margin-top: 4px; }
.channel-title h2 { padding-left: 50px; }

/* --- Offcanvas --- */
body.offcanvas {
  .offcanvas-toggle {
    padding-bottom: 18px;
    font-size: 16px;
    background: #fff;
    box-shadow: 0 0 2px #000;
    color: @brand-primary;
  }
  .sidebar .list-group { color: #000; }
  &.active .sidebar { color: #FFF; }
  &.active .offcanvas-toggle { box-shadow: none; }
}

/* --- Random Items (results view) --- */
ul.random {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: justify;
}
ul.random li { padding-bottom: 10px; }
ul.random li img { margin: 0 auto 1em; }
ul.random.image,
ul.random.mixed { text-align: center; }
ul.random.image li img { margin: 0 auto; }

/* --- ReCaptcha --- */
#custom_recaptcha_widget { display: table; }
#custom_recaptcha_widget embed { display: none; }
#custom_recaptcha_widget #recaptcha_image {
  border: 1px solid #000;
  padding: 6px;
  margin: 1em 0;
}
#custom_recaptcha_widget #recaptcha_response_field { margin: 0 .5em; }
#custom_recaptcha_widget > div > a {
  display: inline-block;
  float: left;
  margin: 5px 10px 5px 0;
}

/* --- Sidebar --- */
.sidebar {
  .facet-group { margin-bottom: 5px; }
  .facet-group label.list-group-item { padding-left: 26px; }
  .facet-group label.list-group-item input[type=checkbox] { margin-top: 2px; }

  .facet { padding: 7px 10px 6px; }
  .facet.active,
  .facet.active:hover,
  .active-filters .facet {
    color: #fff;
    background-color: @active-orange;
    border-color: @active-orange;
  }
  .facet.active .badge,
  .jstree-node.active .badge,
  .jstree-node.active .badge .fa { color: @active-orange; }
  .facet .badge a { color: #fff; }

  .facet.facetOR { padding-left: 1rem; }
  .facet.excludable { padding-right: 0; }
}
.slider-container .slider-handle {
  background: @brand-primary;
  border: 1px solid @brand-primary;
  &:hover,&:active,&:focus {
    background: #FFF;
    border-color: @gray-light;
  }
  &:active,&:focus { border-color: @brand-primary; }
}
.top-row .badge a {
  color: #fff;
  &:hover { color: @brand-danger; }
}
.jstree-facet .jstree-ocl::before { margin-left: -5px; }
.jstree-node.active { background-color: @active-orange; }


header {
  margin: 0;
}

body {
  background: none;
}

nav{
  position: relative;
}

.navbar-nav {
  position: absolute;
  top: -71px;
  right: 0;
}

header .navbar.search {
  padding-bottom: 15px;
}

.search-header {
  padding-bottom: 15px;
}

.top-facets .facet a {
  &:hover {
    color: #14416b;
    text-decoration: underline;
  }
}

.template-name-results .sidebar .facet-group .facet {
  &:hover {
    span {
      text-decoration: underline;
    }
  }
}
.suggested-topics {
  padding: 15px 0 30px 0;
  background-color: #f3f3f3;
  position: relative;
  .top-facets {
    padding-bottom: 40px;

    .facet {
      padding-bottom: 15px;
      color: #2d353c;
      font-size: 17px;
      width: 32%;
      overflow: hidden;

      a.applied {
        font-weight: bold;
        font-style: italic;

        i {
          display: none;
        }
      }
      &:before {
        content: none;
      }
    }

    .narrow-toggle {
      display: block;
      text-align: left;
      font-size: 17px;
      color: #14416b;
      text-decoration: none;
      background-color: #e1e1e2;
      position: absolute;
      width: 100%;
      left: 0;
      padding: 15px;


      a::before {
        content: '\00bb';
      }

      a:hover {
        text-decoration: underline;
        color: #14416b;
      }
    }

    strong {
      font-size: 20px;
      color: #14416b;
      margin-bottom: 15px;
    }
  }
}

.ergebnisse {
  margin-top: 40px;
}

.sortierung {
  width: 40%;
  float: right;
  font-size: 18px;
  color: #5e6c78;
  font-style: italic;

  select {
    padding: 0;
    color: #5e6c78;
    box-shadow: none;
    font-size: 18px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
    border-radius: 0;
    margin-left: 0.5em;
    padding-right: 30px;
    background: ~"url('../../bibb/images/arrowdown.png')" no-repeat;
    background-position: right 8px center;
    background-size: 13px;
    border-bottom: 1px solid #5e6c78;
  }

  .form-inline {
    margin-top: 28px;

    label {
      float: left;
    }
  }

  .search-sort {
    margin-top: 54px;

    label {
      margin-right: 34px;
    }
  }

  .form-inline + .search-sort {
    margin-top: 0;
  }

  label {
    color: #14416b;
  }
}

#suchverfeinerung {
  padding: 15px;
  background-color: #e1e1e2;
  border-bottom: white 3px solid;
  cursor: pointer;

  span {
    font-size: 20px;
    &:after {
      content: ~"url('../../bibb/images/arroworangeup.png')";
      float: right;
    }
  }

  &.open {
    span {
      &:after {
        content: ~"url('../../bibb/images/arroworangedown.png')";
      }
    }
  }
}

#suggested-topics {
  padding: 15px;
  padding-bottom: 13px;
  background-color: #f3f3f3;
  border-bottom: white 2px solid;
  display: none;
}

#suggested-topics.show-content {
  display: block;
}


.ergebnisfunktion {
  padding: 15px;
  background-color: #e1e1e2;
  border-bottom: #fff 3px solid;
  cursor: pointer;
  margin-top: 15px;

  span {
    font-size: 20px;
    &:after {
      content: ~"url('../../bibb/images/arroworangeup.png')";
      float: right;
    }
  }

  &.open {
    span {
      &:after {
        content: ~"url('../../bibb/images/arroworangedown.png')";
      }
    }
  }
}

.suchauswahl {
  padding: 15px;
  padding-top: 30px;
  background-color: #f1f1f1;
  border-bottom: #fff 3px solid;
  display: none;
  min-height: 100px;

  .bulk-checkbox {
    font-size: 17px;
    color: #14416b;
    padding-right: 10px;

    input {
      margin-right: 10px;
    }
  }

  .btn-group {
    input {
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      border: none;
      border-radius: 3px;
      background: none;
      background-image: none;
      background-color: #787f8b;
      font-size: 13px;
      color: white;
      text-shadow: none;
      margin-right: 5px;
      padding: 8px 15px;

      &:hover {
        background-color: #8d8d8d;
      }
    }
  }
}

.suchauswahl.show-content {
  display: block;
}

#ergebnisliste {
  font-size: 35px;
  font-weight: normal;
  color: #14416b;
}

#result0 {
  margin-top: 30px;
  border-top: 1px solid #122f54;
}

.media-left {
  width: 20%;
}

.result .media-left.medium img {
  width: 100%;
  max-width: none;
}

.result {
  margin-left: 0;
  position: relative;
  border-bottom: dotted 1px #5e6c78;

  &:nth-child(even) {
    background-color: white;
  }

  &:last-child {
    border-bottom: 1px solid #122f54;
  }

  .savedLists {
    background-color: white;
    color: #14416b;

    a {
      color: #14416b;

      &:hover {
        color: #14416b;
      }
    }
  }
}

.author {
  a {
    color: #14416b;
    font-weight: 600;
  }

}

.title-container {
  margin-bottom: 2px;
  max-width: 500px;
  font-size: 20px;

  .title {
    font-weight: normal;
    color: #2d353c;

  }
}

.pagination {

  float:right;

  li {
    a {
      color: #14416b;
      font-size: 18px;
      font-style: italic;
      padding: 4px 7px 3px;
      border: none;
    }

    &.active {
      span {
        text-decoration: underline;
        font-weight: bold;
        border: none;
        background: none;
        color: #14416b;
        font-size: 18px;
        font-style: italic;

        &:hover {
          background: none;
          border: none;
          color: #14416b;
        }
      }
    }
  }

  li:hover {
    a, span {
      background: none;
      color: #14416b;
      border: none;
      text-decoration: underline;
    }
  }
}

.result-body {
  font-size: 13px;
  color: #14416b;
  i {
    display: none;
  }
  a {
    font-weight: 600;
    &:hover {
      color: #14416b;
    }
  }
}

.result-table {
  margin-top: 30px;
  tr:first-child {
    border-bottom: solid 1px #c8c8c8;

  }

  th {
    font-size: 15px;
    font-style: italic;
    font-weight: bold;
    padding-right: 40px;
    padding-bottom: 5px;

    &:last-child {
      padding-right: 10px;
    }
  }

  td {
    font-size: 15px;
    color: #2d353c;
    padding-top: 10px;
    padding-right: 20px;
  }

}

.author {
  margin-bottom: 10px;
}

.published {
  margin-top: 20px;
  color: #14416b;
  font-size: 13px;
}

.fa-suitcase:before, .fa-sign-in, .fa-home, .fa-sign-out {
  visibility: hidden;
}

.fa-star:before {
  color: #ffce53;
}

.fa-plus:before {
  color: #ffce53;
}

.fa-minus-circle:before {
  color: #ffce53;
}

.cart-link-icon.fa {
  margin:0;
  background-position: center center;
  background-repeat: no-repeat;
  color: transparent !important;
  content: '';
  display: inline-block;
  height: 16px;
  margin: 0;
  padding: 0;
  text-shadow: none;
  vertical-align: text-bottom;
  width: 16px;
}

.result .cart-link-icon {
  text-align: right;
}

.result-links {
  float: none;
  width: auto;

  a {
    &:hover {
      color: #14416b;
      text-decoration: underline;
    }
  }

}

.status {
  .label {
    background: none;
    color: #2D353C;
    font-size: 16px;
    font-weight: normal;
  }
}

.add-result {
  width: 25%;
  float: right;
  text-align: right;

  a {
    color: #5e6c78;
    font-size: 15px;
    font-style: italic;

    &:hover {
      text-decoration: underline;
      color: #5e6c78;
    }
  }
}

.favorites {
  margin-bottom: 10px;
}

.result-table .format {
  background: none;
  color: #2D353C;
  font-size: 16px;
  font-weight: normal;
  padding-left: 0;
}

.searchForm {
  padding-top: 40px;
  width: 100%;
  border-bottom: solid 2px #e3e3e3;
  padding-bottom: 15px;
}

.searchForm .searchForm_lookfor {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 0;
  -webkit-box-shadow: inset rgba(128, 128, 128, 0.5) 0px 0px 5px;
  -moz-box-shadow: inset rgba(128, 128, 128, 0.5) 0px 0px 5px;
  box-shadow: inset rgba(128, 128, 128, 0.5) 0px 0px 5px;
  width: 100%;
}

.searchForm select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 0;
  -webkit-box-shadow: inset rgba(128, 128, 128, 0.5) 0px 0px 5px;
  -moz-box-shadow: inset rgba(128, 128, 128, 0.5) 0px 0px 5px;
  box-shadow: inset rgba(128, 128, 128, 0.5) 0px 0px 5px;
  padding-left: 0.5em;
  padding-right: 30px;
  background: ~"url('../../bibb/images/arrowdown.png')" no-repeat;
  background-position: right 8px center;
  background-size: 13px;
}

.searchForm .form-control {
  font-size: 13px;
  padding-left: 15px;
  padding-right: 15px;
  border-radius: 0;
}

.searchForm .searchForm_type {
  padding-left: 15px;
  padding-right: 23px;
}

.searchForm .btn-primary {
  background: ~"url('../../bibb/images/searchicon.png')" no-repeat;
  border: none;
  width: 60px;
  background-position: 5px;

  i {
    display: none;
  }
}

.advancedSearch {
  float: right;
  color: #14416b;
  font-weight: normal !important;
  font-size: 15px;

  &:hover {
    color: #14416b;
    text-decoration: underline;
  }
}

.advancedSearch::after {
  content: '\00bb';
  padding-left: 5px;
}

.breadcrumbs {
  .container {
    border: none;
  }
  margin-bottom: 20px;
}

.breadcrumb {
  background-color: #ebeaeb;
  border-radius: 0;
  padding: 10px;

  li {
    font-size: 16px;
    font-style: italic;
    color: #5e6c78;
  }
}
.breadcrumb>.active {
  color: #5e6c78;
}

.search-stats {
  font-style: italic;
  font-size: 17px;
  color: #5e6c78;
  padding-bottom: 0;
}

#content {
  padding-top: 0;
}


a:hover {
  color: #46749f;
  text-decoration: none;
}

.template-name-results {
  .sidebar {
    margin-top: 48px;

    .facet-group {
      border: none;
      border-bottom: 1px solid #122f54;

      .title {
        border: none;
        padding: 8px 10px;
        font-size: 17px;
        color: #2d353c;
        font-weight: bold;

        &.collapsed {
          font-weight: normal;
        }
      }

      .collapse {
        border: none;
        border-top: dotted 1px #5e6c78;
      }

      [data-toggle="collapse"]::after {
        content: ~"url('../../bibb/images/arroworangeup.png')";
        float: right;
      }

      .collapsed::after {
        content: ~"url('../../bibb/images/arroworangedown.png')";
      }
      .facet {
        border: none;
        font-size: 15px;
        color: #2d353c;

        &.narrow-toggle {
          text-align: left;
          color: #14416b;
          border-top: dotted 1px #5e6c78;
          margin-top: 10px;

          &:before {
            content: '\00bb';
            padding-right: 0.3em;
          }
        }
      }

      .collapsing {
        border: none;
      }

      &.active-filters {

        .facet {
          margin-bottom: 2px;
          &:last-child {
            margin-bottom: 0;
          }
        }

        a i:before {
          color: white;
        }
      }
    }

    .badge {
      background-color: #f3f3f3;
      color: #14416b;
      font-weight: normal;
    }
  }
}

.date-fields {

  margin: 20px 0;

  input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
    -webkit-box-shadow: inset rgba(128,128,128,0.5) 0px 0px 5px;
    -moz-box-shadow: inset rgba(128,128,128,0.5) 0px 0px 5px;
    box-shadow: inset rgba(128,128,128,0.5) 0px 0px 5px;
    width: 100%;
    border-radius: 0;
    padding: 8px 15px;
    height: auto;
  }
}

.slider-container .slider-handle {
  background: #14406a;
  border: solid 1px #14406a;
  &:hover {
    background: #46749f;
  }
}

.min-slider-handle {
  &:before {
    content: '\00ab';
    color: white;
    top: -2px;
    position: absolute;
    left: 6px;
    font-size: 18px;
  }
}

.max-slider-handle {
  &:before {
    content: '\00bb';
    color: white;
    top: -2px;
    position: absolute;
    left: 6px;
    font-size: 18px;
  }
}

.slider.slider-horizontal .slider-track {
  height: 20px !important;
  margin-top: -10px !important;
  border: none;
  box-shadow: none;
  border-radius: 0;
  border-bottom: none !important;
}

.slider-selection {
  box-shadow: none !important;
  border: none;
}

#publishDateFilter {
  input.btn-default {
    border: 0 none;
    color: #ffffff;
    cursor: pointer;
    display: inline-block;
    font-size: 1.6rem;
    line-height: 1;
    padding: 0.5em 1.1em 0.6em;
    text-shadow: none;
    font-weight: normal;
    font-size: 16px;
    border-radius: 2px;
    margin: 20px 0;
    background: ~"url('../../bibb/images/arrowrightlight.png')" no-repeat #14416b;
    background-position-x: 20px;
    background-size: 15px;
    background-position-y: 9px;
    padding-left: 40px;
    padding-right: 25px;
  }
}

.record .media-left, .result .media-left, .record .media-right, .result .media-right {
  max-width: 25%;
  padding-right: 20px;
  padding-left: 20px;

  &.medium a {
    width: 100%;
  }
}

.result {
  padding-top: 35px;
  padding-bottom: 35px;

  .record-number {
    display: none;
  }
}

.searchtools {
  background-color: #f3f3f3;
  padding: 15px;
  margin-top: 15px;
  color: #14416b;
  font-size: 17px;

  i {
    &:before {
      color: #14416b;
      position: relative;
      font-size: 15px;
    }
  }

  strong {
    font-style: italic;
  }
  a {
    &:hover {
      text-decoration: underline;
      color: #14416b;
    }
  }
}


.bibbfooter {
  background-color: #ebebeb;
  padding-top: 50px;
  padding-bottom: 50px;
}

footer {
  width: auto;
  background: ~"url('../../bibb/images/header-wrapper-bg.png')" repeat-x top left;
  background-color: #f7f6f6;
  margin-top: 80px;
  width: 100%;
  border: none;
  padding-top: 50px;
  padding-bottom: 50px;
  margin-bottom: 0;

  &.hidden-print {
    padding-right: 0;
    padding-left: 0;
  }
}

.footer-container {
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;

  .footer-column {
    ul {
      padding: 0;
    }

    p {
      display: block;
      font-size: 24px;
      line-height: 1;
      margin-bottom: 0.58333em;
      color: #14416b;

      strong {
        a {
          &:hover {
            color: #14416b;
            text-decoration: none;
          }
        }
      }
    }

    li a {
      display: block;
      font-size: 15px;
      line-height: 1.2;
      margin-bottom: 0.26667em;
      color: #2d353c;

      &:hover {
        color: #2d353c;
        text-decoration: underline;
      }
    }
  }
}

.footer-wrapper-bottom {
  background-color: #14416b;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #14416b), color-stop(100%, #112f55));
  background-image: -webkit-linear-gradient(#14416b, #112f55);
  background-image: -moz-linear-gradient(#14416b, #112f55);
  background-image: -o-linear-gradient(#14416b, #112f55);
  background-image: linear-gradient(#14416b, #112f55);
}
.ym-wbox {
  margin: 0 auto;
}

.footer-functions {
  padding: 1.5em 1em;
  display: table;
  width: 100%;
}

.footer-functions span, .footer-functions a {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.2;
  margin-bottom: 0em;
}
.footer-functions a {
  &:hover {
    color: white;
    text-decoration: underline;
  }
}
.footer-functions ul {
  display: inline-block;
  float: right;
}

.footer-functions ul li {
  display: inline-block;
  margin-left: 0.5em;
}

.footer-functions ul li:not(first-child) a:before {
  content: '|';
  padding-right: 0.5em;
  color: #fff;
  display: inline-block;
}


.footer-functions ul li:first-child a:before {
  content: none;
}

.highlight, mark {
  background: #ecf0f7;
}

/* ------------------------------ */
/* --- Modal                  --- */
/* ------------------------------ */

.modal {
  .alert {
    padding: 0.5em 1em;
    background-color: #e1e1e2;
    font-weight: normal;
    font-size: 13px;
    color: #2d353c;

    a {
      font-weight: bold;
      font-style: italic;
      color: #2d353c;
    }
  }

  input.btn-primary, .modal-body .btn-default {
    border: 0 none;
    color: #ffffff;
    cursor: pointer;
    display: inline-block;
    font-size: 1.6rem;
    line-height: 1;
    padding: .5em 1.1em .6em;
    text-shadow: none;
    font-weight: normal;
    font-size: 16px;
    border-radius: 2px;
    margin: 20px 0;
    background: ~"url('../../bibb/images/arrowrightlight.png')" no-repeat #14416b;
    background-color: #14416b !important;
    background-position-x: 20px;
    background-size: 15px;
    background-position-y: 9px;
    padding-left: 40px;
    padding-right: 25px;
  }

  .form-inline {
    button.btn-default {
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      border: none;
      border-radius: 3px;
      background: none;
      background-image: none;
      background-color: #787f8b;
      font-size: 13px;
      color: white;
      text-shadow: none;
      margin-right: 5px;
      padding: 8px 15px;
      margin: 0;

    }
  }

  .modal-body {
    .form-inline {
      background-color: #f1f1f1;
      padding: 15px;
    }
  }
}

#modal .cart-controls .checkbox {
  width: 100%;
}

.template-name-login {
  .alert {
    padding: 0.5em 1em;
    background-color: #bf5a09;
    font-weight: normal;
    font-size: 13px;
    color: white;

    a {
      font-weight: bold;
      font-style: italic;
      color: white;
    }
  }

  input.btn-primary {
    border: 0 none;
    color: #ffffff;
    cursor: pointer;
    display: inline-block;
    font-size: 1.6rem;
    line-height: 1;
    padding: .5em 1.1em .6em;
    text-shadow: none;
    font-weight: normal;
    font-size: 16px;
    border-radius: 2px;
    margin: 20px 0;
    background: ~"url('../../bibb/images/arrowrightlight.png')" no-repeat #14416b;
    background-position-x: 20px;
    background-size: 15px;
    background-position-y: 9px;
    padding-left: 40px;
    padding-right: 25px;
  }
}

/* ------------------------------ */
/* --- Breadcrumb             --- */
/* ------------------------------ */

.browse-container {

  .browse-list {
    &:first-child {
      padding-left: 0;
    }

    &:last-child {
      padding-right: 0;
    }
  }
}


/* ------------------------------ */
/* --- Durchstöbern           --- */
/* ------------------------------ */

.breadcrumb>li+li:before {
  content: '\00bb';
}



/* ------------------------------ */
/* --- Erweiterete Suche      --- */
/* ------------------------------ */


.advanced-and-buttons {
  position: relative;
}

#groupPlaceHolder {
  padding-left: 34px;
  width: 28%;
  float: left;

  a {
    &:hover {
      text-decoration: underline;
      color: #14416b;
    }
  }
}

.adv-submit {
  width: 100%;

  input {
    position: relative;
    top: 10px;
  }

  .btn-primary {
    float: right;
    background-color: #184b79;
    border-radius: 2px;
    border:none;
    font-size: 16px;
    font-weight: normal;
    padding: 5px 18px;
    top: 8px;
    padding-left: 31px;
    background: ~"url('../../bibb/images/arrowrightlight.png')" no-repeat #14416b;
    background-position-x: 12px;
    background-size: 15px;
    background-position-y: 9px;

    &:hover {
      color: white;
    }

  }

  .btn.btn-default {
    float: left;
    background-color: #787f8b;
    border-radius: 2px;
    border: none;
    background-image: none;
    text-shadow: none;
    color: white;
    font-size: 13px;
    font-weight: normal;
    padding: 5px 12px;
  }
}


.template-name-advanced {
  header {
    margin-bottom: 20px;
  }

  .solr-facets {
    margin-top: 30px;
    legend {

      color: #14416b;
      font-size: 24px;
      border-bottom:  1px solid #122f54;

    }
  }

  .solr-facet-container {
    margin-top: 20px;
    background-color: #f3f3f3;
    padding: 28px 35px;
  }

  .solr-adv-facet {
    padding-right: 10px;
    padding-left: 10px;

    label {
      color: #2d353c;
      font-size: 15px;
      margin-bottom: 10px;
    }

    select {
      border-radius: 2px;
      border-color: #edeeef;
    }
  }
  .sidebar {
    .facet-group {
        .checkbox {
          padding-left: 34px;
        }

    }
  }

  .facet-group .title {
    border: none;
  }

  .facet-group .facet {
    border: none;

    &:last-child {
      border-bottom: none;
    }
  }
}

.advanced-search-image-range {
  background-color: #f3f3f3;
  padding: 28px 35px;
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;

  .solr, .range {
    flex: 1 25%;
    padding-right: 10px;
    padding-left: 10px;
  }

  .date-fields {
    width: 75%;
  }

  .slider-container {
    width: 75%;
  }

  legend {
    color: #2d353c;
    font-size: 15px;
    margin-bottom: 10px;
  }

  .range {
    input {
      color: #656c72;
      font-size: 13px;
    }
  }
}


/* Neuerscheinung */

.template-name-newitem {
    input.btn-primary {
      border: 0 none;
      color: #ffffff;
      cursor: pointer;
      display: inline-block;
      font-size: 1.6rem;
      line-height: 1;
      padding: .5em 1.1em .6em;
      text-shadow: none;
      font-weight: normal;
      font-size: 16px;
      border-radius: 2px;
      margin: 20px 0;
      background: ~"url('../../bibb/images/arrowrightlight.png')" no-repeat #14416b;
      background-color: #14416b !important;
      background-position-x: 20px;
      background-size: 15px;
      background-position-y: 9px;
      padding-left: 40px;
      padding-right: 25px;
    }

  .btn-group {
    label {
      border-radius: 0;
      background-color: #787f8b;
      color: white;
      padding: 7px 10px;

      &.active {
        background-color: white;
        color: #14416b;
      }
    ;
    }
  }
}

/* ------------------------------ */
/* --- Konto             --- */
/* ------------------------------ */

  .sidebar.right {
    a {
      i {
        &:before {
          color: #2d353c;
        }
      }

      &.active {
        color: #14416b;
        font-weight: bold;
        font-style: italic;
        background-color: transparent;

        i {
          &:before {
            color: #14416b;
          }
        }
      }
    }

    .myresearch-menu {
      a {
        border-bottom: dotted 1px #bcbcbc;

        &:last-child {
          border-bottom: none;
        }

        .badge {
          background-color: #f3f3f3;
          color: #14416b;
          font-size: 13px;
          font-weight: normal;
        }

        &:hover {
          background-color: transparent;
          color: #14416b;
          text-decoration: underline;
        }
      }
      border-bottom: solid 1px #122f54;
      margin-bottom: 40px;
    }

    .fa-plus:before {
      content: "\f055";
      top: -2px;
      position: relative;
    }
  }

  .myresultlist {
    border-top: 1px solid #122f54;
    border-bottom: 1px solid #122f54;
    margin-top: 30px;

    .result:last-child {
      border-bottom: none;
    }
  }

  .template-name-mylist {
    .sortierung {
      margin-top: 12px;

      .search-controls {
        .btn-link {
          color: #14416b;
          font-style: normal;
          font-weight: normal;
          margin-bottom: 20px;
        }

        .fa-edit:before {
          position: relative;
          top: 2px;
        }
      }
    }

    span.title {
      font-size: 20px;
      margin-bottom: 20px;
      font-weight: normal;
    }

    .fa-edit:before, .fa-trash-o:before {
      color: #14416b;
    }

    .result-links {
      float: right;
      text-align: right;
    }
  }

.btn:focus {
  outline: none !important;
}


.template-name-history {
  .mainbody.left {
    a {
      i {
        &:before {
          color: #14416b;
          position: relative;
          top: -4px;
          font-size: 14px;
        }
      }

      &:hover {
        color: #14416b;
        text-decoration: underline;
      }
    }

    > a {
      i {
        &:before {
          color: #14416b;
          content: "\f056";
          position: relative;
          top: -2px;
        }
      }
    }
  }
}

/* ------------------------------ */
/* --- Durchstöbern           --- */
/* ------------------------------ */
.browse-item {
    &.active {
      background-color: #144069;
  }

  .badge {
    background-color: #f3f3f3;
    color: #14416b;
    font-size: 13px;
    font-weight: normal;
  }
}


/* ------------------------------ */
/* --- DETAILSEITE             --- */
/* ------------------------------ */

.form-control:focus {
  -webkit-box-shadow: inset rgba(128,128,128,0.5) 0px 0px 5px;
  -moz-box-shadow: inset rgba(128,128,128,0.5) 0px 0px 5px;
  box-shadow: inset rgba(128,128,128,0.5) 0px 0px 5px;
  border-color: transparent;
}

.template-name-view {

  .media {
    margin-top: 50px;
    min-height: 300px;
  }

  .sidebar {
    margin-top: 18px;

    .list-group {
      border-bottom: 1px solid #122f54;

      .list-group-item:last-child {
        border-bottom: none;
      }
    }
  }
}

.record-nav {
  float: none;
  margin-left: 0;

  li a i {
    display: none;
  }
  li {
    border: none;
    border-radius: 3px;
    background: none;
    background-image: none;
    background-color: #787f8b;
    font-size: 13px;
    color: white;
    text-shadow: none;
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 8px 10px;

    &:hover {
      background-color: #8d8d8d;

      a {
        color: white;
        text-decoration: none;
      }
    }

    a {
      padding: 0;
      color: white;

      &:hover{
        background-color: #8d8d8d !important;
        border: none !important;
        outline: none !important;
        color: white !important;
        text-decoration: none !important;
      }
    }
  }

  span {
      border: none;
      border-radius: 3px;
      background: none;
      background-image: none;
      background-color: #787f8b;
      font-size: 13px;
      color: white;
      text-shadow: none;
      margin-right: 5px;
      padding: 8px 10px;
      margin-left: 2px;

    &:hover {
      background-color: #8d8d8d;
      a, span {
        background-color: #8d8d8d;
        outline: none;
      }
    }
  }

}

.nav .btn-bookbag-toggle a {
  padding: 0;

  &:hover {
    outline: none;
    border: none;
    background: none;
  }

  span i {
    display: none;
  }

  span.cart-link-label {
    padding: 0;
    margin: 0;
  }
}

.record .media-left.small img, .record .media-right.small img, .record .media-left.medium img, .record .media-right.medium img, .record .media-left.large img, .record .media-right.large img {
  width: 100%;
}

.template-name-view {
  .media-body {
    h3 {
      color: #14416b;
      font-size: 24px;
      font-weight: normal;
      margin-bottom: 10px;
    }
    p {
      color: #2d353c;
      font-size: 19px;
      line-height: 1.4;

      a {
        color: #14416b;
        font-weight: 600;
      }
    }

    table {
      margin-top: 20px;
      border-top: solid 1px #aaaaaa;
      border-bottom: solid 1px #aaaaaa;
      margin-bottom: 90px;

      tr {
        background: none;
        &:not(first-child) {
          border-top: dotted 1px #bcbcbc;
        }
      }

      th {
        font-size: 17px;
        color: #2d353c;
        font-style: italic;
        font-weight: bold;
        border: none;
      }

      td {
        font-size: 17px;
        color: #2d353c;
        font-weight: normal;
        border: none;

        a {
          color: #14416b;
          font-weight: 600;
        }
      }
    }
  }
  .record .media-left.medium img {
    min-width: 90px;
  }

}

.nav-tabs {
  border: none;
}

.record-tabs {
  ul {
    li {
      float: none;
      display: inline-block;
      margin-bottom: 0;
      margin-right: 0;
      border-bottom: 5px solid #c8c8c8;
      margin-right: -3px;

      &.active {
        padding-bottom: 5px;
        background-color: #14416b;
        border: none;

        a {
          border: none;
          border-radius: 0;
          background-color: #14416b;
          color: white;
          padding-bottom: 5px;

          &:hover {
            border: none;
            background: #14416b;
            color: white;
          }
        }
      }
      a {
        margin-right: 0;
        font-size: 19px;
        color: #2d353c;
        border: none;

        &.similar {
          //display: none;
        }

        &:hover {
          outline: none;
          border-radius: 0;
          color: white;
        }
      }
    }
  }

  .tab-content {
    background: #f3f3f3;
  }

  .comment-list {
    .alert-info {
      padding: 0;
    }
  }

  .usercomments-tab {
    padding: 20px 0;
    .alert-info, .savedLists {
      background: none;
      border: none;
    }

    .comment-form {
      padding: 8px;

      textarea {
        margin-bottom: 20px;
      }

      a, .btn-primary {
        border: none;
        border-radius: 0;
        background-color: #14416b;
        color: white;
        border-radius: 0;
        font-size: 15px;
        font-weight: normal;
        padding: 8px 15px;

        &:before {
          content: '\00bb';
          padding-right: 0.3em;

        }

        &:hover {
          background-color: #175282;
        }

        i {
          display: none;
        }
      }
    }
  }

  .comment-list {
    padding:10px 8px;
  }

  .text-form {
    padding: 0;

  }

  .comment {
    margin-bottom: 20px;
  }
  .comment-text {
    padding: 8px;
    background: #e1e1e2;
    width: 100%;
  }

  .comment-name .delete {
    width: 100%;
    display: inline-block;
  }

  .table {
    margin-top: 20px;
  }

  .form-control:focus {
    border: 1px solid #ccc;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
  }
}

.nav>li>a:hover, .nav>li>a:focus {
  outline: none;
  background: none;
  color: #14416b;
  text-decoration: underline;

}

.record-tabs li>a:hover, .record-tabs li>a:focus {
  text-decoration: none;
  background-color: #14416b;
}
.nav-tabs>li.active>a, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus {
  color: white;
  background-color: #14416b;
  border: none;
}

.sidebar .facet.active, .sidebar .facet.active:hover, .sidebar .active-filters .facet {
  color: #fff !important;
  background-color: #14416b;
  border-color: #14416b;

}


.sidebar h4 {
  color: #14416b;
  font-size: 20px;
  margin-bottom: 10px;
  border-bottom: 1px solid #122f54;
  padding-bottom: 8px;
  margin-top: 0;

  &:before {
    content: ~"url('../../bibb/images/info.png')";
    position: relative;
    top: 5px;
    padding-right: 10px;
  }
}

.sidebar {
  .list-group {
    i {
      display: none;
    }
    li {
      border: none;
      padding:20px 0;
      font-size: 15px;
      color: #2d353c;
      border-bottom: dotted 2px #bcbcbc;

      a {
        color: #14416b;
        font-size: 17px;
        margin-bottom: 9px;

        &:hover {
          color: #14416b;
          text-decoration: underline;
        }
      }
    }
  }
}

.narrow-search {


  h4 {
    color: #14416b;
    font-size: 20px;
    margin-bottom: 10px;
    border-bottom: 1px solid #122f54;
    padding-bottom: 8px;

    &:before {
      content: ~"url('../../bibb/images/searchinfo.png')";
      position: relative;
      top: 5px;
      padding-right: 10px;
    }
  }
}

.pager {
  float: right;
  margin-bottom: -10px;
  color: #14416b;
  font-size: 18px;
  font-style: italic;

  li {
    a {
      border: none;
      border-radius: 0;
      color: #14416b;
      font-size: 18px;
      font-style: italic;
      padding: 5px 8px;
    }
  }
}


#similar-items-carousel {
  .carousel-control {
    &.right, &.left {
      background-image: none;
      background-color: #f3f3f3;
      opacity: 0.8;
    }
  }

  .carousel-indicators {
    li {
      border-color: #14416b;
      background-color: #14416b;
    }
  }
}

/**************** TABLE ***************/

.table {
  margin-bottom: 50px;
  tbody {
    tr {
      background: none;
      &:not(first-child) {
        border-top: dotted 1px #bcbcbc;
      }

      &:first-child {
        border-top: none;
      }

      th {
        font-size: 17px;
        color: #2d353c;
        font-style: italic;
        font-weight: bold;
        border: none;
        background: none;
      }

      td {
        font-size: 17px;
        color: #2d353c;
        font-weight: normal;
        border: none;

        a {
          color: #14416b;
        }

      }
    }

  }
}

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

/******************* Listen ********************/

.form-edit-list {
  .form-group {
    .btn-primary, .btn-primary:hover {
      background-color: #184b79;
      border-radius: 2px;
      border: none;
      font-size: 16px;
      font-weight: normal;
      padding: 5px 18px;
      top: 8px;
      padding-left: 31px;
      background: ~"url('../../bibb/images/arrowrightlight.png')" no-repeat #14416b;
      background-position-x: 12px;
      background-size: 15px;
      background-position-y: 9px;
      color: white;
    }
  }
}


/* ------------------------------ */
/* --- STARTSEITE --- */
/* ------------------------------ */


.container, footer, .template-dir-combined.template-name-results footer .footer-container, .template-dir-combined.template-name-results footer .poweredby {
  padding-left: 10px;
  padding-right: 10px;
}

.searchHomeContent {
  width: 100%;
}

h3 {
  color: #14416b;
  font-size: 35px;
  line-height: 1.3;

}

h4 {
  color: #14416b;
  font-size: 24px;
}


hr {
  border-top: dotted 2px #bcbcbc;
}

.template-name-home {
  .list-group-item {
    tr {
      line-height: 25px;
      &:last-child {
        line-height: 1.5;
      }
    }
  }
}


.homepage {

  .searchForm {
    padding-top: 0;
  }

  .mainbody.left {
    a {
      display: block;
      margin-top: 10px;

      &:before {
        content: '\00bb';
        padding-right: 0.3em;
      }

      &:hover {
        color: #14416b;
        text-decoration: underline;
      }
    }
  }

  .sidebar {

    font-size: 15px;
    h4 {
      margin-bottom: 30px;
    }

    h5 {
      margin: 30px 0 0 0;
    }
  }

  .sidebar .list-group li {
    border-bottom: none;
    color: #14416b;

    &.at {
      font-weight: bold;
    }
  }

  .contact-list {
    margin: 10px 0;
    li {
      padding: 5px 0;
    }
  }
}

h5 {
  color: #14416b;
  font-size: 17px;
}

.at:before {
  font-family: "FontAwesome";
  content: "\f1fa";
  color: #b3b7bf;
  padding-right: 8px;
}

.phone:before {
  font-family: "FontAwesome";
  content: "\f095";
  color: #b3b7bf;
  padding-right: 8px;
}

.mainbody.left, .sidebar.left {
  padding-right: 20px;
}

h2 {
  font-size: 35px;
  color: #14416b;
  font-weight: normal;
  margin-bottom: 20px;
}

/********** ADVANCED SEARCH ********/

.template-name-advanced{
  #content {
    margin-top: 50px;
  }

  .facet-group {
    padding-bottom: 15px;
    border-bottom: 1px solid #122f54;
    a {
      border: none;

      &:before {
        content: '\00bb';
        padding-right: 0.3em;

      }

      &:hover {
        color: #14416b;
        text-decoration: underline;
      }
    }

    .facet {
      border-top: 1px dotted #122f54;
      padding: 10px;

      &:first-child {
        border-top:none;
      }


    }
  }
}

.adv-group .add_search_link {
  &:hover {
    text-decoration: underline;
    color: #2d353c;
  }
}

.adv-group {
  background: #f3f3f3;
  border:none;
  border-radius: 0;
  padding: 25px 35px;

  label {
    color: #2d353c;
    font-size: 15px;
    margin-bottom: 10px;
  }

  input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
    -webkit-box-shadow: inset rgba(128,128,128,0.5) 0px 0px 5px;
    -moz-box-shadow: inset rgba(128,128,128,0.5) 0px 0px 5px;
    box-shadow: inset rgba(128,128,128,0.5) 0px 0px 5px;
    width: 100%;
  margin-bottom: 10px;
  }

  select {
    width: auto;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0;
    -webkit-box-shadow: inset rgba(128,128,128,0.5) 0px 0px 5px;
    -moz-box-shadow: inset rgba(128,128,128,0.5) 0px 0px 5px;
    box-shadow: inset rgba(128,128,128,0.5) 0px 0px 5px;
    padding-left: 0.5em;
    padding-right: 30px;
    background: ~"url('../../bibb/images/arrowdown.png')" no-repeat white;
    background-position: right 8px center;
    background-size: 13px;
    padding-left: 15px;
    padding-right: 23px;
    font-size: 13px;
  }

  .adv-term-remove {
    opacity: 1;

    &:before {
      font-family: "FontAwesome";
      content: "\F057";
      color: #194d7c;
      position: relative;
      top: -5px;
    }
  }
}

.fa-plus-circle:before {
  content: "\f055";
  color: #194d7c;
  position: relative;
  top: -2px;
}
/********** ALERT STYLES **********/

.alert-info, .savedLists {
  margin-top: 10px;
  background-color: #f5f5f3;
  border: none;
  padding:15px;
  color: #2d353c;
}

.alert-info {
  p {
    font-size: 20px;
    color: #14416b;
    margin-bottom: 10px;
  }
}

/* ------------------------------ */
/* --- Bibb Styles for header --- */
/* ------------------------------ */

a:focus {
  outline: none;
  text-decoration: none;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html, body, div, span, applet, object, iframe, h1, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

body, td {
  font-family: 'PT Sans', sans-serif;
  font-weight: 400;
  color: #2d353c;
}


a {
  text-decoration: none;
  color: #14416b;
}

a img {
  border: none;
}

ol, ul {
  list-style: none;
}

html, body {
  overflow-x: hidden;
}

.ym-wrapper {
  width: 100%;
}
.header-wrapper-top {
  background: ~"url('../../bibb/images/header-wrapper-bg.png')" repeat-x bottom left;
  padding-bottom: 25px;
}


.ym-wbox {
  margin: 0 auto;
}

.header-logo {
  position: absolute;
  top: 30px;
  left: 0;
  z-index: 1;
}

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

.navigation-header {
  width: 60%;
  position: absolute;
  top: 28px;
  right: 0;
  z-index: 1;
  text-align: right;
  min-height: 25px;
}

.navigation-header li {
  display: inline-block;
}

.navigation-header li a, .navigation-header li span {
  font-size: 11px;
  line-height: 1.36364;
  margin-bottom: 0em;
  color: #5e6c78;
  padding-left: 16.5px;
  text-transform: uppercase;
}

.navigation-header li a {
  &:hover {
    text-decoration: underline;
  }
}

.icon_leichte-sprache {
  background: transparent ~"url('../../bibb/images/leichtesprache.png')" 15px 0 no-repeat;
  padding: 3px 0 5px 35px !important;
}

.icon_dgs {
  background: transparent ~"url('../../bibb/images/gebaerdensprache.png')" 14px 0 no-repeat;
  padding: 3px 0 5px 35px !important;
}

.navigation-main {
  padding-top: 157px;
  position: relative;
}

.navigation-main ul.level_1 > li {
  display: inline-block;
  height: 62px;
  background: ~"url('../../bibb/images/bibbnavblue.png')" no-repeat 0 0;
  padding-right: 76px;
  padding-bottom: 41px;
}

.navigation-main ul.level_1 > li > span {
  display: block;
  height: 62px;
}

.navigation-main ul.level_1 > li > span > a {
  display: block;
  background: ~"url('../../bibb/images/dasbibb.png')" no-repeat top left;
  padding-left: 65.55px;
  padding-right: 28.5px;
  font-size: 28.5px;
  line-height: 1.4386;
  margin-bottom: 0em;
  color: #38424b;
}

.navigation-main ul.level_1 > li:hover > span > a, .navigation-main ul.level_1 > li.active > span > a {
  color: #ffffff;
  background-color: #1a7ab7;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  text-decoration: none;
}
/*
.navigation-main ul.level_1 > li:hover > span, .navigation-main ul.level_1 > li.active > span {
  background: ~"url('../../bibb/images/bibbnavbluehover.png')" no-repeat 50% 41px;
}
*/

.navigation-main ul.level_1 > li.pos2 {
  background: ~"url('../../bibb/images/bibbnavgreen.png')" no-repeat 0 0;
  padding-right: 0;
}

.navigation-main ul.level_1 > li.pos2 > span > a {
  background-image: ~"url('../../bibb/images/themen.png')";
}

.navigation-main ul.level_1 > li.pos2:hover > span > a, .navigation-main ul.level_1 > li.pos2.active > span > a {
  background-color: #448001;
}

/*
.navigation-main ul.level_1 > li.pos2:hover > span, .navigation-main ul.level_1 > li.pos2.active > span {
  background-image: ~"url('../../bibb/images/bibbnavgreenhover.png')";
}
*/

/*
.navigation-main ul.level_1 > li.pos3:hover > span, .navigation-main ul.level_1 > li.pos3.active > span {
  background-image: ~"url('../../bibb/images/bibbnavorangehover.png')";
}
*/

.navigation-main ul.level_1 > li.pos3 {
  background: ~"url('../../bibb/images/bibbnavorange.png')" no-repeat 76px 0;
  padding-left: 76px;
}

.navigation-main ul.level_1 > li.pos3 > span > a {
  background-image: ~"url('../../bibb/images/service.png')";
}

.navigation-main ul.level_1 > li.pos3:hover > span > a, .navigation-main ul.level_1 > li.pos3.active > span > a {
  background-color: #bf5a09;
}

.navigation-main ul.level_1 > li:last-child {
  margin-right: 0;
}

.navigation-main-mobile {
  display: none;
  padding-top: 160px;
  padding-bottom: 0;
}

ul.sm {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.sm, .sm ul, .sm li {
  display: block;
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: normal;
  direction: ltr;
}

.navigation-main-mobile > ul > li {
  padding-bottom: 10px;
  width: 100%;
}

ul.sm li {
  float: left;
}

ul.sm li {
  position: relative;
}

.navigation-main-mobile > ul > li > a {
  display: block;
  padding-left: 50px;
  padding-right: 28px;
  background: ~"url('../../bibb/images/dasbibb.png')" no-repeat top left;
  background-size: auto 32.8px;
  background-color: #1a7ab7;
  font-size: 22.8px;
  line-height: 1.4;
  margin-bottom: 0em;
  color: #ffffff;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
}

.navigation-main-mobile .sub-arrow {
  display: none;
}

.navigation-main-mobile > ul > li.pos2 > a {
  background: ~"url('../../bibb/images/themen.png')" no-repeat top left;
  background-size: auto 32.8px;
  background-color: #448001;
}

.navigation-main-mobile > ul > li.pos3 > a {
  background: ~"url('../../bibb/images/service.png')" no-repeat top left;
  background-size: auto 32.8px;
  background-color: #bf5a09;
}

.clear {
  clear:both;
}

body.offcanvas .offcanvas-toggle {
  color: #14416b;
}

@media (min-width: 1200px) {
  .container {
    width: 1200px;
  }
  footer {
    width:auto;
  }
  .footer-container {
    width: 1200px;
  }
  .ym-wbox {
    width: 1200px;
  }
}
@media (max-width: 1199px) {
  .adv-group-match {
    float: left;
    width: 100%;
    margin-top: 20px;
  }
  .searchtools {
    strong {
      width: 100%;
      display: inherit;
    }

    a {
      padding-left: 8px;

      &:nth-child(2) {
        padding-left: 0px;
      }
    }
  }

}
@media (min-width: 992px) and (max-width: 1199px){
  .navigation-main ul.level_1>li>span>a {
    padding-left: 56.55px;
    padding-right: 26px;
    background-size: 30px;
    font-size: 22px;
  }

  .navigation-main ul.level_1>li {
    background-size: 40px;
    padding-right: 10px;
  }

  .navigation-main ul.level_1>li.pos2 {
    background-size: 40px;
    padding-right: 10px;
  }

  .navigation-main ul.level_1>li.pos3 {
    background-position-x: 0;
    padding-left: 0;
    background-size: 40px;
  }

  header .navbar .navbar-right {
    margin-top: 5px;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  .navigation-main ul.level_1>li>span>a {
    padding-left: 56.55px;
    padding-right: 26px;
    background-size: 30px;
    font-size: 22px;
  }

  .navigation-main ul.level_1>li {
    background-size: 40px;
    padding-right: 10px;
  }

  .navigation-main ul.level_1>li.pos2 {
    background-size: 40px;
    padding-right: 10px;
  }

  .navigation-main ul.level_1>li.pos3 {
    background-position-x: 0;
    padding-left: 0;
    background-size: 40px;
  }

  header .navbar .navbar-right {
    margin-top: 0;
  }

  .navbar-nav {
    position: static;
    float: left !important;
    margin: 0;
  }

  .navbar-collapse {
    padding-left: 0;

    #cartItems {
      i {
        display: none;
      }
    }
  }
}

@media (max-width: 1200px) {
  .add-result {
    width: auto;
    float: left;
    text-align: left;
    margin-top: 10px;
  }

  .favorites {
    margin-bottom: 0;
  }

  .suchauswahl .bulk-checkbox {
    margin-bottom: 10px;
  }
}

@media (max-width: 992px) {
  .template-name-mylist {
    .result-links {
      float: left;
      text-align: left;
    }
  }

  .suggested-topics .top-facets .facet {
    width: 49%;
  }
  .result-table th {
    font-size: 13px;
    padding-right: 20px;
  }

  .result-table td, .result-table span, .result-table .status, .result-table .label, .result-table .format {
    font-size: 13px;
  }

  .footer-functions span, .footer-functions a {
    font-size: 12px;
  }

  .footer-functions ul {
    float: left;
    width: 100%;
  }

  .footer-functions ul li:first-child {
    margin-left: 0;
  }

  .sortierung .search-sort label {
    margin-right: 0;
  }

}

@media (max-width: 767px) {

  #ergebnisfunktion, #suchauswahl, #ergebnisfunktion2, #suchauswahl2 {
    display: none;
  }


  .navigation-main {
    display: none;
  }

  .navigation-main-mobile {
    display: block;
  }

  .navbar-collapse.collapse {
    display: block;
  }

  header .navbar .navbar-right {
    margin-top: 0;
  }

  .navbar-nav {
    position: static;
    float: left !important;
    margin: 0;
  }

  .navbar-collapse {
    padding-left: 0;

    #cartItems {
      i {
        display: none;
      }
    }
  }

  header #header-collapse .navbar-right li {
    float: none;
    display: inline-block;
  }

  header .navbar .navbar-nav>li>a {
    padding: 10px;
  }

  i.fa-sign-in, i.fa-home, i.fa-sign-out {
    display: none;
  }

  .navigation-header {
    width: auto;
    left: -2px;
    top: 15px;
    right: auto;
  }

  .header-logo {
    top: 60px;
    left: 10px;
  }

  .sortierung {
    float: none;
    width: auto;
  }

  .ergebnisse {
    margin-top: 15px;
  }

  .result a {
    text-decoration: none;
  }

  .title-container .title {
    font-size: 16px;
    line-height: 1.3;
  }

  .bibbfooter {
    display: none;
  }

  .footer-functions span, .footer-functions a {
    font-size: 10px;
  }

  .footer-functions ul {
    float: left;
  }

  .footer-functions ul li:first-child {
    margin-left: 0;
  }

  .searchForm .btn-primary {
    background-position: 0;
    padding-left: 0;
    margin-top: 5px;
  }

  .footer-column {
    margin-top: 20px;
  }

  .record .media-left {
    padding-left: 0;
  }

  .sortierung {
    .form-control {
      width: auto;
      display: inline-block;
    }
  }
}

@media (max-width: 500px) {

  .advanced-search-image-range .date-fields, .advanced-search-image-range .slider-container {
    width: 100%;
  }

  .result .media-left {
    display: none;
  }

  .suggested-topics .top-facets strong {
    font-size: 16px;
  }

  .suggested-topics .top-facets .facet {
    font-size: 14px;
  }

  .suggested-topics .top-facets .facet {
    width: auto;
  }

  .result-table td {
    padding-right: 10px;
  }

  .searchtools a {
    padding-left: 0;
  }
}

@media (max-width: 430px) {
  .navigation-header {
    display: none;
  }

  .header-logo {
    top: 25px;
  }

  .navigation-main-mobile {
    padding-top: 100px;
  }

  .result {
    padding-left: 5px;
    padding-right: 0;
  }

  .mainbody.left {
    padding-right: 0;
  }
}
