/* -----------------------
Base styles
------------------------*/

body
{
	margin: 0;
	padding: 0;
	color: #666;
	background-color: #fff;
	font-family: Raleway, Tahoma, Arial, Sans-Serif;
	font-size: 1em;
	line-height: 1.2;
}

h1,h2,h3,h4,h5
{
	margin: 0 0 .5em;
	font-weight: 500;
	line-height: 1.1;
}

h1 {
	font-size: 1.625em;
	color: #29619C;
	text-align: center;
} /* 26px */
h2 { font-size: 1.375em; color:#474;} /* 22px */
h3 {
	font-size: 1.125em;
	color: #FF0000;
} /* 18px */
h4 { font-size: 1em; } /* 16px */
h5 { font-size: .875em; } /* 14px */

p
{
	margin: 0 0 1.3em;
	line-height: 1.3;
	color: #29619C;
	text-align: center;
}

blockquote
{
	padding: 0.5em 1.5em;
	margin: 0 0 2em;
	border-left: 4px solid #eee;
	font-size: 0.925em;
	color: #669;
}

hr
{
	height: 0;
	margin-top: 1em;
	margin-bottom: 2em;
	border: 0;
	border-top: 1px solid #ddd;
}

table
{
	background-color: transparent;
	border-spacing: 0;
	border-collapse: collapse;
	border-left: 1px solid #ddd;
	margin-left: auto;
	margin-right: auto;
}

th, td
{
	padding: .5em 1em;
	vertical-align: top;
	text-align: left;
	border-right: 1px solid #ddd;
}

a { color: #29619C; cursor: pointer;}
a:link { color: #29619C; }
a:visited { color: #29619C; }
a:focus { color: #29619C; }
a:hover { color: #E60; }
a:active {
	color: #666;
}

/* -----------------------
Layout styles
------------------------*/

.container
{
	max-width: 60em;
	margin: 0 auto;
	color: #29619C;
}

.nav-bar
{
	text-align:center;
	background: #fff;
	padding: 0.75em 0.75em;
	color: #29619C;
	position:fixed;
	top:0px;
	z-index:999;
	width:100%;
	border-bottom: 1px solid #ddd;
	opacity:0.98;
}

.header
{
	color: #fff;
	padding: 3.5em 1.25em 0.75em 1.25em;
	text-align:center;
	background-color: #29619C;
}

.header-heading {
	margin: 0;
	line-height: 1.3;
	color: #FFFFFF;
}

.content
{
	overflow: hidden;
	padding: 1em 1em;
	background-color: #fff;
}

.col1,.col2
{
	margin-bottom: 1em;
}

.footer
{
	color: #aaa;
	background: #444;
	padding: 1em 1.25em;
	text-align:center;
}

div.imageleft 
{
	float:left;
	margin-top:0em;
	margin-right:1.3em;
	margin-bottom:1.3em;
}

div.imageright 
{
	float:right;
	margin-top:0em;
	margin-left:1.3em;
	margin-bottom:1.3em;
}

table.sound td
{
	padding: 0.25em 0.55em;
	text-align:center;
}

table.sound td.description{
	color:#29619C;
	padding:0.5em;
	font-style:italic;
}

.stephane{
	font-family: Handlee,cursive;
	color:#474;
	font-size: 1.1em;
}

.hand{
	font-family: Handlee,cursive;
}

.orange{
	color:#474;
	font-weight:bold;
}

.centerButtons{
	text-align:center;
	margin-top:1em;
}

.theGrid{
	width: 300px;
	height: 350px;
	margin: 0 auto;
	position: relative;
}

#under{
	position: relative;
	left: 0px;
	top: 0px;
	width:100%;
	z-index: 0;
}

#over0,#over1,#over2,#over3,#over4,#over5{
	position: absolute;
	z-index:2;
	left: 0px;
	top: 0px;
	color:#29619C;
	font-size: 26px;
	font-family: Handlee,cursive;
}

#overlay{
	position: absolute;
	z-index:1;
	left: 0px;
	top: 0px;
	opacity:0.5;
	filter:alpha(opacity=50); /* For IE8 and earlier */
}


/* -----------------------
Single styles
------------------------*/

.img-responsive { max-width: 100%; }

.btn
{
	color: #fff !important;
	background-color: #474;
	border-color: #222;
	display: inline-block;
	padding: .25em 1em;
	margin-bottom: 0.5em;
	font-weight: 400;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	border: 1px solid transparent;
	border-radius: .2em;
	text-decoration: none;
	font-size: .925em;
}

.btn:hover
{
	color: #fff !important;
	background-color: #29619C;
}

.btn:focus
{
	color: #fff !important;
	background-color: black;
}

.btn:active
{
	color: #fff !important;
	background-color: #29619C;
	font-weight: bold;
	font-size: 0.925em;
}


.table
{
	width: 100%;
	max-width: 100%;
	margin-bottom: 20px;
}


/* -----------------------
Wide styles
------------------------*/

@media (min-width: 48em)
{
	.col1
	{
	float: none;
	width: auto;
	margin-right: auto;
	color: #573514;
	}

	.col2
	{
		float: left;
		width: 36%;
		font-size: 95%;
	}
	.content
	{
		padding: 1.5em 3.5em;
	}
}

/* -----------------------
Print styles
------------------------*/

@media screen{
	.hideOnPrint{
	visibility:visible;
	color:#666;
	}
}
@media print{
	.hideOnPrint{
	visibility:visible;
	}
}


/* === SoundManager === */

a.sm2_button {
 position:relative;
 display:inline-block; /* If you worry about old browser bugs, Firefox 2 might not like this and may need -moz-inline-box instead. :D */
 width:30px;
 height:30px;
 text-indent:-9999px; /* don't show link text */
 overflow:hidden; /* don't draw inner link text */
 vertical-align:middle;
 /* and, a bit of round-ness for the cool browsers. */
-webkitborder-radius: 10px;
-mozborder-radius: 10px;
border-radius: 10px;
 margin-top:-1px; /* vertical align tweak */
 /* safari 3.1+ fun (/W3 working draft extension, TBD.) */
 -webkit-transition-property: hover;
 -webkit-transition: all 0.2s ease-in-out;
 -moz-transition: all 0.2s ease-in-out 0s; /* firefox 4 (couldn't sort out -moz-transform vs. MozTransform, so, "all" for now) */
 -o-transition-property: background-color; /* opera 10.5 */
 -o-transition-duration: 0.15s;
 /* weird IE 6/7 display fixes, and/or I'm doing it wrong */
 *text-indent:0px;
 *line-height:99em;
 *vertical-align: top;
}

a.sm2_button:focus {
 outline:none; /* maybe evil, but don't show the slight border outline on focus. */
}

a.sm2_button,
a.sm2_button.sm2_paused:hover {
	background-color:#29619C;
	background-image:url(http://myhearingtest.net/image/arrow-right-white.png);
	/* where possible, use data: and skip the HTTP request. Fancy-pants. Would use short-hand background: for above, but IE 8 doesn't override background-image. */
 background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAKCAYAAABmBXS+AAAAbklEQVQY02NgQAL//v1jZMAF/v//vwuIs9HEUBUBTbj4HwIeA3EGVsVAxtn/qOAVUGM8uknIiv4hsV8A5ZKxKfoLVvnvHwifAzLtMKwDSQLBVSBti27dJajkcSD2RJODO3wtkOOMz/tMSJJYAxMA5dmsL0IfubQAAAAASUVORK5CYII=);

 *background-image:url(http://myhearingtest.net/image/arrow-right-white.gif); /* IE 6+7 don't do DATA: URIs */
	background-repeat:no-repeat;
	background-position:11px 50%;

 *background-position:11px 7px; /* IE 6 again */
}

a.sm2_button:hover,
a.sm2_button.sm2_playing,
a.sm2_button.sm2_playing:hover {
	background-color:#F00;
}

a.sm2_button.sm2_playing,
a.sm2_button.sm2_playing:hover {
 -moz-transform:rotate(90deg);
 -webkit-transform:rotate(90deg);
 -ms-transform:rotate(90deg);
}

a.sm2_button.sm2_paused,
a.sm2_button.sm2_paused:hover {
 background-color:#666;
}
.content .container p #result_box {
	color: #29619C;
}
.text-2 {
	color: #29619C;
}
