/* --- overwrites for all next titles go here ----*/
/* copy them to all titles with 'grunt next' from the 'applications' directory */

html.twenty_app_mmxvii button.primary, html.twenty_app_mmxvii .btn.primary, html.twenty_app_mmxvii input[type='submit'], html.twenty_app_mmxvii button[type='submit'] {
    min-width: initial;
    border-radius: 5px;
}
/*---next icon overwrites --------*/

html.twenty_app_mmxvii.twenty_app_mmxvii .commentInteractionBox .commentInteractionButtonBox .commentreportlink.btn.reported {
    color: #999;
}

html.twenty_app_mmxvii.twenty_app_mmxvii .icon-video:before {
    font-family: "nexticons";
    content: "W";
}
html.twenty_app_mmxvii.twenty_app_mmxvii .icon-camera:before {
    font-family: "nexticons";
    content: "x";
}


html.twenty_app_mmxvii.twenty_app_mmxvii .commentInteractionBox .icon-upvote:before {
    font-family: "nexticons";
    content: "2";
}

html.twenty_app_mmxvii.twenty_app_mmxvii .comment-sorting .icon-downvote:before {
    font-family: "nexticons";
    content: "5";
}

html.twenty_app_mmxvii .story-list-item-wrapper .storytext .lead p {
    word-wrap: break-word;
}

html.twenty_app_mmxvii .premium_abo_plus, html.twenty_app_mmxvii .premium-abo-plus {
    color: #007abf;
    font-family: "Benton-sans-cond-black", "Helvetica-roman", serif;
    font-size: 1.2rem;
    line-height: 1.4rem;
    font-weight: 400;
    font-style: normal;
    padding-right: 0.4rem;
}

/* ----------------------- header */
html.twenty_app_mmxvii .truncate {
    display: none;
}

html.twenty_app_mmxvii .header ul {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
        justify-content: space-between;
}

html.twenty_app_mmxvii .header li {
    float: none;
}

html.twenty_app_mmxvii .header {
    transition: all;
    transition-duration: 0.2s;
}

html.twenty_app_mmxvii button {
    display:block;
    border: none;
    outline: none !important;
}

html.twenty_app_mmxvii .btn.active.focus,
html.twenty_app_mmxvii .btn.active:focus,
html.twenty_app_mmxvii .btn.focus,
html.twenty_app_mmxvii .btn:active.focus,
html.twenty_app_mmxvii .btn:active:focus,
html.twenty_app_mmxvii .btn:focus {
    outline: none;
}

html.twenty_app_mmxvii.twenty_app_mmxvii #frontpage .ad-container.inside-full-top {
    margin: 0;
    margin-bottom: 1rem;
    border-top: 1px solid #999;
}

html.twenty_app_mmxvii .storypage .header li:last-child {
    margin: 0 auto;
}

html.twenty_app_mmxvii .header .btn {
    color: inherit;
}

html.twenty_app_mmxvii .header .btn:hover {
    color: inherit;
}

html.twenty_app_mmxvii .weather {
    position: relative !important;
    left: auto !important;
}

html.twenty_app_mmxvii.twenty_app_mmxvii .page {
    min-height: calc(100% - 5rem);
}

