body {
  font-size: 1rem;
  line-height: 180%;
  font-weight: 400;
  color: #000;
}

a.et_pb_button {
  font-size: 1.1rem;
  font-weight: 400;
}

.clr {
  clear: both;
}

.et-db #et-boc .et-l .et_pb_row,
.et_pb_row {
  width: 90%;
}

@media (max-width: 980px) {
  .et-db #et-boc .et-l #head-photo-row .et_pb_row {
    width: 100%;
  }
}

@keyframes fromFog {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.et_pb_row--with-menu {
  animation: fromFog 0.3s ease-in-out 0s;
  animation-fill-mode: backwards;
}

.header-photo-desktop,
.header-photo-mobile {
  animation: fromFog 0.3s ease-in-out 0.3s;
  animation-fill-mode: backwards;
}

#et-main-area {
  animation: fromFog 0.3s ease-in-out 0.6s;
  animation-fill-mode: backwards;
}

footer {
  animation: fromFog 0.3s ease-in-out 0.9s;
  animation-fill-mode: backwards;
}

.et_pb_scroll_top.et-pb-icon {
  -webkit-border-top-left-radius: 0;
  -webkit-border-bottom-left-radius: 0;
  -moz-border-radius-topleft: 0;
  -moz-border-radius-bottomleft: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.et_pb_title_container h1,
h1 {
  font-size: 2.8rem;
}

@media (max-width: 980px) {

  .et_pb_title_container h1,
  h1 {
    font-size: 1.8rem;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 120%;
  font-weight: 400;
}

a,
img,
input {
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

a:link,
a:visited {
  border-bottom: 1px solid #fff;
}

a:hover {
  border-bottom: 1px solid #610000;
}

.blekitnakomorka {
  background-color: #a8ccf4 !important;
}


/*** Posts and Categories ***/
.single #najnowsze-wpisy-kolumna .post {
  padding-bottom: 0.3rem;
}

#najnowsze-wpisy-kolumna .et_pb_post {
  margin-bottom: 1rem;
  word-wrap: break-word;
  border-bottom: 1px solid #eee;
}

#najnowsze-wpisy-kolumna h2 {
  padding-bottom: 0;
}

.et_pb_blog_grid .et_pb_post {
  border: 0;
  padding: 0;
}

.et_pb_blog_grid .et_pb_post .et_pb_image_container {
  margin: 0;
}

.wp-pagenavi {
  clear: both;
  margin: 1rem 0 0 0;
}

.wp-pagenavi span.pages {
  border: 0;
  padding: 12px 12px 12px 0;
}

.wp-pagenavi span.current {
  border: 0;
  padding: 12px 12px;
  background-color: #eee;
  color: #000;
}

.wp-pagenavi a {
  border: 0;
  padding: 12px 12px;
  margin: 2px;
  background-color: #c61b1b;
  color: #fff;
}

.wp-pagenavi a:hover {
  background-color: #9e0000;
  color: #fff;
}

.inw-szary-rzad .et_pb_text {
  background-color: #f4f4f4;
}

/*** END Posts and Categories ***/

/*** Header ***/

.et-db #et-boc .et-l #header-top-menu a.nowa-inw {
  background-color: #c61b1b;
  color: #fff;
  padding: 3px 12px;
  margin: 0 32px 0 0;
  border: 0;
}

.et-db #et-boc .et-l #header-top-menu a.nowa-inw:hover {
  background-color: #9e0000;
  color: #fff;
  border: 0;
}

.bsm-tytul p {
  font-size: 1.2rem;
}

p.zeno_font_resizer>span {
  display: flex;
}

.et-db #et-boc .et-l .zeno_font_resizer_container a,
.zeno_font_resizer_container a {
  margin: 0 2px;
  background: #eee;
  color: #000;
}

.zeno_font_resizer_container a.zeno_font_resizer_minus {
  padding: 0 10px;
}

.zeno_font_resizer_container a.zeno_font_resizer_reset {
  padding: 0 9px;
}

.zeno_font_resizer_container a.zeno_font_resizer_add {
  padding: 0 8px;
}

header .et_pb_menu__logo img {
  max-width: 120px;
  position: absolute;
  top: -5.4rem;
  left: 1.5rem;
}

header nav ul.et-menu {
  font-weight: 500;
}

header nav ul.et-menu a:hover {
  color: #610000;
  opacity: 1;
}

