@charset 'utf-8';

* {
    margin: 0px;
    padding: 0px;
}

html,body {
    width: 100%;
    height: 100%;
}

.modal-layer-ui {
    color: black;
    cursor: default;
    font-size: 16px;
    font-weight: normal;
    font-family: 'Microsoft YaHei';
}

.modal-layer-hide {
    visibility: hidden;
}

.modal-layer-show {
    visibility: visible;
}

#modal-layer-mask {
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    width: 100%;
    height: 100%;
    position: fixed;
    background: rgba(0,0,0,0.3);
}

#modal-layer-container {
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    width: auto;
    height: auto;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
    background: white;
    position: absolute;
    border-radius: 2px;
    box-shadow: 1px 1px 25px rgba(255,255,255,.3);
}

#modal-layer-minimize-taskbar {
    left: 0px;
    right: 0px;
    width: 100%;
    bottom: 0px;
    height: 40px;
    position: fixed;
    line-height: 40px;
}

#modal-layer-minimize-taskbar .modal-layer-minimize-item {
    opacity: 0;
    height: 100%;
    background: white;
    display: inline-block;
    box-shadow: 0px 0px 5px 1px #ccc;
    -webkit-transform: scale(0.5);
    -ms-transform: scale(0.5);
    -o-transform: scale(0.5);
    transform: scale(0.5);
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.modal-layer-minimize-item .modal-layer-minimize-item-title {
    color: #444;
    margin: 0px 1em;
    font-size: 0.9em;
    overflow: hidden;
    white-space: nowrap;
    font-weight: normal;
    text-overflow: ellipsis;
}

#modal-layer-container[allow-drag=true] .modal-layer-title {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

#modal-layer-container .modal-layer-resize-box {
    top: 0px;
    left: 0px;
    right: 0px;
    opacity: 0;
    bottom: 0px;
    width: 100%;
    height: 100%;
    position: absolute;
    pointer-events: none;
}

#modal-layer-container .modal-layer-resize-bar {
    position: absolute;
    pointer-events: auto;
}

#modal-layer-container .modal-layer-resize-bar[position-resize-bar=left] {
    left: 0px;
    cursor: w-resize;
}

#modal-layer-container .modal-layer-resize-bar[position-resize-bar=right] {
    right: 0px;
    cursor: e-resize;
}

#modal-layer-container[content-full-container=true] .modal-layer-resize-bar[position-resize-bar=left] {
    left: -5px;
}

#modal-layer-container[content-full-container=true] .modal-layer-resize-bar[position-resize-bar=right] {
    right: -5px;
}

#modal-layer-container .modal-layer-resize-bar[position-resize-bar=left],#modal-layer-container .modal-layer-resize-bar[position-resize-bar=right] {
    top: 10px;
    width: 5px;
    bottom: 10px;
}

#modal-layer-container .modal-layer-resize-bar[position-resize-bar=left-top] {
    top: 0px;
    left: 0px;
    cursor: nw-resize;
}

#modal-layer-container .modal-layer-resize-bar[position-resize-bar=right-top] {
    top: 0px;
    right: 0px;
    cursor: ne-resize;
}

#modal-layer-container[content-full-container=true] .modal-layer-resize-bar[position-resize-bar=left-top] {
    top: -5px;
    left: -5px;
}

#modal-layer-container[content-full-container=true] .modal-layer-resize-bar[position-resize-bar=right-top] {
    top: -5px;
    right: -5px;
}

#modal-layer-container .modal-layer-resize-bar[position-resize-bar=left-top],#modal-layer-container .modal-layer-resize-bar[position-resize-bar=right-top] {
    top: 0px;
    width: 10px;
    height: 10px;
}

#modal-layer-container[content-full-container=true] .modal-layer-resize-bar[position-resize-bar=left-top],#modal-layer-container .modal-layer-resize-bar[position-resize-bar=right-top] {
    width: 15px;
    height: 15px;
}

#modal-layer-container .modal-layer-resize-bar[position-resize-bar=top] {
    top: 0px;
    cursor: n-resize;
}

#modal-layer-container .modal-layer-resize-bar[position-resize-bar=bottom] {
    bottom: 0px;
    cursor: s-resize;
}

#modal-layer-container[content-full-container=true] .modal-layer-resize-bar[position-resize-bar=top] {
    top: -5px;
}

#modal-layer-container[content-full-container=true] .modal-layer-resize-bar[position-resize-bar=bottom] {
    bottom: -5px;
}

#modal-layer-container .modal-layer-resize-bar[position-resize-bar=top],#modal-layer-container .modal-layer-resize-bar[position-resize-bar=bottom] {
    left: 10px;
    height: 5px;
    right: 10px;
}

#modal-layer-container .modal-layer-resize-bar[position-resize-bar=left-bottom] {
    left: 0px;
    bottom: 0px;
    cursor: ne-resize;
}

#modal-layer-container .modal-layer-resize-bar[position-resize-bar=right-bottom] {
    right: 0px;
    bottom: 0px;
    cursor: se-resize;
}

#modal-layer-container[content-full-container=true] .modal-layer-resize-bar[position-resize-bar=left-bottom] {
    left: -5px;
    bottom: -5px;
}

#modal-layer-container[content-full-container=true] .modal-layer-resize-bar[position-resize-bar=right-bottom] {
    right: -5px;
    bottom: -5px;
}

#modal-layer-container .modal-layer-resize-bar[position-resize-bar=left-bottom],#modal-layer-container .modal-layer-resize-bar[position-resize-bar=right-bottom] {
    bottom: 0px;
    width: 10px;
    height: 10px;
}

#modal-layer-container[content-full-container=true] .modal-layer-resize-bar[position-resize-bar=left-bottom],#modal-layer-container .modal-layer-resize-bar[position-resize-bar=right-bottom] {
    width: 15px;
    height: 15px;
}

