html { 
	margin:0; padding:0; border:0;
	overflow-y: scroll;
}
body {
	margin:0; padding:0; border:0;
	font-family: Helvetica,sans-serif;
	color: white;
	background-color:#000000;
	text-shadow: 0px 1px 1px rgba(0,0,0, 0.5);
	font-size: 15pt;
	
	background-image: url('Background.jpg');
	background-repeat:no-repeat;
	background-position:center center;
	background-attachment:fixed;
	background-size: cover;
}
i {
	font-family: MuseoSans-500Italic,sans-serif;
}
p {
	margin:0; padding:0; border:0;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
}
h2 {
	font-size: 1em;
}
#home_container {
	padding: 120px 120px 0px 120px;
}

#logo {
	font-size: 50pt;
	line-height: 42pt;
	margin-bottom: 240px;
	text-shadow: none;
}
#logo_small {
	font-size: 28pt;
	line-height: 24pt;
	margin-bottom: 60px;
	text-shadow: none;
}
#logo_small a {
	color: #fff !important;
	text-decoration: none  !important;
}
#page_container {
	padding: 60px 60px 0px 60px;
}
#page_content {
	width: 480px;
	padding: 20px;
	background-color: white;
	color: black;
	text-shadow: none;
	margin: auto;
	border-radius: 8px;
}
#page_content p {
	clear: both;
	margin-bottom: 1em;
}
#page_apptitle {
	font-size: 200%;
	padding-top: 1em;
	padding-bottom: 1em;
	font-weight: bold;
}
.thumb {
	float: left;
	margin-right: 1em;
	margin-bottom: 1em;
	display: block;
}
.thumb p {
	clear: none !important;
	margin: 0  !important;
}
.youtube {
	width: 480px;
	height: 390px;
}
.appstorelink {
	text-align: right;
	clear: both;
}
.apptitle {
	font-size: 28pt;
}
.applogo {
	width: 76px;
	height: 76px;
	margin-top: 4px;
	margin-left: 9px;
	float: right;
}
#page_apptitle .applogo {
	margin: 0 !important;
	float: left;
}
.appstorebadge {
	width: 160px;
	height: 55px;
	background-image: url('appstorebadge-55px.png'); 
	float: right;
}
.desktoponly {
	opacity: 0.6;
}
#milpa .applogo {
	background-image: url('milpa-icon.png'); 
}
#home_container a {
	color: #fff !important;
	text-decoration: none;
	border-bottom: 1px dotted #fff;
}
#home_container a:link {
    
}
#home_container a:visited {
    
}
#home_container a:hover {
	border-bottom: 1px solid #fff;
}
#home_container a:active {
	border-bottom: 1px solid #fff;
}
#page_content a {
	text-decoration: none;
}
#page_content a:link {
    
}
#page_content a:visited {
    
}
#page_content a:hover {
	text-decoration: underline;
}
#page_content a:active {
	text-decoration: underline;
}
#footer {
	clear: both;
	text-align: center;
	padding-top: 320px;
}
#page_container #footer {
	padding: 2em !important;
}
#copyright {
	padding-top: 14pt;
	padding-bottom: 20pt;
	font-size: 12pt;
	text-shadow: none;
	opacity: 0.6;
	
}

#copyright a {
	color: #ffffff !important;
}

/* Devices without Java applet support (basically, every mobile device) */
@media only screen and (max-device-width: 1024px) {
	.desktoponly {
		display: none;
	}
}

/* iPhone */
@media only screen and (max-device-width: 480px) {
	body {
		background-image: none;
		font-size: 11pt;
	}
	#home_container {
		padding: 20px 20px 0 20px;
	}
	#logo {
		font-size: 36pt;
		line-height: 32pt;
		margin-bottom: 50px
	}
	#logo_small {
		font-size: 18pt;
		line-height: 15pt;
		margin-bottom: 15px;
	}
	.youtube {
		width: 240px;
		height: 195px;
	}
	
	.apptitle {
		font-size: 15pt;
	}
	.applogo {
		width: 59px;
		height: 59px;
		margin-top: 3px;
		margin-left: 13px;
	}	
	#footer {
		padding-top: 50px;
	}
	#copyright {
		font-size: 9pt;
		padding-top: 4pt;
		padding-bottom: 4pt;
	}
	#milpa .applogo {
		background-image: url('milpa-icon-small.png'); 
	}
	#page_container {
		padding: 15px 15px 0px 15px;
	}
	#page_content {
		padding: 15px;
		width: 240px;
		border-radius: 6px;
	}
	.appstorebadge {
		width: 116px;
		height: 40px;
		background-image: url('appstorebadge-40px.png'); 
	}
}

/* iPhone landscape */
@media only screen and (max-device-width: 480px) and (orientation:landscape) {
/* Landscape layout is completely fucked on the iPhone 4, iOS 4.2. Fonts are totally
wrong. Had to force width to 320px to get the fonts to appear the correct size.*/
#home_container {
	width: 280px;
	margin: auto;
}
	/*
	#logo {
		margin-bottom: 0px;
	}
	#footer {
		padding-top: 5px;
	}
	#copyright {
		padding-top: 5px;
		padding-bottom: 5px;
	}*/
}

/* iPhone 4 */
@media only screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
	#milpa .applogo {
		background-image: url('milpa-icon-small2x.png');
		background-size: 100%;
	}
	.appstorebadge {
		background-image: url('appstorebadge-80px.png'); 
		background-size: 100%;
	}
}

/* iPad portrait */
@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
	#home_container {
		padding: 60px 58px 0px 55px;
	}
	#footer {
		padding-top: 290px;
	}
}

/* iPad landscape */
@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {
	#home_container {
		padding: 60px 54px 0px 55px;
	}
	#logo {
		margin-bottom: 140px;
	}
	#footer {
		padding-top: 130px;
	}
}