.auth-member-layout,
.auth-member-layout * {
    box-sizing: border-box;
}

.auth-member-layout {
    padding-top: 0;
    background: #f8f3ea;
    color: #29261f;
    font-family: "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
}

.member-container {
    width: 1504px;
    max-width: calc(100% - 96px);
    margin: 0 auto;
}

.member-header {
    position: -webkit-sticky;
    position: sticky;
    z-index: 1030;
    top: 0;
    height: 78px;
    border-bottom: 1px solid #e8ddcf;
    background: #fff;
    box-shadow: 0 2px 14px rgba(63, 50, 34, .06);
}

.member-header-inner {
    display: block;
    height: 78px;
}

.member-header-inner:after {
    content: "";
    display: table;
    clear: both;
}

.member-brand {
    display: inline-flex;
    float: left;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 154px;
    min-width: 154px;
    height: 78px;
    color: #15120e;
    text-decoration: none;
}

.member-brand:hover,
.member-brand:focus {
    color: #15120e;
    text-decoration: none;
}

.member-brand img {
    display: block;
    width: 154px;
    height: 51px;
    object-fit: contain;
}

.member-brand span {
    margin-top: 2px;
    color: #3d422d;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.member-main-nav {
    display: block;
    float: left;
    height: 78px;
    margin-left: 50px;
    white-space: nowrap;
}

.member-main-nav a {
    position: relative;
    display: inline-block;
    height: 78px;
    color: #15120e;
    font-size: 16px;
    font-weight: 900;
    line-height: 78px;
    text-decoration: none;
}

.member-main-nav a + a {
    margin-left: 56px;
}

.member-main-nav a:hover,
.member-main-nav a:focus,
.member-main-nav a.active {
    color: #b31320;
    text-decoration: none;
}

.member-main-nav a.active:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 13px;
    left: 0;
    height: 3px;
    background: #b31320;
}

.member-header-actions {
    display: flex;
    float: right;
    align-items: center;
    height: 78px;
}

.member-header-actions > * + * {
    margin-left: 16px;
}

.member-search {
    display: flex;
    align-items: center;
    width: 220px;
    height: 42px;
}

.member-search input {
    min-width: 0;
    width: 178px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #d8d3cb;
    border-right: 0;
    border-radius: 5px 0 0 5px;
    background: #fff;
    color: #312a22;
    outline: none;
}

.member-search input:focus {
    border-color: #b31320;
    box-shadow: 0 0 0 3px rgba(179, 19, 32, .1);
}

.member-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    min-width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #343420;
    border-radius: 0 5px 5px 0;
    background: #343420;
    color: #fff;
    cursor: pointer;
}

.member-logout-form {
    margin: 0;
}

.member-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 116px;
    height: 38px;
    padding: 0 18px;
    border: 1px solid #e6ded2;
    border-radius: 6px;
    background: #fff;
    color: #251f18;
    font-size: 15px;
    font-weight: 900;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

.member-login:hover,
.member-login:focus {
    border-color: #d8d3cb;
    background: #fff8ed;
    color: #b31320;
    text-decoration: none;
}

.auth-member-layout .auth-member-main {
    width: 100%;
    min-height: calc(100vh - 220px);
    padding: 0;
    overflow: visible;
}

.auth-member-main > .container,
.auth-member-main > #content-container.container {
    width: 1504px;
    max-width: calc(100% - 96px);
    margin: 0 auto;
    padding-top: 22px;
    padding-bottom: 30px;
}

.auth-member-main > .container.mt-20 {
    margin-top: 0 !important;
}

.auth-member-main #content-container > .row {
    display: flex;
    align-items: flex-start;
    margin-right: -11px;
    margin-left: -11px;
}

.auth-member-main #content-container > .row > .col-md-3 {
    flex: 0 0 270px;
    width: 270px;
    padding-right: 11px;
    padding-left: 11px;
}

.auth-member-main #content-container > .row > .col-md-9 {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    padding-right: 11px;
    padding-left: 11px;
}

.auth-member-layout .member-sidenav {
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 1px solid #eadfce;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(92, 62, 28, .06);
}

.member-sidenav-profile {
    display: flex;
    align-items: center;
    min-height: 92px;
    padding: 17px 18px;
    border-bottom: 1px solid #eee4d6;
    background: #fbf8f2;
}

