/**
Theme Name: SGT Child Theme
Author: Rowan Richardson
Author URI: https://roweena.co.uk
An Astra based theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sgt-child-theme
Template: astra
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 130% !important;
  font-weight: 400
}

#primary p a {
  text-decoration: underline;
}

.pullup0 {
  margin-top: 0 !important;
}
.pullup {
  margin-top: -20px !important
}

.pullup40 {
  margin-top: -40px
}

/* HEADER */
header .custom-logo-link img,
.site-footer-section-1 img {
  max-width: 190px !important;
}

.ast-above-header-bar   {
  background:#2c5234 !important;
}


@media screen and (min-width: 1600px) {
  .site-content .ast-container {
    max-width: 1500px !important;
  }
}

.ast-search-box.full-screen,
.ast-search-box.header-cover {
  height: 160px; !important
}

.large-search-text  {
  padding: 25px 0 0 0 !important
}

.ast-search-box.full-screen .ast-search-wrapper fieldset {
  padding: 0
}

.page-template-default  .ast-advanced-headers-layout {
  margin-bottom: 45px
}
/* MENU */

.ast-builder-menu-1 .menu-item > .menu-link {
  padding-right: 0;
  padding-left: 30px;
  font-size: 1rem
}

.ast-builder-menu-1 .sub-menu .menu-item > .menu-link {
  text-transform: none
}

.ast-builder-grid-row.ast-grid-center-col-layout {
  grid-template-columns: 1fr auto 1fr;
}

.ast-icon.icon-arrow svg {
  margin-left: 5px
}

.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item {
  line-height: 40px;
}


#ast-hf-menu-1-sticky .menu-link {
  background: #fff !important

}

#ast-hf-menu-1-sticky .sub-menu .menu-link:hover {
  background: #44a041 !important

}
.ast-above-header-bar li {
  text-transform: uppercase;
  font-size: 0.9rem;

}

.ast-above-header-wrap li a {
  color: #fff !important;
  background:#2c5234 !important;
}
.ast-above-header-wrap li:hover a {
  background:#44a041 !important;
}


/* BLOCKS */

.has-ast-global-color-1-background-color a:hover {
  text-decoration: underline;
}
.wp-block-cover__inner-container {
  width: 100% !important;
  margin: 0 auto !important;
  /* text-align: center; */
}
.wp-block-cover__inner-container h1,
.ast-advanced-headers-layout-2 h1.ast-advanced-headers-title {
  margin: 65px 0 30px 0;
  text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
  padding: 0 0 30px 0;
  line-height: 130% !important;
  background: rgba(0, 0, 0, 0.2);
  padding: 5px 25px 10px 25px;
  border-radius: 5px;
  display: inline-block;
}

.ast-advanced-headers-layout-2    {
  margin-bottom: 45px;
}

.ast-advanced-headers-layout-1 .ast-advanced-headers-wrap {
  max-width: 100%
}

.ast-advanced-headers-layout-1 h1,
.entry-content  h1 {
  font-size: 36px;
  font-weight: 300
}


.curve.wp-block-group {
  padding: 1rem 1rem 0 1rem;
}

.curve p strong {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: normal;
  font-size: 120%;
  font-style: italic;
  letter-spacing: 0.05rem;
}

.wp-block-cover__inner-container p .wp-block-group {
  padding-top: 2em;
  padding-bottom: 2em;
}
.wp-block-uagb-info-box {
  position: relative;
  background: #f2ecdf;
  transition: all 0.3s ease-in;
  padding: 0;
  border-radius: 0 35px 0 35px;
}

.uagb-infobox__content-wrap .uagb-ifb-imgicon-wrap {
  margin: 0 !important;
  overflow: hidden;
  border-radius: 0 35px 0 0;
}

.uagb-infobox__content-wrap .uagb-ifb-image-content img {
  border-radius: 0 35px 0 0 !important;

}
.wp-block-uagb-info-box:hover {
  background: #efdbb2;
}

.wp-block-uagb-info-box .uagb-ifb-cta {
position: absolute;
bottom: 0;
left:0;
right:0;

margin-left: auto;
margin-right: auto;



}


.wp-block-uagb-info-box  p {
  padding: 0 20px
}

