/*
 Theme Name:     WillaNatura Theme
 Theme URI:      
 Description:    Theme for WillaNatura
 Author:         Grzegorz Gensty
 Author URI:     
 Template:       Divi
 Version:        1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */
body {
  font-weight: 400;
}
.et_pb_row {
  width: calc(100% - 4rem);
}
.navbar-menu {
  justify-content: flex-start !important;
  flex-direction: row-reverse;
}

.hero-text h4 {
  background: #ffd296;
  width: max-content;
  padding: 6px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 3px;
  border-radius: 4px;
}

.hero-text h1 span {
  font-weight: 400;
}

.hero-text h1 strong {
  font-weight: 400;
  font-family: "Dancing script";
}

.hero-text p {
  font-weight: 400 !important;
}

.section-header h1 strong {
  font-weight: 400;
  font-family: "Dancing script";
}
.section-header h2 span {
  font-weight: 400;
  font-family: "Dancing script";
}

.section-header h2 strong {
  font-family: "Prompt";
}

.icon-wrapper .et_pb_image_wrap img {
  object-fit: contain;
  padding: 14px;
  border-radius: 0 !important;
}

.house-details {
  display: flex;
  justify-content: space-between;
}

.house-details .house-surface {
  font-weight: bold;
  background: #78b833;
  width: auto;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  flex-wrap: nowrap;
  padding: 10px;
  color: #fff;
  border-radius: 6px;
  font-size: 18px;
  white-space: nowrap;
}

.house-surface sup {
  font-size: 17px;
}

.house-details {
  align-items: flex-end;
}

.house-details .right {
  text-align: right;
}

.house-wrapper .et_pb_image {
  margin: 0 !important;
}

.quick-form .et_pb_contact_form {
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-form button,
.quick-form button:hover {
  margin-top: 13px;
  height: 57px;
}

.quick-form .et_pb_contact_field {
  margin: 0 !important;
}
.news-wrapper .et_pb_salvattore_content {
  display: grid !important;
  grid-template: auto / 1fr 1fr 1fr;
  gap: 2rem;
}
.news-wrapper .et_pb_salvattore_content > div {
  width: 100% !important;
  margin: 0 auto;
}

.custom-column-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.news-wrapper .et_pb_ajax_pagination_container {
  display: grid !important;
  grid-template: auto / 1fr 1fr 1fr;
  gap: 2rem;
}
.map-column {
  width: 100% !important;
}
.map-legend-item {
  display: flex;
  justify-content: space-between;
  line-height: 1;
  gap: 10px;
}
.map-legend-item h4 {
  white-space: nowrap;
}

.gm-style-iw-d h3 {
  font-family: "Prompt";
  font-size: 20px;
}

.domy-lista {
  display: grid;
  grid-template: auto / 1fr 1fr 1fr 1fr;
  gap: 2rem;
}

.domy-lista .item {
  box-shadow: 0 0 40px -5px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid transparent;
  transition: all 0.2s linear;
}
.domy-lista .item:hover {
  border: 1px solid #78b833;
}

.domy-lista .item .content {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  flex-direction: row-reverse;
}

/* Inline #14 | http://beta.machinadeweloper.pl/2023/12/08/pierwsze-sprzedane-mieszkania-w-willa-natura/ */

.gallery-custom .et_pb_gallery_items.et_post_gallery.clearfix {
  display: grid;
  grid-template: auto / 1fr 1fr 1fr;
  gap: 2rem;
}

.gallery-custom .et_pb_gallery_items.et_post_gallery.clearfix::after {
  display: none;
}

.gallery-custom .et_pb_gallery_items.et_post_gallery > div {
  width: 100% !important;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px -11px rgba(0, 0, 0, 0.3);
}

.domy-lista .item .content p {
  margin: 0;
  font-size: 25px;
  padding: 0;
}

.domy-lista .item .content p small,
.status {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: #78b833;
  border-radius: 5px;
  padding: 0 6px;
  margin-left: 7px;
  transform: translateY(-12px);
}
.status {
  margin-left: 0;
}

.domy-lista .item .content p small.sold,
.status-sold {
  background-color: red !important;
  color: #fff;
}

.domy-lista .item .content p small.reserved,
.domy-lista .item .content p small.precontract, .status-reserved,
.status-precontract {
  background-color: orange !important;
}

.domy-lista .item .content p:first-child {
  background: #78b833;
  padding: 0.75rem;
  border-radius: 10px;
  color: #fff !important;
  font-weight: bold;
  font-size: 18px;
  white-space: nowrap;
}

.domy-lista .item .content p:first-child sup {
  bottom: 13px;
  font-size: 14px;
}

.domy-lista .item .img {
  display: block;
  overflow: hidden;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 89%, 0% 100%);
}

