/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 *
 * Detailed information about this CSS: h5bp.com/css
 *
 * ==|== normalize ==========================================================
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

html, button, input, select, textarea { font-family: sans-serif; color: #222; }

body { margin: 0; font-size: 1em; line-height: 1.4; }

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; border:1px dotted; background-color:#EEEEEE; padding:10px; }

dfn { font-style: italic; }

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

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

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

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/i/440
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/*
 * Correct overflow not hidden in IE9
 */

svg:not(:root) { overflow: hidden; }


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/*
 * 1. Correct color not inheriting in IE6/7/8/9
 * 2. Correct alignment displayed oddly in IE6/7
 */

legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 */

button, input { line-height: normal; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 * 3. Correct inner spacing displayed oddly in IE7 (doesn't effect IE6)
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }

/*
 * Re-set default cursor for disabled elements
 */

button[disabled], input[disabled] { cursor: default; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

/*
 * Remove inner padding and border in FF3/4: h5bp.com/l
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/*
 * 1. Remove default vertical scrollbar in IE6/7/8/9
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* =============================================================================
   Chrome Frame Prompt
   ========================================================================== */

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }


/* ==|== primary styles =====================================================
   Author: Raphael Arar
   ========================================================================== */

html {
   /*background-image: url(../images/bg.jpg);*/
   background-repeat: no-repeat;
   background-position: center top;
   background-attachment: fixed;
   -webkit-background-size: cover;
   -moz-background-size: cover;
   -o-background-size: cover;
   background-size: cover;
   height: 100%;
   width: 100%;
   overflow-x: hidden;
   
}

html.ie {
   background: none;
}

html.ie a {
   position: relative;
}

body {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	position: relative;
	overflow-x: hidden;
}

header {
	width: 100%;
	height: 110px;
	background: rgba(255, 255, 255, .38);
	margin: 0 0 30px 0;
	padding: 0;
}

header div {
	width: 960px;
	margin: 30px auto;
	position: relative;
}

header div h1 {
	text-indent: -9999px;
	width: 448px;
	height: 62px;
	background: url(../images/MusicForJournaling-Title.png) no-repeat;
	top: 5px;
	left: 0px;
	position: absolute;
}

header div p {
	right: 0px;
	position: absolute;
	color: #fff;
	font-size: 12px;
	width: 375px;
	top: 5px;
}

header div p#halsey-link-block {
	right: 22px;
	text-align: right;
	position: absolute;
	color: #fff;
	font-size: 14px;
	width: 375px;
	top: 100px;
	font-weight: bold;
}

header div p#halsey-link-block a {
	color: #ccc;
}

header div p#halsey-link-block a:hover {
	color: #aaa;
}



nav {
	position: relative;
	width: 960px;
	height: 70px;
	margin: 0 auto;
	background: url(../images/top-app-bar.png) no-repeat;
}

nav ul#additional-nav {
	position: absolute;
	left: 795px;
	top: 3px;
}

nav ul {
	display: inline;
	position: absolute;
	top: 0;
	left: 0;
	padding: 0;
	height: 100%;
	width: 960px;
}


nav ul li, nav ul#additional-nav li {
	float: left;
	list-style: none;
	display: inline;
	text-align: center;
	margin-right: 0px;
}

nav ul li a {
	width: 146px;
	height: 70px;
	text-indent: -9999px;
	display: block;
}

nav ul#additional-nav li#voice-map a {
	width: 64px;
	height: 65px;
	text-indent: -9999px;
	display: block;
	background: url(../images/VoiceMap-Button.png);
}

nav ul#additional-nav li#info-button a {
	width: 64px;
	height: 65px;
	text-indent: -9999px;
	display: block;
	background: url(../images/InfoButton.png);
	margin-right: 20px;
}

nav ul#additional-nav li#voice-map a:hover, nav ul#additional-nav li#info-button a:hover {
	opacity: .85;
}

nav ul li#listen-nav a {
	background: url(../images/Listen-Up.png);
}

nav ul li#listen-nav a:hover {
	opacity: .85;
}

nav ul li#listen-nav.active a {
	background: url(../images/Listen-Down.png);
}

nav ul li#listen-nav.active a:hover {
	opacity: 1;
}

nav ul li#speak-nav a {
	background: url(../images/Speak-Up.png);
	margin-left: -1px;
}

nav ul li#speak-nav a:hover {
	opacity: .85;
}

nav ul li#speak-nav.active a {
	background: url(../images/Speak-Down.png);
}

nav ul li#speak-nav.active a:hover {
	opacity: 1;
}


