body {
    min-width: 1000px;
}

#head-line {
    font-family: Arial, serif;
    color: #ccc;
    height: 56px;
    width: 100%;
    position: relative;
    cursor: default;
    z-index: 5000;
    font-size: 10px;
}

.size-1 #head-line {
    height: 37px;
}

#head-line * {
    cursor: inherit;
    color: inherit;
}

#head-line a {
    text-decoration: none;
    cursor: pointer;
}

#head-line .background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#head-line .background .main-background {
    background: #192934;
    width: 100%;
    position: relative;
    height: 52px;
}

.size-1 #head-line .background .main-background {
    height: 33px;
}

#head-line .background .underline-background {
    height: 4px;
    width: 100%;
    position: relative;
    background: url("../img/head-line/underline.jpg") top center repeat-x;
}

#head-line .content {
    position: relative;
    height: 100%;
    width: 100%;
}

#head-line .content .logo {
    width: 332px;
    height: 30px;
    background: url("../img/head-line/logo.png ") no-repeat;
    position: absolute;
    top: 8px;
    left: 27px;
    transition: 500ms;
}

#head-line .content .logo a {
    width: 332px;
    height: 30px;
    display: block;
}

#head-line .content .menu {
    position: absolute;
    top: 19px;
    left: 402px;
    transition: all 500ms;
}

.size-1 #head-line .content .menu {
    top: 9px;
}

#head-line .content .menu .menu-item {
    font-size: 1.6em;
    font-weight: bold;
    display: inline-block;
    cursor: pointer;
    transition: color 0.3s;
}

.size-1 #head-line .content .menu .menu-item {
    font-size: 1.2em;
}

#head-line .content .menu .menu-item:hover {
    color: #fff;
}

#head-line .content .menu .menu-delimiter {
    background: #666;
    display: inline-block;
    margin: 0 29px 2px;
    width: 2px;
    height: 8px;
}

.size-1 #head-line .content .menu .menu-delimiter {
    margin: 0 19px 0;
}

#head-line .content .profile {
    position: absolute;
    right: 107px;
    top: 0;
    transition: all 500ms;
}

.size-1 #head-line .content .profile {
    zoom: 0.65;
}

#head-line .content .profile.login .profile-login,
#head-line .content .profile.logout .profile-logout {
    display: block;
}

#head-line .content .profile .profile-login,
#head-line .content .profile .profile-logout {
    display: none;
}

#head-line .content .profile .profile-logout .reg-button {
    position: absolute;
    right: 447px;
    font-size: 1.5em;
    border-bottom: 1px dashed;
    top: 18px;
    padding-bottom: 1px;
    cursor: pointer;
    transition: color .5s ease;
}

#head-line .content .profile .profile-logout .login-form {
    position: absolute;
    right: 56px;
    top: 13px;
    width: 270px;
}

#head-line .content .profile .profile-logout .login-form .input-box {
    width: 115px;
    height: 27px;
    position: relative;
    float: right;
    margin-left: 15px;
}

#head-line .content .profile .profile-logout .login-form input[type="text"],
#head-line .content .profile .profile-logout .login-form input[type="password"],
#head-line .content .profile .profile-logout .login-form input[type="email"] {
    background: transparent;
    height: 100%;
    width: 100%;
    text-align: center;
    display: block;
    z-index: 2;
    position: relative;
    font-size: 1.5em;
    color: #333;
    transition: all .5s ease;
    padding: 3px 8px;
    border: none;
    box-sizing: border-box;
}

#head-line .content .profile .profile-logout .login-form .input-background {
    background: #fff;
    width: 100%;
    height: 27px;
    position: relative;
    margin-bottom: -27px;
}

#head-line .content .profile .profile-logout .login-form .placeholder {
    z-index: 1;
    color: #ccc;
    transition: all .5s ease;
    position: relative;
    display: block;
    text-align: center;
}

#head-line .content .profile .profile-logout .login-form input[value=""] ~ .placeholder {
    width: 100%;
    margin-top: -22px;
    height: 19px;
    font-size: 1.5em;
    color: #999;
}

#head-line .content .profile .profile-logout .login-form input:focus ~ .placeholder {
    font-size: 1em;
    height: auto;
    margin-top: 0;
    line-height: normal;
    width: auto;
    color: #ccc;
}

#head-line .content .profile .profile-logout .pass-recovery {
    position: absolute;
    right: 314px;
    font-size: 1.5em;
    top: 18px;
    cursor: pointer;
    width: 120px;
    text-align: right;
    transition: color .5s ease;
}

