

/********************************/
/* /styles/dictionary.css */
/********************************/

.dict_response {
	line-height: 1.3;
	position: relative;
	font-size: 16px; }
.dict_response .chinese {
	line-height: 1.4;
	padding-bottom: 20px;
}
.dict_response .zh_CN, .dict_response .zh_TW { 
	font-size: 135%;
}
.dict_response .trad_indicator { 
	color: #666;
	display: inline-block;
	margin-left: 20px;
}
body.d_game #fsd_result .gloss_def.hide,
body.d_game #dictionary_container .load_more.hide {
	display: none !important;
}
.dark_mode .dict_response .trad_indicator {
	color: #888;
}
.dict_response .pinyin { 
	font-size: 110%;
	padding-left: 10px;
}
.dict_response .chinese .meaning { 
	font-family: Garamond  serif;
	font-size: 100%;
	padding-left: 20px;
}
.gloss_def .dict_res,
.dict_response .dict_res {
	padding: 5px;
	margin-top: 10px;
	border-bottom: 1px solid #ddd;
}
.gloss_def .dict_res {
	border-bottom: none;
}
.dict_response .dict_res:first-child {
	padding-top: 20px;
	margin-top: 0;
	border-top: 1px solid #ddd;
}
.dict_response .dict_res:last-child {
	border-bottom: none;
}
.dark_mode .dict_response .dict_res {
	border-color: #555;
}
.dict_response a {
	text-decoration: none;
	color:#333;
}
.dark_mode .dict_response a {
	color: #ccc;
}
.dict_response a:hover {
	text-decoration: underline;
}
.gloss_def .dict_res .title,
.dict_response .title {
	color:#999;
	font-size:75%;
	text-transform: uppercase;
	line-height: 1.3;
}
.gloss_def .dict_res .word {
	display:block;
	font-weight: bold;
	margin-bottom: 6px;
}
.gloss_def .dict_res .pos {
	padding-bottom: 4px;
	font-size: 90%;
	text-transform: capitalize;
}
.dict_response .title a {
	color:#999;
}
.dict_response .e_idx {
	color:#999;
}
.dict_response .dict_res.conjugation .pron {
	color:#666;
}
.dark_mode .dict_response .dict_res.conjugation .pron {
	color:#aaa;
}

.dict_response .y_dict br{
	display:none;
}
.dict_response .y_dict .title {
	display:block;
}
.dict_response .y_dict .category {
	color:#999;
	font-size:90%;
}
.dict_response .y_dict .entry_head {
	display:block;
	font-weight: bold;
	margin-bottom: 6px;
}

.dict_response .y_dict .dict_entry {
	padding-left: 1em;
	text-indent: -1em;
	display:block;
}
.dict_response .y_dict .entry_head ul{
	padding:0;
	margin: 0;
	list-style-type: none;
}
.dict_response .y_dict .pos_label {
	font-size:90%;
}
.dict_response .wikt_gender_label {
	display: inline-block;
	margin-left: 8px;
	font-style: italic;
	color:#555;
}
.dark_mode .dict_response .wikt_gender_label {
	color: #aaa;
}
.dict_response .wikt_gender_label.short {
	border-bottom: 1px dotted #999;
}
.dict_response .wikt_results {

}
.dict_response .wikt_result {
	margin:0 0 10px 0;
}
#fsd_result .wikt_results .word_audio.wikt.hide {
	display: none;
}
.dict_response .wikt_word {
	font-weight: bold;
	margin-bottom: 6px;
}
.dict_response .wikt_pos_block {
	margin:0 0 10px 0;
}
.dict_response .wikt_pos_label {
	font-size:90%;

}
.dict_response ul.wikt_defs,.dict_response ul.wikt_sub_defs {
	padding:0;
	margin: 0;
	list-style-type: none;
}
.dict_response .wikt_defs li {
	padding: 2px 0;

}
.dict_response .wikt_context {
	color: #999;
	margin-left:6px;
	font-size: 90%;
}
#default_instruction {
	display: none;
	position: absolute;
	width: 100%;
	top: calc(50% - 65px);
	padding: 10px;
	text-align: center;
	font-size: 90%;
	color: #777;
}
#fsd_result .word_audio {
	display: inline-block;	
	margin-right: 5px;
	margin-bottom: 5px;
	padding: 5px;
	border-radius: 10px;
	border: 1px solid #999;
	background: #fff;
	font-size: 0.7em;
}
#fsd_result .word_audio:hover {
	cursor: pointer;
	border-color: #555;
}
#fsd_result .word_audio i {
	margin-right: 2px;
}



/********************************/
/* /styles/html5_player_v2.css */
/********************************/

*{
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing: border-box;
}
table {
  border-collapse: collapse;
}
a, a img {
  border: 0;
}
i {
  font-style: normal;
}
#localized_strings {
  display: none;
}
html {
  margin:0;
  padding:0;
  height:100%;
  width:100%;
  overflow: hidden;
}
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
body, input {
  font-family: "Helvetica Neue", Arial, arial, sans-serif;
}
body {
  font-size:100%;
  background-color: #f1f1f1;
  margin:0;
  width:100%;
  height:100%;
  overflow:hidden;
	display: -webkit-box; 
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; 
  display: flex;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
  flex-direction: column;
}
.compile_error {
  position: absolute;
  font-size: 18px;
  color:#fff;
  background-color: #900;
  padding: 20px;
  top:0px;
  left:0px;
  width:100%;
  display: none;
}
.compile_error .close.btn {
  cursor: pointer;
  position: absolute;
  right: 2px;
  top: 0;
}

button {
  font-size:inherit;
}

.form-control {
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  color: #555555;
  display: block;
  font-size: 14px;
  height: 34px;
  line-height: 1.42857;
  padding: 6px 12px;
  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  width: 100%;
}
.form-control:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
textarea.form-control {
  height: auto;
  min-height: 2.5em;
}

blockquote {
  font-size: 18px;
  color: #555;
}
blockquote footer {
  font-size: 14px;
  padding: 10px 0 0 10px;
}

.yabla-blue {
  background-color: #224a9a;
  color: #fff;
}
.secondary-blue {
  background-color: #4176a6;
  color: #fff;
}
.blue-grey {
  background-color: #a2b1ba;
  color: #fff;
}
.yabla-orange {
  background-color: #f6822b;
  color: #fff;
}
.yabla_orange_text {
  color: #f6822b;
}

.cbtn {
	position: relative;
	display: -webkit-box; 
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; 
	display: flex;
	width: 42px;
	height: 42px;
	margin: 8px 4px;
	-webkit-align-items: center;
	-moz-align-items: center;
	-ms-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	-moz-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;
	background-color: #fff;
	border-radius: 20px;
	box-shadow: 0px 1px 2px rgba(0,0,0, 0.6);
	color: #4176A6;
	font-size: 130%;
	cursor: pointer;
	z-index: 2;
}
body.classic_mode .cbtn {	
	box-shadow: 0px 2px 2px rgba(0,0,0, 0.25);
}
/*
body.d_game.mobile.portrait .cbtn {
	margin: 0px 4px;
}
*/
.cbtn.active {
	background: #4176a6;
	color: #fff;
}
.cbtn.play.fa-play {
	margin-left: 3px;
	margin-top: 1px;
}
body.mobile.landscape .cbtn.volume_slider, 
body.android .cbtn.volume_slider, 
body.iOS .cbtn.volume_slider, 
body.ipad .cbtn.volume_slider, 
body.iphone .cbtn.volume_slider {
	display: none;
}
body.mobile.landscape .cbtn.loop, 
body.mobile.landscape .cbtn.playback_rate {
	position: absolute;
	left: 0px;
	bottom: 40px;
	z-index: 10;
}
body.mobile.landscape .cbtn.playback_rate {
	bottom: -20px;
}
body.classic_mode #default_instruction {
	display: block;
}
body.classic_mode #default_instruction.hide {
	display: none;
}

#logo h1 {
  text-indent:-3000px;
  width: 186px;
  height:83px;
  margin: 0;
  padding:0;
}
body.fullscreen {
  padding:0;
  width:100%;
}

#user_buttons {
	left: 0;
	position: absolute;
	bottom: 80px;
	z-index: 4;
	display: -webkit-box; 
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; 
	display: flex;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: space-around;
	-moz-justify-content: space-around;
	-ms-justify-content: space-around;
	justify-content: space-around;
	-webkit-align-items: flex-start;
	-moz-align-items: flex-start;
	-ms-align-items: flex-start;
	align-items: flex-start;
}
body.classic_mode #user_buttons {
	bottom: 40px;
}
body.classic_mode #user_buttons.no_translation_captions {
	bottom: 0;
	z-index: 10;
}
body.mobile.portrait #user_buttons {
	width: 100%;
	-webkit-flex-direction: row-reverse;
	-moz-flex-direction: row-reverse;
	-ms-flex-direction: row-reverse;
	flex-direction: row-reverse;
	-webkit-justify-content: center;
	-moz-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;
	bottom: 10px;
}
body.fullscreen:not(.controls_shown) #user_buttons {
	display: none;
}
body.youtube.fullscreen.auto_pause_2 #user_buttons {
	display: flex;
}
body.mobile.landscape #user_buttons {
	bottom: 120px;
}
.user_button {
	margin: 10px 0;
	cursor: pointer;
	left: 0px;
	z-index: 5;
	background: #4176a6;
	border-top-right-radius: 2em;
	border-bottom-right-radius: 2em;
	box-shadow: 0px 2px 2px rgba(0,0,0, 0.25);
	padding-right: 0.4em;
}
body.mobile.portrait #user_buttons .swap_to_old_player {
	position: absolute;
	margin: 0;
	bottom: 0;
}
body.mobile.portrait #user_buttons .send_feedback {
	margin-bottom: 0;
	border-radius: 2em;
	padding-left: 10px;
}
.user_button .main_btn img {
	height: 2.8em;
}
.user_button.send_feedback .main_btn img {
	height: 2.4em;
}
.user_button:hover .main_btn img,
.user_button.open .main_btn img {
	padding-right: 8px;
}
body.mobile.portrait .user_button.send_feedback .main_btn img {
	padding-right: 0;
}
.user_button .label {
	display: none;
}
body.mobile.portrait .user_button.send_feedback .label {
	display: block;
	margin: 0 10px;
}
.user_button:hover .label,
.user_button.open .label {
	display: inline-block;
}
.user_button .main_btn {
	display: -webkit-box; 
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; 
	display: flex;
	-webkit-flex-direction: row;
	-moz-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-align-items: center;
	-moz-align-items: center;
	-ms-align-items: center;
	align-items: center;
	-webkit-justify-content: space-around;
	-moz-justify-content: space-around;
	-ms-justify-content: space-around;
	justify-content: space-around;
	padding: 8px;
	border-top-right-radius: 12px;
	border-bottom-right-radius: 12px;
	color: #fff;
	font-size: 10px;
	border: none;
}
body.mobile.portrait .user_button .main_btn {
	font-size: 10px;
}
body.mobile.portrait .user_button.send_feedback .main_btn {
	width: 105%;
}
.user_button:hover {
	box-shadow: 0px 4px 4px rgba(0,0,0, 0.25);
}
.user_button:focus {
	outline: none;
}

#media_controls, #media_controls_mask {
	color: #fff;
	font-size: 16px;
}
#media_controls {
	display: -webkit-box; 
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; 
	display: flex;
	-webkit-justify-content: flex-end;
	-moz-justify-content: flex-end;
	-ms-justify-content: flex-end;
	justify-content: flex-end;
	-webkit-align-items: center;
	-moz-align-items: center;
	-ms-align-items: center;
	align-items: center;
	position: absolute;
	width: 100%;
	height: 50px;
	top: 0;
	left: 0;
	background: transparent;
}
body.mobile.landscape.playing #media_controls,
body.classic_mode #media_controls {
	display: none !important;
}
body.mobile.portrait #media_controls {
	background: #292929;	
	position: relative;
}
body.mobile.landscape #media_controls {
	height: 40px;
	background: #292929;
}
body.fullscreen:not(.controls_shown) #media_controls {
	display:none;
}
body.fullscreen.youtube.auto_pause_2 #media_controls {
	display: flex;
}
#media_controls_mask {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	opacity: 0.85;
	background: rgba(0,0,0,0.65); 
	z-index: 1;
}


body.mobile.landscape #playback_controls_mask {
	display: none;
}	
#main_exit {
	position: absolute;
	top: 0;
	left: 10px;
}
body.classic_mode #main_exit {
	position: absolute;
	top: 8px;
	right: 8px;
}
body.classic_mode #main_exit span {
	position: absolute;
	top: 105%;
	left: 28%;
	color: #777;
	font-size: 84%;
}
body:not(.mobile) #main_exit i {
	font-size: 30px;
}
body.classic_mode:not(.mobile) #main_exit i {
	display: inline-block;
	font-size: 28px;
  border-radius: 40px;
  text-shadow: 0px 1px 1px rgba(0,0,0,.5);
  background-color: #aaa;
  color: #fff;
  padding: 7px 10px;
  box-shadow: 0px 1px 2px rgba(0,0,0,.7);
  border: 1px solid #888;
  cursor: pointer;			 
}
#media_controls .menu_item {
	padding: 5px;
	z-index: 20;
}
body:not(.mobile) #media_controls .menu_item:not(.active):hover i {
	color: #ccc;
}
#media_controls .menu_item.volume_slider { 
  display: none !important;
}
#media_controls .menu_item.dictionary,
body.fullscreen #media_controls .menu_item.dictionary, 
body.mobile #media_controls .menu_item.dictionary {
	display: none;
}
body.classic_mode:not(.mobile) #media_controls .menu_item.dictionary {
	display: inline-block;
}
#media_controls .menu_item.transcript {
	width: 32px;
	height: 32px;
	padding-top: 1px;
}
#media_controls .menu_item.transcript .transcript_icon {
	position: absolute;
	width: 90%;
	height: 90%;
	margin-left: -4px;
}
body.mobile.portrait #media_controls .menu_item.transcript {
	padding-top: 2px;
	padding-left: 7px;
}
body.mobile.portrait #media_controls .menu_item.transcript .transcript_icon {
	width: 90%;
	height: 90%;
}
svg.transcript_icon * {
	fill: #fff;
}
#media_controls .menu_item.transcript:hover svg.transcript_icon > path {
	fill: #ccc;
}	
#media_controls .bookmark_added.notification,
#media_controls .bookmark_removed.notification {
	display: none;
	position: fixed;
	padding: 6px 12px;
	background: #cddc39;
	color: #fff;
	border-radius: 18px;
	z-index: 5;
}
#media_controls .bookmark_removed.notification {
	background: #ddd;
	color: #666;
}
#media_controls .bookmark_added.notification.active,
#media_controls .bookmark_removed.notification.active {
	display: block;
}
#media_controls .bookmark_unavailable.non_logged_in_users {
	display: none;
	position: absolute;
	width: 100%;
	padding: 16px;
	top: 50px;
	left: 0px;
	background: #777;
	color: #fff;
	text-align: center;	
	z-index: 1;
}
#media_controls .bookmark_unavailable.non_logged_in_users a {
	color: #224a9a;
}
body.complex_rate_selection .playback_rate,
.rate_selector,
.rate_selector .options {
	display: none;
}
body.complex_rate_selection .rate_selector,
body.complex_rate_selection.slow_play .rate_selector .options {
	display: -webkit-box; 
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; 
	display: flex;
	-webkit-align-items: center;
	-moz-align-items: center;
	-ms-align-items: center;
	align-items: center;
}

#dictation_game_controls .rate_selector {
	-webkit-flex-direction: row;
	-moz-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
}
#dictation_game_controls .rate_selector.active {
	color: #4176A6;
	width: auto;
}

.rate_selector_icon {
	width: 31px;
	height: 20px;
	background: url('../images/html5/rate_selector_icon.svg') no-repeat center;
}
.rate_selector.active .rate_selector_icon,
.playback_rate.active .rate_selector_icon {
	background: url('../images/html5/rate_selector_icon_desktop_active.svg') no-repeat center;
}
#dictation_game_controls .rate_selector .rate_selector_icon {
	padding: 0 1.2em 0 0.5em;
}

body .rate_selector .options {
	display: none;
}
.rate_selector .options {
	background: rgba(70, 70, 70, 0.7);
	border-radius: 1em;
	border: 1px solid;
	padding: 0;
	margin: 0;
	display: -webkit-box; 
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; 
	display: flex;
	-webkit-align-items: center;
	-moz-align-items: center;
	-ms-align-items: center;
	align-items: center;
	list-style: none;
}
#dictation_game_controls .rate_selector .options {
	background: none;
	border: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    padding-left: 0.2em;
	background: white;
}

.rate_selector .options.no_options {
	display: none;
}
.rate_selector .label,
.rate_selector .option {
	display: inline-block;
	line-height: 1.1rem;
	padding: 0 0.5em;
	font-size: 0.6em;
}
#dictation_game_controls .rate_selector .option,
#dictation_game_controls .rate_selector .label {
	border: none;
	border-right: 1px solid #4176A6;
	height: 100%;
	padding: 0.5em;
}
.rate_selector .label {
	border-top-left-radius: 1rem;
	border-bottom-left-radius: 1rem;
	cursor: default;
}
#dictation_game_controls .rate_selector .label {
	display: none;
}
#media_controls .rate_selector .label {
	background: #fff;
	border-color: #fff;
	color: #000;
	padding-left: 7px;
}
.rate_selector .option {
	border-left: 1px solid;
	cursor: pointer;
}
#dictation_game_controls .rate_selector .option:last-child {
	border-right: none;
}
.rate_selector .option.active,
.rate_selector .option:hover {
	color: #d2e328;
}
#dictation_game_controls .rate_selector .option:not(.active):hover {
	color: #4176A6;
}

.playback_rate .rate_indicator {
	display: none;
	opacity: 1;
}
.playback_rate.active .rate_indicator {
	bottom: 105%;
	display: block;
	font-size: 75%;
	left: 3px;
	position: absolute;
	text-shadow: 0 0 7px #000, 0 0 4px #000, 0 0 2px #000;
	width: 100%;
}
body:not(.d_game):not(.touch_device) .playback_rate.active .rate_indicator {
	bottom: 129%;
	left: 138%;
}
.playback_rate.active.active .rate_indicator.hide {
	transition: opacity 1s;
	opacity: 0;
}

body.mobile.portrait #playback_controls .cbtn.fullscreen,
body.iOS #playback_controls .cbtn.fullscreen {
	display: none !important;	
}
#player_content {
	display: -webkit-box; 
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; 
	display: flex;
	-webkit-flex: 1;
	-moz-flex: 1;
	-ms-flex: 1;
	flex: 1;
	-webkit-flex-direction: row-reverse;
	-moz-flex-direction: row-reverse;
	-ms-flex-direction: row-reverse;
	flex-direction: row-reverse;
}
#dictionary_container {
	background: #f1f1f1;
	display: none;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	-webkitjflex-direction: column;
	-webkit-flex: 1 1 35%;
	-moz-flex: 1 1 35%;
	-ms-flex: 1 1 35%;
	flex: 1 1 35%;
	order: -1;
	padding: 15px;
	position: relative;
	z-index: 1;
	transition: left .2s ease-out;
}
body.classic_mode #dictionary_container {
	display: -webkit-box; 
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; 
	display: flex;
	left: 0 !important;
}
body:not(.classic_mode).mobile #dictionary_container {
	width: 100vw;
	max-height: 100vh;
	max-width: 400px;
}	
#dictionary_container .media_controls {
	display: none;
}
body.classic_mode #dictionary_container .media_controls {
	display: -webkit-box; 
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; 
	display: flex;
	-webkit-justify-content: space-between;
	-moz-justify-content: space-between;
	-ms-justify-content: space-between;
	justify-content: space-between;
}
body.classic_mode #dictionary_container .media_controls .menu_item {
	color: #777;
}
body.classic_mode #dictionary_container .media_controls .transcript {
	width: 28px;
	height: 28px; 
	top: 0;
	left: -4px;
	padding-top: 3px;
	padding-left: 0;
}
body.classic_mode svg.transcript_icon * {
	fill: #777;
}
body.classic_mode svg.transcript_icon .hole {
	fill: #f1f1f1;
}
body.classic_mode #dictionary_container .media_controls .menu_item.volume {
	margin-left: 0;
}
body.classic_mode #dictionary_container .media_controls .menu_item.main_exit {
	top: -15%;
}
body.classic_mode #dictionary_container .media_controls .menu_item.main_exit i {
	display: inline-block;
  font-size: 22px;
  border-radius: 40px;
  text-shadow: 0px 1px 1px rgba(0,0,0,.5);
  background-color: #aaa;
  color: #fff;
  padding: 6px 10px;
  border: 1px solid #888;
  cursor: pointer;
}
body.classic_mode #dictionary_container .media_controls .menu_item.main_exit span {
	position: absolute;
	top: 108%;
	left: 28%;
	font-size: 80%;
}
body.classic_mode #dictionary_container .media_controls .menu_item .label {
	position: absolute;
	font-size: 80%;
	top: 85%;
	left: 50%;
	-webkit-transfrom: translateX(-50%);
	-moz-transfrom: translateX(-50%);
	transform: translateX(-50%);
}
body.classic_mode #dictionary_container .media_controls .menu_item.transcript .label {
	top: 112%;
}
body.classic_mode #dictionary_container .media_controls .bookmark_unavailable.non_logged_in_users {
	display: none;
	position: absolute;
	width: 100%;
	padding: 16px;
	top: 80px;
	left: 0px;
	background: #777;
	color: #f1f1f1;
	text-align: center;	
	z-index: 1;
}
body.classic_mode #dictionary_container .media_controls .bookmark_unavailable.non_logged_in_users a{
	color: #224a9a;
}
body.classic_mode #dictionary_container .media_controls .menu_item.bookmark.favorite,
body.classic_mode #dictionary_container .media_controls .menu_item.bookmark.not_favorite {
	display: none;	
}
body.classic_mode #dictionary_container .media_controls .menu_item.bookmark.favorite.active, 
body.classic_mode #dictionary_container .media_controls .menu_item.bookmark.not_favorite.active {
	display: block;		
}
#dictionary_container .media_details {
	display: none;
	margin-bottom: 10px;
	padding-left: 2px;
	font-size: 90%;
  color: #777;
}
body.classic_mode #dictionary_container .media_details {
	display: block;
	font-weight: bold;
}
body.classic_mode .media_details .region {
	margin-left: 14px;
}
body.classic_mode .media_details .region .lang_from_tag {
	font-weight: bold;
}
#dictionary_container.modal_shown {
	background-color: transparent;
	display: -webkit-box; 
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; 
	display: flex;
	padding: 0;
	position: absolute;
	z-index: 50;
}
#dictionary_container.modal_shown .search_box {
	display: none;
}

