/*
Theme Name:     Newspaper 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:        9.0c
*/

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

/*  ----------------------------------------------------------------------------
    Utility Classes
*/

@media (min-width: 768px) {
  .d-sm-flex {
    display: flex !important;
  }
}

/*  ----------------------------------------------------------------------------
    Home Page Category Posts
*/

.td-category-pos-image .td-post-category {
  top: 0;
  bottom: unset !important;
  padding: 5px 7px;
}

.td-category-pos-above .td-post-category {
  padding: 5px 7px;
}

/*  ----------------------------------------------------------------------------
    Custom Title
*/

.ps-reduced-margin-bottom .td-block-title {
  margin-bottom: 5px !important;
}

/*  ----------------------------------------------------------------------------
    Footer
*/

.td-footer-wrap .sub-menu,
.td-footer-wrap .td-cat-no {
  display: none;
}

/*  ----------------------------------------------------------------------------
    Social counters
*/

.td_social_type .td-social-box {
  background-color: #f1567a !important;
}

/*  ----------------------------------------------------------------------------
    Header
*/

@media (max-width: 480px) {
  .tdb_header_logo {
    max-width: 75%;
    margin-top: 5px;
  }
}

.tdb-aj-search {
  display: none !important;
}

/*  ----------------------------------------------------------------------------
    Mobile search
*/
.td-search-wrap-mob .td_module_mx2.td_module_wrap:nth-child(4) {
  display: none;
}

.td-search-wrap-mob .td_module_mx2 .td-module-thumb {
  max-height: 60px;
  overflow: hidden;
}

.td-search-wrap-mob #td-aj-search-mob .td_module_wrap .entry-title {
  font-weight: 700;
}

.td-search-wrap-mob #td-aj-search-mob .result-msg {
  margin: 20px auto 0;
  width: 60%;
}

.td-search-wrap-mob #td-aj-search-mob .result-msg a {
  display: block;
  text-align: center;
  width: auto;
  text-transform: uppercase;
  line-height: 50px;
  color: white;
  border: none;
  box-shadow: none;
  margin: 0;
  font-size: 17px;
  border-radius: 0;
  background-color: unset;
  opacity: 1;
  background-image: url(https://citychangers.org/wp-content/themes/newspaper-child/assets/images/btn-default.svg) !important;
  background-position: left center;
  background-size: cover;
}

/*  ----------------------------------------------------------------------------
    search empty results
*/

.search-no-results .vc_column .no-results {
  text-align: center;
}

/*  ----------------------------------------------------------------------------
    Single Post
*/

.single-post .tdb-bred-no-url-last {
  display: none;
}

.tdb-tags span {
  background-color: #fff !important;
  color: #000 !important;
  border: 1px solid #000;
  padding: 1px 8px 2px !important;
}

.tdb-tags a {
  background: #f1567a;
  color: #fff !important;
  border-color: #f1567a !important;
}

.td-social-handler .td-social-but-text:before {
  display: none;
}

.td-social-share-text:after {
  border-color: transparent transparent transparent #f1567a !important;
}

.single-post .td-social-handler .td-social-but-text,
.single-post .td-social-handler .td-social-but-icon {
  background: #f1567a;
  color: #fff;
  font-size: 14px;
}

.td-social-network .td-social-but-icon {
  background: #f1567a !important;
}

.single-post .cc-featured-image img {
  max-height: 650px;
  object-fit: cover;
}

.tdb-author-box {
  border-color: #000 !important;
}

.tdb-author-box.tdb_single_author_box img {
  border-radius: 50%;
}

.td-comments-title.td-block-title span {
  color: #000 !important;
}

.tdb-block-inner .wp-block-quote.wp-block-quote p {
  font-family: 'Cormorant Garamond', sans-serif !important;
  text-transform: none !important;
  font-style: italic !important;
  color: #000 !important;
  margin-bottom: 10px;
}

.tdb-block-inner .wp-block-quote.wp-block-quote cite {
  font-family: 'Source Sans Pro', sans-serif !important;
  color: #000 !important;
}

.single-post .td-post-content ul,
.wpb_text_column.tagdiv-type ul {
  list-style: none;
}

.single-post .td-post-content ul li,
.wpb_text_column.tagdiv-type ul li {
  margin-left: 14px;
  position: relative;
  line-height: 24px;
}

