﻿body {
    margin: 0;
    padding: 0;
    background: url(../images/bg.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: #eee;
}

.loginbox {
    background: url(../images/kuang.png);
    background-repeat: no-repeat;
    margin-left: calc(50% - 255px);
    width: 510px;
    height: 350px;
    margin-top: 20rem;
    -ms-flex-direction: column;
    flex-direction: column;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    /*justify-content: center;*/
}

.boxlogin {
    width: 100%;
    height: 100%;
    position: absolute;
}

.logintitle {
    color: #17e4b6;
    font-size: 1.8rem;
    margin: 3rem 2rem 1rem 2rem;
}

.inpuetax {
    width: 376px;
    background: none;
    border: 2px solid #0b98bf;
    color: #10c0e4;
    height: 2.5rem;
    font-size: 1.4rem;
    margin-top: 20px;
    text-indent: 1rem;
    border-radius: 2px;
}

.btnsubmit {
    width: 380px;
    margin-top: 20px;
    position: relative;
    height: 2.7rem;
    font-size: 1.05rem;
    line-height: 2.42857143;
    color: #fff;
    background-color: #26a88b;
    border: 2px solid #26a88b;
    border-radius: 2px;
    cursor: pointer;
}

    .btnsubmit:hover {
        background-color: #0a8c6f;
    }


.inpuetax::-webkit-input-placeholder {
    color: #10c0e4;
    font-size: 16px;
    text-indent: 1rem;
}

.Menubox {
    position: fixed;
    top: 0;
    right: 0;
    height: 60px;
    width: 100%;
    line-height: 60px;
    background: rgba(48,65,86,.6);
    border-left: none;
    border-right: none;
    z-index: 1002;
}

.logo i {
    font-size: 5em;
    font-weight: 100;
    float: left;
    margin-left: -1.5rem;
    margin-right: -0.75rem;
}

.logofont {
    font-size: 5rem !important;
    font-weight: 100;
    float: left;
    margin-top: -25px;
    margin-bottom: -25px;
}

.logo {
    position: absolute;
    left: 0;
    padding-left: 20px;
    width: 320px;
    height: 60px;
    color: #34c388;
    line-height: 60px;
    text-indent: 0.5rem;
    font-weight: bold;
    font-size: 18px;
}

.Userinfo {
    position: absolute;
    right: 0;
    padding-right: 20px;
    width: 230px;
    height: 60px;
    color: #34c388;
    line-height: 60px;
    font-size: 14px;
    text-align: right;
}

.logo img {
    width: 50px;
    margin-top: 15px;
    float: left;
}

/*导航开始*/
.navbar {
    width: calc(100% - 380px);
    height: 60px;
    left: 270px;
    position: absolute;
}



@import url(http://fonts.useso.com/css?family=Open+Sans);

#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    line-height: 60px;
    display: block;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    max-width: 100%;
}

    #cssmenu:after,
    #cssmenu > ul:after {
        content: ".";
        display: block;
        clear: both;
        visibility: hidden;
        line-height: 0;
        height: 0;
    }

    #cssmenu #menu-button {
        display: none;
    }

#cssmenu {
    width: auto;
    font-family: 'Open Sans', sans-serif;
    line-height: 1;
    height: 60px;
    margin-left: 60px;
}

#menu-line {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    background: #009ae1;
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    -ms-transition: all 0.25s ease-out;
    -o-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
}

#cssmenu > ul > li {
    float: left;
    height: 60px;
    line-height: 60px;
}

#cssmenu.align-center > ul {
    font-size: 0;
    text-align: center;
}

    #cssmenu.align-center > ul > li {
        display: inline-block;
        float: none;
    }

#cssmenu.align-center ul ul {
    text-align: left;
}

#cssmenu.align-right > ul > li {
    float: right;
}

#cssmenu.align-right ul ul {
    text-align: right;
}

