body {
	font-family: Lato, Helvetica, Arial, Lucida, sans-serif;
	padding-bottom: 2rem;
}

#rv-wrapper,
#section_typ,
body .familie,
body .organisation {
	display: none;
}

body.familie .familie,
body.organisation .organisation {
	display: block;
}

#top-header {
	background-color: #29538f;
	padding: 0.75rem 0;
	font-size: 13px;
	font-weight: bold;
}

#top-header a {
	color: white !important;
}

.header {
	padding-top: 3.5rem;
}

@media (min-width: 1200px) {
	.container,
	.container-lg,
	.container-md,
	.container-sm,
	.container-xl {
		max-width: 1175px;
	}
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
	color: #2c64af;
}

.btn {
	color: #2c64af !important;
	border-width: 0px !important;
	border-radius: 15px;
	background-color: rgba(0, 0, 0, 0.04);
	font-size: 20px;
}

summary:focus {
	outline: none;
}

summary::marker {
	content: '';
}

summary::before {
	content: '+';
	color: #2c64af;
	font-size: 200%;
	font-weight: bold;
	line-height: 1;
	position: relative;
	top: 0.3rem;
	margin-right: 0.5rem;
}

details[open] > summary:first-of-type::before {
	content: '–';
	top: 0.2rem;
	margin-right: 0.6rem;
}

/* Green background image by default */
input:required:not(.is-valid), /* Don't overwrite Bootstrap :valid */
input:required:not(:valid),    /* Don't overwrite Bootstrap :valid */
input:required:not([type='hidden']),
input:required:not([type='checkbox']),
input:required:not([type='radio']),
textarea:required,
select:required {
	background-repeat: no-repeat !important;
	background-position: top right;
	background-size: 32px 32px;
	background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAABBUlEQVRYhe3VzwnCMBTH8e9zAxGcwJO4gCdHcFancIHiwdoFBHGE5yXVGtO0af546Q8C4SVtP5DyIqqKK4Ksgb1zMVEWcJA+gIWQTAZdeFfRO3AG+pWR8QJKIAYBkYibGXGAQIS2Q9FK0apbmwwIQDSKnoC6U6tNrYkCBCBQ9OKYL6MBIxAbQXZ20dRWSQADiIc5d3t/BVyTATyIJ4Ag27bQmf98z9sJx8bqmO8Xmh8PQY5f2z/RJAAHok3bAzY9j6UDeBC++O+C0EzpmEkBUxDJAaGILIAQRDbAWERWwBhEdsAQogjAhygG6EMUBbgQxQEWIs1tODWCrP8KgD8dwQyYAd28AJ8nodCxzCj/AAAAAElFTkSuQmCC');
}

/* Switch background image for empty (:invalid) fields */
.mandatory,
input:required:invalid:not([type='hidden']),
input:required:invalid:not([type='checkbox']),
input:required:invalid:not([type='radio']),
textarea:required:invalid,
select:required:invalid {
	background-position: top right !important;
	background-size: 32px 32px !important;
	background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAA+UlEQVRYhe3Vuw6CMBQG4P+4ETdldfURfP/ncHWUuhnG48C10ntPy8KfNGlOC/lI4UDMDGOIGgA386JYHmQF6AgqBOCTe5l7AC8ADmVe3IAKCD8gD9GNIxMQh+B5MCswK62WDAhHKDA/oT95N9ZUHiAcATB/DPMmH+BHtCC6bqpD7SwDcCO+47n/71cA3nIAO6IHABBd5soy3zQ0dycMjd4xlxsOLx5AdF/vXs1ZBrBFTJm+hNZylSDAjnDF8y+ITULHlAUkIOQBkYgygAhEOUAgoiwgAFEe4EHUATgQ9QAWRF2AAVEfoCOE/oapIWr2BWCvIzgAB2CVHyLkpQU0gy/0AAAAAElFTkSuQmCC');
}

.mandatory {
	background-size: 24px 24px !important;
}

input[type='number'] {
	max-width: 7rem;
}

input[type='date'] {
	max-width: 10rem;
}

footer {
	background-color: #888888;
	font-size: 13px;
	color: #ffffff;
	padding: 15px 0;
}

footer a {
	color: #ffffff;
	font-weight: bold;
}
