.search-page {
  @include breakpoint(large up){
    display: flex;
  }
  .result-cards-container {
    width: 100%;
    @include breakpoint(large up) {
      padding: 0 20px 20px;
      width: 58%;
    }
  }
  .result-map-container {
    display: none;
    width: 42%;
    @include breakpoint(large up) {
      display: block;
    }
  }
}

hr.search-pagination-divider {
  margin: 12px 12px 32px;
  @include breakpoint(br-768 up) {
    margin: 20px 12px 32px;
  }
}

.search-page-footer-button-container {
  padding: 0 24px;
}

.search-margin-negation {
  width: 100%;
  .article-wrapper {
    @include breakpoint(large up) {
      margin-left: -20px;
      margin-right: -20px;
    }
  }
}

.status-pill {
  background-color: #767676;
  color: #F2F2F2;
  position: absolute;
  border-radius: 12px;
  padding: 3px 6px;
  font-size: 9px;
  line-height: 1;
  text-transform: uppercase;
  top: 50%;
  right: 36px;
  transform: translateY(-50%);
  @include breakpoint(medium up) {
    transform: none;
    right: unset;
    top: unset;
    left: 16px;
    bottom: 14px;
  }
}

.listing-search-container {
  //padding-bottom: 64px;
  @include breakpoint(large up) {
    padding-top: 0;
    padding-bottom: 0;
  }
  .listing-search {
    background-color: $white;
    @include breakpoint(large up) {
      padding-top: unset;
      position: fixed !important;
      left: 0;
      right: 0;
      top: 80px;
      z-index: 50;
    }
    @include breakpoint(large up) {
      right: 42%;
    }
  }

  .header-bar {
    .header-column {
      display: none;

      @include breakpoint(medium up) {
        width: 20%;
        display: inline-block;
      }
      &:first-child, &.small-modal-toggle {
        display: inline-block;
        vertical-align: top;
        @include breakpoint(large up) {
          position: unset !important;
        }
        z-index: 20;
        border-right: 1px solid white;
      }
      &.small-modal-toggle {
        width: 30%;
        .text-center-small {
          text-align: center;
          padding-left: 0 !important;
        }
      }
      &.first-column {
        @include breakpoint(small only) {
          width: 70%;
          left: 0;
        }
      }
      @include breakpoint(medium up) {
        width: 20%;
        display: inline-block;
        position: relative;
        border-right: 1px solid white;
        outline: none;
        &.first-column {
          width: 20%;
        }
        &.small-modal-toggle {
          display: none;
          .header-option.first-child {
            padding-left: 0;
            padding-right: 0;
            text-align: center;
          }
        }
      }
      &.last-child, &:last-child {
        border-right: none;
        right: 0;
      }

      .header-option {
        position: relative;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        outline: none;
        text-align: left;
        display: block;
        width: 100%;
        font-size: 14px;
        font-weight: bold;
        line-height: 17px;
        letter-spacing: 0.4px;
        padding: 24px 0 23px 16px;
        &.first-child {
          padding: 24px 24px 23px 40px;
        }
        @include breakpoint(medium up) {
          padding: 33px 32px 33px 16px;
          &.first-child {
            padding: 33px 32px 33px 40px;
          }
        }
        .icon {
          position: absolute;
          top: 50%;
          transform: translateY(-50%);
          &.icon-left {
            left: 16px;
          }
          &.icon-right {
            right: 16px;
          }
        }
        &:hover{
          cursor: pointer;
        }

        &:disabled {
          color: $light-grey;
        }
      }
    }
  }

  .nav-dropdown {
    background-color: white;
    z-index: 1;
    @include breakpoint(large up) {
      position: absolute;
      right: 6px;
      top: 110%;
      width: 390px;
    }
    @include breakpoint(large up) {
      left: 0;
      right: unset;
    }
    &.left {
      @include breakpoint(medium up) {
        position: absolute;
        left: 0;
        right: unset;
        top: 110%;
        width: 390px;
      }
    }
    &.address {
      top: 0;
      right: 0;
      width: unset;
      padding: 16px 16px 17px 12px;
      height: 83px;
      border-radius: 0;
      &:focus{
        outline: none;
      }
    }
  }
}
.listings-search.content-area {
  padding-top: 0px;
  @include breakpoint(medium up) {
    padding-top: 83px;
    margin-bottom: 80px;
  }
  @include breakpoint(large up) {
    padding-top: unset;
    margin-bottom: unset;
  }
  .grid-padding-x {
    .cell.large-4 {
      padding-left: 16px;
      padding-right: 16px;
      @include breakpoint(br-768 up) {
        padding-left: 24px;
        padding-right: 24px;
      }
      @include breakpoint(large up){
        padding-left: 12px;
        padding-right: 12px;
      }
    }
  }
}

