
		a.viewdetail{
			margin-right: 6px;
		}

.dropdown {
    position: relative;
    display: inline-block;
    /* width: 100%;
    margin-top: -40px;
    font-size: 10px; */
    overflow: visible; /* Ensures dropdown can extend */
    z-index: 1; /* Lower z-index to keep other things behind */
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 130px; /* Minimum width */
    max-width: 100%; /* Prevents it from overflowing the parent */
    max-height: 160px; /* Fits 4 items at a time */
    overflow-y: auto; /* Enables smooth scrolling */
    border: 1px solid #ccc;
    border-top: none;
    outline: none;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */
    appearance: none;
    font-size: 12px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    z-index: 999; /* Higher z-index to bring dropdown to the front */
}


/* Hide scrollbar */
.dropdown-content::-webkit-scrollbar {
    display: none;
}



.dropdown-content div {
    font-size: 12px;
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease-in-out;
    height: 40px; /* Fixed height for consistent display */
    display: flex;
    align-items: center;
    white-space: nowrap; /* Ensures text remains in a single line */
}

.dropdown-content div:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block; /* Shows the dropdown when hovering over the parent */
}

@media (min-width: 992px) { /* Large screens only */
    .large-2.medium-3.small-6.cell.formblock {
        max-width: 165px; /* Adjust width if required */
    }
}

@media (min-width: 992px) { /* Large screens only */
    .large-2.medium-3.small-6.cell.formblock.decreased-width {
        max-width: 143px; /* Decreased value */
    }
}


@media (max-width: 768px) {
    #mobileFooterMenu {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: #fff;
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease; /* For smooth animation */
    }

    /* This class will be added/removed via JavaScript */
    #mobileFooterMenu.keyboard-open {
        transform: translateY(100%); /* Slide it out of view */
    }
}


.nowrap-span {
  white-space: nowrap;
  font-size:8px;
  margin-left:-5px;
}



/* Only affects this specific set of 3 blocks */
.mobile-row-specific {
    display: flex;
    flex-wrap: wrap; /* wrap if needed */
    gap: 5px; /* space between items */
    margin-left:10px;
    margin-right:10px;

}

.mobile-row-specific .formblock {
    flex: 1 1 30%; /* each block ~1/3 of container */
    min-width: 100px; /* optional: prevent shrinking too much */
}

/* Optional: adjust input/select size on small screens */
@media (max-width: 480px) {
    .mobile-row-specific .formblock input,
    .mobile-row-specific .formblock select {
        font-size: 14px;
        padding: 5px;
    }
}


	.farm-video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
}

/* Modal content box */
.farm-video-content {
  background: #fff;
  margin: 5% auto;
  padding: 15px;
  border-radius: 12px;
  width: 80%;
  max-width: 800px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  animation: popupFade 0.3s ease-in-out;
}

/* Close button */
.farm-video-close {
  color: #333;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.farm-video-close:hover {
  color: red;
}

@keyframes popupFade {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

	.star-rating {
    font-size: 30px;
    color: #ccc; /* gray for unselected stars */
    cursor: pointer;
}

.star-rating .selected,
.star-rating span:hover,
.star-rating span:hover ~ span {
    color: gold; /* highlight stars on hover/selection */
}

.star-rating span {
    margin-right: 5px;
    transition: color 0.2s;
}

.event-tag {
  background: #f1f1f1;
  padding: 5px 10px;
margin-bottom: 5px;
  border-radius: 20px;
  font-size: 12px;
  display: inline-block;
}