.md-width {
    width: 872px;
}

.bom-fl {
    float: right;
}


/*bomupload start*/
.bom-coneainer {
    padding: 40px;
    background-color: #f7f7f7;
}

.bom-head {
    width: 840px;
    margin: 0 auto;
}

.bom-title {
    text-align: center;
    font-size: 16px;
}

.bom-hold {
    float: right;
    font-size: 14px;
}

.bom-content {
    width: 840px;
    height: 240px;
    background-color: #ffffff;
    border: 1px solid #e4e4e4;
    margin: 0 auto;
    padding: 10px 0px;
}

.bom-picture {
    float: left;
    width: 30%;
    padding-left: 15%;
}

.bom-text {
    float: left;
    width: 70%;
}

.bom-interval {
    margin-top: 20px;
    overflow: hidden;
}

#modalup, #bmcopy, #modal-saved {
    outline: none;
}

.modal-footer {
    border-top: none;
}

.modal-header {
    border-bottom: none;
}

.bom-up-content {
    position: relative;
    overflow: hidden;
    margin-top: 30px;
    text-align: center;
}

.bom-upload {
    background: #0094d4;
    position: relative;
    cursor: pointer;
    width: 140px;
    height: 38px;
    line-height: 38px;
    border: 1px solid #0082bb;
    color: #ffffff;
    border-radius: 3px;
    text-align: center;
    /*float: left;*/
    margin: 0 auto;
}

.bom-upload a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    font-size: 13px;
}

.bom-upload-text {
    /*float: left;*/
    line-height: 26px;
    margin-left: 6px;
    font-size: 12px;
}

.upload_btn_box {
    padding: 20px 0 5px 0;
    text-align: right;
}

.bom-btn {
    padding: 4px 9px;
}

.bom-disabled {
    background: #BBBBBB;
    color: #ffffff;
}

.bom-copy-btn {
    padding: 4px 27px;
    font-size: 13px;
    margin-top: 10px;
    text-align: center;
    margin-left: 119px;
}

.copy-content p {
    font-size: 12px;
}

.copy-content p span {
    color: #ff0000;
    font-size: 14px;
}

/*bomupload end*/


/*bommatch start*/
.bommatch {
    padding: 15px;
    background-color: #f7f7f7;
    font-size: 12px;
}

.bm-head {
    position: relative;
}

.bom-add {
    padding: 2px 17px;
    font-size: 12px;
    text-align: center;
    margin-left: 5px;
}

.bm-head input[type="checkbox"] {
    vertical-align: -3px;
    margin-left: 8px;

}

.bm-content {
    width: 100%;
    background: #fff;
    margin-top: 25px;
}

.bm-content .title {
    height: 42px;
}

.bm-content .title h2 {
    font-size: 20px;
    font-family: "microsoft yahei";
}

.bm-content .title-list {
    position: relative;
    padding: 0px;
}

.bm-content .title-list li {
    width: 20%;
    line-height: 42px;
    text-align: center;
    float: left;
    display: inline;
    background-color: #efefef;
    cursor: pointer;
}

.bm-content .title-list li.on {
    color: #0094d4;
    font-weight: bold;
    background-color: #ffffff;
}

.bm-content .title-list p {
    position: absolute;
    top: 39px;
    left: 0px;
    width: 20%;
    height: 7px;
    border-top: 3px solid #0094d4;
    overflow: hidden;
    text-align: center;
}

.product {
    /*height: 268px;*/
    position: relative;
    /*overflow: hidden;*/
    display: none;
}

.bm-content .product-wrap #loader {
    justify-content: center;
    align-items: center;
    padding: 40px 0px 30px 0;
    text-align: center;
    width: 12%;
    margin: 0 auto;
    display: none;
}

.bm-show {
    display: block;
}

.bm-table thead th {
    text-align: center;
    padding: 8px 0px;
    /*border-bottom: none;*/
}

.bm-table tbody tr td {
    text-align: center;
    vertical-align: middle;
}

.table-bordered > thead > tr > th, .table-bordered > thead > tr > td {
    border-bottom-width: 0px;
}

.bm-open, .bm-prompt, .bm-see-price {
    background-image: url("https://res.ameya360.com/basedata/oldassets/images/allimage/bom_icon.png");
    background-repeat: no-repeat;
    display: inline-block;
    vertical-align: -3px;
    margin-left: 7px;
}

.bm-open, .bm-prompt, .bm-see-price {
    width: 16px;
    height: 16px;
    position: relative;
    cursor: pointer;
}

.bm-del {
    background-image: url("https://res.ameya360.com/basedata/oldassets/images/allimage/bom_del.png");
    background-repeat: no-repeat;
    display: inline-block;
    vertical-align: -3px;
    width: 20px;
    height: 22px;
    cursor: pointer;
    margin: 0 6px;
}

.bm-prompt {
    background-position: 0px -40px;
    position: absolute;
    top: 0;
    right: 0;
}

.bm-see-price {
    background-position: 0px -58px;
}

.td-recommend div {
    text-align: left;
}

.bm-prompt-title:before {
    position: absolute;
    top: -4px;
    left: 61px;
    width: 7px;
    height: 7px;
    content: "";
    border: 1px solid #ff1010;
    border-bottom: 0;
    border-right: 0;
    background: #fff;
    transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}

.bm-prompt-title {
    position: absolute;
    left: -57px;
    top: 24px;
    border: 1px solid #ff1010;
    color: #ff1010;
    background-color: #ffffff;
    padding: 5px;
    display: none;
    width: 136px;
}

.bm-prompt:hover .bm-prompt-title {
    display: block;
}

.price-content {
    position: absolute;
    padding: 15px;
    border: 1px solid #2eb4d5;
    background: #fff;
    top: 23px;
    left: -10px;
    z-index: 99;
    color: #222;
    display: none;
}

