/*弹窗兼容*/
body.ngdialog-open {
    overflow: visible !important;
}
.letter-spacing-1{
    letter-spacing: 1em;
}
div.box-b{
    border-radius: 6px;
    border: 1px solid #E6E6E6;
}
div.ngdialog.ngdialog-theme-default .ngdialog-content{
    background-color: white;
}
/*操作引导*/
#blankDiv{
    position: fixed;
    overflow: hidden;
}
#blankDiv > div{
    margin-top: 0;
    transform-origin: left top;
    transition: all .5s linear;
}
/*拖拽蒙层*/
.drop-container .drop-mask{
    display: block;
}
.drop-mask{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(0,0,0,0.5);
    transition: all 0.3s;
}
.drop-mask > .drop-content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 40%;
    background: rgba(0,0,0,0.5);
    color: white;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    margin: 0 auto;
    padding: 0 30px;
    border: 2px dotted #fff;
}
/*模块编号*/
.section-title > span:first-child {
    border-radius: 50%;
    width: 24px;
    height: 24px;
    line-height: 24px;
}
/*选择工艺*/
.route-btn-field>a+a{
    margin-left: 20px;
}
.route-btn-field>a>div{
    border-radius: 6px;
    border: 1px solid #E6E6E6;
    color: #242733;
}
.route-btn-field>a.active div,
.route-btn-field>a>div:hover{
    border-color: var(--theme);
    color: var(--theme);
}
.route-btn-field>a>div .img-selected{
    display: none;
}
.route-btn-field>a>div:hover .img-selected{
    display: inline-block;
}
.route-btn-field>a>div:hover .img-default{
    display: none;
}
.route-btn-field>a.active .img-selected{
    display: inline-block;
}
.route-btn-field>a.active .img-default{
    display: none;
}

.route-btn-field>a>div .iconfont{
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

/*拖拽区域*/
.quotation-drop-zone{
    border: 1px dashed #ced4d8;
    border-radius: 6px;
    padding: 60px 0;
    font-weight: normal;
}
.quotation-drop-zone:hover{
    transition: all .25s;
    background-color: #f1f2f3;
}
/*图纸列表*/
.drawing-container .table {
    border-collapse: separate;
}
.drawing-container .table > tbody > tr > td,
.drawing-container .table > tbody > tr > th{
    text-align: center;
    vertical-align: middle;
    font-weight: 400;
    color: #43485E;
    padding: 20px 8px;
    border-top: none;
}
.drawing-container .table > tbody > tr > th.text-left,
.drawing-container .table > tbody > tr > td.text-left{
    text-align: left;
}
.drawing-container .table > tbody + tbody{
    border-top: none;
}
.drawing-container .table > tbody > tr.box-b > td {
    border-top: 1px solid #E6E6E6;
    border-bottom: 1px solid #E6E6E6;
}

.drawing-container .table > tbody > tr.box-b > td:first-child {
    border-left: 1px solid #E6E6E6;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.drawing-container .table > tbody > tr.box-b > td:last-child {
    border-right: 1px solid #E6E6E6;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}
/*自动报价的输入框*/
.form-control{
    box-shadow: none;
    outline: none;
    border-radius: 6px;
    border: 1px solid #ccc;
}
/*图纸列表 - 图纸图片*/
.drawing-container .img-container{
    width: 160px;
    height: 160px;
}
.drawing-container .img-container .img-zoom{
    z-index: 2;
    display: none;
    width: 100%;
    height: 100%;
    padding-top: 50px;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
}
.drawing-container .img-container:hover .img-zoom{
    display: block;
}
/*图纸列表 - 加载中*/
.drawing-container .loader-box {
    width: 40px;
    height: 40px;
    border: .2em solid transparent;
    border-top-color: currentcolor;
    border-radius: 50%;
    -webkit-animation: 1s loader-box linear infinite;
    animation: 1s loader-box linear infinite;
    position: relative;
}
.loader-box:before {
    content: '';
    display: block;
    width: inherit;
    height: inherit;
    position: absolute;
    top: -.2em;
    left: -.2em;
    border: .2em solid currentcolor;
    border-radius: 50%;
    opacity: .5;
}
@-webkit-keyframes loader-box {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes loader-box {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
/*图纸列表 - 选择猜料*/
.drawing-container .btn-material-selector{
    background: rgba(32, 64, 187, 0.1);
    border-radius: 4px;
    padding-top: 2px;
    padding-bottom: 2px;
}
/*图纸列表 - 删除，复制按钮*/
.drawing-container .icon-add-circle,
.drawing-container .icon-del{
    color: rgba(67, 72, 94, 0.56);
}
.drawing-container .icon-add-circle:hover{
    color: var(--success);
}
.drawing-container .icon-del:hover{
    color: #FA5151;
}
/*图纸列表 - 解析进度条*/
.drawing-container .progress{
    top: -3px;
    height: 2px;
    border-radius: 0;
    margin-bottom: 0;
    position: relative;
}
.drawing-container .progress-bar-info,
.xls-file.progress-bar-info{
    background-color: var(--theme);
}
/*报价结算 - 气泡*/
.popover-quotation.popover{
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 360px;
    width: 360px;
    display: block;
    border: 1px solid #E8EBE9;
    box-shadow: none;
    z-index: 2;
}
.popover-quotation.popover>.arrow{
    left: 50%;
    border-bottom-color: #E8EBE9;
}
/*表头固定*/
.d-table-sticky th{
    position: sticky;
    top: 68px;
    height: 62px;
    background: #fff;
    vertical-align: middle;
    z-index: 4;
}
.d-table-sticky td:first-child,
.d-table-sticky th:first-child {
    position: sticky;
    left: 0;
}
