* {
    margin: 0;
    padding: 0;
    font-family: "Microsoft YaHei", tahoma, Arial, "SimSun", sans-serif, serif !important;
    color: #333;
}

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    background: url(./img/pc_bg.png)  100% no-repeat  !important;
}

.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    -icab-text-overflow: ellipsis;
    -khtml-text-overflow: ellipsis;
    -moz-text-overflow: ellipsis;
    -webkit-text-overflow: ellipsis;
}

.hide {
    display: none;
}

.sf-border-box {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -khtml-border-radius: border-box;
    box-sizing: border-box;
}

/*头部样式*/
.header {
    position: fixed;
    color: #fff;
    background: #2253a0;
    width: 100%;
    height: 70px;
    line-height: 70px;
    z-index: 10;
}

.header-left-logo {
    float: left;
    color: #fff;
    margin-left: 20px;
}

.header-right {
    width: auto;
    height: 70px;
    min-width: 200px;
    float: right;
    padding-right: 20px;
    text-align: right;
}

.header-right-user {
    list-style: none;
    display: inline-block;
    padding: 0 5px;
}

.header-right-user .username-icon {
    display: inline-block;
    height: 70px;
    float: left;
    background: url('./img/admin.png') center center no-repeat;
    width: 26px;
}

.header-right-user:hover {
    background: #154490;
}

.header-right-user.click {
    background: #154490;
}

.header-right-use.click {
    background: #154490;
}

.header-right-user .logout {
    background: #154490;
    text-align: center;
    line-height: 40px;
    font-size: 14px;
}

.header-right-user .logout span {
    color: #fff;
}

.header-right-user .logout:hover span {
    color: #00CCFF;
    cursor: pointer;
}

.header-right-user .logout.click {
    cursor: pointer;
}

.header-right-user .arrow-icon {
    float: right;
    display: inline-block;
    background: url('./img/arrow-bottom.png') center center no-repeat;
    width: 20px;
    height: 70px;
}

.header-right-user:hover .hide {
    display: block;
}

.header-right-user .hide.click {
    display: block;
}

/*主面板样式*/
.main-container {
    position: relative;
    padding-top: 70px;
    height: 100%;
}

.main-container-body {
    height: 100%;
    padding: 0 50px 20px;
    overflow-y: auto;
    position: relative;
}

.my-mode {
    background: #fff;
    margin-top: 16px;
    position: relative;
    border-radius: 4px;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.10);
    border: 0;
    overflow: hidden;
}

.my-mode.userinfo {
    overflow: hidden;
}

.my-mode-title {
    border-bottom: 1px solid #dee0e1;
    color: #223d65;
    font-size: 16px;
    height: 50px;
    line-height: 50px;
    padding-left: 16px;
    font-family: MicrosoftYaHei;
}

.ul-userInfo {
    margin: 0;
    padding: 0;
    background: red;
}

.ul-userInfo li {
    margin: 0;
    padding-top: 70px;
    float: left;
    list-style: none;
    width: 300px;
    height: 150px;
}

.ul-userInfo .li-user-img {
    padding: 0;
    width: 200px;
}

.mod-edit-btn {
    margin-top: -15px;
    background: #4D8DD9;
    border-radius: 2px;
    width: 100px;
    line-height: 30px;
    height: 30px;
    font-size: 14px;
    color: #fff;
    text-align: center;
    cursor: pointer;
    display: inline-block;
}

.mod-edit-btn:hover {
    background: #71A4E1;
}

.mod-edit-btn:active {
    background: #3E71AE;
}

.img-user {
    height: 60px;
    width: 60px;
    display: block;
    margin: -45px auto 0;
}

.user-header {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
}

.span-username {
    display: block;
    max-width: 100px;
    font-size: 14px;
    color: #333333;
    text-align: center;
    margin: 10px auto;
    cursor: default;
}

.label-group {
    margin: 10px;
    height: 28px;
    color: #333;
}

