.search-result-navigation {
  min-height: 44px;
  p {
    font-size: 12pt;
    display: inline;
    position: relative;
    bottom: -5px;
    line-height: 25pt;
  }
  
}

@media (max-width: 991px) {
  .search-result-navigation .custom-select {
    max-width: 218px;
  }
}

.search-results {
  margin-bottom: 10px;
  .result-row {
    padding: 0;
    font-size: 12pt;
    word-wrap: break-word;
    > * {
      margin: 7px 0;
    }
    p {
      margin-bottom: 0;
    }
  }
}


/* Table view */

#tableView,
.table-view {
  hr {
    margin-top: 5px;
    margin-bottom: 5px;
  }
  .search-results-table-heading {
    font-size: 12pt;
    text-transform: uppercase;
    color: #414042;
    line-height: 14pt;
    > div {
      height: 40px;
      font-size: 14px;
      > p {
        position: absolute;
        bottom: 0;
        line-height: inherit;
        margin-bottom: 4px;
        font-size: 12pt;
        line-height: 14pt;
        a {
          font-size: 12pt;
          line-height: 14pt;
          text-decoration: none;
        }
      }
    }
  }
  .active-orderby {
    .orderby-indicator {
      width: 10pt;
      height: 10pt;
      padding: 0px;
      background-repeat: no-repeat;
      background-size: 100% auto;
      background-position: center center;
      display: inline-block;
      margin-left: 7px;
    }
    &.orderby-desc {
      .orderby-indicator {
        background-image: url($assets-directory+"/images/svg/arrow-up.svg");
      }
    }
    &.orderby-asc {
      .orderby-indicator {
        background-image: url($assets-directory+"/images/svg/arrow-down.svg");
      }
    }
  }
  .search-results-logo,
  .search-results-description,
  .search-results-action-buttons,
  .search-results-list-image,
  .search-results-gallery-image {
    display: none;
  }
  .search-results-action-icons,
  .col-actions {
    text-align: center;
    .btn,
    .col-actions .btn {
      background: none;
      color: $bright-blue;
      padding: 0;
      font-size: 18pt;
      line-height: 1em;
      text-decoration: none;
      &:hover,
      &:focus {
        background: none !important;
        color: $orange !important;
        line-height: 1em;
        span,
        span:hover {
          color: $orange !important;
        }
      }
      &.disabled {
        opacity: 1;
        color: $disabled-color !important;
        border: none;
        background: none !important;
      }
      span {
        @include transition(all .35s linear 0s);
      }
    }
  }
  .col-actions {
    text-align: left!important;
  }
}


/* List view */

#listView {}

#listView .search-results-table-heading {
  display: none;
}

#listView .search-results-title {
  width: 50%;
  @media (max-width: 767px) {
    width: 100%;
  }
}

#listView .search-results-name {
  font-size: 18pt;
}

#listView .search-results-type {
  display: none;
}

#listView .search-results-organization {
  display: none;
}

#listView .search-results-action-icons {
  display: none;
}

#listView .search-results-list-image {
  @media (max-width: 767px) {
    display: none;
  }
}

#listView .search-results-action-buttons {
  .btn {
    width: 130px;
    @media (max-width: 1199px) {
      width: 110px;
      padding: 6px 4px;
    }
    @media (max-width: 767px) {
      width: 130px;
      padding: 6px 12px;
    }
    @media (max-width: 445px) {
      width: 100%;
    }
  }
  @media (max-width: 767px) {
    margin-top: 20px;
  }
}

#listView .search-results-gallery-image {
  display: none;
}


/* Gallery view */

#galleryView {
  margin: 0px -15px;
}

#galleryView .result-row {
  display: none;
}

#galleryView hr {
  display: none;
}

#galleryView .search-results-table-heading {
  display: none;
}

#galleryView .search-results-logo {
  display: none;
}

#galleryView .search-results-title {
  display: none;
}

#galleryView .search-results-description {
  display: none;
}

#galleryView .search-results-open-data {
  display: none;
}

#galleryView .search-results-type {
  display: none;
}

#galleryView .search-results-organization {
  display: none;
}

#galleryView .search-results-action-buttons {
  display: none;
}

#galleryView .search-results-action-icons {
  display: none;
}

#galleryView .search-results-list-image {
  display: none;
}

#galleryView .teaser-with-background-image {
  text-align: center;
  a {
    &:hover {
      text-decoration: none;
    }
  }
  .teaser-caption {
    position: relative;
    .teaser-heading {
      font-size: 12pt;
      @media(min-width: 1200px) {
        font-size: 14pt;
      }
    }
  }
}

.view-navigation {
  margin-top: 38px;
}

.facet-sok-emne .block.listblock {
  padding: 15px 0;
}


/* Register */

.table-heading .sorted-asc:after,
.table-heading .sorted-desc:after {
  content: "";
  width: 10pt;
  height: 10pt;
  padding: 0;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center center;
  display: inline-block;
  margin-left: 7px;
}

.table-heading .sorted-asc:after {
  background-image: url($assets-directory+"/images/svg/arrow-up.svg");
}

.table-heading .sorted-desc:after {
  background-image: url($assets-directory+"/images/svg/arrow-down.svg");
}
