html {
	font-family: Open Sans;
}

body {
	background-color: #EBEBEB;
}

.topbar {
	margin: 0px 5px;
	background-color: #4A249C;
	color: white;
	padding: 10px 10px;
	height: 20px;
	box-shadow: 1px 1px 1px grey;
}

@media print {
	.topbar {
		display: none;
	}
	#footer {
		display: none;
	}
}


.topbar ul {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}

.topbar ul li {
	display: inline;
	margin-right: 30px;
}

.topbar a {
	color: white;
	text-decoration: none;
	font-weight: bold;
	border-bottom: 2px solid white;
}
	

#logout, #user {
	float: right;
}

#dashboard {
}

#content {
	min-height: 500px;
}

#footer {
}

#adline {
	float: right;
}


.data, .syndicates, .confirmation-box, .formwrapper {
	background-color: white;
	margin: 5px;
	padding: 5px;
	box-shadow: 1px 1px 1px grey;
}

.numberofchildren {
	font-size: 120%;
	font-weight: 700;
}


.children {
	font-family: open sans;
	font-size: 12px;
	box-shadow: none;
	border: 1px solid rgb(200, 200, 200);
	border-radius: 2px;
	padding: 5px;
	margin: 5px;
}

.confirmation-box {
	max-width: 300px;
}

.formwrapper {
	max-width: 600px;
}

.formsection:last-of-type {
	margin-bottom: 20px;
	border-bottom: none;
}

.formsection {
    border-bottom: 2px dashed gray;
    padding: 10px;
}

.formsection table {
	border-spacing: 25px 0px;
}


.formrow {
	display: flex;
	flex-wrap: wrap;
	margin: 0px 0px 5px -15px;
}

.formitem {
	display: flex;
	padding: 5px 0px;
}

.formitem, .formitem > input, .formitem > textarea {
	flex: 1;
}

.formlabel {
	padding: 0px 15px;
}

textarea {
	width: 50%;
	height: 40px;
}

@media print {
	.data, .syndicates {
		box-shadow: none;
	}
}

.data {
	float: left;
}

.registration {
	padding: 5px 10px;
    max-width: 600px;

}

.syndicates h1, .syndicates h2, .confirmation-box h2, .formwrapper h1 {
	color: white;
	background-color: #303030;
	margin-top: 0px;
	padding: 5px 10px;
}

h1 {
	font-size: 120%;
}

h2 {
	font-size: 110%;
	margin-top: 0;
}

h3 {
	font-size: 100%;
}

.underlined {
	text-decoration: none;
	color: #303030;
	border-bottom: 2px solid #4A249C; 
}

.syndicates td, .syndicates th {
	padding: 2px 10px;
}

.data h2 {
	font-size: 100%;
	color: white;
	background-color: #4A249C;
	padding: 5px 10px;
	margin-top: 0px;
}

.mealplan td {
	padding: 15px;
	white-space: nowrap;
}

.arrivalplan th, .arrivalplan td, .participantinfo th, .participantinfo td {
	border-bottom: 2px solid #ddd;
	padding: 5px;
}

th {
	text-align: left;
}


.header {
	font-weight: bold;
	font-size: 120%;
}


.none {
	background-color: #DADADA;
}

.meal {
	font-weight: bold;
}

.no-allergy {
	background-color: #3DD560;
	padding: 0px 3px;
	border-radius: 3px;
	margin: 3px;
}

.allergy {
	background-color: #DCD755;
	padding: 0px 3px;
	border-radius: 3px;
	margin: 3px;
}


.ok, .notok, .attention {
	display: inline;
	font-weight: bold;
}

.ok {
	color: #3DD560;
}

.notok {
	color: #D53D4C;
}

.attention {
    color:  #FF8500; 
}

.faulred {
	color: #4A249C;
}

.errorlist {
	list-style-type: none;
	padding-left: 0;
}

.errorlist li {
	background-color: rgba(213, 61, 76, .1);
	border: 1px solid rgba(213, 61, 76, 1);
	color: rgba(213, 61, 76, 1);
	border-radius: 2px;
	padding: 2px;
}

#filterInput {
 margin-left: 10px;
 margin-bottom: 10px;
 font-size: 16px;
 width: 70%;
}

.haspaidfull {
	margin-left: 10px;
}

@media only screen and (max-device-width: 720px) {

	#desktop {
		display: none;
	}

	body {
		margin: 0;
	}

	.formsection table {
		border-spacing: 10px 0px;
	}
}

@media only screen and (min-device-width: 721px) {

	#mobile {
		display: none;
	}
}
