/* Expertentipps VIEWS */

.navbar.affix.bg-primary {
  background: #000 !important;
}

.main-content {
  margin-top: 150px;
}

.view-expertentipps {
  margin-top: 0px;
  margin-bottom: 50px;
}

.view-expertentipps .views-field-view-node a  {
  position: absolute;
  z-index: 99;
  text-indent: -9999px;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
 
}

.view-expertentipps .views-field-edit-node  a{
  position: absolute;
  bottom: 10px;
  right: 12px;
  z-index: 999;
  color: #333;
  background: #fff;
  top: auto;
  opacity: 1;
  height: 24px;
  width:24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 90%;
}

.view-expertentipps .views-row:before {
  content: "Erfolgsrezept";
  position: absolute;
  text-transform: uppercase;
  top: 12px;
  left: 18px;
  z-index: 20;
  font-family: Nexa Bold;
}


.view-expertentipps .view-content {
  max-width: 900px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 25px;
  margin: auto;
}

.view-expertentipps .tipp,
.field--name-field-tipp {
  border: 1px solid #ccc;
  padding: 6px 6px 101px 6px;
  position: relative;
  height: 289px;
}

.view-expertentipps .number {
  z-index: 25;
  position: absolute;
  right: 18px;
  top: 12px;
  font-family: Nexa Bold;
}

.view-expertentipps .gold .number {
  color: #e3c263;
}

.view-expertentipps .schwarz .number {
  color: #000;
}

.view-expertentipps .views-row {
  position: relative;
}


.view-expertentipps .bg.gold:after{
  background: #e3c263;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  content: "";
  position: absolute;
}

.view-expertentipps .bg.black:after{
  background: #202425;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  content: "";
  position: absolute;
}

.bgblack .tipp {
  background: #202425;
  position: relative;
}

.bggold .tipp {
  background: #e3c263;
  position: relative;
}

.bgwhite.tipp {
  background: #fff;
  position: relative;
}

.view-expertentipps .bg.white:after{
  background: #fff;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  content: "";
  position: absolute;
}

.view-expertentipps .fc {
  text-align: center;
  min-height: 120px;
  padding:0px 18px 0px 18px;
  font-size: 21px;
  font-family: "Nexa Bold";
  line-height: 140%;
  position: absolute;
  top: 50px;
  z-index: 10;
}


.view-expertentipps .fc.white {
  color: #fff;
}

.view-expertentipps .fc.black {
  color: #000;
}

.view-expertentipps .fc.gold {
  color: #202425
}


.view-expertentipps .bubble {
  position: relative;
}

.view-expertentipps .bubble.white{
  position: relative;
  background: #fff;
  z-index: 10;
}

.view-expertentipps .bubble.black{
  position: relative;
  background-color: #202425;
  z-index: 10;
}

.bubble.gold {
  position: relative;
  z-index: 10;  
}


/* Expertentipps NODE // Maske */

.node--type-expertentipp {
  margin-top: 75px;
}

.node--type-expertentipp .tipp {
  position: relative;
  margin-right: 50px;
}

.node--type-expertentipp .tipp .field--name-field-number {
  position: absolute;
  right:30px;
  top: 20px;
  font-size: 28px;
  font-family: Nexa Bold;
  z-index: 999;
}

.node--type-expertentipp.white  .field--name-field-number {
  color: #fff !important;
}

.node--type-expertentipp.bubblegold .tipp .field--name-field-number,
.node--type-expertentipp.bubblegold .tipp:before{
  color: #000;
}

.node--type-expertentipp.bubblewhite .tipp .field--name-field-number,
.node--type-expertentipp.bubbleblack .tipp .field--name-field-number,
.node--type-expertentipp.bubblewhite .tipp:before,
.node--type-expertentipp.bubbleblack .tipp:before{
  color: #e3c263;
}