.single-post .td-post-content ul li:not([class])::before,
.wpb_text_column.tagdiv-type ul:not(.page-numbers) li:not([class])::before {
  content: '\2022';
  color: #f1567a;
  display: block;
  position: absolute;
  top: 11px;
  left: -14px;
  width: 19px;
  height: 19px;
  font-size: 26px;
  margin-top: -12px;
}

.single-post .td-post-content .wp-block-gallery .blocks-gallery-item {
  margin-left: 0;
}

/*  ----------------------------------------------------------------------------
    Teaser Element
*/

.tdm_block_column_content .tdm-title.tdm-title-md {
  margin-bottom: 10px;
}

.tdm_block_column_content .tdm-image-holder {
  margin-bottom: 0;
}

/*  ----------------------------------------------------------------------------
    Revolution Slider
*/

.tp-rightarrow.tparrows.custom,
.tp-leftarrow.tparrows.custom {
  background: transparent !important;
  display: none !important;
}

@media (min-width: 769px) {
  .tp-rightarrow.tparrows.custom,
  .tp-leftarrow.tparrows.custom {
    display: block !important;
  }
}

.tp-rightarrow.tparrows.custom:hover:before,
.tp-leftarrow.tparrows.custom:hover:before {
  transform: scale(1.1);
}

.tp-rightarrow.tparrows.custom:before,
.tp-leftarrow.tparrows.custom:before {
  content: '' !important;
  height: 40px;
  transition: transform 0.2s;
}

.tp-rightarrow.tparrows.custom:before {
  background: transparent url('assets/images/slider-arrow-next.svg') no-repeat center;
}

.tp-leftarrow.tparrows.custom:before {
  background: transparent url('assets/images/slider-arrow-prev.svg') no-repeat center;
}

/*  ----------------------------------------------------------------------------
    Podcast Player
*/
.podcast_player .mejs-controls {
  background: #f1567a !important;
}
.podcast_player .mejs-controls .mejs-time-current {
  background: #000000 !important;
}

/*  ----------------------------------------------------------------------------
    Profile Grid
*/
.pm-group-view .pm-section .pm-section-content .pm-user-description-row .pm-card-value {
  color: #000;
}

.pmagic .pm-login-box {
  margin: 20px 0;
}

.pmagic .pm-login-box .pm-login-box-error {
  background-color: #fafafa;
  color: #f1567a;
  font-size: 16px;
  border-color: #f1567a;
  font-weight: 700;
}

#pg_social_wrapper {
  text-align: left;
  margin: 0;
}

.pmagic .pm-login-box-bottom-container {
  text-align: left;
  padding-left: 5%;
}

.pmagic #member_search_in_grid {
  visibility: hidden;
}

.pm-login-box-bottom-container .pm-difr {
  float: none;
}

.pm-group-card-box.pm-dbfl.pm-border-bt {
  display: none;
}

.pm-user-card-title a,
.pm-user-description-row,
.pmagic .pm-profile-tab-wrap .pm-profile-tab a,
.pmagic .pm-add-friend,
.pmagic .mymenu #message_user,
.pmagic .pm_add_friend_request,
.pm-login-links-box,
.pm-field-lable,
.pm-group-view .pm-section .pm-section-content .pm-user-description-row .pm-card-label,
.pmagic-form input,
.pm-radio-option,
.pm-my-friends,
.pg-member-search,
#member_search_grid,
#pg_social_wrapper .pg-social-btn a {
  font-size: 16px !important;
}

.pmagic input[type='submit'] {
  background-color: #f1567a;
}

.pmagic input[type='submit']:hover {
  background-color: #000;
}

.pmagic .pm-login-box-bottom-container .pm-login-links-box {
  width: auto;
}

.pmagic .pmagic-form .pmrow .errortext {
  color: red;
  font-size: 14px !important;
}

.pmagic .pmagic-form .pmrow .g-recaptcha + .errortext {
  text-align: center;
}

.tagdiv-type .pm-member-pagination-grid ul.page-numbers li {
  margin-bottom: 10px;
  font-size: 20px;
}

.tagdiv-type .pm-member-pagination-grid ul.page-numbers li span {
  line-height: 35px;
}

