/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

body {
    font-family: 'Lato', sans-serif;
}

.hidden {
    display: none !important;
}

.m30 {margin-top:30px; margin-bottom:30px;}
.m30b {margin-bottom:30px;}

.contain {position:relative;}

/* Layout styles */
.site-content.archive {
    width: 100%;
    float: none;
}

.huize-images-side-gutter .col {
    padding-left: 15px
}

.huize-images-side-gutter:first-child .col {
    padding-bottom: 13px
}

.huize-container .lightbox_wrapper .col-12 .row img {
    height: 187px !important;
}

.huize-container .lightbox_wrapper .col-12 img, .huize-container .lightbox_wrapper .col-12 .row .only img {
    height: 387px;
}
.huize-container .lightbox_wrapper img {
    object-fit: cover;
}

.huize-images-side-gutter .col-lg-6 {
    padding: 0;
}






.search-sidebar {
}

.search-content {
    padding-bottom: 2em;
    position: relative;
}

.lightbox_wrapper a {
    display: flex;
    height: 100%;
}

.col-lg-9.pos-top header h1 {
    margin: 0;
    color: #455560;
}

.col-lg-9.pos-top header span {
    font-size:20px;
}

.woning-price{
    font-size: 25px;
    margin: 20px 0;
    display: block;
    color: #f08f33;
    font-weight: bold;
    padding-left: 20px;
}

.woning-uitgelicht{
	display:grid; 
	grid-template-columns: repeat(4, 1fr);
	background: #f48f2c14;
	padding: 30px;
}
.overlay-lightbox{
    top:10px;
    left: 10px;
    background-color:rgba(0,0,0,.6);
    font-size:2rem;
    -webkit-transition:all .5s ease;
    -moz-transition:all .5s ease;
    -ms-transition:all .5s ease;
    -o-transition:all .5s ease;
    transition:all .5s ease;
    text-align:center;
    position:absolute;
    display:flex;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    color:#fff;
    align-items:center;
    cursor:pointer
}

.overlay-lightbox .count{
    margin: 0 auto;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.col-lg-6.col-12.col-lg-6.pos-top.huize-images-left {
    padding: 10px;
}

.col-lg-6.col-12.col-lg-6.pos-top.huize-images-right {
    padding: 0px;
}

.col-lg-6.col-12.col-lg-6.pos-top.huize-images-right a {
    padding: 10px;
    justify-content: center;
}

	.huize-read-more{
		display:flex !important;
		flex-direction: row;
		align-items: center;
		margin-top:10px;
		color: black;
	}
	
	.huize-read-more svg{
		margin-right:10px;
	}
	#huize_description_read_more_tekst, #huize_description_read_less_tekst,
	#huize_specifications_read_more_tekst, #huize_specifications_read_less_tekst{
		display:none;
	}
	.huize-read-more .show {
		display:block !important;
	}
	
	.huize-read-more.show svg{
		transform: rotate(180deg);
	}
	
	
	.huize-specifications {
		height: 243px;
		overflow: hidden;
		position: relative;
	}
	
	.huize-specifications.show {
		height: initial;
		overflow: show;
	}
	
	
	.huize-specifications table{
		margin-bottom:0px;
		border:none;
	}
	
	.huize-specifications h4 {
		color: #f08f33;
		font-size: 1.3em;
	}
	#huize_specifications_read_more{
		padding-top:10px;
	}
	.huize-specifications table tr td,
	.huize-specifications table tr th{
		line-height: 32px;
		padding: 3px 0;
		border:none;
		text-align:left;
	}
	
	.huize-specifications table tr th {
		font-weight: 700;
	}
		
	
	.huize-specifications table tr td {
		font-weight: 400;
	}
	
	.huize-specifications table tr td:first-child {
		width:200px;
		font-weight: 700;
	}
	.search-cta-text.search-cta-text-head {
		padding: 20px;
	}
	
	.search-cta-button:hover {
		background: #465560;
	}
	
	.search-cta-button {
		background: #f48f2c;
		color: #fff;
		padding: 15px 20px;
		display: block;
		text-align: center;
	}
	
	.search-cta-link {
		font-size: 2em;
		color: #f48f2c;
	}
	.search-cta-text h5 {
		font-size: 1.6em;
	}
	a.search-cta-link-sub {
		color: #fff;
		display: block;
		border-bottom: 1px solid #fff;
		font-size: 1.2em;
		background: #00001c;
		margin: 20px -20px -20px;
		padding: 10px;
	}
	.lightbox_wrapper img {
		object-fit: cover;
	}
