.headline-news{
    height: 180px;
    position: relative;
}

.headline-news .stripe-bg + .container{
    height: 160px;
    width: 100%;
    touch-action: none;
    z-index: 2;
    position: absolute;
    max-width: 800px;
    left: 50%;
    top: 0;
    transform: translate(-50%, -46px);
    background: #fff;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.headline-news .stripe-bg{
    background: url(../../images/frontend/payoff-pattern.png) 0 0 repeat;
    background: #000;
    background: var(--title-blue);
    height: 64px;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border-top: 0 solid #f0f0f0;
    border-bottom: 0 solid #f0f0f0;
    display: none;
}

.headlines-news-wrapper {
    overflow: hidden;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.headlines-news-wrapper .news{
    flex-direction: column;
    flex-wrap: wrap;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-left: 0!important;
    position: absolute;
    box-sizing: border-box;
    width: 100%;
}

.news .news-item{
    max-height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    box-sizing: border-box;
}

.headlines-news-wrapper .news-item-icon{
    -moz-flex: 0 0 60%;
    -webkit-flex: 0 0 60%;
    flex: 0 0 60%;
    width: 96%;
    max-width: 320px;
    height: 100%;
    box-sizing: border-box;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #f0f0f0;
}

.headlines-news-wrapper .news-item-content{
    width: auto;
    box-sizing: border-box;
    height: 100%;
    overflow: hidden;
    padding: 12px 26px 12px 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    font-family: var(--headlinenews-font-family, 'inherit');
    color: var(--headlinenews-text-color,#000);
}

.headlines-news-wrapper .button{
    color: #fff;
    background-color: var(--headlinenews-button-color, #000);
}

.headlines-news-wrapper .news-item-content > div{
    margin: 0;

}

.headlines-news-wrapper .news-item-content h3,
.headlines-news-wrapper .news-item-content h4{
    margin: 0;
    padding: 0;
}

.headlines-news-wrapper .news-item-content h3{
     color: var(--headlinenews-title-color,#000);
     font-family: var(--headlinenews-font-family, 'inherit');
     line-height: 0.9em;
     letter-spacing: -0.03em;
    font-size: 1.4rem;
 }

.headlines-news-wrapper .news-item-content h3 + div{
    margin-top: 0.5em;
}

.headlines-news-wrapper .news-item-content nav{
    margin-top: 0.5em;
}

.headlines-news-wrapper .news-item-content .button{
    text-align: center;
    min-width: unset;
    padding: 0.2em 2em;
}

.headline-news .stripe-bg + .container .waiting-bar{
    position: absolute;
    bottom: 12px;
    left: 16px;
    width: 60px;
    border-radius: 10em;
    /*transform: translate(-50%, -12px);*/
    z-index: 200;
    height: 6px;
    border: 0 solid #f0f0f0;
    overflow: hidden;
    background-color: #fff;
}

.headline-news .stripe-bg + .container .waiting-bar .bar{
    height: 100%;
    background-color: var(--headlinenews-bar-color,#000);
    display: block;
}


.headline-news .stripe-bg + .container .dots{
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(-12px, -50%);
    padding: 0;
    margin: 0;
}

.headline-news .stripe-bg + .container .dots .dot{
    width: 10px;
    height: 10px;
    background-color: var(--headlinenews-dot-color,#000);
    position: relative;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    list-style: none;
    padding: 0;
    margin: 6px 0;
    float: none;
    opacity: 0.3;
    cursor: pointer;
    display: block;
}

.headline-news .stripe-bg + .container .dots .dot.active{
    opacity: 1;
}

/***
*** COVERS
***/


.news-item .container{
    text-align: center;
    pointer-events: none;
    -webkit-user-select: none;
}


.cover .container nav{
    margin-top: 32px;
}

.cover .container.left {
    text-align: left;
}

.cover .container.center {
    text-align: center;
}

.cover .container.right {
    text-align: right;
}


.carousel{
    position: relative;
    height: 100%;
    width: 100vw;
    display: flex;
    overflow: hidden;
}

.news-items {
    width: 100%;
    height: 100%;
    position: relative;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex: 0 0 100%;
    align-items: center;
}

.news-item{
    width: 100%;
    height: 100%;
    position: relative;
    align-items: center;
}

.news.updating{
    -webkit-transition: all 0.3s;
    -moz-transition:  all 0.3s;
    -ms-transition:  all 0.3s;
    -o-transition:  all 0.3s;
    transition: all 0.3s;

}

@media all and (max-width: 800px){
    .headline-news .stripe-bg + .container{
        left: 0;
        border-radius: 0;
        transform: none;
        box-shadow: none;
    }


    .headline-news .stripe-bg + .container{
        height: 100%;
    }
    .headline-news .stripe-bg{
        height: 100%;
        border-bottom-color: #f0f0f0;
    }
    .headlines-news-wrapper .news-item-icon {
        -moz-flex: 0 0 40%;
        -webkit-flex: 0 0 40%;
        flex: 0 0 40%;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        background-position: 50%;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .headlines-news-wrapper .news-item-content{
        box-sizing: border-box;
        height: 100%;
        overflow: hidden;
        -moz-flex: 0 0 60%;
        -webkit-flex: 0 0 60%;
        flex: 0 0 60%;
    }

    .headline-news .stripe-bg + .container .dots{
        transform: translate(-100%, -50%);
    }
}

@media all and (max-width: 600px){

    .headline-news{
        height: 200px!important;
    }

    .headlines-news-wrapper .news{
        position: relative;
    }


    .headline-news .stripe-bg + .container .waiting-bar{
        bottom: unset;
        top: 16px;
    }

    .headlines-news-wrapper .news-item-content{
        -moz-flex: 0 0 67%;
        -webkit-flex: 0 0 67%;
        flex: 0 0 67%;
        height: 200px;
        padding-left: 24px;
    }

    .headlines-news-wrapper .news-item-icon {
        -moz-flex: 0 0 33%;
        -webkit-flex: 0 0 33%;
        flex: 0 0 33%;
        width: 100%;
        box-sizing: border-box;
        background-position: 50%;
        background-repeat: no-repeat;
        background-size: cover;
        max-width: unset;
    }
}