body {
	background: #fff;
	font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
    font-size: 12px;
}

header {
	border-bottom: 4px solid #eaeaea;
}

.g-ad {
	text-align: center;
	margin-bottom: 10px;
}

.navbar-right li {
	padding-left: 5px;
}

.navbar-right img {
	border: 1px solid #000;
}

.page-img {
	display: inline-block;
}

.test {
	background: rgb(234, 234, 234);
}

.test img {
	display: block;
}

a.active {
	color: #FF9900 !important;
}

table {
	margin-bottom: 0 !important;
}

form {
	margin-bottom: 10px;
}

form input[type=submit] {
	margin-bottom: 10px;
}

.page-title {
	color: #339900;
    font-size: 18px;
    font-weight: bold;
}

.test-img-explanation {
	padding: 20px 0;
	line-height: 1;
}

/* INDEX */
#index-body {
	background: #EDEDED;
}

#index-logo img {
	display: block;
}

#more-info-content {
	display: none;
}

#test-list {
	background: url("../img/dio.jpg") no-repeat 0px 50px;
	padding-left: 150px;
	margin-bottom: 20px;
}

.item {
	margin-bottom: 0;
}

#test-list .item a {
	background: url("../img/walnuts_button.jpg") no-repeat left;
    padding: 10px 0 10px 50px;
    display: flex;
}

#test-list .item a:hover {
	color: #339900;
	background: url("../img/walnuts_button2.jpg") no-repeat left;
	text-decoration: none;
}
.last-menu-items {
	display: inherit;
}
/* END INDEX */

/* HEARING */
.test-paragraph {
	text-align: justify;
}

.test-paragraph-img-holder img {
	display: block;
}

#voice-table {
	background: rgb(234, 234, 234);
}

#voice-table td {
	text-align: center;
}

 #voice-form {
 	background: rgb(255, 153, 0);
 	padding: 20px;
 }

 #voice-form .right {
 	display: inline-block;
 	float: right;
 }
/* END HEARING */

/* MATHS */
.math-test-header {
	background: #000;
	text-align: center;
}

.math-test-header a {
	font-size: ;
	color: #fff;
	text-decoration: none;
    line-height: 30px;
    padding: 10px;
}

.math-test-counter {
	background: #FFCC00;
	text-align: center;
	padding: 10px 0;
}

.math-pdf {
	margin-left: -32px;
	margin-right: 10px;
}

.math-lesson {
	background: #EAEAEA;
	padding-top: 10px;
}

.math-lesson input[type=radio] {
    margin-right: 3px;
}

.math-question {
	font-weight: bold;
	margin-bottom: 5px;
}
/* END MATHS */

/* MATHS RESULT */
.math-result-holder {
	background: #eaeaea;
    padding: 20px 5px;
}
/* END MATHS RESULT */

/* COLOR VISION */
.color-vision-test-counter {
	background: #000;
	color: #FFF;
	text-align: center;
	padding: 10px 0;
}

.color-vision-lesson {
	background: #eee;
	padding: 20px 0;
    border-bottom: 3px double black;
}

.color-vision-lesson img {
	margin: 0 auto;
	display: block;
}

.color-vision-input-holder {
	display: flex;
  	align-items: center;
  	justify-content: center;
  	height: 100%;
    border-left: 3px double #000;
}

.color-vision-input-holder input {
	max-width: 50px;
}

#color-vision-table thead tr th {
	background: black;
	color: white;
	text-align: center;
}

#color-vision-table tbody {
	background: #eee;
}

#color-vision-table td {
	border-top: 2px solid #fff;
	border-left: 2px solid #fff;
    border-right: 2px solid #fff;
}

#color-vision-table img {
	max-width: 120px;
   	margin: 0 auto;
    display: block;
}
/* END COLOR VISION */

/* REACTION POSITION  */
.divElement {
	width:10px;
	height:10px;
	background-color:blue;
	margin:5px;
	display: inline-block;
}

.red {
   background-color:red;
   width:10px;
   height:10px;
   margin:5px;
   display: inline-block;
}

.blue {
	background-color:blue;
	width:10px;
	height:10px;
	margin:5px;
	display: inline-block;
}
/* END REACTION POSITION */

/* REACTION TIME */
#reaction-time-table {
	background: #fff;
}

#reaction-time-table input {
	max-width: 107px;
}

#reaction-time {
	margin: 20px auto;
	display: block;
}

#start-new-reaction-time {
	margin: 0 auto;
	display: block;
}
/* END REACTION TIME */

/* CHARACTER VISION */
#character-vision-submit {
	display: none;
}

.character-vision-result {
	margin: 0;
}

.char-test {
	/*max-width: 400px;*/
}

#char-test-1 {
	word-wrap: break-word;
}

#char-test-2,
#char-test-3,
#char-test-4,
#char-test-5,
#char-test-6,
#char-test-7,
#char-test-8,
#char-test-9,
#char-test-10,
#char-desc-2,
#char-desc-3,
#char-desc-4,
#char-desc-5,
#char-desc-6,
#char-desc-7,
#char-desc-8,
#char-desc-9,
#char-desc-10 {
	display: none;
	word-wrap: break-word;
}
/* END CHARACTER VISION */

/* MOBILE */
@media only screen and (max-width: 767px) {

	.color-vision-input-holder {
		border: 0;
	}

	.color-vision-input-holder input {
		margin: 20px 0;
	}
}

@media only screen and (max-width: 575px) {

	.math-lesson {
		padding: 0 10px;
	}
}

@media only screen and (max-width: 437px) {

	.last-menu-items {
		margin-top: 10px;
	}
}
/* END MOBILE */