/*
 * WPR Marktbreit tx_news Layout
 * Nachbau der alten tt_news-Listenansicht fuer tx_news.
 */

/*----------------------------------- clearer -----------------------------------*/
.news-list-container hr.clearer,
.news-single-item hr.clearer,
.news-latest-container hr.clearer {
    clear: right;
    height: 1px;
    border: none;
}

/*------------ tx_news LIST view im alten tt_news-Look -----------*/
.news-list-container {
    margin: 0;
    padding: 0;
}

#tableNews-list-container,
.wpr-news-list-table {
    width: 100%;
    border-collapse: collapse;
}

.news-list-container p {
    margin: 0;
}

.news-list-item {
    padding: 0;
    margin: 0;
}

.news-list-item p,
.news-list-teaser p {
    font-size: 12px !important;
}

tr.news-list-item {
    font-size: 12px;
}

td.news-list-item-extrafields-entry {
    font-size: 12px;
    vertical-align: top;
}

.news-list-container h4 {
    margin: 3px 0;
}

.news-list-container h4 a,
.news-list-container h4 a:link,
.news-list-container h4 a:visited,
.news-list-container h4 a:active {
    text-decoration: none;
}

.news-list-container h4 a:hover {
    text-decoration: underline;
}

td.news-list-item-trenner {
    margin: 0;
    padding: 0;
}

td.news-list-item-trenner hr {
    border: 0;
    border-bottom: 1px dashed #ccc;
    background: #fff;
    margin: 25px 0;
}

.news-list-category,
.news-list-categories {
    font-size: 10px;
}

.news-list-image {
    float: right;
    margin: 0 0 8px 15px;
}

.news-list-image a {
    padding: 0;
}

.news-list-image img,
.news-list-container img {
    max-width: 100%;
    height: auto;
}

.news-list-imgcaption {
    float: right;
    padding-top: 3px;
    padding-right: 3px;
    font-size: 9px;
}

.news-list-morelink {
    display: block;
    padding: 0;
}

.news-list-browse,
.news .page-navigation,
.tx-news .page-navigation {
    text-align: center;
    width: 100%;
}

/* f:widget.paginate / tx_news Pagination */
.f3-widget-paginator,
.tx-news .f3-widget-paginator {
    display: inline-block;
    list-style: none;
    margin: 15px 0;
    padding: 0;
    text-align: center;
}

.f3-widget-paginator li,
.tx-news .f3-widget-paginator li {
    display: inline-block;
    margin: 0 3px;
    padding: 0;
}

.f3-widget-paginator li a,
.f3-widget-paginator li.current,
.tx-news .f3-widget-paginator li a,
.tx-news .f3-widget-paginator li.current {
    display: inline-block;
    min-width: 24px;
    padding: 3px 6px;
    text-decoration: none;
}

.f3-widget-paginator li.current,
.tx-news .f3-widget-paginator li.current {
    font-weight: bold;
}

@media all and (max-device-width: 970px), all and (max-width: 970px) {
    .news-list-container {
        width: 100%;
    }

    td.news-list-item-trenner hr {
        border-bottom: 2px dashed #ccc;
    }

    tr.news-list-item,
    td.news-list-item-extrafields-entry,
    .news-list-item p,
    .news-list-teaser p,
    .news-list-morelink {
        font-size: 18px !important;
    }

    .news-list-category,
    .news-list-categories {
        font-size: 15px;
    }

    .news-list-imgcaption {
        font-size: 14px;
    }

    .f3-widget-paginator,
    .tx-news .f3-widget-paginator {
        font-size: 20px;
        line-height: 40px;
    }
}

@media all and (max-width: 600px) {
    .news-list-image {
        float: none;
        margin: 0 0 10px 0;
    }
}

/*------------ tx_news DETAIL view im alten tt_news-Look -----------*/
.news-single-item,
.wpr-news-single-item {
    margin: 0 40px 0 0;
}

.news-single-item ul,
.wpr-news-single-item ul {
    margin: 0 40px 0 0;
}

.news-single-header h1,
.wpr-news-single-item .news-single-header h1 {
    margin-top: 0;
    margin-bottom: 0;
}

.news-single-subheader p,
.news-single-content p,
.wpr-news-single-item p {
    margin-top: 0;
}