div#main {
	clear: both;
	/*background: #f6faf3;
	background: rgba(246, 250, 243, .75);
	border: 0px solid #dde7d4;*/
	background: url(../images/dm_bg.jpg) no-repeat center center;
	-moz-box-shadow: inset 0 0px 100px rgba(255,255,255,1);
	-webkit-box-shadow: inset 0 0px 100px rgba(255,255,255,1);
	box-shadow: inset 0 0px 100px rgba(255,255,255,1);
	width: 780px;
	margin: 0px;
	padding: 0px;
	color: #333;
	height: 700px;
}

div#main input[type='checkbox'] {
	-khtml-appearance: none;
	 background: url(../images/Checkbox.png) no-repeat center center;
	 width: 30px;
	 height: 30px;
	 vertical-align: middle;
	 margin: 2px 0px 10px 5px;
}

div#main input[type='checkbox']:checked {
	background: url(../images/Checkbox-Checked.png) no-repeat center center;
}

div#main input[type='radio'] {
	-khtml-appearance: none;
	 background: url(../images/radio.png) no-repeat center center;
	 width: 20px;
	 height: 20px;
	 float: left;
	padding: 10px;
	margin: 0;
}

div#main input[type='radio']:checked {
	 background: url(../images/radio-on.png) no-repeat center center;
}

div#main ul.speak-question-list li label {
	padding: 0px 0px 0px 10px;
	float: left;
	width: 145px;
	margin-top: 1px;
}

div#content {
	width: 800px;
	border: 0px solid #b1b4ac;
	float: left;
	clear: both;
	padding: 350px 0px 0px 30px;
	margin: 0px 0px 0px 0px;
	/*-moz-box-shadow: inset 0 0px 20px rgba(0,0,0,.25);
	-webkit-box-shadow: inset 0 0px 20px rgba(0,0,0,.25);
	box-shadow: inset 0 0px 20px rgba(0,0,0,.25);
	background-color: #CCDEEC;*/
	height: 350px;
}

div#content input[type='text'], div#content select {
	width: 100%;
	font-family: "Helvetica Neue", Helvetica, Arial sans-serif;
}

div#content input[type='text'] {
	padding: 5px;
	width: 98%;
}

div#content ul.filtering-options {
	float: left;
	margin: 0;
	padding: 0;
	width: 50%;
}

div#content ul.question-list {
	margin: 0;
	padding: 0;
	width: 440px;
	position: relative;
}


div#content ul.speak-question-list {
	margin: 0;
	padding: 0;
	float: left;
	width: 430px;
}

div#content ul.map-list {
	margin: 0;
	padding: 0;
	float: left;
	clear: both;
	width: 100%;
}


div#content ul li {
	list-style: none;
	font-size: 16px;
}

div#content ul li.question {
	font-weight: bold;
	font-size: 20px;
	margin-bottom: 15px;
}


div#content ul.speak-question-list li#one.question {
	background: url(../images/1.png) no-repeat left center;
	padding: 40px 0px 0px 63px;
	height: 50px;
	width: auto;
	font-size: 20px;
	float: none;
	border: none;
}

div#content ul.speak-question-list li#two.question {
	background: url(../images/2.png) no-repeat left center;
	padding: 40px 0px 0px 63px;
	height: 50px;
	font-size: 20px;
	width: auto;
	border: none;
}

div#content ul.map-list li#three.question {
	background: url(../images/3.png) no-repeat left center;
	padding: 40px 0px 0px 63px;
	height: 50px;
	width: 100%;
	font-size: 20px;
	border: none;
}

div#content ul.speak-question-list li {
	background: #d5dfef;
	padding: 15px 10px 15px 10px;
	width: 185px;
	height: 50px;
	font-size: 14px;
	float: left;
	border: 1px solid #cbd0d6;
}

div.float-block {
	float: left;
	width: 50%;
	margin: 0;
	padding: 0;
}

div.full-float-block {
	float: left;
	width: 600px;
	margin: 30 auto;
	position: relative;
}

div.full-float-block #update-stream {
	display: block;
	border: none;
	background: url(../images/Update-Button.png) no-repeat;
	width: 344px;
	height: 77px;
	text-indent: -999px;
	margin: 20px auto 0px auto;
}

div#content #update-stream:hover {
	/*opacity: .85;*/
	border: 1px solid #888888;
}

div#jquery_jplayer_1 {
	float: left;
	clear: both;
	width: 600px;
	margin: 0 auto;
	position: relative;
}

div.jp-interface ul.jp-controls a {
	display:block;
	overflow:hidden;
	text-decoration: none;
}

ul.jp-controls {
	width: 100%;
	padding: 20px 0px 0px 0px !important;
	margin: 0px !important;
}


a.jp-play {
	background: url(../images/Listen-Button.png) no-repeat;
	width: 344px;
	height: 77px;
	text-indent: -999px;
	margin: 0 auto;
}