html.twenty_app_mmxvii .page.page-active {
    /*
        this is a margin, not a padding, so that a possible scrollbar
        on the page node does not overlap with the header bar
    */
    margin-top: 5rem;
}
html.twenty_app_mmxvii .application.nativeview .page {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
html.twenty_app_mmxvii .application.nativeview .sharemenu {
    display: none;
}

html.twenty_app_mmxvii .story-list-item-wrapper {
    cursor: pointer;
    padding-bottom: 1rem;
}
html.twenty_app_mmxvii .story-list-item-wrapper.big {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
        flex-flow: row wrap;
}

html.twenty_app_mmxvii .story-list-item-wrapper.big .storytitle h1{
    -ms-flex-order: 1;
        order: 1;
    font-size: 2.4rem;
    line-height: 2.6rem;
}

html.twenty_app_mmxvii .story-list-item-wrapper.big .storytext {
    -ms-flex-order: 2;
        order: 2;
}

html.twenty_app_mmxvii .story-list-item-wrapper.big .metainfo {
    -ms-flex-order: 5;
        order: 5;
}

html.twenty_app_mmxvii .story-list-item-wrapper.big .lead {
    padding: 0 1.3rem;
    font-size: 1.4rem;
    line-height: 1.8rem;
}

html.twenty_app_mmxvii .story-list-item-wrapper.big .lead > * {
    line-height: 1.8rem;
    text-overflow: ellipsis;
}

html.twenty_app_mmxvii .story-list-item-wrapper.big .actionicon {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.8rem;
    font-style: normal;
}
html.twenty_app_mmxvii .story-list-item-wrapper.big .actionicons {
    margin: 0;
    padding: 0 1.3rem;
    width: 100%;
}
html.twenty_app_mmxvii .story-list-item-wrapper.big .storyimage {
    max-width: 100%;
    margin: 0;
    -ms-flex-order: 0;
        order: 0;
    -ms-flex-item-align: start;
        align-self: flex-start;
}


html.twenty_app_mmxvii .story-list-item-wrapper.small {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
        flex-flow: row wrap;
    width: 100%;
    padding: 0.1rem 0 1rem 0;
    -ms-flex-pack: justify;
        justify-content: space-between;
}
html.twenty_app_mmxvii .story-list-item-wrapper.small figure {
    -ms-flex-order: 3;
        order: 3;
}

html.twenty_app_mmxvii .story-list-item-wrapper.small .storytitle {
    width: 100%;
    margin: 0 1.3rem;
    -ms-flex-order: 0;
        order: 0;
}

html.twenty_app_mmxvii .story-list-item-wrapper.small .storytext {
    width: 46vw;
    margin: 0 0 0 1.3rem;
    -ms-flex-order: 1;
        order: 1;
}

html.twenty_app_mmxvii .story-list-item-wrapper.small .metainfo {
    width: 100vw;
    margin: 0.2rem 0 0 1.3rem;
    -ms-flex-order: 5;
        order: 5;
}

html.twenty_app_mmxvii .story-list-item-wrapper.small .headline {
    width: 100%;
    margin: 0;
    padding: 0.7rem 0 0.4rem 0;
    font-size: 1.8rem;
    line-height: 2rem;
    font-style: normal;
}

html.twenty_app_mmxvii .decoration-lead-title,
html.twenty_app_mmxvii .genre-lead-title {
	display: inline-block;
	padding: 0 0.3rem 0 0;
	font-size: 1.5rem;
	font-weight: 400;
	font-style: normal;
	line-height: inherit;
    text-rendering: geometricPrecision;
}

html.twenty_app_mmxvii .story-list-item-wrapper.sponsored .storytitle {
    border-top: 0;
}

html.twenty_app_mmxvii.twenty_app_mmxvii #frontpage .sponsored {
    height: auto;
}

html.twenty_app_mmxvii.twenty_app_mmxvii #frontpage .sponsored .storytitle {
    white-space: initial;
}

html.twenty_app_mmxvii.twenty_app_mmxvii #frontpage .recommender {
    height: auto;
}

html.twenty_app_mmxvii.twenty_app_mmxvii .extra-article-element {
    padding: 3vw 3vw 9vw 3vw;
    border-top: 1px solid #808080;
}

html.twenty_app_mmxvii.twenty_app_mmxvii .extra-article-element .article-element .article-element-links {
    padding: 0;
}

html.twenty_app_mmxvii.twenty_app_mmxvii .extra-article-element .article-element .article-element-links li {
    line-height: 1.5em;
    list-style: none;
}

html.twenty_app_mmxvii.twenty_app_mmxvii .extra-article-element .article-element-picture {
    display: block;
    width: 100%;
}

