/*
Theme Name:     Newspaper Child theme
Description:    Child theme of Newspaper for Cayman Compass
Author:         author
Template:       Newspaper                             
Version:        6.0c
*/


/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/
/* LOGO alignment fix */
@media (min-width: 1141px) {
  .td-header-style-1 .td-header-sp-logo {
    margin: 28px 56px 9px 0;
  }
}
/* MOST POPULAR AND COMMENTED WIDGET (WPP) */
.wpp-post-title {
    font-family: 'Open Sans Condensed', sans serif;
    color: #111 !important;
    font-size: 17px;
}
.wpp-list li {
    line-height: 20px !important;
    margin-bottom: 30px !important;
    margin-left: 0 !important;
}
.wpp-list a:hover {
    text-decoration: none !important;
    color: #00aeef !important;
}
.wpp-comments {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: #666;
    display: block
}
.wpp-thumbnail {
  margin: 0 15px 0 0 !important;
}


/*  FIX FOR FONT IN PUGINS */
body, p {
  font-family: Georgia,Times,"Times New Roman",serif !important;
}
/* PUT ALL TITLES TO ONE FONT */
h1, h2, h3, h4 {
    font-family: 'Open Sans Condensed', sans-serif !important;
    font-weight: bold;
}
/* BLOCK HEADER BLACK TITLE BAR FONT */
.block-title > span {
 font-family: 'Open Sans', sans-serif !important;
}
/* BLOCK TITLE FONT - using Theme Fonts does not work correctly  */
.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-related-title a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a,
.woocommerce .product .products h2,
.td-big-grid-meta .td-post-category,
.td_module_wrap .td-post-category,
.td-module-image .td-post-category {
   font-family: "Open Sans" !important;
   font-weight: bold;
}
/* EVENT CALENDAR TWEAKS */
.tribe-events-list .type-tribe_events h2, .tribe-events-list h2.tribe-events-page-title {
    font-family: 'Open Sans Condensed' !important;
}
#tribe-events-content a:hover {
 color: #00aeef;
}
/* full width button */
.submit-event-button-full-width {
  width: 100%;
  color: #222;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
  background: #e0e0e0;
  padding: 15px;
}
.submit-event-button-full-width:hover {
  background: #00AEEF;
  color: #FFF;
  text-decoration: none;
}

