/*
 * 文件描述:  CSS UI-MODULE
 * 对应功能页：页面布局
 * 期望执行浏览器：所有浏览器(IE8及非IE效果更佳)
*/

/*
 * 模块名称:  ui-nav module
 * 模块描述： 主导航
 */
.ui-nav a{
    float: left;
    display: block;
    width: 117px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    background-repeat: no-repeat;
    background-position: 0 0;
    cursor: pointer;
}
.ui-nav a:hover,
.ui-nav a.current{
    background-position: -150px 0;
}
.ui-nav-alm {
    position: relative;
    top: -27px;
    left: 78px;
    *left: 40px;
    width: 36px;
    height: 26px;
}
/*
 * 模块名称:  ui-video-icons module
 * 模块描述： 预览界面顶部图标
 */
.ui-video-icons {
    float: right;
}
.ui-video-icons [class^= "icon-"] {
    display: inline-block;
    height: 26px;
    margin-right: 2px;
    cursor: pointer;
    background-repeat: no-repeat;
}

/*hide help icon*/
.ui-video-icons .icon-help { display: none;}

/*icons-报警*/
.icon-alarm {
    width: 22px;
    background-position: 0 0;
}
.icon-alarm:hover,
.icon-alarm.hover {
    background-position: 0 -40px;
}
.icon-alarm.current {
    background-position: 0 -80px;
}
/*icons-局部放大*/
.icon-big {
    width: 28px;
    background-position: -40px 0;
}
.icon-big:hover,
.icon-big.hover {
    background-position: -40px -40px;
}
.icon-big.current {
    background-position: -40px -80px;
}
/*icons-抓图*/
.icon-pic {
    width: 28px;
    background-position: -80px 0;
}
.icon-pic:hover,
.icon-pic.hover {
    background-position: -80px -40px;
}
.icon-pic.current {
    background-position: -80px -80px;
}
/*icons-三连抓*/
.icon-picthree {
    width: 26px;
    background-position: -120px 0;
}
.icon-picthree:hover,
.icon-picthree.hover {
    background-position: -120px -40px;
}
.icon-picthree.current {
    background-position: -120px -80px;
}
/*icons-录像*/
.icon-video {
    width: 33px;
    background-position: -160px 0;
}
.icon-video:hover,
.icon-video.hover {
    background-position: -160px -40px;
}
.icon-video.current {
    background-position: -160px -80px;
}
/*icons-聚焦*/
.icon-afocus {
    width: 24px;
    background-position: -200px 0;
}
.icon-afocus:hover,
.icon-afocus.hover {
    background-position: -200px -40px;
}
.icon-afocus.current {
    background-position: -200px -80px;
}
/*icons-帮助*/
.icon-help {
    width: 22px;
    background-position: -240px 0;
}
.icon-help:hover,
.icon-help.hover,
.icon-help.current {
    background-position: -240px -40px;
}
.icon-manusnap {
    width: 28px;
    background-position: -280px 0;
}
.icon-manusnap:hover,
.icon-manusnap.hover {
    background-position: -280px -40px;
}
.icon-manusnap.current {
    background-position: -280px -80px;
}

/** ui form **/
.ui-form-item:after {
    visibility:hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}
.ui-form-item {
    margin-bottom: 2px;
    *margin-bottom: 4px;
    zoom:1; /* for IE6 IE7 */
}
.ui-label {
    float: left;
    display: block;
    width: 120px;
    margin-top:2px;
    margin-bottom: 2px;
    line-height: 22px;
    text-align: left;
}
.ui-label-block {
    display: block;
    width: 13px;
    text-align: center;
    *text-align: right;
}
.ui-form-item input,
.ui-form-item span,
.ui-form-item label,
.ui-form-item select {
    vertical-align: middle;
}
.ui-form-item .aligntop {
    vertical-align: top;
}
.ui-half-box {
    float: left;
    width: 47%;
    min-width: 380px;
}
.ui-checkbox {
    float: left;
    margin-top:6px;
    *margin-top:2px;
    margin-right: 7px;
    *margin-right: 0;
    vertical-align: top;
    text-align: left;
}
.ui-checkbox input[type="radio"],
.ui-checkbox input[type="checkbox"]{
    vertical-align: top;
}
.ui-select {
    float: left;
    display: block;
    width: 160px;
    margin: 3px 4px auto 0;
}
.ui-title {
    display: block;
    width: 100%;
    height: 24px;
    line-height: 24px;
    text-align: left;
    text-indent: 10px;
    font-weight: bold;
}
.ui-text {
    float: left;
    display: block;
    margin: 2px 4px 2px 0;
    line-height: 22px;
    text-align: left;
}
.ui-label-sub {
    float: left;
    display: block;
    min-width: 40px;
    padding: 0;
    margin-top:2px;
    margin-right: 10px;
    line-height: 22px;
    text-align: left;
}
/*
 * 视频底部图标
 */