.node--type-expertentipp .tipp:before {
  content: "Erfolgsrezept";
  left: 30px;
  top: 20px;
  font-size: 28px;
  position: absolute;
  text-transform: uppercase;
  font-family: Nexa Bold;
  z-index: 10;
}

.node--type-expertentipp .field--name-field-tipp {
  position: relative;
  text-align: center;
font-size: 21px;
font-family: "Nexa Bold";
line-height: 140%;
position: absolute;
    height: 490px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 36px;

}

.node--type-expertentipp .tipp:after {
    width: calc(100% - 20px);
  margin: auto;
  height: 480px;
  mask: url(/sites/default/files/bubble.svg);
  -webkit-mask-image: url(/sites/default/files/bubble.svg);
  mask-size: cover;
  -webkit-mask-size: cover;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position-x: right;
  -webkit-mask-position-x: right;
  mask-position-y: bottom;
  -webkit-mask-position-y: bottom;
  content: "";
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  top: 10px;  
  z-index: 1;
}

.node--type-expertentipp .tipp div {
  position: relative;
  z-index: 10;
}

/* Expertentipps NODE // Layout  */


.node--type-expertentipp .layout--twocol{
  max-width: 1200px;
  margin: 50px auto ;
  display: flex;
}

.node--type-expertentipp .layout__region--first {
  flex: 0 1 550px;
  padding: 0px !important;
}

.node--type-expertentipp .layout__region--second {
 flex: 1;
  padding: 0px !important;
}

/* Expertentipps NODE // Felder  */

.node--type-expertentipp h1 {
font-family: "Nexa Bold";
font-size: 24px;
line-height: 30px;
margin-bottom: 25px;
}

.node--type-expertentipp .field--name-field-fazit {
  border: 3px solid #e3c263;
  padding: 15px 25px 5px 25px;
  float: left;
  margin-top: 25px;
  width: 100%;
}

.node--type-expertentipp .field--name-body {
  float: left;
}

.node--type-expertentipp .field--name-field-addition {
  margin-left: -550px;
  margin-top: 550px;
  width: 500px;
  float: left;
  padding-right: 0px;
}




/* Expertentipps // Farben  */


.bubblegold .field--name-field-tipp,
.bubbleblack .field--name-field-tipp,
.bubblewhite .field--name-field-tipp{
  position: relative;

}

.view-expertentipps .bubble.gold:after,
.view-expertentipps .bubble.black:after,
.view-expertentipps .bubble.white:after{
  content: "";
  width: 100%;
  height: 280px;
  left: 0px;
  right: 0px;
  top: 0px;
  z-index: 5;
  position: absolute;
  -webkit-mask-image: url(/sites/default/files/bubble.svg);
  mask-size: cover;
  -webkit-mask-size: cover;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position-x: right;
  -webkit-mask-position-x: right;
  mask-position-y: bottom;
  -webkit-mask-position-y: bottom;
}


.view-expertentipps .bubble.gold:after,
.bubblegold .tipp:after {
  background-color: #e3c263;
  
}


.view-expertentipps .bubble.black:after,
.bubbleblack .tipp:after{
 background-color: #202425;
}

.view-expertentipps .bubble.white:after,
.bubblewhite .tipp:after{
 background-color: #fff;
}

.view-expertentipps .views-row.gold:before,
.view-expertentipps .views-row.gold:after {
  color: #e3c263;
}

.view-expertentipps .views-row.schwarz:before,
.view-expertentipps .views-row.schwarz:after{
  color: #000;
}

.view-expertentipps .bg:before{
  content: "by Die Wölfe Immobilienmarketing";
  z-index: 30;
  position: absolute;
  top: 245px;
  left: 6px;
  font-size: 11px;
  font-weight: normal;
  font-family: "PT Sans";
  letter-spacing: 0.01em;
  width: 170px;
}

.view-expertentipps .bg.black:before{
  color: #fff;
}

.view-expertentipps .bg.white:before,
.view-expertentipps .bg.gold:before{
  color: #202425;
}

