@import url('https://topic.scol.com.cn/js/iconfont/iconfont.css');

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  outline: 0;
  background: transparent;
}
table, caption, tbody, tfoot, thead, tr, th, td {
    vertical-align: middle;
}
li {
    list-style: none outside none;
}
html{
	-webkit-tap-highlight-color:rgba(0,0,0,0);/* 禁止点选高亮显示 */
	-webkit-touch-callout:none;/* 禁用长按弹出系统菜单 */
  -webkit-user-select:none;/* 禁用文字选择 */
  user-select:none;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
	box-sizing:border-box;

    height: 100%;
}
body {
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
  position: relative;
  line-height: 1;
}
:focus {
    outline: 1;
}
article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
  display: block;
}
nav ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
  content: "";
  content: none;
}
a {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  text-decoration: none;
  outline: none;
  cursor: pointer;
}
img {
  border: none;
  vertical-align: middle;
}
ins {
  text-decoration: none;
  color: #000;
  background-color: #ff9;
}
mark {
  font-weight: bold;
  font-style: italic;
  color: #000;
  background-color: #ff9;
}
del {
  text-decoration: line-through;
}
em {
  font-style: normal;
}
abbr[title], dfn[title] {
  border-bottom: 1px dotted #000;
  cursor: help;
}
table {
  border-spacing: 0;
  border-collapse: collapse;
}
hr {
  display: block;
  height: 1px;
  margin: 1em 0;
  padding: 0;
  border: 0;
  border-top: 1px solid #ccc;
}
input, textarea, select, button {
  vertical-align:middle;
  border:none;
  outline:none;
  line-height:1;
}
input::-webkit-input-placeholder {
  color:#999;
}
video{width:100%; height:auto; object-fit:fill;}

/*滚动条整体样式*/
::-webkit-scrollbar {/*滚动条宽和高*/
	width:5px;
	height:1px;
}
::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
	box-shadow:inset 0 0 5px rgba(0,0,0,.2);
	border-radius:5px;
	background:rgba(153,153,153,1);
}
::-webkit-scrollbar-track {/*滚动条里面轨道*/
	box-shadow:inset 0 0 5px rgba(0,0,0,.2);
	border-radius:5px;
	background:rgba(153,153,153,.2);
}

/* 定位 */
.flex{
	display:-webkit-box;
	display:-moz-box;
	display:-webkit-flex;
	display:-moz-flex;
	display:-ms-flexbox;
	display:flex;
}
.flex-x{
	-webkit-box-direction:normal;
	-webkit-box-orient:horizontal;
  -ms-flex-direction:row;
	-moz-flex-direction:row;
	-webkit-flex-direction:row;
	flex-direction:row;
}
.flex-x-r{
	-webkit-box-direction:normal;
	-webkit-box-orient:horizontal;
  -ms-flex-direction:row-reverse;
	-moz-flex-direction:row-reverse;
	-webkit-flex-direction:row-reverse;
	flex-direction:row-reverse;
}
.flex-y{
	-webkit-box-direction:normal;
	-webkit-box-orient:vertical;
  -ms-flex-direction:column;
	-moz-flex-direction:column;
	-webkit-flex-direction:column;
	flex-direction:column;
}
.flex-x-start{
  -webkit-box-pack:start;
  -ms-flex-pack:start;
  -moz-justify-content:flex-start;
  -webkit-justify-content:flex-start;
  justify-content:flex-start;
}
.flex-x-center{
  -webkit-box-pack:center;
  -ms-flex-pack:center;
  -moz-justify-content:center;
  -webkit-justify-content:center;
  justify-content:center;
}
.flex-x-end{
  -webkit-box-pack:end;
  -ms-flex-pack:end;
  -moz-justify-content:flex-end;
  -webkit-justify-content:flex-end;
  justify-content:flex-end;
}
.flex-x-between{
  -webkit-box-pack:justify;
  -ms-flex-pack:justify;
  -moz-justify-content:space-between;
  -webkit-justify-content:space-between;
  justify-content:space-between;
}
.flex-x-around{
  -webkit-box-pack:around;
  -ms-flex-pack:around;
  -moz-justify-content:space-around;
  -webkit-justify-content:space-around;
  justify-content:space-around;
}
.flex-y-start{
  -webkit-box-align:start;
  -ms-flex-align:start;
  -moz-align-items:flex-start;
  -webkit-align-items:flex-start;
  align-items:flex-start;
}
.flex-y-center{
  -webkit-box-align:center;
  -ms-flex-align:center;
  -moz-align-items:center;
  -webkit-align-items:center;
  align-items:center;
}
.flex-y-end{
  -webkit-box-align:end;
  -ms-flex-align:end;
  -moz-align-items:flex-end;
  -webkit-align-items:flex-end;
  align-items:flex-end;
}
.flex-wrap{
  -webkit-flex-wrap:wrap;
  -moz-flex-wrap:wrap;
  -ms-flex-wrap:wrap;
  -o-flex-wrap:wrap;
  flex-wrap:wrap;
}

.pos-abs{
  position:absolute; 
  z-index:99;
}
.pos-fix{
  position:fixed; 
  z-index:99;
}

/* ios底部小黑条适配 */
@supports (bottom: constant(safe-area-inset-bottom)) or (bottom: env(safe-area-inset-bottom)) { 
	.bottom-button {
		margin-bottom: constant(safe-area-inset-bottom);
    margin-bottom: env(safe-area-inset-bottom);  
  }
}