.listing-search-card .listing-card-banner .listing-image-slider .feature-image{
  border-top-right-radius: 4px;
  @include breakpoint(medium up) {
    border-top-right-radius: 0;
  }
  @include breakpoint(large up) {
    border-top-right-radius: 4px;
  }
}

.listing-search-card {
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  @include breakpoint(small only){
    margin-bottom: 0;
  }
  //@include breakpoint(medium up) {
  //  height: 200px;
  //}
  @include breakpoint(large up) {
    height: unset;
  }
  .listing-card-banner {
    //padding-bottom: 75.90%;
    background-color: $grey;
    position: relative;
    height: unset;
    @include breakpoint(small only) {
      height: 260px;
      border-top-left-radius: 4px;
      border-top-right-radius: 4px;
    }
    @include breakpoint(medium up) {
      width: 255px;
      height: 100%
    }
    @include breakpoint(large up) {
      width: 100%;
      height: 220px;
    }
    .tag {
      position: absolute;
      top: 12px;
      left: 12px;
      z-index: 1;
      border-radius: 13px;
      font-size: 9px;
      letter-spacing: .45px;
      text-transform: uppercase;
      font-weight: bold;
      line-height: 11px;
      padding: 6px 16px;
    }
    .favourite {
      z-index: 1;
      position: absolute;
      right: 12px;
      top: 12px;
    }

    .listing-image-slider {
      //position: absolute;
      //z-index: 0;
      //top: 0;
      //left: 0;
      //right: 0;
      //bottom: 0;
      //overflow: hidden;

      .tns-controls,
      .tns-nav {
        position: absolute;
        z-index: 1;
        bottom: 0;
      }

      .tns-nav {
        left: 0;
        bottom: 14px;
        text-align: center;
        button {
          outline: 0;
          display: inline-block;
          vertical-align: middle;
          width: 6px;
          height: 6px;
          border-radius: 50%;
          margin: 0 3px;
          background-color: rgba(255,255,255,.7);
          &.tns-nav-active {
            width: 8px;
            height: 8px;
            background-color: white;
          }
        }
      }

      .tns-controls {
        transition: opacity 0.3s ease;
        bottom: 10px;
        @include breakpoint(large up) {
          opacity: 0;
        }
        button {
          outline: 0;
          color: white;
          position: absolute;
          bottom: 0;
          .material-icons {
            font-size: 30px;
          }
        }
        .prev {
          left: 10px;
        }
        .next {
          right: 10px;
        }
      }

      .feature-image {
        height: 100%;
        width: 100%;
        background-size: cover;
        background-position: center;
        //padding-bottom: 11%;
        @include breakpoint(small only) {
          border-top-right-radius: 4px;
          padding-bottom: unset;
        }
      }
    }
  }
  .feature-text {
    padding: 16px;
    border: 2px solid $light-mint;
    border-top: none;
    @include breakpoint(medium up) {
      border-left: none;
      border-top: 2px solid $light-mint;
    }
    @include breakpoint(large up) {
      border-top: none;
      border-left: 2px solid $light-mint;
      }
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.1);
    //min-height: 160px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    .sub-title{
      font-size: 16px;
      line-height: 20px;
      margin-bottom: 14px;
      font-weight: 600;
      @include breakpoint(large up) {
        margin-bottom: 6px;
      }
    }
    .title {
      font-size: 20px;
      line-height: 25px;
      min-height: 50px;
      max-height: 50px;
      overflow: hidden;
      font-weight: 600;
      text-overflow: ellipsis;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      display: -webkit-box;
    }
  }

  &:hover {
    .tns-controls {
      opacity: 1 !important;
    }
  }
}
.line-height-normal{
  line-height: 1.5;
}
.children-outline-none {
  *, div {
    outline: none !important;
  }
}

.attendee-search-card {
  display: flex;
  justify-content: center;
  align-items: center;
  i {
    color: $charcoal;
  }
  .text {
    font-size: 12px;
    line-height: 21px;
    color: $charcoal;
    font-weight: 600;
  }
}

.nested-menu-submit-button-container {
  position: fixed;
  bottom: 16px;
  left: calc(25% + 12px);
  right: 12px;
}
.padding-bottom-100-small-only {
  @include breakpoint(small only) {
    padding-bottom: 100px;
  }
}
.rating-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 18px;
  color: $light-grey;
  .material-icons.text-honey {
    font-size: 19px;
  }
}

.search-this-area-button {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 18px;
  background-color: white;
  color: $charcoal;
  border-radius: 16px;
  height: 35px;
  padding: 9px 10px;
  font-size: 14px;
  font-weight: 600;
  @include breakpoint(large up) {
    top: 28px;
  }
  &:hover {
    background-color: $off-white;
  }
}
