/*!
Theme Name: Plainly
Theme URI: https://plainly.org
Author: chris@rudzki.com
Author URI: https://rudzki.com
Description: A simple theme
Version: 2024-05-26
------ */


body,
:root {
  box-sizing: border-box;
  --primary-heading-size: 19px;
  --base-font-size: 19px;
  --base-line-height: 1.5;
  --reduced-line-height: 1.25;
  --base-font-family: 'Gentium Plus', serif;
  --secondary-font-family: 'Gentium Plus', serif;
  --max-width: 1200px;
  --almost-black: #272727;
  --almost-white: #fdfcf9;
  --bg-color: #f7f7f2;

}



.has-small-font-size {
  font-size: 17px !important;
}

.has-medium-font-size {
  font-size: 19px !important;
}

.has-large-font-size {
  font-size: 19px !important;
}

.has-x-large-font-size {
  font-size: 21px !important;
}






@media screen and (max-width: 1000px) {

  .has-small-font-size {
    font-size: 18px !important;
  }

  .has-medium-font-size {
    font-size: 20px !important;
  }

  .has-large-font-size {
    font-size: 24px !important;
  }

  .has-x-large-font-size {
    font-size: 28px !important;
  }

}


#card-element {
  margin: 2.5rem 0;
}

#layout {
  display: flex;
  gap: 0;
  width: var(--max-width);
  margin: 2rem auto 0 auto;
  max-width: 100%;
}

#layout .page-content {
  width: 70%;
}

#layout .sidebar {
  width: 30%;
  min-width: 300px;
}

@media screen and (max-width: 1000px) {

  body,
  :root {
    --primary-heading-size: 19px;
    --base-font-size: 19px;
    --wp--preset--font-size--small: 17px;
    --wp--preset--font-size--medium: 19px;
    --wp--preset--font-size--large: 19px;
    --wp--preset--font-size--x-large: 21px;
  }

  #layout {
    display: block;
    gap: 0;
    width: 100%;
    max-width: var(--max-width);
  }

  #layout .page-content {
    width: 100%;
    max-width: var(--max-width);
  }

  #layout .sidebar {
    width: 100%;
    max-width: var(--max-width);
  }

  #layout .sidebar img {
    margin: 0 auto;
    display: block;
  }
}

#wp-admin-bar-wp-logo,
#wp-admin-bar-search {
  display: none !important;
}

html,
:root {
  font-family: var(--base-font-family);
  font-size: var(--base-font-size);
  line-height: var(--base-line-height);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--base-font-family);
  font-size: var(--base-font-size);
  line-height: var(--base-line-height);
  font-variant-numeric: lining-nums;
  color: var(--almost-black);
  background-color: var(--bg-color);
}

#canvas {
  margin: 0 auto;
  max-width: 100%;
  padding: 0;
}

.site-header {
  margin: 0 auto;
  padding: 1.5rem 0;
  width: 100%;
  max-width: 100%;
  z-index: 9999;
  border-top: 10px solid;
  border-bottom: 1.5px solid;
  backdrop-filter: blur(5px);
  line-height: var(--reduced-line-height);
  position: sticky;
  top: 0;
  display: block;
  background: #fff;
}

#wp-custom-header img {
  width: 100%;
  object-fit: cover;
  height: auto;
  max-height: 30vh;
  border-bottom: 1.5px solid;
}

hr {
  color: var(--almost-black);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
}

.site-title {
  margin: 0;
  font-size: var(--primary-heading-size);
  line-height: var(--reduced-line-height);
}

.site-header-branding h2 {
  margin: 2px 0 0 0;
  line-height: var(--reduced-line-height);
  font-size: var(--base-font-size);
  font-weight: inherit;
  font-style: normal;
}

.site-header-image img {
  width: 100%;
  height: 20vw;
  min-height: 150px;
  max-height: 400px;
  object-fit: cover;
  border-bottom: 1.5px solid;
  padding: 0;
}

.featured-image img {
  max-width: 100%;
  width: 100%;
  height: auto;
  border: 1.5px solid;
  padding: 0;
}

#menu-primary {
  margin: 0;
  padding: 0;
  list-style: none;
}

#menu-primary li {
  display: inline-block;
  margin-left: 0.4rem;
}

#menu-secondary li {
  display: inline-block;
  margin-right: 0.4rem;
}

ul#menu-secondary {
  margin-bottom: 2rem;
  display: block;
}

a[aria-current="page"],
.current-menu-item>a {
  text-decoration: none;
  font-weight: normal;
  color: var(--almost-black) !important;
}