#dictionary_container .add_to_word_list {
	display: none;
}
body.classic_mode #dictionary_container .add_to_word_list {
	display: block;
	color: #777;
	font-weight: bold;
}
body.classic_mode #dictionary_container .add_to_word_list input[type='checkbox'] {
	position: relative;
	width: 20px;
	height: 20px;
	top: 5px;
}
body.classic_mode #dictionary_container .add_to_word_list button {
	cursor: pointer;
}
body.classic_mode #dictionary_container .add_to_word_list button > .add_word_wrap {
	display: none;
}
#dictionary_container .search_box {
	margin-top: 15px;
}
#outer_content_mask {
	display: none;
	position: fixed;	
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}	
#outer_content_mask.active {
	display: none;
}
#dictionary_container .outer_content {
	position: relative;
	margin-top: 15px;
	-webkit-flex: 1;
	-moz-flex: 1;
	-ms-flex: 1;
	flex: 1;
	border: 1px solid #b1b1b1;
	border-radius: 4px;
}
#dictionary_container.modal_shown .outer_content {
	border: none;
	height: 100%;
	margin: 0;
}
#dictionary_container #fsd {
	display: block;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 100;
	-moz-user-select: text;
	-ms-user-select: text;
	-webkit-user-select: text;
	user-select: text;
}
body.android #dictionary_container #fsd, 
body.iOS #dictionary_container #fsd, 
body.iPadOS #dictionary_container #fsd { 
	-moz-user-select: none;
	-ms-user-select: none;
	-webkit-user-select: none;
	user-select: none;
}

#transcript_container {
	-moz-user-select: text;
	-ms-user-select: text;
	-webkit-user-select: text;
	user-select: text;
}
#dictionary_container.modal_shown #fsd {
	position: relative;
	height: auto;
}
#dictionary_container.modal_shown #fsd_outer {
	display: -webkit-box; 
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; 
	display: flex;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	background: #fff;
}
#dictionary_container.modal_shown #fsd_head {
	position: relative;
}
#dictionary_container.modal_shown .dict_response {
	overflow: hidden;
}
#dictionary_container.modal_shown .dict_response.hide {
	display: none;	
}
#dictionary_container .load_more {
	display: inline-block;
	margin: 15px 5px 15px 10px;
	padding: 7px 7px 5px 7px;
	box-shadow: 1px 1px 2px #ddd;
	border-radius: 10px;
	border: 1px solid #999;
	font-size: 0.75em;
	background-color: #f1f1f1;
	color: #000;
}
#dictionary_container .load_more.hide {
	display: none;
}
#dictionary_container .load_more:hover {
	cursor: pointer;
	border-color: #555;
}

#main_container {
	display: -webkit-box; 
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; 
	display: flex;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-flex: 1 1 65%;
	-moz-flex: 1 1 65%;
	-ms-flex: 1 1 65%;
	flex: 1 1 65%;
	position: relative;
	-webkit-justify-content: flex-end;
	-moz-justify-content: flex-end;
	-ms-justify-content: flex-end;
	justify-content: flex-end;
}
body.mobile.portrait #main_container {
	height: auto;
	padding-bottom: 72px;
	max-height: calc(100vh - 50px);
	-webkit-justify-content: flex-start;
	-moz-justify-content: flex-start;
	-ms-justify-content: flex-start;
	justify-content: flex-start;
}
body.d_game.mobile.portrait.mobile_keypad_on #main_container {
	padding: unset;
}
body.fullscreen #main_container {
	position: relative;
	width: 100%;
	float: none;
	margin: 0;
	height: auto;
}

#video_wrap {
	display: -webkit-box; 
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; 
	display: flex;
	-webkit-flex: 1;
	-moz-flex: 1;
	-ms-flex: 1;
	flex: 1;
	position: absolute;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	max-width: 100vw;
}
body.classic_mode #video_wrap,
body.d_game #video_wrap,
body.mobile.portrait #video_wrap {
	position: relative;
}

#video_container {
	background: #000;
	display: -webkit-box; 
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; 
	display: flex;
	-webkit-flex: 1;
	-moz-flex: 1;
	-ms-flex: 1;
	flex: 1;
	position: relative;
	text-align: center;
	width: 100%;
}
body.fullscreen:not(.controls_shown) #video_container {
	cursor: none;
}
body.youtube:not(.classic_mode):not(.playing):not(.mobile):not(.video_end_display) #video_container,
body.youtube.auto_pause_2:not(.classic_mode):not(.mobile):not(.video_end_display) #video_container {
	background: #f1f1f1;
}
body.mobile.landscape:not(.d_game):not(.game) #video_container {
	top: 40px;
}
body.mobile.landscape.playing #video_container {
	top: 0 !important;
}
body.d_game #video_container {
	justify-content: center;
}
body.youtube.game.playing #youtube_player_poster {
	display: none;
}
body.youtube.game #youtube_player_poster {
	position: absolute;
	width: 100%;
	height: 100%;	
	background: #f1f1f1;
	z-index: 1;
}
body.youtube.game #youtube_player_poster > .poster_image {
	position: absolute;
	width: 70%;
	height: 100%;
	left: 15%;
	background-position: center; 
	background-repeat: no-repeat; 
	background-size: cover;		
}
#video_container_inner {
	display: -webkit-box; 
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; 
	display: flex;
	-webkit-justify-content: center;
	-moz-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	-moz-align-items: center;
	-ms-align-items: center;
	align-items: center;
	transition: all 0.5s;
	width: 100%;
	position: relative;
}
body.youtube:not(.classic_mode):not(.playing):not(.mobile) #video_container_inner,
body.youtube.auto_pause_2:not(.classic_mode):not(.mobile):not(.review_set) #video_container_inner {
	/* this is for IE, which dont support calc */
	height: 75%;
	height: calc(100% - 300px);
	top: 50px;
} 
body.youtube.playing:not(.classic_mode):not(.auto_pause_2):not(.mobile) #video_container_inner {
	/* this is for IE, which dont support calc */
	height: 75%;
	height: calc(100% - 50px);
	top: 50px;	
}
body.video_end_display #video_container_inner {
	margin: 20px;
}
video, #embedded_player {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
}
#embedded_player {
	pointer-events: auto;
}
#youtube_player_mask {
	display: none;
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
}
body.youtube #youtube_player_mask {
	display: block;
}
body.youtube.fullscreen #youtube_player_mask {
	z-index: 1 !important;
}
body.youtube.fullscreen.controls_shown #youtube_player_mask {
	z-index: 0 !important;
}

#video_end_overlay {
	color: #ccc;
	display: none;
	position: relative;
	width: 0;
	opacity: 0;
	align-items: center;
	justify-content: space-around;
	transition: all 0.5s;
	pointer-events: none;
}
body.video_end_display #video_end_overlay {
	display: -webkit-box; 
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; 
	display: flex;
	opacity: 1;
	width: 300px;
	margin: 0 20px;
	pointer-events: inherit;
}
body.video_end_display #replay_overlay_soft {
	display: block;
	z-index: 4;
}
body.video_end_display #captions .toggle {
	display: none;
}
body.mobile.video_end_display #video_end_overlay * {
	font-size: 10px;
}
body.mobile.portrait.video_end_display #video_end_overlay * {
	font-size: 8px;
}
body.mobile.portrait.video_end_display #video_end_overlay .next_segment {
	padding: 2px;
}
body.mobile.video_end_display #video_end_overlay .next_segment img {
	width: 60%;
	height: auto;
}
body.mobile.portrait.video_end_display #video_end_overlay .next_segment img {
	width: 40%;
}
/* auto pause phase I */
#video_wrap > .pause_after_caption.on_video {
	display: none;
}
#video_wrap > .pause_after_caption.on_video.active {
	display: block;
	position: absolute;
	width: 100%;
	right: -50%;
	z-index: 1;
	-webkit-transform: translateX(-110px);
  -ms-transform: translateX(-110px);
  transform: translateX(-110px);
}
body.classic_mode #video_wrap > .pause_after_caption.on_video.active {
	width: 220px;
	right: -110px;
}	
body.mobile #video_wrap > .pause_after_caption.on_video.active {
	right: unset;
	left: 100%;
	-webkit-transform: translateX(-220px);
  -ms-transform: translateX(-220px);
  transform: translateX(-220px);
}
body.mobile.landscape #video_wrap > .pause_after_caption.on_video.active {
	top: 66px;
}
#video_wrap > .pause_after_caption.on_video.active > .wrapper {
	position: absolute;
	width: 220px;
	padding: 0 10px;
	padding-bottom: 5px;
	background: #fff;
	box-shadow: 0px 2px 2px rgba(0,0,0, 0.25);
}
#video_wrap > .pause_after_caption.on_video.active > .wrapper > .tooltip {
	display: none;
}
#video_wrap > .pause_after_caption.on_video.active > .wrapper > .label > svg {
	padding-top: 10px;
	padding-left: 10px;
}
#video_wrap > .pause_after_caption.on_video.active > .wrapper > .toggle {
	display: inline-block;
	position: absolute;
	width: 50px;
	height: 25px;
	top: 14px;
	right: 10px;
	background: #ddd;
	font-size: 0.85em;
	border-radius: 20px;
	box-shadow: inset 1px 1px 1px #777;
}
#video_wrap > .pause_after_caption.on_video.active > .wrapper > .toggle:hover {
	cursor: pointer;
}
#video_wrap > .pause_after_caption.on_video.active > .wrapper > .toggle.on {
	background: #4176a6;
}
#video_wrap > .pause_after_caption.on_video.active > .wrapper > .toggle > .indicator {
	display: inline-block;
	width: 15px;
	height: 15px;
	margin: 5px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 2px 1px #777;
	-webkit-transition: transform 0.4s;
	-ms-transition: transform 0.4s;
	transition: transform 0.4s;
}
#video_wrap > .pause_after_caption.on_video.active > .wrapper > .toggle.on > .indicator {
	-webkit-transform: translateX(25px);
  -ms-transform: translateX(25px);
  transform: translateX(25px);
}
/* end: auto pause phase I */

/* auto pause phase II */
.beta.version.logo {
	display: inline-block;
	position: relative;
	padding: 3px 6px;
	top: 12px;
	color: #fff;
	font-size: 80%;
	border-radius: 4px;
	background: #f90;
	float: left; 
	transform: rotate(-45deg);
}
#video_wrap > .auto_pause_phase_two.on_video .beta.version.logo { 
	position: absolute;
	width: 55px;
	top: 18px;
	left: 0;
	padding: 4px 8px;
	background: #fff;
	color: #f90;
	border-radius: 0 4px 4px 0;
	text-align: center;
	transform: none;
	font-size: 110%;
}
#video_wrap > .auto_pause_phase_two.on_video {
	display: none;
	position: absolute;
	width: 420PX;
	top: 75px;
	right: 60px;
	background: #f6822b;
	color: #fff;
	border-radius: 20px;
	z-index: 5;
}
#video_wrap > .auto_pause_phase_two.on_video > .wrapper {
	padding: 15px 20px;
	font-size: 12px;
}
#video_wrap > .auto_pause_phase_two.on_video > .wrapper.hide {
	display: none;	
}
#video_wrap > .auto_pause_phase_two.on_video > .wrapper > .title.section {

}
body.youtube #video_wrap > .auto_pause_phase_two.on_video {
	top: 115px;
	z-index: 1;
}
@media screen and (max-width: 600px) {	
	body.mobile #video_wrap > .auto_pause_phase_two.on_video {
		width: 300px;
		top: 5px;
	}
}

body.classic_mode.youtube #video_wrap > .auto_pause_phase_two.on_video {
	top: 65px;
}
#video_wrap > .auto_pause_phase_two.on_video.active {
	display: block;
}
#video_wrap > .auto_pause_phase_two.on_video .section.title > svg {
	width: 32px;
	height: 30px;
}
#video_wrap > .auto_pause_phase_two.on_video .section.title > svg > path {
	fill: #fff;
}
#video_wrap > .auto_pause_phase_two.on_video .section.desc {
}
#video_wrap > .auto_pause_phase_two.on_video .title.section > .desc {
	position: relative;
	top: -7px;
	font-size: 110%;
}
#video_wrap > .auto_pause_phase_two.on_video .section.num_of_loops,
#video_wrap > .auto_pause_phase_two.on_video .section.pause_duration,
#video_wrap > .auto_pause_phase_two.on_video .section.countdown {
	margin-top: 20px;
}
#video_wrap > .auto_pause_phase_two.on_video .section.countdown {
	height: 25px;
	opacity: 0;
	font-size: 110%;
	color: #4176a6;
}
#video_wrap > .auto_pause_phase_two.on_video .section.countdown.show {
	padding: 20px 0px;
	opacity: 1;
}
#video_wrap > .auto_pause_phase_two.on_video .section.countdown .timer .seconds {
	display: inline-block;
	padding: 2px 6px;
	background: #fff;
	border-radius: 40px;
	border: 1px solid #fff;
	color: #f6822b;
}
#video_wrap > .auto_pause_phase_two.on_video .section.countdown .animation.bar {
}
#video_wrap > .auto_pause_phase_two.on_video .section.footer {
	margin-top: 20px;
}
#video_wrap > .auto_pause_phase_two.on_video .section .options {
	margin-left: 10px;
	float: right;
} 
#video_wrap > .auto_pause_phase_two.on_video .section .options select {
	padding: 3px;
	background: #f6822b;
	color: #fff;
	border: 1px solid #fff;
	box-shadow: inset 0px 0px 3px #fff;
}
#video_wrap > .auto_pause_phase_two.on_video .toggle.btn {
	position: absolute;
	width: 60px;
	height: 60px;
	padding: 1px;	
	top: 95px;
	right: -60px;
	border-radius: 0 100px 100px 0;
	font-size: 40px;
	background: #f6822b;
}
#video_wrap > .auto_pause_phase_two.on_video .toggle.btn.collapsed {
	border-radius: 100px 0 0 100px;	
}
#video_wrap > .auto_pause_phase_two.on_video .toggle.btn.collapsed .countdown {
	display: inline-block;
	position: absolute;
	width: 36px;
	height: 36px;
	top: 12px;
	left: 11px;
	background: #fff;
	color: #f6822b;
	border-radius: 20px;
	line-height: 1.5;
	font-size: 60%;
}
#video_wrap > .auto_pause_phase_two.on_video .section .dict_button {
	display: inline-block;
	width: 45px;
	padding: 4px;
	color: #f6822b;
	background: #fff; 
	border-radius: 5px;
	text-align: center;
	cursor: pointer;
}
/* end: auto pause phase II */

#controls {
	position: relative;
}
#controls.pause_after_caption.active,
#controls.auto_pause.active {
	border: 3px solid #f6822b; 
}
body.mobile.landscape:not(.game):not(.d_game) #controls {	
	position: fixed;
	width: 100%;
	top: 40px;
}
body.mobile.landscape:not(.game):not(.d_game) #controls.pause_after_caption.active {	
	z-index: 5;
}
body.mobile.landscape.playing:not(.game):not(.d_game) #controls {
	display: none;
}
body.fullscreen:not(.controls_shown):not(.game):not(.d_game) #controls {
	display: none;
}
body.fullscreen.youtube.auto_pause_2:not(.game):not(.d_game) #controls {
	display: block;	
}

.scrub_bar {
	height: 20px;
	z-index: 3;
}
#playback_controls {
	align-items: center;
	display: -webkit-box; 
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; 
	display: flex;
	-webkit-flex-direction: row;
	-moz-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-justify-content: center;
	-moz-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;
	position: relative;
	text-align: center;
	width: 100%;
	margin: 0 0 24px 0;
}
body.classic_mode #playback_controls {
	margin: 0;
}
body.mobile #playback_controls {
	padding: 8px 0;
}
body.mobile.portrait #playback_controls {
	margin:	0;

}
body.fullscreen:not(.controls_shown) #playback_controls {
	display: none;
}
body.fullscreen.youtube.auto_pause_2 #playback_controls {
	display: flex;
}
body:not(.iOS):not(.android) #playback_controls .cbtn:hover:after {
	content: "";
	font-family: FontAwesome;
	font-style: normal;
  font-weight: normal;
	text-decoration: inherit;
	position: absolute;
	bottom: 120%;
	left: 50%;
	padding: 4px 8px;
	background: #4176a6;	
	color: #fff;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	font-size: 80%;
	-webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
	white-space: nowrap;
	z-index: 2;
}	
body:not(.iOS):not(.android) #playback_controls.hide_tooltips .cbtn:hover:after {
	display: none !important;
}
body.classic_mode:not(.iOS):not(.android) #playback_controls .cbtn:hover:after {
	bottom: 120%;
}
body:not(.iOS):not(.android) #playback_controls .cbtn.volume_slider:hover:after {
	content: none;
}
#playback_controls .back_button {
	padding-right: 4px;
}
#playback_controls .skip_button {
	padding-left: 4px;
}
#playback_controls .play .fa-play {
	padding-left: 4px;
}
body.mobile.landscape #playback_controls .back_button,
body.mobile.landscape #playback_controls .skip_button, 
body.mobile.landscape #playback_controls .play {
	display: none;
}
/* disable these buttons when in auto pause mode */
#playback_controls.auto_pause.active .back_button,
#playback_controls.auto_pause.active .skip_button, 
#playback_controls.auto_pause.active .play {
	box-shadow: none;
	background: #ddd;
}
#playback_controls.auto_pause.active .back_button i,
#playback_controls.auto_pause.active .skip_button i, 
#playback_controls.auto_pause.active .play i{
	opacity: 0.35;
}
body:not(.playing) #playback_controls.auto_pause.active.pause_forever .play {
	background: #fff;
	box-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
body:not(.playing) #playback_controls.auto_pause.active.pause_forever .play i {
	opacity: 1;
}
body:not(.playing) #playback_controls.auto_pause.active.pause_forever .cbtn.play:hover:after {
	content: 'Play (Spacebar)' !important;
	background: #4176a6;
	color: #fff;
}
body.classic_mode #playback_controls .classic_mode {
	display: -webkit-box; 
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; 
	display: flex;
}
body.fullscreen #playback_controls .classic_mode, 
body.mobile #playback_controls .classic_mode {
	display: none;
}
#captions_wrap {
	position: relative;
	width: 100%;
	font-size: 20px;
	z-index: 2;
}
body.mobile #captions_wrap {
	font-size: 16px;
	-moz-user-select: text;
	-ms-user-select: text;
	-webkit-user-select: text;
	user-select: text;
}
body.android #captions_wrap, 
body.iOS #captions_wrap, 
body.iPadOS #captions_wrap { 
	-moz-user-select: none;
	-ms-user-select: none;
	-webkit-user-select: none;
	user-select: none;
}

body.classic_mode #captions_wrap,
body.mobile.portrait #captions_wrap {
	bottom: auto;
	position: relative;
}
body.mobile.landscape #captions_wrap {
	position: absolute;
	bottom: 0;	
}
body.mobile.portrait #captions_wrap {
	order: 2;
}
body.mobile.video_end_display #captions_wrap {
	display: none;
}
body.mobile.portrait.video_end_display #captions_wrap {
	display: unset;
}
#captions {
	align-items: stretch;
	display: -webkit-box; 
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; 
	display: flex;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: flex-start;
	-moz-justify-content: flex-start;
	-ms-justify-content: flex-start;
	justify-content: flex-start;
}
/*
body:not(.classic_mode) #captions:hover {
	cursor: pointer;
}
*/
body.youtube_compliance_mode #captions {
	opacity: 0;
}
#captions .wrap {
	display: -webkit-box; 
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; 
	display: flex;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	height: 2.2em;
	-webkit-justify-content: center;
	-moz-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;
	margin-bottom: 0.5em;
	padding: 0 80px;
	position: relative;
}
body.mobile #captions .wrap {
	height: 4em;
	padding: 0 80px 0 10px;
}
body.mobile.landscape #captions .wrap {
	padding: 0 80px; 
}
body.mobile.chinese #captions .wrap {
	padding: 0 80px 0 48px;
}
body.font_extra_small #captions .wrap {
	font-size: 60%;
}
body.font_small #captions .wrap {
	font-size: 80%;
}
body.font_large #captions .wrap {
	font-size: 120%;
}
body.font_extra_large #captions .wrap {
	font-size: 140%;
}
body.classic_mode .wrap {
	padding: 0 2em;
}
body.mobile #captions .wrap {
    margin: 2px 0;
}
body.mobile.portrait #captions .wrap {
    margin: 0.5em 0;
}
#captions .wrap .toggle,
#captions .wrap .toggle_second_btn {
	right: 0.5em;
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
			transform: translateY(-50%);
}
body.classic_mode .wrap .toggle {
	right: 0;
}
body.mobile:not(.chinese) #captions .wrap .toggle {
	width: 60px;
}
#captions .wrap .toggle_second_btn,
body:not(.chinese) #captions .wrap.tg .toggle {
	width: 80px;
}