html.twenty_app_mmxvii.twenty_app_mmxvii .extra-article-element .chart {
    padding: 3vw 0;
}

html.twenty_app_mmxvii.twenty_app_mmxvii .extra-article-element .chart-map-img {
    display: block;
    margin: 0 auto;
}

html.twenty_app_mmxvii.twenty_app_mmxvii .extra-article-element .slideshow {
    position: relative;
    overflow: hidden;
}

html.twenty_app_mmxvii.twenty_app_mmxvii .extra-article-element .video-legend {
    padding-right: 0;
    padding-left: 0;
}

html.twenty_app_mmxvii.twenty_app_mmxvii .extra-article-element iframe {
    width: 100%;
    height: auto;
}
/* ------------------------- slideshow */

html.twenty_app_mmxvii #storypage .slideshow, html.twenty_app_mmxvii #storypagetwo .slideshow {
    width: 100vw;
    margin: 0 -3vw;
}

html.twenty_app_mmxvii .slideshow-front-container {
    margin: 0 0 1rem 0;
    border-top: 0.1rem solid #000;
    border-bottom: 0.1rem solid #000;
}
html.twenty_app_mmxvii .slideshow-front-container .slideshow {
    margin: 0 1.3rem;
    padding: 1.7rem 0 0.5rem;
    overflow: hidden;
}
html.twenty_app_mmxvii .slideshow-front-container .slideshow.fullscreen {
    margin: 0;
    padding-top: 0;
}
html.twenty_app_mmxvii .slideshow .swipe-indicator {
    display: none;
}
html.twenty_app_mmxvii .slideshow .description {
    padding: 1rem 1.3rem 0;
    background: none !important;
}
html.twenty_app_mmxvii .slideshow .description .count {
    display: none;
}
html.twenty_app_mmxvii .slideshow .description .icon {
    margin-right: 0.5rem;
}
html.twenty_app_mmxvii .slideshow .description .icon:before {
    vertical-align: top;
}

html.twenty_app_mmxvii .slideshow-front-container .slideshow .description {
    line-height: 110%;
    font-weight: bold;
}
html.twenty_app_mmxvii .slideshow-front-container .slideshow.fullscreen .description {
    line-height: 110%;
    font-weight: normal;
}
html.twenty_app_mmxvii .slideshow .pagination {
    margin-top: 0.3rem;
    text-align: center;
}
html.twenty_app_mmxvii .slideshow .pagination .bubble {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin: 0 3px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, .2);
}
html.twenty_app_mmxvii .slideshow .pagination .bubble.active {
    background-color: rgba(0, 0, 0, .5);
}

/* ----------------------- Article - View */

html.twenty_app_mmxvii .header-info {
    padding: 0 3vw;
}

html.twenty_app_mmxvii .story-view {
    padding-top: 0;
}

html.twenty_app_mmxvii .authors h2 {
    display: none;
}

html.twenty_app_mmxvii .authors .author img {
    width: 4.2rem;
    float: left;
    margin-right: 4px;
}

html.twenty_app_mmxvii .contextbox {
    border-top: 0.1rem solid #DDD;
}

html.twenty_app_mmxvii .contextbox .story-list-item.small {
    border-top: 0;
}

html.twenty_app_mmxvii .breaking-news-lead {
    display: none;
}

html.twenty_app_mmxvii .lead > p {
    display: inline;
}

html.twenty_app_mmxvii .video-fullscreen-container .video-fullscreen-title-header,
html.twenty_app_mmxvii .slideshow.fullscreen header {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    border-bottom: 0.1rem solid #333333;
    -ms-flex-direction: row;
        flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    background-color: rgba(0,0,0,.8);
}

html.twenty_app_mmxvii .video-fullscreen-container #video-player {
    margin-top: 0;
}

html.twenty_app_mmxvii .video-fullscreen-container #video-player iframe {
    position: absolute;
    z-index: -100;
    margin: auto;

    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

