.tsg-teaser-box-wrapper.volleh {
    height: 361px;
    position:relative;
    transition: opacity .3s ease
}

.tsg-teaser-box-wrapper.tsg-teaser-box-with-image.volleh > a {
    justify-content: flex-end;
}

.tsg-teaser-box-wrapper.tsg-teaser-box-with-image.volleh > a,
.tsg-teaser-box-wrapper.tsg-teaser-box-with-image.halbeh > a {
    cursor:pointer;
}

.tsg-teaser-box-wrapper.tsg-teaser-box-with-image.volleh > a .tsg-teaser-box-normalbox {
    justify-content: flex-end;
}

.tsg-teaser-box-wrapper.tsg-teaser-box-with-image.volleh > a .tsg-teaser-box-normalbox > h3 {
    flex-grow: 0;
}

.tsg-teaser-box-wrapper.halbeh {
    height: 190px;
    position:relative;
    transition: opacity .3s ease;
}

.tsg-teaser-box-wrapper.halbeh > a {
    display: inline-block;
    width: 100%;
    height: 100%;
}

.tsg-teaser-box-wrapper.volleh:hover,
.tsg-teaser-box-wrapper.halbeh:hover {
    opacity:0.8;
}

.tsg-teaser-box-wrapper > a {
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.tsg-teaser-box-wrapper .tsg-teaser-box-textbox {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #fff;
    padding: 20px;
    max-width: 90%;
}

.tsg-teaser-box-wrapper .tsg-teaser-box-textbox h3 {
    font-size: 24px;
    line-height: 30px;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
    hyphens:auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.tsg-teaser-box-wrapper .tsg-teaser-box-textbox > div > p {
    margin-bottom:0px;
}

.tsg-teaser-box-wrapper .tsg-teaser-box-normalbox {
    display: flex;
    display:-webkit-flex;
    display:-ms-flex;
    height:100%;
    flex-direction: column;
    padding:20px;
}

.tsg-teaser-box-wrapper .tsg-teaser-box-normalbox h3 {
    flex-grow: 1;
}

.tsg-teaser-box-wrapper .tsg-teaser-box-normalbox > div {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 0px;
}

.tsg-teaser-box-wrapper .tsg-teaser-box-normalbox > div > p {
    margin-bottom: 0px;
}

.tsg-teaser-box-wrapper.tsg-teaser-box-with-image .tsg-teaser-box-second img {
width:100%;
}



@media screen and (min-width: 781px) {
    .tsg-teaser-box-wrapper.volleh {
        height: 406px;
    }

    .tsg-teaser-box-wrapper.halbeh {
        height: 215px;
    }

    .tsg-teaser-box-wrapper .tsg-teaser-box-textbox {
        position: absolute;
        bottom: 20px;
        left: 20px;
        background: #fff;
        padding: 20px;
        max-width: 60%;
    }

    .tsg-teaser-box-wrapper .tsg-teaser-box-textbox h3.big-title-headline,
    .tsg-teaser-box-wrapper h3.big-title-headline
    {
        font-size: 36px;
        line-height: 44px;
        hyphens:auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
    }

    .tsg-teaser-box-wrapper .tsg-teaser-box-textbox > div > p {
        margin-bottom:0px;
    }

    .tsg-teaser-box-wrapper .tsg-teaser-box-normalbox {
        padding:40px;
    }

   .tsg-teaser-box-wrapper.halbeh .tsg-teaser-box-textbox {
        max-width: 90%;
        left: 10px;
    }

   .tsg-teaser-box-with-image.tsg-teaser-box-wrapper {
       display: flex;
       display: -webkit-flex;
       display: -ms-flex;
       justify-content: end;
       justify-content: flex-end;
   }

    .tsg-teaser-box-with-image.tsg-teaser-box-wrapper .tsg-teaser-box-second {
        align-self: center;
        width: 70%;
        max-width: 700px;
    }

    .tsg-teaser-box-with-image.tsg-teaser-box-wrapper .tsg-teaser-box-second img {
        height: auto;
        max-height: inherit !important;
        float: right;
    }

    .tsg-teaser-box-wrapper.tsg-teaser-box-with-image  .tsg-teaser-box-normalbox {
        position: absolute;
        bottom: 0px;
        left: 0px;
        background: transparent;
        padding: 40px;
        max-width: 50%;
        height: inherit;
    }

    .tsg-teaser-box-wrapper.tsg-teaser-box-with-image.volleh {
        /*height:auto;*/
        max-height:406px;
    }

    .tsg-teaser-box-wrapper.tsg-teaser-box-with-image a {
        display: flex;
        display:-webkit-flex;
        display:-ms-flex;
        justify-content: flex-end;
    }

    .tsg-teaser-box-wrapper.tsg-teaser-box-with-image a img {
        max-width: 85%;
    }

}


.mandant-thuega_tsg .tsg-teaser-box-wrapper.volleh a,
.mandant-thuega_tsg .tsg-teaser-box-wrapper.halbeh a {
    text-decoration-color: inherit !important;
    font-weight:inherit;
}

.mandant-thuega_tsg .tsg-teaser-box-wrapper a:focus,
.mandant-thuega_tsg .tsg-teaser-box-wrapper a:active
{
    color:inherit !important;
}

/* Special Resets for Mobile */

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

    .tsg-teaser-box-wrapper.tsg-teaser-box-with-image a img {
        max-width: 85%;
        margin-top:20px;
    }

    /*.tsg-teaser-box-wrapper.volleh {
        margin-left: -30px;
        margin-right: -30px;
    }*/

    .tsg-teaser-box-wrapper.tsg-teaser-box-with-image {
        display:flex;
        display:-webkit-flex;
        display:-ms-flex;
        flex-direction: column-reverse;
        height:auto;
    }

    .tsg-teaser-box-wrapper.tsg-teaser-box-with-image .tsg-teaser-box-textbox {
        position: relative;
        bottom: 0px;
        background: #fff;
        padding: 15px;
        max-width: 100%;
        left:0px;
    }

   .panel-grid-cell .widget_tsgteaserbox-widget {
       margin-right: -30px !important;
       margin-left: -30px !important;
   }

   .tsg-teaser-box-wrapper.tsg-teaser-box-with-image a {
       flex-direction: column-reverse;
       display: flex;
       display:-webkit-flex;
       display:-ms-flex;
   }

}

@media screen and (max-width:780px) {
    .tsg-teaser-box-wrapper:not(.tsg-teaser-box-with-image) .tsg-teaser-box-textbox {
        position: absolute;
        bottom: 10px;
        background: #fff;
        padding: 15px;
        max-width: 90%;
        left: 15px;
    }
}

@media screen and (max-width: 480px) {
   .tsg-teaser-box-wrapper .tsg-teaser-box-textbox.no-textbox-mobile {
        background:transparent;
    }

    .tsg-teaser-box-wrapper .tsg-teaser-box-textbox.no-textbox-mobile {
        display: flex;
        display:-webkit-flex;
        display:-ms-flex;
        height:100%;
        flex-direction: column;
        padding:20px;
    }

    .tsg-teaser-box-wrapper .tsg-teaser-box-textbox.no-textbox-mobile h3 {
        flex-grow: 1;
    }

    .tsg-teaser-box-wrapper .tsg-teaser-box-textbox.no-textbox-mobile > div {
        flex-grow: 0;
        flex-shrink: 0;
        flex-basis: 0px;
    }
}

