html, body {
  width: 100% !important;
}

h2 {
  font-size: 22px;
  color: #333;
  margin: 0 0 20px;
}

.b_header-full-static {
  min-width: 1349px;
}

.b-header {
  min-width: 1300px;
}

.page-wrapper {
  width: 1300px;
  margin-top: -10px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.video_wrap {
  background: #000;
  position: relative;
  margin: 28px auto 35px;
  width: 620px;
  height: 349px;
  overflow: hidden;
  float: left;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  z-index: 1;
}

.b-sub_header__title {
  width: auto;
  margin: 0 auto;
  float: none;
}

.video_wrap .overlay,
#prev_piece_video_wrap .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.mobile #prev_piece_video_wrap .overlay {
  background: #000;
}

.video_wrap #video {
  width: 100%;
  height: auto;
  background: #000;
  color: #fff;
  position: absolute;
  left: 0;
  top: 0;
}

.webkit .video_wrap #video {
  height: 999em;
}

/* iPad fix */

.control-replay {
  background: #77B372;
  background-size: 32px 32px;
}

.control-replay:active {
  border-bottom: 0 none;
  padding-bottom: 4px;
}

.playing .control-replay {
  display: none;
}

.control-next {
  background: #696;
  bottom: 19px;
  right: 50px;
}

#control-replay-hint, #control-next-hint, #control-next-hint2 {
  font: 18px HelveticaNeue, Helvetica, Arial, sans-serif;
  text-shadow: 0 0 2px #000, 0 0 1px rgba(0, 0, 0, .2);
  color: #fff;
  position: absolute;
  bottom: 10px;
  display: none;
}

#control-replay-hint {
  display: block;
  min-width: 180px;
  bottom: 50%;
  left: 50%;
  margin: 0 0 -60px -95px;
  padding: 5px 10px;
  border-radius: 2px;
  color: #333;
  text-shadow: none;
  text-align: center;
  font-size: 13px;
  background: rgba(255, 255, 255, .85);
}

.playing #control-replay-hint {
  display: none;
}

#control-next-hint,
#control-next-hint2 {
  right: 124px;
  bottom: 28px;
  text-align: right;
}

#control-replay-hint.visible,
#control-next-hint.visible {
  display: block !important;
}

.video_wrap.done #control-next-hint.visible {
  display: none !important;
}

.video_wrap.done #control-next-hint.visible + #control-next-hint2 {
  display: block !important;
}

.timer_wrap {
  background: url('../images/clock.png') right 0 no-repeat;
  opacity: .78;
  font: 18px/1.9 Consolas;
  color: #fff;
  height: 35px;
  padding-right: 44px;
  position: absolute;
  top: 15px;
  right: 15px;
}

#timer {
  text-shadow: 0 0 1px rgba(0, 0, 0, .6);
}

.global_video_wrap {
  overflow: hidden;
}

.b-episode_info + .global_video_wrap {
  overflow: visible;
}

.b-control_panel {
  font-family: Arial, sans-serif;
  text-align: center;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-wrap: wrap;
}

.b-control_panel .show_translation,
.b-control_panel .show_next_word {
  padding: 0 38px 0 15px !important;
  width: 194px;
  height: 48px;
  text-align: left;
  font-size: 12px;
}

.b-control_panel .skip_phrase,
.b-control_panel .repeat_phrase {
  padding: 0 15px !important;
  height: 48px;
  text-align: center;
  font-size: 12px;
}


.b-control_panel .show_translation {
  background-image: url('/templates/svg/icons/eye-open.svg');
  background-position: 90% 46%;
  background-repeat: no-repeat;
  background-size: auto 19px;
}

.b-control_panel .show_translation.english-button_disabled,
.b-control_panel .show_next_word.english-button_disabled {
  background-image: none;
  color: #848484 !important;
  cursor: default !important;
}

.b-control_panel .show_next_word {
  background-image: url('/templates/svg/img/puzzle-icon_search_black.svg');
  background-position: 94% 39%;
  background-repeat: no-repeat;
}

.video_inner_wrap {
  float: left;
  width: 620px;
  margin-top: 24px;
}

.b-control_panel .control-btn {
  position: static;
  display: inline-block;
  height: 48px;
  width: 255px;
  box-sizing: border-box;
  margin-right: 6px;
  padding: 0 15px 0 48px;
  border-bottom: 4px solid #459E60;
  border-radius: 4px;
  background: #50B46F;
  color: #fff;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}

.b-control_panel .control-btn:last-of-type {
  margin-right: 0;
  padding: 0 38px 0 15px;
}

.b-control_panel .control-btn:active {
  border-bottom: 0 none;
  border-top: 4px solid #459E60;
  top: 0;
  margin-top: -4px;
  position: relative;
}

.b-control_panel .control-btn:last-of-type:active {
  position: static;
}

.b-control_panel .b-control_panel__text {
  display: table-cell;
  vertical-align: middle;
  height: inherit;
}

.b-control_panel .b-control_panel__key_arrow {
  display: inline-block;
  width: 11px;
  overflow: hidden;
  font-size: 24px;
  line-height: 12px;
}

.b-control_panel__next .b-control_panel__key_arrow {
  text-indent: -12px;
}

.control-btn.b-control_panel__prev {
  background: #50B46F url(../images/arrow_prev.png) 16px center no-repeat;
  padding-left: 0;
  padding-right: 0;
  width: 53px;
}

.control-btn.b-control_panel__next {
  background: #50B46F url(../images/arrow_next.png) 167px center no-repeat;
  width: 194px;
}

.control-btn.control-slow {
  background: #50B46F url('/wp-content/themes/english/assets/images/vteacher/vteacher_translate_slowly.png') center no-repeat;
  width: 70px;
}

.b-control_panel__slow {
  position: relative;
}

.b-control_panel__slow .slow-ratio__speed-range {
  top: 80px;
}

.control-btn.control-replay {
  background: #50B46F url(../images/arrow_repeat.png) 21px center no-repeat;
  width: 270px;
  padding-left: 65px;
}

.b-control_panel__timer_wrap {
  width: inherit;
  position: absolute;
  top: 20px;
}

.b-control_panel__timer_wrap {
  height: 35px;
  font: 22px/1.4 Arial, sans-serif, Helvetica;
  color: #50B46F;
}

.b-control_panel__timer_wrap #timer {
  text-shadow: none;
}

.b-control_panel__timer {
  width: 55px;
  float: right;
  margin-right: 20px;
  padding-left: 35px;
  background: url('../images/watch.svg') no-repeat;
}

.b-pieces_block {
  background: #f7f7f7;
  height: auto;
  padding-bottom: 20px;
  position: relative;
  padding-top: 186px;
}

.b-pieces_block .l-wrapper {
  max-width: 960px;
}

.pieces .b-pieces_block {
  padding-top: 50px;
}

.b-pieces_block .l-wrapper, .b-pieces_rating .l-wrapper {
  padding: 0 10px;
  box-sizing: border-box;
}

.b-pieces_rating::before {
  content: '';
  display: block;
  height: 8px;
  background: url('../images/grey_wave.png') repeat-x;
}

.page-pieces .b-pieces_rating::before {
  background: none;
}

.b-checkbox_icon {
  display: inline-block;
  vertical-align: top;
  margin-right: 3px;
  width: 16px;
  height: 16px;
  background: #F7F7F7;
  border: 1px solid #C7C7C7;
  border-radius: 2px;
  cursor: pointer;
  box-shadow: 1px 1px 1px #ebebeb;
}

.b-pieces_btn {
  width: 18px;
  height: 18px;
  background: url(../images/arrow1.svg) no-repeat;
  margin-left: calc(50% - 9px);
}

.b-pieces_btn:hover {
  background: url(../images/arrow2.svg) no-repeat;
}

.m-pieces_btn-up {
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}

.m-pieces_btn-disable, .m-pieces_btn-disable:hover {
  background: url(../images/arrow_disable.svg) no-repeat;
  cursor: auto;
}

