body {
	margin: 3em;
}

abbr {
	cursor: help;
	color: blue;
	font-weight: bold;
	margin-left: 0.5em;
}

.front {
	margin: 0;
	padding: 0;
}

.front .hi {
	position: absolute;
	width: 100%;
	top: 20%;
	text-align: center;
}

.front h1 {
	color: lightGrey;
	font-size: 5em;
	margin-bottom: 0.5em;
}

.front .hi span {
	margin: 0 1em;
}

.front a.register, .front a.rules {
	position: absolute;
	top: 5em;
}

.front a.register {
	right: 5em;
}

.front a.rules {
	left: 5em;
}

.front a.restore {
	position: absolute;
	bottom: 5em;
	right: 5em;
}

em.remark, em.important {
	display: block;
	margin-top: 1em;
}

em.remark {
	color: gray;
}

em.important {
	color: forestGreen;
	font-weight: bold;
}

.register fieldset {
	border: 0;
	margin-bottom: 2em;
}

input.wrong {
	background: pink;
	border: 2px solid red;
}

.error {
	color: red;
}

.main h1 {
	color: lightGrey;
	font-size: 2.5em;
}

.main h2 {
	color: gray;
	margin-bottom: 1em;
}

.menu {
	margin-left: 0;
	padding-left: 0;
}

.menu li {
	display: inline;
	margin-right: 1em;
}

.menu .selected {
	background: aliceBlue;
}

.content {
	margin-top: 3em;
}

.menu a {
	color: dimGray;
}

.menu a:hover {
	color: black;
}

.user {
	position: absolute;
	top: 3em;
	right: 3em;
	text-align: right;
}

.user a {
	display: block;
}

.user .login {
	color: teal;
	font-size: 2em;
}

.user .logout {
	color: darkGray;
	font-size: 0.8em;
	margin-top: 1em;
}

.stats, .payments, .refs {
	width: 100%;
	border-collapse: collapse;
}

.stats th, .stats td, .payments th, .payments td, .refs th, .refs td {
	padding: 0.4em;
}

.stats th, .payments th, .refs th {
	text-align: left;
	background: lavender;
}

.stats th, .payments th, .refs th, .stats th abbr {
	color: darkSlateGray;
}

.stats th abbr {
	border-bottom: 1px dotted;
}

.stats td, .payments td, .refs td {
	border-top: 1px solid lightGrey;
}

.stats .sub td {
	background: lightGray;
}

.stats .sub td.name {
	padding-left: 1em;
}

.params {
	margin-bottom: 2em;
}

.params label {
	font-weight: bold;
}

.register h2 {
	color: gray;
	margin-bottom: 2em;
}

.stats .sum td {
	background: papayaWhip;
	color: maroon;
}

#profile fieldset, #domains fieldset, #domain fieldset  {
	padding: 1em 1em 0 1em;
	margin-bottom: 2em;
}

#profile input, #profile label, #domain input, #domain label, #domain select {
	margin-bottom: 1em;
}

#profile label {
	display: inline-block;
	width: 8em;
}

#domains fieldset li label {
	font-weight: bold;
}

#domain label {
	display: inline-block;
	width: 10em;
}

#domain #title, #domain #description, #domain #keywords, #domain #name {
	width: 50%;
}

#domain textarea {
	display: block;
	width: 60%;
	height: 10em;
	margin-bottom: 3em;
}

#domain #jumpto {
	width: 60%;
}

.payments .pending td.status {
	color: darkRed;
}

.payments .paid td.status {
	color: darkGreen;
}

.payments .current td.status {
	color: midnightBlue;
}

.years {
	margin-bottom: 1em;
}

.weeks {
	margin-bottom: 2em;
}

.years h2, .weeks h2 {
	display: inline;
	color: dimGray;
	font-size: 1.3em;
	margin-right: 1em;
}

.years ul, .weeks ul {
	margin-left: 0;
	padding-left: 0;
	display: inline;
}

.years li, .weeks li {
	display: inline;
	margin-right: 0.5em;
	font-size: 1.2em;
}

.years li.current, .weeks li.current {
	background: lavender;
	font-weight: bold;
}

a.ads {
	position: absolute;
	top: 3em;
	left: 50%;
	color: lightGrey;
}

.count {
	position: absolute;
	right: 3em;
	color: darkOrange;
}

.footer {
	margin-top: 10em;
	border-top: 1px solid lightGrey;
	position: relative;
	font-size: 0.8em;
	line-height: 2em;
}

.footer, .footer a {
	color: gray;
}

.footer span {
	position: absolute;
	top: 1em;
}

.footer .rules {
	left: 0;
}

.footer .support {
	right: 0;
}

.footer .news {
	left: 10%;
}

#news {
	font-size: 0.9em;
}

#news .date {
	font-weight: bold;
	color: fireBrick;
	border-bottom: 1px dotted gray;
	padding-bottom: 0.2em;
	margin-bottom: 0.5em;
}

#news .body {
	margin-bottom: 3em;
}

#sub ul {
	margin: 2em 0;
}

.sms h1 {
	color: grey;
}

.sms table {
	width: 100%;
}

.sms table td {
	border: 1px solid lightGrey;
}

.sms table th {
	text-align: left;
}