body {
	background-color: rgb(167, 178, 143);
	background-image: url(images/background.png);
	background-repeat: no-repeat;
	background-position: top center;
	font-family: Helvetica, Arial, sans-serif;
	margin: 0px 16px 16px 16px;
}

#header {
	width: 36.5em;
	min-height: 149px; /*for the logo*/
	margin: 48px auto 44px auto;
	padding-left: 180px;
	font-size: 14px;
	color: rgb(71, 71, 56);
	text-shadow: 0px 1px rgb(196, 202, 189);
}

#header h1 {
	font-size: 48px;
	font-weight: bold;
	text-shadow: 0px 2px 2px rgb(218, 218, 201);
	margin: 0px;
}

.attribution {
	float: right;
	margin-top: 0.8em;
	font-size: 12px;
}

#header p {
	margin: 1em 0 0 0;
}

#header a {
	color: rgb(71, 71, 56);
	text-decoration: underline;
}
#header a:hover { color: rgb(102, 76, 56); }
#header a:active { color: rgb(128, 80, 56); }

#outerbox {
	width: 1301px;
	max-width: 1301px;
	min-width: 658px;
	margin: 0 auto;
	padding-top: 40px; /*for the tabs (including shadow)*/
}

.leftboxfloat {
	float: left;
	width: 10px; /*anything lower than half the box width*/
}

.rightboxfloat {
	float: right;
	width: 10px;
}

.floatclear {
	clear: both;
}

#boxa {
	width: 658px;
	margin-right: -648px; /*-width+leftboxfloat.width*/
	position: relative;
	z-index: 3;
}

#boxb {
	width: 658px;
	margin-left: -648px; /*-width+rightboxfloat.width*/
	position: relative;
	z-index: 1;
}

.tab {
	position: absolute;
	width: 318px;
	height: 40px;
	top: -40px;
	background-image: url(images/tab.png);
	background-repeat: no-repeat;
	background-position: bottom center;
	text-align: center;
	cursor: pointer;
}

.tab h2 {
	font-size: 20px;
	font-weight: bold;
	color: rgb(133, 116, 89);
	text-shadow: 0px 1px white;
	margin: 18px 29px 0px 29px;
}

#taba {
	left: 0px;
}

#tabb {
	right: 0px;
}

.leftboxtop {
	width: 658px;
	height: 29px;
	background-image: url(images/boxtopleft.png);
	background-repeat: no-repeat;
	background-position: top center;
}

.rightboxtop {
	width: 658px;
	height: 29px;
	background-image: url(images/boxtopright.png);
	background-repeat: no-repeat;
	background-position: top center;
}

.boxbackground {
	width: 658px;
	background-image: url(images/boxyellow.png);
	background-repeat: repeat-y;
	background-position: top center;
}

.boxcontent {
	padding: 1px 0px 1px 0px; /*mainly to keep margins of contained boxes from collapsing*/
	margin: 0 39px;
	font-size: 12px;
	color: rgb(67, 58, 45);
}

.boxcontent a { color: rgb(67, 58, 102); }
.boxcontent a:hover { color: rgb(128, 80, 56); }
.boxcontent a:active { color: rgb(204, 90, 56); }

.boxbottom {
	width: 658px;
	height: 29px;
	background-image: url(images/boxbottom.png);
	background-repeat: no-repeat;
	background-position: top center;
}

h3 {
	margin-top: 2em;
}

#screenshotiphone {
	display: block;
	background-image: url(images/boxwhite.png);
	background-repeat: repeat-y;
	background-position: top center;
	width: 480px;
	height: 328px;
	padding: 60px 89px 0px 89px;
}

#screenshotmac {
	display: block;
	background-image: url(images/boxwhite.png);
	background-repeat: repeat-y;
	background-position: top center;
	width: 592px;
	height: 392px;
	padding: 24px 33px 8px 33px;
}

.downloadouter {
	background-color: rgb(204, 215, 177);
	background-image: url(images/downloadtop.png);
	background-repeat: no-repeat;
	background-position: top left;
	margin: 0.8em 0;
}

.downloadinner {
	background-image: url(images/downloadbottom.png);
	background-repeat: no-repeat;
	background-position: bottom left;
	width: 500px; /*580-padding*/
	min-height: 40px; /*otherwise the arrow is cut off at the bottom*/
	padding: 14px 60px 14px 20px;
	color: rgb(35, 43, 32);
}

.downloadinner a.downloadlink {
	display: block;
	font-size: 16px;
	font-weight: bold;
	color: rgb(71, 87, 65);
	margin-bottom: 0.5em;
}

.downloadinner a.downloadlink:hover {
	text-decoration: underline;
}

.appstorebadge {
	float: right;
	border: none;
	margin-right: -40px; /*offset the additional padding of .downloadinner to cover the arrow*/
}

.centerboxfloat {
	width: 658px;
	margin: 16px auto 0 auto;
	padding-top: 40px; /*for the tabs (including shadow)*/
}

.lowerbox {
	width: 658px;
	position: relative;
}

.fineprint {
	text-align: center;
	font-size: 10px;
	color: rgb(71, 71, 56);
	text-shadow: 0px 1px rgb(196, 202, 189);
}