hr {
  border: none;
  border-top: 1.5px solid;
  margin: 2rem 0;
  display: block;
}

sup,
sub {
  font-size: 0.925rem;
  line-height: 0;
  font-variant: normal;
}

sup a,
sub a,
.wp-block-footnotes a {
  text-decoration: none;
}

mark {
  padding: 2px 5px;
}

blockquote {
  border-left: 1.5px solid;
  margin-left: 0;
  margin-right: 0;
  padding-left: 1em;
  font-size: 1rem;
}

blockquote cite {
  font-style: inherit;
}

blockquote cite::before {
  content: "\2014";
  padding-right: 4px;
}

code {
  background: white;
  border: 1.5px solid;
  margin-left: 0;
  margin-right: 0;
  padding: 1.5rem;
  font-size: 13px;
}

iframe {
  margin: 1rem 0;
}

.aligncenter {
  text-align: center;
}

.alignleft {
  text-align: left;
}

.alignright {
  text-align: right;
}

.alignone {
  text-align: none;
}

figure:last-child iframe {
  margin-top: 0;
  margin-bottom: 0;
}

figure:last-child {
  margin-top: 0.925em;
  margin-bottom: 0.925em;
}

.wp-embed-aspect-16-9 {
  aspect-ratio: 16/9;
  width: 100%;
}

.wp-embed-aspect-16-9 iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
}

strong {
  font-weight: 600;

}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;

}

.archive-header {
  padding: 0;
  width: 100%;
  margin: 1rem auto 3rem auto;
  max-width: var(--max-width);
  display: block;
  align-content: space-around;
}

.archive-title {
  margin: 0;
  line-height: var(--reduced-line-height);
  text-align: center;
  text-decoration: none;
  font-size: var(--primary-heading-size);
}

.archive-description {
  margin: 0;
  line-height: var(--reduced-line-height);
  font-size: 1rem;
  font-weight: inherit;
  text-align: center;
  font-style: italic;
}

.category-description {
  font-style: italic;
}

.pinetree {
  text-align: left;
}

.pinetree img {
  margin-top: 0rem;
  margin-bottom: 1.5rem;
}


/*

.entry-content h1 {
  font-size: var(--wp--preset--font-size--x-large);
  margin: 1.4rem 0 -0.4rem 0;
}

.entry-content h2 {
  font-size: var(--wp--preset--font-size--large);
  margin: 1.4rem 0 -0.4rem 0;
}

.entry-content h3 {
  font-size: var(--wp--preset--font-size--medium);
  text-transform: uppercase;
  margin: 1.4rem 0 -0.4rem 0;
  letter-spacing: 1px;
}

.entry-content h4 {
  font-size: var(--wp--preset--font-size--small);
  margin: 1.4rem 0 -0.4rem 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.entry-content h5 {
  font-size: var(--wp--preset--font-size--small);
  margin: 1.4rem 0 -0.4rem 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.entry-content h6 {
  font-size: var(--wp--preset--font-size--small);
  margin: 1.4rem 0 -0.4rem 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

*/


.entry-content h1 {
  font-size: 1.1em;
  line-height: var(--reduced-line-height);
}

.entry-content h2 {
  font-size: 1.1em;
  line-height: var(--reduced-line-height);
}

.entry-content h3 {
  font-size: 1em;
  line-height: var(--reduced-line-height);
}

.entry-content h4 {
  font-size: 1em;
  line-height: var(--reduced-line-height);
}

.entry-content h5 {
  font-size: 0.9em;
  line-height: var(--reduced-line-height);
}

.entry-content h6 {
  font-size: 0.8em;
  line-height: var(--reduced-line-height);
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin: 1.5em 0 -0.5em 0;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.5em;
}

.entry-content li {
  margin: 0.25em 0;
}

.post-category,
.post-datetime {
  font-style: italic;
  margin: 0 0.4rem 0 0;
  line-height: 27px;
}

.recent-posts li a {
  margin: 0 0.4rem 0 0;
}

.entry-title a {
  text-decoration: none !important;
}

.site-title a {
  text-decoration: none !important;
}

a,
a:visited {
  color: #9f1f3a;
}

a:hover,
a:active {
  color: #fe335d;
}



.category-header a,
.site-title a,
.entry-title a,
.entry-footer .entry-date a {
  color: var(--almost-black);
}

.wp-block-table td,
.wp-block-table th {
  padding: 0.5rem 0.8rem !important;
}