.member-sidenav-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 54px;
    overflow: hidden;
    width: 54px;
    height: 54px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #315f49;
    color: #fff;
    box-shadow: 0 2px 8px rgba(49, 95, 73, .18);
    font-size: 21px;
}

.member-sidenav-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-sidenav-user {
    min-width: 0;
    margin-left: 12px;
}

.member-sidenav-user strong,
.member-sidenav-user small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-sidenav-user strong {
    color: #29261f;
    font-size: 16px;
    font-weight: 900;
}

.member-sidenav-user small {
    margin-top: 4px;
    color: #315f49;
    font-size: 12px;
    font-weight: 800;
}

.auth-member-layout .member-sidenav-menu {
    margin: 0;
    padding: 8px 0 12px;
}

.auth-member-layout .member-sidenav-menu .list-group-heading {
    margin: 0;
    padding: 9px 18px 7px;
    color: #8a7f71;
    font-size: 12px;
    font-weight: 800;
}

.auth-member-layout .member-sidenav-menu .list-group-item {
    margin: 0;
    padding: 0;
    border: 0;
    border-left: 3px solid transparent;
    background: #fff;
}

.auth-member-layout .member-sidenav-menu .list-group-item > a {
    display: block;
    padding: 11px 18px;
    color: #4c463e;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.auth-member-layout .member-sidenav-menu .list-group-item > a i {
    width: 22px;
    margin-right: 7px;
    color: #81786b;
}

.auth-member-layout .member-sidenav-menu .list-group-item:hover,
.auth-member-layout .member-sidenav-menu .list-group-item.active {
    border-left-color: #b31320;
    background: #fff8ed;
}

.auth-member-layout .member-sidenav-menu .list-group-item:hover > a,
.auth-member-layout .member-sidenav-menu .list-group-item.active > a,
.auth-member-layout .member-sidenav-menu .list-group-item.active > a i {
    color: #9f141d;
}

.auth-member-layout .panel.panel-default,
.auth-member-layout .panel.panel-user {
    overflow: hidden;
    margin: 0;
    border: 1px solid #eadfce;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(92, 62, 28, .06);
}

.auth-member-layout .panel > .panel-body {
    padding: 24px 26px 28px;
}

.auth-member-layout h2.page-header {
    margin: 0 0 20px;
    padding: 0 0 14px;
    border-bottom: 1px solid #eee4d6;
    color: #29261f;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0;
}

.auth-member-layout .form-control {
    min-height: 40px;
    border-color: #d9d5ca;
    border-radius: 5px;
    background: #fff;
    color: #29261f;
    box-shadow: none;
}

.auth-member-layout .form-control:focus {
    border-color: #315f49;
    box-shadow: 0 0 0 3px rgba(49, 95, 73, .1);
}

.auth-member-layout .control-label,
.auth-member-layout label {
    color: #4c463e;
    font-weight: 800;
}

.auth-member-layout .btn {
    border-radius: 5px;
    font-weight: 800;
}

.auth-member-layout .btn-primary {
    border-color: #315f49;
    background: #315f49;
}

.auth-member-layout .btn-primary:hover,
.auth-member-layout .btn-primary:focus,
.auth-member-layout .btn-primary:active {
    border-color: #244735;
    background: #244735;
}

.auth-member-layout .btn-info {
    border-color: #756d42;
    background: #756d42;
}

.auth-member-layout .btn-default {
    border-color: #d9d5ca;
    background: #faf8f2;
    color: #4c463e;
}

.auth-member-layout .page-header + form,
.auth-member-layout .panel-post + form {
    padding-top: 2px;
}

.auth-member-layout .my-publish-filter,
.auth-member-layout .publish-guide {
    border-color: #e7ddce;
    background: #fbf8f2;
    color: #4c463e;
}

.auth-member-layout .my-publish-card,
.auth-member-layout .interaction-card,
.auth-member-layout .publish-type-card {
    border-color: #e7ddce;
}

.auth-member-layout .my-publish-noimage {
    color: #315f49;
    background: #f4f8f4;
}

.auth-member-layout .my-publish-title a,
.auth-member-layout .channel-list li a {
    color: #29261f;
}

.auth-member-layout .my-publish-title a:hover,
.auth-member-layout .channel-list li.active a,
.auth-member-layout .channel-list li a:hover {
    color: #9f141d;
}

