/*Copyright 2007 Qietu.com Inc. All rights reserved.*/


* {
    -webkit-appearance: none; /*去掉浏览器默认样式*/
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none;
}

html,
body {
    overflow-x: hidden;
}

body {
  
    -webkit-text-size-adjust: 100%; /*关闭自动调整字体*/
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
}


/*pad*/
img{
	max-width: 100%;
}
.gh {
	float:right;
	height:34px;
	width:34px;
	right:30px;
	top:25px;
	position:absolute;
	display: none;
	transition: all 0.5s cubic-bezier(0.7, 0, 0.3, 1) 0s;
	-webkit-transition: all 0.5s cubic-bezier(0.7, 0, 0.3, 1) 0s;
	-ms-transition: all 0.5s cubic-bezier(0.7, 0, 0.3, 1) 0s;
	cursor:pointer;
}
.selected .gh {
	transform: rotate(90deg);
}
.gh a {
	background-color: #fff;
	display: block;
	height: 2px;
	margin-top: -2px;
	position: relative;
	top: 50%;
	transition: all 0.3s cubic-bezier(0.7, 0, 0.3, 1) 0s;
	-webkit-transition: all 0.3s cubic-bezier(0.7, 0, 0.3, 1) 0s;
	-ms-transition: all 0.3s cubic-bezier(0.7, 0, 0.3, 1) 0s;
	width: 100%;
}
.gh:hover a:before {
	transform: translateY(-2px) rotate(0deg);
	-webkit-transform: translateY(-2px) rotate(0deg);
	-ms-transform: translateY(-2px) rotate(0deg);
}
.gh:hover a:after {
	transform: translateY(2px) rotate(0deg);
	-webkit-transform: translateY(2px) rotate(0deg);
	-ms-transform: translateY(2px) rotate(0deg);
}
.selected .gh:hover a:before {
	transform: translateY(0px) rotate(-55deg);
	-webkit-transform: translateY(0px) rotate(-55deg);
	-ms-transform: translateY(0px) rotate(-55deg);
}
.selected .gh:hover a:after {
	transform: translateY(0px) rotate(55deg);
	-webkit-transform: translateY(0px) rotate(55deg);
	-ms-transform: translateY(0px) rotate(55deg);
}
.gh a:after, .gh a:before {
	background-color: #fff;
	content: "";
	display: block;
	height: 2px;
	left: 0;
	position: absolute;
	transition: all 0.3s cubic-bezier(0.7, 0, 0.3, 1) 0s;
	-webkit-transition: all 0.3s cubic-bezier(0.7, 0, 0.3, 1) 0s;
	-ms-transition: all 0.3s cubic-bezier(0.7, 0, 0.3, 1) 0s;
	width:100%;
}
.gh a:after {
	top:10px;
}
.gh a:before {
	top:-10px;
}
.selected .gh a:after, .selected .gh a:before {
	top: 0;
}
.selected .gh a:before {
	transform: translateY(0px) rotate(-45deg);
	-webkit-transform: translateY(0px) rotate(-45deg);
	-ms-transform: translateY(0px) rotate(-45deg);
}
.selected .gh a:after {
	transform: translateY(0px) rotate(45deg);
	-webkit-transform: translateY(0px) rotate(45deg);
	-ms-transform: translateY(0px) rotate(45deg);
}
.selected .gh a {
	background-color: transparent !important;
}