.label-group label {
    float: left;
}

.label-group-left {
    width: 110px;
}

.device-list {
    padding: 20px;
    overflow: auto;
    position: absolute;
    top: 50px;
    bottom: 0;
    right: 0;
    left: 0;
}

.device-item {
    width: 25%;
    float: left;
    display: inline-block;
    padding: 20px;
}

.accessDevice-box {
    position: relative;
    height: 144px;
    background: #f8fbfe;
    border: 1px solid #c4daf3;
    border-radius: 4px;
}

.add-dev-box .accessDevice-box {
    background: rgba(153, 153, 153, 0.04);
    border: 1px solid rgba(153, 153, 153, 0.30);
    border-radius: 4px;
    color: #999;
}

.accessDevice-box-wrapper dt {
    margin-left: 30px;
    margin-top: 80px;
}

.accessDevice-box-wrapper dd {
    margin: 10px;
}

.add-dev {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    height: 144px;
    width: 428px;
}

.to-add-dev {
    display: block;
    color: #999;
    font-size: 12px;
    padding-top: 8px;
}

/*弹框公共样式*/
.pop-window {
    position: absolute;
    font-size: 12px;
    background-color: #fff;
    border: 1px solid #999;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 4px;
    outline: 0;
    z-index: 999;
    display: none;
    top: 50%;
    left: 50%;
    margin-top: -140px;
    margin-left: -240px;
}

.pop-window.small {
    margin-top: -140px;
    margin-left: -240px;
}

.pop-window-header {
    padding: 10px 14px;
    border-bottom: 1px solid #e5e5e5;
    overflow: hidden;
    font-size: 16px;
    line-height: 20px;
}

.pop-window-header h4 {
    margin: 0;
    float: left;

}

.pop-window-header-close {
    float: right;
    width: 20px;
    height: 20px;
    border: none;
    padding: 0;
    cursor: pointer;
    background: url('./img/close.png') center no-repeat;
    outline: none;
}

.pop-window-body {
    position: relative;
    padding: 20px;
    height: 146px !important;
}

.pop-window-body-item {
    height: 30px;
    position: relative;
    margin-bottom: 10px;
}

.pop-window-body-item label {
    float: left;
    width: 120px;
    padding-right: 5px;
    height: 30px;
    line-height: 30px;
}

.disabled {
    opacity: 0.6;
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=60); /*兼容ie8及以下*/
}

.pop-window-body-item.img-item {
    height: 70px;
    display: none;
}

.pop-window-body-item img {
    width: 60px;
    height: 60px;
}

.pop-window-body-item input,
.pop-window-body-item select {
    width: 250px;
    line-height: 28px;
    height: 28px;
    position: absolute;
    padding-left: 8px;
    border-radius: 2px;
    border: 1px solid #ddd;
    margin: 0;
    right: 0px;
}
.edit-all-info .pop-window-body-item input,
.edit-all-info .pop-window-body-item select {
    right: 38px !important;
}

.pop-window-body-item select {
    height: 30px;
    width: 260px;
    padding-left: 0;
    background-color: #ddd;
}

.pop-window-footer {
    padding: 10px 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}

.pop-window-footer-btn {
    display: inline-block;
    width: 90px;
    height: 30px;
    line-height: 30px;
    margin-bottom: 0;
    margin-left: 5px;
    font-family: MicrosoftYaHei;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    color: #fff;
    background-color: #4D8DD9;
    border: none;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.pop-window-body-item .btn-modify {
    float: right;
    height: 26px;
    margin-left: 10px;
    opacity: 1;
    color: #4677C6;
    font-size: 14px;
    height: 30px;
    line-height: 30px;
    cursor: pointer;
    display: inline-block;
    border: none;
    outline: none;
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100);
}

.cancel {
    color: #000;
    background-color: #fff;
    border: 1px solid #ddd;
}

/*end*/

