/* 
    DA-NRW Portal CSS
    Nutzung auf die Portalseite beschränkt
*/

/*
    Allgemeine
*/
.bottom-space-150 {
    margin-bottom:150px!important;
}

.bottom-space-50 {
    margin-bottom:50px!important;
}

.bottom-space-100 {
    margin-bottom:100px!important;
}

/* Akkordeon Element */

.danrw-accordion {
  display: flex;
  flex-flow: column;
  padding-left:0;
  padding-right:0;
}


.danrw-accordion-content ul {
    padding-left:45px;
    padding-right:25px;
 padding-top: 10px;
}

.danrw-accordion-content p{
      padding-left: 30px;
    padding-top: 10px;
}


.danrw-accordion-content ul li {
    list-style-type:none;
}

.danrw-accordion-content li {
    padding-bottom: 10px;
}


.danrw-accordion-content ul li:before {
    content: "";
    height: 10px;
    width: 10px;
    background: #1094D4;
    display: inline-block;
    margin-right: 10px;
    position:relative;    
}

.danrw-accordion-head:hover {
  background: #ddd;
}

.danrw-accordion-headline {
  font-size: 26px;
  font-weight: bolder;
  margin-bottom: 10px;
}


.danrw-accordion-head {
  display:flex;  
  justify-content:space-between;  
  font-size: 20px;
  font-weight: bold;
  padding-top: 10px;
  padding-bottom: 10px;
  cursor: pointer;
  width:100%;
  padding-left:10px;
}

.danrw-accordion-bullet {
    margin-left: 20px;
    position: relative;
}


.danrw-accordion-bullet:before {
  content: "";
  height: 20px;
  width: 20px;
  background: #1094D4;
  display: inline-block;
  margin-right: 15px;
  position:absolute;
  top:3px;
  left:-30px;
}

.danrw-accordion-chevron {
    position:relative;
    right:35px;
    transition:all 0.3s ease-out;
    -moz-transition:all 0.3s ease-out;
    -webkit-transition:all 0.3s ease-out;
    align-self: baseline;
}

.danrw-accordion-content {
  font-size: 100%;
  height: 0;
  transform-origin:left top;
  transform:scaleY(0);
  overflow:hidden;
  transition:all 0.3s ease-out;
  -moz-transition:all 0.3s ease-out;
  -webkit-transition:all 0.3s ease-out;
}

.danrw-accordion-item {
  border-top: 2px solid #1094D4;
  border-bottom: 2px solid #1094D4;
  margin-bottom: 20px;
}

.danrw-accordion-item.open .danrw-accordion-content { 
    transform:scaleY(1); 
    height:100%;     
}

.danrw-accordion-item.open > .danrw-accordion-head .danrw-accordion-chevron {
    transform:rotate(-180deg);
    -webkit-transform:rotate(-180deg);
    -moz-transform:rotate(-180deg);
}

/* Suchfeld */

.danrw-search-container {
    width:100%;
    display:flex;
    flex-direction: column;
    justify-content:space-between;
}

#danrw-search-redirect {
    width:100%;
}

.danrw-searchfield {
    background:'#ddd';
    width:100%;  
    display:flex;
    flex-direction:row;
    position:relative;  
}

#danrw-search-input {
    width:100%;
    height:60px;
    background:#ddd;
    border:0;
    padding: 10px;
    padding-left:30px;
    color:black;
    font-size:20px;
    font-weight:bold;
}

#danrw-search-input:focus {
    outline:0;
}

#danrw-search-mag {
    cursor:pointer;
    transition:all 0.2s ease-out;
    -moz-transition:all 0.2s ease-out;
    -webkit-transition:all 0.2s ease-out;  
    position:absolute;
    right:35px; 
    bottom:5px;
}

#danrw-search-mag:hover {
    transform:scale(1.1);
    -moz-transform:scale(1.1);
    -webkit-transform:scale(1.1);
}

.danrw-hidden {
    visibility:hidden;
}

.danrw-error-msg.danrw-hidden {
    height: 0px;
}

.danrw-error-msg {
    color:red;
    padding:15px;
    font-size:18px;
  height:auto;
}

/* Über uns Sektion */

.danrw-about-headline {
    font-size:26px;
    font-weight:bolder;
    margin-bottom:20px;
}

.danrw-about {
    display:flex;
    flex-direction:column;
    width:100%;    
}

.danrw-about-top {
    display:flex;
    flex-direction: row;
}

.danrw-about-bottom {  
    height:0;
    transform:scaleY(0);
    overflow:hidden;
    transform-origin: left top;
    transition: all 0.4s ease;
    -moz-transition:all 0.4s ease;
    -webkit-transition:all 0.4s ease;
    -o-transition: all 0.4s ease;
}

.danrw-about-bottom.open 
{ 
    margin-top:40px;    
    transform:scaleY(1); 
    height:100%; 
}

