*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
[v-cloak]{
	display: none;
}
@font-face {
    font-family: Gotham-Book;
    src: url("fonts/Gotham-Book.otf");
}

@font-face {
    font-family: Gotham-Medium;
    src: url("fonts/Gotham-Medium.otf");
}
*{
	box-sizing: border-box;
	padding: 0;
	margin: 0;
	-webkit-tap-highlight-color: transparent;
}
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-overflow-scrolling: touch;
	font-family: Gotham-Book;
	height: 100%;
}
body{
	height: 100%;
	min-width: 760px;
	overflow-y: hidden;
}
#app{
	height: 100%;
}
:root{
	--darkColor:#2c363f;
	--boxShadow:0 2px 4px 0 rgba(0, 0, 0, 0.1);
	--sidebarColor:rgba(255,255,255,0.5);
	--blueColor:#007aff;
	--greyColor:#8a8a8f;
	--paleGrey:#efeff4;
}
ul,li{
	list-style: none;
}
span,img{
	vertical-align: middle;
}
a{
	text-decoration: none;
}
label,i{
	font-style: none;
}
/* 表单 */
button,
input,
textarea,
input:focus,
textarea:focus {
  margin:0;
  outline: none;
  resize: none;
  box-shadow: none;
  /*去掉ios阴影*/
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
  -webkit-box-sizing:border-box;
}
.hide{
	display: none!important;
}
.clearfix:after {
  content: "";
  display: block;
  visibility: hidden;
  height: 0;
  clear: both;
}
.dropContainer{
	position: relative;
	cursor: pointer;
	display: inline-block;
}
.dropdown{
	position: absolute;
	left: 50%;
	bottom:100%;
	background: #fff;
	border-radius: 8px;
	box-shadow: var(--boxShadow);
	color: #000;
	width: 96px;
	margin-left: -48px;
	text-align: center;
	font-size: 12px;
	line-height: 16px;
}
.dropdown li{
	padding: 4px;
}
/*侧边导航*/
.sidebar{
	background:var(--darkColor);
	height: 100%;
	width:260px;
	overflow: hidden;
	float: left;
	color:var(--sidebarColor);
	position: relative;
	z-index: 3000;
}
.sidebar .logo{
	padding: 24px 16px 24px 24px;
	display: block;
}
.language{
	padding: 4px 0;
	color: var(--sidebarColor);
	font-size: 12px;
	line-height: 16px;
}
.language img{
	margin-left: 4px;
}
.fixed-bottom{
	position: absolute;
	left: 0;
	right: 0;
	font:700 12px/16px Gotham-Medium;
}
.download-app{
	bottom: 40px;
	padding:8px;
}
.download-app a{
	background: url(../img/icon/bg_app.png)no-repeat center/cover;
	padding:12px 8px;
	color: #fff;
	display: block;
}
.download-app span{
	display: inline-block;
	vertical-align: middle;
	margin-left:4px;
}
.arr-right{
	float: right;
}
.fixed-bottom.submit{
	bottom: 0;
	border-top:1px solid #394852;
}
.submit-dapp{
	color:var(--sidebarColor);
	padding: 12px 16px;
	display: inline-block;
}
.search-box{
	position: relative;
	padding:4px 16px;
}
.close-btn{
	position: absolute;
	right: 16px;
	top: 12px;
	cursor: pointer;
}
.search-chain{
	background: transparent;
	width: 100%;
	border: none;
	padding: 8px 30px;
	border-bottom:1px solid #394852;
	font-size: 16px;
	line-height: 20px;
	font-weight: bold;
	color:#fff;
}
.search-icon{
	opacity: 0.6;
	position: absolute;
	left: 16px;
	top: 12px;
}
.search-chain:focus + .search-icon{
	opacity: 1;
}
.blockchain{
	height: calc( 100% - 210px);
	overflow-y: auto;
	overflow-x: hidden;
	padding: 8px;
}
.blockchain li{
	padding: 12px 8px;
	font:700 16px/20px Gotham-Medium;
	cursor: pointer;
	border-radius: 4px;
}
.blockchain li.active{
	background: #394852;
	color: #fff;
}
.blockchain img{
	margin: 0 8px 0 0;
	width: 20px;
}
/*滚动条样式*/
.blockchain::-webkit-scrollbar {
  width: 6px;
}
.blockchain::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background: rgba(255,255,255,0.3);
}
/*header*/
header{
	overflow-x:hidden;
	padding:20px 48px;
	box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.05);
}
header .search-box{
	padding: 0;
}
header .close-btn{
	right: 8px;
	top: 8px;
}
header .flex-between{
	float: left;
}
header .filter{
	display: none;
}
.search{
	border-radius: 8px;
	border: 1px solid var(--paleGrey);
	background: url(../img/icon/search.png)no-repeat 12px center/12px;
	padding: 8px 24px 8px 32px;
	width: 160px;
	font-size: 12px;
	line-height: 14px;
}
.labels{
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
}
.labels li{
	margin-left: 24px;
	font-size: 12px;
	line-height: 16px;
	padding: 8px 0;
	color: #000;
	text-transform: capitalize;
	cursor: pointer;
}
.labels li.active{
	color: var(--blueColor);
}
/*dapp-info*/
article{
	height: calc(100% - 72px);
	overflow: hidden;
}
.main{
	height: calc(100% - 66px);
	overflow-y: auto;
	padding: 0 36px;
}
.dapp-list{
	display: flex;
	justify-content: flex-start;
	align-content: flex-start;
	flex-wrap: wrap;
}
.dapp-list>li{
	padding: 20px 12px;
	width: 360px;
}
.dapp-info{
	display: block;
	position: relative;
}
.dapp-img{
	float: left;
	width: 96px;
	height: 96px;
	border-radius: 20px;
	margin-right: 16px;
	overflow: hidden;
	position: relative;
	cursor: pointer;
}
.dapp-img:before{
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	border-radius: inherit;
  border: 1px solid rgba(0,0,0,0.08);
}
.dapp-img img{
	width: 100%;
	height: 100%;
}
.dapp-text{
	overflow: hidden;
}
.dapp-title{
  font:700 16px/1.5 Gotham-Medium;
  color: #000;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}
.dapp-title .danger{
	margin-right: 4px;
}
.dapp-title span{
	max-width: calc(100% - 40px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
}
.dapp-title span+img{
	margin-top: -1px;
}
.dapp-slogan{
	font-size: 12px;
	line-height: 16px;
	color: #000;
	margin-top: 4px;
	overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  /*display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;*/
}
.dapp-type{
	color: var(--greyColor);
	font-size: 12px;
	line-height: 16px;
	margin-top: 4px;
}
.dapp-labels{
	color: var(--greyColor);
}
.alert-container{
	position: absolute;
	left: 112px;
	right:0;
	top: 24px;
	background: #f7f7fa;
	border-radius: 4px;
	font-size: 12px;
	line-height: 16px;
	color: #000;
	box-shadow: var(--boxShadow);
	z-index: 888;
	display: none;
	padding: 12px 8px;
}
.dapp-info:hover .alert-container{
	display: block;
}
.load-all{
	text-align: center;
	padding: 20px;
	margin: 20px 0;
	font-size: 12px;
	line-height: 16px;
}
.load-all span{
	position: relative;
	display: inline-block;
	color: var(--greyColor);
	padding: 0 16px 12px;
}
.load-all span:after,.load-all span:before{
	content: '';
	position: absolute;
	top: 0;
	width: 160px;
	border-bottom: 1px solid var(--paleGrey);
	height: 8px;
}
.load-all span:before{
	left: 0;
	transform: translateX(-100%);
}
.load-all span:after{
	right: 0;
	transform: translateX(100%);
}
.load-all a{
	color: var(--greyColor);
	display: block;
}
.goTop{
	position: fixed;
	right: 32px;
	bottom: 32px;
	cursor: pointer;
}
.noSearchResult{
	padding: 24px 12px;
	color: var(--greyColor);
	font-size: 14px;
}
/*loading*/
#loading{
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.5);
  z-index: 2000;
}
#loading svg{
  width: 96px!important;
  height: 96px!important;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%)!important;
          transform: translate(-50%,-50%)!important;
}
.loading .preloader-wrapper{
  position: absolute;
  left: calc(50% - 40px);
  top: calc(50% - 40px);
  width: 80px;
  height: 80px;
}
nav{
	display: none;
}
.filter-box{
	display: inline-block;
	padding: 20px 48px;
}
.filter{
	background: url(../img/icon/order.png)no-repeat left 12px center/12px;
	padding: 8px 0px 8px 32px;
	/*color:var(--greyColor);*/
	font-size: 12px;
	line-height: 16px;
	display: flex;
	align-items: center;
	border-radius: 8px;
	border: 1px solid var(--paleGrey);
}
.filter li{
	margin-right: 12px;
	cursor: pointer;
}
.filter .active{
	color: var(--blueColor);
}
.qr-icon{
	position: absolute;
	bottom: 0;
	left: 112px;
	cursor: pointer;
	user-select: none;
}
.qrcode{
	position: absolute;
  top: 0;
  left: 148px;
  background: #f7f7fa;
  padding: 16px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 10;
  border-radius: 4px;
}
.qrcode canvas{
	display: block;
}
.open-guide{
	display: none;
}
.open-link{
	padding-bottom: 20px;
	display: none;
}
.open-link a{
	color:var(--blueColor);
}
@media(max-width: 768px){
	.open-link{
		display: block;
	}
	.open-guide{
		display: flex;
		justify-content:space-between;
		align-items: center;
		padding:8px 8px 8px 12px;
		background: #007aff;
		color: #fff;
		font-size: 14px;
		line-height: 20px;
		position: fixed;
		left: 0;
		right: 0;
		top: 0;
		z-index: 999999;
	}
	.open-guide button{
		padding: 4px 26px;
		border-radius: 14px;
		font-size: 14px;
		line-height: 20px;
		color: #fff;
		background-color: rgba(0, 0, 0, 0.1);
		border:none;
	}
	body{
		min-width: 100vw;
		width: 100vw;
		overflow-x: hidden;
	}
	.hidden-xs{
		display: none!important;
	}
	.sidebar{
		width: 100vw;
		height: 100%;
		overflow-y: auto;
	}
	.fixed-bottom.submit{
		position: relative;
	}
	.submit-dapp{
		padding: 16px;
		display: block;
		font-size: 14px;
	}
	.blockchain{
		height: auto;
		padding: 48px 8px 0 8px;
	}
	header{
		padding: 48px 0 0 0;
		box-shadow: none;
	}
	.open-guide+nav+.sidebar+header,.open-guide+nav+.sidebar .blockchain{
		padding-top: 92px;
	}
	header .flex-between{
		float: none;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	header .search-box{
		flex: 1;
	}
	.search{
		width: 100%;
	}
	header .flex-between{
		padding:12px 16px 0 16px;
	}
	.filter-box{
		display: none;
	}
	header .filter{
		display: flex;
		border: none;
		background: #fff5fa;
		border-radius: 8px;
		padding: 8px 0;
		margin-left: 16px;
	}
	.filter li{
		padding: 0 12px;
		margin: 0;
		background: transparent;
		color: #8a8a8f;
	}
	.filter li:first-child{
		border-right:1px solid #dddce0;
	}
	.labels{
		overflow-x: auto;
		flex-wrap: nowrap;
	}
	.labels li{
		margin:0;
		white-space: nowrap;
		padding: 16px 12px;
	}
	.labels li:first-of-type{
		padding-left: 16px;
	}
	.labels li:last-of-type{
		padding-right: 16px;
	}
	nav{
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		top: 0;
		height: 48px;
		padding: 12px 16px;
		font:700 16px/1.5 Gotham-Medium;
		color: #fff;
		background: var(--darkColor);
		z-index: 4000;
	}
	nav:after{
		content: '';
		position: absolute;
		bottom: 0;
		left: 16px;
		right: 16px;
		border-bottom: 0.5px solid rgba(255,255,255,0.1);
	}
	.open-guide+nav{
		top: 44px;
	}

	.menu{
		float: right;
	}
	article{
		padding:0;
		height: calc(100% - 92px);
	}
	.main{
		height: 100%;
		padding:0;
	}
	.dapp-list>li{
		padding: 12px 16px;
		width: 100vw;
	}
	.dapp-img{
		width: 72px;
		height: 72px;
		border-radius: 16px;
	}
	.dapp-slogan{
		margin-top: 2px;
	}
	.dapp-type{
		position: absolute;
		left: 88px;
    bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    right: 0;
    margin: 0;
	}
	.load-all{
		padding-top: 0;
	}
	.load-all span:after, .load-all span:before{
		width: 100px;
	}
}
