﻿body {
    /* background-image:url(../image/bj_dr.jpg);
           background-size:100% 100%;
           background-attachment:fixed;*/
    /* 加载背景图 */
    background-image: url(../image/bj_dr.jpg);
    /* 背景图垂直、水平均居中 */
    background-position: center center;
    /* 背景图不平铺 */
    background-repeat: no-repeat;
    /* 当内容高度大于图片高度时，背景图像的位置相对于viewport固定 */
    background-attachment: fixed;
    /* 让背景图基于容器大小伸缩 */
    background-size: cover;
    /* 设置背景颜色，背景图加载过程中会显示背景色 */
    background-color: #464646;
}

.loginForm {
    /*边框高度*/
    height: 420px;
    /*边框宽度*/
    width: 500px;
    /*边框颜色*/
    border: #4d4d4d solid 1px;
    /*边框圆角*/
    border-radius: 20px;
    /*阴影 水平方向，竖直方向，模糊距离*/
    box-shadow: 5px 5px 5px #4d4d4d;
    /*上边界距离*/
    margin-top: 30px;
    /*左边界距离：自动*/
    margin-left: auto;
    /*右边界距离：自动*/
    margin-right: auto;
    /*用户名、密码间距*/
    padding: 20px 40px;
    background-color: white;
}

.form-group {
    padding: 10px;
}
/*将用户登录置于中间*/
.loginForm h3 {
    text-align: center;
    color: #0B5ED7;
}

.psw {
    text-align: right;
}
/*修改button属性*/
.button {
    text-align: center;
    vertical-align: middle;
    padding: 10px;
}

.mybtn {
    color: white;
    width: 360px;
}

.LoginImg {
    width: 500px;
    height: 94px;
    background-image: url(../image/logo_dr.png);
    background-size: 500px 94px;
    /*上边界距离*/
    margin-top: 10%;
    /*左边界距离：自动*/
    margin-left: auto;
    /*右边界距离：自动*/
    margin-right: auto;
}
