*{
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: none;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

img {
    margin: 0;
	padding: 0;
	border: 0;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: scroll;
    font-family: Consolas;
    font-size: 14px;
}

html::-webkit-scrollbar, body::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    border-radius: 5px;
}

::-webkit-scrollbar-track {
    border-radius: 5px;
    background-color:  #EFEFEF;
}

::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: #AAA;
}

ul,li {
    list-style: none;
}

html {
    font-size: 10.416666666666666px;
}

#app {
    background: #f1f3f5;
    overflow: auto;
    position: relative;
    /* transform: scale(1); */
}

.dark {
    width: 100%;
}

#app::-webkit-scrollbar {
    width: 2px;
}

#app .addHeight {
    height:2.8rem;
}

/* #app .appMargin {
    margin: 0 1.2rem;
    position: relative;
} */

.backgroundColor {
    width:100%;
    height:100%;
    position: absolute;
    z-index: 99;
    left: 0;
    top:0;
    background-color: rgba(0,0,0,0.2);
    box-sizing: border-box;
}
.dark .backgroundColor {
    display: none;
    width:100%;
    height:100%;
    position: absolute;
    z-index: 99;
    left: 0;
    top:0;
    background-color: rgba(0,0,0,0.4);
    box-sizing: border-box;
}

/* --------------设备+logo --------------------*/
.devImg {
    width:100%;
    display: flex;
    flex-direction: column;
}

.devImg .devTop{
    height:5.6rem;
}

.devImg .deviceImg {
    width:25.2rem;
    height:25.2rem;
    align-self: center;
    background-size: cover;
}

.dark .devImg .deviceImg {
    opacity: 0.86;
}