/*编辑个人信息*/
.pop-window.edit-all-info {
    width: 478px;
}

.pop-window.edit-all-info .pop-window-body {
    height: 270px;
    overflow-y: scroll;
}

/*end*/

/*修改单个信息*/
.pop-window.editSingleInfo {
    width: 478px;
    z-index: 1444;
}
.pop-window-body-item:last-child{
    margin-bottom: 0px;
}

.pop-window-body-item.modifySingleInfo label {
    /*width: 100px;*/
}

.modifySingleInfo .modify-input {
    width: 235px;
    padding-right: 80px;
}

.modifySingleInfo .getCode {
    width: 80px;
    height: 30px;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    color: #03309D;
    background: transparent;
    position: absolute;
    right: 0;
}
.modifySingleInfo .getCode:disabled {
    color: #333;
}

.pop-window-body-item.modifySingleInfo .countTime {
    margin-left: 4px;
    width: 40px;
    display: none;
    height: 28px;
    line-height: 28px;
}

.secondStep {
    display: none;
}

/*end*/

/*修改密码弹框*/
.pop-window-body-item.editPassword label {
    /*display: block;
    float: none;*/
    margin-bottom: 10px;
}

.pop-window-body-item.editPassword input {
    float: right;
    width: 315px;
}

.pop-window-body-item.editPassword {
    /*height: 60px;*/
}

.pop-window-body-item.editPassword.newPassword {
    height: 120px;
}

/*end*/

/*添加邮箱*/
.pop-window-body-item.addSingleInfo label {
    /*width: 100px;*/
}

.pop-window-body-item.addSingleInfo input {
    width: 315px;
    float: right;
}

/*end*/
#mask1,
#mask2 {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 998;
    background-color: #000;
    display: none;
    -moz-opacity: 0.2;
    opacity: .20;
    filter: alpha(opacity=20);
}

#mask2 {
    z-index: 1000;
}

/*接入设备*/
.accessDevice-box dd {
    margin: 0;
    margin-bottom: 8px;
    overflow: hidden;
    font-size: 12px;
}

.device-info-item {
    padding-left: 130px;
}

.device-info-wrapper {
    margin-top: 25px;
}

.dev-img-box {
    height: 144px;
    width: 130px;
    position: absolute;
    text-align: center;
    top: 38px;

}

.device-info-item-label {
    display: inline-block;
    height: 25px;
    min-width: 65px;
    margin-bottom: 5px;
}
.env-en .device-info-item-label {
    min-width: 80px;
}

.device-info-item-val {
    height: 25px;
    margin-bottom: 5px;
}

