/**
 * Theme Name:     Asteroid for Contentnea Creek Books
 * Author:         Ron Angelo, Catherine Collingwood
 * Template:       asteroid
 * Text Domain:	   asteroid-for-contentnea-creek-books
 * Description:    Customized version of the Asteroid Theme, used on ContentneaCreekBooks.com.
 */
/* ------------------------------------------------------------
   Base theme cleanup: shadows, text shadows, gradients
------------------------------------------------------------ */

#container,
#container.cf,
#footer,
#below-menu,
#nav .sub-menu,
#nav .children,
.archive-info,
.blog-view,
.continue-reading,
.continue-reading:hover,
.attachment-nav .link-prev a,
.attachment-nav .link-next a,
.comment-body,
.comment-reply-link,
.comment-form-author input,
.comment-form-email input,
.comment-form-url input,
.comment-form-comment textarea,
.author-info,
.author-latest-posts,
.wrap-404-box,
#widgets-wrap-footer-3 {
    box-shadow: none;
}

#site-title,
#footer,
#below-menu,
#nav .menu a,
#nav .menu a:hover,
#nav .menu ul a:hover,
#nav .sub-menu li a,
#nav .children li a,
#nav .current-menu-item,
#nav .current-menu-ancestor,
#nav .current_page_ancestor,
#nav .current_page_item,
.archive-title,
.continue-reading:hover,
.entry-title a,
.page-nav > *,
.comment-nav > *,
.author-info .title,
.author-latest-posts-title,
.widget-after-post .widget-title,
.wp-pagenavi a,
.wp-pagenavi span {
    text-shadow: none;
}

#nav .menu > li > a,
#nav .menu > ul > .page_item > a,
.page-nav > *,
.comment-nav > *,
#wp-calendar th,
.wp-pagenavi a,
.wp-pagenavi span,
.author-info.cf h4.title {
    background: url('https://contentneacreekbooks.com/wp-content/uploads/2026/06/canvas.webp');
}
/* ------------------------------------------------------------
   Navigation cleanup
------------------------------------------------------------ */

#nav .menu > .menu-item-has-children > a:after,
#nav .menu > ul > .page_item_has_children > a:after,
#nav .menu > .menu-item-has-children > a:hover:after,
#nav .menu > ul > .page_item_has_children > a:hover:after,
#nav .sub-menu > .menu-item-has-children > a,
#nav .children > .page_item_has_children > a,
#nav .sub-menu > .menu-item-has-children > a:hover,
#nav .children > .page_item_has_children > a:hover {
    content: none;
    background-image: none;
    background-position: initial;
    background-repeat: no-repeat;
}


/* ------------------------------------------------------------
   Hidden elements
------------------------------------------------------------ */

.entry-meta-top,
.entry-tags,
#site-description,
.post-nav.cf {
    display: none;
    visibility: hidden;
}

.widget-footer-3 .widget-title {
    background: none;
    border-left: none;
    border-right: none;
}

/* ------------------------------------------------------------
   Layout widths
------------------------------------------------------------ */

#container {
    width: 1220px !important;
    max-width: 1220px !important;
}

#sidebar {
    width: 360px !important;
    max-width: 360px !important;
}

#content {
    width: 830px !important;
    max-width: 830px !important;
}
/* ------------------------------------------------------------
   Main borders and colors
------------------------------------------------------------ */

a,
.entry-header a,
.widget-sidebar a,
.wpcf7-not-valid-tip,
h4,
#footer a,
#footer a:hover,
#footer-links a,
#footer-links a:hover,
#header a {
    color: #f95700;
}

a:hover,
#header a:hover,
.entry-header a:hover,
input[type="submit"],
.start-here-button,
input[type="search"],
.widget-sidebar a:hover,
input,
textarea {
    color: #222;
}

hr {
    height: 1px;
    background-color: #222;
    border: none;
    border-top: 1px solid #222;
}

img {
    border: 1px solid #222;
}

.blog-view .entry-thumbnail {
    border: 0 none;
}

img.alignright {
    margin: 0 0 10px 10px;
}

img.alignleft {
    margin: 0 10px 0 10px;
}

.entry-content a {
    text-decoration: none;
    border-bottom: 1px solid #7f8080;
}

.entry-content a:hover {
    border-bottom: 1px solid #222;
}

