  
img.loader {    
	width: 30px;
    height: 30px;
    margin: 40px;
}

@media screen and (max-width: 768px) {
	h1{ font-size:16px;}
}

a { cursor:pointer }
    
a, a:link, a:visited, a:active{
	color:#367c2b; text-decoration:none;
	border:none;
	outline:none;
}     

a:hover {
	text-decoration: underline;
} 
 
a:active {
	text-decoration: underline;
}

.main {
	background-color: white;
	padding: 0;
	padding-top: 20px;
}
.row	{
	margin-left:0;
	margin-right:0;	
}
.clear  {
	clear: both;
}
.header	{
	background:url(https://www.deere.com/common/deere-resources/img/bg_header.gif)  repeat-x scroll 0 bottom #ffffff;
    height: 110px;	
}
.header img	{
	padding:26px 0 0 24px;
}
@media screen and (max-width: 768px) {
	.header img {padding-left: 12px;}
}

.back-btn.hidden-xs {margin-top: 15px; padding: 25px;}
.back-btn.visible-xs {margin-bottom: 25px;}

.controls {
	padding: 50px 15px;
	background: url(/assets/styles/attachments-accessories-and-implements/utility-tractors-attachments-accessories/img/r4b001784-1fam-grey-500x292.jpg) no-repeat center right #3E3E3E;
	background-size: contain;
}
.controls.loader {
	padding: 50px 15px;
	background: unset;
	background-size: cover;
	height: 400px;
}

.controls a {color:#F0C705;}


@media screen and (max-width: 768px) {
	.controls {
		background: no-repeat center right #3E3E3E;
	    height: auto;	
	}
	.controls.loader {
		background: url(/assets/styles/attachments-accessories-and-implements/utility-tractors-attachments-accessories/img/hero-lg-r4...98-min.jpg) no-repeat center left black;
		background-size: cover;
	    height: auto;	
	}
}

@media screen and (min-width: 768px) and (max-width: 990px) {
	.controls.loader {
		background: url(/assets/styles/attachments-accessories-and-implements/utility-tractors-attachments-accessories/img/hero-lg-r4...98-min.jpg) no-repeat center center;
	}
}

.loader .selects {
	margin-top: 50px;
	margin-right: 15px;;
}

.loader .selects {
	margin-bottom: 15px;
	background-color: #F5F5F5;
	padding: 22px;
}

.loader .selects label {
	display: block;
	margin-bottom: 18px;
}

/* Customize the select container */
.select-wrapper {
  position: relative;
  width: 100%;
}

/* Style the select box */
.select-wrapper select {
  width: 100%;
  padding: 10px;
  border: 1px solid lightgray;
  border-radius: 4px;
  appearance: none; /* Remove default styling */
  -webkit-appearance: none; /* For Safari */
  -moz-appearance: none; /* For Firefox */
  background: transparent;
  font-size: 16px;
}

/* Add the Font Awesome icon */
/* Add the Font Awesome icon */
.select-wrapper:after {
	position: absolute;
	content: "\f078";
	/* Font Awesome down arrow */
	font-family: 'Font Awesome 5 Free', 'FontAwesome', sans-serif;
	font-weight: 900;
	font-style: normal;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	/* Make sure clicks pass through */
}
/* Customize the select container */
.select-wrapper {
	position: relative;
	width: 100%;
}

/* Style the select box */
.select-wrapper select {
	width: 100%;
	height: 42px;
	/* Set height */
	padding: 8px 12px;
	/* Adjust padding */
	border: 1px solid lightgray;
	border-radius: 2px;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background: white;
	/* Set background to white */
	font-size: 16px;
}

/* Add the Font Awesome icon */
.select-wrapper:after {
	position: absolute;
	content: "\f078";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	color: gray;
	/* Set the arrow color */
	font-size: 12px;
	/* Set the arrow size */
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
}
/* END Customize the select container */

.loader .well {
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,.25);
	border: 1px solid rgb(0,0,0);
    border: 1px solid rgba(0,0,0,.5);
}

/* ---- grid ---- */

.grid {
  background: #F7F7F7;
  margin: 10px 0;
  padding: 10px 30px;
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .grid-item ---- */

.grid-item {
  float: left;
  background: white;
  border: 1px solid #E0E0E0;
  margin: 5px 5px 5px 5px;
  padding: 10px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}
.grid-item.loader {
  float: left;
  width: 280px;
  min-height: 430px;
  /* height: 420px; */
  background: white;
  border: 1px solid #E0E0E0;
  margin: 0;
  margin-top: 20px;
  text-align: left;

  font-size: 14px;

  position: relative;
  overflow: visible;
}

.grid-item.loader>.details {
	padding: 10px;
	overflow: hidden;
  	text-overflow: ellipsis;
	margin-bottom: auto;
}

.grid-item.loader > .details em {
	font-style: normal;
	font-weight: bold;
	color: #7E7E7E;
	font-size: 12px;
}

.grid-item.loader > .details > .details-header {
	display: flex;
	flex-direction: row;
}

.grid-item.loader > .details > .details-header i{
	margin-top: 16px;
	margin-left: auto;
	color: #367c2b;
}

/* Style for Bootstrap popover */
div.popover {
	max-width: 250px !important; /* Change this to your desired width */
	width: max-content;
	position: absolute;
  }

.grid-item.loader .image-container {
	width: 260px;
	height: 200px;
	position: relative;
}

/* Style for the image */
.grid-item.loader .image-container img {
	object-fit: cover;
	position: absolute;
	width: 100%;
	height: 100%;
}

/*Control the width of grid items across screen sizes*/
/* @media screen and (max-width: 360px) {
	.grid-item.loader {width: 90%; height: auto;}
}
@media screen and (max-width: 768px) and (min-width: 360px) {
	.grid-item.loader {width: 45%; height: auto;}
}
@media screen and (min-width: 768px) {
	.grid-item.loader {width: 215px;}
} */

.grid-item--width2 { width: 200px; }

h4 {
	font-size: 22px;
}

.grid-item h3.model{font-size:30px; color:#333; display: block; margin-top:5px; margin-bottom:10px; }
.grid-item p.deck {font-size:12px; color:#333; line-height: normal}
.grid-item div.feature {
	padding-top: 14px;
	font-size:14px; 
	color:#333; 
	line-height: normal; 
	margin-bottom: 5px;
	/* height: 115px; */
	width: 245px;
	overflow: hidden;
}
.grid-item div.feature ul {
	margin-top: 0 !important;
	line-height: unset !important;
}

@media screen and (max-width: 768px) {.grid-item h3.model{font-size:24px;}}

/*@media screen and (max-width: 500px) and (min-width: 360px) {*/
	.grid-item p.feature span {display:block;}
/* } */

.grid-item:hover {cursor:pointer; border:1px solid #367C2B;}
.grid-item:hover h3.model, .grid-item:hover p.deck{color:#367C2B;}

.grid-item.disabled:hover {cursor:inherit; border: 1px solid #E0E0E0;}
.grid-item.disabled:hover h3.model, .grid-item.disabled:hover p.deck{color:inherit;}

.deck-details {
	display: none;
    padding: 5px 40px;
    text-align: center;
}
.deck-details img {
	width: 36%;
    margin: 0 auto;
}
@media screen and (max-width: 768px) {
	.deck-details {border-bottom: 1px solid #efefef; padding-bottom: 25px;}
}

.ui-message {
	background-color: #FFFAE2;
	padding: 25px;
	border-radius: 3px;
	margin: 15px 0;
	border: 1px solid #FFEC84;
}
.ui-message h3 {
	font-size: 18px;
	padding: 0;
	margin: 0;
	color:#867100;
}

.results {
	padding: 0;
	margin: 0;
}

.no-results {display: none;}

.footer	{
	padding-left:5px;
	padding-right:5px;	
}
.footer-copyright	{
	font-weight: normal;
	margin-bottom: 15px;
	margin-top: 12px;	
	font-weight:bold;
	padding-left:0 !important;
	padding-right:0 !important;
}
.footer-links	{
    margin-top: 12px;
    text-align: right;	
}
.footer-links a	{
	color: #367c2b !important;	
}

@media screen and (max-width: 768px) {
	.footer-copyright	{
		text-align:center;
	}
	.footer-links	{
		text-align:center;
		padding-bottom:20px;
	}	
}

.disclaim {padding: 25px; margin: 20px 0; background-color: white;}
.disclaim p {padding: 0; margin: 0; font-size: 10px; color: grey;}

.text-warning {
	color: green !important;
}
.small-text{
	font-size: 0.85em;
	font-style: italic;
}
.small-text a{
	font-size: 1.15em;
	font-style: normal;
}

.btn-deere {
	font-size: 20px;
	padding: 12px 40px;
	background-color: green;
	color: white;
	margin-top: 20px;
	display: inline !important;
}

.deere-link{
	text-decoration: underline;
	color: rgb(102, 153, 102);
	margin: 0;
	padding: 0;
	list-style: none;
	cursor: auto;
	font-size: 14px;
	font-family: 'Calibri', sans-serif;
}



/* Taken from Deere UX Guidelines */
a.callToAction:hover {
	text-decoration: none;
}

a.callToAction, button {
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    height: 32px;
    vertical-align: middle;
    padding: 0 18px;
    text-shadow: none;
    cursor: pointer;
    color: #454545;
    width: auto;
    overflow: visible;
    background: #e9e9e9;
    box-shadow: inset 0 13px 15px #f9f9f9;
    display: inline-block;
    padding-top: 7px;
}
a.callToAction {
    background: #ffd621;
    border: 1px solid #ffd621;
    box-shadow: inset 0 13px 15px #fff137;
}
a.small {
    height: 26px;
    font-size: 11px;
}

.radio-table label {
	text-align: left;
	font-size: 16px;
}

.grid-item {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: auto; /* Ensure height is automatically adjusted */
	min-height: 100px; /* Set a reasonable minimum height */
  }
  
  .grid-item img {
	max-width: 100%; /* Ensure images do not exceed their container */
	height: auto;
  }
  
  .grid-item .content {
	flex-grow: 1; /* Allow content to grow */
  }
  
  .grid-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	grid-gap: 20px;
  }

  .top-recommendation-label, .most-popular-label {
	position: absolute;
	bottom: 10px; /* Adds some space from the bottom of the image */
	left: -10px; /* Moves the label 10px outside to the left of the image container */
	background-color: #ffd621; /* Updated yellow color similar to the screenshot */
	padding: 4px 8px; /* Padding inside the label */
	font-size: 14px;
	font-weight: bold;
	color: #000; /* Black text color */
	text-align: left; /* Left justify the text */
	box-sizing: border-box; /* Ensures padding does not affect the width calculation */
	z-index: 10; /* Ensures it's on top */
	white-space: nowrap; /* Prevents text from wrapping, ensuring the width matches content */
  }
  
  .top-recommendation-label:before, .most-popular-label:before {
	font-family: FontAwesome;
	margin-right: 8px;
  }
  
  .top-recommendation-label:before {
	content: "\f005"; /* Font Awesome star icon */
  }
  
  .most-popular-label:before {
	content: "\f004"; /* Font Awesome heart icon */
  }
  
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .header-container h3 {
    flex-grow: 1;
  }

  .select-wrapper {
    display: flex;
    align-items: center;
	flex-shrink: 1;
	width: auto;
}

.select-wrapper label {
    margin-right: 10px;
}


/* Mobile Updates */
@media screen and (max-width: 768px) {
	.loader .selects {
		padding: 12px;
		margin-top: 10px;
	}

	.title-sub-large{
		display: none;
	}

	.hero .container.small-seperator {
		margin-bottom: 0px;
	}

	.hero .container .content .hero-text {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.header-container .select-wrapper label{
		display: none;
	}

	.header-container .select-wrapper select{
		width: auto !important;
	}

}