/* header */

.custom-header {
  position: relative;
}

/* navbar */

.custom-navbar {
  position: absolute;
  top: 0;
  z-index: 11;
  right: 0;
}

.custom-navbar2 {
  border-top: 1px solid white;
  padding-left: 20%;
  position: absolute;
  top: 90px;
  z-index: 11;
  right: 0;
}

.custom-navbar .navbar-nav {
  justify-content: right;
}

/* carousel */

.custom-carousel {
  position: relative;
}

/* search container */

.search-container {
  position: relative;
  top: -90px;
  display: grid;
  grid-template-columns: 25% 75%;
  padding: 0;
  margin: 0 81px;
  border: 1px solid transparent;
  box-shadow: 1px 1px 3px #888888;
  height: 180px;
}

.search-container-head {
  padding: 30px 20px 0px;
  color: white;
  background-color: rgb(255, 63, 63);
}

.search-container-body {
  padding: 30px 10px 0px;
  background-color: white;
}

.search-container-subhead,
.subhead {
  color: grey;
  font-size: 20px;
  text-align: center;
}

.search-bar {
  display: grid;
  grid-template-columns: 25% 75%;
  position: relative;
  top: -90px;
  z-index: 11;
  padding: 0;
  width: 100%;
  height: 200px;
  box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
  border: 1px solid transparent;
}

.h2-normal {
  font-size: 37px;
}

.search-head {
  padding: 30px 18px 30px 20px;
  background-color: rgb(255, 62, 62);
  height: 100%;
  color: white;
}

.search-input-box {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 4% 30% 25% 25% auto;
  padding: 5px;
  width: 100%;
  border: 1px solid grey;
  border-radius: 26px;
}

.search-input-box .fa-search {
  padding-top: 7px;
  color: grey;
  font-size: 30px;
  height: 100%;
}

.search-input1 {
  padding-left: 8px;
  border: none;
  border-right: 1px solid #fefefe;
}
.search-input-box .btn-group {
  border-right: 1px grey;
}
.search-input-box .btn-group .btn:hover {
  border-color: transparent;
}

.search-input-box .submit-btn1 {
  border: 1px solid transparent;
  background-color: rgb(255, 62, 62);
  border-radius: 24px;
  color: white;
  font-size: 20px;
}

/* icons */

.h2-head {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
}

.notification-bell,
.Icon_awesome-heart,
.Icon_material-chat-bubble {
  width: 20px;
  fill: rgba(241, 241, 241, 1);
}

.nav-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: white;
}

.nav-link {
  color: white;
}

/* grid image gallery */

.grid-images {
  display: grid;
  grid-template-columns: 50% 30% 20%;
  column-gap: 10px;
  row-gap: 10px;
}

.grid-images img {
  border-radius: 16px;
}

.img1-grid {
  position: relative;
}

.h3-img1 {
  font-size: 20px;
    position: absolute;
    bottom: 0;
    z-index: 1111;
    color: white;
    background-color: #0000004a;
    width: 100%;
    text-align: center;
    left: 50%;
    transform: translate(-50%);
    border-radius: 0 0 16px 16px;
}

.grid-images2 {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 50% 50%;
  column-gap: 10px;
  row-gap: 10px;
}

.grid-images2 img {
  position: relative;
  border-radius: 16px;
}

.container2 {
  display: grid;
  grid-template-columns: 100%;
  row-gap: 10px;
}

.container4 {
  display: grid;
  grid-template-columns: auto 50%;
  column-gap: 10px;
}

.container-6 {
  display: grid;
  grid-template-columns: 40% auto;
  column-gap: 10px;
}

.container-7 {
  margin-top: 10px;
}

/* Recently-looked-at */

.Recently-looked-at {
  margin-top: 80px;
}

.t-center {
  text-align: center;
}

.images-cards {
  width: 100%;
  padding: 0 10px;
  margin-top: 40px;
  display: grid;
  grid-template-columns: auto auto auto auto auto;

  column-gap: 10px;
}

.card-img-top {
  height: 200px;
  width: 100%;
}