.m60 {
    margin-top: 60px;
    margin-bottom: 60px;
}


    .popup {
        padding: 0px;
        background: #ffffff;
        border-radius: 5px;
        transition: all 2s ease-in-out;
        position: absolute;
        height: 80vh;
        max-width: 95vw;
        overflow-y: auto;
    }
    @media screen and (max-width: 576px){
        .popup {
            margin: 0 auto;
            width: 95%;
        }
    }
    .popup .close {
        transition: all 200ms;
        font-size: 30px;
        font-weight: bold;
        text-decoration: none;
        background: #ffffff;
        color: #222222;
        border-radius: 5px;
        z-index: 2;
        line-height: 26px;
        width: 31px;
        height: 31px;
        padding: 0px 7px;
    }
    .popup .content {
        overflow: auto;
        padding: 20px;
    }

    .popup .popup-row{
        display: flex;
        align-items: center;
        flex-direction: row;
    }
    #mobile-filter-popup .popup{
        width: 100%;
    }
    input[type="submit"], input[type="reset"], input[type="button"], button[type="submit"] {
        background: #f48f2c;
        color: #fff;
    }

    input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover, button[type="submit"]:hover {
        background: #333;
        color: #fff;
    }

    #mobile-filter-popup .content {
        padding: 0;
    }


    .popup .header{
        width: 100%;
        padding: 10px 10px 10px 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: row;
        background-color:#f08f33;
        color:#fff;
    }

    .popup .header h5{
        margin:0;
    }

    .btn-form-border-style, input, textarea, select, .seldiv, .select2-choice, .select2-selection--single, input[type="submit"], input[type="reset"], input[type="button"], button[type="submit"], .seldiv:before, .btn, .btn-link, .btn:not(.btn-custom-typo), .btn-link:not(.btn-custom-typo), .panel-title > a > span, .divider .divider-icon, .overlay input, .search_footer {
        border-color: #cecece;
        width: 100%;
    }.popup .popup-row p:not(:first-child) {
        padding-left: 20px;
    }

    .overlay-popup {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.7);
        transition: opacity 500ms;
        visibility: hidden;
        opacity: 0;
        z-index: 3001;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .overlay-popup:target, .overlay-popup.targeted {
        visibility: visible;
        opacity: 1;
    }

	.huize-description p {
		line-height: 26px;
	}
	#mobile-filter-popup-btn, .close{
        cursor:pointer;
    }
	.huize-description {
		max-height: 200px;
		position: relative;
		overflow:hidden;
		transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
	}
	
	.huize-description:not(.show):after {
		background-image: linear-gradient(to bottom, rgba(245, 246, 252, 0), rgb(255 255 255 / 100%)), url(images/background.jpg);
		width: 100%;
		height: 100px;
		background-size: cover;
		color: white;
		padding: 20px;
		content: "";
		display: block;
		bottom: 0;
		position: absolute;
	}
	
	.huize-specifications:not(.show):after {
		background-image: linear-gradient(to bottom, rgba(245, 246, 252, 0), rgb(255 255 255 / 100%)), url(images/background.jpg);
		width: 100%;
		height: 100px;
		background-size: cover;
		color: white;
		padding: 20px;
		content: "";
		display: block;
		bottom: 0;
		position: absolute;
	}
	
	.huize-description.show{
		max-height:initial;
		transition: max-height 1s ease-in-out;
	}

/* Search Form styles */
.search-cta {
    margin: 0 0 2em 0;
    border-radius: 3px;
    background: #efd3b914;
}

