/* genesis blocks custom css */

.gb-block-layout-column-inner p:last-child {
  margin-bottom: 0px;
}

.containbg.wp-block-genesis-blocks-gb-container .gb-container-image {
  object-fit: contain !important;
}

.home-content-sidebar.gb-2-col-wideleft > .gb-layout-column-wrap {
  grid-template-columns: 2fr 320px;
}

.gb-block-post-grid .gb-block-post-grid-image {
  margin-bottom: 10px;
}

.gb-block-post-grid .is-grid article {
  margin-bottom: 10px;
}

.gb-block-post-grid header .gb-block-post-grid-title {
  font-size: var(--title-size);
  text-align: center;
  font-weight: 400;
  margin-top: 5px;
  margin-bottom: 5px;
  font-family: var(--secondary-font-family);
  display: block;
  letter-spacing: 0;
  color: #000;
}

.gb-block-post-grid header .gb-block-post-grid-title a.entry-link,
.gb-block-post-grid header .gb-block-post-grid-title a.entry-link:visited {
  font-weight: 400;
  color: #1a1a1a;
}

.gb-block-post-grid header .gb-block-post-grid-title a:hover,
.gb-block-post-grid header .gb-block-post-grid-title a:focus {
  color: var(--accent-color);
}

.gb-block-post-grid header .gb-block-post-grid-title .post-meta a,
.gb-block-post-grid header .gb-block-post-grid-title .post-meta a:visited {
  font-family: var(--secondary-font-family);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.gb-block-post-grid .gb-block-post-grid-byline {
  text-align: center;
  margin-bottom: 0px;
}

.gb-block-post-grid .is-list .gb-block-post-grid-title {
  font-size: var(--title-size);
  text-transform: none;
  text-align: left;
  font-weight: 400;
}

.gb-block-post-grid .is-list .gb-block-post-grid-byline {
  text-align: left;
}

.gb-block-post-grid-title .post-meta {
  display: block;
}

.gb-post-grid-section-title {
  margin-bottom: 30px;
}

.gb-block-post-grid .gb-post-grid-section-title {
  text-align: center;
  font-family: var(--secondary-font-family);
}

.home-content-sidebar .gb-block-post-grid .gb-post-grid-section-title {
  text-align: left;
}

.gb-block-post-grid-excerpt .post-meta,
.gb-block-post-grid-excerpt .post-title {
  display: none;
}

.gb-block-post-grid .is-list article {
  grid-template-columns: 45% 1fr;
}

.gb-block-post-grid .is-list article:not(:last-child) {
  border-bottom: 0px;
  padding-bottom: 0px;
}

.gb-block-newsletter.inline form {
  display: flex;
}

.gb-block-newsletter.inline label {
  display: none;
}

.gb-block-newsletter.inline input:not(.gb-button) {
  margin-right: 10px;
  margin-bottom: 0px;
}

.gb-block-newsletter.inline .gb-button {
  width: 30%;
  font-size: 14px;
  font-style: normal;
  padding: 10px;
  border: 1px solid var(--altbutton-color);
}

.gb-block-post-grid .gb-block-post-grid-text p {
  margin-bottom: 5px;
}

.gb-block-post-grid .gb-block-post-grid-more-link {
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0px;
  font-weight: bold;
  color: var(--link-color);
  text-decoration: underline;
}

.gb-block-post-grid .gb-block-post-grid-more-link:hover,
.gb-block-post-grid .gb-block-post-grid-more-link:focus {
  color: var(--accent-color);
}

hr.wp-block-separator.fullwidth:not(.is-style-wide):not(.is-style-dots) {
  max-width: 100%;
}

.gb-form-styles input:not(.gb-newsletter-submit) {
  min-height: 35px;
}

.entry-content .blocks-gallery-grid {
  padding-left: 0px;
}

.gb-button,
.gb-button:visited {
  font-family: var(--para-font-family);
  text-decoration: none !important;
  letter-spacing: 0px;
  font-weight: bold;
  border: 1px solid var(--button-color);
  text-transform: uppercase;
}

.gb-block-cta .gb-button-size-small {
  min-width: 250px;
  padding: 18px 10px;
}

.gb-block-button {
  margin: 0 0 1em 0;
}

.gb-block-button.is-style-alt .gb-button,
.gb-block-button.is-style-alt .gb-button:visited {
  background-color: var(--altbutton-color) !important;
  color: var(--altbutton-txt-color) !important;
  border-color: var(--altbutton-color) !important;
}

.gb-block-button.is-style-alt .gb-button:hover,
.gb-block-button.is-style-alt .gb-button:focus {
  background-color: var(--altbutton-hover-color) !important;
  color: var(--altbutton-txt-hover-color) !important;
  border-color: var(--altbutton-txt-hover-color) !important;
}

.gb-block-cta {
  padding: 2% 3% 3%;
}

.gb-block-cta .gb-cta-title {
  margin-bottom: 30px;
}

.gb-block-cta .gb-font-size-27 {
  font-size: 27px;
  margin-bottom: 10px;
}

.gb-cta-button {
  text-align: center;
}

.gb-button {
  border-radius: 0px;
}

.site-container .gb-block-cta .gb-button,
.site-container .gb-block-cta .gb-button:visited {
  background-color: var(--altbutton-color) !important;
  border: 1px solid var(--altbutton-color) !important;
  color: #fff;
}

.site-container .gb-block-cta .gb-button:hover,
.site-container .gb-block-cta .gb-button:focus {
  background-color: #fff !important;
  border: 1px solid var(--altbutton-color);
  color: var(--altbutton-color) !important;
}

.site-container .gb-block-cta.btn .gb-button,
.site-container .gb-block-cta.btn .gb-button:visited {
  background-color: var(--button-color) !important;
  border: 1px solid var(--button-color) !important;
  color: #fff;
}

.site-container .gb-block-cta.btn .gb-button:hover,
.site-container .gb-block-cta.btn .gb-button:focus {
  background-color: #fff !important;
  border: 1px solid var(--button-color);
  color: var(--button-color) !important;
}

.gb-block-spacer.small {
  max-width: 50px;
  margin-right: auto;
  margin-left: auto;
}

.largelist li {
  font-size: 19px;
  margin-bottom: 20px;
}

.post-meta .categories-listing {
  display: block;
  text-align: center;
}

.post-meta .categories-listing .cat-item {
  display: inline-block;
}

.post-meta .categories-listing .cat-item img {
  margin-right: 2px;
  max-width: 25px;
}

/* Pricing Table
---------------------------------------------------------------------------- */

.gb-block-pricing-table .gb-button,
.gb-block-pricing-table .gb-button:visited {
  min-width: 200px;
  max-width: 100%;
  padding: 18px 5px;
}

.gb-pricing-table-title {
  font-size: 20px;
  letter-spacing: 1.5px;
}

/* Testimonial
---------------------------------------------------------------------------- */

.gb-block-testimonial .gb-testimonial-info {
  display: flex;
  align-items: center;
}

.gb-block-testimonial .gb-testimonial-name {
  font-family: var(--para-font-family);
}

/* Media Queries
---------------------------------------------------------------------------- */

@media only screen and (max-width: 1023px) {
  .gb-block-post-grid .is-grid.columns-3,
  .gb-block-post-grid .is-grid.columns-4,
  .gb-block-post-grid .is-grid.columns-5,
  .gb-block-post-grid .is-grid.columns-6 {
    grid-template-columns: 1fr 1fr;
  }

  .gb-block-post-grid .is-list article {
    grid-template-columns: 1fr 1fr;
  }
}

@media only screen and (max-width: 960px) {
  .gb-block-post-grid article,
  .gb-block-post-grid .is-grid article {
    margin-bottom: 20px;
  }

  .gb-block-newsletter.inline form {
    display: block;
  }

  .gb-block-newsletter.inline .gb-button {
    width: 100%;
  }

  .home-content-sidebar.gb-2-col-wideleft > .gb-layout-column-wrap {
    grid-template-columns: 100%;
  }

  .aboutsection .wp-block-media-text__content {
    margin-left: 0px;
  }

  .aboutsection .wp-block-media-text__content .wp-block-button {
    width: 100%;
  }

  .gb-block-post-grid .gb-block-post-grid-image img {
    max-width: 350px;
    margin: auto;
  }
}

@media only screen and (max-width: 600px) {
  .gb-block-post-grid div[class*="columns"].is-grid.columns-2,
  .gb-block-post-grid div[class*="columns"].is-grid.columns-3,
  .gb-block-post-grid div[class*="columns"].is-grid.columns-4,
  .gb-block-post-grid div[class*="columns"].is-grid.columns-5,
  .gb-block-post-grid div[class*="columns"].is-grid.columns-6 {
    grid-template-columns: 1fr 1fr;
    grid-gap: 0 1em;
  }

  .gb-block-post-grid .is-list article {
    grid-template-columns: 1fr;
  }
}
