/*
Theme Name: Markéta Voráčková
Theme URI: https:///
Description: Šablona - Markéta Voráčková
Author: Jitka Turbáková & Daniel Dostál | imagemakers.cz
Author URI: http://www.imagemakers.cz/
Version: 1.0
Tags: responsive, bootstrap5
*/
.poppins-regular {
  font-family: "Poppins", serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-bold {
  font-family: "Poppins", serif;
  font-weight: 700;
  font-style: normal;
}

.poppins-regular-italic {
  font-family: "P oppins", serif;
  font-weight: 400;
  font-style: italic;
}

.poppins-bold-italic {
  font-family: "Poppins", serif;
  font-weight: 700;
  font-style: italic;
}

body {
  font-family: "Poppins", serif;
}

body {
  word-break: break-word;
}

a {
  color: #000;
}

h2 {
  font-size: 1.5em;
  /* margin-top: 1.2em; */
}

h3 {
  font-size: 1.3em;
}

img {
  max-width: 100%;
}

a:hover {
  color: #000;
}

/* Navbar */
.logged-in .navbar {
  margin-top: 32px !important;
}

/* Initial transparent navbar */
.navbar {
  background-color: #ffffff3e;
  transition: background-color 0.3s ease;
}

/* White background on scroll */
.navbar.scrolled {
  background-color: #fff;
}

.navbar img {
  padding: 1em 0;
}

.navbar a,
.navbar a:focus {
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  font-size: .9em;
}

.navbar a:hover {
  color: #000;
}

.navbar a.dropdown-item {
  color: #000;
}

.dropdown-item:focus {
  background-color: #007a77;
}

.dropdown-menu.show {
  /* border-width: 0; */
  border-radius: 0;
}

.navbar-toggler {
  background-color: #fff;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(39,64,86, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar-brand {
  margin-top: .1em;
}

.navbar-brand .maklerka {
  font-weight: 400;
}

.navbar a.dropdown-item {
  font-weight: bold;
  white-space: normal;
  width: 250px;
  margin: 0.3em 0;
}

.dropdown-item.active,
.dropdown-item:active,
.navbar a.dropdown-item:active {
  color: #fff;
  background-color: #a7a7a7;
}

.dropdown-menu .show {
  background-color: #a7a7a7;
}

.navbar-nav .current-menu-item a,
.navbar-nav .current-page-item a,
.navbar-nav .current-cat a {
  font-weight: bold;
}

/* breadcrumbs */
#breadcrumbs {
  margin-bottom: 2em;
  font-size: 0.9em;
}

#breadcrumb a:hover {
  color: #000;
}

/* hlavicka */
.main-banner {
  background-size: cover;
  background-position: center top;
  height: 90vh;
  position: relative;
}

/* Hlavní strana */
.boxy_homepage {
  background-color: #272931;
  color: #EFECE5;
}

.boxy_homepage a {
  text-decoration: none;
  color: #EFECE5;
}

.boxy_homepage h3 {
  text-transform: uppercase;
}

/* Obsah */
.nounder a {
  text-decoration: none;
}

h1,
.obsah h2,
.obsah h3 {
  color: #000000;
  text-transform: uppercase;
  margin-bottom: .5em;
  font-weight: bold;
}

.obsah h1 {
  font-size: 2.2em;
}

.obsah h3 {
  color: #000000;
  margin-bottom: .5em;
}

.obsah h2 {
  font-size: 2.2em;
  margin-right: 8px;
}

.hlavni-titulek {
  font-size: 3.5em;
  margin: 0.5em 0;
}

.otevirak {
  padding: 0 6px;
}

.card.otevirak img {
  max-height: 460px;
  /* min-height: 450px; */
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}

.obsah,
.obsah-page-in {
  font-size: 1.2em;
  line-height: 1.9em;
}

.obsah a {
  color: #000;
  text-decoration: underline;
}

.obsah .uvod-home {
  margin-bottom: 2em;
}

.obsah-page-in {
  padding-bottom: 3em;
}

.obsah .card {
  border-width: 0;
  background-color: transparent;
  margin-bottom: 2em;
}

.obsah .card a {
  text-decoration: none;
}

.obsah .card-body,
.obsah .card-footer {
  padding: 0;
  background-color: transparent;
  border: 0;
}

.obsah .card h3 {
  text-transform: uppercase;
  margin: 1em 0 .5em;
  font-size: 1.6em;
}

.obsah .card-text p {
  line-height: 1.4em;
}

.cat .card-body {
  background-color: #EFEBE5;
  padding: 0 2em;
}

.cat.nemo .card-body {
  background-color: #EFEBE5;
  padding: 0;
}

.cat .card-title h2 {
  font-size: 1.3em;
  color: #fff;
  margin: .5em;
}

.card img {
  width: 100%;
}

.grayscale {
  filter: grayscale(100%);
}

/* Add some styles to the card */
.card {
  margin: 0 auto;
}

.card img {
  border-radius: 0;
}

