/* Reset defaults */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
audio,
canvas,
details,
figcaption,
figure,
footer,
header,
mark,
menu,
meter,
nav,
output,
progress,
section,
summary,
time,
video {
    border: 0;
    outline: 0;
    vertical-align: baseline;
    background: transparent;
    margin: 0;
    padding: 0;
    position: relative;
}

html {
    overflow: auto;
    height: 100%;
}

body {
    line-height: 1em;
    min-height: 100%;
}

article,
aside,
dialog,
figure,
footer,
header,
nav,
section,#index-news-wrap .index-news-game .user-avatar-wrap, #index-news-wrap .index-news-to-top-3 .user-avatar-wrap, #index-news-wrap .index-news-to-top-10 .user-avatar-wrap
blockquote {
    display: block;
}

nav ul,
ol,
ul,
ul ul {
    list-style: none;
}

q,
blockquote {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: none;
}

ins {
    text-decoration: underline;
}

del {
    text-decoration: line-through;
}

mark {
    background: none;
}

img {
    vertical-align: top;
}

abbr[title],
dfn[title] {
    border-bottom: 1px dotted #000;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 16px 0;
    padding: 0;
}

input[type=submit],
input[type=button],
button {
    margin: 0;
    padding: 0;
}

input,
select,
a img {
    vertical-align: middle;
}

a img {
    border: 0;
}

* {
    zoom: 1;
    resize: none;
}

*:focus {
    outline: none !important;
}

input::-ms-clear {
    display: none;
}

.no-hover,
.no-hover * {
    pointer-events: none !important;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    cursor: default;
}


/* Fonts */

@font-face {
    font-family: 'PT Sans';
    src: local('PT Sans'), local('PTSans-Regular'), url('../fonts/ptsans/ptsans.woff2') format('woff2'), url('../fonts/ptsans/ptsans.woff') format('woff'), url('../fonts/ptsans/ptsans.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'PT Sans';
    src: local('PT Sans Bold'), local('PTSans-Bold'), url('../fonts/ptsans/ptsansbold.woff2') format('woff2'), url('../fonts/ptsans/ptsansbold.woff') format('woff'), url('../fonts/ptsans/ptsansbold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Russo One';
    src: local('Russo One'), local('RussoOne'), url('../fonts/russoone/russoone.woff2') format('woff2'), url('../fonts/russoone/russoone.woff') format('woff'), url('../fonts/russoone/russoone.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

.fnt-russo {
    font-family: 'Russo One';
}

.fnt-size-1 {
    font-size: 1.1em; /* 16px */
}

.fnt-size-2 {
    font-size: .95em; /* 14px */
}

.fnt-size-3 {
    font-size: 1.4em; /* 20px */
}

.fnt-size-4 {
    font-size: 1.8em;
}

.fnt-size-5 {
    font-size: .91em; /* 13px */
}


/* Layout and overall */

body {
    overflow: hidden;
    font-family: 'PT Sans';
    font-size: 16px;
    line-height: 1.3em;
}

.images-preload {
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
}

a {
    text-decoration: none;
}

#collection-open-cards-wrap .owl-nav .owl-next,
#collection-open-cards-wrap .owl-nav .owl-prev,
a,
#game-timeline:before,
.cards-slidable-list-wrap .owl-next:after,
.cards-slidable-list-wrap .owl-prev:after,
.card-wrap.fake-card.card-playfield .card-inner,
.fake-card.card-playfield .card-inner,
.tabs-list li a span,
#magnic-help-blackout .owl-prev,
#magnic-help-blackout .owl-next,
.eauth-service-link:after,
.owl-dot,
.animated {
    transition: all .16s ease-in-out;
}

.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

header {
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background-color: #ff9700;
    overflow: hidden;
    color: #fff;
    z-index: 10000;
    border-bottom: 1px solid transparent;
    height: 120px;
}

header.scrolled {
    box-shadow: 0 0 0 2px rgba(19, 8, 0, 0.15);
}

header.scrolled.menu-visible {
    box-shadow: 0 0 0 1px rgba(19, 8, 0, 0.12);
}

#header-middle a,
header a {
    color: #fff;
}

.no-touch #header-middle a:hover,
#header-middle a.active {
    color: #f1640f;
}

footer {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
}

footer {
    height: 80px;
}

footer p {
    text-align: left;
    height: 22px;
    overflow: hidden;
    top: 30px;
}

footer > span {
    display: inline-block;
}

.footer-left {
    float: left;
}

.footer-right {
    float: right;
}

.footer-right img {
    width: 20px;
    height: 20px;
    opacity: .5;
    vertical-align: middle;
    padding-right: 5px;
    top: -1px;
}

#header-left {
    float: left;
}

#header-right {
    float: right;
}

#header-middle {
    margin: 0 240px 0 350px;
    text-align: center;
    color: #fff;
}

.header-list li {
    float: left;
    margin-right: 40px;
    height: 40px;
}

#header-middle.header-list li {
    float: none;
    display: inline-block;
    text-align: left;
}

.header-list li:last-child,
#header-sound-wrap {
    margin-right: 0;
}

.header-list li a {
    display: block;
}

.header-list li a.header-backed-link {
    display: inline-block;
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

#header-wrap {
    margin-top: 40px;
    padding: 0 40px;
}

#header-logo img {
    display: block;
    width: 133px;
    height: auto;
    top: -12px;
}

#header-logo strong {
    display: block;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -1.8em;
    font-size: .75em;
}

.no-touch #header-logo:hover strong {
    color: #ff9f14;
}

.header-icon,
.header-icon-white {
    display: inline-block;
    vertical-align: middle;
    height: 40px;
    width: 40px;
    overflow: hidden;
    background-color: transparent;
    background-image: url('../images/header-icons-sprite.svg');
    background-repeat: no-repeat;
    background-size: 240px 80px;
}

.header-icon-white {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}

.no-touch .header-list li a:hover .header-icon,
.header-list li.white-icon a .header-icon {
    opacity: 0;
}

.no-touch .header-list li a:hover .header-icon-white,
.header-list li.white-icon a .header-icon-white {
    opacity: 1;
}

#header-sound-wrap,
#header-mute-wrap {
    display: none !important;
}

#header-sound-wrap.active,
#header-mute-wrap.active {
    display: block !important;
}

#header-sound.header-icon {
    background-position: 0 0;
}

#header-sound-white.header-icon-white {
    background-position: 0 -40px;
}

#header-mute.header-icon {
    background-position: -40px 0;
}

#header-mute-white.header-icon-white {
    background-position: -40px -40px;
}

#header-collection.header-icon {
    background-position: -80px 0;
}

#header-collection-white.header-icon-white {
    background-position: -80px -40px;
}

#header-help.header-icon {
    background-position: -120px 0;
}

#header-help-white.header-icon-white {
    background-position: -120px -40px;
}

#header-to-menu.header-icon {
    background-position: -160px 0;
}

#header-to-menu-white.header-icon-white {
    background-position: -160px -40px;
}

.hide-game-menu #header-to-menu.header-icon,
.hide-popups #header-to-menu.header-icon {
    background-position: -200px 0;
}

.hide-game-menu #header-to-menu-white.header-icon-white,
.hide-popups #header-to-menu-white.header-icon-white {
    background-position: -200px -40px;
}

#header-theme-switcher {
    border-radius: 4px;
    background-color: #f1640f;
    width: 60px;
    height: 26px;
    margin-top: 7px;
}

#header-theme-switcher-button {
    border-radius: 3px;
    background-color: #ff9700;
    height: 20px;
    width: 22px;
    position: absolute;
    right: 3px;
    top: 50%;
    margin-top: -10px;
    display: block;
}

.off #header-theme-switcher-button {
    right: 35px;
}

.no-touch #header-theme-switcher:hover #header-theme-switcher-button {
    background-color: #fff;
}

.header-theme-switcher-state {
    display: block;
    position: absolute;
    top: 50%;
    margin-top: -5px;
}

#header-theme-switcher-on {
    width: 2px;
    left: 14px;
    background-color: #fff;
    height: 10px;
    border-radius: 1px;
}

#header-theme-switcher-off {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 2px solid #fff;
    right: 10px;
}

.header-user-secondary-info span,
.header-user-main-info span {
    white-space: nowrap;
}

#header-username{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.header-user-main-info span strong {
    vertical-align: bottom;
}

.header-circle {
    width: 70px;
    height: 70px;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -35px;
}

.header-user-info-wrap {
    margin-left: 85px;
    top: -4px;
}

.user-avatar-wrap {
    border: 4px solid #fff;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
}

.no-touch a.user-avatar-wrap:hover {
    border-color: #fff;
}

.user-avatar-wrap img {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    margin-left: -50%;
    margin-top: -50%;
    border-radius: 50%;
    overflow: hidden;
}

.header-backed-link {
    background-color: #f1640f;
    padding: 1px 6px 1px 6px;
    top: 5px;
    border-radius: 2px;
}

.header-backed-link.active,
.no-touch .header-backed-link:hover {
    background-color: #fff;
    color: #f1640f;
}

#header-logout span span,
#header-logout span .header-unbacked-link {
    opacity: .6;
    top: 2px;
    white-space: nowrap;
}

.no-touch #header-logout span .header-unbacked-link:hover {
    opacity: 1;
}