.domy-lista .item .img::before {
  display: block;
  content: "";
  padding-top: 56%;
}

.domy-lista .item .img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.et-pb-contact-message {
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  background: #78b833;
  width: fit-content;
  margin: 0 auto;
  color: #fff;
  border-radius: 10px;
}

.et-pb-contact-message ul {
  list-style: none;
  font-size: 12px;
  line-height: 1;
  margin: 1rem;
  margin-bottom: 20px;
  padding-bottom: 1px;
}

/* Inline #13 | http://beta.machinadeweloper.pl/domy/329/ */

.home-card-slider a {
  display: block;
  position: relative;
  overflow: hidden;
}

.home-card-slider a::before {
  content: "";
  padding-top: 54%;
  display: block;
}

.home-card-slider a img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.et-db
  #et-boc
  .et-l
  .et_pb_bg_layout_light
  .et-pb-controllers
  .et-pb-active-control {
  background-color: #78b833;
}

.et-db #et-boc .et-l .et_pb_bg_layout_light .et-pb-controllers a {
  background-color: #78b833;
}

.et_contact_bottom_container {
  width: 100%;
  margin-top: 1rem !important;
}
.et_pb_contact_submit.et_pb_button {
  width: 100%;
}

.et_pb_contact_field_options_list i {
  float: left;
}
.footer-menu ul {
  display: flex !important;
  flex-direction: column;
}

.hotspots-placeholder {
  display: none !important;
}

