/* @import url('https://fonts.googleapis.com/css?family=Lato&display=swap'); */

.edit-post-visual-editor__post-title-wrapper .editor-post-title
,body, h1, h2, h3, h4, h5, h6
,.post-title
,.post-content
,.main-menu
,.navigation {
  font-family:  Lato, sans-serif;
}

html, body {
  font-size: 16px;
}

.navigation {
  position: sticky;
  top: 0;
  z-index: 1;
  border-bottom: 1px solid lightgrey;
}

.bg-image {
  background-position: top;
}

.post-meta p {
  letter-spacing: 0.5px;
}

.post-title, .comments-title ,.comment-reply-title {
  font-size: 1.9rem;
  line-height: 130%;
  font-weight: 700;
}

.post-content p, .post-content li {
    line-height: 1.4;
}
.post-content p {
    margin-bottom: 1.1em;
}

.main-menu a {
  font-weight: 700;
  font-size: 1.2em;
}

.box_email_link {
  width: fit-content;
  margin-left: 20px;
}
.box_email_link a {
  color: var(    --wp--preset--color--vivid-red);
  text-decoration: none;
}

.credits p {
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: lightgrey;
}

/* widget links black */
.wp-block-categories-list a, 
.wp-block-latest-posts__list a,
.wp-block-latest-comments a {
  color: var(--wp--preset--color--black);
  text-decoration: none;
}
.wp-block-categories-list a:hover, 
.wp-block-latest-posts__list a:hover,
.wp-block-latest-comments a:hover {
  color: var(--wp--preset--color--accent);
  font-weight: bold;
}

/* hide header from all but home */
body:not(.home) > figure {
    display: none;    
}
body:not(.home) .content {
    margin-top: 0;    
}

p.underline_red {
    font-weight: 900;
    border-bottom: 2px solid #ca2017;
    text-transform: uppercase;
}

h2.wp-block-heading {
  text-decoration: underline;
  text-decoration-color: #ca2017;
  text-transform: uppercase;
  font-size: 1.1em;
  margin-bottom: 10px;
}
.wp-block-latest-posts__list wp-block-latest-posts li {
  border-bottom: 1px solid #ddd;
  line-height: 120%;
  padding: 5px 0;
}

/* full width template with no title */
.page-template-full-width-notitle-page-template-php .content {
    width: 100%;
    float: none;
}
.page-template-full-width-notitle-page-template-php .post-inner { 
    width: auto; 
}
.page-template-full-width-notitle-page-template-php .post-header {
    display: none;
}
.page-template-full-width-notitle-page-template-php .post-header + .post-content {
    margin-top: 0px;
}

/* two column template with no title */
.page-template-twocolumn-notitle-page-template-php .post-header {
    display: none;
}
.page-template-twocolumn-notitle-page-template-php .post-header + .post-content {
    margin-top: 0px;
}

.header.section.bg-white.small-padding {
  background-color: whitesmoke;
}
.header {
  padding: 25px 0;
}

#site-content {
  background-color: whitesmoke;
}

/* round corners for the posts */
.post {
  border-radius: 5px;
}

/* tighten space on both left and right hand side of the body */
.section-inner {
  width:1090px;
  max-width: 95%;
}

/* tighten space between post */
.post + .post {
  margin-top: 20px;
}

/* tighten space between post header and post content */
.post-header + .post-content {
  margin-top: 25px;
}

/* tighten space of content inside the post to be closer to the top and bottom */
.sticky-post {
  right: 1.8%;
}
.sticky .post-inner {
  padding-top: 30px;
}
.post-inner {
  padding-top: 25px;
  padding-bottom: 30px;
}

@media (not (max-width: 600px)) and (not (max-width: 500px)) {
 .post-inner {
   max-width: 88%;
 }
 .content {
  margin-top: -80px;
 }
}
/*
.post-content > *:last-child {
  padding-bottom: 25px;
}
*/
.wp-block-categories li:before {
  /* content: '\f301';
  font: 16px/1 'Genericons'; */
  content: '\f07c';
  font: var(--fa-font-regular);
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  color: #999;
  margin-left: 3px;
  margin-right: 10px;
  position: relative;
  top: -1px;
}

/* .post-tags a,.tagcloud a { */
a.tag-cloud-link, .post-tags a{
  display:inline-block;
  padding:5px 6px 6px 3px;
  margin:0 3px 8px 11px;
  background:#ddd;
  font-family: Lato,Helvetica,sans-serif;
  font-size:.7rem !important;
  line-height:1;
  font-weight:900;
  letter-spacing: 0px;
  text-transform: capitalize;
  color:#444;
  position:relative;
  text-decoration:none
}
a.tag-cloud-link::before {
    content: "";
    display: block;
    border: 11px solid transparent;
    border-left-width: 0;
    border-right-color: #ddd;
    position: absolute;
    top: 0;
    left: -11px;
}
a.tag-cloud-link:hover{
  font-weight:900;
  color: var(--wp--preset--color--accent);
}

.wp-block-table table {
  margin: 0 0;
}

.table-overflowx table {
  white-space: nowrap;
  overflow-x: auto;
  width: auto;
  /* margin: auto; */
}
.table-overflowx table thead th {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  background-color: #f7f7f7 !important;
}
/*
.table-overflowx table thead th:first-child {
  border-top-left-radius: 14px;
}
.table-overflowx table thead th:last-child {
  border-top-right-radius: 14px;
}
.table-overflowx table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 14px;
}
.table-overflowx table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 14px;
}
*/
.table-overflowx table td,
.table-overflowx table th {
  padding: 8px 10px;
  /* border-left: 1px solid var(--wp--preset--color--light-gray); */
  border-color: #ddd;
}
.table-overflowx table td:first-child,
.table-overflowx table th:first-child {
  /* border-left: none; */
}
.table-stripe table tr {
  background-color: none;
}
.table-stripe table tr:nth-child(2n) {
  background-color: #fafafa;
}

.table-font-size-normal {
  font-size: 1.1em;
}
.table-margin-left {
  margin-left: 20px
}