.practice-test-playfield {
	padding: 10px 0 30px;
	background-color: #f2f2f2;
}

.quiz-wrapper {
	width: 900px;
	min-height: 300px;
	margin: 0 auto;
	text-align: center;

	color: #333;
	background-color: #fff;

	border-radius: 10px;
    position: relative;
    -webkit-box-shadow: 0 0 30px rgba(0,0,0,0.08);
    -moz-box-shadow: 0 0 30px rgba(0,0,0,0.08);
    box-shadow: 0 0 30px rgba(0,0,0,0.08);
}


/* feedback button */
.mcq-feedback-dialog.ui-dialog-content.ui-widget-content {
	text-align: center;
	padding: 30px;
}


.mcq-feedback-dialog .mcq-feedback-content textarea {
	width: 540px;
	height: 200px;
	font-size: 18px;
	border-radius: 5px;
}

.mcq-feedback-dialog .mcq-feedback-content .error {
    font-size: 18px;
    margin-bottom: 10px;
}


/* mcq notes */
/*  override default values */
.mcq-notes .mcq-notes-button {
	position: fixed;
	top: 32%;
	left: 120px;
	right: auto;
	padding: 10px;
	background: none;
	border: none;
	cursor: pointer;
}
.mcq-notes .mcq-notes-result {
	position: fixed;
	top: 25%; /* above the btn */
	left: 50px; /* depending on the msg len */
	right: auto;
}

.mcq-feedback .mcq-feedback-button {
	display: block;

    position: fixed;
    top: 45%;
    left: 130px;
    font-size: 14px;

    text-align: center;
    cursor: pointer;
    text-align: center;
    z-index: 100;

    /*padding: 10px 5px;
    color: #fff;
    background-color: #33abe5;

    border: 1px solid #aaa;
    border-color: #CDCCCB;
    border-radius: 100% 100%;

    -webkit-box-shadow: 0 1px 0 0 rgba(255,255,255,0.2) inset,0 -1px 0 0 rgba(0,0,0,0.05) inset;
    box-shadow: 0 1px 0 0 rgba(255,255,255,0.2) inset,0 -1px 0 0 rgba(0,0,0,0.05) inset;

    -webkit-transition: all 0s ease-out;
    -moz-transition: all 0s ease-out;
    -o-transition: all 0s ease-out;
    transition: all 0s ease-out;
    */
}

.mcq-feedback .mcq-feedback-button img {
	max-width: 60px;
}

.answer-explanation .learner-questions-wrapper {
	margin: 10px auto 20px;
	text-align: left;
}

.answer-explanation .learner-questions-wrapper .qmark-icon {
	max-width: 32px;
}

.learner-questions-wrapper .learner-quests-link,
.answer-explanation .mcq-feedback-button {
	display: inline-block;
	vertical-align: top;
}

.answer-explanation .mcq-feedback-button img {
	max-height: 24px;
}


.mcq-feedback-button:hover {
	cursor: pointer;
	/*
	background-color: #e7c30b;
    background-position: 0 -15px;
    */
}

.mcq-feedback-thank-you,
.mcq-notes-success {
	position: absolute;
    top: 100px;
    left: 380px;
    color: #20a8e9; /*#F77020;*/
    background: #fff;
    font-size: 32px;
}
.mcq-notes-success {
	color: #87c52e;
}


/* hint button */
.hint-wrapper {
	margin: 0px 0 60px;
}
.hint-wrapper .show-hint-btn {
	max-width: 250px;
}
.hint-wrapper .show-hint-btn:hover {
	cursor: pointer;
}

.hint-wrapper .hint-image {
    width: auto;
    max-width: 640px;
    max-height: 640px;
}



/* progress bar */
.quiz-wrapper .ui-progressbar {
	/* reset this to make it consistent with our general font */
	/* font: 500 15px/20px "museo-sans-rounded",sans-serif;*/
	font: inherit;
	height: 35px;
}
.quiz-wrapper .ui-progressbar-value {
	position: relative;
	background: #87c52e; /*#F77020;*/
	border: 1px solid #87c52e; /*#F77020; */
}

.quiz-wrapper .ui-progressbar-value .progress-value {
	position: absolute;
	font-size: 20px;
	left: 30%;
	top: 20%;
}

/* quiz name */
.quiz-wrapper .quiz-name {
    position: absolute;
    top: 7px;
    right: 10px;
	color: #666;
    font-size: 18px;
}

/* quiz */
.quiz {
	position: relative;
	padding: 0 30px 30px;
}

.quiz ul {
	list-style: none;
}

