header {
	position: relative !important;
}

/*
@media (max-width: 767px) {
	header {
		display: none;
	}
}
*/

#listening-article {
	margin: 0 auto;
	padding: 0 0 60px 0;
	background: #fff;
	overflow-x: hidden;
}

#listening-article .listening-playfield {
	border: none;
    border-radius: 0;
    box-shadow: none;
}

/* article nav */ 
nav.article-nav {
    font-size: 18px;
    text-align: center;
    padding: 10px 0;
}
nav.article-nav ul li {
    display: inline-block;
}
nav.article-nav ul li:not(:first-child):before {
  content: "»";
  display: inline-block;
  margin: 0 10px;
}

/* Game instructions */ 
.ui-dialog { 
	z-index: 1000 !important;
}

.ui-dialog-title { 
	font-size: 24px;
}
.game-instructions-wrapper {
	text-align: center;
}
.game-instructions-wrapper li {
	display: inline-block; 
}

.game-instructions {
    font-size: 18px;
    z-index: 1000;
}

.game-instructions ul {
	list-style: disc;
    margin-left: 20px;
}

.game-instructions ul li {
	margin-bottom: 10px;
}

.game-instructions  .shortcuts img {
	width: 100%;
}

.view-game-instructions {
	margin: 10px auto;
    display: block;
    max-width: 240px;
}

/* ranking table */ 
.ranking-table-section {
	list-style: none;
	text-align: center;
    margin: 30px auto;
}
.ranking-table-section > li {
	display: inline-block;
	vertical-align: top;
	margin-right: 30px;
	min-width: 360px;
}
.ranking-table-wrapper {
	max-width: 390px;
	margin: 0 auto;
}

@media (max-width: 767px) {
	.ranking-table-section > li {
		margin-right: auto;
	}
	
}


/* shortcuts */ 
.shortcuts {
	margin: 30px auto;
    max-width: 640px;
    font-size: 16px;
    text-align: left;
}

.shortcuts ul {
	list-style: disc;
	margin-left: 40px;
}
.shortcuts ul li {
	margin-bottom: 10px;
}

.shortcut {
	display: none; /* it's a little distracting -> temporarily turn this feature off */
	position: absolute;
	color: #333;
}

.round-intro {
	margin: 30px auto;
}

/* Ex */ 
.ex-wrapper ul {
	list-style: none;
}
.ex-wrapper ul li {
	display: inline-block;
}

.ex-wrapper .audio-icon .shortcut {
    bottom: -15%;
    left: 20%;
}

.ex-wrapper #submit-customer-ans .shortcut, 
.ex-wrapper .continue-learning .shortcut, 
.next-button .shortcut {
	display: block;
    bottom: -50%;
    left: 20%;
    font-size: 14px;
}

.next-button .shortcut {
	bottom: -20%; 
	left: 0;
}


@media (max-width: 767px) {
	/* don't show shortcuts on mobile devices, except for some explicly set display: block */
	.shortcut, .shortcuts {
		display: none !important;
	}
	
	.next-button .shortcut {/* adjustments for mobile */
		left: -30%;
    	right: -30%;
    	bottom: -50%;
    	z-index: 1000;
    	font-weight: bold;
	}
	
}

/* progress bar */ 
.quiz-progress {
	max-height: 20px;
}
.quiz-progress .ui-progressbar-value {
    position: relative;
    background: #87c52e;
    border: 1px solid #87c52e;
}

.quiz-progress .ui-progressbar-value .progress-value {
    position: absolute;
    font-size: 14px;
    left: 40%;
    top: 7%;
}

/* level info */ 
.level-info {
	text-align: center;
    font-size: 18px;
    padding: 0;
    margin: 0;
}
.level-info li {
	display: inline-block;
}

.blood {
	max-width: 24px;
	display: inline-block;
}
.level-info .added-score {
	color: #fff;
    padding: 5px;
    border-radius: 5px;
}
.level-info .subtracted-blood {
	color: #fff; 
	padding: 10px; 
	font-size: 24px;
	margin: 0 0 0 10px;
	border-radius: 5px;
}