.Icon_material-restaurant-menu_xf {
  width: 16px;
  fill: rgb(59, 59, 59);
}

.Icon_awesome-calendar-alt_xe,
.Icon_awesome-glass-cheers_h,
#Icon_ionic-ios-cafe_iv {
  width: 16px;
  height: 16px;
  fill: rgb(59, 59, 59);
  margin-top:6px;
}

.Icon_material-location-on_xi {
  width: 15px;
    fill: rgb(59, 59, 59);
    padding-right: 5px;
    margin-top: -4px;
}

.Icon_map-art-gallery_xt {
  width: 16px;
  fill: rgb(59, 59, 59);
}

.custom-card-title {
  display: flex;
  column-gap: 10px;
  font-size: 16px;
  padding-bottom: 7px;
  font-weight: bold;
  color: rgb(59, 59, 59);
}

.calander-date-card {
  font-weight: 400;
  display: flex;
  column-gap: 5px;
  font-size: 15px;
  color: rgb(59, 59, 59);
}

svg.Path_115_ix {
    margin-top: -15px;
}

.list-group-item {
  font-size: 14px;
  display: flex;
  justify-content: space-between;
}

.open-status {
  font-size: 14px;
  color: red;
}

/* Newly-Opened-Business */

.Newly-Opened-Business {
  margin-top: 80px;
}

.simple-image-grid {
  display: grid;
  grid-template-columns: auto auto auto auto auto;
  column-gap: 15px;
}
.simple-image-text-container {
  position: relative;
}
.simple-grid-text-container {
  width: 90%;
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  bottom: 10px;
  z-index: 11;
  padding: 5px 15px;
  background: rgba(250, 250, 250, 1);
  border-radius: 10px;
}

.simple-location {
  font-size: 13px;
  color: rgb(59, 59, 59);
  font-weight: 400;
}

.simple-grid-card-h2 {
  font-weight: 400;
  font-size: 20.3px;
}

.float-right {
  float: right;
}

/* ad-section */

.ads-sec {
  padding: 0 10px;
  height: 400px;
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 20px;
}

.ads-sec .position-relative {
  overflow: hidden;
}

.ad-box {
  padding: 0;
  margin: 0;
}

.ads-text {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  top: 0;
  left: 0;
  z-index: 11;
  padding: 10%;
  text-align: center;
  width: 100%;
  height: 100%;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  padding: 0 44.5px;
  border-radius: 20px;
}

.ads-head {
 font-size: 60px;
    line-height: 160px;
    font-weight: 500;
    color: #fff;
}
h2.ads-sub-head {
    color: #fff;
    font-size: 31px;
}

.border-radius-10 {
  border-radius: 10px;
}

/* blogs */

.blogs-sec,
.ads-sec {
  width: 100%;
  overflow: hidden;
}

.h-650 {
  height: 650px;
  overflow: hidden;
}

.thirdfix {
  max-width: 100%;
}

.height40 {
  height: 40%;
}

.height60 {
  height: 60%;
}

.top4 {
  margin-top: 4%;
}

.margin-top80 {
  margin-top: 80px;
}

.margin-top40 {
  margin-top: 40px;
}

/* used car */
/* ==========================================
    FOR DEMO PURPOSE
  ========================================== */

.text-small {
  font-size: 0.9rem;
}

.footer-links {
  color: white;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-links:hover,
.footer-links:focus {
  text-decoration: none;
}

.form-control {
  background: #212529;
  border-color: #545454;
}

.form-control:focus {
  background: #212529;
}

footer {
  width: 100%;
  background: rgba(41, 41, 41, 1);
}

#Group_310 {
  display: inline-block;
}

.Icon_awesome-facebook-f {
  margin-left: 10px;
}

.Icon_awesome-facebook-f,
.Icon_awesome-twitter,
.Icon_awesome-linkedin-in,
.Icon_awesome-google,
.Icon_awesome-youtube {
  margin-right: 5px;
  width: 32px;
  height: 32px;
  fill: white;
  border: 1px solid grey;
  padding: 7px;
}

.font-18 {
  font-size: 18px;
}

.font-22 {
  font-size: 22px;
}