#caption_indicator,
#games_picker {
	bottom: 50px;
	position: absolute;
	z-index: 4;
}
body.classic_mode #caption_indicator {
	bottom: 10px;
}
body.mobile.landscape.playing #caption_indicator {
	display: none !important;
}
body.classic_mode #caption_indicator.no_translation_captions {
	left: 60px;
}
body.mobile #caption_indicator {
    top: 42px;
    bottom: unset;
}
body.mobile.portrait #caption_indicator {
	top: 8px;
	bottom: unset !important;
}
body.mobile.landscape #caption_indicator {
	background: none;
	top: 8px;
	left: 40px;
}
body.mobile #games_picker {
    bottom: 40px;
}
body.classic_mode #games_picker,
body.mobile.portrait #games_picker {
	bottom: 20px;
}
body.mobile.landscape #games_picker {
	bottom: 160px;
}
body.mobile.landscape.chinese #games_picker {
	bottom: 180px;
}
body.mobile.landscape.chinese #games_picker.chinese_pinyin_mode {
	bottom: 225px;
}
body.mobile.landscape.playing #games_picker {
	display: none;
}
body.game #caption_indicator,
body.d_game #caption_indicator,
body.game #games_picker,
body.d_game #games_picker {
	display: none;
}

#caption_indicator {
	background: rgba(0, 0, 0, 0.65);
	border-radius: 20px;
	color: #fff;
	font-size: 13px;
	bottom: 40px;
	left: 10px;
	padding: 5px 10px;
}
body.fullscreen:not(.controls_shown) #caption_indicator {
	display: none;
}
body.fullscreen.youtube.auto_pause_2 #caption_indicator {
	display: inline-block;
}
#games_picker {
	right: 10px;
}
body.classic_mode #games_picker {
	right: 0;
}
body.youtube.playing:not(.classic_mode):not(.mobile) #games_picker {
	right: 140px;
	bottom: 50px;
}
body.youtube.auto_pause_2 #games_picker {
	right: 10px !important;
}
#games_picker .games_btn {
	background: #f6822b;
	border-radius: 30px;
	box-shadow: 0px 2px 2px rgba(0,0,0, 0.25);
	color: #fff;
	cursor: pointer;
	padding: 10px;
}
#games_picker .games_btn:hover {
	box-shadow: 0px 4px 4px rgba(0,0,0, 0.25);
}
body.fullscreen:not(.controls_shown) #games_picker .games_btn {
	display: none;
}
body.fullscreen.youtube.auto_pause_2 #games_picker .games_btn {
	display: inline-block;	
}
body.mobile.landscape #games_picker .games_btn {
	font-size: 80%;
}
#games_picker.active .games_btn {
	background-color: #d3d3d3;
	background: #4176a6;
	color: #fff;
}
body.classic_mode .search_box .search_block {
}
body.classic_mode .search_box .search_block.second {
	margin-top: 15px;
}
body.classic_mode .search_box .search_block form {
	display: inline-block;
	position: relative;
	width: 100%;
}
body.classic_mode .search_box input {
	background-color: #fff;
	border: 1px solid #b1b1b1;
	border-radius: 4px;
	box-shadow: none;
	color: #000;
	display: block;
	font-size: 105%;
	margin-right: 0.5%;
	outline: none;
	padding: 6px 42px 6px 10px;
	width: 100%;
}
body.classic_mode .search_box label {
	display: block;
	padding-bottom: 3px;
}
body.classic_mode .search_box form a {
	position: absolute;
	text-align: center;
	cursor: pointer;
	right: 0;
	bottom: 0;
}
body.classic_mode .search_box .search_block .search i {
	background: transparent;
	border: none;
	color: #aaa;
	font-size: 28px;
	padding: 0 10px 4px 0;
}

body.classic_mode .search_box form label {
	border: 1px solid transparent;
	color: #a0a0a0;
	height: 100%;
	left: 0;
	margin-right: 0.5%;
	padding: 6px 42px 6px 10px;
	position: absolute;
	pointer-events: none;
	top: 0;
	width: 100%;
	transition: all 0.3s;
}
body.classic_mode .search_box form label.input_keyup { 
	top: -20px;
	font-size: 12px;
}
body.classic_mode .search_box .search_block.second .search i {
}
body.classic_mode .search_box input#lookup:focus {
	border: 1px solid #719ece; 
	box-shadaow: 0 0 10px #719ece;
}
body.classic_mode .search_box input#search_button {

}
body.mobile.landscape .user_button {
	display: none;
}
body.mobile.landscape .swap_to_old_player {
	bottom: 28px;
}
.new_player_feedback .main_btn a {
  text-decoration: none;
  color: #fff;
}


#mobile_top_navbar {
  position: fixed;
  width: 100%;
  height: 45px;
  top: 0;
  left: 0px;
  bottom: 13px;
  background: #283039;
  z-index: 5;
}
#mobile_bottom_navbar {
  position: fixed;
  width: 100%;
  height: 45px;
  left: 0px;
  bottom: 13px;
  bottom: 0;
  background: #283039;
  z-index: 5;
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}
#mobile_top_navbar, #mobile_bottom_navbar {
  background: rgba(0,0,0,0.85);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  display: none;
}
#title {
  position:absolute;
  top:95px;
  width:100%;
  height:70px;
  /*overflow:hidden;*/
  text-shadow:0px 1px 0px #fff;
}
#title h2 {
  margin:0;
  padding:0;
  font-size:110%;
  color:#777;
  text-shadow:0px 1px 0px #fff;
}
#media_selector {
  position:relative;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  height: 94%;
}
#media_selector .hide_show_parts_arrow {
  position: relative;
  top: -6.5px;
  float: right;
}
#media_selector .hide_show_parts_arrow:hover,
#media_selector .hide_show_parts_arrow:focus {
  cursor: pointer;
  color: #a2b1b2;
}
#media_selector .fa-caret-down,
#media_selector .fa-caret-up {
  font-size: 1.7em;
}
#drop_down_selector {
  display: none;
  position: relative;
  margin: 10px 0 5px 0;
}
body.classic_mode #drop_down_selector {
	display: block;
}
#title_selector {
  position:relative;
  width: 100%;
  height:auto;
  margin: 0;
  padding:5px;
  padding-right:17px;
  color:#777;
  border-radius: 4px;
  float:none;
  font-size:100%;
  line-height:15px;
	border-color: #b1b1b1;
}
#title_selector img {
  position:absolute;
  right:5px;
  top:0px;
  margin:3px;
  width:9px;
  height:19px;
}	
#title_selector_no_dropdown {
    display: none;
    position: relative;
    width: 100%;
    height: auto;
    margin: 20px 0 15px 0;
    padding-left: 2px;
    color: #777;
    border-radius: 4px;
    float: none;
    line-height: 15px;
    border-color: #b1b1b1;
    font-size: 110%;
    font-weight: bold;
    text-shadow: 0px 1px 0px #fff;
} 
body.classic_mode #title_selector_no_dropdown {
    display: block;
}
#media_options {
  position:absolute;
  top: 28px;
  margin:0; padding:0;
  list-style-type:none;
  border-top:1px solid #aaa;
  z-index:1000;
  display:none;
  box-shadow:0px 4px 10px rgba(0,0,0,.4);
  overflow-y: scroll;
}
#media_options li {
  margin:0;
  text-shadow:none;
  color:#777;
  padding:2px 5px;
  font-size:13px;
  border-left:1px solid #aaa;
  border-right:1px solid #aaa;
  border-bottom: 1px solid #ddd;
  background-color:#f4f4f4;
  cursor:pointer;
}
#media_options li.selected {
  color:#333;
  background-color:#ffffdd;
}
#media_options li:hover {
  color:#fff;
  background-color:#396CEF;
  border-bottom: 1px solid #396CEF;
}

#title .media_details {
  font-size:90%;
  position:absolute;
  bottom:4px;
  color:#777;
}
#title .media_details .label {
  color:#aaa;
  font-size:90%;
}
#title .media_details .accent {

}
#title .media_details .region {
  margin-left:14px;
}
#title .media_details .lang_from_tag {
  font-weight: bold;
}
#title .media_details .sub_accent_tag {
  font-size: 13px;
}
#info_panel {
  position:absolute;
  top:180px;
  width:100%;
}



#fsd_head {
  position: absolute;
  background-color: #4176a6;
	border; 1px solid #224a9a;
  padding:4px;
  border-radius: 3px 3px 0 0;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
}
body.classic_mode #fsd_head {
	display: none !important;
}
#fsd_head form {
  margin:0;
}
#fsd label {
  display: block;
  font-size:12px;
  color:#aaa;
}
#fsd input {
	font-size: 17px;
	line-height: 22px;
	border: 0;
	width: 400px;
	max-width: calc(100% - 40px);
	padding: 4px 6px;
	box-shadow: inset 1px 1px rgba(0, 0, 0, .2);
	outline: none;
}
#fsd button {
  background-color: #fff;
  width:28px;
  height: 24px;
  display: inline-block;
  border:0;
  cursor: pointer;
  margin-top: 4px;
  margin-left:-30px;
  color:#999;
  vertical-align: top;
  font-size:13px;
}
#fsd button:active {
  outline: none;
}
#fsd_loading {
	position: absolute;
	width: 18px;
	height: 18px;
	right: 52px;
	top: 10px;
}
#fsd_close {
	position: absolute;
	height: 100%;
	width: 40px;
	top: 0;
	right: 0;
	padding-top: 12px;
	color: #fff;
	text-align: center;
	cursor: pointer;
}
#fsd_close:hover {
	background-color: rgba(255,255,255,.1);
}
#fsd_close .fa.fa-close:before, 
#fsd_close .fa.fa-remove:before {
	content: "\f00d";
}

.portrait_phone #fsd_close {
  border-left:0;
  color:#fff;
  text-align: center;
  line-height: 29px;
  width:30px;
  height:30px;
  border-radius: 15px;
  cursor: pointer;
  background-color: #888;
  top:5px;
  right:5px;
}
.portrait_phone #fsd_close:hover {
  color:#aaa;
}
#fsd_outer {
  border-radius: 3px;
  width:450px;
}
body.mobile #fsd_outer,
body.classic_mode #fsd_outer {
	width: 100%;
	background: #fff;
}
body.classic_mode #fsd_outer {
	height: 100%;
}
#fsd_result {
  overflow-y:auto;
	min-height: 100px;
	max-height: 300px;
	background-color: #fafafa;
	padding: 0;
	border-radius: 0 0 3px 3px;
	border: 1px solid #ddd;
	border-top: 0;
}
body.classic_mode #fsd_result {
	height: 100%;
	max-height: none;
}
@media screen and (max-height: 700px) {
	body:not(.classic_mode):not(.iOS):not(.android) #fsd_result {
		max-height: 180px;
	}
	body .dict_response {
		font-size: 80%;
	}
	#fsd_result .gloss_def {
		font-size: 80%;
	}
	#fsd_result .word_audio {
		font-size: 0.5em;
	}
}
body.classic_mode #fsd_result #looking_up_msg {
	position: absolute;
	top: 0px;
	padding: 10px;
}
#fsd_result .gloss_def,
#fsd_result .dict_response {
	height: auto;
  padding: 0 10px;
}
#fsd_result .gloss_def.hide,
#fsd_result .dict_response.hide {
	display: none;
}
body.classic_mode #fsd_result .gloss_def {
	min-height: auto;
}
#fsd_result .gloss_def .dict_res .title.hide {
	display: none;
}
#fsd_result .gloss_def .dict_res .e_idx.hide {
	display: none;
}
#fsd_result .dict_response i {
	font-style: italic;
}
body.classic_mode #fsd_result .dict_response {
  padding: 10px;
}
#fsd_result .pronunciations {
	padding: 10px;
	padding-bottom: 0;
	margin: 0;
}
#fsd_result .dict_response p:last-child {
  border-bottom:0;
}
#fsd_can_scroll_indicator {
  position: absolute;
  width: 380px;
  height:20px;
  bottom:31px;
  margin:0 0 0 3px;
  background-image: linear-gradient(rgba(250,250,250,0),rgba(250,250,250,1) 90%);
}
body.classic_mode #fsd_result .dict_response {
	width: 100%;
}
#fsd_pointer {
  width:60px;
  height:30px;
  position: relative;
  top:-1px;
}
body.classic_mode #fsd_pointer {
	display: none;
}
.scroll_pocket {
  position: relative;
  z-index: 1;
	background: #FFF no-repeat;
	background-image:
		radial-gradient(farthest-side at 50% 0, rgba(0,0,0,0.2), rgba(0,0,0,0)),
		radial-gradient(farthest-side at 50% 100%, rgba(0,0,0,0.2), rgba(0,0,0,0));
	background-image: linear-gradient( to bottom, rgba(0,0,0,0.2) 0, rgba(0,0,0,0) 6px), 
		linear-gradient(to top,rgba(0,0,0,0.2) 0, rgba(0,0,0,0) 10px );
	background-position: 0 0, 0 100%;
	background-size: 100% 14px;
}

.scroll_pocket:before,
.scroll_pocket:after {
  content: "";
  position: relative;
  z-index: -1;
  display: block;
  height: 30px;
  margin: 0 0 -30px;
  background:   linear-gradient(to bottom,#fafafa,#fafafa 30%,rgba(255,255,255,0));
  }
.scroll_pocket:after {
  margin: -30px 0 0;
  background:   linear-gradient(to bottom,rgba(255,255,255,0),#fafafa 70%,#fafafa);
}


.mask {
  position:absolute;
  z-index:99;
  width:100%;
  height:100%;
  background-color:#000;
  opacity:.8;
  top:0;
  left:0;
}

.minikeyboard_container {
  padding-top:20px;
  text-align:center;
}
.minikeyboard {

}
.minikeyboard .key {
  padding:0;
  width:32px;
  height:32px;
  line-height: 30px;
  text-align:center;
  margin: 0 3px 3px 0;
  border-radius: 3px;
  display:inline-block;
  float:none;

}
.minikeyboard_container .ipad_tip {
  font-size:60%;
  color:#999;
}
.minikeyboard_container .ipad_tip a{
  color:#999;
  text-decoration:underline;
}
.fullscreen #video_wrap {
  padding: 0;
  border:0;
}
.d_game.classic_mode #video_container, 
.game.classic_mode #video_container {
	width: 100%;
	top: 0px;
}	
.fullscreen #video_container {
  height: 500px;
}
#embedded_player {
  left: 0;
  position: absolute;
  display: none;
}
body.youtube #embedded_player {
  display: block;
	z-index: 1;
}

.unimp {
  filter: blur(2px);
  -webkit-filter: blur(2px);
}

#video_end_overlay .end_right {
	position: absolute;
	height: 100%;
	padding: 10px 0;
  text-align: left;
  font-size: 13px;
	overflow-y: scroll;
}
#video_end_overlay .end_right.logged-in {
	top: 100px;
}
#video_end_overlay .end_right::-webkit-scrollbar {
	width: 0;
}
#video_end_overlay .end_right .other_demos {
}
.end_right .feedback {
  margin-bottom: 15px;
}
.end_right .like_message, .end_right .dislike_message {
  display: none;
}
.like_video.active, .like_video.active:hover {
  border:1px solid #0a0;
  background-color: #080;
}
.dislike_video.active, .dislike_video.active:hover {
  border:1px solid #a00;
  background-color: #800;
}
.end_right a {
  display: inline-block;
  font-size:14px;
  border:1px solid #eee;
  padding: 7px 9px;
  margin-right:5px;
  color:#eee;
  text-decoration: none;
  border-radius: 5px;
  text-align: center;
}
.end_right a.repeat_forever {
	margin-bottom: 15px;
}
.end_right a:hover {
  background-color: #444;
  color:#f4f4f4;
}
.feedback label {
  display: block;
  margin-bottom: 4px;
  color:#999;
}
.feedback textarea {
  width:100%;
  height:70%;
}
.end_right a.next_segment {
  display: none;
  line-height: 25px;
  margin:0;
}
.end_right a.next_segment .thumbnail {
	position: relative;
}
.end_right a.next_segment .thumbnail .play_icon {
  position: absolute;
	top: 50%;
	left: 50%;
  color: #ccc;
	font-size: 400%;
  z-index: 1;
	-webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.end_right a.cancel_segment {
	display: none;
	margin-top: 15px;	
}
.end_right a:hover {
	opacity: 0.8;
}
.end_right .demo_item {
	position: relative;
	width: 240px;
	padding: 2px;
	margin: 10px 0;
	cursor: pointer;
	border: 1px solid;
}
.end_right .demo_item:hover {
  background-color: #444;
  color:#f4f4f4;
}
.end_right .demo_item img {
  float:left;
  margin-right: 6px
}
.end_right .demo_title {
	position: absolute;
	width: 143px;
	height: 34px;
	top: 19px;
	left: 89px;
	overflow: hidden;
}
.end_right .demo_properties {
	position: absolute;
	width: 143px;
	top: 0px;
	left: 89px;
	padding-top: 3px;
	font-size: 12px;
	color: #999;
}

#pause_overlay, #play_overlay, #replay_overlay, #replay_overlay_soft,
#video_container_inner .slow_rate_on, #video_container_inner .slow_rate_off, 
#video_container_inner .loop_on, #video_container_inner .loop_off { 
  display:none;
  position:absolute;
  width:128px;
  height:128px;
  top:50%;
  left:50%;
  margin: -64px 0 0 -64px;
	z-index: 4;
}
#video_container_inner .slow_rate_on .label,
#video_container_inner .slow_rate_off .label, 
#video_container_inner .loop_on .label,
#video_container_inner .loop_off .label {
	display: none;	
	position: absolute;
	width: 106px;
	left: 10px;
	padding: 6px 8px;
	background: #000;
	color: #fff;	
	border-radius: 8px;
	font-size: 90%;
}
#play_overlay, #pause_overlay {
}
#back_overlay {
  display:none;
  position:absolute;
  width:128px;
  height:128px;
  top:50%;
  left:10px;
  margin: -64px 0 0 0;
	z-index: 5;
}
#skip_overlay {
  display:none;
  position:absolute;
  width:128px;
  height:128px;
  top:50%;
  right:10px;
  margin: -64px 0 0 0;
	z-index: 5;
}
body.youtube.mobile.landscape {
	 -webkit-tap-highlight-color: rgba(0,0,0,0);
} 
body.youtube.mobile.landscape #skip_overlay, 
body.youtube.mobile.landscape #back_overlay { 
	display: block !important;
	width: 65px;
	height: 65px;
} 
body.youtube.mobile.landscape #skip_overlay { 
	right: 0;
}
body.youtube.mobile.landscape #back_overlay { 
	left: 0;
}
body.mobile.portrait #play_overlay, 
body.mobile.portrait #pause_overlay, 
body.mobile.portrait #skip_overlay, 
body.mobile.portrait #back_overlay {
	width: 15vw;
	height: 15vw;
	margin: 0;
}
@media screen and (min-width: 1300px) {
	body.mobile.portrait #play_overlay, 
	body.mobile.portrait #pause_overlay, 
	body.mobile.portrait #skip_overlay, 
	body.mobile.portrait #back_overlay {
		width: 128px;
		height: 128px;
	}
}
body.mobile.portrait #play_overlay, 
body.mobile.portrait #pause_overlay { 
	transform: translate(-50%, -50%);
}
body.mobile.portrait #skip_overlay, 
body.mobile.portrait #back_overlay {
	transform: translateY(-50%);
}
body.mobile.landscape #play_overlay, 
body.mobile.landscape #pause_overlay, 
body.mobile.landscape #skip_overlay, 
body.mobile.landscape #back_overlay {
	transform: translateY(-50%);
}

#loading_spinner {
  width:32px;
  height:32px;
  position:absolute;
  top:50%;
  left:50%;
  margin: -16px 0 0 -16px;
  display: none;
}
.not_ipad #loading_spinner {
  display: block;
}
#timeline_left, #timeline_right {
  background-color:#111;
  width:100px;
  height: 20px;
}
#timeline_left {
  float:left;
}
#timeline_right {
  float:right;
}
/* increase hit area */
.scrub_bar:after,
.scrub_bar:before {
  content: "";
  background-color: transparent;
  position: absolute;
  width: 100%;
  z-index: 10;
}
.scrub_bar:before {
  top:-20px;
}

 /*uncomment the height to bring the loading tracker bar*/
