// @-ms-keyframes bottomLine { 
//     0%{ 
//       width: 0;  
//       left: calc(50% - 7px)
//     }
//     80%{ 
//         width: calc(100% - 15px + 10px);
//         left: 5px;        
//     }
//     100%{
//         width: calc(100% - 15px);
//         left: 0;
//     }
// }
// @-moz-keyframes bottomLine { 
//     0%{ 
//       width: 0;  
//       left: calc(50% - 7px)
//     }
//     80%{ 
//         width: calc(100% - 15px + 8px);
//         left: 4px;        
//     }
//     100%{
//         width: calc(100% - 15px);
//         left: 0;
//     }
// }
$font-family-S: "PingFangSC-Regular ","Microsoft YaHei";
@keyframes bottomLine { 
    0%{ 
      width: 0;  
      left: calc(50% - 7px)
    }
    75%{ 
        width: calc(100% - 15px + 10px);
        left: -5px;        
    }
    85%{ 
        width: calc(100% - 15px - 8px);
        left: 4px;        
    }
    100%{
        width: calc(100% - 15px);
        left: 0;
    }
}
// @keyframes bottomLine { 
//      0%{ 
//       width: 0;  
//       left: calc(50% - 7px)
//     }
//     80%{ 
//         width: calc(100% - 15px + 8px);
//         left: 4px;        
//     }
//     100%{
//         width: calc(100% - 15px);
//         left: 0;
//     }
   
