/*
Theme name: PhoneGap
Theme URI: http://wordpress.org/
Description: The PhoneGap theme
Version: 1.0
Author: Yohei Shimomae
Author URI: http://phonegap.com/
Tags: custom header, fixed width, three columns, widgets
*/

@import "reset.css";

html {
	height: 100%;
}

body {
	font-family: Helvetica, Arial, Verdana, sans-serif;
	color: #666;
	font-size: 14px;
	height: 100%;
	background: #fff url(images/bg_tile2.png) 50% 80px repeat-x;
}

body.home, body.page-id-166 {
	background: #fff url(images/bg_tile1.png) 50% 80px repeat-x;
}


a {
	color: #f08432;
	text-decoration: none;
}

p {
	line-height: 1.5em;
	font-size: 13px;
}

p + p {
	padding-top: 16px;
}

h2 {
	font-size: 20px;
}


/* layout */

#wrap {
	width: 896px;
	margin: 0 auto;
	min-height: 100%;
}

#content {
	min-height: 360px;
	padding-top: 48px;
	padding-bottom: 80px;
}

.roundify {
	border-radius: 8px;
	-khtml-border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
}

.home #content, .page-id-166 #content {
	padding-top: 0;
	padding-bottom: 0;
}

/* Header */
.logo {
	padding: 4px;
	float: left;
}

#header {
	height: 80px;
	background: #fff;
}

#header #menu {
	float: right;
	padding-top: 22px;
}

#header #menu h2 {
	display: none;
}
#header #menu li {
	float: left;
	list-style: none;
}

#header #menu a{
	color: #666;	
	text-decoration: none;
	display: block;
	font-size: 13px;
	padding: 6px 7px;
	margin: 7px 6px;
	font-weight: bold;
	float: left;
}

#header #menu a.selected, #header #menu a.selected:hover {
	color: #fff;
	background: #666;
}

#header #menu a:hover {
	color: #999;
}

/* Lead-in */

#leadin {
	height: 95px;
	background: #5a5a5a url(images/home_bg.png) 0px 0 no-repeat;
}

.home #leadin, .page-id-166 #leadin {
	height: 284px;
}

#leadin #title {
	font-size: 42px;
	color: #fff;
	font-weight: normal;
	letter-spacing: 0.025em;
	text-shadow: #333 1px 1px 2px;
	padding: 0 16px;
	padding-top: 32px;
}

.home #leadin #title, .page-id-166 #leadin #title {
	padding-top: 96px;
}


#leadin .desc {
	display: none;
}

.home #leadin .desc, .page-id-166 #leadin .desc {
	display: block;
	color: #fff;
	padding: 16px;
	font-weight: normal;
	letter-spacing: 0.05em;
	text-shadow: #333 1px 1px 2px;
	max-width: 480px;
	line-height: 1.5em;
}


/* three columns */
#three-col {
	height: 112px;
	padding-left: 4px;
}
#three-col .col {
	float: left;
	width: 222px;
	height: 85px;
	background: url(images/phone_symbian.png) no-repeat top left;
	padding: 24px 0 0 80px;
	font-size: 13px;
	letter-spacing: -0.025em;
	line-height: 1.6em;
}

#three-col .col1 {
	padding-top: 59px;
	margin-top: -35px;
}

#three-col .col2 {
	background-image: url(images/phone_blackberry.png);
	padding-top: 59px;
	margin-top: -35px;
}

/* two columns */

.two-col .first, .two-col .last{
	width: 590px;
	float: left;
}

.two-col .last {
	width: 288px;
	margin-left: 16px;
}


#promo-row {
	height: 166px;
}

#promotion, #signup {
	background: #f0f0f0;
	border: #e2e2e2 solid 1px;
	height: 140px;
}

#promotion {
	background: url(images/box_tile.png) repeat-x;
}

#signup {
	height: 142px;
	background: #585858;
	border: none;
	width: 286px;
}

#signup .inner {
	padding: 14px 14px 14px 18px;
	color: #fff;
	font-weight: bold;
}

#signup span {
	padding-top: 40px;
	display: block;
}

#signup span + span {
	padding-top: 8px;
}

#signup img {
	float: right;
}

#promotion h2 {
	background: url(images/icon_info.png) top left no-repeat;
	padding: 0 0 18px 28px;
}

#promotion .inner {
	padding: 22px;
}

#recent-posts {
	padding-bottom: 110px;
}

#recent-posts h2 {
	padding: 16px 0;
}

#recent-posts .inner, #testimonial .inner {
	padding: 0px 16px;
}

