/*
Theme Name: iPhone
Theme URI: http://iphone.galloway.me.uk/
Description: Matt Galloway's iPhone applications website theme.
Version: 1.0
Author: Matt Galloway
Author URI: http://www.galloway.me.uk/

(c) Matt Galloway 2009
*/

/* meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/ */
html,body,div,span,applet,object,iframe,
h1,h2,h3,h4,h5,h6,p,blockquote,pre,
a,abbr,acronym,address,big,cite,code,
del,dfn,em,font,img,ins,kbd,q,s,samp,
small,strike,strong,sub,sup,tt,var,
dl,dt,dd,ol,ul,li,
fieldset,form,label,legend,
table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}
/* remember to define focus styles! */
:focus{outline:0;}
body{line-height:1;color:black;background:white;}
ol,ul{list-style:none;}
/* tables still need 'cellspacing="0"' in the markup */
table{border-collapse:separate;border-spacing:0;}
caption,th,td{text-align:left;font-weight:normal;}
blockquote:before,blockquote:after,
q:before,q:after{content:"";}
blockquote,q{quotes:"" "";}
/* Tables still need 'cellspacing="0"' in the markup. */
table{border-collapse:separate;border-spacing:0;}
caption,th,td{text-align:left;font-weight:400;}
/* Remove possible quote marks (") from <q>,<blockquote>. */
blockquote:before,blockquote:after,q:before,q:after{content:"";}
blockquote,q{quotes:"" "";}
a img{border:none;}



/* MAIN */
body {
	font-size: 12px;
	font-family: "Lucida Grande","Lucida Sans Unicode",Verdana,Arial,sans-serif;
	background: #eef;
	color: #333;
	margin: 0;
	padding: 0;
}

a, a:link, a:visited { 
	color: #21759b;
	text-decoration: none;
}
a:hover, a:active {
	color: #d54e21;
}

.holder {
	width: 900px;
	margin: 0 auto;
}

#page, #blog {
	clear: both;
}

#header {
	clear: both;
	height: 50px;
	border-bottom: 1px solid #333;
}
#header h1 {
	float: left;
}

#banner {
	clear: both;
	background: #333;
	border-bottom: 1px solid #333;
}

#subbanner {
	clear: both;
	font-size: 3em;
	font-family: Georgia, serif;
	font-weight: bold;
	color: #333;
	border-bottom: 1px dashed #ddd;
	background: #efefff;
	padding: 10px 0;
}

#footer {
	clear: both;
	border-top: 1px solid #333;
	padding: 10px 0;
	text-align: center;
	line-height: 1.5em;
}



/* NAVIGATION */
#menu {
	float: right;
	height: 50px;
	padding: 0 20px 0 0;
}
#menu li {
	float: left;
	display: block;
	line-height: 30px;
	text-align: center;
	height: 30px;
	background: #ccc;
	margin: 10px 0px 10px 10px;
	border-radius: .4em; 
	-webkit-border-radius-topright: .4em; 
	-webkit-border-radius-topleft: .4em;
	-webkit-border-radius-bottomright: .4em;
	-webkit-border-radius-bottomleft: .4em; 
	-moz-border-radius-topright: .4em;
	-moz-border-radius-topleft: .4em;
	-moz-border-radius-bottomright: .4em;
	-moz-border-radius-bottomleft: .4em;
	-webkit-border-radius: .4em;
}
#menu li a, #menu li a:link, #menu li a:visited {
	padding: 10px;
	color: #5c5c5c;
	text-decoration: none;
	border: 0;
}
#menu li a:hover, #menu li a:active, #menu li.current_page_item a {
	font-weight: bold;
}
#menu li ul {
	display: none;
	position: relative;
}
#menu li:hover ul {
	display: block;
}
#menu li ul li {
	clear: left;
	float: left;
	display: block;
	margin: 0;
	font-size: 0.8em;
	width: 100%;
}
#menu li ul li a, #menu li ul li a:link, #menu li ul li a:visited {
	padding: 0 10px;
	background: #eef;
	color: #333;
	display: block;
}
#menu li ul li a:hover, #menu li ul li a:active, #menu li ul li.current_page_item a {
	background: #666;
	color: white;
	display: block;
	font-weight: normal;
}
#menu li ul li.current_page_item a {
	background: #ccc;
	color: #333;
}

#searchform {
	float:left;
}
#searchform #searchbox {
	border: 1px solid #ccc;
	color:#AAAAAA;
	float:left;
	margin-right:6px;
	-moz-border-radius-bottomleft:3px;
	-moz-border-radius-bottomright:3px;
	-moz-border-radius-topleft:3px;
	-moz-border-radius-topright:3px;
	-webkit-border-radius: 3px;
	vertical-align: middle;
	height: 15px;
	width: 140px;
	padding: 5px;
	margin-top: 11px;
	line-height: 24px;
}
#searchform #searchsubmit {
	background: #f8f8f8;
	border: 1px solid #ccc;
	color:#aaa;
	float:left;
	-moz-border-radius-bottomleft:3px;
	-moz-border-radius-bottomright:3px;
	-moz-border-radius-topleft:3px;
	-moz-border-radius-topright:3px;
	-webkit-border-radius: 3px;
	cursor:pointer;
	font-size:10px;
	height:26px;
	margin-top: 11px;
	padding:0 4px;
}
#searchform #searchsubmit:hover {
	background: #ccc;
	color: #444;
}



