/*
*@module: dialog 
*@Author: zmx 2013-07-09
*@Update: zmx 2013-07-09
*/
#dialog,#dialog4login {
    position: fixed;
    width: 525px;
    z-index: 200;
    font-family: Verdana, Arial, Helvetica;
    font-size: 14px;

    padding:6px;
    background:#333;
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    border-radius:4px;
    -moz-box-shadow:2px 2px 10px #666;
    -webkit-box-shadow:2px 2px 10px #666;
    box-shadow:2px 2px 10px #666;
}

#dialog-header,#header4login {
    display: block;
    position: relative;
    margin:0;
    padding:0 10px 0 20px;
    background: #f7f7f7;
    height:36px;
    line-height:36px;
    border-bottom:1px solid #ddd
}

#dialog-title,#title4login {
    float: left
}

#dialog-close,#close4login {
    float: right;
    cursor: pointer;
    margin: 12px 3px 0 0;
    height: 11px;
    width: 11px;
    background: url(/mice/images/close.gif) no-repeat
}

#dialog-content,#content4login {
    display: block;
    padding: 6px;
    min-height: 160px;
    color: #666;
    font-size: 13px;
    background:#fff;
}

#dialog-content-inner {
    min-height: 128px;
}

#dialog-mask {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #000;
    opacity:0.4;
    filter: Alpha(Opacity=40);
    z-index: 100
}

#dialog-button-container {
    text-align: center;
    margin: 2px 6px 6px 2px;
}

/*
*@module: dialog 
*@Update: juhailin 2013-11-14
*/

.dialog-overlay{
    display: none;
    position:fixed;
    _position: absolute;
    top:0;
    left:0;
    height:100%;
    width:100%;
    background:#000;
    opacity:0.4;
    filter: Alpha(Opacity=40);
    z-index:998
}
.dialog{
    display: none;
    position: fixed;
    _position: absolute;
    top:50%;
    left:50%;
    margin-left:-250px;
    width: 500px;
    background:#f5f5f5;
    border:5px solid #333;
    z-index:999;
    border-radius: 3px;
}
.dialog .hd{
    height:36px;
    margin:0;
    line-height:36px;
    color:#333;
    border-bottom:1px solid #ddd;
    padding-left:10px;
    padding-right:10px;
    font-weight:bold;
    text-transform: uppercase;
    
}

.dialog .hd .close{
    float: right;
    margin-top: 10px;
    cursor: pointer;
}
.dialog .bd{
    padding: 20px;
    background:#fff
}
.dialog .bd .btns{
    text-align: center;
}
.dialog .bd .btns-l{
    text-align: left;
}
.dialog .bd .btn{
    margin-right: 20px;
}
.dialog .ft{
    padding: 0 15px 15px 15px;
    background:#fff
}
.dialog .ft .btns{
    text-align: center;
}
.dialog .ft .btn{
    margin-right: 20px;
}
.dialog-alert{
    margin-top: -90px;
}

.dlg-dialog {
    background: #fff;
    border-radius: 3px;
    font-size: 14px;
    box-shadow: 0 2px 30px rgba(0,0,0,0.3)
}

.dlg-dialog ::-webkit-scrollbar {
    width: 10px;
    background: #fff
}

.dlg-dialog ::-webkit-scrollbar-thumb {
    background: #dae0e6;
    border-radius: 5px
}

.dlg-outer {
    text-align: left
}

.dlg-header {
    *zoom:1}

.dlg-titlebar {
    position: relative;
    height: 100%;
    width: 100%;
    *zoom:1}

.dlg-title {
    overflow: hidden;
    text-overflow: ellipsis;
    height: 40px;
    *min-width: 760px;
    line-height: 40px;
    font-size: 14px;
    padding: 0 15px;
    font-weight: bold;
    color: #222;
    background-color: #fff;
    border-radius: 3px 3px 0 0;
    border-bottom: 1px solid #e6ecf2;
    *zoom:1}

