html, body {
    position: relative;
    padding: 0;
    margin: 0;
    min-width: 1250px;
    color: #ffffff;
    font-family: 'Cinzel', serif;
    font-size: 12px;
}

html {
    height: 100%;
}

body {
    min-height: 100%;
    background: #09111f url(images/bg.jpg) repeat-x center top;
}

a {
    color: #FFF;
}

a:hover, .button:hover, button:hover {
    text-shadow: 0 0 5px #FFF;
}

a:active, .button:active, button:active, .button.active, button.active {
    text-shadow: none;
    color: #AEAEAE;
}

#page {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

#footer {
    content: '';
    display: block;
    height: 108px;
}

#header {
    display: flex;
}

#logo {
    display: block;
    background: url(images/logo.png);
    width: 567px;
    height: 422px;
    margin: 4px 0 0 -10px;
}

.button-effects {
    transition: filter 150ms;
}

.button-effects:hover {
    filter: brightness(1.1);
}

.button-effects:active {
    filter: brightness(0.9);
}

#main {
    display: flex;
    justify-content: center;
}

#content-wrapper {
    position: relative;
    z-index: 1;
}

.panel-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
    width: 327px;
    padding: 129px 0 0;
}

#right.panel-container {
    align-items: flex-end;
    padding: 127px 0 0;
}

.panel {

}

#right .panel-large {
    position: relative;
    z-index: 1;
    margin-top: -96px;
}

#left .panel-small {
    margin-top: -96px;
}

#left .panel-small {
    margin-top: -131px;
}

.panel-large {
    background: url(images/panel-large.png);
    width: 369px;
    height: 566px;
}

#left .panel-large {
    margin: 0 0 0 25px;
}

.panel-small {
    background: url(images/panel-small.png);
    width: 371px;
    height: 456px;
}

#right .panel-small {
    position: relative;
    z-index: 2;
    margin: 0 24px 0 0;
}

.panel-header {
    text-transform: uppercase;
    text-align: center;
    font-size: 1.15rem;
    padding-bottom: 38px;
}

.panel-content {
    padding: 107px 64px 0 85px;
}

#left .panel-large .panel-content {
    padding: 105px 87px 0 60px;
}

#right .panel-large .panel-content {
    padding: 105px 87px 0 60px;
}

#content-container {
    position: relative;
}

#content-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    pointer-events: none;
}

#content-bg::before {
    content: '';
    display: block;
    position: absolute;
    top: -222px;
    left: -569px;
    background: url(images/content-frame-top.png) no-repeat;
    width: 1188px;
    height: 812px;
}

#content-bg::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -108px;
    left: -613px;
    background: url(images/content-frame-bottom.png) no-repeat;
    width: 1264px;
    height: 710px;
}

#content-fg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: url(images/content-top.png) center top no-repeat;
    width: 764px;
    pointer-events: none;
}

#content-fg::before {
    content: '';
    display: block;
    position: absolute;
    background: url(images/content-repeat.png);
    top: 232px;
    left: 0;
    bottom: 213px;
    width: 764px;
}

#content-fg::after {
    content: '';
    display: block;
    position: absolute;
    background: url(images/content-bottom.png);
    left: 0;
    bottom: 0;
    height: 238px;
    width: 764px;
}

#content {
    position: relative;
    min-height: 1192px;
    width: 750px;
    padding: 75px 59px 50px;
    box-sizing: border-box;
}

.panel-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 265px;
    padding: 11px 0 0;
}

.panel-button {
    display: block;
    text-transform: uppercase;
    background: url(images/panel-button.png) 0 0;
    width: 209px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #FFF;
    text-decoration: none;
}

.panel-button:hover {
    background-position-y: -41px;
}

.panel-button:active {
    background-position-y: -82px;
}

.online-players-label {
    text-transform: uppercase;
    font-size: 1.16rem;
    padding: 12px 0 0;
    line-height: 17px;
    text-align: center;
}

#online-display {
    background: url(images/input.png);
    width: 170px;
    height: 33px;
    line-height: 33px;
    text-align: center;
    font-size: 1.52rem;
    margin: 0 auto;
}

#online-separator {
    background: url(images/panel-separator.png);
    width: 180px;
    height: 4px;
    margin: 15px auto 0;
}

.online-status-label {
    text-transform: uppercase;
    font-size: 1.16rem;
    text-align: center;
    padding: 14px 0 2px;
}

.channel {
    display: flex;
    text-transform: uppercase;
    font-size: 1.16rem;
    line-height: 18px;
    justify-content: center;
}

.channel-name {
    width: 97px;
    text-align: left;
}

.channel-value {
    width: 29px;
    text-align: left;
}

.user-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 160px;
    padding: 11px 0 0;
    margin-top: -3px;
}

.button, button {
    position: relative;
    display: inline-block;
    height: 29px;
    line-height: 30px;
    cursor: pointer;
    color: #FFF;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    text-align: center;
    border: none;
    background: none;
    margin: 0;
    padding: 0 23px;
    vertical-align: middle;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-sizing: border-box;
    font-weight: normal;
    min-width: 78px;
    white-space: nowrap;
}

.button span, button span {
    position: relative;
    z-index: 1;
}

.button::before, button::before {
    content: '';
    display: block;
    background: url(images/button-repeat.png) 0 0 repeat-x;
    position: absolute;
    top: 0;
    left: 39px;
    right: 39px;
    height: 29px;
    z-index: 0;
}

.button:hover::before, button:hover::before {
    background-position-y: -30px;
}