/* BANNER */
#banner h1 {
	color: #fff;
	font-size: 4em;
	padding: 20px 0;
}



/* PAGE */
#content {
	width: 675px;
	float: left;
	padding: 10px 0 10px 0;
}
#sidebar {
	width: 200px;
	float: right;
	padding: 10px 0 10px 10px;
	text-align: center;
}

#page #pagenav {
	width: 100%;
	margin-bottom: 10px;
}

#page #subpages {
	width: 100%;
	height: 20px;
	background: #fff;
	padding: 10px 10px;
	margin-bottom: 10px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}
#page #subpages ul li {
	float: left;
	line-height: 20px;
	padding: 0px 10px;
}

#page .imageblock {
	text-align: center;
}
#page .textblock {
	background: #fff;
	padding: 10px;
	margin-bottom: 20px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

#page #sidebar ul.applist div.icon img {
	width: 100px;
}
#page #sidebar ul.applist li {
	clear: right;
	float: right;
	display: block;
	margin: 0 0 10px 0;
	padding: 10px;
	width: 100px;
	text-align: center;
	color: #333;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}
#page #sidebar ul.applist li.current_page, #page #sidebar ul.applist li.current_page:hover {
	background: #ccc;
	color: #333;
}
#page #sidebar ul.applist li:hover { 
	background: #666; 
	color: #eef;
}
#page #sidebar ul.applist li .name {
	font-weight: bold;
	margin: 5px 0 0 0;
}



/* BLOG */
#blog .navigation {
	padding: 10px 10px;
	margin-bottom: 10px;
}
#blog .navigation .alignleft {
	float: left;
}
#blog .navigation .alignright {
	float: right;
}
#blog .post, #blog .page {
	background: #fff;
	border-radius:5px;
	-moz-border-radius-bottomleft:5px;
	-moz-border-radius-bottomright:5px;
	-moz-border-radius-topleft:5px;
	-moz-border-radius-topright:5px;
	-webkit-border-radius: 5px;
	padding: 10px 10px;
	margin: 0 0 20px 0;
}
#blog .heading {
	padding: 0 0 10px 0;
	border-bottom: 1px solid #ddd;
}
#blog .heading small {
	font-size: 0.8em;
}
#blog .heading h1 {
	margin-bottom: 5px;
}
#blog .entry, #page .entry {
	padding: 5px 0;
	text-align: left;
	line-height: 1.5;
}
#blog .postmetadata {
	clear: both;
	color: #999999;
	font-size: 9px;
	margin: 0;
	padding: 5px 0 0 0;
	text-align: left;
	border-top: 1px solid #ddd;
}
#blog p, #page p {
	line-height: 1.6em;
	padding-bottom: 10px;
}
#blog blockquote, #page blockquote {
	margin: 5px 30px 10px 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
}
#blog .entry b, #blog .entry strong, #page .entry b, #page .entry strong { font-weight: bold; }
#blog .entry em, #page .entry em { font-style: italic; }
#blog .entry ul, #page .entry ul {
	list-style: disc;
	margin-left: 20px;
}
#blog .entry ol, #page .entry ol {
	list-style: decimal;
	margin-left: 22px;
}
#blog .entry li, #page .entry li {
	margin-bottom: 5px;
}
div#comments {
	border-radius: 3px;
	-moz-border-radius-bottomleft:3px;
	-moz-border-radius-bottomright:3px;
	-moz-border-radius-topleft:3px;
	-moz-border-radius-topright:3px;
	-webkit-border-radius: 3px;
	background: #fff;
	padding: 10px;
	margin-top: 20px;
}
#comments li {
	border-bottom: 1px dashed #ccc;
}
#comments .comment-author {
	margin-top: 10px;
	margin-bottom: 5px;
}
#comments .comment-meta {
	font-size: 0.8em;
}
#comments textarea {
	border: 1px solid #ccc;
	color:#333;
	border-radius: 3px;
	-moz-border-radius-bottomleft:3px;
	-moz-border-radius-bottomright:3px;
	-moz-border-radius-topleft:3px;
	-moz-border-radius-topright:3px;
	-webkit-border-radius: 3px;
	width: 90%;
	margin: 10px 0;
}

#blog #sidebar ul li h2 {
	font-size: 1.5em;
	border-bottom: 1px solid #ddd;
	margin: 0 0 5px 0;
}
#blog #sidebar ul li {
	margin: 0 0 20px 0;
}
#blog #sidebar ul ul li {
	margin: 0;
	line-height: 1.3;
	margin-bottom: 5px;
}



/* CONTENT */
h1, h2, h3, h4, h5, h6, h7, h8 {
	font-family: Georgia, serif;
}
h1 {
	font-size: 1.5em;
	font-weight: bold;
	color: #069;
}

h2 {
	font-size: 1.3em;
	color: #069;
}

h3 {
	font-size: 1.2em;
	color: #069;
	margin-top: 10px;
}