// }
 .wifi-edit-wrap{
    overflow-x: hidden;
    height: 100%;
    padding: 20px 0 0 0;
    .input-list-wrap{
        position: relative;
        margin: 0 0 3px 0;
        .ip-warning{
            color: #cc2929;
            font-size: 12px;
            position: absolute;
            top: 25px;
            left: 6px;
        }
        .input-label{
            text-indent: 10px;
            color: #3d5566;
            font-size: 12px;
        }
        .u-icon{
            vertical-align: middle;
            margin : 0px 5px 0 0;
        }
        &.batch .input-list{
            width: 40%;
            display: inline-block;
        }
    }
    .input-list{
        margin: 0 0 20px 0px;
        .single-input-wrap{
            display: inline-block;
            position: relative;
            width: 25%;
            .ip-warning{
                color: red;
            }
            .spot{
                width: 15px;
                display: inline-block;
                text-align: center;
            }
           
            input{
                width: calc(100% - 17px);
                height: 25px;
                outline: none;
                border: none;
                border-bottom: 1px solid #e4ebf0;
                text-align: center;
                position: relative;
                &:focus + .bottom-line{
                    // width: calc(100% - 15px);
                    // left: 0;     
                    -webkit-animation:bottomLine .2s ease-in forwards;
                    animation:bottomLine .2s ease-in forwards; 
                    will-change: left,width;                            
                }
            }
            .bottom-line{
                width:0;
                height: 2px;
                background: #1687d9;
                position: absolute;
                bottom: 0;
                left: calc(50% - 7px);
             
            }
        }

        // .with-error{
        //     border: 1px solid red;
        // }
    }
    .mark{
        color: red;
        font-weight: 600;
        display: inline-block;
        width: 10px;
        vertical-align: middle;
    }
    .options{
        font-family:HelveticaNeue;
        font-size:12px;
        color:#3e4e59;
        line-height:20px;
        margin: 30px 0 0 0;     
        display: inline-block;       
    }
    .input-wrap{
        height: 70px;
        .value-require{
            font-family:$font-family-S;
            font-size:12px;
            color:#0095ff;
            line-height:20px;
            &.hide{
                display: none;
            }
        }
        .form-item{
            position: relative;
            box-sizing: border-box; 
            margin-bottom: 15px;
            margin-bottom: .9375rem;
            &__title{
                position: relative;
                max-width: 100%;
                overflow: hidden;
                font-family: "Helvetica Neue", Tahoma, "PingFang SC", "Hiragino Sans GB", SimSun, STHeitiSC, sans-serif;
                font-size: 12px;
                line-height: 20px;
                color: #3e4e59;
                text-overflow: ellipsis; 
                white-space: nowrap;
                vertical-align: middle;
                .form-item__text{
                    display: inline-block;
                    font-family: "Helvetica Neue", Tahoma, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimSun, STHeitiSC, sans-serif; 
                    font-size: 12px;
                    line-height: 20px;
                    overflow: hidden;
                    text-indent: 5px;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    vertical-align: middle;
                }
            }
            .u-textarea{
                position: relative;
                display: inline-block;
                width: 100%; 
                border:none;
                .u-textarea__num {
                    position: absolute;
                    right: 5px;
                    right: .3125rem;
                    bottom: 0;
                    display: block;
                    width: auto;
                    padding: 0 13px 0 0;
                    padding: 0rem .8125rem 0rem 0rem; 
                    font-family: "Helvetica Neue", Tahoma, "PingFang SC", "Hiragino Sans GB", SimSun, STHeitiSC, sans-serif;
                    font-size: 12px;
                    font-size: .75rem;
                    line-height: 20px;
                    line-height: 1.25rem;
                    color: #bcc8d1;
                    text-align: right;
                    .u-textarea__num_normal {
                        color: #3d5566;
                    }
                }
                .u-textarea__tuozhuai-icon{
                    position: absolute;
                    right: 0;
                    bottom: 5px;
                    bottom: .3125rem;
                    line-height: 0;
                    pointer-events: none; 
                    background-color: #fff;
                    .pc-sys-tuozhuai-nomal-svg{
                        display: none;
                    }
                }

            }
            .form-item__control{
    
                &::after{
                    display: block;
                    position: absolute;
                    content: "";
                    left: 50%;
                    top: 25px;
                    width: 0;
                    height: 2px;
                    background-color: #1b85d6;
                    transition: left ease-in-out .15s, width ease-in-out .15s;
                    -ms-transition: left ease-in-out .15s, width ease-in-out .15s;
                }
                .u-input {
                    width: 100%;
                    height: 25px;
                    padding: 0 5px 0 5px;
                    font-family: "Helvetica Neue", Tahoma, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimSun, STHeitiSC, sans-serif;
                    font-size: 14px;
                    line-height: 24px;
                    color: #021726; 
                    border: transparent;
                    border-bottom: 1px solid #e4ebf0;
                    outline: transparent;
                }
                .u-input::-webkit-input-placeholder {
                    color: #bcc8d1;
                    opacity: 1;
                }
                .u-input:-ms-input-placeholder {
                    color: #bcc8d1;
                    opacity: 1;
                }
                .u-input::placeholder {
                    color: #bcc8d1;
                    opacity: 1;
                }
                .u-input:disabled {
                    cursor: not-allowed; 
                    background-color: #e4ebf0;
                }
            }
            .form-item__control.form-item__control_is-active.form-item__control_has-info{
                &::after{
                    width: 0px;
                    left: 50%;
                }
            }
            .form-item__control.form-item__control_is-active{
                &::after{
                    width: 100%;
                    left: 0;
                    transition: left cubic-bezier(0.66, 1.65, 0.23, 0.87) 0.35s,
                                width cubic-bezier(0.66, 1.65, 0.23, 0.87) 0.35s;
                }
            }
        }
        
    }
    .input-wrap:first-child{
        
        .form-item__control{
            border: none;
            outline:none;
            box-shadow: none;            
            &:hover{
                border-color: #ffffff;
                outline:none;
            }
        }
    }

}
.wifi-settings{
    .wifi-setting-mac-pop{
        .modal-pop__title{
            text-align: center !important;
        }
    }
    .pre-data-show{
        .add-button-wrap{
            display: inline-block;
            position: relative;
            margin: 0 10px 0 0 ;
            z-index: 0;            
            height: 53px;
        }
        .import-button-wrap{
            display: inline-block;
            position: relative;
            z-index: 0;
            margin: 0 10px 0 0 ;            
            .import-input-trick{
                display: none;
            }
        }
    }
    .options-wrapper{
        &.edit-btns{
            .edit-btn{
                margin:  0 10px 0 0;
                line-height: 44px;
            }
        }
    }
    .switch-wifi{
        .check-box-wrapper{
            width: 200px;               
        }
        margin: 0 0 10px 0;
    }
    .switch-wifi .checkboxlist .field-left {
        margin: 0;
    }
    .wifi-options{
        .add-button-wrap{
            display: inline-block;
            position: relative;
            margin: 0 10px 0 0 ;
            z-index: 0;            
            height: 53px;
        }
        .import-button-wrap{
            display: inline-block;
            position: relative;
            z-index: 0;
            margin: 0 10px 0 0 ;            
            .import-input-trick{
                display: none;
            }
        }
        .file-link{
            display: none;
        }
    }
    .list-wrapper{
        .wifi-title,.wifi-name{
            width: 37%;
        }
        .mac-title,.wifi-address{
            width: 31%;
        }
        .note-title,.wifi-note{
            width: 32%;
        }
        .note-info,.name-info{
            width: 80%;
            overflow: hidden;
            vertical-align: middle;
            display: inline-block;
            word-break: break-word;
        }
        .note-info{
            width: calc( 100% - 100px ) !important;
        }
    }        
}

