/* Just some base styles not needed for example to function */
*, html { font-family: Verdana, Arial, Helvetica, sans-serif; }

body, form, ul, li, p, h1, h2, h3, h4, h5
{
	margin: 0;
	padding: 0;
}
body { background-color: #606061; color: #ffffff; margin: 60px 0 0; }
img { border: none; }
p
{
	font-size: 1em;
	margin: 0 0 1em 0;
}

/* Branding */
#cssninja
{
	position: absolute;
	top: 0;
	left: 0;
	background-color: #18191d;
	width: 100%;
	height: 40px;
}
	#cssninja p
	{
		color: #ffffff;
		text-align: center;
		margin: 10px 0 0 0;
	}
	#cssninja a
	{
		color: #ffffff;
		text-decoration: none;
		background: url(../assets/ico_ninja.gif) 0 0 no-repeat;
		padding: 4px 0 9px 28px;
	}
	#cssninja a:hover
	{
		text-decoration: underline;
	}
	
/* Text rotation exmaples styles */
.datebox
{
	float: left;
	background-color: #2c7ad0;
	border: 1px solid #000000;
	color: #ffffff;
	position: relative;
	margin: 0 0 0 20px;
}
	.datebox .month
	{
		display: block;
		text-align: center;
		font-size: 30px;
		line-height: 30px;
		padding: 2px 0;
		background-color: #1e528c;
		text-transform: uppercase;
	}
	.datebox .day
	{
		display: block;
		text-align: center;
		font-size: 80px;
		line-height: 80px;
		font-weight: bold;
		padding: 2px 24px 2px 0;
	}
	.datebox .year
	{
		display: block;
		writing-mode: tb-rl;
		-webkit-transform: rotate(90deg);	
		-moz-transform: rotate(90deg);
		position: absolute;
		right: 0;
		bottom: 9px;
		font-size: 24px;
	}
	*:first-child+html .datebox .year { right: -28px; } /* IE7 positions element differently to IE6 & 8 */
	.datebox span:nth-child(3)
	{
		right: -16px;
		bottom: 24px;
	}