/* 
  HTML5 ? Boilerplate 
  
  style.css contains a reset, font normalization and some base styles.
  
  credit is left where credit is due.
  much inspiration was taken from these projects:
    yui.yahooapis.com/2.8.1/build/base/base.css
    camendesign.com/design/
    praegnanz.de/weblog/htmlcssjs-kickstart
*/

/* 
  html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
  v1.4 2009-07-27 | Authors: Eric Meyer & Richard Clark
  html5doctor.com/html-5-reset-stylesheet/
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}                  

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { 
    display:block;
}

nav ul { list-style:none; }

blockquote, q { quotes:none; }

blockquote:before, blockquote:after,
q:before, q:after { content:''; content:none; }

a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }

ins { background-color:#ff9; color:#000; text-decoration:none; }

mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }

del { text-decoration: line-through; }

abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }

/* tables still need cellspacing="0" in the markup */
table { border-collapse:collapse; border-spacing:0; }

hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }

input, select { vertical-align:middle; }

/* END RESET CSS */


/* fonts.css from the YUI Library: developer.yahoo.com/yui/
   Refer to developer.yahoo.com/yui/3/cssfonts/ for font sizing percentages

  There are three custom edits:
   * remove arial, helvetica from explicit font stack
   * we normalize monospace styles ourselves
   * table font-size is reset in the HTML5 reset above so there is no need to repeat
*/
body { font:13px/1.231 Verdana, sans-serif; *font-size:small; } /* hack retained to preserve specificity */

select, input, textarea, button { font:99% Verdana, sans-serif; }

/* normalize monospace sizing 
 * en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome
 */
pre, code, kbd, samp { font-family: monospace, sans-serif; }


/*
 * Base
 */

/* Mobile phones will adjust text size when the screen orientation changes unless you include a special CSS parameter */
body {
    -webkit-text-size-adjust: none;
	-ms-text-size-adjust: none;
}

/* 
 * Helper classes 
 */
 
/* prevent callout */
.nocallout {-webkit-touch-callout: none;}

/* Text overflow with ellipsis */
.ellipsis {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/* A hack for HTML5 contenteditable attribute on mobile */
textarea.contenteditable {-webkit-appearance: none;}

/* A workaround for S60 3.x and 5.0 devices which do not animated gif images if they have been set as display: none */
.hidden {position: absolute; left: -100%;}



/* Primary Styles
   Author:Shaun Lee
*/

.fltlft {
	float: left;
}

.fltrht {
	float: right;
}

.clrflt {
	clear: both;
}

a:link, a:visited {
	color: #2966c4;
	text-decoration: none;
}

a:hover, a:active {
	color: #2966c4;
	text-decoration: underline;
}

body {
	background: url(/images/bg.jpg) repeat-x center top;
}

#container {
	margin: 0 auto;
	width: 981px;	
}

#columnA {
	width: 642px;
	float: left;
}

#columnB {
	margin: 0 0 0 118px;
	width: 221px;
	float: left;
}

#logo {
	display: block;
	width: 642px;
	height: 146px;
	background: url(/images/logo.jpg) no-repeat;
	text-indent: -999px;
}

/* Intro */
#intro {
	width: 642px;
	height: 410px;
	background: url(/images/intro_bg.jpg) no-repeat;
	padding: 30px 0 0 30px;
	color: #000;
}

.measure {
	font-size: 26px;
	font-weight: bold;
	font-style: italic;
	color: #fff;
	width: 350px;
	padding: 20px 0 40px 0;
	margin: 0;
}

#intro .intro {
	font-size: 16px;
	color: #fff;
}

#play {
	display: block;
	width: 200px;
	height: 105px;
	margin: -145px 0 0 429px;
	padding: 0;
	text-indent: -999px;
}

#play:link {
	background: url(/images/buttons.jpg) 0px -68px no-repeat;
}

#play:hover, #play:active, #play:visited {
	background: url(/images/buttons.jpg) 0 -173px no-repeat;
}

#news h2 {
	margin: 60px 0 0 0;
	font-size: 18px;
	color: #004d89;
}

#news p {
	color: #333;
	padding: 5px 0;
	margin: 5px 0;
	border-top: dotted #ccc 1px;
}

#news p .date {
	color: #999;
	font-weight: normal;
}

#intro ul li {
	width: 160px;
	float: left;
	margin: 0 20px;
	padding: 0 0px;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	list-style: none;
	text-shadow: 1px 1px 3px #05669c;
	filter: dropshadow(color=#05669c, offx=1, offy=1);
}

/* Ad */
#doctors {
	width: 221px;
	padding: 0 12px;
	background: url(/images/doctors_bg.png) no-repeat;
}

#doctors .ad {
	padding: 165px 0px 0px 20px;
	width: 160px;
	height: 578px;
}

/* Tracker */
#tracker {
	width: 221px;
	height: 162px;
	background: url(/images/tracker_bg.jpg) no-repeat;
	color: #fff;
}

#tracker h2 {
	width: 145px;
	height: 83px;
	text-align: center;
	font-size: 12px;
	font-weight: normal;
    margin: 0;
    padding: 45px 0 0 36px;
	color: #fff;
}