/* contact form */

.index-contact-from {
  width: 100%;
  background-color: rgba(233, 233, 233, 1);
}

.form-control {
  padding: 20px;
  width: 100%;
  background-color: #fefefe;
  border-color: #aeaeae;
}

.font-32 {
  font-size: 32px;
}
.text-grey {
  color: grey;
}

.contact-text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* popular used car */

.h2_for_popular_used {
  margin-bottom: 40px;
  color: white;
}
.popular_used_head {
  color: white;
  font-size: 32px;
}

.popular_used_image_container {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

.popular_used_text_container {
  position: absolute;
  padding: 20px 30px;
  top: 25%;
  display: block;
  width: 50%;
  background-color: rgba(255, 4, 4, 0.5);
}

.Icon_awesome-calendar-alt1 {
  width: 28px;
  fill: white;
}

.popular_used_sub_head {
  display: flex;
  column-gap: 20px;
  font-size: 28px;
  color: white;
}

.popular_used_price_container {
  display: flex;
  column-gap: 15%;
  color: white;
}

.popular_used_para {
  font-size: 18px;
  color: white;
}

/* responsiveness */
@media (max-width: 900px) {
  .images-cards {
    width: 100%;
    padding: 0 10px;
    margin-top: 40px;
    display: grid;
    grid-template-columns: 50% 50%;

    column-gap: 10px;
  }
  .simple-image-grid {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 15px;
    row-gap: 15px;
  }
  .grid-images {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 10px;
    row-gap: 10px;
  }
  .grid-images2 {
    margin-top: 10px;
    display: grid;
    grid-template-columns: auto;
    column-gap: 10px;
    row-gap: 10px;
  }
 
  .search-container {
    grid-template-columns: 100%;
    margin: 0;
  }
  .popular_used_head {
    font-size: 26px;
  }
  .popular_used_sub_head {
    font-size: 22px;
  }
  .Icon_awesome-calendar-alt1 {
    width: 20px;
    fill: white;
  }
  .popular_used_para {
    font-size: 14px;
  }
}

@media (max-width: 750px) {
  .Near-by {
    margin-top: 20px;
    width: 100%;
    height: 360px;
    background-color: white;
    border-radius: 10px;
  }
  .popular_used_text_container {
    position: relative;
    top: -50px;
    width: 100%;
    background-color: rgba(255, 0, 0, 0.6);
  }
}

@media (max-width: 991px) {
	
	.grid-images img {
		border-radius: 16px;
		margin-bottom: 3px !important;
	}
	.grid-images2 img {
		margin-bottom: 3px !important;
	}
	.simple-image-text-container img{
		margin-bottom: 5px !important;
	}
	.h-100.position-relative.ad-box {
		margin-bottom: 10px !important;
	}
	.h-650 {
		height: 100% !important;
	}
	.grid-images {
		display: grid;
		grid-template-columns: auto auto auto;
		column-gap: 7px;
		row-gap: 10px;
	}
	
	.card-img-top {
		height: 120px;
		max-width: 100%;
	}
	.image-card.slick-slide{
		width: 150px;
	}
	.custom-card-title {
		font-size: 13px;
    line-height: 20px;
	}
	.calander-date-card {
		font-size: 12.5px;
	}
	p.card-text {
		font-size: 14px;
		padding-top: 5px;
		line-height:20px;
	}
	.open-status {
		font-size: 12px;
	}
	.Icon_awesome-calendar-alt_xe, .Icon_awesome-glass-cheers_h, #Icon_ionic-ios-cafe_iv {
		width: 13px;
		height: 14px;
		margin-top: 5px;
	}
	li.list-group-item {
		display: block;
	} 
	section.margin-top80.ads-sec {
		display: block;
		grid-template-columns: 50% 50%;
		column-gap: 10px;
		row-gap: 10px;
    padding: 0px;
	}.ads-head {
		font-size: 30px;
	}
	.ads-text {
		padding: 5px; 
	}
	.set-height {
    height: 200px !important;
}.position-relative.ad-box.set-height-card {
    height: 200px;
}
}