/* Reset styles */
* {box-sizing: border-box;}
ul, li {list-style: none;}
/* Reset styles */
body {
	background: #111;
}
.wrapper {
	max-width: 900px;
	margin: 0 auto;
}
.wrapper .sign-in {
	background: #fff;
	margin: 10% auto;
	padding: 10px;
	width: 30%;
}
.wrapper .sign-in input {
	display: block;
	margin: 10px 0;
	padding: 10px;
	width: 100%;
}
.wrapper .sign-in input[type="submit"] {
	background: #05f;
	border: none;
	border-radius: 5px;
	color: #fff;
	cursor: pointer;
}
header, .add-item, .settings {
	background: #555;
}
header {
	border-radius: 8px;
	display: flex;
	justify-content: space-between;
	margin: 10px 0;
	padding: 5px;
}
header a i {
	margin-right: 5px;
}
nav {
	display: flex;
}
nav a {
	color: #aaa;
	border-right: 1px solid #aaa;
}
nav a:hover, nav a.active {
	color: #fff;
	font-weight: bold;
}
nav a, .profile .logout {
	font-size: 16px;
	padding: 5px 10px;
	text-decoration: none;
}
.profile {
	padding: 5px 0;
}
.profile .logout {
	background: #f22;
	color: #fff;
	border-radius: 5px;
}
.content main {
	border-radius: 8px;
}
.content .people {
	background: #fff;
}
.content table {
	border-collapse: collapse;
	width: 100%;
}
tr, th {
	border-bottom: 1px solid #ccc;
}
table tr:last-child {
	border: none;
}
table th, table td {
	padding: 5px;
	text-align: center;
}
table tr td a {
	text-decoration: none;
}
table tr td:nth-child(2) {
	text-align: left;
}
table td.error {
	color: #f00;
}
table td.success {
	color: #0a5;
}
table td.action a {
	color: #fff;
	padding: 10px;
}
table td.action .edit {
	background: #0a5;
}
table td.action .del {
	background: #f22;
}
.content main form {
	display: flex;
	flex-wrap: wrap;
}
.content main form section label {
	color: #0df;
	font-weight: bold;
	margin: 5px 0;
}
.content main form section input,
.content main form section textarea {
	border-radius: 5px;
	font-size: 16px;
	margin-bottom: 20px;
	padding: 5px;
}
.content main form button {
	background: #0a5;
	border: 1px solid #ccc;
	border-radius: 5px;
	flex: 1;
	font-size: 20px;
	color: #fff;
	cursor: pointer;
	font-weight: bold;
	margin: 10px;
	padding: 10px;
}
.content .add-item form section {
	display: flex;
	flex-basis: 33.33%;
	flex-direction: column;
	padding: 10px;
}
.content .add-item form section label b {
	color: #f44;
}
.content .settings form section {
	display: flex;
	flex-basis: 50%;
	flex-direction: column;
	padding: 10px;
}
.content .settings .message-type {
	background: #ccc;
	display: flex;
	flex-direction: columns;
	padding: 10px;
	height: 100%;
}
.content .settings .message-type p {
	align-self: flex-end;
	background: #d89110;
	padding: 10px;
	border-radius: 20px 20px 0 20px;
}