.ui-videobar{
    position: relative;
    width: 100%;
    height: 21px;
    padding-top: 3px;
}
.custom-ui-videobar{
    position: relative;
    height: 21px;
    padding-top: 3px;
}
.ui-video-item{
    display: inline;
    height: 17px;
}
.ui-video-icon{
    float: left;
    display: block;
    width: 23px;
    height: 17px;
    margin-left: 6px;
    background-position: 0 -60px;
    cursor: pointer;
}
.ui-video-icon:hover,
.ui-video-icon.current{
    background-position: -30px -60px;
}
.disabled .ui-video-icon,
.disabled .ui-video-icon:hover {
    background-position: 0 -60px; 
    -moz-opacity: 0.5;
    opacity: 0.5;
    filter: alpha(opacity=50);
}
.ui-video-wrap {
    float: left;
    height: 17px;
}
.ui-video-wrap-item {
    float: left;
    display: block;
    cursor: pointer;
    font-size: 12px;
}
.ui-video-wrap-icon {
    float: left;
    display: block;
    width: 18px;
    height: 18px;
}

.ui-video-icon [class^= "icon-"],
 [class^= "custom-icon-"]{
    display: block;
    width: 23px;
    height: 17px;
}

.icon-image {
    background-position: 0 -30px;  
}
.icon-per {
    background-position: -30px -30px;  
}
.icon-full {
    background-position: -60px -30px;  
}
.icon-wh {
    background-position: -90px -30px;  
}
.icon-screen {
    background-position: -120px -30px; 
}
.icon-one {
    background-position: -150px -30px;  
}
.icon-four {
    background-position: -180px -30px; 
}
.icon-ptz {
    background-position: -210px -30px;  
}
.icon-ivs {
    background-position: -240px -30px;
}

.custom-icon-image {
    background-position: 0 -30px;  
}
.custom-icon-per {
    background-position: -30px -30px;  
}
.custom-icon-full {
    background-position: -60px -30px;  
}
.custom-icon-wh {
    background-position: -90px -30px;  
}
.custom-icon-screen {
    background-position: -120px -30px; 
}
.custom-icon-one {
    background-position: -150px -30px;  
}
.custom-icon-four {
    background-position: -180px -30px; 
}
.custom-icon-ptz {
    background-position: -210px -30px;  
}
.custom-icon-ivs {
    background-position: -240px -30px;
}
.ui-video-iconc {
    float: left;
    display: none;
}
.ui-video-iconc a{
    padding: 0 4px;
    cursor: pointer;
}

/*
* 回放模块按钮
 */
.icon-download{
    background-color: #ff0;
}
.ui-play-button{
    background-position: 0px -150px;
}
.ui-play-button:hover{
    background-position: -30px -150px;
}
.icon-play{
    background-position: -4px -156px;
}
.icon-pause{
    background-position: -34px -156px;
}
.icon-frame{
    background-position: -125px -156px;
}
.icon-slow{
    background-position: -154px -156px;
}
.icon-fast{
    background-position: -184px -156px;
}
.icon-sound{
    background-position: -215px -157px;
}
.ui-playback-time{
    background-position:  0 -60px;
}
.ui-playback-time:hover{
    background-position:  0 0px;
}
.ui-playback-time.current-mode{
    background-position:  0 -120px;
}
.icon-time{
    background-position: -422px -152px;
}
.icon-record-pointer{
    background-position: -449px -150px;
}
.ui-video-iconc {
    float: left;
    display: none;
}
.ui-video-iconc a{
    padding: 0 4px;
}

/*
* ui-container
 */
