﻿/*
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
Text Domain:    newspaper-child
Version:        9.0c
*/


/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
    This file contains td modules rewrites.
*/

.td-header-sp-recs img {
    top: auto;
    bottom: auto;
}

/*
    Sidebar
*/
.td-fix-index .td_block_wrap.td_block_title {
    margin-bottom: 20px;
}

.td-fix-index .td_block_wrap.td_block_15 {
    margin-bottom: 20px;
}

.td-header-sp-logo img {
    margin-left: 0;
}

.td_module_16 .item-details {
    margin-left: 226px;
}

.td_module_16 .td-excerpt {
    margin-top: -5px;
}

.td-category-header .td-page-title {
    font-size: 18px;
    line-height: 20px;
}

.wpp-post-title,
.td_block_related_posts .td-module-title,
.td_block_21.td-column-1 .entry-title,
.td_module_16 .entry-title {
    font-size: 14px;
    line-height: 20px;
}

.widget li {
    line-height: 20px;
    margin-bottom: 10px;
}

.td_block_big_grid_fl_9 .td_module_mx19 .entry-title {
    font-size: 24px;
    line-height: 30px;
}

.td-mx-15 .entry-title a,
.td-mx-13 .entry-title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.td-header-wrap .td-header-menu-wrap,
.td-header-wrap .td-header-main-menu {
    background: #fff !important;
}

#td-top-mobile-toggle i,
.header-search-wrap .td-icon-search {
    color: #4ba7ff !important;
}

#td-mobile-nav a,
.td_block_big_grid_fl_7 .td_module_mx24 .entry-title {
    font-size: 13px;
    line-height: 18px;
}

.td_block_big_grid_fl_7 .td_module_mx24 .td-module-meta-info {
    display: block;
}

.td_module_mx4 .entry-title {
    margin-bottom: 4px;
}

.td_module_mx1 .td-post-date {
    color: #fff;
}

.td_module_mx1 .entry-title a {
    text-shadow: 0 0 2px #000;
}

.td-big-grid-post .entry-title a {
    text-shadow: 0 0 2px #000;
}

#td-mobile-nav li a {
    font-size: 14px;
    background: rgba(255, 255, 255, 0);
}

#td-mobile-nav li a:hover {
    background: rgba(255, 255, 255, .1);
}

.td-post-category {
    font-weight: 700 !important;
    font-size: 10px !important;
}

.td-grid-style-1.td-hover-1 .td-big-grid-post:hover .td-post-category {
    background-color: #000 !important;
}

.td-main-page-wrap {
    padding-top: 10px !important;
}

.td-mobile-container {
    background: #2a6fb2 !important;
}

.td-mobile-content {
    padding-bottom: 20px;
}

.td_module_8 .entry-title {
    font-size: 14px !important;
    line-height: 20px !important;
}

@media (max-width: 500px) {
    .td_module_mx4 .td-module-image {
        height: 100%;
    }

    .td-column-3 .td_module_mx4 .td-module-meta-info {
        padding-left: 115px;
    }
}

@media (max-width: 767px) {
    .td-search-background:before,
    .td-menu-background:before {
        background: linear-gradient(to bottom, #4ba7ff 0%, #4ba7ff 100%);
    }

    .td-main-menu-logo img {
        width: auto;
        max-width: 300px;
        height: 50px;
        max-height: 50px;
        margin-top: 3px;
    }

    .td-big-grids-fl.td-big-grids-scroll .td-big-grid-scroll .td-big-grid-post .entry-title {
        font-size: 18px !important;
        line-height: 1.2em !important;
    }

    .td-big-grids-fl.td-big-grids-scroll .td-big-grid-post {
        height: 362px;
    }

    .td-header-sp-recs {
        display: none !important;
    }

    .tdb-template .td-main-content-wrap {
        padding-bottom: 26px;
    }

    .td_module_16 .item-details {
        margin-left: 95px;
        min-height: 80px;
    }
}

@media(min-width: 767px) {
    .td-search-btns-wrap a:after {
        background-color: #4db2ec;
        content: '';
        width: 100%;
        height: 3px;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0 auto;
        transform: translate3d(0, 0, 0);
        transition: width 0.2s ease;
    }

    .td-mx-15 .entry-title {
        font-size: 13px !important;
        line-height: 18px !important;
    }
}

.td-page-content iframe {
    max-width: 100%;
}

.tdb-template .td-main-content-wrap {
    padding-bottom: 40px;
}

.td-module-meta-info {
    font-size: 12px;
    line-height: 18px;
}

/* Set custom-defined counter start */
ol.wp-block-list:not([style*="list-style-type"]) {
	counter-set: ordered-list calc(attr(start type(<number>), 1) - 1);
}

.td_module_wrap .td-image-wrap:before {
    background-image: none !important;
}
