


@media (max-width: 1600px) { 
  
  .gf .layout .text-formatted {
    transform: scale(0.85);
    transform-origin: right bottom;
    padding-bottom: 0px;
  }
  
  .gf .paragraph--type--body {
  bottom: -80px;
  }
}


@media (max-width: 1280px) { 

  .gf .layout .text-formatted {
    transform: scale(0.85);
    transform-origin: right bottom;
    left: 15px !important;
    right: auto;
  }
  
  .gf .paragraph--type--body {
  bottom: -70px;
  }
}


@media (max-width: 1140px) { 
  
  .gf .layout__region--first .text-formatted {
    transform: scale(0.60);
    transform-origin: left bottom;
    bottom: -90px !important;
    left: 15px !important;
    right: auto;
  }
  
  .gf .layout__region--second .text-formatted {
    transform: scale(0.60);
    transform-origin: right bottom;
    bottom: -90px !important;
    right: 15px !important;
    left: auto;
  }
    
    .path-frontpage .navbar-collapse a.nav-link {
      width: 90px;
      height: 90px
    }
  
  .node--type-news.node--view-mode-full {
    padding-left: 25px;
    padding-right: 25px;
  }

  .front h3 {
     font-size: 16px !important;
  }

  .back p{
    font-size: 14px !important;
  }
}

@media (max-width: 990px) { 
 
  
  
  .path-frontpage #height {
    position: relative;
    height: calc(100vh - 115px);
  }
  
  .path-frontpage #height img {
    height: calc(50vh - 15px);
    object-fit: cover;
    object-position: center;
    margin-top: -15px;

  }
  
  .path-frontpage #height .field--name-body {
    position: absolute;
    bottom: 0px;
    background: #fff;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
  

  
.path-frontpage #height .text-formatted {
  padding-left: 25px !important;
  padding-right:25px !important;
}
  

  
  .is-sticky #CollapsingNavbar {
    height: auto;
  }
  
  #block-icons img {
    left: 25px;
    width: 75px;
    position: absolute;
    bottom: 12px;
  }
  
  #block-icons {
    position: absolute;
    left: 0px;
    right: 0px;
    z-index: 9999;
    height: 115px;
    bottom: 0px;
  }
  
  #block-icons ul {
    list-style: none;
  }
  
  #block-icons ul a {
    text-indent: -9999px;
    width: 48px;
    height: 48px;
    text-decoration: none;
    color: #000;
    font-size: 0px;
  }
  
  #block-icons a.home:before {
    content: "\f015";
    font-family:"Font Awesome 5 Free";
    font-style:normal;
    font-weight:900;
    font-size: 21px;
    float: left;
    text-indent: 0px;
    position: absolute;
    right: 172px;
    bottom: 40px;
  }
  
    #block-icons a.tel:before {
    content: "\f879";
    font-family:"Font Awesome 5 Free";
    font-style:normal;
    font-weight:900;
    font-size: 20px;
    float: left;
    text-indent: 0px;
    margin-top: -1px;
    position: absolute;
    right: 90px;
    bottom: 40px;
  }
  
      #block-icons a.mail:before {
    content: "\f0e0";
    font-family:"Font Awesome 5 Free";
    font-style:normal;
    font-weight:900;
    font-size: 21px;
    float: left;
    text-indent: 0px;
    position: absolute;
    right: 130px;
    bottom: 40px;
  }
  
  .navbar-toggler-icon {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="rgb(192,47,109)"><rect y="0" width="100%" height="15%" rx="5%" ry="5%" /><rect y="40%" width="100%" height="15%" rx="5%" ry="5%" /><rect y="80%" width="100%" height="15%" rx="5%" ry="5%" /></svg>') center / 100% 80% no-repeat;
  }
  
  .navbar-toggler {
    border: 0px;
    position: absolute;
    right: 25px !important;
  }
  
  .navbar-toggler:focus {
  text-decoration: none;
  outline: 0;
  box-shadow: none;
    border: none;
}
  #CollapsingNavbar-sticky-wrapper {
    height: 115px !important;
  }
  
  #navbar-main {
    height: 115px;
    position: fixed;
  }
  
  .navbar-nav {
  position: fixed;
  top: 0px;
  right: 0px;
  left: 0px;
  bottom: 0px;

}
  
  
  .scrolled #navbar-main {
    box-shadow: 2px -4px 5px 2px #000;
  }
  
  #navbar-main .navbar-toggler {
    position: absolute;
    bottom: 36px;
    right: 10px;
    z-index: 9999;
  }
  
  .navbar .nav-item:nth-child(4){
    display: none;
  }

  .navbar-collapse ul {
    margin-top: 110px;
    background: url(/sites/default/files/dww-wolfrudel-mobile-menue.jpg);
    background-size: cover;
    background-position: center;
    height: calc(100vh - 110px);
    padding-top: 10%;
    padding-bottom:25%;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: flex-start;
  }