.button:active::before, button:active::before, .button.active::before, button.active::before {
    background-position-y: -60px;
}

.button::after, button::after {
    content: '';
    display: block;
    background: url(images/button-terminator.png) left 0 no-repeat, url(images/button-terminator.png) right -90px no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 29px;
    z-index: 0;
}

.button:hover::after, button:hover::after {
    background: url(images/button-terminator.png) left -30px no-repeat, url(images/button-terminator.png) right -120px no-repeat;
}

.button:active::after, button:active::after, .button.active::after, button.active::after {
    background: url(images/button-terminator.png) left -60px no-repeat, url(images/button-terminator.png) right -150px no-repeat;
}


input[type=text], input[type=password], input[type=email], select {
    box-sizing: border-box;
    color: #fff;
    background: transparent;
    height: 33px;
    border-image: url(images/input.png) 16 13 fill / 16px 13px / 0 round;
    border-image-repeat: round round;
    min-width: 99px;
    padding: 0 10px;
    transition: background-color 2147483647s ease-in, color 2147483647s ease-in;
    outline: none;
}

select {
    border-image: url(images/select.png) 16 13 fill / 16px 13px / 0 round;
}

option {
    background: #0a1e3c;
}

textarea {
    box-sizing: border-box;
    padding: 6px 10px;
    color: #fff;
    border-image: url(images/input.png) 16 13 fill / 16px 13px / 0 round;
}

#session-button {
    background: url(images/button-large.png) 0 0;
    width: 142px;
    height: 46px;
    margin: 0 auto;
    display: block;
    border: none;
    font-family: 'Cinzel', serif;
    font-size: 1.45rem;
    color: #FFF;
}

#session-button::before, #session-button::after {
    display: none;
}

#session-button:hover {
    background-position-y: -47px;
}

#session-button:active {
    background-position-y: -94px;
}

.label-login, .label-password {
    text-transform: uppercase;
    display: block;
    text-align: center;
    margin: 0 0 3px 0;
    font-size: 1.1rem;
    letter-spacing: 0.06rem;
    line-height: 14px;
}

.label-password {
    margin: 12px 0 3px 0;
}

#login_input, #password_input {
    width: 170px;
    display: block;
    margin: 0 auto;
}

#password_input {
    margin-bottom: 13px;
}

.form-links {
    margin: 6px 0 0;
}

.form-links a {
    display: block;
    text-align: center;
    color: #FFF;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.086rem;
    line-height: 18px;
    text-transform: uppercase;
}

#ranking-container {
    margin: 19px 0 0;
    height: 196px;
}

#ranking-content {
    width: 190px;
    margin: 0 auto;
}

.ranking-row {
    display: flex;
    height: 18px;
}

.ranking-place {
    width: 17px;
    flex: 0 0 auto;
}

.ranking-name {
    flex: 1 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    text-transform: uppercase;
    font-size: 0.97rem;
    letter-spacing: 0.03rem;
}

.ranking-name a {
    text-decoration: none;
}

#ranking-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    height: 82px;
    width: 190px;
    margin: 0 auto;
}

#ranking-buttons .button {
    width: 90px;
}

#slider-container {
    position: relative;
    height: 253px;
    z-index: 0;
}

#slider-container::before {
    content: '';
    display: block;
    background: url(images/slider-bg.png);
    width: 814px;
    height: 497px;
    position: absolute;
    top: -180px;
    left: -139px;
}

#slider-wrapper {
    position: relative;
    width: 555px;
    height: 266px;
    padding: 11px 0 0 29px;
    box-sizing: border-box;
    margin: -53px 0 0;
}

#slider-wrapper::after {
    content: '';
    display: block;
    background: url(images/slider-frame.png);
    width: 569px;
    height: 246px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    pointer-events: none;
}

#slider {
    position: relative;
    overflow: hidden;
    width: 511px;
    height: 224px;
    z-index: 2;
}

#slider-display {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
}

#slider-image, #slider-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
}

#slider-title-wrapper {
    background: rgba(0, 0, 0, 0.45);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
}

#slider-title {
    text-decoration: none;
    box-sizing: border-box;
}

#slider-nav {
    position: absolute;
    bottom: -1px;
    left: 21px;
    right: 11px;
    white-space: nowrap;
    z-index: 4;
    text-align: center;
}

#slider-nav span {
    position: relative;
    display: inline-block;
    background: url(images/slider-button.png) bottom;
    width: 17px;
    height: 17px;
    cursor: pointer;
    margin-left: 3px;
}

#slider-nav span:hover {
    background-position-y: center;
}

#slider-nav span.active {
    background-position-y: top;
    cursor: default;
}

.slider-arrow {
    background: url(images/slider-arrow.png) top;
    width: 39px;
    height: 49px;
    cursor: pointer;
    position: absolute;
    z-index: 4;
    bottom: 118px;
}

.slider-arrow:hover {
    background-position-y: center;
}

.slider-arrow:active {
    background-position-y: bottom;
}

#slider-next {
    background-position-x: right;
    right: -54px;
}

#slider-prev {
    background-position-x: left;
    left: -40px;
}

#download-button-container {
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
}

#download-button {
    display: block;
    background: url(images/download-button.png) 0 0;
    width: 152px;
    height: 83px;
    line-height: 87px;
    text-align: center;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.17rem;
}

#download-button:hover {
    background-position-y: -84px;
}

#download-button:active {
    background-position-y: -168px;
}

#download-button-frame {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -17px;
    background: url(images/download-button-frame.png);
    width: 209px;
    height: 100px;
    pointer-events: none;
}





