/*
Theme Name: wpmv-iphone-theme
Theme URI: http://pedrobachiega.com/wordpress-mobile-view/
Description: Wordpress theme for iPhone and iPod Touch
Version: 0.2
Author: Pedro Bachiega
Author URI: http://pedrobachiega.com/

*/

/* Common */
html, body, div, table, th, tr, td, p, a, small, span, h1, h2, h3, h4, form, ul, ol, li, object, embed {
	padding: 0px;
	margin: 0px;
	border: 0px;
}
body {
	background-color: #ffffff;
	color: #000000;
	font-family: Arial, Verdana, sans-serif;
	text-align: center;
}

/* Clearfix */
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
*html .clearfix {
	height: 1%;
}
.clearfix { /*IE7 fix*/
	display: inline-block;
}
.clearfix {
	display: block;
}
	
/* Structure */
#pagewrapper {
	text-align: left;
	width: 100%;
}
#headerwrapper {
	text-align: center;
	height: 60px;
}
#headerimg {
	padding: 10px;
	background: #444 url(images/header_sun.jpg) repeat-x center top;
}
#headerwrapper h1, #headerwrapper h1 a {
	color: #ffffff;
	font-size: 1.2em;
	text-shadow: rgba(0,0,0,.3) 0px 2px 2px;
	text-decoration: none;
}
#headerwrapper #description {
	color: #ffffff;
	font-size: 1em;
}
#maincontent {
	background-color: #ffffff;
	width: 100%;
}
#footer {
	background-color: #444444;
	background-image: url(images/gloss.png);
	background-repeat: repeat-x;
	text-align: center;
	padding: 10px;
	font-size: 0.75em;
	color: #ffffff;
}
#footer a {
	color: #cccccc;
}
#footer a:hover, #footer a:active {
	color: #ffffff;
}

/* Main Content */
#maincontent .post {
	border-top: 1px solid #cccccc;
	background-image: url(images/top-shadow.png);
	background-repeat: repeat-x;
}
#maincontent .posthit {
	padding: 10px 0px;
	background: #fff url(images/arrow.png) no-repeat 98% 20px;
	cursor: pointer;
}
#maincontent .posthit:active {
	background: #fff url(images/arrow-active.png) no-repeat 98% 20px;
	cursor: pointer;
}
#maincontent .postnohit {
	padding: 10px 0px;
}
#maincontent h2.thetitle, #maincontent h2.thetitle a, #maincontent h2.thetitlesingle, #maincontent .postpage h2.thetitle {
	font-size: 1.15em;
	display: block;
	width: 80%;
	color: #cc5500;
	text-decoration: none;
	margin: 0px 10px 5px;
}
#maincontent h2.thetitlesingle {
	width: 100%;
}
#maincontent .postinfo {
	color: #666666;
	font-size: 0.7em;
	margin: -2px 10px 5px;
}
#maincontent .entry, #maincontent .entrytext {
	display: block;
	color: #000000;
	font-size: 0.9em;
	margin: 5px 10px 0px;
}
#maincontent .postmetadata {
	color: #000000;
	display: block;
	font-size: 0.8em;
	border: 1px solid #cccccc;
	padding: 5px 10px;
	margin: 10px 10px 0px;
	-webkit-border-radius: 10px;
}
#maincontent .postmetadata a {
	text-decoration: none;
}
#maincontent .postmetadata a:active {
	text-decoration: underline;
}

/* Main Content Elements */
#maincontent a {
	color: #cc5500;
}
#maincontent a:active {
	color: #000000;
}
#maincontent p {
	margin-bottom: 10px;
}
#maincontent blockquote {
	color: #666666;
	font-style: italic;
}
#maincontent h1, #maincontent h2, #maincontent h3, #maincontent h4, #maincontent h5, #maincontent h6 {
	margin-bottom: 5px;
}
#maincontent ul, #maincontent ol {
	margin-left: 20px;
	margin-bottom: 10px;
}

/* Comments */
#maincontent .commentwrapper {
	margin: 10px 10px;
}
h3#comments {
	color: #333333;
	font-size: 1.05em;
}
#maincontent h3#respond {
	font-size: 1.05em;
}
#maincontent ol.commentlist li {
	font-size: 0.8em;
	padding: 1px 5px;
}
#maincontent ol.commentlist li.alt {
	background-color: #eeeeee;
}
#maincontent .commentmetadata {
	color: #666666;
	margin-bottom: 5px;
	font-size: 0.75em;
}

/* Sidebar */
ul#sidebar li.group {
	background-color: #444444;
	background-image: url(images/gloss.png);
	background-repeat: repeat-x;
	color: #ffffff;
	font-size: 1em;
	font-weight: bold;
	padding: 3px 6px;
}
ul#sidebar li.page_item, ul#sidebar li.cat-item {
	padding: 10px 0px;
	background: #fff url(images/arrow.png) no-repeat 98% 5px;
	cursor: pointer;
}
ul#sidebar li.page_item:active, ul#sidebar li.cat-item:active {
	background: #fff url(images/arrow-active.png) no-repeat 98% 5px;
	cursor: pointer;
}
ul#sidebar li.page_item, ul#sidebar li.cat-item {
	font-size: 0.9em;
	font-weight: bold;
	padding: 6px 21px;
	border-bottom: 1px solid #222222;
}

ul#sidebar li.page_item a, ul#sidebar li.cat-item a, ul.posts_list li a {
	color: #cc5500;
	text-decoration: none;
}

/* Pages */
h2.pagetitle {
	color: #666666;
	font-size: 16px;
	margin: 10px 10px 10px!important;
}

/* Previous and Next Navigation */
#maincontent .prevnextnavigation {
	margin: 10px;
	display: block;
}
.alignleft {
	float: left;
}
.alignright {
	float: right;
}

/* Images */
.leftimg {
	margin: 0 10px 5px 0 !important;
	padding: 3px;
	border: 1px solid #666666;
	float: left;
}
.rightimg {
	margin: 0 0 5px 10px !important;
	padding: 3px;
	border: 1px solid #666666;
	float: right;
}
.nowrapimg {
	margin: 10px 10px 10px 0px !important;
	padding: 3px;
	border: 1px solid #666666;
}	
.featuredimg {
	margin: 10px !important;
	padding: 3px;
	border: 1px solid #666666;
}		
.plainimg {
	margin: 0px !important;
	padding: 3px;
	border: 1px solid #666666;
}