.field--name-field-tipp:before{ 
  position: absolute;
  content: "by Die Wölfe Immobilienmarketing";
  z-index: 10;
  font-size: 11px;
  font-weight: normal;
  font-family: "PT Sans";
  letter-spacing: 0.01em;
  width: 170px;
  left: 6px;
  top: 400px;
  }

.bgblack .field--name-field-tipp:before {
  color: #fff;
}

.bgwhite .field--name-field-tipp:before,
.bggold .field--name-field-tipp:before{
  color: #000;
}

.fcwhite .field--name-field-tipp {
  color: #fff;
  display: flex;
  position: relative;
  background: none;
}

@media (max-width: 1280px) {
  .page-node-type-expertentipp .container-fluid {
    padding: 0px 50px !important;
  }
  
  
}

@media (max-width:990px) {
  
.main-content {
  margin-top: 0px;
}
  
  .node--type-expertentipp .main-content {
    margin-top: 0px !important;
  }
  
  .node--type-expertentipp .layout__region--first {
  flex: auto;
    width: 100% !important;
    display: block;
    margin: 36px 25px 0px 25px;
}
  
  .node--type-expertentipp .layout__region--second {
  flex: auto;
    width: 100% !important;
    display: block;
    margin: 0px 25px -12px 25px;
  }
  
  .node--type-expertentipp .field--name-field-tipp {
    margin-right: 0px;
  }
  
  .node--type-expertentipp .tipp {
    margin-right: 0px;
  }
  
  .node--type-expertentipp .tipp .field--name-field-number {
    right: 25px;
  }
  
  .page-node-type-expertentipp .block-system-main-block {
  margin-top: 50px !important;
}
  
  

  .page-node-type-expertentipp .container-fluid {
    padding: 0px 25px !important;
  }
  
  
  .node--type-expertentipp .layout__region--second {
    display: flex;
    flex-direction: column;
    margin-top: 36px;
  }
  
    .node--type-expertentipp .field--name-field-addition {
  margin-left: 0px;
  margin-top: 25px !important;
  width: 100%;
  float: left;
  padding-right: 0px;
  order: 2;
  flex-direction: column;
}
  
  .field--name-body  {
    order: 1;
  }
  
  .field--name-field-fazit {
    order: 3;
  }
  
}

@media (max-width:768px) {

.view-expertentipps .view-content {
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin: auto;
}
  
.view-expertentipps .bubble:after{
  height: 200px;
    mask-size: cover;
  mask-position-x: right;
  mask-position-y: bottom;
  mask-repeat: no-repeat;
  position: absolute;
}
  
  .view-expertentipps .bubble {
  position: relative;
}

  
  }

@media (max-width:640px) {
  
    .view-expertentipps .bg:before{
     top: 242px;
      width: 100px;
      line-height: 120%;
}
  
    .view-expertentipps .fc {
  padding:0px 15px 0px 15px;
      line-height: 120%;
      font-size: 20px;
  }
  
  .view-expertentipps .views-row:before {
  font-size: 18px;
}

.view-expertentipps .views-row::after {                       
  font-size: 18px;
}
  
  .node--type-expertentipp .field--name-field-tipp {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 30px;
  }

}


@media (max-width:480px) {
  
  .view-expertentipps .bubble {
  height: 250px; 
  margin-bottom: -100px}

.view-expertentipps .view-content {
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin: auto;
  overflow: hidden;
}

  
  .bubble.gold, .bubble.black, .bubble.white{
  background-color: transparent !important;
}
  
  
  .view-expertentipps .fc {
  text-align: center;
  min-height: 120px;
  padding:0px 48px 0px 48px;
  font-size: 21px;
  font-family: "Nexa Bold";
  line-height: 140%;
  position: absolute;
  top: 50px;
  z-index: 10;
}
  
  .view-expertentipps .bg:before{
  top: 222px;
  width: 170px;
}
  
  
  }