#header-logout span em {
    font-style: normal;
}

#header-user-level-wrap {
    box-shadow: 0 0 0 4px #fc8d03 inset;
    border-radius: 50%;
    overflow: hidden;
}

#header-circle-mask {
    display: block;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background-color: #ff9700;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -31px;
    margin-top: -31px;
}

#header-spinner {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -50%;
    margin-top: -50%;
}

circle:nth-child(1) {
    fill: rgba(0,0,0,0);
    stroke: #f1640f;
    stroke-width: 15;
}

#header-user-level {
    line-height: 1em;
    font-size: 2em;
    font-weight: bold;
    display: block;
    position: absolute;
    width: 100%;
    text-align: center;
    top: 50%;
    margin-top: -16px;
}

.main-wrap {
    margin-top: 160px;
    width: 100%;
}


/* Game menu */

#magnic-help-blackout,
#game-menu-wrap {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: none;
    opacity: 1;
}

#magnic-help-blackout {
    background-color: rgba(15, 9, 1, .8);
    z-index: 1001;
    overflow: auto;
}

#game-menu-wrap {
    background-color: rgba(15, 9, 1, .8);
    z-index: 1000;
    opacity: 1;
}

#magnic-help-blackout.hidden,
#game-menu-wrap.hidden {
    opacity: 0;
}

#game-menu-list {
    text-align: center;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -137px;
}

.game-menu-item {
    display: inline-block;
    overflow: hidden;
    top: 0;
    opacity: 1;
    transition-duration: .2s;
}

.hidden .game-menu-item {
     top: -40px !important;
     opacity: 0;
 }

#game-menu-list.hidden .game-menu-item:nth-child(even) {
    top: -20px !important;
}

#game-menu-list .game-menu-item:nth-child(1) {
    transition-delay: .1s;
}

#game-menu-list .game-menu-item:nth-child(2) {
    transition-delay: .2s;
}

#game-menu-list .game-menu-item:nth-child(3) {
    transition-delay: .3s;
}

#game-menu-list .game-menu-item:nth-child(4) {
    transition-delay: .4s;
}

#game-menu-list .game-menu-item:nth-child(odd) {
    top: 20px;
}

.game-menu-item-link {
    display: block;
    overflow: hidden;
    background-size: cover;
    width: 242px;
    height: auto;
    transiton-duration: .2s;
    transition-timing-function: linear;
}

.game-menu-back {
    display: block;
    width: 100%;
    height: auto;
    transition-duration: .3s;
    transition-timing-function: linear;
}

.active > .game-menu-item-link,
.no-touch .game-menu-item-link:hover {
    background: transparent url('../images/menu/item-back-orange-reverse.svg') left top no-repeat;
}

#game-menu-list .game-menu-item.active:nth-child(even) > .game-menu-item-link,
.no-touch #game-menu-list .game-menu-item:nth-child(even) .game-menu-item-link:hover {
    background: transparent url('../images/menu/item-back-orange.svg') left top no-repeat;
}

.active > .game-menu-item-link .game-menu-back,
.no-touch .game-menu-item-link:hover .game-menu-back {
    opacity: 0;
}

.game-menu-item-content {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: block;
    vertical-align: middle;
}

.game-menu-content-inner {
    display: block;
    width: 100%;
    text-align: center;
    height: auto;
}

.game-menu-item-title {
    color: #f1640f;
    font-family: 'Russo One';
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.active > .game-menu-item-link .game-menu-item-title,
.no-touch .game-menu-item-link:hover .game-menu-item-title {
    color: #fff;
}

.gamenu-menu-item-description {
    text-transform: uppercase;
    background-color: #fff;
    padding: 0 25px;
    overflow: hidden;
    height: 0;
    white-space: nowrap;
    color: #f1640f;
    line-height: 1em;
    display: inline-block;
    transition-duration: .3s;
}

.active > .game-menu-item-link .gamenu-menu-item-description,
.no-touch .game-menu-item-link:hover .gamenu-menu-item-description {
    height: auto;
    padding: 15px 25px;
}

.game-menu-item-icon {
    display: block;
    margin: 100px auto 25px auto;
    height: 114px;
    width: 186px;
    background-color: transparent;
    background-image: url('../images/menu/icons-sprite.svg');
    background-repeat: no-repeat;
    background-size: 744px 228px;
    transition-duration: .3s;
}

.active > .game-menu-item-link .game-menu-item-icon,
.no-touch .game-menu-item-link:hover .game-menu-item-icon {
    margin-top: 70px;
}

.game-menu-item-icon.gamepad {
    background-position: 0 0;
}

.active > .game-menu-item-link .game-menu-item-icon.gamepad,
.no-touch .game-menu-item-link:hover .game-menu-item-icon.gamepad {
    background-position: 0 -114px;
}

.game-menu-item-icon.cog {
    background-position: -186px 0;
}

.active > .game-menu-item-link .game-menu-item-icon.cog,
.no-touch .game-menu-item-link:hover .game-menu-item-icon.cog {
    background-position: -186px -114px;
}

.game-menu-item-icon.cup {
    background-position: -372px 0;
}

.active > .game-menu-item-link .game-menu-item-icon.cup,
.no-touch .game-menu-item-link:hover .game-menu-item-icon.cup {
    background-position: -372px -114px;
}

.game-menu-item-icon.book {
    background-position: -558px 0;
}

.active > .game-menu-item-link .game-menu-item-icon.book,
.no-touch .game-menu-item-link:hover .game-menu-item-icon.book {
    background-position: -558px -114px;
}


/* Shared */

.error-message {
    text-align: center;
}

.first-elem {
    margin-top: 120px;
}

.last-elem {
    margin-bottom: 160px;
}

.top-double-margin {
    margin-top: 80px;
}

.bottom-double-margin {
    margin-bottom: 80px;
}

.top-margin {
    margin-top: 40px;
}

.bottom-margin {
    margin-bottom: 40px;
}

.half-bottom-margin {
    margin-bottom: 20px;
}

.half-top-margin {
    margin-top: 20px;
}

.top-padding {
    padding-top: 40px;
}

.bottom-padding {
    padding-bottom: 40px;
}

.top-double-padding {
    padding-top: 80px;
}

.bottom-bouble-padding {
    padding-bottom: 80px;
}

.half-bottom-padding {
    padding-bottom: 20px;
}

.half-top-padding {
    padding-top: 20px;
}

.delimiter {
    text-align: center;
    font-weight: bold;
    color: #fff;
}

.delimiter:before {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -2px;
}

.delimiter > span {
    display: inline-block;
    padding: 10px 25px;
    text-transform: uppercase;
}

.delimiter > em {
    font-style: normal;
    padding: 10px 20px;
    background-color: #fff;
    display: inline-block;
    color: #888;
    margin-left: -5px;
    font-weight: normal;
}

.columns-wrap {
    overflow: hidden;
    width: 100%;
}

.column {
    float: left;
}

.three-columns-wrap .column {
    width: 33.3%;
}

.four-columns-wrap .column {
    width: 25%;
}

.column-padder {
    display: block;
    margin: 0 5%;
    padding: 0 10%;
    float: none;
}

#index-news-wrap .column-padder {
    overflow: hidden;
}

.column-header {
    margin-bottom: 20px;
}

.column-text {
    margin-bottom: 24px;
    background-color: transparent;
    padding: 16px 5px 0 5px;
}

.column-image-wrap {
    width: 186px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.column-text,
.column-header,
.column-content,
.column-button-wrap {
    display: block;
}

.column-image {
    display: block;
    height: auto;
    width: 100%;
    margin: 0 auto;
    top: 0;
}

.simple-button {
    border: 2px solid #fff;
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px 30px;
    display: inline-block;
    margin-left: 5px;
    margin-right: 5px;
    background-color: transparent;
    min-width: 134px;
}

.no-touch a:hover .simple-button.white,
.simple-button {
    border-color: #fff;
    color: #fff;
    background-color: transparent;
}

.white-buttons .simple-button {
    color: #ff9f14 !important;
    border-color: #ff9f14 !important;
    background-color: #fff !important;
}

.no-touch .white-buttons a.column-padder:hover .simple-button {
    color: #fff !important;
    border-color: #ff9f14 !important;
    background-color: #ff9f14 !important;
}

.no-touch a.simple-button.white:hover {
    color: #cd5913;
}

.simple-button.white,
.no-touch a:hover .simple-button,
.no-touch a.simple-button:hover {
    background-color: #fff;
    color: #ff9f14;
}

.no-touch a:hover .simple-button,
.no-touch a.simple-button:hover {
    padding-left: 40px;
    padding-right: 40px;
}

.owl-item,
.owl-stage,
.owl-stage-outer {
    height: 100%;
}

.owl-controls {
    width: 100%;
    display: block;
    position: relative;
}

.owl-dots {
    position: absolute;
    bottom: 40px;
    left: 0;
    text-align: center;
    width: 100%;
}

.owl-dot {
    width: 28px;
    height: 28px;
    display: inline-block;
    border-radius: 50%;
    background-color: #ff9700;
    margin-left: 8px;
    margin-right: 8px;
}

.no-touch .owl-dot:not(.active):hover {
    background-color: #fff;
    transform: scale(1.1);
}

.owl-dot.active {
    background-color: #fff;
}

.no-touch footer a:hover {
    opacity: .6;
}

.columns-string {
    overflow: hidden;
}

#magnic-help-wrap {
    position: absolute;
    width: 570px;
    height: auto;
    background-color: #fff;
    top: 160px;
    right: 40px;
    transition-duration: .35s;
    transition-timing-function: cubic-bezier(0.680, -0.550, 0.265, 1.550);
}

