@font-face {
    font-family: 'Interstate Light';
    src: url('/sites/default/files/fonts/interstate-light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Interstate Regular';
    src: url('/sites/default/files/fonts/interstate-regular.woff') format('woff');
    font-weight: 400;
}

@font-face {
    font-family: 'Interstate Bold';
    src: url('/sites/default/files/fonts/interstate-bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

#formular:target {
  margin-top: -120px;
  padding-top: 120px;
}

.beratungundverkauf img {
  max-width: 200px;
  height: auto;
}

.gin-secondary-toolbar--frontend {
  z-index: 9999;
}

#navbar-main {
  z-index: 999;
}

::target{padding-top:75px !important; margin-top:-75px !important; }

.webform-confirmation td {
  color: #707070 !important;
}

.paragraph--type--button a.ext {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  background: #cea82c;
  color: #fff;
  padding: 5px 25px;
  font-size: 16px;
  margin: auto;
}

.paragraph--type--button {
  margin: auto;
  text-align: center;
}

.opendays .logo  {
    margin-left: -50px;
}

.projekt-slider .logo {
  aspect-ratio: auto;
}

.field--name-field-image .field--type-link { 
  display: none;
  }


.footable .views-field-field-top{
  min-width: 80px !important;
  width: 80px !important;
}

.footable td {
  line-height: 120%;
  padding: 3px 0px;
}

.scrolled .gin-secondary-toolbar.gin-secondary-toolbar--frontend {
  position: fixed;
  z-index: 99;
}

.lagekarte {
  background: #fbf9f3
}




html, body, p, .nav-link {
  font-family: 'Interstate Light';
}

strong {
    font-family: 'Interstate Regular';
    font-weight: 400;
}

#block-sunnyhill-icons {
  display: none;
}

.field--name-field-slider img {
  height: auto;
  width: 100%;
  max-width: 100%;
}

.projekt-slider .field--name-field-slider img {
  min-height: 675px;
  object-fit: cover;
  object-position: center
}

#block-logo {
  display: none;
}

#navbar-main {
  background-color: #fff;
}

#CollapsingNavbar .nav-item:last-child {
  margin-right: -110px;
}

#CollapsingNavbar .nav-item:first-child {
  margin-left: -15px;
}

.scrolled #block-logo {
  display: flex;
  position: fixed;
  z-index: 99;
  top: 0px;
  left: 36px;
  height: 90px;
  justify-content: center;
  align-items: center;
  padding-top: 15px;
}

#block-logo img {
  width: auto;
  height: 45px;
  margin-bottom: 0px;
}

.view-wohnungen tr {
  background: #fff;
}

.view-wohnungen th {
  background: #c6d3d4;
  color: #000;
  font-weight: 500;
  font-style: normal;
  line-height: 16px;
  text-align: center;
  font-size: 14px;
  padding-bottom: 6px;
}


.view-display-id-block_1 th:nth-last-child(-n+5) {
background: #c9d6da; 

}

.view-display-id-block_2 th:nth-last-child(-n+4) {
  background: #87a0a1;
  color: #fff;
}

.view-wohnungen tr:nth-child(-n+5) td:nth-last-child(-n+5)  {
  background: #e2e9ea;
}

.view-wohnungen tr:nth-child(-n+5) {
  background: #f1f4f4;
}


.view-wohnungen td:nth-last-child(-n+5)  {
  background: #f1f4f4;
}

.view-wohnungen.view-display-id-block_2 td {
  background: #fff !important;
}

.view-wohnungen.view-display-id-block_2 td:nth-last-child(-n+3)  {
  background: #f1f4f4 !important;
}

.view-wohnungen.view-display-id-block_1 th:nth-last-child(-n+4)  {
  border-right: 1px solid #fff;
}

.view-wohnungen.view-display-id-block_2 th:nth-last-child(-n+3)  {
  border-right: 1px solid #fff;
}

.view-wohnungen th {
  border-right: 1px solid #98adae;
}


.views-field-field-eigennutzer,
.views-field-field-anleger{
  width: 105px;
}



.view-wohnungen td {
  font-family: 'Interstate Light';
  font-weight: 500;
  font-style: normal;
  text-align: center;
  font-size: 16px;
    border-bottom: 1px solid #98adae;
  border-right: 1px solid #98adae;
}

.view-wohnungen td:last-child {
  border-right: 0px !important;
}
.view-display-id-block_2 {
  margin-top: 20px;
}

.view-display-id-block_2 td:nth-child(3) {
  width: auto !important;
}


.view-display-id-block_1 td:nth-child(1),
.view-display-id-block_2 td:nth-child(1){
  width: 75px;
}


.view-display-id-block_1 td:nth-child(2),
.view-display-id-block_2 td:nth-child(2),
.view-display-id-block_1 td:nth-child(3),
.view-display-id-block_2 td:nth-child(3){
  width: 65px;
}


.view-display-id-block_1 td:nth-last-child(1),
.view-display-id-block_2 td:nth-last-child(1),
.view-display-id-block_1 td:nth-last-child(2),
.view-display-id-block_2 td:nth-last-child(2),
.view-display-id-block_1 td:nth-last-child(3),
.view-display-id-block_2 td:nth-last-child(3)
{
  width: 70px;
  padding-left: 0px;
  padding-right: 0px;
}

