/* Farmers Guardian */
:root {
	--color1: #FFFFFF;
	--color2: #D4151A;
	--color2-dark: #891C22;
	--color3: #6F6F6F;
	--color4: #E0E0E0;
	--color5: #F4F4F6;
}

/* Ribbon fixes */
.upcoming-events-ticker {
	height: 44px !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

@media only screen and (max-width: 991px) {
	.upcomining-events-ticker {
		height: unset !important;
	}
}

#rdm-event-ticker {
	width: 1066px !important;
}

.home-page-hot-topic {
	margin-top: 0px !important;
}

/* Ribbon fixes end */

/* Advertisement Text Style */
.ad-text {
	font-family: 'source_sans_proregular';
	font-style: normal;
	font-weight: normal;
	font-size: 0.84rem;
	line-height: 19px;
	text-transform: uppercase;
	text-align: center;
	padding: 5px 0px;
	border-top: 1px solid #F4F4F4;
	color: #8E8E8D;
	width: 300px;
	margin: 0 auto;
}

/* Taboola Ad styles */
#rdm-above-header {
	position: relative !important;
	height: 250px;
	display: block;
	top: 0 !important;
	left: 0 !important;
	transition: height 0.3s ease 1s;
	padding: 18px 0;
	text-align: center;
	margin-bottom: 35px;
}

#rdm-above-header:empty {
	position: absolute !important;
	height: 0;
	transition: height .2s ease;
}


#rdm-below-header {
	position: relative;
	width: max-content;
	margin: 0 auto;
	z-index: 0;
	transition: all .3s ease
}

/* FG Additional Styles */

.container-fluid.full-width {
	max-width: 100%;
}

/* FG Call to Action (CTA) on page component */
.cta-advertise {
	background-color: #D41A1B;
	color: white;
	padding: 20px;
	display: grid;
	grid-template-columns: auto auto auto;
}

.cta-advertise-item {
	padding: 20px;
	text-align: center;
}

@media only screen and (max-width: 739px) {
	.cta-advertise {
		padding: 10px;
		grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	}

	.cta-advertise-item {
		padding: 10px;
		text-align: center;
	}
}

/* FG Live landing page */
@media only screen and (max-width: 800px) {
	h1 {
		font-size: 40px !important;
		line-height: 50px !important;
	}

	h3 {
		line-height: 40px !important;
	}

	h4 {
		line-height: 18px !important;
	}

	#fglive-subheading-desk {
		display: none;
	}

	#fglive-subheading-mobile {
		display: block !important;
	}

	#fdlive-agenda {
		width: 100% !important;
	}

	#fdlive-agenda td {
		display: block;
	}

	#fdlive-agenda td:nth-child(odd) p {
		background-color: #f4f4f6;
		padding: 10px 14px;
		font-weight: bold;
	}

	#fdlive-agenda td:nth-child(even) p {
		margin-top: 0;
	}

	#fdlive-agenda td {
		border-top: 0 !important;
	}
}

/* FG Buy and Sell pages */

.buy-and-sell-container h1 {
	font-size: 44px !important;
}

.buy-and-sell-banner {
	display: flex;
	height: 100%;
	flex-wrap: wrap;
	gap: 1rem;
	width: 100%;
	padding: 1.5rem;
	background-color: var(--color5);
}

.buy-and-sell-banner p {
	font-family: source_sans_probold !important;
	font-size: 20px !important;
	margin: 0px !important;
}

.buy-and-sell-banner p span,
.buy-and-sell-banner p span a {
	color: var(--color2) !important
}


#items-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	padding-top: 1.5rem;
}

.buy-and-sell {
	display: flex;
	gap: 1rem;
}

.buy-and-sell-image {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 130px;
	min-width: 130px;
}

.buy-and-sell-content {
	/* check this */
	display: flex;
	flex-direction: column;
	width: 100%;
	gap: 0.5rem;
}

.buy-and-sell-content>* {
	padding: 0 !important;
	line-height: 1.2 !important;
	font-family: 'source_sans_proregular' !important;
}

.item-image {
	margin: 0;
	width: 130px;
	object-fit: contain;
}

.item-title {
	font-size: 18px !important;
	margin: 0 !important;
	line-height: 23.4px !important;
}


.item-price {
	font-size: 20px !important;
	color: var(--color2) !important;
	margin: 0 !important;
}

.item-location {
	font-size: 16px;
	margin: 0 !important;
}


.item-date {
	font-size: 16px;
	color: var(--color3) !important;
	margin: 0 !important;
}


/* Styles for no items displayed */
.no_classifieds_items_image {
	margin: 0 auto !important;
	width: 64px;
}

.no_classifieds_items_header {
	text-align: center;
	margin: 10px 0 !important;
}

.no_classifieds_items_text {
	max-width: 500px;
	margin: 0 auto;
	text-align: center;
	color: #8D8D8D;
}


