/* ======================================================
CUSTOM STYLES FOR CULTIVATE HERKIMER - JANUARY 2023
========================================================= */

/* ======================================================
CUSTOM BREAKPOINTS SET IN ELEMENTOR
    Mobile: 767px
    Tablet: 1024px
    Laptop: 1366px
    Widescreen: 2400px
======================================================== */

:root {
    --clr-primary: #4C7558;
    --clr-secondary: #1C6836;
    --clr-text: #43454B;
    --clr-white: #fff;
    --clr-black: #000;
    --clr-footer-grey: #373A40;
    --clr-accent: #C2B99E;
    --clr-accent-2: #e9d8bc;
    --background-overlay-opacity: .4;
    --lh-base: 1.6;
    --ff-heading: 'Roboto'
}

input[type="checkbox"] {
    cursor: pointer;
}
.link-color-fix a {
    color: var(--clr-secondary);
}
.link-color-fix a:hover {
    color: var(--clr-primary);
}
.lh-set {
    line-height: var(--lh-base) !important;
}
.lh-set h6 {
    line-height: var(--lh-base) !important;
}
.tw-balance div h4 {
    text-wrap: balance;
}
.green-button {
    width: fit-content;
    background-color: var(--clr-primary);
    color: var(--clr-white) !important;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}
.green-button:hover {
  background-color: var(--clr-primary);
  color: var(--clr-white);
}
.green-underline {
  display: block;
  width: fit-content;
}
.green-underline::after {
    position: relative;
    display: block;
    content: '';
    height: 6px;
    bottom: 0px;
    margin: 0 auto;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--clr-primary);
}
.link-color-white a {
    color: var(--clr-white);
}
.link-color-fix-1 a {
    color: var(--clr-primary);   
}
.green-hover {
  cursor: pointer;
}
.green-hover:hover {
  color: var(--clr-primary);
  transition: .3s ease-in-out;
}
.directory-table-external-link {
    color: var(--clr-primary);
}
.directory-table-external-link:hover {
    color: var(--clr-secondary);
    text-decoration: underline;
    transition: .3s ease-in-out;
}
.directory-table-external-link::after {
    content: "\f08e";
    margin-left: 5px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}
.phone-link {
    color: var(--clr-primary);
}
.phone-link:hover {
    color: var(--clr-secondary);
    text-decoration: underline;
    transition: .3s ease-in-out;
}
.phone-link::after {
    content: "\f095"; 
    font-family: "Font Awesome 5 Free";
    margin-left: 5px;
    font-weight: 900;
}
.flex-1 {
    flex: 1;
}
.flex-2 {
    flex: 2;
}
.box-shadow {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
/* CUSTOM PAGINATION */
.custom-pagination {
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 1em;
    margin-top: 50px;
}
.custom-pagination .page-numbers {
    color: var(--clr-text);
    font-size: 1.8rem;
    font-family: var(--ff-body);
}
.custom-pagination .current {
    color: var(--clr-primary);
}
.custom-pagination a:hover {
    color: var(--clr-primary);
    transition: .3s ease-in-out;
}

/*
================================================================================================
CUSTOM PAGE TEMPLATE
================================================================================================
*/

/* BASE */
.custom-template-container {
  padding: 100px 10px 100px 10px;

}

/* TABLET */
@media(min-width: 767px){

}

/* LAPTOP */
@media(min-width: 1024px){
  .custom-template-container {
  
  }
}

/* DESKTOP */
@media(min-width: 1366px){
  .custom-template-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 100px 15px 100px 15px;
  
  }
}

/* WIDESCREEN */
@media(min-width: 2400px){

}



/*
================================================================================================
GRAVITY FORMS
================================================================================================
*/
.gform_button,
input[type=submit] {
    padding: 15px 40px;
    background-color: var(--clr-primary);
    color: var(--clr-white);
    text-transform: uppercase;
    font-size: 1.3rem;
    font-family: var();
    letter-spacing: .5px;
    border: none;
    font-weight: 400;
    border-radius: 0;
}
.gform_button:hover,
input[type=submit]:hover {
    background-color: var(--clr-primary);
}
.page-template-homepage-view {
    /* background-image: url(http://dev.cultivateherkimer.org/wp-content/uploads/2023/02/colorful-ripe-peppers-onion-eggplant-on-table-li-2022-11-12-10-51-53-utc-1-scaled.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-blend-mode: multiply;
    background-color: #333; */
}