.danrw-about-txt {
    font-size:18px;
    margin-right:10px;
}

.danrw-about-left {
    width:39%;
    margin-right:15px;
}

.danrw-about-right {
    width:59%;
}

.danrw-about-img {
    width:100%;
    height:100%;
    min-height:330px;
}

.danrw-about-img img {    
    width:100%;
    height:100%;
    object-fit:cover;
}

.danrw-about-more,
.danrw-about-less {
    text-transform:uppercase;
    display:flex;
    margin-bottom:15px;
    font-size:16px;
    font-weight:bold;
    color:#1094D4;
    cursor:pointer;
}

.danrw-about-more:hover {
    color:black;
}


/* Highlights */

.danrw-hl-field-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 130px;
}

.danrw-highlights {
    display:flex;
    justify-content:space-between;
}

.danrw-hl {
    width:32%;
    display:flex;
    flex-direction:column;
    border-bottom:1px solid #1094D4;
}

.danrw-hl-txt {
    font-size:18px;
    height:auto;
    overflow:hidden;
    color:black;
}

.danrw-hl-ins {
    font-style:italic;   
    margin-bottom:15px; 
}

.danrw-hl-img {
    width:100%;
    height:400px;
    margin-bottom:15px;
    overflow:hidden;
    position:relative;
    cursor:pointer;
}

.danrw-hl-img img {
    height:100%;
    width:100%;
    object-fit:cover;
    transition:all 0.2s ease-out;
    -moz-transition:all 0.2s ease-out;
    -webkit-transition:all 0.2 ease-out;
}


.danrw-link-overlay {
    position:absolute;
    height: 100%;
    width: 100%;
    background:rgba(0,0,0,0.3);
    z-index:100;
    top:0;
    left:0;
    opacity:0;
    transition:all 0.2s ease-out;
    -moz-transition:all 0.2s ease-out;
    -webkit-transition:all 0.2 ease-out;
}

.danrw-hl-headline {
    font-size:26px;
    font-weight:bold;
    color: #1094D4;
    width:100%;
    margin:auto;
    text-align:center;
    margin-bottom:30px;
}

.danrw-hl-link {
    text-transform:uppercase;
    display:flex;
    margin-bottom:15px;
    font-size:16px;
    font-weight:bold;
}


.danrw-hl-link a {
    color:#1094D4
}

.danrw-hl-link a:hover,
.danrw-hl-link a:hover .danrw-link-arrow svg path{
    stroke:#000;
    color:#000;
}

.danrw-hl-link a,
.danrw-hl-link a:hover {
    text-decoration:none;
}

.danrw-link-arrow {
    margin-left:15px;
    display:inline-block;
}

.danrw-link-arrow svg {
    display:inline-block;
    vertical-align:revert;    
}

.danrw-hl-img:hover img {
    transform:scale(1.2);
    -moz-transform:scale(1.2);
    -webkit-transform:scale(1.2);
    cursor:pointer; 
}

.danrw-hl-img:hover .danrw-link-overlay {
    opacity:1;
}

/* object position classes */
.obj-pos-h-default, 
.obj-pos-v-default {
    object-position: center center;
}

.obj-pos-h-1 {
    object-position:20% center;
}


.obj-pos-h-2 {
    object-position:40% center;
}

.obj-pos-h-3 {
    object-position:60% center;
}

.obj-pos-h-4 {
    object-position:80% center;
}

.obj-pos-h-5 {
    object-position:100% center;
}

.obj-pos-v-1 {
    object-position:center 20%;
}

.obj-pos-v-2 {
    object-position:center 40%;
}

.obj-pos-v-3 {
    object-position:center 60%;
}

.obj-pos-v-4 {
    object-position:center 80%;
}

.obj-pos-v-5 {
    object-position:center 100%;
}









@media (max-width:1200px) {
    .danrw-hl-img {
        width:auto;
    }
  
  .bottom-space-50 {
    margin-bottom: 30px!important;
}
  
  
  .danrw-accordion {
    width: 100%;
}
  
} 




@media (max-width:900px) {
    .danrw-highlights {
        flex-direction: column;
        justify-content:center;
    }

    .danrw-hl {
        width:100%;
          margin-bottom: 40px;
    }
  
  
  .danrw-hl-field-wrapper {
    height: auto;
}
  
  .bottom-space-150 {
    margin-bottom:20px!important;
}
  
  
  .danrw-accordion-chevron {
    position: relative;
    right: 0px;
  
  }
  
 .danrw-about-left,
 .danrw-about-right {
    width: 100%;
    margin-right: 15px;
} 
  
 .danrw-about {
    flex-direction: column;
    width: 100%;
} 
  
 .danrw-about-top {
    flex-direction: column;
} 
  
  
 .danrw-about-img {
    min-height: unset;
} 
 
 #pixeltrenner .hg {
    margin-top: 50px; 
  }
  
  
}













