/*
Theme Name:     Newspaper Child Theme - eWeek
Description:    A child theme of the tagDiv Newspaper theme
Author:         TechnologyAdvice
Author URI:     https://technologyadvice.com
Template:       Newspaper
*/

@import "fonts.css";

.tdb-logo-img {
  height: 80px !important;
  width: 300px !important;
  object-fit: contain;
}

@media screen and (min-width: 768px) {
  .tdb-logo-img {
    min-width: 201px;
    min-height: 54px;
  }
}


.tdb_header_mega_menu .td-next-prev-wrap {
  display: none;
}
.td-post-date,
.td-main-content-wrap,
.tdb-entry-crumb,
.tdb-bred-no-url-last,
.td-container-wrap,
.td-adspot-title,
.td-post-author-name span,
.tdb-breadcrumbs,
.td-excerpt {
  color: #595959 !important;
}
.td-post-category {
  border: 1px solid #ccc !important;
}
.td-big-grid-flex .td-post-author-name span,
.td-post-date-white {
  color: #ffffff !important;
}
.td-post-author-name,
.td-post-date {
  top: 0px !important;
}
.author-box-wrap img,
.tdb-author-img img {
  border-radius: 50%;
}
.entry-crumbs,
.entry-crumbs a {
  color: #000000;
}

.tdm-descr a {
  background-color: black;
}
.tdm-descr {
  background-color: black;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.td_single_image_bg .sr-only,
.db-header-search-button-mob .sr-only {
  color: #000;
}
/* Search button in header */
.tdb_header_search .tdb-head-search-form-btn {
  background-color: #0785c4 !important;
}

.tdb_header_search .tdb-head-search-form-btn:hover {
  background-color: #000 !important;
}

/* Grid Contrast issue(AXE tool) on Homepage and Category page */
.td-big-grid-flex-post .td-module-meta-info {
  background-color: #000;
}

/* Homepage */
.td-mobile-content li a {
  background-image: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0) 10%,
    rgba(0, 0, 0, 0)
  );
}

.td-post-author-name span {
  color: black;
}

.td-big-grid-flex .td-post-author-name span {
  background-image: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0) 10%,
    rgba(0, 0, 0, 0)
  );
}
.page-nav .current,
.td_block_template_1 .td-related-title .td-cur-simple-item {
  background-color: #0785c4 !important;
}
.td-post-next-prev-content span {
  color: #595959;
}
#td-mobile-nav {
  background: linear-gradient(to right, #000, transparent);
}
#td-mobile-nav .td-menu-socials-wrap .td-mobile-close a:hover i {
  color: #0084c4;
}

/* category page */
.td-big-grid-flex-post {
  background-color: black;
}

@media (min-width: 767px) {
  .td-big-grid-flex-post {
    border-color: white !important;
  }
}

article p a {
  color: #0785c4;
}
.page-nav .current {
  background-color: #0785c4;
}

.footer-social-text {
  background-color: black;
  color: white;
}

.tdb_header_menu .tdb-menu > li.current-menu-item > a .tdb-menu-item-text {
  color: #065d89;
}

/* posts */
.td-post-header .td-category li {
  margin: 0 10px 10px 0;
}
.td-post-header .td-category a {
  font-size: 12px;
}
h4 {
  font-weight: 600;
}

/* posts - Jotform Newsletter*/
._jotform_newsletter {
  border: 1px solid #ededed;
  margin-bottom: 48px;
}

/* page nav */
.page-nav a,
.page-nav a:hover,
.page-nav span {
  border: none;
}

/* Footer */
.footer_advertise_btn a {
  line-height: 1;
  height: auto;
  padding: 10px;
}

/* Sponsored Posts Styles */

.sponsored_posts .td-module-meta-info {
  margin-bottom: 32px;
}

.sponsored_posts header .td-post-author-name,
.sponsored_posts header .td-post-date {
  float: none;
  padding-bottom: 1rem;
  margin-left: 0;
}

.sponsored_posts header .td-post-author-name {
  font-size: 14px;
  font-style: italic;
}

.sponsored_posts .sponsored-sponsor-name {
  text-transform: uppercase;
  font-size: 11px;
}

.sponsored_posts header .td-post-date {
  color: #000;
  font-size: 11px;
}

.sponsored_posts .sponsored-sponsor-name a {
  font-weight: 700;
}

.sponsored_posts .entry-category {
  color: #ffffff;
  background-color: #0785c4;
  padding: 0.4em 0.5em;
  font-family: Montserrat !important;
  font-size: 11px;
  font-weight: 600;
}

.sponsored_posts .tdb-title-text {
  font-weight: 400;
  line-height: 1.5em;
  margin-bottom: 7px;
}

.sponsored_posts .sponsored-twitter-feed {
  height: 300px;
  width: 300px;
  overflow-y: scroll;
  margin: 0 auto 20px;
  max-width: 100%;
}

.sponsored_posts .sponsored-featured-image {
  width: 300px;
  height: auto;
  margin: 0 auto 20px;
  max-width: 100%;
}

/* Advanced Ad Sizing and Styles */

#bottom-footer-fixed-slot {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

#inline-top,
#sticky-rail,
#sticky-bottom {
  min-height: 50px;
}

@media screen and (min-width: 768px) {
  #inline-top {
    min-height: 250px;
  }
  #sticky-rail {
    min-height: 600px;
  }
  #sticky-bottom {
    min-height: 90px;
  }
}