#magnic-help-wrap.hidden {
    opacity: 0;
    margin-top: 20px;
}

#magnic-help-head {
    background-color: #f1640f;
    height: 100px;
    color: #fff;
}

#magnic-help-blackout .owl-controls {
    background-color: #ddd;
    height: 70px;
}

#magnic-help-blackout .owl-dots {
    bottom: 22px;
}

#magnic-help-blackout .owl-dot {
    background-color: #9a9a9a;
    width: 20px;
    height: 20px;
}

#magnic-help-blackout .owl-dot.active {
    background-color: #f1640f;
}

#magnic-help-triangle {
    display: block;
    position: absolute;
    right: 80px;
    top: -30px;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 40px solid #f1640f;
    z-index: 10001;
    transform: scaleY(.6);
}

.hidden #magnic-help-triangle {
    margin-top: 40px;
}

#magnic-help-close {
    display: block;
    position: absolute;
    top: 26px;
    right: 26px;
    width: 20px;
    height: 20px;
}

.no-touch #magnic-help-close:hover {
    transform: scale(1.2);
}

#magnic-help-close img {
    display: block;
    width: 100%;
    height: 100%;
}

#magnic-help-text-wrap {
    margin-left: 130px;
    padding-top: 27px;
}

#magnic-help-title {
    margin-bottom: 8px;
}

#magnic-help-desc {
    opacity: .6;
}

.magnic-help-tip {
    width: 100%;
    overflow: hidden;
}

.magnic-help-tip-inner {
    padding: 30px 40px;
}

.magnic-help-tip p {
    margin-bottom: 20px;
    color: #532e03;
}

.magnic-help-tip a {
   color: #f1640f;
}

.no-touch .magnic-help-tip a:hover {
    color: #222;
}

#magnic-help-body {
    width: 100%;
}

#magnic-help-inner {
    width: 100%;
    overflow: hidden;
}

.magnic-help-tip p:last-child {
    margin-bottom: 0;
}

#magnic-help-blackout .owl-prev,
#magnic-help-blackout .owl-next {
    display: block;
    position: absolute;
    top: 22px;
    width: 26px;
    height: 26px;
    z-index: 1000;
}

#magnic-help-blackout .owl-prev {
    left: 26px;
}

#magnic-help-blackout .owl-next {
    right: 26px;
}

.no-touch #magnic-help-blackout .owl-prev:hover,
#magnic-help-blackout .owl-next:hover {
    transform: scale(1.2);
}

#magnic-help-blackout .owl-prev:after,
#magnic-help-blackout .owl-next:after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    backround-size: cover;
    background-color: transparent;
}

#magnic-help-blackout .owl-prev:after {
    background-image: url('../images/arrow-left.svg');
}

#magnic-help-blackout .owl-next:after {
    background-image: url('../images/arrow-right.svg');
}

#maginc-help-magnic {
    width: 86px;
    height: 97px;
    display: block;
    position: absolute;
    left: 20px;
    bottom: -9px;
    vertical-align: middle;
}

.tabs-list-wrap {
    overflow: hidden;
}

.tabs-list-wrap:before {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    position: absolute;
    left: 0;
    bottom: 0;
}

.tabs-list {
    text-align: center;
}

.tabs-list li {
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
}

.tabs-list li a {
    display: block;
    padding-bottom: 12px;
    border-bottom: 4px solid rgba(255, 255, 255, 0);
}

.tabs-list li a span {
    opacity: .6;
}

.no-touch .tabs-list li:not(.tabs-active) a:hover span,
.tabs-list li.tabs-active a span {
    opacity: 1;
}

.card-wrap {
    width: 230px;
    height: 300px;
    border-width: 1px;
    border-style: solid;
    display: inline-block;
    margin-left: 7px;
    margin-right: 7px;
    vertical-align: top;
    word-spacing: normal;
    zoom: 1;
    font-size: 0;
    line-height: 0;
}

.card-wrap.gm-clicked.important,
#game-user-cards .card-wrap.gm-clicked {
    transform: scale(1.2);
    box-shadow: 0 0 0 10px rgba(19, 8, 0, 0.1);
    z-index: 996;
}

.important,
.card-wrap.gm-clicked.important {
    z-index: 1000;
}

.owl-item > .card-wrap {
    opacity: .2;
    margin-left: 0;
    margin-right: 0;
}

.no-touch .owl-item.active .card-wrap:hover,
.owl-item.active .card-wrap {
    opacity: 1;
}

.card-wrap.ui-draggable-dragging {
    box-shadow: 0 0 0 8px rgba(0, 0, 0, .1);
}

.card-wrap.fake-card {
    border-color: transparent !important;
}

.card-wrap.card-selected {
    box-shadow: 0 0 0 10px rgba(19, 8, 0, 0.05);
    transform: scale(1.2);
    z-index: 1000;
    border-color: #f1640f !important;
}

.card-wrap.card-selected .card-inner {
    box-shadow: 0 0 0 5px #f1640f inset;
}

.card-wrap.card-selected .card-content {
    line-height: 1.2em;
}

.card-wrap *,
.card-wrap {
    cursor: pointer;
}

.card-wrap.no-drag *,
.card-wrap.no-drag {
    cursor: default;
}

.card-inner {
    width: 100%;
    height: 100%;
    background-color: #fff;
    font-size: initial;
    line-height: normal;
}

.card-img-wrap {
    width: 100%;
    height: 44%;
    position: absolute;
    left: 0;
    top: 0;
}

.card-img-wrap-inner {
    background-color: transparent;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: 80% auto;
    height: 64%;
    left: 0;
    margin: 10% 8%;
    position: absolute;
    top: 5px;
    width: 84%;
}

.card-img {
    vertical-align: middle;
    max-width: 100%;
    max-height: 100%;
}

.card-header-wrap {
    position: absolute;
    width: 100%;
    height: 10.4%;
    left: 0;
    top: 44%;
    /*background-color: #f1640f;*/
}

/*.no-touch .card-wrap:not(.card-selected):hover .card-header-wrap {
    background-color: #ff9700;
}*/

/*.no-touch .card-wrap.no-drag:hover .card-header-wrap {
    background-color: #f1640f;
}*/

.card-header {
    text-align: center;
    height: 20px;
    width: 86%;
    margin: 0 7%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    padding-top: 5px;
    padding-bottom: 2px;
    font-weight: bold;
    font-size: .91em;

    border-top: 1px solid rgba(241, 100, 15, .4);
    border-bottom: 1px solid rgba(241, 100, 15, .4);
    color: #f1640f;
    margin-top: 1px;
}

.card-content-wrap {
    width: 100%;
    height: 45.6%;
    position: absolute;
    bottom: 0;
    left: 0;
}

.card-content-inner {
    margin: 5% 0;
    height: 83%;
    overflow: hidden;
}

.card-content {
    color: #d9570a;
    text-align: left;
    margin: 0 16px;
    line-height: 1.3em;
    font-size: 1em;
}

.card-year-wrap {
    position: absolute;
    background-color: #f1640f;
    height: 24px;
    width: 110px;
    color: #fff;
    left: 50%;
    margin-left: -55px;
    top: -12px;
    font-size: initial;
    line-height: normal;
}

.card-year {
    text-align: center;
    margin-top: 2px;
}

.optiscroll-vtrack {
    right: 0;
    background-color: #f1640f;
    opacity: 1;
}

.optiscroll-v {
    visibility: visible;
    z-index: 1000;
}

#leaderboard-wrap .owl-carousel .owl-item,
#settings-wrap .owl-carousel .owl-item,
#knowledge-wrap .owl-carousel .owl-item {
    height: 0;
}

#leaderboard-wrap .owl-carousel .owl-item.active,
#settings-wrap .owl-carousel .owl-item.active,
#knowledge-wrap .owl-carousel .owl-item.active {
    height: auto;
}

#card-large-blackout {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 9, 1, .8);
    z-index: 10001;
    overflow: auto;
    opacity: 0;
    display: none;
}

#card-large-blackout.active {
    opacity: 1;
}

#card-large-wrap {
    width: 320px;
    height: 520px;
    background-color: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -160px;
    margin-top: -262px;
    opacity: 0;
    transition-timing-function: cubic-bezier(0.680, -0.550, 0.265, 1.550);
    transition-duration: .5s;
    transform: scale(0, .8);
}

.showing-next-process #card-large-wrap.active,
.showing-next-process #card-large-wrap {
    transform: scale(0, 1);
}

#card-large-wrap.active {
    transform: scale(1);
    opacity: 1;
}

#card-large-inner {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

#card-large-close {
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    right: 20px;
    top: 25px;
}

.no-touch #card-large-close:hover {
    transform: scale(1.2);
}

#card-large-close img {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

#card-large-info-wrap {
    position: absolute;
    overflow: hidden;
    top: 20px;
    left: 20px;
}

