/*!
Theme Name:   AWF Block Ready
Template:     michelle
Theme URI: https://awebfactory.com/wordpress-themes/awf-block-ready
Author: Victor Kane
Author URI: https://awebfactory.com
Description: Block ready theme for AWebFactory.com website back end and content management system scaffolded as Michelle child theme
Version:      1.0.0
License:      GNU General Public License v3
License URI:  http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: awf-block-ready
Domain Path:   /languages

Requires at least: 5.5
Tested up to: 5.7
Requires PHP: 7.0

This theme, like WordPress, is licensed under the GPL.
AWF Block Ready theme, (C) 2021 Victor Kane, is distributed under the terms of the GNU GPL.
*/

/* General */

/* use accent color for links */

nav a,
.entry-header a {
  /* color: #99cc66 !important; */
  color: #72a83b !important;
  /* color: #52861c !important; */
}
.home-menu-scroll {
  background-color: #734416 !important;
}
.home-menu-scroll a {
  /* color: #996633 !important; */
  color: #734416 !important;
}

/* no 10px colored border on top of pages */
html {
  border-top: 0;
  border-bottom: 0;
}

/* sticky menu (start) */
.site-header-section {
  position: fixed;
  background-color: white;
  width: 100%;
}
.site-branding {
  padding-top: 2vh;
  padding-bottom: 6vh;
}
button#modal-search-toggle {
  width: 0;
}
.site-content {
  padding-top: 14vh;
}
main {
  /*  padding-top: 14vh; */
}

/* sticky menu (end) */

/* Homepage */

/* Top whitespace */
.home .content-area {
  padding-top: 0;
}

/* opted to not show page title on home, get rid of padding also
.home h1.page-title,
/* Show background image instead of page-title */
.page-id-615 h1.page-title {
  display: none;
  /*
  background: url(/wp-content/uploads/2021/04/awf-status.png) no-repeat center
    center;
  background-size: contain;
  background-position: center center;
  width: 100%;
*/
}
.page-id-615 .page-summary p.forkus {
  background: url(/wp-content/uploads/2021/04/awf-status.png) no-repeat center
    center;
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: 19em;
  text-align: center;
  padding-top: 2em;
}
.page-id-615 .page-summary p.forkus a {
  padding: 1em 1em 1.5em 1em;
  border-radius: 50%;
  background: #eee;
}

/* Colophon msg area */

.page-id-615 .entry-summary {
  color: #99cc66;
  /* background-color: #ffddac; */
  background-color: black;
}
.page-id-615 .entry-summary .hp-msg-top-bar {
  width: 100%;
  text-align: center;
  color: white;
  background-color: black;
}
/* spacer */
.page-id-615 .entry-summary p.hp-msg-codeblock {
  line-height: 0.25em;
}
.page-id-615 .entry-summary .hp-msg-codeblock {
  padding: 0 0.25em;
  /* line-height: 1.4em; */
}
.page-id-615 .entry-summary .hp-msg-bottom-bar {
  width: 100%;
  text-align: center;
  color: white;
  background-color: black;
  margin-top: 1em;
}

/* Main menu is the only one, so we change it for homepage */
/* If not home, do not show internal links for smooth scrolling */
body:not(.home) nav#site-navigation #menu-primary .home-menu-scroll {
  display: none;
}
/*
body:not(.home) nav#site-navigation #menu-primary .menu-item-type-custom {
  display: none;
}
*/
body.home nav#site-navigation #menu-primary li.menu-item-type-custom a {
  /* color: #99cc66 !important; */
  /* color: #52861c !important; */
  color: #72a83b !important;
  font-weight: 700;
}

/* Blog page: Do not show page title "Blog" */
.blog header.page-header {
  display: none;
}

/* Blog page: Reduce whitespace " */
.blog .content-area {
  padding: 1em 0 var(--content_padding) 0;
}

/* Blog page: Styling for featured posts at top of page */
.featured-posts-section {
  padding-top: 4vh;
}
/* at least until we get some nice pictures */
.featured-posts img {
  display: none;
}
.featured-posts article.tag-featured {
  /* see https://www.htmlcsscolor.com/hex/FF9900 */
  /* color: #ffddac; */
  /* color: #ffe4bd; */
  color: #ffddac;
  /* color: #ffe9ca; */
  background-color: #996633;
  border-top: 10px solid;
  /* border-bottom: 10px solid; */
  border-color: #fdbd50;
}
.featured-posts article.tag-featured .entry-header a {
  color: #fdbd50 !important;
}
.posts article.tag-featured {
  border-top: 10px solid;
  border-color: #fdbd50;
  padding-top: 0;
}

/* AWebFactory 404 Page (made with a block, thanks to Michelle theme! */
.error404 header {
  display: none;
}
.error404 #main {
  padding-top: 2vh;
}
.error404 .content-area {
  padding-top: 0;
}
.error404 .site-content {
  padding-top: 0;
}

/* Footer */
/* Site info footer */
.site-info-section {
  background-color: #996633;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1.2rem;
  height: 2rem;
  text-align: center;
}
.site-info {
  padding-top: 0.5rem;
}
/* sticky go-to-top arrow */
.site-info-item .back-to-top {
  bottom: 0;
  position: fixed;
  z-index: 150;
  margin-bottom: 1rem;
  background: #996633;
  opacity: 0.5;
}

.site-info-item {
  width: auto;
}
/* Links */
.awf-footer-work a,
.awf-footer-copyright a,
.awf-footer-docs a {
  text-decoration-line: underline;
}