.card-img-top {
  width: 100%;
  height: auto;
}

.card-title {
  font-weight: bold;
}

.card-text {
  margin-top: 10px;
}

.card-img-overlay {
  background: rgb(0, 0, 0);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 1) 90%);
  border-radius: 0;
}

.prehled_nemovitosti {
  background-color: #EFEBE5;
  padding: 3em 0;
  margin-top: 3em;
}

.prehled_nemovitosti a {
  text-decoration: none;
}

.stav {
  font-size: 1.5em;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: .3em;
}

.cena {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: .5em;
}

.podklad {
  background-color: #EFEBE5;
  padding: 2em 0;
}

/* nemovitost */
.technickeparametry {
  margin: 2em 0;
}

.technickeparametry p {
  border-bottom: 1px solid #000;
  padding: 0 0 0.5em 0;
  font-size: 1em;
}

/* Butony */
.btn,
a.btn {
  background-color: #000;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 0;
}

.btn:hover,
a.btn:hover,
.btn:hover:active {
  background-color: #2e2e2e;
  color: #fff;
}

.menubtn,
.menubtn a {
  background-color: #000;
  color: #fff !important;
  text-decoration: none;
  font-weight: bold;
  border-radius: 0;
  font-size: .9em;
}

.menubtn {
  padding: 0 .4em;
}

.reference {
  border-bottom: #000 solid 1px;
  padding-bottom: 2em;
  margin-bottom: 2em;
}

.reference h5 {
  font-size: 1.5em;
}

.multi-column {
  column-count: 3;
  column-gap: 1.5rem;
}

.no-break {
  break-inside: avoid;
}

.social-media-sticky a {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-media-sticky a:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.social-media-sticky img {
  width: 32px;
  /* Adjust icon size */
  height: auto;
}

.top-30-custom {
  top: 30%;
  transform: translateY(-50%);
}

/* Pruvodce */
.pruvodce h2 {
  margin: 1em 0;
  font-size: 1.5em;
  font-weight: 100;
}

.pruvodce .accordion {
  margin-bottom: 3em;
}

.pruvodce .accordion-button {
  background-color: #EFEBE5;
}

.pruvodce .accordion-button:focus {
  border-color: #EFEBE5;
  outline: 2px solid #EFEBE5;
  box-shadow: none;
}

.pruvodce h3.accordion-header {
  font-weight: 700;
}

/* Scroll to Top Button Styling */
.scroll-to-top {
  z-index: 1030;
  /* Ensure it appears above other elements */
  border: none;
  border-radius: 50%;
  /* Make it circular */
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #272727a0;
  /* Bootstrap primary color */
  color: #fff;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  /* Optional shadow for better visibility */
  cursor: pointer;
  transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.scroll-to-top:hover {
  background-color: rgb(81, 81, 81);
  /* Darker shade for hover effect */
  transform: scale(1.1);
  /* Optional zoom effect on hover */
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  /* Icon color */
}

.pagination .page-link {
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 0;
  font-weight: bold;
  margin: 0 2px;
  transition: background 0.2s, color 0.2s;
}

.pagination .page-link:hover,
.pagination .page-link:focus {
  background-color: #2e2e2e;
  color: #fff;
}

.pagination .page-item.active .page-link {
  background-color: #2e2e2e;
  color: #fff;
  border: none;
}

/* Header */
header {
  padding-top: 80px;
}

/* Footer */
.paticka {
  padding: 2em 0 2em 0;
  line-height: 2em;
  background-color: #F9F5F3;
  font-size: .9em;
}

.paticka img {
  width: auto;
  margin: 0 0 1em;
}

.paticka a {
  color: #000;
}

.paticka svg {
  margin: 0 1em;
}

.paticka h4 {
  font-size: 1.3em;
  font-weight: bold;
  line-height: 1.4em;
}

.paticka p {
  margin-bottom: 2em;
}

.paticka .socialni-site img {
  width: 25px;
  height: 25px;
  margin: 0 .25em 1em;
}

.kredity {
  padding: 1em 0;
  background-color: #000000;
  font-size: .8em;
  color: #ffffff;
}

.kredity a {
  color: #ffffff;
}

.kredity svg {
  margin: 0 .3em;
  color: #fff;
}

/* carousel */
.jp-carousel-photo-title-container,
a.jp-carousel-icon-info {
  display: none;
}

.mfp-container {
  background-color: rgba(255, 255, 255, 0.6);
}

.swiper-pagination-bullets {
  display: none !important;
}

.jp-carousel-pagination {
  display: none !important;
}

/* Galerie */
/* Tlačítka */
/* video 100% */
.hbps-responsive-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  /* max-width: 1200px; */
  margin: 0 auto;
}

.hbps-responsive-video iframe,
.hbps-responsive-video object,
.hbps-responsive-video embed,
.hbps-responsive-video video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

/* Tagy */
ul.tagy {
  padding: 0;
  list-style-type: none;
}

ul.tagy li a,
ul.tagy li a:hover {
  color: #fff !important;
}

ul.tagy li {
  display: inline-block;
  background-color: rgb(0, 0, 0);
  border-radius: 15px;
  padding: 0.4em 0.8em;
  margin-right: 0.4em;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  font-size: 0.8em;
}

/* wpcf7 */
.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select,
.wpcf7 input[type="file"] {
  width: 95%;
}

.wpcf7-submit {
  background-color: #11af1c;
  color: #fff;
  font-weight: bold;
  border-radius: 30px;
  padding: 1em 2em;
  width: -webkit-max-content !important;
  width: -moz-max-content;
  width: max-content;
  border-width: 0;
}

img {
  max-width: 100%;
  height: auto;
}

blockquote {
  background: #f9f9f9;
  border-left: 10px solid #6d7e85ff;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "„""“";
  /* quotes: '\201c' '\201d' '\2018' '\2019'; */
}

blockquote:before {
  color: #6d7e85ff;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}

blockquote p {
  display: inline;
}

/* ===========================
      Wordpress
=========================== */
/* Zarovnání */
/* Obrázek zarovnaný vlevo */
.alignleft {
  float: left;
  margin-top: 1em;
  margin-right: 1em;
  margin-bottom: 1em;
  clear: none;
}

/* Obrázek zarovnaný vpravo */
.alignright {
  float: right;
  margin-top: 1em;
  margin-left: 1em;
  margin-bottom: 1em;
  clear: none;
}

/* Zajištění správného zobrazení na mobilních zařízeních */
@media (max-width: 768px) {

  .alignleft,
  .alignright {
    float: none;
    display: block;
    margin: 0 auto 1em auto;
  }
}

/* embed */
/* Galerie */
/* .gallery-container .gallery-item img {
  width: 93%;
  border: none !important;
} */
/* WordPress Gallery - 3 columns with equal margins */
#gallery-1 {
  display: flex;
  flex-wrap: wrap;
  margin: -10px -10px 0 0;
  /* Negative margins to offset item margins */
}

#gallery-1 .gallery-item {
  flex: 0 0 calc(33.333% - 10px);
  /* 3 columns with margin compensation */
  margin: 0 10px 10px 0;
  /* Right and bottom margin */
  box-sizing: border-box;
}