.search-cta h4 {
    margin: 0 0 1em 0;
    padding: 10px 20px 10px 65px;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}

.search-cta h4:before {
    content: "";
    width: 54px;
    margin-top: -10px;
    height: 55px;
    margin-left: -66px;
    display: block;
    position: absolute;
    background: url(https://huizehuijgenmakelaars.nl/wp-content/uploads/2023/02/cropped-h-header-e1675857274101.png);
    background-size: cover;
}

.search-cta-text{
	padding: 0 20px 20px;
}

.search-cta-white{
	background:white;
}

.search-cta-white.search-cta h4 {
	background: #f48f2c14;
}

.search-field {
    margin: 0 0 2em 0;
    border-radius: 3px;
	background: #efd3b914
}

.search-field h4 {
    margin: 0 0 1em 0;
    background: #f48f2c14;
    padding: 10px 20px 10px 65px;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}

.search-field h4:before {
    content: "";
    width: 54px;
    margin-top: -10px;
    height: 55px;
    margin-left: -66px;
    display: block;
    position: absolute;
    background: url('https://huizehuijgenmakelaars.nl/wp-content/uploads/2023/02/cropped-h-header-e1675857274101.png');
    background-size: cover;
}

.search-field label {
    display: block;
    cursor: pointer;
}

/* Active search options are displayed slightly bolder */
.search-field label.active {
    font-weight: 600;
}

.search-field label.active.hidden {
    display: block !important;
}

/* Fade results without any results */
.search-field label[data-count="0"]:not(.active) {
    color: #777;
}

.search-field label span {
    color: #999;
    font-size: 90%;
}

.search-field select {
    width: 100%;
}

.search-field input[type=text] {
    width: 90%;
}

.search-field a {
    display: block;
    font-size: 90%;
    text-decoration: none;
}



/* Slider styling */
.search-field.has-slider .search-items {
    display: none;
}

.search-field .slider-values {
    font-size: 85%;
    margin-bottom: 1em;
    overflow: hidden;
}

.search-field .slider-values small {
    font-size: 100%;
    color: #999;
    display: none;
}

.search-field.tracking-min .slider-values .low small,
.search-field.tracking-max .slider-values .high small {
    display: inline;
}

.search-field .slider-values .low {
    float: left;
}

.search-field .slider-values .high {
    float: right;
}



/* Search field hide all non-selected items */
.search-field.hide-non-selected label {
    margin-bottom: 6px;
}

.search-field.hide-non-selected label.active {
    font-weight: normal;
}

.search-field.hide-non-selected input[type=checkbox] {
    display: none;
}

.search-field.hide-non-selected:not([data-selected="1"]) .clear-selected {
    display: none;
}
.huize-images-right img {
    height: 200px;
}
/* When a single item is selected, hide all other options */
.search-field.hide-non-selected[data-selected="1"] label:not(.active),
.search-field.hide-non-selected[data-selected="1"] .show-more-toggle {
    display: none !important;
}
.stylized-auto-width{
	max-width:200px;
    min-width: auto;
	margin:0;
}
.search-settings .display {
    padding: 0 !important;
}
.search-settings .display li {
    list-style: none;
}

.search-settings .display li a{
    padding-left: 10px;
    border: 1px solid #eaeaea;
    padding-right: 10px;
    padding-top: 11px;
    padding-bottom: 11px;
}
.search-settings .display li a i {
    margin-right: 5px !important;
}

.woning-status{
	color:#fff;
	padding:10px;
	background-color:#f48f2c;
	position: absolute;
    top: 10px;
    left: 10px;
}

.woning-status-verkocht{
	background-color: #d54747;
}

.woning-status-onderbod{
	background-color:#666;
}

.slider-container,
.search-items {
    max-height: 200px;
    overflow-y: auto;
    padding: 0px 10px 10px;
}

/* Results Settings styles */
.search-settings {
    padding: 0em 0.5em 1em;
    line-height: 22px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}


.search-settings .display {
	margin:0;
}

.search-settings .display li {
    float: left;
    padding: 0 0.5em;
}

.search-settings .display a {
    font-weight: bold;
    font-size: 90%;
    color: #999;
    text-decoration: none;
}
.search-settings .display a:hover {
    color: #000;
}

.search-content.list .display-list a,
.search-content.grid .display-grid a,
.search-content.map .display-map a {
    color: #000;
}

.search-content article dt{
margin-top:0px;	
}

.woning .item h2 {
    margin-top: 0;
	color: #465560;
}
.woning .item .btn{
	margin: 0 20px 20px;
    display: block;
}
/* Search Results styles */
.search-content article {
    width: 100%;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    margin-bottom: 2em;
}

.search-content article .item {
    position: relative;
    box-shadow: 0 0 4px 0 #ccc;
    border-radius: 4px;
    overflow: hidden;
	height:100%;
    margin: 0 0.5em;
}

.search-content article h1 {
    clear: none;
}

.search-content article a {
    text-decoration: none;
}

.search-content article dl {
    margin: 0;
}

.search-content article dd {
    margin: 0;
}
#contact-popup .popup .header {
    display: flex !important;
}
@media screen and (max-width: 959px){
	
    #mobile-filter-popup{
       position: fixed;
    }
    .col-widgets-sidebar .uncell.double-bottom-padding {
        padding: 0;
    }

    .col-lg-6.col-12.col-lg-6.pos-top.huize-images-right > .row {
        width: 50% !important;
        float: left;
    }

    .col-lg-6.col-12.col-lg-6.pos-top.huize-images-right > .row > .col-lg-6 {
        width: 50%;
        padding: 0;
        float: left;
    }

    .col-lg-6.col-12.col-lg-6.pos-top.huize-images-right > .row > .col-lg-6 img {
        height: 115px;
    }
    .huize-wrapper {
        padding: 0px 20px;
    }
    .huize-maps .col-lg-6{
        width:50%;
        padding:0 20px !Important;
        float:left;
    }
}

