html,body {
	margin: 0;
	padding: 0;
	background-color: #fff;
	font-family: "Helvetica Neue","Arial","Helvetica",sans-serif;
	font-size: 0.9em;
}
body {
	margin-left: 2em;
	margin-right: 2em;
}
#banner {
	background-color: #036;
	min-height: 1.3em;
	padding: 5px 0px 0px 2em;
	margin-left: -2em;
	margin-right: -2em;
}
.branding_link {
	background-repeat: no-repeat;
	display: inline-block;
	height: 34px;
	width: 350px;
}
#title_block {
	font-weight: 200;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #d4e2f5;
	margin-top: 0.25em;
}
.title_main {
	color: #727272;
	font-size: 40px;
}
.title_sub {
	color: #bbb;
	font-size: 40px;
}
#certificate_image {
	position: absolute;
	z-index: 20;
	top: 5px;
	right: 10px;
}
#content {
	color: #727272;
	margin-top: 2em;
	border-width: 1px;
	border-style: solid;
	border-color: #d4e2f5;
	background-color: #fff;
	padding: 2em;
	padding-right: 311px;
	background: url(/static/img/content_bg.png) repeat-x;
}
#breadcrumbs {
	list-style-type: none;
	border: 1px solid #dedede;
	height: 1.7em;
	background-color: #fff;
	margin: 0 0 1em 0;
	padding: 0;
}
#breadcrumbs li {
	line-height: 1.7em;
	color: #727272;
	display: inline-block;
}
#breadcrumbs li a {
	display: block;
	padding: 0 15px 0 0.75em;
	background: url(/static/img/crumbs.gif) no-repeat right center;
}
#page_title {
	font-size: 2em;
	margin-bottom: 0.25em;
	color: #333;
}
a {
	color: #3074ce;
}
input[type=text] {
	border: 1px solid #ccc;
}
fieldset {
	border: 1px solid #dedede;
	background: url(/static/img/content_bg.png) repeat-x;
}
/* Django field errors */
ul.errorlist {
	color: #c44;
	border: 1px solid #ccc;
	list-style: none;
	margin-left: 0;
	padding-left: 1.2em;
	text-indent: -0.8em;
}
ul.errorlist li:before {
	content: "\00BB\0020";
}
.table {
	display: table;
}
.row {
	display: table-row;
	line-height: 1.5em;
	height: 1.5em;
}
.head {
	line-height: 1em;
	height: 1em;
}
.head .cell {
	border-bottom: 1px solid;
}
.cell {
	display: table-cell;
}
.cell + .cell {
	padding-left: 1em;
}
#content > div + div {
	margin-top: 1em;
}
#certificate {
	border-width: 1px;
	border-style: solid;
	border-color: #f5ebd4;
	background: url(/static/img/cert_bg.png) repeat-x;
	color: #aeaca4;
	min-height: 200px;
	width: 50%;
	min-width: 662px;
}
#certificate_seal {
	margin-left: -3px;
	margin-top: -3px;
	margin-right: 1em;
	margin-bottom: 1em;
	height: 146px;
	width: 146px;
}
#cert_content {
	text-align: center;
	/* Subtract the height of the seal */
	margin-top: -146px;
}
#cert_content > div {
	line-height: 2em;
}
#certificate .dark {
	color: #3e3d3b;
}
#certificate .name {
	font-size: 1.6em;
	text-decoration: underline;
}
#certificate .purpose {
}
#certificate .valid {
}
#certificate .download {
}
#certificate .warning {
	color: #af6059;
	font-size: 1.4em;
}
#certificate .bigger {
	font-size: 1.2em;
}
#footer {
	position: relative;
	z-index: 50;
	color: #cacaca;
	margin-top: 3em;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #d4e2f5;
	background-color: #fff;
	background-color: rgba( 255, 255, 255, 0.9 );
	padding: 1em 2em;
	text-align: right;
}
#footer a {
	color: #98bae7;
}
#footer a:hover {
	color: #3074ce;
}
#footer .smaller {
	font-size: 0.85em;
}
@media screen and (max-width:1024px) {
	#certificate_image {
		display: none;
	}
	#content {
		padding-right: 2em;
	}
}
@media screen and (max-width:768px) {
	#certificate {
		width: auto;
		min-width: inherit;
	}
	#cert_content {
		padding-left: 140px;
		text-align: left;
	}
}
@media screen and (max-width:640px) {
	#certificate_seal {
		display: none;
	}
	#cert_content {
		margin-top: 0px;
		padding: 1em;
		text-align: center;
	}
}