/*
================================================================================================
THREE EVENTS BASE
================================================================================================
*/
.three-events {

}
.three-events-card {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin: 0px 0px 10px 0px;
    padding: 10px 50px 50px 20px;
    /* min-height: 300px; */
    height: 100%;
}
.three-events-card::after { /* Background overlay below text */
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--clr-black);
    position: absolute;
    top: 0;
    left: 0;
    opacity: var(--background-overlay-opacity);
    z-index: 0;
}
.three-events-card > * { /* Any child element inside of this */
    z-index: 10;
    position: relative;
    color: var(--clr-white);
}
.event-date-tab {
    background-color: var(--clr-primary);
    color: var(--clr-white);
    left: 0;
    position: absolute;
    top: 20px;
    padding: 5px 20px 0px 20px;
}
.event-date-tab h4 {
    font-weight: 400;
}
.event-card-title {
    color: var(--clr-white);
    margin-top: 150px;
    font-size: 2rem;
    font-weight: 400;
}
.event-time {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0;
}
.event-address {
    font-size: 1.25rem;
    font-weight: 400;
}
.event-desc {
    font-size: 1.2rem;
}
.event-button {
    text-transform: uppercase;
    font-size: 1.25rem;
    font-weight: 400;
    cursor: pointer;
}
.event-button:hover {
    color: var(--clr-secondary);
    transition: .3s ease-in-out;
}
.view-all-events {
    background-color: var(--clr-primary);
    color: var(--clr-white) !important;
    font-size: 1.35rem;
    font-weight: 400;
    cursor: pointer;
    text-align: center;
    padding: 20px 30px;
    text-transform: uppercase;
}
.view-all-events:hover {
    background-color: var(--clr-primary);
    color: var(--clr-white);
}
.view-all-events-button {
    display: flex;
    justify-content: center;
    margin: 50px 0px;
}