.quiz ul li {
	display: inline-block;
}


/* header */
.quiz-header {
	padding: 0 30px 0;
}
.quiz-header li {
	vertical-align: top;
	/*border: 1px solid;*/
	display: inline-block;
}

.quiz-header .timer-wrapper,
.quiz .content-wrapper {
	width: 60%;
	text-align: center;
}

.quiz-header .web-click-to-play:hover {
	cursor: pointer;
}

.quiz-header .test-timer {
	width: 120px;
	margin: 0 auto;
}

/* only for p7 * p8 */
.quiz-header .second-test-timer-wrapper {
	width: 150px;
    position: fixed;
    bottom: 0px;
    right: 0px;
    border-radius: 5px;
    padding: 5px 10px;
    color: #333;
    background-color: #F3EFE0;
    outline: none;
    z-index: 100;
}

.quiz-header .did-wrongly-the-last-time-msg {
	display: none; /* by default */
	text-align: center;
	background-color: #fbd309;
	color: #111;
	padding: 5px 10px;
	border-radius: 10px;
	font-size: 14px;
}

.quiz-header .scores-wrapper,
.quiz .options-wrapper {
	width: 38%;
}


.quiz-header .scores-wrapper {
	position: relative;
	height: 100px;
}

.quiz-header .total-score-wrapper {
    width: 110px;
    position: absolute;
    margin-top: 0;
    top: 10px;
    right: 0;

    cursor: default;
    padding: 10px;
    border-radius: 10px;
   	text-align: center;
}

.total-score-wrapper .total-score-label {
	font-size: 14px;
}

.total-score-wrapper .total-score {
	display: block;
	font-size: 24px;
	margin-top: 10px;
}

.quiz-header .mcq-score-gained {
	font-size: 80px;
	color: #87c52e; /*#F77020;*/
	position: absolute;
    top: 20%;
    left: 35%;
    visibility: hidden;
    z-index: 1000;
}

/* transcript wrapper */

.transcript-wrapper {
    width: 100%;
    padding: 0 0 15px 0;
}

.transcript-wrapper .transcript {
	font-size: 32px;
	line-height: 40px;
	margin-bottom: 20px;
}

.transcript-wrapper .translate-label {
	display: none;
	cursor: pointer;
    font-size: 16px;
    width: 120px;
    padding: 5px 10px;
    margin: 0 auto;
    line-height: 25px; /* to make it match the line height of translation */
}

.transcript-wrapper .transcript .filled-blank {
    box-shadow: inset 0 -1px 0 #000;
    -webkit-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
    padding-bottom: 1px;
    text-decoration: none;
}
.transcript-wrapper .transcript .vocab-def,
.transcript-wrapper .translation .vocab-trans {
	color: #0478d1;
    border-radius: 5px;
}
/* users click on the words in the question to be scrolled down below */
#part5-quiz > .transcript-wrapper .vocab-def {
	cursor: pointer;
}
.transcript-wrapper .transcript .vocab-def.selected,
.transcript-wrapper .translation .vocab-trans.selected {
	font-weight: bold;
}

.transcript-wrapper .translation {
	font-size: 22px;
	line-height: 25px;
}

/* annotated vocabs listing */
.annotated-vocabs-wrapper {
	display: none;
    margin: 60px auto 0;

    font-size: 18px;
    text-align: justify;

	/*background-color: #DFDDDF; */
	background-color: #f2fcfe;
    border: 1px solid #d0e1f2;

	padding: 30px 60px;
    border-radius: 10px;
}

.annotated-vocabs-wrapper .title {
	display: inline-block;
    margin-bottom: 20px;
    padding: 5px 15px;
    color: #fff;
    background: #87c52e;
    border-radius: 2px;
    font-size: 24px;
}

.annotated-vocabs-wrapper ul.vocabs-listing {
	font-size: 20px;
}

.annotated-vocabs-wrapper .vocabs-listing .ex-trans,
.annotated-vocabs-wrapper .vocabs-listing .notes {
	font-size: 16px;
}

.annotated-vocabs-wrapper .vocabs-listing > li {
    display: block;
    padding: 7px 0;
    /*border-top: 2px solid #ABAAAB;*/
    border-top: 1px solid #d0e1f2;
    text-align: left;
}

.annotated-vocabs-wrapper .vocabs-listing li > span {
	display: inline-block;
    vertical-align: middle;
}

.annotated-vocabs-wrapper .vocabs-listing .radio {
	background: #ABAAAB;
    border-radius: 100% 100%;
    width: 5px;
    padding: 5px;
    margin-right: 10px;
}
.annotated-vocabs-wrapper .vocabs-listing .radio.selected {
	background: #33abe5;
}