/* quiz summary */ 
.quiz-summary .continue-learning, 
.game-over-summary .continue-learning {
	margin: 30px auto; 
	max-width: 340px;
}

.quiz-summary img {
	max-width: 100%;
	display: block; 
	margin: 0 auto;
}

.quiz-summary .level-bloods img {
	display: inline-block;
}

/* login to continue */ 
.login-to-continue {
	text-align: center;
}

.login-to-continue .submit-btn {
	margin: 0 auto; 
	max-width: 340px;
}

/* Learn listening Exercise */ 
.ex-wrapper {
	display: none;
	text-align: center;
	max-width: 940px;
    margin: 30px auto 0;
}

.ex-wrapper .audio-icon {
	position: relative;
	background-image: url('/static/ToeicTests/images/audio_round_icons_sprites.png');
    background-position: -114px 0px;
    background-size: 570px 114px;
    background-repeat: no-repeat;
    background-color: transparent;
    vertical-align: middle;
    height: 114px;
    width: 114px;
    cursor: pointer;
    margin: auto auto auto 0;
}

.ex-wrapper .web-click-to-play:hover {
	cursor: pointer;
}


.result-msg.congrats-msg {
	color: #FB843C;
	font-size: 48px;
}

.recommendations {
	max-width: 540px;
	margin: 15px auto;
    font-size: 18px;	
}

.ex-wrapper .customer-ans-wrapper {
	margin: 15px auto 0 auto; 
	text-align: center;
}
.ex-wrapper #customer-prev-ans {
	display: none;
	max-width: 240px;
    margin: 0 auto;
	font-size: 28px;
    color: red;
    text-align: center;   
}

.ex-wrapper #customer-prev-ans:before {
	content: '';
    background: url(/static/ToeicTests/images/wrong_answer_icon.png) left top/ 30px 30px no-repeat;
    width: 30px;
    height: 30px;
    display: inline-block;
    vertical-align: middle;
	margin-right: 5px;	
}

.ex-wrapper .texts-wrapper, 
.ex-wrapper #customer-ans {
    font-size: 28px;
    line-height: 35px;
    color: #000;
}
.ex-wrapper #customer-ans {
	max-width: 240px;
    padding: 5px 10px;
}

.ex-wrapper #submit-customer-ans {
	width: 200px;
	margin: 10px auto 0;
	position: relative;
}

.ex-wrapper .texts-wrapper {
	padding: 0 15px;
	vertical-align: middle;	
}

.ex-wrapper .audio-text .answer {
	color: #2275D1;
	border-bottom: 1px solid;
    font-size: 120%;
}

.ex-wrapper .audio-text .word-audio-icon {
	cursor: pointer;
	max-width: 40px;
	border-bottom: 1px solid;
    vertical-align: bottom;
}

.ex-wrapper .text-trans {
	margin-top: 15px;
	color: #2275D1;
}


.ex-wrapper .customer-ans {
	margin: 15px auto;
}


/* Next button */ 
.next-button {
	display: block;
	
    position: fixed;
    top: 30%;
    right: 145px;
    
    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;
}

.next-button:hover{
	color: #ebebeb; 
	background-color: #FFC800; /*#FFC000; /*#F77020; /*#7ED615; /*#2275D1; */ 
    border-color: #FB843C;
    
    /*text-shadow: 1px 1px 0 #7ED615; /* #2275D1; */
    
    background-position: 0 -15px;
}

.next-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;
}

.next-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;
}

@media (max-width: 767px) {
	.next-button {
		right: 40px;
    	top: 35%;
    	width: 60px;
    	height: 90px;
	}
	
}

/* recommended articles */
.recommended-articles {
    text-align: center;
    padding: 5px 10px;
    font-size: 16px;
}

.recommended-articles > ul > li {
	display: inline-block; 
	margin-right: 15px;
}