#head-line .content .profile .profile-logout .enter {
    position: absolute;
    right: -10px;
    width: 62px;
    text-align: center;
    font-size: 1.5em;
    top: 12px;
    cursor: pointer;
    height: 30px;
    line-height: 30px;
    transition: color .5s ease;
}

#head-line .content .profile .profile-logout .error {
    position: absolute;
    right: -20px;
    width: 350px;
    height: 50px;
    background: rgba(25, 41, 52, 0.93);
    border: 2px solid;
    top: 52px;
    transition: all .7s ease;
    display: table;
}

#head-line .content .profile .profile-logout .error .error-label {
    vertical-align: middle;
    font-size: 1.5em;
    text-align: center;
    display: table-cell;
}

#head-line .content .profile .profile-logout .pass-recovery:hover,
#head-line .content .profile .profile-logout .reg-button:hover,
#head-line .content .profile .profile-logout .enter:hover {
    color: #fff;
}

#head-line .content .profile .profile-login > .bank {
    background: url("../img/head-line/bank.png");
    width: 137px;
    height: 35px;
    position: absolute;
    right: 550px;
    top: 10px;
    cursor: pointer;
}

#head-line .content .profile .profile-login > .bank:hover {
    background-position: 0 -36px;
}

#head-line .content .profile .profile-login > .bank:active {
    background-position: 0 -72px;
}

#head-line .content .profile .profile-login > .currency {
    position: absolute;
    right: 90px;
}

#head-line .content .profile .profile-login > .currency .main {
    font-size: 1.5em;
    position: absolute;
    right: 350px;
    width: 100px;
    top: 10px;
}

#head-line .content .profile .profile-login > .currency .main .image {
    background: url("../img/head-line/currency-main.png");
    width: 32px;
    height: 35px;
    float: right;
}

#head-line .content .profile .profile-login > .currency .main .value {
    color: #FFCC67;
    text-align: right;
    width: 40px;
    font-weight: bold;
    float: right;
    height: 35px;
    line-height: 35px;
    padding-right: 10px;
}

#head-line .content .profile .profile-login > .currency .alt {
    font-size: 1.5em;
    position: absolute;
    right: 260px;
    width: 100px;
    top: 10px;
}

#head-line .content .profile .profile-login > .currency .alt .image {
    background: url("../img/head-line/currency-alt.png");
    width: 32px;
    height: 35px;
    float: right;
}

#head-line .content .profile .profile-login > .currency .alt .value {
    color: #FFCC67;
    text-align: right;
    width: 40px;
    font-weight: bold;
    float: right;
    height: 35px;
    line-height: 35px;
    padding-right: 10px;
}

#head-line .content .profile .profile-login .settings {
    background: url("../img/head-line/settings.png ");
    width: 26px;
    height: 26px;
    right: 383px;
    position: absolute;
    top: 12px;
}

#head-line .content .profile .profile-login .nickname {
    color: #fff;
    font-size: 1.5em;
    font-weight: bold;
    text-align: right;
    width: 180px;
    right: 146px;
    top: 8px;
    position: absolute;
    z-index: 1;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 40px;
    line-height: 40px;
    padding-left: 18px;
}

#head-line .content .profile .profile-login .nickname .status {
    transition: color 0.4s;
    padding-right: 18px;
}

#head-line .content .profile .profile-login .nickname .status .status-img {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 4px;
    top: 16px;
    box-shadow: 0 0 20px 3px;
}

#head-line .content .profile .profile-login .nickname .status.status-1 .status-img {
    background: #3c0;
    color: #3c0;
}

#head-line .content .profile .profile-login .nickname .status.status-2 .status-img {
    background: #fc0;
    color: #fc0;
}

#head-line .content .profile .profile-login .nickname .status.status-3 .status-img {
    background: #f33;
    color: #f33;
}

#head-line .content .profile .profile-login .avatar {
    height: 50px;
    width: 50px;
    position: absolute;
    right: 69px;
    top: 1px;
}

#head-line .content .profile .profile-login .avatar img {
    height: 100%;
    width: 100%;
}

#head-line .content .profile .profile-login .my-profile {
    font-size: 16px;
    position: absolute;
    top: 18px;
    right: 262px;
    text-align: right;
    width: 130px;
}

#head-line .content .profile .profile-login .logout {
    font-weight: bold;
    font-size: 16px;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    height: 52px;
    line-height: 56px;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
}

