/**
 * 数据表格
 */
.am-table-scrollable-horizontal {
    max-height: calc(100% - 50px);
    overflow-x: auto;
    overflow-y: auto;
}

/**
 * 顶部导航
 */
header.shop-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    min-height: 32px;
    margin: 0;
    z-index: 1000;
    background-color: #4386fb !important;
}
header.shop-header .am-topbar-brand {
    height: 32px;
    line-height: 32px;
}
header.shop-header .am-topbar-brand a {
    text-decoration: none;
}
.am-topbar-inverse .am-topbar-nav > li.am-active > a {
    color: #fff !important;
}
header.shop-header .am-topbar-btn {
    margin: 4px 5px 0 0;
    padding: 0.3em 1em;
}
header.shop-header .am-topbar-brand h2 {
    font-size: 18px;
    line-height: 32px;
}
header.shop-header .admin-site-vice-name {
    font-size: 12px;
    color: #eaeaea;
}
@media only screen and (min-width: 641px) {
    header.shop-header {
        width: calc(100% - 145px);
        left: 145px;
    }
    header.shop-header .am-topbar-brand,
    .am-topbar-nav > li > a {
        line-height: 32px;
    }
}

/**
 * 右侧内容
 */
.right-content-body {
    height: 100vh;
    padding: 42px 10px 10px 10px;
}
@media only screen and (min-width: 641px) {
    .right-content-body {
        margin-left: 145px;
    }
}

/**
 * 框架基础样式覆盖
 */
.am-btn.am-radius,
.am-badge.am-radius,
.am-switch {
    border-radius: 1000px !important;
}
.am-radius,
.am-table-scrollable-horizontal,
.am-img-thumbnail.am-radius,
.am-modal-dialog,
.am-popup .am-popup-inner,
.chosen-container .chosen-single,
.chosen-container .chosen-search input[type="text"],
.form-table-search td select[multiple],
.form-table-search td select[size],
.form-table-search td .chosen-container-multi .chosen-choices,
.am-alert,
.pagination-input,
ul.plug-file-upload-view li,
ul.plug-file-upload-view li img, ul.plug-file-upload-view-video li video,
.plug-file-upload-submit,
.am-popover,
.am-input-group-label,
.layout-category-choice .goods-category-choice-content ul,
.am-form-group .am-tagsinput,
.am-form-group .am-tagsinput .tag {
    border-radius: 6px !important;
}
.am-list li:first-child,
.am-modal-dialog .am-modal-hd {
    border-top-left-radius: 6px !important;
    border-top-right-radius: 6px !important;
}
.am-list li:last-child,
.am-modal-dialog .am-modal-bd {
    border-bottom-left-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
}
div.chosen-container-multi.chosen-with-drop .chosen-choices,
div.chosen-container.chosen-with-drop .chosen-single {
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}
.chosen-container .chosen-drop {
    border-bottom-left-radius: 3px !important;
    border-bottom-right-radius: 3px !important;
}
.am-input-group .am-form-field:first-child, .am-input-group-label:first-child, .am-input-group-btn:first-child > .am-btn, .am-input-group-btn:first-child > .am-btn-group > .am-btn, .am-input-group-btn:first-child > .am-dropdown-toggle, .am-input-group-btn:last-child > .am-btn:not(:last-child):not(.dropdown-toggle), .am-input-group-btn:last-child > .am-btn-group:not(:last-child) > .am-btn {
    border-bottom-right-radius: 0 !important;
    border-top-right-radius: 0 !important;
}
.am-input-group .am-form-field:last-child, .am-input-group-label:last-child, .am-input-group-btn:last-child > .am-btn, .am-input-group-btn:last-child > .am-btn-group > .am-btn, .am-input-group-btn:last-child > .am-dropdown-toggle, .am-input-group-btn:first-child > .am-btn:not(:first-child), .am-input-group-btn:first-child > .am-btn-group:not(:first-child) > .am-btn {
    border-bottom-left-radius: 0 !important;
    border-top-left-radius: 0 !important;
}
.am-table,
.am-panel {
    border-radius: 3px;
}
.am-panel .am-panel-hd {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}
.am-table thead tr th:first-child {
    border-top-left-radius: 3px;
}
.am-input-group .am-form-field:first-child,
.am-input-group .am-input-group-btn:first-child {
    border-top-left-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
}
.am-input-group-btn:last-child > .am-btn {
    border-top-right-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
}

