body, html {
    font-family: "lucida grande", "lucida sans unicode", lucida, helvetica, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
    min-height: 100%;
}

/* 把标签默认的间距设为0 */
body, ul, ol, p, h1, h2, h3, h4, h5, h6, dl, dd, select, input, textarea, form {
    margin: 0;
    padding: 0
}

/* 让h标签文字大小继承body的文字设置 */
h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: normal;
    font-family: 'Microsoft YaHei', sans-serif;
}

/* 去掉列表默认的图标 */
ul, ol {
    list-style: none;
}

/* 去掉em默认的斜体 */
em {
    font-style: normal;
}

/* 去掉a标签默认的下划线 */
a {
    text-decoration: none;
}


/* 去掉加链接时产生的框线 */
img {
    border: 0;
}

/* 清除浮动 */
.clearfix:before, .clearfix:after {
    content: "";
    display: table
}

.clearfix:after {
    clear: both;
}

.clearfix {
    zoom: 1
}

/* 浮动 */
.fl {
    float: left
}

.fr {
    float: right
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/*通用的样式*/
/* messages */
ul.messages {
    width: 100%;
    margin: 10px 100px;
    padding: 0;
    list-style-type: none;
    position: relative;
}

ul.messages li.success,
ul.messages li.warning,
ul.messages li.error,
ul.messages li.info {
    margin: 0;
    padding: 14px 20px;
    list-style: none;
    color: #fff;
}

ul.messages li.success {
    background: #81ce81;
}

ul.messages li.success a {
    color: #0ac33e;
}

ul.messages li.error {
    background: #a30029;
    color: #e9828e;
}

ul.messages li.error a {
    color: #e9828e;
}

ul.messages li.info {
    background: #faffae;
    color: #696b4e;
}

ul.messages li.info a {
    color: #1586de;
}

ul.messages li.warning {
    background: #de9404;
}

ul.messages li.warning a {
    color: #f49000;
}

ul.messages li a.close {
    margin: 0;
    float: right;
    opacity: 1;
    border: 0;
    box-shadow: none;
    text-shadow: none;
    position: absolute;
    right: 20px;
    bottom: 12px;
}

/*输入框样式*/
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
select {
    box-sizing: border-box;
    text-align: left;
    font-size: 0.95em;
    height: 2.5em;
    border-radius: 4px;
    border: 1px solid #c8cccf;
    color: #6a6f77;
    -moz-appearance: none;
    display: inline-block;
    outline: 0;
    padding: 0 6px;
    text-decoration: none;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus
{
    border: 1px solid #ff7496;
}


input[type="button"], input[type="submit"] {
    line-height: 1.499;
    position: relative;
    display: inline-block;
    font-weight: 400;
    white-space: nowrap;
    text-align: center;
    background-image: none;
    border: 1px solid #d9d9d9;
    -webkit-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
    cursor: pointer;
    -webkit-transition: all .3s cubic-bezier(.645, .045, .355, 1);
    transition: all .3s cubic-bezier(.645, .045, .355, 1);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    height: 2.5em;
    padding: 0 15px;
    font-size: 14px;
    border-radius: 4px;
    color: rgba(0, 0, 0, 0.65);
    background-color: #fff;
}

@media screen and (max-width: 1200px) {
    ul.messages {
        width: 92%;
        padding: 0 4%;
        margin: 10px 0;
    }
}
