html,
body {
  margin: 0;
  padding: 0;
  font: 400 14px/16px "Open Sans", "Lucida Sans Unicode", "Lucida Grande",
    sans-serif;
  scroll-behavior: smooth;
}

/*newer styles*/
.vendors-search-all h2 {
  font-weight: 600;
}

.vendors-search-all-header {
  position: relative;
  width: 100%;
  min-height: 600px;
  height: 75vh;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  background-blend-mode: darken;
  transition: 1.5s;
  background-position-x: center;
  background-position-y: center;
  background-origin: initial;
  background-clip: initial;
  background-color: initial;
  background-image: url("/budget/assets/landing-image-vendor-search-all.jpg");
  /* Photo by <a href="https://unsplash.com/@andozo?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Andreas Rønningen</a> on <a href="https://unsplash.com/s/photos/wedding-celebration?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a> */
}

.vendors-search-all-header .fog {
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.3);
  position: absolute;
  transition: opacity 0.3s ease;
}

.vendors-search-all-header .vendors-search-all-header-box {
  width: 70%;
  z-index: 1;
}

.vendors-search-all-header-box h1 {
  margin-bottom: 20px;
  font-size: 48px;
  font-weight: 600;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.2;
  text-align: center;
  color: #fff;
  word-break: break-word;
}

.vendors-search-all-header-box p {
  margin-bottom: 20px;
  font-style: normal;
  font-size: 18px;
  font-weight: 700;
  font-stretch: normal;
  line-height: 1.2;
  letter-spacing: normal;
  text-align: center;
  color: #fff;
  word-break: break-word;
}