.navbar-collapse a.nav-link {

  font-size: 12px;
  text-align: center;
  border: 2px solid #b80357;
  width: 75px !important;
  height: 75px !important;
  letter-spacing: 0.07em !important;
}
  
  .path-frontpage .is-sticky .navbar-collapse a.nav-link {
    width: 75px !important;
    height: 75px !important;
  }
  

  .navbar-collapse a.nav-link, .navbar-collapse a.nav-link {
    padding-bottom: 5px !important;
  }
  
.page-node-32 .nav-link--wen, 
.node--type-team .nav-link--wer, 
.node--type-news .nav-link--wann,
.node--type-team [class*=" nav-link--wer-"] {
  border-color: #000 !important;
  }
  

  
  .path-frontpage #main .field--name-body {
    padding-top: 25px;
  }

  .path-frontpage h1 {
    font-size: 24px !important;
    margin-bottom: 20px;
  }
  
  #main{
    margin-top: 115px !important;
  }


  .site-footer .text-formatted {
    padding: 0px !important;
  }
        
        .gf .layout__region--first {
          flex: 0 1 100%;
        }
        
           .gf .layout__region--second {
          flex: 0 1 100%;
          margin-top: -21px;
        }
        
  .gf .layout__region--first .text-formatted {
    transform: scale(0.9);
    transform-origin: left bottom;
    bottom: -120px !important;
    left: 15px !important;
    right: auto;
 } 
  
    .gf .layout__region--second .text-formatted {
    transform: scale(1);
    transform-origin: right bottom;
    bottom: -120px !important;
    right: 15px !important;
    left: auto;
  }
    

    
    