.price-content:before {
    position: absolute;
    top: -6px;
    left: 12px;
    width: 10px;
    height: 10px;
    content: "";
    border: 1px solid #2eb4d5;
    border-bottom: 0;
    border-right: 0;
    background: #fff;
    transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}

.price-content table th {
    text-align: right;
}

.bm-see-price:hover .price-content {
    display: block;
}

.bm-open-con {
    display: none;
}

/*.bm-open:hover{*/
/*background-image: url("https://res.ameya360.com/basedata/oldassets/images/allimage/bom_icon.png");*/
/*background-repeat: no-repeat;*/
/*display: inline-block;*/
/*vertical-align: -3px;*/
/*margin-left: 7px;*/
/*background-position: 0px -20px;*/
/*}*/

.rotate {
    transform-origin: center center;
/ / 旋转中心要是正中间 才行 transform: rotate(180 deg);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transition: transform 0.2s;
/ / 过度时间 可调 -moz-transition: -moz-transform 0.2 s;
    -moz-transition: -moz-transform 0.2s;
    -o-transition: -o-transform 0.2s;
    -ms-transition: -ms-transform 0.2s;
}

.rotate1 {
    transform-origin: center center;
    transform: rotate(0deg);
/ / 返回原点 -webkit-transform: rotate(0 deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transition: transform 0.2s;
    -moz-transition: -moz-transform 0.2s;
    -moz-transition: -moz-transform 0.2s;
    -o-transition: -o-transform 0.2s;
    -ms-transition: -ms-transform 0.2s;
}

/*.bm-open:hover .bm-open-con{*/
/*display: block;*/
/*}*/

.saved-table thead th {
    text-align: center;
    padding: 8px 0px;
    /*border-bottom: none;*/
    background-color: #dddddd;
}

.saved-table tbody tr td {
    text-align: center;
    vertical-align: middle;
}

.bom-search {
    padding: 3px 28px;
    font-size: 12px;
    text-align: center;
    margin-left: 5px;
}

.sd-more, .sd-excel, .sd-del {
    width: 16px;
    height: 16px;
    display: inline-block;
    margin: 0px 5px;
    background: url("https://res.ameya360.com/basedata/oldassets/images/allimage/sd-icon.png") no-repeat;
    cursor: pointer;
}

.sd-excel {
    background-position: 0px -20px;
}

.sd-del {
    background-position: 0px -42px;
}

/*bommatch end*/
.ball-grid-pulse > div {
    background-color: #279fcf;
    width: 15px;
    height: 15px;
    border-radius: 100%;
    margin: 2px;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    display: inline-block;
    float: left;
    -webkit-animation-name: ball-grid-pulse;
    animation-name: ball-grid-pulse;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-delay: 0;
    animation-delay: 0;
}

@-webkit-keyframes ball-spin-fade-loader {
    50% {
        opacity: 0.3;
        -webkit-transform: scale(0.4);
        transform: scale(0.4);
    }

    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes ball-spin-fade-loader {
    50% {
        opacity: 0.3;
        -webkit-transform: scale(0.4);
        transform: scale(0.4);
    }

    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

.ball-spin-fade-loader {
    position: relative;
}

.ball-spin-fade-loader > div:nth-child(1) {
    top: 25px;
    left: 0;
    -webkit-animation: ball-spin-fade-loader 1s 0s infinite linear;
    animation: ball-spin-fade-loader 1s 0s infinite linear;
}

.ball-spin-fade-loader > div:nth-child(2) {
    top: 17.04545px;
    left: 17.04545px;
    -webkit-animation: ball-spin-fade-loader 1s 0.12s infinite linear;
    animation: ball-spin-fade-loader 1s 0.12s infinite linear;
}

.ball-spin-fade-loader > div:nth-child(3) {
    top: 0;
    left: 25px;
    -webkit-animation: ball-spin-fade-loader 1s 0.24s infinite linear;
    animation: ball-spin-fade-loader 1s 0.24s infinite linear;
}

.ball-spin-fade-loader > div:nth-child(4) {
    top: -17.04545px;
    left: 17.04545px;
    -webkit-animation: ball-spin-fade-loader 1s 0.36s infinite linear;
    animation: ball-spin-fade-loader 1s 0.36s infinite linear;
}

.ball-spin-fade-loader > div:nth-child(5) {
    top: -25px;
    left: 0;
    -webkit-animation: ball-spin-fade-loader 1s 0.48s infinite linear;
    animation: ball-spin-fade-loader 1s 0.48s infinite linear;
}

.ball-spin-fade-loader > div:nth-child(6) {
    top: -17.04545px;
    left: -17.04545px;
    -webkit-animation: ball-spin-fade-loader 1s 0.6s infinite linear;
    animation: ball-spin-fade-loader 1s 0.6s infinite linear;
}

.ball-spin-fade-loader > div:nth-child(7) {
    top: 0;
    left: -25px;
    -webkit-animation: ball-spin-fade-loader 1s 0.72s infinite linear;
    animation: ball-spin-fade-loader 1s 0.72s infinite linear;
}

.ball-spin-fade-loader > div:nth-child(8) {
    top: 17.04545px;
    left: -17.04545px;
    -webkit-animation: ball-spin-fade-loader 1s 0.84s infinite linear;
    animation: ball-spin-fade-loader 1s 0.84s infinite linear;
}

.ball-spin-fade-loader > div {
    background-color: #279fcf;
    width: 15px;
    height: 15px;
    border-radius: 100%;
    margin: 2px;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    position: absolute;
}

@-webkit-keyframes ball-spin-loader {
    75% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }
}

@keyframes ball-spin-loader {
    75% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }
}