.vendors-search-all-select {
  justify-content: center;
  display: flex;
  padding: 10px;
  border-color: #d6d6d6;
  border-radius: 4px;
  border-width: 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.vendors-search-all-select .select-category {
  border-radius: 4px 0 0 4px;
  background-color: white;
  flex-grow: 2;
  opacity: 1;
}

.vendors-search-all-select .locationInput {
  flex-grow: 2;
  border-radius: 0;
  font-size: 16px;
}

.vendors-search-all-select .vendor-search-all-button {
  background-color: #03616f;
  line-height: 5px;
  height: 60px;
  min-width: 60px;
  border-width: 0;
  border-radius: 0 4px 4px 0 !important;
  border-color: #d6d6d6;
  color: white;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vendors-search-all-container {
  max-width: 1800px !important;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
}

.vendors-search-all-container-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 20px;
}

.vendors-search-all-container-header .view-all-categories {
  font-size: 20px;
  font-weight: 500;
  color: #03616f;
}

.categoriesfeed {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-row-gap: 2rem;
  grid-column-gap: 2rem;
}

.finding-wedding-vendor-section {
  margin-top: 4.5rem;
}

.find-a-wedding-vendor-container {
  display: flex;
  justify-content: space-around;
  margin-top: 60px;
}

.section-centered-title {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  font-weight: 600;
}

.find-a-wedding-vendor-container .vendor-container-item {
  display: flex;
  flex-basis: 100%;
  flex-direction: column;
  align-items: center;
  padding-left: 20px;
  padding-right: 20px;
}

.vendor-container-item .item-img {
  background: url("/budget/assets/find_vendor.svg");
  background-size: cover;
  width: 60px;
  height: 60px;
}

.vendor-container-item .item-img.item-2 {
  background: url("/budget/assets/chat_compare_price.svg");
  background-size: cover;
}

.vendor-container-item .item-img.item-3 {
  background: url("/budget/assets/treffen_buchen.svg");
  background-size: cover;
}

.vendor-container-item .secondary-vendor-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.vendor-container-item .secondary-vendor-categories a {
  text-decoration: none;
}

.grey-subtext {
  display: flex;
  justify-content: center;
  text-align: center;
  color: #707070;
  font-size: 18px;
  line-height: 1.2;
}

.best-rated-vendors-section {
  background-color: #f8f9fa;
  padding: 3rem;
}

.wedding-planning-text p {
  line-height: 1.4;
  color: #707070;
  font-size: 18px;
}

.secondary-vendor-categories .secondary-vendor-category-box {
  overflow: hidden;
  width: 400px;
  height: 120px;
  display: flex;
  border: solid #d6d6d6 1px;
  border-radius: 10px;
  margin: 1rem;
}

.secondary-vendor-category-box .category-image {
  border-radius: 10px 0 0 10px;
  width: 120px;
  height: 120px;
  background-size: cover;
  background-position: center;
}

.secondary-vendor-category-box .vendor-category-content {
  display: flex;
  align-items: center;
  margin-left: 1.5rem;
  font-size: 18px;
}

.vendor-tile-container {
  display: flex;
  max-width: 100%;
  overflow: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 30px;
}

.vendor-tile-container .vendor-tile {
  border: solid #d6d6d6 1px;
  border-radius: 10px;
  margin: 10px;
  font-size: 16px;
  background-color: white;
  scroll-snap-align: start;
  width: 300px;
  height: 430px;
}


.vendor-tile-container .vendor-tile a {
  text-decoration: none; 
}

.vendor-tile .vendor-image-background-holder {
  overflow: hidden;
  position: relative;
  border-radius: 10px 10px 0 0;
}

.vendor-tile .vendor-tile-tags-container {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  margin-top: 0;
  display: flex;
  z-index: 1;
}

.vendor-tile-tags-container .vendor-tile-tag-item {
  letter-spacing: 1.5px;
  padding: 6px;
  align-items: center;
  border-radius: 4px;
  justify-content: center;
  font-size: 12px;
  line-height: 16px;
  background-color: white;
  margin-right: 0.5rem;
  border: 1px solid #d6d6d6;
}

.vendor-tile-tags-container .vendor-tile-tag-item.accent {
  background-color: #e2ad00;
}

.vendor-tile .vendor-image-background {
  width: 300px;
  height: 200px;
  border-radius: 10px 10px 0 0; /* so image does not create sharp edges*/
  background-position: center center;
  transition: all 1s;
}

.vendor-tile .vendor-image-background:hover {
  transform: scale(1.2);
}

.vendor-tile .vendor-tile-content {
  background-color: white;
  padding: 0 0.75rem 0.25rem 0.75rem;
  border-radius: 10px;
  height: 225px;
}

.vendor-tile-content .vendor-tile-review-location {
  display: flex;
}

.vendor-tile-content .vendor-tile-rating {
  color: black;
  margin-right: 0.5rem;
}

.vendor-tile-content .vendor-tile-rating-star {
  width: 1.05rem;
  height: 1.05rem;
  margin-right: 0.5rem;
  background-repeat: no-repeat !important;
  background-size: cover;
  background: url("/budget/assets/vendor_star.svg");
}

.vendor-tile-content .vendor-tile-number-of-reviews {
  color: #707070;
  margin-right: 0.5rem;
}

.vendor-tile-content .vendor-tile-city {
  color: #707070;
}

.vendor-tile-content .vendor-tile-title {
  margin-bottom: 0.75rem;
  font-size: 18px;
  line-height: 1.4;
  height: 55px;
  text-overflow: ellipsis;
  overflow: hidden;
}

.vendor-tile-content .vendor-tile-tags {
  color: #707070;
  margin-bottom: 1rem;
  height: 40px;
  white-space: nowrap;
  overflow: hidden;
  line-height: 1.4;
}

.vendor-tag-dotted:after {
  font-size: 12px;
  color: #737e88;
  line-height: 25px;
  content: "";
  display: inline-block;
  width: 2px;
  height: 2px;
  margin: 0 4px;
  border-radius: 100%;
  background-color: #737e88;
  vertical-align: middle;
}

.vendor-tile-content .vendor-tile-cost-per-guest {
  margin-bottom: 0.5rem;
}

.vendor-tile-content .vendor-tile-capacity {
  color: #707070;
}

.wedding-vendors-by-city-section {
  padding: 3rem;
  background-color: #f8f9fa;
}
.vendor-by-city-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  line-height: 1.4;
}

.vendor-by-city-container .wedding-vendor-location-links {
  width: 200px;
  display: flex;
  margin: 2rem;
  align-items: center;
  font-size: 18px;
  line-height: 32px;
  font-weight: 600;
  color: #03616f;
  flex-direction: column;
  align-items: baseline;
}

.vendor-by-city-container .wedding-vendor-location-links a {
  text-decoration: none;
  color: #03616f;
}