.ui-container {
    padding: 10px 20px;
}
.ui-container h2 {
    font-weight: bold;
    line-height: 26px;
}
.ui-buttonbox {
    padding-top: 10px;
    padding-bottom: 4px;
}
.ui-small-btn {
    width: 68px;
    height: 18px;
    line-height: 18px;
}
.ui-button-bg {
    width: 100%;
    height: 15px;
    background-position: 0 -183px;
}

/*
 * 模块名称:  timeplan module
 * 模块描述:  ui-timeplan 计划时间表
 */
.ui-tp-color-tip {
    width: 630px;
    height: 30px;
}
.ui-tp-color-tip label {
    float: left;
    display: block;
    margin-top: 2px;
    margin-right: 4px;
    line-height: 22px;
}
.ui-tp-color-tip span {
    float: left;
    display: block;
    width: 10px;
    height: 10px;
    margin: 8px 4px 8px 0;
}
.ui-tp-hour {
    padding-left: 100px;
    height: 22px;
}
.ui-tp-hour ul {
    width: 100%;
    height: 22px;
}
.ui-tp-hour ul li {
    float: left;
    width: 44px;
    height: 22px;
    margin-left: -1px;
    line-height: 22px;
    text-align: left;
}
.ui-tp-hour ul li.ui-tp-hour-lilast {
    width: 20px;    
}
.ui-tp-hourbg {
    float: left;
    width: 530px;
    height: 22px;
    margin-top: -22px;
}

.ui-tp-week {
    float: left;
    width: 96px;
    height: 204px;
    margin-right: 2px;
    padding-right: 4px;
}
.ui-tp-week ul li {
    height: 29px;
    padding-right: 4px;
    text-align: right;
    line-height: 29px;
}
.ui-tp-button {
    float: left;
    width: 78px;
}
.ui-tp-button a{
    margin: 2px 0 2px 10px;
}

/*ui-timesection 时间段设置*/
.ui-timesection {
    border: 1px solid #ABABAB;
    background: #E0E0E0;
    margin: 10px 20px 0;
    padding: 0 5px;   
}

.ui-symbol {
    float: left;
    display: block;
    width: 10px;
    margin-right: 4px;
    line-height: 26px;
    text-align: center;
}

/*
 * 模块名称:  channel module
 * 模块描述:使用于DVR各通道及IPC报警通道等
 */
.ui-chn {
    display: inline-block;
    vertical-align: middle;
}
.ui-chn-item {
    float: left;
    display: block;
    width: 22px;
    height: 22px;
    line-height: 22px;
    margin: 2px 5px 2px 0;
    background-position: -60px -180px;
    background-repeat: no-repeat;
    text-align: center; 
    font-size: 14px;
    cursor: pointer;
}
.ui-chn-item:hover {
     background-position: -90px -180px;
}
.ui-chn-item-cur,
.ui-chn-item-cur:hover {
    background-position: -120px -180px;
}
.ui-chn-item-disabled,
.ui-chn-item-disabled:hover {
    background-position: -30px -180px;
}

/*
 * 模块名称:  input module
 * 模块描述：ui-input适用于一般输入框；
 *                     ui-textarea适应于输入区域；
 *                     ui-input-time适应于时间年月输入；
 *                     ui-input-ip适应于IP/MAC输入；
 */
 .ui-textarea {
    width: 250px;
    height: 100px;
    padding-left: 4px;
    margin: 2px 4px 0 0;
    overflow-y: auto;
 }
 .ui-textarea-item {
    float:left;
    width: 90%;
    text-align: left;
}

/*
 * 模块名称:  detail module
 * 模块描述:  ui-detail 用于权限列表及详细说明
 */
.ui-detail{
    height: 120px;
    margin: 10px 0 0;
    overflow-y: auto;
    overflow-x: hidden;
}
.ui-detail h3 {
    line-height: 22px;
    font-size: 12px;
    font-weight: bold;
    text-indent: 10px;
}
.ui-detail-box {
    padding: 0 10px 10px;
}
.ui-detail-box .ui-text {
    line-height: 20px;
}
.ui-detail-sub-item {
    clear: both;
    width: 100%;
}
.ui-detail-item {
    float: left;
    display: block;
    min-width: 150px;
    line-height: 20px;
    text-align: left;  
}
.ui-detail-box td{
    vertical-align: top;
}

 /* 模块描述: table module*/
