/*Typo*/
body, p, span, li, a{
  font-size: 23px;
  line-height: 35px;
  font-weight: 400;
  color: #000000;
  font-family: "PT Sans", Helvetica, sans-serif;
}
h2, .home h2{   
  	margin-top:0;
    font-size: 60px;
    line-height: 65px;
    font-weight: 600;
    color: #0068B4;
    font-family: Calibri;
}
h3{
    margin-top:0;
    font-family: "Calibri";
    color: #0068B4;
    font-size: 35px;
    line-height: 50px;
    font-weight: 600;
}
h5{
    margin-top:0;
  	font-size: 15px;
    line-height: 21px;
    font-weight: 400;
    color: #000000;
    font-family: Calibri;
}

/*Header*/
header{
  #multinav{
    display: none;
  }
  #topbox{
    padding-top: 32px;
    padding-bottom: 30px;
    #searchform{
      display: none;
    }
  }
  #topnav{
    background-color: #2B68B4;
    &>ul>li{
      &>a{
        padding: 18px 43px;
        text-transform: none;
        font-size: 25px;
        font-family: Calibri;
        font-weight: 600;
        line-height: 36px;
      }
      .dropdown{
        padding-top:30px;
        a{
          font-family:"Calibri";
          font-size: 18px;
          color: #2B68B4;        
          font-weight: 600;
          line-height: 22px;
          padding: 12px 0;
        }
        li.act{
          &>a{
            color:#A61280;
          }
        }
      }
    }
  }
}
#headerimg .tx-ff-owl-slider{
.item.layout-2{
 img{
object-position:top;
}
  .caption-wrapper{
    .slider-caption{
      left:auto;
      right:-150px;
      padding: 70px 187px 54px 91px;
      background-color: #2B68B4;
      max-width: 692px;
      h3,p{
        color: white;
      }
      h3{
        font-size: 65px;
        line-height: 80px;
        margin: 0;
      }
      p{
         font-size: 25px;
        line-height: 32px;
        margin-bottom: 41px;
        margin-top: 32px;
      }
      .link-more {
        background-color: white;
        color: #2B68B4;
        border-radius: 50px;
        margin: 0;
        text-transform: none;
          &::before{
            content:"->";
            width: 19px;
            height: 17px;
            color: #2B68B4;
        }
      }
    }
  }
  }}
#owlslider:has(.item.layout-2) .owl-next{
  right:210px;
  opacity: 1;
}


/*Buttons*/
.btn-arrow-left{
    font-family: "Calibri";
    font-size: 25px;
    font-weight: 600;
    line-height: 32px;
    color: #0068B4;
    border-radius: 50px;
    background: white;
    border: 1px solid #2B68B4;
    padding: 14px 24px;
  	transition:all .4s ease-in-out;
  	min-width: 270px;
    display: inline-block;
  &::before{
	content: "";
    width: 18px;
    height: 17px;
    background-image: url(/fileadmin/medien1/bilder/Icons/pfeil_rechts.svg);
    background-size: auto 100%;
    margin-right: 7px;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: bottom;
     transition:all .4s ease-in-out;
  } 
  &:hover{
    background: #2B68B4;
    color: white;
    &::before{
      filter: brightness(0) invert(1);
    }
  }
}
.text-frame{
  &>p:has(>a.btn-arrow-left){
    margin: 0;
    &+p{margin-top:55px;}
  }
}
.link-download{
    &::before{
      content: "";
      width: 28px;
      height: 23px;
      background-image: url(/fileadmin/medien1/bilder/Icons/pfeil_download.svg);
      background-size: auto 100%;
      margin-right: 25px;
      display: inline-block;
      background-repeat: no-repeat;
      background-position: bottom;
       transition:all .4s ease-in-out;
    }
}
/*Breadcrumbs*/
main>#content{
  padding-top:134px;
}
#breadcrumb {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#breadcrumb span {
      font-size: 20px;
    font-weight: 400;
    line-height: 32px;
    color: #2B2B2B;
	display: none;
  &.breadcrumbs-home, &.breadcrumbs-separator, &.cur{
    display: inline-block;
       font-size: 20px;
    font-weight: 400;
    line-height: 32px;
    color: #2B2B2B;	
  }
  a{
       font-size: 20px;
    font-weight: 400;
    line-height: 32px;
    color: #2B2B2B;	
  }
}