/*  ----------------------------------------------------------------------------
    The events calendar
*/	
:root { 
  --tec-color-accent-primary: #f1567a; 
  --tec-color-text-secondary: #f1567a;
  --tec-font-family-sans-serif: 'Cormorant Garamond', sans-serif;
  --tec-color-background-events-bar-submit-button: #f1567a;
  --tec-color-button-primary: #f1567a;
  --tec-font-size-3: 15px;
  --tec-line-height-3: normal;
}

.tribe-events-single .tribe-events-sub-nav .tribe-events-nav-previous a:before {
  background: none;
  content: '«';
  position: relative;
  top: -5px;
  font-size: 15px;
  margin: 0;
}
.tribe-events-single .tribe-events-sub-nav .tribe-events-nav-previous a:focus:before, .tribe-events-single .tribe-events-sub-nav .tribe-events-nav-previous a:hover:before {
  background: none;
}
.tribe-events-single .tribe-events-sub-nav .tribe-events-nav-next a:focus:after, .tribe-events-single .tribe-events-sub-nav .tribe-events-nav-next a:hover:after {
  background: none;
}
.tribe-events-single .tribe-events-sub-nav .tribe-events-nav-previous a:before {
  background: none;
  content: '«';
  position: relative;
  top: -5px;
  font-size: 15px;
  margin: 0;
}
.tribe-events-event-meta dt {
  font-weight: 700;
}
.tribe-events-single .tribe-events-sub-nav .tribe-events-nav-next a:after {
  background: none;
  content: '»';
  position: relative;
  top: -5px;
  font-size: 15px;
  margin: 0;
}
.tribe-events-single .tribe-events-sub-nav .tribe-events-nav-next, .tribe-events-single .tribe-events-sub-nav .tribe-events-nav-previous {
  font-weight: 700;
}

#tribe-events-pg-template {
  max-width: 1260px;
}

.tribe-events .tribe-events-c-ical__link {
  display: none;
}

.tribe-events .tribe-events-c-search__button,
.tribe-events .tribe-events-calendar-month__multiday-event-bar-inner,
.tribe-events .tribe-events-calendar-month__multiday-event-bar-inner:hover,
.tribe-events .tribe-events-calendar-month__multiday-event-bar-inner:focus {
  background-color: #f1567a;
}

.tribe-events .tribe-events-c-search__button:hover,
.tribe-events .tribe-events-c-search__button:focus,
.tribe-events .tribe-events-c-search__button:active {
  background-color: #f1567a;
  opacity: 0.8;
}

.tribe-events .tribe-common-c-svgicon,
.tribe-events .tribe-events-calendar-day__event-title a,
.tribe-events .tribe-events-calendar-list__event-title a,
.tribe-events .tribe-events-c-messages__message-list-item-link,
.tribe-events .tribe-events-c-messages__message-list-item-link:hover,
.tribe-events .tribe-events-c-messages__message-list-item-link:focus,
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-datetime-featured-text,
.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-daynum,
.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-daynum a,
.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-daynum a:hover,
.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-title-link.tribe-common-anchor,
.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-title-link:hover {
  color: #f1567a;
}

.tribe-events .tribe-events-c-messages__message-list-item-link {
  border-bottom: none;
}

.tribe-events .tribe-events-calendar-day__event-title a:hover,
.tribe-events .tribe-events-calendar-day__event-title a:focus,
.tribe-events .tribe-events-calendar-list__event-title a:hover,
.tribe-events .tribe-events-calendar-list__event-title a:focus,
.tribe-events .tribe-events-c-messages__message-list-item-link:hover,
.tribe-events .tribe-events-c-messages__message-list-item-link:focus,
.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-title-link:hover,
.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-title-link:focus {
  border-bottom: 2px solid #f1567a;
}

.tribe-events .tribe-events-calendar-month__mobile-events-icon--event,
.tribe-events .tribe-events-c-events-bar__search-button.tribe-events-c-events-bar__search-button--active:before,
.tribe-events .tribe-events-c-view-selector__button.tribe-events-c-view-selector__button--active:before,
.tribe-events
  .tribe-events-calendar-list__event-row--featured
  .tribe-events-calendar-list__event-date-tag-datetime:after,
.tribe-events
  .tribe-events-calendar-month__day-cell.tribe-events-calendar-month__day-cell--mobile.tribe-events-calendar-month__day-cell--selected {
  background-color: #f1567a;
}

.tribe-events
  .tribe-events-calendar-month__day-cell--mobile.tribe-events-calendar-month__day-cell--selected.tribe-events-calendar-month__mobile-events-icon--event {
  background-color: #ffffff;
}

