:root {
  --main-accent-color: #f7a900;
  --main-accent-2-color: #2c3e50;
}
/* centrowanie menu hamburger w headerze po kliknięciu */
.container-nav .navbar.navbar-expand-lg .navbar-toggler.navbar-toggler-right {
  margin: 0 auto;
}
/* koniec centrowanie menu hamburger w headerze po kliknięciu */
/* moduły w sekcji top-b w pionie */
.grid-child.container-top-a,
.grid-child.container-top-b {
  display: flex;
  flex-direction: column;
}
.contact .grid-child.container-top-b {
  flex-direction: initial;
}
/* koniec moduły w sekcji top-b w pionie */
/* featured houses block - dostosowanie do responsywności */
@media (max-width: 639px) {
  .featured_houses_block.novisible.visible {
    width: 100% !important;
  }
}
@media (min-width: 640px) {
  .featured_houses {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
  }
}
@media (min-width: 900px) {
  .featured_houses {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
  }
  .home-page .site-grid {
    background-image: url(/images/backgrounds/bg-search.png);
    background-repeat: no-repeat;
    background-position: right 0;
    background-size: 40% 200px;
  }
}
/* koniec featured houses block - dostosowanie do responsywności */
/* wyśrodkowanie logo w headerze */
header.header .grid-child {
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 0;
}
.container-header .navbar-brand {
  margin-inline-end: initial;
}
/* koniec wyśrodkowanie logo w headerze */
/* menu i kontakt bar w headerze */
header.header .grid-child.container-nav {
  flex-direction: column;
  background: #253d4d;
}
.container-header nav {
  margin-top: 0;
  padding: 0.5em;
}
header.header .navbar {
  order: 2;
}
.topbar-contact {
  width: 100%;
  background-color: #0d283a;
}
.topbar-contact p {
  padding: 10px 0 0;
}
.topbar-contact a {
  color: rgb(251, 238, 184);
  text-decoration: none;
}
.active {
  color: var(--main-accent-color);
}
/* koniec menu i kontakt bar w headerze */
/* moduł wyszukiwarki - wyśrodkowanie */
.com_realestatemanager.mod_search {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}
/* koniec moduł wyszukiwarki - wyśrodkowanie */
.quick_menu {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: space-around;
  align-items: center;
  text-transform: uppercase;
  border-top: 1px solid rgb(0, 0, 0);
  border-bottom: 1px solid rgb(0, 0, 0);
}
.quick_menu a {
  color: #333;
  font-size: 20px;
}
.quick_menu a:hover {
  color: var(--main-accent-color);
}
#map {
  min-height: 100%;
  width: 100%;
  z-index: 0;
}
.button-estatee,
.button,
.btn.btn-secondary {
  display: inline-block;
  background: var(--main-accent-2-color);
  color: white;
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.button-estatee:hover,
.btn.btn-secondary:hover {
  background: var(--main-accent-color);
  color: white;
  text-decoration: none;
  border-color: var(--main-accent-color);
}
nav.navbar ul.mod-menu li a,
nav.navbar ul.mod-menu li button {
  text-transform: uppercase;
}
.footer .footer-links {
  column-count: 5;
  padding: 2.5em 0;
}
@media (max-width: 640px) {
  .footer .footer-links {
    column-count: 1;
    padding: 1.5em;
  }
}

footer.footer .grid-child {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  padding: 0;
  color: #bababa;
}
.footer-bottom {
  background-image: url(/images/backgrounds/fbg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll;
  background-position: 50% 100%;
  padding: 2.5em 0;
}
footer.footer .copyright {
  text-align: center;
  padding: 1em 0;
  background-color: #171715;
}

/* divider dla nagłowków */
.divider_header,
.componentheading h1,
.blog h1,
.page-header h1 {
  margin-bottom: 25px;
  padding-bottom: 25px;
  position: relative;
  text-align: center;
}
.divider_header:before,
.componentheading h1:before,
.blog h1:before,
.page-header h1:before {
  max-width: 280px;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  -o-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  background: #f6f6f6;
  position: absolute;
  bottom: 0;
  content: "";
  height: 3px;
  display: inline-block;
  width: 100%;
}
.divider_header:after,
.componentheading h1:after,
.blog h1:after,
.page-header h1:after {
  max-width: 78px;
  margin-right: auto;
  margin-left: auto;
  -webkit-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  -o-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  background: var(--main-accent-color);
  position: absolute;
  left: 50%;
  bottom: 0;
  content: "";
  height: 3px;
  display: inline-block;
  width: 100%;
}
.fa-2x {
  color: var(--main-accent-2-color);
}

/*======================
    404 page
=======================*/

.wrap-error {
  background-color: #253d4d;
  padding: 70px 0;
}
.wrap-error h1 {
  font-size: 6.875rem;
  letter-spacing: -13px;
  line-height: 1;
  font-family: montserrat, sans-serif;
}
h1 span {
  text-shadow: -8px 0 0 #0d283a;
}
.text-9xl {
  font-size: 5.5rem;
}
.btn.btn-success a {
  color: #fff;
}

/*======================
    koniec 404 page
=======================*/