.annotated-vocabs-wrapper .vocabs-listing .vocab {
	font-size: 22px;
}
.annotated-vocabs-wrapper .vocabs-listing .vocab.selected {
	color: #0478d1;
	font-weight: bold;
}

.annotated-vocabs-wrapper .vocabs-listing .patterns-wrapper {
	list-style: disc;
}

.annotated-vocabs-wrapper .vocabs-listing .patterns-wrapper > li {
	margin-left: 40px;
	display: list-item;
}


.annotated-vocabs-wrapper .vocabs-listing .patterns-wrapper .pattern {
	color: #fa5b0f;
}

.annotated-vocabs-wrapper .vocabs-listing .example-wrapper .ex-label {
	font-size: 80%;
    vertical-align: middle;
}

.annotated-vocabs-wrapper .vocabs-listing .example-wrapper .ex-content {
	vertical-align: middle;
}


#part5-quiz .annotated-vocabs-wrapper .audio-icon {
	display: inline-block;
	margin: 0 5px 0 5px;
	vertical-align: middle;
}

.annotated-vocabs-wrapper .notes {
	font-style: italic;
}
.annotated-vocabs-wrapper .vocabs-listing .occurrence-notes {
	margin-top: 10px;
}

#part5-quiz .annotated-vocabs-wrapper .transcript-wrapper {
	margin: 0;
}
#part5-quiz .annotated-vocabs-wrapper .transcript-wrapper .translation {
	margin: 0 auto;
}

#part5-quiz .learn-vocabs-upgrade-notice {
	display: none;
    background: #fff;
    max-width: 100%;
    padding: 20px 30px;
}

#part5-quiz .learn-vocabs-upgrade-notice .upgrade-btn{
	max-width: 340px;
    margin: 30px auto;
}

#part5-quiz .learn-vocabs-upgrade-notice .upgrade-instructions ul {
	list-style: disc inside;
	margin-left: 40px;
}

#part5-quiz .learn-vocabs-upgrade-notice .upgrade-instructions ol > li,
#part5-quiz .learn-vocabs-upgrade-notice .upgrade-instructions ul > li {
	display: list-item;
}

#part5-quiz .learn-vocabs-upgrade-notice .upgrade-instructions .step-counter {
	padding: 5px 10px;
}

.ask-questions-upgrade-notice {
	margin: 30px auto;
	background: #fff;
	padding: 5px 10px;
    border-radius: 10px;
}

.ask-questions-upgrade-notice a:not('.submit-btn') {
	text-decoration: underline;
}

.ask-questions-upgrade-notice .submit-btn {
	color: #fff;
	margin: 30px auto;
}



/* content */

.question-options-wrapper {
	display: none;
	padding: 0;
}

.question-options-wrapper li {
	display: inline-block;
	vertical-align: middle;
}

.quiz .content-wrapper img {
	max-width: 100%;
	min-height: 350px;
	max-height: 450px;
	vertical-align: middle;
}


/* options */
.quiz .options {
	text-align: center;
}

.quiz .options > li {
    display: block;
    font-size: 1.8rem;

    max-width: 300px;
    min-height: 45px;

    margin: 0 auto 20px;
    padding: 10px 15px;

    position: relative;

    border-radius: 100px;
    -moz-border-radius: 100px;
    -webkit-border-radius: 100px;
}

.quiz .options .correct-answer,
.quiz .options .incorrect-answer {
	color: #fff;
	background-image: none;
	min-width: 300px;
	min-height: 45px;
}

/* writing p1 */
#part11-quiz .content-wrapper {
	width: 50%;
}
#part11-quiz .options-wrapper {
	width: 48%;
}

#part11-quiz .content-wrapper img{
	max-width: 400px;
	text-align: center;
}
#part11-quiz .user-sent {
	margin: 15px 0;
	min-width: 400px;
	height: 120px;
	resize: vertical;
	font-size: 20px;
}

#part11-quiz .fixed-sent {
	font-size: 20px;
}
#part11-quiz .required-words {
	font-size: 28px;
}

#part11-quiz .sample-sent {
	font-size: 24px;
	line-height: 28px;
	margin: 0;
}

#part11-quiz .sample-sent-label {
	font-size: 18px;
	color: gray;
}

#part11-quiz .sample-sent-trans {
	font-size: 18px;
	margin: 15px 0 0;
}

#part11-quiz .submit-btn {
	display: block;
	margin: 30px auto;
	min-width: 200px;
}