.devImg .logo {
    width:7rem;
    height: 1.8rem;
    align-self: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.dark .devImg .logo {
    background-color: #999999;
}

/* ------------设备状态 --------------*/
.devStatus {
    width: 100%;
    height: 8.8rem;
    margin-top:1rem;
    position: relative;
    border-radius: 1.6rem;
    background: #fff;
}

.dark .devStatus {
    background: #303030;
}

.devStatus .statusLeft {
    width:24%;
    position: absolute;
    left: 1.6rem;
    top: 50%;
    -webkit-transform: translate(0,-50%);
    transform: translate(0,-50%);
    font-size: 1.8rem;
    color: rgba(0, 0, 0, 0.9);
    overflow: hidden;
    white-space: nowrap;
    text-overflow:ellipsis;
}

.devStatus .statusLeftIpad {
    width:calc(100%/3);
    position: absolute;
    left:0;
    top: 50%;
    -webkit-transform: translate(0,-50%);
    transform: translate(0,-50%);
    text-align: center;
    font-size: 1.8rem;
    color: rgba(0, 0, 0, 0.9);
    overflow: hidden;
    white-space: nowrap;
    text-overflow:ellipsis;
}

.dark .devStatus .statusLeftIpad {
    color:rgba(255, 255, 255, 0.86);
}

.dark .devStatus .statusLeft {
    color:rgba(255, 255, 255, 0.86);
}

.devStatus .statusMiddle {
    width:38%;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    text-align: center;
}

.devStatus .statusMiddle .up {
    font-size: 2.4rem;
    overflow: hidden;
    white-space: nowrap;
    color: rgba(0, 0, 0, 0.9);
    text-overflow:ellipsis;
}

.devStatus .statusMiddle .up .unit {
    font-size: 1.2rem;
    color:rgba(0,0,0,0.6);
}

.dark .devStatus .statusMiddle .up {
    color:rgba(255, 255, 255, 0.86);
}

.devStatus .statusMiddle .down {
    font-size: 1.2rem;
    color: rgba(0, 0, 0, 0.6);
}

.dark .devStatus .statusMiddle .down {
    color:rgba(255, 255, 255, 0.6);
}

.devStatus .statusRightIpad{
    width:5rem;
    height: 5rem;
    width:calc(100%/3);
    display: flex;
    justify-content: center;
    position: absolute;
    right:0;
    top: 50%;
    -webkit-transform: translate(0,-50%);
    transform: translate(0,-50%);
}

.devStatus .statusRight{
    width:5rem;
    height: 5rem;
    position: absolute;
    right:1.3rem;
    top: 50%;
    -webkit-transform: translate(0,-50%);
    transform: translate(0,-50%);
}


/*-------------- 信息展示栏 ---------------*/
.devInfo {
    width: 100%;
    margin-top:1.2rem;
    height: 8.8rem;
    border-radius: 1.6rem;
    background: white;
    position: relative;
}

.dark .devInfo {
    background: #303030;
}

.devInfo .infoList {
    width: 100%;
    height:100%;
    padding: 0.8rem;
    position: absolute;
    overflow: hidden;
    display: flex;
    text-align: center;
}
.devInfo .infoList .infoItem {
    width: calc((100% - 0.6rem)/3);
    flex:1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.devInfo .infoList .infoItem .infoWrap {
    padding:0  0.4rem;
    width:100%;
}

.devInfo .infoList .infoItem .infoWrap .infoNum {
    align-self: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow:ellipsis;
    font-size: 0;
}
.devInfo .infoList .infoItem .infoWrap .infoNum .number {
    font-size:2.4rem;
    padding-right:0.2rem;
    color:rgba(0,0,0,0.9);
}

.dark .devInfo .infoList .infoItem .infoWrap .infoNum .number {
    color:rgba(255, 255, 255, 0.86);
}

.devInfo .infoList .infoItem .infoWrap .infoNum .unit {
    font-size:1.2rem;
    color:rgba(0,0,0,0.6);
}

.dark .devInfo .infoList .infoItem .infoWrap .infoNum .unit {
    color:rgba(255, 255, 255, 0.6);
}

.devInfo .infoList .infoItem .infoWrap .infoName {
    margin-top: 0.2rem;
    font-size:1.2rem;
    color:rgba(0,0,0,0.6);
}

.dark .devInfo .infoList .infoItem .infoWrap .infoName {
    color:rgba(255, 255, 255, 0.6);
}

.devInfo .infoList .infoLine {
    width:0.1rem;
    height:3.2rem;
    align-self: center;
    background: rgba(0, 0, 0, 0.2);
    transform: scaleX(0.25);
}

.dark .infoList .infoLine{
    background: rgba(255, 255, 255, 0.2);
}

.devInfo .infoList .line:last-child {
    border-right:none;
}


/*------------------ 功能列表区域-------------- */
.devFn {
    position: relative;
}

.fnList {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.fnList .fnItem {
    position: relative;
    width: calc((100% - 1.2rem)/2);
    height:6.4rem;
    flex-grow: 1;
    margin-top:1.2rem;
    background: white;
    border-radius: 1.6rem;
    cursor: pointer;
}

.fnList .iphone{
    width: 100%;
    margin: 1.2rem 0 0 0;
}

.dark .fnList .fnItem {
    background: #303030;
}

.fnList .fnItem .fnWrap {
    width:48%;
    position: absolute;
    left: 1.6rem;
    top: 50%;
    -webkit-transform: translate(0,-50%);
    transform: translate(0,-50%);
}

.fnList .fnItem .fnWrap .fnName {
    font-size: 1.6rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow:ellipsis;
    color:rgba(0,0,0,0.9);
}

.dark .fnList .fnItem .fnWrap .fnName{
    color: rgba(255, 255, 255, 0.86);
}

.fnList .fnItem .fnWrap .fnStatus {
    padding-top: 0.2rem;
    font-size: 1.2rem;
    color: rgba(0,0,0,0.6);
}

.dark .fnList .fnItem .fnWrap .fnStatus{
    color: rgba(255,255,255,0.6)
}

.fnList .fnItem .fnWrap .fnSubtitle {
    padding-top: 0.2rem;
    font-size: 1.2rem;
    color: rgba(0,0,0,0.6)
}

.dark .fnList .fnItem .fnWrap .fnSubtitle{
    color: rgba(255,255,255,0.6)
}

.fnList .fnItem .fnBox {
    position: absolute;
    right:1.6rem;
    top: 50%;
    -webkit-transform: translate(0,-50%);
    transform: translate(0,-50%);
}

.fnList .fnItem .fnBox .fnImg{
    width:2.4rem;
    height:2.4rem;
    display : block;
}

.fnList .fnItem .fnBox .fnImgItem1 {
    background-size: cover;
}

.dark .fnList .fnItem .fnBox .fnImgItem1 {
    background-size: cover;
}

.fnList .fnItem .fnBox .fnImgItem2 {
    background-size: cover;
}

.dark .fnList .fnItem .fnBox .fnImgItem2 {
    background-size: cover;
}

.fnList .fnItem .fnBox .fnImgItem3 {
    background-size: cover;
}

.dark .fnList .fnItem .fnBox .fnImgItem3 {
    background-size: cover;
}

.fnList .fnItem .fnBox .fnImgItem4 {
    background-size: cover;
}

.dark .fnList .fnItem .fnBox .fnImgItem4 {
    background-size: cover;
}


/* -------------滑块 -------------*/
.fnSlider{
    position: relative;
    width: 3.6rem;
    height:2rem;
    border-radius:1.6rem;
    background: rgba(0, 0, 0, 0.1);
}

.dark .fnSlider{
    background: rgba(255, 255, 255, 0.1);
}

.fnSlider .sliderBtn{
    width:1.6rem;
    height:1.6rem;
    background: white;
    position: absolute;
    top:50%;
    right:1.8rem;
    -webkit-transform: translate(0,-50%);
    transform: translate(0,-50%);
    border-radius: 1.5rem;
    box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.4);
}


/* -----------------列表弹窗----------------- */
.spinnerWrap {
    position:absolute;
    padding: 0.4rem 0 0.4rem 0;
    width: 100%;
    overflow: hidden;
    overflow-y: auto;
    background: white;
    border-radius: 1.6rem;
    bottom: 7.6rem;
    box-shadow: 0rem 1rem 5rem rgb(0,0,30,0.15);
}

.dark .spinnerWrap {
    background:#363636;
}

.spinnerWrap::-webkit-scrollbar {
    width:0rem;
    height:0rem;
}

.spinnerWrap .spinnerList {
    font-size: 1.6rem;
    height:4.8rem;
    line-height: 4.8rem;
    color:rgba(0,0,0,0.9);
    position: relative;
    padding:0 1.2rem;
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
    text-overflow:ellipsis;
    margin: 0 0.4rem;
}

.dark .spinnerWrap .spinnerList {
    color:rgba(255,255,255,0.86);
}

.spinnerWrap .spinnerList .spinnerItem{
    width:100%;
}

.spinnerWrap .spinnerList:after {
    position: absolute;
    width:calc(100% - 2.4rem);
    content: '';
    display: block;
    height: 0.1rem;
    bottom: 0;
    transform: scaleY(0.25);
    background: rgba(0, 0, 0, 0.2);
    z-index:101;
}

.dark .spinnerWrap .spinnerList:after {
    background: rgba(255, 255, 255, 0.2);
}

.spinnerWrap .spinnerList:last-child:after{
    display: none;
}

.spinnerWrap .checkedBg {
    background: rgba(10,89,247,0.1);
    border-radius: 1.2rem;
    color: rgba(10,89,247);
}

.dark .spinnerWrap .checkedBg {
    color:rgba(82,145,255);
    background: rgb(82,145,255,0.4);
}

/* -----------------单选列表弹窗----------------- */
.modeList{
    width:100%;
    position: fixed;
    z-index: 100;
    padding:0 1.2rem;
    bottom:1.6rem;
}

.modeList .modeWrap{
    margin: 0 auto;
    width: 100%;
    border-radius: 2.4rem;
    padding: 0 2.4rem;
    overflow: hidden;
    background: white;
}

.dark .modeList .modeWrap{
    background: #363636;
}

.modeList .modeWrap .modeTitle{
    font-size: 2rem;
    letter-spacing: 0.1rem;
    color: rgba(0,0,0,0.9);
    height: 5.6rem;
    line-height: 5.6rem;
}

.dark .modeList .modeWrap .modeTitle{
    color: rgba(255,255,255,0.9);
}

.modeList .modeWrap .modeItem{
    position: relative;
    width:100%;
    height: 4.8rem;
    line-height:4.8rem;
}

.modeList .modeWrap .modeItem:after {
    position: absolute;
    content: '';
    display: block;
    width:100%;
    bottom:0;
    height: 0.1rem;
    transform: scaleY(0.25);
    background: rgba(0, 0, 0, 0.2);
    z-index:101;
}

.dark .modeList .modeWrap .modeItem:after{
    background: rgba(255, 255, 255, 0.2);
}

.modeList .modeWrap .modeItem:last-child:after{
    display: none;
}

.modeList .modeWrap .modeItem .modeName{
    font-size: 1.6rem;
    color: rgba(0,0,0,0.9);
    display: inline-block;
}

.dark .modeList .modeWrap .modeItem .modeName{
    color: rgba(255, 255, 255, 0.86);
}

.modeList .modeWrap .modeItem .modeBtn{
    position: absolute;
    top: 50%;
    -webkit-transform: translate(0,-50%);
    transform: translate(0,-50%);
    right: 0;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background:rgba(0,0,0,0.3)
}

.modeList .modeWrap .modeItem .modeImg{
    position: absolute;
    top: 50%;
    -webkit-transform: translate(0,-50%);
    transform: translate(0,-50%);
    right: 0;
    width: 2.4rem;
    height: 2.4rem;
}

.modeList .modeWrap .modeItem .modeImgOff{
    background: url('../assets/images/light/public/radiobtn_off.png') no-repeat;
    background-size: cover;
}
.dark .modeList .modeWrap .modeItem .modeImgOff{
    background: url('../assets/images/dark/public/radiobtn_off.png') no-repeat;
    background-size: cover;
}

.modeList .modeWrap .modeItem .modeImgOn{
    background: url('../assets/images/light/public/radiobtn_on.png') no-repeat;
    background-size: cover;
}
.dark .modeList .modeWrap .modeItem .modeImgOn{
    background: url('../assets/images/dark/public/radiobtn_on.png') no-repeat;
    background-size: cover;
}

.modeList .modeWrap .modeItem .blueBorder{
    border: 0.6rem solid #007dff;
    background:white;
}

.bottomBtn{
    margin-top:0.8rem;
    margin-bottom:1.6rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottomBtn .fnbtn{
    height:2.4rem;
    line-height: 2.4rem;
    letter-spacing: 0.1rem;
    flex:1;
    text-align: center;
    color: #0A59F7;
    font-size: 1.6rem;
}

.dark .bottomBtn .fnbtn{
    color: rgba(82,145,255);
}

.bottomBtn .line{
    width:0.1rem;
    height:2.4rem;
    align-self: center;
    background: rgba(0, 0, 0, 0.2);
    transform: scaleX(0.25);
}

.dark .bottomBtn .line{
    background: rgba(255, 255, 255, 0.2);
}

.modeListAppear {
    animation: modeListAppear 300ms ease-in-out 0ms;
}

@keyframes modeListAppear {
    0% {
        bottom: -100%;
    }
    to {
        bottom: 1.6rem;
    }
}

/* ---------------滑动条部分 ----------------*/
.sliderBar {
    position: relative;
    width: 100%;
    height:6.4rem;
    display: flex;
    /* margin-top:1.2rem; */
    background: white;
    border-radius: 1.6rem;
    /* box-shadow: 0rem 0.3rem 0.6rem rgba(0,0,0,0.03); */
}

.dark .sliderBar {
    background: #303030;
}

.sliderBar .sliderWrap{
    width:20%;
    position: absolute;
    left: 1.6rem;
    margin-right: 0.8rem;
    top: 50%;
    -webkit-transform: translate(0,-50%);
    transform: translate(0,-50%);
}

.sliderBar .sliderWrap .sliderName {
    font-size: 1.6rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow:ellipsis;
    color:rgba(0,0,0,0.9);
}

.dark .sliderBar .sliderWrap .sliderName {
    color:rgba(255,255,255,0.86);
}

.sliderBar .sliderWrap .sliderStatus{
    padding-top: 0.2rem;
    font-size: 1.2rem;
    color: rgba(0,0,0,0.6);
}

.dark .sliderBar .sliderWrap .sliderStatus {
    color: rgba(255,255,255,0.6);
}

.rangWrap{
    width:calc(80% - 4rem);
    position: absolute;
    right:1.6rem;
    top: 50%;
    -webkit-transform: translate(0,-50%);
    transform: translate(0,-50%);
}
.rang{
    position: relative;
    height:2.4rem;
}
.stripLeft{
    position: absolute;
    width: 0;
    height :0.4rem;
    top:50%;
    -webkit-transform: translate(0,-50%);
    transform: translate(0,-50%);
    background: #0a59f7;
    border-radius:1.2rem 0 0 1.2rem;
    z-index: 2;
}

.dark .stripLeft{
    background: #0A59F7;
}

.stripRight{
    width:100%;
    height:0.4rem;
    position: absolute;
    top:50%;
    -webkit-transform: translate(0,-50%);
    transform: translate(0,-50%);
    background: rgba(0,0,0,0.1);
    border-radius:0 1.2rem 1.2rem 0;
}

.dark .stripRight{
    background: rgba(255,255,255,0.1);
}

.slider{
    border:0.05rem solid rgba(0,0,0,0.04);
    position: absolute;
    border-radius: 50%;
    top:50%;
    left: 0;
    width:1.6rem;
    height:1.6rem;
    -webkit-transform: translate(0,-50%);
    transform: translate(0,-50%);
    background: white;
    box-shadow: 0 0rem 0.1rem rgba(0,0,0,0.15), 0 0.1rem 0.2rem rgba(0,0,0,0.15);
    z-index: 9;
    touch-action:none;
}

.fnLong {
    position: relative;
    width: calc(100% - 1.2rem);
    height:6.4rem;
    flex-grow: 1;
    margin-top:1.2rem;
    background: white;
    border-radius: 1.6rem;
}

/* -----------------隐私声明----------------- */
.statement{
    position: relative;
    width: 100%;
    height:6.4rem;
    display: flex;
    margin-top:1.2rem;
    background: white;
    border-radius: 1.6rem;
    /* box-shadow: 0rem 0.3rem 0.6rem rgba(0,0,0,0.03); */
}

.dark .statement{
    background: #303030;
}

.statement .stateWrap{
    width: 48%;
    position: absolute;
    left: 1.6rem;
    top: 50%;
    -webkit-transform: translate(0,-50%);
    transform: translate(0,-50%);
}

.statement .stateWrap .stateName{
    font-size: 1.6rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: rgba(0,0,0,0.9);
}
.dark .statement .stateWrap .stateName{
    color: rgba(255,255,255,0.86);
}

.statement .stateBox{
    position: absolute;
    right: 1.6rem;
    top: 50%;
    -webkit-transform: translate(0,-50%);
    transform: translate(0,-50%);
}

.statement .stateBox .stateImg{
    width: 2.4rem;
    height: 2.4rem;
    display: block;
    background: url(../assets/images/light/ic_daojishi_off.png) no-repeat;
    background-size: cover;
}
.dark .statement .stateBox .stateImg{
    background: url(../assets/images/dark/ic_daojishi_off.png) no-repeat;
    background-size: cover;
}

/* 隐私声明弹窗 -----------------------*/
.statementPopup {
    width:100%;
    position: fixed;
    z-index: 100;
    padding:0 1.2rem;
    bottom:1.6rem;
    display: none;
}

.statementPopup .statementWrap{
    width: 100%;
    border-radius: 2.4rem;
    padding: 0 2.4rem;
    overflow: hidden;
    background: white;
}

.dark .statementPopup .statementWrap{
    background: #303030;
}

.statementPopup .statementWrap .statementTitle{
    font-size: 2rem;
    letter-spacing: 0.1rem;
    color: rgba(0,0,0,0.9);
    height: 5.6rem;
    line-height: 5.6rem;
}

.dark .statementPopup .statementWrap .statementTitle{
    color: rgba(255,255,255,0.9);
}

.statementPopup .statementWrap .statementContent{
    font-size: 1.6rem;
    color: rgba(0,0,0,0.9);
    overflow-y: auto;
    display: inline-block;
}

.dark .statementPopup .statementWrap .statementContent{
    color: rgba(255, 255, 255, 0.86);
}

.statementPopup .statementWrap .statementBox{
    max-height: 50rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.statementPopup .statementWrap .statementContent .stateRules{
    margin: 0.8rem 0rem;
}

.stateBtn{
    margin-top:0.8rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.6rem;
}

.stateBtn .stateFn{
    height:2.4rem;
    line-height: 2.4rem;
    letter-spacing: 0.1rem;
    flex:1;
    text-align: center;
    color: #0A59F7;
    font-size: 1.6rem;
}

.dark .stateBtn .s0A59F7tateFn{
    color: #0A59F7;
}

.stateBtn .line{
    width:0.1rem;
    height:2.4rem;
    align-self: center;
    background: rgba(0, 0, 0, 0.5);
    transform: scaleX(0.25);
}

.dark .stateBtn .line{
    background: rgba(255, 255, 255, 0.5);
}

.fnSelect {
    &:after {
        content: '';
        display: block;
        border: 1px dashed orange;
        height: 100%;
        width: 100%;
    }
}

.fnSelectImg {
    border: 1px dashed orange;
}

.n-steps .n-step-content .n-step-content__description {
    font-size: 12px;
}