#card-large-info-wrap li {
    float: left;
    margin-right: 4px;
    background-color: #f1640f;
    color: #fff;
    padding: 6px 15px;
}

#card-large-info-wrap li.hidden {
    display: none;
}

#card-large-content-wrap {
    position: absolute;
    width: 100%;
    height: 40%;
    left: 0;
    bottom: 0;
}

#card-large-content-inner {
    margin: 8% 0;
    height: 76%;
    overflow: hidden;
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
}

#card-large-content {
    color: #532e03;
    text-align: left;
    margin: 0 30px;
    line-height: 1.4em;
    word-wrap: break-word;
}

#card-large-header-wrap {
    position: absolute;
    width: 100%;
    height: 7.7%;
    bottom: 40%;
    color: #fff;
}

#card-large-header {
    color: #f1640f;
    height: 20px;
    width: 80%;
    margin-left: 10%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    font-weight: bold;
    border-top: 1px solid #f1640f;
    border-bottom: 1px solid #f1640f;
    margin-right: 10%;
    padding-top: 8px;
    padding-bottom: 8px;
    text-align: center;
}

#card-large-img-wrap {
    position: absolute;
    left: 10%;
    width: 80%;
    bottom: 47.7%;
    height: 40%;
    text-align: center;
}

#card-large-image {
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
    height: 100%;
    width: 100%;
}

#card-large-wrap .optiscroll-vtrack {
    background-color: #f1640f;
}

.card-large-nav {
    display: block;
    position: absolute;
    top: 50%;
    margin-top: -20px;
    width: 40px;
    height: 50px;
    transition-duration: .3s;
}

.no-touch .card-large-nav:hover {
    transform: scale(1.2);
}

#card-large-prev {
    left: -86px;
}

.active #card-large-prev {
    left: 40px;
}

#card-large-next {
    right: -86px;
}

.active #card-large-next {
    right: 40px;
}

.card-large-nav img {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}



/* Main page */

#index-news-wrap,
#index-gallery-wrap {
    overflow: hidden;
}

.index-news-avatar-wrap {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 188px;
    display: block;
}

.index-news-avatar-wrap:before {
    content: '';
    display: block;
    position: absolute;
    top: 5%;
    right: 5%;
    width: 40px;
    height: 40px;
    background-color: transparent;
    background-image: url('../images/index/news-icons-sprite.svg');
    background-repeat: no-repeat;
    background-size: 120px 80px;
}

.index-news-game .index-news-avatar-wrap:before {
    background-position: 0 0;
}

.index-news-to-top-10 .index-news-avatar-wrap:before {
    background-position: -40px 0;
}

.index-news-to-top-3 .index-news-avatar-wrap:before {
    background-position: -80px 0;
}

.index-news-avatar-wrap-inner {
    display: block;
    vertical-align: middle;
    width: 100%;
    padding: 0;
    top: -20px;
}

.index-news-username-wrap {
    margin-left: 90px;
}

#index-news-wrap .user-avatar-wrap {
    display: block;
    margin: 40px auto;
    width: 140px;
    height: 140px;
}

.index-news-text {
    margin-top: 165px;
    margin-bottom: 45px;
}

.index-news-time {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}

.index-news-time span {
    display: block;
    background: transparent url('../images/index/calendar.svg') 10% 50% no-repeat;
    padding: 20px 10% 20px 22%;
    background-size: auto 40%;
    text-align: left;
}

#index-columns-wrap {
    text-align: center;
}

#index-news-wrap .column-padder,
#index-wrap .column-padder {
    padding-top: 40px;
    padding-bottom: 40px;
}

.no-touch #index-wrap .column-padder:hover .column-image-wrap {
    transform: scale(1.2);
}

#index-las-action-wrap {
    text-align: center;
}

#index-gallery {
    overflow: hidden;
    height: 534px;
}

.index-gallery-item {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: table;
    border: 0;
    margin: 0;
    padding: 0;
    text-align: center;
    background-repeat: repeat;
    background-size: 400px auto;
    background-position: 50% 50%;
    background-color: transparent;
}

.index-gallery-content {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    border: 0;
    padding: 0;
    top: -40px;
}

.index-gallery-header {
    color: #fff;
    font-size: 4em;
    line-height: 1.2em;
    width: 710px;
}

.index-gallery-text {
    color: #fff;
    width: 570px;
}

.index-gallery-index-text-selected {
    display: inline-block;
    padding: 20px;
}

.index-gallery-header,
.index-gallery-text,
.index-gallery-buttons-wrap {
    left: -20px;
    transition: all .3s ease-in;
    opacity: 0;
}

.active .index-gallery-header,
.active .index-gallery-text,
.active .index-gallery-buttons-wrap {
    left: 0;
    opacity: 1;
}

.index-gallery-header {
    transition-delay: .1s;
}

.index-gallery-text {
    transition-delay: .3s;
}

.index-gallery-buttons-wrap {
    transition-delay: .5s;
}

.no-touch #index-wrap .column-padder .column-image {
    transition-duration: .2s;
}

#index-news-wrap .columns-string,
#index-wrap .columns-string {
    margin-bottom: 30px;
}

#index-news-wrap .columns-string:last-child,
#index-wrap .columns-string:last-child {
    margin-bottom: 0;
}


/* Leaderboard */

.leaderboard-item.wrap {
    padding-left: 0;
    padding-right: 0;
}

#leaderboard-has-no-leaders,
#index-has-no-news {
    text-align: center;
    line-height: 1.4em;
}
#index-has-no-news {
    margin-top: -40px;
}


.leaderboard-item-num {
    font-weight: bold;
}

.leaderboard-item-avatar {
    margin-right: 20px;
}

.leaderboard-item-wrap.leaderboard-current-user {
    border-bottom: 0;
}

.leaderboard-item-dots .leaderboard-item-username-wrap {
    top: -7px;
    margin-left: -104px;
}

.leaderboard-item > div.leaderboard-item-userpos-wrap {
    width: 50px;
    text-align: right;
}

.leaderboard-item-username {
    width: 170px;
    display: inline-block;
    vertical-align: middle;
}

.leaderboard-item-username strong {
    display: block;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.leaderboard-item-username strong:first-letter {
    text-transform: uppercase;
}

.leaderboard-item-wrap {
    text-align: center;
    margin-bottom: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.leaderboard-item > div {
    display: inline-block;
    margin-left: 40px;
    margin-right: 40px;
    text-align: left;
}

.leaderboard-item-result-wrap {
    width: 140px;
}

.leaderboard-user-rank {
    opacity: .5;
    white-space: nowrap;
}

.leaderboard-item-desc {
    vertical-align: bottom;
}

.leaderboard-item-num,
.leaderboard-item-result-wrap {
    vertical-align: middle;
}

.leaderboard-item-wrap.leaderboard-item-dots {
    background-color: transparent;
}


/* Login */

#login-wrap {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: table;
}

#login {
    display: table-cell;
    vertical-align: middle;
}

#login-inner {
    width: 570px;
    display: block;
    margin: 0 auto;
    background-color: #fff;
}

#login-header {
    height: 100px;
    color: #fff;
}

#login-header-img-wrap {
    width: 100px;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
}

#login-header-img-wrap img {
    height: 60px;
    width: 60px;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -30px;
    margin-top: -30px;
}

#login-header-text-wrap {
    margin-left: 30px;
    padding-top: 26px;
}

#login-header-title {
    margin-bottom: 8px;
    white-space: nowrap;
}

#login-header-desc {
    opacity: .6;
    white-space: nowrap;
}

#login .form-group {
    border-bottom: 1px solid #ddd;
}

#login-form .form-group:last-child {
    border-bottom: 0;
}

.login-input-wrap {
    margin: 0 30px;
}

.login-input-wrap input {
    border: 0;
    font-family: 'PT Sans';
    color: #222;
    font-size: 1.1em;
    width: 100%;
    display: block;
    padding: 22px 0;
    margin: 0;
}

#login .login-input-help {
    position: absolute;
    color: #ff5a00;
    left: 0;
    top: 24px;
    background-color: #fff;
    width: 100%;
    padding: 0 30px;
    cursor: text;
}

#login .login-input-help.hidden {
    display: none;
}

.login-input-wrap ::-webkit-input-placeholder {
    color: #777;
}

.login-input-wrap ::-moz-placeholder {
    color: #777;
}

.login-input-wrap :-moz-placeholder {
    color: #777;
}

.login-input-wrap :-ms-input-placeholder {
    color: #777;
}

#login-submit-wrap {
    background-color: #ddd;
}

#login-restore-pass-link {
    display: block;
    position: absolute;
    right: 30px;
    bottom: 24px;
    color: #f1640f;
}

.no-touch #login-restore-pass-link:hover {
    color: #222;
}

#login-inputs-wrap {
    overflow: hidden;
}

#login-social-wrap {
    position: absolute;
    width: 50%;
    height: 100%;
    right: 0;
    top: 0;
}

#login button {
    display: block;
    border: 0;
    background-color: transparent;
    font-weight: bold;
    font-family: 'PT Sans';
    text-align: left;
    color: #f1640f;
    padding: 22px 30px;
    cursor: pointer;
}

.no-touch #login button:hover {
    color: #ff9700;
}

#login .eauth-list {
    margin: 0;
    height: 100%;
}

