solid-communities {
  solid-display > div {
    display: contents !important;
  }

  .masonry > div:nth-child(1) {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
  }

  .segment.hover:hover {
    box-shadow: 0 0 6px 0 rgba(46, 63, 88, 0.34);
    bottom: 2px;
    cursor: pointer;
  }

  .community-profile solid-multiple {
    [name="address_line1"]::before {
      font-family: "material-design-icons";
      content: "\F34E";
      position: relative;
      top: 2px;
      color: var(--color-third);
      font-size: 20px;
      margin-right: 10px;
    }

    [name="address_line2"] {
      display: block;
      margin-left: 30px;
    }
  }

  .communities-logo {
    height: 155px;
    width: 100%;
    display: block;

    div {
      display: block;
      width: 100%;
      height: 100%;
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
    }
  }

  .communities-profile-picture {
    div {
      height: 200px;

      div:first-child {
        display: block;
        width: 100%;
        height: 100%;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
      }
    }

    .picture-empty {
      display: none;
    }
  }

  .communities-map {
    .leaflet-popup-content-wrapper {
      border-radius: 5px;

      .leaflet-popup-content {
        width: 340px !important;
        margin: 0;

        .description {
          height: 32px;
        }

        .title:hover {
          cursor: pointer;
          text-decoration: underline;
        }
      }
    }

    .leaflet-popup-close-button {
      display: none;
    }
  }

  .edit-img {
    input[type="file"] {
      display: block;
      margin-top: 10px;
    }

    img {
      display: block;
      margin-top: 15px;
    }

    &.edit-logo {
      img {
        width: 280px;
      }
    }

    &.edit-picture {
      & > div {
        position: relative;

        button {
          margin-top: 10px;
          color: #636363;
          font-weight: bold;
          line-height: 19px;
          font-size: 22px;
        }
      }

      img {
        width: 100%;
      }
    }
  }

  .edit-address {
    form {
      display: table-row;
    }

    .segment.table-cell {
      display: table-cell;
      border-bottom: 1px solid #c9c8c8;
      border-right: 1px solid #c9c8c8;
      height: 60px;
      padding: 10px;
      vertical-align: middle;
      width: 250px;
    }

    input[type="submit"] {
      display: none;
    }
  }

  @media (max-width: 768px) {
    .community-profile-logo {
      border-bottom: 1px solid #e4e9f1;
    }

    orbit-communities-profile-logo {
      height: 100px;
    }

    .communities-profile-picture {
      > div:not(:empty) {
        height: 180px;
      }
    }

    .mobile-map-search-field {
      position: fixed;
      top: 70px;
      z-index: 1000;
      width: 97%;

      button[type="submit"] {
        background: var(--color-secondary) !important;
        color: white !important;

        &:hover {
          background: white !important;
          color: var(--color-secondary) !important;
        }
      }
    }

    .communities-map {
      height: calc(100vh - 50px) !important;

      .leaflet-top.leaflet-left {
        display: none;
      }

      .leaflet-popup-close-button {
        display: block;
        font-size: 20px;
        margin-top: 5px;
        margin-right: 5px;
      }
    }

    .edit-img {
      &.edit-logo {
        img {
          width: 100%;
        }
      }
    }
  }

  @media (min-width: 768.01px) {
    .communities-profile-picture {
      .picture-empty {
        display: flex;
        mask-image: url(/assets/photos.svg);
        mask-size: 100px;
        mask-repeat: no-repeat;
        mask-position: center;
      }

      &:nth-child(2) > .picture-empty {
        background-color: #e4e9f1;
      }

      &:nth-child(1) > .picture-empty,
      &:nth-child(3) > .picture-empty {
        background-color: #e9f2ff;
      }
    }
  }

  .search-button button {
    background-color: transparent !important;

    &:hover {
      background-color: var(--color-secondary) !important;
    }
  }

  .sib-custom-marker {
    // Fix for custom markers from map component
    // Default parameters are not aligned
    border: 8px solid var(--color-secondary);
    &::after {
      left: -8px;
      bottom: -26px;
      border: 8px solid transparent;
      border-top-width: 17px;
      border-top-style: solid;
      border-top-color: inherit;
    }
  }

  .no-result {
    background-image: url("/assets/empty-search.svg");
    background-repeat: no-repeat;
    background-position: top center;
    padding-top: 250px;

    h3 {
      color: #2E3F57;
      font-size: 20px;
      font-weight: 600;
      letter-spacing: 0.27px;
      line-height: 27px;
      margin-bottom: 9px;
    }

    p {
      color: #636363;
      font-size: 18px;
      letter-spacing: 0.46px;
      line-height: 22px;
      margin-top: 0px;
    }
  }
}