#cssmenu > ul > li > a {
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    color: #bababa;
    -webkit-transition: color .2s ease;
    -moz-transition: color .2s ease;
    -ms-transition: color .2s ease;
    -o-transition: color .2s ease;
    transition: color .2s ease;
    padding: 0px 20px;
}

#cssmenu > ul > li:hover > a,
#cssmenu > ul > li.active > a {
    color: #34c388;
    background: rgba(169, 169, 169, 0.15);
}

    #cssmenu > ul > li.active > a::after {
        border-color: #34c388 !important;
    }

#cssmenu > ul > li.has-sub > a {
    padding-right: 25px;
}

    #cssmenu > ul > li.has-sub > a::after {
        position: absolute;
        top: 26px;
        right: 10px;
        width: 4px;
        height: 4px;
        border-bottom: 1px solid #babaae;
        border-right: 1px solid #babaae;
        content: "";
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
        -webkit-transition: border-color 0.2s ease;
        -moz-transition: border-color 0.2s ease;
        -ms-transition: border-color 0.2s ease;
        -o-transition: border-color 0.2s ease;
        transition: border-color 0.2s ease;
    }

#cssmenu > ul > li.has-sub:hover > a::after {
    border-color: #34c388;
}

#cssmenu ul ul {
    position: absolute;
    left: -9999px;
}

#cssmenu li:hover > ul {
    left: auto;
}

#cssmenu.align-right li:hover > ul {
    right: 0;
}

#cssmenu ul ul ul {
    margin-left: 100%;
    top: 0;
}

#cssmenu.align-right ul ul ul {
    margin-left: 0;
    margin-right: 100%;
}

#cssmenu ul ul li {
    height: 40px;
    -webkit-transition: height .2s ease;
    -moz-transition: height .2s ease;
    -ms-transition: height .2s ease;
    -o-transition: height .2s ease;
    transition: height .2s ease;
}

#cssmenu ul li:hover > ul > li {
    height: 40px;
}

#cssmenu ul ul li a {
    padding: 0px 20px;
    width: 160px;
    font-size: 12px;
    background: #1a2531;
    text-decoration: none;
    color: #bababa;
    -webkit-transition: color .2s ease;
    -moz-transition: color .2s ease;
    -ms-transition: color .2s ease;
    -o-transition: color .2s ease;
    transition: color .2s ease;
    height: 40px;
    line-height: 40px;
}

#cssmenu ul ul li ul li:nth-last-child(0) a {
    border-bottom: none;
}

#cssmenu ul ul li:hover > a,
#cssmenu ul ul li a:hover {
    color: #34c388;
    background: #1d2c40;
}

#cssmenu ul ul li.has-sub > a::after {
    position: absolute;
    top: 13px;
    right: 10px;
    width: 4px;
    height: 4px;
    border-bottom: 1px solid #dddddd;
    border-right: 1px solid #dddddd;
    content: "";
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: border-color 0.2s ease;
    -moz-transition: border-color 0.2s ease;
    -ms-transition: border-color 0.2s ease;
    -o-transition: border-color 0.2s ease;
    transition: border-color 0.2s ease;
}

#cssmenu.align-right ul ul li.has-sub > a::after {
    right: auto;
    left: 10px;
    border-bottom: 0;
    border-right: 0;
    border-top: 1px solid #dddddd;
    border-left: 1px solid #dddddd;
}

#cssmenu ul ul li.has-sub:hover > a::after {
    border-color: #bababa;
}
/*导航结束*/
.MainContent {
    padding: 80px 20px 0px 20px;
}

.page-title {
    font-size: 18px;
    height: 38px;
    color: #2ea87b;
}

.Camera {
    width: 48%;
    height: 70vh;
    float: left;
    margin-right: 10px;
    margin-top: 10px;
}

.Camera-title {
    border: none;
    /* background: rgba(48,65,86,.4) !important; */
    color: #34c388;
    height: 45px;
    line-height: 45px;
    text-indent: 1rem;
    position: relative;
    top: -45px;
    float: left;
}

