/*
Theme Name:     Newspaper 7 Child theme
Theme URI: 		http://themeforest.net/user/tagDiv/portfolio
Description:    Child theme made by tagDiv
Author:         tagDiv
Author URI: 	http://themeforest.net/user/tagDiv/portfolio
Template:       Newspaper
Version:        7.7c
*/

/**
 * START - MISC
 */
.text-left {
    text-align: left;
}
@media screen and (max-width: 767px) {
    body {
        background-position: center -109px !important;
    }
}
/**
 * END - MISC
 */


/**
 * START - HEADER
 */
.td-header-wrap.td-header-style-1 .td-header-sp-logo,
.td-header-wrap.td-header-style-1 .td-header-sp-recs {
    height: 65px;
    min-height: 45px !important;
    margin: 10px 0;
}
.td-header-wrap.td-header-style-1 .td-header-sp-logo .td-main-logo {
    display: block;
}
.td-header-wrap.td-header-style-1 .td-header-sp-logo .td-main-logo img {
    height: 65px;
    width: auto;
}
@media screen and (max-width: 767px) {
    .td-header-wrap {
        margin-bottom: 50px;
    }
    .td-header-wrap .td-main-menu-logo img {
        max-height: 40px;
    }
}
li.elezioni2019 {
    background-color: #e63558;
    display: block !important;
}
li.elezioni2019 > a {
    color: #ffffff !important;
}
li.elezioni2019 ul.sub-menu li a {
    font-size: .83rem;
    color: black !important;
}
ul#menu-lecco-notizie li.elezioni2019.td-sub-menu-open .menu-item.menu-item-object-category {
	display: block;
}

/**
 * END - HEADER
 */


/**
 * START - FOOTER
 */
.td-container-wrap.insert-adv-venerota {
    padding-top: 10px;
    padding-bottom: 10px;
}
.td-footer-wrapper {
    padding-top: 0;
}
.td-footer-wrapper .td-footer-bottom-full {
    margin-top: 0;
    padding: 10px 0;
}
/**
 * END - FOOTER
 */


/**
 * START - HOME PAGE
 */
.home ul#menu-territorio li.menu-item a {
    line-height: 35px;
}

/* Breaking news */
.home .brne-wrapper .td-trending-now-wrapper {
    padding: 0 25px;
}
.home .brne-wrapper .td-trending-now-title, 
.home .brne-wrapper .td-trending-now-wrapper:hover .td-trending-now-title {
    background-color: #FF0033;
}

/** Notizie brevi */
.home .short-news-wrapper .td-trending-now-title {
    position: relative;
}
.home .short-news-wrapper .td-trending-now-title::before {
    content: "Notizie Brevi";
    position: absolute;
    display: block;
    background-color: #0c447a;
    width: 100%;
    left: 0;
    padding: 0 10px;
    text-align: center;
    word-break: keep-all;
}
.home .short-news-wrapper .td-next-prev-wrap a {
    color: #0c447a;
    border-color: #0c447a;
}
.home .short-news-wrapper .td-next-prev-wrap a:hover {
    color: white;
}

/* Tematiche home */
.home .loop-tematiche-home.loop-cronaca .block-title span,
.home .button-tematica-cronaca a {
    background-color: #444 !important;
}
.home .loop-tematiche-home.loop-cronaca .block-title {
    border-color: #444 !important;
}

.home .loop-tematiche-home.loop-societa .block-title span,
.home .button-tematica-societa a {
    background-color: #FF0033 !important;
}
.home .loop-tematiche-home.loop-societa .block-title {
    border-color: #FF0033 !important;
}

.home .loop-tematiche-home.loop-politica .block-title span,
.home .button-tematica-politica a {
    background-color: #9fc5f5 !important;
}
.home .loop-tematiche-home.loop-politica .block-title {
    border-color: #9fc5f5 !important;
}

.home .loop-tematiche-home.loop-economia .block-title span,
.home .button-tematica-economia a {
    background-color: #FF7704 !important;
}
.home .loop-tematiche-home.loop-economia .block-title {
    border-color: #FF7704 !important;
}

.home .loop-tematiche-home.loop-cultura .block-title span,
.home .button-tematica-cultura a {
    background-color: #902323 !important;
}
.home .loop-tematiche-home.loop-cultura .block-title {
    border-color: #902323 !important;
}

.home .loop-tematiche-home.loop-montagna .block-title span,
.home .button-tematica-montagna a.vc_btn3.vc_btn3-color-blue {
    background-color: #008745 !important;
}
.home .loop-tematiche-home.loop-montagna .block-title {
    border-color: #008745 !important;
}

.home .loop-tematiche-home.loop-sport .widgettitle,
.home .loop-tematiche-home.loop-sport .widgettitle::after,
.home .loop-tematiche-home.loop-sport .block-title span,
.home .button-tematica-sport a.vc_btn3.vc_btn3-color-blue {
    background-color: #FFB500 !important;
}
.home .loop-tematiche-home.loop-sport .widgettitle::after {
    width: auto;
    right: -1290px;
}
.home .loop-tematiche-home.loop-sport .block-title {
    border-color: #FFB500 !important;
}
.loop-tematiche-home.loop-sport h4.block-title.td-block-title {
    margin-bottom: 26px !important;
}
/**
 * Sidebar - Next events
 */