#part11-quiz .submit-sent {
	max-width: 240px;
  	margin: 0 auto;
}

#part11-quiz .submit-error {
	margin-bottom: 10px;
	font-size: 16px;
}

#part11-quiz .fix-results-wrapper {
	padding: 10px 15px;
	font-size: 18px;
	text-align: justify;
}

#part11-quiz .text-error .error-pos-marker {
	position: absolute;
	top: -24px;
	left: 30%;
	font-size: 85%;
}

#part11-quiz .orig-text {
	line-height: 200%;
	font-size: 20px;
}

#part11-quiz .fixed-text {
	font-size: 20px;
}

#part11-quiz .orig-text .text-error {
	color: #ee473b;
	/* border-bottom: 3px solid red; */
	position: relative;
}

#part11-quiz .orig-text .text-error:hover {
	cursor: pointer;
}

#part11-quiz .fix-results-wrapper .error-wrapper {
	margin: 0 auto 30px;
	display: none;
}

#part11-quiz .fix-results-wrapper .error-pos {
	padding: 3px 10px;
	margin-right: 5px;
}

#part11-quiz .fix-results-wrapper .learn-more-wrapper > ul {
	margin-left: 30px;
	list-style: disc inside;
}

#part11-quiz .fix-results-wrapper .fixes-wrapper {
	margin: 10px auto;
}



/* blue */
.quiz .options .correct-answer {
	background-color: #33abe5; /* #2275D1;*/
	opacity: initial !important;
}
.quiz .correct-answer-color  {
	color: #33abe5; /*#2275D1;*/
}
/* red */
.quiz .options .incorrect-answer {
	background-color: #EE473B; /*#e10;*/
	opacity: initial !important;
}
.quiz .incorrect-answer-color {
	color: #87c52e;
}


.quiz .options .correct-answer:before {
	content: '';
	background: url('/static/ToeicTests/images/correct_answer_icon.png') left top/ 30px 30px no-repeat;
  	position: absolute;
  	width: 30px;
  	height: 30px;
  	left: 25px;
}

/* No longer show the icon for wrong answers */
/*
.quiz .options .correct-answer:hover {
	background-color: #2882e7;
}


.quiz .options .incorrect-answer:before {
	content: '';
	background: url('/static/ToeicTests/images/wrong_answer_icon.png') left top/ 30px 30px no-repeat;
  	position: absolute;
  	width: 30px;
  	height: 30px;
  	left: 25px;
}

.quiz .options .incorrect-answer:hover {
	background-color: #FA3B2C;
	background-image: none;

}*/


/* Next button */
.quiz-wrapper .next-mcq-button {
	display: block;

    position: fixed;
    top: 32%;
    right: 120px;

    width: 80px;
    height: 110px;

    padding: 15px;
    text-align: center;
    cursor: pointer;
    text-align: center;
    z-index: 100;

    color: #fff;
    border: 1px solid #aaa;
    background-color: #c6c1c1;
    border-color: #CDCCCB;
    border-radius: 6.2px;
    background-image: url('/static/ToeicTests/images/button_lines_background.png');
    background-position: center center;
    background-repeat: repeat-x;
    -webkit-box-shadow: 0 1px 0 0 rgba(255,255,255,0.2) inset,0 -1px 0 0 rgba(0,0,0,0.05) inset;
    box-shadow: 0 1px 0 0 rgba(255,255,255,0.2) inset,0 -1px 0 0 rgba(0,0,0,0.05) inset;

    text-shadow: 1px 1px 0 #777777;

    -webkit-transition: all 0s ease-out;
    -moz-transition: all 0s ease-out;
    -o-transition: all 0s ease-out;
    transition: all 0s ease-out;
}


.quiz-wrapper .next-mcq-button:hover{
	color: #ebebeb;

	background-color: #87c52e;

	/*
	background-color: #F77020;
    border-color: #FB843C;*/

    /*text-shadow: 1px 1px 0 #7ED615; /* #2275D1; */

    background-position: 0 -15px;
}

.quiz-wrapper .next-mcq-button .next-icon {
	display: block;
	width: 100%;
	height: 100%;

	position: absolute;
    top: 20px;

    cursor: pointer;
    text-align: center;

	background-image: url('/static/ToeicTests/images/arrow_next_icon.png');
    background-position: 0 -55px;
    background-size: 40px 105px;
    background-repeat: no-repeat;
}