#login .eauth-list .eauth-service {
    width: 33%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.eauth-service-link {
    text-align: center;
    display: block;
    border-left: 1px solid #bbb;
    margin: 0;
    padding: 0;
    width: auto;
    height: 100%;
    overflow: hidden;
}

.eauth {
    height: 100%;
}

.eauth-service-link:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-color: #ddd;
    background-size: 40px 40px;
    margin: 0;
    padding: 0;
}

.no-touch .eauth-service-link:hover:after {
    background-size: 46px 46px;
}

.eauth-service-id-facebook .eauth-service-link:after {
    background-image: url('../images/login/fb.svg');
}

.eauth-service-id-vkontakte .eauth-service-link:after {
    background-image: url('../images/login/vk.svg');
}

.eauth-service-id-odnoklassniki .eauth-service-link:after {
    background-image: url('../images/login/ok.svg');
}


/* Knowledge */

#knowledge-wrap .tabs-list li {
    margin-left: 0;
    margin-right: 0;
}

#knowledge-wrap .tabs-list li a {
    padding-left: 6px;
    padding-right: 6px;
}

#knowledge-search-form {
    overflow: hidden;
    display: block;
}

#knowledge-input-wrap {
    background-color: #ff9700;
    width: 860px;
    margin-left: auto;
    margin-right: auto;
    padding-right: 70px;
    padding-left: 20px;
}

#collection-index #knowledge-input-wrap {
    background-color: #ff9700;
}

#knowledge-input-wrap.search-focused,
#collection-index #knowledge-input-wrap.search-focused {
    background-color: #f1640f;
}

#knowledge-input-wrap input {
    display: block;
    border: 0;
    font-family: 'PT Sans';
    color: #fff;
    font-size: 1em;
    width: 100%;
    padding: 15px 0 17px 0;
    margin: 0;
    background: transparent;
}

#knowledge-input-wrap ::-webkit-input-placeholder {
    color: #fff;
    opacity: .6;
}

#knowledge-input-wrap ::-moz-placeholder {
    color: #fff;
    opacity: .6;
}

#knowledge-input-wrap :-moz-placeholder {
    color: #fff;
    opacity: .6;
}

#knowledge-input-wrap :-ms-input-placeholder {
    color: #fff;
    opacity: .6;
}

#knowledge-search-img {
    display: block;
    position: absolute;
    right: 18px;
    top: 50%;
    margin-top: -17px;
    width: 32px;
    height: 32px;
}

#knowledge-wrap .tabs-item-wrap {
    text-align: center;
}

#knowledge-wrap .card-wrap {
    margin-bottom: 20px;
}

#knowledge-search-results-wrap.search-hidden,
#knowledge-search-results-wrap.hidden,
#knowledge-wrap .hidden {
    display: none;
}

#knowledge-search-results-wrap {
    text-align: center;
}

#knowledge-search-results-info {
    display: inline-block;
    padding: 0 40px;
}

#knowledge-search-resulfts-info-wrap:before {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -2px;
}

#knowledge-search-results-main-info {
    display: inline-block;
    margin-bottom: 5px;
}


/* Collection */

#collection-open-cards-wrap .card-wrap.search-hidden,
#collection-open-cards-wrap .owl-item.search-hidden {
    display: none;
}

#collection-stats .column:after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    top: 25%;
    width: 2px;
    height: 50%;
    background: #fff none;
    opacity: .2;
}

#collection-stats .column:last-child:after {
    display: none;
}

#reset-stats {
    color: #888;
}

.no-touch #reset-stats:hover {
    color: #f1640f;
}

#collection-open-cards-wrap .owl-controls {
    width: 100%;
    height: 0;
    position: absolute;
    overflow: visible;
    left: 0;
    bottom: 0;
}

#collection-open-cards-wrap .owl-nav .owl-next,
#collection-open-cards-wrap .owl-nav .owl-prev {
    background-repeat: no-repeat;
    background-size: 50% auto;
    background-position: 50% 50%;
    display: block;
    color: #fff;
    width: 34px;
    height: 80px;
    position: absolute;
    top: -188px;
}

.no-touch #collection-open-cards-wrap .owl-nav .owl-next:hover,
.no-touch #collection-open-cards-wrap .owl-nav .owl-prev:hover {
    background-size: 60% auto;
}

#collection-open-cards-wrap .owl-prev {
    left: 0;
    background-image: url('../images/arrow-left-white.svg');
}

#collection-open-cards-wrap .owl-next {
    right: 0;
    background-image: url('../images/arrow-right-white.svg');
}

#collection-open-cards-wrap {
    padding-top: 11px;
    text-align: center;
    max-width: 1280px;
    padding-left: 40px;
    padding-right: 40px;
    margin-left: auto;
    margin-right: auto;
}

#collection-open-cards-wrap.owl-carousel .owl-stage-outer {
    overflow: visible;
}

#collection-stats-wrap {
    background-color: #f1640f;
    text-align: center;
}

.collection-stats-img {
    width: 75%;
    height: auto;
}

.collection-stats-text {
    text-transform: uppercase;
    color: #fff;
}

.collection-stats-text span {
    display: block;
}

.collection-stats-text-desc {
    opacity: .6;
}

.collection-stats-text-num {
    font-size: 3.9em;
    line-height: 1em;
    margin-bottom: 5px;
}


/* User Prifile */

.settings-tab-item-desc {
    color: #222;
}

#leaderboard-tabs-list li a,
#settings-tabs-list li a {
    text-transform: uppercase;
}

.settings-tab-item-wrap {
    background-color: #fff;
    width: 380px;
    padding: 40px;
    margin: 0 auto;
    text-align: center;
}

.settings-tab-item-header {
    text-transform: uppercase;
    color: #ff9700;
    font-weight: bold;
    line-height: 1em;
}

#settings-wrap button {
    border: 2px solid #ff9700;
    background-color: transparent;
    color: #ff9700;
    padding: 5px 0 7px 0;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'PT Sans';
    font-weight: bold;
    display: block;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

#settings-wrap #settings-avatar-change-wrap button {
    margin-top: 30px !important;
}

.no-touch #settings-wrap button:hover {
    border-color: #f26c1b;
    color: #f26c1b;
}

#settings-wrap .settings-input-wrap {
    overflow: hidden;
}

#settings-wrap input {
    text-align: center;
    font-family: 'PT Sans';
    font-size: 18px;
    color: #fff;
    background-color: #ff9f14;
    display: block;
    width: 100%;
    border: 0;
    padding: 10px;
    border-radius: 2px;
}

#settings-wrap .settints-avatar-form .form-group {
    display: none;
}

#settings-wrap label {
    margin-bottom: 5px;
    display: block;
    color: #777;
}

#settings-avatar-wrap {
    margin-left: 60px;
    margin-right: 60px;
    background-color: #ccc;
    border-radius: 50%;
    border: 8px solid #ddd;
}

#settings-avatar-wrap img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
}

#settings-social-wrap {
    overflow: hidden;
}

#settings-social-wrap .eauth-list {
    margin: 0;
    text-align: left;
}

#settings-social-wrap .eauth-service {
    margin: 0;
    width: 50%;
}

#settings-social-wrap .eauth-service-link {
    border: 1px solid #f1640f;
    height: auto;
    padding: 110px 8% 15px 8%;
    color: #f1640f;
    text-align: center;
}

#settings-social-wrap .eauth-service:nth-child(2) {
    margin-left: -1px;
}

#settings-social-wrap .eauth:nth-child(2) .eauth-service:first-child,
#settings-social-wrap .eauth-service:nth-child(3) {
    margin-top: -1px;
}

.no-touch #settings-social-wrap .eauth-service-link:hover {
    color: #532e03;
}

#settings-social-wrap  .eauth-service-link:after {
    background-color: transparent;
    background-size: 60px 60px;
    background-position: 50% 40%;
}

.no-touch #settings-social-wrap .eauth-service-link:hover:after {
    background-size: 70px 70px;
}

#settings-social-wrap .eauth-service-link:before {
    background-image: none;
    background-color: transparent;
}

#settings-social-wrap .eauth:nth-child(2) .eauth-service-link:before {
    background-color: #ff9700;
    width: 30px;
    height: 30px;
    position: absolute;
    left: inherit;
    right: 0;
    top: 0;
    background-image: url('../images/profile/social-checkbox.svg');
    background-size: 60% auto;
    background-position: 54% 45%;
}

#settings-wrap .login-input-help {
    position: absolute;
    top: 29px;
    left: 0;
    background-color: #f26c1b;
    color: #fff;
    width: 100%;
    line-height: 2em;
}

#settings-wrap .login-input-help.hidden {
    display: none;
}

#settings-wrap .help-block {
    color: #fff;
    width: 100%;
}

#settings-wrap ::-webkit-input-placeholder {
    color: rgba(255, 255, 255, .5);
}

#settings-wrap ::-moz-placeholder {
    color: rgba(255, 255, 255, .5);
}

#settings-wrap :-moz-placeholder {
    color: rgba(255, 255, 255, .5);
}

#settings-wrap :-ms-input-placeholder {
    color: rgba(255, 255, 255, .5);
}

.login-infoblock-wrap {
    padding: 30px;
}

.login-infoblock-wrap p {
    margin-bottom: 20px;
    line-height: 1.2em;
    color: #222;
}