.scrub_bar .track {
  position: absolute;
  width: 100%;
  height: 2px;
  top: 0px;
  background:#333;
  z-index: 2;
}
body.mobile.landscape .scrub_bar .track {
	bottom: 0px;
}
.scrub_bar .progress {
  position: absolute;
  width: 0%;
  height: 2px;
  top: 0;
  left: 0;
  background: #ec7d19;
  transition: width .8s linear;
}
#controls.pause_after_caption.active .scrub_bar .progress {
	background: #ff0000;
}
#controls .auto_pause.disable.notification {
	display: none;
	position: absolute;
	width: 100%;
	bottom: 100%;
	margin-bottom: 3px;
	padding: 5px 0;
	background: #ddd;	
	color: #4176a6;
	text-align: center;	
	z-index: 5;
}
#controls .auto_pause.disable.notification.show {
	display: block;
}
.scrub_bar .scrubber {
  position: absolute;
  width: 4px;
  height: 20px;
  top: 0px;
  background: #4c7eab;
  pointer-events: none; /* allowed since non critical */
}
.fullscreen .scrub_bar .scrubber {
  height: 25px;
}
.scrub_bar .touch_scrubber {
  display: none;
  position: absolute;
  width:60px;
  height: 60px;
  top:-21px;
  border-radius: 30px;
  background-color: #f90;
  border: 1px solid #a60;
  z-index: 100;
  opacity: .7;
}
.scrub_bar .segments {
  position: absolute;
  width: 100%;
  height: 18px;
  top: 2px;
  cursor: pointer;
  backgroud-color: #999;
	background-image: 
	-webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(1, #888),
		color-stop(0, #aaa)
	)
}
#controls.auto_pause.active .scrub_bar .segments {
	opacity: 0.5;
}
body.mobile.landscape .scrub_bar .segments {
	bottom: 5px;
	opacity: 0.8;
}
.scrub_bar .segment {
  position: absolute;
  height: 18px;
  top: 0px;
  margin: 0px;
  padding:0;
 	border-left: 1px solid #777;
  background-color: #f1f1f1;
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(1, rgb(254,254,254)),
		color-stop(0, rgb(230,230,230))
	);
	text-shadow: 0px 1px 0px #fff;
	box-shadow: inset 2px 2px 1px #fff;
}
/*
.scrub_bar .segments .segment.even_light_orange {
  border-left: 1px solid #999;
	background: #fff;
}
.scrub_bar .segments .segment.odd_dark_orange {
  border-left: 1px solid #999;
  background: #DDD;
}
.scrub_bar .segments .segment.even_light_orange.highlight, 
.scrub_bar .segments .segment.odd_dark_orange.highlight {
  background-color: #ec7d19;
  background-image: none;
  box-shadow: none;
}
*/
.not_ipad .scrub_bar .segment:hover {
  cursor: pointer;
	background: #666;
	box-shadow: none;
}

#playback_inner {
  position: relative;
}

.button .caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top: 5px solid;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
}
#playback_controls .show_modal_picker.game.button {
  right:155px;
}
.button {
  cursor:pointer;
  text-decoration:none;
  color:#2b61ae;
  border:1px solid #999;
  font-weight:bold;
  /*margin:2px 0 0 0;*/
  display:inline-block;
  padding:0 13px;
  height:37px;
  line-height: 35px;
  background:#f1f1f1;
  vertical-align: middle;
  -webkit-box-shadow: inset 2px 2px 1px #fff;
  box-shadow: inset 2px 2px 1px #fff;
  text-shadow: 0px 1px 0px #fff;
  outline:none;
  background-image: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(1, rgb(254,254,254)),
    color-stop(0, rgb(230,230,230))
  );
  background-image: linear-gradient(rgb(254,254,254),rgb(230,230,230))
}
.noslow {
  display: inline-block;
  color:#999;
  border:1px solid #999;
  font-weight:normal;
  width: 68px;
  height:37px;
  line-height: 11px;
  font-size:11px;
  border-radius: 4px;
  vertical-align: middle;
}
.noslow_android {
  display: none;
  color:#999;
  border:1px solid #999;
  font-weight:normal;
  width: 65px;
  height:37px;
  line-height: 11px;
  font-size:11px;
  border-radius: 4px;
  vertical-align: middle;
}
.not_ipad .noslow {
  display:none;
}
.not_ipad .button:hover {
  color:#4488cc;
  background: #f7f7f7;
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0, #fff),
    color-stop(1, #efefef)
  );
  background-image: linear-gradient(#fff,#efefef);
}
.not_ipad .button:active, .button.pressed {
  -webkit-box-shadow: inset 2px 2px 3px  #777;
  box-shadow: inset 2px 2px 3px #777;
  background-image: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(0, #fff),
    color-stop(1, #f4f4f4)
  );
  background-image: linear-gradient(#fff,#f4f4f4);
}
.back.button {
  border-radius: 4px 0 0 4px;
  border-left: 1px solid #999;
  border-right:0;
}
.play.button {
  text-align:center;
  width:76px;
  border-radius: 0;
  border-right:0;
}
.portrait_phone .play.button {
  width: auto;
}
.skip.button {
  border-radius: 0 4px 4px 0;
  border-right: 1px solid #999;
}
.slow.button, .loop.button {
  color:#f90;
  border-radius: 4px;
}
.not_ipad .slow.button:hover, .not_ipad .loop.button:hover {
  color: #a16100;
}
.cbtn.active,
.games_btn.active,
#captions .wrap .toggle,
#captions .wrap .toggle_second_btn,
.toggle_dummy {
	/*
  background-color: #d3d3d3;
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0, #999),
    color-stop(.2, #bbb),
    color-stop(1, #ddd)
  );
  background-image: linear-gradient(#999 0%,#bbb 20%,#ddd 100%);
  -webkit-box-shadow: inset 2px 2px 2px rgba(0,0,0,.2);
  box-shadow: inset 2px 2px 2px rgba(0,0,0,0.2);
  text-shadow:0px 0px 0px #666;
  border-color:#666;
	*/
	background: #4176a6;
	color: #fff;
}
.portrait .fullscreen.button {
  display:none;
}
.fullscreen.button {
  padding:0 5px;
  border-radius:4px;
}
.fullscreen.button .gofull {
  display:inline;
}
.fullscreen.button .gonormal {
  display:none;
}
.fullscreen.button.active .gofull {
  display:none;
}
.fullscreen.button.active .gonormal {
  display:inline;
}
.blue.button {
  margin: -5px 0 0 0;
  text-shadow:0 -1px 0 #333;
  border:1px solid #2F507B;
  color:#eee;
  background: rgba(65,118,166,1);
  -webkit-box-shadow: inset 2px 2px 2px rgba(255,255,255,0);
  box-shadow: inset 2px 2px 2px rgba(255,255,255,0 );
}
.not_ipad .blue.button:hover {
  color:#fff;
  background-color: #4881B1;
  background-image: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(0.19, rgb(79,137,185)),
    color-stop(0.6, rgb(43,97,142))
  );
  background-image: linear-gradient(rgb(43,97,142) 40%,rgb(79,137,185) 89%)
}
.blue.button:active {
  color:#fff;
  background-color: #4881B1;
  background-image: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(0.19, rgb(79,137,185)),
    color-stop(0.6, rgb(43,97,142))
  );
  background-image: linear-gradient(rgb(43,97,142) 40%,rgb(79,137,185) 89%)
}
.game.button {
  position: absolute;
  right:0;
  top:0;
  border-radius: 4px;
}

.fullscreen .game.button {
  right:10px;
}

.game #captions_wrap {
  display: none;
}
/*this is coming back to normal screen from fullscreen*/
#captions .indicator {
  position: fixed;
  margin-top: 5px;
  bottom: 102px;
  left: 0;
  right: 0;
  color: #808080;
  font-size: 13px;
  margin: 18px 0px 0 12px;
  z-index: 1;
}
#captions .indicator .gr {
  display: inline;
  position: fixed;
  bottom: 38px;
  left: 10px;
  padding: 0px 6px;
  color: #fff;
  background-color: rgba(128,128,128,.5);
  border-radius: 20px;
  line-height: 2;
}
#captions .indicator .player_yabla_logo {
  position: relative;
  top: 3px;
  margin-right: 1px;
  margin-left: 3px;
}
.logo_tv {
  height: 22px;
  width: 21px;
  margin-top: 1px;
  margin-right: 5px;
  display: inline-block;
  float: left;
  background-image: url('/images/yablatv_grey.png');
  background-repeat: no-repeat;
  background-size: cover;
}
.mobile_menu, #mobile_menu_mask {
  display: none;
}
body.classic_mode #playback_controls_mask,
body.mobile.portrait #playback_controls_mask {
	display: none !important;
}
.fullscreen #playback_controls .indicator {
  left:10px;
}
#playback_controls .indicator .player_yabla_logo {
  display:block;
  position:relative;
  width: 17px;
  height: 18px;
  top: 5px;
  left: 10px;
  background: url(../images/html5/yabla_icon_caption_count.svg) no-repeat center;
}
.menu_buttons_bottom {
  position: absolute;
}
body.classic_mode .menu_buttons_bottom {

}
.menu_buttons_bottom .item {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 42px;
  margin: 8px 4px;
  padding: 1px 3px;
  border-radius: 40px;
  background-color: #fff;
  color: #4176A6;
}
body.classic_mode .menu_buttons_bottom .item {
	border: 1px solid #ddd;
}
.menu_buttons_bottom .item.classic_mode {
	padding: 9px;
}
body.fullscreen .menu_buttons_bottom .item.classic_mode {
	display: none !important;
}
.menu_buttons_bottom .fullscreen.active {
	background: #4176a6;
}
.ipad.safari .menu_buttons_bottom .fullscreen {
  display: none !important;
}
.menu_item {
	display: inline-block;
	position: relative;
	margin: 8px;
	padding: 1px 3px;
	cursor: pointer;
}
body:not(.classic_mode):not(.iOS):not(.android) .menu_item:hover:after {
	content: "";
	position: absolute;
	top: 110%;
	left: 50%;
	padding: 4px 8px;
	background: #4176a6;	
	color: #fff;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	font-size: 80%;
	-webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}	
body:not(.classic_mode):not(.iOS):not(.android) #media_controls.hide_tooltips .menu_item:hover:after {
	display: none !important;
}
body.iOS .menu_item:hover:after, 
body.android .menu_item:hover:after {
	content: "" !important;
}
body:not(.classic_mode):not(.iOS):not(.android) .menu_item.transcript:hover:after {
	top: 127%;
}
body:not(.classic_mode):not(.iOS):not(.android) .menu_item.side_menu_button:hover:after {
	left: unset;
	right: 0;
	white-space: nowrap;
	-webkit-transform: none; 
  -ms-transform: none;
  transform: none;
}
.menu_item i {
  font-size: 185%;
}
.menu_item.dictionary i {
	font-size: 170%;
}
.menu_item.dictionary.active i {
	color: #cddc39;
}
.menu_item.more_info i {
	font-size: 192%;
	padding-top: 1px;
}
.mobile .menu_item i {
  font-size: 160%;
}
.cbtn.volume_slider {
  z-index: 3;
}
.cbtn.volume_slider:hover {  
  box-shadow: none;
}
#playback_controls .volume_slider.cbtn:hover, 
#playback_controls .volume_slider.cbtn.open {
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: space-between;
	-moz-justify-content: space-between;
	-ms-justify-content: space-between;
	justify-content: space-between;
	align-items: center;
	padding-top: 0.4em;
}
#playback_controls .cbtn.volume_slider .slider {
    display: none;
    position: relative;
    width: 0.2em;
}
#playback_controls .volume_slider.cbtn.open .slider,
#playback_controls .volume_slider.cbtn:hover .slider {
		display: -webkit-box; 
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex; 
    display: flex;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    width: 100%;
    position: absolute;
    bottom: 50%;
    background: #fff;
    border-radius: 0; 
    padding-bottom: 30px;
    z-index: -1;
}
#playback_controls .volume_slider.cbtn.open .slider:before,
#playback_controls .volume_slider.cbtn:hover .slider:before {
    content: '';
    width: 42px;
    height: 20px;
    background: #fff;
    position: absolute;
    bottom: 100%;
    border-radius: 20px 20px 0 0;	
}
#playback_controls .volume_slider.cbtn:hover i,
#playback_controls .volume_slider.cbtn.open i {
	margin-bottom: 0.18em;
}

.volume_slider .icon.off,
.volume_slider i.off,
.volume_slider i.down,
.volume_slider.down i.on,
.volume_slider.muted i.on {
	display: none;
}
.volume_slider i.on,
.volume_slider.down i.down,
.volume_slider.muted i.off, 
.volume_slider.muted .icon.off {
	display: inline-block;
	font-size: 125%;
}
.volume_slider.muted .icon.off svg {
	margin-bottom: 0.1em;
}
#playback_controls .volume_slider.muted .icon.off svg {
	margin-bottom: -0.1em;
}
.volume_slider.muted:hover .icon.off svg {
	margin-bottom: -0.02em;
}
#playback_controls .volume_slider.muted:hover .icon.off svg {
	margin-bottom: 0;
}
#playback_controls .cbtn.volume_slider.on .slider {

}
#playback_controls .cbtn.volume_slider .track { 
    width: 0.2em;
    height: 4em;
    background: #4176a6;
    border-radius: 0.5em;
}
.cbtn.volume_slider .track_artwork {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
}
#dictionary_container .media_controls .cbtn .track_artwork {
	background: #777;
}
#playback_controls .cbtn.volume_slider .handle {
    background-color: white;
    border: 1px solid;
    border-radius: 0.5em;
    height: 0.7em;
    width: 0.9em;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
#dictionary_container .media_controls .volume_slider .handle {
	background: #777;
}
#playback_controls .cbtn.volume_slider .handle:after {
  content:"";
  position: absolute;
  width:25px;
  height: 25px;
  /*background-color: rgba(255,0,0,.5);*/
  top:-8px;
  left:-8px;
}
.fullscreen .menu_item.hd_button {
  bottom: 10px;
}
.menu_item.more_menu.active i {
  color: #CDDC39;
}
.menu_item.bookmark.favorite.active i,
#media_controls .menu_item.bookmark.active i,
#media_controls .menu_item.bookmark.active:hover i {
	color: #CDDC39;
}
.menu_item.comment .badge {
	background: #f6822b;
	border-radius: 1em;
	color: #fff;
	font-size: 65%;
	padding: 0.2em 0.4em;
	position: absolute;
	right: -0.3em;
	top: -0.1em;
}
body.classic_mode .menu_item.comment .badge {
	padding: 0.3em 0.4em;
	top: -0.5em;	
}
#bookmarked, #un_bookmarked {
  position: absolute;
  padding: 4px 9px;
  border: 1px solid #E4EACA;
  border-radius: 15px;
  background: #EBF1D3;
  color: #A7B66C;
  -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.2);  /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
  -moz-box-shadow:    0 2px 2px 0 rgba(0,0,0,0.2);  /* Firefox 3.5 - 3.6 */
  box-shadow:         0 2px 2px 0 rgba(0,0,0,0.2);
  z-index: 3;
}

.menu_buttons_bottom .back_button {

  padding-left: 8px;
}
.mobile .menu_buttons_bottom .back_button {
  width: 32px; 
  height: 32px;  
}
.menu_buttons_bottom .play {
  padding: 1px 11px;
}
.mobile .menu_buttons_bottom .play {
  width: 32px;
  height: 32px;
}
.menu_buttons_bottom .skip_button {
  padding-left: 12px;
}
.mobile .menu_buttons_bottom .skip_button {
  width: 32px;
  height: 32px;
}
.menu_buttons_bottom .rate_selector {
  z-index: 1;
}
.menu_buttons_bottom .rate_selector .options {
  position: absolute;
  width: 106%;
  left: -1px;
  bottom: 0;
  border-radius: 40px;
  color: #000;
  background-color: #fff;
  z-index: 0;
}
.menu_buttons_bottom .rate_selector .options .label.slow {
  position: relative;
  left: -10px;
  color: #4176A6;
  font-size: 11px;
  margin: 10px 0 5px 0;
  font-weight: normal !important;
}
.mobile .menu_buttons_bottom .rate_selector .options .label.slow {
  left: -12px;
  font-size: 58%;
}
.menu_buttons_bottom .rate_selector .options .option {
  position: relative;
  left: -10px;
  color: #2A3235;
}
.mobile .menu_buttons_bottom .rate_selector .options .option {
  left: -15px;
}
.menu_buttons_bottom .rate_selector .options .option:nth-child(4) {
  margin-bottom: 10px;
}
#playback_controls .fullscreen.active .fullscreen_icon {
  width: 24px;
  height: 21px;
  background: url('../images/html5/fullscreen_icon_active.svg') center;
}
#playback_controls .fullscreen.active .fullscreen_icon svg#fullscreen_white_bg {
	display: none;
}
#playback_controls .fullscreen .fullscreen_icon {
	padding-top: 5px;
}
.mobile #playback_controls .fullscreen.active .fullscreen_icon {
  top: 5px !important;
  left: 1px !important;
}
body.fullscreen_unavailable #playback_controls .fullscreen {
	display: none !important;
	background: #ccc;
	box-shadow: none;	
}
body.mobile.landscape #playback_controls .fullscreen {
	display: none;
}
#no_fullscreen_tooltip {
	display: none;
	position: fixed;
	background: rgb(255, 255, 255);
	padding: 4px 8px;
	z-index: 2;
	color: rgb(41, 88, 128);
	text-align: center;
	font-size: 0.9em;
}
#no_fullscreen_tooltip .pointer {
	position: abosulte;
	width: 0;
	height: 0;
	top: 100%;
	left: calc(50% - 15px);
	border-style: solid;
	border-width: 0 15px 15px 15px;
	border-color: transparent transparent #fff transparent;
	position: absolute;
	transform: rotate(180deg);
}	
body.fullscreen_unavailable #playback_controls .fullscreen .fullscreen_icon {
  background: url('../images/html5/fullscreen_unavailable_icon.svg') center;	
}
body.iphone .menu_buttons_bottom .fullscreen,
body.ipad .menu_buttons_bottom .fullscreen {
  display: none !important;
}
#playback_controls .loop_icon {
  width: 27px;
  height: 25px;
  background: url('../images/html5/loop_icon_blue.svg') no-repeat center;
}
#playback_controls .loop.active .loop_icon {
  background: url('../images/html5/loop_icon_white.svg') no-repeat center;
}
#playback_controls .loop .badge.auto_pause {
	display: none;
	position: absolute;
	top: -12px;
	right: -6px;
	background: #4176a6;
	border-radius: 20px;
	font-size: 90%;
	border: 1px solid #fff;
	padding: 1px 4px;
	box-shadow: 0px 1px 1px #000;
}
#playback_controls .loop.active.auto_pause .badge {
	display: block;
}
.menu_buttons_bottom span.more_info {
  top: 8px;
}
.menu_buttons_bottom span.more_menu.active i.fa-chevron-circle-up {
  color: #d2e328;
}
.fullscreen .menu_buttons_bottom span.games_btn,
.fullscreen .menu_buttons_bottom span.comment,
.fullscreen .menu_buttons_bottom span.more_info,
.fullscreen .menu_buttons_bottom span.more_menu {
  display: block;
  bottom: 0;
}
.fullscreen .menu_buttons_bottom span.comment,
.fullscreen .menu_buttons_bottom span.more_info,
.fullscreen .menu_buttons_bottom span.more_menu {
  bottom: 10px;
}

.menu_buttons_bottom i {
  position: absolute;
  top: 10px;
  opacity: 0.85;
  font-family: FontAwesome;
  font-size: 22px;
}
body.classic_mode .menu_buttons_bottom i {
	top: 9px;
}
.mobile .menu_buttons_bottom span.back_button i {
  top: 5px;
  left: 3px;
}
.mobile .menu_buttons_bottom span.play i {
  top: 6px;
  left: 10px;
  font-size: 20px;
}
.mobile .menu_buttons_bottom span.skip_button i {
  top: 5px;
  left: 8px;
}
.mobile .menu_buttons_bottom span.play i.fa-pause {
  left: 7px;
}
.menu_buttons_bottom span.loop.active i {
  color: #d3e328;
}
.menu_buttons_bottom span.rate_selector img {
  position: relative;
  top: 13px;
  left: 2px;
}
.menu_buttons_bottom span:hover {
  cursor: pointer;
}
.menu_buttons_bottom span.rate_selector img {
  position: relative;
  top: 13px;
  left: 2px;
}
.menu_buttons_bottom span.classic_mode i {
	top: 9px;
	left: 8px;
}
.menu_buttons_bottom span.classic_mode.active i {
	top: 10px;
	left: 9px;
}
.menu_buttons_bottom span:hover {
  cursor: pointer;
}
.menu_buttons_bottom span.comment {
  top: 6px;
}
.menu_buttons_bottom span.comment i {
  top: -1px;
  font-size: 30px;
}
.menu_buttons_bottom span.choose_game i {
  top: 6px;
  font-size: 22px;
}
.menu_buttons_bottom span.more_menu {
  top: 7px;
}
.menu_buttons_bottom span.more_menu i {
  font-size: 30px;
}
.menu_buttons_bottom span.choose_game:hover,
.menu_buttons_bottom span.bookmark:hover {
  cursor: pointer;
}
.menu_buttons_bottom span.choose_game.is-active .fa-rocket {
  color: #295880;
}