@media screen and (min-width: 960px) {
    .search-content article dt {
        float: left;
        width: 100px;
        clear: right;
        text-align: right;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .search-content article dd {
        margin: 0 0 0 120px;
    }
    
    #mobile-filter-popup-btn{display:none;}

    div#mobile-filter-popup {
        visibility: initial;
        display: block;
        opacity: 1;
    }

    .popup {
        height: auto;
        max-width: 100%;
        position: initial;
        border-radius:0px;
    }

    .popup .header {
        display: none;
    }
}

@media screen and (min-width: 720px) {
    .search-content article dt {
        float: left;
        width: 100px;
        clear: right;
        text-align: right;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .search-content article dd {
        margin: 0 0 0 120px;
    }
}

.search-content article header {
    padding: 1em;
}

.search-content article a.overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.search-content article .thumbnail img {
    border-radius: 0;
    object-fit: cover;
}

.search-content article .entry-content {
    padding: 0 1em 1em 1em;
}

.search-content.list article .thumbnail {
    max-width: 300px;
	min-height:250px;
    display: flex;
}

.search-content.list article .item {
	display:flex;
	align-items:center;
}
.search-content.list article .item-content {
    width: 100%;
}

.search-content.grid article .thumbnail img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.search-content.grid #entity-items{
	display:grid;
	grid-template-columns: repeat(2, 1fr);
	grid-auto-rows: minmax(100px, auto);
}


@media screen and (max-width: 600px) {
    .search-content.grid #entity-items{
        grid-template-columns: repeat(1, 1fr);
    }

    .huize-maps .col-lg-6{
        width:100%;
        padding:20px !Important;
        float:initial;
    }

    .woning-uitgelicht{
        grid-template-columns:repeat(2, 1fr);
    }
    .woning-uitgelicht > div:first-child {
        padding-bottom: 30px;
    }

}




/* Google Maps styles */

.search-content .search-map {
    margin: 0 0.5em 2em 0.5em;
}

