/*

Theme Name: Neil Strauss
Theme URI: http://www.neilstrauss.com/
Author: Robert Klubenspies
Author URI: http://klubenspies.com/
Description: Child theme for NeilStrauss.com.
Version: 1.0.0
Template: x

*/

/* Make Neil's logo signature, as well as social media icons in footer, smaller on mobile */
@media (max-width: 767px) {
  .x-brand.img img {
    max-width: 200px;
  }

  .x-social-global a i {
    font-size: 70%;
  }
  
  .x-social-global a {
    padding: 0;
    line-height: 40px !important;
    width: 40px !important;
    height: 40px !important;
  }
}

/* Makes full-width posts a little skinnier on large screens */
body.single-post.x-full-width-layout-active.x-full-width-active div.x-container div.x-main {
    max-width: 960px !important;
    margin-left: auto;
    margin-right: auto;
}

/* Makes the empty header on pages disappear */
body header.x-header-landmark { display: none !important; }

/* Custom CSS for Homepage */
.home-cover {
  background-position: top right;
}

.cover-quote {
  font-size: 32px;
  font-weight: bold;
  margin-top: -20px;
  margin-bottom: -35px;
  padding-top: 0px;
  border: none;
}

.cover-quote cite {
  margin-top: 5px;
  font-size: 20px;
  font-style: italic;
  font-family: Cambria, Georgia, serif;
}

.cover-endorsements {
  /*border-top: 1px #777 dashed;
  border-bottom: 1px #777 dashed;*/
  margin-top: 50px;
  padding: 40px 40px 0px 40px;
}

.cover-endorsements .x-block-grid-item {
  margin-top: -10px;
}

.cover-newsletter h3 {
  color: #fff;
  font-weight: 800;
  padding: 0px;
  margin: 15px 0px 30px 0px;
}

.learn-subtitle {
  font-style: italic;
  color: rgba(46,46,46,0.6);
  padding: 0px 0px 20px 0px;
  margin: 0px;
}

.learn-title {
  font-weight: 800;
  padding: 0px;
  margin: 0px 0px 50px 0px;
}

.about-neil-caption {
  font-size: 14px;
}

.about-neil-headline {
  padding-bottom: 30px;
}

.about-neil-headline span::before, .about-neil-headline span::after {
  background-color: #2c3e50 !important;
}

.inner-circle-feature {
  text-transform: none;
  padding: 0px;
}

/* For Most Popular/First Time box below homepage top opt-in */
/* Green box colors were #00952A and #007320 */
/* Cream box colors were #e1dbd3 and #d4cbbe */
/* Grey box colors were #e1e1e1 and #d0d0d0 */
div.popular-band {
  background: #e1dbd3;
  color: #000;
  padding: 20px;
  border: 8px #d4cbbe solid;
  font-size: 16pt;
}

div.popular-band h3 {
  color: #000;
  margin: 0;
  padding: 0 0 10px 0;
}

div.popular-band p.article {
  margin: 0;
  padding: 0;
}

div.popular-band p.comments {
  margin: 0;
  padding: 0 0 10px 0;
  font-size: 13pt;
  font-style: italic;
}

div.popular-band a {
  color: #000;
  font-weight: bold;
}

div.popular-band a:hover {
  text-decoration: underline;
}

div.popular-band .x-block-grid, div.popular-band .x-block-grid>li {
  margin: 0;
  padding: 0;
}

div.popular-band .x-block-grid>li.most-popular {
  width: 48%;
  border-right: 2px #d4cbbe solid;
  margin-right: 5%;
}

div.popular-band .x-block-grid>li.first-time {
  width: 47%;
}

div.popular-band .x-block-grid>li.first-time p {
  margin: 0;
  padding: 0 0 15px 0;
}

/* For Most Popular Articles sidebar box on Blog page */
div.popular-sidebar {
  background: #e1dbd3;
  color: #000;
  padding: 15px;
  margin-bottom: -20px;
  border: 8px #d4cbbe solid;
  font-size: 13pt;
}

div.popular-sidebar h3 {
  color: #000;
  font-size: 20pt;
  margin: 0;
  padding: 0 0 15px 0;
}

div.popular-sidebar p.article {
  margin: 0;
  padding: 0;
}

div.popular-sidebar p.comments {
  margin: 0;
  padding: 0 0 10px 0;
  font-size: 11pt;
  font-style: italic;
}

