/*
Theme Name: Newspaper Tapthehinh
Theme URI: http://tagdiv.com
Author: ChildThemeWP.com
Author URI: https://childthemewp.com
Description: My WordPress Newspaper Tapthehinh theme.
Template: Newspaper
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Version: 10.3.6.1
Text Domain: Newspaper-tapthehinh
*/
body {
    overflow-x: hidden;
}
.td-racing .tdm-header-style-3 .tdm-header-menu-btns {
    display: none;
}
.td-racing .tdm-header-style-3 .sf-menu > li > a {
    padding: 0 10px !important;
}
.newspaper-footer .tagdiv-type p {
    margin-bottom: 10px;
}
#trademark {
    display: none;
}
.td-module-meta-info .entry-title a {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.td-module-meta-info .td-excerpt {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.td_block_inner  .item-details .entry-title a {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.td-mega-span .entry-thumb {
    width: 100%;
    max-height: 135px;
}


/* ads */
.td-all-custom {
    /*margin: 0px auto;*/
    /*display: inline-block;*/
}
.banner-fixed-left {
    position: fixed;
    width: 160px;
    height: 600px;
    /*max-height: 600px;*/
    z-index: 9998;
    display: none;
}
.banner-fixed-right {
    position: fixed;
    width: 160px;
    height: 600px;
    /*max-height: 600px;*/
    z-index: 9998;
    display: none;
}
.hidden-div {
    display: none;
}
.td-hidden-category {
    display: none;
}
.td-hidden-detail-post {
    display: none;
}
.custom-style-ads {
    margin-bottom: 24px;
}
.custom-ads {
    margin-bottom: 48px;
}
/* ads */
.tdc-row .td-a-rec-id-custom_ad_1 > div, .td-a-rec-id-custom_ad_2 > div, .td-a-rec-id-custom_ad_3 > div, .td-a-rec-id-custom_ad_4 > div, .td-a-rec-id-custom_ad_5 > div {
    margin-bottom: 0px !important;
}
.reset-margin {
    margin: 0px auto !important;
}
.custom-ads-header> .td-a-rec-id-header {
    margin-top: 24px;
}
figure img {
    width: 100%;
}
.td-post-content .figure image {
    width: 100%;
}
.td-main-sidebar .td_block_widget .td-block-title {
    background-color: #00aeef;
    font-size: 13px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 26px;
    padding: 11px 0;
    line-height: 1;
    position: relative;
    overflow: hidden;
    text-align: center;
    border: 1px solid transparent;
}
.td-main-sidebar .td_block_widget .td-block-title span {
    padding: 0;
    font-family: Open Sans !important;
    font-style: italic;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1;
}
.td-main-sidebar .td_block_widget .td_block_inner .item-details .entry-title {
    margin: 0;
    font-family: Cuprum;
    font-size: 14px;
    line-height: 1.4;
    font-style: italic;
    font-weight: 700;
    text-transform:uppercase;
}
.td-main-sidebar .td_block_widget .td-pb-padding-side li,
.td-main-sidebar .td_block_widget .td-pb-padding-side li .td-cat-no {
    font-family: Cuprum;
    font-size: 16px;
    font-style: italic;
    text-transform: uppercase;
}

@media screen and (min-width: 768px) {
    .custom-ads-header {
        /*margin-top: 48px !important;*/
    }
}

@media screen and (max-width: 767px) {
    .custom-ads-header {
        margin-top: 30px !important;
    }
}
.td-all-custom {
    width: 100%;
    display: block;
    margin: 0px auto !important;
}
.td-all-custom img {
    margin: 0px auto !important;
}


/* Custom color site */
.custom-header {
    background-color: #00aeef !important;
}
.custom-footer {

}
.custom-header .td-header-menu-wrap {
    background: #00aeef !important;
}
.current-menu-item a {
    /*color: #675656 !important;*/
}
#td-header-menu ul li a:hover {
    color: #000000 !important;
}
.td-mega-menu:hover #td-header-menu ul li a {
    color: #00aeef !important;
}
.td_mega_menu_sub_cats a {
    color: #00aeef !important;
}
.td-theme-wrap .td_mega_menu_sub_cats a:hover  {
    color: #000000;
}
/* Custom color site */
.sosial-website li {
    display: inline-block;
    margin-right: 5px;
}

.sosial-website li img {
    max-width: 70px;
    height: 25px;
    object-fit: contain;
}
.sosial-website {
    text-align: center;
}
.same-category h1 {
    text-align: center;
    color: #FFFFFF;
    font-size: 20px;
    font-family: 'Cuprum' !important;
    text-transform: uppercase;
}
.same-category {
    position: relative;
}
.same-category:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0px auto;
    width: 50%;
    height: 1px;
    background: #fff;
}
.td-a-rec {
    display: flex;
    justify-content: center;
    width: 100%;
    overflow: hidden;
}
.td-g-rec {
    display: flex;
    justify-content: center;
    width: 100%;
    overflow: hidden;
}
/*.custom-rss-homepage {*/
/*    border: 1px solid #00aeef;*/
/*    border-top: 0px;*/
/*}*/
/*.custom-rss-homepage ul li a {*/
/*    font-size: 15px !important;*/
/*    margin-bottom: 0px !important;*/
/*}*/
/*.custom-rss-homepage .block-title {*/
/*    font-family: 'Roboto', sans-serif;*/
/*    font-size: 0px;*/
/*    line-height: 1;*/
/*    text-align: center;*/
/*    color: white;*/
/*    !*border-bottom: none;*!*/
/*    !*border-color: transparent;*!*/
/*    !*background: url("https://www.bongda.com.vn/templates/themes/images/logo_black.png") no-repeat;*!*/
/*    !*background-size: 100% auto !important;*!*/
/*    !*background-position: 50% !important;*!*/
/*    border: 1px solid #00aeef;*/
/*}*/
/*.custom-rss-homepage .block-title .rsswidget {*/
/*    background-color: transparent;*/
/*}*/
/*.custom-rss-homepage .block-title span {*/
/*    background-color: transparent;*/
/*    border-color: transparent;*/
/*}*/
/*.custom-rss-homepage .block-title span a:last-child {*/
/*    background: url("https://www.vothuat.vn/app/uploads/2020/09/logo_vt.png") no-repeat;*/
/*    padding: 15px 50px;*/
/*    background-size: 100% auto !important;*/
/*    background-position: 50% !important;*/
/*}*/
/*.custom-rss-vothuat .block-title {*/
/*    background: #00aeef;*/
/*}*/
/*.custom-rss-khoevadep .block-title {*/
/*    background: #00aeef;*/
/*}*/
/*.custom-rss-vothuat .block-title span a:last-child {*/
/*    background: url("/app/uploads/2020/09/logo_vt.png") no-repeat;*/
/*}*/
/*.custom-rss-tapthehinh .block-title span a:last-child {*/
/*    background: url("/app/uploads/2020/09/logo_tapthehinh.png") no-repeat;*/
/*}*/
/*.custom-rss-khoevadep .block-title span a:last-child {*/
/*    background: url("/app/uploads/2020/09/logo_khoevadep.png") no-repeat;*/
/*}*/
/*.custom-rss-tapthehinh .block-title {*/
/*    border-left: none;*/
/*    border-right: none;*/
/*}*/
/*.custom-rss-homepage ul li a {*/
/*    display: block;!* or inline-block *!*/
/*    text-overflow: ellipsis;*/
/*    word-wrap: break-word;*/
/*    overflow: hidden;*/
/*    max-height: 3.6em;*/
/*    line-height: 1.8em;*/
/*}*/
.wp-caption-text, .tdb-caption-text {
    font-size: 15px !important;
}
.custom_footer .td-a-rec {
    margin-bottom: 0px !important;
}