@media only screen and (max-width: 575px) {
	.buy-and-sell-image {
		justify-content: start;
		width: 72px;
		min-width: 72px;
	}

	.item-image {
		width: 72px;
	}

	.item-date {
		font-size: 14px !important;
	}

	.item-location {
		font-size: 14px !important;
	}
}

/* FG Buy and Sell pages end */


/*Sticky ad on mobile*/

@media only screen and (max-width: 575px) {

	.sticky-start {
		margin-bottom: 20px;
		height: 15px;
	}

	#rdm-rhc-below-article-summary {
		display: flex;
		justify-content: space-around;
		align-items: flex-start;
		transition: height .2s ease;
	}

	#rdm-rhc-below-article-summary-wrapper {
		transition: position 0.3s ease 1s;
	}

	.sticky-ad {
		position: sticky;
		bottom: 1rem;
		align-self: flex-end;
		transition: position 0.3s ease 1s;
	}

}

/* FG BuySell navigation panel */
/* desktop styles */
.buysell-navi-text {
	margin-bottom: 18px;
}

h4.buysell-navi-text {
	font-size: 18px;
}

p.buysell-navi-text {
	font-size: 16px;
}

h4.buysell-navi-header a {
	color: #D41A1B;
}

@media screen and (min-width: 769px) {
	#buysell-navi-logo-desktop {
		margin: 0 0 30px 0;
	}

	#buysell-navi-logo-mobile {
		display: none;
	}

	.buysell-navi-text {
		color: black !important;
	}

	.buysell-navi-text-emphasis {
		color: #D3161D;
	}
}

/* tablet + mobile styles */
@media only screen and (max-width: 768px) {
	#buysell-navi-logo-desktop {
		display: none;
	}

	#buysell-navi-logo-mobile {
		margin: 0 0 30px 0;
	}

	#buysell-navi-intro {
		margin-bottom: 30px;
		border-bottom: 1px solid #D9D9D9;
	}

	.buysell-navi-text {
		color: white;
	}

	.buysell-navi-text-emphasis {
		color: #D9D9D9;
		font-weight: 700;
	}
}

/* FG BuySell navigation panel end */

/* Advertise with us static page start */

.media-pack {
	text-align: center;
}

.media-pack h1 {
	font-size: 44px !important;
}

.media-pack h3 {
	font-size: 30px !important;
	font-family: Source Sans Pro;
}

.heading {
	margin-bottom: 15px;
	width: 100%;
	background-color: #d4151a;
	padding: 40px;
	text-align: center;
	color: #ffffff;
}

.heading h1 {
	max-width: 1024px;
	margin-left: auto;
	margin-right: auto;
	font-size: 44px !important;
	color: #ffffff !important;
}

.heading h3 {
	max-width: 1024px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 20px;
	font-size: 30px !important;
	color: #ffffff !important;
	font-family: Source Sans Pro;
}

.btn-primary {
	color: white !important;
}

.btn-media-pack {
	margin: 20px 0 30px 0 !important;
}

.hero {
	margin-bottom: 5px;
	width: 100%;
	text-align: center;
}

.hero-image {
	width: 100%;
	max-width: 1037px;
	height: auto;
}

.intro {
	width: 80%;
	text-align: center;
	margin: 0 auto;
	display: block;
}

.intro p {
	color: black;
	font-size: 18px !important;
	font-family: Lora;
	font-weight: 400;
	line-height: 30px;
	word-wrap: break-word;
}

.cta-container {
	margin: 80px 0;
}

.cta {
	width: 100%;
	text-align: center;
	background-color: #F4F4F6;
	padding: 40px;
}

.cta h3 {
	font-size: 30px !important;
	margin-bottom: 50px !important;
}

.highlights-container {
	margin-top: 80px;
	display: table;
	width: 100%;
	height: auto;
}

.highlights-list-container {
	display: table-cell;
	vertical-align: top;
	width: 52%;
}

.highlights-list {
	padding: 0 40px;
	border-left: 5px solid #D4151A;
}

.highlights-list h3 {
	margin: -5px 0 40px 0;
}

.highlights-list ul {}

.highlights-list ul li {
	margin: 20px 0;
	font-family: Source Sans Pro !important;
	font-weight: 600 !important;
	font-size: 17px !important;
	line-height: 28px !important;
}

.highlights-image {
	display: block;
	float: right;
}

.clear {
	clear: both;
}

.testimonials-card-wrapper h3 {
	text-align: center;
	margin: 50px 0 30px 0 !important;
}

.options-wrapper {
	display: flex;
	padding: 40px 0;
}

.options-container {
	position: relative;
	background: #D4151A;
	width: 100%;
	/* Adjust the container width as needed */
	/* height: 150px; /* Adjust the container height as needed */
	margin: 40px 0;
	padding: 40px 40px 25px 40px;
}

.options {
	margin-left: 450px;
	text-align: right;
}

