/*
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:        8.1g
*/


/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
    main blue: #4db2ec
    logo light green: #a9cd4f
    */

/*
* Hides megamenu categories by default and then shows the ones we want.
*/
.block-mega-child-cats a {
  display: none;
}
/*News menu*/
.block-mega-child-cats [data-td_filter_value=""], /*all*/
.block-mega-child-cats a[data-td_filter_value="74"], /*USA*/
.block-mega-child-cats a[data-td_filter_value="38"], /*World*/
.block-mega-child-cats a[data-td_filter_value="41"], /*Heroes*/
.block-mega-child-cats a[data-td_filter_value="32"], /*Animals*/
.block-mega-child-cats a[data-td_filter_value="39"], /*Inspiring*/
.block-mega-child-cats a[data-td_filter_value="104"], /*Laughs*/
/*Talks menu*/
.block-mega-child-cats a[data-td_filter_value="11465"], /*Gardening*/
.block-mega-child-cats a[data-td_filter_value="11068"], /*Business*/
.block-mega-child-cats a[data-td_filter_value="11067"], /*Life*/
.block-mega-child-cats a[data-td_filter_value="11066"], /*Health*/
.block-mega-child-cats a[data-td_filter_value="11120"], /*Podcasts*/
/*dev - remove later*/
.block-mega-child-cats a[data-td_filter_value="11079"], /*Business*/
.block-mega-child-cats a[data-td_filter_value="11080"], /*Life*/
.block-mega-child-cats a[data-td_filter_value="11081"] /*Health*/
{
  display: block;
}

/* Hides members menu item from non-members
.td-top-menu-nonmember li.menu-item-103867 {display: none; }
*/
.td-top-menu-nonmember li.menu-item-215 {display: none; }

/*
*Hides the category tag for gift posts
.td-header-main-menu .menu-item-100525 .td-post-category {
  display: none;
}
*/
.td-header-main-menu .menu-item-104370 .td-post-category {
  display: none;
}

/*Hide NewsCred tags*/
a[href="https://dev.goodnewsnetwork.org/tag/newscred/"],
a[href="//m.aokedi.com/tag/newscred/"],
a[href="http://dev.goodnewsnetwork.org/tag/newscred/"],
a[href="http://m.aokedi.com/tag/newscred/"] {
  display: none;
}

/*hide category links at the top of category pages*/
li.entry-category a[href="//m.aokedi.com/category/affiliates/"],
li.entry-category a[href="//m.aokedi.com/category/quotes/"],
li.entry-category a[href="//m.aokedi.com/category/general/"],
li.entry-category a[href="//m.aokedi.com/category/instagram/"],
li.entry-category a[href="//m.aokedi.com/category/news/doitforpeace/"] {
    display: none;
}

/*footer items alignment*/
@media (min-width: 980px) {
  .td-footer-wrapper .td-pb-row {
    display: flex;
    align-items: center;
  }
}

/*Home slideshow*/
.home .tp-caption.large_bold_black {
  text-shadow: rgb(34, 34, 34) 3px 4px 8px!important;
}
.home .wpb_row.td-travel-slider {
  margin-bottom: 2rem;
}

@media screen and (min-width: 1800px) {
    .home .wpb_row.td-travel-slider .tp-bgimg.defaultimg {
        margin: auto;
        max-width: 1800px;
    }
    /*
    #rev_slider_1_1_wrapper {
        background: transparent!important;
    }
    */
}

/*Home header and breadcrumbs*/
.home .td-page-header.td-container {
  display: none
}

/*page titles*/
.entry-title.td-page-title {
  color: #4db2ec;
}

/*Block titles that are links*/
.td-theme-wrap .td-block-title-wrap .block-title a {
  color: #fff;
}

/*block 11 for good bies category*/
.td_module_11 .item-details {
  min-height: inherit;
}

/*Image overlay text background*/
.td-module-image .td-post-category,
.td_module_wrap .td-post-category,
.td-category a {
  background-color: #4db2ec;
}

/* reset button styling to make them look like links*/
.read-more-reset .td-read-more a,
.read-more-reset .more-link-wrap a {
  padding: 10px 0;
  background-color: transparent;
  color: #4db2ec;
}
.read-more-reset .td-read-more a:hover,
.read-more-reset .more-link-wrap a:hover {
  background-color: transparent!important;
}