#mobile_mask {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.7);
  z-index: 6;
  cursor: pointer;
}
#mobile_mask .msg {
  position: absolute;
  width: 100%;
  padding: 10px;
  color: #fff;
  font-size: 120%;
  text-align: center; 
  background: rgba(0,0,0,0.8);
}
#mobile_mask .wrap {
  position: absolute;
  top: 45%;
}
#mobile_mask .desc {
  display: inline-block;
  position: relative;
  width: 144px;
  bottom: 78px;
  color: #fff;
  font-size: 120%;
  font-weight: bold;
  z-index: 1;
  text-align: center;
}
#mobile_mask .desc .tap_to {
  font-size: 90%;
  font-weight: normal;
}
#mobile_mask img {
  position: absolute;
  width: 70px;
  height: 70px;
  bottom: -13px;
  border: 2px solid #fff;
  border-radius: 12px;
}
#mobile_mask .left {
  left: 20px;
}
#mobile_mask .left .desc {
	left: -20px;
}
#mobile_mask .right .desc {
	right: -20px;
}
#mobile_mask .left img {
 left: 15px;
}
#mobile_mask .right {
  right: 20px;
}
#mobile_mask .right img {
 right: 15px;
}
#mobile_mask .center {
 width: 100%;
 left: 3%;
 color: #fff;
 text-align: center;
}
#mobile_mask .center .desc.play_pause {
 right: 122px;
}
#mobile_mask .center .desc.swipe_left {
 top: 70px;
 left: 100px;
}
#mobile_mask .center .arrow_left,
#mobile_mask .center .arrow_right {
 display: inline-block;
 position: relative;
 font-size: 200%;
}
#mobile_mask .center .arrow_left {
  right: 20px;
}
#mobile_mask .center .arrow_right {
  left: 96px;
}
#mobile_mask .center .desc.swipe_right {
  top: 70px;
  right: 160px;
}

.help_feedback{
  float: right;
}
#caption_cover {
  display:none;
  position: absolute;
  top:5%;
  left:7%;
  width:86%;
  height:90%;
  background-color: rgba(59, 115, 161,.97);
  color:#fff;
  text-align: center;
}
#caption_cover a {
  color:#f90;
}
.youtube_compliance_mode #caption_cover {
	display: -webkit-box; 
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; 
  display: flex;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-justify-content: space-around;
  -moz-justify-content: space-around;
  -ms-justify-content: space-around;
  justify-content: space-around;
}

@-webkit-keyframes jiggle
{
  0% {-webkit-transform: rotateZ(0deg);}
  17% {-webkit-transform: rotateZ(-1deg);}
  33% {-webkit-transform: rotateZ(1deg);}
  50% {-webkit-transform: rotateZ(0deg);}
}
@-moz-keyframes jiggle
{
  0% {-moz-transform: rotateZ(0deg);}
  17% {-moz-transform: rotateZ(-1deg);}
  33% {-moz-transform: rotateZ(1deg);}
  50% {-moz-transform: rotateZ(0deg);}
}
@-o-keyframes jiggle
{
  0% {-o-transform: rotateZ(0deg);}
  17% {-o-transform: rotateZ(-1deg);}
  33% {-o-transform: rotateZ(1deg);}
  50% {-o-transform: rotateZ(0deg);}
}
@keyframes jiggle
{
  0% {transform: rotateZ(0deg);}
  17% {transform: rotateZ(-1deg);}
  33% {transform: rotateZ(1deg);}
  50% {transform: rotateZ(0deg);}
}
#caption_cover.jiggle {
  -webkit-animation: jiggle 0.5s ease infinite;
  -moz-animation: jiggle 0.5s ease infinite;
  -o-animation: jiggle 0.5s ease infinite;
  animation: jiggle 0.5s ease infinite;
}
.game #captions {
  display:none;
}
body.mobile #captions .wrap {
	width: 100% !important;
	left: 0 !important;
}
#captions .wrap.tt { /* transcript text */
  color: #fff;
  border-radius: 0 0 3px 3px;
  z-index: 1;
	margin-top: 10px;
}
body:not(.iOS):not(.android) #captions .wrap.tg .toggle:hover:before,
body:not(.iOS):not(.android) #captions .wrap.tt .toggle:hover:before,
body:not(.iOS):not(.android) #captions .wrap.tn .toggle:hover:before {
	content: "";
	font-family: FontAwesome;
	font-style: normal;
  font-weight: normal;
	text-decoration: inherit;
	position: absolute;
	bottom: -90%;
	left: -175%;
	padding: 4px 8px;
	background: #4176a6;
	color: #fff;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	font-size: 100%;
	white-space: nowrap;
	z-index: 2;
}
body.chinese.controls_shown #captions .wrap.tr .toggle {
	bottom: 154px;	
}
body.classic_mode.chinese .wrap.tr .toggle {
	bottom: 130px !important;
}
#captions .wrap.tn {
  color: #fff;
  border-radius: 3px 3px 0 0;
  z-index: 1;
}
#captions .wrap.tg {
	display: none;
}
#captions .wrap.tg.show {
	display: -webkit-box; 
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; 
	display: flex;
}

#captions .wrap.tn.hide_wrap,
#captions .wrap.tg.hide_wrap {
	display: none;
}

#captions .wrap.double {
  color: #fff;
  border-radius: 8px;
  text-shadow: 5px 5px 5px #000;
  min-height: 6em;
  height: auto;
}
body.mobile #captions .wrap.double {
  height: 8em;
}
#captions .wrap.double .toggle {
  bottom: 94px;
  margin-bottom: 48px;
  text-shadow: none;
}
body.fullscreen #captions .wrap.double .toggle {
  bottom: 151px;
  margin-bottom: 0;
}
body.fullscreen.controls_shown #captions .wrap.double .toggle {
	bottom: 178px;	
}	
body.fullscreen.chinese.controls_shown #captions .wrap.double .toggle {
	bottom: 80px;	
}	
body.classic_mode #captions .wrap.double .toggle {
	bottom: 44px !important;
}
.portrait_phone #captions .wrap.double {
  height:220px;
}
.do_combine, .do_split {
  position: absolute;
  width: 36px;
  height: 66px;
  left: 0;
  padding:6px;
  border-radius: 0 5px 5px 0;
  color:#fff;
  background-color: #4176A6;
  font-size: 2em;
  text-shadow: none;
  cursor: pointer;
  z-index: 4;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}
.portrait .do_combine, .portrait .do_split {
  left:0px;
}
.do_combine {
  height: 88px;
  top: -12.5%;
	padding: 2px 0px 0 6px;
  font-size: 1.5em;
}
.do_split {
}
body.mobile .do_split {
	width: 32px;
	height: 55px;
	padding: 6px 0 0 8px;
	font-size: 2em;
}	
body.mobile.landscape .do_split {
	top: 30%;
}
body.mobile .do_combine { 
	width: 32px;
	height: 90px;
	padding: 0 0 0 3px;
	font-size: 2em;
}
body.mobile.landscape .do_combine {
	top: -72%;
}
#captions .text {
  text-align: center;
}
body.mobile.portrait #captions .text.collapsed {
	padding-right: 90px !important;
}
#captions .gloss.text {
	padding: 8px;
	padding-left: 0;
}
body.mobile.portrait #captions .gloss.text.collapsed {
	padding: 8px 20px 8px 0;
}
#captions .text .word.hover {
	background-color: #ff0;
}
body.mobile.portrait #captions .text {
  text-align: left;
}
#captions .text .word {
  cursor: pointer;
  text-decoration:none;
}
body.chinese #captions .wrap.tt .word {
  margin-right: 8px;
}
#captions .text .word_block {
  display:inline-block;
  text-align: center;
  line-height: 120%;
  border-radius: 4px;
  margin: 8px;
}
#captions .text .word_block .top {
  text-align: center;
  /*font-size: 25px;*/
  white-space: nowrap;
}
/* Firefox Hack */
@-moz-document url-prefix() {
  #captions .text .word_block .top {
     font-family: "微软雅黑","黑体",Arial,Helverica,sans-serif;
  }
}
.portrait_phone #captions .text .word_block .top{
  font-size: 35px;
}

#captions .text .word_block .top.pull_right{
  margin-right: -10px;
}

#captions .text .word_block .bottom{
  text-align: center;
  /*font-size:19px;*/
}
.portrait_phone #captions .text .word_block .bottom{
  text-align: center;
  font-size:25px;
}
#captions .text .word.active {
	position: relative;
	border-bottom: 3px solid;
}
#captions .text .word.active.lookup::after {
	content: " ";
}
#captions .text .word.active.last_lookup::after {
	content: "";
}
body.fullscreen #captions {
  position: fixed;
	bottom: 30px;
  width: 100%;
  margin: 0;
  padding: 0;
}
body.fullscreen.controls_shown #captions,
body.youtube.fullscreen.auto_pause_2 #captions {
	bottom: 100px;
}
.mobile.fullscreen #captions {
	left: 0px !important;
}
.not_ipad #captions .text .word:hover {
	border-bottom: 3px solid;
  text-shadow: none;
}
#captions .text .word.word_block:hover {
	border-bottom: 3px solid;
}

body.chinese #captions .wrap.tn .word:hover {
  padding: 5px;
	text-decoration: underline;
  border-radius: 4px;
}

#captions .toggle, 
#captions .toggle_second_btn, 
.toggle_dummy {
  display: inline-block;
  height: 34px;
  width: 64px;
  padding: 8px;
  font-size: 16px;
  border: none;
  border-radius: 16px;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 4px 4px rgba(0,0,0, 0.25);
}
body.classic_mode #captions .wrap.tn .toggle {
	bottom: 66px !important;
}
body.fullscreen #captions .toggle {
  bottom: 92px;
}
body.fullscreen #captions .wrap.tn .toggle {
	bottom: 30px;	
}	
body.fullscreen.controls_shown #captions .wrap.tn .toggle {
	bottom: 130px;	
}	
body.classic_mode #captions .toggle {
	right: 0 !important;
	left: unset !important;
}
body.chinese.controls_shown #captions .wrap.tt .toggle {
  bottom: 220px;	
}
body.fullscreen:not(.controls_shown) #captions .wrap .toggle {
	display: none;
}
body.fullscreen #captions .wrap.tt .toggle {
  bottom: 73px;
}
body.fullscreen.controls_shown #captions .wrap.tt .toggle {
	bottom: 173px;	
}	
.mobile #captions .toggle {
  left: initial !important;
  right:  10px !important;
}
#captions .wrap.tg .toggle_second_btn {
	display: none;
  width: 64px !important;
  right: 104px !important;
}
#captions .wrap.tn .toggle_second_btn {
	display: none;
  right: 86px !important;
}
#captions .wrap.tg .toggle_second_btn.show,
#captions .wrap.tn .toggle_second_btn.show {
	display: block;
}
#captions .wrap.tn .toggle_second_btn.hidden {
	display: none !important;
}
body.chinese #captions .wrap.tr .toggle,
body.chinese #captions .wrap.tt .toggle,
#captions .wrap.double .toggle {
	font-size: 11px;
	padding: 12px 8px;
}


#captions .toggle i {
  position: relative;
  top: 0px;
  opacity: 0.85;
  font-family: FontAwesome;
  font-size: 21.91px;
}
#captions .toggle:after,
#captions .toggle_second_btn:after,
.toggle_dummy:after {
  position: absolute;
  content: "";
  width: 20px;
  height: 20px;
  background: white;
  border: none;
  border-radius: 12px;
  top: 8px;
	left: 58%;
  box-shadow: 0px 4px 4px rgba(0,0,0, 0.25);
	-webkit-transition: 0.3s;
	transition: 0.3s;
}
#captions .wrap.tn .toggle_second_btn:after, 
#captions .wrap.tg .toggle:after {
	left: 66%;
	transition: 0.5s;
}
.toggle_dummy:after {
	width: 16px;
	height: 16px;
	top: 6px;
	box-shadow: none;
}
.toggle_dummy#user_gloss_language_pill:after {
	left: 67%;
}
#captions .wrap .toggle_second_btn.off:after,
#captions .wrap.off .toggle:after {
  box-shadow: 0px 2px 2px rgba(0,0,0, 0.25);
	transform: translateX(-146%);
}
#captions .wrap.tn .toggle_second_btn.off:after,
#captions .wrap.tg.off .toggle:after {
	transform: translateX(-232%);
}
#captions .wrap .toggle_second_btn.off,
#captions .wrap.off .toggle {
  background: #c4c4c4;
  text-align: right;
  box-shadow: inset 0px 2px 2px rgba(0,0,0, 0.25);
}
#captions .toggle .hidden {
  display:none;
}
#captions .wrap.off .toggle .hidden {
  display:block;
}
#captions .wrap.off .toggle .showing {
  display:none;
}
#captions .wrap.off .text {
	display: none;
}
#captions .zh_CN {
  line-height:34px;
}
#captions .transcripts_disabled, 
#captions .translations_disabled {
  padding: 4px 0;
  font-size:80%;
  color:#888;
	text-align: center;
}
#captions .transcripts_disabled { 
	margin-top: 20px;
}
#captions .translations_disabled { 
	margin-bottom: 10px;
}
#captions .wrap.tt .transcript .caption_bar,
#captions .wrap.tg .gloss .caption_bar,
#captions .wrap.tn .translation .caption_bar {
	display: inline-block;
	border-radius: 8px;
	padding: 8px;
	user-select: none;
	-webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
/* if caption_bar either regular or gloss button is collapsed, pevent overlapping of text on the buttons */
body.classic_mode #captions .wrap:not(.off) .gloss.collapsed .caption_bar,
body.classic_mode #captions .wrap:not(.off) .translation.collapsed .caption_bar {
	margin: 0 90px; 
}
#captions .wrap.tt .transcript .caption_bar {
	background: rgba(255,255,255,0.85);	
	color: #000;	
	border: 1px solid #eee;
}
#captions .wrap.tg .gloss .caption_bar {
	background: #777;
	color: #fff;
	border: 1px solid #666;
}
#captions .wrap.tn .translation .caption_bar {
	background: rgba(0,0,0,0.85);
	color: #fff;
	border: 1px solid #333;
}	
body.mobile #captions .wrap.tt .transcript .caption_bar,
body.mobile #captions .wrap.tg .gloss .caption_bar,
body.mobile #captions .wrap.tn .translation .caption_bar {
    text-shadow: none;
}
body.classic_mode #captions .wrap.tt .transcript .caption_bar,
body.mobile.portrait #captions .wrap.tt .transcript .caption_bar,
body.classic_mode #captions .wrap.tg .gloss .caption_bar,
body.mobile.portrait #captions .wrap.tg .gloss .caption_bar,
body.classic_mode #captions .wrap.tn .translation .caption_bar,
body.mobile.portrait #captions .wrap.tn .translation .caption_bar {
	background: none;
	color: #000;
	border: none;
	text-shadow: 0 0 7px #fff, 0 0 4px #fff, 0 0 2px #fff;
}
body.chinese #captions .wrap.tt {
  margin-bottom: 10px;
  text-align: center;
}
body.classic_mode.chinese #captions .wrap.tt {
	height: 52px;
	margin-bottom: 5px;
}
.mobile.chinese #captions .wrap.tt {
}
/* text backdrop chinese transcript split */
body.chinese #captions .wrap.tt .text {
  padding: 8px;
  color: #000;
  text-shadow: 0 0 7px #fff, 0 0 4px #fff, 0 0 2px #fff;
}
body.classic_mode.chinese #captions .wrap.tt .text {
	background: none;
}
body.chinese #captions .wrap.tt .text:empty {
	background: none;
	border: none;
}
/* text backdrop chinese transcript combined */
#captions .wrap.double .text .chinese_captions_combined,
#captions .wrap.tr .text .chinese_captions_split {
  display: inline-block;
  text-shadow: none;
  background: rgba(255,255,255, 0.85);
  color: #000;
  border-radius: 8px;
  text-shadow: 0 0 7px #fff, 0 0 4px #fff, 0 0 2px #fff;
}
body.classic_mode #captions .wrap.double .text .chinese_captions_combined, 
body.classic_mode #captions .wrap.tr .text .chinese_captions_split, 
body.mobile.portrait #captions .wrap.double .text .chinese_captions_combined, 
body.mobile.portrait #captions .wrap.tr .text .chinese_captions_split {
	background: none;
}
#captions .wrap.tr .text .chinese_captions_split {
  padding: 8px;
}
#caption_touch_indicator {
  position: absolute;
  display: none;
  background-color: #f4f4f4;
  border:1px solid #ddd;
  padding:10px;
  top:0;
  left:0;
  font-size: 15px;
  border-radius: 4px;
  z-index: 100;

}
.portrait_phone #caption_touch_indicator {
  font-size:15px;
}

#tap_to_start_tip, #click_to_start_tip {
  display: none;
  font-size: 14px;
  text-align: center;
  width:140px;
  height:140px;
  padding:8px;
  color:#ccc;
  background-color: rgba(0,0,0,.7);
  border-radius: 10px;
  pointer-events: none; /* Allowed since device specific */
  position: absolute;
  left:50%;
  margin-left: -70px;
  top:50%;
  margin-top: -70px;
	z-index: 4;
}
#tap_to_start_tip img, #click_to_start_tip img {
  width:100px;
  height:100px;
}
body.requires_user_interaction #click_to_start_tip {
	display: block;
}
body.is_pwa_app #tap_to_start_tip,
body.is_pwa_app #click_to_start_tip,
body.playing #tap_to_start_tip,
body.playing #click_to_start_tip {
	display: none !important;
}
body.mobile.landscape.requires_user_interaction #tap_to_start_tip, 
body.mobile.landscape.requires_user_interaction #click_to_start_tip {
	top: 50vh;
	transform: translateY(-50%);
}
.tooltip_container {
  display: inline-block;
  position: relative;
}
.tooltip_container:hover .tooltip {
  display: inline-block;
}
.has_modal .tooltip_container:hover .tooltip {
  display: none;
}
.tooltip_container .tooltip {
  background-color: rgba(70, 70, 70, 0.9);
  border-radius: 5px;
  display: none;
  padding: 0.25em 0.5em;
  position: absolute;
  right: 0;
  white-space: nowrap;
  width: auto;
}

.align_to_video_bottom {
  position: absolute;
  width: 100%;
  top:400px;
}
.portrait .align_to_video_bottom {
  top:0px;
  position: relative;
}


#list_gtp {
  display: none;
  position: absolute;
  bottom: -150%;
  right: 0;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,.5);
  z-index: 3;
  overflow: hidden;
  border: 2px solid black;
}
#games_picker.active #list_gtp {
	display: block;
}
body.mobile.landscape #games_picker.active #list_gtp {
	right: calc(100% + 5px);
	bottom: -650%;
}
#game_modal sup {
  color:#a00;
}
#game_modal .assign_indicator .assigned, #game_modal .assign_indicator .progress , #game_modal .assign_indicator .completed {
  display: none;
}
#game_modal .assign_indicator.assigned .assigned,
#game_modal .assign_indicator.progress .progress,
#game_modal .assign_indicator.completed .completed {
  display: inline;
}
#game_modal .assign_indicator.completed .completed {
  color: #87964c;
}
.game_divider{
    border-top: 1px solid black;
}
.game_divider .fa{
    padding-right: 12px;
}
.game_divider .fa::before{
    color: #f6822b;
}
.game_divider .fa-walking::before{
    content: "\f554"
}
.game_divider .fa-running::before{
    content: "\f70c"
}
.game_divider h3{
    line-height: 10%;
    color: #f6822b !important;
    font-weight: bold;
    font-family: 'Quicksand', sans-serif;
    font-size: 20px;
    margin: 14px 0px;
}
#game_modal .game_type, 
#game_modal .my_scores {
  color: inherit;
  padding:4px 4px 12px 0;
  position: relative;
  cursor: pointer;
  min-width: 200px;
	display: -webkit-box; 
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex; 
  display: flex;
  -webkit-justify-content: space-between;
  -moz-justify-content: space-between;
  -ms-justify-content: space-between;
  justify-content: space-between;
  text-decoration: none;
  white-space: nowrap;
	border-top: 1px solid #ddd;
}

/* if user selects a caption from settings in the player in English product, then show vocab */
#game_modal .game_type.vocab.force_show { 
	display: -webkit-box !important;  
	display: -moz-box !important;
	display: -ms-flexbox !important;
	display: -webkit-flex !important; 
  display: flex !important;
}

body.mobile #game_modal .game_type,
body.mobile #game_modal .my_scores {
    padding: 4px 4px 4px 0px !important;
}
body.mobile #game_modal .game_type.bootcamp {
    padding-left: 20px !important;
}

