/******************************************
// Defaults CSS for the theme
*/

* {
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; 
}

html {
  scroll-behavior: smooth;  
}

/* Change focus outline */
:focus {
  outline: 1px dotted var(--black);
}

/* Images */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Hide stuff */
.hide {
	display: none;
}

.no-scroll {
  overflow-y: hidden;
}

.no-margin {
  margin: 0 !important;
}

span.to-top-btn {
  color: #fff;
  font-size: 1.5rem;
}

@media screen and (min-width: 1024px) {
  .mobile-only {
    display: none !important;
  }
}

@media screen and (max-width: 1024px) {
  .desktop-only {
    display: none;
  }
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Color of highlight */
::-moz-selection { background: var(--grey); color: var(--black); text-shadow: none; }
::selection { background: var(--grey); color: var(--black); text-shadow: none; }

/*set variables */
:root {
  --font: 'Lato', sans-serif;
  --black: #000; 
  --grey: #939393;
  --lightgrey: #e3e3e3;
  --darkgrey: #393939;
  --primary: #000088;
  --secondary: #66af22;
  --fade:all 0.2s ease-out;
  --icons:'Font Awesome 5 Pro', sans-serif;
}

/* Typeography */
html {
	font-size: 16px;
  font-family: var(--font);
  color: var(--black);
}

h1 {
  position: relative;
  margin: 0;
  padding: 0 0 0 15px;  
  font-size: 3.375rem;
  font-weight: 700;
  text-transform: uppercase;
  word-break: break-word;
  line-height: 1;
}

h1:before {
  content: '';
  position: absolute;
  top: 6px;
  left: 0;
  width: 12px;
  height: 100%;
  background-image: url('../img/h1-img.png');
  background-repeat: no-repeat;
}

h2 {
  margin: 2rem 0;
  font-size: 2.6875rem;
  font-weight: 700;
  line-height: 1;
	word-break: break-word;
}

h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
	letter-spacing: 1px; 
	word-break: break-word;
}

p {
  margin: 0 0 2rem;
  font-size: 1.1875rem;
}

p:empty {
  display: none;
}

a {
  text-decoration: none;
  color: var(--primary);
}

a:hover {
  color: var(--secondary);
}

ul {
  margin: 0;
  padding: 0;
}

li {
  margin: 0;
  padding: 0;
  font-size: 1.1875rem;
}

@media screen and (min-width: 768px) {
  
}

@media screen and (min-width: 1024px) {
  
}

/******************************************
//BUTTONS 
*/
.button, #commentform input.submit, #subscribe-submit button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 15px 25px;
  background: var(--primary);
  border-radius: 4px;
  font-size: 1.1rem;
  line-height: 1;
  letter-spacing: 1px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: var(--fade);
}

.button:hover, #commentform input.submit:hover, #subscribe-submit button:hover {
  background: var(--secondary);
  color: #fff;
}



/******************************************
//LAYOUT
*/
body {
	width: 100%;
  text-align: center;
  text-rendering: optimizeSpeed;
}

.container {
  width: auto;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

@media screen and (min-width: 1024px) {
  .container {
    padding: 0 1rem;
  }
}


/******************************************
//HEADER
*/

/* Main Nav Bar */ 
#main-nav-bar {
  padding: 1rem 0;
  background-color: var(--darkgrey);
}

#main-nav-bar .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

#menu-social {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#menu-social li {
  margin-left: 1rem;
}

#menu-social li a {
  color: #fff;
}

@media screen and (min-width: 1024px) {
  #main-nav-bar {
    padding: 0;
  }

  #main-nav-bar .container {
    display: flex;
    justify-content: space-between;
  }

  #menu-social {
    width: 30%;
    justify-content: flex-start;
  }

  #menu-social li {
    margin-left: 2rem;
  }
}

/* Logo */
#logo {
  padding: 30px 0 0;
}

.header-logo {
  padding: 0;  
  text-align: center;
  justify-self: center;
}

.header-logo img {
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  #logo .container {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    grid-gap: 0 3rem;
    align-items: center;
  }  
}