.data-api {
    display: none;
}

.td-post-date, .entry-date {
    display: none !important;
}
/*_*/

.td-racing .sf-menu .td-icon-menu-down {
    display: none;
}
.custom-rss-homepage {
    margin-bottom: 0;
}
.custom-rss-khoevadep .block-title {
    display: none;
}
.custom-rss-khoevadep ul {
    display: flex;
    flex-flow: row wrap;
    align-items: stretch;
    margin-bottom: 0;
}
.custom-rss-khoevadep ul li {
    width: 24%;
    margin-left: 1%;
}
.custom-rss-khoevadep ul li img {
    width: 100%;
    height: 15vh;
    object-fit: cover;
}
@media screen and (max-width: 767px) {
    .khoevadep-rss {
        display: none !important;
    }
}

.td-main-sidebar .widget_rss .block-title span {
    padding: 8px 12px 3px;
}
.td-main-sidebar .widget_rss .block-title  a.rsswidget {
    background-color: #00aeef;
    padding: 0;
}
.td-main-sidebar .widget_rss ul li a.rsswidget{
    font-style: italic;
    font-family: 'Cuprum', sans-serif;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
}
.td-main-sidebar .widget_rss li {
    padding-bottom: 0;
    margin-left: 0;
}

.td-main-sidebar .widget_rss ul li a.rsswidget {
    height: auto;
    display: inline-flex;
    font-size: 14px;
}

.td-main-sidebar .widget_rss ul li a span {
    height: fit-content;
    width: calc(100% - 116px);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.td-main-sidebar .widget_rss ul li a img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    margin-right: 16px;
}

.td-main-sidebar .widget_rss .block-title a:hover {
    color: #fff;
}

@media (min-width: 1019px) and (max-width: 1140px) {
    .td-main-sidebar .widget_rss ul li a.rsswidget {
        font-size: 16px;
        line-height: 18;
    }
}
.custom-footer .page-source {
    display: none;
}

.page-source {
    font-family: 'Roboto', sans-serif;
}
.td-post-author {
    display: inline-block;
    position: relative;
    top: 2px;
}
/*Style source post*/

.td_block_related_posts .td-module-image img {
    height: 123px;
    max-height: 123px;
    object-fit: cover;
}

@media screen and (max-width: 767px) {
    .td_block_related_posts .td-module-image img {
        width: 100%;
        height: auto;
        max-height: fit-content;
    }
}