.options h3 {
	margin-top: 5px;
	color: #ffffff !important;
	font-size: 35.16px !important;
}

.options h4 {
	color: #ffffff !important;
	font-size: 18px !important;
	line-height: 26px !important;
}

.options p {
	line-height: 26px !important;
	color: #ffffff !important;
	font-size: 18px !important;
	font-family: Source Sans Pro !important;
}

.options-image {
	display: block;
	top: -100px;
	/* Adjust the protruding amount by changing the top value */
	position: absolute;
	left: 250px;
	transform: translateX(-50%);
	width: 714px;
	/* Make the image fill the container width */
	height: auto;
	/* Maintain aspect ratio */
}

/* Float four columns side by side */
.column-4 {
	float: left;
	width: 25%;
	padding: 0 10px;
	margin-bottom: 20px;
}

.column-3 {
	float: left;
	width: 33.3%;
	padding: 0 10px;
	margin-bottom: 20px;
}

.column-2 {
	float: left;
	width: 50%;
	padding: 0 10px;
	margin-bottom: 20px;
}

/* Remove extra left and right margins, due to padding */
.advertise-row {
	margin: 0 -5px;
}

/* Clear floats after the columns */
.advertise-row:after {
	content: "";
	display: table;
	clear: both;
}


/* Center vertically */
.center {
	margin: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

/* Style the counter cards */
.advertise-card {
	text-align: center;
	background-color: #F4F4F6;
	border: 1px #58648C solid;
}

.testimonials-card {
	text-align: center;
	background-color: #F4F4F6;
	border: 10px white solid;
	display: table-cell;
	padding: 16px;
}

.media-pack-card-container .advertise-card {
	background-color: white !important;
}

.stats-card-image-container {
	position: relative;
	background-color: white;
	height: 150px;
}

.media-pack-card-container {
	margin-top: 60px;
}

.media-pack-card-image-container {
	position: relative;
	background-color: white;
	height: 150px;
}

.stats-card-image {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.media-pack-card-image {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.stats-card-heading {
	text-align: center;
	color: black !important;
	font-size: 22px !important;
	font-family: Source Sans Pro !important;
	font-weight: 700;
	margin: 18px 0 0 0 !important;
}

.stats-card-figure {
	text-align: center;
	color: #D4151A !important;
	font-size: 38px !important;
	font-family: Source Sans Pro !important;
	font-weight: 700;
	margin: 8px 0 !important;
}

.stats-card-info {
	text-align: center;
	color: black !important;
	font-size: 18px !important;
	font-family: Lora !important;
	font-weight: 400;
	line-height: 25px !important;
	padding: 10px;
	margin: 12px 0 1px 0 !important;
}

.media-pack-card-info {
	text-align: center;
	color: black !important;
	font-size: 22px !important;
	font-family: Lora !important;
	font-weight: 400;
	line-height: 25px !important;
	padding: 10px;
}

.testimonials-card-wrapper .stats-card-image-container {
	background-color: #F4F4F6;
}

.testimonials-card-container {
	display: table;
	width: 100%;
}

.testimonials-quotes {
	text-align: left;
	padding: 35px 35px 0 35px;
}

.testimonials-card-info {
	text-align: left;
	color: black !important;
	font-size: 18px !important;
	font-family: Source Sans Pro !important;
	font-weight: 400;
	line-height: 30px !important;
	padding: 20px 35px 0;
}

.testimonials-card-image-container {
	position: relative;
	height: 120px;
}

/* Responsive columns */
@media screen and (max-width:900px) {
	.highlights-list-container {
		width: 100%;
	}

	.highlights-image {
		display: none;
	}

	.testimonials-card {
		display: block;
		width: 100%;
	}
}

@media screen and (min-width:600px) and (max-width:900px) {
	.options {
		margin-left: 0;
		margin-top: 250px;
	}

	.column-4,
	.column-3,
	.column-2 {
		width: 50%;
		display: block;
		margin-bottom: 20px;
	}
}

@media screen and (min-width: 400px) and (max-width: 600px) {
	.options {
		margin-left: 0;
		margin-top: 150px;
	}
}

@media screen and (max-width: 600px) {
	.options-image {
		left: 150px;
	}

	.heading h1,
	.media-pack h1 {
		font-size: 34px !important;
		line-height: 45px !important;
	}

	.heading h3,
	.media-pack h3 {
		font-size: 20px !important;
		line-height: 28px !important;
	}

	.cta {
		padding: 40px 20px;
	}

	.column-4,
	.column-3,
	.column-2 {
		width: 100%;
		display: block;
		margin-bottom: 20px;
	}
}

@media screen and (max-width: 400px) {
	.heading {
		margin-bottom: 35px;
	}

	.heading h1 {
		margin-bottom: 30px !important;
	}

	.heading h3 {
		margin-bottom: 0;
	}

	.intro {
		width: 100%;
		padding: 20px 40px 0 40px;
	}

	.testimonials-quotes img {
		width: 40px;
	}

	.testimonials-card-info {
		padding-top: 25px;
	}

	.options {
		margin-left: 0;
		margin-top: 80px;
	}

}

.cta-container {
	margin-top: 60px;
}

.cta h3 {
	margin-bottom: 35px !important;
}

.cta h3,
#advertise-form h3 {
	font-size: 28px !important;
	line-height: 35px !important;
}

/* Advertise with us form - START */

#advertise-form {
	position: relative;
	display: grid;
	justify-content: center;
	gap: 1rem;
}

#advertise-form-container {
	display: grid;
	gap: 20px
}