#testimonial .inner {
	padding: 10px 16px;
}

#recent-posts li {
	padding: 12px 0;
	height: 16px;
	border-bottom: 1px dotted #bbb;
}

body #recent-posts h2 {
	margin: 0;
}

#recent-posts li .title {
	float: left;
	width: 350px;
	font-size: 14px;
	height: 16px;
	overflow: hidden;
	white-space: nowrap;
}
#recent-posts li .group {
	float: right;
	font-size: 12px;
	padding: 3px 0;
}

#recent-posts li .author, #recent-posts li .date {
	font-size: 11px;
}
#recent-posts li .author {
	float: left;
	border-right: solid 1px #999;
	padding-right: 8px;
	max-width: 95px;
	text-align: right;
	overflow: hidden;
	white-space: nowrap;
}
#recent-posts li .date {
	float: left;
	text-align: right;
	max-width: 95px;
	margin: 0;
	overflow: hidden;
	white-space: nowrap;
}

#download h1 {
	background: url(images/icon_download.png) center left no-repeat;
	font-size: 24px;
	padding: 7px 0 3px 36px;
}

#download .version {
	float: left;
	width: 208px;
	height: 60px;
	margin-right: 8px;
	text-align: right;
}

#download .group {
	padding-top: 24px;
	display: block;
	height: 80px;
	border-bottom: 1px dotted #bbb;
}

#download .github, #download .github a {
	float: left;
	width: 85px;
	height: 50px;
	background: url(images/icon_github.png) bottom left no-repeat;
}

#download .github {
	margin-left: 16px;
	
}

#download .github a {
	line-height: 0.5;
}

#download .help {
	display: block;
}

#download .help a {
	font-weight: bold;
	display: block;
	margin: 16px 0 0 2px;
	background: url(images/icon_question.png) center left no-repeat;
	font-size: 13px;
	padding: 7px 0 5px 42px;
}

#archive.main h2 {
	padding-bottom: 16px;
	border-bottom: 1px dotted #bbb;
}

.storytitle {
	margin: 0 16px;
}

.blog .storytitle {
	margin: 0;
}

.meta {
	margin: 0 16px;
	color: #9a9a9a;
}

.storycontent {
	padding: 0 16px;
	margin-bottom: 32px;
}

.blog .storycontent {
	padding: 0 0px;
}



.video-container {
	background: url(images/video.png) no-repeat;
	float: right;
	height: 128px;
	width: 212px;
	margin-top: -145px;
	margin-right: 32px;
}

.video-container img {
	width: 128px;
	height: 94px;
	margin-left: 41px;
	margin-top: 13px;
}

.video-overlay {
	background: url(images/video_overlay.png) no-repeat;
	height: 104px;
	width: 176px;
	margin-top: -99px;
	margin-left: 17px;
	z-index: 1;
	position: relative;
}

.video-container a {
	opacity: 0;
	filter: alpha(opacity = 0);
	background: #fff;
	display: block;
	height: 94px;
	width: 128px;
	margin-top: -94px;
	margin-left: 41px;
	z-index: 2;
	position: relative;
}

.video-container a:hover {
	opacity: 0.1;
	filter: alpha(opacity = 10);
}

.dl.link {
	height: 24px;
	padding: 10px 0;
	border-bottom: 1px dotted #bbb;
}

.dl.link .version, .dl.link .tgz, .dl.link .zip, .dl.link .desc, .dl.link .date {
	float: left;
}

.dl.link .tgz, .dl.link .zip {
	background: url(images/bts_tgz.png) no-repeat;
	height: 26px;
	width: 38px;
	margin: 0 4px;
}
.dl.link .zip {
	background: url(images/bts_zip.png) no-repeat;
}

.dl.link .version {
	width: 40px;
	font-weight: bold;
}

.dl.link .desc {
	width: 685px;
	overflow: hidden;
	margin-left: 10px;
}

.dl.link div {
	padding: 6px 0;
	font-size: 12px;
}

table.feature {
	margin-top: 24px;
	width: 99%;
}

#supported h2 {
	border: none;
}

table.feature {
	text-transform: uppercase;
	font-size: 12px;
}

table.feature td, table.feature th {
	width: 13%;
	text-align: center;
	padding: 16px 0;
	border-left: 1px dotted #bbb;
	font-weight: normal;
}

table.feature td.device, table.feature th.first  {
	width: 36%;
	text-align: left;
	border-bottom: none;
	border-left: none;
}

table.feature tr {	
	border-bottom: 1px dotted #bbb;
}

table.feature .accept {
	background: url(images/icon_check.png) 21px 16px no-repeat;
	font-weight: bold;
}