.happiness {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.happiness .container {
  margin-left: 2rem;
  margin-right: 2rem;
}

.happiness .front {
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  align-items: flex-start;
  max-width: 40%;
  padding: 60px 0;
}

.happiness .front h2 {
  margin-top: 30px;
  font-size: 40px;
  font-weight: 600;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.2;
  letter-spacing: normal;
  color: #fff;
  width: 100%;
  text-transform: none;
  text-shadow: 1px 1px black;
}

.happiness .front h3 {
  margin-bottom: 30px;
  font-size: 26px;
  font-weight: 600;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.2;
  letter-spacing: normal;
  color: #fff;
  width: 100%;
  text-transform: none;
  text-shadow: 1px 1px black;
}

.happiness .front p {
  color: #fff;
  text-shadow: 1px 1px black;
  line-height: 2rem;
  font-size: 16px;
}
.happiness .front a {
  color: #fff !important;
  text-decoration: underline;
}

.happiness .front a.cta {
  margin-top: 30px;
  margin-bottom: 10px;
  border: none;
  min-width: 64px;
  line-height: 36px;
  padding: 0 16px;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.87);
  background-color: #03616f;
  font-size: 14px;
  font-weight: 600 !important;
  text-transform: capitalize !important;
  text-decoration: none;
  border-radius: 4px !important;
  box-shadow: none !important;
}

@media only screen and (min-width: 1200px) {
  .wide-container {
    max-width: 1500px !important;
    margin-left: auto;
    margin-right: auto;
  }
}

.category .category-background {
  height: 250px;
  border-radius: 10px;
  background-size: cover !important; /*without it, image will repeat*/
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 1;
  position: relative;
}

.category .category-background:hover {
  opacity: 0.9;
  transition: 0.5s ease;
}

.category .category-background .categories-title {
  padding: 20px;
  color: white;
  font-size: 20px;
  text-shadow: 1px 1px black;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
  border-radius: 10px;
  position: absolute;
  bottom: 0;
  width: 100%;
}

.categories-container .category .category-content {
  margin-top: 10px;
  margin-left: 5px;
  margin-bottom: 10px;
}

.category-vendors-container .vendor-tile-container {
  display: flex;
  flex-wrap: wrap;
}

@media only screen and (max-width: 900px) {
  .locationInput {
    display: none;
  }
  .view-all-categories {
    display: none;
  }

  .secondary-vendor-categories .secondary-vendor-category-box {
    margin: 1rem;
    width: 250px;
    height: 100px;
  }
  .secondary-vendor-category-box .category-image {
    width: 100px;
    height: 100px;
  }

  .secondary-vendor-category-box .vendor-category-content {
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
  }

  .vendor-by-city-container .wedding-vendor-location-links {
    margin: 14px 0.25rem;
    font-size: 14px;
    line-height: 24px;
    width: 150px;
  }

  .finding-wedding-vendor-section .find-a-wedding-vendor-container {
    display: flex;
    flex-wrap: wrap;
  }

  .find-a-wedding-vendor-container .vendor-container-item {
    margin-bottom: 30px;
  }

  .vendor-container-item h3 {
    text-align: center;
  }

  .vendors-search-all-header-box h1 {
    font-size: 26px;
  }

  .vendors-search-all-container-header {
    margin-top: 0;
  }

  .categoriesfeed {
    display: flex;
    max-width: 100%;
    overflow-x: scroll;
    scroll-snap-type: x;
    padding-bottom: 30px;
    grid-column-gap: 0;
  }

  .categoriesfeed .category {
    margin-right: 1rem;
    scroll-snap-align: start;
  }

  .happiness .front {
    max-width: 100%;
    padding: 0;
  }

  .happiness .container {
    margin-left: 20px;
    margin-right: 20px;
  }

  .wedding-vendors-by-city-section {
    padding: 20px;
  }

.vendor-by-city-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
}
  .wedding-planning-text p {
    font-size: 14px;
  }

  .vendors-search-all h2 {
    font-size: 20px;
  }

  .vendors-search-all h3 {
    font-size: 18px;
  }

  .grey-subtext {
    font-size: 16px;
  }

  .finding-wedding-vendor-section {
    margin-top: 1rem;
  }

  .best-rated-vendors-section {
    padding: 20px;
  }

  .vendor-tile .vendor-image-background {
    width: 260px;
    height: 160px;
  }

  .vendor-tile-container .vendor-tile {
    width: 260px;
    height: 390px;
    border: solid #d6d6d6 1px;
    border-radius: 10px;
    margin: 10px;
    font-size: 16px;
  }

  .vendor-tile-content .vendor-tile-title {
    font-size: 14px;
    margin-bottom: 0.25rem;
  }

  .vendor-tile-content .vendor-tile-tags {
    margin-bottom: 0.5rem;
    font-size: 12px;
  }
  .vendor-further-details {
    font-size: 12px;
  }

  .vendor-tile .vendor-tile-content {
    padding: 0 0.75rem 0rem 0.75rem;
  }
}

@media only screen and (max-width: 1300px) {
  .category .category-background {
    width: 200px;
    height: 150px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}
