html {
	font-family: 'Lato', sans-serif;
	-webkit-text-size-adjust: 100%;
}

body {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	background-attachment: fixed;
	background-image: url(../img/kids_background.jpg);
	margin: 8px;
}

h1 {	
	font-family: Raleway;
	font-weight: 200;
	font-size: 3em;
	color: #96430f;
	margin: 0;
	display: inline-block;
	vertical-align: middle;
}

.header {
    border-bottom: darkgray solid thin;
    text-align: center;
    background-color: #f9f9f9dd;
	margin: -8px -8px 0 -8px;
	padding: .8em;
	
}
.headerLogo {
    display: inline-block;
	margin-right: 2em;
	vertical-align: middle;
}

h3 {
	margin: 1.5em auto .3em;
	color: #96430f;
	font-family: Lato, serif;
	font-weight: 400;
	font-style: normal;
	font-size: 27px;
	line-height: 1em;
	letter-spacing: 1px;
	text-transform: none;
}

form, #form-bottom {
	overflow: auto;
	max-width: 800px;
	background: rgba(239, 243, 236, 11);
	margin: 1em auto 0 auto;
	border-radius: 6px;
}

#form-return {
	border: none;
	background-color: rgba(227, 227, 227, 0.6);
	margin: 10px;
	border-radius: 6px;
	text-align: center;
	font-size: 1.2em;
	padding: 1em;
}

@media only screen and (max-width: 768px) {
	form, #form-bottom {
		max-width: 100%;
		margin: 0;
	}
}

.form-disclaimer {
	margin: 1em 2em;
	color: #343434;
}

#payment-methods {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1em;
	margin-bottom: 1em;
}

figure {
	position: relative;
	margin: 0;
	width: 70px;
}
figure img, figure figcaption {
	display: block;
	margin: 3px auto 0px auto;
	text-align: center;
	font-size: 0.8em;
}
figure img {
	max-width: 56px;
}

form fieldset input:user-invalid {
	box-shadow: 0 0 0 2px #d00;
}

fieldset {
	border: none;
	background-color: rgba(193, 211, 206, 1);
	margin: 10px;
	border-radius: 6px;
}

.hidden { display: none }

.fieldset-header {
	text-align: center;
	font-family: Raleway;
	font-style: italic;
	font-weight: 300;
	font-size: 1.4em;
	padding-top: 0.4em;
}
.fieldset-header-first {
	margin-top: 10px;
}

/*
 Frequentie, valuta, contact fieldsets
*/
fieldset.frequency, fieldset.valuta, fieldset.contact{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

div.radio-freq, div.radio-currency {
	min-width: 150px;
	margin: 5px 5px;
}
fieldset.contact input {
	width: 93%;
	margin: 8px;
	height: 30px;
	border: none;
	border-radius: 5px;
	padding-left: 5px;
	padding-right: 5px;
}
.heart-svg-inline {
	position: relative;
	transform: translateY(15%);
	display: inline-block;
	/* without a custom viewbox we have a square aspect ratio as default */
	height: 1em;
	color: #96430f;
}


/*
 Bestemming fieldset
*/
fieldset.destination {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	align-items: center;
	justify-items: center;
}

fieldset.destination .radio-wrapper label {
	width: 280px;
	height: 70px;
	text-align: center;
	font-size: 1.1em;
}

fieldset.destination .radio-wrapper input[type="radio"] ~ label.needed {
	position: relative;
	background-color: #df9c4e;
	color: white;
	font-weight: bold;
	padding-left: 40px;
	padding-right: 40px;
	padding-top: 10px;
}

fieldset.destination .radio-wrapper input[type="radio"] ~ label.needed:hover {
	background-color: #e7a257ff;
}

fieldset.destination label.needed .hart-svg {
	position: absolute;
	top: 2px;
	right: 8px;
}

fieldset.destination label.needed .hart-svg .heart-svg-inline {
	height: 1.8em;
	filter: brightness(100);
}

.radio-wrapper label select {
	width: 250px;
	overflow:hidden;
	white-space:nowrap;
	text-overflow:ellipsis;
	margin-top: 5px;
}

.radio-wrapper input[type="radio"] ~ label select {
	display: none;
}
.radio-wrapper input[type="radio"]:checked ~ label select {
	display: inline-block;
}
.radio-wrapper input[type="radio"]:checked ~ label.needed .hart-svg .heart-svg-inline {
	filter: initial;
}

/*
 Bedrag fieldset
*/
fieldset.amount {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
}
fieldset.amount .radio-duo {
	display: flex;
}

div.amount-wrapper {
	flex-grow: 1;
}

#amount {
	background: #fff;
	margin: 5px;
	padding: 11px;
	border: none;
	border-radius: 6px;
	box-sizing: border-box;
	text-align: left;
	transition: all 0.2s ease;
	font-size: medium;
	box-shadow: 0 0 0 2px #96430f;
	width: 100%;
}

fieldset.submit {
	text-align: center;
}

#submit {
	width: 30%;
	height: 30px;
	font-weight: bold;
	color: white;
	background-color: #df9c4e;
	border-color: #96430f;
	border-radius: 6px;
	cursor: pointer;
}
#submit:hover {
	background-color: #e7a257ff;
}
#submit:active {
	background-color: #b4752eff;
}


.flash {
    color: #CC0000;
    text-align: center;    
    padding: 1em;    
    font-family: 'Lato', sans-serif;
	font-weight: 700;

	border: none;
	background-color: rgba(227, 227, 227, 0.6);
	margin: 10px;
	border-radius: 6px;
}