html,
body {
  height: 100%;
}
body {
  padding: 0;
  margin: 0;
  background: #333333 url('../i/yandex_music/i/bg_patern.png');
  min-height: 800px;
  font-family: 'Open Sans', sans-serif;
  color: #000000;
}
input:focus {
  outline: none;
}
.YM-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-width: 1120px;
  height: 100%;
  min-height: 800px;
  text-align: center;
  font-size: 0;
}
.YM-main:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 0;
  height: 100%;
}
.YM-main.load:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff url('../i/yandex_music/i/loader.gif') no-repeat center center;
  z-index: 2;
}
.YM-container {
  position: relative;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  width: 1200px;
  height: 800px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  font-size: 12px;
}
.YM-start-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 600px;
  height: 100%;
  background: #333333 url('../i/yandex_music/i/bg_start_screen.jpg') no-repeat;
  z-index: 2;
  -webkit-transition: left 0.5s;
  -moz-transition: left 0.5s;
  -o-transition: left 0.5s;
  transition: left 0.5s;
}
.YM-start-left.hidden {
  left: -600px;
}
.YM-start-left .YM-logo-gg {
  float: left;
  width: 78px;
  height: 78px;
  background: url('../i/yandex_music/i/logo_gg.png') no-repeat;
  margin: 20px 0 0 20px;
}
.YM-start-left .YM-logo {
  float: left;
  margin: 45px 0 0 20px;
  width: 165px;
  height: 32px;
  background: url('../i/yandex_music/i/yandex_music_logo.png');
}
.YM-start-left .YM-desc {
  text-align: left;
  display: inline-block;
  clear: both;
  font-size: 24px;
  font-weight: 200;
  padding: 110px 40px 0 100px;
  margin: 100px 0 0 0;
}
.YM-start-left .YM-desc p {
  padding: 0 0 10px 0;
}
.YM-start-left .YM-desc p a {
  font-weight: 600;
  text-decoration: none;
  color: #000000;
}
.YM-start-left .YM-desc p a:hover {
  color: #ff0000;
}
.YM-start-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 100%;
  background: #333333 url('../i/yandex_music/i/bg_start_screen.jpg') no-repeat -600px 0;
  z-index: 2;
  -webkit-transition: right 0.5s;
  -moz-transition: right 0.5s;
  -o-transition: right 0.5s;
  transition: right 0.5s;
}
.YM-start-right.hidden {
  right: -600px;
}
.YM-start-right .YM-button {
  width: 275px;
  height: 85px;
  background: #ffffff;
  border-radius: 85px;
  line-height: 85px;
  text-transform: uppercase;
  font-size: 28px;
  margin: 616px 0 0 305px;
  cursor: pointer;
}
.YM-start-right .YM-button:hover {
  background: #000000;
  color: #ffffff;
}
.YM-block-login {
  width: 100%;
  height: 100%;
  background: #ffffff;
  background: -moz-linear-gradient(top, #ffffff 20%, #edebeb 100%);
  background: -webkit-linear-gradient(top, #ffffff 20%, #edebeb 100%);
  background: linear-gradient(to bottom, #ffffff 20%, #edebeb 100%);
  display: none;
}
.YM-block-login.show {
  display: block;
}
.YM-block-login .YM-block-background {
  width: 100%;
  height: 100%;
  background-image: url('../i/yandex_music/i/bg_patern.png');
}
.YM-block-login .YM-logo {
  margin: 80px 0 70px 0;
  width: 165px;
  height: 32px;
  display: inline-block;
  background: url('../i/yandex_music/i/yandex_music_logo.png');
}
.YM-block-login .YM-title {
  font-size: 16px;
  padding: 0 0 20px 0;
}
.YM-block-login .YM-form {
  width: 280px;
  margin: auto;
}
.YM-block-login .YM-row {
  padding: 0 0 20px 0;
}
.YM-block-login .YM-row input[type="text"] {
  width: 100%;
  height: 30px;
  line-height: 30px;
  border: none;
  border-bottom: 1px solid #acacac;
  margin-bottom: 2px;
  font-size: 16px;
  color: #000000;
  text-align: center;
}
.YM-block-login .YM-row input[type="text"]:focus {
  border-bottom: 3px solid #ffda4d;
  margin-bottom: 0;
}
.YM-block-login .YM-row input[type="checkbox"] {
  display: inline-block;
  margin: 0 5px 0 0;
}
.YM-block-login .YM-row input[type="submit"] {
  width: 150px;
  height: 45px;
  line-height: 40px;
  display: inline-block;
  font-size: 16px;
  text-transform: uppercase;
  border: 2px solid #ffda4d;
  background: #ffda4d;
  color: #333333;
  border-radius: 13px;
  cursor: pointer;
  box-sizing: border-box;
}
.YM-block-login .YM-row input[type="submit"]:hover {
  background: #333333;
  color: #ffda4d;
  border-color: #333333;
}
.YM-block-login .YM-row .error {
  color: #ff0000;
  display: inline-block;
  padding: 5px 0 0 0;
  font-size: 11px;
}
.YM-block-login .YM-row .YM-confirm {
  color: #999999;
  font-size: 11px;
}
.YM-block-login .YM-row .YM-confirm a {
  color: #2D6C99;
}
.YM-block-login .YM-row .YM-confirm a:hover {
  color: #ff0000;
}
.YM-block-puzzle {
  width: 100%;
  height: 100%;
  background: #edebeb url('../i/yandex_music/i/bg_patern.png');
  display: none;
}
.YM-block-puzzle.show {
  display: block;
}
.YM-column-left {
  position: relative;
  float: left;
  width: 275px;
  height: 100%;
  background: #ffffff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}
.YM-column-left .YM-logo {
  margin: 80px 0 50px 0;
  width: 165px;
  height: 32px;
  display: inline-block;
  background: url('../i/yandex_music/i/yandex_music_logo.png');
}
.YM-column-left .YM-player-controls {
  padding: 50px 0 0 0;
}
.YM-column-left .YM-player-controls .YM-prev,
.YM-column-left .YM-player-controls .YM-next {
  display: inline-block;
  vertical-align: middle;
  width: 30px;
  height: 24px;
  background: url('../i/yandex_music/i/prev_next.png') no-repeat;
  cursor: pointer;
}
.YM-column-left .YM-player-controls .YM-prev {
  background-position: 0 0;
}
.YM-column-left .YM-player-controls .YM-next {
  background-position: -31px 0;
}
.YM-column-left .YM-player-controls .YM-play {
  display: inline-block;
  vertical-align: middle;
  background: #ffda4d;
  width: 77px;
  height: 77px;
  border-radius: 77px;
  margin: 0 20px;
  cursor: pointer;
}
.YM-column-left .YM-player-controls .YM-play:before {
  content: '';
  display: block;
  margin: 21px 0 0 28px;
  width: 31px;
  height: 35px;
  background: url('../i/yandex_music/i/pause_play.png') no-repeat -24px 0;
}
.YM-column-left .YM-player-controls .YM-play.play:before {
  margin: 21px 0 0 28px;
  width: 23px;
  background-position: 0 0;
}
.YM-column-left .YM-play-list {
  position: relative;
  text-align: left;
  padding: 10px 10px 30px 10px;
  min-height: 360px;
}
.YM-column-left .YM-play-list.load:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff url('../i/yandex_music/i/loader.gif?1') no-repeat center 90px;
  background-size: 60%;
}
.YM-column-left .YM-play-list .YM-track {
  color: #000000;
  overflow: hidden;
  text-transform: uppercase;
  margin: 0 0 10px 0;
  padding: 2px 2px 0 2px;
  border: 1px solid #ffffff;
  border-radius: 5px;
}
.YM-column-left .YM-play-list .YM-track .YM-track-info {
  float: left;
  width: 200px;
  height: 50px;
  overflow: hidden;
  margin: 0 15px 0 0;
}
.YM-column-left .YM-play-list .YM-track .YM-track-info .YM-track-name {
  font-weight: 600;
}
.YM-column-left .YM-play-list .YM-track .YM-track-info .YM-track-artist {
  font-weight: 200;
}
.YM-column-left .YM-play-list .YM-track .YM-track-iframe {
  margin: -22px 0 0 0;
}
.YM-column-left .YM-play-list .YM-track .YM-track-check {
  float: left;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  box-shadow: inset 0 -2px 12px rgba(0, 0, 0, 0.4);
  opacity: 0.4;
  margin: 14px 0 0 0;
}
.YM-column-left .YM-play-list .YM-track .YM-track-check.active {
  cursor: pointer;
  opacity: 1;
}
.YM-column-left .YM-play-list .YM-track .YM-track-check.checked {
  background: #ffda4d;
}
.YM-column-left .YM-play-list .YM-track .YM-track-check.checked:before {
  content: '';
  display: block;
  width: 13px;
  height: 10px;
  background: url('../i/yandex_music/i/check.png') no-repeat;
  margin: 5px 0 0 3px;
}
.YM-column-left .YM-play-list.correct .YM-track.active {
  border-color: #01ba39;
}
.YM-column-left .YM-play-list.correct .YM-track.active .YM-track-check.checked {
  background: #01ba39;
}
.YM-column-left .YM-play-list.incorrect .YM-track.active {
  border-color: #ff0000;
}
.YM-column-left .YM-play-list.incorrect .YM-track.active .YM-track-check.checked {
  background: #ff0000;
}
.YM-column-left .YM-play-list.incorrect .YM-track.true {
  border-color: #01ba39;
}
.YM-column-left .YM-btn-confirm,
.YM-column-left .YM-btn-continue {
  width: 160px;
  height: 45px;
  line-height: 45px;
  display: inline-block;
  font-size: 16px;
  text-transform: uppercase;
  border: 2px solid #cecece;
  color: #cecece;
  border-radius: 13px;
  cursor: default;
}
.YM-column-left .YM-btn-confirm.active,
.YM-column-left .YM-btn-continue.active {
  color: #000000;
  cursor: pointer;
  border: 2px solid #ffda4d;
}
.YM-column-left .YM-btn-confirm.active:hover,
.YM-column-left .YM-btn-continue.active:hover {
  background: #ffda4d;
}
.YM-column-left .YM-btn-confirm.active:active,
.YM-column-left .YM-btn-continue.active:active {
  background: #333333;
  color: #ffda4d;
  border-color: #333333;
}
.YM-column-left .YM-btn-continue {
  display: none;
  color: #000000;
  cursor: pointer;
  border: 2px solid #ffda4d;
}
.YM-column-left .YM-panel-bottom {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
}
.YM-column-left .YM-panel-bottom .YM-level {
  font-size: 16px;
  font-weight: 800;
  padding: 50px 0 20px 0;
}
.YM-column-left .YM-panel-bottom .YM-time {
  font-size: 16px;
  font-weight: 200;
}
.YM-column-left .YM-panel-bottom .YM-time span {
  display: block;
  font-weight: 600;
}
.YM-column-right {
  overflow: hidden;
}
.YM-column-right .YM-level-result {
  font-size: 36px;
  font-style: italic;
  font-weight: 600;
  text-transform: uppercase;
  display: none;
}
.YM-column-right .YM-level-result span {
  font-weight: 200;
  font-size: 16px;
  display: block;
}
.YM-top-panel {
  height: 80px;
  position: relative;
}
.YM-top-panel .YM-rules-open {
  font-style: italic;
  font-size: 14px;
  font-weight: 200;
  display: inline-block;
  cursor: pointer;
  margin: 20px 0 0 0;
}
.YM-top-panel .YM-rules-open:after {
  content: '';
  display: block;
  margin: 3px auto 0 auto;
  width: 27px;
  height: 25px;
  background: url('../i/yandex_music/i/arrows_vertical.png') no-repeat 0 -24px;
}
.YM-top-panel .YM-rules-block {
  position: absolute;
  top: -350px;
  left: 0;
  width: 100%;
  height: 320px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  -webkit-transition: top 0.5s;
  -moz-transition: top 0.5s;
  -o-transition: top 0.5s;
  transition: top 0.5s;
}
.YM-top-panel .YM-rules-block.open {
  top: 0;
}
.YM-top-panel .YM-rules-block:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  opacity: 0.9;
}
.YM-top-panel .YM-rules-block .YM-rules {
  position: relative;
  font-size: 16px;
  text-transform: uppercase;
}
.YM-top-panel .YM-rules-block .YM-rules .YM-rules-title {
  font-weight: 600;
  padding: 20px 0 20px 0;
}
.YM-top-panel .YM-rules-block .YM-rules .YM-rules-title:after {
  content: '';
  display: block;
  margin: 3px auto 0 auto;
  width: 80px;
  height: 80px;
  background: url('../i/yandex_music/i/icon_puzzle.png') no-repeat;
}
.YM-top-panel .YM-rules-block .YM-rules .YM-rules-unit {
  float: left;
  width: 33.333%;
}
.YM-top-panel .YM-rules-block .YM-rules .YM-rules-unit.YM-rules-1:before {
  content: '';
  display: block;
  margin: 0 auto 3px auto;
  width: 51px;
  height: 49px;
  background: url('../i/yandex_music/i/icon_part_puzzle.png') no-repeat;
}
.YM-top-panel .YM-rules-block .YM-rules .YM-rules-unit.YM-rules-2:before {
  content: '';
  display: block;
  margin: 0 auto 3px auto;
  width: 51px;
  height: 45px;
  background: url('../i/yandex_music/i/icon_check.png') no-repeat;
}
.YM-top-panel .YM-rules-block .YM-rules .YM-rules-unit.YM-rules-3:before {
  content: '';
  display: block;
  margin: 0 auto 3px auto;
  width: 51px;
  height: 49px;
  background: url('../i/yandex_music/i/icon_star.png') no-repeat;
}
.YM-top-panel .YM-rules-block .YM-rules .YM-rules-close {
  display: inline-block;
  clear: both;
  margin: 20px auto 0 auto;
  width: 27px;
  height: 25px;
  background: url('../i/yandex_music/i/arrows_vertical.png') no-repeat;
  cursor: pointer;
}
.YM-puzzle {
  display: inline-block;
}
.YM-block-result {
  width: 100%;
  height: 100%;
  background: #ffffff;
  background: -moz-linear-gradient(top, #ffffff 49%, #fadf7c 100%);
  background: -webkit-linear-gradient(top, #ffffff 49%, #fadf7c 100%);
  background: linear-gradient(to bottom, #ffffff 49%, #fadf7c 100%);
  display: none;
}
.YM-block-result.show {
  display: block;
}
.YM-block-result .YM-result {
  width: 640px;
  margin: 10px auto 10px auto;
  overflow: hidden;
  text-align: left;
  display: none;
}
.YM-block-result .YM-result.active {
  display: block;
}
.YM-block-result .YM-result-image {
  float: left;
  margin: 0 30px 0 0;
}
.YM-block-result .YM-result-image img {
  display: block;
  border-radius: 150px;
  width: 150px;
  height: 150px;
}
.YM-block-result .YM-result-info {
  overflow: hidden;
}
.YM-block-result .YM-result-title {
  font-size: 24px;
  font-weight: 600;
  padding: 20px 0 10px 0;
}
.YM-block-result .YM-result-desc {
  font-size: 18px;
  font-weight: 200;
  min-height: 120px;
}
.YM-logo-ym-and-gg {
  display: inline-block;
  width: 166px;
  height: 101px;
  background: url('../i/yandex_music/i/logo_ym_and_gg.png') no-repeat;
  margin: 35px 0 0 0;
}
.YM-social-block {
  padding: 10px 0 20px 0;
  display: none;
}
.YM-social-block.show {
  display: block;
}
.YM-social-block .YM-social-title {
  font-size: 18px;
  font-weight: 400;
  padding: 0 0 10px 0;
}
.YM-social-block span {
  display: inline-block;
  width: 48px;
  height: 48px;
  cursor: pointer;
  margin: 0 10px 0 10px;
  border-radius: 48px;
}
.YM-social-block span:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}
.YM-social-block .YM-fb {
  background: url('../i/yandex_music/i/fb.png') no-repeat;
}
.YM-social-block .YM-fb:hover {
  background-position: -48px 0;
}
.YM-social-block .YM-vk {
  background: url('../i/yandex_music/i/vk.png') no-repeat;
}
.YM-social-block .YM-vk:hover {
  background-position: -48px 0;
}
.YM-promo-code {
  position: relative;
  padding: 0 0 20px 0;
  display: none;
}
.YM-promo-code:before {
  content: '';
  position: absolute;
  top: -37px;
  left: 10px;
  background-image: url('../i/yandex_music/i/bg_phone.png');
  width: 651px;
  height: 475px;
}
.YM-promo-code.show {
  display: block;
}
.YM-promo-code .YM-title {
  font-size: 16px;
  text-transform: uppercase;
  padding: 0 0 10px 0;
}
.YM-promo-code .YM-input {
  padding: 0 0 10px 0;
}
.YM-promo-code .YM-input input {
  width: 200px;
  height: 45px;
  line-height: 45px;
  display: inline-block;
  font-size: 16px;
  text-transform: uppercase;
  border: 2px solid #ffda4d;
  color: #000000;
  border-radius: 13px;
  text-align: center;
  font-weight: 800;
}
.YM-promo-code .YM-desc {
  display: inline-block;
  width: 460px;
  font-size: 16px;
}
.YM-promo-code .YM-desc a {
  color: #000000;
  font-weight: bold;
}
.YM-promo-code .YM-desc a:hover {
  color: #ff0000;
}
.YM-promo-code-inner {
  position: relative;
}
.YM-download-buttons {
  position: relative;
  padding: 20px 0 0 0;
}
.YM-download-buttons a {
  display: inline-block;
  width: 160px;
  height: 46px;
  margin: 0 5px;
  border-radius: 5px;
  background: #555555;
}
.YM-download-buttons a:before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  opacity: 0.7;
  background: url('../i/yandex_music/i/download_buttons.svg') no-repeat;
}
.YM-download-buttons a.YM-download-store:before {
  background-position: 0 -48px;
}
.YM-download-buttons a.YM-download-market:before {
  background-position: 0 0;
}
.YM-download-buttons a.YM-download-microsoft:before {
  background-position: 0 -96px;
}
.YM-download-buttons a:hover:before {
  opacity: 1;
}
.YM-button-restart {
  position: relative;
  width: 180px;
  height: 45px;
  line-height: 45px;
  display: inline-block;
  font-size: 16px;
  text-transform: uppercase;
  border: 2px solid #ffda4d;
  background: #ffda4d;
  color: #333333;
  border-radius: 13px;
  cursor: pointer;
}
.YM-button-restart:hover {
  background: #333333;
  color: #ffda4d;
  border-color: #333333;
}