/* Secondary Nav */
#menu-secondary {
  display: none;
}

.search-link {
  display: none;
}

@media screen and (min-width: 1024px) { 
  #secondary-nav-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    border-top: 2px solid var(--black);
    border-bottom: 2px solid var(--black);
  }

  #menu-secondary {
    display: flex;
    list-style: none;
  }

  #menu-secondary li {
    padding: 10px 0;
  }

  #menu-secondary li:first-of-type {
    padding-left: 0;
  }

  #menu-secondary li:last-of-type {
    padding-right: 0;
  }

  #menu-secondary a {   
    display: block;
    padding: 10px 2rem; 
    color: var(--black);  
    line-height: 1;  
    border-right: 2px solid var(--black);  
  }   

  #menu-secondary li:hover a, #menu-secondary li.current-menu-item a {
    background-color: var(--primary);
    color: #fff;
    border-right: 2px solid var(--primary);
  }

  #menu-secondary li:last-of-type a {
    border-right: none;
  }

  .search-link {
    display: block;    
  }

  #menu-secondary li.search-link:hover a {
    background-color: transparent;
    color: var(--primary);
  }

  #menu-secondary .search-link a {
    color: var(--primary);
  }
}

/* Search Form */
#search-form {
  position: relative;
}

#search-form input#search {
  display: flex;
  align-items: center;
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--lightgrey); 
  color: var(--grey);
}

#search-form input#search::placeholder {
  color: var(--lightgrey);
}

#search-form #searchsubmit {
  position: absolute;
  top: 0;
  right: 0;
  height: 36px;
  background: transparent;
  border: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  transition: var(--fade);
}

#search-form #searchsubmit:hover {
  color: var(--secondary);
}

@media screen and (min-width: 768px) {
  #search-form {
    margin-bottom: 0;
  }

  #search-form input#search {
    width: 500px;
    margin: 0 auto;
  }

  #search-form #searchsubmit {
    right: 130px;
  }
}

@media screen and (min-width: 1024px) {
  #search-form {    
    align-content: center;
  }

  #search-form #searchsubmit {
    position: static;
  }

  #secondary-nav-bar .container {
    position: relative;
  }

  form#search-form {
    position: absolute;
    width: 97%;
  }

  #search-form input#search {
    width: 100%;
    height: 59px;
  }

  #search-form button#searchsubmit {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
  }
}


/******************************************
//MAIN CONTENT 
*/
.main-content {
  padding: 30px 0;
  text-align: left;
}

.main-content iframe {
  display: flex;
  max-width: 100%;
  height: 250px;
  margin: 0 auto;
}

.main-content .podcast-article-wrapper iframe {
  height: 100%;
}

.main-content p {
  margin: 2rem 0;
  line-height: 1.5; 
}

.main-content p:last-of-type {
  margin-bottom: 0;
}

.main-content img.alignright {
  margin: 0 auto 1rem;  
}

.main-content .aligncenter {
  width: 100% !important;
  margin-top: 1rem;
}

p.wp-caption-text {
  margin-top: 1rem;
  font-size: .9rem;
  color: var(--grey);
}

.main-content ul {
  margin-left: 2rem;
}

.main-content li {
  margin-bottom: 1rem;
}

@media screen and (min-width: 768px) {
  .main-content iframe {
    height: 300px;
  }

  .main-content img.alignright {
    margin: 0 0 1rem 1rem;
    float: right;
  }

  .main-content img.alignleft {
    margin: 0 1rem 1rem 0;
    float: left;
  }
}


/******************************************
//BLOG PAGES GRID
*/
#main-grid {
  display: grid;  
}

@media screen and (min-width: 1024px) {
  #main-grid {
    grid-template-columns: 1fr 320px;
    grid-gap: 0 50px;
  }
}

@media screen and (min-width: 1200px) {
  #main-grid {    
    grid-gap: 100px;
  }
}

/******************************************
//BLOG ROLL
*/
.post-wrapper .featured-image-wrapper {
  position: relative;
}

