html {
    font-size: 20px;
}

@media screen and (min-width: 540px) {
    html {
        font-size: 28.8px
    }
}

@media screen and (min-width: 820px) {
    html {
        font-size: 34px
    }
}

@media screen and (min-width: 980px) {
    html {
        font-size: 40px
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC","Helvetica Neue",STHeiti,"Microsoft Yahei",Tahoma,Simsun,sans-serif;
}
.blink-text {
    animation: blink 1s infinite;
    /* 1秒闪烁一次，无限次重复 */
}

.body-bg {
    background: #20242a;
}

.content {
    padding: .3rem .5rem;
}

/*header*/
.head-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 44px;
    background: #fff;
}

.head-area+.main-area {
    position: absolute;
    top: 44px;
    left: 0;
    width: 100%;
    height:100%;
    bottom: 0;
    overflow-y: auto;
}

.map-box img {
    width: 100%;
}

.cont-box {
    margin-top: -3rem;
}

.section {
    margin-bottom: 1rem;
}

.sec-style {
    width: 90%;
    height:100%;
    margin: 0 auto;
    position: relative;
    background: #2b3038;
    border-radius: .6rem;
    color: #fff;
}

.set-btn {
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 1.4rem;
    height: 1.4rem;
    z-index: 9;
}

.set-btn img {
    width: 100%;
    height: 100%;
}

.user-box {
    display: flex;
    padding: .7rem;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
}

.user-head {
    width: 3rem;
    height: 3rem;
    overflow: hidden;
    border-radius: 50%;
}

.user-head img {
    width: 100%;
    height: 100%;
    flex: 1;
}

.user-name {
    position: relative;
    width: 50%;
    padding-left: 1rem;
    font-size: .8rem;
}

.down-icon {
    position: relative;
    top: -3px;
    display: inline-block;
    width: 6px;
    height: 6px;
    border: solid 2px #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    margin-left: 6px;
}

.user-btm {
    padding: .3rem 1rem;
    box-sizing: border-box;
}

.monitoring {
    width: 100%;
    padding-bottom: .4rem;
    border-bottom: solid 1px #fff;
}

.monitoring:after {
    display: block;
    content: '';
    clear: both;
}

.list-id {
    float: left;
    width: 49%;
    font-size: .6rem;
}

.list-con {
    float: right;
    position: relative;
    width: 1.4rem;
    height: 1.4rem;
    margin-left: .54rem;
}

.list-con img {
    width: 100%;
    height: 100%;
}

.list-con span {
    position: absolute;
    top: -30%;
    right: 0;
    width: .8rem;
    height: .8rem;
    background: #fff;
    color: #e5404f;
    text-align: center;
    line-height: .8rem;
    border-radius: 50%;
    font-size: .6rem;
}

.list-txt {
    float: right;
    font-size: .8rem;
}

/*设备*/
.equipment {
    padding: 0.5rem 0;
    overflow: hidden;
}

.equipment-icon {
    float: left;
    width: 2.5rem;
    margin-left: -2.5rem;
}

.equipment-icon img {
    width: 100%;
}

.equipment-info {
    width: 100%;
    box-sizing: border-box;
}

.equipment-name {
    font-size: .7rem;
}

.equipment-info ul:after {
    display: block;
    clear: both;
    content: '';
}

.equipment-info ul li {
    float: left;
    position: relative;
    margin-right: 0.3rem;
}

#batteryCanvas {
    margin-top: 7px;
    margin-left: -5px;
}

.right-txt {
    float: right !important;
    position: relative;
    top: 18px;
    margin-right: 0;
    font-size: .8rem;
}

.chart-con {
    width: 100%;
    height:75%;
    /* height: 11rem; */
    /*padding: 0 .5rem;*/
    box-sizing: border-box
}

.hear-num {
    font-size: .8rem;
    padding: .3rem;
}

.heart-body {
    overflow: hidden;
}

.heart-box {
    padding:0.2rem 0.5rem;
    overflow: hidden;
}

.alert_settins {
    float: left;
}

.alert_settins li {
    position: relative;
    float: left;
    margin-right: 20px;
    padding-left: 20px;
}

.heart-lt {
    float: left;
}

.heart-rt {
    float: right;
    line-height: 28px;
}

.heart-lt li {
    position: relative;
    float: left;
    margin-right: 20px;
    padding-left: 20px;
}

.heart-lt li:before {
    position: absolute;
    left: 0;
    top: 5px;
    content: '';
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    /* 左边边框透明 */
    border-right: 7px solid transparent;
    /* 右边边框透明 */
    border-top: 10px solid #9b9b9c;
    /* 底边边框，形成箭头的颜色和大小 */
}

.heart-lt li.height-n:before {
    border-bottom: 10px solid #f63f5b;
    /* 底边边框，形成箭头的颜色和大小 */
    border-top: none;
}

.heart-icon {
    width: 1.3rem;
    height: 1.3rem;
}

.heart-txt {
    position: relative;
    font-size: .9rem;
}

.hidden {
    display: none !important;
}


/*设置*/
.top-box {
    overflow: hidden;
    padding: 0 .5rem;
}

