@charset "utf-8";

.drop-area {
    margin: 100px 30px 30px 30px;
    background-color: white;
    border: 1px dashed #e2e2e2;
}

.upload-lay {
    text-align: center;
}

.upload-image {
    width: 60px;
    text-align: center;
    margin-top: 30px;
}

.upload-btn {
    text-align: center;
    margin-top: 30px;
}

.upload-tip {
    word-wrap: break-word;
    margin: 5px;
    color: #999;
    font-size: 13px;
}

.drop-input-button {
    position: relative;
    background-color: #fff;
    color: #666;
    font-size: 16px;
    padding: 0 10px;
    line-height: 40px;
    border: 0;
    text-align: center;
}

.drop-input-tip {
    position: absolute;
    left: 30px;
    right: 30px;
    top: 30px;
    bottom: 30px;
    word-wrap: break-word;
    outline: none;
    border: none;
    background: none;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
    opacity: 0;
    cursor: default;
}

.upload-table {
    max-width: calc(100vw - 30px);
    margin-left: 15px;
    margin-right: 15px;
    border: 1px solid #e6e6e6;
    border-right: 0;
    border-bottom: 0;
}

.tr {
    display: flex;
}

.th,
.td {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border-bottom: 1px solid #e6e6e6;
    border-right: 1px solid #e6e6e6;
    flex-shrink: 0;
    color: #666;
    font-size: 13px;
}

.th {
    font-weight: 500;
    background-color: #f2f2f2
}

.item-lay {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.item-empty-lay {
    white-space: nowrap;
    overflow: hidden;
    color: #999;
    text-overflow: ellipsis
}

.edit-item {
    width: 40px;
    color: white;
    border-radius: 8px;
    font-size: 13px;
    line-height: 25px;
    text-align: center;
    background-color: #1550a2;
}

.scroll-lay {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
}

.scroll-image-icon {
    width: 18px;
}

.scroll-tip {
    color: #666;
    font-size: 13px;
    line-height: 30px;
    margin-left: 5px;
}

.confirm-btn {
    width: 150px;
    color: white;
    margin: 10px auto;
    border-radius: 8px;
    font-size: 16px;
    line-height: 40px;
    text-align: center;
    box-shadow: 0px 1px 5px #1a498f;
    background-color: #1550a2;
}

.number-oper {
    font-size: 14px;
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    padding: 0;
    background: #f9f9f9;
    border-radius: 0;
    border: 1px solid #e6e6e6;
}

.number-input {
    font-size: 14px;
    width: 40px;
    height: 30px;
    line-height: 30px;
    padding: 0;
    text-align: center;
    border: 1px solid #e6e6e6;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
}

/*tc-box*/
.tc-box {
    width: 100vw;
    height: 100vh;
    background-color: #f6f6f8;
    display: flex;
    flex-direction: column;
}

.search {
    display: flex;
    margin-left: 10px;
    margin-right: 10px;
    padding-top: 10px;
    white-space: nowrap;
    align-items: center;
}

.close {
    width: 25px;
    height: 25px;
}

.material-input {
    flex: 1;
    padding-left: 5px;
    height: 30px;
    margin-left: 10px;
    line-height: 30px;
    background-color: #fff;
    border-radius: 1px;
    border: 1px solid #e6e6e6;
}

.category-content {
    width: 100vw;
    height: calc(100vh - 110px);
    white-space: nowrap;
    margin-top: 10px;
    display: flex;
    align-items: flex-start;
}

.category-content-menu {
    width: calc(40% - 10px);
    max-height: calc(100vh - 110px);
    margin-left: 10px;
    white-space: nowrap;
    border: 1px solid #e6e6e6;
    border-right: 0;
    border-bottom: 0;
    align-self: flex-start
}

.category-content-item {
    width: calc(60% - 20px);
    max-height: calc(100vh - 110px);
    margin-left: 10px;
    margin-right: 10px;
    white-space: nowrap;
    overflow: auto;
    border: 1px solid #e6e6e6;
    border-right: 0;
    border-bottom: 0;
    align-self: flex-start
}

.menu-cell {
    font-size: 14px;
    height: 30px;
    line-height: 30px;
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #e6e6e6;
    border-right: 1px solid #e6e6e6;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 10px;
}

.menu-cell-select {
    font-size: 14px;
    height: 30px;
    line-height: 30px;
    font-weight: bold;
    background-color: #1550A2;
    color: white;
    border-bottom: 1px solid #e6e6e6;
    border-right: 1px solid #e6e6e6;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 10px;
}

.item-cell {
    font-size: 14px;
    height: 30px;
    line-height: 30px;
    color: #333;
    border-bottom: 1px solid #e6e6e6;
    border-right: 1px solid #e6e6e6;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 10px;
}

.item-cell-select {
    font-size: 14px;
    height: 30px;
    line-height: 30px;
    background-color: #1550A2;
    color: white;
    border-bottom: 1px solid #e6e6e6;
    border-right: 1px solid #e6e6e6;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 10px;
}

.cancel-btn {
    width: 150px;
    color: white;
    margin: 10px auto;
    border-radius: 8px;
    font-size: 16px;
    line-height: 40px;
    text-align: center;
    box-shadow: 0px 1px 5px #1a498f;
    background-color: #1550a2;
}

.detail-item-lay {
    display: flex;
    white-space: nowrap;
    align-items: center;
    align-items: flex-start;
    margin-top: 13px;
    margin-bottom: 13px;
}

.detail-item-title {
    white-space: nowrap;
    align-items: center;
    color: #333;
    font-size: 15px;
}

.detail-item-text {
    white-space: nowrap;
    align-items: center;
    color: #666;
    font-size: 15px;
    margin-left: 5px;
}

.detail-number {
    font-size: 14px;
    display: inline-block;
    width: 50px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background: #f9f9f9;
    position: relative;
    margin-left: 5px;
}

.detail-number {
    display: inline-block;
    max-width: 100px;
    padding: 0;
    text-align: center;
    position: relative;
}

.detail-remark {
    width: calc(100% - 10px);
    min-height: 100px;
    font-size: 15px;
    color: #666;
    background-color: white;
    padding: 5px;
    margin-top: 5px;
    border: 1px dashed #e2e2e2;
}

/* 下拉框 */
.select_box {
    background: #f6f6f8;
    width: 100px;
    /* margin: 0 auto; */
    height: 30px;
    line-height: 30px;
    text-align: left;
    position: relative;
    margin-left: 5px;
    border: 1px solid #e6e6e6;
}

.select {
    box-sizing: border-box;
    width: 100%;
    height: 30px;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.select_text {
    align-items: center;
    color: #666;
    font-size: 15px;
    flex: 1;
    line-height: 30px;
    height: 30px;
}

.select_img {
    width: 20px;
    height: 20px;
    display: block;
    transition: transform 0.3s;
}

.select_img_rotate {
    transform: rotate(180deg);
}

.option_box {
    position: absolute;
    top: 30px;
    width: 100%;
    /* border: 1px solid #efefef; */
    box-sizing: border-box;
    height: 0;
    overflow-y: auto;
    border-top: 0;
    background: #fff;
    transition: height 0.3s;
    z-index: 100;
}

.option {
    display: block;
    line-height: 20px;
    font-size: 14px;
    border-bottom: 1px solid #efefef;
    padding: 5px;
    color: #666;
}

/*** 消除input元素 type="number" 时默认的 加减按钮*/
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/*** 消除input元素 type="number" 时默认的 加减按钮---moz版*/
input[type=number] {
    -moz-appearance:textfield;
}