#head-line .content .profile .profile-login .logout:hover {
    color: #fff;
}

body.header-submenu-open #head-line .content .profile .profile-login .submenu-button + .nickname {
    color: #e7e7e7;
}

#head-line .content .profile .profile-login .submenu-button {
    background: url(../img/head-line/arrow.png) center right no-repeat;
    height: 56px;
    width: 195px;
    position: absolute;
    top: 0;
    right: 128px;
    z-index: 10;
    cursor: pointer;
}

body.header-submenu-open #head-line .content .profile .profile-login .submenu-button .submenu,
body.header-submenu-open #head-line .content .profile .profile-login .submenu-button ~ .shadow {
    opacity: 1;
    visibility: visible;
}

#head-line .content .profile .profile-login .shadow {
    position: fixed;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    z-index: 5;
}

#head-line .content .submenu {
    right: -57px;
    position: absolute;
    top: 56px;
    width: 278px;
    background: #192934;
    opacity: 0;
    visibility: hidden;
    z-index: 500;
    transition: all 0.3s;
}

#head-line .content .submenu > div {
    padding: 0 22px;
}

#head-line .content .submenu .exp {
    position: relative;
    padding-top: 21px;
    padding-bottom: 14px;
}

#head-line .content .submenu .exp .exp-line {
    background: #666;
    width: 231px;
    height: 6px;
}

#head-line .content .submenu .exp .exp-line .exp-line-fill {
    background: #6c3;
    height: 6px;
}

#head-line .content .submenu .exp .exp-counter {
    color: #fc6;
    font-size: 15px;
    text-align: center;
    padding-top: 6px;
    font-style: italic;
}

#head-line .content .submenu .currency {
    position: relative;
    padding-top: 24px;
    padding-bottom: 24px;
}

#head-line .content .submenu .currency .currency-img {
    background: url("../img/head-line/currency.png");
    width: 26px;
    height: 26px;
    position: absolute;
    top: 18px;
    left: 20px;
}

#head-line .content .submenu .currency .currency-value {
    color: #6c3;
    font-size: 15px;
    text-align: left;
    padding-left: 42px;
}

#head-line .content .submenu .link-block {
    position: relative;
    padding-top: 20px;
    padding-bottom: 9px;
}

#head-line .content .submenu .link-block .link {
    font-size: 15px;
    position: relative;
    height: auto;
    line-height: 25px;
    cursor: pointer;
    margin-bottom: 11px;
    transition: color 0.4s;
}

#head-line .content .submenu .link-block .link:hover {
    color: #ee8;
}

#head-line .content .submenu .status-block {
    position: relative;
    padding-top: 20px;
    padding-bottom: 9px;
    width: 150px;
}

#head-line .content .submenu .status-block .status {
    font-size: 15px;
    position: relative;
    line-height: 25px;
    cursor: pointer;
    margin-bottom: 11px;
    transition: color 0.4s;
    display: inline-block;
}

#head-line .content .submenu .status-block .status:hover .status-name {
    color: #ee8;
}

#head-line .content .submenu .status-block .status:hover .status-img {
    box-shadow: 0 0 20px 3px;
}

#head-line .content .submenu .status-block .status .status-name {
    padding-left: 20px;
}

#head-line .content .submenu .status-block .status .status-img {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 4px;
    top: 9px;
}

#head-line .content .submenu .status-block .status.status-1 .status-img {
    background: #3c0;
    color: #3c0;
}

#head-line .content .submenu .status-block .status.status-2 .status-img {
    background: #fc0;
    color: #fc0;
}

#head-line .content .submenu .status-block .status.status-3 .status-img {
    background: #f33;
    color: #f33;
}

#head-line .content .submenu .submenu-delimiter {
    height: 1px;
    width: 100%;
    padding: 0;
    background: #666;
    position: relative;
}

@media screen and (max-width: 1450px) {
    #head-line .content .profile {
        right: 32px;
    }

    #head-line .content .logo {
        left: -400px;
    }

    #head-line .content .menu {
        left: 20px;
    }
}

@media screen and (max-width: 1024px) {
    #head-line .content .profile {
        right: 15px;
    }

    #head-line .content .logo {
        left: -400px;
    }

    #head-line .content .menu {
        left: 20px;
    }
}

#head-line.new-year .background .main-background {
    background: url("../img/head-line/background-new-year.png") no-repeat center top;
}

#head-line.new-year .background .underline-background {
    background: url("../img/head-line/background-new-year.png") no-repeat center bottom;
}