/**
    ================================================================================================
    THREE EVENTS TABLET
    ================================================================================================
**/
@media(min-width: 767px){
   
}
/**
    ================================================================================================
    THREE EVENTS LATOP
    ================================================================================================
**/
@media(min-width: 1024px){
   .three-events {
    padding: 0px 100px;
   }
   .three-events-container {
    gap: 1rem;
   }
}
/*** 
        ================================================================================================
        THREE EVENTS DESKTOP
        ================================================================================================
***/
@media(min-width: 1366px){
    .three-events-container {
        max-width: 1600px;
        margin: 50px auto 100px auto;
        padding: 0px 10px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    .view-all-events-button {
        display: flex;
        justify-content: center;
        margin: 0px 0px 100px 0px;
    }
    .no-events-section {
      max-width: 1600px;
      margin: 0px auto 0px auto;
      padding: 0px 10px 75px 10px;
    }
}
/*** 
        ================================================================================================
        THREE EVENTS WIDESCREEN
        ================================================================================================
***/
@media(min-width: 2400px){
    .three-events-container {
        gap: 3rem;
    }
}


/*
================================================================================================
THREE POSTS BASE
================================================================================================
*/
.three-posts {
    padding: 0px 10px;
}
.three-posts-card {
    position: relative;
    min-height: 300px;
    padding: 10px; 
    /* padding-bottom: 50px; */
}
.posts-card-title {
    color: var(--clr-primary);
    margin-top: 30px;
    font-size: 2rem;
    font-weight: 500;
    padding: 0px 10px;
}
.posts-desc {
  padding: 0px 10px;
  margin-bottom: 10px;
  font-size: 1.2rem;
}
.posts-button {
    text-transform: uppercase;
    color: var(--clr-primary);
    font-size: 1.25rem;
    font-weight: 400;
    cursor: pointer;
    padding: 0px 10px;
}
.posts-button:hover {
    color: var(--clr-secondary);
    transition: .3s ease-in-out;
}
.view-all-posts {
    background-color: var(--clr-primary);
    color: var(--clr-white) !important;
    font-size: 1.35rem;
    font-weight: 400;
    cursor: pointer;
    text-align: center;
    padding: 20px 30px;
    text-transform: uppercase;
}
.view-all-posts:hover {
    background-color: var(--clr-primary);
    color: var(--clr-white);
}
.view-all-posts-button {
    display: flex;
    justify-content: center;
    margin: 50px 0px;
}
.posts-top-image {
  max-height: 250px;
}
.posts-desc p {
    font-size: 1.2rem;
    /* padding: 0px 10px; */
}
.blog-page-check-out-heading {
  padding: 0px 10px;
}
.blog-page-check-out-heading h3,
.no-events-section h3 {
  color: var(--clr-primary);
  font-size: 2rem;
  font-family: var(--ff-heading);
}
.three-posts-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    padding: 0px 10px;
    gap: 10px;
}
/**
    ================================================================================================
    THREE POSTS TABLET
    ================================================================================================
**/
@media(min-width: 767px){
    .three-posts {
        padding: 0px 30px;
    }
    .three-posts-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
/**
    ================================================================================================
    THREE POSTS LATOP
    ================================================================================================
**/
@media(min-width: 1024px){
   .three-posts {
        padding: 0px 30px;
   }
   .three-posts-container {
    gap: 1rem;
   }
   .posts-card-title,
   .posts-desc p,
   .posts-button {
        padding: 0px;
   }
   .posts-desc {
      padding: 0px 0px;
  }
  .blog-page-check-out-heading {
    padding: 0px 0px;
  }
}
/*** 
        ================================================================================================
        THREE POSTS DESKTOP
        ================================================================================================
***/
@media(min-width: 1366px){
    .three-posts-container {
        max-width: 1600px;
        margin: 50px auto 100px auto;
        padding: 0px 10px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    .blog-page-check-out-heading {
      max-width: 1600px;
      margin: 0px auto 0px auto;
      padding: 0px 10px;
    }
    .view-all-posts-button {
        display: flex;
        justify-content: center;
        margin: 0px 0px 100px 0px;
    }
    .three-posts-card {
        padding-bottom: 10px;
    }
}
/*** 
        ================================================================================================
        THREE POSTS WIDESCREEN
        ================================================================================================
***/
@media(min-width: 2400px){
    .three-posts-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}


/*
================================================================================================
HOMEPAGE HERO SLIDER BASE
================================================================================================
*/
.homepage-single-slide {
    min-height: 700px;
    padding: 100px 50px 0px 20px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.homepage-slider-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    background-color: var(--clr-black);
    opacity: .5;
}
.homepage-slider-heading {
    position: relative;
    z-index: 2;
    color: var(--clr-white);
    font-size: 3rem;
    margin-bottom: 50px;
}
.homepage-slider-button {
    position: relative;
    z-index: 2;
    color: var(--clr-white);
    text-transform: uppercase;
    font-size: 1rem;
    background-color: var(--clr-primary);
    padding: 20px 30px;
}
.homepage-slider-button:hover {
    color: var(--clr-white);
}
.slick-arrow {
    /* display: none !important; */
}
/**
    ================================================================================================
    HOMEPAGE HERO SLIDER TABLET
    ================================================================================================
**/
@media(min-width: 767px){

}
/*** 
        ================================================================================================
        HOMEPAGE HERO SLIDER DESKTOP
        ================================================================================================
***/
@media(min-width: 1024px){
    .homepage-single-slide {
        min-height: 800px;
        padding: 200px 0px 0px 0px;
    }
    .homepage-slide-flex {
        display: flex;
        flex-direction: column;
        justify-content: center;
        max-width: 1600px;
        margin: auto auto;
        align-items: start;
    }
    .homepage-slider-heading {
        font-size: 5rem;
    }
}
/*** 
        ================================================================================================
        HOMEPAGE HERO SLIDER WIDESCREEN?
        ================================================================================================
***/
@media(min-width: 1366px){
    .slick-arrow {
        /* display: block !important; */
    }
}

/*
================================================================================================
HOMEPAGE BASE
================================================================================================
*/

/**
    ================================================================================================
    HOMEPAGE TABLET
    ================================================================================================
**/

/*** 
        ================================================================================================
        HOMEPAGE DESKTOP
        ================================================================================================
***/

/* SMALL GREEN SQUARE BEHIND THE LOCAL FARMS COLUMN (HOMEPAGE) */
@media(min-width: 1366px){
    .local-farms-column:after {
        content: '';
        position: absolute;
        top: -20px;
        right: 0;
        bottom: 0;
        left: -20px;
        background-color: var(--clr-secondary);
        width: 100px;
        height: 100px;
        z-index: -1;
    }
}

.footer-logo {
    z-index: 1;
    position: relative;
}

/* TREE GRAPHIC TO BOTTOM RIGHT OF HOMEPAGE HERO */
@media(min-width: 1366px){
    .tree-hero::after {
        content: '';
        /* background: url('/wp-content/uploads/2023/02/LOGO-Cultivate-Herkimer-County-Forest-and-white-wcorner.png'); */
        background: url('/wp-content/uploads/2023/02/LOGO-Cultivate-Herkimer-County-Forest-and-white-wcorner-e1687278831491.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        position: absolute;
        z-index: 0;
        right: 0px;
        bottom: 0;
        width: 340px;
        height: 400px;
        /* filter: invert(1); */
    }
    .page-template-homepage-view .elementor-shape-bottom {
        z-index: 5;
    }
}

/******************************************************************************************************************
EVENTS CALENDAR ARCHIVE AND SINGLE VIEW
*******************************************************************************************************************/

/******************************
EVENTS CALENDAR BASE
*******************************/
.event-span {
    font-weight: 400;
    font-size: 1.5rem;
}
.events-calendar {
  /* display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-row-gap: 1em; */

  padding: 10px 10px;
  margin: 30px 0px 200px 0px;
}
.events-calendar-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-row-gap: 1em;
}
.event-card {
  position: relative;
  padding: 10px 10px;
  /* margin-bottom: 20px; */
  min-height: 250px;

  background-position: center center;
  background-size: cover; 
  background-repeat: no-repeat;
  /* outline: 1px solid black; */
  /* background-color: var(--clr-white); */
}
.event-title {
  position: relative;
  z-index: 3;
  margin: 0px;
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  color: var(--clr-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  max-width: fit-content;
}
.event-date {
  position: relative;
  z-index: 3;
  margin: 0px 0px 7px 0px;
  font-family: var(--ff-body);
  font-size: 1.5rem;
  color: var(--clr-white);
  max-width: fit-content;
}
.event-time {
  position: relative;
  z-index: 3;
  margin: 0px 0px 10px 0px;
  font-family: var(--ff-body);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--clr-white);
  max-width: fit-content;
}
.custom-overlay-event {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: .5;
  background-color: var(--clr-black);
  z-index: 2;
  transition: .3s ease-in-out;
}
.custom-overlay-event:hover {
  opacity: .7;
}
.event-month-tabs {
  padding: 50px 10px 50px 10px;
}
.single-month-container {
  display: none;
}
.single-month-container.active {
  display: block;
}
.event-calendar-top {
  padding: 10px 10px;
  margin: 0px 0px 0px 0px;
}
.event-calendar-top-text-under-card {
  /* display: none; */
}
.event-desc {
  font-family: var(--ff-body);
}
.event-time-underline::after {
  bottom: -8px;
}
.event-calendar-top-text-under-card .event-date {
  font-weight: 700;
}
.event-calendar-top-text-under-card p {
  font-weight: 500;
}
.event-card-top-link {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.event-calendar-top .event-date {
  color: var(--clr-primary);
}
.event-calendar-top .event-title a {
  color: var(--clr-black);
  transition: .3s ease-in-out;
}
.event-calendar-top .event-title a:hover {
  color: var(--clr-primary);
}
.event-calendar-top .event-time {
  color: var(--clr-black);
}
.event-calendar-top-text-under-card {
  padding: 30px 10px;
}
.events-calendar-divider {
  max-width: 90%;
  margin: 0 auto;
}
.single-event-container {
  padding: 10px;
  margin: 50px auto 200px auto;
}
.single-event-container p {
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 1.25rem;
}
.single-event-left .event-date {
  color: var(--clr-black);
}
.single-event-left .event-time {
  color: var(--clr-black);
}
.single-event-when {
  text-transform: uppercase;
  font-size: 4rem;
  font-weight: 500;
  font-family: var(--ff-heading);
  letter-spacing: 1px;
}
.single-event-left {
  padding-bottom: 20px;
  border-bottom: 3px solid #ddd;
}
.single-event-right p {
  margin-bottom: 30px;
  padding: 20px 0px;
}
.page-template-events-calendar-view .no-events-section {
  margin: 100px auto 100px auto;
  padding: 0px 10px;
}
  
/******************************
EVENTS CALENDAR TABLET
*******************************/
@media(min-width: 767px){
  .events-calendar {
    padding: 1em 10px;
    margin: 30px 0px 200px 0px;
  }
  .events-calendar-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/******************************
EVENTS CALENDAR DESKTOP
*******************************/
@media(min-width: 1380px){
  .events-calendar {
    max-width: 1400px;
    margin: 30px auto 200px auto;
    padding: 10px 10px;
  }
  .events-calendar-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 1em;
  }
  .event-card {
    min-height: 400px;
  }
  .event-title {
    font-size: 2rem;
  }
  .event-month-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
  }
  .event-calendar-top {
    max-width: 1400px;
    margin: 100px auto 30px auto;
    padding: 10px 10px;
    position: relative; 
    z-index: 2;
  }
  .calendar-top-heading {
    display: none;
  }
  .event-calendar-top .event-card {
    border: 5px solid #fff;
  }
  .events-calendar-divider {
    max-width: 1400px;
  }
  .single-event-container {
    max-width: 1400px;
    margin: 100px auto 200px auto;
  }
  .single-event-flex-container {
    display: flex;
  }
  .single-event-left {
    flex: 1;
    padding-left: 10px;
    padding-bottom: 0;
    border-bottom: 0;
  }
  .single-event-right {
    flex: 2;
    display: flex;
    /* align-items: center; */
    flex-direction: column;
    padding: 10px 30px;
    border-left: 3px solid #ddd;
  }
}

/*
================================================================================================
                      FARMS DIRECTORY (same cards as three events)
================================================================================================
*/


/*
================================================================================================
FARMS DIRECTOY BASE
================================================================================================
*/
tr td:first-child {
    width: 15%;
  }
.farm-card-learn-more {
    display: block;
}
.farm-map-filter-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-bottom: 100px;
}
.total-locations-found {
    padding: 0px 10px;
}
.filters-flex-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.farm-map-right {
    padding: 20px 10px;
    height: 500px;
}
.farm-search {
    max-width: 500px;
}
.single-farms-map {
    height: 100%;
}
.single-farms-map > .leaflet-map {
    height: 100% !important;
}
.farm-directory-card {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin: 0;
    padding: 10px 20px 20px 20px;
    min-height: 300px; /* Was 300px */
    /* margin-bottom: 10px; */
}
.farm-directory-card::after { /* Background overlay below text */
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--clr-black);
    position: absolute;
    top: 0;
    left: 0;
    opacity: var(--background-overlay-opacity);
    z-index: 0;
}
.farm-directory-card:hover::after,
.three-events-card:hover::after {
    opacity: .5; /* Adjust the opacity value as desired */
    transition: .3s ease-in-out;
}
.farm-directory-card > * { /* Any child element inside of this */
    z-index: 10;
    position: relative;
    color: var(--clr-white);
}
.farm-card-title {
    color: var(--clr-white) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    margin: 10px 0px 0px 0px;
    font-size: 1.75rem;
    font-weight: 400;
}
.farm-directory-card h3 {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0;
}
.event-button {
    text-transform: uppercase;
    font-size: 1.25rem;
    font-weight: 400;
    cursor: pointer;
}
.event-button:hover {
    color: var(--clr-secondary);
    transition: .3s ease-in-out;
}
.farm-type-tag {
  background-color: var(--clr-primary);
  margin-bottom: 10px;
  max-width: fit-content;
  margin-left: -20px;
  position: relative;
  top: 10px;
  padding: 10px 20px 13px 20px;
}
.farm-type-tag h4 {
  max-width: fit-content;
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
}
.farm-amenity-tag {
   
    /* bottom: 0;  */
    /* left: 0; */
    background: var(--clr-primary);
    max-width: fit-content;
    padding: 10px 10px 10px 20px;
    /* border-radius: 500px; */
    border-radius: 500px 0px 0px 500px;
    font-size: .7rem;
    margin: 0 -20px 10px auto;
    font-weight: 400;
    letter-spacing: 1px;
}
.farm-amenities-container {
    position: absolute;
    bottom: 0;
    right: 20px;
    /* right: 0; */
}
.farm-directory-card h5 + h5 {
    /* margin-top: 50px; */
}
.farm-address-container {
  margin-bottom: 30px;
}
.map-marker-content-container br {
  display: none;
} 
.map-marker-content-container > * {
  margin: 0;
}
.map-marker-content-container h4 {
  font-size: 1.5rem;
  font-family: inherit;
  margin-bottom: 10px;
}
.map-marker-text {
  font-size: 1rem;
  font-family: inherit;
  margin: 0px 0px 10px 0px !important;
}
.farm-directory-heading {
  padding: 50px 10px 0px 10px;
}
.total-locations-found {
    padding: 10px 10px;
}
.farm-directory-heading h1 {
  color: var(--clr-primary);
  font-size: 4rem;
  font-weight: 400;
  margin-bottom: 25px;
}
#filter-submit, 
#filter-reset {
  display: inline-block;
  /* box-sizing: content-box; */
  background-color: var(--clr-primary);
  color: var(--clr-white);
  padding: 10px 20px 12px 20px;
  font-size: 1.2rem;
  font-weight: 400;
  border: none;
  border-radius: 0;
  text-transform: none;
}
#filter-submit:focus, 
#filter-submit:focus-visible, 
#filter-reset:focus,
#filter-reset:focus-visible {
  border: none;
  outline: none;
}
.farm-filter-checkbox {
  width: 17px;
  height: 17px;
}
.farm-filter-checkbox:checked {
  accent-color: var(--clr-primary);
}
.farm-type-filters label,
.farm-amenity-filters label {
  font-size: 1.25rem;
}
.farm-type-filters label,
.farm-amenity-filters label {
  margin-top: -10px;
}
.farm-type-filters,
.farm-amenity-filters {
  margin-bottom: 10px;
}
.map-marker-button {
  color: var(--clr-white) !important;
  background-color: var(--clr-primary);
  font-size: 1.25rem;
  padding: 10px 20px;
  font-weight: 400;
}
.map-marker-divider {
  margin-bottom: 30px;
}
.farm-filter-container {
  padding: 30px 10px;
}
.checkbox-container {
  margin-bottom: 5px;
}
#single-farm-table {
  margin-bottom: 0px;
}
.single-farm-info-heading {
  font-weight: bold;
}
.single-farms .map-marker-content-container a,
.single-farms .map-marker-content-container .map-marker-divider {
  display: none;
}
.single-farm-info {
  margin: 25px 0px 50px 0px;
}
.back-wrapper {
  margin-bottom: 0px;
}
.back-wrapper-ag {
    margin-bottom: 20px;
}
.farm-image-slide {
  background-color: var(--clr-black);
  /* min-height: 500px; */
  /* background-position: center center;
  background-size: cover;
  background-repeat: no-repeat; */
}
/* Position the dots at the bottom of the slider */
.slick-dots {
  position: absolute;
  bottom: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;

  border: 1px solid green;
  /* background-color: red; */
}