.dev-add {
    height: 144px;
    width: 384px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.dev-add:hover {
    cursor: pointer;
}

.dev-del {
    position: absolute;
    right: 5px;
    top: 0px;
    cursor: pointer;
    display: none;
    color: red;
}

/*end*/

/*添加设备*/
.pop-window.add-dev-window {
    width: 478px;
}

.pop-window.add-dev-window {
    margin-left: -240px;
    margin-top: -165px;
}

.pop-window-body-item .add-dev-label,
.pop-window-body-item .add-dev-input,
.pop-window-body-item .add-dev-select {
    float: left;
    background-color: #fff;
    margin: 5px;
}

.pop-window-body-item .add-dev-label {
    width: 70px;
    margin-left: 10px;
}

.pop-window-body-item .add-dev-input {
    width: 120px;
    height: 20px;
}

.pop-window-body-item .add-dev-select {
    width: 120px;
    height: 26px;
}

@media only screen and (max-width: 1600px) {
    .custom_attr_item .key,
    .custom_attr_item .value,
    .device-item {
        width: 33.333333%;
    }
}

/*end*/

/*个人信息*/
.user-info_img {
    text-align: center;
    width: 200px;
    top: 10px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

.user-info_custom_attr {
    overflow: hidden;
    margin: 20px 0px 20px 200px;
    font-size: 12px;
}
.user-info_custom_attr.one-line {
    margin: 60px 0px 60px 200px;
}
.user-info_custom_attr.two-line {
    margin: 40px 0px 40px 200px;
}

.user-info_edit {
    width: 150px;
    top: 50px;
    position: absolute;
    right: 0;
    bottom: 0;
}

.custom_attr_item {
    width: 25%;
    display: inline-block;
    height: 40px;
    line-height: 40px;
}

.custom_attr_item .name {
    width: 35% !important;
    display: inline-block;
    overflow: hidden;
    padding-left: 10px;
    max-width: 170px;
}

.custom_attr_item .value {
    width: 45%;
    display: inline-block;
}

.username-text {
    display: inline-block;
    max-width:110px;
    cursor: default;
    color: #fff;
}

.header-right-user .username {
    height: 70px;
    font-size: 14px;

}

.my-mode.device-content {
    position: absolute;
    top: 216px;
    bottom: 16px;
    right: 50px;
    left: 50px;
}

.more-link {
    color: #4d8dd9;
    cursor: pointer;
    padding-left: 10px;
}

.user-detail-list-item {
    height: 30px;
}

.user-detail-list-name {
    min-width: 115px;
    display: inline-block;
    max-width: 150px;
}

.user-detail-list-val {
    min-width: 115px;
    display: inline-block;
    max-width: 150px;
}

.logo-img {
    vertical-align: middle;
}

.logo {
    color: #fff;
}

/* 添加设备 */
.add-dev-label {
    width: 100px;
    display: inline-block;
    height: 30px;
    line-height: 30px;
}

.add-dev-input {
    width: 308px;
    height: 28px;
    padding: 0 5px;
    border: 1px solid #ddd;
    float: right;
}

.mac-guideline {
    margin-bottom: 15px;
    text-align: right;
}

.mac-guideline a {
    color: #4d8dd9;
    text-decoration: underline;
}

.add-device-field {
    margin-bottom: 10px;
}

.add-device-field:last-child {
    margin-bottom: 0px;
}

.add-dev-select {
    width: 320px;
    height: 30px;
    border: 1px solid #ddd;
    float: right;
}

.add-dev-btn {
    background: #4D8DD9;
    border: none;
    border-radius: 2px;
    height: 30px;
    outline: none;
    color: #fff;
    width: 80px;
    line-height: 30px;
    cursor: pointer;
    margin-bottom: 10px;
    margin-left: 18px;
    font-size: 15px;
}

.add-dev-btn-img {
    vertical-align: -2px;
}

.add-device-wrapper #add-desc {
    padding: 5px;
    resize: none;
}

.apply-description-field {
    margin-top: 10px;
}

.apply-description-field .label-field {
    vertical-align: top;
}

.apply-description-field .description-input {
    height: 150px;
    width: 300px;
    padding: 5px;
}

.device .del-current-device {
    color: #3287ec;
    cursor: pointer;
    padding-left: 10px;
}

.script-hidden {
    display: none;
}

.group-tip {
    width: 20px !important;
    height: 20px !important;
    padding-left: 5px;
    display: inline-block;
    vertical-align: -9px;
}
.to-config-phone, .to-config-mail{
    color: #4d8dd9;
    cursor: pointer;
}

.forbid-exit .arrow-icon{
    display: none;
}

.forbid-exit.header-right-user:hover {
    background: transparent;
}
.forbid-exit.header-right-user .logout {
    display: none;
}

.forbid-exit.header-right-user.click {
    background: transparent;
}

.check-code-field {
    display: inline-block;
    float: right;
    width: 325px;
    position: absolute;
    right: 0;
}

.empty-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
}
.empty-info {
    position: absolute;
    top: 120px;
    text-align: center;
    left: 0;
    right: 0;
}

.empty-text {
    margin-top: 10px;
    font-size: 12px;
    color: #999;
}
/*end*/