.et-db #et-boc .et-l .et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a,
.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a {
  padding: 9px 0;
}

.et-db #et-boc .et-l .et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li.menu-item-has-children>a:first-child,
.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li.menu-item-has-children>a:first-child {
  padding-right: 20px;
}

@media (min-width: 981px) {
  .home header .et_pb_menu .et_pb_menu__logo-wrap {
    display: none;
  }
}

.home.et-db #et-boc .et-l .et_pb_menu ul#menu-glowne-menu {
  margin-left: -11px;
}

.et-db #et-boc .et-l .et_pb_menu ul#menu-glowne-menu {
  margin-left: 123px;
}

.et-db #et-boc .et-l .et_pb_menu .et-menu-nav>ul ul,
.nav li ul {
  width: 280px;
  border-top: 1px solid #000000;
}

.et-db #et-boc .et-l .nav li li,
.nav li li {
  padding: 0;
}

.et-db #et-boc .et-l .et-menu li li a,
.et-menu li li a {
  padding: 6px 20px;
  width: 280px;
  border-bottom: 0;
}

.et-menu li li a:hover {
  border-bottom: 0;
}

#header-top-menu .et_pb_code_inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.et-db #et-boc .et-l .et_pb_menu .et_pb_menu__menu>nav>ul>li.mobile-menu-item,
header .et_pb_menu__menu>nav>ul>li.mobile-menu-item {
  display: none;
}

@media (max-width: 980px) {
  #header-top-menu {
    display: none;
  }

  .et-db #et-boc .et-l .et_pb_menu .et_pb_menu__menu>nav>ul>li.mobile-menu-item,
  header .et_pb_menu__menu>nav>ul>li.mobile-menu-item {
    display: flex;
  }
}

.et-db #et-boc .et-l a.top-menu-item,
a.top-menu-item,
span.top-menu-item {
  color: #000;
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 0 2rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #fff;
}

.et-db #et-boc .et-l a.top-menu-item:hover,
a.top-menu-item:hover,
span.top-menu-item:hover {
  color: #610000;
  border-bottom: 1px solid #610000;
}

a.top-menu-item img,
span.top-menu-item img {
  height: 1.5rem;
  width: auto;
  margin: 0 0.6rem 0 0;
}

.header-photo-desktop {
  display: flex;
}

.header-photo-mobile {
  display: none;
}

@media (max-width: 980px) {
  header .et_pb_row .et_pb_menu .et_pb_menu_inner_container {
    flex-direction: column;
  }

  .et_pb_menu--style-left_aligned .et_pb_menu__logo {
    margin-right: 0;
  }

  .mobile_menu_bar:before {
    font-size: 44px;
  }

  .et_pb_menu .et_mobile_menu {
    border-top: 1px solid #e7e7e7;
  }

  header .et_pb_menu .et_mobile_nav_menu {
    margin: 1rem 0 0.5rem 0 !important;
  }

  header .et_pb_menu_0_tb_header .mobile_nav .mobile_menu_bar {
    background: #eee;
  }

  header .et_pb_menu_0_tb_header .mobile_nav .mobile_menu_bar:before {
    color: #013f8f;
  }

  header .et_pb_menu__logo img {
    max-width: 120px;
    position: relative;
    top: 0;
    left: 0;
    margin: 0 auto;
  }

  .header-photo-mobile {
    display: block;
    height: 200px;
    width: 100%;
    background-size: cover;
  }

  .header-photo-desktop {
    display: none;
  }
}

/*** END Header ***/

/*** Footer ***/
footer .logo-stopka {
  display: flex;
  align-items: center;
  line-height: 170%;
  flex-direction: row;
}

footer .logo-stopka img {
  max-width: 120px;
  height: auto;
  margin: 0 1.5rem 0 0;
}

@media (max-width: 980px) {
  footer .logo-stopka {
    flex-direction: column;
    margin-bottom: 2.5rem;
  }

  footer .logo-stopka img {
    margin-bottom: 1rem;
  }
}

footer li span {
  color: #fff;
}

.et-db #et-boc footer.et-l a,
footer .menu-stopka ul li a {
  color: #fff;
  border-bottom: 1px solid #013f8f;
}

.et-db #et-boc footer.et-l a:hover,
footer .menu-stopka ul li a:hover {
  color: #98c3ff;
  border-bottom: 1px solid #98c3ff;
}

footer .menu-stopka ul li::before {
  content: '› ';
}