#was .layout__region{
  display: grid;
 grid-template-columns: 50% 50%;
  max-width: 1200px;
  margin: auto;
}
    
    
    
    .view-team .view-content  {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.view-team .view-content .views-row{
  flex: 0 0 calc(33% - 40px);
  padding: 20px;
  margin: 20px;
  margin-bottom: 60px;
}

    .view-news .view-content .views-row{
  flex: 0 0 calc(33% - 40px);
  padding: 20px;
  margin: 20px;
  margin-bottom: 20px;
}

        .view-referenzen .view-content .views-row{
  flex: 0 0 calc(33% - 40px);
  padding: 20px;
  margin: 20px;
  margin-bottom: 20px;
}
  

    .layout .text-formatted {
      padding-left: 50px;
      padding-right: 50px;
    }
  
  
  .node--type-team .layout__region--first {
flex: 0 1 60%;
padding-right: 0%;
text-align: center;
}
  
      .node--type-team .layout__region--second {
flex: 0 1 40%;
padding-right: 25px;
text-align: center;
}
  
  
  .view-team.view-display-id-block_2 .view-content .views-row {
flex: 0 0 calc(50% - 36px);
margin: 0px 18px;
  margin-bottom: 0px;
padding: 0px;
margin-bottom: 25px;
}
  
  .node--type-team .field--name-body p {
    padding-left: 0px;
    padding-right: 0px;
  }
  
  .node--type-news .layout__region--first {
    flex: 0 1 100%;
    order: 2;
  }
  
      .node--type-news .layout__region--second {
    flex: 0 1 100%;
    order: 1;
   text-align: center;
  }
  
  .node--type-news .layout__region--second img {
    max-width: 50%;
  }
  
  .node--type-news.node--view-mode-full {
    padding-left: 0px;
    padding-right: 0px;
  }
  
  .node--type-news .layout__region--bottom {
    order: 3;
  }
  
  .node--type-news .layout .text-formatted {
    padding-left: 25px;
    padding-right: 25px;
  }
  
  .node .field--type-image {
    float: none;
  }

}
    

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

  .cardBox {
      margin-left:0;
      margin-top: 0;
      width: 100%;
  }
  .card {
      height: 285px;
  }
  .cardBox:last-child {
      margin-bottom: 0;
  }
  
  
  .node--view-mode-headline {
    height: auto;
    padding: 25px;
  }
}


   
@media (max-width: 640px) { 

  
  .view-team .view-content .views-row{
    flex: 0 0 calc(50% - 40px);
    padding: 20px;
    margin: 20px;
    margin-bottom: 60px;
  }
 
  .view-team #team .portrait02 img:hover,
  .view-team #team .portrait02 img a,
    .view-team #team .portrait02 img{
      z-index: 99;
      position: relative;
      opacity: 0;
  }
  
  .view-team #team .portrait02:hover:after {
    display: none;
  }
  
  .view-team #team .portrait01:after {
  content: ">";
  font-size: 30px;
  border: 2px solid;
  border-radius: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 10px;
  left: 0px;
  right: 0px;
  position: absolute;
  height: 30px;
  width: 30px;
  margin: auto;
  padding-top: 3px;
  padding-left: 2px;
  pointer-events: none;
  transform: scale(0.75);
  background: rgba(255,255,255,0.85);
}
  
  .view-display-id-block_2 #team .portrait01:after {
    bottom: 3px;
    transform: scale(0.45) !important;
    transform-origin: bottom;
  }
  
 
.view-team .portrait02 .title {
  white-space: nowrap;
  }
  
  .view-team #team .portrait02 {
    opacity: 1;
    
  }
  
  .view-team #team .portrait02:hover::after {
  bottom: 3px; 
}
  
      .view-news .view-content .views-row{
    flex: 0 0 calc(50% - 40px);
    padding: 20px;
    margin: 20px;
    margin-bottom: 40px;
  }
  
          .view-referenzen .view-content .views-row{
    flex: 0 0 calc(50% - 40px);
    padding: 20px;
    margin: 20px;
    margin-bottom: 20px;
  }
      
     .site-footer td {
       width: 100%;
       float: left;
       text-align: center;
       padding-top: 0px;
       padding-bottom: 0px;
     }
     
     .site-footer {
       padding-bottom: 20px;
     }
     
     
     .kontakt p {
    font-size: 20px;
    line-height: 140%;
  }
      
     #was .layout__region {
    display: grid;
    grid-template-columns: 100%;
    max-width: 100%;
    margin: auto;
  }
     
     .card {
    height: 340px 

  }
  

  
  #was .paragraph--type--flipcard:nth-child(n+5) .front img {
  object-fit: cover !important;
  object-position: bottom !important;;
  width: 100% !important;
  height: 340px !important;
}
 
 
     .node--type-team .layout__region--first {
flex: 0 1 84%;
padding-right: 0%;
text-align: center;
}
  
      .node--type-team .layout__region--second {
flex: 0 1 16%;
padding-right: 25px;
text-align: center;
}
  
  
  .view-team.view-display-id-block_2 .view-content .views-row {
flex: 0 0 calc(100% - 0px);
margin: 0px 18px;
  margin-bottom: 0px;
padding: 0px;
margin-bottom: 12px;
}
  
  .node--type-team .field--name-body p {
    padding-left: 0px;
    padding-right: 0px;
  }
 
     .node--type-news .layout__region--second img {
    max-width: 75%;
  }
 
 #block-headline h1 {
   font-size: 24px;
 }
      
      }
    