aside ol.tribe-list-widget {
    --featured-event-bg: white !important;
    font-family: 'Open Sans', arial, sans-serif;
}
aside ol.tribe-list-widget {
    background: white;
    color: inherit;
    padding: 0;
}
aside ol.tribe-list-widget li.tribe-events-list-widget-events {
    border: none;
}
aside ol.tribe-list-widget li.tribe-events-list-widget-events::before {
    display: none;
}
aside ol.tribe-list-widget li.tribe-events-list-widget-events h4.tribe-event-title {
    width: calc(100% - 110px);
    margin-left: 110px;
}
aside ol.tribe-list-widget li.tribe-events-list-widget-events h4.tribe-event-title a {
    color: inherit !important;
}
aside ol.tribe-list-widget li.tribe-events-list-widget-events .tribe-event-duration {
    width: 100px;
    font-size: 0.75rem;
    padding: 0;
    border: 1px solid #0d447a;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    line-height: 20px;
    background: #0d447a;
    color: white;
    outline: 1px solid white;
    outline-offset: -4px;
}
aside ol.tribe-list-widget li.tribe-events-list-widget-events .tribe-event-duration span.tribe-event-date-end {
    display: inline-block !important;
}
aside .tribe-event-featured .tribe-event-image {
    margin-bottom: 20px;
}

/**
 * END - HOME PAGE
 */

/**
 * START - ARTICLE
 */
/** Reading time */
.custom-pull-left {
    float: left;
}
.single-post .rt-reading-time {
    font-size: .8rem;
    background: #0d447a;
    color: white;
    display: inline-block !important;
    padding: 0 10px;
    font-style: italic;
    height: 39px;
    line-height: 39px;
    margin-left: 5px;
    margin-top: 14px;
}
.single-post .td-social-sharing-button.td-social-handler.td-social-expand-tabs {
    display: none;
}
@media screen and (max-width: 768px) {
    .single-post .rt-reading-time {
        margin-left: 0;
        margin-top: 0;
    }
}
.single-post .loop-sb-ultimi-articoli h3 {
    font-size: 1.1rem;
}
/** Table */
.single-post .post table.lecco-table {
    box-shadow: 4px 4px 5px 0px rgba(0,0,0,.05);
    -moz-box-shadow: 4px 4px 5px 0px rgba(0,0,0,.05);
    -webkit-box-shadow: 4px 4px 5px 0px rgba(0,0,0,.05);
    animation: all .5s linear;
    -moz-animation: all .5s linear;
    -webkit-animation: all .5s linear;
    margin-bottom: 30px;
}
.single-post .post table.lecco-table tbody tr:first-child {
    background: #0d447a;
    color: white;
}
.single-post .post table.lecco-table tbody tr:first-child td {
    border-color: #063461;
}
.single-post .post table.lecco-table tbody tr:not(:first-child):hover {
    background: #f9f9f9;
}
.single-post .post table.lecco-table {}
.single-post #wpcom-liveblog-container .liveblog-pagination:first-of-type {
    display: none;
}

/**
 * Remake lista delle elezioni
 */
.lista-elezioni {
    box-shadow: 0px 0px 5px 2px rgba(0,0,0,.07);
    -moz-box-shadow: 0px 0px 5px 2px rgba(0,0,0,.07);
    -webkit-box-shadow: 0px 0px 5px 2px rgba(0,0,0,.07);
}
.lista-elezioni .text-center {text-align: center; margin-bottom: 0px !important;}
.lista-elezioni img.sindaco {display: block; margin: auto;}
.lista-elezioni img:not(.sindaco) {width: 150px !important; display: block; margin: auto;}
.lista-elezioni .column-2 {vertical-align: middle !important;}
.lista-elezioni .column-2 p span{font-weight: bold;}
/**
 * END - ARTICLE
 */
.hide-component-title .td-block-title-wrap{display: none !important;}


/**
 * CUSTOM ELEZIONI 2019 --- PAGE START
 */
.page.page-id-518367 .td-page-header {
    background-color: #fcfcfc;
    border-bottom: 1px solid #f2f2f2;
    border-top: 1px solid #f2f2f2;
    padding-bottom: 18px;
}
.page.page-id-518367 .td-page-header .td-page-title {
    text-transform: uppercase;
    font-weight: 700;
    font-family: "Roboto Slab";
    font-size: 30px;
    line-height: 38px;
    margin: -2px 0 0 0;
}
.page.page-id-518367 .td-page-header + .tdc-content-wrap {
    margin-top: 50px;
}
.page.page-id-518367 .wpb_widgetised_column ul#menu-territorio li {
    width: calc(100% - 4px);
}
.page.page-id-518367 .wpb_widgetised_column ul#menu-territorio li a {
    font-size: 15px;
    line-height: 24px;
    text-transform: inherit;
}
.page.page-id-518367 .wpb_widgetised_column ul#menu-territorio::after {
    content: "";
    display: block;
    clear: left;
}
.page.page-id-518367 .wpb_widgetised_column ul {
    list-style-type: none;
}
.page.page-id-518367 .loop-sb-ultimi-articoli h3 {
    font-size: 1.1rem;
}

/**
 * CUSTOM ELEZIONI 2019 --- PAGE END
 */


/**
 * Show last post in homepage near authors
 */
.home .custom-related-news {
    margin-top: 30px;
    margin-bottom: 15px;
    width: 100%;
}
    
.home .custom-related-news img {
    display: block;
    width: 50px !important;
    height: 50px !important;
}

.home .custom-related-news .custom-related-news-content {
    display: flex;
    width: 70%;
    margin-left: auto;
    height: 60px;
    overflow: hidden;
}
    
.home .custom-related-news a {
    display: block;
    width: 75%;
    margin-left: auto;
}

.home .custom-related-news a h5 {
    margin: 0px !important;
    font-size: 11px;
    line-height: 20px;
}

@media (max-width: 767px) {
    .home .custom-related-news img {
        position: relative;
        margin-right: 20px;
    }
    .home .custom-related-news {
        width: auto;
        margin-left: 85px;
    }
    .home .custom-related-news .custom-related-news-content {
        width: 100%;
    }
    
}