#advertise-form-container input {
	width: 320px;
}

#advertise-form-container input.form-error {
	border: solid 1px #D4151A;
}

#advertise-form-container #amf-el-submit {
	font-family: 'source_sans_probold';
	color: #FFF;
	background-color: #D4151A;
	width: fit-content;
	margin-top: 1rem;
	padding: 6px 20px;
	border: 0;
	border-radius: 5px;
}

#advertise-form-error {
	display: none;
	margin: 0 auto;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	background-color: #D4151A;
	border: solid 1px #D4151A;
	width: 400px;
	padding: .5rem;
}

#advertise-form-error-icon {
	filter: brightness(0) invert(1);
	width: 25px;
}

#advertise-form-error-text {
	color: #FFF;
	font-family: 'source_sans_probold';
	font-size: 1rem;
	margin: 0;
}


#advertise-form-error.error-animation {
	animation: shake 0.3s ease-in-out;
}


@keyframes shake {
	0% {
		transform: translate(1px, 1px) rotate(0deg);
	}

	10% {
		transform: translate(-1px, -2px) rotate(-1deg);
	}

	20% {
		transform: translate(-3px, 0px) rotate(1deg);
	}

	30% {
		transform: translate(3px, 2px) rotate(0deg);
	}

	40% {
		transform: translate(1px, -1px) rotate(1deg);
	}

	50% {
		transform: translate(-1px, 2px) rotate(-1deg);
	}

	60% {
		transform: translate(-3px, 1px) rotate(0deg);
	}

	70% {
		transform: translate(3px, 1px) rotate(-1deg);
	}

	80% {
		transform: translate(-1px, -1px) rotate(1deg);
	}

	90% {
		transform: translate(1px, 2px) rotate(0deg);
	}

	100% {
		transform: translate(1px, -2px) rotate(-1deg);
	}
}

/* Advertise with us form - END */
/* Advertise with us static page end */

/* Black Friday 2024 - START */
.black-friday-24-header {
	margin-top: 100px; 
	margin-bottom: 45px;
}
.black-friday-24-info {
		margin-bottom: 60px;
	}
h1.black-friday-24 {
	margin-left: auto; 
	margin-right: auto; 
	text-transform: uppercase; 
	font-weight: normal; 
	font-size: 112px; 
	font-family: Lora, serif;}

h2.black-friday-24 {
	max-width: 1024px; 
	margin-left: auto; 
	margin-right: auto; 
	font-weight: normal; 
	font-size: 40px; 
	color: #ffffff !important; 
	font-family: Lora, serif;
}
h3.black-friday-24 {
	margin-left: auto; 
	margin-right: auto; 
	font-weight: normal; 
	font-size: 30px; 
	font-family: Source Sans Pro, sans-serif;
}
img.price-tag {
		width: 227px;
	}

@media screen and (max-width: 600px) {
	.black-friday-24-header {
		margin-top: 35px; 
		margin-bottom: 10px;
	}
	.black-friday-24-info {
		margin-bottom: 35px;
	}
	h1.black-friday-24 {
		font-size: 42px
	}
	h2.black-friday-24 {
		font-size: 36px; 
		line-height: 48px
	}
	h3.black-friday-24 {
		font-size: 22px; 
		line-height: 34px
	}
	img.price-tag {
		width: 160px;
	}
}

/* Black Friday 2024 - END */


/* Membership Redesign Page - START */

/* Membership Content Items */
.membership-content__item {
    padding: 50px 0;
}


#membership-item-4 {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.membership-content__title {
    text-align: center;
}

.membership-content__cards {
    display: grid;
    padding: 0 10px;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

/* Membership Info Card */
.membership-info-card {
    display: flex;
    flex-direction: column;
    align-content: center;
    text-align: center;
    background-color: #F4F4F4;
    border-radius: 8.5px;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.membership-info-card__image {
    margin: 0 auto .5rem;
    width: 60px;
    height:  60px;
}

.membership-info-card__heading {
    font-size: 1rem;
    line-height: 1.5rem !important;
    margin-top: 10px;
    
}

.membership-info-card__text {
    font-size: 1rem;
    margin: 0;
}

/* Membership Offers */
#membership-item-1 .membership-offers,
#membership-item-2 .membership-offers {

    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

#membership-item-3,
#membership-item-5 {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 50px;
    align-items: center;
    
}
#membership-item-1 .membership-main-section-1,
#membership-item-2 .membership-gifting-section-1,
#membership-item-5 .membership-corporate-section-1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 50px;
}