@media screen and (max-width: 480px) {
  .cardBox {
      width: 100%;
  }
  .card {
      height: 260px;
  }
  
      .node--type-news .layout__region--second img {
    max-width: 90%;
  }
  
  .gf .paragraph--type--body .field--name-field-body {
    transform: scale(0.75);
    margin-right: 25px;
  }
  
  #height .desktop {
    display: none;
  }
  
   #height .mobil {
    display: block;
  }

    .view-referenzen.view-display-id-total .view-content .views-field-nothing ,
    .view-referenzen.view-display-id-selection .view-content .views-field-nothing p  {
      hyphens: auto;
      -webkit-hyphens: auto;
    }
  
  .path-frontpage #height .field--name-body {
  position: absolute;
  bottom: 0px;
  background: #fff;
  hyphens: none;
  -webkit-hyphens: none;
}
  
  .path-frontpage h1 {
  font-size: 21px !important;
  margin-bottom: 20px;
}
  
}




@media (max-width: 420px) { 

  .view-referenzen.view-display-id-selection .view-content .views-field-nothing p {
    line-height: 120%;
    hyphens: auto;
    -webkit-hyphens: auto;
    padding-bottom: 25px;
  }
  
  .view-news.view-id-news .view-content .views-field-title a {
    line-height: 115%;
    padding-bottom: 25px;
    font-size: 15px;
  }
  
  
  .view-referenzen.view-display-id-total,
  .view-referenzen.view-display-id-selection,
  .view-news{
    margin-left: 0px;
    margin-right: 0px; 
  }
  
       .kontakt p {
    font-size: 18px;
    line-height: 140%;
  }
    
    .kontakt p:last-child {
      margin-bottom: 0px;
    }

       .node--type-team .layout__region--first {
flex: 0 1 79%;
padding-right: 0%;
text-align: center;
}
  
      .node--type-team .layout__region--second {
flex: 0 1 21%;
padding-right: 0px;
text-align: center;
}

.node--type-team .view-team.view-display-id-block_2 .view-content .views-row{
  padding-left: 0px !important;
}
  
  .view-team .portrait02 .title {
  white-space: nowrap;
    font-size: 15px;
  }
  
  .view-team .portrait02 .position {
    font-size: 12px;
  }
  
  .view-team.view-display-id-block_2 .view-content .views-row {
flex: 0 0 calc(100% - 0px);
margin: 0px 0px;
padding: 0px;
margin-bottom: 12px;
}
  
  .view-team.view-display-id-block_2 {
    padding-right: 25px;
  }
  
  
  .node--type-team .field--name-body p {
    padding-left: 0px;
    padding-right: 0px;
  }
 
.node--type-team .layout .text-formatted {
  padding-left: 25px;
  padding-right: 25px;
}
  }

@media (max-height: 680px) and (max-width:990px){ 
  
  .path-frontpage h1 {
  font-size: 20px !important;
  margin-bottom: 20px;
}
  
  .navbar-collapse ul {
	margin-top: 110px;
	height: calc(100vh - 110px);
	padding-top: 5%;
	padding-bottom: 0;
	display: block;
	justify-content: center;
	align-items: center;
	justify-content: flex-start;
}
  
  .navbar-collapse ul {
    padding-bottom: 0px;
  }

.nav-item {
  justify-content: center;
  margin-bottom: 15px;
}

.navbar-collapse a.nav-link {
    width: 65px !important;
    height: 65px !important;
    font-size: 14px !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
  }


  #block-icons ul a {
    width: 40px;
}
}

@media (max-height: 680px) and (max-width: 480px) { 
  
  .path-frontpage h1 {
  font-size: 18px !important;
    line-height: 120%;
  margin-bottom: 15px;
}

    .path-frontpage #height .field--name-body p {
    font-size: 15px;
      font-size: 0.82em;
      hyphens: none;
      -webkit-hyphens: none;
      line-height: 125%
  }
  
  .path-frontpage #height .field--name-body br {
    display: none;
  }
  
 p {
    font-size: 0.82em; !important;
  }
  
  