a.jp-pause {
	background: url(../images/PAUSE-button.png) no-repeat;
	width: 344px;
	height: 77px;
	text-indent: -999px;
	margin: 0 auto;
}

a.jp-play:hover, a.jp-pause:hover {
	/*opacity: .85;
	background: url(../images/Listen-Button_hover.png) no-repeat;*/
	border: 1px solid #888888;
}




.stepcontent {
	position: relative;
	left: 50px;
	width: 290px;
}


#playButton{
	background: url(../images/ListenToButton.png) no-repeat;
	width: 338px;
	height: 74px;
	text-indent: -999px;
	margin: 0 auto 0 -48px;
	border: none;
}

#do_it_again{
	background: url(../images/RecordAgainButton.png) no-repeat;
	width: 338px;
	height: 74px;
	text-indent: -999px;
	margin: 0 auto 0 -48px;
	border: none;
}


#startOver {
	/*Add styles for Make Another Recording button here*/
	background: url(../images/MakeAnotherRecordingButton.png) no-repeat;
	width: 424px;
	height: 77px;
	text-indent: -999px;
	border: none;
}

#goToVoiceMap {
	/*Add styles for View Voice Map button here*/
	background: url(../images/ViewVoiceMapButton.png) no-repeat;
	width: 424px;
	height: 77px;
	text-indent: -999px;
	border: none;
}


#controls {
	position: relative;
	width: 100%;
}


#recording-complete {
	display: none;
}


div#save_button {
	position: relative;
	width: 100%;
	text-align: center;
}

div#controls div#play_button {
	margin: 10px auto;
	width: 240px;
}

div#remaining_time {
	text-align: center;
	width: 100%;
	margin-bottom: -50px;
}

div#remaining_time p {
	font-size: 2em;
	text-align: center;
	font-weight: bold;
	display: none;
}

div#remaining_time div#count {
	font-size: 2.5em;
	font-style: italic;
	display: none;
}

div#upload_status {
	width: 100%;
	text-align: center;
	font-style: italic;
	font-weight: bold;
	font-size: 1.5em;
	padding: 5px 0px;
}

#recorderApp {
	display: block;
	visibility: visible;
	margin: 100px auto;
	z-index: 10;
}

#recordButton {
	display: block;
	border: none;
	background: url(../images/RecordButton.png) no-repeat;
	width: 258px;
	height: 259px;
	text-indent: -999px;
	margin: -80px auto 0px auto;
}

#recordButton.stop {
	display: block;
	border: none;
	background: url(../images/StopRecording.png) no-repeat;
	width: 258px;
	height: 259px;
	text-indent: -999px;
	margin: 20px auto 0px auto;
}

#recordButton:hover {
	opacity: .9;
}

ul.slides li p, ul.slides li div {
	padding-left: 40px;
	padding-right: 40px;
}

.clear {
	clear: both;
}

h1.talking-topic {
	font-size: 24px;
	font-weight: normal;
}

#mapblock
{
	width: 100%; 
	margin: 0;
	padding: 0;
    height: 400px;
    position: relative;
}

#mapframe
{
    background-color: #e7e7e7;
    padding: 8px;
    position: absolute;
    top: 90px;
    visibility: hidden;
	width: 100%;
	margin: 0;
}




#mapframe #mapwindow
{   
	width: 100%;
	height: 300px;
	margin: 0;
	padding: 0;
}

#startButton {
	text-indent: -999px;
	background: url(../images/NextButton.png) no-repeat center center;
	width: 328px;
	height: 83px;
	margin: 30px auto;
	text-align: center;
	border: none;
	display: none;
}

#legalIAgree {
	text-indent: -999px;
	background: url(../images/Agree-Button.png) no-repeat center center;
	width: 348px;
	height: 83px;
	margin: 30px auto;
	text-align: center;
	border: none;
}

#secondStep {
	display: none;
}

#thirdStep {
	display: none;
}

#fourthStep {
	display: none;
}

#fourthStep p {
	width: 960px;
	margin: 0 auto;
	float: left;
	clear: both;
	padding: 0;
}

#fourthStep h1 {
	
}

#fourthStep input {
	margin: 20px 5px 20px 5px;
}

.spinner {
	margin: 5px auto;
	visibility: hidden;
}

.spinner span {
	margin-left: 5px;
}

.pad_logo {
	padding-left: 15px;
}








/* ==|== media queries ======================================================
   EXAMPLE Media Query for Responsive Design.
   This example overrides the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */
@media only screen and (max-width: 1024px) and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
  html {
  	font-size: .8em;
  }
}


@media only screen and (max-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
  html {
  	font-size: .65em;
  }
}



/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }



/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