.ui-table-tab {
    width: 100%;
    height: 22px;
}
.ui-table-tab li {
    float: left;
    width: 145px;
    height: 22px;
    margin-right: 4px;
    line-height: 22px;
    text-align: center;
    font-size: 12px;
    cursor: pointer;
}
.ui-table-tab .current {
    font-weight: bold;
}

 /*
 * 模块名称:  autobox module
 * 模块描述:  ui-autobox 用于所有内容均水平居中的BOX
 */
.ui-autobox {
    /*width: 100%;*/ /* ie7 bug*/
    margin: 0 auto;
    text-align: center;  
}
.ui-autobox-content {
    clear: both;
    display:inline-block;
    *display:inline;
    zoom:1;
    min-width: 100px;
    *margin-bottom: 4px;
}

/*
 * 模块名称:  field module
 * 模块描述:  带边框的列表--类似fieldset
 */
 .ui-field-group {
    width: 363px;
    padding: 10px 10px 0;
    margin-bottom: 15px;
    display: inline-block;
 }
 .ui-field-title {
    float: left;
    height: 20px;
    line-height: 20px;
    display: inline-block;
    margin-top: -20px;
    margin-bottom: 10px;
    *margin-bottom: 1px;
 }
 .ui-field-group li {
    float: left;
    padding: 0 0 4px;
    min-width: 120px;
}
.ui-field-group .ui-textarea {
    width: 270px;
    height: 40px;
    line-height: 20px;
    vertical-align: middle;
}
/**
 * 模块描述: video module
 */
.ui-video-left {
    float: left;
    width: 450px;
}
.ui-video-right {
    margin-left: 460px;
    margin-top: 5px;
    overflow: hidden;
}
.ui-video-box {
    position: absolute;
    left: 195px;
    top: 46px;
}
.ui-video {
    width: 450px;
    height: 337px;
    overflow: hidden;
    margin-top: 10px;
}
.ui-iconbar-box {
    position: absolute;
    left: 195px;
    top: 393px;
}
.ui-iconbar {
    width: 450px;
    height: 28px;
    padding-top: 2px;
    *padding-top: 7px;
}

/*ui-ptz 模块*/
.ui-ptz-adjust-item .ui-ptz-icon {
    margin: 10px 0 0; 
}
.ui-ptz-icon-more {
    background-position: 0 -270px;
}
.ui-ptz-icon-less {
    background-position: 0 -300px;
}
.ui-ptz-adjust-text {
    float: left;
    display: block;
    width: 56px;
    padding-top: 15px;
    text-align: center;
}
[class^= "ui-ptz-icon-"] {
    display: block;
    width: 28px;
    height: 28px;
    background-repeat: no-repeat; 
}
.ui-ptz-icon-more {
    background-position: -270px -90px;
}
.ui-ptz-icon-less {
    background-position: -300px -90px;
}

.ui-ptz-iconbox {
    width: 128px;
    height:110px;
    margin-left: 20px;
    margin-bottom: 10px;
}
.ui-ptz-icon,
.ui-ptz-specail-icon {
    float: left;
    display: block;
    width: 28px;
    height: 28px;
    margin: 0 14px 14px 0px;
    background-position: 0 -90px;
    background-repeat: no-repeat;
    cursor: pointer;
}
.ui-ptz-specail-icon {
    width: 34px;
    height: 34px;
    margin: -3px 11px 3px -3px;
    background-position: -60px -90px;
}
.ui-ptz-icon:hover,
.ui-ptz-icon.current {
    background-position: -30px -90px;
}
.ui-ptz-icon-disabled,
.ui-ptz-icon-disabled:hover {
    background-position: 0 0px;
}
.ui-ptz-specail-icon:hover,
.ui-ptz-specail-icon.current {
    background-position: -120px -90px;
}
.ui-ptz-specail-icon [class^= "ui-ptz-icon-"] {
    float: left;
}

.ui-ptz-icon-leftup {
    background-position: -60px -90px;
}
.ui-ptz-icon-up {
    background-position: -120px -90px;
}
.ui-ptz-icon-rightup {
    background-position: -210px -90px;
}
.ui-ptz-icon-left {
    background-position: -30px -90px;
}
.ui-ptz-icon-right {
    background-position: -180px -90px;
}
.ui-ptz-icon-leftdown {
    background-position: 0 -90px;
}
.ui-ptz-icon-down {
    background-position: -90px -90px;
}
.ui-ptz-icon-rightdown {
    background-position: -150px -90px;
}
.ui-ptz-icon-center {
    background-position: -240px -90px;
}

