.resultInfoArea {
  > h3 {
    height: 30px;
    color: #212121;
    font-family: Roboto;
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
    margin-bottom: 100px;

    .searchedKeyword {
      font-weight: 700;
      display: inline;
    }

    .hitsCountAll {
      height: 30px;
      color: #3f84c5;
      font-family: Roboto;
      font-size: 20px;
      font-weight: 700;
      line-height: 30px;
      display: inline;
      padding-left: 0;
    }
  }

  .docstructChooser {
    margin-bottom: 25px;
    text-align: right;

    .docstructChoice {
      position: relative;
      width: 20%;
      display: inline-block;

      .image {
        position: relative;
        background-position: top center;
        display: inline-block;
        margin-right: 12px;
        float: right;
        height: 99px;
        border-bottom: 12px solid transparent;

        &.active {
          border-bottom: 12px solid #4085c5;
        }

        &:hover {
          border-bottom: 12px solid #4085c5;
        }

        &.capture {
          width: 53px;
          background-size: 52px 59px;
          background-image: url("https://commons.digitalebibliothek.gbv.de/prizepapers/images/entityRelations/capture_black.svg");
        }

        &.ship {
          width: 93px;
          background-size: 93px 62px;
          background-image: url("https://commons.digitalebibliothek.gbv.de/prizepapers/images/entityRelations/ship_black.svg");
        }

        &.document {
          width: 77px;
          background-size: 77px 52px;
          background-position: center 13px;
          background-image: url("https://commons.digitalebibliothek.gbv.de/prizepapers/images/entityRelations/document_black.svg");
        }

        &.court_process {
          background-image: url("https://commons.digitalebibliothek.gbv.de/prizepapers/images/entityRelations/court_process_black.svg");
          background-size: 57px 59px;
          width: 95px;

          .text {
            white-space: nowrap;
          }
        }

        .text {
          position: absolute;
          bottom: 0;
          transform: translate(-50%, 0);
          left: 50%;

          a {
            color: #272726;
            font-family: Roboto;
            font-size: 14px;
            font-weight: 400;
            letter-spacing: 0.7px;
            width: 100%;
            height: 100%;
            display: inline-block;
            text-decoration: none !important;
          }
        }

        a {
          width: 100%;
          height: 100%;
          display: inline-block;
          text-decoration: none !important;
        }
      }

      .count {
        display: inline-block;
        float: right;

        .facet_count {
          color: #3f84c5;
          font-family: Roboto;
          font-size: 20px;
          font-weight: 700;
          line-height: 30px;
          margin-top: 20px;
          display: inline-block;
        }
      }

      .remover {
        display: inline-block;

        .facet_remove {
          display: block;
          width: 60px;
          height: 40px;
          margin-top: 20px;
          background-image: url("https://commons.digitalebibliothek.gbv.de/prizepapers/images/search/facets/arrow_left_black.svg");
          background-size: 66px 60px;
          margin-right: 30px;
        }
      }
    }
  }
}