/*Move block pagination to side of title*/
.td_block_wrap.td_block_wrap .td-next-prev-wrap {
  position: absolute;
  margin-top: 0;
  top: 0;
  right: 0;
}

/*block titles*/
.block-title a, .block-title span, .block-title label {
  font-size: 21px!important;
  padding: 9px 12px 6px
}
.block-title > span, .block-title > a,
.widgettitle, .td-trending-now-title,
.wpb_tabs li a,
.vc_tta-container .vc_tta-color-grey.vc_tta-tabs-position-top.vc_tta-style-classic .vc_tta-tabs-container .vc_tta-tab > a,
.td-theme-wrap .td-related-title a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a,
.woocommerce .product .products h2:not(.woocommerce-loop-product__title),
.td-theme-wrap .td-block-title {
  font-weight: normal!important;
}

/*Force preview images to fill space - will need specific heights for different screens*/
.td-module-thumb .entry-thumb,
.td-module-thumb .wp-post-image {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/*tablet*/
@media (min-width: 769px) {
  .td-main-content-wrap .td-module-thumb .entry-thumb,
  .td-main-content-wrap .td-module-thumb .wp-post-image {
    height: 120px;
  }
  /* menu images*/
  .menu-gnn-mainmenu-container .td-module-thumb .entry-thumb {
    height: 90px;
  }
}
/*desktop*/
@media (min-width: 980px) {
  .td-main-content-wrap .td-module-thumb .entry-thumb,
  .td-main-content-wrap .td-module-thumb .wp-post-image {
    height: 160px;
  }
  /* menu images*/
  .menu-gnn-mainmenu-container .td-module-thumb .entry-thumb {
    height: 135px;
  }
}
/*reset styles for IE*/
@media screen and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .td-module-thumb .entry-thumb,
  .td-module-thumb .wp-post-image {
    height: inherit!important;
    width: 100%;
  }
}
/*reset for edge, can be removed when they add support*/
@supports (-ms-ime-align: auto) {
  .td-module-thumb .entry-thumb,
  .td-module-thumb .post-image {
    height: inherit;
    width: 100%;
  }
  .td-main-content-wrap .td-module-thumb .entry-thumb,
  .td-main-content-wrap .td-module-thumb .wp-post-image {
    height: inherit;
  }
}

/*footer social links*/
.td-sub-footer-social {
  line-height: 20px;
  margin-top: 8px;
  margin-bottom: 8px;
}
.td-sub-footer-container .td-sub-footer-social {
  float: right;
  z-index: 20;
}
/*Swap social and copyright on mobile*/
@media (max-width: 767px) {
  .td-sub-footer-copy {
    text-align: right;
  }
  .td-sub-footer-container .td-sub-footer-social {
  float: left;
  z-index: 20;
}
}
/*Footer menu hover styles*/
.td-subfooter-menu li a:hover,
.td-subfooter-menu li a:focus,
.top-header-menu li a:hover,
.top-header-menu li a:focus {
    color: #fff;
}

/*push up footer so it's not covered by addthis*/
@media (max-width: 767px) {
  .td-sub-footer-container .td-container {
    margin-bottom: 35px;
  }
}
@media (min-width: 768px) and (max-width: 979px) {
  .td-sub-footer-container .td-container {
    margin-bottom: 48px;
  }
}

/* Bottom padding to addthis above articles */
.at-above-post.addthis_tool {
  padding-bottom: 10px;
}

.free-user .td-scroll-up-visible {
  bottom: 95px;
}

/*back to top on mobile*/
@media (max-width: 767px) {
  .td-scroll-up {
    display: block;
  }
  .free-user .td-scroll-up-visible {
    bottom: 60px;
  }
}

/*Mobile menu*/
.td-menu-socials-wrap {
  background-color: #4db2ec;
  color: #fff;
}
.td-mobile-container .td-mobile-close .td-icon-close-mobile {
  color: #fff;
}
.td-mobile-content li li a {
  color: #1e1e1e;
}

