/*
 * Aanvulling op de MWW-opmaak in het child theme (style.css: .mww_overzicht, .mwwobjectdetail).
 * Die ging uit van de kolommen en posities van de oude plugin; dit maakt de kaarten zelfstandig.
 */

/* Lijst */
.luca-rw-lijst { display: flex; flex-wrap: wrap; margin: 0 -1%; }
.luca-rw-lijst .luca-rw-item { width: 31.33%; margin: 0 1% 40px; box-sizing: border-box; }
.mww_overzicht.luca-rw .innerdiv { margin: 0; position: relative; border-radius: 10px; height: 100%; display: flex; flex-direction: column; }
.mww_overzicht.luca-rw .innerdiv .woningfoto { position: relative; width: 100%; margin: 0 0 25px; background-color: #e9e9e9; }
.mww_overzicht.luca-rw .innerdiv .woningfoto .prijs { top: auto; bottom: -18px; right: 20px; margin: 0; }
.mww_overzicht.luca-rw .innerdiv .woningfoto .statuslabel { top: 20px; left: 0; }
.mww_overzicht.luca-rw .innerdiv .content { flex: 1; display: flex; flex-direction: column; }
.mww_overzicht.luca-rw .innerdiv .content a { margin-top: auto; }
.mww_overzicht.luca-rw .innerdiv .details .detail { position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mww_overzicht.luca-rw .innerdiv .details .detail img { left: 12px; margin-left: 0; top: 0; }
.luca-rw-leeg { text-align: center; padding: 30px 0; }

@media (max-width: 959px) {
	.luca-rw-lijst .luca-rw-item { width: 48%; }
}
@media (max-width: 767px) {
	.luca-rw-lijst .luca-rw-item { width: 98%; }
}

/* Slider */
.luca-rw-slider { position: relative; }
.luca-rw-baan { display: flex; gap: 2%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 10px 2px 20px; scrollbar-width: none; }
.luca-rw-baan::-webkit-scrollbar { display: none; }
.luca-rw-baan .luca-rw-slide { flex: 0 0 32%; scroll-snap-align: start; float: none; margin: 0; }
.luca-rw-pijl { position: absolute; top: 140px; z-index: 3; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--kleur1, #333); color: #fff; font-size: 30px; line-height: 48px; cursor: pointer; }
.luca-rw-vorige { left: -7px; }
.luca-rw-volgende { right: -7px; }
.luca-rw-pijl[disabled] { opacity: .35; cursor: default; }
@media (max-width: 959px) { .luca-rw-baan .luca-rw-slide { flex-basis: 48%; } }
@media (max-width: 767px) { .luca-rw-baan .luca-rw-slide { flex-basis: 88%; } }

/* Detail */
.luca-rw-detail .headerimg { background-color: #e9e9e9; }
/* Betheme 29 zet .section_wrapper op flex: de 30px padding van .teksten (child theme) moet binnen de 2/3 vallen, anders schuift Kenmerken eronder. */
.luca-rw-detail .section_wrapper > .column { box-sizing: border-box; }
.luca-rw-detail .kenmerkentop .btnstop .btn { margin-bottom: 10px; }
.luca-rw-detail .luca-rw-status { background: var(--kleur2, #555) !important; border-color: var(--kleur2, #555) !important; color: #fff !important; }
.luca-rw-detail .luca-rw-terug { margin-bottom: 10px; }
.luca-rw-detail .kenmerken p { margin-bottom: 12px; }
.luca-rw-detail .luca-rw-verborgen { display: none; }
.luca-rw-detail .binnenkijken .mcb-column-inner a { position: relative; }
.luca-rw-detail .plattegrond img { max-width: 100%; height: auto; }

/* Formulieren */
.luca-rw-formulier input[type=text], .luca-rw-formulier input[type=email], .luca-rw-formulier input[type=tel],
.luca-rw-formulier input[type=number], .luca-rw-formulier select, .luca-rw-formulier textarea { width: 100%; }
.luca-rw-formulier .foutinp { border-color: #cc232a !important; }
.luca-rw-melding:empty { display: none; }
.luca-rw-melding.fout { color: #cc232a; }
.luca-rw-melding.goed { color: #33a357; font-weight: bold; }
.luca-rw-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }

/* Fotoviewer */
.luca-rw-viewer { position: fixed; inset: 0; z-index: 100000; background: rgba(0, 0, 0, .9); display: flex; align-items: center; justify-content: center; }
.luca-rw-viewer img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.luca-rw-viewer button { position: absolute; background: none; border: 0; color: #fff; font-size: 44px; cursor: pointer; padding: 10px 20px; }
.luca-rw-viewer .sluit { top: 10px; right: 10px; font-size: 36px; }
.luca-rw-viewer .vorige { left: 10px; }
.luca-rw-viewer .volgende { right: 10px; }
.luca-rw-viewer .teller { position: absolute; bottom: 15px; color: #fff; font-size: 15px; }
