/*
Theme Name: Independent Publisher Child
Theme URI: http://independentpublisher.net/wp-theme/
Author: Raam Dev
Author URI: http://raamdev.com
Description: A clean minimal theme for independent publishers. Ideal for single-author blogs.
Template: independent-publisher
Version: 1.4.4.1
License: GNU GPLv3
License URI: http://www.gnu.org/copyleft/gpl.html
Tags: light, white, blue, two-columns, left-sidebar, flexible-width, custom-background, custom-colors, custom-menu, editor-style, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready

GitHub Theme URI: raamdev/independent-publisher-child
GitHub Theme URI: https://github.com/raamdev/independent-publisher-child

Based on _s http://underscores.me
and Publish by Konstantin Kovshenin http://kovshenin.com/themes/publish

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/

/* =Imports styles from the parent theme
-------------------------------------------------------------- */
@import url('../independent-publisher/style.css');

/* =Theme customization starts here
-------------------------------------------------------------- */

/**
 * Contains CSS for modifying plugin styles
 */

/* Blockquote tweaks */
blockquote cite:before {
	content: "";
}

blockquote { font-style: none; font-family: inherit; }

/* Simplify Aside Post Format; makes the text look like regular posts */
.format-aside {
    font-size: inherit;
    font-style: inherit;
    line-height: inherit;
}

.single .format-aside .entry-content,
.single .format-quote .entry-content {
  margin-top: 6em;
  margin-bottom: 6em;
  padding-bottom: 0;
}

@media only screen and (max-width: 500px) {
  .single .format-aside .entry-content,
  .single .format-quote .entry-content {
    margin-top: 6em;
    margin-bottom: 6em;
    padding-bottom: 0;
  }
}

/* Lighten the default border color that separates entries */

.blog article, .archive article, .search article {
  border-bottom: solid 1px #F5F5F5;
}

/* Re-add the space that's removed from the top of the first post (doesn't look right with Asides) */

article.first-post {
  margin-top: auto;
  padding-top: 40px;
}

/* Don't style links in Trackbacks or Pingbacks; I'd rather these not stand out.
   (.webmention p a {} is intentionally left out here as Webmentions contain minimal formatting
*/
.trackback p a,
.pingback p a {
  color: black;
  text-decoration: none;
}

/* Increase content font size for asides and quotes on mobile devices */
@media only screen and (max-width: 500px) {
  .format-aside .entry-content,
  .format-quote .entry-content {
    font-size: inherit;
  }
}

/* Clean up home page nav on mobile devices */
@media only screen and (max-width: 500px) {
  .home #masthead .site-logo { float: none; }
  .home #masthead .site-logo img, .single-column-layout #masthead .site-logo img { max-width: 50%; }
  .home #masthead .site-navigation { margin-left: 0; }
  .home #masthead .site-title, .single-column-layout #masthead .site-title { font-size: 30px; }
  .home #masthead .main-navigation li { display: block; padding-top: 10px; padding-bottom: 10px; }
  .home #menu-item-19389 { display: none !important; }
}

/* Use default author card sizes under 1200px */
@media only screen and (max-width: 1200px) {
  .site-description {
    font-size: 13px;
  }

  .site-published-date {
    font-size: 12px;
    line-height: 2;
  }

  .site-published-location {
    font-size: 12px;
  }
}

/* Increase author card fonts slightly for mobile devices */
@media only screen and (max-width: 768px) {
  .site-description {
    font-size: 15px;
  }

  .site-published-date {
    font-size: 14px;
    line-height: 3;
  }

  .site-published-location {
    font-size: 14px;
  }
}

/* Fix button style for Jetpack contact form. */
.wp-block-button__link {
	padding: 0px 15px 0px 15px;
}

