/**
 *
 **/
img.alignright {
  float: right;
  margin: 0 0 1em 1em;
}

img.alignleft {
  float: left;
  margin: 0 1em 1em 0;
}

img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignright {
  float: right;
}

.alignleft {
  float: left;
}

/* clear */
.clearer {
  display: block;
  content: ".";
  clear: both;
  font-size: 0;
  line-height: 0;
  height: 0;
  overflow: hidden;
}

.post-list .item h2 {
  height: 2.5em;
  margin-bottom: 10px;
  font-size: 1em;
  font-weight: normal;
  text-align: center;
  margin: 0;
  margin-bottom: 6px;
  color: #777;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

ol.post-list,
ol.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.is-blog .page-title {
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.post-list-item {
  margin-bottom: 28px;
}

.post-list-item a {
  text-decoration: none;
}

.post-list-item span.button {
  display: block;
  width: 120px;
  margin: auto;
  border: 0;
  background: #a6c649;
  padding: 10px 15px;
  font-weight: normal;
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
  color: #fff;
  border-radius: 5px;
}

.post-list-item span.button:hover {
  opacity: 0.9;
}

.post-list-item span.button::before {
  font-size: 14px;
  color: #fff;
  content: "\f002";
  font-family: "FontAwesome";
  margin: 0;
  vertical-align: top;
  display: inline-block;
  font-weight: 900;
  overflow: hidden;
  speak: none;
  text-align: center;
  margin-right: 6px;
}
/* Title */

.is-blog .page-title-wrapper {
  margin-top: 2em;
}

/* General Post Styles */
.post-list li:after {
  content: " ";
  clear: both;
  display: block;
}

.post-list li {
  /*display: inline-block; width: 48%; vertical-align: top;*/
}

.post-entry {
  overflow: hidden;
  margin: 0;
}

.post-image {
  overflow: hidden;
  float: right;
  max-width: 520px;
}

.post-image a {
  display: inline-block;
}

.post-image img,
.wp-sidebar__recent-posts__list img {
  margin-bottom: 10px;
  padding: 3px;
  border: 1px solid #ddd;
  border-radius: 7px;
}

.post-meta {
  clear: both;
  margin: 0 0 20px;
  text-align: left;
}

.post-meta .post-meta-item {
  display: block;
  margin-right: 10px;
  margin-top: 2rem;
}

.post-meta .post-meta-item a {
  background: #555555;
  color: #ffffff;
  padding: 6px;
  border-radius: 5px;
  display: inline-block;
  margin: 3px 0;
}

.responsive img,
img.responsive {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.b10 {
  margin-bottom: 10px !important;
}

.post-readmore {
  margin-top: 10px;
}

.post-entry iframe {
  max-width: 100%;
}

/* Comments */
.comment-list-item {
  margin: 0 0 20px;
}

.comment-list.children {
  margin-top: 20px;
}

.comment-image {
  float: left;
  margin: 0 10px 10px 0;
}

.comment-author {
  font-weight: bold;
  display: block;
}

.comment-entry {
  clear: both;
  margin: 0 0 20px;
}

/* Widgets */

.block-blog-categories .block-title {
  position: relative;
}

.block-blog-categories .block-title>strong {
  padding: 10px 15px;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  border: 1px solid #ddd;
  background-color: #a6c649;
  color: #fff;
  position: relative;
  border-radius: 7px 7px 0 0;
  margin: 0;
  display: block;
}

.block-blog ul,
.block-blog ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.block-blog-cloud li {
  display: inline;
  margin: 0;
}

.block-blog-categories {
  border-radius: 7px;
  border-color: #ddd;
  overflow: hidden;
  margin-bottom: 28px;
  line-height: 1.42857143;
}

.block-blog-categories .block-content {
  padding: 10px 15px;
  font-size: 13px;
  border: 1px solid #ddd;
  border-top-color: rgb(221, 221, 221);
  border-top-style: solid;
  border-top-width: 1px;
  border-top: 0;
  border-radius: 0 0 7px 7px;
  background-color: #555555;
}

#wp-category-list {
  font-style: italic;
}

#wp-category-list li a {
  color: #fff;
}

.block-blog-categories ul.level1 {
  margin-top: 1rem;
}

.shortcode-product .products {
  text-align: left;
  list-style: none;
}

.shortcode-product .products>li {
  display: inline-block;
  width: 24%;
  text-align: center;
}

/* Post List Grid */

.post-list.grid li {
  display: inline-block;
  width: 30%;
  vertical-align: top;
  margin-right: 1%;
}

/*  further customizations - Chris */

.wp-sidebar__recent-posts__list {
  padding: 0;
  list-style: none;
}

.wp-sidebar__recent-posts__list li {
  text-align: center;
  font-size: 13px;
  margin-bottom: 20px;
}

.wp-sidebar__recent-posts__list li a {
  transition: 0.5s all;
  text-decoration: none;
  color: #333333;
}

.wp-sidebar__recent-posts__list li:hover a {
  color: #555555;
  transform: scale(1.1);
}

.sidebar-additional {
  display: none;
}

.wordpress-post-view .entry-meta {
  font-size: 11px;
  font-style: italic;
  margin: -10px 0 20px;
}

.wp-block-image img {
  padding: 3px;
  border: 1px solid #ddd;
  border-radius: 7px;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.wordpress-post-view .nav-links a {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 5px;
  background: #a6c649;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
}

.wordpress-post-view .nav-links .nav-previous {
  float: left;
}

.wordpress-post-view .nav-links .nav-next {
  float: right;
}

.wordpress-post-view .nav-links .nav-previous a::before {
  font-family: "FontAwesome";
  content: "\f177";
  margin-right: 6px;
}

.wordpress-post-view .nav-links .nav-next a::after {
  font-family: "FontAwesome";
  content: "\f178";
  margin-left: 6px;
}

.pager .toolbar-amount {
  display: none;
}

.pages-items .pages-item-previous .action,
.pages-items .pages-item-next .action {
  border: 0;
}

.wordpress-homepage-view .page-title-wrapper::after {
  content: "";
  display: block;
  height: 1px;
  color: #777;
}

/*
* Featured posts hero styles
*/

.featured-post-wrapper {
  overflow-x: hidden;
  width: 100%;
}

.blog-hero-container {
  display: flex;
  overflow: auto;
  overflow-y: hidden;
  --n: 3;
  width: 100%;
  width: calc(var(--n) * 100%);
  transform: translate(calc(var(--i, 0) / var(--n) * -100%));
  transition: transform 0.5s ease-out;
}

.featured-posts-control .slide-control {
  height: 15px;
  width: 15px;
  border-radius: 50%;
  color: white;
  background: white;
  opacity: 0.3;
  margin-right: 1em;
}

.featured-posts-control .slide-control:hover {
  cursor: pointer;
}

.featured-posts-control .slide-control.active-slide {
  opacity: 1;
}

.blog-hero-container .slide-container {
  display: flex;
  align-items: normal;
  justify-content: space-between;
  background-color: #a6c649;
  width: 100%;
  width: calc(100% / var(--n));
  user-select: none;
  cursor: grab;
  overflow-x: hidden;
}

.blog-hero-container .slide-container:active:hover {
  cursor: grabbing;
}

.blog-hero-container .slide-container .intro-info a::after {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: inherit;
  line-height: inherit;
  color: #fff;
  content: "\f054";
  font-family: "FontAwesome";
  margin: 0 0 0 6px;
  vertical-align: top;
  display: inline-block;
  font-weight: 700;
  overflow: hidden;
  speak: none;
  text-align: center;
}

.slide-container .intro-info {
  flex-basis: 50%;
  margin-top: 3%;
  margin-left: 5%;
  margin-right: 4%;
  line-height: 1.8;
}

.intro-info .featured-post-title {
  color: white;
  font-size: 2.5rem;
  font-size: clamp(2rem, 1.7vw, 3.5rem);
  font-weight: bold;
  letter-spacing: 1px;
}

.intro-info p {
  color: white;
  margin-top: 10px;
  font-size: clamp(1.4rem, 0.75vw, 1.6rem);
}

.intro-info a {
  color: white;
  background-color: #0b1b4e;
  padding: 6px;
  display: block;
  width: 40%;
  text-align: center;
  border-radius: 12px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 1.2em;
}

.slide-container .featured-image {
  max-width: 500px;
}

.slide-container .featured-image a img {
  border-radius: 0 0 0 50%;
  border-left: 5px solid white;
  border-bottom: 5px solid white;
}

.blog-promo-container {
  margin: 2em 0;
}

.wp-sidebar .wp-sidebar__recent-posts {
  display: block;
}

.featured-posts-control {
  height: 4em;
  width: 100%;
  background: #555555;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-posts-control .featured-logo img {
  max-width: 100px;
  display: none;
}

.featured-posts-control__title {
  color: #fff;
  margin: 0 0.8em;
}

.wp-sidebar .block-blog-categories .block-content {
  display: block;
}

/*
* Category filter expander
*/

.wp-sidebar .block-blog-categories .toggle-input {
  display: none;
}

.block-blog-categories .block-title strong .toggle-label {
  position: absolute;
  top: 9px;
  right: 15px;
  bottom: 0;
  font-size: 1.6rem;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.block-blog-categories .block-title strong .toggle-label::after {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 1em;
  line-height: 1.4em;
  color: inherit;
  content: "\f146";
  font-family: "FontAwesome";
  vertical-align: unset;
  display: inline-block;
  font-weight: 900;
  overflow: hidden;
  speak: none;
  text-align: center;
}

.block-blog-categories .toggle-input:checked+.block-title strong .toggle-label::after {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 1em;
  line-height: 1.4em;
  color: inherit;
  content: "\f0fe";
  font-family: "FontAwesome";
  vertical-align: unset;
  display: inline-block;
  font-weight: 900;
  overflow: hidden;
  speak: none;
  text-align: center;
}

.wordpress-term-view .wp-sidebar .block-content {
  display: block;
}

.block-blog-categories .block-content #wp-category-list .item.active {
  border-left: 5px solid #a1a626;
  padding-left: 6px;
}

img[class*="wp-image-"] {
  padding: 3px;
  border: 1px solid #ddd;
  border-radius: 7px;
}

/*
* Pagination
*/

.is-blog .pager {
  /* border-top: 1px solid #d1d1d1; */
  border-bottom: none;
  background: #fff;
  box-shadow: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-content: center;
  align-items: center;
  border-radius: 3px;
}

.is-blog .pager .pages {
  display: block;
  margin: 2rem 0;
  order: 4;
}

.is-blog .pager .item.current .page {
  background: #555555;
  font-weight: bolder;
  color: #ffffff;
}

.is-blog .pager .item .page,
.is-blog .pager .item .action {
  display: inline-block;
  margin: 0 2.5px;
  padding: 0.7em 0.9em;
  border: none;
  border-radius: 5px;
  background: #f0f0ed;
  color: #555555;
  text-align: center;
  font-size: 1.2em;
  font-weight: lighter;
  line-height: 1em;
  transition: all 250ms ease-in-out;
}

.is-blog .pages .pages-items .item .page:hover,
.is-blog .pages .pages-items .action:hover {
  background: #555555;
  font-weight: bolder;
  color: #ffffff;
}

.is-blog .pages .pages-items .item.pages-item-next {
  margin: 0 0 0 2.5px;
}

.is-blog .pages .pages-items .item .action::before {
  margin: 0 auto;
  color: inherit;
  font-size: 1em;
}

.pages .action.next::before {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 46px;
  line-height: inherit;
  color: #7d7d7d;
  content: "\f054";
  font-family: "FontAwesome";
  margin: 0 0 0 -6px;
  vertical-align: top;
  display: inline-block;
  font-weight: 900;
  overflow: hidden;
  speak: none;
  text-align: center;
}

/*
* mobile styles
*/
@media only screen and (max-width: 468px) {
  .blog-hero-container .slide-container {
    margin-right: 0;
    flex-direction: column;
  }

  .blog-hero-container .slide-container .intro-info {
    order: 1;
    margin-top: 0;
    margin-right: 5%;
  }

  .alignleft,
  .alignright {
    float: none;
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .wordpress-post-view .nav-links a {
    display: block;
    float: none;
    text-align: center;
    margin-top: 12px;
  }

  .wordpress-post-view .nav-links .nav-next,
  .wordpress-post-view .nav-links .nav-previous {
    float: none;
  }

  .wp-block-image {
    display: inline-block;
    width: 100%;
  }

  .wp-block-image .alignleft,
  .wp-block-image .alignright {
    float: none;
    margin: auto;
  }
}

/*
* tablet styles
*/
@media only screen and (max-width: 768px) {
  .is-blog .page-title-wrapper {
    margin-top: 2em;
  }

  .featured-post-wrapper {
    width: 100%;
    margin: 0;
  }

  .post-list.grid li {
    display: block;
    width: 100%;
  }

  .blog-hero-container .slide-container .intro-info a {
    width: 40%;
  }

  .blog-hero-container .slide-container .featured-image {
    flex-basis: 40%;
  }

  .blog-promo-container a img {
    width: 100%;
  }

  /* hide recent posts on mobile */

  .wp-sidebar .wp-sidebar__recent-posts {
    display: none;
  }

  .post-image {
    float: none;
  }
}

/*
* desktop styles
*/
@media only screen and (min-width: 768px) {
  .is-blog .post-view .post-entry .post-image {
    margin-left: 1em;
  }

  .wordpress-homepage-view .sidebar-main,
  .wordpress-term-view .sidebar-main {
    position: sticky;
    top: 66px;
  }
}
