
.main {
    margin-top: 100px;
}
.nav{
    height: 50px;
    line-height: 50px;
}
.crumbs{

}
.camera{
    cursor: pointer;
    height: 100%;
}
.active{
    color: #D7D7D7;
    background: rgba(0, 0, 0, 0.498039215686275);;
}
.camera:hover{
    background: rgb(228,228,228);
}
.video{
    overflow: hidden;
    background: #c0c1c2;
    width: 100%;
    height: 500px;
}
.detail-title{
    margin: 30px 0 30px 20px;
    display: inline-block;
    font-size: 16px;
    position: relative;
}
.detail-title::before{
    content: '';
    position: absolute;
    width: 5px;
    height: 20px;
    background: #0ab1fc;
    top: 0;
    left: -20px;
}
.real-time-data{
    cursor: pointer;
    padding: 15px 20px;
    border-radius: 5px;
    vertical-align: center;
    margin-bottom: 15px;
    background: #fafafa;
}
.real-time-data img{
    width: 54px;
}
.real-time-data span{
}
.real-time-camera{
    font-size: 12px;
    cursor: pointer;
}
.real-time-active{
    position: relative;
}
.real-time-active::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 26px;
    left: 0;
    background: rgba(71, 194, 255, 1);
}
#cameraSwiper .swiper-slide img{
    cursor: pointer;
    width: 100%;
}
.comment-title{
    font-size: 17px;
    margin-bottom: 20px;
    width: 100%;
    height: 30px;
    line-height: 30px;
    border-bottom: 1px solid #307ba0;
}
.comment-title > div:nth-child(1){
    float: left;
}
.comment-title > div:nth-child(2){
    float: right;
    cursor: pointer;
}
.comment-title > div:nth-child(2) > i{
    height: 20px;
    width: 20px;
}
.no-comment{
    display: none;
    cursor: pointer;
    margin-bottom: 30px;
    text-align: center;
    padding: 10px;
    width: 100%;
    border:1px solid #ccc
}
.chartDay {
    float: left;
    margin-right: 11px;
    cursor: pointer;
}
.chartallDay {
    float: left;
    margin-right: 11px;
    cursor: pointer;
}
.chartSenseDay {
    float: left;
    margin-right: 11px;
    cursor: pointer;
}
.chart-activeAll{
    position: relative;
}
.chart-activeAll::after{
    content: '';
    width: 100%;
    height: 4px;
    background: #00bbff;
    position: absolute;
    top: -4px;
    left: 0;
}
.chart-active {
    position: relative;
}
.chart-active::after {
    content: '';
    width: 100%;
    height: 4px;
    background: #00bbff;
    position: absolute;
    top: -4px;
    left: 0;
}

.sense-active {
    position: relative;
}
.sense-active::after {
    content: '';
    width: 100%;
    height: 4px;
    background: #00bbff;
    position: absolute;
    top: -4px;
    left: 0;
}

.comment-bg{
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
}
.comment-bg .comment:not(:last-child){
    border-bottom: 1px dashed #bbbbbb;
}
.comment{
    background: #fff;
    padding: 20px;
}
.avatar-row{
    height: 40px;
    width: 40px;
    border-radius: 50%;
    border: 1px solid #e8e8e8;
}
.comment_content{
    font-size: 14px;
    margin-top: 5px;
}
.comment_date{
    font-size: 12px;
    color: #b1b3af;
    text-align: right
}
.camerasTab > div{
    float: right;
    padding: 0 20px;
}
#picture .real-time-camera{
    float: right;
    margin-right: 10px;
}
.imgModal{
    display: none;
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,.6);
}
.imgModal-wrap{
    position: relative;
    background: #fff;
    width: 800px;
    margin: 10% auto 0;
}
.imgModalClose{
    position: absolute;
    right: -15px;
    top: -22px;
    z-index: 99999;
    cursor: pointer;
}
.switch {
    zoom: 0.8;
    width: 57px;
    height: 28px;
    position: relative;
    border: 1px solid #dfdfdf;
    background-color: #fdfdfd;
    box-shadow: #dfdfdf 0 0 0 0 inset;
    border-radius: 20px;
    background-clip: content-box;
    display: inline-block;
    -webkit-appearance: none;
    user-select: none;
    outline: none !important;
}
.switch:before {
    content: '';
    width: 26px;
    height: 26px;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.switch:checked {
    border-color: #64bd63;
    box-shadow: #64bd63 0 0 0 16px inset;
    background-color: #64bd63;
}
.switch:checked:before {
    left: 30px;
}
.switch.switch-anim {
    transition: border cubic-bezier(0, 0, 0, 1) 0.4s, box-shadow cubic-bezier(0, 0, 0, 1) 0.4s;
}
.switch.switch-anim:before {
    transition: left 0.3s;
}
.switch.switch-anim:checked {
    box-shadow: #64bd63 0 0 0 16px inset;
    background-color: #64bd63;
    transition: border ease 0.4s, box-shadow ease 0.4s, background-color ease 1.2s;
}
.switch.switch-anim:checked:before {
    transition: left 0.3s;
}
.desc{
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px 0;
    text-align: center;
    color: #fff;
    background: rgba(0,0,0,.7);
    width: 800px;
}
.desc_p{
    text-align: center;
    background: rgba(0,0,0,.7);
    color: #fff;
    padding: 5px 0;
    font-size: 14px;
}
.btn{
    display: none;
}
.btn+label{
    height: 33px;
    width: 125px;
    top: 13px;
    right: 30px;
    display: inline-block;
    background-image: url(/res/gardens/images/btn_off.png);
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
}
.btn:checked+label{
    height: 33px;
    width: 125px;
    top: 13px;
    right: 30px;
    display: inline-block;
    background-image: url('/res/gardens/images/btn_on.png');
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
}
.dis_btn{
    display: none;
}
.dis_btn+label{
    height: 33px;
    width: 125px;
    top: 13px;
    right: 30px;
    display: inline-block;
    background-image: url(/res/gardens/images/disabled_btn_off.png);
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
}
.dis_btn:checked+label{
    height: 33px;
    width: 125px;
    top: 13px;
    right: 30px;
    display: inline-block;
    background-image: url('/res/gardens/images/disabled_btn_on.png');
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
}
.situation{
    height: 7px;
    width: 80px;
    background: #e1e1e1;
    margin: 5px 0;
}
.situation i{
    height: 100%;
    width: 33.3%;
    display: block;
    float: left;
}
.low i:nth-child(1){
    background: #00afff;
}
.middle i:nth-child(1){
    background: #00afff;
}
.middle i:nth-child(2){
    background: #72ff00;
}
.high{
    background: unset;
}
.high i:nth-child(1){
    background: #00afff;
}
.high i:nth-child(2){
    background: #72ff00;
}
.high i:nth-child(3){
    background: #ff502a;
}
@media (max-width: 800px) {
    body{
        font-size: 12px;
    }
    .imgModal-wrap{
        width: 100%;
        margin-top: 40%;
    }
    .desc{
        width: 100%;
        padding: 10px 0;
    }

}
@media (max-width: 768px) {
    .main{
        margin-top: 20px!important;
    }
    .pull-right{
        float: left!important;
        margin-left: 0;
    }
}