.post-wrapper .featured-image-wrapper:after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 18px;
  height: 63px;
  background: url('../img/img-bg.png') no-repeat;
}

.post-wrapper img {
  position: relative;
  width: 100%;
  height: auto;
  margin: 0 0 1rem;
}

.post-wrapper h2 {
  margin: 0 0 1rem;
  font-size: 1.875rem;
  line-height: 1.2;
}

.post-wrapper h2 a {
  color: var(--black);
}

.post-wrapper h2 a:hover {
  color: var(--primary);
}

.post-wrapper h3 {
  font-size: 1.1rem;
}

.post-wrapper p {
  margin-bottom: 0;
}

.post-wrapper p.postmeta {
  font-size: .9rem;
  color: var(--grey);
  line-height: 1.2;
}

.post-wrapper p.categories {
  margin: 1rem 0 5px;  
}

.post-wrapper p.comments {
  margin: 0; 
}

.post-wrapper p.postmeta a {  
  color: var(--grey);
}

.post-wrapper p.postmeta i.fas {
  margin-right: 5px;
  font-size: .9rem;
  color: var(--grey);
}

.post-wrapper a.read-more {
  margin-top: 1rem;
}

.post-wrapper hr {
  margin: 2rem 0;
  border-top: 2px solid var(--darkgrey);
}

@media screen and (min-width: 768px) {
  
}

@media screen and (min-width: 1024px) {
  
}


/******************************************
//PAGINATION
*/
.pagination-navigation {
  display: flex;
  justify-self: center;
  /*justify-content: center;
  box-shadow: 0 0 5px 0px rgb(0 0 0 / 30%);
  border: 1px solid #bebebe;
  border-radius: 30px; */
  text-transform: uppercase;
  margin: 0;
  background: #fff;
}

.pagination-navigation .page-numbers {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  line-height: 32px;
  padding: 5px 18px;
  border-right: 1px solid var(--grey);
  transition: var(--fade);
}

.pagination-navigation .page-numbers:last-child {
  border-right: 0px solid #bebebe;
}
  
.pagination-navigation .page-numbers:hover {
  background: #eaeaea;
}

.pagination-navigation .page-numbers.current {
  color: #fff;
  background: var(--primary);
}

.pagination-navigation .page-numbers.prev,
.pagination-navigation .page-numbers.next {
  font-size: 16px;
  padding: 5px 25px;
}

.pagination-navigation .page-numbers:first-child {
  border-radius: 30px 0 0 30px;
}

.pagination-navigation .page-numbers:last-child {
  border-radius: 0 30px 30px 0;
}


/******************************************
//SIDEBAR
*/
#sidebar {
  margin: 0 0 30px;  
}

.sidebar-container {
  padding: 10px 0 0;  
  border: 1px solid var(--lightgrey);
}

.widget-container {
  margin: 2rem 0;
}

.num-posts h3 {
  color: var(--black);
}

.widget-container h3.widget-title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: var(--primary);
}

.widget_custom_html {
  padding: 0 10px;
}

.widget_media_image img {
  margin: 0 auto;
}

.sidebar-container h3.num-posts {
  padding: 0 10px;
  font-size: 1rem;
  color: var(--black);
  line-height: 1.3;
}

.widget-container.widget_blog_subscription {
  padding: 0 10px;
}

.widget-container.widget_blog_subscription p {
  margin: 0 0 1rem;
}

.widget-container.widget_blog_subscription #subscribe-text p {
  font-size: 1rem;
  text-align: left;
}

.widget-container.widget_blog_subscription #subscribe-email input {
  width: 100%;
  height: 45px;
  padding: 5px;
  border: 1px solid var(--grey);
}

#subscribe-submit button {
  border: none;
}

@media screen and (min-width: 1024px) {
  #sidebar {
    margin: 30px 0 0 0;
  }  
}


/******************************************
//SINGLE BLOG POST
*/
#blog-article .featured-image-wrapper {
  margin-bottom: 2rem;
}

#blog-article .featured-image-wrapper img {
  width: 100%;
  height: auto;
  border: 1px solid var(--darkgrey);
}

