/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/


/* Custom CSS can be added here */

/* Utilities */
.hidden { display: none !important; }
.m30b { margin-bottom: 30px; }
.m60b { margin-bottom: 60px; }
.m100b { margin-bottom: 100px; }
.contain { position: relative; }

/* Realworks results */
.realworks-objects-results {
    overflow: hidden;
    max-height: 440px;
    border-radius: 5px;
}
.realworks-objects-results article {
    display: inline-block;
    max-width: 350px;
}
.realworks-objects-results .item { background-color: #fff; }
.realworks-objects-results .results-container { transition: transform 0.5s ease; }
.realworks-objects-results .search-content { width: 1550px; }
.realworks-objects-results article.woning img { height: 223px; }
.realworks-objects-results h2 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size:16px;
}

/* Cards, badges, snippets */
.item-status {
    display: inline-block;
    position: absolute;
    right: 0;
    color: #fff;
    background-color: rgb(255, 87, 34);
    writing-mode: vertical-lr;
    padding: 30px 7px;
    font-weight: 600;
}

article.woning #media-content img { height: 400px; border-radius:20px; }

.realworks-objects-snippet-buttons {
    position: relative;
    left: 45px;
    top: 30px;
}
.realworks-objects-snippet-buttons button {
    height: 34px;
    width: 34px;
    font-size: 34px;
    color: #fff;
    background-color: transparent;
}
.realworks-objects-snippet-buttons button i {
    font-size: 34px;
    display: flex;
    justify-content: center;
}
.realworks-objects-snippet-buttons button:hover {
    background-color: transparent;
    cursor: pointer;
}
.realworks-back { margin-right: 34px; }
.realworks-back,
.realworks-forward {
    color: #000 !important;
    background-color: #fff !important;
    border-radius: 50% !important;
}

/* Layout */
.woning-makelaar-plugin {
    margin-top: 120px;
    width: 1351px;
    margin-left: auto;
    margin-right: auto;
}
.woning-makelaar-plugin-sub {
    margin-bottom: 20px;
    font-weight: normal;
}

@media (max-width: 767px) {
    .woning-makelaar-plugin-sub {
        font-size: 18px;
        padding-left: 0;
        padding-right: 25px;
    }
    .search-content article header h2 { font-size: 17px; }
    .item-price { font-size: 17px !important; }
    .woning-makelaar-plugin {
        width: 100%;
        margin-left: 25px;
    }
}

#entity-search-form {
   max-width: 1351px;
   margin-left: auto;
    margin-right: auto;
   display: grid;
   grid-template-columns: 1fr 1fr;
   width: 100%;
   position: relative;
}

.search-field-flex { display: flex; }

.search-field.search-right-half,
.search-field.search-left-half { width: 50%; }
.search-field.search-left-half { margin-right: 10px; }

.search-items { color: rgb(186, 185, 185); }

.search-items select,
.search-items input[type="text"],
.search-items input[type="number"],
.search-items input[type="date"],
.search-items input[type="email"] {
    background-color: #fff;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 10px;
}

.search-submit-button {
    background-color: #ff5800;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    align-items: center;
    border-width: 0;
    display: inline-flex;
    gap: 10px;
    justify-content: center;
    letter-spacing: 0.5px;
    padding: 0.5em 1em;
    text-align: center;
    border-radius: 10px;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
}

.search-items input::placeholder { color: rgb(186, 185, 185); }

.search-settings select {
    background-color: #fff;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 10px;
}

/* Single header */
.single-header {
    position: relative;
    max-height: 415px;
    height:415px;
    overflow: visible;
    background-size: cover;
}
.single-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    pointer-events: none;
}
.single-header header {
    /*position: absolute;
    left: 25%;
    display: flex;
    top: 70%;
    flex-direction: column;
    transform: translate(-50%, -50%);
    color: #fff;
    z-index: 1;
    gap: 6px;*/
    position: relative;
    display: flex;
    top: 30%;
    max-width: 1351px;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    color: #fff;
    z-index: 1;
    gap: 6px;
}
.single-header header h1 {
    font-size: 35px;
    font-weight: bold;
    color: #fff;
}
@media (max-width: 767px) {
    .single-header header { left: 5%; }
    .single-header header h1 { font-size: 32px; font-weight: bold; }
}
.single-header .single-item-address { font-size: 17px; }
.single-header .single-item-address .brxe-icon {
    font-size: 20px;
    margin-right: 8px;
    vertical-align: middle;
}
.single-header .single-item-price { font-size: 21px; font-weight: 700;}
.single-header .single-item-info { font-size: 30px; }
@media (max-width: 500px) {
    .single-header header { left: 40%; }
    .single-header header h1 { font-size: 33px; }
    .single-header .single-item-info { font-size: 27px; }
}