#game_modal .game_type:hover, 
#game_modal .my_scores:hover {
  background-color: #e7edf5;
}
#game_modal .game_type .new_video { 
	position: absolute;
	height: 30px;
	width: 30px;
	left: 15px;
	top: 5px;
	background-image: url(/images/star.png);
	background-size: 30px;
}
#game_modal .my_scores {
    border: none;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    
}
#game_modal .name {
  display: block;
  margin-left:20px;
  display: inline-block;
}
#game_modal .trophy_count {
	font-size: 10px;
	vertical-align: middle;
}
#game_modal .trophies {
  display: inline-block;
  vertical-align: top;
  padding:0 0 0 10px;
  min-width: 15px;
}
#game_modal .trophies .wrapper .count {
	position: relative;
	top: 15px;
	left: -15px;
}
body.mobile #game_modal .trophies .wrapper .count {
	top: 5px;
	left: 2px;
}
#game_modal .trophies .wrapper.gold .count {
	color: gold;
}
#game_modal .trophies .wrapper.silver .count {
	color: silver;
}
#game_modal .trophies .wrapper.bronze .count {
	color: #ec9d61; 
}
#game_modal .trophies .trophy{
  width:20px;
}
#game_modal .trophies .trophy.double_digit {
	position: relative;
	left: 4px;
}
#game_modal .trophies .trophy.silver {
  width:25px;
}
#game_modal .trophies .trophy.gold {
  width:30px;
}
#game_modal .trophies .dictation_trophy {
  display: inline-block;
  position: relative;
  width: 25px;
  height:33px;
  margin:0 3px;
}
#game_modal .trophies .dictation_trophy img {
  position: absolute;
  width:100%;
  height: 100%;
  left:0;
  top:0;
}
#game_modal .trophies .dictation_trophy .value {
  width: 100%;
    text-align: center;
    padding-top: 5px;
    position: relative;
    display: block;
    font-size:10px;
}
#game_modal .trophies .dictation_trophy.gold {
  color:#806d22;
}
#game_modal .trophies .dictation_trophy.silver {
  color:#666;
}
#game_modal .trophies .dictation_trophy.bronze {
  color:#593d22;
}
#game_modal .has_played {
  font-size:12px;
  color: #4176a6;
  display: inline-block;
  padding:5px;
  position: absolute;
  right:3px;
  top:6px;
}
#game_modal .assigned .has_played {
  display: none;
}
#game_modal .patent,
#game_modal .beta_test {
  font-size:11px;
  color:#555;
  font-style: italic;
}
.mobile.landscape #game_modal .patent,
.mobile.landscape #game_modal .beta_test {
  font-size: 10px;
}
#game_modal.no_user .title, #game_modal.no_user .description {
  margin-left:15px;
}


#game_modal .title {
  display: block;
  font-weight: bold;
  font-size:14px;
  padding-bottom: 2px;
  color:#111;
}
#game_modal .game_type.new_video .title {
	margin-left: 35px;	
}
.mobile.landscape #game_modal .title {
  font-size: 12px;
}
#game_modal .assign_indicator,
#game_modal .description {
  font-size: 12px;
}
.mobile.landscape #game_modal .description {
  font-size: 10px;
}
#game_modal .beta_message {
  color: #777;
  display: inline-block;
  font-style: italic;
  font-weight: normal;
  font-size:12px;

}
#game_modal .assign_indicator {
  color: #2B61AE;
  font-weight: normal;
  display:none;
  font-weight: bold;
  font-size:14px;
}
#game_modal .assigned .assign_indicator {
  display: inline;
}
#game_modal .not_assigned {
  opacity: 0.5;
}
#game_modal .description {
  display: block;
  color: #777;
}
#game_modal .game_type.new_video .description {
	margin-left: 35px;
}
#game_modal .game_type.zh_opt {
  display: none;
  padding: 4px 4px 4px 14px;
}


#progress_dots {
  margin: 0 0 14px 0;
}
.ipad #chart_boards, .portrait #chart_boards {
  display:none;
}
#chart_boards {
  margin:20px 70px;
  opacity: .7;
}
#chart_boards .chart {
  height:100px;
  background-color: #eee;
  margin-top: 6px;
}
#chart_boards label {
  color: #888;
  font-size: 13px;
}

#progress_dots .dot  {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 4px;
    border:1px solid transparent;
    vertical-align: middle;
    margin:0 4px 0 0;
    cursor: pointer;
}

#progress_dots .unattempted {
  /*background-color:#bbb;*/
  border:1px solid #bbb;
}
#progress_dots .begun {
    background-color:#acf;
    border:1px solid #acf;
}
#progress_dots .done {
  background-color:#0a0;
  border:1px solid #0a0;
}
#progress_dots .dot.current {
  width:12px;
  height:12px;
  border-radius: 6px;
  background-color: #f90;
  border:1px solid #f90;
}
#progress_dots .dot.current.done {
  background-color: #0a0;
  border:2px solid #f90;
}
#progress_dot .dot.bad_index {
  border:1px solid transparent;
  background-color: transparent;
}

/* Flipper v2.0 */

.flipper {
  display: inline-block;
}
.flip_squeeze {
  transform: scaleX(0);
}
.flip_changed {
  color: #0a0 !important;
}
.flip_ended {

}

/*

Moving the flipper / feedback CSS here:

*/
.feedback {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
.feedback .letter {
  display: inline-block;
  position: relative;
}
.feedback .match {
  color:#080;
}
.feedback .delete {
  color:#a00;
  text-decoration: line-through;
}
.feedback .missing {
  color:#a00;
  margin: 0 1px;
}
.feedback .match_start .missing {
  color:black;
}
.feedback .swap {
  color:#a00;
  text-decoration: line-through;
}
.feedback .soft_swap {
  color:#f70;
}
.feedback .case_swap {
	color:#d0f;
}

.correction {
  cursor: pointer;
  position: relative;
}
.correction.no_type {
  cursor: default;
}
.correction .letter.match {
  cursor: default;
}
.correction.insert:not(.auto_reveal) .text {
  color: rgba(0,0,0,0);
  background-color: #ddd;
}
.correction.fuzzy_match:not(.match_start) {
  border-radius: 2px;
  border-bottom: 1px dotted #d77;
}
.correction.fuzzy_match.match_start {
  border: none;
}
.chinese .feedback .soft_swap {
  color: #564433;
}

.feedback .insert.auto_reveal {
  color:#555;
}
.feedback .insert .revealed_character {
	background: #f1f1f1;
	color: #000;
}
.feedback .fuzzy_match .auto_reveal {
  color: #ABABAB;
}
.flipper_container {
    display: inline-block;
}
.flipper_container .flipper {
    bottom: -4px;
    display: inline-block;
    position: relative;
    transition: transform 1s ease-in-out;
    -webkit-transition: -webkit-transform 1s ease-in-out;
}
.flipper_container.flipped .flipper {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
}
.flipper_container .front,
.flipper_container .back {
    -webkit-transition: opacity 0.1s 0.5s ease-in-out;
    -webkit-transform: rotateY(0deg);
    transition: opacity 0.1s 0.5s ease-in-out;
    transform: rotateY(0deg);
    left: 0;
    position: absolute;
    top: 0;
    display: inline-block;
}
.flipper_container.flipped .front,
.flipper_container .back {
    opacity: 0;
}
.flipper_container.flipped .back,
.flipper_container .front {
    opacity: 1;
}
.flipper_container .front {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
}
.flipper_container .back {
    -webkit-transform: rotateY(-180deg);
    color:#080;
    transform: rotateY(-180deg);
}

.feedback .hint-letter .letter.missing,
.feedback .hint-word .correction.missing {
  background-color: #ff7;
}
.feedback .hint-letter .letter.missing:hover,
.feedback .hint-word .correction.missing:hover {
  background-color: #7ff;
}
/* flipper / feedback css ends here */

#promo_banner {
  font-size: 2em;
  height: 90px;
  padding: 20px 0 30px 0;
  position: relative;
  text-align: right;
  width: 100%;
}
#promo_banner a {
  color: rgb(55, 111, 158);
  cursor: pointer;
  margin-right: 100%;
  opacity: 0;
  position: absolute;
  right: 100%;
  text-decoration: none;
  top: 20px;
  transition: opacity 0.7s ease, margin-right 0.7s ease;
  width: 100%;
}
#promo_banner.show a {
  margin-right: 5%;
  opacity: 1;
  right: 0;
}
#promo_banner .cta {
  color: rgb(251, 153, 1);
}
#promo_banner .cta.btn {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 0px 15px 7px;
}
#promo_banner .cta.btn:hover {
  background-color: #ddd;
}






/*Add new panel bar on top for the dictionary button*/
@keyframes fade_in {
  0% { opacity: 0 }
  50% { opacity: 0.5 }
  100% { opacity: 1 }
}
@keyframes fade_out {
  0% { opacity: 1 }
  50% { opacity: 0.5 }
  100% { opacity: 0 }
}

.button {
  margin-left: 5px;
  margin-right: 5px;
  border-radius: 5px;
}

/* The Modal (background) */
.dictionary_modal {
  /*display: none;  Hidden by default */
  visibility: hidden;
  position: fixed; /* Stay in place */
  z-index: 2; /* Sit on top */
  padding-top: 90px; /* Location of the box */
  left: 0;
  top: 45px;
  width: 100%; /* Full width */
}
/* Modal Content */
.dictionary_modal_content {
  position: absolute;
  background-color: rgb(248,248,248);
  border-radius: 5px;
}
#dictionary_modal_btn {
  display: none;
  position: absolute;
  height: 51px;
  text-align: center;
  padding: 15px 10px 15px 10px;
  background: rgba(35,36,36,0.9);
  border-radius: 5px;
  color: rgb(195,196,197);
  overflow: hidden;
  -webkit-animation: fade_in 0.5s linear;
  -moz-animation: fade_in 0.5s linear;
  -o-animation: fade_in 0.5s linear;
  animation: fade_in 0.5s linear;
}
#dictionary_modal_btn i {
  color: rgb(195,196,197);
}
#dictionary_modal_btn:hover {
  cursor: pointer;
}
#dictionary_modal_btn.is-active,
#dictionary_modal_btn .fa-book.is-active {
  color: #dae533;
}

.side_panel_mask {
  display: none;
  position: fixed;
	width: 100%;
	height: 100%;
  top: 0;
  left: 0;
  background-color: rgb(40,47,58);
  z-index: 5;
  overflow: hidden;
	opacity: 0.7;
}
.side_panel {
	display: none;
  position: fixed;
  width: 482px;
	height: 100%;
	top: 0;
	background: #fff;
	left: 100%;
  z-index: 21;
	opacity: 0;
  -webkit-transition: transform 0.3s;
      -ms-transition: transform 0.3s; 
		  transition: transform 0.3s;
}
body.mobile.android .side_panel, 
body.mobile.iOS .side_panel { 
  width: 100%;
}
.side_panel .content { 
	position: absolute;
	width: 100%;
	height: 100%;
	padding: 40px 20px 20px;
	overflow-y: scroll;
}
#game_modal .content {
    padding: 60px 10px 20px;
}
.side_panel .close, 
#side_menu_close_wrap .side_menu_close {
	display: inline-block;
	position: absolute;
  width: 31px;
	height: 30px;
	top: 10px;	
	right: 20px;
	padding-top: 4px;
	padding-left: 9px;
	border: #fff;
	border-radius: 20px;
	background: rgba(0,0,0,0.5);
	color: #fff;
	font-size: 1.2em;
	z-index: 2;	
}
.side_panel .close:hover, 
#side_menu_close_wrap .side_menu_close:hover {
	cursor: pointer;
}
.side_panel .close i {
	color: #fff !important;
}
.help_modal header {
	display: inline;
	margin-right: 30px;
	float: right;
}
.help_modal header img {
	max-height: 64px;
}
.help_modal.side_panel .item {
  margin: 10px;
}

.help_modal.side_panel .item.rate_selector {
  margin: 17px 17px 14px 10px;
}
.help_modal.side_panel .title i {
  color: #4176a6;
  font-size: 125%;
}
.help_modal.side_panel .item .title_text {
  position: relative;
  top: -2px;
  margin-left: 9px;
  font-weight: bold;
  color: #4176a6;
}
.help_modal.side_panel .item.rate_selector .title_text {
  margin-left: 3px;
}
.help_modal.side_panel .item.games .title_text {
  margin-left: 2px;
}
.help_modal.side_panel .item.fullscreen .title_text {
	top: -6px;
  margin-left: 3px;
}
.help_modal.side_panel .loop .loop_icon {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  top: 2px;
  background: url(../images/html5/loop_icon_blue.svg) no-repeat center;
}
.help_modal.side_panel .rate_selector_help_icon {
  position: relative;
  display: inline-block;
  width: 29px;
  height: 20px;
  top: 2px;
  background: url(../images/html5/rate_selector_icon.svg) no-repeat center;
}

.help_modal.side_panel .details .games_btn_dummy {
  width: auto;
  padding: 5px;
	top: -4px;
	margin-left: 4px;
  font-size: 13px;
  background: #f6822b;
  color: #fff;
  border-radius: 30px;
}
.help_modal.side_panel .details .toggle_dummy  {
	position: relative;
	width: 54px;
	height: 28px;
	padding: 6px;
	font-size: 14px;
	cursor: default;
	box-shadow: none;
}

.help_modal.side_panel .games i {
  position: relative;
  left: -2px;
  color: #A7B66C;
  font-size: 22px;
}
.help_modal.side_panel .forward i {
  margin-left: 4px;
}
.help_modal.side_panel .details {
  padding-left: 0px;
}
.help_modal.side_panel .details.games{
    margin: 20px;
}
.help_modal.side_panel .details_items{
  margin: 0;
}
.help_modal.side_panel .fa {
	color: #4176a6;
}
.help_modal.side_panel .fa-book,
.help_modal.side_panel .fa-question-circle,
.help_modal.side_panel .fa-star,
.help_modal.side_panel .fa-comments,
.help_modal.side_panel .fa-gear,
.help_modal.side_panel .fa-cog,
.help_modal.side_panel .fa-bars {
	font-size: 150%;
	color: #777;
}
.menu_item .fa-gear::before{
    content:"\f013";
}
.turtle_icon {
  fill: #4176A6;
  color: #000;
  fill-rule: evenodd;
}
#Video-Player {
  fill: #4176A6;
}
.help_modal.side_panel .content .feedback {
	display: inline-block;
	width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
}
.help_modal.side_panel .content .feedback a {
  color: #4176A6;
  text-decoration: underline;
}
.help_modal.side_panel .content .menu_buttons_bottom {
  display: inline;
}
.help_modal.side_panel .content .menu_buttons_bottom span {
  width: 32px;
  height: 32px;
  padding: 1px 8px;
  border: none;
  background-color: transparent;
}
.help_modal.side_panel .content .menu_buttons_bottom .dictionary i {
  font-size: 16px;
  top: 2px;
}
.help_modal.side_panel .content .menu_buttons_bottom .choose_game i {
  font-size: 16px;
  top: 2px;
}
.help_modal.side_panel .content .rate_selector .icon {
  position: relative;
  left: -3px;
  background: url(/images/html5/icon-turtle-blue_2x.svg) center/cover;
  font-size: 14px;
}
.help_modal.side_panel .content .fullscreen .icon {
	display: inline-block;
  position: relative;
  width: 30px;
  height: 20px;
  margin-left: -4px;
  font-size: 14px;
  background: url('../images/html5/fullscreen_icon.svg') center/cover;
}
.help_modal.side_panel .content span.title {
  font-size: 130%;
  color:#444;
  font-weight:bold;
}
.help_modal.side_panel .content .contact {
  margin-top: 5px;
}
.help_modal.side_panel .content b {
  margin-left:-2%;
  font-size:110%;
  line-height: 2;
  color: #4176a6;
}
.help_modal.side_panel .content .arrow {
  font-family: sans-serif;
  font-size: 18px;
}
.help_modal.side_panel .content strong {
  color: #4176a6;
}
.help_modal.side_panel .keyboard_instructions dl {
  font-family: monospace;
  padding: 0 20px 0 10px;
}
.help_modal.side_panel .keyboard_instructions dt {
  float: left;
  font-family: "Helvetica Neue", Arial, arial, sans-serif;
}
.help_modal.side_panel .keyboard_instructions dd {
  border-bottom: 1px solid #eee;
  margin: 0;
  text-align: right;
  max-width: 200px;
}
/* settings */
#settings_modal .content {

}
#settings_modal .content .feature {
	margin-top: 10px;
	padding: 8px 0;
	border-bottom: 1px solid #ccc;
}
#settings_modal .content .toggle_tooltips.feature {
	margin-bottom: 0;
}
#settings_modal .content .pause_after_caption.feature,
#settings_modal .content .auto_pause_phase_two.feature {
	margin-top: 0;
	padding-top: 0;
}
body.touch_device #settings_modal .content .toggle_tooltips.feature {
	display: none !important;
}
#settings_modal .content .label {

}
#settings_modal .content .options {
	display: inline-block;
	padding: 5px;
	color: #555;
}
#settings_modal .content .options.off {
	color: red;
}
#settings_modal .text_size .options {
	display: block;
}
body.iOS #settings_modal .text_size .options,
body.android #settings_modal .text_size .options {
	display: inline-block;
	padding: 0;
}
body.iOS #settings_modal .text_size .options .sublabel,
body.android #settings_modal .text_size .options .sublabel {
	display: none;
}
#settings_modal .content .options.active {
	background-color: #eceff1;
	border-bottom: 4px solid #4176a6;
}
#settings_modal .content .label {
	margin-bottom: 10px;
	font-weight: 400;
	font-size: 110%;
}
#settings_modal .content .label {
}
#settings_modal .content .toggle {
	display: inline-block;
	position: relative;
	width: 50px;
	height: 25px;
	top: -3px;
	float: right;
	background: #ddd;
	font-size: 0.85em;
	border-radius: 20px;
	box-shadow: inset 1px 1px 1px #777;
}
#settings_modal .content .toggle:hover {
	cursor: pointer;
}
#settings_modal .content .video_quality .disabled {
	display: none;
}	
body.youtube #settings_modal .content .video_quality .toggle {
	display: none;
}
body.youtube #settings_modal .content .video_quality .disabled {
	display: inline-block;
	float: right;
	padding: 3px 5px;
	font-size: .9em;
	font-weight: 500;
	color: #4176a6;
}
#settings_modal .content .toggle .indicator {
	display: inline-block;
	width: 15px;
	height: 15px;
	margin: 5px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 2px 1px #777;	
	-webkit-transition: transform 0.4s;
			-ms-transition: transform 0.4s;
					transition: transform 0.4s;
}
#settings_modal .content .toggle.on {
	background: #4176a6;
}
#settings_modal .content .toggle.on .indicator {
   -webkit-transform: translateX(25px);
       -ms-transform: translateX(25px);
           transform: translateX(25px);
}
#settings_modal .content .toggle .label {
	display: inline-block;
	width: 50%;
	height: 100%;
	padding: 4px 0px 0px 10px;
	color: #aaa;
}
#settings_modal .content .feature.pause_after_caption .toggle,
#settings_modal .content .feature.auto_pause_phase_two .toggle {
	top: 17px;
}
#settings_modal .content .auto_replay img {
	position: relative;
	left: 5px;
	opacity: 0.65;
}
#settings_modal .content .pause_after_caption .label > svg,
#settings_modal .content .auto_pause_phase_two .label > svg {
	position: relative;
	width: 46px;
	padding-top: 10px;
	padding-left: 10px;	
}
#settings_modal .content .options:hover {
	background-color: #eceff1;
	cursor: pointer;
}
#settings_modal .content .text_size {
	padding-top: 0;
}
body.iOS #settings_modal .content .text_size, 
body.android #settings_modal .content .text_size {
	padding: 0;
}
#settings_modal .content .text_size .options .size_number {
	float: right;
}
body.iOS #settings_modal .text_size .options .size_number,
body.android #settings_modal .text_size .options .size_number.size_number {
	float: unset; 
	padding: 5px;
}
#settings_modal .content .text_size .options.extra_small {
	font-size: 60%
}
#settings_modal .content .text_size .options.small {
	font-size: 80%;
}
#settings_modal .content .text_size .options.standard {
	font-size: 100%;
}
#settings_modal .content .text_size .options.large {
	font-size: 120%;
}
#settings_modal .content .text_size .options.extra_large {
	padding-bottom: 5px;
	font-size: 140%;
}
#settings_modal .content .translation_language,
#settings_modal .content .autoplay_timer {
	padding-top: 0;	
}
#settings_modal .content .translation_language .default {
	padding: 5px;
}
#settings_modal .content .feature .label .more_info {
	position: absolute;
	padding-top: 2px;
	padding-left: 8px;
	font-size: 90%;
	color: #555;
}
#settings_modal .content .feature .label .more_info.pause_after_caption,
#settings_modal .content .feature .label .more_info.auto_pause_phase_two {
	padding-top: 21px;
	padding-left: 10px;
}
body.iOS #settings_modal .content .feature .label .more_info,
body.android #settings_modal .content .feature .label .more_info {
	padding-top: 0px;
	padding-left: 10px;
	font-size: 110%;
}
body.iOS #settings_modal .content .feature .label .more_info.pause_after_caption,
body.android #settings_modal .content .feature .label .more_info.pause_after_caption {
	padding-top: 16px;
	padding-left: 5px;
}
#settings_modal .content .feature .label .more_info:hover {
	cursor: pointer;
}
#settings_modal .content .feature.auto_replay .label .more_info {
	padding-left: 10px;
}
#settings_modal .content .feature .tooltip {
	display: none;
	position: absolute;
  width: 200px;
	height: auto;
  padding: 10px;
	border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
	background: #eceff1;
  font-size: 75%;
  z-index: 1;
	box-shadow: 2px 2px 3px 1px #aaa;
	text-align: left;
}
#settings_modal .content .feature.pause_after_caption .tooltip,
#settings_modal .content .feature.auto_pause_phase_two .tooltip {
	border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: unset;
}
body.iOS #settings_modal .content .feature .tooltip,
body.android #settings_modal .content .feature .tooltip {
	width: 130px;
	font-size: 65%;	
}
#settings_modal .content .video_quality.feature .tooltip,
#settings_modal .content .auto_replay.feature .tooltip {
	border-top-left-radius: 0;
	border-bottom-left-radius: 8px;	
}
/* settings end */

