body {
	background-color: #f3f3f3;
	font-size: 87.5%;
}

p {
	line-height: 21px;
}

table {
	border-collapse: collapse;
}


/*
 * Header
 */

#header {
	position: relative;
	height: 140px;
}
#header h1 {
	position: absolute;
	left: 150px; top: 50px;
	color: black;
	font-weight: bold;
	font-size: 32px;
}

#h2-logo {
	background: url(/images/design/h2-logo.png);
	width: 132px; height: 133px;
	position: absolute;
	left: 0; top: 0;
}
#h2-logo a {
	display: block;
	width: 100%; height: 100%;
	text-indent: -999em;
}


/*
 * Main block
 */

#main {
	padding: 1.5em;
	background-color: white;
}


/**
 * Flash messages
 */

.flash-messages p {
	color: black;
}

.flash-messages .notice {
	padding: .5em 3em;
	margin-bottom: 1em;
	border: 1px solid #B7FE1F;
	background-color: #e9fad4;
}
.flash-messages .notice p {
	margin: 0 1.5em;
}

.flash-messages .error {
	padding: .5em 3em;
	margin-bottom: 1em;
	border: 1px solid #ea6454;
	background-color: #f9d0d0;
}
.flash-messages .error p {
	margin: 0 1.5em;
}


/*
 * Subscription page
 */

#subscribe p, #unsubscribe p {
	margin-left: auto;
	margin-right: auto;
	width: 70%;
}
#subscribe form p, #unsubscribe form p, #unsubscribe p {
	text-align: center;
}


/*
 * Messages
 */

.html-version, .plaintext-version {
	border: 1px solid #cccccc;
	margin-bottom: 1.5em;
	height: 30em;
}

.html-version iframe {
	width: 100%;
	height: 100%;
}

.plaintext-version pre {
	margin: 1em;
	white-space: pre-wrap;
}
.plaintext-version {
	margin-bottom: 2em;
	overflow: auto;
}

.campaign-stats {
	border-collapse: collapse;
	font-size: small;
}
.campaign-stats th {
	border-bottom: 1px solid black;
	border-right: 1px solid #aaaaaa;
	text-align: center;
}
.campaign-stats th.description {
	text-align: left;
}
.campaign-stats td {
	text-align: center;
	border-right: 1px solid #aaaaaa;
}
.campaign-stats td.description {
	text-align: left;
}

#campaign-stats {
	width: 40em;
}
#campaign-stats th {
	border: 1px solid #aaaaaa;
	border-width: 1px 0 0 0;
	text-align: right;
}
#campaign-stats td {
	border: 1px solid #aaaaaa;
	border-width: 1px 0 0 0;
	text-align: left;
}