.single-slider-wrapper {
    width: 100%;
    max-width: 1351px;
    margin-left: auto;
    margin-right: auto;
    display: none;
}

.single-slider-wrapper > div {
    flex-direction: row;
    flex-wrap: nowrap;
    column-gap: 20px;
    max-width: 1351px;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    bottom: -45px;
    z-index: 1;
}

/* Single intro */
.single-intro {
    display: flex;
    max-width: 1351px;
    margin: 120px auto 0;
}

.splide__slide {cursor: pointer;}

@media (max-width: 767px) {
    .single-intro { flex-wrap: wrap; }
    .single-intro .intro-text { margin-bottom: 40px; margin-left: 25px; }
}

@media (min-width: 1342px) {
    
    .single-intro .intro-text {
        overflow: hidden;
        height: 450px;
        transition: height 400ms ease-in-out;
    }

    .single-intro .single-intro-gradient {
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 75%);
    mask-image: linear-gradient(to top, transparent 0%, black 75%);
        --max-height: 300px;
    }   
}

.single-intro .intro-text {
    flex: 1 0 66.666%;
    margin-right: 80px;
    
}
.single-intro .intro-contact { 
    max-width: 399px;
    align-self: stretch !important;
    width: 100%;
    row-gap: 35px;
    background-color: #ffffff;
    border-radius: 8px;
    padding-top: 32px;
    padding-right: 32px;
    padding-bottom: 32px;
    padding-left: 32px;
    box-shadow: 0 5px 10px -10px #212121;
    flex: 1 0 33.333%; 
}
.single-intro .intro-contact > div {
    background-color: #fff;
    padding: 0;
}

.single-intro .intro-contact .fas {
    font-size: 20px;
    color: #ff5800;
    fill: #ff5800;
}

.single-intro .intro-contact a {
    font-size: 20px;
}

/* Tabs */
.single-tab {
    display: flex;
    max-width: 1351px;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 100px auto 60px;
}

.single-tab .single-tab-subject {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 20px;
    padding: 20px;
    font-weight: 700;
    border: 1px solid #fbd3a2;
    border-radius: 15px;
    background: #fff;
    transition: color 0.3s, border-color 0.3s;
    cursor: pointer;
}

.single-tab .single-tab-subject h5 {
    text-align:center;
}

.single-tab .single-tab-subject:hover,
.single-tab .single-tab-subject.active {
    background-color: #fef4e8;
}

.single-tab .single-tab-subject .brxe-icon {
    font-size: 50px;
    width: 75px;
    height: 75px;
    min-width: 75px;
    min-height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    background-color: #ff5800;
    color: #fff;
    fill: #fff;
    transition: background 0.3s, color 0.3s;
}

.single-tab .single-tab-subject .brxe-icon.fa-newspaper {
    font-size: 27px;
}

.single-tab .single-tab-subject .brxe-icon.ion-md-camera,
.single-tab .single-tab-subject .brxe-icon.ion-ios-folder-open {
    font-size: 30px;
}

.single-tab .single-tab-subject i {
    font-size: 35px;
}

/* Content sections */

#media-content {
    display: flex;
    flex-wrap: wrap;
}
#media-content { gap: 1%; }

.media-image {
    flex: 32.5%;
    overflow: hidden;
    max-width: 33%;
    margin-top: 13px;
}

#kenmerken-content {
    display: grid;
    align-items: initial;
    grid-template-columns: 1fr 1fr;
    grid-gap: 25px;
}


@media (max-width: 1100px) {
    .media-image { flex: 32%; max-width: 32%; }
}
@media (max-width: 850px) {
    .media-image { flex: 49%; max-width: 49%; }
}
@media (max-width: 650px) {
    .media-image { flex: 100%; max-width: 100%; }
}