.Camera-video {
    height: 100%;
}

    .Camera-video iframe {
        height: 100%;
        border: none;
    }

.panel-top {
    display: none !important;
}

.sosobtn {
    height: 38px;
    width: 80px;
    margin-top: 0px;
    line-height: 35px;
    float: right;
    margin-left: 10px;
    font-size: 16px;
}

#loginout {
    color: #b8b8b8;
    text-decoration: none;
    margin-left: 10px;
}

.noinfo {
    font-size: 20px;
    color: #f94c4c;
    background: #1d2b3f;
    padding: 20px;
    width: 500px;
    margin: 0 auto;
    margin-top: 300px;
    text-align: center;
}

.DeviceHistory {
    margin-top: 24px;
    color: #bababa !important;
    background: rgba(48,65,86,.4) !important;
    border: 20px solid transparent !important;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.layui-form {
    font-size: 14px;
    color: #d8d8d8;
}

.sosocoloer input {
    color: #d8d8d8;
}

.DeviceHistory .layui-table {
    border: none !important;
    background: none !important;
}

    .DeviceHistory .layui-table td, .layui-table th, .layui-table-col-set, .layui-table-fixed-r, .layui-table-grid-down, .layui-table-header, .layui-table-page, .layui-table-tips-main, .layui-table-tool, .layui-table-total, .layui-table-view, .layui-table[lay-skin=line], .layui-table[lay-skin=row] {
        border: none !important;
        color: #c2c2c2 !important;
    }

        .DeviceHistory .layui-table tbody tr:hover, .layui-table thead tr, .layui-table-click, .layui-table-header, .layui-table-hover, .layui-table-mend, .layui-table-patch, .layui-table-tool, .layui-table-total, .layui-table-total tr, .layui-table[lay-even] tr:nth-child(even) {
            background: none !important;
        }

    .DeviceHistory .layui-table tbody tr:hover, .layui-table-hover {
        background: #20344c !important;
        color: #fff !important;
    }

.DeviceHistory .layui-table-header .layui-table td, .layui-table th {
    font-size: 16px !important;
    color: #c2c2c2 !important;
}

.DeviceHistory .layui-laypage a, .layui-laypage span {
    display: inline-block;
    display: inline;
    zoom: 1;
    vertical-align: middle;
    padding: 0 15px;
    height: 28px;
    line-height: 28px;
    background-color: #fff;
    color: #c2c2c2 !important;
    font-size: 14px !important;
}

.DeviceHistory .layui-table-page .layui-laypage a, .layui-table-page .layui-laypage span {
    margin-top: 5px !important;
}

.DeviceHistory .layui-input, .DeviceHistory .layui-laypage-btn, .DeviceHistory select {
    background: none;
    color: #e2e2e2;
}

#divCont {
    float: left;
    height: 60px;
    line-height: 60px;
}

    #divCont > li > a {
        font-size: 14px;
        text-decoration: none;
        text-transform: uppercase;
        color: #bababa;
        -webkit-transition: color .2s ease;
        -moz-transition: color .2s ease;
        -ms-transition: color .2s ease;
        -o-transition: color .2s ease;
        transition: color .2s ease;
        padding: 0px 20px !important;
    }

        #divCont > li > a:hover {
            color: #34c388;
            background: rgba(169, 169, 169, 0.15);
        }

    #divCont > li.active > a {
        color: #34c388;
        background: rgba(169, 169, 169, 0.15);
    }



@media screen and (min-width: 1200px) and (max-width: 1800px) {

    #cssmenu > ul > li > a {
        font-size: 14px;
        text-decoration: none;
        text-transform: uppercase;
        color: #bababa;
        -webkit-transition: color .2s ease;
        -moz-transition: color .2s ease;
        -ms-transition: color .2s ease;
        -o-transition: color .2s ease;
        transition: color .2s ease;
        padding: 0px 10px;
    }
}