.advancedSearch {
  &.container {
    h2 {
      color: #212121;
      font-size: 34px;
      font-weight: 700;
      margin-bottom: 10px;
    }

    a.switchToDefaultSearch {
      color: #CCC;
      text-decoration: none;
      margin-bottom: 17px;
      display: block;

      &:hover {
        text-decoration: underline;
        color: #333333;
      }
    }
    background-color: #FFFFFF;

    .search-advanced__group {
      padding: 20px;

      a.remove {
        position: absolute;
        top: 2px;
        right: 2px;
        padding: 5px;
        background-size: 16px 17px;
        background-image: url("https://commons.digitalebibliothek.gbv.de/prizepapers/images/search/advanced/remove.svg");

        i {
          display: none;
        }
      }

      .custom-control {
        &.custom-control--select {
          border: none;
          font-size: 15px;
          color: #29282c;
          min-width: 110px;

          select {
            border-radius: 1px;
            border: 1px solid #D8D8D8;
            padding-left: 20px;
            font-size: 15px !important;
            color: #29282c;
          }

          &:after {
            background-image: url("https://commons.digitalebibliothek.gbv.de/prizepapers/images/search/advanced/selectArrowDown.svg");
            border: none;
            height: 20px;
            width: 20px;
            background-size: 22px 12px;
            background-repeat: no-repeat;
            background-position: center center;
            margin-top: -8px;
            right: 20px;
          }
        }
      }

      .search-advanced__input-col {
        .input-group {
          input {
            border-color: #D8D8D8;
            font-size: 15px !important;
          }
        }

        .input-group-addon,
        .input-group-append {
          button {
            border-color: #D8D8D8;
            background-image: url("https://commons.digitalebibliothek.gbv.de/prizepapers/images/search/advanced/remove.svg");
            background-size: 16px 17px;
            background-repeat: no-repeat;
            background-position: center center;
            padding: 14px 10px 14px 30px;

            i {
              display: none;
            }
          }
        }

        a {
          background-repeat: no-repeat;
          background-position: center center;
          padding: 15px;

          i {
            display: none;
          }
        }

        a:nth-child(1) {
          background-size: 16px 17px;
          background-image: url("https://commons.digitalebibliothek.gbv.de/prizepapers/images/search/advanced/remove.svg");
        }

        a:nth-child(2) {
          background-size: 20px 20px;
          margin-left: 14px;
          background-image: url("https://commons.digitalebibliothek.gbv.de/prizepapers/images/search/advanced/add.svg");
        }
      }
    }

    .search-advanced__add-group {
      margin-right: 13px;
      margin-top: 32px;

      a {
        background-size: 20px 20px;
        background-position: right center;
        padding-right: 30px;
        background-image: url("https://commons.digitalebibliothek.gbv.de/prizepapers/images/search/advanced/add.svg");

        i {
          display: none;
        }
      }
    }

    .search-advanced__action {
      margin-top: 20px;
      margin-bottom: 60px;

      a {
        width: 161px;
        background-color: #212121;
        color: #f4f4f4;
        font-size: 24px;
        font-weight: 300;
        letter-spacing: 2.88px;
        text-transform: uppercase;
        border: none;
      }

      input {
        width: 161px;
        background-color: #3f84c5;
        color: #f4f4f4;
        font-size: 24px;
        font-weight: 300;
        letter-spacing: 2.88px;
        text-transform: uppercase;
        border: none;
      }
    }
  }
}