#news h3 {
	background: url(images/icon_bubble.png) left top no-repeat;
	padding: 0px 0 2px 24px;
}

.news li {
	margin-bottom: 16px;
}
.news h4 {
	font-weight: normal;
	font-size: 13px;
	padding-top: 4px;
}

.blog .title {
	font-size: 20px;
	font-weight: bold;
}

.blog li.post .group, .blog .post .group {
	height: 16px;
	border-bottom: 1px dotted #bbb;
	color: #909090;
	font-size: 12px;
	margin-top: 8px;
	margin-bottom: 16px;
	font-style: italic;
}

.blog li.post {
	margin-bottom: 24px;
}

.blog li .buttons {
	margin: 8px 0;
	height: 26px;
}

.blog .group div {
	float: left;
	margin-right: 8px;
}

.blog .navigation {
	margin-bottom: 36px;
}

.blog .body ul {
	margin: 16px 0;
}

.blog .body ul li {
	list-style: circle;
	margin-left: 24px;
	font-size: 13px;
	line-height: 1.5;
}

#archive ul li {
	list-style: disc;
	margin-bottom: 4px;
}

#comments-group {
	margin: 0 0px;
}

#comments-group #postcomment, #comments-group #comments {
	padding: 8px 0;
	margin-top: 16px;
	border-top: 1px dotted #bbb;
}

#commentlist {
	margin-bottom: 16px;
}

#commentlist  li {
	margin: 8px;
	padding: 16px;
	padding-bottom: 8px;
	background: #f0f0f0;
	border: #e2e2e2 solid 1px;
}

#commentlist li .comment-edit-link, #commentlist li cite {
	font-size: 12px;
}
#commentlist li .comment-footer {
	margin-top: 16px;
	padding-top: 4px;
	border-top: 1px dotted #bbb;
}

#commentlist li .comment-edit-link {
	margin-left: 8px;
}
#commentlist li cite {
	margin-right: 8px;
}

form div.wpcf7-mail-sent-ok {
	border: none;
	background: #66d953;
	border-radius: 8px;
	-khtml-border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	color: #fff;
	margin: 8px 64px 16px 0;
	padding: 6px 8px;
	padding-bottom: 2px;
}

#archive li {
	margin-left: 24px;
}


form#group {
	padding: 16px;
	padding-bottom: 8px;
	background: #fff;
	border: #e2e2e2 solid 1px;
	height: 52px;
}

form#group img {
	margin-top: 12px;
}

form#group label {
	margin-top: 18px;
}

form#group img, form#group input, form#group label {
	float: left;
	margin-right: 8px;
}

form#group input[type="text"] {
	width: 400px;
}

#mission .inner {
	background: url(images/phones.png) no-repeat top left;
	min-height: 158px;
	padding-left: 160px;
}

#start .section {
	border-bottom: 1px dotted #bbb;
	padding: 12px;
	padding-right: 0;
	min-height: 102px;
}

#start.half.right {
	float: right; 
	margin-left: 0;
}

#start.half.left {
	margin-left: 0
}

#start .section.winmo {
	background: url(images/phone_winmo.png) 0px 10px no-repeat;
}

#start .section.iphone {
	background: url(images/phone_iphone.png) 0px 10px no-repeat;
}

#start .section.android {
	background: url(images/phone_android.png) 0px 10px no-repeat;
}

#start .section.blackberry {
	background: url(images/phone_blackberry.png) 0px 10px no-repeat;
}

#start .section.symbian {
	background: url(images/phone_symbian.png) 0px 10px no-repeat;
}

#start .section.palm {
	background: url(images/phone_palm.png) 0px 10px no-repeat;
}

#start .section:last-child {
	border-bottom: none;
}


#start .section a {
	padding: 12px;
	margin-left: 80px;
	display: block;
	font-size: 20px;
	font-weight: bold;
}


a.white {
	color: #fff;
}

a.gray, #start .section a {
	color: #666;
}

a.gray:hover, a.white:hover, #start .section a:hover {
	color: #f08432;
}


.l, .r {
	height: 100%;
	width: 100%;
}


/* buttons */

.button { 		
	background: url(images/bt_tile.png) repeat-x;
	width: 100px;	
	height: 26px;
	margin-top: -4px;
	display: block;
}

.button.download { 		
	background: url(images/bt_dl_tile.png) repeat-x;
	width: 100px;	
	height: 56px;
	float: left;
	margin-left: 16px;
}

.blog .button {
	float: left;
	margin-right: 4px;
}

