﻿#carlist .list-item {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#carlist .list-item:hover {
  /* transform: scale(1.0006);  Move div 10px upwards */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adjust the shadow for a more raised effect */
}

.top-advert-icon{
    position: absolute;
    background-color: white;
    right: 16px;
    top: 10px;
    font-size: 12px;
    font-weight: 800;
}
.p-relative{
  position: relative;
}


.bg-yellow{
  background-color: rgb(253 197 0)
}
.bg-blue{
  background-color: rgb(0, 124, 146);
  color:#ffffff;
}
.font-weight-bold{
  font-weight: 600;
}

.item-negotiable-txt{
  font-size: 12px;
  font-family: monospace;
}
.item-price-txt{
  font-weight: 600;
}
.car-features>div{
    color: #124d77;
    line-height: 1.4;
    font-weight: 600;
    font-family: monospace;
}
.car-features div>div:first-child{
  font-size: 11px;
  font-weight: 500!important;
}
.bg-c-green{
  background-color: #27a490;
}
.bg-c-blue{
  background-color: #029cdc;
}
.bg-c-white{
  background-color: #ffffff;
}
.bg-l-grey{
  background-color:#f5f5f5;
}

.d-input>input, .d-input>select {
  width: 100%;
  border: 1px solid #cccccc;
  padding: 5px;
}



#featured .card {
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#featured .card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

#featured .browse-btn {
  background-color: #f7b731;
  color: #fff;
  border: none;
}
#featured .browse-btn:hover {
  background-color: #e2a322;
}



.image-container {
  width: 100%;         /* Set the container width to 100% */
  height: 250px;       /* Set a fixed height for the container */
  overflow: hidden;    /* Hide overflowing parts of the image */
  position: relative;  /* Establish a containing block for the image */

    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width:1200px) {
  .image-container {
    height: 190px;
  }
  .pl-2, .px-2 {
    padding-left: .4rem !important;
  }
  .pr-2, .px-2 {
    padding-right: .4rem !important;
  }
}
.image-container img {
  width: 100%;         /* Scale the image to match the container's width */
  height: auto;        /* Maintain the aspect ratio */
    display: block;
}
.sm-img-container {
  height: 180px!important;  
}
.listing-page a{
  /*color: inherit!important;*/
}


/* News Section */
.news-section h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
}
.news-card {
  border: none;
  box-shadow: 0 0px 14px rgba(0, 0, 0, 0.1);
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease; */
}
.news-card:hover {
  /* transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);*/
} 
.news-card .card-date {
  position: absolute;
  top: 1rem;
  left: 1rem;
    background: #1A76D1;
    color: #fff;
    padding: 4px 15px;
    border-radius: 3px;
    font-size: 14px;
}
.news-card .card-category {
  font-size: 0.875rem;
  color: #f7b731;
  font-weight: bold;
}
.makesearch img{
  height: 46px!important;
}
.car-popular div{
    font-size: medium;
    font-weight: 500;
    color: #337ab7;
    padding: 3px 0;
}
.cardetail-header {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
}
.cardetail-body .row{
  margin-bottom: 10px;
}
.make-search>div {
  box-shadow: -1px 1px 10px rgba(0, 0, 0, 0.1);
  width: 108px;
}
.make-search .img-holder{
  width: 48px;
}
.make-search{
  margin: 10px;
  cursor: pointer;
}
.bd-rounded{
  border-radius: 6px;
}
.grid-price{
  margin-left: auto;
  text-align: right;
}
.list-item .img-box{
  max-width:300px;
}
.list-item .img-box>div{
  min-width:300px;
}

.form-group {
  margin-bottom: 0.6rem;
}


.dz-preview{
  background-color:transparent!important;
}
.ramsy .removeImage{
  color: white;
    padding: 4px 9px;
    font-weight: 300;
    font-size: 12px;
}
.ramsy .defaultIMG{
  margin: 8px 3px;
}


.imhReview {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#picts{
  float:right;
}
#vDetailsImg table td{
  padding:4px;
  font-size:smaller;
}
#vDetails {
  padding:10px 0;
}
.contactDetails{
  background-color: #f9fafb;
    margin-bottom: 10px;
    border-radius: 10px;
}
.vDetailsHeader{
  font-weight:bold;
  font-size:20px;
  padding:10px 0;
}
.vDetailsImg{
  padding:10px 0;
}
.moreImgs ul li img{
  /*max-height:65px;*/
  width:100%
}
.contactDetails button{
  padding:10px;
  margin-bottom:8px;
  width:100%
}
.arroe{
  width:10%!important;
  padding-top:10px;
  font-size:30px;
  text-align:center;
  font-size: 30px;
  font-weight: 100!important;
  color: darkgray;
}
.moreImgs ul li{
  list-style-type:none;
  width:16%;
  float:left;
  padding:2px;
}
.sectImp{
  opacity:1!important;
}
.moreImgs ul li div{
  height:80px;
  overflow:hidden;
  align-items: center;
  vertical-align: middle;
  display: flex;
}
.panel-pics{
  opacity:0.7;
}
.moreImgs ul{
      -webkit-padding-start: 0px!important;
}

.vDetailsImg #accordion .col-3{
  padding:0 10px!important;
  font-size: 84%;
}

.badge {
  padding: .65em;
  color: #fff;
}
.smallScreen{
  display: none;
}
@media (max-width:991px) {
  .bigScreen{
      display: none;
  }
  .smallScreen{
    display: block;;
  }
  .image-container {
    height: 154px;
  }
}
#carlist li{
  margin-bottom: 10px;
  margin-top: 10px;
}



.packageSelection{
  border-radius:6px;
  padding:10px;
  border:3px solid #d3d3d3;
}
/*@media (min-width:992px){
  .packageSelection{
  height:225px;
}}*/
.opffer{
  color: green;
  font-size: 30px;
  font-weight: bold;
  font-family: monospace;
  padding: 12px;
}

.packageSelection li{
  font-size:94%;
  line-height:1.2;
}
.packageSelection:hover{
  border-color:#0c6cbe;
  cursor:pointer;
}
.packageSelection ul{
  padding: 10px 0;
}

.sell-p{
  background-color: #0094ff!important;
  color: #ffffff;
}
.pe-none{
  pointer-events: none;
}

body ol{
  margin-left: 30px;
}
.breadcrumb{
  font-size: 12px;
  padding: 0.4rem 1rem!important;
  background-color: #f1f1f1!important;
}
@media only screen and (min-width: 767px) {

  select {
    height: 35px!important;
}

}

.searchLoader{
      /* display: none; */
    padding: 128px;
    position: absolute;
    /* left: 50%; */
    width: 100%;
    z-index: 12;
}
.car-popular div a:hover {
    cursor: pointer;
}
.car-popular div a {
    font-weight: 500;
}
.card-rounded{
    border-radius: 10px;
    overflow: hidden;
}
.btn-light {
  color:#2C2D3F;
}
.btn-outline-primary{
    border-color: var(--secondary-color)!important;
    color: var(--secondary-color);
}
.me-2 {
    margin-right: .5rem !important;
}
.rating .fa-solid{
    color: #f39c12;
}
.btn-sm {
    padding: .2rem .5rem !important;
    font-size: small;
}
.header-details {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    font-size: 20px;
    font-weight: 600;
    padding: 20px;
    color: #111827;
}