.footer-copyright a {
  border-bottom: 0;
}

/*** END Footer ***/

/*** Input, Textarea, Select ***/
input[type='submit'],
input[type='button'] {
  color: #fff;
  background-color: #c61b1b;
  border-radius: 0px;
  font-size: 1.1rem;
  font-weight: 400;
  border: 0;
  padding: 8px 18px;
  cursor: pointer;
}

input[type='button'].wpv-reset-trigger {
  color: #000;
  background-color: #ddd;
  margin-right: 10px;
}

input[type='submit']:hover,
input[type='button']:hover {
  color: #fff;
  background-color: #9e0000;
}

input:focus,
select:focus,
textarea:focus,
input.text:focus,
input.title:focus,
input[type='email']:focus,
input[type='password']:focus,
input[type='tel']:focus,
input[type='text']:focus {
  box-shadow: 0 0 21px #a7000043;
}

input,
input.text,
input.title,
input[type='email'],
input[type='password'],
input[type='tel'],
input[type='text'],
select,
textarea {
  background-color: #fff;
  border: 1px solid #bbb;
  padding: 5px;
  color: #000;
  font-size: 1rem;
}

/*** END Input, Textarea, Select ***/

/*** Pośrednictwo nieruchomości ***/

@media (min-width: 981px) {
  #wpv-view-layout-7392 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  #wpv-view-layout-7392>div {
    width: 49%;
  }

  #wpv-view-layout-7392 a.tb-button__link {
    width: 100%;
    margin-bottom: 2px;
  }

  #wpv-view-layout-7392 .is-layout-flex {
    gap: 0.3em;
  }
}

@media only screen and (min-width: 1800px) {
  .nieruchomosc-template-default.single.et_pb_pagebuilder_layout.et_full_width_page .et_post_meta_wrapper {
    padding-top: 0;
  }
}

.posrednictwo-kontakt {
  background-color: #c4deff;
  text-align: center;
  padding: 1rem 0;
  margin: 3rem 0;
}

h3.posrednictwo-tyt {
  margin-top: 1.5rem;
}

.nieruchomosc-template-default.single a.tb-button__link {
  align-content: center;
  align-items: center;
  display: inline-flex;
}

.nieruchomosc-template-default.single a.tb-button__link {
  margin: 2rem 0 1.5rem 0;
}

.nieruchomosc-template-default.single a.tb-button__link .et-pb-icon {
  font-size: 1.5rem;
  margin-right: 10px;
}

.post-type-archive-nieruchomosc #main-content .filtr-ogl {
  background-color: #f1f1f1;
  padding: 1rem;
  margin: 1rem 0 3rem;
  display: flex;
  justify-content: space-between;
}

.post-type-archive-nieruchomosc #main-content .filtr-ogl-l {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-type-archive-nieruchomosc #main-content .filtr-ogl-ods {
  margin-right: 2rem;
}

.post-type-archive-nieruchomosc #main-content .filtr-ogl-p {
  display: flex;
  justify-content: flex-end;
  flex-direction: row;
  flex: 1;
}

@media (max-width: 980px) {
  .post-type-archive-nieruchomosc #main-content .filtr-ogl {
    flex-direction: column;
    flex: 1;
  }

  .post-type-archive-nieruchomosc #main-content .filtr-ogl-l {
    flex-direction: column;
    flex: 1;
    margin-bottom: 1rem;
  }

  .post-type-archive-nieruchomosc #main-content .filtr-ogl-ods {
    margin-right: 0;
  }

  .post-type-archive-nieruchomosc #main-content .filtr-ogl-p {
    justify-content: center;
  }

  .post-type-archive-nieruchomosc #main-content :where(.wp-block-columns.is-layout-flex) {
    gap: 1.2rem;
  }
}

.post-type-archive-nieruchomosc #main-content .wp-pagenavi {
  margin: 1rem 0 3rem;
}

.filtr-ogl-l input {
  margin: 0 8px;
}

.nieruchomosc-template-default.single #main-content .container,
.post-type-archive-nieruchomosc #main-content .container {
  width: 90%;
}

.post-type-archive-nieruchomosc #main-content .container:before {
  background: none;
}

.nieruchomosc-template-default.single .et_post_meta_wrapper .post-meta {
  display: none;
}

.post-type-archive-nieruchomosc #sidebar {
  display: none;
}