#membership-item-5 .membership-corporate-section-1,
#membership-item-5 .membership-corporate-section-2 { 
    max-width: 700px;
    width: 100%;
}

#membership-item-1 .membership-main__heading,
#membership-item-2 .membership-gifting__heading,
#membership-item-5 .membership-corporate__heading,
#membership-item-2 .membership-gifting__sub-heading {
    text-align: center;
}

#membership-item-2 .membership-gifting__info {
    margin: 1rem auto;
    max-width: 750px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#membership-item-2 .membership-gifting__info p {
    font-size: 18px;
    margin: 0;
}

#membership-item-5 .membership-corporate-section-1 p {
     margin: 0;
}


#membership-item-2 .membership-gifting__info_benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width:  700px;
    
} 

#membership-item-2 .membership-gifting__info_benefit {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 1rem;
}

#membership-item-2 .membership-gifting__info_benefit img {
    align-self: center;
}

.membership-offer {
    position: relative;
    border: 2.5px solid #818181;
    border-radius: 10px;
    width: 375px;
    height: auto;
}

#membership-item-3 .membership-offer,
#membership-item-5 .membership-offer {
    width: 100%;
}


.membership-offer--digital,
.membership-offer--gifting-digital,
.membership-offer--student-digital {
    border-color: #D4161A;
    border-radius: 0px 10px 10px 10px;
}

.membership-offer__badge {
    position: absolute;
    top: -25px;
    left: -2.5px;
    background-color: #D4151A;
    color: #FFF;
    font-size: .75rem;
    font-weight: bold;
    padding: 2.5px 10px;
    border-radius: 8px 8px 0 0;
}


.membership-offer__heading {
    border-bottom: 1px solid #00000040;
    padding: 10px;
    background-color: #F4F4F4;
    border-radius: 10px 10px 0 0;
}

.membership-offer--digital .membership-offer__heading,
.membership-offer--gifting-digital .membership-offer__heading,
.membership-offer--student-digital .membership-offer__heading,
.membership-offer--corporate-digital .membership-offer__heading {
    border-top-left-radius: 0;
    border-top-right-radius: 10px;
}

.membership-offer__title {
    font-size: 1.5rem;
    margin: 0;
}

.membership-offer__info {
    font-size: .75rem;
    margin: 0;
}

.membership-offer__image {
    max-width: 350px;
    align-self: center;
    justify-self: center;
}

/* Membership Offer Container */
.membership-offer__container {
    display: grid;
    grid-template-rows: auto 150px auto auto auto;
    grid-row-gap: 1rem;
    overflow: hidden;
    border-bottom-right-radius: 7.5px;
}

.membership-offer--professional .membership-offer__container {
    grid-template-rows: auto 150px auto 1fr;
    height: 100%;
}

.membership-offer--professional .membership-offer__notice {
    display: flex;
    align-items: center; 
}


#membership-item-5 .membership-offer__container  {
    display: flex;
    flex-direction: column;
    width: 100%;
} 

#membership-item-5 .membership-offer__form {
    display: flex;
    justify-content: center;
    height: 100%;
    padding: 0 1.5rem;
}

.membership-form,
.membership-form__field input,
.membership-form__field textarea {
    width: 100%;
    
}

.membership-form__field textarea {
    min-height: 100px;
    max-height: 200px;
    height: 150px;
    padding: .75rem;
    font-size: 1.1rem;
    font-family: source_sans_proregular
}

.membership-offer__image {
    padding: 0 27.5px;
    text-align: center;
}

.membership-form__cta {
    margin-top: 20px;
    display: flex;
    justify-content: right;
}

.membership-form__cta button {
    border-radius: 0;
}

/* Student Two-Column Layout */
.membership-offer__container--student {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    width: 100%;
    max-width: 750px;
    grid-row-gap: 25px;
}

.membership-offer__container--student .membership-offer__heading,
.membership-offer__container--student .membership-offer__cta {
    grid-column-start: span 2;
}

.membership-offer__container--student .membership-offer__image {
    max-width: 300px;
}

.membership-offer__container--student .membership-offer__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
	gap: 1rem;
}

.membership-offer__container--student .membership-offer__cta {
    grid-column-start: span 2;
}

.membership-offer__image {
    flex: 1 1 40%;
    padding: 0 15px;
    text-align: center;
}

.membership-offer__content {
    flex: 1 1 60%;
    padding: 0 15px;
}

/* Membership Offer Benefits */
.membership-offer__benefits {
    display: flex;
    justify-content: center;
    padding: 0 27.5px;
}

.membership-offer__benefits ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.membership-offer__benefits ul li {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 5px;
}

.membership-offer__benefits img {
    align-self: start;
    user-select: none;
}