#searchList {
  h1,
  h2,
  h3,
  h4,
  h5 {
    color: #FCFCFC;
  }

  h1 {
    margin-bottom: 18px;
  }

  .container.introtext {
    text-align: center;
  }
  padding-bottom: 270px;
  padding-top: 40px;

  .search-list__sorting {
    float: none;
  }

  .search-standard__help {
    button {
      i {
        color: #969696;
        font-size: 15px;
      }
    }
  }

  .searchbar {
    margin-top: 50px;

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

    .search-list__links.switch_to_advanced {
      display: none !important;

      a {
        color: #969696;
        text-decoration: none;

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

    .row {
      .form-group {
        .input-group {
          .input-group-addon.reset,
          .input-group-append.reset {
            background-color: transparent;
            border: 1px solid #ccc;
            border-right: 0;
            width: 40px;

            a {
              width: 100%;
              display: block;
              background-image: url("https://commons.digitalebibliothek.gbv.de/prizepapers/images/search/resetButton.svg");
              background-size: 23px;
            }
          }

          input#currentSearchInput {
            height: 76px;
            border: 1px solid rgba(240,235,226,0.8);
            background-color: transparent;
            font-size: 32px !important;
            font-weight: 300;
            padding-left: 10px;
            background-position: 15px center;
            background-repeat: no-repeat;
            color: white;
            margin: 0 auto;
          }

          .input-group-addon.search,
          .input-group-append.search {
            background-color: transparent;
            border: 1px solid rgba(240,235,226,0.8);
            border-left: none;
            height: 76px;
            width: 50px;

            input.btn {
              background-size: 60%;
              background-image: url("https://commons.digitalebibliothek.gbv.de/prizepapers/images/search/searchButton.svg");
              width: 50px;
            }
          }
        }
      }
    }
  }

  .searchHitList {
    margin-top: 54px;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: end;
    padding-left: 27px;
    padding-right: 27px;

    .hit {
      margin: 27px;
      width: 250px;

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

      .imageFrame {
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
        margin-bottom: 15px;
        text-align: center;

        &.court_process {
          background-image: url("https://commons.digitalebibliothek.gbv.de/prizepapers/images/search/backgroundIcons/court_process.svg");
          background-size: 81px 82px;
        }

        &.capture {
          background-image: url("https://commons.digitalebibliothek.gbv.de/prizepapers/images/search/backgroundIcons/capture.svg");
          background-size: 52px 83px;
        }

        &.ship {
          background-image: url("https://commons.digitalebibliothek.gbv.de/prizepapers/images/search/backgroundIcons/ship.svg");
          background-size: 93px 89px;
        }

        &.document {
          background-image: url("https://commons.digitalebibliothek.gbv.de/prizepapers/images/search/backgroundIcons/document.svg");
          background-size: 77px 70px;
        }

        a {
          width: 100%;
          height: 100%;
          display: block;
          min-height: 250px;

          img.image {
            max-width: 250px;
            max-height: 375px;
          }
        }

        figure.noImage {
          a {
            width: 250px;
            height: 350px;
            display: block;
            border: 1px solid #fdfdfd;
          }
        }
      }

      a {
        color: #fcfcfc;
        font-family: Roboto;
        font-size: 16px;
        font-weight: 400;
        line-height: 30px;
        text-decoration: none;

        .title {
          display: inline;
          margin: 20px 0 0;
          hyphens: auto;
        }

        .place {
          .placeMarker {
            display: inline;
            margin-right: 4px;
            padding-left: 14px;
            background-image: url("https://commons.digitalebibliothek.gbv.de/prizepapers/images/search/placeMarker.svg");
            background-size: 10px 10px;
            background-position: left center;
            color: #CCCCCC;
          }
        }

        .time {
          display: inline;
          margin-right: 4px;
          padding-left: 15px;
          background-image: url("https://commons.digitalebibliothek.gbv.de/prizepapers/images/search/timeMarker.svg");
          background-size: 38px;
          background-position: left 3px;
          color: #CCCCCC;
        }

        .reference_number {
          color: #AAA;
          margin-top: -43px;
          text-align: center;
          font-weight: 300;
          font-size: 12px;
        }
      }
    }
  }

  .numeric-paginator {
    ul {
      li {
        height: 61px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
        border: 1px solid #fdfdfd;
        background-color: #2e2e2e;
        margin: 0 8px;

        a,
        span {
          display: block;
          width: 100%;
          height: 100%;
          color: #fcfcfc;
          font-family: Roboto;
          font-size: 16px;
          font-weight: 400;
          line-height: 60px;

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

        &.numeric-paginator__active {
          span {
            background-color: #337ab7;
          }
        }
      }
    }
  }

  .servicePanel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;

    .sortingDropDown {
      width: 300px;
      height: 36px;
      border-bottom: 1px solid #fafafa;
      color: #fafafa;
      font-family: Roboto;
      font-size: 18px;
      font-weight: 700;
      line-height: 24px;
      background-image: url("https://commons.digitalebibliothek.gbv.de/prizepapers/images/search/sorting/arrow_down.svg");
      background-size: 17px 16px;
      background-position: right center;
      cursor: pointer;

      .selected {
        display: block;
        padding-right: 20px;
        border-radius: 2px;
        text-decoration: none;
        color: #fafafa;

        span {
          cursor: pointer;
          display: block;
          padding: 5px;
        }
      }

      .options {
        position: relative;

        ul {
          background-color: #333333;
          display: none;
          list-style: none;
          padding: 0;
          position: absolute;
          left: 0;
          top: 2px;
          width: 300px;
          border: 1px solid #FAFAFA;
          border-top: 0;

          li {
            padding: 5px;
            display: block;
            text-decoration: none;
            color: #FAFAFA;
            cursor: pointer;

            a {
              color: #fafafa;
              font-weight: 400;

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

            &:hover {
              background-color: #565656;
              color: #FAFAFA;
              transition: 0.2s ease;
            }
          }
        }
      }

      .options span.value,
      .selected span.value {
        display: none;
      }
    }

    .widget-chronology-slider {
      color: white;
      padding: 0 0 20px;
      font-size: 16px;
      position: relative;
      width: 315px;
      top: 25px;

      .widget-chronology-slider__item {
        &.chronology-slider-label {
          color: #fafafa;
          font-family: Roboto;
          font-size: 18px;
          font-weight: 700;
          line-height: 24px;
        }

        input.widget-chronology-slider__item-input {
          color: white;
          background-color: transparent;
          border: none;
        }

        &.chronology-slider-end,
        &.chronology-slider-start {
          position: absolute;
          bottom: 0;
        }

        &.chronology-slider-start {
          left: 0;
        }

        &.chronology-slider-end {
          right: 0;
        }

        &.chronology-slider {
          #chronoSlider {
            height: 2px;

            .ui-slider-range {
              border-color: #FAFAFA;
              background-color: #FAFAFA;
              height: 2px;
            }

            .ui-slider-handle {
              width: 10px;
              height: 20px;
              border-radius: 0;
              top: -10px;
              background-color: transparent;
              border: 5px solid #fafafa;
              border-width: 0 0 0 4px;

              &:nth-child(3) {
                border-width: 0 4px 0 0;
              }
            }
          }
        }

        .chronology-slider-action-reset {
          .btn--icon {
            color: #fafafa;
          }
        }
      }
    }

    .filterButton {
      border-bottom: 1px solid #fafafa;
      width: 270px;
      height: 36px;
      border-bottom: 1px solid #fafafa;
      color: #fafafa;
      font-size: 18px;
      font-weight: 700;
      line-height: 24px;
      background-image: url("https://commons.digitalebibliothek.gbv.de/prizepapers/images/search/sorting/arrow_down.svg");
      background-size: 17px 16px;
      background-position: right center;
      cursor: pointer;
    }
  }

  .filterPanel {
    border: 1px solid #FAFAFA;
    background-color: #2e2e2e;
    display: none;

    .filterWrapper {
      .geofacetting {
        .widget-geofacetting {
          background-color: #444;
          padding: 1%;
          border-radius: 1px;
          width: 96%;
          margin: 36px auto 0;

          #resetFacetMap {
            i.fa {
              font-size: 34px;
            }
          }
        }

        #geoFacettingMap.geo-map {
          height: 300px;
          margin: 0 1%;
        }

        #widgetGeoFacettingOverlay {
          width: 100%;
          height: 100%;
        }
      }

      .filter {
        color: #fcfcfc;
        padding: 30px 0;
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;

        > span {
          display: block;
          width: 29%;

          .widget.widget-search-facets__collection {
            background-color: #444;
            padding: 3%;
            border-radius: 1px;

            h3 {
              margin-top: 0;

              div.icon {
                width: 29px;
                height: 24px;
                display: inline-block;
                background-position: left bottom;

                &.document {
                  background-size: 21px auto;
                  background-image: url("https://commons.digitalebibliothek.gbv.de/prizepapers/images/entityRelations/document_white.svg");
                }

                &.ship {
                  background-size: 28px auto;
                  background-image: url("https://commons.digitalebibliothek.gbv.de/prizepapers/images/entityRelations/ship_white.svg");
                }

                &.courtprocess {
                  background-size: 20px auto;
                  background-image: url("https://commons.digitalebibliothek.gbv.de/prizepapers/images/entityRelations/court_process_white.svg");
                }

                &.capture {
                  background-size: 21px auto;
                  background-image: url("https://commons.digitalebibliothek.gbv.de/prizepapers/images/entityRelations/capture_white.svg");
                }
              }

              span {}
            }

            .widget-search-facets__filter {
              position: absolute;
              margin-left: 2px;
              height: 34px;
              background-color: transparent;
              top: 6px;
              padding-top: 2px;

              button,
              input {}

              input {
                background-color: #ACACAC;
                right: auto;
              }
            }

            ul {
              list-style-type: disc;
              list-style: disc;
              padding: 6px 0 0 20px;

              li {
                padding: 5px 10px;
                margin: 0;
                display: list-item;
                overflow: visible;

                a {
                  color: #fcfcfc;
                }

                &.active {
                  background-color: #3f84c5;

                  div {
                    &.row {
                      flex-wrap: nowrap;
                      margin-right: 4px;

                      &:before {
                        display: none;
                      }

                      .col-xs-11 {
                        width: 80%;
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
@media all and (max-width:1024px) {
  .resultInfoArea {
    > h3 {
      .searchedKeyword {}

      .hitsCountAll {}
    }

    .docstructChooser {
      .docstructChoice {
        text-align: center;
        width: 24%;

        &.active {
          width: 60%;
        }

        .image {
          width: 72px !important;
          background-size: 50px auto !important;
          height: 90px !important;
          float: none;
          margin-right: 0;

          &.active {}

          &:hover {}

          &.capture {}

          &.ship {}

          &.document {}

          &.court_process {
            .text {}
          }

          .text {
            a {
              font-size: 12px;
            }
          }

          a {}
        }

        .count {
          display: block;
          position: relative;
          float: none;
          text-align: center;

          .facet_count {
            margin-top: 0;
          }
        }

        .remover {
          .facet_remove {}
        }
      }
    }
  }

  .advancedSearch {
    &.container {
      h2 {}

      a.switchToDefaultSearch {
        &:hover {}
      }

      .search-advanced__group {
        a.remove {
          i {}
        }

        .custom-control {
          &.custom-control--select {
            select {}

            &:after {}
          }
        }

        .search-advanced__input-col {
          .input-group {
            input {}
          }

          .input-group-addon,
          .input-group-append {
            button {
              i {}
            }
          }

          a {
            i {}
          }

          a:nth-child(1) {}

          a:nth-child(2) {}
        }
      }

      .search-advanced__add-group {
        a {
          i {}
        }
      }

      .search-advanced__action {
        a {}

        input {}
      }
    }
  }

  #searchList {
    padding-bottom: 100px;

    h1,
    h2,
    h3,
    h4,
    h5 {}

    h1 {}

    .container.introtext {}

    .search-list__sorting {}

    .search-standard__help {
      button {
        i {}
      }
    }

    .searchbar {
      .search-list__links.switch_to_advanced {
        a {
          &:hover {}
        }
      }

      .row {
        .form-group {
          .input-group {
            .input-group-addon.reset,
            .input-group-append.reset {
              a {}
            }

            input#currentSearchInput {}

            .input-group-addon.search,
            .input-group-append.search {
              input.btn {}
            }
          }
        }
      }
    }

    .searchHitList {
      justify-content: center;

      .hit {
        &:hover {}

        .imageFrame {
          &.court_process {}

          &.capture {}

          &.ship {}

          &.document {}

          a {
            img.image {}
          }

          figure.noImage {
            a {}
          }
        }

        a {
          .title {}

          .place {
            .placeMarker {}
          }

          .time {}

          .reference_number {}
        }
      }
    }

    .numeric-paginator {
      ul {
        li {
          a,
          span {
            &:hover {}
          }

          &.numeric-paginator__active {
            span {}
          }
        }
      }
    }

    .servicePanel {
      justify-content: center;

      .sortingDropDown {
        display: none;

        .selected {
          span {}
        }

        .options {
          ul {
            li {
              a {
                &:hover {}
              }

              &:hover {}
            }
          }
        }

        .options span.value,
        .selected span.value {}
      }

      .widget-chronology-slider {
        display: none;

        .widget-chronology-slider__item {
          &.chronology-slider-label {}

          input.widget-chronology-slider__item-input {}

          &.chronology-slider-end,
          &.chronology-slider-start {}

          &.chronology-slider-start {}

          &.chronology-slider-end {}

          &.chronology-slider {
            #chronoSlider {
              .ui-slider-range {}

              .ui-slider-handle {
                &:nth-child(3) {}
              }
            }
          }

          .chronology-slider-action-reset {
            .btn--icon {}
          }
        }
      }

      .filterButton {
        width: 80%;
      }
    }

    .filterPanel {
      .filterWrapper {
        .geofacetting {
          display: none;

          .widget-geofacetting {
            #resetFacetMap {
              i.fa {}
            }
          }

          #geoFacettingMap.geo-map {}

          #widgetGeoFacettingOverlay {}
        }

        .filter {
          > span {
            width: 48%;

            .widget.widget-search-facets__collection {
              h3 {
                div.icon {
                  &.document {}

                  &.ship {}

                  &.courtprocess {}

                  &.capture {}
                }

                span {}
              }

              .widget-search-facets__filter {
                button,
                input {}

                input {}
              }

              ul {
                li {
                  a {}

                  &.active {
                    div {
                      &.row {
                        &:before {}

                        .col-xs-11 {}
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}