/* REMOVE MARGIN FROM EMPTY AD SPOTS (ie. EXPIRED ADS ON SECTION PAGES) */
.wpb_raw_code:empty {
    display: none;
}
/* ADD TEXT SHADOW FOR IMAGE CAPTIONS IN POPUP VIEW */
.mfp-title {
    text-shadow: 1px 1px #333;
}
/* TEMP FIX FOR LAUNCH FOR SMALLER IMAGES IN HOME PG FEATURED GALLERIES */
/* COULD REMOVE FEW WEEKS AFTER LAUNCH AS IT COULD BE STRETCHING IMAGES */
.td-big-grid-post .td-module-thumb img {
    min-width: 100%;
    height:auto;
}
.td_module_mx1 .td-module-thumb img {
    min-width: 100%;
    height:auto;
} 
/* END REMOVE AFTER LAUNCH AS IT COULD BE STRETCHING IMAGES */
/* CUSTOM TEXT BLOCK TO LOOK LIKE THEME ARTICLE LIST - EX. ON BUSINESS PG */
.section-pg-custom-stories h3 {
    font-family: "Open Sans Condensed";
    color: #111111;
    font-size: 21px;
    line-height: 25px;
    margin-bottom: 10px;
}
.section-pg-custom-stories h3 a {
    color: #111111;
}
.section-pg-custom-stories h3 a:hover {
    color: #00aeef;
    text-decoration: none;
}
.section-pg-custom-stories p {
    font-size: 13px;
    color: #777;
    line-height: 21px;
}
/* SIDEBAR AD LAYOUT FIX */
.sidebar-ad-compass-fix {
    max-width: 300px !important; margin: 0 auto 20px !important;
}
/* SUBTITLE COLOR  */
.td-post-sub-title {
    color: #555 !important;
}
/* GRAVITY FORMS CONFIRMATION MESSAGES */
.gform_confirmation_wrapper {
    font-size: 24px;
    margin-bottom: 60px;
    color: #00AEEF;
    font-weight: bold;
}
.gform_confirmation_message_8 {
    font-size: 16px;
}
/* FIX FOR IMPORTED STORIES IMAGES */
.StoryImages.OrientationLargeVertical, .StoryImages.OrientationLargeHorizontal {
  background: #EEE;
  padding: 20px 20px 40px;
  margin-bottom: 20px;
}
.StoryLargeHomepageImage {
  background: #222;
  padding: 20px;
  margin-bottom: 20px;
}
.StoryLargeHomepageImage img {
  margin: 0 auto;
}
.StoryImages.OrientationLargeVertical img, .StoryImages.OrientationLargeHorizontal img {
  margin: 20px auto 10px;
}
/* FIX FOR AUTOMATICALLY-ADDED P tags in WP for imported articles */
.StoryImages.OrientationLargeVertical p, .StoryImages.OrientationLargeHorizontal p {
  font-size: 1px; 
  margin: 40px 0 0;
} 
.TheImageCaption {
  text-align: center;
  font-style: italic;
}
.TheImageCredit {
  text-align: center;
  font-size: 11px;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 11px;
  color: #AAA;
  margin-bottom: 20px;
}
/* FIX BOTTOM SPACE FOR SIDEBAR ADS ON HOME PAGE */
.homepage-sidebar-ad {
  padding-bottom: 30px;
}
/* FIX FOR SECTION HOME TOP BANNER ADS RESPONSIVE LAYOUT */
.td-all-devices.section-home-ad {
    display: block;
    width: 970px;
    max-width:100%;
    height:auto;
}
/* FIX FOR RESPONSIVE IN-ARTILE AD */
.td-all-devices.ad-iframe-holder {
    position:relative;
    max-width:100%;
}
.td-all-devices.in-article-lb-ad {
    display: block;
    position:relative;
    width: 100%;
    max-width:100%;
    height:auto;
    overflow: hidden;
}
.td-all-devices.in-article-lb-ad iframe {
    width: 698px;
    max-width:100%;
    height:auto;
    max-height: 90px;
}
/* ADD CLASS FOR STAFF BIO PAGE JOB TITLE */
.staff-job-title {
    font-family: "Open Sans Condensed";
    font-size: 17px;
    line-height: 24px;
    margin-bottom: 7px;
    font-weight: 500;
}
/* FIX IMPORTED STORIES - DIV TAG ELIMINATES BOTTOM SPACING */
.StoryText {
    margin-bottom: 20px;
}
.td-post-content h2 {
    font-size: 24px;
}
/* DARKEN DROPSHADOW ON WHITE TEXT TITLES OVER TOP STORY IMAGES */
.td-big-grid-post .entry-title a {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7) !IMPORTANT;
}
/* ADD BLACK BG BEHIND TOP STORIES */
/*  .td-big-grid-post .td-module-thumb {
    background-color: #111 !important;
}  */ 
/* REDUCE BLACK GRADIENT OVERLAY ON TOP STORIES */
.td-grid-style-1 .td-module-thumb a:last-child::before {
   background: transparent linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.7) 100%) repeat scroll 0% 0% !important;
}
/* REDUCE BLACK GRADIENT OVERLAY ON LIFESTYLE AND SPORTS MX1 MODULE */
.td_module_mx1 .td-module-thumb a:last-child::before {
      background: transparent linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.7) 100%) repeat scroll 0% 0% !important;
}
/* FIX VERY LIGHT TEXT and OUTLINES */
.entry-crumbs, .entry-crumbs a, .td-post-next-prev-content span {
    color: #666 !important;
}
.td-load-more-wrap a {
    color: #666 !important;
}
.td_ajax_load_more {
border: 1px solid #666 !important;
}
.td_ajax_load_more:hover {
border: 1px solid #00AEEF !important;
}
.td-load-more-wrap a:hover {
color: #fff !important;
}
.td-next-prev-wrap a {
color: #666 !important;
border: 1px solid #666 !important;
}
.td-next-prev-wrap a:hover {
color: #fff !important;
border: 1px solid #00AEEF !important;
}
.td-trending-now-wrapper .td-next-prev-wrap a:hover {
border: 1px solid #8A052E !important;
}
.page-nav a {
border: 1px solid #666 !important;
}
/* REGISTRATION PAGE CALENDAR */
.ui-datepicker-header {
  COLOR: #444 !IMPORTANT;
}
/* TRENDING NOW font adjust */
.td-trending-now-title {
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
}
/* GRAVITY FORMS add spacing to fields  */
.gform_wrapper form li, .gform_wrapper li {
  margin-bottom: 30px;
}
/* GRAVITY FORMS NAME SUFFIX AND FIELDS ALIGNMENT  */
/* .ginput_complex.ginput_container.has_first_name.no_middle_name.has_last_name span {
  display: block !important;
} */
/* CHANGE BIG GRID HOVER ZOOM EFFECT */
.td-grid-style-1.td-hover-1 .td-big-grid-post:hover .td-module-thumb .entry-thumb {
    transform: scale3d(1.03, 1.03, 1) rotate(0.02deg);
    -webkit-transform: scale3d(1.03, 1.03, 1) rotate(0.02deg) !important;
    -moz-transform: scale3d(1.03, 1.03, 1) rotate(0.02deg) !important;
}