.membership-offer__benefits p {
    color: black;
    margin: 0;
}

.membership-offer__benefits .not-included img {
    opacity: 0.25;
}

.membership-offer__benefits .not-included p {
    color: #818181;
    margin: 0;
}

/* Membership Offer Options */
.membership-offer__options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 27.5px;
}

.membership-offer__option {
    display: grid;
    grid-template-columns: 25px 1fr;
    align-content: center;
    border: 1px solid #D2D2D2;
    border-radius: 10px;
    padding: .5rem;
    transition: border 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
}

.membership-offer__option:hover {
    background-color: #F8F8F8;
}

.membership-offer__option input[type="radio"] {
    appearance: none;
    width: 15px;
    height: 15px;
    border: 1px solid #D2D2D2;
    background-color: #FFF;
    top: 2.5px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.membership-offer__option input[type="radio"]:checked {
    border-color: #D41A1B;
}

.membership-offer__option:has(input[type="radio"]:checked) {
    border: 1px solid #D41A1B;
    background-color: #D41A1B40;
}

.membership-offer__option input[type="radio"]:checked::before {
    content: "";
    width: 7px;
    height: 7px;
    background: #D41A1B;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.membership-offer__option input[type="radio"]:disabled {
    border-color: #E0E0E0;
    cursor: not-allowed;
}

.membership-offer__option p {
    color: #000;
    margin: 0;
}

.membership-offer__name {
    font-family: source_sans_probold;
}

/* Membership Offer Notice */
.membership-offer__notice {
    padding: 0 27.5px;
}

.membership-offer__notice p {
    color: #818181;
    font-size: 0.8rem;
    margin: 0;
}

/* Membership Offer CTA */
.membership-offer__cta {
    display: flex;
    justify-content: right;
}

.membership-offer__cta-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px 0 20px;
    width: 190px;
    height: 40px;
    color: #FFF;
    background-color: #D41A1B;
    font-size: 0.9rem;
    border: none;
    border-top-left-radius: 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.membership-offer__cta-button:hover {
    color: #FFF;
    background-color: #B01718;
}

.membership-offer__cta-button img {
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.membership-offer__cta-button:hover img {
    animation-name: bounce;
}

@media (max-width: 890px) {
    
    .membership-info-card__heading {
        height: 50px;
    }
    
}

@media (max-width: 768px) {
    #membership-item-1 .membership-offers,
    #membership-item-2 .membership-offers {
        flex-direction: column;
        align-items: center;
    }
    
    
    .membership-offer__container--student {
        max-width: 375px;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .membership-content__cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }
    
    
    .membership-info-card__heading {
        height: fit-content;
    }
    
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(0);
    }
    40% {
        transform: translateX(-10px);
    }
    60% {
        transform: translateX(-5px);
    }
}


/* Popup Styles */
#contact-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

#contact-popup .popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#contact-popup .amf-el input {
    width: 100%
}

 #contact-popup #amf-el-first_name_2910 {
    margin-top: 1rem;
}

#contact-popup #amf-input-telephone_2913 {
    margin-bottom: 1rem;
}

#contact-popup .amf-type-captcha {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1.4rem 0;
}

#contact-popup #amf-el-submit {
    display: flex;
    justify-content: center;
    align-items: center;
}


#contact-popup #amf-el-submit input {
    width: 250px;
    background-color: #D4151A;
    color: #FFFFFF;
    border: none;
    font-family: source_sans_probold;
    font-size: 1rem;
    border-radius: 2.5px;
    transition: background-color 0.2s ease;
}

#contact-popup #amf-el-submit input:hover {
    background-color: #B01718;
}

#contact-popup .close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
	transition: color 0.2s ease;
}

#contact-popup .close-popup:hover {
    color: #D4151A;
}

#contact-popup .open-popup {
    color: #D41A1B;
    text-decoration: underline;
    cursor: pointer;
}

/* Membership Redesign Page - END */


/* Membership accordion - START */

.membership-accordion-container {
	max-width: 768px;
	margin: 0 auto;
}