.view-team .portrait02 .title {
  position: relative;
  text-decoration: none;
  font-family: 'Nexa';
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  display: block;
  text-align: center;
  color: #000 !important;
  pointer-events: none;
  line-height: 120%;
  top: 0px;
  padding: 0px;
}
  
  a.down, .a.up {
    transform: scale(0.7) !important;
  }

}


@media (min-height: 0px) and (max-height: 568px) and (max-width: 990px) { 


 .path-frontpage #height {
    position: relative;
    height: calc(100vh - 115px);
  }
  
  .path-frontpage #height .field--name-field-media-image {
    height: calc(42vh);
    overflow: hidden;
  }
  
  .path-frontpage #height .field--name-field-media-image img {
    margin-top: -100px;
  }
  
  .path-frontpage #height .field--name-body {
    position: absolute;
    bottom: 0px;
    background: #fff;
    hyphens: auto;
    -webkit-hyphens: auto;
    height: calc(58vh);
  }
  
  #height h2 {
    position: absolute;
    bottom: 0px;
    height: calc(42vh - 115px)
  }}



@media (min-height: 569px) and (max-height: 667px) and (max-width: 990px) { 


 .path-frontpage #height {
    position: relative;
    height: calc(100vh - 115px);
  }
  
  .path-frontpage #height .field--name-field-media-image {
    height: calc(50vh);
    overflow: hidden;
  }
  
  
    .path-frontpage #height .field--name-field-media-image img {
    margin-top: -50px;

  }
  
  .path-frontpage #height .field--name-body {
    position: absolute;
    bottom: 0px;
    background: #fff;
    hyphens: auto;
    -webkit-hyphens: auto;
    height: calc(50vh);
  }
  
  #height h2 {
    position: absolute;
    bottom: 0px;
    height: calc(50vh - 115px)
  }}



@media (min-height: 668px) and (max-height: 812px) and (max-width: 990px) { 


 .path-frontpage #height {
    position: relative;
    height: calc(100vh - 115px);
  }
  
  .path-frontpage #height .field--name-field-media-image {
    height: calc(45vh);
    overflow: hidden;
  }
  
  .path-frontpage #height .field--name-field-media-image img {
    margin-top: -115px
  }
  
  .path-frontpage #height .field--name-body {
    position: absolute;
    bottom: 0px;
    background: #fff;
    hyphens: auto;
    -webkit-hyphens: auto;
    height: calc(55vh);
  }
  
  .path-frontpage #height .field--name-body br {
    display: none;
  }
  
  #height h2 {
    position: absolute;
    bottom: 0px;
    height: calc(45vh - 115px)
  }}



  @media (max-width: 990px) and (max-height: 715px)  { 

  .navbar-collapse a.nav-link {
    width: 65px !important;
    height: 65px !important;
    font-size: 14px !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
  }
    
    .path-frontpage .is-sticky .navbar-collapse a.nav-link {
          width: 65px !important;
    height: 65px !important;
    font-size: 14px !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
      padding-bottom: 5px !important;
    }
    
    .path-frontpage .navbar-nav .nav-item {
      padding-top: 0px;
  }
}


  @media (max-width: 990px) and (max-height: 640px)  { 

  .navbar-collapse a.nav-link {
    width: 52px !important;
    height: 52px !important;
    font-size: 12px !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    padding-bottom: 3px !important;
  }
    
    .path-frontpage .is-sticky .navbar-collapse a.nav-link {
          width: 52px !important;
    height: 52px !important;
    font-size: 12px !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
      padding-bottom: 3px !important;
    }
    
    .path-frontpage .navbar-nav .nav-item {
      padding-top: 0px;
  }
    
    .nav-item {
      margin-bottom: 12px;
    }
}