.kenmerk { width: 50%; overflow: hidden; }

#kenmerken .kenmerk {
    border-radius: 15px;
    padding-top: 35px;
    padding-right: 35px;
    padding-bottom: 35px;
    padding-left: 35px;
    row-gap: 20px;
    width: 100%;
    background-color: #ffffff;
}

@media (max-width: 767px) {
    .kenmerk { width: 90%; }
    #kenmerken-content { grid-template-columns: 1fr; }

}
.kenmerk h3 { margin-top: 40px; }

#kenmerken .kenmerk dl dt {
    width: 40%;
    float: left;
    padding: 15px 5px 5px 0;
    font-weight:bold;
    clear: both;
    border-bottom: 1px solid #f2f2f2;
}
#kenmerken .kenmerk dl dd {
    width: 55%;
    float: left;
    padding: 15px 50px 5px 0;
    border-bottom: 1px solid #f2f2f2;
    margin: 0;
}

#kenmerken,
#omschrijving,
#media,
#brochures {
    display: none;
    max-width: 1351px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 40px;
    padding-right: 40px;
    padding-bottom: 40px;
    padding-left: 40px;
    border: 1px solid #dddedf;
    background-color: #fef4e8;
    border-radius: 15px;
}

#alternatieve-woningen {
    width:100%;
    max-width: 1351px;
    margin-left: auto;
    margin-right: auto;
}

#kenmerken { 
    display: block; 
    border-radius: 15px;
}

@media (max-width: 767px) {
    #kenmerken { margin-left: 25px; margin-right: 25px;}
    #alternatieve-woningen { padding-left: 25px; padding-right: 25px;}
}

#kenmerken h2,
#omschrijving h2,
#media h2,
#brochures h2 {
    margin-top: 40px;
    margin-bottom: 15px;
}
#brochures a {
    text-align: center;
    display: inline-block;
}
#brochures i { font-size: 50px; }

.item-price { font-size: 16px; }
.item-info { margin-top: 8px; font-size: 13px; }
.item-info span { margin-right: 12px; }

/* Layout styles */
.site-content.archive { width: 100%; float: none; }
#entity-items { display: inline-block; width: 100%; }

.search-sidebar {
    grid-column: 1;
    width: 100%;
    margin-left: 0;
    margin-right: auto;
    align-self: stretch !important;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.search-sidebar-image {
    grid-column: 1;
    display: flex;
    position: absolute;
    width: 50%;
    flex-direction: row;
    right: -25px;
    align-items: center;
}


@media (min-width: 1920px) {
    .search-sidebar-image { 
        right: -25px; 
    }
}

.search-sidebar-image-inner {
    width: 500px;
    height: 500px;
    min-width: 500px;
    border-radius: 300px;
    z-index: 1;
    margin-left: 40px;
    overflow: hidden;
    margin-right: -305px;
    position: relative;
    display:none;
}
.search-sidebar-image-inner img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}
.special-rounded-element {
    width: 500px;
    height: 500px;
    min-width: 500px;
    border-radius: 300px;
    background-color: #fef4e8;
    display:none;
}
.search-content {
    position: relative;
    width: 100%;
    grid-column: 1 / -1;
    max-width: 1351px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 2em;
    margin-top: 100px;
}


@media (max-width: 1351px) {
    .search-content { width: unset; }
}

/* Search Form styles */
.search-field { margin: 0 0 1em 0; }
.search-field h4 { margin: 0 0 0.5em 0; }
.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,
.search-field input[type=text] { width: 100%; }

.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; }

/* 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;
}

/* Results Settings styles */
.search-settings {
    padding: 1em 0.5em;
    line-height: 22px;
    max-width: 50%;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
}
.search-settings .display { float: right; }
.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 Results styles */
.search-content article {
    width: 100%;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}
.search-content article .item {
    position: relative;
    margin: 0 0.5em 2em 0.5em;
    box-shadow: 0 0 4px 0 #ccc;
    border-radius: 10px;
    overflow: hidden;
}
.search-content article .item:hover {}

.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; }

@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;
    font-size: 11px;
}
.search-content article a.overlay {
    position: absolute;
    inset: 0;
}
.search-content article .thumbnail img { border-radius: 0; }
.search-content article .entry-content { padding: 0 1em 1em; }