/* Social buttons */
ul.social-icons { max-width: 60%; padding: 0; float: right; list-style: none; margin-top: 7px; }
ul.social-icons li { float: left; margin-right: 12px; padding: 0; }
ul.social-icons svg { width: 20px; }
div.social-permalink { font-size: 12px; }
.social-permalink a, .social-permalink a:visited, .social-permalink a:hover, .social-permalink a:focus, .social-permalink a:active { color: #000000; }

/* Hide the "Comments are closed." message. */
.nocomments { display: none; }

/* Body style */
.show-full-content-first-post h1.entry-title, .show-full-content-first-post-sticky h1.entry-title { font-size: 1.9em; }
h1 { font-size: 1.9em; }
select { padding: 5px !important; }

/* Remove hypenation */
.entry-content, .entry-summary, .widget-area .widget, .comment { hyphens: none; }

/* Decrease overall width of site */
.site, .site-content, .site-footer { max-width: 650px; } 

/* Comments tweaks */
.comment .reply a { padding: 5px; }
ol.commentlist { font-size: 100%; }

/* Tweak entry title meta */
.single .entry-title-meta .entry-title-meta-post-date-permalink { display: none; }
.home .entry-title-meta { display: none; }
.entry-title-meta { letter-spacing : 0; }

/* Nav menu tweaks */
.site-header-info { display: none; }
.single-column-layout .site-header { text-align: left; }

.home .site-header-info { display: block; }
.home.single-column-layout .site-header { text-align: center; }
.home #menu-item-19389 { display: none; }
.main-navigation a { padding: 5px; }

/* Entry Meta tweaks */
.entry-meta a { padding: 5px; }
.single-column-layout .entry-meta { padding-top: 10px; }

/* YARPP Related Posts style overrides */
.yarpp-related h3 {
  color: #b3b3b1;
  text-transform: uppercase !important;
  font-weight: 100 !important;
  font-size: 13px !important;
  letter-spacing: 1px;
  border-top: 1px solid #eee;
  padding-top: 10px !important;
  display: inline-block;
  font-family: sans-serif;
  margin-bottom: 15px !important;
}

.yarpp-related {
  padding-bottom: 50px;
}

.yarpp-related ul {
  margin-left: 1.5em;
}

.yarpp-related a {
  font-weight: normal !important;
}

/* MailChimp style tweaks */
#mc_embed_signup form {display:block; position:relative; text-align:left; padding:10px 0 10px 3%}
#mc_embed_signup h2 {font-weight:bold; padding:0; margin:15px 0; font-size:1.4em;}
#mc_embed_signup input {border: 1px solid #ABB0B2; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;}
#mc_embed_signup input[type=checkbox]{-webkit-appearance:checkbox;}
#mc_embed_signup input[type=radio]{-webkit-appearance:radio;}
#mc_embed_signup input:focus {border-color:#333;}
#mc_embed_signup .button {clear:both; background-color: #aaa; border: 0 none; border-radius:4px; transition: all 0.23s ease-in-out 0s; color: #FFFFFF; cursor: pointer; display: inline-block; font-size:15px; font-weight: normal; height: 32px; line-height: 32px; margin: 0 5px 10px 0; padding: 0 22px; text-align: center; text-decoration: none; vertical-align: top; white-space: nowrap; width: auto;}
#mc_embed_signup .button:hover {background-color:#777;}
#mc_embed_signup .small-meta {font-size: 11px;}
#mc_embed_signup .nowrap {white-space:nowrap;}

#mc_embed_signup .mc-field-group {clear:left; position:relative; width:96%; padding-bottom:3%; min-height:50px;}
#mc_embed_signup .size1of2 {clear:none; float:left; display:inline-block; width:46%; margin-right:4%;}
* html #mc_embed_signup .size1of2 {margin-right:2%; /* Fix for IE6 double margins. */}
#mc_embed_signup .mc-field-group label {display:block; margin-bottom:3px;}
#mc_embed_signup .mc-field-group input {display:block; width:100%; padding:8px 0; text-indent:2%;}
#mc_embed_signup .mc-field-group select {display:inline-block; width:99%; margin-bottom:2px;}

#mc_embed_signup .datefield, #mc_embed_signup .phonefield-us{padding:5px 0;}
#mc_embed_signup .datefield input, #mc_embed_signup .phonefield-us input{display:inline; width:60px; margin:0 2px; letter-spacing:1px; text-align:center; padding:5px 0 2px 0;}
#mc_embed_signup .phonefield-us .phonearea input, #mc_embed_signup .phonefield-us .phonedetail1 input{width:40px;}
#mc_embed_signup .datefield .monthfield input, #mc_embed_signup .datefield .dayfield input{width:30px;}
#mc_embed_signup .datefield label, #mc_embed_signup .phonefield-us label{display:none;}

#mc_embed_signup .indicates-required {text-align:right; font-size:11px; margin-right:4%;}
#mc_embed_signup .asterisk {color:#e85c41; font-size:150%; font-weight:normal; position:relative; top:5px;}     
#mc_embed_signup .clear {clear:both;}

#mc_embed_signup .mc-field-group.input-group ul {margin:0; padding:5px 0; list-style:none;}
#mc_embed_signup .mc-field-group.input-group ul li {display:block; padding:3px 0; margin:0;}
#mc_embed_signup .mc-field-group.input-group label {display:inline;}
#mc_embed_signup .mc-field-group.input-group input {display:inline; width:auto; border:none;}

#mc_embed_signup div#mce-responses {float:left; top:-1.4em; padding:0em .5em 0em .5em; overflow:hidden; width:90%; margin: 0 5%; clear: both;}
#mc_embed_signup div.response {margin:1em 0; padding:1em .5em .5em 0; font-weight:bold; float:left; top:-1.5em; z-index:1; width:80%;}
#mc_embed_signup #mce-error-response {display:none;}
#mc_embed_signup #mce-success-response {color:#529214; display:none;}
#mc_embed_signup label.error {display:block; float:none; width:auto; margin-left:1.05em; text-align:left; padding:.5em 0;}

#mc-embedded-subscribe {clear:both; width:auto; display:block; margin:1em 0 1em 5%;}
#mc_embed_signup #num-subscribers {font-size:1.1em;}
#mc_embed_signup #num-subscribers span {padding:.5em; border:1px solid #ccc; margin-right:.5em; font-weight:bold;}

#mc_embed_signup #mc-embedded-subscribe-form div.mce_inline_error {display:inline-block; margin:2px 0 1em 0; padding:5px 10px; background-color:rgba(255,255,255,0.85); -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; font-size:14px; font-weight:normal; z-index:1; color:#e85c41;}
#mc_embed_signup #mc-embedded-subscribe-form input.mce_inline_error {border:2px solid #e85c41;}