/*videoplayer landscape */
html.twenty_app_mmxvii .storyfs {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

html.twenty_app_mmxvii .hidethis {
    margin-top: 0 !important;
    display: none;
}


html.twenty_app_mmxvii #mobile2liveticker .liveticker-header h2{
    color: #900;
}

html.twenty_app_mmxvii .livetickermobile2message .message-header{
    margin-bottom: 2.8rem;
}
html.twenty_app_mmxvii .livetickermobile2message .message-header .score{
    line-height: 22px;
    font-weight: bold;
    letter-spacing: 1px;
    border-top: 1px solid #900;
    border-bottom: 1px solid #900;
    color: #900;
    padding: 2px 0 0 1px;
}

html.twenty_app_mmxvii .sitemap ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

html.twenty_app_mmxvii .header ul, html.twenty_app_mmxvii .header li {
    margin: 0;
    padding: 0;
    list-style: none;
}

html.twenty_app_mmxvii .authors ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
/* flx-1*/
html.twenty_app_mmxvii #storypage, html.twenty_app_mmxvii #storypagetwo {
    /*margin-bottom: 5rem;*/
}

html.twenty_app_mmxvii.twenty_app_mmxvii #storypage .story-view .ad-container.inside-full-pos2, html.twenty_app_mmxvii.twenty_app_mmxvii #storypagetwo .story-view .ad-container.inside-full-pos2 {
    margin-top: 0;
}

html.twenty_app_mmxvii.twenty_app_mmxvii .ad-container.inside-full-top {
    margin-top: 0;
}

html.twenty_app_mmxvii .categorytitle {
	border: 0 solid black;
	border-top-width: 0.1rem;
}

html.twenty_app_mmxvii.twenty_app_mmxvii #categorypage .last-update-message, html.twenty_app_mmxvii.twenty_app_mmxvii #categorypagetwo .last-update-message {
    border-bottom: 1px solid #999;
}

html.twenty_app_mmxvii #menumodal .modal-content {
    width: 85vw;
    border-right: 1px solid #cccccc;
}

html.twenty_app_mmxvii .comment .commentform.commentreportform form {
    margin: 1.2rem 0 2.4rem 0;
    padding: 1.3rem;
}

html.twenty_app_mmxvii .commentform.commentreportform .nn-title-report {
    padding-top: 0.8rem;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: Helvetica,sans-serif;
    line-height: 19px;
    color: #4d4d4d;
}
html.twenty_app_mmxvii .commentform.commentreportform .nn-order-report {
    padding: 0.8rem 0;
    font-family: Helvetica,sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    font-style: normal;
    line-height: 19px;
    color: #4d4d4d;
}

html.twenty_app_mmxvii .comment-sorting {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row;
        flex-flow: row;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    padding: 0.7rem 0;
    padding-left: 1rem;
}
html.twenty_app_mmxvii .comment-sorting .downIcon.icon-downvote {
    -ms-flex: 0;
        flex: 0;
    color: #0085ab;
}
html.twenty_app_mmxvii .comment-sorting .comment-sorting-select {
    -ms-flex: 1;
        flex: 1;
    margin: 0;
    font: 1.8rem "Benton-sans-cond-black","Benton-sans-cond-black";
    color: #0085ab;
    border: 0px;
    background-color: inherit;
    outline: 0;
}

html.twenty_app_mmxvii.twenty_app_mmxvii #commentspage .commentlist .commentform {
    display: block;
}
html.twenty_app_mmxvii.twenty_app_mmxvii #commentspage .commentlist .commentform .comment-input {
    display: none;
}
html.twenty_app_mmxvii.twenty_app_mmxvii #staticcontentiframe {
    padding-top: 0px;
}

html.twenty_app_mmxvii .hero-image-img {
    background-position: top center !important;
}

html.twenty_app_mmxvii .story-header .topline .decoration {
    font-weight: bold;
}

html.twenty_app_mmxvii .story-list-item.small .storytext {
    overflow: hidden;
    display: box;
    line-clamp: 5;
    box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    height: 9rem;
}