.post-type-archive-nieruchomosc #left-area {
  width: 100%;
  padding: 23px 0px 0px !important;
  float: none !important;
}

a.tb-button__link {
  color: #fff;
  background-color: #c61b1b;
  border-radius: 0px;
  font-size: 1.1rem;
  font-weight: 400;
  border: 0;
  padding: 12px 18px;
}

a.tb-button__link:hover {
  color: #fff;
  background-color: #9e0000;
}

#left-area .tb-fields-and-text ul.category-table {
  list-style-type: none;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 0;
}

.tb-fields-and-text ul li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
}

.tb-fields-and-text ul li:nth-child(odd) {
  background-color: #eee;
}

.tb-fields-and-text ul li:nth-child(even) {
  background-color: #fff;
}

.tb-fields-and-text ul li span {
  text-align: left;
  width: 50%;
  padding: 0 0 0 5px;
}

.tb-fields-and-text ul.et_post_gallery li.et_gallery_item {
  margin: 0 5.5% 0.5% 0;
}

.tb-fields-and-text ul.et_post_gallery li.et_gallery_item:nth-child(4n) {
  margin-right: 0;
}

.tb-fields-and-text ul.et_post_gallery li {
  background-color: #fff;
}

.tb-fields-and-text ul.et_post_gallery li span {
  width: 100%;
}

.tb-fields-and-text ul.et_post_gallery li a {
  border-bottom: 0;
}

.tb-fields-and-text ul.et_post_gallery li a .et_overlay:before {
  color: #013f8f;
}

.tb-fields-and-text ul.et_post_gallery li a .et_overlay {
  background: hsla(0, 0%, 100%, 0.5);
}

.tb-fields-and-text ul li span.to-right {
  text-align: right;
  width: 50%;
  padding: 0 8px 0 0;
  font-style: italic;
}

/*** END Pośrednictwo nieruchomości ***/

/*** Search Modal ***/
@keyframes animatetop {
  0% {
    top: -300px;
    opacity: 0;
  }

  100% {
    top: 0;
    opacity: 1;
  }
}

#searchmodalcolumn .et_pb_code_inner {
  display: flex;
  flex-direction: column;
}

#searchmodalcolumn {
  display: flex;
  flex-direction: column;
}

#searchmodalcolumn .close {
  align-self: flex-end;
  margin: 0 0 2rem 0;
}

#searchmodalcolumn .left {
  align-self: flex-start;
}

.et-db #et-boc .et-l #searchmodal.et_pb_section,
#searchmodal.et_pb_section {
  display: none;
  /* Hidden by default */
  z-index: 9999999;
  /* Sit on top */
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: #002a5daa;
  /* Black w/ opacity */
}

.searchmodalcontent {
  animation: animatetop 0.5s;
  color: #000000;
}

.searchmodalcontent a {
  color: #000000;
}

#searchmodaltrigger {
  cursor: pointer;
}

.et-db #et-boc .et-l #searchmodaltrigger.et-pb-icon,
#searchmodaltrigger.et-pb-icon {
  font-size: 1.3rem;
  margin: 0 0 0 20px;
}

.searchmodalcontent .left {
  float: left;
  font-size: 1.3rem;
  margin: 0 0 1rem 0;
}

.searchmodalcontent .close {
  color: #000000;
  font-size: 28px;
}

.searchmodalcontent .close:hover,
.searchmodalcontent .close:focus {
  color: #a70000;
  text-decoration: none;
  cursor: pointer;
}

.et_pb_search input.et_pb_s,
.et_pb_search input.et_pb_searchsubmit {
  font-size: 1rem;
  color: #000;
}

.searchmodalcontent .et_pb_search input.et_pb_s {
  background: #000000;
}

#searchmodal input[type='text'] {
  background-color: #eee;
}

.et_pb_search {
  border: 0;
  border-radius: 0;
}

#searchmodalcolumn .et_pb_search_0_tb_header input.et_pb_s,
#searchmodalcolumn .el_ajax_search .el_ajax_search_field {
  padding: 0.8rem !important;
}

#searchmodalcolumn form#searchform {
  display: flex;
}

#searchmodalcolumn #s {
  font-size: 1.1rem;
  padding: 0.5rem;
  margin: 0;
  border: 0;
}

#searchmodalcolumn #searchsubmit {
  color: #fff;
  background-color: #a70000;
  font-size: 1.1rem;
  padding: 0.5rem;
  margin: 0;
  border: 0;
}