.hotspots-image-container {
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

.hotspots-image-container,
.leaflet-container {
  background: #fff !important;
  border-radius: 15px;
}

.footer-wrapper {
  display: grid !important;
  grid-template: auto / 1fr auto auto auto;
  gap: 3rem;
}

.footer-wrapper > div {
  width: 100% !important;
}

.news-wrapper .entry-featured-image-url {
  display: block;
  overflow: hidden;
  position: relative;
}

.news-wrapper .entry-featured-image-url::before {
  content: "";
  padding-top: 54%;
  display: block;
}

.news-wrapper .entry-featured-image-url img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* MAPSTER*/

.mapster-tooltip {
  background: #fff;
  border: 0 !important;
  padding: 1rem;
  border-radius: 6px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.mapster-tooltip .status-sprzedany {
  background: red;
  color: #fff;
}

.mapster-tooltip .status-rezerwacja {
  /* background: oklab; */
  background: orange;
}

.mapa-osiedla {
  border-radius: 10px;
  box-shadow: 0px 30px 40px -15px rgba(0, 0, 0, 0.3);
}

/* RWD */

@media screen and (min-width: 1400px) {
  .padding-left-sizer {
    padding-left: calc((100vw - 1320px) / 2) !important;
  }
  .padding-right-sizer {
    padding-right: calc((100vw - 1320px) / 2) !important;
  }
}

@media (max-width: 1699px) {
  .padding-left-sizer {
    padding-left: 2rem;
  }
  .padding-right-sizer {
    padding-right: 2rem;
  }

  /* Inline #17 | http://beta.machinadeweloper.pl/ */

  .section-header h2 {
    font-size: 40px;
  }

  .section-header {
    font-size: 20px;
  }

  .hero-text h1 {
    font-size: 90px;
  }
}

@media (max-width: 1439px) {
  .hero-text h1 {
    font-size: 75px !important;
  }

  .hero-text p {
    font-size: 20px;
  }

  .section-header h2 {
    font-size: 34px;
  }

  .house-details .house-surface {
    height: auto;
    padding: 0 8px;
    font-size: 19px;
  }

  .house-details .right {
    font-size: 14px;
    font-weight: bold;
  }

  .section-header p {
    font-size: 18px;
  }

  .custom-column-right .et_pb_main_blurb_image {
    margin: 0;
  }

  .custom-column-right .et_pb_blurb_container h4 {
    font-size: 18px !important;
  }

  .custom-column-right .et_pb_blurb_description {
    font-size: 14px;
    line-height: 1 !important;
  }

  .house-details h3 {
    font-size: 16px !important;
  }
}

@media (max-width: 1199px) {
  .hero-text h1 {
    font-size: 62px !important;
  }

  .et_pb_row {
    width: calc(100% - 2rem);
  }

  .padding-left-sizer {
    padding-left: 1rem;
  }

  .et_pb_text_0 h4 {
    font-size: 12px;
  }

  .navbar-brand {
    width: 100px;
  }

  .navbar-nav {
    display: grid !important;
    align-items: center;
    grid-template: auto / 1fr auto;
  }

  .navbar-nav::after {
    display: none;
  }

  .navbar-nav > div {
    width: 100% !important;
    gap: 0;
  }

  .icon-wrapper > .et_pb_column {
    padding: 0.5rem !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
  }

  .icon-wrapper {
    display: grid !important;
    grid-template: auto / 1fr 1fr 1fr 1fr;
    gap: 1rem;
  }

  .icon-wrapper::after {
    display: none;
  }

  .icon-wrapper > .et_pb_column h4 {
    font-size: 20px !important;
  }

  .icon-wrapper > .et_pb_column p {
    font-size: 1rem;
  }

  .icon-wrapper > .et_pb_column {
    padding: 2rem 1rem !important;
  }

  .et_pb_button {
    font-size: 18px !important;
  }
}

@media (max-width: 980px) {
  #mobile_menu1 {
    position: fixed;
    top: 78px;
    height: 100vh;
    width: 100%;
    left: 0;
    background-color: #fff !important;
    z-index: 999;
  }

  .footer-menu .et_pb_menu__menu {
    display: flex;
    flex-direction: column !important;
  }

  .footer-menu .et_pb_menu__menu ul {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    margin: 0 !important;
  }

  .footer-menu .et_pb_menu__menu ul li {
    padding-left: 0 !important;
    margin-left: 0 !important;
  }

  .footer-menu .et_mobile_nav_menu {
    display: none !important;
  }

  .footer-menu .et_pb_menu__wrap {
    justify-content: flex-start;
  }
  .news-wrapper .et_pb_ajax_pagination_container {
    grid-template: auto / 1fr 1fr;
    gap: 1rem;
  }

  .block-img-right {
    flex-direction: column-reverse;
    display: flex !important;
    gap: 2rem;
  }

  .domy-lista {
    grid-template: auto / 1fr 1fr;
    gap: 1rem;
  }

  .footer-wrapper {
    grid-template: auto auto / 1fr 1fr 1fr;
    gap: 1rem;
  }
  .footer-logo {
    grid-column: 1/4;
    grid-row: 2/3;
  }
}

@media (max-width: 767px) {
  .hero-text h1 {
    font-size: 42px !important;
  }
  .padding-left-sizer {
    padding-right: 1rem;
  }
  .icon-wrapper {
    grid-template: auto / 1fr;
  }
  .icon-wrapper > .et_pb_column {
    margin: 0 !important;
  }
  .icon-wrapper > .et_pb_column h4 {
    font-size: 18px !important;
  }

  .hero-text p {
    font-size: 18px;
  }

  .quick-form .et_pb_contact_form {
    flex-direction: column;
    gap: 10px;
  }

  .quick-form .et_pb_contact_submit.et_pb_button {
    width: 100% !important;
    margin-left: 10px;
  }

  .quick-form .et_contact_bottom_container {
    width: 100%;
  }
  .news-wrapper .et_pb_ajax_pagination_container {
    grid-template: auto / 1fr;
  }
  .section-header h2 {
    font-size: 28px;
  }

  .footer-menu .et_pb_menu__wrap {
    justify-content: center;
    text-align: center;
  }
  .footer-menu .et_pb_menu__menu ul li {
    text-align: center;
  }

  .footer-menu .et_pb_menu .et_pb_menu__menu > nav > ul {
    justify-content: center;
  }

  .footer-menu .et_pb_menu .et_pb_menu__menu,
  .et_pb_menu .et_pb_menu__menu > nav,
  .et_pb_menu .et_pb_menu__menu > nav > ul {
    align-items: center;
  }

  .hero-text h4 {
    width: auto;
    padding: 0;
    margin-bottom: 10px;
    display: inline-flex;
  }
  .domy-lista {
    grid-template: auto / 1fr;
    gap: 1rem;
  }

  .gallery-custom .et_pb_gallery_items.et_post_gallery.clearfix {
    grid-template: auto / 1fr;
  }
  .footer-wrapper {
    grid-template: auto / 1fr;
    gap: 1rem;
  }

  .footer-logo {
    grid-column: 1/3;
    grid-row: 3/4;
  }

  .home-card-wrapper .et_pb_text,
  .home-card-wrapper .et_pb_text * {
    font-size: 14px !important;
  }

  .section-header h2 {
    font-size: 30px !important;
  }
  .mobile_menu_bar {
    left: 15px !important;
  }
}
