body{
	background: #eff0f6;
}

.marketplace-top-div{
	margin-top: 2%;
    margin-bottom: 2%;
} 

.image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.quick-view-container:hover .image {
  opacity: 0.4;
  -webkit-filter: brightness(30%);
}

.quick-view-container:hover .middle {
  opacity: 1;
}

.view-item-text {
  background-color: #676565;
  border: 2px solid white;
  color: #fff;
  font-size: 16px;
  padding: 16px 32px;
}

.filter-container{
	display: flex;
}

.filter-container-1{
	width: 100%; 
	display: inline-flex; 
	margin-top: 1%;
}

.filter-container-2{
	margin-top: 1% !important; 
	display: inline-flex; 
	width: 60%
}
		
.keyword-input{
	height: 3rem !important;
	padding-right: 50px !important;
	border-radius: 0% !important;
}
      
.keyword-submit{
	height: 3rem !important;
	border-top-left-radius: 0px !important;
	border-bottom-left-radius: 0px !important;
	border-top-right-radius: .25rem !important;
	border-bottom-right-radius: .25rem !important;
}

.list-grid-button {
  border: none;
  outline: none;
  padding: 12px 16px;
  background-color: #fff;
  cursor: pointer;
}

.list-grid-button.active {
   background: #5f5555 !important;
   color: white;
}

.column-row:after {
  content: "";
  display: table;
  clear: both;
}

.column-row{
	Display : none
}

.make-offer-button-quick-view{
	margin-top: 1% !important;
    margin-right: 0% !important;
    height: 3rem !important;
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    margin-right: 2% !important;
}

.make-offer-button{
	margin-bottom: 3% !important;
}

.confirmbuyitnow-quick-view{
    margin-top: 1% !important;
    margin-right: 0% !important;
    height: 3rem !important;
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    margin-right: 2% !important;	
}

.lot-title-parent{
	border-bottom: 6px solid #b31e17; 
	margin-bottom: 3%;
}

.market-place-button-background-dark{
	background: #5f5555 !important;
	color: #fff !important;
	border: 1px solid #5f5555;
}

.market-place-button-background-dark:hover{
	background: #b31e17 !important;
}

.market-place-button-background-red{
	background: #b31e17 !important;
	border: 1px solid #b31e17;
	color: #fff !important;
}

.market-place-button-background-red:hover{
	background: #5f5555 !important;
}

.marketplace-text-color-red{
	color: #b31e17 !important;
	font-weight: bolder;
}

.marketplace-text-color-darker{
	color: #5f5555 !important;
}

.marketplace-text-color-darker:hover{
	color: #b31e17 !important;
}

.listLinks:focus {
    border: 0px;
    background-color: #fff !important;
    color: #b31e17 !important;
}

.owl-nav button:hover {
	background:#b31e17 !important;
}

#contactform .button{
	background:#b31e17 !important;
}

#contactform .button:hover{
	background: #5f5555 !important; 
}

.marketplace-panel{
    padding: .8125rem;
    width: 100%;
}

.make-offer-wrapper{
	padding-top: 0px !important;
	border: 0px !important;
}

.table-or-cell{
	font-size: xx-large;
    font-weight: 700;
}

.iframe{
	background: black;
	margin-bottom: 5%;
}

.accordion {
  background: #eff0f6;
  color: #5f5555;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
}
.accordion:after {
  content: '\002B';
  font-size: 1.5rem;
  color: #5f5555 !important;
  float: right;
  margin-left: 5px;
}

.accordian-active:after {
  content: "\2212";
}

.accordian-active, .accordion:hover {
  background-color: #ccc;
  color: black;
}

.accordian-panel {
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.pagination {
  display: inline-block;
}

.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color .3s;
  border: 1px solid #ddd;
  background: #fff;
}

.pagination a.active {
  background-color: #4CAF50;
  color: white;
  border: 1px solid #4CAF50;
}

.pagination a:hover:not(.active) {
	background-color: #ddd;
}

.market-place-item-contact-button{
	display: inline-block; 
	height: 3rem;
	width: 50%; 
	text-align: center; 
}

.track-button{
	display: inline-block;
    width: 100%;
    background: #ffffff !important;
    border: 2px solid #b31e17 !important;
}

.track-icon{
	color: black !important;
}

.track-icon:hover{
	color: black !important;
}

.product-template .product-gallery #product-gallery-main .item {
    max-height: 100%;
}

/*     List View Styles     */
.row-list{
	display : block !important;
	margin-bottom: 1.25rem;
}

.equipment-item-header {
  	width: 100% !important; 
}

.equipment-item-image{
	width: 30% !important;
    padding-right: 1rem !important;
    align-content: center;
    position: relative;
}

.thumb_catalog{
	max-width: 100% !important;
}

.equipment-item-text{
	width: 50% !important;
}

.details-list{
	display : flex;
}

.equipment-item-div-top{
	align-content: baseline;
}

.equipment-item-div-bottom{
    align-content: end;
}

.market-place-list-link p {
  	position: relative;
  	top: 50%;
  	transform: translateY(-50%);
}

.equipment-item-footer{
	text-align: center !important;
}

.market-place-list-link-list{
	height: 100%;
    width: 50%;
    display: block;
    color: white;
    text-align: center;
    margin-right: 2%;
}

.market-place-list-link:hover{
	color: #fff !important;
}




/*     Grid View Styles     */
.row-grid{
	display: flex;
    flex-wrap: wrap;
    gap: 1%;
}

.column-grid{
	flex: 0 0 32% !important;
    display: flex !important;
    flex-direction: column !important;
    border: 1px solid #ccc !important;
    background: #fff !important;
    width: 33% !important;
}

.equipment-item-header-grid{
	flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}
			