#breadcrumb a,
#breadcrumb .cur { 
       font-size: 20px;
    font-weight: 400;
    line-height: 32px;
    color: #2B2B2B;	  
}
#breadcrumb .cur{
  margin-left: 10px;
}
#breadcrumb a{
  transition: all 0.3s ease;
  &:hover{
    text-decoration: underline;
  }
}

/*SM-Icons*/
.shariff-col-2{
  display: none !important;
}

/*Unterseite - Kopfbild ausschalten*/
#headerimg:not(:has(img)){
  display:none !important;
}
/*Unterseiten Angebote*/
.col-1 > .col > .frame-default, .col-1 > .col > .section-inner {    
  	margin: 0 auto !important;
    padding: 40px 16% 60px 30px !important;
}
.col-1 > .col .frame-default{
  &>.text-frame{
    &>h3{
      margin-bottom: 5px;
    }
  }
  &:has(>.text-frame>h3){
    margin-bottom:0;
  }
}
#content .cols-3-inner .col {
    width: 29%;
    margin-right: 6%;
  &:last-child{
    margin-right:0;
  }
}
#content .frame-wrap-inside > .section-inner.cols-3-inner{
   margin: 0 !important;
   padding: 32px 0 0;
}
.cols-3-inner .ce-above .ce-gallery {    
    margin-bottom: 0px;
}

/*Akkordeon*/
.custom-accordion {
  font-family: "Calibri";
}

.custom-accordion .accordion-item {
  margin-bottom: 23px;
}

.custom-accordion .accordion-header {
  width: 100%;
  border: 0;
  background: rgba(43, 104, 180, 0.21);
  padding: 15px 37px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.custom-accordion .accordion-header:hover {
  background: #c7d2df;
}

.custom-accordion .accordion-header:active {
  transform: scale(0.995);
}

.custom-accordion .accordion-title {
  font-size: 25px;
    line-height: 36px;
    font-weight: 600;
    color: #0068B4;
    opacity: 1;
    font-family: Calibri;
}

.custom-accordion .accordion-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  background-image: url('/fileadmin/medien1/bilder/Icons/plus.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition:
    transform 0.35s ease,
    opacity 0.25s ease,
    filter 0.25s ease,
    background-image 0s linear 0.15s;
}

.custom-accordion .accordion-header:hover .accordion-icon {
  transform: scale(1.08);
  filter: brightness(1.08);
}

.custom-accordion .accordion-item.is-animating .accordion-icon {
  transform: rotate(90deg) scale(0.82);
  opacity: 0.65;
}

.custom-accordion .accordion-item.is-open .accordion-icon {
  background-image: url('/fileadmin/medien1/bilder/Icons/minus.svg');
}

.custom-accordion .accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
  background: rgba(43, 104, 180, 0.07);
}

.custom-accordion .accordion-item.is-open .accordion-content {
  grid-template-rows: 1fr;
}

.custom-accordion .accordion-content-inner {
  overflow: hidden;
  font-size: 25px;
    line-height: 36px;
    font-family: Calibri;
    font-weight: 400;
    color: #000000;
    padding: 0 37px;
  transition: padding 0.35s ease;
}

.custom-accordion .accordion-item.is-open .accordion-content-inner {
  padding: 28px 37px;
}