.login-infoblock-wrap p.warning {
    color: #d9570a;
}

.login-infoblock-wrap p:last-child {
    margin-bottom: 10px;
}

.login-infoblock-wrap a {
    color: #f1640f;
}

.no-touch .login-infoblock-wrap a:hover {
    color: #777;
}

#settings-social-container .alert {
    color: #f1640f;
    margin-bottom: 30px;
}

#settings-wrap .owl-carousel .owl-stage-outer {
    overflow: visible;
}


/* Game */

#game-wrap {
    margin-bottom: 120px;
    margin-top: 160px;
}

#magnic-help-tips .owl-item {
    height: 0;
}

#magnic-help-tips .owl-item.active {
    height: auto;
}

.game-timeline-controls {
    height: 0;
    width: 100%;
    overflow: visible;
    position: relative;
    left: 0;
    top: 0;
    z-index: 997;
}

.game-timeline-control {
    display: block;
    position: absolute;
    top: -188px;
    width: 80px;
    height: 80px;
    background-repeat: no-repeat;
    background-size: 25% auto;
    background-color: rgba(241, 100, 15, .85);
}

.no-touch .game-timeline-control:hover {
    background-size: 30% auto;
}

.game-timeline-left {
    background-image: url('../images/arrow-left-white.svg');
    background-position: 80% 50%;
}

.active .game-timeline-left {
    left: -42px;
    opacity: 1;
}

.game-timeline-left,
.unactive .game-timeline-left,
.unactive.active .game-timeline-left {
    left: -80px;
    opacity: 0;
}

.game-timeline-right {
    background-position: 20% 50%;
    background-image: url('../images/arrow-right-white.svg');
}

.active .game-timeline-right {
    right: -42px;
    opacity: 1;
}

.game-timeline-right,
.unactive .game-timeline-right,
.unactive.active .game-timeline-right {
    right: -80px;
    opacity: 0;
}

#game-wrap,
#game-user-cards {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    word-spacing: -.36em;
}

#game-timeline {
    margin-top: 0;
}

#game-user-cards {
    margin-top: 13px;
}

#game-timeline:before {
    content: '';
    display: block;
    position: absolute;
    left: -2500px;
    top: 50%;
    margin-top: -3px;
    height: 4px;
    width: 5000px;
}

.card-blackout {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .8) url('../images/game/preloader.gif') 50% 50% no-repeat;
    background-size: 80px 80px;
}

.card-blackout.success {
    background-image: url('../images/game/success.svg');
}

.card-blackout.error {
    background-image: url('../images/game/error.svg');
}

.card-blackout.success,
.card-blackout.error {
    background-size: 100px 100px;
}

.card-blackout.hidden {
    background-size: 20px 20px;
}

.card-blackout.hidden,
.pre-hidden .card-blackout{
    opacity: 0;
}

.pre-hidden.card-wrap {
    width: 0 !important;
    opacity: 0 !important;
    box-shadow: none;
    border: 0;
    transition: all .16s linear !important;
    transform: scale(.5);
}

#end-game-blackout {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 9, 1, .8);
    z-index: 10001;
    opacity: 0;
    display: none;
    overflow: auto;
}

#end-game-blackout {
    opacity: 1;
}

#end-game-popup-wrap {
    width: 520px;
    height: auto;
    background-color: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -260px;
    margin-top: -260px;
    opacity: 0;
    transition-duration: .5s;
    transition-timing-function: cubic-bezier(0.680, -0.550, 0.265, 1.550);
    transform: scale(0, .8);
    overflow: auto;
    border-radius: 2px;
}

#end-game-popup-wrap.game-final {
    background-color: #ff9f14;
}

#end-game-popup-wrap.end-game-active {
    transform: scale(1);
    opacity: 1;
}

#end-game-popup-inner {
    width: 100%;
    height: 100%;
}

#game-cards-blocker {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    opacity: 0;
    z-index: 999;
    left: 0;
    top: 0;
}

#game-cards-blocker.active {
    opacity: 1;
}

#end-game-additional-wrap {
    text-align: center;
    background-color: #fff;
}

.game-again-link {
    color: #f1640f;
    text-align: center;
    line-height: 1em;
    padding: 10px 0 12px 0;
    font-weight: bold;
    border: 2px solid #f1640f;
    margin: 30px 2%;
    display: inline-block;
    text-transform: uppercase;
    width: 42%;
}

#login .game-again-link {
    margin-top: -10px;
    margin-bottom: 40px;
    margin-left: 2%;
    margin-right: 2%;
}

#end-game-additional-wrap .game-again-link:last-child {
    color: #aaa;
    border-color: #aaa;
}

.no-touch #end-game-additional-wrap .game-again-link:last-child:hover,
.no-touch .game-again-link:hover {
    color: #ff9700;
    border-color: #ff9700;
}

#end-game-guest-info-wrap {
    padding: 30px 40px;
    text-align: center;
    color: #f1640f;
    border-bottom: 1px solid #ccc;
    line-heigth: 1.4em;
}

#end-game-guest-info-wrap a {
    color: #532e03;
}

.no-touch #end-game-guest-info-wrap a:hover {
    color: #000;
}

#end-game-stars-wrap {
    width: 59px;
    height: 19px;
    background-color: #ddd;
    display: inline-block;
    top: -4px;
    margin-left: 5px;
}

.game-final #end-game-stars-wrap {
    backgroudn-color: #fff;
}

#end-game-strs-filler {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #ff9700;
}

.game-final #end-game-strs-filler {
    background-color: #f1640f;
}

#end-game-stars {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: transparent url('../images/game/stars.svg') left top no-repeat;
    background-size: 100% 100%;
}

.game-final #end-game-stars {
    background-image: url('../images/game/stars-orange-back.svg');
}

#end-game-stats-wrap {
    text-align: center;
}

#end-game-stats {
    background-color: #ff9700;
    margin-top: -20px;
    padding-top: 50px;
    padding-bottom: 30px;
    color: #fff;
}

#end-game-stats-header {
    z-index: 1001;
}

.end-game-stats-text-num {
    display: block;
    font-size: 38px;
    line-height: 1em;
}

.end-game-stats-text-desc {
    opacity: .6;
}

#end-game-res-wrap {
    overflow: hidden;
}

.end-game-img-wrap {
    margin-bottom: 15px;
    text-align: center;
}

.end-game-img-wrap img {
    width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
    transition-duration: .5s;
    transition-timing-function: cubic-bezier(0.680, -0.550, 0.265, 1.550);
    transform: rotate(90deg) scale(0);
    opacity: .5;
}

#end-game-stats .column:first-child .end-game-img-wrap img {
    transition-delay: .4s;
}

#end-game-stats .column:nth-child(2) .end-game-img-wrap img {
    transition-delay: .6s;
}

#end-game-stats .column:last-child .end-game-img-wrap img {
    transition-delay: .8s;
}

.end-game-active .end-game-img-wrap img {
    transform: rotate(0deg) scale(1);
    opacity: 1;
}

#end-game-info-wrap {
    margin-left: 40px;
    margin-bottom: 30px;
    margin-top: 30px;
    overflow: hidden;
    width: 55%;
}

#end-game-res-header {
    line-height: 1em;
    font-size: 38px;
    display: inline-block;
    color: #f1640f;
    margin-bottom: 20px;
}

.game-final #end-game-desc-wrap,
.game-final #end-game-res-header {
    color: #fff;
}

#end-game-desc-wrap {
    margin-right: 40px;
    color: #532e03;
}

#end-game-desc-wrap a {
    color: #532e03;
}

.game-final #end-game-desc-wrap a {
    color: #f1640f;
}

.no-touch .game-final #end-game-desc-wrap a:hover,
.no-touch #end-game-desc-wrap a:hover {
    color: #000;
}


.card-placefield,
.card-placefield-2 {
    width: 228px;
    height: 298px;
    border: 2px dashed #fff;
    display: inline-block;
    margin-left: 7px;
    margin-right: 7px;
    vertical-align: top;
    word-spacing: normal;
    zoom: 1;
    font-size: 0;
    line-height: 0;
}

.card-placefield-2 {
    cursor: pointer;
}

#end-game-image-wrap {
    position: absolute;
    right: 0;
    top: 0;
    width: 40%;
    height: 100%;
    display: block;
}

#end-game-image-wrap img {
    display: block;
    position: absolute;
    left: 50%;
    top: 0;
    width: 100%;
    height: 100%;
    margin-left: -50%;
    max-height: 100%;
    max-width: 100%;
}

.end-game-social {
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-left: 1px;
    margin-right: 1px;
    cursor: pointer;
    padding: 0;
    background-color: transparent !important;
    top: 10px;
}

.no-touch .end-game-social:hover {
    opacity: .6;
}

.end-game-social img {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

#end-game-popup-wrap .ya-share2__container {
    top: 8px;
}

#end-game-social-text {
    margin-right: 105px;
    background-color: transparent;
    color: #777;
}

#end-game-social-wrap {
    display: block;
    position: absolute;
    right: 15px;
    top: 0;
    background-color: transparent;
    padding-left: 15px;
    border-left: 1px solid #ccc;
    height: 100%;
}

#end-game-popup-wrap .delimiter > em {
    background-color: #eee;
}

