:root {
    --primary-h: 24 !important;
    --primary-s: 100% !important;
    --primary-l: 93.5% !important;
    --primary-contrast-h: var(--primary-h) !important;
    --primary-contrast-s: var(--primary-s) !important;
    --primary-contrast-l: 20%  !important;

    --secondary-h: 203 !important;
    --secondary-s: 22.2% !important;
    --secondary-l: 21.2% !important;
    --secondary-contrast-h: var(--secondary-h) !important;
    --secondary-contrast-s: var(--secondary-s) !important;
    --secondary-contrast-l: 100%  !important;
  }
  :root {
  --success: #519456 !important;
  --rented: #b62428;
}
.standard-project .blocks-icons-cards__icon {
  --blocks-icons-cards-size: 8rem !important;
}
.vignette {
  background-color: var(--secondary) !important;
}

.section-recommended-articles .blocks-text,
.footer-menu__item--flatfinder,
.navigation-wrapper__item--flatfinder,
.navigation-wrapper__item--lead,
.footer-menu__item--lead,
.section-lead__contact,
.timeline-section {
  display: none !important;
}

/* only display lead on residential page and contact page */
.blocks-lead {
  grid-column-end: span 2;
}

.blocks-portal--contact {
  padding-bottom: 3rem !important;
}

.blocks-portal--article .blocks-portal__breadcrumbs-wrapper,
.blocks:not(.standard-project-post--kontakt):not(.standard-project-residential)
  #lead {
  display: none;
}

.blocks-portal--contact .k-elements-card__header {
  height: 370px;
  width: inherit;
}

.main-hero h1 {
  white-space: pre-wrap;
}

.home-additional-sections-2--1 {
  margin-top: 5rem !important;
}

.home-additional-sections-2--0,
.home-additional-sections-2--3,
.home-additional-sections-2--1 {
  border-radius: var(--ankerhagen-section-radius);
  padding-top: 0rem !important;
  padding-bottom: 0rem !important;
}

.home-additional-sections-2--0 .blocks-section__container,
.home-additional-sections-2--3 .blocks-section__container,
.home-additional-sections-2--1 .blocks-section__container {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.standard-project.ankerhagen .blocks-portal--card .blocks-portal__card {
  background-color: var(--primary) !important;
  color: var(--primary-contrast) !important;
  --k-elements-card-border-radius: 5px;
}

.blocks-contact-portal {
  color: var(--primary-contrast) !important;
}

.standard-project-residential #flatfinder,
.standard-project-residential .blocks-summary__price-value {
  display: none !important;
}

.article-hero .k-elements-image,
.standard-project-residential .section-hero .k-elements-image {
  --k-elements-image-size: contain !important;
}

/* flatfinder */
.flatfinder-tooltip__description {
  padding: 1rem 0 !important;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  background-color: rgba(255, 255, 255, 0.825) !important;
}

.flatfinder-tooltip__description-title {
  padding: 1rem;
  position: relative;
  font-size: 1.4em;
  font-family: inherit;
  text-align: center;
  display: block;
  padding: 5px 0.5rem;
}

.flatfinder-tooltip__description-content {
  margin: 0.5rem !important;
  text-align: left;
}
.flatfinder-leaflet-v1-card__title::before,
.flatfinder-tooltip__description::before {
  content: '';
  width: 100%;
  height: 2px;
  background-color: var(--secondary);
  position: absolute;
  left: 0;
  top: 3rem;
}

.flatfinder-tooltip__description-reference-type--link::before,
.flatfinder-tooltip__description-reference-type--residential::before {
  background-color: var(--success);
  top: 4rem;
}

/* desktop pop over */
.flatfinder-leaflet-v1-card__title::before {
  background-color: var(--success);
  top: 3.7rem;
}
.flatfinder-leaflet-v1-card-status--rented
  .flatfinder-leaflet-v1-card__title::before {
  background-color: var(--rented);
}

.flatfinder-leaflet-v1-card__title::after,
.flatfinder-tooltip__description-reference-type--residential
  .flatfinder-tooltip__description-title::after,
.flatfinder-tooltip__description-reference-type--link
  .flatfinder-tooltip__description-title::after {
  content: 'Ledige lokaler';
  display: block;
  color: white;
  max-width: 150px;
  margin: 8px auto auto;
  background-color: var(--success);
  position: relative;
  padding: 5px 15px;
  font-size: 0.7em;
  text-align: center;
}

.flatfinder-leaflet-v1-card-status--rented
  .flatfinder-leaflet-v1-card__title::after {
  content: 'Utleid';
  background-color: var(--rented);
}

.flatfinder-tooltip--muted {
  visibility: hidden;
}

.carousel__slide .flatfinder-leaflet-v1-card__button {
  background-color: var(--success);
  color: white;
  border-radius: 50px;
  font-size: 1rem;
}

.flatfinder-leaflet-v1-card__button .k-button__content {
  justify-content: center;
}

.flatfinder-leaflet-v1-card__cover {
  background-size: contain !important;
  background-repeat: no-repeat !important;
}
.flatfinder-leaflet-v1-card__wrapper {
  display: flex !important;
  flex-direction: column-reverse !important;
  padding-bottom: 1rem !important;
}

.flatfinder-leaflet-v1-card__title {
  text-align: center !important;
}

/* phone card */
.flatfinder-leaflet-v1--is-small-device .flatfinder-leaflet-v1-card__content {
  display: contents;
}

.flatfinder-leaflet-v1--is-small-device .flatfinder-leaflet-v1-card__wrapper {
  flex-direction: column !important;
  padding: 1rem;
}

.flatfinder-leaflet-v1--is-small-device .flatfinder-leaflet-v1-card__title {
  order: 1;
}

.flatfinder-leaflet-v1--is-small-device
  .flatfinder-leaflet-v1-card__properties-wrapper {
  order: 2;
  margin-top: 1rem !important;
}

.flatfinder-leaflet-v1--is-small-device
  .flatfinder-leaflet-v1-card__description {
  order: 3;
  margin-top: 1rem;
}
.flatfinder-leaflet-v1--is-small-device .flatfinder-leaflet-v1-card__cover {
  order: 4;
}

.flatfinder-leaflet-v1--is-small-device .flatfinder-leaflet-v1-card__button {
  order: 5;
}

.flatfinder-leaflet-v1-card-status--rented .flatfinder-leaflet-v1-card__button,
.flatfinder-leaflet-v1-card__price-wrapper {
  display: none !important;
}
/* end flatfinder*/
.blocks-portal__breadcrumbs-wrapper {
  display:none !important;
}
.standard-project-home .flatfinder-section{
  display:none !important;
}