.b-item {
  display: flex;
  border-bottom: 1px solid var(--txt-color-sec);
  min-height: 175px;

  &-list {
    border-top: 1px solid var(--txt-color-sec);
    margin-left: auto;
    margin-right: auto;

    &--search-result {
      .b-item:last-of-type {
        border-bottom: none;
        margin-bottom: 0;
      }
    }
  }

  &--active-map-item {
    width: 100%;
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: white;
    margin-bottom: 0 !important;
    padding-top: 16px;
    border: 1px solid $txt-color-sec !important;
    padding-left: 16px;
    &__close {
      position: absolute;
      right: 20px;
      top: 20px;
      z-index: 11;
      .icon-close1 {
        font-size: 20px;
      }
    }
  }

  &__available-beds {
    display: flex;
    align-items: center;
  }

  &__availability {
    padding: 3px 7px;
    display: table;

    &--green {
      background-color: #8af238;
      color: var(--txt-color);
    }

    &--red {
      background-color: #f23838;
      color: var(--white);
    }
  }

  &__title {
    display: none;
    justify-content: space-between;
    align-items: center;
    position: relative;

    &--link {
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: relative;
      transition: all 250ms;
    }
  }

  &.listOnly {
    .b-item__title {
      display: flex;

      &--link {
        display: none;
      }
    }

    .btn--read-more {
      display: none;
    }
  }

  &__img {
    min-width: 330px;
    max-width: 330px;
    height: 185px;
    position: relative;
    overflow: hidden;

    img {
      height: 100%;
      width: 100%;
      position: absolute;
      -o-object-fit: cover;
      object-fit: cover;
      transition: all 250ms;
    }
  }

  &__content {
    width: 100%;
    padding-left: 100px;
    align-self: center;

    &__short-desc {
      white-space: pre-line;
      text-align: left !important;

      p {
        text-align: left !important;
        span {
          font-family: $ff-sans !important;
        }
      }
    }
  }

  &__details {
    display: flex;
    align-items: center;

    &__item {
      display: flex;
      align-items: center;
      margin-right: 15px;
      color: var(--txt-color-sec);

      &__icon {
        margin-right: 5px;
        font-size: 14px;

        &--sm {
          font-size: 17px;
        }
      }
    }
  }

  &__link {
    color: var(--blue);
  }

  &:hover {
    .b-item__title--link {
      color: var(--blue);
    }

    .b-item__img {
      img {
        transform: scale(1.1);
      }
    }

    .btn--read-more__icon {
      transform: translateX(4px);
    }
  }

  @media (max-width: 1025px) {
    &__content {
      padding-left: 40px;
      padding-right: 25px;
    }
  }

  @media (max-width: 800px) {
    &__img {
      min-width: 250px;
      max-width: 250px;
      height: 140px;
    }

    &__content {
      padding-left: 15px;
      padding-right: 0px;
    }
  }

  @media (max-width: 600px) {
    flex-direction: column;
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;

    &--active-map-item__close {
      top: initial;
      bottom: 20px;
    }

    &__img {
      min-width: inherit;
      max-width: inherit;
      height: 125px;
    }

    &__details {
      flex-direction: column;
      align-items: flex-start;

      &__item {
        margin-bottom: 2px;
        margin-top: 2px;
      }
    }

    &__content {
      width: 100%;
      padding-right: 7px;
      padding-top: 15px;
      padding-left: 0px;

      &__short-desc {
        display: none;
      }
    }
  }

  @media (max-width: 440px) {
    &__img {
      height: 95px;
    }
    &__title {
      align-items: flex-start;

      &--link {
        align-items: flex-start;
      }
    }
    &__stay-safe-logo {
      position: absolute;
      right: 0;
      transform: translateY(-60px);
      filter: drop-shadow(0px 0px 6px rgba(255, 255, 255, 0.5));
    }
  }
}