.uagb-ifb-text-wrap {
  min-height: 180px
}

.uagb-ifb-separator-parent {
  display: none !important
}

.outline .wp-block-column {
  border: 1px solid #f2ecdf;
  transition: all 0.3s ease-in;
  padding: 25px;
  border-radius: 0 0 0 35px;
}

.wp-block-latest-posts__list li {
  padding: 0 0 15px 0;
}

.wp-block-latest-posts__list li img {
  max-width: 100% !important;
}
/* .wp-block-latest-posts__list.has-ast-global-color-1-background-color li a {
  color: #fff;
} */

.wp-block-latest-posts__list a,
.wp-block-latest-posts__list p,
.wp-block-latest-posts__list h2,
.wp-block-latest-posts__list h3,
.wp-block-latest-posts__list h4,
.wp-block-latest-posts__list h5,
.wp-block-latest-posts__list time,
.wp-block-latest-posts__list .wp-block-latest-posts__post-author {
}

.uagb-post__inner-wrap {
  border-radius: 5px 5px 35px 5px;
}

.uagb-ifb-title {
  margin: 20px 0 10px 0 !important;
  line-height: 140%;
}

h3.uagb-post__title {
  margin: 20px 0 20px 0 !important;
  line-height: 140% !important;
  transition: all 0.2s ease-in;
}

h3.uagb-post__title:hover {
  text-decoration: underline !important;
}

.home .uagb-infobox__content-wrap .uagb-ifb-content {
  min-height: 480px !important;
  height: auto !important;

}
.home .uagb-infobox__content-wrap .uagb-ifb-content .uagb-ifb-desc {
  margin: -20px 0 0 0
}

.wp-block-button {
  padding: 15px 0 25px 0;
}

.wp-block-gallery {
  justify-content: space-between !important;
}

/* POSTS */
.wp-block-latest-posts__list li {
  background: #fff;
}
@media (max-width: 544px) {
  .wp-block-group,
  .wp-block-cover {
    padding: 1em;
  }
}



.bg-two a {
  color: #2c5234;
  font-weight: bold;
}

.hero-posts .wp-block-media-text {
  padding: 15px;
  background: #fff;
  border-radius: 0 15px 0 15px;
  text-align: left
}
@media (max-width: 544px) {
.hero-posts h5.has-text-align-left {
  text-align: center;
  font-size: 1.4rem
}
}
.dashicons {
  font-size: 13px !important;
}

/* HEADERS */
.ast-title-bar-wrap {
  margin-bottom: 45px !important;
}


/* WOOCOMMERCE */
.wc-block-grid__product {
  padding: 15px;
}

.home .wc-block-grid__product {
  background: #efdbb2;
  padding: 25px;
  border-radius: 0 0 35px 0;
}


.woocommerce ul.products li.product.box-shadow-1 {
  background: #fff;
  padding: 15px;
  border-radius: 0 0 35px 0;
}

.woocommerce ul.products li .price {
  display: none !important
}

.woocommerce ul.products li.product .astra-shop-summary-wrap, .woocommerce-page ul.products li.product .astra-shop-summary-wrap {
  padding: 0
}

.woocommerce .product_meta {
  display: none !important
}

.woocommerce-shipping-destination {
  display: none;
}

#billing_country_field {display: none}

.wc-block-grid__product h2 {
  font-size: 1.2rem !important;
  letter-spacing: 0 !important
}


.ast-woocommerce-container {
  margin-top: 45px
}

.ast-woo-header-cart-info-wrap {
  display: none !important
}

footer .wp-block-buttons {
  margin-top: -30px;
}

@media screen and (max-width: 990px) {

  .ast-title-bar-wrap {
    min-height: 350px !important;
    height: 250px !important;
    background-size: 150%;
    background-position: center top;
    background-repeat: no-repeat;
  }

  .wp-block-cover h1 {
    font-size: 40px !important;
    margin: 85px 0 10px 0;
    padding: 0 0 10px 0;
  }
}

.hero-posts {
  padding-top: 45px;
}