#container,
#nav .menu,
#nav .menu > li,
#nav .menu > ul > .page_item,
#content,
.search-form,
#footer,
.archive-info {
    border: 0 none;
}

#header,
#nav .sub-menu li,
#nav .children li,
#content,
#sidebar,
#main,
.widget-sidebar .widget-title,
.search-form,
#footer,
#footer-bottom {
    background: url('https://contentneacreekbooks.com/wp-content/uploads/2026/06/canvas.webp');
}

#header {
    min-height: 110px;
    border-top: 1px solid #222;
    border-right: 1px solid #222;
    border-left: 1px solid #222;
}

#header img {
    border: 0 none;
    padding: 5px 0;
}

#main,
#footer.cf,
#nav.cf.drop {
    border-right: 1px solid #222;
    border-left: 1px solid #222;
}

#footer {
    border-top: 1px solid #222;
}

#footer.cf {
    border-bottom: 1px solid #222;
}

#nav,
.widget-sidebar .widget-title,
.archive-title,
.wrap-404-box {
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    border-left: 0 none;
    border-right: 0 none;
    background: url('https://contentneacreekbooks.com/wp-content/uploads/2026/06/canvas.webp');
}

#nav .sub-menu li a {
    background-color: #ffc09f;
}

#nav .menu li a,
#footer {
    color: #222;
}

#nav .menu li a:hover,
.continue-reading {
    background: #7f8080;
    color: #fff;
}

#nav .sub-menu li,
#nav .children li {
    border-bottom: 0 none;
}

#content article,
input,
.author-info.cf {
    background: #fff;
    border: 1px solid #222;
}

h4.title {
    border-bottom: 1px solid #222;
}

#content article.sticky {
    background-image: none;
    border: 1px solid #f95700;
}

.entry-content {
    border-top: 1px solid #222;
}

.continue-reading {
    border: 1px solid #222;
}

.continue-reading:hover {
    background: #222;
}

#bottom-navi {
    border: 0 none;
}

.asteroid-widget li {
    border-bottom: 1px solid #ccc;
}

#widgets-wrap-after-post-content {
    border-top: 1px solid #222;
}

.post-nav {
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.entry-meta-bottom {
    border-bottom: 0 none;
}

.entry-title {
    border-bottom: none;
}

#respond,
.author-description a {
    border: 0 none;
    text-decoration: none;
    background: #fff;
}

.wrap-404-box h2 {
    border-top: none;
    border-bottom: 1px solid #222;
    border-left: none;
    border-right: none;
    background: url('https://legendslost.lfvoy.net/wp-content/uploads/2026/04/canvas.jpg');
    color: #222;
}
/* ------------------------------------------------------------
   Typography, spacing, alignment
------------------------------------------------------------ */

/* From Fonts Plugin - This needs to be cleaned up. */

#site-title, .site-title, #site-title a, .site-title a, #site-logo, #site-logo a, #logo, #logo a, .logo, .logo a, .wp-block-site-title, .wp-block-site-title a {
font-family: "Capriola";
 }
#site-description, .site-description, #site-tagline, .site-tagline, .wp-block-site-tagline {
font-family: "Capriola";
 }
.menu, .page_item a, .menu-item a, .wp-block-navigation, .wp-block-navigation-item__content {
font-family: "Capriola";
 }
.entry-content, .entry-content p, .post-content, .page-content, .post-excerpt, .entry-summary, .entry-excerpt, .excerpt, .excerpt p, .type-post p, .type-page p, .wp-block-post-content, .wp-block-post-excerpt, .elementor, .elementor p {
font-family: "PT Serif";
 }
.wp-block-post-title, .wp-block-post-title a, .entry-title, .entry-title a, .post-title, .post-title a, .page-title, .entry-content h1, #content h1, .type-post h1, .type-page h1, .elementor h1 {
font-family: "Capriola";
 }
.entry-content h2, .post-content h2, .page-content h2, #content h2, .type-post h2, .type-page h2, .elementor h2 {
font-family: "Capriola";
 }
.entry-content h3, .post-content h3, .page-content h3, #content h3, .type-post h3, .type-page h3, .elementor h3 {
font-family: "Capriola";
 }
