@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Libre+Franklin:ital,wght@0,100..900;1,100..900&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Libre Franklin, Helvetica Neue, sans-serif;
}

header {
  background-color: #52ae30;
  height: 65px;
  display: flex;
  align-items: center;
}

.otplogo {
  height: 75px;
  font-weight: 700;
  margin-top: 5px;
  margin-bottom: 5px;
}

.logo69 {
  height: 70px;
}

.otpzold {
  color: #52ae30;
  font-weight: 700;
}

.linklogo {
  height: 30px !important;
  width: auto !important;
  max-height: 30px !important;
  display: inline-block;
  object-fit: contain;
}


.rounded-50 {
  border-radius: 50%;
}

.position-absolute {
  right: 0;
  top: 0;
}

.navbar {
  height: 20px;
  margin-top: 10px;
  z-index: 1050;
}

footer {
  height: 50px;
}

.kisbetu {
  font-size: 0.7rem;
  font-weight: 700;
}

.nagyonkisbetu {
  font-size: 0.4rem;
}

a {
  transition: color 0.5s ease !important;
}

a:hover {
  color: #52ae30 !important;
}

.picikep img {
  height: 200px;
  margin: 0 auto;
}

.navbar-toggler {
  transform: scale(0.5);
}

.text-justify {
  text-align: justify;
}

.navbar-collapse {
  justify-content: center;
  /* Módosítás: flex-start helyett center */
  /* margin-left: 50px; */
  background-color: rgba(255, 255, 255, 0.8);
}

.dropdown-menu .dropdown-item {
  font-size: 0.7em;
}

.dropdown-item:hover {
  background-color: transparent !important;
  /* Átlátszó háttér */
}

.dropdown-menu {
  padding: 0;
  min-width: auto;
  /* Alapértelmezett szélesség */
  max-width: max-content;
  /* A leghosszabb menü elem szélessége */
  border: none;
}

.navbar-collapse.show {
  /* Akkor, ha a menü nyitva van */
  background-color: rgba(255, 255, 255, 0.8);
  /* Fehér háttér */
}

.dropdown-menu {
  border-radius: 0;
  /* Lekerekítés eltávolítása */
}

.nav-item.dropdown>.nav-link.dropdown-toggle::after {
  display: none;
}

#nevjegylogo {
  height: 75px;
}

.nevjegy img {
  height: 150px;
}

.fekvo-img {
  max-width: 100px;
  object-fit: cover;
  border: 2px solid white;
  margin: 2px;
}

.allo-img {
  max-width: 75px;
  object-fit: cover;
  border: 2px solid white;
  margin: 2px;
}

.hirdet {
  background-color: #52ae30;
  color: white;
}

.kislogo {
  max-width: 100px;
}

.picibetu {
  font-size: 0.7rem;
}

.hirdet_a {
  color: white;
  text-decoration: none;
  opacity: 75%;
}

.hirdet_a:hover {
  color: white !important;
  text-shadow: 0px 0px 2px white;
}

.pici_a {
  color: black;
  text-decoration: none;
}

.pici_a:hover {
  color: black !important;
  text-shadow: 0px 0px 2px black;
}

.container {
  overflow: auto;
}

.position-relative {
  position: relative;
}

.logo-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  /* Állítsd be a kívánt méretet */
  opacity: 0.8;
  /* Átlátszóság beállítása */
}

.logo-overlay-sold {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  /* Állítsd be a kívánt méretet */
  opacity: 0.8;
  /* Átlátszóság beállítása */
}

.card {
  overflow: hidden;
  position: relative;
}

.img-wrapper {
  height: 120px;
  /* Set a fixed height for the image container */
  overflow: hidden;
  position: relative;
}

.card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensure the image covers the container */
  transition: transform 0.7s ease;
}

.card-img-top:hover {
  transform: scale(1.1);
}

.img-wrapper:hover .card-img-top {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}


.highlight-label {
  position: absolute;
  top: 5px;
  left: 5px;
  background-color: rgba(82, 174, 48, 0.4);
  color: white;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 0.8rem;
  z-index: 1;
}

.sale-label-sajat {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: rgba(255, 0, 0, 0.4);
  color: white;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 0.8rem;
  z-index: 1;
}

.sale-label-kereszt {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: rgba(255, 136, 0, 0.4);
  color: white;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 0.8rem;
  z-index: 1;
}

.rent-label {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: rgba(4, 46, 255, 0.4);
  color: white;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 0.8rem;
  z-index: 1;
}