.button.comment { 		
	background: url(images/bt_comment_tile.png) repeat-x;
	width: auto;	
	height: 26px;
	float: left;
}
.simple-button {
	background: url(images/bt_simple.png) left top no-repeat;
	width: 80px;
	display: inline-block;
	font-size: 12px;
	padding: 4px 10px;
	color: #fff;
	font-weight: bold;
	text-align: center;
	text-shadow: #333 1px 1px 2px;
}

.button.flex {
	width: auto;
	min-width: 100px;
	float: left;
}
.button .l {	background: url(images/bt_left.png) top left no-repeat;	}
.button .r {	background: url(images/bt_right.png) top right no-repeat;	}

.button.download .l {	background: url(images/bt_dl_left.png) top left no-repeat;	}
.button.download .r {	background: url(images/bt_dl_right.png) top right no-repeat;	}

.button.comment .l {	background: url(images/bt_comment_left.png) top left no-repeat;	}
.button.comment .r {	background: url(images/bt_comment_right.png) top right no-repeat;	}

.button a {
	font-size: 12px;
	padding: 7px 10px;
	color: #fff;
	float: left;
	width: 80px;
	font-weight: bold;
	text-align: center;
	text-shadow: #333 1px 1px 2px;
}

.blog .navigation .button {
	width: auto;
}

.button.comment a {
	text-align: left;
	padding-left: 36px;
	padding-right: 18px;
	font-weight: normal;
	width: auto;
}

.button.download a {
	font-size: 24px;
	padding: 15px 16px 15px 10px;
	width: 72px;
	font-weight: normal;
}

.button.flex a{
	width: auto;
	min-width: 72px;
	padding: 7px 14px;
}


.button.large { 		
	background: url(images/btl_tile.png) repeat-x;
	width: 200px;	
	height: 36px;
	margin-top: 0px;
	float: none;
	display: block;

}
.button.large .l {	background: url(images/btl_left.png) top left no-repeat;	}
.button.large .r {	background: url(images/btl_right.png) top right no-repeat;	}

.button.large a {
	font-size: 15px;
	padding: 10px 0;
	width: 200px;
}

#cta {
	height: 40px;
	width: 288px;
	float: right;
}

#cta { 		background: url(images/cta_tile.png) repeat-x;	}
#cta .l {	background: url(images/spr_cta.png) top left no-repeat;	}
#cta .r {	background: url(images/spr_cta.png) 276px -40px no-repeat;	}
#cta .first, #cta .last { 	
	height: 28px;
	padding-top: 12px;
	float: left;
	text-align: center;
	font-size: 14px;
	color: #fff;
	text-shadow: #333 1px 1px 2px;
}
#cta .first {
	width: 172px;
	background: url(images/spr_cta.png) 160px -80px no-repeat;
}
#cta .last {
	width: 116px;
	background: url(images/spr_cta.png) 0px -120px no-repeat;
}

.bt-go {
	background: url(images/bt_go.png) no-repeat;
	height: 36px;
	width: 142px;
	display: block;
	
}


/* Shared components */

.sidebar {
	float: right;
}

.two-third {
	width: 560px;
	padding-left: 16px;
}

.one-third {
	width: 272px;
	padding-right: 16px;
}

.one-fourth {
	width: 208px;
	padding-left: 16px;
}

.three-fourth {
	width: 640px;
	padding-right: 16px;
}


.half {
	width: 404px;
	margin-left: 460px;
}

.half.first {
	margin-left: 16px;
	float: left;
}

.item {
	margin-bottom: 32px;
}

.item h2, h2.subheader, #recent-posts h2, .half h2 {
	border-bottom: 1px dotted #bbb;
	padding-bottom: 8px;
	margin-bottom: 8px;
}
.text-block.padded {
	padding: 16px 0;;
}

.widget {
	padding: 16px 0;
}

.tweets li{
	padding: 8px 0;
	line-height: 1.3em;
	font-size: 13px;
}

.tweets li a {
	color: #666;
	font-weight: bold;
}

.tweets a:hover {
	color: #f08432;
}


.tweets a.timesince {
	display: block;
	color: #bbb;
	font-weight: normal;
	font-style: italic;
}

.app {
	padding: 8px 0;
	min-height: 110px;
}

.app img, .tool img{
	float: left;
}

.app .mask {
	background: url(images/mask100.png) no-repeat;
	height: 100px;
	width: 100px;
	display: block;
	z-index: 2;
	float: left;
	margin-left: -100px;
}

.app-col .mask {
	background: url(images/mask60.png) no-repeat;
	height: 60px;
	width: 60px;
	display: block;
	z-index: 2;
	float: left;
	margin-left: -60px;
}