/**
 * 可视化拖拽样式
 */
.group-border-radius-color span.am-input-group-label {
    border-radius: 0 !important;
}
.group-list-number-width {
    background: transparent !important;
}
button.colorpicker-submit,
.layout-category-choice .form-container-category .goods-category-choice-content,
.layout-category-choice .goods-category-choice .already-select-tips,
.business-operations-submit {
    border-radius: 6px;
}

/**
 * 左侧菜单
 */
.shop-menu-sidebar {
    position: fixed;
    z-index: 1020;
    bottom: 70px;
    right: 10px;
    -webkit-box-shadow: 0 0 15px rgba(0,0,0,0.5);
    -moz-box-shadow: 0 0 15px rgba(0,0,0,0.5);
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}
.shop-menu-sidebar::-webkit-scrollbar {
    display: none;
    scrollbar-width: none;
}
.shop-menu-sidebar {
    width: 145px;
    min-height: 100%;
    float: left;
}
.shop-menu-sidebar-list li a:hover {
    background: rgba(118, 119, 120, 0.45);
    text-decoration: none !important;
}
.shop-menu-sidebar .am-active a {
    background: #1cc09f !important;
    color: #fff !important;
    border-color: #1cc09f !important;
}
.shop-menu-sidebar-list li a {
    color: #b6b6b6;
    padding-left: 10px;
    padding: 0.8rem;
    text-decoration: none !important;
}
.shop-menu-sidebar-list li a i {
    width: 12px;
}
.shop-menu-sidebar-list li: first-child {
    border-top: none;
}
.shop-menu-offcanvas-bar .am-list > li {
    border-color: #2e2e31;
    border-style: solid;
    border-width: 0 0 1px 0;
    background-color: transparent;
}
.user-content {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    background: #fff;
}
.shop-menu-offcanvas-bar {
    z-index: 900;
}
@media only screen and (min-width: 641px) {
    .shop-menu-sidebar {
        display: block;
        position: relative;
        background: #36373c;
        z-index: 1000;
        height: 100%;
        position: fixed;
        left: 0;
        top: 0;
        overflow-y: scroll;
    }
    .shop-menu-offcanvas-bar {
        position: static;
        width: auto;
        background: none;
        -webkit-transform: translate3d(0,0,0);
        -ms-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
        overflow-y: hidden;
    }
    .shop-menu-offcanvas-bar:after {
        content: none;
    }
    .shop-menu-offcanvas-bar ul.shop-menu-sidebar-list {
        padding-bottom: 1px;
    }
}
@media only screen and (max-width: 640px) {
    .shop-menu-sidebar {
        width: inherit;
    }
    .shop-menu-offcanvas-bar:after {
        background: #BABABA;
    }
    .shop-menu-sidebar-list a:hover,.shop-menu-sidebar-list a:active {
        -webkit-transition: background-color .3s ease;
        -moz-transition: background-color .3s ease;
        -ms-transition: background-color .3s ease;
        -o-transition: background-color .3s ease;
        transition: background-color .3s ease;
        background: #E4E4E4;
    }
    .shop-menu-offcanvas-bar ul {
        margin-bottom: 0;
    }
}

/**
 * 模块数据列表
 */
.module-data-list li {
    padding: 5px 0;
}
.module-data-list li:not(:last-child) {
    border-bottom: 1px solid #eee;
}
.module-data-list li:first-child {
    padding-top: 0px;
}
.module-data-list li:last-child {
    padding-bottom: 0px;
}