@media screen and (max-width: 680px) {
  .ast-title-bar-wrap {
    background-color: #fff;
    margin-bottom: 0 !important
  }
  .ast-title-bar-wrap,
  .ast-inside-advanced-header-content {
    min-height: 100px !important;
    height: 100px !important;
    background-size: 150%;
    background-position: center top;
    background-repeat: no-repeat;
  }

  .single-event_listing .ast-title-bar-wrap,
  .single-event_listing .ast-inside-advanced-header-content {
    display: none
  }


  .home .ast-title-bar-wrap,
  .home .ast-inside-advanced-header-content {
    min-height: 270px !important;
    height: 270px !important;
    background-size: 265% !important;
    background-position: center top;
    background-repeat: no-repeat;
  }

  .hero-posts.wp-block-cover {
    min-height: auto !important;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
  }

  .hero .wp-block-cover__gradient-background {
    background: linear-gradient(
      85deg,
      rgb(5, 41, 24, 0.7) 100%,
      rgba(253, 253, 253, 0) 100%
    ) !important;
  }

  .hero .wp-block-cover__inner-container {
    text-align: center;
  }

  .wp-block-cover h1 {
    font-size: 30px !important;
    margin: 105px 0 10px 0;
    padding: 0 0 10px 0;
    text-align: center;
  }

 .wp-block-cover p,
 .uagb-ifb-desc {
    font-size: 20px !important;
    text-align: center;
  }

  .curve.wp-block-group {
    padding: 0.5rem 1rem 1rem 1rem;
  }

  .curve .wp-block-group__inner-container .wp-block-columns:last-child {
    margin-bottom: 25px;
  }

  .curve p {
    font-size: 18px !important;
  }

  .ast-builder-menu-mobile
    .main-navigation
    .menu-item.menu-item-has-children
    > .ast-menu-toggle {
    top: 10px;
  }

  .uagb-ifb-text-wrap {
    padding: 0 15px 70px 15px;
    min-height: auto
  }

  .ast-advanced-headers-title {
    font-size: 24px;
  }

  .site-footer-section p {
    text-align: center !important;
    margin: 0 0 20px 0 !important;
  }

  .wp-block-cover h2,
  .wp-block-cover .wp-block-button  {
    text-align: center;
    width: 100%
  }

  .ast-plain-container.ast-no-sidebar #primary {
    padding: 20px 0 0 0
  }
}
@media screen and (max-width: 390px) {
  .wp-block-cover {
    min-height: 360px !important;
    background-size: 270% !important;
  }
}

@media screen and (max-width: 375px) {
  .wp-block-cover {
    min-height: 340px !important;
    background-size: 270% !important;
  }
}

.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column[style*=flex-basis] {
  margin: 0 auto
}

body:not(.home) footer {
  margin-top: 45px
}

.page-id-1152 footer {
  margin-top: 0 !important
}

footer .wp-block-image.size-full {
  margin: 0 0 25px 0
}

footer h4 {
  font-size: 18px;
  margin: 0 0 15px 0
}

.widget.widget_block {
  margin-bottom: 15px
}

.jottings-template-default .site-above-footer-wrap,
.home .site-above-footer-wrap  {
  display: none !important
}

footer  ul li {
  font-size: 1rem;
  margin: 0 0 8px 0
}
/* Sidebar */
.sidebar-main p {
  line-height: 130%
}
@media (max-width: 921px) {
.ast-separate-container.ast-right-sidebar #secondary {
    padding-left: 1em;
    padding-right: 1em;
}
}

@media (min-width: 681px) {
 .page-id-1206 .uagb-post__columns-1 .uagb-post__image
 {
    width: 25%;
  float: left;
  }

  .page-id-1206  .uagb-post__columns-1 .uagb-post__text  {
  float: right;
  width: 70%;
  }

  .page-id-1206  .uagb-post__columns-1 .uagb-post__text h3.uagb-post__title {
    margin-top: 0 !important
  }
}


.page-id-1206  .uagb-post__columns-1 .wp-block-button {
  margin-top: -15px
}



/* WIDGETS */
.page-id-1206 .widget ul,
.sidebar-page ul  {
  margin-left: 20px;
}
.page-id-1206 .widget  li {
  list-style: circle;

}

.widget  li {
  line-height: 130%

}

#custom-post-type-recent-posts-5 {
  margin-top: 2rem !important
}

/* Wrap the image and alt text */
  /* Will be added with js */
  .wp-block-media-text__media,
  .wp-block-image  {
    display: block;
    position: relative;

  }