.tribe-events .tribe-events-calendar-month__multiday-event-bar-title,
.tribe-events
  .tribe-events-calendar-month__day-cell--mobile.tribe-events-calendar-month__day-cell--selected
  .tribe-events-calendar-month__day-date
  .tribe-events-calendar-month__day-date-daynum {
  color: #ffffff;
}

.tribe-events .datepicker .active,
.tribe-events .datepicker .focused {
  background: #f1567a !important;
}

.single-tribe_events .tribe-events-single-event-title {
  font-family: Helvetica, Arial, sans-serif !important;
  font-weight: 600;
  font-size: 46px;
  line-height: 51px;
  color: #111111;
}

.single-tribe_events .tribe-events-cal-links .tribe-events-gcal,
.single-tribe_events .tribe-events-cal-links .tribe-events-ical,
.single-tribe_events .tribe-events-cal-links .tribe-events-gcal:hover,
.single-tribe_events .tribe-events-cal-links .tribe-events-ical:hover {
  color: #f1567a;
}

.single-tribe_events .tribe-events-single-section {
  background: none;
  border: none;
  width: 100%;
}

.single-tribe_events .tribe-events-single-section .tribe-events-meta-group {
  padding-left: 0;
  font-size: 16px;
  line-height: 20px;
}

.single-tribe_events .tribe-events-single-section .tribe-events-meta-group.tribe-events-meta-group-gmap {
  flex-basis: 100%;
}

@media (min-width: 768px) {
  .tribe-events-venue-map {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .tribe-events-venue-map>div, .tribe-events-venue-map>iframe {
    max-height: 370px;
  }
}


.single-tribe_events .tribe-events-abbr.tribe-events-start-date,
.single-tribe_events .tribe-events-abbr.tribe-events-end-date,
.single-tribe_events .tribe-events-abbr.tribe-events-start-datetime,
.single-tribe_events .tribe-events-abbr.tribe-events-end-datetime {
  text-decoration: none;
}

.single-tribe_events .tribe-events-cost {
  display: none !important;
}

.single-tribe_events .tribe-address {
  font-style: normal;
  font-weight: 600;
}

.single-tribe_events p {
  font-weight: 400;
}

.single-tribe_events .tribe-events-schedule {
  background: none;
  border: none;
  padding: 12px 0;
}

@media (max-width: 768px) {
  .single-tribe_events .tribe-events-nav-pagination li a {
    background: #f1567a;
  }
}

/*  ----------------------------------------------------------------------------
    Learndash
*/
.learndash-cpt .entry-title a {
  font-family: Helvetica, Arial, sans-serif !important;
  font-weight: 600;
  font-size: 46px;
  line-height: 51px;
  color: #111111;
}

.learndash-cpt .td-post-author-name,
.learndash-cpt .author-box-wrap {
  display: none;
}

.learndash-cpt .entry-thumb {
  max-height: 650px;
  object-fit: cover;
}

/*  ----------------------------------------------------------------------------
    Profilegrid Mailchimp
*/
.registration .pmagic-form .pg-mailchimp-wrap {
  max-width: 60%;
  margin-left: 0;
}

@media (max-width: 760px) {
  .registration .pmagic-form .pg-mailchimp-wrap {
    max-width: 75%;
  }
}

@media (max-width: 700px) {
  .registration .pmagic-form .pg-mailchimp-wrap {
    max-width: 100%;
  }
}

.registration .pmagic-form .pg-mailchimp-box {
  background: none;
  border: none;
  padding: 0;
}

.registration .pmagic-form .pg-right-mailchimp-text {
  color: #222222;
  font-size: 16px;
}

/* Newsletter headline */
.registration .pmagic-form .pmrow:nth-last-child(4) {
  width: 23%;
  margin-left: 4%;
  margin-right: 3%;
}

@media (max-width: 760px) {
  .registration .pmagic-form .pmrow:nth-last-child(4) {
    margin-left: 0px;
    margin-right: 1%;
  }
}

@media (max-width: 700px) {
  .registration .pmagic-form .pmrow:nth-last-child(4) {
    width: 100%;
  }
}

.anr_captcha_field {
  padding: 0px 10px 19px 10px;
}

@media (max-width: 768px) {
  .anr_captcha_field {
    padding: 0 0 19px 0;
  }
}