/* dictionary */
.game #dictionary {
  display:none;
}
#dictionary {
  height: 372px;
}
#dictionary label {
  text-transform: uppercase;
  display:block;
  font-size:75%;
  color:#999;
  font-weight:bold;
  clear:both;
}
#dictionary input[type=text] {
  height: 38px;
  margin-left: 10px;
  padding-left: 5px;
  outline:none;
  font-size:105%;
  border-radius: 3px 0 0 3px;
  border:1px solid #b1b1b1;
  border-right: 0;
  float: left;
}
#dictionary .search {
  width:70px;
  height:38px;
  line-height: 2;
  padding-left: 25px;
  color: white;
  float: left;
  background-color: rgb(65,118,166);
  border:1px solid #ddd;
  border-left:0;
  border-bottom-right-radius:3px;
  border-top-right-radius:3px;
  cursor:pointer;
  border-radius: 0 5px 5px 0;
}
#dictionary .add_to_word_list {
  padding: 20px 20px 0 20px;
}
#dictionary .add_to_word_list label {
  display: inline;
}
#dictionary .add_to_word_list button {
  background-color: #4488CC;
  color:#fff;
  border:0;
  border-radius: 3px;
  cursor: pointer;
  outline: none;
}
#dictionary .add_to_word_list button:hover {
  background-color: #5599dd;
}
#dictionary .add_to_word_list button:active {
  background-color: #3377bb;
}

#dictionary .info_text {
  clear:both;
  width:88%;
  height:70%;
  background-color:#fff;
  overflow-y:auto;
	/*
  -webkit-user-select: auto;
	*/
  border: 1px solid #ddd;
}
.touch_instructions {
  display: none;
}
.touch_device .touch_instructions {
  display: block;
}
.touch_device .keyboard_instructions {
  display: none;
}
.keyboard_instructions {
  position: relative;
  margin-top: 17px;
  line-height: 19px;
}

#dictionary .instructions .mono b {
  margin:0;
}
#dictionary .instructions .mono {
  font-family: monospace;
}
#dictionary .instructions .mono font {
  font-family: monospace;
  font-size:120%;
}

#dictionary .instructions .mono font font{
  font-family: sans-serif;
  font-size:90%;
}

/*dictionary serach panel*/
.buttons {
  padding:  10px 20px 50px 20px;
}

.buttons #normalLanguage {
  float: left;
  padding: 10px 20px;
  border-radius: 5px 0 0 5px;
}
.buttons #normalLanguage:hover {
  cursor: pointer;
}
.buttons .active-left {
  color: rgba(255,255,255,0.9);
  background-color: rgb(134,151,160);
  box-shadow: 1px 0 1px 0 rgba(0,0,0,0.30);
  z-index: 3;
}
.buttons .active-right {
  color: rgba(255,255,255,0.9);
  background-color: rgb(134,151,160);
  box-shadow: -1px 0 0px 0 rgba(0,0,0,0.30);
  z-index: 3;
}
.buttons .not-active {
  color: rgba(134,151,160,0.5);
  background-color: rgb(234,234,234);
  z-index: 1; /* less than active class */
}
.buttons #translationLanguage {
  float: left;
  padding: 10px 20px;
  border-radius: 0 5px 5px 0;
}
.buttons #translationLanguage:hover {
  cursor: pointer;
}

.fullscreen .left_side, .fullscreen .right_side {
  bottom: 10px;
}
.fullscreen #captions .indicator {
  display: block;
  bottom: 85px;
}
.dictation_game_overlay {
  top: -101.5%;
}

.d_game #captions_wrap,
.d_game #playback_controls,
.game #playback_controls,
.d_game #media_controls,
.game #media_controls,
.d_game #media_controls_mask,
.game #media_controls_mask,
.d_game #controls .scrub_bar,
.game #controls .scrub_bar,
.d_game #video_end_overlay,
.game #video_end_overlay,
.d_game #youtube_player_mask,
.game #youtube_player_mask,
.d_game #playback_controls_mask,
.game #playback_controls_mask,
.d_game #user_buttons,
.game #user_buttons,
.d_game .new_player_feedback,
.game .new_player_feedback { 
  display: none !important;
}

body.classic_mode #media_controls_mask, 
body.mobile #media_controls_mask {
	display: none !important;
}
#media_controls #navigation_button {
  width: 5%;
  padding: 0 10px;
}
#media_controls #media_selector {
  display: inline-block;
  width: 90%;
}
#media_controls .media_title {
  display: none;
  position: relative;
  top: 14px;
  left: 60px;
}
#media_controls .media_title #episode_name {
  font-family: 'Roboto', sans-serif;
  font-weight: normal;
  font-size: 14px;
}
.mobile #media_controls .media_title #episode_name {
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	font-size: 80%; 
}
#media_controls .media_title #episode_number {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #224A9A;
}
#media_controls #difficulty_n_region {
  margin-top: 5px;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  opacity: 1;
}
#media_controls .media_title #video_region {
  margin-left: 10px;
}
body.fullscreen #side_menu,
body.fullscreen #side_menu_mask {
  height: 100% !important;
}
#side_menu .media_title {
  margin: 0px 20px 5px 20px;
  text-align: left;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #555;
  font-weight: 500;
}
.side_menu_items {
  list-style: none;
  margin: 0;
	margin-bottom: 10px;
  padding: 0;
}
.side_menu_items li {
  width: 100%;
  height: 100px;
  padding-top: 10px;
  margin-bottom: 2px;
}
.side_menu_items li:hover {
  background-color: #eee;
}
.current_video > .side_menu_items > li:hover {
	background: none;
}
body.mobile .side_menu_items li:hover {
	background: none;
}
.side_menu_items li .details {
  display: inline-block;
	width: calc(100% - 178px);
	margin-left: 10px;
  vertical-align: top;
}
.side_menu_items li .details img {
  margin-top: 4px;
  margin-bottom: 8px;
}
.side_menu_items .thumbnails > .img_wrapper {
	display: inline-block;
	height: 80px;
	overflow: hidden;	
}
.side_menu_items .thumbnails > .img_wrapper > img {
	transition: transform .5s ease;
}
.side_menu_items .thumbnails > .img_wrapper:hover img {
	transform: scale(1.3);
}
#side_menu .thumbnails > .img_wrapper > .play_icon {
	position: absolute;
	width: 30px;
	height: 30px;
	top: 50%;
	left: 50%;
	padding-left: 9px;
	padding-top: 5px;
	background: rgba(0,0,0,0.65);
	color: #fff;
	border: 1px solid #fff;
	border-radius: 20px;
	-webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
	z-index: 1;
}
.side_menu_items .side_menu_item .thumbnails > img {
	position: absolute;
	width: 100%;
	height: 100%;
  box-shadow: 1px 1px 1px #ddd;
}
#side_menu #media_selector::-webkit-scrollbar {
  width: 19px;
}
#side_menu #media_selector::-webkit-scrollbar-thumb {
  background-color: #999;
  border: 5px solid #fff;
  border-radius: 10px;
}
#side_menu .side_menu_item {
  display: block;
  text-align: left;
  height: 100%;
}
#side_menu .thumbnails {
	display: inline-block;
	position: relative;
	width: 138px;
	height: 84px;
	margin-left: 20px;
  cursor: pointer;
}
#side_menu .current_video .thumbnails {
	cursor: unset;
}
#side_menu .thumbnails .watched_videos {
	position: absolute;
	display: inline-block;
	margin-top: 8px;
	padding: 2px 4px;
	background: #ff9800;
	color: #fff;
	font-size: 0.5em;
	box-shadow: 0 2px 2px 0px rgba(0,0,0,0.2);	
	z-index: 1;
}
#side_menu .side_menu_link {
  color: #555;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 5px;
}
#side_menu .side_menu_link #difficulty_n_region {
	color: #777;
}
#side_menu .section_label {
  text-align: left;
  margin: 16px 18px 8px 20px;
  color: #555;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 500;
}
#side_menu .section_label.current_video {
  margin: 0px 20px;
	padding-top: 10px;
  color: #e99d63;
  font-size: 14px;
}
#side_menu .current_video li {
  margin-bottom: 0;
}
body.has_active_menu {
  overflow: hidden;
}
#video_pause_image {
  display: none;
  position: absolute;
  opacity: 0.8;
  z-index: 2;
  background-color: #000;
  color: #a2b1ba;
  padding: 20px 35px;
  border-radius: 8px;
  margin: 5px;
}
#video_pause_image .fa-pause {
  font-size: 1.6em;
  margin-right: 5px;
}
#video_pause_text {
  position: relative;
  bottom: 5px;
  left: 4px;
  vertical-align: middle;
}
/* difficulty stars - yabla icons */
img.stars_tv {
  vertical-align: baseline;
  left: 142px;
  margin: 0 0 -2px -2px;
  height: 16px;
  width: 80px;
  background-size:160px 16px;
}
img.stars_tv_0 {
  background-position: -80px 0px !important;
}
img.stars_tv_1 {
  background-position: -64px 0px !important;
}
img.stars_tv_2 {
  background-position: -48px 0px !important;
}
img.stars_tv_3 {
  background-position: -32px 0px !important;
}
img.stars_tv_4 {
  background-position: -16px 0px !important;
}
img.stars_tv_5 {
  background-position: 0px 0px !important;
}

/*comments*/
.inner.loading {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
}
.modal_comment_close {
  position: absolute;
  top:0px;
  right:0px;
  color:#999;
  font-size: 25px;
  padding:10px;
  cursor: pointer;
  border-bottom-left-radius: 5px;
  padding: 10px 10px 10px 11px;
}
.modal_comment_close i {
  float: right;
  font-size: 24px;
}

/*view translation*/
.modal_master_close {
  position: absolute;
  top: 0px;
  right: 0px;
  color: #999;
  font-size: 25px;
  padding: 10px;
  cursor: pointer;
}
.trans_container {
  background-color: #fff;
  border-radius: 5px;
  padding:20px;
  box-shadow: 0 5px 15px rgba(0,0,0,.5);
}
.trans_container h2, .trans_container h3 {
  margin: 0 40px 4px 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  font-family: 'Archivo Narrow', sans-serif;
}
.trans_container h3 {
  font-size: 20px;
  margin: 0 0 8px 0;
}
.trans_container .speech_rate {
  margin:0 0 15px 0;
  font-size: 14px;
}
.trans_container .speech_rate img.color_bar {
  vertical-align:baseline;
  width:100px;
  height:14px;
  background-position: 0 -28px;
}
.trans_container .speech_rate img.color_bar.bar_1 {
	background-position: 0 -14px;
}
.trans_container .speech_rate img.color_bar.bar_2 {
	background-position: 0 -28px;
}
.trans_container .speech_rate img.color_bar.bar_3 {
	background-position: 0 -42px;
}
.trans_container .speech_rate img.color_bar.bar_4 {
	background-position: 0 -56px;
}
.trans_container .speech_rate img.color_bar.bar_5 {
	background-position: 0 -70px;
}
#modal_master a {
  -webkit-transition: all 100ms cubic-bezier(0.42, 0, 1, 1);
  -moz-transition: all 100ms cubic-bezier(0.42, 0, 1, 1);
  -o-transition: all 100ms cubic-bezier(0.42, 0, 1, 1);
  transition: all 100ms cubic-bezier(0.42, 0, 1, 1);
  text-decoration: none;
  color: #224a9a;
  font-size: 14px;
}
.trans_container .loading {
  display: inline-block;
  padding:30px;
}
.trans_container .transc, .trans_container .native, .trans_container .roman {
  margin-left:2em;
  padding: 4px 8px;
}
.trans_container .transc a.dword:hover {
  background-color: #ff8;
}
.trans_container .native {
  padding-left: 12px;
  color: #888;
  font-size: 14px;
}
.trans_container .ndx {
  float:left;
  padding-top:6px;
  width:1.5em;
}

/* Modal Master - AutoPause */
.auto_pause_container {
	background-color: #fff;
  border-radius: 5px;
  padding:20px;
  box-shadow: 0 5px 15px rgba(0,0,0,.5);
}
.auto_pause_container .wrapper .options {
	font-size: 90%;	
}
.auto_pause_container .wrapper .options ul {
	margin-left: 40px;
	padding: 0;
}
.auto_pause_container .wrapper .options ul:hover {
	cursor: pointer;
}
.auto_pause_container .wrapper .options li {
	margin: 4px;
	padding: 4px 8px;
	border: 1px solid #def;
	list-style: none;
}
.auto_pause_container .wrapper .options li.active {
	background: #def;
}
.auto_pause_container .footer {
	text-align: right;
}
.auto_pause_container .footer .dict_button {
	display: inline-block;
	position: relative;
	width: 80px;
	margin-top: 30px;
	margin-left: 10px;
	padding: 0.25em 0.5em 0.35em;
	border: 1px solid transparent;
	border-radius: 0.5em;
	cursor: pointer;
	font-size: 16px;
	font-weight: 500;
	text-align: center;
	color: white;
	background-color: #4176a6;
	border-color: #295880
}
.auto_pause_container .description {
	margin-top: 10px;
	margin-bottom: 20px;
	color: #777;
}

#def_modal {
  padding: 0;
}
.info_wrap {
  background-color: #fff;
  max-width: 600px;
  padding:40px;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0,0,0,.5);
}
.info_wrap h5 {
  margin:15px 0 7px 0;
  font-size: 17px;
}
.info_common {
  line-height: 1.5;
  display:none;
}
.info_uncommon {
  line-height: 1.5;
}
.download_container {
  background-color: #fff;
  border-radius: 5px;
  padding:20px;
}
.download_container li{
  padding: 8px 0px;
  font-size:17px;
}


#modal_comment {
  top: 0;
  transition: transform 0.3s;
  -webkit-transform: translateX(-100%);
      -ms-transform: translateX(-100%);
          transform: translateX(-100%);
}
.comments_wrap .msg_row {
  padding:4px 0;
  color: #f6822b;
  font-weight: bold;
}
.comments_wrap .media_title {
  margin-right:50px;
  margin-top: 0;
  margin-bottom: 10px;
}
.comments_wrap .media_title .comments_length {
  margin: 0 10px 0 8px;
  color: #374145;
  font-size: 14px;
}
.comments_title {
  font-size: 14px;
  margin-top: 10px;
}
.comments_wrap .media_title i {
  color: #2A3235;
}
#comment_modal_mask {

}
.comment_container a.new_post {
  font-size: 12px;
  display: block;
  padding: 10px;
}
.comment_caption {
  font-size: 12px;
  background-color: #ff0000;
}
#comment_form.replying {
  margin-left: 50px;
}
#comment_form textarea::placeholder {
  color: #B2B2B3;
  font-size: 12px;
}
#comment_form input[type=submit] {

}
.points_container {
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0,0,0,.5);
  background-color: #fff;
}
.points_detail .watched {
  font-size: 19px;
  padding:9px 0;
  color:#f6822b;
  background-color: #f4f4f4;
  border-bottom: 1px solid #ddd;
  margin: 0;
}
.points_detail .no_user {
  padding:20px 20px;
}
.points_detail .modal_master_close {
  color:#ddd;
  padding: 7px;
}
.points_detail h2 {
  padding: 10px 40px 10px 18px;
  background-color: #254C98;
  color:#fff;
  margin:0;
  border-radius: 5px 5px 0 0;
  font-size:16px;
}
.points_detail h2 .media_title {
  font-size:16px;
  font-weight: normal;
  margin:0 0 0 15px;
}
.points_detail h3 {
  text-align: center;
  line-height: 34px;
}
.points_detail h4 {
  text-align: center;
  font-weight: normal;
}
.points_detail table.layout {
  width:100%;
  margin-top: 10px;
}
.points_detail table.layout tr.show_all_link {
  display: none;
  cursor: pointer;
  color:#888;
  font-size:13px;
}
.points_detail table.layout tr.show_all_link td {
  padding-left: 15px;
}
.points_detail table.layout tr:nth-child(n+4) {
  display: none;
}
.points_detail table.layout tr:nth-child(n+5).show_all_link {
  display: table-row;
}
.points_detail table.layout.show_all tr {
  display: table-row;
}
.points_detail table.layout.show_all tr.show_all_link {
  display: none;
}
.points_detail .layout th, .points_detail .layout td {
  padding: 4px 10px 4px 0;
  text-align: left;
}
.points_detail .layout td {
  padding: 4px 8px 4px 0;
}
.points_detail .layout td.time {
  padding-left: 0;
}
.points_detail .layout th {
  font-weight: bold;
}
.points_detail .table_wrap.scroll  {

}
.points_detail .dictionary_words {
  text-align: center;
  padding: 15px 0 20px;
  border-top: 1px solid #ddd;
  background-color: #f4f4f4;
}
.points_detail .dictionary_words .word {
  display: inline-block;
  border:1px solid #ddd;
  margin: 0 3px 3px 0;
  background-color: #f4f4f4;
  padding:4px 8px;
  border-radius: 3px;
  cursor: pointer;
}
.points_detail .dictionary_words .word:hover {
  color:#333;
  background: #fff;
}
.points_detail .old_for_assignment {
  color:#888;
}
.points_detail h3 strong {
  margin-left:6px;
  font-size:30px;
  color:#274E96;
  font-weight: normal;
}
.points_detail h3.sets_completed {
  font-size: 14px;
}
.points_detail .main_table {
  width: 100%;
}
.points_detail .main_table td {
  vertical-align: top;
  text-align: center;
}
.points_detail .vocab.trophy {
  margin:4px 5px 12px;
}
.points_detail .layout td {
  padding:4px 8px;
  text-align: left;
  border-top: 1px solid #dee2e4;
}
.points_detail .too_old_msg {
  color:#666;
  font-size:13px;
}
.points_detail .white, .points_detail .grey {
  padding: 25px 40px;
  border: 0;
}
.points_detail .white {
  background-color: #fff;
}
.points_detail .grey {
  background-color: #f4f4f4;
}
.points_container div.inner tfoot {
  border-top: 1px solid #dee2e4;
}
.points_container div.inner h3 {
  margin-bottom: 10px;
  font-size: 130%;
  font-weight: normal;
  font-family: 'Roboto', sans-serif;
}
.points_detail .time {
  white-space: nowrap;
}
.points_detail .trophy {
  width:50px;
}
.points_detail .silver.trophy {
  width:40px;
}
.points_detail .bronze.trophy {
  width:30px;
}

.points_detail .dictation_trophy {
  display: block;
  position: relative;
  width: 50px;
  height:66px;
  display: inline-block;
  margin:0 9px;
}
.points_detail h3.reg span {
  font-size: 16px;
  font-weight: 700;
}
.points_detail .dictation_trophy img {
  position: absolute;
  width:100%;
  height: 100%;
  left:0;
  top:0;
}
.points_detail .dictation_trophy .value {
  width: 100%;
    text-align: center;
    padding-top: 17px;
    position: relative;
    display: block;
    font-size:15px;
    font-weight: bold;
    text-shadow: 1px 1px 0px rgba(255,255,255,.45);
}
.points_detail .accuracy_stars {
  color:#ffe186;
}
.points_detail .accuracy_stars.incomplete {
  color:#e2e2e2;
}
.points_detail .dictation_trophy.gold {
  color:#806d22;
}

.points_detail .dictation_trophy.silver {
  color:#666;
}
.points_detail .dictation_trophy.bronze {
  color:#593d22;
}
.points_detail tfoot tr:last-child td:first-child {
  padding-top: 10px;
}
.assignment_detail {
  border-bottom: 1px solid #ddd;
  padding: 5px 20px 15px 20px;
  max-width: 800px;
  background-color: #fff;
}
.assignment_detail table {
  width: 100%;
  padding:0;
}
.assignment_detail table td,.assignment_detail table th {
  vertical-align: bottom;
  padding:3px 5px 3px 7px;
}
.assignment_detail table th {
  text-transform: uppercase;
  color:#888;
  font-weight: normal;
  font-size: 13px;
}
.assignment_detail tr.complete {
  background-color: #cfc;
}

#modal_player .translation {
  font-size: 28px;
  line-height: 1.7em;
}

#modal_player .content {
  z-index: 101;
}

#modal_player i.close {
  /*top: -15px !important;
  right: -22px !important;
  background: none !important;
  color: #696565 !important;*/
}
.btn {
  display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857;
  border-radius: 4px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: 6px 25px;
  color: #fff;
}
.btn.fill.green {
  background-color: #a7b66c;
}
.btn.fill.blue-grey {
	background-color: #a2b1ba;
}
.btn.fill.red {
  background-color: #c0272d;
}
.btn.fill.red:hover {
  background-color: #d0373d;
  color: #fff;
}