.wp-block-media-text  {
  padding: 0 0 25px 0
  }

/* The alt text itself */
/* Will be added with js */
  .wp-block-media-text__media p.alt:not(:empty),
  .wp-block-image  p.alt:not(:empty) {
    position: absolute;
    opacity: 0; /* hide initially */
    left: 0; right: 0; bottom: 0;
    margin: 0;
    padding: 25px;
    font-size: 16px;
    line-height: 140%;
    background-color: rgba(44, 82, 52,0.8);
    transition: all 300ms ease;
    transition-delay: 300ms;
    color: #fff;
    border-radius: 0 0 10px 10px;
    z-index: 10
  }
  .wp-block-media-text__media img,
  .wp-block-image.is-style-rounded  img {
    border-radius: 0 15px 0 15px  !important;
    position: relative;
    z-index: 0
  }

/* Hovering over the wrapper shows its alt p*/
.wp-block-media-text__media:hover,
.wp-block-image:hover  {
  cursor: pointer;

}

  .wp-block-media-text__media:hover  > p.alt,
  .wp-block-image:hover > p.alt {
    opacity: 1;
    transition-delay: 0s;
  }

  .single-jottings p.alt,
  .page-template-jottings-home p.alt {
    display: none !important
  }

/* LIGHTBOX PLUGIN */
  .pswp__caption__center {
    font-size: 18px;
    padding: 15px
  }

  .img-caption,
  figcaption  {
    font-size: 0.8rem;
    margin: -17px 0 20px 0;
    display: block
  }

  .has-small-font-size {
    margin-top: -22px
  }

  /* IMAGES */
  .is-vertically-aligned-top .wp-block-image.size-full {
    margin: 10px 0 1rem 0
  }

  /* POST ARCHIVE */
  .ast-separate-container .ast-article-post {
    padding: 2rem 0
  }
 .ast-separate-container .ast-article-single {
    padding: 30px 0 0 0
  }


.sidebar-page {
  padding: 1rem
}
 .widget.Annual_Archive_Widget,
 .ast-separate-container.ast-two-container #secondary .widget.widget_recent_entries   {
    background: #f6eedd !important;
    padding: 25px;
  }
  .ast-separate-container.ast-two-container #secondary .widget {
    padding: 1rem 0
  }

  .widget {
    margin-bottom: 35px !important
  }
 .secondary .widget li,
 .secondary .wp-block-archives-list li,
 .sidebar-page li  {
    border-top: 2px solid #f6eedd !important;
    list-style: none
  }
  .secondary .widget li a,
  .secondary .wp-block-archives-list li a,
  .sidebar-page li a {
    padding: 10px  !important;
    display: block;


  }
 .secondary .widget li.current_page_item > a {
    color: #333;
    background: #f6eedd;
  }

  .secondary .widget li.current_page_item {
    border-top: none !important
  }
  .ast-separate-container #primary, .ast-separate-container.ast-left-sidebar #primary, .ast-separate-container.ast-right-sidebar #primary, .single #primary, #primary {
    margin-top: 0
  }

  #secondary {
    margin: 0 0 2.5em
  }
#secondary li {
  margin: 0
}
 .parent-sidebar-menu li.current_page_ancestor > a,
 .parent-sidebar-menu li.has_children > a  {
   padding-bottom: 10px !important;
   display: block
 }

  .widget-title,
  .widget  h4,
  .wp-block-archives__label {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1em
  }

  #block-66.widget  { /* news categories title widget */
    margin-bottom: 0 !important;
    padding: 0 !important
  }



  /* EVENTS PLUGIN */

  .wpem-from-date {
    background:#44a041 !important;
  }
  .status-expired .wpem-from-date {
    background:#efdbb2 !important;
  }

  .wpem-date, .wpem-month  {
    color:#fff !important;
  }

  .status-expired .wpem-date, .status-expired .wpem-month  {
    color:rgba(44, 82, 52,0.8) !important;
  }

  #wpem-event-box-layout,
  #wpem-event-list-layout,
  h2.wpem-heading-text  {
    display: none !important
  }

  .wpem-viewed-event,
  .wpem-event-location,
  .wpem-single-event-short-info  {
    display: none !important
  }

  .status-expired a:hover {
    cursor: default !important;
  }
  .wpem-event-listings.wpem-event-listing-box-view .wpem-event-layout-wrapper:hover{
  box-shadow: none !important
}