.equipment-item-image-grid{
	width: 100% !important;
	padding-left: 0% !important;
	padding-right: 0% !important;
}

.thumb_catalog-grid{
	width: 100% !important;
	max-width: 100% !important;
	max-height: 245px !important;
}

.lot-title{
	display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 1 !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
}

.equipment-item-text-grid{
	width: 100% !important;
	margin-top: 5% !important;
	padding: 2% !important;
	flex-grow: 1;
}

.details-list-grid{
	display: block;
	height: 15% !important;
}

.details-list-column-grid{
	width: 100%;
}

.stacked-for-medium-grid{
	display: grid !important;
	height: 25% !important;
}

.market-place-list-link-grid{
	margin-top: 3% !important;
	margin-right: 0% !important;
	height: 3rem !important;
    width: 100% !important;
    display: block !important;
    color: white !important;
    text-align: center !important;
    margin-right: 2% !important;
}

.equipment-item-footer-grid{
	width: 100% !important;
	text-align: center !important;
	margin-top: auto; /* Pushes footer to the bottom */
  	background: #f9f9f9; /* optional */
  	padding: 10px;
}

.lot-description-grid{
	display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
}

.show-alternate-options-grid{
	display: block;
}

.hide-alternate-options-grid{
	display: none;
}

.equipment-item{
	background-color: #fff !important;
	border: 0px !important;
}

.hot-banner {
  position: absolute;
  top: 0;
  background: red;
  color: white;
  padding: 5px 10px;
  font-weight: bold;
  font-size: 0.9em;
  z-index: 10;
  border-bottom-right-radius: 5px;
}

.marketplace-logo{
	max-width: 50% !important;
}

.marketplace-item-container{
	background: #fff;
    padding-top: 1%;
    padding-bottom: 1%;
}

.quick-view-tr{
	background: #fff !important;
}

/* ===============================
   FILTER CONTAINER LAYOUT FIX
   =============================== */

.filter-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.filter-container-1 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto; /* evenly spread keyword, location, category, and clear button */
  gap: 1rem;
  width: 100%;
  margin-top: 1%;
}

.filter-container-1 > div,
.filter-container-1 > form,
.filter-container-1 > input,
.filter-container-1 > button {
  width: 100%;
}

/* Ensure inputs stretch evenly */
.filter-container-1 input[type="text"] {
  width: 100%;
  height: 3rem;
  padding: 0 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Keyword + search button combo fix */
.keyword-input {
  height: 3rem !important;
  padding-right: 10px !important;
  border-radius: 4px 0 0 4px !important;
  width: 100% !important;
}

.keyword-submit {
  height: 3rem !important;
  border-radius: 0 4px 4px 0 !important;
  width: auto !important;
  white-space: nowrap;
}

.filter-input {
  position: relative;
  width: 100%;
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.filter-input input {
  width: 100%;
}

.filter-input .dropdown {
  display: none;
  position: absolute;
  background: #fff;
  border: 1px solid #ccc;
  z-index: 999;
  width: 100%;
  max-height: 250px;
  overflow-y: auto;
  border-radius: 4px;
}

.filter-container-1 button {
  height: 3rem;
  border-radius: 4px;
  white-space: nowrap;
}

#locationSelect{
	width:100%; 
	height:3rem;
}

#categorySearch{
	width:100%; 
	height:3rem; 
	padding:0 10px; 
	border:1px solid #ccc; 
	border-radius:4px;
}

#categoryDropdown{
	display:none; 
	position:absolute; 
	background:#fff; 
	border:1px solid #ccc; 
	z-index:999;
	width:100%; 
	max-height:250px; 
	overflow-y:auto; 
	border-radius:4px;
}

@media only screen and (max-width: 900px) {
  .filter-container-1 {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .filter-container-1 button {
    width: 100%;
  }
}

@media only screen and (max-width: 600px) {
 	.filter-container{
		display: block;
	}
	
	.filter-container-1{
		width: 100%; 
		margin-top: 1%;
	}

	.filter-container-2{
		margin-top: 1% !important; 
		display: block; 
		width: 100%;
	}
}
		

@media only screen and (max-width: 1060px) {
	
	.list-grid-button{
		display: none !important;
	}	
	
	.equipment-item-image{
		width: 100% !important;
		padding-right: 0rem !important;
	}
	
	.equipment-item-header{
		display: inline-block;	
	}
	
	.equipment-item-text {
    	width: 100% !important;
	}
	
	.equipment-item-footer{
		width: 100% !important;
	}
	
	.stacked-for-medium{
		margin-bottom: 1rem;
    } 
    
    .equipment-list.list-view .equipment-item .equipment-item-header .equipment-item-text h3 {
    	margin-top: 5%;
        font-size: 1.4rem !important;
    }
    
    .reveal{
    	top: 0px !important;
    }
    
    .equipment-list.list-view .equipment-item .equipment-item-footer {
        padding: 5% !important;
    }
}

@media only screen and (min-width: 1060px) {
	.equipment-item-header{
		min-height: 253px;
		display: flex;	
	}
	
	.equipment-item-text {
    	width: 50% !important;
	}
	
	.equipment-item-text-grid {
    	width: 100% !important;
	}
	
	.equipment-item-footer-grid{
		width: 100% !important;
	}
}

@media screen and (max-width: 768px) {
	iframe { max-width: 100% !important; }
	
	.marketplace-logo{
		max-width: 100% !important;
	}
}

@media screen and (min-width: 1300px) {
    .product-template .product-gallery .product-gallery-thumbs-wrapper #product-gallery-thumbs .item {
        max-height: 100%;
    }
}

@media screen and (max-width: 767px) {
    .equipment-list.list-view .equipment-item {
        display: inline-flex !Important;
    }
}

