body {
	background-attachment: fixed;
	background-color: #eee;
	background-image: url(img/bg-480.jpg);
	background-position: center top;
	background-repeat: no-repeat;
	font: 14px Arial, sans-serif;
	line-height: 1.8em;
	margin: 100px 3%;
}
#interview, #arigatou {
	background: #fff;
	box-shadow: 0 0 1px;
	opacity: 0.90;
	filter:alpha(opacity=90);
	padding: 5%;
}
h1 {
	text-shadow: 0 1px 0 #fff;
}
div {
	margin-bottom: 1em;
}
span {
	display: inline-block;
}
ul, ol {
	padding: 0;
}
li {
	margin: 0 4% 2em 8%;
}
li > ul {
	border: 1px solid #999;
	padding: 0.5em;
}
li li {
	list-style: inside none;
	margin-bottom: 1em;
}
label {
	display: block;
	margin-bottom: 0.5em;
}
.range label {
	display: inline-block;
	text-align: center;
	width: 100px;
}
.question {
	display: block;
	margin-bottom: 1em;
}
.range td {
	text-align: center;
}
input[type="radio"] {
	margin: 0 10px;
}
input[type="range"] {
	width: 85%;
}
input[type="text"] {
	display: block;
}
td {
	padding: 0 3%;
	vertical-align: top;
	width: 20%;
}
.range td {
	padding: 0;
	width: auto;
}
input[type="text"],
textarea {
	display: block;
	padding: 0.25em;
}
input, 
select {
	font-size: 1em;
}
select {
	margin-right: 20px;
}
option[disabled]{
	color: #ccc;
}
textarea {
	display: block;
	margin-bottom: 1em;
	height: 10em;
}
input[type="text"], textarea {
	font-size: 1em;
}
section:nth-child(2) input[type="text"] {
	
}
.instructions {
	background: #eee;
	border-radius: 3px;
	margin-bottom: 1em;
	padding: 0.25em;
	text-shadow: 0 1px 0 #fff;
}
table {
	border-collapse: collapse;
	margin: 0 auto 1em;
	width: 100%;
}
.error {
	background: rgb(255,255,200);
}
#pg1 input[type="text"],
#pg2 input[type="text"] {
	display: inline;
}
#pg2 span {
	display: block;
}
#background div {
	margin-bottom: 1em;
}
#pg3 li {
}
#pg3 input[type="text"],
#pg3 textarea {
	width: 100%;
}
#pg3 table input[type="text"] {
	border: 0;
	display: inline;
	text-align: center;
	text-transform: uppercase;
	width: 15px;
}
#interview, #arigatou, .page {
	display: none;
}
.conditional {
	display: none;
}
#interview.show,
#arigatou.show,
.page.show,
.show {
	display: block;
}
section {
	margin-bottom: 2em;
}
section > div {
	margin-bottom: 1.8em;
}
#progress-bar {
	display: none;
}
#progress-bar tbody {
	border:2px solid green;
	display: block;
}
#progress-bar td {
	border: 0;
	height: 1em;
	width: 100px;
}
#progress-bar td.complete {
	background-color: green;
}
#results {
	background: rgba(255,255,0,0.1);
	display: none;
	padding: 20px;
}
#pg3 input[name="q52"] {
	display: inline-block;
	margin: 0 1%;
	width: 65%;
}
.cols {
	overflow: auto;
}
.cols > div {
	float: left;
	overflow: auto;
}
.cols > div {
	margin-right: 2%;
	width: 68%;
}
.cols > div.key {
	font-size: 0.9em;
	margin-right: 0;
	width: 30%;
}
.cols > div > div {
	float: left;
	margin: 10px 0 0 0;
	min-width: 180px;
}
.cols div > span {
	display: inline-block;
	width: 70px;
}
.cols input {
	border: 0;
}
#pg3 .cols input[type="text"] {
	display: inline;
	text-align: center;
	text-transform: uppercase;
	width: 15px;
}
.key ul {
	box-shadow: 0 0 1px #000 inset;
	margin: 0;
	padding: 5%;
}
.key li:last-child {
	margin-bottom: 0;
}
.range td.max,
.range td.min {
	width: 20%;
}

/* Smartphones (portrait and landscape) ----------- */
@media (max-width: 480px) {
	body {
		background-image: url(img/bg-480.jpg);
		font-size: 0.8em;
	}
	img {
		width: 100%;
	}
	h1 {
		margin: 20px 0;
	}
}

@media (min-width: 481px){
	#pg2 span {
		display: inline;
	}
}

@media (min-width: 600px){
	body {
		margin: 100px 5%;
	}
	.content {
		padding-bottom: 7%;
	}
	section > div {
		margin-bottom: 1.4em;
	}
}

@media (min-width: 768px){
	
}

@media (max-width: 960px) {
	body {
		background-image: url(img/bg-960.jpg);
	}
}

@media (max-width: 1200px){
	body {
		background-image: url(img/bg-1200.jpg);
	}
}

@media (max-width: 1600px){
	body {
		background-image: url(img/bg-1600.jpg);
		background-size: 1680px 924px;
	}
}

@media (min-width: 1601px){
	body {
		background-image: url(img/Nagoya_Castle_from_Meijo_Park.jpg);
		background-size: 1680px 924px;
	}
}