.wpem-event-listings.wpem-event-listing-box-view .wpem-event-layout-wrapper:hover .status-publish {
  box-shadow: 0 0 10px rgb(0 0 0 / 10%) !important;
  background: #f6eedd;
}

.wpem-event-listings.wpem-event-listing-box-view .wpem-event-layout-wrapper .wpem-event-infomation .wpem-event-details .wpem-event-title .wpem-heading-text,
.wpem-additional-info-block-title strong {
  font-size: 18px !important
}

.wpem-additional-info-block-details-content-items  {
  margin-top: 25px !important
}

.wpem-event-details .wpem-event-date-time::before  {
  display: none !important
}

.wpem-additional-info-block-textarea-text a {
  background:#44a041;
  padding: 10px 25px;
  border-radius: 10px;
  color: #fff !important;
  text-decoration: none !important
}

.wpem-event-listings .wpem-event-layout-wrapper .wpem-event-infomation .wpem-event-details .wpem-event-date-time{padding-left: 0 !important}

#event_filters {
  display: none !important
}

.uagb-post-grid-byline .dashicons-calendar  {
  display: none !important
}

 /* .uagb-post-grid-byline  .uagb-post__date  {
  background:#eee4cf;
  font-size: 0.9rem;
  border-radius: 7px;
  padding: 10px 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  text-align: center;
  width: auto;
  color:#2c5234 ;
  line-height: 120%
} */

.uagb-post-grid article {
  padding: 25px 0
}

.wpem-event-date-time-text br {
  display: none !important
}
@media  screen and (max-width: 681px) {
  .wpem-single-event-page .wpem-heading-text {
    font-size: 1.5rem
  }
}
  /* home page */
 .wp-block-buttons .is-style-outline a {
    background: none !important;
    border: 1px solid #fff !important;
    color: #fff !important;
    width: auto !important;
    margin-top: -10px
  }

  .uagb-post-grid-byline {
    margin-top: -10px
  }

  .post-type-archive-sgt_events h1,
  .post-type-archive-news h1  {
    color: rgba(68,160,65,0);
    position: relative
  }

  .post-type-archive-sgt_events h1 span,
  .post-type-archive-news h1 span  {
    color:rgba(44, 82, 52,0.8);
    position: absolute;
    left: 0;
  }

  .border .wp-block-column {
    border: 2px solid #44a041;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .border  .wp-block-image figcaption {
    margin-bottom: 0;
    line-height: 120%
  }

  .ast-separate-container .post-navigation {
    padding-left: 0;
  }

  .ast-separate-container .post-navigation a {
    border: 1px solid #44a041;
    padding: 10px 25px;
    border-radius: 35px;
    display: inline-block;
    line-height: 100%
  }

  /* JOTTINGS */

  .jottings-header {
    background:#f2ecdf url('https://sussexgardenstrust-org-uk.stackstaging.com/wp-content/uploads/2022/04/2022-04-14-Jottings-heading-picture.jpg') center bottom no-repeat;
    background-size: cover;
    padding: 3rem 1rem;
    color:#2c5234;
    text-align: center;
    height: 250px;

  }
  .jottings-sub-header {
    background:#f2ecdf ;
    padding:20px ;
    text-align: center;
    border-bottom:10px solid #2c5234;
    border-top:10px solid #2c5234
  }


  .jottings-sub-header h1 {
    margin: 0;
    font-size: 2.4rem
  }

  .jottings-sub-header p {
    font-size: 1.2rem;
    margin-bottom: 0
  }
  @media screen and (min-width: 768px) {

  .jottings-header  .text-left {
    text-align: left
  }

  .jottings-header  .text-right {
    text-align: right
  }
  .jottings-header  .text-center {
    text-align: center
  }

  .jottings-sub-header p {
    padding-top: 15px;
  }
}
@media screen and (max-width: 681px) {
  .jottings-sub-header .wp-block-columns, .jottings-sub-header .wp-block-column {
    margin: 0
  }

  .widget  {
    text-align: center
  }
}
.jottings-strapline {
  background:#44a041;
  padding: 15px
}