.entry-content h4, .post-content h4, .page-content h4, #content h4, .type-post h4, .type-page h4, .elementor h4 {
font-family: "PT Serif";
 }
.entry-content h5, .post-content h5, .page-content h5, #content h5, .type-post h5, .type-page h5, .elementor h5 {
font-family: "PT Serif";
 }
.entry-content h6, .post-content h6, .page-content h6, #content h6, .type-post h6, .type-page h6, .elementor h6 {
font-family: "PT Serif";
 }
ul, ol, ul li, ol li, li {
font-family: "PT Serif";
 }
blockquote, .wp-block-quote, blockquote p, .wp-block-quote p {
font-family: "PT Serif";
 }
.widget-title, .widget-area h1, .widget-area h2, .widget-area h3, .widget-area h4, .widget-area h5, .widget-area h6, #secondary h1, #secondary h2, #secondary h3, #secondary h4, #secondary h5, #secondary h6 {
font-family: "Capriola";
 }
.widget-area, .widget, .sidebar, #sidebar, #secondary {
font-family: "PT Serif";
 }
footer h1, footer h2, footer h3, footer h4, footer h5, footer h6, .footer h1, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6, #footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6 {
font-family: "Capriola";
 }
footer, #footer, .footer, .site-footer {
font-family: "PT Serif";
 }

/* END stuff from old Fonts plugin */

a:hover {
    font-weight: bold;
}

abbr,
acronym {
    text-decoration: none;
    border-bottom: 1px dotted #ffa07a;
}

td {
    text-align: left;
    vertical-align: top;
}

h1#site-title,
h2#site-title {
    font-size: 72px;
    font-weight: normal;
    line-height: 95%;
}

h1#site-title a:hover,
h2#site-title a:hover,
#header a:hover {
    font-weight: normal;
}

.breadcrumbs {
    text-align: right;
    font-size: 13px;
    margin: -10px 0 10px 0;
}

div.entry-date {
    font-family: 'PT Serif', serif;
    font-size: 105%;
}

@media (max-width: 700px) {
  .ll-recent-posts-page-grid {
    grid-template-columns: 1fr;
  }
}

#widgets-wrap-header {
    display: block;
    float: right;
    font-family: 'PT Serif', serif;
    font-size: 24px;
}

.rpwwt-post-excerpt {
    text-align: justify;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

#nav .menu li a,
h2.widget-title,
.archive-title,
.wrap-404-box h2 {
    text-transform: uppercase;
    font-weight: normal;
}

.archive-description {
    background: none;
    border-top: none;
    border-bottom: 1px solid #222;
    padding: 10px 0;
    text-align: justify;
}

#nav .sub-menu li,
#nav .children li {
    text-align: center;
}

#content,
#respond {
    padding-left: 20px;
    padding-right: 10px;
}

.character-name {
    font-size: 14px;
    font-style: normal;
}

.character-pic,
.character-pic-pad {
    clear: both;
    font-style: italic;
}

.character-pic-pad {
    padding-bottom: 15px;
}

.entry-excerpt,
.entry-content {
    color: #222;
    padding-top: 5px;
    font-size: 16px;
    line-height: 140%;
    text-align: justify;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.entry-content p,
.post-nav,
.archive-description,
.single-view .entry-content,
.wrap-404-box,
#bottom-navi {
    font-family: 'PT Serif', serif;
    font-size: 16px;
    line-height: 140%;
}

.author-description {
    font-size: 110%;
}

.wp-caption-text {
    font-family: 'Capriola', sans-serif;
    text-align: center;
}

.widget-sidebar {
    padding-right: 0;
    padding-left: 10px;
}

#footer-links,
#respond {
    font-size: 14px;
}

input[type="search"],
input[type="submit"],
input,
textarea {
    font-family: 'Capriola', sans-serif;
    font-size: 14px;
}

.single-view {
    padding: 10px 12px;
}

h1.entry-title,
h3 {
    font-weight: normal;
}

input[type="text"],
input[type="email"],
input[type="url"],
textarea,
.wpcf7-validates-as-url {
    width: 100%;
    color: #666;
}

#respond {
    padding-right: 0;
}

#sidebar {
    font-size: 14px;
}

.entry-content small {
    font-family: 'PT Serif', serif;
    font-size: 13px;
    line-height: 130%;
}