.virtual-label {
  position: absolute;
  bottom: 5px;
  left: 5px;
  background-color: rgba(255, 4, 159, 0.4);
  color: white;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 0.8rem;
  z-index: 1;
}

.new-label {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background-color: rgba(29, 4, 255, 0.4);
  color: white;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 0.8rem;
  z-index: 1;
}

.renew-label {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background-color: rgba(15, 128, 208, 0.4);
  color: white;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 0.8rem;
  z-index: 1;
}

.details-link {
  display: block;
  background-color: rgba(82, 174, 48);
  color: white;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 0.8rem;
  text-decoration: none;
  float: right;
  cursor: pointer;
}

.list-group-item {
  display: flex;
  justify-content: space-between;
}

.hirdet-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensure the image covers the container */
}

.thumbnail {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.virtual-link {
  position: absolute;
  top: 10px;
  right: 10px;
  text-decoration: none;
  font-weight: bold;
  animation: float 2s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.arrow {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  padding: 10px;
}

.arrow-left {
  left: 10px;
}

.arrow-right {
  right: 10px;
}

.card {
  display: flex;
  flex-wrap: wrap;
  width: auto;
}

.card-img-top {
  flex: 1 0 auto;
}

.text-justify {
  text-align: justify;
}

@media (min-width: 576px) {
  .navbar .dropdown-menu {
    display: none;
  }

  .navbar .nav-item:hover .dropdown-menu {
    display: block;
  }
}

@media (max-width: 770px) {
  .cim {
    display: none;
  }
}

.table-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-banner {
  position: fixed;
  bottom: 50vh;
  width: 100%;
  background-color: #f8d7da;
  color: #721c24;
  text-align: center;
  padding: 10px;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  opacity: 90%;
}

.cookie-banner button {
  background-color: #721c24;
  color: #fff;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
}

td {
  text-align: center;
}

.picikepecske {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.picikepecske2 {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;

  position: relative;
  animation: fadeInOut 10s infinite;
}

@keyframes fadeInOut {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

.info-bar {
  background-color: rgba(255, 255, 255, 0.5);
  /* Transparent background */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 30px;
  /* Adjust this value based on the height of your navbar */
  z-index: 30;
  padding: 5px 0;
  border-radius: 10px;
}

.info-bar .infokep {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 75%;
}

.info-bar .details {
  display: flex;
  flex-direction: column;
}

.info-bar .details .name {
  font-size: 1rem;
  font-weight: bold;
}

.info-bar .details .description {
  font-size: 0.8rem;
}

.description-img {
  height: 50px;
}

.info-bar .property-details {
  background-color: #52ae3018;
  /* Light green transparent background */
  padding: 5px;
  border-radius: 10px;
  display: flex;
  justify-content: space-around;
}

.info-bar .property-details .left {
  text-align: left;
}

.info-bar .property-details .right {
  font-size: 0.7rem;
}

@media (max-width: 576px) {
  .info-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .info-bar .details {
    margin-top: 10px;
  }

  .info-bar .contact-button {
    margin-top: 10px;
    width: 100%;
    padding: 5px 10px;
    /* Smaller padding for smaller button */
  }
}

@media (max-width: 1200px) {
  .info-bar .property-details {
    display: none;
  }
}



#kapcsolatModal .modal-dialog {
  max-width: 300px;
  /* Csökkentett szélesség */
  position: fixed;
  bottom: 10px;
  left: 10px;
  margin: 0;
  padding: 0;
}

#imageModal .modal-dialog {

  width: 100vw;
  /* A modal szélessége a teljes képernyő szélessége */
  height: 100vh;
  /* A modal magassága a teljes képernyő magassága */
  display: flex;
  align-items: center;
  justify-content: center;
}

#imageModal .modal-content {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

#imageModal .modal-body {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#imageModal img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.menu-container {
  position: fixed;
  right: 0;
  top: 40%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  z-index: 1100;
}

.menu-link {
  display: flex;
  align-items: center;
  background-color: #52ae30c8;
  border: 0px solid #ffffff;
  color: rgb(255, 255, 255);
  padding: 5px;
  width: 45px;
  transition: width 0.7s ease !important;
  overflow: hidden;
  white-space: nowrap;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  text-decoration: none;
  z-index: 1100;
}

.menu-link:hover {
  width: 180px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
}

.menu-link i {
  margin-right: 10px;
  flex-shrink: 0;
  font-size: 1rem;
  min-width: 20px;
  text-align: center;
  color: rgb(255, 255, 255);
}

.menu-link span {
  opacity: 0;
  color: #ffffff;
  transition: opacity 2s ease;
}

.menu-link:hover span {
  opacity: 1;
}