.wp-block-footnotes {
  font-size: 0.925rem;
  border-top: 1.5px solid;
  padding-top: 1rem;
}

table {
  margin: 1rem 0;
  padding: 0;
  line-height: 1.5;
  border-collapse: collapse;
  word-wrap: anywhere;
  hyphens: auto;
  border: 1.5px solid #ddd !important;
}

.wp-block-table td,
.wp-block-table th {
  border: 0 !important;
}

.entry-content table {
  font-size: 95%;
}

tr {
  border-top: 1.5px solid #ddd !important;
  border-bottom: 1.5px solid #ddd !important;
  vertical-align: text-top;
}

tr:nth-child(odd) {
  background: #efefef;
}

tr:nth-child(even) {
  background: #f9f9f9;
}

@media screen and (max-width: 1000px) {

  .wp-block-table td,
  .wp-block-table th {
    border: none;
    clear: both;
    display: block;
    border-bottom: 0 !important;
  }
}

.table-of-contents {
  margin: 0;
}

.table-of-contents section {
  margin-bottom: 2rem;
}

.browse-button {
  margin: 3rem 0;
}


.table-of-contents .category-header {
  border-bottom: 1.5px solid;
  font-size: var(--primary-heading-size);
  padding-bottom: 0;
  margin-bottom: 0.6rem;
  padding: 0 0 0.17em;
  line-height: var(--reduced-line-height);
}

ul#recent-posts {
  padding-top: 0.17em;
}

.sidebar .table-of-contents .category-header {
  padding: 0 !important;
  border: 0 !important;
  margin-bottom: 0.4em;

}

.table-of-contents h3 {
  line-height: var(--reduced-line-height);
  margin: 0 0.4rem 0 0;
  display: inline-block;
}

.table-of-contents section h3,
.table-of-contents section h3 a {
  font-size: var(--primary-heading-size);
  line-height: var(--reduced-line-height);
  text-align: center;
  text-decoration: none;
  font-weight: 600;

}

.table-of-contents .category-description {
  display: inline-block;
  font-weight: normal;
  margin: 0;
}

.table-of-contents dl,
.table-of-contents dt,
.table-of-contents dd {
  margin: 0;
  padding: 0;
}

.table-of-contents dt,
.table-of-contents dd {
  display: inline-block;
}

.table-of-contents dt {
  padding-right: 0.4rem;
}

.table-of-contents dl {
  padding-bottom: 0.17em;
}

.table-of-contents ul {
  margin: 0;
  padding: 0;
}

.table-of-contents ul.wp-block-navigation__submenu-container {
  margin: 0 0 3rem 1rem;
  padding: 0;
}

.table-of-contents li {
  margin: 0;
  list-style: none;
  break-inside: avoid-column;
}


.category-index li {
  margin: 0.25em 0;
  margin: 0;

}

.label {
  font-size: 13px;
  letter-spacing: 0.3px;
  display: inline-block;
  text-decoration: none;
  line-height: 1;
  margin: 0 0.4rem 0 0;
  font-weight: 600;
  text-transform: uppercase;
  border: 1.5px solid var(--almost-black);
  background-color: #fff;
  padding: 2px 3px 2px;
  position: relative;
  top: -2px;
}

.entry-category,
.entry-tags {
  display: inline-block !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;

}

.entry-category li,
.entry-tags li {
  display: inline-block !important;
  list-style: none !important;
  line-height: 1;
  margin: 0 0.4rem 0 0 !important;
  padding: 0 !important;
}

.entry-header .entry-title {
  margin-right: 0.4rem !important;
}

.table-of-contents ul.children {
  margin-left: 1rem;
  margin-bottom: 0;
}

.nav-links {
  padding: 1rem 2rem 0.9rem;
  border-top: 5px solid;
  margin: 0;
  margin-bottom: -2rem;
  display: flex;
  justify-content: space-between;
  line-height: var(--reduced-line-height);
}

.nav-links a {
  text-decoration: none !important;
}

article {
  margin: 0 0 3rem 0;
}

.entry-header {
  line-height: var(--reduced-line-height);
  border-bottom: 1.5px solid;
  padding-bottom: 0;
  margin-bottom: 1em;
  padding: 0 0 0.17em;
}

.entry-header .entry-title {
  margin: 0;
  font-size: var(--primary-heading-size);
  display: inline;
}

.format-aside .entry-header {
  display: none;
}

.single .format-aside .entry-header {
  display: block;
}

