.uitklapper {
	padding: 25px;
	background: white;
	margin: 0 0 25px;
	width: 100%;
	overflow: hidden;
	box-shadow: 3px 3px 10px #00000033;
}

.uitklapper-header {
	font-size: 2rem;
	cursor: pointer;
	width: calc(100% - 50px);
	justify-content: space-between;
	display: flex;
	margin:0;
	padding:25px 0 25px 25px;
}

.uitklapper-header i {transition: transform 0.3s ease;}
.uitklapper-header i.rotated {transform: rotate(180deg);}
.uitklapper-content {height:0;overflow:hidden}
.uitklapper-content.open {height:auto;padding:25px;}

#persoonlijke_gegevens .form-row div {width: 100%;}
#persoonlijke_gegevens .form-row label, #persoonlijke_gegevens .form-row .form-field {width: 100%}
#persoonlijke_gegevens .form-row  input, #persoonlijke_gegevens .form-row select { width: calc(100% - 40px);}
/*#persoonlijke_gegevens div label.radio input {
 position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}*/

#persoonlijke_gegevens label.radio {
    padding-right: 20px;
    margin: 0 45px 0 5px;
    position: relative;
    gap: 20px;
    align-items: center;
}

#persoonlijke_lening_maandlasten {
    width: 100%;
    padding: 25px 150px;
    background: #F6F9FF;
    color: var(--zwart);
    text-align: center;
    margin: 25px 0;
}
#persoonlijke_lening_maandlasten .rekentabel {
	padding:25px;
	margin-top:25px;
	border-bottom:1px solid;
}

#persoonlijke_lening_maandlasten .rekentabel div {
    padding: 5px;
    border-bottom: 1px solid grey;
    display: flex;
    align-items: center;
	justify-content: space-between;
}
#persoonlijke_lening_maandlasten .rekentabel div:last-child{border:none}
#persoonlijke_lening_maandlasten .rekentabel div span {
	padding:15px
}


/*
.checkmark {
  position: absolute;
  top: 0;
  left: -30px;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 50%;
}
#persoonlijke_gegevens div label.radio input ~ .checkmark {
  background-color: #ccc;
}
#persoonlijke_gegevens div label.radio input:checked ~ .checkmark {
  background-color: var(--groen1);
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
#persoonlijke_gegevens div label.radio input:checked ~ .checkmark:after {
  display: block;
}
#persoonlijke_gegevens div label.radio .checkmark:after {
  top: 9px;
  left: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}
*/

.hidden {
	display: none !important;
}

.leenattent-form {
	margin: 30px 0;
	width: 100%;
	counter-reset: section;
}

.leenattent-form p {
	width: unset;
}

.leenattent-form .uitklapper {
	counter-increment: section;
}

.leenattent-form .uitklapper-header span {
	flex-grow: 1;
}

.leenattent-form .uitklapper-header i {
	flex-shrink: 0;
}

/* .leenattent-form .uitklapper-header span:before {
	content: counter(section) ". ";
} */

.leenattent-form .uitklapper-content {
	display: flex;
	flex-direction: column;
}

.leenattent-form .form-field-vertical {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.leenattent-form .form-field-vertical label {
	width: 100%;
	align-self: flex-start;
}

.form-row {
	width: 100%;
	display: flex;
	gap: 15px;
	margin-bottom: 15px;
}

.form-row label,
.form-row .form-field {
	width: 50%;
	align-self: center;
}

.leenattent-form .knop-rood {
	flex-wrap: nowrap;
	align-self: center;
}

.leenattent-form button {
	border: none;
}

.leenattent-form button:disabled {
	border: none;
	opacity: 0.4;
	cursor: not-allowed;
	pointer-events: none;
	filter: saturate(0);
}

.form-field {
	display: flex;
	align-items: center;
	gap: 0px;
}
.form-field.form-field-radio {
	gap: 0;
}


.form-field input[type="radio"] {
	position: absolute;
	opacity: 0;
}

.form-field input[type="radio"] + label {
	display: inline-block;
	padding: 15px 20px;
	border: 1px solid #ccc;
	background: white;
	cursor: pointer;
	text-align: center;
	min-width: 50px;
	flex: 0;
}

.form-field input[type="radio"] + label:first-of-type {
	border-right: none;
}

.form-field input[type="radio"]:checked + label {
	background: var(--rood1);
	color: white;
}

label.radio input[type="radio"] {
	width: unset;
}

form textarea {
	padding: 15px;
	border: 2px solid #cecece;
	width:calc(100% - 30px);
	resize: vertical;
}

#berekeningen {
	background: #3a3a3a;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding:50px;
	margin:50px 0;
	position:relative;
	z-index:2;
}

