html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
	background-image: url(/assets/template/background.gif);
	background-repeat: repeat-x;
	background-color: #1c75af;
	font-family: Verdana,Arial,Helvetica,sans-serif;
}

.main {
	width: 847px;
	margin: 10px auto;
	background-image: url(/assets/template/container_bg.gif);
	background-repeat: repeat-y;
	background-color: #c1c0bf;
}

.header .header-left {
	float: left;
}
.header .header-right {
	float: right;
}
.header .row-1 {
	background-image: url(/assets/template/top_bg.jpg);
	background-repeat: repeat-x;
	height: 18px;
}
.header .row-2 {
	background-image: url(/assets/template/welcome_bg.jpg);
	background-repeat: repeat-x;
	height: 20px;
}
.header .row-3 {
	background-image: url(/assets/template/logo_bg.jpg);
	background-repeat: repeat-x;
	height: 82px;
}

.page .page-left {
	float: left;
}
.page .page-right {
	float: right;
}
.page .row-1 {
	background-image: url(/assets/template/middle_bg.jpg);
	background-repeat: repeat-x;
	height: 22px;
}
.page .content {
	padding: 10px 20px;
}
.page .content p {
	margin-bottom: 20px;
}
.page .content p:last-of-type {
	margin-bottom: 0;
}

.footer .footer-left {
	float: left;
}
.footer .footer-right {
	float: right;
}
.footer .row-1 {
	background-image: url(/assets/template/footer_bg.jpg);
	background-repeat: repeat-x;
	height: 30px;
}

a {
	color: #37474f;
}

form { padding:15px; width:300px; margin:20px auto; }

.group-icon {
	vertical-align: middle;
	margin-right: 4px;
}

.username img.group-icon {
	width: 16px;
	height: 16px;
}

.shoutbox { background:#fff; padding:10px; margin:15px; }
.shout { border-bottom:1px solid #ddd; padding:4px; font-size:12px; }
.shout span { color:#999; float:right; font-size:10px; }

.group-icon {
	width: 16px;
	height: 16px;
	vertical-align: middle;
	margin-right: 4px;
}

.username {
	font-weight: bold;
}

.shout {
	padding: 4px 0;
	border-bottom: 1px solid #ddd;
}

.time {
	float: right;
	font-size: 10px;
	color: #999;
}

/* Register Page */

.register-box {
    width: 280px;
    margin: 10px auto;
    padding: 12px;
    background: #f8f8f8;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
    font-size: 13px;
}

.register-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
	border: 1px solid #ddd;
    border-radius: 3px;
    overflow: hidden;
}

/* Login Page */

.login-box {
    width: 280px;
    margin: 10px auto;
    padding: 12px;
    background: #f8f8f8;
	border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
    font-size: 13px;
}

.login-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    overflow: hidden;
}

.icon {
    width: 37px;
    height: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E5E5E5;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
    color: #666;
    font-size: 20px;
	border-top: 2px solid #999999;
	border-left: 2px solid #999999;
	border-bottom: 2px solid #999999;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    flex: 1;
    padding: 10px 12px;
    border: none;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
    outline: none;
    font-size: 14px;
	background: #E5E5E5;
	border-top: 2px solid #999999;
	border-right: 2px solid #999999;
	border-bottom: 2px solid #999999;
}

button {
    width: 100%;
    padding: 10px;
    background: #4a90e2;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background: #357abd;
}