.auth-member-layout .publish-type-icon {
    color: #315f49;
    background: #e3eee7;
}

.auth-member-layout .publish-type-card.life .publish-type-icon,
.auth-member-layout .publish-steps i {
    color: #9f141d;
    background: transparent;
}

.auth-member-layout .publish-type-card:hover,
.auth-member-layout .publish-type-card.active,
.auth-member-layout .publish-type-card.life:hover,
.auth-member-layout .publish-type-card.life.active {
    border-color: #315f49;
    background: #f4f8f4;
    box-shadow: 0 8px 18px rgba(49, 95, 73, .08);
}

.auth-member-layout .pager .pagination > .active > span,
.auth-member-layout .pager .pagination > .active > a {
    border-color: #315f49;
    background: #315f49;
    color: #fff;
}

.member-footer {
    min-height: 124px;
    padding: 16px 0 14px;
    background: #353526;
    color: #f0ede4;
    text-align: center;
}

.member-footer-inner {
    width: 1100px;
    max-width: calc(100% - 32px);
    margin: 0 auto;
}

.member-footer-links {
    display: table;
    width: 100%;
    margin: 0 auto 12px;
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    table-layout: fixed;
}

.member-footer-links a {
    position: relative;
    display: table-cell;
    color: #f5f2e9;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.member-footer-links a + a:before {
    content: "";
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 0;
    width: 1px;
    background: rgba(255, 255, 255, .4);
}

.member-footer p {
    margin: 0;
    color: #e7e1d4;
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    line-height: 1.8;
}

.member-footer p a {
    color: inherit;
}

@media (max-width: 1100px) {
    .member-container,
    .auth-member-main > .container,
    .auth-member-main > #content-container.container {
        max-width: calc(100% - 44px);
    }

    .member-header,
    .member-header-inner {
        height: auto;
    }

    .member-header-inner {
        min-height: 78px;
        padding: 12px 0;
    }

    .member-brand {
        height: 54px;
    }

    .member-main-nav {
        clear: both;
        width: 100%;
        height: 42px;
        margin-left: 0;
        overflow-x: auto;
    }

    .member-main-nav a {
        height: 42px;
        line-height: 42px;
    }

    .member-main-nav a + a {
        margin-left: 34px;
    }

    .member-main-nav a.active:after {
        bottom: 0;
    }

    .member-header-actions {
        height: 54px;
    }

    .member-search {
        display: none;
    }
}

@media (max-width: 991px) {
    .auth-member-main #content-container > .row {
        display: block;
        margin: 0;
    }

    .auth-member-main #content-container > .row > .col-md-3,
    .auth-member-main #content-container > .row > .col-md-9 {
        width: 100%;
        padding: 0;
    }

    .auth-member-layout .member-sidenav {
        position: fixed;
        z-index: 1031;
        top: 0;
        bottom: 0;
        left: -286px;
        width: 270px;
        height: 100vh;
        overflow-y: auto;
        border-radius: 0;
        transition: left .25s ease;
    }

    .auth-member-layout.sidebar-open .member-sidenav {
        left: 0;
    }

    .auth-member-layout .sidebar-toggle {
        position: fixed;
        z-index: 1032;
        right: 18px;
        bottom: 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        padding: 0;
        border: 1px solid #d9d5ca;
        border-radius: 50%;
        background: #315f49;
        color: #fff;
        box-shadow: 0 8px 24px rgba(49, 95, 73, .22);
    }
}

@media (max-width: 640px) {
    .member-container,
    .auth-member-main > .container,
    .auth-member-main > #content-container.container {
        width: calc(100vw - 28px);
        max-width: calc(100vw - 28px);
    }

    .member-brand {
        width: 140px;
        min-width: 140px;
    }

    .member-brand img {
        width: 140px;
        height: 47px;
    }

    .member-login {
        min-width: 96px;
        padding: 0 12px;
        font-size: 14px;
    }

    .auth-member-layout .panel > .panel-body {
        padding: 19px 16px 22px;
    }

    .auth-member-layout h2.page-header {
        font-size: 19px;
    }

    .member-footer-links {
        display: block;
        line-height: 2.2;
    }

    .member-footer-links a {
        display: inline-block;
        padding: 0 9px;
    }

    .member-footer-links a + a:before {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-member-layout *,
    .auth-member-layout *:before,
    .auth-member-layout *:after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
