
.component_grid-branding-types { background:#fff; padding: 40px;  }
.component_grid-branding-types > div { text-align: center; padding: 40px 0 20px 0; }
.component_grid-branding-types > div:not(:last-of-type) { border-bottom: 2px solid #ebebeb; }
.component_grid-branding-types > div.h1 { text-align: left; padding: 0; border: 0; }

@media (max-width: 979px) {
    .component_grid-branding-types .sticker {
        position: relative;
        background: #9c195b  100% 0 / auto 100% no-repeat;
        background-image: linear-gradient(90deg, #9c195b 50%, transparent 50%), url('assets/bg.png');
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        display: block;
        color: #fff;
        text-align: center;
        height: 40px;
        margin-bottom: -20px;
    }
    .component_grid-branding-types .sticker > span:first-child {
        position: absolute;
        display: block;
        left: 0;
        top: 0;
        width: 40px;
        height: 40px;
        background: url('assets/bg.png') 0 0 / auto 100% no-repeat;
    }
    .component_grid-branding-types .sticker > span:last-child {
        display: flex;
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
    }
    .component_grid-branding-types .sticker > span:last-child > span {
        max-width: calc(100% - 80px);
        line-height: 1;
    }
    .component_grid-branding-types .sticker > span:last-child > span > strong {
        font-weight: inherit;
    }
    /*XERSUPPORT-67*/
    .component_grid-branding-types .sticker {
        position: absolute;
        width: 100%;
        left: 0;
        right: 0;
        margin: 0;
    }

}

@media (min-width: 980px) {

    .with-shadow .component_grid-branding-types {
        box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    }

    .component_grid-branding-types {
        padding: 40px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: stretch;
    }
    .component_grid-branding-types .products {
        padding: 0;
        display: flex;
        height: 100%;
        align-items: stretch;
    }
    .component_grid-branding-types .products > div {
        text-align: center;
        padding: 0 40px;
        /*
        flex-basis: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        */
    }

    /*making a every product a relative parent (e.g. for the buttonarea)*/
    .component_grid-branding-types .products .product{
        position:relative;
    }

    .component_grid-branding-types.with-sticker .products .stars {
        padding-top:80px;
        border:1px solid transparent;
    }

    /*compensating the containers padding for the buttonarea*/
    .component_grid-branding-types .products .product .buttonarea{
        margin-bottom:-40px;
    }

    .component_grid-branding-types .products .product:first-of-type .buttonarea{
        margin-left:-20px;
    }

    .component_grid-branding-types .products > div:first-child {padding-left: 0;}
    .component_grid-branding-types .products > div:last-child {padding-right: 0;}
    .component_grid-branding-types .products > div:not(:last-of-type) { border-right: 2px solid #ebebeb; }

    .component_grid-branding-types .products > div > * {
        margin: 0;
    }

    .component_grid-branding-types .products > div > div {
        padding-top:30px;
    }

    .component_grid-branding-types .products h2{
        position: relative;
        z-index:10;
        height:120px;
        padding-top:20px;       
    }

    .component_grid-branding-types .products p:not(.buttonarea) {
         padding-top:10px;
    }

    .component_grid-branding-types .sticker {
        display: block;
        position: absolute;
        top:100px;
        left:50%;
        margin-left:-65px;
        width: 130px;
        outline: 15px solid #fff;
    }

    .component_grid-branding-types .sticker > span:first-child {
        display: block;
        background: url("data:image/svg+xml,%3csvg%20version=%221.1%22%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%22158%22%20height=%22176.6%22%20viewBox=%220%200%20158%20176.6%22%3e%3cpath%20fill=%22%239C195B%22%20d=%22M155.2,44.1c-1.9-3.3-4.5-5.8-7.7-7.7L89.5,2.8C86.3,0.9,82.8,0,79,0c-3.8,0-7.3,0.9-10.5,2.8L10.5,36.4%20c-3.3,1.9-5.8,4.5-7.7,7.7C0.9,47.4,0,50.9,0,54.7v67.1c0,3.8,0.9,7.3,2.8,10.6c1.9,3.3,4.4,5.8,7.7,7.7l57.9,33.6%20c3.3,1.9,6.8,2.8,10.5,2.8c3.8,0,7.3-0.9,10.5-2.8l57.9-33.6c3.3-1.9,5.8-4.5,7.7-7.7c1.9-3.3,2.8-6.8,2.8-10.6V54.7%20C158,50.9,157.1,47.4,155.2,44.1L155.2,44.1z%22/%3e%3c/svg%3e") 50% 0 / contain no-repeat;
        padding-bottom: 111.6%;
    }
    .component_grid-branding-types .sticker > span:last-child {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        text-align: center;
        padding: 10px 5px;
    }
}