/* Style the individual dots */
.slick-dots li {
  display: inline-block;
  margin: 0 5px;
  padding: 0;
  cursor: pointer;
}

/* Style the active dot */
.slick-dots li.slick-active button:before {
  color: white;
}

/* Remove the default dot styles */
.slick-dots li button {
  /* width: 10px;
  height: 10px; */
  border: none;
  background-color: transparent !important;
  color: transparent;
  text-indent: -9999px;
  font-size: 0;
  line-height: 0;
}

/* Add the circle style */
.slick-dots li button:before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: white;
}
.farm-image-slider .slick-slide {
  /* width: 100%;
  max-height: 400px; */
}
.farm-image-slider .slick-slide img {
  /* width: 100%;
  min-height: 400px;
  object-fit: contain; */
  /* max-height: 700px;
  margin: 0 auto; */
}

.slick-prev,
.slick-next {
    display: flex;
    border: 0;
    position: absolute;
    top: 50%;
    right: 0;
    width: 82px;
    height: 82px;
    line-height: 82px;
    /* text-align: center;
    align-items: center;
    justify-content: center; */
    z-index: 2;
    overflow: hidden;
    padding: 0;
    margin: 0;
    cursor: pointer;
}
.slick-prev {
    left: 5px;
    justify-content: start;
}
.slick-next {
    right: 5px;
    justify-content: end;
}
.single-farm-title-heading {   
    font-size: 2rem;
}
.farm-type-filters-heading {
font-size: 1.5rem;
}
.single-farm-flex {
    padding: 20px 0px;
}