.dlg-close {
    display: block;
    position: absolute;
    text-decoration: none;
    outline: 0;
    _cursor: pointer;
    padding: 0;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    z-index: 1;
    border-radius: 0 3px 3px 0;
    background: url(//www.micstatic.com/common/img/icon/dlg-close.png) no-repeat;
    background-position: 0 0;
    font-size: 0;
    line-height: 0;
    cursor: pointer
}

.dlg-close:hover {
    background-position: 0 -40px
}

.dlg-icon {
    vertical-align: middle
}

.dlg-icon div {
    width: 48px;
    height: 48px;
    margin: 10px 0 10px 10px;
    background-position: center center;
    background-repeat: no-repeat
}

.dlg-main {
    min-width: 300px;
    max-width: 800px;
    min-height: 90px;
    position: relative
}

.dlg-content {
    *zoom:1;border: none 0;
    padding: 20px;
    position: relative
}

.dlg-content:before,.dlg-content:after {
    content: "";
    display: table
}

.dlg-content:after {
    clear: both
}

.dlg-content.dlg-state-full {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0!important;
    height: 100%
}

.dlg-loadding {
    min-width: 300px;
    min-height: 200px;
    text-align: center;
    text-indent: -999em;
    overflow: hidden;
    background: url(//www.micstatic.com/common/img/dialog/2.0/icon/loading.gif) no-repeat center center
}

.dlg-footer {
    height: 50px;
    padding: 10px 15px;
    box-sizing: border-box;
    background: #f5f7fa;
    border-top: 1px solid #e6ecf2;
    border-radius: 0 0 3px 3px
}

.dlg-buttons {
    text-align: right;
    white-space: nowrap;
    border-radius: 0 0 3px 3px;
}

.dlg-buttons.c{
    text-align: center;
}

.dlg-buttons button {
    margin-left: 10px;
    font-size: 14px;
}

.dlg-inner {
    background: #fff
}

.dlg-se {
    display: none;
    position: absolute;
    right: 0;
    width: 6px;
    height: 6px;
    background: #3d4b66;
    border-radius: 0 0 3px 0
}

.dlg-state-notitle .dlg-title {
    display: none
}

.dlg-state-notitle .dlg-se {
    width: 3px;
    height: 3px;
    background: none!important
}

.dlg-state-notitle .dlg-inner {
    background: 0
}

.dlg-state-notitle .dlg-outer {
    border: none 0
}

.dlg-state-notitle .dlg-titlebar {
    bottom: 0;
    _bottom: 0;
    _margin-top: 0;
    z-index: 5
}

.dlg-state-notitle .dlg-close {
    position: static;
    float: right;
    width: 30px;
    height: 30px;
    margin-bottom: -30px;
    background-position: -5px -5px
}

.dlg-state-notitle .dlg-close:hover {
    background-position: -5px -45px
}

.dlg-state-notitle .dlg-result {
    padding-top: 20px;
    padding-bottom: 10px
}

.dlg-state-notitle .dlg-result .msg p {
    margin-bottom: 10px
}

.dlg-state-lock .dlg-se {
    background: #333;
    background: #333 \9!important
}

.dialog-loading {
    background: url(//www.micstatic.com/common/img/icon/loading.gif) no-repeat center center;
    width: 100%;
    height: 100%;
    min-width: 500px;
    min-height: 350px;
    position: relative
}

.dialog-loading .dialog-loading-text {
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 14px;
    top: 50%;
    margin-top: -60px
}

.dialog-refresh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.7)
}

.dialog-refresh .content {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    margin-top: -15px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    color: #fff;
    font-size: 14px;
    cursor: pointer
}

.dialog-refresh .btn {
    box-shadow: 0 1px 2px rgba(0,0,0,0.2)
}

.dialog-confirm {
    text-align: center;
    *zoom:1;width: 360px;
    margin: 10px auto 10px
}

.dialog-confirm:before,.dialog-confirm:after {
    content: "";
    display: table
}

.dialog-confirm:after {
    clear: both
}

.dialog-confirm .ico {
    display: inline-block;
    vertical-align: middle;
    *vertical-align: middle;
    *display: inline;
    *zoom:1;width: 44px;
    height: 44px;
    font-size: 0;
    line-height: 0;
    background: url(//www.micstatic.com/common/img/dialog/2.0/bg-ico.png) no-repeat;
    background-position: 0 -44px
}

.dialog-confirm .cnt {
    overflow: hidden;
    padding-top: 12px;
    font-size: 14px
}

.dialog-confirm .cnt p {
    margin-top: 0
}

.dialog-confirm.confirm-system .ico {
    background-position: 0 -44px
}

.dialog-confirm.confirm-succ .ico {
    background-position: 0 0
}

.dialog-confirm.confirm-wrong .ico {
    background-position: 0 -88px
}

.dialog-confirm.confirm-alert .ico {
    background: url(//www.micstatic.com/common/img/dialog/2.0/icon-warn-48.png) no-repeat;
    background-position: 0 0;
    width: 48px;
    height: 48px
}

.dlg-result {
    padding-top: 0;
    padding-bottom: 0
}

.dlg-result .state {
    text-align: center;
    height: 48px;
    margin-bottom: 10px
}

.dlg-result .state .micon {
    font-size: 48px;
    margin-right: 0
}

.dlg-result .state .micon.succ {
    color: #0c0
}

.dlg-result .state .micon.error {
    color: #e62e2e
}

.dlg-result .state .micon.warning {
    color: #f89406
}

.dlg-result .state .micon.info {
    color: #1793e6
}

.dlg-result .msg {
    margin-top: 0;
    font-size: 14px;
    color: #222;
    text-align: center
}

.dlg-result .msg p {
    margin-top: 0;
    margin-bottom: 0
}

.dlg-text {
    margin-top: 0;
    margin-bottom: 0
}

.dlg-text p {
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 10px
}

.dlg-text p:last-of-type {
    margin-bottom: 0
}