.show-pc{
	display: block;
}
.show-wap{
	display: none;
}
@media only screen and (max-width:950px) {
body {
    background: #ffffff url(/themes/images/topbarr.png) repeat-x;
	}
	html{
		background: #ddd;
	}
	.gh{
		display: block;
	}
	.show-pc{
		display: none;
	}
	.show-wap{
		display: block;
	}
        #navbar{
		display: none;
	}
        #sobox{
		display: none;
	}
	body{
		/*width: 360px;*/ margin: 0 auto; overflow-x: hidden; line-height: 1.7; width: 100%;
	}
	#wrapper{
		width: auto; padding: 0;
	}
	#logo{
		float: none; margin: 0 auto;height: 40px; width: 100px;	background: url(/themes/images/logoo.png) no-repeat;
	}
	#topbox{
		height: 30px;
	}
	#navbar{
		float: none; margin-left: 0; background: #446d8f; height: auto; overflow: hidden; padding:10px 0px 0px 0px;
	}
	#navbar li{
		width: 25%; margin-right: 0; text-align: center; border-bottom: #a6c9d3 dashed 1px; height: 25px; line-height: 25px; font-size: 14px;
	}
	#navbar li:nth-child(n+5){
		border-bottom: 0;
	}
	#other{
		display: none;
	}
	#search{
		width: auto; margin-left: 10px;
	}
	#sobox{
		background: #f4f4f4;
	}
	#soboxx{
		background: #f4f4f4;
	}
	.sipt{
		width: 170px;
	}
	#catebox{
		margin-bottom: 10px;
	}
	.mag {
		margin-top: 5px;
	}
	#homebox-left
	{
		width: auto; float: none;
	}
	#homecate{
		border: 0;
	}
	#homecate h2 {
		font-size: 12px;
    }
	#category{
		border: 0;
	}
	#catebox ul{
		height: auto; overflow: hidden;
	}
	#catebox ul li{
		width: 25%; margin: 0; text-indent: 20px; font-size: 14px;
	}
	#homebest{
		border: 0;
	}
	.hbestlist{
		height: auto; overflow: hidden;
	}
	.hbestlist li {
		font-size: 14px;
		}
	.hbestlist li strong{
		height: auto;
	}
	#hinbox{
		width: auto; float: none;
	}
	#hiobox{
		border: 0;
	}
	#houtbox{
		float: none; width: auto;
	}
	#homebox-right{
		width: auto; float: none;
	}
	#newbox{
		border: 0; margin-top: 20px;
	}
	.newlist li{
		border-bottom: #eee solid 1px; padding: 10px;
	}
	#bestbox{
		border: 0;
	}
	.bestlist li,
	.inlist li{
		border-bottom: #eee solid 1px; padding: 10px; font-size: 14px;
	}
	.inlist li strong {
	    font: bold 14px/16px normal;
	}
	.bestlist li strong,
	.bestlist li p,
	.bestlist li address{
		left: 110px;
		width: auto;
		height: 33px;
		overflow: hidden;
	}
	
	.bestlist li p{
		margin-top: 3px;
	}
	#archives{
		border: 0;
	}
	#linkbox{
		border: 0;
	}
	#footer{
		padding: 20px; line-height: 1.8;
	}
	
	/*TOP排行榜*/
	#mainbox-left{
		width: auto; float: none;
	}
	.topsite{
		width: auto; float: none; margin-right: 0 !important; border: 0;
	}
	#mainbox-right{
		width: auto; float: none;
	}
	.sitepath{
		padding:0px 10px 0px 10px; font-size: 14px;
	}
	.sitepath a {
		font-size: 14px;
	}
	
	#scatebox{
		border: 0;
	}
	#scatebox h2 span{
		display: none;
	}
	#listbox{
		border: 0;
	}
	#inbox{
		border: 0;
	}
	.showpage{
		font-size: 9px; 
	}
	.bestlist li address,
    .inlist li address {
		height: 16px;
	}
	
	/*登录*/
	.logo{
		width: 100px; position: relative; top: 10px; left: 10px;
	}
	#toplink{
		margin: 30px 20px 0 0;
	}
	#loginform{
		border: 0; padding: 0; background: #fff;
	}
	#loginform ul{
		width: auto; padding: 20px;
	}
	
	/*分类浏览*/
    .scatelist li {
    	width: 85px; font-size: 14px; height: 23px;
    }
	.sitelist li{
		height: auto; 
	}
	.sitelist li img{
		position: static; float: left;
	}
	.sitelist li .info{
		position: static; width: auto;
	}
	.sitelist li .info h3{
		position: static; font-size: 16px;
	}
	.sitelist li .info p{
		position: static; margin-top: 10px; overflow: hidden; height: 35px; line-height: 18px; font-size: 14px;
	}
	.sitelist li .info address{
		position: static; margin-top: 10px;
	}
	.sitelist li .attr{
		float: none; margin-top: 10px; display: none;
	}
	
	/*分类目录*/
	
	/*关于我们*/
	#diypage-left{
		width: auto; float: none; display: none;
	}
	#diypage-right{
		margin-left: 0;
	}
	#pagenav{
		border: 0;
	}
	#content{
		border: none;
	}
	
	/*忘记登录密码*/
	#regform ul{
		width: auto;
	}
	.ipt{
		width: 220px;
	}
	
	/*意见反馈*/
	.fbform{
		margin-left: 0;
	}
	.fbform li strong{
		float: none;
	}
	.fbform li p{
		float: none;
	}
	.fipt{
		width: 280px; border: #aca899 solid 1px !important;
	}
	#checkcode{
		width: 100px;
	}
	
	/*站点详细*/ 
	#infobox-left{
		width: auto; float: none;
	}
	#sitebox{
		border: 0;padding:0px 10px 10px 10px;
	}
	#sitebox .wtitle {
		padding-bottom: 3px;
	}
	#sitebox .wtitle a{
		font-size: 18px;
	}
	.wthumb{
		margin: 0 auto 5px auto;
	}
	.rellist{
		height: auto;
		overflow: hidden;
		padding-left: 0px;
		}
	.rellist li {float: left; font-size: 16px; margin: 1px; padding: 10px 10px 5px 13px; text-align: center;}
	.rellist li strong{
		height: auto; width: 130px;
	}
	#relsite,
	#tagbox{
		border-top: 0; border-right: 0; border-left: 0;
	}
	#tagbox ul{
		height: auto; overflow: hidden;
	}
	#tagbox h2{
		font-size: 16px;
	}
	#tagbox li{
		float: left; width: 160px; font-size: 16px;
	}
	#infobox-right{
		float: none; width: auto;
	}
	.infoad,
	#infoad{
		display: none;
	}
	.infobdad{
		display: none;
	}
	#wdata{
		height: auto; overflow: hidden; padding:0px 5px 0px 5px;
	}
	#wdata li{
		width: 25%; border-bottom: #ccc solid 1px; border-right: 0; position: relative;
	}
	#wdata li em {
		font-size: 11px; padding-top: 1px;
	}
	#wdata li:after{
		content: ""; position: absolute; right: 0; top: 50%; width: 1px; height: 40px; margin-top: -20px; background: #ccc;
	}
	#wdata li:nth-child(4n):after{
		display: none;
	}
	#wdata li:nth-child(n+5){
		border: 0;
	}
	.wthumb{
		width: auto; float: none;
	}
	.siteinfo {
    	padding-top: 5px;
    }
	.siteitem{
		margin-left: 0;
	}
	.siteitem li {
    	padding-bottom: 2px; font-size: 16px;
    }
    .siteitem .nlink {
        font-size: 16px;
    }
	.hinlist li {
    	font-size: 16px;
	}
	.houtlist li {
    	font-size: 16px;
	}
	.newlist li {
    	font-size: 16px;
	}
}

.slh{
	/*超出省略号*/
	 word-break:keep-all;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}