.b-rating_header {
  padding: 20px 0 15px;
  color: #6E6E6E;
  font-size: 16px;
}

.b-rating_header__cell {
  display: inline-block;
}

.m-rating_header__cell-name {
  margin-left: 80px;
  width: 380px;
}

.b-rating_header__cell .m-rating_header__cell-solved_phrase {
  width: 310px;
}

.m-rating_header__cell-mobile {
  display: none;
}

.video_wrap .status {
  position: absolute;
  top: 21px;
  left: 22px;
  z-index: 5;
  font-size: 20px;
  color: #fff;
  text-shadow: 0 0 2px #000;
  width: 360px;
  padding-left: 50px;
  min-height: 30px;
  text-align: left;
  cursor: default;
}

.video_wrap .status:before {
  background: url(../images/icons.png) no-repeat;
  content: '';
  position: absolute;
  top: 0px;
  left: 0;
  width: 30px;
  height: 30px;
}

.video_wrap .status.good:before {
  background-position: 0 -30px;
}

.video_wrap .status.bad:before {
  background-position: 0 -60px;
}

.video_wrap .status .user {
  color: #99ccff;
}

#video_actions {
  margin: 20px 0;
  max-width: 720px;
  width: auto;
  position: relative;
  font-size: 16px;
  line-height: 1.25;
}

#video_actions.disabled .title {
  color: #888;
}

#video_actions .title {
  float: left;
  font-size: 16px;
  margin-left: 0;
  color: #333;
  text-align: left;
}

#video_actions label {
  cursor: pointer;
}

#video_actions .button {
  background: #fff linear-gradient(to top, rgba(0, 0, 0, .05), transparent);
  border: 1px solid #bbb;
  font-size: 14px;
  line-height: 56px;
  margin: 0 0 0 8px;
  padding: 0 23px;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
}

#video_actions .buttons {
  margin: 0 auto 50px;
  text-align: center;
}

#video_actions .button-bad {
  position: absolute;
  left: -999em;
}

#video_actions .button-skip,
#video_actions .button-next {
  display: none;
}

#video_actions .button:hover {
  background-image: linear-gradient(to top, rgba(0, 0, 0, .02), transparent);
}

#video_actions .button-edit {
  display: inline-block;
}

#video_actions .button-moderate {
  display: inline-block;
}

#video_actions .button-bad[disabled],
#video_actions.disabled .button:not(.button-bad):not(.button-moderate):not(#post_link) {
  cursor: default;
  opacity: 0.5;
  background-image: none;
}

#video_actions p {
  text-align: center;
}

#editor {
  text-align: right;
  margin: 20px 0 45px;
  position: relative;
  display: none;
}

#editor .pe_input-block {
  margin: 0;
  width: 532px;
  float: left
}

#editor textarea {
  background: #fff;
  border: 1px solid #aaa;
  padding: 5px 14px 4px;
  width: 502px;
  font-size: 17px;
  line-height: 27px;
  min-height: 54px;
  overflow: auto;
}

#editor textarea:focus {
  padding: 4px 13px 3px;
  border: 2px solid #00a9ef;
}

#editor [type='submit'] {
  background: #50B46F;
  border: 0;
  font-size: 12px;
  line-height: 30px;
  margin: 0 0 0 4px;
  border-bottom: 4px solid #459E60;
  border-radius: 4px;
  padding: 3px 23px 0;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
  color: #fff;
}

#editor [type='submit']:active {
  border-bottom: 0 none;
  border-top: 4px solid #459E60;
}

#editor.loading:after {
  background: rgba(255, 255, 255, .5);
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.editor-form-message {
  color: #080;
  margin: -25px 0 36px;
}

#video_preload {
  position: absolute;
  top: 0;
  left: -99em;
  width: 1px;
  height: 1px;
}

.video_preload_rtl {
  right: -99em;
  left: auto !important;
}

#aside-left {
  width: 280px;
}

.b-pieces_rating #aside-left {
  width: 100%;
  padding-top: 35px;
}

#aside-left h2 {
  text-align: left;
  margin-top: -5px;
  font-size: 30px;
}

#aside-left .stats {
  background: #fff;
  border-radius: 10px;
  padding: 15px 18px 20px;
  width: 244px;
  margin: 0 0 20px;
}

#aside-left .stats .stat {
  background: url(../images/icons.png) no-repeat;
  font-size: 24px;
  line-height: 30px;
  color: #333;
  height: 30px;
  padding-left: 50px;
  margin-bottom: 30px;
}

#aside-left .stats .stat.good {
  background-position: 0 -30px;
}

#aside-left .stats .stat.bad {
  background-position: 0 -60px;
  margin-bottom: 0;
}

#aside-left .stats .stat .num {
  color: #fdb32b;
  font: 24px/30px !important;
  text-shadow: none;
}

#aside-left .stats .stat.good .num {
  color: #539351;
}

#aside-left .stats .stat.bad .num {
  color: #b62d30;
}

#aside-left .message-box {
  background: #fff;
  border-radius: 10px;
  padding: 25px 30px;
  width: 220px;
  margin: 0 0 20px;
  font-size: 24px;
}

#aside-left .ratings {
  background: #fff;
  border-radius: 10px;
  padding: 22px 36px 10px 34px;
  width: 210px;
  margin: 0 0 20px;
  text-align: center;
}

.b-pieces_rating #aside-left .ratings {
  width: 100%;
  box-sizing: border-box;
  padding: 0;
}

#aside-left .ratings ul {
  margin: 0;
  text-align: left;
}

#aside-left .ratings li {
  margin: 0 0 14px 4px;
  padding: 6px 0 0 66px;
  list-style: none;
  font-size: 18px;
  position: relative;
  min-height: 95px;
  border-bottom: 5px solid #F6F6F6;
}

#aside-left .ratings li.current_user {
  padding-top: 0;
  padding-bottom: 10px;
}

#aside-left .ratings li.current_user .username {
  margin-top: 23px;
}

#aside-left .ratings li.out {
  margin-top: 135px;
}

#aside-left .ratings li.out:before {
  content: '...';
  border-bottom: 5px solid #f6f6f6;
  position: absolute;
  top: -135px;
  left: 0;
  right: 0;
  font: 21px/110px Consolas, monospace;
}

#aside-left .ratings li .pos {
  position: absolute;
  top: 30px;
  left: 0;
  font-size: 16px;
  position: absolute;
  width: 20px;
  text-align: right;
}

/*#aside-left .ratings li.current_user .pos {left:-32px;}*/
#aside-left .ratings .userpic {
  float: left;
  height: 75px;
  width: 75px;
  margin: 0px 30px 0px 10px;
  border-radius: 100%;
  -webkit-background-size: 75px 75px;
  background-size: 75px 75px;
  background-color: #ccc;
  background-repeat: no-repeat;
}

#aside-left .ratings li.current_user .userpic {
  background: #737373;
  color: #fff;
  font-size: 14px;
  padding: 0 10px;
  text-align: center;
  border: 5px solid #fa3;
  margin: 0px 30px 0px 10px;
  padding: 0;
  line-height: 66px;
  box-sizing: border-box;
  background-position: center center;
}

#aside-left .ratings .username {
  display: block;
  padding-top: 4px;
  word-wrap: break-word;
}

#aside-left .ratings .username {
  width: 280px;
  display: inline-block;
  margin-top: 20px;
  color: #333;
}

#aside-left .ratings .username a {
  color: #00a9ef;
  text-decoration: none;
}

#aside-left .ratings .username a:hover {
  border-bottom: 1px solid #00a9ef;
}

#aside-left .ratings .phrases-num {
  position: static;
  width: 275px;
  display: inline-block;
  color: #EF9637;
}

#aside-left .ratings .reg_link {
  width: 280px;
  display: inline-block;
  margin-top: 20px;
}

#aside-left .ratings .reg_link a {
  color: #00a9ef;
  text-decoration: none;
}

#aside-left .ratings .reg_link a {
  font-size: 14px;
  padding-bottom: 1px;
}

#aside-left .ratings .reg_link a {
  border-bottom: 1px solid #00a9ef;
}