#widget-bar {
  text-align: center;
  margin-top: 3rem;
}

.widget {
  margin-bottom: 1.4rem;
}

.widget-title {
  font-family: var(--secondary-font-family);
  font-size: 1rem;
  margin: 0;
  font-weight: 600;

}

.sidebar .widget-title {
  text-decoration: none;
  font-weight: 600;
  font-size: var(--primary-heading-size);
  padding-bottom: 0;
  margin-bottom: 0.4rem;
  line-height: var(--reduced-line-height);
}

.sidebar .table-of-contents ul.wp-block-navigation__submenu-container {
  margin-top: 0;
  margin-bottom: 0;
}

.site-footer .container {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.site-footer {
  margin-top: 3rem;
  margin-bottom: 0;
  padding: 0 2rem 1rem;
  font-size: 0.925rem;
  font-family: var(--secondary-font-family);
  text-align: center;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

.entry-footer {
  font-style: italic;
}

.entry-footer .entry-meta {
  display: flex;
}


.entry-footer .entry-share-buttons a {
  margin-right: 0.4rem;
}

body.page .entry-share-buttons,
body.page .entry-date,
.entry-meta .entry-author {
  display: none;
}

.label,
.table-of-contents li a,
.entry-meta .entry-author {
  margin-right: 0.4rem;
}

.entry-meta .entry-date {
  margin-right: 0.8rem;
}

.entry-footer .entry-date a {
  text-decoration: none !important;
}

.entry-footer .edit-post-link {
  margin: 0 0 0 auto;
}

body.page #site-header-image,
body.single #site-header-image {
  display: none;
}

.recent-posts li p {
  padding-left: 1em;
  margin: 0.5em 0 1em 0;
  border-left: 1.5px solid;
}

.recent-posts li a {
  display: inline-block;
}

.links-index li {
  display: inline;
}

.links-index li a {
  padding-right: 0.4rem;
}

.links-index .linkcat h2 {
  font-size: 1rem;
  margin-bottom: 0;
}

.table-of-contents .linkcat ul {
  margin-bottom: 1rem;
}

.two-columns ul {
  columns: 2;
}

/* --------- Forms ----------- */


#site-footer .fb-container {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-bottom: 40px;
  margin-top: 80px;
}

#site-footer .fb-container .fb-submit-button {
  position: relative;
  left: -1.5px;
}

@media screen and (max-width: 500px) {

  #site-footer .fb-container {
    display: block !important;
  }

  #site-footer .fb-container .fb-submit-button {
    position: relative;
    top: -1.5px;
    left: 0;
    width: 100%;
  }


}


label {
  font-size: 0.925rem !important;
  color: var(--almost-black) !important;
}

#card-element,
select,
input[type="url"],
input[type="password"],
input[type="text"],
input[type="email"],
input[type="search"] {
  border: 1.5px solid var(--almost-black) !important;
  padding: 7px 12px 9px 12px;
  font-family: inherit;
  font-size: 1rem !important;
  color: var(--almost-black) !important;
}

select:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus {
  outline: 0;
  background-color: #ffb;
}

textarea {
  border: 1.5px solid var(--almost-black) !important;
  padding: 7px 12px 9px 12px;
  font-size: 1rem !important;
  color: var(--almost-black) !important;
  line-height: var(--base-line-height) !important;
  font-family: inherit;

}

textarea:focus {
  outline: 0;
  background-color: #ffb;
}

input[type="button"],
input[type="submit"],
button {
  padding: 7px 12px 9px 12px;
  border: 1.5px solid var(--almost-black) !important;
  font-size: 1rem !important;
  font-family: inherit;
  color: var(--almost-black) !important;
  background-color: #fff !important;
}

input[type="button"]:focus,
input[type="submit"]:focus {
  outline: 0;
}

input[type="button"]:hover,
input[type="submit"]:hover,
button:hover {
  border: 1.5px solid var(--almost-black) !important;
  font-size: 1rem !important;
  cursor: pointer;
  color: #fff !important;
  background-color: var(--almost-black) !important;
}


/* Hides link to the index page from the index list */

.table-of-contents li.page-index-item-id-4524,
#post-4524 ul.wp-block-page-list li.current-menu-item {
  display: none !important;
}

/* ------- Forminator ------- */

.forminator-edit-module,
.widget-content label {
  display: none;
}

.forminator-error-message {
  display: none;
}

.forminator-response-message {
  margin: 0;
  padding: 0;
}

.forminator-response-message ul {
  margin: 1rem 0;
  padding: 0;
}