.app h3, .app p {
	margin-left: 110px;
	padding: 4px 0;
}

.app h3 {
	font-weight: normal;
	margin-top: 0px;
}

.tool h2 {
	margin-bottom: 16px;
}

.tool p {
	min-height: 56px;
	padding: 4px 0 8px 0;
}

.tool {
	margin-bottom: 48px;
}

.tool .inner {
	margin-left: 100px;
}

.spacer-top {
	margin-top: 24px;
}

.spacer-padding-top {
	padding-top: 24px;
}

.spacer-bottom {
	margin-bottom: 48px;
}


.group-box {
	background: url(images/group_tile.png) repeat-x;
	height: 242px;
	border: 1px solid #e2e2e2;
	margin-bottom: 32px;
}

.group-box.short {
	background-image: url(images/box_tile.png);
	height: 202px;
}

.group-box .inner {
	padding: 10px;
}

.group-box .box {
	width: 272px;
}

.group-box .left {
	padding: 4px 6px;
	float: left;
}

.group-box .right {
	width: 576px;
	margin-left: 296px;
	padding-top: 16px;
}

.group-box .left.two-third {
	width: 566px;
}

.group-box .right.one-third {
	width: 272px;
	margin-left: 586px;
}

.phone-image-right {
	float: right;
	margin: -46px -26px 0 0;
	display: block;
	height: 242px;
	width: 291px;
	background: url(images/phone-right.png) no-repeat;
}

.phone-image-left {
	float: left;
	margin: -40px 0 0 -27px;
	display: block;
	height: 227px;
	width: 279px;
	background: url(images/phone-left.png) no-repeat;
}

.group-box .feed-box {
	margin-top: 4px;
	background: #fff;
	width: 100%;
	height: 184px;
	display: block;
	border: 1px solid #e2e2e2;
}

.group-box .feed-box .inner {
	padding: 8px 16px;
}

.group-box .feed-box h2 {
	display: none;
}
.group-box .widget {
	padding: 0;
}

.group-box .rsswidget {
	width: 410px;
	height: 15px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	float: left;
	color: #666;
}
.group-box .rsswidget:hover {
	color: #f08432; 
}

.group-box .widget li {
	height: 15px;
	margin: 8px 0;
}

.group-box .rss-date {
	float: right;
	color: #aaa;
	
}

.group-box .left h2 {
	padding: 8px 0;
	margin-bottom: 16px;
	border-bottom: 1px dotted #bbb;
	background: url(images/favicon_google.gif) left center no-repeat;
	padding-left: 20px;
}

#wiki.group-box .left h2 {
	background-image: url(images/favicon_pbwiki.gif);
}

.group-box.short .left h2 {
	background: none;
	padding-left: 0;
}

.sidebar h3 {
	padding-top: 3px;
	padding-bottom: 8px;
}

#twitter h3 {
	background: url(images/icon_twitter.png) left top no-repeat;
	padding: 3px 0 2px 24px;
}

.group-box .left .text-block {
	height: 126px;
}

.group-box.short .left .text-block {
	height: auto;
}


/* footer */

#footer {
	height: 52px;
	float: left;
	width: 100%;
	margin-top: -52px;
	background: #ebebeb;
	font-size: 13px;
}
#footer .inner {
	width: 896px;
	margin: 0 auto;
	padding-top: 18px;
}

#footer .copyright {
	float: left;
}
#footer h2 {
	display: none;
}
#footer li {
	float: left;
	padding: 0 8px;
}
#footer #foot-menu li {
	border-right: 1px solid #aaa;
}

#footer #foot-menu li:last-child {
	border-right: none;
}
#footer li a {
	font-weight: bold;
	color: #666;
}
#footer li a:hover {
	color: #f08432;
}

#footer #external-links {
	float: right;
}

.platform {
	margin-left: 8px;
	color: #999;
	font-size: 10px;
	height: 14px;
	background: no-repeat bottom left;
	padding: 2px;
	padding-left: 18px;
	padding-top: 4px;
	display: inline;
}

.platform.iphone, .platform.ipad {
	background-image: url(images/icon_iphone.png);
}
.platform.palm {
	background-image: url(images/icon_palm.png);
}
.platform.android {
	background-image: url(images/icon_android.png);
}
.platform.winmo {
	background-image: url(images/icon_winmo.png);
}
.platform.symbian {
	background-image: url(images/icon_symbian.png);
}
.platform.blackberry {
	background-image: url(images/icon_blackberry.png);
}