#aside-left .ratings .phrases-done {
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -15px;
  font-size: 18px;
  color: #696;
}

#aside-left .ratings .phrases-done {
  position: static;
  width: 310px;
  display: inline-block;
  text-align: left;
}

#aside-left .ratings .loadmore {
  font-size: 16px;
  color: #00a9ef;
  cursor: pointer;
  margin: 22px 0 22px;
  display: inline-block;
  width: 200px;
  padding: 20px;
  border: 2px solid #3AA9EE;
  border-radius: 4px;
}

#aside-left .ratings.full .loadmore {
  display: none !important;
}

.right-col {
  float: right;
}

#aside-right {
  width: 300px;
  font-size: 14px;
  line-height: 1.3;
  margin-top: 25px;
}

#aside-right .stats .wrap {
  margin-bottom: 5px;
}

#video_preview_wrap {
  width: 164px;
  text-decoration: none;
  color: #000;
  width: 120px;
  overflow: hidden;
  display: inline-block;
  float: left;
  margin-right: 18px;
  position: relative;
}

.m-right_col-pieces #video_preview_wrap {
  display: none;
}

#video_preview_wrap .wrap {
  background: #000;
  width: 120px;
  height: 67px;
  overflow: hidden;
  position: relative;
  margin: 0 0 16px;
}

#video_preview {
  width: 100%;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

#video_preview_wrap .timer {
  position: absolute;
  top: 5px;
  right: 10px;
  font: 12px Consolas, monospace;
  color: #696;
  text-shadow: 0 0 1px rgba(255, 255, 255, .6);
}

#video_preview_wrap.bad .timer {
  color: #c00;
}

/*#video_preview_wrap .icon {background:url(../images/icons.png) no-repeat; width:30px; height:30px; position:absolute; bottom:7px; left:9px; z-index:2;}*/
#video_preview_wrap.good .icon {
  background-position: 0 -30px;
}

#video_preview_wrap.bad .icon {
  background-position: 0 -60px;
}

#video_preview_wrap .descrip {
  margin-top: 8px;
  width: 105%;
  font: 14px/1.15 HelveticaNeue, Helvetica, Arial, sans-serif;
  display: block;
  color: #a60;
}

#video_preview_wrap.good .descrip {
  color: #363;
}

#video_preview_wrap.bad .descrip {
  color: #a00;
}

#aside-right #video_preview_wrap .descrip {
  display: none;
}

#video_preview_wrap + h2,
#aside-right h2 {
  margin-top: 6px;
  font-size: 30px;
  text-align: center;
}

.m-right_col-pieces__tabs {
  margin-top: 10px;
}

.m-right_col-pieces__tabs__item {
  font-size: 24px;
  display: inline-block;
  vertical-align: middle;
  padding: 7px 0 14px 0;
  cursor: pointer;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.m-right_col-pieces__tabs__item.is-active {
  cursor: default;
  color: #333;
}

.m-right_col-pieces__content {
  margin-top: 1px;
}

.m-right_col-pieces__content__levels__item {
  padding: 10px 15px;
  border-bottom: 1px solid #fff;
}

.m-right_col-pieces__content__levels__item.is-fifth {
  background-color: #61437d;
}

.m-right_col-pieces__content__levels__item.is-fourth {
  background-color: #725591;
}

.m-right_col-pieces__content__levels__item.is-third {
  background-color: #8768a8;
}

.m-right_col-pieces__content__levels__item.is-second {
  background-color: #9576b8;
}

.m-right_col-pieces__content__levels__item.is-first {
  background-color: #a988cd;
}

.m-right_col-pieces__content__levels__num,
.m-right_col-pieces__content__levels__title {
  display: inline-block;
  vertical-align: middle;
}

.m-right_col-pieces__content__levels__num {
  width: 34px;
  height: 34px;
  border: 3px solid #fff;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 50%;
  text-align: center;
  margin-right: 15px;
  position: relative;
}

.m-right_col-pieces__content__levels__num span {
  display: inline-block;
  font-weight: bold;
  font-size: 18px;
  color: #fff;
  line-height: 31px;
}

.pieces__select-level {
  cursor: pointer;
}

.m-right_col-pieces__content__levels__item.is-current .m-right_col-pieces__content__levels__num {
  background: #50336a;
  background: -moz-linear-gradient(left,  #50336a 0%, #50336a 50%, #432a59 51%, #432a59 100%);
  background: -webkit-linear-gradient(left,  #50336a 0%,#50336a 50%,#432a59 51%,#432a59 100%);
  background: linear-gradient(to right,  #50336a 0%,#50336a 50%,#432a59 51%,#432a59 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#50336a', endColorstr='#432a59',GradientType=1 );
  border: none;
  line-height: 35px;
}

.m-right_col-pieces__content__levels__title {
  font-size: 18px;
  color: #fff;
}

.m-right_col-pieces__content__levels__item.is-current .m-right_col-pieces__content__levels__title {
  font-weight: bold;
  color: #50336a;
}

.m-right_col-pieces__content__levels__progress__line {
  background-color: #50336a;
  height: 30px;
  margin-top: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}

.m-right_col-pieces__content__levels__progress__line small {
  color: white;
  font-size: 16px;
  font-weight: bold;
  line-height: 30px;
}

.m-right_col-pieces__content__levels__progress__line__content {
  height: 100%;
  background-color: #53c4e8;
  position: relative;
  text-align: right;
}

.m-right_col-pieces__content__levels__progress__line__icon-arrow {
  width: 19px;
  height: 19px;
  position: absolute;
  right: 5px;
  top: 50%;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  -o-transform: translate(0, -50%);
  transform: translate(0, -50%);
}

.m-right_col-pieces__content__levels__progress__line__icon-arrow.arrow-left {
  -webkit-transform: translate(0, -50%) rotate(180deg);
  -ms-transform: translate(0, -50%) rotate(180deg);
  -o-transform: translate(0, -50%) rotate(180deg);
  transform: translate(0, -50%) rotate(180deg);
}

.m-right_col-pieces__content__levels__progress__text {
  font-size: 14px;
  margin-bottom: 5px;
  color: #fff;
}

#piece_timelapses {
  clear: both;
  border-bottom: 1px solid #E6E6E6;
  overflow: hidden;
  border-radius: 6px;
  background-color: #ffffff;
  border: solid 1px rgba(0, 0, 0, 0.06);
}

#piece_timelapses.loading {
  background: url(/wp-content/themes/english/assets/images/preloader-36x36-tr.gif) 50% 50% no-repeat;
  height: 51px;
}

#piece_timelapses.loading * {
  display: none;
}

#piece_timelapses ul {
  margin: 0;
  counter-reset: item;
  max-height: 347px;
  overflow: hidden;
}

#piece_timelapses li {
  padding: 14px 0 14px 97px;
  list-style: none;
  font-size: 12px;
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.piece_timelapses_rtl li {
  padding: 14px 97px 14px 97px !important;
}

#piece_timelapses li::before {
  content: counter(item);
  counter-increment: item;
  position: absolute;
  top: 28px;
  left: 5px;
}

#piece_timelapses li.current_user::before {
  top: 27px;
}

#piece_timelapses li.tmp {
  background: #93C34F;
  padding: 15px 0 10px 97px;
  color: #fff;
}

#piece_timelapses li.tmp .msg {
  color: #c33;
  margin: 17px 0 4px -64px;
}

.b-episode_info {
  position: absolute;
  font-size: 16px;
  width: inherit;
  max-width: 620px;
  margin-top: 5px;
}

.b-episode_info .b-episode_link {
  color: #29c2f6;
  display: inline-block;
  overflow: hidden;
  text-decoration: none;
  text-overflow: ellipsis;
  vertical-align: bottom;
  white-space: nowrap;
}

.b-episode_info .b-episode_link:hover {
  color: #29C2F6;
  text-decoration: underline;
}

.b-episode_info .b-episode_dscr {
  display: inline-block;
  max-width: calc(100% - 360px);
  overflow: hidden;
  text-decoration: none;
  text-overflow: ellipsis;
  vertical-align: bottom;
  white-space: nowrap;
}