#google-map, #google-streetview {
    width: 100%;
    height: 300px;
    border-radius: 4px;
    box-shadow: 0 0 4px 0 #999;
}

#google-map .gm-style-iw /* Info Windows */ a {
    font-size: 120%;
    font-weight: bold;
    text-decoration: none;
}

#google-map .gm-style-iw img {
    float: left;
}

#google-map .gm-style-iw .address {
    float: left;
    margin-left: 1em;
    min-width: 200px;
    line-height: 1.5;
}



/* View helpers */
.search-content .visible-grid,
.search-content .visible-list,
.search-content .visible-map,
.search-content.grid .hidden-grid,
.search-content.list .hidden-list,
.search-content.map .hidden-map {
    display: none;
}

.search-content.grid .visible-grid,
.search-content.list .visible-list,
.search-content.map .visible-map {
    display: block;
}



/* Loading View styles */
.search-load-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.8);
    display: none;
}

.search-loading .search-load-overlay {
    display: block;
}

.search-loading .results-container {
    -webkit-filter: blur(2px);
    filter: blur(2px);
}

/* jQuery UI slider styles */
.ui-slider {
    position: relative;
    text-align: left;
    background: #ddd;
    height: 4px;
    margin: 0 4px;
}

.ui-slider .ui-slider-handle {
    position: absolute;
    z-index: 2;
    padding: 10px;
    width: 8px;
    height: 8px;
    top: -12px;
    margin-left: -14px;
    outline: none;
    cursor: default;
    -ms-touch-action: none;
    touch-action: none;
}

.ui-slider .ui-slider-handle span {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background-color: #f48f2c;
    box-shadow: 0 0 2px 2px #fff;
}

.ui-slider .ui-slider-range {
    position: absolute;
    z-index: 1;
    font-size: .7em;
    display: block;
    border: 0;
    background-position: 0 0;
    background-color: #f48f2c;
}

/* support: IE8 - See #6727 */
.ui-slider.ui-state-disabled .ui-slider-handle,
.ui-slider.ui-state-disabled .ui-slider-range {
    filter: inherit;
}

.ui-slider-horizontal .ui-slider-range {
    top: 0;
    height: 100%;
}

.ui-slider-horizontal .ui-slider-range-min {
    left: 0;
}

.ui-slider-horizontal .ui-slider-range-max {
    right: 0;
}



/* Responsive styles */
@media screen and (max-width: 719px) {
    /* Grid becomes list */
    .search-content.grid .hidden-list,
    .search-content.grid .visible-grid {
        display: none;
    }
    .search-content.grid .hidden-grid,
    .search-content.grid .visible-list {
        display: block;
    }

    .search-content.grid .search-settings .display-list a {
        color: #000;
    }

    .popup .popup-row{
        flex-direction: column;
    }
    .search-content.list article .thumbnail {
        max-width: 200px;
    }
    .search-content.list article .item{
        align-items: initial;
    }
}

@media screen and (max-width: 599px) {

    /* Change sliders back into dropdowns */
    .search-field.has-slider .slider-container {
        display: none;
    }
    .search-field.has-slider .search-items {
        display: block;
    }

    .search-sidebar {
        width: 100%;
        float: none;
    }

    .search-content {
        margin-left: 0;
    }

}

@media screen and (max-width: 400px) {
    .hidden-sm {
        display: none;
    }
}

@media screen and (max-width: 400px) {
    .search-content .results-container,
    .search-content .search-load-overlay {
        margin: 0 -1.714285714rem;
    }

    .search-content article {
        border-top: 1px solid #ddd;
    }

    .search-content article:last-child {
        border-bottom: 1px solid #ddd;
        margin-bottom: 1em;
    }

    .search-content article .item {
        position: relative;
        margin: 0;
        box-shadow: none;
        border-radius: 0;
        overflow: hidden;
    }

    .search-content article a.overlay {
        display: block;
    }
}
@media screen and (max-width: 600px){
	.search-content.list article .item {
		flex-direction: column;
	}

	.search-content.list article .item a {
		width: 100%;
		max-width: 100%;
	}

}