#berekeningen p {
	font-size: 0.8em;
	margin: 15px 0 30px;
	justify-content:center;
}

#berekeningen table {
	
}

#berekenings_resultaat {
	font-size: 3.5rem;
	font-weight: 700;
	padding-top:50px;
}
#berekenings_resultaat .amount-ok {color:var(--groen1)}

.lenings_typen {
	display:  flex;
	gap: 50px;
	margin-top:50px;
}

.loantype-info-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    color: #3a3a3a;
    gap: 20px;
    width: 417px;
}


.loantype-info-block h3,
.loantype-info-block ul {
	width: auto;
}

.loantype-info-block h3 {
	font-size: 2em;
	margin: 50px 0 10px;
 	font-weight: 500;
}

.loantype-info-block ul {
	flex-grow: 1;
	font-size: 0.9em;
    width: 75%;
}
.loantype-info-block li {
    line-height: 1.5;
    padding: 10px 0 15px 20px;
	position:relative;
}
.loantype-info-block li:before {
	top:inherit;
 	content: "✔";
    display: block;
    background: var(--groen1);
    width: 30px;
    height: 25px;
    text-align: center;
    color: white;
    border-radius: 20px;
    padding-top: 5px;
    position: absolute;
    left: -20px;
    line-height: 1;
}
.loantype-info-block a.knop-groen {
	width: 75%;
	font-size: 1em;
	align-self: flex-start;
	margin: 20px 0 0;
	top:0 !important;
}

.loantype-info-block a.knop-groen:after {
	height: 30px;
}

/* AANPASSINGEN */
.inline-berekening.open {

}


form#leenattent-offerteformulier input, form#leenattent-offerteformulier select {width:100%;margin-top:5px;}
form#leenattent-offerteformulier input[type=radio] {width:auto}
button#offerte_aanvragen_next_button {margin-bottom:25px;}
#berekeningen p {margin:0;position:relative;z-index:2}
#berekeningen:before {
    content: "";
    display: block;
    position: absolute;
    background: var(--zwart);
    width: 150vw;
    left: -50vw;
    height: 100%;
    top: 0;
	z-index:-1;
}
#persoonlijke_lening_maandlasten .rekentabel .tabel-omschrijving {
    background: var(--zwart);
	padding:15px;
}
#persoonlijke_lening_maandlasten .rekentabel .tabel-omschrijving span {
    color: white;
    font-size: 2rem;
    font-weight: 700;
}
button.select-loan {
    background: var(--groen1);
    color: white;
	font-weight:500;
    padding: 15px 0px;
    border-bottom: 3px solid var(--groen2);
    cursor: pointer;
    width: 150px;
}
button.select-loan.selected {
    background: var(--rood1);
    border-color: var(--rood2);
}
.geslacht {margin-bottom: 5px;}



/* =========== RADIO BUTTONS ========= */
.radio {
  display: grid;
  grid-template-columns: 1em auto;
  gap: 0.5em;
}

.radio + .radio {
  margin-top: 1em;
}

.radio:focus-within {
  color: var(--groen2);
}

.radio input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  background-color: white;
  width: 30px !important;
  height: 30px;
  border: 1px solid #cecece;
  border-radius: 50%;
  display: grid;
  place-content: center;
}

input[type="radio"]::before {
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 50%;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--groen2);
  background-color: CanvasText;
}

input[type="radio"]:checked::before {
  transform: scale(1);
}

@media (max-width:1200px) {

	#persoonlijke_lening_maandlasten  {overflow-x:scroll}
}
@media (max-width:768px) {
	.form-row {flex-wrap: wrap;}
	.form-row label, .form-row .form-field {width:100%;}
	.form-field.vertical {
		display: flex;
		flex-wrap: wrap;
	}
	.leenattent-form .form-field-vertical  {display: contents;}
	.form-column {
		width: 100%;
		display: contents;
	}
	.lenings_typen {
		flex-wrap: wrap;
		gap:25px;
	}
	.loantype-info-block {
		width: 100%;
		gap: 0;
		padding: 15px;
	}
	.loantype-info-block a.knop-groen {width:100%}
	.uitklapper {padding:0;}
	.leenattent-form .knop-rood {
		margin: 0;
		padding: 15px;
	}
	#berekeningen {padding:25px}
	#persoonlijke_lening_maandlasten .rekentabel div {padding:0}
	#persoonlijke_lening_maandlasten .rekentabel {padding:0;}
	#persoonlijke_lening_maandlasten .rekentabel .tabel-omschrijving {padding:0}
}