#piece_timelapses {
  position: relative;
}

#piece_timelapses .empty {
  padding: 20px;
  text-align: center;
}

#piece_timelapses li.tmp .msg .icon {
  background: #d5474a;
  color: #fff;
  font: 15px/20px Arial, Helvetica, sans-serif;
  width: 20px;
  height: 20px;
  border-radius: 9em;
  margin-left: 14px;
  display: inline-block;
  position: relative;
  top: 1px;
  text-align: center;
}

#piece_timelapses.full li {
  margin-left: 8px;
}

#piece_timelapses .current_user {
  color: #fff;
  background: #93C34F;
  padding: 12px 0 12px 97px;
  min-height: 40px;
}

#piece_timelapses .userpic_bg {
  height: 35px;
  width: 35px;
  border-radius: 9em;
  background: #ccc;
  background-size: 35px 35px;
}

#piece_timelapses .userpic {
  float: left;
  margin-left: -59px;
}

#piece_timelapses .userpic.itsyou {
  background: #737373;
  color: #fff;
  font-size: 14px;
  width: 30px;
  height: 41px;
  padding: 0 10px;
  text-align: center;
  line-height: 1;
  padding-top: 9px;
}

#piece_timelapses .userpic.guest {
  background: #737373;
  color: #fff;
  font-size: 12px;
  line-height: 35px;
  text-align: center;
}

#piece_timelapses li.current_user .userpic {
  margin-left: -67px;
  margin-top: -5px;
  border-radius: 24px;
  border: 2px solid #fff;
  background: none;
  padding: 5px;
}

#piece_timelapses .current_user .userpic_bg {
  width: 35px;
  height: 35px;
  border-radius: 100%;
  background: #737373;
  background-size: 35px 35px;
}

#piece_timelapses .username {
  display: block;
  word-wrap: break-word;
}

.piece_timelapses_rtl .username,
.piece_timelapses_rtl .username div {
    direction: ltr !important;
}

#piece_timelapses .username.guest {
  color: #000;
}

#piece_timelapses .reg_link {
  display: block;
  padding-top: 2px;
}

#piece_timelapses .username a,
#piece_timelapses .reg_link a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  max-width: 68%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
}

#piece_timelapses .current_user .username a {
  color: #fff;
  overflow: visible;
}

#piece_timelapses .reg_link a {
  font-size: 14px;
  padding-bottom: 1px;
}

#piece_timelapses .username a:hover,
#piece_timelapses .reg_link a {
  text-decoration: underline;
}

#piece_timelapses .current_user .username a:hover {
  text-decoration: underline;
}

#piece_timelapses .time {
  font-size: 11px;
  color: #8a8d90;
}

#piece_timelapses .phrases-done {
  position: absolute;
  top: 23px;
  right: 10px;
  margin-top: -18px;
  font-size: 10px;
  color: #696;
  line-height: 1.1;
}

#piece_timelapses .current_user .phrases-done {
  top: 33px;
}

#piece_timelapses li.tmp .phrases-done {
  top: 33px;
  right: 10px;
}

#piece_timelapses .phrases-done.yellow {
  color: #c90;
}

#piece_timelapses .phrases-done.red {
  color: #c33;
}

#piece_timelapses .current_user .phrases-done {
  color: #fff;
}

#piece_timelapses .phrases-done span {
  font-size: 18px;
  display: inline-block;
  vertical-align: middle;
  padding-right: 5px;
  text-align: center;
}

#piece_timelapses li .mobile-icon {
  width: 10px;
  height: 16px;
  position: absolute;
  right: 90px;
  top: 14px;
  background: url(../images/phone.svg) no-repeat;
}

.piece_timelapses_rtl li .mobile-icon {
  right: 80px !important;
}

#piece_timelapses li .mobile-icon svg {
  fill: #a3a3a3;
  height: 28px;
  margin: 0 0 0 -6px;
  width: 28px;
}

#piece_timelapses li.current_user .mobile-icon {
  left: -22px;
  top: 13px;
}

#aside-right h2:first-child + #piece_timelapses {
  margin-top: 20px;
}

#piece_timelapses .scroll-container {
  overflow: hidden;
  max-height: 419px;
  width: 230px;
  margin-left: -13px;
  cursor: auto !important;
}

#piece_timelapses .scrollbar {
  background: rgba(255, 255, 255, .8);
  width: 6px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: none;
}

#piece_timelapses:hover .scrollbar {
  display: block;
}

#piece_timelapses .scrollbar-handle {
  background: #ccc;
  background-clip: content-box;
  min-height: 30px;
  position: absolute;
  top: 4px;
  right: 0;
  left: 0;
  z-index: 1;
}

#piece_timelapses:hover .scrollbar-handle {
  background: #93c34f;
}

#piece_timelapses .scrollbar-visible .phrases-done {
  right: 16px;
}

#piece_timelapses .scrollbar-visible #piece_timelapses li .mobile-icon {
  right: 62px;
}

.phrase_ru {
  display: none;
  font: 22px/1.3 HelveticaNeue, Helvetica, Arial, sans-serif;
  color: #fff;
  text-shadow: 0 0 2px #000, 0 0 1px rgba(0, 0, 0, .2);
  position: absolute;
  bottom: 23%;
  left: 20px;
  width: 90%;
  padding: 0 5px;
  z-index: 4;
  -moz-user-select: text;
  -webkit-user-select: auto;
  -ms-user-select: text;
  user-select: auto;
  text-align: center;
  background-color: rgba(0,0,0,0.26);
}

.about {
  font: 35px/1.3 HelveticaNeue, Helvetica, Arial, sans-serif;
  text-align: center;
  margin-left: 296px;
  width: 720px;
}

#video_words {
  position: absolute;
  bottom: 0;
  left: 50px;
  right: 50px;
  border-radius: 8px;
  padding: 15px 0 15px 2px;
  z-index: 2;
  font: 30px/1.66 Consolas, monospace;
  text-align: center;
  color: #000;
  cursor: default;
  direction: ltr !important;
}

.presto #video_words {
  white-space: normal;
  padding-right: 35px;
}

.webkit #video_words {
  width: 90%;
  box-sizing: border-box;
  left: 50%;
  margin-left: -45%;
  padding: 15px;
}

#video_words .word {
  position: relative;
  overflow: visible;
  cursor: default;
  white-space: nowrap;
  background: rgba(255, 255, 255, .8);
  display: inline-block;
  margin: 10px 15px 0;
  padding: 6px 10px;
  box-sizing: border-box;
  height: 55px;
  line-height: 43px;
}

#video_words .word.used:not(:last-of-type):after, #video_words .word.used:not(:first-of-type):before {
  width: 0;
}

#video_words .word:before,
#video_words .word.used:first-of-type:before,
#video_words .word.used.m-word-first_in_line:before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 55px;
  position: absolute;
  top: 0;
  left: -12px;
  background: url(../images/pazzle_back.png) 0 0 no-repeat;
}

#video_words .word:after,
#video_words .word.used:last-of-type:after,
#video_words .word.used.m-word-last_in_line:after {
  content: '';
  display: inline-block;
  width: 15px;
  height: 55px;
  position: absolute;
  top: 0;
  right: -15px;
  background: url(../images/pazzle_front.png) 0 0 no-repeat;
}

#video_words .word.m-used-last:after {
  width: 15px !important;
}

#video_words .word.solved {
  cursor: pointer;
  color: #333;
}

.js-expr-border{
  border-bottom: 1px dashed !important;
}

.js-hover-expr, .js-hover-expr::before, .js-hover-expr::after{
  background: #fff !important;
}

#video_words .word:not(.js-hover-expr).solved::before,
#video_words .word:not(.js-hover-expr).solved:not(.m-used-last)::after {
  background: rgba(255, 255, 255, .8) !important;
}

#video_words .word.solved::before,
#video_words .word.solved:not(.m-used-last)::after {
  content: '';
  width: 15px !important;
  position: absolute;
  right: -15px;
  height: 100%;
}