@keyframes widthFull {
    from {
        width: 0px;
    }

    to {
        width: 100%;
    }
}

@keyframes heightFull {
    from {
        height: 0px;
    }

    to {
        height: 100%;
    }
}

.modal-layer-skin-default .modal-layer-drag-mask,.modal-layer-skin-default .modal-layer-resize-mask {
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    width: 100%;
    height: 100%;
    z-index: 1;
    visibility: hidden;
    position: absolute;
    background: transparent;
}

.modal-layer-skin-default .modal-layer-title {
    font-size: 0.9em;
    padding: 12px 2px;
    position: relative;
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
}

.modal-layer-skin-default[allow-drag="true"] .modal-layer-title,.modal-layer-skin-default[allow-drag="true"] .modal-layer-title *,.modal-layer-skin-default[allow-drag="true"] .modal-layer-action {
    cursor: move;
}

.modal-layer-skin-default .modal-layer-title-content {
    color: #444;
    max-width: 80%;
    font-size: 1em;
    overflow: hidden;
    margin-left: 20px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.modal-layer-skin-default .modal-layer-action {
    top: 0px;
    width: 20%;
    right: 20px;
    padding: 10px 0px;
    text-align: right;
    position: absolute;
    pointer-events: none;
}

.modal-layer-skin-default .modal-layer-action .modal-layer-action-btn {
    color: #666;
    display: none;
    cursor: pointer;
    margin-left: 10px;
    position: relative;
    pointer-events: auto;
}

.modal-layer-skin-default[modal-layer-type=alert] .modal-layer-action-close,.modal-layer-skin-default[modal-layer-type=prompt] .modal-layer-action-close,.modal-layer-skin-default[modal-layer-type=confirm] .modal-layer-action-close,.modal-layer-skin-default[modal-layer-type=page] .modal-layer-action-btn {
    display: inline-block;
}

.modal-layer-skin-default .modal-layer-action-btn {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.modal-layer-skin-default .modal-layer-content {
    color: black;
    margin: 0px 20px;
    font-size: 0.9em;
    padding: 24px 0px;
    position: relative;
}

.modal-layer-skin-default[modal-layer-type=page][content-full-container=true] .modal-layer-content {
    margin: 0px;
    padding: 0px;
}

.modal-layer-skin-default .modal-layer-interaction {
    display: none;
    margin: 0px 20px;
    text-align: right;
    padding: 0px 0px 10px 0px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.modal-layer-skin-default .modal-layer-button {
    color: #333;
    display: none;
    cursor: pointer;
    font-size: 0.85em;
    background: white;
    border-radius: 2px;
    text-align: center;
    white-space: normal;
    padding: 5px 12.5px;
    margin: 2px 0px 2px 10px;
    border: 1px solid #dedede;
    -webkit-filter: saturate(0.9);
    -o-filter: saturate(0.9);
    filter: saturate(0.9);
}

.modal-layer-skin-default .modal-layer-button-ok {
    color: white;
    background: #1e9fff;
    border-color: #1e9fff;
}

.modal-layer-skin-default .modal-layer-button-no {
    color: white;
    background: #d9534f;
    border-color: #d9534f;
}

.modal-layer-skin-default .modal-layer-button:hover {
    -webkit-filter: saturate(1.25);
    -o-filter: saturate(1.25);
    filter: saturate(1.25);
}

.modal-layer-skin-default[modal-layer-type=prompt] .modal-layer-interaction,.modal-layer-skin-default[modal-layer-type=confirm] .modal-layer-interaction {
    display: block;
}

.modal-layer-skin-default[modal-layer-type=prompt] .modal-layer-button-ok,.modal-layer-skin-default[modal-layer-type=prompt] .modal-layer-button-cancel,.modal-layer-skin-default[modal-layer-type=confirm] .modal-layer-button-ok,.modal-layer-skin-default[modal-layer-type=confirm] .modal-layer-button-no {
    display: inline-block;
}

.modal-layer-skin-default .modal-layer-display-progress-bar {
    position: absolute;
}

.modal-layer-skin-default .modal-layer-display-progress-bar[progress-bar-position=top] {
    top: 0px;
    left: 0px;
    right: 0px;
    width: 100%;
    height: 2px;
}

.modal-layer-skin-default .modal-layer-display-progress-bar[progress-bar-position=left] {
    top: 0px;
    left: 0px;
    width: 2px;
    bottom: 0px;
    height: 100%;
}

.modal-layer-skin-default .modal-layer-display-progress-bar[progress-bar-position=right] {
    top: 0px;
    right: 0px;
    width: 2px;
    bottom: 0px;
    height: 100%;
}

.modal-layer-skin-default .modal-layer-display-progress-bar[progress-bar-position=bottom] {
    left: 0px;
    right: 0px;
    width: 100%;
    bottom: 0px;
    height: 2px;
}

.modal-layer-skin-default .modal-layer-display-progress-background {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.15);
}

.modal-layer-skin-default .modal-layer-display-progress-bar[progress-bar-position=top] .modal-layer-display-bar-progress,.modal-layer-skin-default .modal-layer-display-progress-bar[progress-bar-position=bottom] .modal-layer-display-bar-progress {
    width: 0px;
    height: 100%;
}

.modal-layer-skin-default .modal-layer-display-progress-bar[progress-bar-position=left] .modal-layer-display-bar-progress,.modal-layer-skin-default .modal-layer-display-progress-bar[progress-bar-position=right] .modal-layer-display-bar-progress {
    width: 100%;
    height: 0px;
}

.modal-layer-skin-default .modal-layer-display-bar-progress {
    display: block;
    background: deepskyblue;
}