.ks-overlay {
    position:absolute;
    left:-9999px;
    top:-9999px;
    z-index: 100;
}
.ks-overlay-hidden {
    visibility: hidden;
}

.ks-overlay-mask-hidden {
    display: none;
}

.ks-overlay-shown {
    visibility: visible;
}

.ks-overlay-mask-shown{
    display: block;
}  

.my .ks-overlay-header, .my .ks-overlay-footer {
    display: none;
}

.my .ks-overlay-body {
    line-height: 0;
}

/**
* 常用的通用样式 Common Style
*/
.ks-clear {
  *zoom: 1;
}
.ks-clear:before,
.ks-clear:after {
  display: table;
  content: "";
}
.ks-clear:after {
  clear: both;
}
.ks-hidden {
  display: none;
}
.ks-shown {
  display: block;
}
.ks-invisible {
  visibility: hidden;
}
.ks-visible {
  visibility: visible;
}
.ks-inline-block {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}
.ks-hide-text {
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}
.ks-center-block {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.ks-text-overflow {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/*cool*/

.ks-dialog, .ks-overlay {
    position: absolute; /*防止移位带来的闪烁*/
    left: -9999px;
    top: -9999px;
    outline: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.ks-overlay-hidden {
    visibility: hidden;
}

.ks-overlay-mask-hidden {
    display: none;
}

.ks-dialog, .ks-popup {
    background-color: #FBFBFB;
    border: 1px solid #ACB4BE;
}

.ks-dialog .ks-dialog-header {
    background: repeat-x scroll 0 0 #D6DBE2;
    background-image: url("dialog-hd.png");
    border-bottom: 1px solid #ACB4BE;
    font-size: 14px;
    font-weight: bold;
    height: 30px;
    line-height: 30px;
    padding: 0 0 0 18px;
}

.ks-overlay-close {
    height: 18px;
    width: 18px;
    border: 1px solid transparent;
    right: 6px;
    top: 6px;
    z-index: 99;
    vertical-align: middle;
    position: absolute;
    text-decoration: none;
    outline: none;
    _border-color: tomato;
    _filter: chroma(color = tomato);
    overflow: hidden;
    cursor: pointer;
}

.ks-overlay-close .ks-overlay-close-x {
    display: block;
    background: no-repeat;
    background-image: url("../images/ks-close.png");
    height: 13px;
    text-indent: -9999px;
    width: 13px;
    margin: 2.5px;
}

.ks-overlay-close:hover {
    border: 1px solid #CED5E0;
    background: white;
}

/*自定义部分*/
.ks-overlay-close {
    height: 18px;
    width: 18px;
    border: 1px solid #000;
    right: 6px;
    top: 6px;
    z-index: 99;
    background: white;
    opacity: .8;
    vertical-align: middle;
    position: absolute;
    text-decoration: none;
    outline: none;
    _border-color: tomato;
    _filter: chroma(color = tomato);
    overflow: hidden;
    cursor: pointer;
}
.ks-overlay-close:hover {
    border: 1px solid #000;
    background: white;
    opacity: 1;
}
/**/

.ks-overlay-mask {
    background-color: #000;
    opacity: 0.3;
    filter: alpha(opacity = 15);
}

.ks-ext-loading {
    opacity: 0.3;
    filter: alpha(opacity = 15);
    background: #000 center center no-repeat scroll;
    background-image: url("../images/ks-loading.gif");
}

.ke-global-loading .ks-ext-loading {
    background-attachment: fixed;
}

.ks-overlay .ks-resizable-handler {
    overflow: hidden;
    font-size: 0;
    line-height: 0;
    position: absolute;
}

.ks-overlay .ks-resizable-handler-b {
    height: 6px;
    width: 100%; /*background-color: yellow;*/
    /*-6px ie6 cross iframe shim*/
    bottom: 0;
    left: 0;
    cursor: n-resize;
}

.ks-overlay .ks-resizable-handler-t {
    height: 6px;
    width: 100%; /*background-color: yellow;*/
    top: 0;
    left: 0;
    cursor: n-resize;
}

.ks-overlay .ks-resizable-handler-l {
    height: 100%;
    -height: expression(this.parentNode.offsetHeight);
    width: 6px; /*background-color: yellow;*/
    top: 0;
    left: 0;
    cursor: e-resize;
}

.ks-overlay .ks-resizable-handler-r {
    height: 100%;
    -height: expression(this.parentNode.offsetHeight); /*background-color: yellow;*/
    width: 6px;
    position: absolute;
    top: 0;
    right: 0;
    cursor: e-resize;
}

.ks-overlay .ks-resizable-handler-bl {
    height: 6px;
    width: 6px; /*background-color: green;*/
    z-index: 1;
    bottom: 0;
    left: 0;
    cursor: sw-resize;
}

.ks-overlay .ks-resizable-handler-br {
    height: 6px;
    width: 6px;
    z-index: 1; /*background-color: green;*/
    bottom: 0;
    right: 0;
    cursor: se-resize;
}

.ks-overlay .ks-resizable-handler-tl {
    height: 6px;
    width: 6px;
    z-index: 1; /*background-color: green;*/
    top: 0;
    left: 0;
    cursor: nw-resize;
}

.ks-overlay .ks-resizable-handler-tr {
    height: 6px;
    width: 6px;
    z-index: 1; /*background-color: green;*/
    top: 0;
    right: 0;
    cursor: ne-resize;
}