


.type-reference.bg-grey {
  background-color: #ecf0f1;
}

.type-reference .wrapper-circles {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(1,0,59,0)
}
.type-reference .circle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  border-radius: 50%;
}
.type-reference .circle-pupils {
  background-color: #63c1fe;
}
.type-reference .circle-tenants {
  background-color: #92d14f;
}
.type-reference .number {
  color: #FFFFFF;
}

.wrapper-btn-back {
  justify-content: flex-start;
}
.wrapper-btn-back a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 220px;
  height: 38px;
  background-color: #0075BF;
  color: #FFFFFF;
}
.wrapper-btn-back a span:first-child {
  display: block;
  transform: rotate(180deg);
  margin-left: 8px;
  width: 18px;
  height: 38px;
  background-repeat: no-repeat;
  background-image: url(../../images/symbols/Symbol_next-white.svg);
  background-position: 50%;
  background-size: auto 50%;
  background-color: rgba(129,15,0,0);
}
.wrapper-btn-back a span:last-child {
  display: block;
  margin-right: 14px;
}

@media screen and (max-width: 660px) {

  .type-reference-area-1 {
    /*
    background-image: url(../../images/hilfe/referenz-1_mobile.jpg);
    background-size: auto;
    background-position: top center;
    background-repeat: no-repeat;
    */
  }
  
  .type-reference-area-1 .area-indent, 
  .type-reference-area-2 .area-indent {
    width: 91.8%;
    margin: 0 auto;
    padding-top: 32px;
    padding-bottom: 82px;
    text-align: center;
    background-color: rgba(129,15,0,0) !important;
  }
  .type-reference-area-1 .area-indent {
    padding-bottom: 32px;
  }
  .type-reference h1.header.cursive + .subline {
    margin-top: 16px;
    background-color: rgba(129,0,0,0);
  } 
  .type-reference .header.separate {
    margin-bottom: 16px;
  }
  .type-reference .wrapper-circles {
    justify-content: space-evenly;
  }
  .type-reference .circle {
    width: 140px;
    height: 140px;
    min-width:  140px   !important;
    min-height:  140px  !important;
    margin: 42px 0px 42px 0px;
  }
  .type-reference .circle .number {
    font-size: 40px;
    width: 100%;
    line-height: 1.0;
    margin: 0px;
    margin-top: 30px;
    background-color: rgba(129,0,14,0);
  }
  .type-reference .circle .number + p {
    line-height: 1.0;
    margin: 0px;
    margin-bottom: 32px;
    background-color: rgba(0,0,149,0);
  }
  .type-reference-area-1 .text {
    text-align: left;
  }
  .type-reference-area-2 .text {
    text-align: center;
  } 
  .wrapper-btn-back a {
    width: 252px;
  }
}


@media screen and (min-width: 661px) {
  
  .type-reference .area-indent {
    width: 590px;
    margin: 0 auto;
    padding-top: 52px;
    padding-bottom: 82px;
    text-align: center;
    background-color: rgba(129,15,0,0) !important;
  }
  
  .type-reference h1.header.cursive + .subline {
    margin-top: 8px;
    background-color: rgba(129,0,0,0);
  }
  
  .type-reference .header.separate {
    margin-bottom: 32px;
  }
  
  .type-reference .circle {
    width: 126px;
    height: 126px;
    min-width:  126px   !important;
    min-height:  126px  !important;
    margin: 46px 46px 80px 46px;
  }
  
  .type-reference .circle .number {
    font-size: 40px;
    width: 100%;
    line-height: 1.0;
    margin: 0px;
    margin-top: 30px;
    background-color: rgba(129,0,14,0);
  }
  .type-reference .circle .number + p {
    line-height: 1.0;
    margin: 0px;
    margin-bottom: 32px;
    background-color: rgba(0,0,149,0);
  }
  .type-reference-area-1 .text {
    text-align: left;
  }
  .type-reference-area-2 .text {
    text-align: center;
  }  
}

/* MASONRY */

.masonry-grid-gallery {
  width: 100%;
  background-color: #d6d3d3;
}

.masonry-grid-gallery .grid-sizer {
  width: 1px;
}

.grid-item-0 {
  width: 50%;
}
.grid-item-2 {
  width: 33.1%;     /* 37 */
}
.grid-item-1 {
  width: 66.9%;
}
.grid-item-3 {
  width: 100%;
}

.masonry-block-gallery {
  background-size: cover;
  background-position: 50%;
  background-repeat: no-repeat;
  padding-top: 33%;
}
@media screen and (max-width: 660px) {

  .grid-item-0, 
  .grid-item-1, 
  .grid-item-2 {
    width: 100%;
  }
  .masonry-block-gallery {
    padding-top: 100%;
  }
}