.news-single-img {
    float: right;
    margin: 5px;
}

.news-single-img a {
    padding: 0;
}

.news-single-img img,
.news-single-item img,
.wpr-news-single-item img {
    max-width: 100%;
    height: auto;
}

.news-single-img-item {
    margin-bottom: 6px;
}

.news-single-imgcaption {
    padding: 3px;
    clear: both;
    font-size: 10px;
}

.news-single-categoryline {
    font-size: 12px;
}

.news-single-category {
    font-size: 10px;
    text-align: right;
}

.news-single-backlink {
    font-weight: normal;
    font-size: 10px;
    margin: 10px 0 2px 0;
}

.news-single-backlink a,
.news-single-backlink a:link,
.news-single-backlink a:visited,
.news-single-backlink a:active {
    color: #333;
    text-decoration: underline;
}

.news-single-backlink a:hover {
    color: #666;
    text-decoration: none;
}

.news-single-timedata {
    float: right;
}

.news-single-timedata,
.news-single-author,
.news-single-imgcaption {
    font-size: 10px;
}

.news-single-author {
    padding-bottom: 3px;
}

.news-single-additional-info {
    margin-top: 15px;
    border: 1px solid #CCCCCC;
    padding: 3px 3px 3px 0;
    padding-bottom: 0;
}

.news-single-related,
.news-single-files,
.news-single-links {
    font-size: 12px;
    margin: 0 0 3px 0;
    padding: 3px 3px 3px 0;
}

.news-single-related dd,
.news-single-links dd,
.news-single-files dd {
    margin-left: 15px;
}

.news-single-related dt,
.news-single-links dt,
.news-single-files dt {
    font-weight: bold;
    font-size: 12px;
    margin: 0 0 2px 0;
    padding: 0;
}

@media all and (max-device-width: 970px), all and (max-width: 970px) {
    .news-single-category {
        font-size: 15px;
    }

    .news-single-backlink {
        font-size: 15px;
    }

    .news-single-timedata,
    .news-single-author,
    .news-single-imgcaption {
        font-size: 15px;
    }

    .news-single-related,
    .news-single-files,
    .news-single-links {
        font-size: 18px;
    }

    .news-single-related dt,
    .news-single-links dt,
    .news-single-files dt {
        font-size: 18px;
    }
}

@media all and (max-width: 600px) {
    .news-single-item,
    .wpr-news-single-item {
        margin-right: 0;
    }

    .news-single-item ul,
    .wpr-news-single-item ul {
        margin-right: 0;
    }

    .news-single-img {
        float: none;
        margin: 5px 0 10px 0;
    }
}

/*------------ tx_news Pagination im alten tt_news-Look -----------*/
.news-list-browse,
.news-list-browse .showResultsWrap,
.news-list-browse .browseLinksWrap,
.news-list-browse .browseLinksWrap a,
.news-list-browse .browseLinksWrap span,
.f3-widget-paginator,
.tx-news .f3-widget-paginator,
.f3-widget-paginator li,
.tx-news .f3-widget-paginator li,
.f3-widget-paginator li a,
.f3-widget-paginator li.current,
.tx-news .f3-widget-paginator li a,
.tx-news .f3-widget-paginator li.current {
    font-size: 10px;
}

.news-list-browse {
    text-align: center;
    width: 100%;
    line-height: 12px;
}

.news-list-browse br.clearer {
    display: none;
}

.news-list-browse .showResultsWrap {
    margin: 2px 0 0 0;
    line-height: 12px;
}

.news-list-browse .browseLinksWrap {
    line-height: 12px;
    margin: 0 0 4px 0;
}

.news-list-browse .browseLinksWrap a,
.news-list-browse .browseLinksWrap span {
    display: inline-block;
    margin: 0 2px;
    line-height: 12px;
}

.news-list-browse .disabledLinkWrap {
    color: #999;
}

.news-list-browse .activeLinkWrap {
    font-weight: bold;
}

