/*
        Accessible News Slider : Plugin Specific
-----------------------------------------------------------------------------------------*/

.accessible_news_slider li,
.accessible_news_slider p {
    margin: 0;
    padding: 0;
}

.accessible_news_slider li p {
    margin: 0;
}

.accessible_news_slider {
    position: relative;
}

.accessible_news_slider_wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.accessible_news_slider .javascript_css {
    position: relative;
    z-index: 3;
    padding: 20px;
}

.accessible_news_slider .skip_to_news {
    position: absolute;
    top: 0;
    left: -9999px;
}

.accessible_news_slider .back {
    z-index: 2;
}

.accessible_news_slider .back a,
.accessible_news_slider .next a {
    display: block;
    outline: none; /* This is optional, and is arguably less accessible. */
}

.accessible_news_slider .next {
    z-index: 2;
}

.accessible_news_slider ul {
    position: relative;
    left: 0;
    width: auto;
    margin: 0;
    padding: 0;
    list-style-type: none;
    overflow: hidden;
    z-index: 1;
}

.accessible_news_slider li {
    float: left;
}

/* Общие классы */
.facebook-style-block {
    font-family: 'Lucida Grande', 'Tahoma', 'Verdana', 'Arial', sans-serif;
    font-size: 12px;
}

.facebook-window {
    background: #f7f7f7;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.facebook-window_content {
    position: relative;
}

/* Классы диалога приглашения */
.facebook-invite-box-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(102, 102, 102, 0.5);
    z-index: 9999;
}

.no-rgba .facebook-invite-box-wrapper {
    background: #ccc;
}

.facebook-invite-box {
    top: 50%;
    margin-top: -250px;
    width: 500px;
    height: 500px;
}

.facebook-window_header {
    height: 30px;
    line-height: 30px;
    color: white;
    font-weight: bold;
    background: #3b5998;
}

.facebook-window_title {
    margin-left: 5px;
}

.facebook-window_close {
    position: absolute;
    top: 0;
    right: 5px;
    font-size: 1.2em;
    text-decoration: none;
    color: white;
}

.invite-box-content {
    height: 470px;
}

.invite-box-form {
    height: 415px;
    padding: 5px 0;
    border-bottom: 1px inset #d4dae8;
    overflow: auto;
}

.invite-box-button {
    font-size: 1.1em;
}