.heard-lt-icon {
    float: left;
    width: 38px;
    height: 38px;
    margin-top: 4px;
}

.heard-lt-icon img {
    width: 100%;
}

.heard-text {
    width: 100%;
    text-align: center;
    font-size: 1rem;
    color: #000;
    line-height: 42px;
}

.set-wrap {
    padding: 1rem;
}

.set-list {
    overflow: hidden;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 25px;
}



/* 隐藏原始的 checkbox 输入框 */
input[type="checkbox"] {
    display: none;
}

/* 自定义 checkbox 的外观容器 */
.checkbox-container {
    line-height: 20px;
}

.checktxt {
    position: relative;
    top: -5px;
    margin-left: 5px;
}

/* 创建一个自定义的 checkbox 样式 */
.checkbox-container .checkmark {
    position: relative;
    display: inline-block;
    height: 20px;
    width: 20px;
    top: 0;
    border: 1px solid #fff;
    border-radius: 4px;
}

/* 当 checkbox 被选中时，修改自定义 checkbox 的背景颜色 */
input[type="checkbox"]:checked~.checkmark {
    background-color: #fc5958;
    border-color: #fc5958;
}

/* 创建自定义 checkbox 的勾选标记（隐藏，当选中时显示） */
.checkbox-container .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* 显示勾选标记 */
input[type="checkbox"]:checked~.checkmark:after {
    display: block;
}

/* 自定义勾选标记的样式 */
.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.set-chebox,
.set-txt,
.set-input,
.set-dw {
    float: left;
}

.set-input input {
    width: 80px;
    height: 32px;
    padding-left: 5px;
}

.set-txt {
    margin-left: 10px;
    line-height: 32px;
}

.set-input {
    margin-left: 10px;
}

.set-dw {
    margin-left: 10px;
    line-height: 32px;
}

.set-iphone {
    width: 100%;
    height: 40px;
    background: transparent;
    border: solid 1px #fff;
    text-align: center;
    color: #fff;
    font-size: 24px;
    box-sizing: border-box;
}

.set-data {
    font-size: 16px;
    text-align: left;
    margin: 5px 0 ;
}

.set-fun {
    overflow: hidden;
}

.set-fun-lt {
    float: left;
}

.set-fun-rt {
    float: right;
    margin-top: 20px;
}

.recharge {
    padding: 10px 20px;
    border: 1px solid #fc5958;
    border-radius: 5px;
    font-size: 18px;
    background: #20242a;
    color: #fc5958;
}

.set-fun-txt {
    float: left;
    width: 80px;
    margin-top: 10px;
    font-size: 18px;
}

.set-fun-img {
    float: left;
    margin-left: 10px;
    width: 80px;
    height: 80px;
}

.set-fun-img img {
    width: 100%;
}

/*事件列表*/
.event-box {
    padding: 0.5rem
}

.event-box li {
    overflow: hidden;
    color: #fff;
    padding: 5px 0;
    border-bottom: solid 1px #717171;
}

.event-top {
    overflow: hidden;
}

.event-left {
    float: left;
    font-size: 18px;
    line-height: 32px;
}

.event-right {
    position: relative;
    float: right;
    padding-right: 1rem;
    line-height: 32px;
    font-size: 14px;
    min-width: 20%;
    text-align: right;
}

.event-right::after {
    position: absolute;
    top: 9px;
    right: 5px;
    width: 6px;
    height: 6px;
    border: solid 2px #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    margin-left: 6px;
    content: '';
}

.event-input {
    background: transparent;
    border: none;
    font-size: 14px;
    color: #fff;
    line-height: 34px;
    text-align: right;
}

.Personal .event-box li {
    padding: 1rem 0;
}

.head-info-box {
    padding: 20px;
}

.head-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
}

.head-img img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.head-button {
    padding-top: 15px;
    font-size: .8rem;
    color: #fff;
    text-align: center;
}

.Info-pop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
}

.Info-warp {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #6d6d6d;
    padding: .6rem;
    box-sizing: border-box;
    color: #fff;
    text-align: center;
}

.Info-head {
    display: flex;
}

.Info-txt {
    flex: 1;
}

.Info-body {
    padding: 1rem;
}

.Info-wrap li {
    padding: .1rem;
}

.Info-wrap li.active {
    border-top: solid 1px #ccc;
    border-bottom: solid 1px #ccc;
    color: #2196F3;
}

/* 充值 */
.recharge-txt {
    padding: 1rem;
    color: #fff;
    font-size: 14px;
}

.recharge-ul {
    overflow: hidden;
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
}

.recharge-ul li {
    flex: 0 0 calc((100% - 100px) / 3);
    line-height: 40px;
    border: solid 1px #fff;
    text-align: center;
    font-size: 14px;
    margin-bottom: 25px;
    margin-left: 23px;
    color: #fff;
}

.recharge-ul li.active {
    color: #2196F3;
    border: solid 1px #2196F3;
}

.recharge-show {
    padding: 1rem;
    text-align: right;
    color: #fff;
}

.recharge-button {
    position: absolute;
    bottom: 20px;
    left: 1rem;
    right: 1rem;
    background: #2196f3;
    text-align: center;
    font-size: 14px;
    color: #fff;
    border-radius: 4px;
    line-height: 36px;
}