#blog-article h1 {
  font-size: 1.875rem;
}

#blog-article h3 {
  margin-top: 1rem;
  color: var(--grey);
}

#blog-article img.alignright {  
  margin: 0 0 1rem 1rem;
}

#blog-article img.alignleft {  
  margin: 0 1rem 1rem 0;  
}

.about-author {
  margin: 2rem 0 0;
}

.about-author p {
  margin: 1rem 0;
  font-style: italic;
}

.podcast-sponsor-text p {
  font-weight: 700;
}

@media screen and (min-width: 768px) {
  
}


/******************************************
//BLOG COMMENTS
*/

/* Comment Form */
#respond {
  margin: 2rem 0;
}

#respond h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}

#respond h3 small {
  margin-left: 1rem;
}

form#commentform {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#commentform p {
  margin: 0;
}

#commentform input, #commentform textarea {
  width: 50%;
  height: 3rem;
  font-size: 1rem;
  padding: 10px;
  border-radius: 0;
  border: 1px solid var(--lightgrey);
}

#commentform textarea {
  height: 75px;
}

#commentform input.submit {
  margin-top: 1rem;
  width: 150px;
  border: none;
}

/* Comments */
ol.post-comments, ol.post-comments ol {
  list-style: none;
}

ol.post-comments li {
  margin: 0;
}

div.comment-body {
  margin: 1rem 0;
  padding: 10px;
  background-color: #eee;
}

.comment-author.vcard {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.comment-author cite.fn {
  padding: 0 5px 0 10px;
}

.comment-author span.says {
  display: none;
}

.comment-meta a {
  font-size: .9rem;
  color: var(--grey);
}

.main-content .comment-body p {
  margin: 1rem 0;
}

/******************************************
//ABOUT 16:9 - CONTACT ME SECTION
*/
#contact-me {
  padding: 0 0 50px;
}
.contact-me-grid {
  display: grid;
  grid-gap: 3rem;
}

#contact-me h2 {
  margin-top: 0;
  margin-bottom: 3rem;
}

#contact-me i.fas, #contact-me i.fab {
  margin-bottom: 1rem;
  font-size: 60px;
}

#contact-me p {
  margin: 0;
}

#contact-me a {
  color: var(--black);
}

@media screen and (min-width: 768px) {
  .contact-me-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/******************************************
//ADVERTISEMENTS
*/

/* Billboard Ad */
#billboard-ad-wrapper {
  padding: 2rem 0;
  max-width: 970px;
  margin: 0 auto;
}

/* Footer Sticky Ad */
#footer-ad-wrapper {
  position: sticky;
  bottom: 0;
  z-index: 999;
}

/* Ear Lug Ads */
#logo #left-earlug-ad-wrapper, #logo #right-earlug-ad-wrapper {
  display: none;
}

@media screen and (min-width: 768px) {
  #logo #left-earlug-ad-wrapper, #logo #right-earlug-ad-wrapper {
    display: block;
  }
}

#logo .ad-aligncenter .ad-row > div {
  height: 110px;
  max-height: 110px;
  margin: 0;
}

#logo .ad-aligncenter .ad-row > div .adsanity-inner {
  height: 110px;
  padding: 0;
}


/******************************************
//FOOTER
*/
/* Footer Content */
#footer-content { 
  padding: 2rem 0;
  text-align: left;
  background-color: var(--darkgrey);
  color: #fff;
}

#footer-content .container {
  display: grid;
  grid-gap: 2rem 0;
}

#footer-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

#footer-content p {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
}


@media screen and (min-width: 768px) {
  #footer-content {
    padding: 3rem 0;
  }

  #footer-content .container {
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 0 2rem;
  }
}

/* Footer Copyright */
#footer-copyright {
  padding: 1rem 0;
  background-color: var(--black);
  color: #fff;
}

#footer-copyright p {
  margin: 0;
  font-size: 1.125rem;
}

#footer-copyright p:first-of-type {
  text-transform: uppercase;
}

#footer-copyright a {
  display: block;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #fff;
}