#video_words .word.solved::before {
  right: auto !important;
  left: -15px;
}

#video_words .word.solved:first-child::before {
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
}

#video_words .word.correct:first-child::before {
  width: 12px !important;
}

#video_words .word.wrong:first-child::before {
  width: 22px !important;
  left: -22px;
}

#video_words .word.solved:not(.m-used-last):hover::after,
#video_words .word.solved:hover::before {
  background: #fff !important;
}

#video_words .word.wrong {
  color: #EF413F;
  cursor: pointer;
}

#video_words .word.used {
}

#video_words .word:hover,
#video_words .word.solved:hover,
#video_words .word.wrong:hover {
  background: #fff;
}

#video_words .word.wrong::before {
  width: 22px !important;
  left: -22px !important;
}

#video_words .word.solved.next-wrong::after {
  width: 8px !important;
  right: -8px;
}

#video_words .word.correct.m-word-first_in_line::before {
  width: 12px !important;
}

#video_words .word.used:first-of-type:hover:before,
#video_words .word:hover:before {
  background: url(../images/pazzle_back.png) -18px 0 no-repeat;
}

#video_words .word.used:last-of-type:hover:after,
#video_words .word:hover:after {
  background: url(../images/pazzle_front.png) -20px 0 no-repeat;
}

#video_words .word.wrong .key {
  background: #EF413F;
  -webkit-border-radius: 9em;
  border-radius: 9em;
  color: #fff;
  font: 53%/1.4 Arial, Helvetica, sans-serif;
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  left: -13px;
  top: 18px;
}

.mac #video_words .word.wrong .key {
  top: 28px;
}

#video_words .word.correct:hover .key,
#video_words .word .article {
  color: #888;
}

/*.video_wrap.playing #video_words {background:rgba(255,255,255,.3);}*/
.video_wrap.playing #video_words .words {
  opacity: .8;
}

.page-pieces .video-js {
  width: 100% !important;
  height: 100% !important;
}

.b-footer {
  min-width: 1349px;
  margin-top: 0 !important;
}

.button-start {
  width: 246px;
  font-size: 26px;
  line-height: 69px;
  background: #696;
  color: #fff;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 6;
  margin: -35px 0 0 -123px;
  cursor: pointer;
  -webkit-border-radius: 2px;
  border-radius: 2px;
}

.button-start ~ .control-replay,
.button-start ~ .control-next {
  display: none;
}

.b-pieces_page_wrapper .b-phraze_counter_info_wrapper {
  margin-bottom: 50px;
}

.m-header_content-green {
  background: #93C34E;
  padding: 30px 0 25px;
}

.m-header_content-green:after {
  height: 7px;
  bottom: -7px;
  background: url("../images/header_green_wave.png") center top repeat-x;
}

.m-header_content-green:before {
  background: url("../images/header_green_bg.png") 0 0 repeat;
}

.m-header_content-green .post-header__counter--work {
  margin-top: 0;
}

.m-header_content-green .b-sub_header__title_content {
  height: inherit;
  font-size: 42px;
}

@media only screen and (max-width: 1360px) {
  .b_header-full-static {
    min-width: 1032px;
  }

  .b-header {
    min-width: 1032px;
  }

  /*.page-wrapper {width:1032px; margin:0 auto;}*/
  #aside-right {
    margin-bottom: 30px;
  }

  .about {
    margin-left: 0;
  }

  .b-footer {
    min-width: 1032px;
  }
}

@media only screen and (max-width: 1060px) {
  .right-col:after {
    content: '';
    display: table;
    clear: both;
  }

  #aside-left {
    width: 310px;
  }

  #aside-left .ratings {
    width: 220px;
    padding: 22px 51px 10px 55px;
  }

  #video_preview_wrap {
    margin-right: 35px;
  }

  #piece_timelapses li.current_user .mobile-icon {
    left: -22px;
  }

  .b-footer {
    min-width: 1032px;
  }

  /*.first_entrance .right-col {top:200px; margin-bottom:200px; position:relative;}*/
  .first_entrance #about {
    position: absolute;
    top: 0;
    width: 100%;
  }

  .first_entrance #about:before {
    content: '';
    display: block;
    padding-top: 57%;
  }

  .b-pieces_page_wrapper .first_entrance #about {
    top: 245px;
  }
}

@media only screen and (max-width: 986px) {
  .right-col {
    float: left;
    margin: 64px 0 20px 40px;
  }

  .b-episode_info {
    margin-top: 0;
  }

  .video_inner_wrap {
    float: none;
    margin: 0 auto;
  }

  .video_wrap, .b-control_panel {
    /*position: absolute; bottom: auto !important; margin: 40px 0 0 calc(50% - 320px);*/
  }

  .b-control_panel {
    top: 610px;
  }

  .b-pieces_block {
    min-height: 500px;
    padding-top: 170px;
  }

  .b-pieces_rating {
    min-height: 530px;
  }

  .b-pieces_rating #aside-left {
    width: 300px;
    float: right;
    margin-right: 40px;
  }

  .b-pieces_rating .l-wrapper:after {
    content: '';
    display: block;
    clear: both;
  }

  #piece_timelapses .phrases-done {
    top: 18px;
  }

  #piece_timelapses li .mobile-icon {
    top: 2px;
  }

  #piece_timelapses li.m-rating-cur_user_before {
    border-bottom: 0 none;
    padding-bottom: 17px;
  }

  #piece_timelapses .current_user {
    border-bottom: 0 none;
    margin: 0 0 5px;
  }

  #piece_timelapses,
  #piece_timelapses ul {
    overflow: scroll;
  }

  #aside-right {
    float: left;
    margin-left: 40px;
    padding-top: 35px;
  }

  #video_preview_wrap {
    display: none;
  }

  #aside-left .ratings li .pos {
    left: 0px;
    top: 12px;
    font-size: 12px;
  }

  #aside-left h2 {
    text-align: center;
  }

  .b-rating_header {
    font-size: 12px;
  }

  #aside-left .ratings .userpic {
    height: 35px;
    width: 35px;
    background-size: 35px 35px;
    margin: 0px 15px 0 0;
  }

  #aside-left .ratings li.current_user .userpic {
    padding: 0;
    height: 35px;
    width: 35px;
    background-size: 35px 35px;
    margin: -5px 10px 0 -5px;
    line-height: normal;
  }

  #aside-left .ratings li {
    padding: 0 0 0 30px;
    min-height: 46px;
    margin: 13px 0 10px;
  }

  .b-rating_header {
    position: relative;
    padding: 15px 0 10px;
  }

  .m-rating_header__cell-solved_phrase {
    display: none
  }

  .m-rating_header__cell-mobile {
    display: block;
    position: absolute;
    right: -5px;
    top: 10px;
    width: 50px;
  }

  .m-rating_header__cell-name {
    margin-left: 38px;
    width: 135px;
    font-size: 14px;
  }

  .m-rating_header__cell-all_phrase {
    width: 75px;
  }

  #aside-left .ratings .username,
  #aside-left .ratings .reg_link {
    width: 95px;
    margin-top: 3px !important;
    font-size: 15px;
  }

  #aside-left .ratings .phrases-num {
    width: 65px;
  }

  #aside-left .ratings .phrases-done {
    width: 55px;
  }

  #aside-left .ratings li.out {
    margin-top: 69px;
  }

  #aside-left .ratings li.out:before {
    line-height: 60px;
    top: -76px;
  }

  .m-header_content-green {
    padding: 25px 0 20px;
  }

  .m-header_content-green .b-sub_header__title_content {
    font-size: 38px;
  }

  .b-episode_info {
    left: 0;
    margin-left: 0;
    position: relative;
    margin: 0 auto;

  }

  .global_video_wrap.for-position {
    padding-bottom: 500px;
  }

  .global_video_wrap .right-col {
    position: absolute;
    left: 0;
    bottom: 0;
  }

  .global_video_wrap .right-col.m-right_col-pieces_static {
    position: static;
  }


}

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

  .b-control_panel {
    display: block;
  }

  .mf-video-content .b-control_panel {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-evenly;
  }

}