.forminator-response-message li {
  list-style: none;
  font-style: italic;
  color: var(--almost-black);
  margin: 0;
  padding: 0;
}

.forminator-custom-form .forminator-field label,
.forminator-custom-form .forminator-label {
  display: none !important;
}

.widget-content .forminator-row {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-block !important;
}

.widget-content .forminator-col {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-block !important;
}

.widget-content .forminator-button,
.widget-content .forminator-row,
.widget-content .forminator-col,
.widget-content .forminator-field {
  display: inline;
  margin: 0;
}

.widget-content .forminator-input {
  margin-right: -15px;
}

.forminator-col {
  padding-left: 0 !important;
}

form .forminator-field-radio label {
  display: block;
}

form .forminator-field-radio .forminator-label {
  margin: 0.8rem 0 0.2rem 0;
  display: block;
}

.forminator-radio-label {
  padding-left: 0.4rem;
  font-size: 1rem;
}

.forminator-row {
  margin: 10px 0 !important;
}

.hustle-ui {
  margin: 0 !important;
  padding: 0 !important;
}

.hustle-ui ul {
  margin: 0 !important;
  padding: 0 !important;
}

.hustle-ui ul li {
  padding: 0 10px 0 0 !important;
}

.hustle-ui .hustle-social {
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
}

.page-id-5050 .wp-block-page-list .current-menu-item {
  display: none;
}

.page-id-5969 table {
  font-size: 13px;
  font-family: monospace;
}

.page-id-5969 table th:last-of-type,
.page-id-5969 table td:last-of-type {
  display: none;
}

.parent-page-title a {
  text-decoration: none;
  font-size: var(--primary-heading-size);
  display: inline-block;
}

.parent-page-title::after {
  content: " \2192";
}

.parent-page-title,
.entry-title {
  display: inline-block;
}

.parent-page-title {
  margin: 0;
  margin-right: 0.07rem;
}

.wp-block-button {
  margin: 0.5rem 0 !important;
}

.pages-toc-section {
  margin: 0 -2rem 0 -2rem;
  padding: 1rem 2rem 1rem 2rem;
  border-top: 1px solid;
  display: block;
}

.pages-toc-section .category-header {
  display: none;
}

.pages-toc-section ul {
  columns: 4;
  margin: 2rem 0 -1rem 0 !important;
  font-size: 1rem;
}

.table-of-contents .pages-toc-section section {
  margin: 0 !important;
}

.browse>div {
  margin-bottom: 2rem;
}

/* ------- Mobile ------- */

@media screen and (max-width: 1000px) {

  .pages-toc-section ul,
  .two-columns ul {
    columns: 1;
  }

  .container {
    padding: 0 5%;
  }

  .interstitial {
    width: 100%;
    float: none;
    display: block;
  }

  .interstitial img {
    margin: 0 auto;
  }

  .pinetree {
    text-align: center !important;
  }

  .nav-links,
  .nav-links div {
    display: block;
    text-align: center;
  }

  .nav-links div:first-of-type {
    margin: 0 0 0.5rem 0;
  }

  body {
    border: none;
    margin: 0;
    padding: 0;
    max-width: 100%;
  }

  #menu-primary {
    margin: 0;
  }

  .site-header {
    margin-top: 0;
    display: block;
  }

  .widget-content form {
    /*  max-width: calc(100% - 4rem); */
    margin: 0 auto;
  }

  .forminator-input,
  .forminator-button,
  .forminator-row,
  .forminator-col,
  .forminator-field {
    width: 100% !important;
    display: block;
  }

  .forminator-row {
    padding: 0 !important;
  }

  .widget-content .forminator-button {
    margin-top: -2px;
  }

  select,
  #card-element,
  input[type="url"],
  input[type="password"],
  input[type="text"],
  input[type="email"],
  input[type="search"],
  textarea,
  input[type="button"],
  input[type="submit"],
  button {
    max-width: 100%;

  }

  .pinetree {
    text-align: center !important;
  }

}


.forminator-field-textarea input[type="button"],
.forminator-field-textarea input[type="submit"],
.forminator-field-textarea button {
  border: inherit !important;
  margin: 0 !important;
}



#browse-menu {
  text-align: right;
  margin: 0;
}

#browse-menu select {
  border: 1.5px solid var(--almost-black);
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('/wp-content/themes/plainly/assets/down.svg');
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px !important;
  background-size: 16px;
}

#browse-menu select:focus {
  background-color: white !important;
}