#tracker .yba {
	text-align: center;
	width: 145px;
	height: 20px;
	font-size: 14px;
	font-weight: bold;
	margin: 0 auto;
	padding: 18px 0 0 0;
}

#tracker .complete {
	text-align: center;
	width: 145px;
	height: 20px;
	font-size: 12px;
	font-weight: normal;
	margin: 0 auto;
}

#tracker h1 {
	text-align: center;
	width: 145px;
	height: 70px;
	font-size: 72px;
	font-weight: bold;
    margin: 0 auto;
}

#tracker p a {
	display: block;
	width: 159px;
	height: 22px;
	font-style: italic;
	font-weight: bold;
	font-size: 12px;
	text-decoration: none;
	text-align: center;
	color: #2e240f;
	margin: 0 0 0 32px;
	padding: 6px 0;
}

#tracker p a:link {
	background: url(/images/buttons.jpg) 0px 0px no-repeat;
}

#tracker p a:hover, #tracker p a:active, #tracker p a:visited {
	background: url(/images/buttons.jpg) 0 -34px no-repeat;
}

/* Game pages*/
#game {
	width: 640px;
	height: 480px;
	padding: 10px 1px 0 31px;
	color: #000;
}

#flash {
	color:#fff;
}

#flash a {
	color:#fff;
	text-decoration: underline;
}

#commentary {
	float: right;
	width: 400px;
	padding: 30px 0 0 0;
	margin: 0 0 0 0;
	color: #000;
}

h2 {
	font-size: 24px;
	font-weight: normal;
	color: #2e6bc9;
	margin: 10px 0 0 0px;
}

h3 {
	font-size: 20px;
	font-weight: normal;
	color: #84b3fc;
	margin: 10px 0 0 0px;
}

h4 {
	font-size: 16px;
	font-weight: normal;
	color: #2e6bc9;
	border-top: 1px dotted #2e6bc9;
	border-bottom: 1px dotted #2e6bc9;
	margin: 20px 0 0 0px;
}

.readintro {
	font-size: 14px;
	font-style:italic;
	color: #2e6bc9;
}

#commentary ol {
	padding: 0px 0 10px 40px;
	list-style-position: outside;
	list-style-type: decimal;
}

#commentary p {
	padding: 0 0 10px 0;
}

#share {
	padding: 50px 0 0 0;
	text-align: center;
	width: 212px;
	float: right;
}

/* Done */
#donePage {
	width: 640px; /* Space for 642px*/
	height: 480px;
	background: url(/images/done_bg.jpg) no-repeat;
}

#donePage h2 {
	text-align: center;
	padding: 30px 0 0 0;
	color: #2966c4;
}

#donePage h3 {
	color: #2966c4;
}

#donePage .ctaText {
	text-align: center;
	padding: 10px 0;
}

#donePage .ctaButton {
	text-indent: -9999px;
	display: block;
	margin: 0 auto;
	width: 270px;
	height: 70px;
	background: url(/images/buttons.jpg) 0 -280px no-repeat;
}

#donePage .ctaButton:hover {
	background: url(/images/buttons.jpg) 0 -355px no-repeat;
}

.doneColumn {
	width: 240px;
	padding: 10px 36px;
	margin: 0 2px;
	float: left;
	background: url(/images/done_cols_bg.jpg) no-repeat;
}

.doneColumn h3 {
	padding: 10px 0;
}

#doneAd {
	width: 300px;
	margin: 80px auto;
}

/* About */
#aboutPage {
	width: 600px; /* Space for 642px - padding*/
	background: url(/images/done_bg.jpg) no-repeat;
	padding: 20px;
}

#aboutPage ul { 
	list-style: disc inside;
}

#aboutPage ul, #aboutPage ol  { 
	padding: 10px;
	margin: 0 0 0 10px;
}

#aboutPage p {
	padding: 10px 0;
}


/* Footer */
footer {
	clear: both;
	padding: 20px 0 0 0;
	width: 100%;
}

footer #bg {
	background: url(/images/footer_bg.jpg) repeat;
	
}

footer #footerCTA {
	display: block;
	width: 400px;
	height: 156px;
	background: url(/images/buttons.jpg) 0 -440px no-repeat;
	float: left;
}

footer #holder {
	display: block;
	width: 980px;
	height: 156px;
	margin: 0 auto;
}

footer ul {
	float: left;
	width: 200px;
	margin: 20px 0 0 0;
	color: #2966c4;
	list-style: none;
}

footer ul li a {
	font-weight: bold;
	text-decoration: none;
	color: #2966c4;
}

footer ul li a:hover, footer ul li a:active, footer ul li a:visited {
	text-decoration: underline;
	color: #0d3168;
}

/*
 * Media queries for responsive design
 */


/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
/* Styles */
}

/* Smartphones (landscape) ----------- */
@media only screen and (min-width : 321px) {
/* Styles */
}

/* Smartphones (portrait) ----------- */
@media only screen and (max-width : 320px) {
/* Styles */
}

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
/* Styles */
}

/* iPads (landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
/* Styles */
}

/* iPads (portrait) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
/* Styles */
}

/* iPhone 4 and high pixel ratio devices ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
/* Styles */
}