@media only screen and (max-width: 749px) {
  #aside-right {
    margin-left: 10px;
  }

  .b-pieces_rating #aside-left {
    margin-right: 10px;
  }

  .right-col {
    margin-left: 10px;
  }

  .video_wrap, .b-control_panel {
    text-align: center;
  }

  .b-control_panel {
  }

  .b-pieces_block {
    min-height: 500px;
  }
}

@media only screen and (max-width: 690px) {
  .right-col {
    position: static;
    float: right;
    margin-top: 60px !important;
  }

  .right-col, .b-pieces_rating #aside-left {
    padding-right: calc(50% - 150px);
  }

  .b-pieces_rating #aside-left {
    margin-right: 0;
  }

  #aside-right {
    padding-top: 0;
  }
}

@media only screen and (max-width: 656px) {
  .video_inner_wrap {
    width: 100%;
    margin-left: 0;
  }

  .video_wrap {
    width: 100%;
    float: none;
    height: auto !important;
    padding-top: 56.25%;
  }

  .video_wrap #video {
    width: 100%;
  }

  .video_wrap .status {
    display: none;
  }

  .b-control_panel {
    margin: 0;
    top: auto;
    left: 0;
  }

  .b-control_panel .control-btn {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 53px;
  }

  .b-control_panel .control-btn span {
    display: none;
  }

  .control-btn.control-replay {
    background-position: 14px center;
  }

  .control-btn.b-control_panel__next {
    background-position: 21px center;
  }

  #video_actions {
    margin-left: 0px;
    text-align: center;
  }

  .b-episode_info {
    left: auto;
    margin-left: 0;
    width: 97%;
  }
}

@media only screen and (max-width: 520px) {
  .video_wrap {
    width: inherit;
    bottom: auto !important;
  }

  .video_wrap #video {
    background: none;
    margin-top: 20px;
  }

  #video_words {
    left: 0 !important;
    right: 0;
    bottom: 10px;
    border-radius: 0;
    background: rgba(255, 255, 255, .8);
    padding-top: 7px !important;
    padding-bottom: 5px !important;
    padding-left: 26px !important;
    margin: 0 !important;
  }

  .webkit #video_words {
    width: 100%;
    font-size: 18px !important;
    padding-right: 0;
  }

  #video_actions {
    display: none !important;
  }

  .phrase_ru {
    display: block;
    width: 100%;
    box-sizing: border-box;
    left: 0;
    margin-left: 0;
    padding: 5px 10px;
    bottom: 90px !important;
    text-shadow: 0 0 2px #000, 0 0 1px rgba(0, 0, 0, .7);
    background: rgba(255, 255, 255, .3);
  }

  #video_words .word {
    position: static;
    margin: 0 30px 0 0;
    padding: 0 !important;
    height: auto;
    background: none;
  }

  #video_words .word:hover {
    background: transparent !important;
  }

  #video_words .word.used {
    position: relative;
  }

  #video_words .word.wrong .key {
    font-size: 12px;
    left: -22px;
    top: 10px;
    font-family: arial, sans-serif;
  }

  #video_words .word:after,
  #video_words .word:before {
    display: none !important;
  }

  #video_words .word.correct:hover, #video_words .word.wrong:hover {
    background: none !important;
  }

  #video_words .word.wrong .key {
    line-height: 20px;
  }

  .phrase_ru {
    min-width: 280px;
  }

  .b-pieces_block {
    padding-top: 150px;
  }

  .m-header_content-green {
    padding: 20px 0 15px;
  }

  .m-header_content-green .b-sub_header__title_content {
    font-size: 30px;
  }
}

@media only screen and (max-width: 450px) {
  #video_words .word {
    font-size: 16px !important;
    line-height: 30px;
  }

  #video_words .word.wrong .key {
    height: 14px;
    left: -17px;
    line-height: 13px;
    top: 8px;
    width: 14px;
  }
}

.video_fit_height .page-wrapper:before {
  display: none;
}

.video_fit_height .video_wrap.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  margin: 0;
}

.video_fit_height #video {
  height: 100%;
  margin: 0;
}

.video_fit_height.vh300- #video {
  height: 114%;
}

.video_fit_height.vh300- #video_words {
  font-size: 16px !important;
}

.video_fit_height.vh300- #phrase_ru {
  font-size: 14px;
}

.video_fit_height.vh300- #video_words .word.wrong .key {
  font-size: 10px;
  width: 15px;
  height: 15px;
}

.video_fit_height.vh250- .video_wrap .status {
  padding-left: 26px;
  width: 150px;
  font-size: 12px;
  top: 14px;
  left: 3%;
}

.video_fit_height.vh250- .video_wrap .status:before {
  background-size: 18px 54px;
  height: 18px;
  top: 1px;
}

.video_fit_height.vh250- .video_wrap .status.good:before {
  background-position: 0 -18px;
}

.video_fit_height.vh250- .video_wrap .status.bad:before {
  background-position: 0 -36px;
}

.video_fit_height.vh250- .timer_wrap {
  background-size: 18px 18px;
  line-height: 19px;
  font-size: 12px;
  height: auto;
  padding-right: 25px;
  top: 13px;
  right: 3%;
}

.video_fit_height.vh250- #video_words {
  font-size: 14px !important;
}

.video_fit_height.vh250- #phrase_ru {
  left: 3%;
  right: 3%;
  font-size: 12px;
  bottom: auto;
  top: 82%;
}

.video_fit_height.vh250- #keyboard li {
  line-height: 30px;
  padding-top: 2px;
}

.video_fit_height.vh225- #video_words {
  font-size: 14px !important;
  border-radius: 1px;
}

.video_fit_height.vh225- #video_words .word {
  padding-top: 14px;
}

.video_fit_height.vh200- #video_words {
  font-size: 12px !important;
}

.video_fit_height.vh200- #phrase_ru {
  font-size: 11px;
  top: 82.5%;
}

.video_fit_height.vh175- #phrase_ru {
  left: 3%;
  right: 3%;
  bottom: auto;
  top: 83%;
}

.video_fit_height #video_actions {
  top: 625px;
}

.phrases_spent_message_videopieces {
  width: 100%;
  height: 100%;
  background: yellow;
  z-index: 6;
  position: absolute;
  padding: 40px;
}

.no-phrases-videopieces {
  margin-top: 210px;
}

#vkshare0 {
  float: left;
}

#phrase-difficulty {
  float: right;
  margin-top: 5px;
}

.levels-html {
  margin-bottom: 15px;
}

#piece_levels p {
  font-size: 15px;
}

.b-sprint__star-green svg path {
  fill: #70b16e;
}

.b-sprint__star-gray svg path {
  fill: #e3e3e3;
}

/* Small devices (tablets, 768px and up) */

@media only screen and (min-width: 768px) and (max-width: 992px) {

  #aside-left .ratings .username {
    width: 250px;
  }

  .m-rating_header__cell-name {
    margin-left: 70px;
    width: 315px;
  }

  .m-rating_header__cell-all_phrase {
    width: 135px;
  }

}

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

  #phrase-difficulty {
    float: none;
    display: block;
  }

}

/* UPD
*/
.m-header_content-puzzlebattle {
  background-color: #f8f8f8;
}

.m-header_content-puzzlebattle::after,
.m-header_content-puzzlebattle::before {
  display: none;
}

.m-header_content-puzzlebattle .b-sub_header__title_content {
  font-weight: 300;
  font-size: 38px;
  color: #333;
}

.b-sub_header__title_content-links {
  line-height: 16px;
}

.b-sub_header__title_content-links a {
  margin-left: 5px;
  margin-right: 5px;
  border-bottom: 1px solid rgba(0,0,0,0.2) !important;
  font-weight: 400 !important;
}

.mf-levels-box {
  font-size: 0;
  padding-top: 21px;
  padding-bottom: 27px;
  background-color: #f8f8f8;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.mf-levels-box__title {
  float: left;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.6px;
  color: #333;
  text-transform: uppercase;
  padding-top: 8px;
}