#gallery-1 .gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Remove margin from last column items */
#gallery-1 .gallery-item:nth-child(3n) {
  margin-right: 0;
}

/* Responsive - 2 columns on tablet */
@media (max-width: 768px) {
  #gallery-1 .gallery-item {
    flex: 0 0 calc(50% - 10px);
  }

  #gallery-1 .gallery-item:nth-child(3n) {
    margin-right: 10px;
  }

  #gallery-1 .gallery-item:nth-child(2n) {
    margin-right: 0;
  }
}

/* Single column on mobile */
@media (max-width: 480px) {
  #gallery-1 .gallery-item {
    flex: 0 0 100%;
    margin-right: 0;
  }

  #gallery-1 .gallery-item:nth-child(2n) {
    margin-right: 0;
  }
}

#gallery-1 .gallery-item {
  margin: 0 !important;
}

/* Alternative using CSS Grid (more modern approach) */
/*
#gallery-1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
#gallery-1 .gallery-item {
    margin: 0;
}
@media (max-width: 768px) {
    #gallery-1 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    #gallery-1 {
        grid-template-columns: 1fr;
    }
}
*/
/* Bootstrap utility classes alternative */
/*
If you want to use Bootstrap classes, add these to your gallery items:
- Add class "row" to #gallery-1
- Add classes "col-lg-4 col-md-6 col-sm-12 mb-3" to each .gallery-item
- Remove the CSS above and use Bootstrap's grid system
*/
/* Video 100% */
.hbps-responsive-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 0 auto;
  margin: 0 0 1em 0;
}

.hbps-responsive-video iframe,
.hbps-responsive-video object,
.hbps-responsive-video embed,
.hbps-responsive-video video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

/* ===========================
      Media queries
=========================== */
@media (max-width: 1200px) {
  @media (max-width: 992px) {
    .boxy .card-title {
      font-size: 1.5em;
    }
  }

  @media (max-width: 1200px) {
    .navbar a {
      font-size: .8em;
    }
  }

  @media (max-width: 992px) {
    .navbar {
      background-color: #fff;
    }
  }

  @media (max-width: 768px) {
    .main-banner {
      height: 60vh;
    }

    img {
      width: 100%;
      height: auto;
    }

    svg {
      max-width: 100%;
      height: auto;
    }

    .hlavicka h1 {
      font-size: 1.8em;
    }

    .hlavicka h2 {
      font-size: 1.4em;
    }

    .paticka {
      font-size: 80%;
    }

    .kredity .im {
      text-align: center;
    }

    footer {
      text-align: center;
    }
  }

  @media (max-width: 576px) {
    .navbar img {
      width: 70%;
    }
  }

  @media (max-width: 400px) {
    .navbar img {
      width: 50%;
    }
  }
}