.bg-gradient {
    background-image: linear-gradient(to right, #2d5386, #1e4c77, #124468, #093c5a, #05344b);
}

.dienstleistung {
    cursor: pointer;
}

.DienstElement .dienst-subtitle {
    color: #10325F !important;
}

.dienstleistung h5{
    text-decoration: none !important;
    position: relative;
    width: 100%;
    line-height: 1.1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.dienstleistung:hover h5{
    color: #10325f;
    border: 0;
}

.icon {
    width: 120px;
    height: 120px;
    line-height: 110px;
    border: 0.5px solid;
    color:#10325f;
    border-color: #eee;
    display: inline-block;
    cursor: pointer;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    display: inline-block;
}
.dienstleistung:hover .icon {
    color:#fff;
    background: #10325f !important;
    border-color: #10325f;

}
  .dienst.active .icon {
    color:#fff;
  border-color: #10325f;
    background: #10325f ;
}
.dienst.active .img-icon,
.dienstleistung:hover img {
    filter: brightness(0) invert(1);
}
.tran3s {
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;   
 }
 .dienst{
    display: block;
    width: 100%;
    font-size: 26px;
    font-weight: bold;
    text-decoration: none ;
     position: relative;
}
.dienst::before{
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #10325f;
    opacity: 0;
    -webkit-transform: translate(0, 6px);
    transform: translate(0, 6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    content: "";
}
.dienst:hover::before,
.dienst.active::before{
    opacity: 1;
    -webkit-transform: translate(0, 5px);
    transform: translate(0, 5px);
}
.service {
    border: 0.1px solid rgb(238, 238, 238, 0.5) ;
    background-color: #fbfbfb ;
    padding: 40px 0;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
.service:hover {
    cursor: pointer;
    box-shadow: 0px 0px 0px 0px #eee;

}
.img-dienst{
    width: auto !important;
    height: auto !important;
    border: 1px solid #eee;
    border-radius: 0px;
    padding: 8px;
    margin-top: 20px;
}
.border-bottom{
    margin-top: 0;
    color: #eee;
}

.service_unterpunkte p {
    margin-bottom: 0 !important;
}


@media (max-width: 991.98px) {
    .dienst-tabs .js_specspanel {
        overflow-x: auto;
        overflow-y: hidden;
        display: -webkit-box;
    }

    .dienstleistung h5{
        font-size: 18px;
        line-height: 24px !important;
    }
}

@media (max-width: 767.98px) {

    .icon {
        width: 70px;
        height: 70px;
        line-height: 60px;
    }
    .tran3s img  {
        width: 30px;
    }
    .border-bottom{
        margin-top: 24px;
    }

}

@media (max-width: 567.98px) {

    .dienstleistung h5 {
         font-size: 14px;
        line-height: 18px !important;
    }

    .border-bottom{
        margin-top: 10px;
    }

}
.expandableContentContainer{
    max-height:60rem;
    position:relative;
    transition:1s ease all;
    overflow:hidden
}
.expandableContentContainer.expanded{
    transition:1.2s ease all;

    max-height:4000px
}
.expandableContentContainer.expanded,
.expandableAction,
.expandableContentContainer.expanded,
.expandableAction *{
    color:#ccc!important;
    transition:transform .3s ease;
    display: none;
}
.expandableContentContainer .expandableAction svg{
    transition:transform .3s ease
}
.expandableContentContainer.expanded .expandableAction svg{
    transition:transform .3s ease;
    transform:rotate(-180deg);
    transform-origin:center center;
    display: none;
}
.expandableAction{
    position:absolute;
    bottom:0;
    left:0;
    padding:100px 0 0;
    text-align:center;
    width:100%;
    background:-moz-linear-gradient(top,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 60%,rgba(255,255,255,1) 100%);
    background:-webkit-linear-gradient(top,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 60%,rgba(255,255,255,1) 100%);
    background:linear-gradient(to bottom,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 60%,rgba(255,255,255,1) 100%);
    filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff',endColorstr='#ffffff',GradientType=0);
    cursor:pointer
}

@media(max-width:767.98px){
.expandableContentContainer.expanded{transition:2s ease all;max-height:6500px}}

.font_blue {
    color: #10325f!important;
}
.a_drin:hover{
    color: #74b0d4;
}
.mobile{
    display: none;
} 
.tab-dinst-neu .lSSlideOuter .lSPager.lSpg > li.active a, .tab-dinst-neu .lSSlideOuter .lSPager.lSpg > li:hover a {
    background-color: #0f2a53;
}
.tab-dinst-neu .lSSlideOuter .lSPager.lSpg > li a {
    border: 2px solid #0f2a53;
}
@media (min-width: 768px) {

}  
@media (max-width: 767.98px){

    .desktop{
        display: none;
    }

    .mobile{
        display: block;
    }
}


/* Gradient Background Color Adjustments for DienstElement */
.DienstElement.bg-gradient h2,
.DienstElement.bg-gradient h3,
.DienstElement.bg-gradient h4,
.DienstElement.bg-gradient h5,
.DienstElement.bg-gradient p,
.DienstElement.bg-gradient .counter,
.DienstElement.bg-gradient .expandableAction {
    color: #fff ;
}

.DienstElement.bg-gradient .icon {
    color: #fff;
    border-color: #fff;
}

.DienstElement.bg-gradient .dienstleistung:hover h5 {
    color: #fff;
}

.DienstElement.bg-gradient .service {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.DienstElement.bg-gradient .service p,
.DienstElement.bg-gradient .service .counter {
    color: #fff ;
}

.DienstElement.bg-gradient .img-icon {
    filter: brightness(0) invert(1);
}

.DienstElement.bg-gradient .font_blue {
    color: #fff ;
}

.DienstElement.bg-gradient .dienst::before {
    background: #fff;
}

.DienstElement.bg-gradient .expandableContent a {
    color: #fff;
    text-decoration: underline;
}

.DienstElement.bg-gradient .border-bottom {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.DienstElement.bg-gradient .dienst-subtitle {
    color: #fff !important;
}

.DienstElement.bg-gradient .dienst:hover .img-icon,
.DienstElement.bg-gradient .dienst.active .img-icon {
    filter: unset !important;
}

.DienstElement.bg-gradient .dienst.active .icon,
.DienstElement.bg-gradient .dienstleistung:hover .icon {
    background-color: rgba(255, 255, 255, 1) !important;
    border-color: #fff;
    color: #fff;
}

.DienstElement.bg-gradient svg path {
    fill: #fff;
}

.DienstElement.bg-gradient .expandableAction svg {
    color: #fff;
}

.DienstElement.bg-gradient h6,
.DienstElement.bg-gradient li {
    color: #fff;
}

.DienstElement.bg-gradient ul > li:before{
    color: #fff;
    border-color: #fff;
}

.DienstElement.bg-gradient .expandableAction svg {
    color: #fff;
}


.DienstElement.bg-gradient .expandableAction{
    background: transparent !important;
    background-image: none !important;
    filter: none !important;
    z-index: 1;
    color: #fff !important;
}

.DienstElement.bg-gradient .expandableContentContainer:not(.expanded)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 0;
    pointer-events: none;
    background:-webkit-linear-gradient(top,rgba(45, 83, 134,0) 0%,rgba(45, 83, 134,1) 60%,rgba(45, 83, 1345,1) 100%);
    background:linear-gradient(to bottom,rgba(45, 83, 134,0) 0%,rgba(45, 83, 134,1) 60%,rgba(45, 83, 134,1) 100%);
    mix-blend-mode: darken;
}

.DienstElement .dienstleistung.no__hover {
    pointer-events: none;
}