.mf-levels-box__content {
  padding-left: 124px;
}

.mf-levels-box__level {
  width: 40px;
  display: inline-block;
  vertical-align: top;
}

.mf-levels-box__level-num {
  margin-left: 8px;
  float: left;
}

.mf-levels-box__level-num-number {
  font-size: 16px;
  font-weight: 900;
  text-align: center;
  line-height: 26px;
  color: #bdbdbd;
  width: 26px;
  height: 26px;
  background-color: #f8f8f8;
  border: 3px solid #e8e8e8;
  border-radius: 50%;
}

.mf-levels-box__level-num-points {
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
  color: #8a8d90;
  position: relative;
  padding-top: 8px;
  margin-top: 4px;
}

.mf-levels-box__level-num-points::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 6px;
  background-color: rgba(0, 0, 0, 0.08);
}

.mf-levels-box__level-progress-over {
  padding-left: 48px;
  padding-top: 13px;
  display: none;
}

.mf-levels-box__level-progress {
  width: 100%;
}

.mf-levels-box__level-progress-line {
  height: 6px;
  background-color: rgba(0, 0, 0, 0.06);
  margin-bottom: 12px;
}

.mf-levels-box__level-progress-line-complete {
  height: 6px;
  background-color: #71b26f;
  position: relative;
}

.mf-levels-box__level-progress-line-complete-marker {
  color: #fff;
  font-size: 11px;
  text-align: center;
  line-height: 16px;
  position: absolute;
  right: -25px;
  top: -28px;
  width: 25px;
  height: 16px;
  border-radius: 2px 2px 2px 0;
  background-color: #ffc353;
}

.mf-levels-box__level-progress-line-complete-marker::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  border: 2px solid transparent;
  border-left: 2px solid #ffc353;
  border-top: 2px solid #ffc353;
}


.mf-levels-box__level-progress-info {
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
  color: #8a8d90;
}

.mf-levels-box__level_active {
  width: calc(100% - 160px);
}

.mf-levels-box__level_active .mf-levels-box__level-num-number,
.mf-levels-box__level_passed .mf-levels-box__level-num-number {
  color: #fff;
  background-color: #71b26f;
  border-color: #71b26f;
}

.mf-levels-box__level_active .mf-levels-box__level-progress-over {
  display: block;
}

/**/