.farm-directory-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    padding: 0px 10px;
  }
/**
    ================================================================================================
    FARMS DIRECTOY TABLET
    ================================================================================================
**/
@media(min-width: 767px){
  .farm-directory {

  }
  .farm-image-slider .slick-slide {
    /* width: 100%;
    max-height: 700px; */
  }
  .farm-image-slider .slick-slide img {
    /* width: 100%;
    min-height: 700px;
    object-fit: contain; */
    /* max-height: 700px;
    margin: 0 auto; */
  }
  .slick-next {
    right: 10px;
  }
  .slick-prev {
    left: 10px;
  }
}
/**
    ================================================================================================
    FARMS DIRECTOY LATOP
    ================================================================================================
**/
@media(min-width: 1024px){
    .farm-card-learn-more {
        /* display: none; */
    }
    .farm-map-left .leaflet-map {
        height: 100% !important;
    }
    .total-locations-found {
        max-width: 1575px;
        padding: 10px 10px;
        margin: 0 auto;
    }
    .farm-map-right {
        padding: 0px 0px;
        height: auto;
    }
    .farm-map-filter-container {
        display: flex;
        flex-direction: row;
        gap: 25px;
        max-width: 1550px;
        margin: 0 auto;
    }
    .single-farm-flex {
        display: flex;
        flex-direction: row;
        gap: 15px;
        /* max-width: 1550px; */
        margin: 0 auto;
    }
  .farm-directory {
    padding: 0px 0px;
    margin-top: 50px;
  }
  .farm-directory-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0px 25px;
  }
  .farm-map-container {
    max-width: 1600px;
    margin: 0px auto;
    padding: 0px 0px;
  }
  .farm-directory-heading {
    margin: 0px auto 0px;
  }
  .farm-directory-card {
    border-bottom: none;
    /* margin-bottom: 10px; */
  }
  #farm-directory-filter-form {
    padding: 25px 25px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  }
  .filter-input-container {
    display: flex;
    justify-content: start;
    gap: 15px;
  }
  .filters-flex-container {
    /* display: flex; */
    gap: 10px;
    padding-bottom: 20px;
  }
  .farm-image-slider .slick-slide {
    /* width: 100%;
    max-height: 700px; */
  }
  .farm-image-slider .slick-slide img {
    /* width: 100%;
    min-height: 700px; */
    /* object-fit: contain; */
    /* max-height: 700px;
    margin: 0 auto; */
  }
  .slick-next {
    right: 20px;
  }
  .slick-prev {
    left: 20px;
  }
}