.search-content.list article .thumbnail {
    width: 40%;
    max-width: 300px;
    float: left;
}
.search-content.list article .item-content { margin-left: 40%; }

.search-content.grid article .item-content { min-height: 159px; }
.search-content.grid article .thumbnail img { width: 100%; }

@media screen and (min-width: 960px) {
    .search-content.grid article:nth-child(3n+4) { clear: both; }
    .search-content.grid article {
        width: 33.333333%;
        float: left;
    }
}
@media screen and (min-width: 720px) and (max-width: 959px) {
    .search-content.grid article:nth-child(2n+3) { clear: both; }
    .search-content.grid article {
        width: 50%;
        float: left;
    }
}

/* Google Maps styles */
.search-content .search-map { margin: 0 0.5em 2em 0.5em; }
#google-map,
#google-streetview {
    width: 100%;
    height: 600px;
    border-radius: 4px;
    box-shadow: 0 0 4px 0 #999;
}
#google-map .gm-style-iw 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;
    inset: 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: #1b5e7e;
    box-shadow: 0 0 2px 2px #fff;
}
.ui-slider .ui-slider-range {
    position: absolute;
    z-index: 1;
    font-size: 0.7em;
    display: block;
    border: 0;
    background-position: 0 0;
    background-color: #21759b;
}
.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 */
@media screen and (max-width: 767px) {
    article.woning .item img,
    article.woning #media-content img {
        object-fit: cover;
    }

    .search-sidebar-image { display: none; }
    #entity-search-form {
        grid-template-columns: 1fr;
    }
    .search-field.search-right-half,
    .search-field.search-left-half { width: 100%; margin-right: 0; }

    .search-sidebar { width: 100%; float: none; padding: 0 20px 0 20px;}
    .search-content { margin-left: 0; padding: 0 20px 0 20px;}      
    .woning-makelaar-plugin {
        margin-top: 50px;
    }

}
@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; padding: 0 20px 0 20px;}
    .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 auto; }
    .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; }
    .search-content.list article .thumbnail { width: 25%; }
    .search-content.list article .item-content { margin-left: 25%; }
}


/* Hide number input arrows (spinners) */
.search-items input[type="number"]::-webkit-outer-spin-button,
.search-items input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.search-items input[type="number"] {
    -moz-appearance: textfield;
}


.page-id-2454 .realworks-objects-results {
    display:flex;
    justify-content: center;
    max-height:inherit;
}

.page-id-2454 .realworks-objects-results > .search-content {
    width: auto;
}

.page-id-2454 .realworks-objects-results .search-content {
    margin-top: 0;
    padding-bottom:0;
}

.page-id-2454 .search-content article header {
    padding: 1.5em 1em 0 1.3em;
}

.page-id-2454 .realworks-objects-results #entity-items * {
    color: #fff;
}

.page-id-2454 .realworks-objects-results #entity-items .item {
    margin-bottom:0;
}

.page-id-2454 .realworks-objects-snippet-buttons {
    display: none;
}

.page-id-2454 .search-content.grid article .item-content {
    background-color: #002663!important;
}

.page-id-2454 .realworks-objects-results .item-content .item-address {
    padding-bottom:1em;
    font-size:0.9em;
}

.page-id-2454 .realworks-objects-results .item-content .item-info {
    padding-top:10px;
}

.page-id-2454 .realworks-objects-results .item-content .item-price {
    padding-top:1em;
}

.page-id-2454 .realworks-objects-results .item-content .item-price b {
    font-size:16px;
    color:#ff5800 !important;
}

.page-id-2454 .realworks-objects-results .item-status {
    display:none;
}

.page-id-2454 .realworks-objects-results #entity-items .item-info i:before {
    color:#ff5800!important;
}

.page-id-2454 .realworks-objects-results #entity-items .item-description {
    font-size:0.9em;
}

@media screen and (max-width: 767px) {
    .page-id-2454 .search-content {
        padding:0;
    }
}
.page-id-2454 .search-content article {
    margin-bottom: 20px;
}

@media screen and (min-width: 968px) {
     .page-id-2454 .search-content article {
        margin-bottom: 0;
    }
}