@charset "utf-8";
/**
 * @author      : jiela@Ctrip.com 
 * @editor      : Sublime Text
 * @updated     : 2016.07.27
 * @description : 基于normalize.css v4.1.1 移动端reset
 *
 */

/**
 * 统一所有浏览器指定标签的margin和padding
 */

body, dl, ul, ol, dd, h1, h2, h3, h4, h5, h6, pre, fieldset, p, blockquote, hr, input {
	margin: 0;
}

ul, ol, fieldset, legend, input, textarea, th, td, button {
	padding: 0;
}

/**
 * 设置全局字体样式
 */

body, input, select, textarea, button {
	font:100% -apple-system, Helvetica, 'Hiragino Sans GB W3', 'Microsoft YaHei', arial, sans-serif;
}

/**
 * 防止 iOS 在方向改变的时候调整字号大小
 */

html {
	-webkit-text-size-adjust: 100%;
}

ul, ol {
	list-style: none;
}

/**
 * 清除 a 默认样式
 * 删除在 iOS 8+ 和 Safari 8+ 中链接下划线的间距
 */

a {
	text-decoration: none;
	-webkit-text-decoration-skip: objects;
}

a:active, a:hover, a:focus {
	outline: 0;
}

/**
 * 重置 image 样式
 */

img, fieldset {
	border: 0;
}

img {
    vertical-align: middle;
}

svg:not(:root) {
    overflow: hidden;
}

/**
 * 统一table默认样式
 */

table {
	border-collapse: collapse;
	border-spacing: 0;
}

caption, th {
    text-align: left;
}

/**
 * 兼容 iOS 4-7
 */

audio:not([controls]) {
	display: none;
	height: 0;
}

progress {
	vertical-align: baseline;
}

abbr[title],
acronym[title],
.abbr {
    border-bottom: 1px dotted;
    text-decoration: none;
}

dfn {
	font-style: normal;
	font-family: Arial !important;
}

/**
 * 1. 阻止一个 WebKit bug：当设置(2)后在Android 4中破坏原生audio和video控制器外观
 * 2. 修正在iOS 和 Safari中无法显示点击样式
 */

button,
html [type="button"], /* 1 */
input[type="reset"], input[type="submit"] {
	-webkit-appearance: none; /* 2 */
}

textarea {
	resize: none;
}

input {
    line-height: normal;
}

/**
 * 1. 修正在 Chrome 和 Safari 中的古怪外观
 * 2. 修正在 Safari 中 outline 样式
 */

[type="search"] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}

/**
 * 移除在 OS X 中的 Chrome 和 Safari 的 内填充 和 取消按钮
 */

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}


/**
 * 1. 修正在 iOS 和 Safari 中不能正确显示点击样式
 * 2. 在 Safari 中字体特性修改为继承
 */

::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}

/**
 * 常用类名
 */
.invisible {
    visibility: hidden !important;
}

.visible {
    visibility: visible !important;
}

.hidden {
    display: none !important;
}

.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fl {
	float: left;
}

.fr {
	float: right;
}

.clearfix::after {
    content: "";
    display: block;
    height: 0;
    overflow: hidden;
    clear: both;
}