/*Sections*/
.frame:has(>.section-footer-menu-1),.frame:has(>.section-kontakt-1),.frame:has(>.section-full-bg-lila){
    margin:0 !important;
    padding:0 !important;
    width: 0 !important;
     height: 0 !important;
    flex: 0 !important;
}
.col-1 > .col > .section-inner, .home > .col > .section-inner {
  &.morebk {   
      margin-top: 0px !important;
      margin-bottom: 0px !important;
	}
  &:has(.section-footer-menu-1){  
        gap: 40px;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 80px 30px !important;
    
    &::before{
    	background:rgba(0, 104, 180, 0.2);  
      position: absolute;
      top:0;
      left:-25%;
      content:"";
      width: 150%;
      height: 100%;
      z-index:0;
    }
    
    &>.frame{
      margin-right: 0;
      width: 25%;
      margin-bottom: 0;
      flex: 1;
      z-index:2;
      
      h3{
        padding: 0;
        font-size: 30px;
        font-weight: 600;
        line-height: 32px;
        margin-bottom: 29px;
        background: none;
        color: #000;
        font-family: "PT Sans";
      }
      p{
        margin:0;
      }
      a{
            color: #2B2B2B;
            font-size: 20px;
            line-height: 32px;
            font-weight: 400;
            text-transform: none;
            background: none;
            margin: 0;
            padding: 0;
            margin-bottom: 0px;
        font-family: "PT Sans";
        
        &::after{
          display:none;
        }
      }
    }
    
  }
  &:has(.section-full-bg-lila){
	 padding: 80px 30px !important;
     position:relative;
    display:flex;
    align-items:center;
    
    &::before{
   	  background:#A61280;  
      position: absolute;
      top:0;
      left:-25%;
      content:"";
      width: 150%;
      height: 100%;
      z-index:-1;
    }
    &>.frame:has(.text-frame){      
    width:100%;
      
      h2{
          padding: 0;
          font-size: 65px;
          font-weight: 400;
          line-height: 80px;
          margin-bottom: 12px;
          background: none;
          color: #fff;
          font-family: "PT Sans";
        strong{
          font-weight:600px;
        }
      }
      p{
          color: #fff;
      }
    }
  }
}
.cols-2-inner.full-2{
  margin-bottom: 0px !important;
  
	&:has(.section-full-bg-blue){
		&>div{
			background-color: #0068B4;

			h3{
				font-size: 45px;
				line-height: 50px;
				font-weight: 400;
				margin-bottom: 12px;
				color: #fff;
			}
			p{
				color: #fff;
				font-size: 30px;
				line-height: 39px;
				font-family: 'PT Sans';
			}
		}
	}
	&:has(.section-full-bg-lightblue){
		&>div{
			background-color: rgba(0, 104, 180, 0.1);

			h2{
				font-size: 55px;
				line-height: 65px;
				font-weight: 400;
				margin-bottom: 12px;
				color: #0068B4;
			}
			p{
				color: #000;
				font-size: 23px;
				line-height: 35px;
				font-family: 'PT Sans';
			}
			&:first-child{

				&>.frame{
					max-width: unset;
					padding: 0 30px 0 16%;
				}
			}
		}
	}
	&:has(.section-full-bg-lightlila){
		&>div{
			background-color: rgba(166, 18, 128, 0.1);
			width: 50%;

			&:last-child{

				&>.frame{
					max-width: unset;
				}
			}

			h2{
				font-size: 59px;
				line-height: 59px;
				font-weight: 400;
				margin-bottom: 12px;
				color: #0068B4;
			}
			p{
				color: #000;
				font-size: 23px;
				line-height: 35px;
				font-family: 'PT Sans';
			}
		}
	}
}
.col-1 > .col .frame-default.frame-type-grid:has(.section-kontakt-1){
  position:relative;
   padding: 80px 30px !important;
   &::before{
    	background:#0068B4;  
      position: absolute;
      top:0;
      left:-25%;
      content:"";
      width: 150%;
      height: 100%;
      z-index:0;
    }
  &>.frame-wrap-inside{
    z-index:2;
    position:relative;
    h3{
      color:#fff;
    }
    p{
      color:#fff;
    }
  }
  .full-2{
    margin-bottom: 25px !important;
    .cols{
      background: transparent;
      
      &.cols-50-inner-left{
         .frame-type-text {
            position: static;      
            max-width: unset;
           padding: 0 100px 0 30%;        
            transform: translateY(0);

        }
      }
       &.cols-50-inner-right{
         .frame-type-text {
            position: static;      
            max-width: unset;
           padding: 0 20% 0 10px;        
            transform: translateY(0);
        }
      }
      p{
            font-size: 23px;
    font-weight: 400;
    font-family: 'PT Sans';
    line-height: 35px;
      }
    } 
  } 
}
/*Footer*/
footer{
  #contact{
    background-color:white;
    padding-bottom: 32px;
    h3{
      display:none;
    }
    .infotext{
      display: none;
    }
    #metanav{
      li{
        &>a{
          font-size: 23px;
          font-weight: 400;
          font-family: 'PT Sans';
          color: #000;
          line-height: 45px;
        }
      }
    }
    .custom-two-column-box{
      margin: auto;
      max-width: 1340px;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      padding-bottom: 145px;
      .custom-two-column-box-left{
        padding-left: 25%;
      }
      .custom-two-column-box-right{
        p{
          margin:0;
        }
      }
    }
  }
}
/*Table*/
.frame-wrap-inside table.ce-table{
  margin-top: 32px;
  tr{
    &>td{
      font-weight: 400;
      line-height: 57px;
      color: #000;
      padding-left: 30px;
      padding-top: 0;
      padding-bottom: 0;
      font-size: 25px;
      font-family: 'Calibri';
      &:first-child{         
          font-weight: 600;          
      }
      }
  }
}
/*Flybar*/
.custom-spenden-flybar{
  position: fixed;
    top: 35%;
    right: 0;
    background: #A61280;
    padding: 26px 35px 26px 42px;
    border-radius: 50px 0 0 50px;
    color: white;
    font-size: 40px;
    font-weight: 600;
    font-family: 'PT Sans';
    line-height: 52px;
}

