@charset "utf-8";

/*清除内边距*/

body,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
blockquote,
ul,
ol,
li,
pre,
fieldset,
lengend,
input,
textarea,
th,
td,
figure {
    padding: 0;
    margin: 0;
}


/*设置默认字体*/

body,
button,
select,
textarea {
    font: 15px/1.5 'Microsoft YaHei', 'WenQuanYi Micro Hei', Arial, sans-serif, \5b8b\4f53;
    /* 用 ascii 字符表示，使得在任何编码下都无问题 */
}

html {
    height: 100%;
}

@media screen and (min-width:750px) {
    html {
        font-size: 12px;
    }
}

@media screen and (min-width:751px) and (max-width:959px) {
    html {
        font-size: 14px;
    }
}

@media screen and (min-width:960px) and (max-width:1279px) {
    html {
        font-size: 16px;
    }
}

@media screen and (min-width:1280px) and (max-width:1365px) {
    html {
        font-size: 18px;
    }
}

@media screen and (min-width:1366px) and (max-width:1679px) {
    html {
        font-size: 20px;
    }
}

@media screen and (min-width:1680px) and (max-width:1920px) {
    html {
        font-size: 22px;
    }
}

html,
body {
    color: rgba(0, 0, 0, .8);
}

h1 {
    font-size: 52px;
}

h2 {
    font-size: 18px;
}

h3 {
    font-size: 17px;
}

h4 {
    font-size: 16px;
}

h5,
h6 {
    font-size: 14px;
}

address,
cite,
dfn,
em,
var {
    font-style: normal;
}

code,
kbd,
pre,
samp,
tt {
    font-family: "Courier New", Courier, monospace;
}


/* 统一等宽字体 */

small {
    font-size: 12px;
}


/* 小于 12px 的中文很难阅读，让 small 正常化 */


/*重置列表元素*/

ul,
li {
    list-style: none;
    cursor: pointer;
}


/*重置文本格式元素*/

a {
    text-decoration: none;
    color: #2d2d27;
}

a:hover {
    text-decoration: none;
    /* color:rgba(229,126,26,1); */
}

abbr[title],
acronym[title] {
    /* 注：1.ie6 不支持 abbr; 2.这里用了属性选择符，ie6 下无效果 */
    border-bottom: 1px dotted;
    cursor: help;
}


/*重置表单元素*/

legend {
    color: #000;
}


/* for ie6 */

fieldset,
img {
    border: none;
}


/* img 让链接里的 img 无边框 */


/* 注：optgroup 无法扶正 */

img {
    margin: 0px;
    padding: 0px;
    vertical-align: bottom;
    font-size: 0;
    width: 100%;
    height: 100%;
    -webkit-transition-delay: 0s;
    -webkit-transition-duration: 2s;
    -webkit-transition-property: all;
    -webkit-transition-timing-function: ease;
}

button,
input,
select,
textarea {
    font-size: 100%;
    /* 使得表单元素在 ie 下能继承字体大小 */
    outline: none;
    border: 0;
}


/*重置表格元素*/

table {
    border-collapse: collapse;
    border-spacing: 0;
}


/*重置hr元素*/

hr {
    border: none;
    height: 1px;
}


/* 让非ie浏览器默认也显示垂直滚动条，防止因滚动条引起的闪烁 */


/* html { overflow-y: scroll; } */


/*规定html5样式*/

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
section,
summary {
    display: block;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
    *display: inline;
    *zoom: 1;
}

audio:not([controls]) {
    display: none;
    height: 0;
}


/*苹果系统input去除*/

input[type="button"],
input[type="submit"],
input[type="reset"] {
    -webkit-appearance: none;
}

textarea {
    -webkit-appearance: none;
}


/* 浮动 */

.left {
    float: left;
}

.right {
    float: right;
}


/*清理浮动*/

.clear:before,
.clear:after {
    content: "";
    display: table;
}

.clear:after {
    clear: both;
}

.clear {
    *zoom: 1;
    /*IE/7/6*/
}


/*动画*/

p:hover {
    transition: all 0.3s ease 0s;
}


/* a:hover{ opacity:0.8;transition: all 0.3s ease 0s;} */

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

.btn {
    display: block;
    width: 270px;
    height: 54px;
    color: #000000;
    margin: 60px auto;
    border-radius: 5px;
    text-align: center;
    background: #ffd200;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    position: relative;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.btn p:nth-child(1) {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

.btn p:nth-child(2) {
    font-size: 12px;
}

.btn:after {
    width: 0%;
    height: 100%;
    top: 0;
    left: 0;
    background: #0068b7;
}

.btn:hover,
.btn:active {
    color: #ffffff;
    background: #0068b7;
}

.btn:hover:after,
.btn:active:after {
    width: 100%;
}

.box {
    overflow: hidden;
}