div.popular-sidebar p.first-time {
  padding-top: 10px;
  text-align: center;
}

div.popular-sidebar a {
  color: #000;
  font-weight: bold;
}

div.popular-sidebar p.first-time a {
 color: #8d0000;
}

div.popular-sidebar a:hover {
  text-decoration: underline;
}

/* For opt-in lead magnet cards on homepage used in place of flip cards */
div.homepage-card {
  display: block;
  border-width: 8px 8px 8px 8px;
  border-style: solid;
  border-color: #2772a4;
  color: #ffffff;
  background-color: #3498db;
  padding: 20px 20px;
  margin: 0 0 20px 0 !important;
}

div.homepage-card div.icon {
  text-align: center;
}

div.homepage-card div.icon i.x-icon {
  margin: 0;
  font-size: 36px;
  color: #99cbed;
  text-align: center;
}

div.homepage-card h4.heading {
  font-family: Oswald, 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 24pt;
  color: #fff;
  margin: 0;
  padding: 0 0 5px 0;
  text-align: center;
}

div.homepage-card p.subheading {
  font-weight: bold;
  font-size: 14pt;
  margin: 0;
  padding: 0 0 5px 0;
  text-align: center;
}

div.homepage-card p.description {
  text-align: center;
  margin: 0;
  padding: 0 0 20px 0;
}

div.homepage-card a.x-btn {
  font-family: Oswald, 'Helvetica Neue', Helvetica, sans-serif;
  margin: 0 0 5px 0;
}

div.homepage-card p.under-button {
  font-size: 12pt;
  text-align: center;
  margin: 0;
  padding: 0;
}

/* Makes links in footer white */
footer div ul li a:link, footer div ul li a:visited { color: #fff; }
footer div ul li a:hover ( color: #fff; }

/* Make JetPack Sharing prettier */
div.sharedaddy h3.sd-title::before {
  border-top: none !important;
  margin-bottom: 0.5em !important;
}

div.sharedaddy div.sd-sharing h3.sd-title {
  font-size: 24pt;
  margin: 0 0 .7em;
}

div.sharedaddy div.sd-sharing div.sd-content ul {
  margin: 0 0 2em !important;
}

div.sharedaddy div.sd-sharing div.sd-content ul li a.sd-button::before {
  font: 400 32px/1 Genericons;
}

.sd-social-icon .sd-content ul li[class*=share-] a {
  padding: 12px;
}

/* Make Click to Tweet formatting nicer */
div.tm-click-to-tweet {
  margin: 15px 0px 45px 0px;
}

div.tm-click-to-tweet div.tm-ctt-text a {
  font-family: "Lato","Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 160%;
  font-weight: 400;
  letter-spacing: 0.0em;
  color: #8d0000;
}

div.tm-click-to-tweet a.tm-ctt-btn {
  font-size: 18px;
  background: transparent url(http://www.neilstrauss.com/wp-content/plugins/click-to-tweet-by-todaymade/assets/img/twitter-little-bird.png) no-repeat right;
}

/* Make margins narrower on full width post pages */
body.single-post.x-full-width-layout-active.x-full-width-active div.site div.x-container div.x-main.full {
  max-width: 800px !important;
}

/* Make titles on full width posts prettier */
body.single-post.x-full-width-layout-active.x-full-width-active div.site div.x-container div.x-main.full article div.entry-wrap header.entry-header h1.entry-title:before {
  display: none;
}

body.single-post.x-full-width-layout-active.x-full-width-active div.site div.x-container div.x-main.full article div.entry-wrap header.entry-header h1.entry-title {
  font-size: 350%;
  line-height: 1.2;
  text-align: center;
}

body.single-post.x-full-width-layout-active.x-full-width-active div.site div.x-container div.x-main.full article div.entry-wrap header.entry-header p.p-meta {
  margin-top: 16px;
  text-align: center;
}

body.single-post.x-full-width-layout-active.x-full-width-active div.site div.x-container div.x-main.full article div.entry-wrap header.entry-header p.p-meta span:nth-child(3) {
  display: none;
}

body.single-post.x-full-width-layout-active.x-full-width-active div.site div.x-container div.x-main.full article div.entry-wrap div.entry-content.content p {
  font-size: 1.1em;
  line-height: 1.7;
}

/* Make certain post thumbnails transparent */
body.transparent-thumb div.entry-featured {
  border: none;
}

body.transparent-thumb div.entry-featured div.entry-thumb {
  background: none;
}