.view-display-id-block_1 td:nth-last-child(4) {
    width: 110px;
}


.view-display-id-block_2 td:nth-last-child(1) {
    width: 65px;
}

.view-display-id-block_2 td:nth-last-child(2) {
    width: 140px;
}
.view-display-id-block_3 td:nth-last-child(3) {
    width: 160px !important;
}



.view-display-id-block_2 td:nth-child(1) {
  width: 100px;
}

.view-display-id-block_2 td:nth-child(2) {
  width: 100px;
}

.views-field-field-ar {
  min-width: 36px;
}

.views-field-field-grundriss .file a  {
  text-indent: -9999px;
  background: none;
  padding: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0px;
}

.views-field-field-grundriss .file {
  background: none;
  padding: 0px;
}

.views-field-field-grundriss .file a:before {
  content: "";
  text-indent: 0px;
  background-size: auto 16px;
  background: url(/sites/default/files/icon-grundriss.svg);
  background-repeat: no-repeat;
  background-position: center;
  width: 18px;
  height: 18px;
  background-color: transparent !important;
}

.views-field-nothing td {
  text-indent: -9999px;
  background: none;
  padding: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.views-field-nothing a {
  text-indent: -9999px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 0px;
}

.views-field-nothing a:before {
  content: "";
  text-indent: 0px;
  mask-size: auto 16px;
  mask-image: url(/sites/default/files/icon-kontakt.svg);
  -webkit-mask-image: url(/sites/default/files/icon-kontakt.svg);
  mask-repeat: no-repeat;
  mask-position: center;
  width: 18px;
  height: 18px;
  background-color: #3a5759;
}

.verkauft .views-field-nothing a{
  visibility: hidden;
}

.verkauft td {
  height: 32px;
}

.view-wohnungen td:first-child {
  text-align: left;
}

.view-wohnungen td {
  padding: 2px 10px;
  text-align: center;
}

.field--name-field-media-image img {
  width: 100%;
}


@media (max-width: 1200px) {
  #block-logo {
    display: none !important;
  }
}

@media (max-width: 1140px) {
    #CollapsingNavbar .nav-item:last-child {
  margin-right: -50px;
}

#CollapsingNavbar .nav-item:first-child {
  margin-left: 25px;
}
}

@media (max-width: 990px) {
  ::target {
    padding-top: 50px !important;
    margin-top: -50px !important;
}

@media (max-width: 900px) {
  
  .projekt .projekt-slider .field--name-field-body img {
    margin-top: 48px !important;
  }
  
  .projekt-slider .paragraph--type--slider img {
  object-fit: cover;
  object-position: bottom left;
  height: 675px;
}
.projekt-slider .paragraph--type--body {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: auto;
  background-color: rgba(255,255,255,0.75);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  top: 0px;
  width: 100%;
  height: 675px;
  padding-top: 0px !important;
  padding-bottom: 36px;
}
  .projekt-slider .paragraph--type--body img {
    width: 500px;
    margin-bottom: 0px !important;
  }
  
  .projekt-slider .paragraph--type--body h2 {
    margin-top: 25px !important;
    font-size: 28px !important;
  }
  
  .projekt-slider .paragraph--type--body h3 {
    margin: 36px 0px !important;
    font-size: 22px;
  }
  .projekt-slider .paragraph--type--body p {
    font-size: 18px;
  }
  
  .projekt-slider .paragraph--type--body .text-formatted {
  max-width: 100%;
  padding-left: 50px;
  padding-right: 50px;
}
}


@media (max-width: 640px) {
  
  .lage-plan .lagekarte img {
  min-height: auto !important;
   height: auto;
}

.lagekarte {
  min-height: auto !important;
}
  
  .projekt-slider .paragraph--type--slider img {
  aspect-ratio: 1580 / 1850;
  object-fit: cover;
  object-position: bottom left;
}
  
.projekt-slider .paragraph--type--body {
  padding-top: 36px;
  padding-bottom: 25px;
  hyphens: auto;
  height: 100%;
  background-color: rgba(255,255,255,0.85);
}
  
  .projekt-slider .text-formatted img {
    width: 320px !important;
    margin-top: 25px;
  }
  
  .projekt-slider h2 {
  font-size: 18px !important;
    line-height: 24px !important;
    margin-bottom: 15px;
    margin-top: 36px;
}
  
  .projekt-slider p {
    margin-top: 0px !important;
  }
  
  .projekt-slider .paragraph--type--body br {
    display: none;
  }
  
  .projekt-slider .paragraph--type--body img {
    width: 150px;
    margin-bottom: -10px !important;
  }
  
  .projekt-slider .paragraph--type--body .text-formatted {
  max-width: 100%;
  padding-left: 50px;
  padding-right: 50px;
}
    .view-wohnungen td{
    font-size: 14px;
  }
  
  .footable-detail-row table {
    margin-top: 0px;
  }
  
  .footable-details td:last-child {
    text-align: center;
  }
  
  
}