.content-secl {
    margin-top: .5rem;
}

.secl-txt {
    color: #fff;
}

.secl-box {
    margin-top: 0.5rem;
}


/* 欢迎页面 */
.come-page {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 999;
}

.app-logo {
    position: absolute;
    width: 7rem;
    /* height: 5rem; */
    left: 45%;
    margin-left: -2.5rem;
    overflow: hidden;
}

.app-logo img {
    width: 100%;
}

.come-txt {
    position: absolute;
    bottom: 2.5rem;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
}

.come-tit {
    font-size: 1.4rem;
}

.come-tip {
	margin-top: .2%;
    font-size: 0.8rem;
	margin-bottom: 8%;
}

/* 首次登录扫码 */
.first-body {
    position: absolute;
    top: 30%;
    width: 100%;
    text-align: center;
}

.first-code {
    width: 8rem;
    height: 8rem;
}

.first-txt {
    padding-top: 0.2rem;
    color: #fff;
    font-size: .9rem;
}

.locus {
    width: 80px;
    margin-left: 20px;
    line-height: 40px;
    background: #2196F3;
    color: #fff;
    font-size: 16px;
    text-align: center;
    border-radius: 5px;
}

.electro-body {
    padding: 0rem;
}

.electro {
    overflow: hidden;
}

.electro li {
    float: left;
    color: #fff;
    margin-right: 20px;
}

.electro-area {
    padding-top: 1rem;
    height: 13rem;
}

.electro-tp {
    position: relative;
    /* 或 absolute, 取决于布局需求 */
    height: 12rem;
}

.electro-tc {
    position: absolute;
    width: 100%;
    height: 100%;
}

.electro-area canvas {
    height: 12rem;
}

.select-style {
    width: 7rem;
    height: 32px;
}

.userName {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 999;
    background: #20242a;
}

.mui-input-group {
    padding: 1rem;
}

.mui-input-row {
    overflow: hidden;
    padding: .5rem 0;
}

.mui-input-row label {
    line-height: 24px;
    color: #fff;
}

.mui-input-row input {
    width: 8rem;
    padding: 3px;
    height: 28px;
}

.enter-btn {
    width: 120px;
    height: 38px;
    margin-top: 1rem;
    background: #2196F3;
    color: #fff;
    border-radius: 3px;
}

.mui-dtpicker-title h5 {
    box-sizing: border-box;
}

/*修改头像*/
#imageInput {
    display: none;
}

/*横屏代码*/
.landscape {
   position:absolute;
    left:50%;
    top:50%;
    overflow:hidden;
    z-index:10;
    height:100vw;
    width:100vh;
    -webkit-transform:translate(-50%,-50%) rotate(90deg);
    transform:translate(-50%,-50%) rotate(90deg);
}

/*地图全屏*/
.map-all {
    position: absolute;
    top: 0;
    left: 0;
    padding: .4rem;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    z-index: 999;
    margin: .3rem .5rem;
}

@supports (font-variant-alternates: styleset(nice-style)) {
    .mui-pciker-list {
        transform-origin-z: 0 !important;
    }
}

.gpsicon {
    display: block;
    margin-top: .5rem;
    width: 24px;
    height: 24px;
    background: url(../img/gpsicon.png) no-repeat;
    background-size: 100% 100%;
}

.gpsicon.gps-close {
    background: url(../img/gpsclose.png) no-repeat;
    background-size: 100% 100%;
}

.custom-select {
    position: relative;
    width: 200px;
}
.custom-select select {
    display: none;
}
.custom-options {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    z-index: 1000;
    transform: rotate(-90deg);
}

/* 方案2：强制重绘技巧 */
.force-redraw {
    animation: forceRedraw 1ms;
}
@keyframes forceRedraw {
    from { opacity: 0.99; }
    to { opacity: 1; }
}

.heart-btn{
	padding:2px 5px;
	background: #3a3f48;
	border-radius: 4px;
}
.heart-btn.active{
	background: #fff;
}
/* 事件列表最新 */
.event-list-box{
	overflow:hidden;
	padding: 5px;
	font-size: 14px;
	color: #8a8c99;
}
.event-list-left{
	float: left;
	width: 35%;
}
.event-list-right{
	float: right;
	width: 65%;
	text-align: right;
}
.event-list-style{
	color: #fff;
	font-size: 18px;;
	margin-bottom: 5px;
}
.event-list-time{
	padding-top: 3px;
	margin-bottom: 5px;
}
.event-list-icon1{
    width: 20px;
    height: 20px;
    vertical-align: middle;
 }
.event-list-text{
    font-size: 22px;
    color: #dd676b;
    font-weight: bold;
}
.event-list-icon2{
    width: 16px;
    height: 16px;
    vertical-align: middle;
}
.event-list-time{
    margin-bottom: 13px;
}
.congzhi-btn{
    display: block;
    width: 100%;
    line-height: 40px;
    background: #f25544;
    color: #fff;
    text-align: center;
    font-size: 18px;
    border-radius: 8px;
}