$font-family-A: "Helvetica Neue", Tahoma, "PingFang SC", "Hiragino Sans GB", SimSun, STHeitiSC, sans-serif;
$font-family-H: 'Helvetica Neue', Tahoma, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', STHeitiSC, sans-serif;
.form {
    .acConfirmMove {
        animation: confirmMove 1s infinite;
    }
    @keyframes confirmMove /* Safari 和 Chrome */
    {
        0% {
            transform: translate(5px, 0px);
        }
        12% {
            transform: translate(-5px, 0px);
        }
        24% {
            transform: translate(5px, 0px);
        }
        36% {
            transform: translate(-5px, 0px);
        }
        48% {
            transform: translate(5px, 0px);
        }
        60% {
            transform: translate(0px, 0px);
        }
        72% {
            transform: translate(0px, 0px);
        }
        84% {
            transform: translate(0px, 0px);
        }
        96% {
            transform: translate(0px, 0px);
        }
        100% {
            transform: translate(0px, 0px);
        }
    }
    .pop-open-after {
        -webkit-animation-timing-function: none;
        animation-timing-function: none;
        -webkit-animation-duration: none;
        animation-duration: none;
        -webkit-animation-fill-mode: none;
        animation-fill-mode: none;
        -webkit-animation-play-state: none;
        animation-play-state: none;
        -webkit-animation-name: none;
        animation-name: none;
        -webkit-animation-play-state: none;
        animation-play-state: none;
    }

    .form_confirm_shade {
        position: absolute;
        left: 0px;
        top: 0px;
        height: 100%;
        width: 100%;
        z-index: 1000000;
        background: #000;
        background-color: #03101A;
        opacity: 0;
    }
    .confirm-pop {
        z-index: 100000000;
    }
    .button-list {

        .drop-down-button {
            .drop-down-btn-small {
                margin-right: 10px;
            }
        }
    }
    .FormConformBorder {
        padding-bottom: 60px;
        min-height: 40px;
        width: 340px;
        background: #fff;
        position: absolute;
        z-index: 10000;
        box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.3);
        top: 48px;
        .formConfirmList {
            margin-left: 15px;
            margin-right: 15px;
            word-break: break-all;
            font-family: $font-family-H;
        }
        .formTipButton {
            position: absolute;
            right: 5px;
            bottom: 0px;
            .base-button-component {
                margin-right: 10px;
            }
        }
        .FormConfirmTextArea {
            width: 310px;
            margin-left: 15px;
            margin-top: 10px;
            margin-bottom: 10px;
            word-break: break-all;
            // margin-bottom: 60px;
            font-family: $font-family-H;
        }
    }
    .line {
        height: 2px;
        background-color: #E4EBF0;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .form-item__help .sys-icon-cus-bangzhu {
        margin-left: 4px;
        margin-top: 1px;
    }

    .form-item__right-icon i + i {
        line-height: 0;
    }

    .form-item input.base-input-contain {
        box-sizing: border-box;
    }

    .form-item__multi-list {
        padding-right: 20px;
    }

    .text-box .form-item__right-icon {
        top: 14px;
    }
    // .formpart {
    // 	.autoTreeBorder{
    //  	.innerAutoTree{
    //  		.u-icon.pc-sys-cus-bitian-svg {
    // 			// margin-bottom: 10px;
    // 		}
    // 	}
    // }
    // }

}

.twoLineFormStyleShowUpAndDown {
    .formpart {
        .fields {
            .bc-form-item {
                .fileUploader, .formUploader {
                    .show-status {
                        padding-left: 0px;
                    }
                }
            }
        }
    }
}

.oneLineFormStyleShowUpAndDown {
    .formpart {
        .fields {
            .bc-form-item {
                .fileUploader, .formUploader {
                    .show-status {
                        padding-left: 0px;
                    }
                }
            }
        }
    }
}

.form-header {
    padding-top: 5px;
    .title {
        font-size: 16px;
        color: #36434D;
        line-height: 30px;
        font-family: $font-family-H;
    }
    .header-icon {
        width: 30px;
        color: #FFF;
        display: inline-block;
        text-align: center;
        border-radius: 47px;
        height: 30px;
        margin-right: 10px;
        line-height: 30px;
    }
}

.form-footer {
    position: fixed;
    height: 50px;
    bottom: 0px;
    right: 19px;
    width: 100%;
    margin-right: -19px;
    border-radius: 2px;
    background-color: #ffffff;
    z-index: 10000;
    border-top: 1px solid #e4ebf0;
    .formImportButton {
        position: absolute;
        right: 200px;
        top: 15px;
        color: #005999;
        &:hover {
            color: #1687d9;
        }
    }

}

.form-footer span.base-bg-ripple {
    float: right;
    margin-left: 10px;
    &:last-child {
        margin-left: 0;
    }
;
}

.form-footer span.base-bg-save-unClick {
    background: rgba(170, 213, 242, 1) !important;
    color: rgba(245, 249, 252, 1) !important;
}

.form-footer span.base-bg-cancel-unClick {
    background: rgba(245, 249, 252, 1) !important;
    color: rgba(195, 203, 208, 1) !important;
}

.form-footer > span:first-child {
    margin-right: 18px;
}