@media screen and (max-width: 340px) {
	body.mobile.portrait #captions .wrap {
		height: 2.5em;
		padding-left: 5px;
		padding-right: 70px;
	}	
	body.mobile.portrait #captions .wrap.tn {
		margin-top: 1.2em;
	}
	body.mobile.portrait .user_button .main_btn {
		font-size: 7px;
	}
	body.mobile.portrait .user_button.send_feedback .label {
		font-size: 10px;
	}
	body.mobile.portrait #games_picker .games_btn {
		font-size: 10px;
	}	
	body.mobile:not(.chinese) #captions .wrap .toggle {
		width: 50px;
		height: 68%;
		font-size: 14px;
		line-height: 0.5;
	}
	#captions .toggle:after,
	.toggle_dummy:after {
		width: 16px;
		height: 16px;
		top: 5px;
		left: 59%;
	}
	body.mobile.portrait.requires_user_interaction #tap_to_start_tip, 
	body.mobile.portrait.requires_user_interaction #click_to_start_tip {
		width: 80px;	
		height: 80px;	
		font-size: 10px;
		margin-left: -40px;
		margin-top: -40px;
	}
	body.mobile.portrait.requires_user_interaction #tap_to_start_tip img, 
	body.mobile.portrait.requires_user_interaction #click_to_start_tip img {
		width: 40px;
		height: 40px;
	}
	body.mobile.portrait #media_controls, 
	body.mobile.portrait #media_controls_mask {
		font-size: 14px;	
	}
	body.mobile.portrait #media_controls .menu_item.transcript .transcript_icon {
		width: 70%;
	}
	body.mobile.portrait #media_controls {
		height: 36px;
	}
	body.mobile.portrait .cbtn { 
		width: 32px;
		height: 32px;
		font-size: 120%;
	}
	body.mobile.portrait #playback_controls {
		padding: 0;
	}
	body.mobile.portrait #caption_indicator {
		font-size: 9px;
	}
	body.mobile.portrait #main_container {
		padding-bottom: 55px;
	}
}
@media screen and (min-width: 420px) and (max-width: 549px) {
  body.chinese #captions .text .word_block {
	line-height: 70%;
  }
}
@media screen and (min-width: 420px) and (max-width: 849px) {
  body.chinese #captions .wrap.tt .toggle {
		bottom: 162px !important;
  }
  body.chinese #captions .wrap.tr .toggle {
		bottom: 121px !important;
  }
  body.chinese #captions .text .word_block {
		line-height: 120%;
  }
  #captions .wrap.double .toggle {
    bottom: 82px !important;
  }
  body.chinese .do_split {
		left: 0;
  }
  #captions .wrap.tr .toggle {
		bottom: 73px;
  }
}
@media screen and (max-width: 499px) {
	#mobile_mask .msg {
		font-size: 70%;
	}
	#mobile_mask img {
		width: 40px;
		height: 40px;
	}
	#mobile_mask .desc {
		width: 68px;
		bottom: 34px;
		font-size: 70%;
	}
	#mobile_mask .wrap {
		top: 50%;
	}
	#mobile_mask .center {
		left: 5%;	
	}
	#mobile_mask .center img {
		bottom: -11px;
	}
	#mobile_mask .left .desc {
		left: 0;
	}
	#mobile_mask .right .desc {
		right: 0;
	}
	#mobile_mask .center .desc.play_pause {
		right: 72px;
	}
	#mobile_mask .center .arrow_left,
	#mobile_mask .center .arrow_right {
		font-size: 120%;
		right: 0px;
	}
	#mobile_mask .center .arrow_right {
		left: 44px;
	}
	#mobile_mask .center .desc.swipe_left {
		top: 42px;
		left: 60px;
	}
	#mobile_mask .center .desc.swipe_right {
		top: 42px;
		right: 88px;
	}
}
@media screen and (min-width: 500px) and (max-width: 750px) {
	#mobile_mask .msg {
		font-size: 100%;
	}
	#mobile_mask .desc {
		width: 90px;
		bottom: 50px;
		font-size: 80%;
	}
	#mobile_mask img {
		width: 50px;
		height: 50px;
	}
	#mobile_mask .left .desc {
		left: 0;
	}
	#mobile_mask .right .desc {
		right: 0;
	}
	#mobile_mask .center img {
		bottom: -6px;
	}
	#mobile_mask .center .arrow_left {
		right: 10px;
	}
	#mobile_mask .center .arrow_right {
		left: 64px;
	}
	#mobile_mask .center .desc.play_pause {
		right: 116px;
	}
	.mobile #mobile_mask .center .desc.play_pause {
		right: 104px;
	}
	#mobile_mask .center .desc.swipe_left {
		top: 46px;
		left: 84px;
	}
	#mobile_mask .center .desc.swipe_right {
		top: 46px;
		right: 130px;
	}
}
@media screen and (min-width: 550px) and (max-width: 720px) {
  body.chinese #captions .text .word_block {
	line-height: 80%;
  }
}
@media screen and (min-width: 850px) and (max-width: 950px) {
	body.classic_mode #captions .wrap.tt .toggle {
		bottom: 92px !important;
	}
	body.classic_mode #captions .wrap.tn .toggle {
		bottom: 55px !important;
	}
}
@media screen and (min-width: 850px) and (max-width: 1249px) {
  body.chinese #captions .text .word_block {
		line-height: 140%;
  }
}
@media screen and (min-width: 1250px) and (max-width: 1499px) {
  body.chinese #captions .text .word_block {
		line-height: 160%;
  }
}
@media screen and (min-width: 1500px) {
  body.chinese #captions .text .word_block {
		line-height: 180%;
  }
}
@media all and (min-width: 0) and (max-width: 980px) {
	body.classic_mode .cbtn {
		width: 34px;
		height: 34px;
	}
	body.classic_mode #dictionary_container .media_controls .menu_item .label {
		font-size: 55%; 
	}
	body.classic_mode #dictionary_container .media_controls .menu_item.transcript svg.transcript_icon {
		width: 113%;
		height: 82%;
	}
	body.classic_mode #dictionary_container .media_controls .menu_item.transcript .label {
		top: 114%;
	}
	body.classic_mode #dictionary_container .media_controls .menu_item i {
		font-size: 165%; 
	}
	body.classic_mode #dictionary_container .outer_content {
		font-size: 80%; 
	}
	body.classic_mode #caption_indicator {
	 font-size: 12px;	
	}
	body.classic_mode #games_picker .games_btn {
		font-size: 85%;			
	}
	body.classic_mode #dictionary_container {
		border-width: 10px;
	}	
	body.classic_mode .side_panel .content {
		font-size: 80%;
	}
	body.classic_mode .trans_container {
		font-size: 80%;
	}
	#captions_wrap {
		font-size: 16px;
	}
	body.classic_mode #playback_controls .volume_slider.cbtn.open .slider:before,
	body.classic_mode #playback_controls .volume_slider.cbtn:hover .slider:before {
		width: 34px;
	}
	#playback_controls .volume_slider.cbtn.open .slider,
	#playback_controls .volume_slider.cbtn:hover .slider {
		bottom: 35%;
	}
	#playback_controls .volume_slider.cbtn:hover, 
	#playback_controls .volume_slider.cbtn.open {
		padding-top: 0.15em;
	}
	#title_selector {
		font-size: 85%;
	}
	#dictionary_container .media_details {
		font-size: 85%;
	}
	body.classic_mode #dictionary_container .add_to_word_list {
		font-size: 90%;
	}
	#drop_down_selector {
		margin: 10px 0 5px 0;
	}
	#dictionary_container .media_details {
		margin-bottom: 8px;	
	}
	#dictionary_container .search_box {
		margin-top: 15px;
	}
	body.classic_mode .search_box .search_block.second {
		margin-top: 15px;
	}
	#dictionary_container .outer_content {
		margin-top: 10px;
	}
	#tap_to_start_tip, #click_to_start_tip {
		width: 100px;
		height: 100px;
		margin-top: -50px;
		margin-left: -50px;
		font-size: 73%;		
	}
	#click_to_start_tip > img {
		width: 60px;
		height: 60px;
	}
	#pause_overlay, #play_overlay, #back_overlay, #skip_overlay { 
		width: 100px;
		height: 100px;
	}
	#pause_overlay, #play_overlay {
		margin: -50px 0 0 -50px;
	}
	body.classic_mode #media_controls .menu_item.transcript .transcript_icon {
		width: 80%;
		height: 80%;
	}
	body.classic_mode .gloss_def,
	body.classic_mode .dict_response {
		font-size: 14px;
	}
	body.classic_mode #captions .toggle, 
	body.classic_mode #captions .toggle_dummy {
		width: 54px;
		height: 32px;	
	}
	body.classic_mode #captions .toggle:after, 
	body.classic_mode .toggle_dummy:after {
		width: 16px;		
		height: 16px;		
		top: 9px;
	}
	body.classic_mode .user_button .main_btn {
		font-size: 8px;	
	}
	body.classic_mode:not(.iOS):not(.android) #playback_controls .cbtn:hover:after {
		font-size: 65%;
	}
	body.classic_mode:not(.iOS):not(.android) #captions .wrap.tt .toggle:hover:before {
		font-size: 65%;
	}
	body.classic_mode:not(.iOS):not(.android) #captions .wrap.tn .toggle:hover:before {
		font-size: 65%;
	}
}
@media all and (min-width: 920px) and (max-width: 1200px) {
	body.classic_mode #dictionary_container .media_controls .menu_item .label {
		font-size: 65%;
	}
}
@media all and (-webkit-min-device-pixel-ratio: 2) {
  #logo h1 {
    background-size: 186px 83px;
  }
}
@media all and (-webkit-min-device-pixel-ratio: 2) {
  img.stars_tv {
    height: 16px;
    width: 80px;
    left: 142px;
    background-size:160px 16px;
  }
	img.stars_tv_0 {
    background-position: -80px 0px !important;
  }
  img.stars_tv_1 {
    background-position: -64px 0px !important;
  }
  img.stars_tv_2 {
    background-position: -48px 0px !important;
  }
  img.stars_tv_3 {
    background-position: -32px 0px !important;
  }
  img.stars_tv_4 {
    background-position: -16px 0px !important;
  }
  img.stars_tv_5 {
    background-position: 0px 0px !important;
  }
}


/* // TODO: REMOVE THESE THEY ARE REDUNDANT! */
header.game .logo,
header.game_controls .logo {
	background-size: contain;
	display: inline-block;
	height: 2em;
	width: 10em;
	left: 0.5em;
	margin-top: 2px;
	position: absolute;
}

#g, #g button, #h, #h button{
  font-size: 16px;
}

#review_buttons {
  position: absolute;
  right: 0;
  margin: 20px;
  display: flex;
  gap: 6px;
}

body.portrait #review_buttons.show span {
  display: flex !important;
}
body.portrait #review_buttons button, body.portrait #review_buttons span {
  display: none !important;
}

body.landscape #review_buttons span, body.landscape #review_buttons button {
  display: none !important;
}
body.landscape #review_buttons.show button {
  display: inline !important;
}

.hidden {
	display: none !important;
}

#game_modal .toggle {
	width: 60px;
	height: 24px;
	background: #e5e5ea; /* Apple-style neutral gray */
	border-radius: 14px;
	position: relative;
	cursor: pointer;
	transition: background-color 0.3s ease;
	box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.15);
  }

  #game_modal .toggle.on {
	background: #f6822b; /* Apple green toggle */
  }

  #game_modal .slider {
	width: 18px;
	height: 18px;
	background: white;
	border-radius: 50%;
	position: absolute;
	top: 3px;
	left: 6px;
	transition: left 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }

  #game_modal .toggle.on .slider {
	left: 36px;
  }

.font-bold {
	font-weight: 600;
}

/* Hide medals in player games menu */
#game_modal .trophies {
    display: none !important;
}

/* Bootcamp entry in player games menu */
#game_modal .game_type.bootcamp {
    padding-top: 10px;
    padding-bottom: 24px;
    padding-left: 20px !important;
    border-top: 2px solid #ddd;
    text-align: left;
    flex-direction: column;
    align-items: flex-start;
}
#game_modal .game_type.bootcamp .player_bootcamp_title {
    font-size: 22px;
    font-weight: bold;
    color: #111;
    width: 100%;
    margin-top: 4px;
    margin-bottom: 4px;
}
#game_modal .game_type.bootcamp .player_bootcamp_subtitle {
    font-size: 16px;
    width: 100%;
    margin-bottom: 4px;
    color: #555;
}
#game_modal .game_type.bootcamp .player_bootcamp_games {
    font-size: 16px;
    color: #555;
}
#game_modal .game_type.bootcamp .player_bootcamp_games b {
    padding: 0 5px;
}

/* Individual exercises divider */
#game_modal .game_divider_individual {
    border-top: none;
}
/* Workout header style from activity popup */
#game_modal .game_divider.warmup h3,
#game_modal .game_divider.workout h3 {
    color: #f6822b;
    font-size: 24px;
    font-weight: bold;
    text-transform: none;
    margin: 10px 0;
}
#game_modal .game_divider.warmup h3 i,
#game_modal .game_divider.workout h3 i {
    margin-right: 10px;
}

#game_modal .activity_section_divider {
    border-top: 1px solid #999;
    padding: 8px 0px 4px 20px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.08em;
    color: #666;
    text-transform: uppercase;
}


/********************************/
/* /styles/comments.css */
/********************************/

.comments_wrap {
	background-color: #fff;
	color: #2a3235;
	padding:20px;
	box-shadow: 0 5px 15px rgba(0,0,0,.5);
}

.comments_wrap .msg_row {
	padding:4px 0;
	color: #f6822b;
	font-weight: bold;
}

.comments_wrap h2 {
	margin-right:50px;
}
ul.comments {
	margin:0;
	padding:0;
}
ul.comments li {
	margin:0;
	padding: 0 0 0 65px;
	position: relative;
	clear:both;
}
ul.comments li.level_2 {
	padding-left: 115px;
}
ul.comments.highlighting_single_comment > li {
	opacity: 0.3;
}
ul.comments.highlighting_single_comment > li.highlit_comment {
	opacity: 1;
}

.comments .comment_reply, .comments .comment_edit, .comments .comment_delete {
	font-size: 12px;
	margin-right: 15px;
}
.comment_container a.new_post {
	font-size: 12px;
	display: block;
	padding: 10px;
}
.comment_sep {
	clear:both;
	margin:0 6px;
	padding-top:10px;
	margin-bottom:10px;
	border-bottom:1px solid #eceff1;
}
.comment_left {
	width:65px;
	position: absolute;
	left: 0;
	top: 0;
}
.level_2 .comment_left {
	left: 50px;
}
.comment_right {
	max-width: 500px;
	line-height: 1.3;
	float:left;
}
.comment_head {
	line-height:30px;
}
.comment_left img {
	display:block;
	margin:8px 6px 0;
	width:40px;
	height:40px;
}
.comment_head .display_name {
	color: #E9801B;
	font-size:16px;
	font-weight:bold;
	
}
.comment_head .display_date {
	font-size:12px;
	margin:0 13px;
	color:#777;
}
.comment_head .is_employee {
	font-style:italic;
}

.display_comment {	
	word-wrap:break-word;
	overflow:hidden;
	padding: 5px 0;
}

.comment_caption {
	font-size: 12px;
	background-color: #ff0000;
}
.cap_ref_container {
	background-color:#eceff1;
	border-radius: 2px;
	font-size: 14px;
	line-height: 1.5;
	margin: 2px 0 5px;
	padding: 6px 42px 6px 6px;
	position: relative;
}
.level_2 .cap_ref_container {
	display: none;
}
.cap_ref_container i.play {
	border-radius: 20px;
	border: 2px solid;
	color: rgba(34, 74, 154, 0.8);
	cursor: pointer;
	font-size: 12px;
	margin-top: -14px;
	padding: 6px 5.5px 6px 9px;
	position: absolute;
	right: 8px;
	top: 50%;
}
.cap_ref_container i.play:hover {
	color: #999;
}
.caption_reference {
	color: #777;
}
.cap_translation {
	color: #518ab6;
	font-style: italic;
}
.the_caption {
	color: #2d3538;
	font-style: italic;
}

#comment_form {
	padding:1em;
}
#comment_form.replying {
	margin-left: 50px;
}
#comment_form textarea {
	width:100%;
	max-width: 600px;
	padding: 7px;
	height:100px;
	border:1px solid #ccc;
	margin-bottom: 4px;
	border-radius: 3px;
}

#comment_form .button_row {
	position: relative;
	width: 100%;
	height: 30px;
}

#comment_form button[type="submit"] {
	position: absolute;
	right: 0;
	top: 0;
}
#comment_form .cancel:hover {
	color: white;
}
#comment_form:not(.replying) form:invalid .cancel {
	display: none;
}
#comment_form button.dict_button {
	display: none;
}

#comment_deletion_confirmation {
	background: white;
	border-radius: 0.5em;
	display: none;
	padding: 1em;
}
#comment_deletion_confirmation p {
	margin-bottom: 1em;
}
#comment_deletion_confirmation .button_row {
	text-align: center;
}
#comment_deletion_confirmation .cancel:hover {
	color: white;
}

.videos #comment_deletion_confirmation {
	box-shadow: 1px 1px 4px;
	position: fixed;
	left: 50%;
	-webkit-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
			transform: translateX(-50%);
	z-index: 30001;
}
#comment_deletion_confirmation button.dict_button,
.d_game #comment_deletion_confirmation button.btn {
	display: none;
}
.d_game #comment_deletion_confirmation button.dict_button {
	display: inline-block;
}

/* context-specific rules */
.player #modal_comment {
	top: 0;
	transition: transform 0.3s;
	-webkit-transform: translateX(-100%);
		-ms-transform: translateX(-100%);
			transform: translateX(-100%);
}
.player .mobile_750_350.mobile_portrait #modal_comment {
	width: 100% !important;
	transform: none;
}
.d_game .comments_wrap .comments_head,
.player .comments_wrap .comments_head {
	width: 100%;
	float: left;
	padding: 10px 20px 10px 20px;
}
.d_game .comments_wrap .comments_head .translation,
.d_game .comments_wrap .comments_head .transcript,
.player .comments_wrap .comments_head .translation,
.player .comments_wrap .comments_head .transcript {
	background: rgba(0,0,0,0.05);
	border-radius: 12px;
	padding: 5px 5px 5px 10px;
}
.d_game .comments_wrap .comments_head .translation,
.player .comments_wrap .comments_head .translation {
	font-size: 16px;
	margin-bottom: 3px;
}
.d_game .comments_wrap .comments_head .transcript,
.player .comments_wrap .comments_head .transcript {
	color: #777;
	font-size: 15px;
	margin-bottom: 5px;
}
.d_game .comments_wrap .comments_head #isCaptionCommentPrompt,
.player .comments_wrap .comments_head #isCaptionCommentPrompt {
	color: #374145;
	margin-bottom: 8px;
	font-size: 18px;
}
.player .comments_wrap .comments_head #isCaptionCommentPrompt .wrap.radio {
	display: inline-block;	
	padding: 0;
	padding-top: 5px;
	padding-left: 10px;
}
.player .comments_wrap .comments_head #isCaptionCommentPrompt input {
	width: 1.5em;
	height: 1.5em;	
}
.player .comments_wrap .comments_head #isCaptionCommentPrompt label {
}

.d_game .comments_head .modal_master_close i,
.player #comments_modal .modal_master_close i {
	display: none;
}

.videos .comments_wrap {
	border-radius: 5px;
}
.d_game .comments_wrap,
.player .comments_wrap {
	padding: 0;
	box-shadow: none;
}
.player.mobile_750_350.mobile_portrait .comments_wrap {
	max-width: 100% !important;
}

.d_game .comments_wrap .media_title,
.player .comments_wrap .media_title {
	margin-right:50px;
	margin-top: 0;
	margin-bottom: 10px;
}
.d_game .comments_wrap .media_title .comments_length,
.player .comments_wrap .media_title .comments_length {
	margin: 0 10px 0 8px;
	color: #374145;
	font-size: 14px;
}
.d_game .comments_title,
.player .comments_title {
	font-size: 14px;
	margin-top: 10px;
}
.d_game .comments_wrap .media_title i,
.player .comments_wrap .media_title i {
	color: #2A3235;
}

.d_game ul.comments li,
.player ul.comments li {
	list-style: none;
}

.d_game .comments .comment_reply, .d_game .comments .comment_edit, .d_game .comments .comment_delete,
.player .comments .comment_reply, .player .comments .comment_edit, .player .comments .comment_delete {
	text-decoration: none;
	color: #224a9a;
}
.d_game .comment_head .display_date, .player .comment_head .is_employee, .player .display_comment,
.player .comment_head .display_date, .player .comment_head .is_employee, .player .display_comment {
	font-size: 16px;
}

.videos #comment_form {
	background-color: #eceff1;
	border-radius: 5px;
	margin-bottom: 10px;
}
/*
.d_game #comment_form,
.player #comment_form {
	border-bottom: 1px solid #ddd;
}
*/
.d_game #comment_form::after,
.player #comment_form::after {
	display: inline-block;
	content: '';
	height: 22px;
}
.d_game #comment_form textarea,
.player #comment_form textarea {
	font-size: 14px;
	height: 100px;
}
.d_game #comment_form textarea::placeholder,
.player #comment_form textarea::placeholder {
	color: #B2B2B3;
	font-size: 12px;
}

#dictation_comment_pane #comment_form button.btn {
	display: none;
}
#dictation_comment_pane #comment_form button.dict_button {
	display: block;
}
#dictation_comment_pane #comment_form:not(.replying) form:invalid .cancel {
	display: none;
}
#dictation_comment_pane ul.comments {
	margin: 0 auto;
	max-width: 600px;
	text-align: left;
}
#dictation_comment_pane .cap_ref_container {
	display: none;
}