@media all and (max-device-width: 970px), all and (max-width: 970px) {
    .news-list-browse,
    .news-list-browse .showResultsWrap,
    .news-list-browse .browseLinksWrap,
    .news-list-browse .browseLinksWrap a,
    .news-list-browse .browseLinksWrap span,
    .f3-widget-paginator,
    .tx-news .f3-widget-paginator,
    .f3-widget-paginator li,
    .tx-news .f3-widget-paginator li,
    .f3-widget-paginator li a,
    .f3-widget-paginator li.current,
    .tx-news .f3-widget-paginator li a,
    .tx-news .f3-widget-paginator li.current {
        font-size: 10px;
    }

    .news-list-browse .showResultsWrap,
    .news-list-browse .browseLinksWrap,
    .news-list-browse .browseLinksWrap a,
    .news-list-browse .browseLinksWrap span {
        line-height: 12px;
    }
}

/*------------ tx_news Ticker rechte Spalte im alten tt_news-Look -----------*/
#divTicker,
.wpr-news-ticker {
    background-color: #fff;
    width: 100%;
    height: 400px;
    margin: 0 0 15px 0;
    padding: 0;
    overflow: hidden;
}

#divTicker .news,
.wpr-news-ticker .news {
    position: relative;
    width: auto;
    min-width: 190px;
}

#divTicker .article,
.wpr-news-ticker .article {
    width: auto;
    min-width: 190px;
    height: 200px;
    overflow: hidden;
    margin: 0;
    padding: 3px 0 0 0;
    border-top: #366CB3 1px dotted;
    border-bottom: none;
}

#divTicker .article .header h3,
#divTicker .article .header H3,
.wpr-news-ticker .article .header h3 {
    font-size: 12px;
    font-weight: bold;
    margin: 0;
    padding: 0 0 6px 0;
}

#divTicker .article .teaser-text,
#divTicker .article .teaser-text p,
.wpr-news-ticker .article .teaser-text,
.wpr-news-ticker .article .teaser-text p {
    font-size: 12px !important;
    margin: 0 0 15px 0;
    padding: 0;
    color: #666;
}

#divTicker .article .teaser-text img,
.wpr-news-ticker .article .teaser-text img {
    max-width: 100px;
    height: auto;
}

#divTicker .news-list-morelink,
.wpr-news-ticker .news-list-morelink {
    display: block;
    font-size: 10px !important;
    font-weight: normal;
    padding: 5px 0 0 0;
}

@media all and (max-device-width: 800px), all and (max-width: 800px) {
    #divTicker .article,
    .wpr-news-ticker .article {
        height: 200px;
        padding: 3px 0 0 0;
    }

    #divTicker .article .header h3,
    #divTicker .article .header H3,
    .wpr-news-ticker .article .header h3 {
        font-size: 18px;
    }

    #divTicker .article .teaser-text,
    #divTicker .article .teaser-text p,
    .wpr-news-ticker .article .teaser-text,
    .wpr-news-ticker .article .teaser-text p {
        font-size: 18px !important;
    }

    #divTicker .news-list-morelink,
    .wpr-news-ticker .news-list-morelink {
        font-size: 15px !important;
        padding: 5px 0 0 0;
    }
}

/*------------ Nach-oben-Pfeil -----------*/
.wpr-back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    display: block;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    color: #fff !important;
    background: #f87408;
    border: 1px solid #fff;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    transition: opacity 0.25s ease-in-out, visibility 0.25s ease-in-out;
}

.wpr-back-to-top-icon {
    display: inline-block;
    width: 0;
    height: 0;
    margin-top: 11px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 10px solid #fff;
    vertical-align: top;
}

.wpr-back-to-top:hover,
.wpr-back-to-top:focus {
    color: #fff !important;
    background: #d85f00;
    text-decoration: none;
}

.wpr-back-to-top.is-visible {
    opacity: 0.9;
    visibility: visible;
}

.wpr-back-to-top.is-visible:hover,
.wpr-back-to-top.is-visible:focus {
    opacity: 1;
}

@media all and (max-device-width: 800px), all and (max-width: 800px) {
    .wpr-back-to-top {
        right: 12px;
        bottom: 12px;
        width: 42px;
        height: 42px;
        line-height: 42px;
        font-size: 22px;
    }

    .wpr-back-to-top-icon {
        margin-top: 12px;
        border-left-width: 9px;
        border-right-width: 9px;
        border-bottom-width: 11px;
    }
}