#searchmodalcolumn #searchsubmit:hover {
  color: #fff;
  background-color: #770000;
  cursor: pointer;
}

/*** END Search Modal ***/

/*** Home Page ***/
.et_pb_blurb_position_left .et_pb_blurb_container {
  padding-left: 25px;
}

h2.akt-glowna {
  font-size: 2.8rem;
  text-align: center;
  padding-bottom: 2rem;
}

.aktualnosci-glowna {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.aktualnosci-glowna-lewo {
  width: 50%;
}

.aktualnosci-glowna-prawo {
  width: 50%;
}

.wrapper1 {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 100%;
  min-height: 500px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
}

.wrapper1-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wrapper1 a {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  font-size: 1.5rem;
  color: white;
  border-bottom: 0;
  padding: 2rem 1rem 1rem;
  background-color: rgba(255, 255, 255, 0);
  background-image: linear-gradient(180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(0, 0, 0, 1) 100%);
}

.wrapper1 a span {
  font-size: 0.9rem;
  font-style: italic;
  display: block;
}

.wrapper2 {
  position: relative;
  width: 100%;
  max-width: 800px;
  min-height: 250px;
  border-bottom: 3px solid #fff;
}

.wrapper2-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wrapper2 a {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  font-size: 1.3rem;
  color: white;
  border-bottom: 0;
  padding: 2rem 1rem 1rem;
  background-color: rgba(255, 255, 255, 0);
  background-image: linear-gradient(180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(0, 0, 0, 1) 100%);
}

.wrapper2 a span {
  font-size: 0.9rem;
  font-style: italic;
  display: block;
}

.aktualnosci-glowna-8 {
  display: flex;
  flex-wrap: wrap;
}

.wrapper3 {
  position: relative;
  flex: 50%;
  min-height: 250px;
  border-bottom: 2px solid #fff;
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
  max-width: 50%;
}

.wrapper3-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wrapper3 a {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  font-size: 1.3rem;
  color: white;
  border-bottom: 0;
  padding: 2rem 1rem 1rem;
  background-color: rgba(255, 255, 255, 0);
  background-image: linear-gradient(180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(0, 0, 0, 1) 100%);
}

.wrapper3 a span {
  font-size: 0.9rem;
  font-style: italic;
  display: block;
}

.banery-glowna {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.banery-glowna a.odstep {
  margin: 0 3px 0 0;
}

@media (max-width: 980px) {
  .aktualnosci-glowna {
    flex-direction: column;
  }

  .aktualnosci-glowna-lewo {
    width: 100%;
  }

  .aktualnosci-glowna-prawo {
    width: 100%;
  }

  .wrapper3 {
    flex: 100%;
    border-bottom: 2px solid #fff;
    border-left: 0;
    border-right: 0;
  }

  .wrapper1,
  .wrapper2,
  .wrapper3 {
    min-height: 50vh;
    border-right: 0;
    max-width: 100%;
  }

  .banery-glowna {
    flex-direction: column;
  }

  .banery-glowna a.odstep {
    margin: 0 0 5px 0;
  }
}

.banery-glowna a {
  border-bottom: 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banery-glowna a img {
  z-index: 2;
  display: block;
  -webkit-filter: brightness(100%);
  -moz-filter: brightness(100%);
  -o-filter: brightness(100%);
  -ms-filter: brightness(100%);
  filter: brightness(100%);
}

.banery-glowna a img:hover {
  transform: scale(1.02);
  -webkit-filter: brightness(80%);
  -moz-filter: brightness(80%);
  -o-filter: brightness(80%);
  -ms-filter: brightness(80%);
  filter: brightness(80%);
}

.banery-glowna a span {
  position: absolute;
  display: block;
  bottom: 1rem;
  color: #fff;
  font-size: 1.8rem;
  z-index: 5;
}

/*** END Main Page ***/

/*** Formularz ***/
#formularz-awarii input.text,
#formularz-awarii input.title,
#formularz-awarii input[type='email'],
#formularz-awarii input[type='password'],
#formularz-awarii input[type='tel'],
#formularz-awarii input[type='text'],
#formularz-awarii select,
#formularz-awarii textarea {
  width: 100%;
}

#formularz-awarii .col50 {
  width: 50%;
  float: left;
}

#formularz-awarii p {
  padding-bottom: 10px;
}

/*** END formularz ***/