﻿@charset "utf-8";

/* CSS Document */
body {
    font-family: 'Arial', '微软雅黑';
    color: #333;
    padding: 0;
    background-color: #fff;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
blockquote,
dl,
dt,
dd,
ul,
ol,
li,
pre,
fieldset,
lengend,
button,
input,
textarea,
th,
td {
    margin: 0;
    padding: 0;
    font-weight: normal;
    line-height: normal;
}

a {
    text-decoration: none;
    outline: none;
    color: inherit;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    -webkit-user-select: none;
    -moz-user-focus: none;
    -moz-user-select: none;
    color: #333333;
}

a:hover,
a:focus {
    text-decoration: none;
    color: inherit;
}

img {
    border: 0;
    vertical-align: middle;
    max-width: 100%;
}

input {
    border: none;
    outline: none;
}

ol,
ul,
li {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
    font-size: 100%;
}

button {
    outline: none;
}

em,
i,
b {
    font-style: normal;
}

/*合并表格边框，设置边框距为零*/
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*清除浮动*/
.clear {
    clear: both;
}

.clear-fix:after {
    content: ".";
    display: block;
    height: 0;
    font-size: 0;
    clear: both;
    visibility: hidden;
}

.clear-fix {
    zoom: 1
}

/*强制换行*/
.break_word {
    word-wrap: break-word;
    word-break: break-all;
}

/*禁止换行*/
.keep_all {
    word-break: keep-all;
    white-space: nowrap;
}

/*超出省略号，仅限单行，并且需要设定一个宽度*/
.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    white-space: nowrap;
}

/*定义两行超出省略号*/
.clamp2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/*段落两端对齐*/
.case_intro,
.txt_justify {
    text-align: justify;
    text-justify: inter-ideograph;
}

/*禁止FF等浏览器给textarea增加可拖拽大小的设置*/
textarea {
    resize: none;
    -webkit-appearance: none;
}

/*取消输入框的焦点状态*/
input,
textarea,
button,
select {
    outline: none;
    outline-style: none;
    outline-width: initial;
    outline-color: initial;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

input {
    border-radius: 0px;
}

input[type="button"],
input[type="submit"],
input[type="reset"] {
    -webkit-appearance: none;
}

/*表单提示文字颜色*/
::-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #999;
}

::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #999;
}

::-ms-input-placeholder {
    color: #999;
}

::-webkit-input-placeholder {
    color: #999;
}

.row {
    margin-left: 0px;
    margin-right: 0px;
}

/*隐藏*/
.hide {
    display: none;
}

.show {
    display: block;
}

/*浮动*/
.fl {
    float: left;
}

.fr {
    float: right;
}

/*定位*/
.posire {
    position: relative;
}

.posiab {
    position: absolute;
}

/* 字体图标 */
@font-face {
    font-family: 'iconfont';
    src: url('../font/iconfont.eot');
    src: url('../font/iconfont.eot?#iefix') format('embedded-opentype'),
        url('../font/iconfont.woff') format('woff'),
        url('../font/iconfont.ttf') format('truetype'),
        url('../font/iconfont.svg#iconfont') format('svg');
}

.iconfont {
    font-family: "iconfont" !important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
}

/* 图片懒加载 */
.layz {
    display: block;
    border: 0;
    width: 100%;
    height: 0px;
    padding-bottom: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #f8f8f8;
    background-size: contain;
    background-image: url(../images/loading.png);
}