* {
    box-sizing: border-box;
    outline: none;
}

*:focus {
    outline: none;
}

html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}

img {
    border: none;
}

ol, ul {
    list-style: none;
}

a:link, a:visited, a:hover {
    text-decoration: none;
    cursor: pointer;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 12px
}

table td {
    padding: 0
}

.hidden {
    display: none;
}

.clear-fix:after {
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
    content: ".";
    font-size: 0;
    line-height: 0
}

.clear-fix {
    zoom: 1;
}

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

.pull-none {
    float: none;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.base-color {

}

.success-color {
    color: #32ab4d;
}

.danger-color {
    color: #f00;
}

.m-l-xs {
    margin-left: 5px;
}

.m-l-sm {
    margin-left: 10px;
}

.m-l {
    margin-left: 15px;
}

.m-l-md {
    margin-left: 20px;
}

.m-l-xl {
    margin-left: 40px;
}

.m-r-xs{
    margin-right: 5px;
}

.m-t {
    margin-top: 20px;
}

.p-wrap {
    padding: 20px;
}

.padder-v {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}


/* 弹框样式 */
.dialog-shadow {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    z-index: 50
}

.dialog-modal {
    position: fixed;
    overflow: hidden;
    display: none;
    font-size: 12px;
    border-radius: 5px;
    width: 500px;
    height: 250px;
    background: #fff;
    text-align: left;
    white-space: normal;
    vertical-align: middle;
    color: #666;
    z-index: 60;
    font-family: "microsoft yahei"
}

.dialog-modal .con-icon {
    width: 50px;
    height: 50px;
    float: left;
    margin-left: 40px
}

.dialog-modal .info-icon {
    background: #fff url(../images/popup/info.gif) no-repeat 0 50%
}

.dialog-modal .right-icon {
    background: #fff url(../images/popup/right.gif) no-repeat 0 50%
}

.dialog-modal .error-icon {
    background: #fff url(../images/popup/error.gif) no-repeat 0 50%
}

.dialog-modal .confirm-icon {
    background: #fff url(../images/popup/confirm.gif) no-repeat 0 50%
}

.dialog-title {
    display: none;
    font-weight: 400;
    border: solid 1px #ccc;
    position: relative;
    height: 56px;
    line-height: 56px;
    font-size: 16px;
    color: #3d3d3d;
    background: #eee;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px
}

.dialog-title .text {
    margin-left: 20px;
    line-height: 28px
}

.dialog-title .icon {
    float: left;
    margin: 6px 0 0 6px;
    width: 16px;
    height: 16px
}

.dialog-title .close {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 30px;
    margin: 0 12px;
    font-weight: 900;
    cursor: pointer;
    color: #3d3d3d;
    float: right
}

.dialog-title .close:hover {
    filter: alpha(opacity=70);
    opacity: .7
}

.dialog-title .close:active {
    filter: alpha(opacity=100);
    opacity: 1
}

.dialog-content {
    background: #fff;
    overflow: auto;
    padding: 20px 20px
}

.dialog-content .layer-msg {
    width: 100%;
    text-align: center
}

.dialog-content .layer-msg .msg {
    width: 310px;
    height: 50px;
    float: left;
    font-size: 16px;
    line-height: 25px
}

.dialog-content .layer-msg .sub-msg {
    width: 310px;
    height: 30px;
    float: left;
    margin-left: 90px;
    font-size: 12px;
    line-height: 30px
}

.dialog-content .layer-msg input {
    height: 20px
}

.dialog-content .layer-msg .buttons {
    width: 100%;
    padding: 20px 0;
    font-size: 16px;
    height: 55px;
    text-align: center;
    float: left
}

.dialog-content button {
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    cursor: pointer;
    font-size: 12px;
    color: #333;
    outline: 0 !important;
    margin: 0 10px;
    padding: 7px 20px;
    min-width: 80px;
}

.dialog-content button:last-child {
    margin-right: 0;
    color: #494D70;
    background: #fff;
    border: 1px solid #494D70;
}

.dialog-content button:hover {
    background-color: #fff;
    border: 1px solid #494D70
}

.dialog-content button:active {
    background: #fcfcfc
}

.dialog-content button.primary {
    color: #fff;
    background: #494D70;
    border: 1px solid #494D70;
}

.dialog-content button.primary:hover {
    background-color: #494D70;
    border: 1px solid #494D70
}

.dialog-content button.primary:active {
    background-color: #494D70;
    border: 1px solid #494D70
}