.mf-video-content {
  background-color: #f8f8f8;
  padding-bottom: 63px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.page-fullscreen .mf-video-content {
  padding-top: 80px;
}

.mf-video-content .b-episode_info {
  position: static;
  font-size: 13px;
  width: inherit;
  max-width: none;
  margin-top: 20px;
}

.mf-video-content .b-episode_info .b-episode_link {
  color: #333;
}

.mf-video-content .video_wrap {
  margin-bottom: 20px;
}

.video_wrap_new-mf {
  width: 100%;
  float: none;
  height: auto !important;
  padding-top: 56.25%;
  border-radius: 6px;
}

.b-control_panel-box {
  margin-bottom: 10px;
}

.b-control_panel-box .control-button {
  cursor: pointer;
  font-size: 18px;
  color: #fff;
  width: 210px;
  height: 53px;
  border-radius: 6px;
  background-color: #79c177;
  border-bottom: 5px solid #599f57;
  box-sizing: border-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.b-control_panel-box .control-button.b-control_panel__prev {
  width: 70px;
}

.b-control_panel-box .control-button.b-control_panel__next {
  width: 260px;
}

.b-control_panel-box .control-button{
  width: auto;
  padding: 0 10px;
}
.b-control_panel-box .control-button.b-control_panel__prev{
  width: auto;
  min-width: 60px;
}
.b-control_panel-box .control-button.b-control_panel__next{
  width: auto;
  min-width: 60px;
}

.b-control_panel-box  .slow-ratio__button {
  width: auto;
}

.b-control_panel-box .advice {
  font-size: 10px;
  text-align: center;
  color: #8a8d90;
  text-transform: uppercase;
}

/**/

.mf-best-today {
  margin-bottom: 30px;
}

.mf-best-today__head {
  margin-bottom: 12px;
}

.mf-best-today__title {
  font-size: 38px;
  font-weight: 300;
  color: #333;
}

.mf-best-today__levels-filter {
  text-align: right;
}

.mf-best-today__levels-filter-title {
  font-size: 13px;
  line-height: 1.23;
  color: #8a8d90;
}

.mf-best-today__levels-filter-level-link {
  font-size: 11px;
  color: #bdbdbd;
  text-align: center;
  line-height: 20px;
  width: 24px;
  height: 24px;
  border: solid 2px #ddd;
  display: inline-block;
  cursor: pointer;
  box-sizing: border-box;
  border-radius: 50%;
}

.mf-best-today__levels-filter-level-link:hover,
.mf-best-today__levels-filter-level-link.is-current {
  border-color: #8a8d90;
  color: #8a8d90;
}

.mf-best-today__table-head {
  font-size: 12px;
  line-height: 1.33;
  letter-spacing: 0.6px;
  text-align: left;
  color: #333;
  height: 50px;
  border-radius: 6px;
  background-color: rgba(0, 0, 0, 0.04);
  text-transform: uppercase;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: flex-start;
}

.mf-best-today__table-head-place {
  width: 91px;
  text-align: center;
}

.mf-best-today__table-head-name {
  width: 392px;
}

.mf-best-today__table-head-level {
  width: 200px;
}

.mf-best-today__table-head-solved_phrase {
  width: 243px;
}

.mf-best-today__table-head-all_phrase {
  padding-right: 5px;
}

.mf-best-today__table-body ul {
  list-style: none;
  margin: 0 0 30px 0;
}

.mf-best-today__table-body ul li {
  font-size: 14px;
  color: #333;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: flex-start;
  padding-top: 16px;
  padding-bottom: 16px;
}

.mf-best-today__table-body ul li:nth-child(even) {
  background-color: #fcfcfc;
}

.mf-best-today__table-body ul li.out {
  margin-top: 73px;
  position: relative;
}

.mf-best-today__table-body ul li.out::before {
  content: '...';
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: absolute;
  top: -73px;
  left: 0;
  right: 0;
  font: 21px/62px Consolas,monospace;
  color: #333;
  height: 72px;
  padding-left: 25px;
}

.mf-best-today__table-body .pos {
  text-align: center;
  width: 91px;
}

.mf-best-today__table-body .userpic {
  height: 40px;
  width: 40px;
  border-radius: 100%;
  background: #ccc;
  background-size: auto auto;
  background-size: cover;
}

.mf-best-today__table-body .username {
  width: 335px;
  padding-left: 17px;
}

.mf-best-today__table-body_rtl .username {
  padding-left: 0px;
  padding-right: 17px;
  direction: ltr !important;
}

.mf-best-today__table-body .level {
  width: 200px;
}

.mf-best-today__table-body .level span {
  font-size: 11px;
  color: #bdbdbd;
  text-align: center;
  line-height: 20px;
  width: 24px;
  height: 24px;
  border: solid 2px #ddd;
  display: inline-block;
  cursor: pointer;
  box-sizing: border-box;
  border-radius: 50%;
}

.mf-best-today__table-body .phrases-done {
  width: 243px;
}

.mf-best-today__table-body .phrases-num {
  padding-right: 5px;
}

.mf-best-today__table-body .loadmore {
  text-align: center;
  font-size: 13px;
  line-height: 1.38;
  color: #333;
}

.mf-best-today__table-body .loadmore span {
  cursor: pointer;
  border-bottom: 1px dashed rgba(0,0,0,0.2);
}

.mf-best-today__table-body .loadmore span:hover {
  border-bottom: 1px solid transparent;
}

/**/

.other-games {
  max-width: 360px;
  margin: 12px auto 0;
}

.other-games__title {
  font-weight: 300;
  font-size: 24px;
  color: #333;
  text-align: center;
  padding-bottom: 49px;
}

.other-games__link {
  text-decoration: none;
  text-align: center;
  display: block;
  margin-bottom: 30px;
}

.other-games__ico {
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 16px;
  margin: 0 auto 5px;
}

.other-games__ico_1 {
  background-color: #f4fbec;
  background-image: url('../../wp-content/themes/english/assets/pe/img/danetka.svg');
  -webkit-background-size: 40px;
  background-size: 40px;
  background-repeat: no-repeat;
  background-position: center center;
}

.other-games__ico_2 {
  background-color: #fffbeb;
  background-image: url('../../wp-content/themes/english/assets/pe/img/duel_menu_icon.svg');
  -webkit-background-size: 40px;
  background-size: 40px;
  background-repeat: no-repeat;
  background-position: center center;
}

.other-games__ico_3 {
  background-color: #fefaea;
  background-image: url('../../wp-content/themes/english/assets/pe/img/slovo-game.svg');
  -webkit-background-size: 40px;
  background-size: 40px;
  background-repeat: no-repeat;
  background-position: center center;
}

.other-games__ico_4 {
  background-color: #f9f2fb;
  background-image: url('../../wp-content/themes/english/assets/pe/img/puzzlebatl.svg');
  -webkit-background-size: 40px;
  background-size: 40px;
  background-repeat: no-repeat;
  background-position: center center;
}

.other-games__ico_5 {
  background-color: #fef2f1;
  background-image: url('../../wp-content/themes/english/assets/pe/img/fun.svg');
  -webkit-background-size: 40px;
  background-size: 40px;
  background-repeat: no-repeat;
  background-position: center center;
}

.other-games__ico_6 {
  background-color: #fef0ea;
  background-image: url('../../wp-content/themes/english/assets/pe/img/level-test_icon.svg');
  -webkit-background-size: 40px;
  background-size: 40px;
  background-repeat: no-repeat;
  background-position: center center;
}

.other-games__name {
  font-size: 14px;
  color: #333;
  border-bottom: 1px solid rgba(51,51,51,0.2);
}

.other-games__link:hover .other-games__name {
  border-bottom: 1px solid transparent;
}

.redesign-mf__header-title {
  font-size: 32px;
  font-weight: 500;
}

.redesign-mf__speech-balloon-title {
  font-size: 18px;
  margin-bottom: 12px;
}

.redesign-mf__header-rules-link {
  margin-left: 20px;
}

.redesign-mf__header-rules-link span {
  display: inline-block;
  line-height: .9;
  font-size: 16px;
  font-weight: 500;
}

.redesign-mf__header {
  padding: 40px 0 0;
}

.redesign-mf__header .redesign-mf__speech-balloon {
  border-radius: 6px;
  padding: 20px 30px;
  color: #3c4f5f;
}

.redesign-mf__speech-balloon-text {
  font-size: 16px;
}

.redesign-mf__speech-balloon-text small {
  font-size: 12px;
  color: #9eb6c6;
}

.redesign-mf__speech-balloon-level {
  font-size: 16px;
}

.redesign-mf__history {
  padding: 50px 0;
}

.redesign-mf__history-toggle-link {
  text-align: center;
  margin-bottom: 50px;
  cursor: pointer;
}

.redesign-mf__history.is-open .redesign-mf__history-toggle-link svg {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}

.redesign-mf__history-toggle-link svg path {
  fill: #0a7bd1;
}

.redesign-mf__history-toggle-link span {
  margin-right: 3px;
  display: inline-block;
  line-height: .9;
  font-size: 16px;
  font-weight: 500;
  color: #0a7bd1;
  border-bottom: 1px dotted;
}

.redesign-mf__history-item {
  margin-bottom: 25px;
}

.redesign-mf__history-item > .container-fluid_1000 {
  padding-bottom: 40px;
  border-bottom: 1px dashed #bfced9;
}

.redesign-mf__history-item:last-child > .container-fluid_1000 {
  border-bottom: none;
}

.redesign-mf__history-item-num {
  font-size: 16px;
  font-weight: 500;
  color: #2f4051;
  margin-right: 10px;
}

.redesign-mf__history-item-title {
  font-size: 16px;
  font-weight: 500;
  color: #9eb6c6;
}

.redesign-mf__history-item-box-video {
  width: 364px;
  height: 212px;
  overflow: hidden;
  position: relative;
  background-color: #000;
  text-align: center;
}

.redesign-mf__history-item-box-video video {
  width: 100%;
  position: relative;
  z-index: 1;
}

.redesign-mf__history-item-timer {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
}

.redesign-mf__history-item-timer-num {
  color: #67aa65;
  font-size: 14px;
  font-weight: 300;
  line-height: 1;
  margin-top: 3px;
  margin-left: 2px;
}

.redesign-mf__history-item-box {
  background-color: #f4f7fb;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-flow: row nowrap;
  -moz-flex-flow: row nowrap;
  -ms-flex-flow: row nowrap;
  -o-flex-flow: row nowrap;
  flex-flow: row nowrap;
  -ms-align-items: center;
  align-items: center;
  height: 212px;
  margin-top: 17px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.redesign-mf__history-item-box-video-play {
  z-index: 2;
  position: absolute;
  left: 50%;
  top: 50%;
  cursor: pointer;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.redesign-mf__history-item-box-video-play svg path {
  fill: #fff;
}

.redesign-mf__history-item-box-board {
  width: calc(100% - 364px - 40px);
  margin-left: 40px;
  padding-right: 40px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.redesign-mf__history-item-box-board-top {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.38;
  margin-bottom: 5px;
  color: #2f4051;
}

.redesign-mf__history-item-box-board-bottom {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.36;
  color: #3c4f5f;
}

.redesign-mf__history-item-label.puzzle-label_style_green {
  background-color: #79c257;
}

.redesign-mf__history-item-wrong {
  line-height: 1;
}

.redesign-mf__history-item-wrong-replace {
  background-color: #df382e;
  color: #fff;
  line-height: 1;
  width: 20px;
  height: 20px;
  text-align: center;
  border-radius: 50%;
  font-size: 18px;
  position: relative;
}

.redesign-mf__history-item-wrong-replace b {
  font-weight: normal;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.redesign-mf__history-item-wrong-word {
  color: #e34034;
  line-height: .8;
}

/*Extra small devices (phones)*/

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

  .redesign-mf__header-title {
    margin-bottom: 30px;
  }

  .redesign-mf__history-item-box-video {
    max-width: 100%;
  }

  .redesign-mf__history-item-box {
    -webkit-flex-flow: row wrap;
    -moz-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    -o-flex-flow: row wrap;
    flex-flow: row wrap;
    height: auto;
    padding-bottom: 40px;
  }

  .redesign-mf__history-item-box-board {
    width: 100%;
    margin-top: 20px;
    margin-left: 20px;
    padding-right: 20px;
  }

  .speech-balloon_style_corner-left-top::before {
    content: none;
  }

  .redesign-mf__header-rules-link {
    margin-left: 0;
  }

  .b-control_panel-box .control-button.b-control_panel__next {
    width: 70px;
  }

  .b-control_panel-box .control-button, .b-control_panel-box .control-button.b-control_panel__prev{
    width: 60px;
  }

}

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

  .mf-levels-box__title {
    float: none;
    text-align: center;
    margin-bottom: 20px;
  }

  .mf-levels-box__content {
    padding-left: 0;
  }

  .mf-best-today__levels-filter-title {
    display: block;
    margin-bottom: 10px;
  }

  .mf-best-today__table-head {
    font-size: 9px;
  }

  .mf-best-today__table-head .mobile_hide {
    display: none;
  }

}

@media only screen and (max-width: 330px) {
  .b-control_panel-box .control-button span {
    display: none;
  }

  .b-control_panel-box .slow-ratio__button span {
    display: none;
  }
  .b-control_panel-box .control-button.b-control_panel__prev,
  .b-control_panel-box .control-button,
  .b-control_panel-box .slow-ratio__button,
  .b-control_panel-box .control-button.b-control_panel__next {
    width: 55px;
  }
}
