* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lato", sans-serif;
  background-color: #f5f5f5;
  overflow-x: hidden;
}

/* Header */
header {
  position: fixed;
  width: 100%;
  z-index: 100;
  background-color: #3a3530;
  padding: 20px 50px;
}

.nav-item a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-item .dropdown-item {
  color: #333;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: #d4930a !important;
}

.navbar-nav .nav-item a:hover {
  color: #ea9939;
}

header .fw-bold {
  color: #000;
  font-weight: 700;
}

header .fw-bold:hover {
  color: #ea9939;
}

header .form-control-sm {
  border-radius: 20px;
}

.list-inline-item a {
  text-decoration: none;
}

/*******/

.property-listings {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  /* Set max width for the grid container */
  margin: 0px auto 40px auto;
  /* Center container */
  padding: 0 20px;
  box-sizing: border-box;
}

.property-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgb(200, 200, 200);
  transition: transform 0.3s ease;
}

.property-card:hover {
  transform: translateY(-10px);
}

.property-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.property-info {
  padding: 15px;
}

.property-info h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
}

.price {
  font-weight: bold;
  font-size: 1rem;
  color: #333;
  margin-bottom: 10px;
  display: block;
}

.property-info p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
}

.view-more {
  background-color: #ea9939;
  color: white;
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  text-decoration: none;
}

.view-more:hover {
  background-color: #ea9939;
}

.btn-outline-custom {
  color: #ea9939 !important;
  border-color: #ea9939 !important;
}

.btn-outline-custom:hover {
  background-color: #ea9939 !important;
  color: white !important;
}

.btn-outline-custom2 {
  width: 170px !important;
  position: fixed !important;
  margin: 10px auto !important;
  right: 20px !important;
  top: 20px !important;
  background-color: #ea9939 !important;
  color: #fff !important;
}

.btn-outline-custom2:hover {
  background-color: #ffffff !important;
  color: #ea9939 !important;
  border-color: #ea9939 !important;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* The main content area */
.content {
  flex: 1;
}

/* Footer styling */
#footer {
  background-color: #fff;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}

#footer ul li {
  display: inline-block;
}

#footer ul li a {
  margin: 0 5px;
}

#footer ul li a i {
  font-size: 20px;
  /* Set the font size for the icons */
  color: #666;
}

#footer ul li a i:hover {
  color: #ea9939;
}

/* Estilo del sidebar */
.sidebar {
  height: 100vh;
  background-color: #ffffff;
  padding: 20px;
  color: #000000;
  transition: all 0.3s;
  box-shadow: 0px 0px 18px #07070763;
  position: fixed;
  z-index: 99;
}

.sidebar.collapsed {
  width: 50px;
  padding: 20px 3px;
}

.sidebar img {
  width: 100px;
  height: 100px;
  box-shadow: 0px 0px 18px #07070763;
  border-radius: 50%;
  margin-bottom: 20px;
  transition: all 0.3s;
}

.sidebar.collapsed img {
  width: 45px;
  height: 45px;
}

.sidebar .nav-link {
  color: #000000;
  font-size: 1.1rem;
  white-space: nowrap;
}

.sidebar .nav-link:hover {
  color: #ea9939;
}

.sidebar .nav-link .bi {
  margin-right: 10px;
}

.sidebar .nav-item {
  margin-bottom: 15px;
}

.sidebar .user-greeting {
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #ea9939;
  white-space: nowrap;
}

.sidebar.collapsed .user-greeting {
  display: none;
}

.content {
  transition: margin-left 0.3s;
}

@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    z-index: 1;
  }

  .content {
    margin-left: 0 !important;
  }
}

#main {
  width: 100% !important;
  transition: all 0.3s;
}

.content-collapsed {
  padding-left: 50px;
}

.content-expanded {
  padding-left: 200px;
}

.list-properties {
  position: relative;
  width: 100%;
}

.list-properties .card {
  display: inline-block !important;
  margin: 5px;
}

.input-group-text {
  min-width: 150px;
  font-weight: bold;
}

.abc123 {
  height: 250px;
  overflow: hidden;
}

.abc123 img {
  height: 100%;
}

.property-details2 {
  margin: 0px auto 20px auto;
  padding: 5px 20px 5px 20px;
  max-width: 100%;
  box-sizing: border-box;
  box-sizing: border-box;
  background-color: transparent;
}

.image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.image-container {
  flex-basis: 100%;
}

.image-container.vertical {
  flex-basis: calc(50% - 5px);
}

.image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.icon-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  /* O 'center' si quieres centrar todos los elementos */
  gap: 5px;
  /* Espacio entre los elementos */
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 74px;
  /* Ajusta el ancho como necesites */
}

.icon-car i {
  font-size: 25px !important;
  color: #6c757d;
}

.muted2 {
  font-size: 9.5px;
  margin-top: 0px;
  color: #6c757d;
}

.social-share-buttons a i {
  font-size: 18px !important;
}

.form-vende-arrienda {
  display: block;
  max-width: 1200px;
  /* Set max width for the grid container */
  /*margin: 110px auto 40px auto;
  /* Center container */
  padding: 0 20px;
  box-sizing: border-box;
}

.btn-selected {
  background-color: #ea9939 !important;
  /* Change this to your desired color */
  color: white !important;
}

.forma {
  padding: 0 30%;
  box-sizing: border-box;
}

@media (max-width: 990px) {
  .forma {
    padding: 0 15%;
  }
}

@media (max-width: 768px) {
  .forma {
    padding: 0 0%;
  }
}

@media (max-width: 580px) {
  header {
    padding: 20px 20px 20px 0;
  }
  .imp-del, .out-del {
    display: none;
  }
  .navbar-brand img {
    height: 50px!important;
  }
}