/* Overall
================================================== */

* {
	margin: 0;
	padding: 0;
}

body {
	background-color: #eee;
	color: #000;
	font: 11px 'Lucida Grande', Arial, Verdana, Helvetica, sans-serif;
	padding-bottom: 70px;
}

.iphone body {
	padding-top: 20px;
	padding-bottom: 0px;
	background: white;
}
		
@font-face {
	font-family: 'GoudyBookletter1911';
	src: local('Goudy Bookletter 1911 Regular'), local('GoudyBookletter1911'),
			url('fonts/GoudyBookletter1911.ttf.gz') format('truetype'),
			url('GoudyBookletter1911.svg#GoudyBookletter1911') format('svg');;
}

a {
	color: black;
	text-decoration: none;
	border-bottom: 1px dotted black;
}

a:hover {
	background: #C21C1B;
	color: white;
	border-bottom: none;
}

a.image,
a.image:hover {
	color: inherit;
	background: none;
	border: none;
}

.ie div#warning {
	background: red;
	padding: 20px;
	font-size: 15px;
	margin-bottom: 10px;
	height: 20px;
}

/* Content
================================================== */

div#body {
	background: white;
	border: 1px solid #aaa;
	width: 700px;
	display: table;
	margin: 20px auto 0 auto;
	padding: 10px;
}

.iphone div#body {
	margin-top: 70px;
	border: none;
}

div#body ul {
	padding: 5px 25px;
}

/* Navigation
================================================== */

div#navigation {
	position: fixed;
	left: 0px;
	right: 0px;
	bottom: 0px;
	background: #C2C2C2;
	border-top: 1px solid #888;
	text-align: left;
	-webkit-box-shadow: 0 10px 100px black;
	z-index: 100;
	height: 50px;
}

.iphone div#navigation {
	top: 0px;
}

div#navigation > ul {
	margin-left: 10px;
	padding: 10px 0;
	height: 25px;
	z-index: 102;
	position: absolute;
}

div#navigation > ul > li {
	display: inline;
	list-style-type: none;
}
		
div#navigation > ul > li > a {
	text-decoration: none;
	color: #555;
	font-size: 13px;
	text-transform: lowercase;
	display: inline-table;
	padding: 5px 15px;
	border: 1px solid transparent;
}
		
div#navigation > ul > li:first-of-type > a {
	font-size: 9px;
	padding: 8px 10px 7px 10px;
}
		
.iphone div#navigation > ul > li:first-of-type > a {
	font-size: 18px;
	padding: 3px 10px 1px 10px;
}

div#navigation > ul > li > a:hover {
	background: #900;
	color: white;
}

div#navigation > ul > li > a.selected {
	background: white;
	border: 1px solid #888;
}

div#navigation > ul > li > a.selected:hover {
	background: #900;
	border: 1px solid #888;
}

div#navigation > div#name {
	font-family: GoudyBookletter1911;
	text-transform: lowercase;
	position: fixed;
	font-size: 100px;
	right: 10px;
	bottom: 0px;
	height: 50px;
	overflow: hidden;
	color: #d0d0d0;
	z-index: 101;
	white-space: nowrap;
	cursor: default;
}

.iphone div#navigation > div#name {
	display: none;
}

div#navigation > div#name > div {
	margin-top: -36px;
}

/* Navigation for each separate Application and Widget
================================================== */

ul.applicationsNavigation {
	background-color: #CCC;
	border: 1px solid #999;
	padding: 8px 0px !important;
	text-align: center;
	width:  540px;
	margin-bottom: 25px;
}

ul.applicationsNavigation li {
	display: inline;
	margin: 0;
	padding: 0;
}

ul.applicationsNavigation li a {
	border: none;
	padding: 8px;
	margin: 0;
	height: 50px;
}

ul.applicationsNavigation li a:hover, ul.applicationsNavigation li.selected a {
	background-color: #900;
	color: white !important;
}