#end-game-popup-wrap .delimiter > span {
    background-color: #f1640f !important;
}

#end-game-popup-wrap .delimiter:before {
    background-color: #ff9700 !important;
}

.ya-share2__item_service_odnoklassniki .ya-share2__badge,
.ya-share2__item_service_facebook .ya-share2__badge,
.ya-share2__item_service_vkontakte .ya-share2__badge {
    opacity: 0;
}


.ya-share2__item_service_vkontakte .ya-share2__link,
.ya-share2__item_service_facebook .ya-share2__link,
.ya-share2__item_service_odnoklassniki .ya-share2__link {
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-color: #fff;
}

.ya-share2__item_service_vkontakte .ya-share2__link {
    background-image: url('../images/game/vk.svg');
}

.ya-share2__item_service_facebook .ya-share2__link {
    background-image: url('../images/game/fb.svg');
}

.ya-share2__item_service_odnoklassniki .ya-share2__link {
    background-image: url('../images/game/ok.svg');
}

audio.hr-audio {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    opacity: 0;
}

/* Adaptive width */

@media all and (max-width: 1366px) {
    #collection-open-cards-wrap {
        max-width: none;
        width: auto;
    }
}

@media all and (max-width: 1280px) {
    #collection-open-cards-wrap {
        max-width: none;
        padding-left: 0;
        padding-right: 0;
    }
}

@media all and (max-width: 1260px) {
    #game-wrap {
        margin-top: 120px;
    }

    header {
        height: 80px;
    }

    /*header #header-collection-wrap,*/
    header #header-theme-switcher-wrap,
    header #header-sound-wrap,
    header #header-sound-wrap.active,
    header #header-mute-wrap.active,
    header #header-middle {
        display: none;
    }

    #header-logo {
        top: -5px;
    }

    #header-logo img {
        width: 130px;
    }

    #header-logo strong {
        font-size: .7em;
        margin-top: -2em;
    }

    #header-wrap {
        margin-top: 28px;
        padding-left: 20px;
        padding-right: 20px;
    }

    #header-right {
        top: -7px;
    }

    .header-list li {
        margin-right: 20px;
    }

    .first-elem {
        margin-top: 80px;
    }

    #magnic-help-triangle {
        right: 40px;
    }

    #magnic-help-wrap {
        top: 120px;
    }

    #game-menu-wrap {
        overflow: auto;
    }

    #game-menu-list {
        position: relative;
        top: 0;
        margin-top: 8px;
        height: auto;
        width: auto;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    #game-menu-list .game-menu-item:nth-child(odd) {
        top: 0;
    }

    .game-menu-item-link {
        width: 148px;
        margin-left: 2px;
        margin-right: 2px;
        background-color: #fff;
        background-image: none !important;
        margin-bottom: 4px;
    }

    .no-touch #game-menu-list .game-menu-item:nth-child(even) .game-menu-item-link:hover,
    .no-touch #game-menu-list .game-menu-item:nth-child(odd) .game-menu-item-link:hover,
    .no-touch #game-menu-list .game-menu-item.active .game-menu-item-link:hover,
    #game-menu-list .game-menu-item.active .game-menu-item-link {
        background-color: #f1640f !important;
    }

    .game-menu-back {
        opacity: 0;
        height: 140px;
    }

    .game-menu-item-icon {
        width: 100px;
        height: 61px;
        margin-top: 20px;
        margin-bottom: 15px;
        background-size: 400px 122px;
    }

    .active > .game-menu-item-link .game-menu-item-icon,
    .no-touch .game-menu-item-link:hover .game-menu-item-icon {
        margin-top: 20px;
    }

    #game-menu-list .game-menu-item:nth-child(odd) {
        top: 0;
    }

    .no-touch .game-menu-item-link:hover .game-menu-item-icon.gamepad,
    .active > .game-menu-item-link .game-menu-item-icon.gamepad {
        background-position: 0 -61px;
    }

    .game-menu-item-icon.cog {
        background-position: -100px 0;
    }

    .no-touch .game-menu-item-link:hover .game-menu-item-icon.cog,
    .active > .game-menu-item-link .game-menu-item-icon.cog {
        background-position: -100px -61px;
    }

    .game-menu-item-icon.cup {
        background-position: -200px 0;
    }

    .no-touch .game-menu-item-link:hover .game-menu-item-icon.cup,
    .active > .game-menu-item-link .game-menu-item-icon.cup {
        background-position: -200px -61px;
    }

    .game-menu-item-icon.book {
        background-position: -300px 0;
    }

    .no-touch .game-menu-item-link:hover .game-menu-item-icon.book,
    .active > .game-menu-item-link .game-menu-item-icon.book {
        background-position: -300px -61px;
    }

    .gamenu-menu-item-description {
        display: none;
    }

    .game-menu-item-title {
        font-size: 16px;
        font-family: 'PT Sans';
    }

    #header-middle {
        margin: 90px auto 0 auto;
        width: auto;
        max-width: 320px;
    }

    #header-middle.header-list li {
        display: block;
        height: auto;
        padding: 20px 0 20px 40px;
        background-color: #ff9700;
        margin: 0 8px 7px 8px;
    }

    .header-circle {
        left: 40px;
        width: 55px;
        height: 55px;
        margin-top: -27px;
    }

    .user-avatar-wrap {
        width: 47px;
        height: 47px;
        border-color: #fff;
    }

    #header-circle-mask {
        width: 47px;
        height: 47px;
        margin-left: -23.5px;
        margin-top: -23.5px;
    }

    .header-user-info-wrap {
        top: -2px;
        margin-left: 70px;
    }

    #header-user-level {
        font-size: 1.5em;
        margin-top: -12px;
    }

    #adaptive-menu {
        margin: 0 auto;
        max-width: 304px;
        overflow: hidden;
    }

    #adaptive-menu li {
        float: left;
        overflow: hidden;
        display: block;
        /*width: 96px;*/
        width: 148px;
        height: 40px;
        margin-right: 8px;
        text-align: center;
        background-color: #ff9700;
        padding-top: 19px;
        padding-bottom: 21px;
    }

    #adaptive-menu li:nth-child(2),
    #adaptive-menu li:last-child {
        margin-right: 0;
    }

    #adaptive-menu li a {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

@media all and (max-width: 1279px) {
    .wrap {
        max-width: none;
        width: auto;
        padding-left: 20px;
        padding-right: 20px;
    }

    .index-gallery-header {
        width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .index-gallery-text {
        width: 570px;
        margin-left: auto;
        margin-right: auto;
    }

    #index-news-wrap .column {
        width: 300px;
        margin-bottom: 20px;
        float: none;
        display: inline-block;
    }

    #index-news-wrap .columns-string {
        text-align: center;
        margin-bottom: 0;
        margin-left: auto;
        margin-right: auto;
        width: 640px;
    }

    .last-elem {
        margin-bottom: 140px;
    }

    #index-news-wrap .user-avatar-wrap {
        margin: 20px auto;
    }

    .index-news-text {
        margin-top: 163px;
        margin-bottom: 17px;
        text-align: left;
    }

    .index-news-time span {
        padding: 10px 10% 10px 22%;
    }

    #knowledge-tabs-content {
        margin-top: 20px;
    }

    #collection-stats-wrap {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .collection-stats-text-num {
        font-size: 3em;
    }

    .collection-stats-text-desc {
        font-size: 14px;
    }

    .collection-stats-text-wrap {
        top: 10px;
    }

    .collection-stats-img-wrap {
        width: 130px;
        float: left;
        margin-bottom: 0;
    }

    .collection-stats-text {
        text-align: left;
    }

    #collection-stats .column-padder {
        padding: 0;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .collection-stats-img {
        width: 100%;
    }

    #collection-stats .column {
        width: 100%;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    #collection-stats .column:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    #collection-stats .column:after {
        display: block;
        top: inherit;
        bottom: 0;
        width: 300px;
        height: 2px;
        left: 50%;
        margin-left: -150px;
    }
}