.invite-box_invite-button {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.invite-box_check-all {
    position: absolute;
    bottom: 10px;
    left: 10px;
}

.invite-box_cancel-button {
    position: absolute;
    bottom: 10px;
    right: 100px;
}

.invite-box-user {
    padding: 5px 10px;
    cursor: pointer;
}

.invite-box-user.selected {
    background: #d4dae8;
}

.invite-box-user_photo, .invite-box-user_name {
    display: inline-block;
    vertical-align: middle;
}

.invite-box-user_name {
    line-height: 50px;
    font-size: 1.2em;
    color: #333;
    padding: 0 0 0 10px;
}

html,
body {
  height: 100%;
  margin: 0;
  position: relative;
}
body {
  font-family: 'Comic Sans MS', sans-serif;
  font-size: 14px;
  background: #0e0302 url("images/FULLSCREEN_BG.jpg") no-repeat center center;
  color: #42120b;
}
* {
  font-family: inherit;
  color: inherit;
}
input,
button,
textarea,
a {
  outline: none;
}
button {
  cursor: pointer;
  outline: none;
}
button .text {
  display: inline-block;
  vertical-align: middle;
  line-height: 1em;
}
.icon {
  display: inline-block;
  vertical-align: middle;
  width: 26px;
  height: 26px;
}
.icon.ferros {
  background: url('images/FERROS_ICO_SMALL.png?rev=b0edf2d183');
}
.number-frame {
  display: inline-block;
  vertical-align: middle;
  height: 26px;
  line-height: 26px;
  padding: 0 3px;
  color: white;
  font-size: 0.86em;
  text-shadow: #333 0 1px 1px;
  background: url('images/PRICE_FIELD_02.png?rev=b0edf2d183') repeat-x center top;
  position: relative;
  cursor: default;
  margin-right: 11px;
}
.number-frame:hover,
.number-frame:hover:before,
.number-frame:hover:after {
  background-position: center bottom;
}
.number-frame:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  width: 11px;
  height: 26px;
  background-position: center top;
  left: -11px;
  background-image: url('images/PRICE_FIELD_01.png?rev=b0edf2d183');
}
.number-frame:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  width: 11px;
  height: 26px;
  background-position: center top;
  right: -11px;
  background-image: url('images/PRICE_FIELD_03.png?rev=b0edf2d183');
}
.columns-group {
  overflow: hidden;
}
.columns-group .column {
  float: left;
  position: relative;
}
.html-template {
  display: none;
}
.full-screen-wrapper {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: rgba(3, 3, 3, 0.5);
}
.full-screen-wrapper .window {
  position: absolute;
  top: 255px;
  left: 50%;
  width: 300px;
  height: 150px;
  margin: -75px 0 0 -150px;
  padding: 10px;
  font-size: 12px;
  background: #efdf9a;
  border: 3px solid #ddc078;
  box-shadow: -1px 1px 1px #754c29;
}
.full-screen-wrapper .window label {
  display: block;
  text-align: center;
  font-size: 1.3em;
  font-weight: bold;
  margin: 0 0 5px 0;
}
.full-screen-wrapper .window textarea {
  display: block;
  width: 100%;
  height: 80px;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #ddc078;
  background: lightyellow;
  resize: none;
}
.full-screen-wrapper .window .buttons {
  margin-top: 8px;
  text-align: center;
}
.full-screen-wrapper .window .buttons button {
  display: inline-block;
}
.full-screen-wrapper .window .buttons .submit {
  margin-left: 30px;
}
.gui-button {
  display: block;
  height: 40px;
  border: none;
  background-color: transparent;
  background-repeat: repeat-x;
  position: relative;
  color: white;
  padding: 0;
  margin: 0 16px;
}
.gui-button.red {
  background-image: url('images/REJECT_BTN_02.png?rev=b0edf2d183');
}
.gui-button.red:before {
  background: url('images/REJECT_BTN_01.png?rev=b0edf2d183');
}
.gui-button.red:after {
  background: url('images/REJECT_BTN_03.png?rev=b0edf2d183');
}
.gui-button.blue {
  background-image: url('images/SPECIAL_BTN_02.png?rev=b0edf2d183');
}
.gui-button.blue:before {
  background: url('images/SPECIAL_BTN_01.png?rev=b0edf2d183');
}
.gui-button.blue:after {
  background: url('images/SPECIAL_BTN_03.png?rev=b0edf2d183');
}
.gui-button,
.gui-button:before,
.gui-button:after {
  background-position: center top;
}
.gui-button:hover,
.gui-button:hover:before,
.gui-button:hover:after {
  background-position: center -40px;
}
.gui-button:active,
.gui-button.selected,
.gui-button:active:before,
.gui-button.selected:before,
.gui-button:active:after,
.gui-button.selected:after {
  background-position: center -80px;
}
.gui-button:disabled,
.gui-button:disabled:before,
.gui-button:disabled:after {
  background-position: center bottom;
}
.gui-button:before,
.gui-button:after {
  position: absolute;
  width: 16px;
  height: 40px;
  top: 0;
  content: '';
}
.gui-button:before {
  left: -16px;
}
.gui-button:after {
  right: -16px;
}
#game {
  position: relative;
  z-index: 1;
}
#global-wrapper {
  width: 750px;
  height: 620px;
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
#application {
  visibility: hidden;
  width: 750px;
  height: 620px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
