/*
Theme Name: RealHomes Child Theme
Theme URI: http://themeforest.net/item/real-homes-wordpress-real-estate-theme/5373914
Description: Child theme for Real Homes.
Author: Inspiry Themes
Author URI: https://www.inspirythemes.com/
Template: realhomes
Version: 1.4.2
*/
html { scroll-behavior: smooth; }
div.rh_var2_logo img, div.rh_logo img {width:250px;}
@media (max-width: 767px) {
	.rh_header .rh_header__wrap .rh_logo .rh_logo_inner {text-align: unset!important;}
	section.dynamic-content div.dynamicLeftsidebar, section.dynamic-content div.container {width:100%;}
	section.dynamic-content {flex-direction:column-reverse;}
	section.dynamic-content h2.wp-block-heading {font-size:2.8rem;}
	section.dynamic-content h3.wp-block-heading {font-size:2.2rem;}
	section.dynamic-content .wp-block-image {margin:3rem 0;}
	.mobile-toc {
		display:none;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		background: #068b85;
		color: #fff;
		text-align: center;
		padding: 12px;
		cursor: pointer;
		z-index: 9999;
		width: 93%;
		margin: 0 auto;
   }
	.kw-toc {
		display: none;
		position: fixed;
		left: 0;
		right: 0;
		background: #fff;
		max-height: 60vh;
		overflow-y: auto;
		z-index: 9998;
		width: 93%;
		margin: 0 auto;
		padding: 5rem;
		border-top: 6px solid #068b85;
	}
	.dynamicLeftsidebar.show-mobile-toc .mobile-toc {
    display: block;
  }
	.dynamicLeftsidebar.open .kw-toc {
    display: block;
  }
	#scroll-top.show {bottom:45px!important;}
	
}

.rhea_latest_properties_2 .rhea_permalink, div#similar-properties .rh_figure_property_one a {aspect-ratio: 3 / 2;}
div.rhea_thumbnail_wrapper a.rhea_permalink img {height:100%; object-fit:cover;}

.rh_footer__logo img {
	filter: contrast(0.01);
    -webkit-filter: contrast(0.01); /* Safari */
    -moz-filter: contrast(0.01); /* Mozilla */
    -o-filter: contrast(0.01); /* Opera */
    -ms-filter: "contrast(0.01)";
}

@media (min-width: 480px) {
    .rh_widgets .widget_nav_menu .menu-item {width: 100%;}
}
.property-detail-davein-slider-wrapper {
	max-width: 1200px;
    margin: 0 auto;
    height: 530px !important;
	position:relative;
}
@media (min-width:1140px) {
		.odciecie {display:none;}
	.property-detail-davein-slider-wrapper {max-width:1440px;padding-left:10rem;padding-right:10rem;}
	.ikonkagalerii {margin-right:10rem;}
	}
	
div.ikonkagalerii {
    width: 320px;
    height: 105px;
    background: #068b85;
	color:#fff;
    position: absolute;
    bottom: 0;
    right: 0;
    pointer-events: none;
    display: flex;
    flex-direction: row;
    align-items: center;
}
@media print {
    .property-detail-davein-slider-wrapper,
    .ikonkagalerii {
        display: none !important;
    }
}

.inspiry_property_davein_style {height:100%;}
section.dynamic-content div.dynamicLeftsidebar {padding:2em;}
section.dynamic-content .container {margin: 0 auto;}
section.dynamic-content .container ul.wp-block-list {margin-left: 3rem;margin-bottom: 2rem;}

section.dynamic-content h2.wp-block-heading, section.dynamic-content h3.wp-block-heading {padding-top:3rem; padding-bottom:2rem;}

section.dynamic-content p {padding-bottom:1rem;line-height: 1.6em;}
div.rh_property_agent__title {padding:2rem 1rem 0!important;}
p.stanowisko {font-size: 0.8em;
    color: var(--rh-global-color-primary);}

div#property-content-section-features {display:none;}
.rh-compare-properties-head .compare-share-buttons .share-header {font-size:0.9em!important;padding: 16px 10px!important;}
h2 small {display:block!important;}
div.tytul-formularza {padding:15px;}
div.dropdown-menu div.bs-searchbox, div.dropdown-menu div.bs-actionsbox {display:none;}
.rh-st69 {fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-miterlimit: 10;}

.kw-toc li {margin: 10px 0;font-size: 0.9em;}
.kw-toc ul {margin-left:2rem;}

@media (min-width: 768px) {
	section.dynamic-content div.dynamicLeftsidebar {width:30%;}
	section.dynamic-content .container {width:70%;max-width:750px;}
	section.dynamic-content h2.wp-block-heading {font-size:3rem;}
	section.dynamic-content h3.wp-block-heading {font-size:2.5rem;}
	div.dynamicLeftsidebar ul.kw-toc {position:sticky;top:60px;}
	div.mobile-toc {display:none;}
	section.dynamic-content .wp-block-image {margin:4rem 0;}
}
.lightweight-accordion {margin-bottom:5px;}
.lightweight-accordion h3 {margin:0;color:#fff;}
.lightweight-accordion-body {padding: 2rem 2rem 3rem 2rem;}
.lightweight-accordion summary::-webkit-details-marker {
    display: none;
  }
  .lightweight-accordion summary::marker {
    font-size: 0;
  }

  .lightweight-accordion summary.lightweight-accordion-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer; 
    color: #ffffff;
    background: #0eaaa6;
    padding: 20px;
  }

  .lightweight-accordion summary.lightweight-accordion-title::after {
    content: '▼'; 
    font-size: 1em;
    transition: transform 0.2s ease;
  }

  .lightweight-accordion details[open] > .lightweight-accordion summary.lightweight-accordion-title::after {
    content: '▲'; 
  }