/*Custom Menü mit Subpages */
#content> .col > div:has(.page-submenu-box){
  position: relative;
  padding: 40px 25% 60px 30px !important;
  .page-submenu-box{
    position:absolute;
    top: 10%;
    right: 0;
    
            .page-submenu-title{
               margin-bottom: 18px !important;
              a{
                	font-size: 24px;
                    line-height: 32px;
                    font-weight: 600;
                    color: #2B68B4;                 
              }
               &.current-subpage{
                 a{
                   	 color: #A61280;
                   	 text-decoration: underline;
                  }
               }
            
               &::before{
                 content: "";
                 width: 18px;
                 height: 17px;
                 background-image: url(/fileadmin/medien1/bilder/Icons/pfeil_rechts.svg);
                 background-size: auto 100%;
                 margin-right: 7px;
                 display: inline-block;
                 background-repeat: no-repeat;
                 background-position: bottom;
                 transition:all .4s ease-in-out;
              }
            }
            ul.page-submenu{
                    list-style: none;
  					padding-left: 0;
                    
                      &>li{
                        margin-bottom: 18px !important;
                          &>a{
                              font-size: 24px;
                              line-height: 32px;
                              font-weight: 600;
                              color: #2B68B4;
                            i{
                              display:none !important;
                            }
                          }
                          &.current-subpage{
                              &>a{
                                color: #A61280;
                                 text-decoration: underline;                          
                              }
                          }

                          &::before{
                            content: "";
                              width: 18px;
                            height: 17px;
                            background-image: url(/fileadmin/medien1/bilder/Icons/pfeil_rechts.svg);
                            background-size: auto 100%;
                            margin-right: 7px;
                            display: inline-block;
                            background-repeat: no-repeat;
                            background-position: bottom;
                             transition:all .4s ease-in-out;
                          }
                        &>ul{
                         
                        }
                      }
                          
                }
            
    }
  }

/*Startseite*/
.home{
  .btn-arrow-left{
    margin-top: 25px;
    margin-left: 25px;
    margin-bottom: 35px;
  }
}
.home>.col > .frame-default{
    margin: 0 auto !important;
    padding-top: 40px !important;
	padding-bottom: 60px !important;  
}
#content.home{
	padding-top: 0;
  #socialbar{
    display: none;
  }
  &>.col{
    padding-bottom:0;
  }
}
/**/
.owl-theme .owl-controls{
	margin-top: 0;
}
/**/
.news-list-container{
	.news-list-item{
		&:first-child{
			background-color: rgba(248, 166, 0, 0.14);
		}
		.news-list-text{
          display:flex; 
          flex-direction: column;
          
			.news-list-date{
				font-size: 16px;
				font-family: 'PT Sans';
				font-weight: 400;
				line-height: 35px;
				color: #000;
			}
			h3{
				font-size: 24px;
				font-family: 'PT Sans';
				font-weight: 600;
				line-height: 35px;
				color: #000;
			}
			.subheader{
				p{
					font-size: 18px;
					font-family: 'PT Sans';
					font-weight: 600;
					line-height: 32px;
					color: #000;
				}
			}
			.bodytext{
				font-size: 20px;
				font-family: 'PT Sans';
				font-weight: 400;
				line-height: 30px;
				color: #000;
			}
			.news-list-morelink{
				margin-top: auto;

				a{
					font-size: 21px;
					font-family: 'PT Sans';
					font-weight: 600;
					line-height: 35px;
					color: rgba(0, 0, 0, 0.45);;
				}
			}
		}
		.news-list-image{
			a{
				height: 290px;
				width: 175px;
				display: inline-block;

				img{
				object-fit: cover;
				object-position: center;
				width: 100%;
				height: 100%;
				}
			}
		}
	}
}
/**/
#content>.col>.frame>.text-frame>p:has(>.btn-arrow-left){
	display: flex;
	justify-content: center;

	>a{
		margin: 0;
      margin-bottom: 100px;
      margin-top:-60px;
	}
}