/*Social Icons*/
#td-mobile-nav .td-menu-socials-wrap .td-icon-font.td-icon-facebook,
.td-social-icon-wrap .td-icon-font.td-icon-facebook {
  color: #3b5998;
}
#td-mobile-nav .td-menu-socials-wrap .td-icon-font.td-icon-instagram,
.td-social-icon-wrap .td-icon-font.td-icon-instagram {
  color: #517fa4;
}
#td-mobile-nav .td-menu-socials-wrap .td-icon-font.td-icon-pinterest,
.td-social-icon-wrap .td-icon-font.td-icon-pinterest {
  color: #cb2027;
}
#td-mobile-nav .td-menu-socials-wrap .td-icon-font.td-icon-twitter,
.td-social-icon-wrap .td-icon-font.td-icon-twitter {
  color: #00aced;
}
#td-mobile-nav .td-menu-socials-wrap .td-icon-font.td-icon-youtube,
.td-social-icon-wrap .td-icon-font.td-icon-youtube {
  color: #bb0000;
}
.td-icon-font {
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff
}

/*fa5 icons for staff pages*/
.gnn-icon {
  display: inline-block;
  vertical-align: middle;
}
.gnn-icon svg {
  width:32px;
  height:32px;
  margin-right: 5px;
}
.gnn-icon-facebook svg {
  fill: #3b5998;
}
.gnn-icon-instagram svg {
  fill: #517fa4;
}
.gnn-icon-pinterest svg {
  fill: #cb2027;
}
.gnn-icon-twitter svg {
  fill: #00aced;
}
.gnn-icon-youtube svg {
  fill: #bb0000;
}
.gnn-icon-linkedin svg {
  fill: #0077b5;
}

/* User profile fields */
.tml-profile .jetpack-targetable,
.tml-profile .tml-user-contact-method-behance-wrap,
.tml-profile .tml-user-contact-method-blogger-wrap,
.tml-profile .tml-user-contact-method-delicious-wrap,
.tml-profile .tml-user-contact-method-deviantart-wrap,
.tml-profile .tml-user-contact-method-digg-wrap,
.tml-profile .tml-user-contact-method-dribbble-wrap,
.tml-profile .tml-user-contact-method-evernote-wrap,
/*.tml-profile .tml-user-contact-method-facebook-wrap,*/
.tml-profile .tml-user-contact-method-flickr-wrap,
.tml-profile .tml-user-contact-method-forrst-wrap,
.tml-profile .tml-user-contact-method-googleplus-wrap,
.tml-profile .tml-user-contact-method-grooveshark-wrap,
/*.tml-profile .tml-user-contact-method-instagram-wrap,*/
.tml-profile .tml-user-contact-method-lastfm-wrap,
.tml-profile .tml-user-contact-method-linkedin-wrap,
.tml-profile .tml-user-contact-method-mail-1-wrap,
.tml-profile .tml-user-contact-method-myspace-wrap,
.tml-profile .tml-user-contact-method-path-wrap,
.tml-profile .tml-user-contact-method-paypal-wrap,
/*.tml-profile .tml-user-contact-method-pinterest-wrap,*/
.tml-profile .tml-user-contact-method-reddit-wrap,
.tml-profile .tml-user-contact-method-rss-wrap,
.tml-profile .tml-user-contact-method-share-wrap,
.tml-profile .tml-user-contact-method-skype-wrap,
.tml-profile .tml-user-contact-method-soundcloud-wrap,
.tml-profile .tml-user-contact-method-spotify-wrap,
.tml-profile .tml-user-contact-method-stackoverflow-wrap,
.tml-profile .tml-user-contact-method-steam-wrap,
.tml-profile .tml-user-contact-method-stumbleupon-wrap,
.tml-profile .tml-user-contact-method-tumblr-wrap,
/*.tml-profile .tml-user-contact-method-twitter-wrap,*/
.tml-profile .tml-user-contact-method-vimeo-wrap,
.tml-profile .tml-user-contact-method-vk-wrap,
.tml-profile .tml-user-contact-method-windows-wrap,
.tml-profile .tml-user-contact-method-wordpress-wrap,
/*.tml-profile .tml-user-contact-method-youtube-wrap,*/
.tml-profile .tml-user-contact-method-yahoo-wrap
{
  display: none;
}

