/*
Theme Name:Child Theme for Divi
Theme URI: http://wordpress-style.net
Description: Child Theme For Divi
Author: Eduard Ungureanu
Author URI: http://wordpress-style.net
Template: Divi
Version: 1.0
*/

/* Start your custom CSS bellow this comment
============================================ */
#mobile_menu .menu-item-type-custom, #mobile_menu .menu_cta {
display:none !important;
}
#left-area ul {
	padding-left:0 !important;
}
ul[value="Sprzedane"] .karta_lokalu span a, ul[value="Rezerwacja"] .karta_lokalu span a {color:#fff;}
ul[value="Dostępne"] .karta_lokalu span a {color:#000;}
ul[value="Sprzedane"] li, ul[value="Sprzedane"], .sprzedane { background: #00728d !important; color:#fff; }
ul[value="Rezerwacja"] li, ul[value="Rezerwacja"], .rezerwacja { background: #b8ca46 !important; color:#fff;}
ul[value="Sprzedany"] li:last-child, ul[value="Dostępne"] li:last-child, ul[value="Rezerwacja"] li:last-child {float:left;}
.mieszkania li {
	flex: 1;
	min-width: 0;
	list-style: none;
	padding: 5px 5px;
	text-align: center;
	line-height: 1.2em !important;
}
.mieszkania li span {
    font-size: 14px;
}

.mieszkania ul {
	border: 1px solid #fff;
	margin: 0;
	padding: 10px 0 !important;
	width: 100%;
	display: flex;
	align-items: center;
}

.mieszkania-header ul:first-child {
	background:rgba(0,0,0,0.4);
  color:#fff;
}
.mieszkania-header ul {
	background:#efefef;
	color:#000;
}


.mieszkania a:nth-child(even) ul {background: #eee;}
.mieszkania a:nth-child(even) ul:hover {background: #e1e1e1;}
.mieszkania a:nth-child(odd) ul {background: #F8F8F8;}
.mieszkania a:nth-child(odd) ul:hover {background: #e1e1e1;}

.button-pdf a {
    background:#8b4823;
    padding: 10px 20px;
	color:#fff;
}

#search_filter_register_widget-3 {
    width: 100%;
}


.search-filter-results h2 {
	padding-bottom:0;
}
.search-filter-results p {
	padding-bottom:0px !important;
}
.searchandfilter .noUi-connect {
background-color:rgba(0,0,0,0.4);
}

sup {
    bottom: 0.4em;
    font-size: 0.8em;
}    
.entry-content .et_pb_row.top-mieszkanie {
padding:0;
}
.et_pb_row.top-mieszkanie > h3 {
    font-size: 24px;
    font-weight: 700;
}
.et_pb_row.top-mieszkanie > h3 span {
    font-size: 24px;
    font-weight: 400;
}
.et_pb_row.top-mieszkanie > h3, .et_pb_row.top-mieszkanie > p {
    display: block;
    float: left;
    text-align: left;
    width: 100%;
	padding:0;
}
.et_pb_row.top-mieszkanie p span {
	padding:0;
	font-size: 18px;
    font-weight: 700;
}
.oferta-mieszkanie {
	padding:0 !important;
}
.oferta-mieszkanie h2 {
	font-weight:600;
}
.oferta-mieszkanie .et_pb_column_1 h3 {
    display: block;
	margin:10px 0 0;
	padding:0;
	font-weight:600;
}
.oferta-mieszkanie .et_pb_column_1 div div:first-child h3 {
    margin: 0;
}
.oferta-mieszkanie .et_pb_column_0 .et_pb_text.et_pb_module.et_pb_bg_layout_light.et_pb_text_align_left.et_pb_text_0 > div {
    display: table-row;
}

.oferta-mieszkanie .et_pb_column_0 h3, .oferta-mieszkanie .et_pb_column_0 p, .oferta-mieszkanie .et_pb_column_0 h3, .oferta-mieszkanie .et_pb_column_0 p {
    display: table-cell;
}
.oferta-mieszkanie .et_pb_column_0 h3 {
	width:39%;
	font-size: 1.2em;
	padding-right:2%;
	min-width: 200px;
}
.oferta-mieszkanie .et_pb_column_0 p  {
	width:59%;
}
.oferta-mieszkanie div {
	text-align:justify;
}
.oferta-mieszkanie h4 {
    margin:10px 0 0;
    padding: 0;
	font-weight:600;
}

.searchandfilter select, .sf-input-select {
  min-width:90px;
  max-width:125px;
}
.searchandfilter ul {
	margin:0;
	padding:0;
}
.searchandfilter ul li:nth-child(1), .searchandfilter ul li:nth-child(2), .searchandfilter ul li:nth-child(3) {
	margin:0 10px 0 0 !important;
	width:20%;
}
.searchandfilter ul li {
    display: inline-table;
   	margin: 0 0 !important;
	width:18%;
}

.sf-field-post-meta-powierzchnia, .sf-field-post-meta-powierzchnia_lokal {
	/*width:18% !important;*/
}

.searchandfilter select.sf-input-select {
	min-width:150px !important;
}
/*
.sf-field-post-meta-powierzchnia .sf-range-max, .sf-field-post-meta-powierzchnia .sf-range-min, 
.sf-field-post-meta-powierzchnia_lokal .sf-range-max, .sf-field-post-meta-powierzchnia_lokal .sf-range-min {
	max-width:50px !important;
}
*/
.searchandfilter .meta-slider {
	margin: 10px 0;
    max-width: 280px;
	width:88%;
    text-align: center;
}
.searchandfilter .sf-range-max, .searchandfilter .sf-range-min {
	border:none;
}
.sf-input-multiselect {
    height: auto !important;
}

/*
#top-header {
	width:80% !important;
    left: 0 !important;
    z-index: 999999999999999999999999999999999999999 !important;
}
*/
@media (max-width: 960px) {
.searchandfilter .meta-slider {
	margin: 10px auto;
	width:80%;
}
}
@media (max-width: 980px) {
.et_header_style_centered #main-header {
    padding: 10px 0 !important;
}
.et_header_style_centered #logo {
    max-height: 115px !important;
}
}
@media only screen and (min-width: 981px) {
.et-fixed-header #top-menu a {
    color: rgba(255,255,255,1)!important;
}
.et-fixed-header #top-menu li.menu_cta a {
	color:rgba(255,255,255,1) !important;
}
}
@media only screen and (max-width:959px) {
.mieszkania ul {
	flex-wrap: wrap;
}
.mieszkania li {
	flex: 0 0 100%;
}


.searchandfilter ul li.sf-field-post-meta-etap, .searchandfilter ul li.sf-field-post-meta-pitro, .searchandfilter ul li.sf-field-post-meta-ilo_pokoi {
	width:30% !important;
}
.searchandfilter ul li {
	width:30% !important;
}
.mieszkania-header ul {
	margin:10px 0;
}
.mieszkania-header ul:first-child {
	display:none;
}
.mieszkania-header li:before {
	background:rgba(0,0,0,0.4);
	color:#fff;
	padding:3px 2vw;
	width:40%;
}
.mieszkania-header li:nth-of-type(11):before {
	background:rgba(0,0,0,0.4);
	color:#fff;
	padding:3px 2vw;
	width:40%;
}
.mieszkania-header li {
	text-align:right;
}

.mieszkania-header li:nth-of-type(1):before {
	content:"Etap:";
	left: 10px;
    position: absolute;
}
.mieszkania-header li:nth-of-type(2):before {
	content:"Termin:";
	left: 10px;
    position: absolute;
}
.mieszkania-header li:nth-of-type(3):before {
	content:"Mieszkanie:";
	left: 10px;
    position: absolute;
}
.mieszkania-header li:nth-of-type(4):before {
	content:"Powierzchnia:";
	left: 10px;
    position: absolute;
}
.mieszkania-header li:nth-of-type(5):before {
	content:"Kondygnacja:";
	left: 10px;
    position: absolute;
}
.mieszkania-header li:nth-of-type(6):before {
	content:"Cena brutto m2:";
	left: 10px;
    position: absolute;
}
.mieszkania-header li:nth-of-type(7):before {
	content:"Cena mieszkania:";
	left: 10px;
    position: absolute;
}
.mieszkania-header li:nth-of-type(8):before {
	content:"Karta:";
	left: 10px;
    position: absolute;
}
.mieszkania-header li:nth-of-type(9):before {
	content:"Status:";
	left: 10px;
    position: absolute;
}
.mieszkania-header li:nth-of-type(10):before {
	content:"Historia ceny:";
	left: 10px;
    position: absolute;
}

}

@media (max-width:767px) {
	
.searchandfilter ul li.sf-field-post-meta-etap, .searchandfilter ul li.sf-field-post-meta-pitro, .searchandfilter ul li.sf-field-post-meta-ilo_pokoi {
	width:100% !important;
}
.searchandfilter ul li {
	width:100% !important;
}
.sf-range-max, .sf-range-min {
	max-width:100% !important;
}
.sf-field-post-meta-powierzchnia .sf-range-max, .sf-field-post-meta-powierzchnia .sf-range-min, 
.sf-field-post-meta-powierzchnia_lokal .sf-range-max, .sf-field-post-meta-powierzchnia_lokal .sf-range-min {
	max-width:100% !important;
}

.meta-slider {
	max-width:100% !important;
}
.searchandfilter label, .searchandfilter select.sf-input-select {
	width:100% !important;
	max-width:100% !important;
}
.sf-meta-range-slider label {
	width:45% !important;
}
option, .sf-input-range-number {
	padding:10px;
}
}
@media (max-width:480px) {
.mieszkania-header li:before {
	font-size:3vw;
}
.mieszkania li span, .mieszkania li {
    font-size: 3vw;
}
}