/*左侧导航*/
.layui-layout-admin .layui-side {
    /*top: 0;*/
    width: 124px;
}


.layui-nav.layui-nav-tree {
    width: 124px;
}

.layui-layout-admin .layui-body {
    /*top: 0;*/
    left: 124px;
}

.left a:hover {
    cursor: pointer;
}

.left a {
    display: flex !important;
    align-items: center;
}

.left img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    opacity: 0.7;
}

/*表单label宽度*/
.layui-form-pane .layui-form-label {
    width: 130px;
}

.layui-form-pane .layui-input-block {
    margin-left: 130px
}

/*表格*/
.layui-table td {
    max-width: 300px;
}

.layui-table img {
    max-width: 40px;
}


/*左上角*/
.admin {
    width: 124px;
    text-align: center;
    margin: 30px 0 20px 0;
}

.admin img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.login {
    width: 400px;
    text-align: center;
    margin: 200px auto;
}

.login input {
    margin-bottom: 10px;
}

footer {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 15px;
    box-shadow: 0 -3px 5px #eee;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    background: #fff;
}

iframe {
    width: 100%;
    height: 100%;
    border: 0;
    vertical-align: top
}


.layui-layout-admin .layui-body {
    padding-bottom: 0 !important;
}

body, .layui-body {
    padding: 15px 15px 60px;
}

/*富文本编辑器*/
#editor—wrapper {
    border: 1px solid #ccc;
}

#toolbar-container {
    border-bottom: 1px solid #ccc;
}

#editor-container {
    height: 300px;
}

.w100 {
    width: 100px !important;
}

/*添加商品页*/
.sku-list {
    display: none;
}

.spec {
    display: flex;
    flex-wrap: wrap;
}

.spec > div, .sku > div {
    margin-bottom: 10px;
}

.spec:nth-child(n+0) {
    margin-left: 130px;
    margin-top: 10px;
}

.upload {
    width: 80px;
    height: 80px;
    border-radius: 2px;
    background-color: #f5f6f9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.upload i {
    font-size: 24px;
    color: #969799;
    font-weight: 600;
}

.img-list {
    display: flex;
    flex-wrap: wrap;
}

.img-item {
    position: relative;
    margin: 0 10px 10px 0;
    border: 1px solid #ddd;
    border-radius: 2px;
}

.img-item .layui-icon-clear {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 18px;
    cursor: pointer;
}

.img-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 2px;
}

.img-item:first-of-type {
    display: none;
}

.flex-align-center {
    display: flex;
    align-content: center;
}

.img-size-desc {
    font-size: 10px;
    color: #888;
}