.quiz-wrapper .next-mcq-button .next-label {
	width: 100%;
    position: absolute;
    left: 0;
    bottom: 7px;
    text-align: center;
    font-weight: bold;
    color: white;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

/* Explanation */
.mcq-wrapper .explanation {
	margin-top: 30px;
    background: #f1f1f1;
    padding: 10px;
    line-height: 30px;
    border-radius: 5px;
}

.answer-explanation {
	display: none;

	width: 90%;
    margin: 0 auto 10px;

    padding: 15px 20px;
    font-size: 18px;
    line-height: 30px;

    text-align: justify;

	background: #DFDDDF;
	border-radius: 5px;
}

.answer-explanation ul.explanation {
    list-style: circle inside;
    margin-left: 20px;
}
.answer-explanation ul.explanation li {
	display: list-item;
	list-style: none;
	position: relative;
}


.answer-explanation ul.explanation li:before {
	/*
	content:"\A";
    border-style: solid;
    border-width: 10px 15px 10px 0;
    border-color: transparent #dd4397 transparent transparent;
    */

}
.answer-explanation ul.explanation li .arrow-right {
	display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    width: 0px;
    height: 0px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 10px solid #33abe5;
}


.answer-explanation .video-explanation {
	margin-bottom: 15px;
}

.answer-explanation .grammar-links-wrapper {
    margin: 20px auto 0;
    text-align: left;
}

.answer-explanation .grammar-links-wrapper .title {
	color: #fff;
    background: #87c52e;
    display: inline-block;
    padding: 2px 5px;
    border-radius: 2px;
}

.answer-explanation .grammar-links-wrapper ol {
	list-style: decimal inside;
	margin: 5px auto;
}

.answer-explanation .grammar-links-wrapper li {
    margin-left: 20px;
}

/* learning mode */
#part1-quiz .audio-player-wrapper,
#part2-quiz .audio-player-wrapper {
	margin-top: -60px;
	margin-bottom: 15px;
}

/* quiz result */
.quiz-result {
	padding: 45px 0;
}

.quiz-result .test-result-link {
	text-decoration: underline;
}

.quiz-result .score-gained {
	font-size: 36px;
}

.quiz-result .correct-answers-count {
	color: #2275D1;
}

/* Quiz result when shown in a separate page (for normal practice tests) */
/* Practice test result page */
#practice-test-result {
	padding: 30px 80px;
}

.practice-test-result-wrapper {
	text-align: center;
	list-style: none;
	margin-bottom: 45px;
}

.practice-test-result-wrapper > li {
	float: left;
}
.practice-test-result-wrapper li.result-info {
	width: 60%;
	padding-right: 20px;
}
.practice-test-result-wrapper li.skill-status {
	width: 40%;
}

.practice-test-result-wrapper li.skill-status li {
	display: block;
}

.practice-test-result-wrapper .current-correct-pc {
	/*color: #2275D1;*/
	font-size: 28px;
	font-weight: bold;
}

.practice-test-result-wrapper .result-info .continue-learning,
.practice-test-result-wrapper .result-info .review-this-test,
.practice-test-result-wrapper .result-info .learn-other-parts {
	max-width: 400px;
    margin: 0 auto;
}

.practice-test-result-wrapper .result-info  .review-this-test-link {
	display: block;
	margin-top: 15px;
	color: #333;
	font-size: 16px;
}

.practice-test-result-wrapper li.skill-status .skill-subtype {
	font-size: 28px;
}


.practice-test-result-wrapper .move-up:before {
	content: "↑";
    color: #83cd2b; /* our green color */
    font-weight: bold;
}
.practice-test-result-wrapper .move-up-pc,
.practice-test-result-wrapper .move-up-label {
	color: #83cd2b;
}

.practice-test-result-wrapper .move-down:before {
	content: "↓";
    color: #e10;
    font-weight: bold;
}
.practice-test-result-wrapper .move-down-pc,
.practice-test-result-wrapper .move-down-label {
	color: #e10;
}

.practice-test-result-wrapper .move-up-label,
.practice-test-result-wrapper .move-down-label {
	font-weight: bold;
}

.practice-test-result-wrapper .recommendation-wrapper {
	margin-top: 30px;
}

.practice-test-result-wrapper .recommendation-wrapper .success-msg {
	max-width: auto;
	font-size: inherit;
}

.practice-test-result-wrapper .recommendation-wrapper #reach-skill-goal-img {
	margin: 15px 0 30px;
	max-width: 400px;
}

.practice-test-result-wrapper .recommendation-wrapper #improve-img {
	max-width: 100%;
}


#part1-quiz .prepare-time-before-listen {
	font-size: 18px;
}
#part1-quiz .prepare-time-before-listen .time-in-secs {
    font-style: italic;
    font-weight: bold;
    color: #e10;
}