.jottings-columns  h3 {
  margin: 0 0 15px 0 !important
}

.jottings-strapline p{
  color: #fff;
  margin: 0;
  font-size: 1.2rem
}
  .jottings-home .uagb-post__image {
    width: 40% !important;
    float: left;
  }

  .jottings-home .uagb-post__text {
    float: right;
    width: 55%
  }
.single-jottings .post-navigation{
  display: none
}

.single-jottings .wp-block-columns {
  margin-bottom: 0
}

.jottings-template-default #secondary {
  margin-top: 35px
}

.wp-block-file__button {
  background-color: #44a041 !important;
  color: #fff
}

#block-59,
#block-56,
#block-60 {
  background: #44a041 !important;
  border-radius: 0 15px;
  padding: 20px !important;
}

#block-59  h4,
#block-56  h4,
#block-60 h4 {
  color: #fff
}

select, .select2-container .select2-selection--single {
  background: none;
  -webkit-appearance: menulist;
  width: 100%
}

#primary p.read-more a,
a[rel=prev],
a[rel=next] {
  border: 1px solid #44a041;
  padding: 5px 10px;
  border-radius: 15px;
  text-decoration: none !important;
  margin: -15px 0 30px 0 !important;

}

#primary p.read-more {
  margin-top: -15px
}

.jottings-paging {
  padding: 40px 0 25px 0
}

a[rel=prev] {
  float: right;
}

a[rel=next] {
  float: left;
}
@media screen and (min-width: 768px) {
  .jottings-columns {
    display: grid;
    grid-template-columns: 50% 50%;
    margin-top: 40px;
    margin-left: -1rem;
  }
  .jottings-columns .wp-block-column {
    margin-left:  1rem !important;
    margin-right: 1rem !important;
  }
}

.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column[style*=flex-basis].download {
  padding: 20px 15px 0 15px;
  border-radius: 15px;
  margin: 0 0 20px 20px !important
}

/* NEWS ARCHIVE */
@media (min-width: 922px) {
  .archive #secondary,
  .single-post #secondary,
  .single-jottings #secondary {
      border-left: 1px solid var(--ast-border-color) !important;
      margin-left: -1px !important;
  }
  .archive #primary,
  .single-post #primary,
  .single-jottings #primary
   {
    padding-right: 40px !important;
  }
}

  p.date {
    margin: 5px 0 15px 0
  }

.post-detail {
  margin-top: -10px !important;
  display: block;
}

p.border-bottom {
  border-bottom: 1px solid #ccc
}

.archive #block-66 p {
  margin-bottom: 0
}

option[value="https://www.sussexgardenstrust.org.uk/2022/04/"],
option[value="https://www.sussexgardenstrust.org.uk/2022/05/"],
option[value="https://www.sussexgardenstrust.org.uk/2022/06/"],
option[value="https://www.sussexgardenstrust.org.uk/2022/07/"],
option[value="https://www.sussexgardenstrust.org.uk/2022/08/"],
option[value="https://www.sussexgardenstrust.org.uk/2022/09/"],
option[value="https://www.sussexgardenstrust.org.uk/2022/10/"],
option[value="https://www.sussexgardenstrust.org.uk/2022/11/"],
option[value="https://www.sussexgardenstrust.org.uk/2022/12/"] {
  display: none !important
}

/* Pagination */
.pagination {
  text-align: center;
  width: 100%;
  display: block
}
.pagination a {
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  margin: 0 5px;
  display: inline-block;

  width: 30px;
}

.pagination span.current {
  border: 1px solid #44a041;
  padding: 5px 10px;
  border-radius: 3px;
  margin: 0 5px;
  display: inline-block;
  width: 30px;
}

/* Might be needed */
/* https://mariarboyle.com/astra-above-header-bars/ */
.ast-header-break-point .ast-above-header-mobile-inline .above-header-2 .ast-above-header-section-1{
     padding:0;
     height:10;
}

/* Gravity Forms */
.gform_wrapper  {
  background:#eee4cf;
  border-radius: 10px
}
@media screen and (max-width: 681px) {
  .gform_wrapper  {
    padding: 20px 12px
  }
}
@media screen and (min-width: 767px) {
  .gform_wrapper  {
    padding: 25px;

  }
}

