$theme-color: #4980b5;
$theme-color-success: #31a592;
$theme-color-danger: #ca4d4d;
$theme-color-warning: #f1af58;
#app {
    .el-button--primary {
        background-color: $theme-color;
        border-color: $theme-color;
    }
    .el-button--primary.is-plain {
        &:hover {
            background: $theme-color;
            color: white;
        }
        border-color: $theme-color;
        background: lighten($theme-color, 48%);
        color: $theme-color;
    }
    .el-pagination.is-background .el-pager li:not(.disabled).active {
        background-color: $theme-color;
    }
    .el-button--danger {
        background-color: $theme-color-danger;
        border-color: $theme-color-danger;
        color: white;
    }
    .el-button--danger.is-plain {
        &:hover {
            background: $theme-color-danger;
            color: white;
        }
        border-color: $theme-color-danger;
        background: lighten($theme-color-danger, 40%);
        color: $theme-color-danger;
    }
    .el-button--success {
        background-color: $theme-color-success;
        border-color: $theme-color-success;
        color: white;
    }
    .el-button--success.is-plain {
        &:hover {
            background: $theme-color-success;
            color: white;
        }
        border-color: $theme-color-success;
        background: lighten($theme-color-success, 50%);
        color: $theme-color-success;
    }
    $curColr: $theme-color;
    .el-step__head:hover {
        cursor: pointer;
        color: $curColr;
        border-color: $curColr;
    }
    .el-step.active {
        .el-step__head {
            color: $curColr;
            border-color: $curColr;
        }
        .el-step__title.is-wait,
        .el-step__description.is-wait {
            color: $curColr;
        }
    }
}
.su {
    color: $theme-color-success;
    border-color: $theme-color-success;
}
.wr {
    color: $theme-color-warning;
    border-color: $theme-color-warning;
}
.dg {
    color: $theme-color-danger;
    border-color: $theme-color-danger;
}
.sd {
    color: #909399;
    border-color: #909399;
}
.mi {
    color: #d34108;
    border-color: #d34108;
}
.jinColor {
    color: red;
}
.sd.qiCr {
    color: rgb(48, 180, 107);
}
.sd.qiCr:hover {
    border-color: rgb(48, 180, 107);
}
.huiColr {
    color: gray;
}
/* 主题颜色 end*/
.pomentWrap {
    .el-row--flex.is-justify-space-around {
        height: calc(100vh - 110px);
    }
    .el-table {
        height: calc(100% - 120px);
    }
}
.icon {
    width: 1em;
    height: 1em;
    vertical-align: text-top !important;
    fill: currentColor;
    overflow: hidden;
}
.el-menu-item-group__title {
    display: none;
}
.TaletName {
    color: $theme-color;
    margin: 0;
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}
.el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content {
    background-color: #ddeafa;
}
.dbtn {
    display: inline-block;
    padding: 2px 5px;
    // color: $theme-color;
    cursor: pointer;
    border-radius: 3px;
    border-style: solid;
    border-width: 0;
}
.dbtn:hover {
    border-width: 1px;
}

.el-menu-item.is-active {
}
/* 上传样式 */
.uploader {
    .el-upload {
        width: 100px;
        height: 100px;
        background: #edf1f6;
        border: 1px dashed #416e9b;
        cursor: pointer;
        overflow: hidden;
        text-align: center;
        line-height: 100px;
        i {
            font-size: 1.5rem;
            color: #416e9b;
        }
    }
}
.noneTip {
    text-align: center;
    color: #2090e1;
    img {
        vertical-align: middle;
    }
}
.formBoxK {
    .tit {
        height: 40px;
        line-height: 40px;
        background: #31a592;
        color: #fff;
        text-align: center;
    }
    overflow: hidden;
    border: 1px solid #31a592;
    .el-form {
        padding: 20px;
    }
}

.enterDetail {
    border: 1px solid #31a592;
    padding: 10px;
    border-radius: 3px;
    overflow: hidden;
    h3 {
        text-align: center;
        margin: 10px;
    }
    .enterDetail-item {
        display: inline-block;
        max-width: 100%;
        min-width: 50%;
        line-height: 2;
        width: auto;
        color: #000;
        .itit {
            color: #919090;
        }
    }
    .el-cascader {
        width: auto;
        .el-cascader .el-input .el-input__inner {
            border: none;
        }
        .el-input.is-disabled .el-input__inner {
            background: none;
            border: none;
            color: #000;
        }
        .el-input__suffix {
            display: none;
        }
    }
}
main > div .el-table {
    min-height: calc(100% - 180px);
    max-height: calc(100% - 120px);
    height: auto;
}
.flexBox {
    display: flex;
    overflow: hidden;
    height: 100%;
    width: 100%;
    align-content: space-between;
    .flexBox-item:nth-child(1) {
        width: 30%;
    }
    .flexBox-item:nth-child(2) {
        width: 70%;
    }
    .flexBox-item {
        height: 100%;
    }
}

.enterDetail {
    .el-checkbox__label {
        font-size: 16px;
    }
    .el-checkbox__inner {
        width: 16px;
        height: 16px;
    }
}
/* 地图信息窗体 */
.popup{
    width: 500px;
    height: auto;
    background: rgb(2, 40, 90,0.9);
    padding: 10px;
    position: relative;
    border: 1px solid #030303;
    border-radius: 5px;
}
.popup:after, .popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
  }
  .popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 260px;
  }
  .popup:before {
    border-top-color: #030303;
    border-width: 11px;
    left: 260px;
  }
.pop-close{
    position: absolute;
    left: auto;
    right: 10px;
    top: 5px;
    font-size: 2em;
    cursor: pointer;
    color: #fff;
}
.windowDg {
    width: 100%;
    height: auto;
    overflow: hidden;
    font-family: "黑体", Arial, Helvetica, sans-serif;
    h3 {
        text-align: center;
        font-size: 1.1em;
        margin: 5px 0;
        color: #fff;
    }
    p {
        margin: 0;
        line-height: 2;
        color: #31dcc4;
        border-bottom: 1px #dadada dashed;
        width: 50%;
        display: inline-block;
        span {
            display: inline-block;
            color: #fff;
        }
    }
    .wxyWrap {
        clear: both;
        display: flex;
        justify-content: space-between;
        margin-top: 10px;
        .itm {
            display: inline-block;
            padding: 2px 7px;
            border: 1px solid #8696b2;
            background: #4980b5;
            color: #fff;
            border-radius: 8px;
            text-align: center;
            &:nth-child(1){
                background: #f5726c;
            }
            &:nth-child(2){
                background: #ef4d4d;
            }
            &:nth-child(3){
                background: #de3131;
            }
            &:nth-child(4){
                background: #c51414;
            }
            &:nth-child(5){
                background: #960303;
            }
        }
    }
}

.deadtime {
    padding-right: 5px;
    color: #4980b5;
}
.tagBox {
    overflow: hidden;
    padding-bottom: 10px;
    > div {
        display: inline-block;
        margin-right: 15px;
    }
    .tagi {
        color: #fff;
        background: #0089ff;
        border: 1px solid #848080;
        padding: 10px;
        border-radius: 6px;
        cursor: pointer;
        &.active {
            box-shadow: 1px 3px 5px 1px #0c2941;
        }
    }
    .ing {
        background: #ea5454;
    }
    .done {
        background: #399e18;
    }
}

.mark {
    padding: 2px 5px;
    color: #fff;
    border-radius: 6px;
    display: inline-block;
    &.none {
        background: #ea5454;
    }
    &.handle {
        background: #bb54ea;
    }
    &.auto {
        background: #399e18;
    }
}