/*
 * 模块名称:  boat module
 * 模块描述:  ui-boat -IPC普通球
 *            ui-boat-intel -智能球
 */
/*ui-boat*/
.ui-boat,
.ui-boat-current,
[class^= "ui-boat-current-"] {
    width: 100px;
    height: 100px;
    background-image: url(../image/boat.png);
    background-position: 0 0;
    background-repeat: no-repeat;
}
.ui-boat {
    margin: 10px auto 0 25px;
}
.ui-boat-current,
.ui-boat-intel-current {
    position: relative;
    left: 0;
    top: 0;
}
.ui-boat-current-up {
    background-position: 0 -120px;
}
.ui-boat-current-left {
    background-position: 0 -240px;
}
.ui-boat-current-center {
    background-position: 0 -360px;
}
.ui-boat-current-right {
    background-position: 0 -480px;
}
.ui-boat-current-down {
    background-position: 0 -600px;
}

[class^= "ui-boat-box-"] {
    position: relative;
    width: 40px;
    height: 25px;
    cursor: pointer;
    text-align: left; 
}
.ui-boat-box-up {
    left: 30px;
    top: 5px;
}
.ui-boat-box-left {
    left: 2px;
    top: 5px; 
    width: 30px;
    height: 35px;
}
.ui-boat-box-center {
    left: 37px;
    top: -20px;
    width: 24px;
    height: 24px;
}
.ui-boat-box-right {
    left: 66px;
    top: -53px;
    width: 30px;
    height: 35px;
}
.ui-boat-box-down {
    left: 30px;
    top: -50px;
}

/*ui-subnav模块*/
.ui-subnavbox {
    float: left;
    margin: 0;
}
.ui-subnav{
    float: left;
    display: inline;
    padding-right: 10px;
    width: 140px;
    height: 380px;
    background: url(../image/newintebg.png) no-repeat 140px 0;
}
.ui-subnav li{
    float: left;
    display: inline;
    width: 140px;
    margin: 0;
    padding: 0;
}
.ui-subnav-item{
    float: left;
    display: inline;
    background: url(../image/fuclistbg.png) 0 0px;
    padding: 0 0px 0 20px;
    width: 120px;
    height: 28px;
    line-height: 28px;
    overflow: hidden;
}
.ui-subnav-item:hover{
    background-position: -150px 0px;
}
.ui-subnav-item-current,
.ui-subnav-item-current:hover{
    background-position: 0 -26px;
}
/*recordStorage*/
.ui-special-table table {
    table-layout: fixed;
    width: 100%;
    margin: 0px auto;
    text-align: center;
}
.ui-special-table tr th {
    height: 20px;
    line-height: 20px;
    font-weight: bold;
}
.ui-special-table tr td {
    padding: 2px 0;
    line-height: 20px;
    word-wrap: break-word;
    word-break: break-all;
    white-space: normal;
}
/*password*/
.ui-pwd-strength{
    position: relative;
    height: 20px;
    line-height: 20px;
    padding-top: 2px;
    padding-bottom: 4px;
    color: #fff;
}
.ui-pwd-strength li{
    float: left;
    width: 32%;
    background-color: #a0a0a0;
    border-left: 1px solid #FFF;
}
.ui-pwd-strength li:first-child{
    border-left: none;
}
.ui-pwd-strength .weak,
.ui-pwd-strength .middle,
.ui-pwd-strength .strong {
    text-align: center;
    line-height: 22px;
}
.ui-pwd-strength .weak{
    background-color: #ABABAB;
}
.ui-pwd-strength .middle{
    background-color: #ABABAB;
}
.ui-pwd-strength .strong{
    background-color: #ABABAB;
}

.ui-pwd-strength.middle .weak{
    color: #F89017;
    background-color: #F89017;
}
.ui-pwd-strength.strong .weak,
.ui-pwd-strength.strong .middle{
    color: #60A003;
    background-color: #60A003;
}

.ui-pwd-strength .weak.current{
    background-color: #ED4600;
}
.ui-pwd-strength .middle.current{
    background-color: #F89017;
}
.ui-pwd-strength .strong.current{
    background-color: #60A003;
}