@media all and (max-width: 1020px) {
    #knowledge-wrap .card-wrap {
        margin-left: 3px;
        margin-right: 3px;
    }

    #knowledge-wrap .card-wrap {
        margin-bottom: 10px;
    }

    #index-news-wrap,
    #index-columns-wrap {
        margin-top: 40px;
    }

    #index-columns-wrap .column-padder {
        margin-left: 0;
        margin-right: 0;
        padding-top: 20px;
        padding-bottom: 30px;
    }

    #index-columns-wrap .column {
        width: 100%;
        float: none;
        margin-bottom: 10px;
        margin-left: auto;
        margin-right: auto;
        max-width: 400px;
    }

    .column-image-wrap {
        margin-bottom: 20px;
    }

    #knowledge-search-wrap {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media all and (max-width: 800px) {
    .leaderboard-item-wrap {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .leaderboard-item.wrap {
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .leaderboard-item > div.leaderboard-item-userpos-wrap {
        display: block;
        margin: 0;
        background-color: #fff;
        width: 30px;
        height: 30px;
        text-align: center;
        border-radius: 50%;
        position: absolute;
        left: 5px;
        top: 7px;
        font-size: 14px;
        z-index: 100;
    }

    .leaderboard-item > div.leaderboard-item-username-wrap {
        margin-right: 0;
        margin-left: 20px;
        display: block;
    }

    .leaderboard-item > div.leaderboard-item-result-wrap {
        margin-left: 90px;
        display: block;
        line-height: 1em;
        margin-top: -6px;
        margin-bottom: 10px;
    }

    .leaderboard-item-result-wrap {
        font-size: 1.1em;
    }

    .leaderboard-item-avatar {
        margin-right: 10px;
        top: 10px;
    }

    .leaderboard-item-userpos-wrap .leaderboard-item-num {
        color: #f1640f !important;
        font-size: 12px;
        font-weight: normal;
        top: 3px;
    }

    .leaderboard-item-result-wrap .leaderboard-item-num {
        font-size: inherit;
    }

    .tabs-item-wrap.wrap {
        padding-left: 0;
        padding-right: 0;
    }

    .leaderboard-item-username strong {
        margin-bottom: 1px;
        font-weight: normal;
    }

    #settings-wrap .tabs-list li a,
    #settings-wrap .tabs-list li.tabs-active a
    #knowledge-wrap .tabs-list li a,
    #knowledge-wrap .tabs-list li.tabs-active a {
        border-bottom: 0;
    }

    #settings-wrap .tabs-list li a,
    #knowledge-wrap .tabs-list li a {
        padding-left: 3px;
        padding-right: 3px;
    }

    #settings-wrap .tabs-list-wrap:before,
    #knowledge-wrap .tabs-list-wrap:before {
        display: none;
    }

    #knowledge-input-wrap input {
        padding: 10px 0 12px 0;
    }
}

@media all and (max-width: 700px) {
    #magnic-help-blackout .owl-dot {
        margin-left: 5px;
        margin-right: 5px;
        width: 16px;
        height: 16px;
        top: -2px;
    }

    .magnic-help-tip-inner {
        padding: 20px 20px 25px 20px;
    }

    #magnic-help-text-wrap {
        margin-left: 20px;
        margin-right: 145px;
    }

    #magnic-help-title {
        font-size: 1.8em;
        line-height: 1em;
        top: -6px;
    }

    #magnic-help-desc {
        display: none;
    }

    #maginc-help-magnic {
        left: inherit;
        right: 60px;
    }

    #magnic-help-wrap {
        top: 100px;
        width: 94%;
        right: 3%;
        margin-bottom: 10px;
    }

    #magnic-help-triangle {
        top: -20px;
        right: 62px;
    }

    #knowledge-search-results-main-info {
        line-height: 1.2em;
    }

    #knowledge-search-results-info {
        padding: 0 20px;
    }

    .index-gallery-header,
    .index-gallery-text {
        width: 240px;
    }

    .index-gallery-header {
        font-size: 1.4em;
    }

    .index-gallery-text {
        padding-left: 0;
        padding-right: 0;
    }

    .index-gallery-buttons-wrap {
        margin-top: 25px;
    }

    .index-gallery-index-text-selected {
        padding-top: 10px;
        padding-bottom: 15px;
    }

    #index-gallery-wrap .simple-button {
        display: block;
        margin: 0 auto;
        width: 176px;
    }

    #index-news-wrap .columns-string {
        width: 300px;
    }

    .delimiter > span {
        padding-left: 15px;
        padding-right: 15px;
    }

    .delimiter > em {
        padding-left: 15px;
        padding-right: 15px;
    }

    #index-news-wrap {
        padding-left: 0;
        padding-right: 0;
        margin-top: 20px;
    }

    #knowledge-tabs-list {
        padding-left: 20px;
        padding-right: 20px;
    }

    .active #card-large-next {
        right: 0;
    }

    .active #card-large-prev {
        left: 0;
    }

    .active #card-large-prev,
    .active #card-large-next {
        background-color: rgba(241, 100, 15, .85);
        height: 80px;
        margin-top: -40px;
        display: none;
    }

    .card-large-nav img {
        width: 60%;
        height: auto;
        left: 8px;
        top: 50%;
        margin-top: -13px;
    }
}

@media all and (max-width: 600px) {
    .card-content {
        font-size: 14px;
        line-height: 1.2em;
    }

    #gt-first-controls .game-timeline-control {
        top: -130px;
    }

    #game-timeline .card-img-wrap {
        display: none;
    }

    .card-header-wrap {
        top: 110px;
    }

    #game-timeline .card-header-wrap {
        height: 30px;
        top: 15px;
    }

    #game-timeline .card-header {
        border-top-color: transparent;
    }

    #game-timeline .card-content-wrap {
        top: 45px;
    }

    .card-content-wrap {
        height: 124px;
    }

    .card-img-wrap-inner {
        margin-top: 5%;
        margin-bottom: 5%;
    }

    .card-wrap {
        height: 262px;
    }

    #game-timeline .card-wrap {
        height: 168px;
    }

    .card-placefield-2,
    card-placefield {
        height: 164px;
    }

    #login-header {
        height: 80px;
    }

    #login .login-input-help {
        padding: 0 20px;
        font-size: 1em;
    }

    #login-header-desc {
        height: 20px;
    }

    .eauth-service-link:after {
        background-size: 20px 20px;
    }

    #login-social-wrap {
        width: 38%;
    }

    .login-input-wrap {
        margin: 0 20px;
    }

    #login button {
        padding: 8px 20px 12px 20px;
        font-size: 1.6em;
        letter-spacing: -.03em;
    }

    #end-game-additional-wrap {
        padding-bottom: 1px;
    }

    #login-header-text-wrap {
        margin-left: 20px;
        padding-top: 18px;
    }

    #login-header-title {
        margin-bottom: 5px;
        font-size: 1.6em;
    }

    #login .login-input-help {
        top: 18px;
    }

    #login-restore-pass-link {
        bottom: 18px;
        font-size: 1em;
        right: 20px;
    }

    .login-input-wrap input {
        padding: 16px 0;
    }

    .login-infoblock-wrap {
        padding: 20px;
    }

    #login-inner {
        width: auto;
    }

    #end-game-blackout {
        background-color: #fff;
    }

    #end-game-stats {
        padding-top: 30px;
        padding-bottom: 10px;
    }

    .end-game-text-wrap {
        top: 3px;
        margin-left: 100px;
    }

    .end-game-img-wrap {
        width: 100px;
        float: left;
    }

    .end-game-stats-text {
        text-align: left;
    }

    #end-game-stats .column {
        width: 310px;
        border-bottom: 1px solid rgba(255, 255, 255, .2);
        margin-left: auto;
        margin-right: auto;
        display: block;
        padding: 15px 0;
        float: none;
    }

    #end-game-stats .column:last-child {
        border-bottom: 0;
    }

    #end-game-popup-wrap {
        width: 100%;
        left: 0;
        margin-left: 0;
        top: 0 !important;
        margin-top: 0 !important;
    }

    #end-game-image-wrap {
        position: relative;
        width: 188px;
        height: 178px;
        margin-left: auto;
        margin-right: auto;
    }

    #end-game-info-wrap {
        width: auto;
        text-align: center;
        margin-top: 0;
        margin-left: 20px;
        margin-right: 20px;
    }

    #end-game-desc-wrap {
        margin-right: 0;
    }

    #end-game-additional-wrap .game-again-link {
        display: block;
        width: auto;
        margin-left: 20px;
        margin-right: 20px;
    }

    #end-game-additional-wrap .game-again-link:first-child {
        margin-bottom: 10px;
    }

    #end-game-additional-wrap .game-again-link:last-child {
        margin-top: 0;
    }
}

@media all and (max-width: 470px) {
    #header-logo img {
        width: 100px;
    }

    #header-logo strong {
        font-size: .6em;
        margin-top: -2.2em;
    }

    #header-logo {
        top: 2px;
    }

    .login-infoblock-wrap p.warning {
        font-size: .95em;
    }

    #login-header-img-wrap {
        display: none;
    }

    #knowledge-tabs-list-wrap,
    #knowledge-search-wrap,
    #settings-tabs-list-wrap {
        margin-bottom: 20px;
    }

    #settings-wrap .tabs-list li {
        margin-left: 3px;
        margin-right: 3px;
    }

    .settings-tab-item-desc {
        font-size: 1em;
    }

    #settings-wrap input {
        font-size: 16px;
    }

    .settings-tab-item-wrap {
        width: auto;
        padding: 30px 20px;
    }

    #end-game-popup-wrap .delimiter > span {
        display: none;
    }

    #leaderboard-news-wrap {
        margin-top: 0;
    }

    #collection-wrap #leaderboard-news-wrap {
        margin-top: 40px;
    }

    #index-news-wrap-wrap {
        margin-top: 40px;
    }

    #index-las-action-wrap {
        margin-top: 20px;
    }

    footer {
        height: 100px;
    }

    footer p {
        text-align: center;
        overflow: visible;
        height: auto;
        top: 26px;
        font-size: .9em;
    }

    .footer-left,
    .footer-right {
        float: none;
        display: block;
        margin-bottom: 6px;
    }

    .tabs-list li a {
        font-size: 13px;
        padding-bottom: 10px;
    }
}


/* Adaptive height */

@media all and (max-height: 640px) {
    #login-wrap {
        position: relative;
        display: block;
        margin-top: 140px;
        margin-bottom: 140px;
    }

    #login {
        display: block;
        margin: 0 auto;
    }
}