/* Woocommerce */
.woocommerce div.product div.images .flex-control-thumbs {
  padding-top: 4px;
}
.woocommerce-product-gallery--with-images .flex-control-thumbs li {
  padding: 4px
}
input[type=submit],
.single-product.single-product .product .summary .cart .button,
.woocommerce.woocommerce .product a.button,
.woocommerce.woocommerce .product #respond input#submit,
.woocommerce.woocommerce .checkout input#place_order,
.woocommerce.woocommerce .woocommerce.widget .button {
  background: #4db2ec;
}

/*zoom icon*/
.woocommerce div.product div.images .woocommerce-product-gallery__trigger img {
  display: none!important;
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger:before {
  content: inherit;
  display: block;
  border: 0;
  border-radius: 0;
  top: 10px;
  left: 10px;
  box-sizing: content-box;
  background: url('images/arrows-2.svg');
  background-size: cover;
  background-repeat: no-repeat;
  width: 16px;
  height: 16px;
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger:after {
  display: none;
}

.product-founder-info {
  border: 3px solid #4db2ec;
  padding: 21px 0;
  margin-bottom: 48px;
  margin-left: 0;
  margin-right: 0;
}
.product-founder-info p {
  margin-bottom: 0;
}
.td-pb-row [class*="td-pb-span"].product-founder-image {
  padding-left: 0;
}

/* Awebber signup post bottom */
.gnn-aweber-post-footer {
    padding-bottom: 25px;
}
#af-form-790813099gnnfoot, #af-form-790813099gnnfoot .quirksMode {
    width: 100%;
    max-width: 100%;
}
#af-form-790813099gnnfoot.af-quirksMode {
    overflow-x: hidden;
}
#af-form-790813099gnnfoot {
    background-color: #FFFFFF;
    border-color: #4db2ec;
    border-width: 1px;
    border-style: solid;
    border-radius: 5px;
    padding:5px;
}
.af-body input.image {
    border: none !important;
}
.af-body input.submit, .af-body input.image, .af-form .af-element input.button {
    float: none !important;
}
.af-body input.text {
    width: 100%;
    float: none;
    padding: 2px !important;
}
.af-body.af-standards input.submit {
    padding: 5px 4px;
}
.af-quirksMode .af-element {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.lbl-right .af-element label {
    text-align: right;
}

/*category filtering options and colour*/
.td-category-pulldown-filter .td-pulldown-filter-list li:nth-of-type(2),
.td-category-pulldown-filter .td-pulldown-filter-list li:nth-of-type(5),
.td-category-pulldown-filter .td-pulldown-filter-list li:nth-of-type(6) {
  display: none;
}
.td-category-header .td-category-pulldown-filter .td-pulldown-filter-display-option { /*.td-category-header .td-category-pulldown-filter .td-pulldown-filter-list*/
  background-color: #4db2ec;
}

/* Mobile cat menu
* https://iamsteve.me/blog/entry/horizontal-scrolling-responsive-menu
*/
.gnn-mobile-cat-nav {
  background: white;
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}
.gnn-mobile-cat-nav::-webkit-scrollbar {
  display: none;
}
.gnn-mobile-cat-nav ul {
  list-style-type:none
}
.gnn-mobile-cat-nav ul li {
  display:inline-block
}
.gnn-mobile-cat-nav ul li a {
  color: #777;
}
.gnn-mobile-cat-nav ul li.current-menu-item a {
  color: #4db2ec;
}
.home .gnn-mobile-cat-nav ul li.home-active-menu-item a {
  color: #4db2ec;
}
@media (max-width: 767px) {
  .page-template-page-pagebuilder-title .td-main-content-wrap,
  .page-template-default .td-main-content-wrap,
  .td_category_template_4 .td-category-header {
    padding-top: 52px;
  }
}

/*general helper classes*/
.hidden {
  display: none!important;
}
.float-right {
  float: right;
}
.ml-0 {
  margin-left: 0!important;
}
.mt-1 {
  margin-top: 1rem;
}
.mb-1 {
  margin-bottom: 1rem;
}
.mt-2 {
  margin-top: 2rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.bg-brand-blue {
  background-color: #4db2ec!important;
  color: #fff!important;
}
.no-cat-tag .td-post-category {
    display: none;
}
.w-100 {
    width: 100%;
}
.w-75 {
    width: 75%;
}
.w-50 {
    width: 50%;
}
.mw-25 {
    max-width: 25%;
}
.d-inline-block {
    display: inline-block;
}
.text-right {
    text-align: right;
}
.text-center {
    text-align: center;
}
.p-rel {
    position: relative;
}
.pull-left {
    float: left;
}

/*responsive classes from bootstrap 2 :( */
.visible-phone {
  display: none !important;
}

.visible-tablet {
  display: none !important;
}

.hidden-desktop {
  display: none !important;
}

.visible-desktop {
  display: inherit !important;
}
.td-subfooter-menu li.visible-desktop {
  display: inline-block !important;
}

@media (min-width: 768px) and (max-width: 979px) {
  .hidden-desktop {
    display: inherit !important;
  }
  .hidden-desktop.aligncenter {
    display: block !important;
  }
  .visible-desktop {
    display: none !important ;
  }
  .td-subfooter-menu li.visible-desktop {
    display: none !important;
  }
  .visible-tablet {
    display: inherit !important;
  }
  .hidden-tablet {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .hidden-desktop {
    display: inherit !important;
  }
  .hidden-desktop.aligncenter {
    display: block !important;
  }
  .visible-desktop {
    display: none !important;
  }
  .td-subfooter-menu li.visible-desktop {
    display: none !important;
  }
  .visible-phone {
    display: inherit !important;
  }
  .visible-phone.aligncenter {
    display: block !important;
  }
  .hidden-phone {
    display: none !important;
  }
}

/*ad placement*/
@media (min-width: 768px) {
  .desktop-left {
    float: left;
  }
}

/* ultimate gdpr stuff */
#field_1_2355 .gfield_label,
#field_1_2355 .gfield_checkbox li label {
  font-weight: 500;
  font-size: .813em;
  line-height: 1;
}
.comment-form-cookies-consent label {
  margin-left: 8px;
  position: relative;
  top: -1px;
}
/* Make cookie consent show above advert */
#ct-ultimate-gdpr-cookie-popup {
    z-index: 999999999;
}

/* Hide image edit links */
.td-module-thumb:hover .td-admin-edit {
    display: none;
}
.admin-bar .td-module-thumb:hover .td-admin-edit {
    display: block;
}

/* addthis spacing*/
.at-above-post {
  margin-top: 1rem;
}

/* Author archives */
.archive.author .author-box-wrap .desc {
  margin-left: 0;
}

.mr-0 {
  margin-right: 0!important;
}

/* Recaptcha */
  .grecaptcha-badge {
    visibility: hidden;
  }
.recaptcha-links {
  text-align: center;
  font-size: 10px;
  padding-top: 1rem;
}

.text-gold {
  color: #F8B243!important;
}

.td-post-template-7 .td-post-header .text-gold .entry-title a {
  color: #f8b243;
}

/*Addtoany*/
.a2a_kit.a2a_kit_size_32.a2a_floating_style.a2a_default_style {
  display: flex;
}

/** Sticky sidebar stuff */
@media screen and (min-width: 786px) {
  .sticky-ad-widget {
    position: sticky;
    top: 6rem;
  }

  /** pages we can add a class to the row */
  .sidebar-row .wpb_column.td-pb-span4 .wpb_wrapper,
  .sidebar-row .wpb_column.td-pb-span4 .wpb_wrapper .wpb_widgetised_column,
  .sidebar-row .wpb_column.td-pb-span4 .wpb_wrapper .wpb_widgetised_column .wpb_wrapper {
    height: 100%;
  }

  #td-outer-wrap {
    overflow: initial;
  }
}

/** publift
.single-post .td-a-rec.td-a-rec-id-content_inlineleft.td_block_template_1 {
  min-height: 280px;
}
**/

.free-user .a2a_default_style {
  padding-bottom: 60px;
}

/** 95 px on larger screens */
@media screen and (min-width: 769px) {
  .free-user .a2a_default_style {
    padding-bottom: 95px;
  }
}