#application .game-wrapper {
  width: 750px;
  height: 510px;
  background: #0e0302;
  overflow: hidden;
}
#application .app-footer {
  height: 110px;
  background: #0e0302 url('images/FOOTER_BG.png');
  position: relative;
  overflow: visible;
}
#application .app-footer .column {
  height: 100%;
}
#application .app-footer .switch {
  width: 105px;
}
#application .app-footer .switch button {
  margin-left: auto;
}
#application .app-footer .switch .friends {
  margin-top: 5px;
}
#application .app-footer .switch .rivals {
  margin-top: 15px;
}
#application .app-footer .friends-rivals {
  width: 531px;
}
#application .app-footer .invite-challenge {
  width: 114px;
}
#application .app-footer .invite-challenge .invite {
  position: relative;
  width: 70px;
  height: 70px;
  margin: 5px 5px 0 auto;
}
#application .app-footer .invite-challenge .invite .photo {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 10px;
  left: 10px;
}
#application .app-footer .invite-challenge .invite .photo.empty {
  background: url('images/NO_USER_FRAME.png?rev=b0edf2d183');
  width: 70px;
  height: 70px;
  top: 0;
  left: 0;
}
#application .app-footer .invite-challenge .invite .frame {
  width: 70px;
  height: 70px;
  background: url('images/USER_FRAME.png?rev=b0edf2d183');
  position: absolute;
  top: 0;
  left: 0;
}
#application .app-footer .invite-challenge .invite .send-invite {
  display: block;
  width: 70px;
  height: 53px;
  line-height: 53px;
  background: transparent url('images/ADD_ME_STAMP.png') center top;
  border: none;
  color: #42120b;
  font-weight: bold;
  position: absolute;
  left: 0;
  bottom: -33px;
}
#application .app-footer .invite-challenge .invite .send-invite:hover {
  background-position: center bottom;
}
#application .app-footer .invite-challenge .challenge {
  display: none;
}
#application .app-footer .invite-challenge .challenge .challenge-button {
  width: 114px;
  height: 72px;
  background: url('images/CHALLENGE_BTN.png?rev=b0edf2d183') center top;
  border: none;
  color: white;
  text-shadow: #333 0 1px 2px;
  margin-top: 5px;
}
#application .app-footer .invite-challenge .challenge .challenge-button:hover {
  background-position: center -72px;
}
#application .app-footer .invite-challenge .challenge .challenge-button:active {
  background-position: center -144px;
}
#application .app-footer .invite-challenge .challenge .challenge-button:disabled {
  background-position: center -216px;
}
#application .app-footer .price-block {
  margin-top: 2px;
  text-align: center;
}
#application .app-footer .price-block .price-wrapper {
  display: inline-block;
  padding: 0 0 0 11px;
}
#application .app-footer #footer-message {
  display: none;
  max-width: 200px;
  background: #efdf9a;
  border: 3px solid #ddc078;
  box-shadow: -1px 1px 1px #754c29;
  position: absolute;
  bottom: 105px;
  z-index: 9999;
  padding: 5px;
  font-size: 12px;
}
#application .footer-pos {
  width: 75px;
  height: 102px;
  position: relative;
  text-align: center;
  cursor: pointer;
}
#application .footer-pos:hover .first-name {
  background-position: center bottom;
}
#application .footer-pos img {
  display: block;
  width: 50px;
  height: 50px;
  position: absolute;
  top: 10px;
  left: 50%;
  margin-left: -25px;
}
#application .footer-pos .cover {
  width: 70px;
  height: 70px;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -35px;
  background: url('images/USER_FRAME.png?rev=b0edf2d183');
}
#application .footer-pos .first-name {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 70px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  background: transparent url('images/USER_NAME_STAMP.png') center top;
  border: none;
  padding: 0;
  margin: 0 0 0 -35px;
  color: #42120b;
  font-size: 0.71em;
  overflow: hidden;
}
#application .footer-pos .level {
  position: absolute;
  bottom: 36px;
  left: 0;
  width: 100%;
  text-align: center;
  color: white;
  text-shadow: #333 0 0 2px;
  font-size: 0.86em;
  font-weight: bold;
}
#application .footer-pos .rank {
  width: 22px;
  height: 22px;
  position: absolute;
  top: 0;
  right: 0;
}
#application .empty-pos .photo {
  background: url('images/NO_USER_FRAME.png?rev=b0edf2d183');
  width: 70px;
  height: 70px;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -35px;
}
#application .empty-pos .invite-friend-button {
  width: 66px;
  height: 30px;
  background: transparent url('images/INVITE_FRIENDS_BTN.png') center top;
  border: none;
  position: absolute;
  left: 50%;
  bottom: 1px;
  color: white;
  font-size: 0.71em;
  padding: 0;
  margin: 0 0 0 -33px;
}
#application .empty-pos:hover .invite-friend-button,
#application .empty-pos .invite-friend-button:hover {
  background-position: center -30px;
}
#application .empty-pos:active .invite-friend-button,
#application .empty-pos .invite-friend-button:active {
  background-position: center -60px !important;
}
#rivals-block {
  display: none;
}
#rivals-block .positions-container {
  width: 525px;
  margin: 5px auto 0;
  overflow: hidden;
}
#rivals-block .rival {
  float: left;
}
#friends-slider {
  width: 450px;
  position: relative;
  margin: 5px 20px 0 auto;
}
#friends-slider .nav-button {
  position: absolute;
  top: 22px;
  width: 30px;
  height: 28px;
}
#friends-slider .nav-button a {
  display: block;
  width: 100%;
  height: 100%;
  background: url('images/NAV_ARROWS.png?rev=b0edf2d183') no-repeat;
}
#friends-slider .back {
  left: -30px;
}
#friends-slider .back a:link,
#friends-slider .back a:visited {
  background-position: center top;
}
#friends-slider .back a.disabled {
  background-position: center top !important;
}
#friends-slider .back a:hover,
#friends-slider .back a:visited:hover {
  background-position: center -28px;
}
#friends-slider .back a:active,
#friends-slider .back a:visited:active {
  background-position: center -56px;
}
#friends-slider .next {
  right: -30px;
}
#friends-slider .next a:link,
#friends-slider .next a:visited {
  background-position: center -168px;
}
#friends-slider .next a.disabled {
  background-position: center -168px !important;
}
#friends-slider .next a:hover,
#friends-slider .next a:visited:hover {
  background-position: center -196px;
}
#friends-slider .next a:active,
#friends-slider .next a:visited:active {
  background-position: center -224px;
}
#friends-slider .begin {
  left: -30px;
  top: 60px;
}
#friends-slider .begin a:link,
#friends-slider .begin a:visited {
  background-position: center -84px;
}
#friends-slider .begin a.disabled {
  background-position: center -84px !important;
}
#friends-slider .begin a:hover,
#friends-slider .begin a:visited:hover {
  background-position: center -112px;
}
#friends-slider .begin a:active,
#friends-slider .begin a:visited:active {
  background-position: center -140px;
}
#friends-slider .end {
  right: -30px;
  top: 60px;
}
#friends-slider .end a:link,
#friends-slider .end a:visited {
  background-position: center -252px;
}
#friends-slider .end a.disabled {
  background-position: center -252px !important;
}
#friends-slider .end a:hover,
#friends-slider .end a:visited:hover {
  background-position: center -280px;
}
#friends-slider .end a:active,
#friends-slider .end a:visited:active {
  background-position: center -308px;
}
#friends-slider .disabled {
  cursor: default !important;
}
#preloader-animation {
  width: 100px;
  height: 100px;
  background-image: url('images/LOADER_OK.png?rev=b0edf2d183');
  position: absolute;
  top: 255px;
  left: 50%;
  margin: -50px 0 0 -50px;
  -webkit-animation: preloader 0.8s steps(12) infinite;
  animation: preloader 0.8s steps(12) infinite;
}
@-webkit-keyframes preloader {
  from {
    background-position: 0px top;
  }
  to {
    background-position: -1200px top;
  }
}
@keyframes preloader {
  from {
    background-position: 0px top;
  }
  to {
    background-position: -1200px top;
  }
}