.membership-accordion-container,
.membership-accordion,
.membership-accordion-question-container {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.membership-accordion {
	font-size: 1rem;
}

.membership-accordion-question-container {
	border-bottom: 2px solid #F6F6F6;
}

.membership-accordion-question-container.active {
	border-bottom: 2px solid #D41A1B;

}

.membership-accordion-question {
	display: grid;
	grid-template-columns: 1fr 30px;
	align-items: center;
}


.membership-accordion-question {
	font-family: source_sans_probold;
	cursor: pointer;
}

.membership-accordion-question p {
	font-family: source_sans_proregular !important;
	font-size: 1.15rem !important;
	margin: 0 !important;
	color: #000 !important;
	transition: color .1s ease-in-out;
}

.membership-accordion-question:hover p {
	color: #D41A1B !important;

}

.membership-accordion-question.toggled p {
	color: #D41A1B !important;
	font-family: source_sans_probold !important;

}

.membership-accordion-question img {
	width: 25px;
	border-radius: 50%;
	margin: 0;
	padding: 0;
	border: 1.5px solid #D41A1B;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: background-color .1s ease-in-out;
}

.membership-accordion-question.toggled img {
	background-color: #D41A1B;
}

.membership-accordion-answer-heading {
	font-size: .80rem;
	text-transform: uppercase;
	margin-bottom: .5rem;
	color: #6F6F6F;
}

.membership-accordion-answer-text {
	font-size: 1rem;
	font-family: source_sans_proregular;
	line-height: 1.5;
	padding-bottom: 25px;
}



.membership-accordion-question-container .membership-accordion-answer-container {
	overflow: hidden;
	max-height: 0px;
	transition: max-height .2s ease;
}

.membership-accordion-question-container .membership-accordion-answer-container.show {
	display: block;
	max-height: 500px;
}

/* Membership Accordian - END */

/* Market Data Hub - START */

.market-prices-hub__heading-container {
	text-align: center;
	margin-bottom: 4rem;
}

.market-prices-hub__content-container {
	display: flex;
	flex-direction: column;
	gap: 3.38rem;
}


.market-prices-hub__category.auction {
	color: #663233;
}

.market-prices-hub__category.deadweight_markets {
	color: #7C461E;
}

.market-prices-hub__category.retail {
	color: #246274;
}

.market-prices-hub__category.arable {
	color: #5A5511;
}

.market-prices-hub__category.inputs {
	color: #344A19;
}

.market-prices-hub__category.milk {
	color: #5A5A5A;
}

.market-prices-hub__category-title {
	border-bottom: 2px solid;
}

.market-prices-hub__category-title h3 {
	font-size: 1.5rem;
	padding: 0;
	margin: 0;
	line-height: 1.2;
	padding: 0 0 .25rem .5rem;
	text-transform: uppercase;
}

.market-prices-hub__category-content {
	padding: 1rem 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto;
	gap: 1.25rem;
}

.market-prices-hub__category-card {
	display: grid;
	width: 100%;
	height: 175px;
	grid-template-rows: 1fr 1fr;
	border: 1px solid #58648C;
	cursor: pointer;
	transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}


.market-prices-hub__category-card:hover {
	transform: scale(1.025);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.market-prices-hub__category-card:hover .market-prices-hub__category-section-2 {
	color: #FFFFFF;
}

.auction .market-prices-hub__category-card:hover .market-prices-hub__category-section-2 {
	background-color: #B61A1D;
}

.deadweight_markets .market-prices-hub__category-card:hover .market-prices-hub__category-section-2 {
	background-color: #BA7746;
}

.retail .market-prices-hub__category-card:hover .market-prices-hub__category-section-2 {
	background-color: #378FA8;
}

.arable .market-prices-hub__category-card:hover .market-prices-hub__category-section-2 {
	background-color: #CEC000;
}

.inputs .market-prices-hub__category-card:hover .market-prices-hub__category-section-2 {
	background-color: #6E8C4A;
}

.milk .market-prices-hub__category-card:hover .market-prices-hub__category-section-2 {
	background-color: #5A5A5A;
}

.market-prices-hub__category-section-1 {
	display: flex;
	justify-content: right;
	align-items: center;
	padding-right: 10px;
}



.market-prices-hub__category-section-2 {
	font-family: 'source_sans_prosemibold';
	font-size: 1.45rem;
	line-height: 1.3;
	padding: 0.7rem 1rem;
	color: #000000;
	background-color: #F4F4F6;
}


/* Market Data Media Queries - START */

@media (max-width: 768px) {
	.market-prices-hub__category-title {
		text-align: center;
	}

	.market-prices-hub__category-content {
		display: flex !important;
		flex-direction: column;
		gap: 0px !important;

	}

	.market-prices-hub__category-card {
		display: flex !important;
		align-items: center;
		height: 100% !important;
		border: none !important;
		transition: none !important;
		border-bottom: 1px solid #E0E0E0 !important;
	}

	.market-prices-hub__category-card:last-of-type {
		border-bottom: none !important;
	}

	.market-prices-hub__category-card:hover {
		transform: scale(1) !important;
		box-shadow: none !important;
	}

	.market-prices-hub__category-section-1 {
		order: 2;
		flex-basis: 90px;
	}

	.market-prices-hub__category-icon {
		width: 75px !important;
	}

	.market-prices-hub__category-section-2 {
		order: 1;
		flex-grow: 1;
		background-color: #FFFFFF !important;
	}

	.auction .market-prices-hub__category-card:hover .market-prices-hub__category-section-2 {
		color: #B61A1D !important;
	}

	.deadweight_markets .market-prices-hub__category-card:hover .market-prices-hub__category-section-2 {
		color: #BA7746 !important;
	}

	.retail .market-prices-hub__category-card:hover .market-prices-hub__category-section-2 {
		color: #378FA8 !important;
	}

	.arable .market-prices-hub__category-card:hover .market-prices-hub__category-section-2 {
		color: #CEC000 !important;
	}

	.inputs .market-prices-hub__category-card:hover .market-prices-hub__category-section-2 {
		color: #6E8C4A !important;
	}

	.milk .market-prices-hub__category-card:hover .market-prices-hub__category-section-2 {
		color: #5A5A5A !important;
	}


}

/* Market Data Hub Media Queries - END */
/* Market Data Hub - END */

/* Future Farming Hub - START */
.future_farming__upcoming {
    font-size: 2.043rem;
    margin-bottom: 1rem;
}
.future_farming__events {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.future_farming__event {
    background-color: #F5F5F5;
    padding: 1rem;
    display: grid;
    grid-template-rows: 150px 1fr 50px;
} 

.future_farming__info {
    margin-bottom: 1rem;
}

.future_farming__date {
    font-family: OpenSans, sans-serif;
    font-size: 2.75rem;
    line-height: 48.35px;
}

.future_farming__location {
    font-family: source_sans_proregular; 
    font-size: 1rem;
    color: #6F6F6F;
}

.future_farming__title {
    font-size: 1.635rem;
}

.future_farming__button a {
    width: 100%;
}

#upcoming_webinars .future_farming__event {
    display: flex;
}

#upcoming_webinars .future_farming__content {
    display: grid;
   grid-template-rows: auto 1fr;
}

#upcoming_webinars .future_farming__details {
    display: flex;
    flex-direction: column;
}