/*** 
        ================================================================================================
        FARMS DIRECTOY DESKTOP
        ================================================================================================
***/
@media(min-width: 1366px){
    .farm-directory-container {
        max-width: 1600px;
        margin: 0px auto 100px auto;
        padding: 0px 25px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    .view-all-events-button {
        display: flex;
        justify-content: center;
        margin: 0px 0px 100px 0px;
    }
    .farm-map-container,
    .single-farm-info {
      max-width: 1600px;
      margin: 20px auto;
      padding: 0px 25px;   
    }
    .single-farm-title-heading {
      max-width: 1600px;
      margin: 0px auto;
      padding: 0px 25px;   
      font-size: 2.5rem;
    }
    .farm-filter-container {
      max-width: 1600px;
      margin: 20px auto;
      padding: 0px 25px;
    }
    .farm-directory-heading {
      max-width: 1600px;
      padding: 50px 25px 0px 25px;
    }
}
/*** 
        ================================================================================================
        FARMS DIRECTOY WIDESCREEN
        ================================================================================================
***/
@media(min-width: 2400px){
    .farm-directory-container {
        gap: 1rem;
    }


    /* SLICK DOTS FOR FARM IMAGE SLIDER  */
 
 
}








.single-blog-content p {
  font-size: 1.2rem;
  line-height: 1.5em;
}










/* FARM IMAGE SLIDER TESTING */



.slick-slider-farm-images {
  /* position: relative;
  display: block;
  overflow: hidden; */

  width: 100%;
  max-width: 1600px; /* set the maximum width of the slider */
  margin: 0 auto;
  position: relative;
}

.farm-image-slide {
  width: 100%;
  height: 700px; /* set the height of the slider */
}
.ag-resource-slider .farm-image-slide { /* Client wanted only the slider on the AG resources to be smaller since they are more like business cards */
    height: 350px;
}


.farm-image-slide img {
  /* max-width: 100%;
  height: auto;
  margin: 0 auto; */
  margin: 0 auto;
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/*
================================================================================================
AGRICULTURE RESOURCES 
================================================================================================
*/

.ag-card-title {
    margin-bottom: 20px;
}

.farm-resource-container {
    padding: 100px 10px 100px 10px;
}
.farm-resource-block {
    display: flex;
    justify-content: space-between;
    /* padding: 10px 20px; */
    background-color: var(--clr-accent-2);
    margin-bottom: 10px;
}
.farm-resource-right {
    display: flex;
    align-items: center;
    padding: 0px 20px;
    background-color: var(--clr-primary);
}
.farm-resource-right a {
    color: var(--clr-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.farm-resource-left {
    padding: 10px 20px;
}
.farm-resource-left h3 {
    margin: .5rem 0;
    font-size: 1.25rem;
}

/* TABLET */
@media(min-width: 767px){
    .farm-resource-container {
        max-width: 1000px;
        margin: 0px auto;
        padding: 100px 10px 100px 10px;
    }
}


/* LAPTOP */
@media(min-width: 1024px){

}


/* DESKTOP */
@media(min-width: 1366px){
    .farm-resource-container {
        margin: 50px auto;
    }
    .farm-resource-right {
        background-color: var(--clr-accent-2);
        transition: .3s ease-in-out;
    }
    .farm-resource-right a {
        color: var(--clr-black);
    }
    .farm-resource-right:hover {
        background-color: var(--clr-primary);
    }
    .farm-resource-block:hover .farm-resource-right {
        background-color: var(--clr-primary);
    }
    .farm-resource-block:hover .farm-resource-right a {
        color: var(--clr-white);
    }
}



/*
================================================================================================
CULTIVATOR BLOG
================================================================================================
*/

.blog-filter {
    max-width: 1550px;
    margin: 50px auto 0px auto;
    padding: 10px;
}

@media(min-width: 1024px){
    .blog-filter {
        padding: 25px 25px;
    }
}
.pagination {
    margin: 0 auto;
    padding: 10px 10px 50px 10px;
    max-width: 1600px;
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 1.3rem;
}
@media(min-width: 1366px){
    .pagination {
        margin-top: -70px;
        justify-content: end;
    }
}


/*
================================================================================================
RELATED BLOG POSTS ON SINGLE FARM POSTS
================================================================================================
*/
.related-blog-posts {

}
.related-blog-posts h3 {
    color: var(--clr-primary);
    font-size: 2rem;
}

@media(min-width: 1366px){
    .related-blog-posts {
        padding: 25px 0px;

    }

}


/* Various things from Summer 2024 edits */
#load-more-posts {
    display: flex;
    margin: 50px auto 50px auto;
    background-color: var(--clr-secondary);
    color: var(--clr-white);
    border: none;
    outline: none;
    border-radius: 0;
    font-weight: 400;
    font-size: 1.1rem;
    text-transform: uppercase;
    padding: 10px 40px;
}
#load-more-posts:hover {
    border: none;
    outline: none;
    background-color: var(--clr-secondary);
    color: var(--clr-white);
}
.page-id-3496 .farm-directory-container {
    padding: 0px;
    margin-bottom: 20px;
}
.page-id-3496 .farm-directory-heading {
    padding: 50px 0px 0px 0px;
}