.common-pop-window-content, .pop-tree-window-content {
    div {
        .form {
            border: none;
            padding: 0;
            margin-top: 0;
            .form-header {
                display: none;
            }
        }
    }
}

.overflowEllipsis {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    max-width: 100%;
    vertical-align: top;
}

.pop-tree-window-header {
    position: fixed;
    height: 35px;
    background-color: #005999;
    color: #ffffff;
    text-align: center;
    line-height: 35px;
    top: 0;
    width: 100%;
    z-index: 1;

}

.window-close-btn {
    position: absolute;
    cursor: pointer;
    right: 16px;
    top: 0;
}

.import-form .staticformlabel {
    border-bottom: none;
}

.popFormBorder .hint-pop {
    left: 0;
    right: 0;
    margin: 0 auto;
}

.popFormBorder .round-pattern-pop-outer {
    left: 0;
    right: 0;
    margin: 0 auto;
    position: absolute;
    background: #fff;
    z-index: 10000000000;
}

.popFormBorder .confirm-pop {

}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .overflowEllipsis {
        display: inline-block;
    }
    .popFormBorder {
      .form {
        .form-item__title {
          .form-item__text {
            // display: inline;
            // padding: 7px 0px 7px 5px;
          }
        }
      }
    }
}

@-moz-document url-prefix() {
    .overflowEllipsis {
        // display:inline; //在Firefox中表单label帮助图标不居中了，是这个样式影响，所以注释掉，暂时不知道对其他有何影响
    }
}


.content.keyboardEventStyle, .modal-pop.keyboardEventStyle {
    .form-footer .isFocusableButton:focus {
        outline: none;
        box-shadow: #1687d9 0 0 7px 0;
        border-raidus: 4px;
    }
    .radiobutton .rb-radioBox:focus {
        outline: none;
        box-shadow: #1687d9 0 0 7px 0;
        border-raidus: 2px;
    }
}

.formStyleUpAndDown {
    .formpart {
        .fields {
            .bc-form-item {
                .form-item__title {
                    .form-item__text {
                        // max-width: calc(100% - 22px);
                        // position: relative;
                    }
                }
            }
        }
        .autoTreeBorder {
            .innerAutoTree {
                .u-icon.pc-sys-cus-bitian-svg {
                    margin-bottom: 1px;

                }
            }
        }
    }
}

.isIeFormPart {
    .formpart {
        .fields {
            .bc-form-item {
                .form-item__text {
                    .fade-out {
                        background: -ms-linear-gradient(left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
                    }
                }
            }
        }
    }
}

.formStyleLeftAndRight {

    .formpart {
        .fields {
            .bc-form-item {
                .computaionRule{
                    .form-item__title{
                        .form-item__required{
                            top:-5px !important;
                        }
                    }
                }
                .field-right {
                    .focusable-upload-btn {
                        margin-top: 1px;
                    }
                }
                .form-item_is-static {
                    .form-item__title {
                        .form-item__text {
                            margin: 6px 0px 0px 0px;
                        }
                    }
                }
                .form-item__title {
                    white-space: normal;
                    position: relative;
                    justify-content: flex-end;
                    .form-item__required {
                        // position:absolute;
                        position: relative;
                        top: -5px;
                        left: 6px;
                        line-height: 24px;
                    }
                    .form-item__text {
                        white-space: normal;
                        height: 32px !important;
                        text-indent: 0px;
                        line-height: 16px;
                        margin: 6px 0px 0px 7px;
                        word-break: break-all;
                        position: relative;
                        padding-top: 0px !important;

                        .fade-out {
                            background: -o-linear-gradient(left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
                            background: -moz-linear-gradient(left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
                            background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
                            // background:-ms-linear-gradient(left,rgba(255,255,255,0),rgba(255,255,255,1));
                            height: 15px;
                            width: 40px;
                            position: absolute;
                            right: 0px;
                            bottom: 0px;

                        }
                    }
                    .sys-icon-cus-bangzhu {
                        margin-top: -9px;
                    }
                }
                .formUploader {
                    .form-item__required {
                        top: -5px;
                    }
                    .sys-icon-cus-bangzhu {
                        // top:;
                    }
                }
                .autoTreeBorder {
                    .innerAutoTree {
                        .field-left {
                            white-space: normal;
                            position: relative;

                            .form-item__required {
                                position: absolute;
                            }
                            .left-label {
                                white-space: normal;
                                height: 32px !important;
                                text-indent: 0px;
                                line-height: 16px;
                                margin: 6px 0px 0px 7px;
                                word-break: break-all;
                                position: relative;
                                padding-top: 0px !important;

                                .fade-out {
                                    background: -o-linear-gradient(left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
                                    background: -moz-linear-gradient(left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
                                    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
                                    height: 15px;
                                    width: 40px;
                                    position: absolute;
                                    right: 0px;
                                    bottom: 0px;

                                }
                            }
                            .sys-icon-cus-bangzhu {
                                margin-top: -9px;
                            }
                        }
                    }
                }
            }
        }
    }
}

.form-loading-wrapper {
  position: relative;
  min-height: 125px;
  overflow: hidden;
  height: 100%;
}