#upcoming_webinars .future_farming__title {
    flex: 1;
}

#upcoming_webinars .future_farming__button {
    margin-top: 1rem;
}

/* Future Farming Hub - END */

/* Jobs In Agriculture - START */
.careers__jobs-in-agriculture {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 2.5rem 0.5rem;
    margin-bottom: 1rem;
    justify-content: center;
    align-items: center;
    border: 1.5px solid #D41A1B;
	background-color: #F4F4F4
}

.careers__jobs-in-agriculture button {
    font-size: 17px;
    border: none;
    background-color: #D41A1B;
    width: fit-content;
    color: white;
    padding: .75rem;
    font-weight: 800 !important;
}

.jobs-in-agriculture {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.jia__cta {
    display: flex;
	flex-direction: column;
    gap: 2.5rem;
}

.jia__button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .5rem 1.5rem;
    font-size: 1.25rem;
    background-color:#d3141a;
    color: #FFFFFF !important;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    transition: background-color .15s
}

.jia__button:hover {
    background-color:#891C22
}

/* Jobs In Agriculture - END */

/* Arable Hub header - START */

/* Container Styles */
        .arable-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background-color: #f4f4f6;
            padding: 20px 40px 0 40px;
            max-width: 1200px;
            margin: 0 auto;
            gap: 20px;
            box-sizing: border-box;
            flex-direction: row;
        }

        /* Content Section Styles */
        .arable-content {
            flex: 1.4;
        }

        .arable-content h1 {
            font-size: 2.5rem;
            margin-bottom: 20px;
            color: #000000;
        }

        .arable-content p {
            font-size: 1rem;
            color: #000000;
            margin-bottom: 15px;
        }

        .arable-content .highlight {
            font-weight: bold;
            text-transform: uppercase;
        }

        /* Image Section Styles */
        .image-section {
            flex: 0.6;
            text-align: right;
        }

        .image-section img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        /* Responsive Styles */
        @media (max-width: 768px) {
            .arable-container {
                flex-direction: column;
                padding: 10px 10px 0px 10px;
                gap: 0;
            }

            .arable-content {
                flex: 1;
            }

            .image-section {
                flex: 1;
                text-align: center;
            }

            .arable-content h1 {
                font-size: 2rem;
            }

            .arable-content p {
                font-size: 0.9rem;
            }

            .image-section img {
                max-width: 40%;
                height: auto;
                text-align: right;
            }
        }

        @media (max-width: 480px) {
            .arable-container {
                padding: 10px 10px 0px 10px;
            }

            .arable-content h1 {
                font-size: 1.5rem;
            }

            .arable-content p {
                font-size: 0.85rem;
                margin-bottom: 10px;
            }

            .image-section {
                flex: 1;
            
            }
            .image-section img {
                max-width: 50%;
            }

        }

/* Arable Hub header - END */



/* Farm 24 Hub - START */

.hub__grid-layout-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
 }
	 
	 
 @media(max-width: 768px) {
	 .hub__grid-layout-4 {
		 grid-template-columns: repeat(3, 1fr);
	 }
 }   
	 
 @media (max-width: 431px) {
	 .hub__grid-layout-4 {
		 grid-template-columns: repeat(2, 1fr);
	 }
 }


 /* Farm 24 Hub - END */