.gfield_consent_description {
  overflow-y: hidden
}

/* Downloads page */
.page-id-1476 figcaption {
  margin-top: -12px;
  font-style: normal;
}

/* Case work log page */
.page-id-3180 td {
  font-size: 0.85rem
}

/* Search results */
.search  article {
  width: 100%
}
@media screen and (min-width: 768px) {
.search .ast-blog-featured-section {
  max-width:  20% !important
}

.search .post-content  {
  width:  78% !important

}
}

.show-mob {
  display: none !important
}

@media screen and (max-width: 768px) {
  .show-mob {
    display: block !important
  }
}
@media screen and (max-width: 768px) {
/* mailerlite newsletter */
.ml-block-form input[type=text],
.ml-block-form input[type=email] {
  width: 100%
}

.ml-form-embedSubmit {
  text-align: center
}


}

.uagb-cta__content-wrap {
  background:#eee4cf;
  padding: 15px 15px 0 15px;
  border-radius: 10px;
  margin: 0 0 30px 0
}

@media (min-width: 1024px) {
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
    min-width: 180px !important;
    width: 100%;
}
.cmplz-cookiebanner {
  margin: 0 !important
}
}

.home .pswp {
  display: none !important
}



  .safari.ast-desktop .wp-block-column  {
   padding: 10px
  }

.jottings-nav .current {
  background:#eee4cf;

}

.no_event_listings_found,
.wpem-single-event-page .wpem-alert-danger {
  display: none !important
}
/* .wpem-additional-info-block-details-content-left:first-of-type,
.wpem-additional-info-block-details-content-left:nth-of-type(2) {
  display: none
} */


.eventtime2:empty {
  display: none !important
}

.owl-carousel  {
  height: 420px !important;
  overflow: hidden;
  position: relative;
  z-index: 0
}

.owl-carousel::after {
  content: '';
  position: absolute;
  top: auto;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.25));
  z-index: 2
}

.owl-carousel .item {
  height: 420px !important;
}

.owl-carousel img {
  z-index: 1;
  position: relative;
  object-fit: cover;
  width: 100%;
  height: 420px;
}

.owl-text {
  color: #fff;
  position: absolute;
  z-index: 10;
  width: 100%;
  text-align: center;
  top: 35%;
  bottom: auto;
  padding: 0 5%;

}
.owl-text h1 {
  color: #fff;
  margin-bottom: 80px;
    text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
    padding: 0 0 30px 0;
    line-height: 130% !important;
    background: rgba(0, 0, 0, 0.2);
    padding: 5px 25px 10px 25px;
    border-radius: 5px;
    display: inline-block;
}
.owl-text p {
  font-size: 24px;
  color: #fff;
}

.page-id-6174 .ast-title-bar-wrap {
  display: none !important
}

.owl-nav {
  width: 100%;
  height: 50px;
  position: absolute;
  top: 45%;
  right:0;
  left: 0;
  z-index: 3
}

@media (max-width: 480px) {
  .owl-nav {
    top: 50%;
    width: 92%;
  }
}

.owl-prev { margin-left: 3%; position:relative }
.owl-next { margin-left: 95%; position:relative; top: -40px; }

/* .owl-prev.disabled,
.owl-next.disabled {
    display: none
} */
.owl-prev span, .owl-next span {
    color: #ffffff;
    font-size: 38px;
    display: block;
    background: #319E33;
    border-radius: 50%;
    border: 1px solid #319E33;
    width: 40px;
    height: 40px;
}

.home-news h4::before {
  content: 'News';
  display: block;
  margin-top: 0;
  font-size: 14px !important;
  color: #319E33;
  text-transform: uppercase;
  font-weight: bold
}


.home-event h4::before {
  content: 'Event';
  display: block;
  margin-top: 0;
  font-size: 14px !important;
  color: #319E33;
  text-transform: uppercase;
  font-weight: bold
}
.home-news  .uagb-post__cta,
.home-event  .uagb-post__cta {
  padding: 0 !important
}

.home-news .uagb-post__excerpt,
.home-event .uagb-post__excerpt  {
  padding-bottom: 15px !important
}