﻿.dialog {
    display: block;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    width: 30%;
    min-width: 280px;
    z-index: 9999;
    padding-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #fff;
}

.dialog .title {
    height: 36px;
    line-height: 36px;
    padding-left: 10px;
    background-color: #ccc;
    border-bottom: 1px solid #ccc;
    border-radius: 10px 10px 0 0;
    font-size: 18px;
}

.dialog .title .exit {
    float: right;
    display: block;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 0 10px 0 0;
    font-size: 18px;
    cursor: pointer;
}

.dialog .title .exit:hover {
    color: #fff;
    background-color: red;
}

.dialog .content {
    position: relative;
    min-height: 50px;
    max-height: 360px;
    line-height: 26px;
    overflow-y: auto;
    margin: 15px;
    border-radius: 0 0 10px 10px;
    font-size: 17px;
    text-align: center;
}

.dialog .btns {
    margin-top: 15px;
    text-align: center;
}

.dialog .btns .btn {
    display: inline-block;
    padding: 5px 15px;
    margin-left: 20px;
    margin-right: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 17px;
}

.dialog .ok {
    background-color: #52a0e5;
    color: #fff;
}

.dialog-cover {
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(0,0,0,.6);
}
