body {
	font-family: "Arial","Microsoft JhengHei",Apple LiGothic Medium,sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	color: #999;
	background: #000;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

.js .loading::before,
.js .loading::after {
	content: '';
	position: fixed;
	z-index: 1000;
}

.loading::before {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
}

.loading::after {
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	margin: -20px 0 0 -20px;
	border: 5px solid #ccc;
	border-bottom-color: #666;
	border-radius: 50%;
	animation: animLoader 0.8s linear infinite forwards;
}

@keyframes animLoader {
	to { transform: rotate(360deg); }
}

a {
	text-decoration: none;
	color: #aaa;
	outline: none;
}

a:hover,
a:focus {
	color: #333;
}

.hidden {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
	pointer-events: none;
}

.center {
	text-align: center;
}

.error {
	text-align: center;
	color: #999;
}

.error :hover {
	color: #eee;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

#main {
	display: flex;
	flex-wrap: wrap;
}

/* Bgimg */
.header { 
	position: relative;
	display: flex;
    width: 100%;
    height: 100vh;
	min-height: 620px;
	max-height: 1800px;
	overflow: hidden;
	border-top: 5px solid #151515;
    top: 0px;
    left: 0px;
    z-index: 0; 
}

.header .bgimg { 
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    color: transparent;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
	overflow: auto;
    z-index: 0;
}

.header .header-info { 
    z-index: 1;
    position: absolute;
	width: 100%;
	max-width: 50vw;
	transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    color: #fff;
}

.header .header-info h3 {
	font-weight: normal;
}

.img-moinfo,
.img-bginfo {
	display: block;
	position: absolute !important;
	bottom: 100px;
	left: calc(50% - 10px);
    cursor: default;
    margin-left: 0;
    font-family: sans-serif;
	font-weight: bold;
    color: #000;
	text-align: center;
    font-size: 12px;
    line-height: 18px;
    border: 1px solid #666;
    border-radius: 100%;
    height: 18px;
    width: 18px;
    background: rgba(255, 255, 255, .7);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    z-index: 99;
}

.img-moinfo:hover,
.img-bginfo:hover {
	background:#fff;
}

.header .open {
	display: block;
	position: absolute !important;
	bottom: 30px;
	left: calc(50% - 19px);
    cursor: pointer;
    margin-left: 0;
    font-family: sans-serif;
	font-weight: 100;
    color: #fff;
	text-align: center;
    font-size: 24px;
    line-height: 38px;
    height: 38px;
    width: 38px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    z-index: 99;
}

.header .open:hover {
	color: #000;
}

.header .open {
	animation: open 1s ease-in-out 1s infinite alternate;
}

@keyframes open{
	from{margin-top:0px;}
	to{margin-top:-12px;}
}

@keyframes open{
	from{transform:translate(0,0)}
	to{transform:translate(0,6px)}
}

/* Masonry */

.content {
	flex: 1;
	max-width: 1920px;
	margin: 0 auto;
}

.masonry {
	margin: 30px auto;
}

.snapic-info {
	position: relative;
	padding: 0 10px;
	word-wrap: break-word;
}

.snapic-text,
.about {
	text-align:justify;
}

.snapic-title {
	font-size: 18px;
	font-weight: normal;
}

.snapic-time {
	font-size: 12px;
}

.snapic-text {
	font-size: 14px;
}

.about {
	font-size: 16px;
}

.snapic-title,
.snapic-time,
.snapic-text {
	color: #999 !important;
}

.snapic-info:hover .snapic-title,
.snapic-info:hover .snapic-text {
	color: #333 !important;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.snapic-info:hover .snapic-time {
	color: #999 !important;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.send {
	line-height: 32px;
    height: 30px;
    text-align: center;
	color: #ff8800 !important;
}

.category {
	position: absolute !important;
	display: none;
    top: 11px;
    right: 10px;
    font-size: 16px;
    padding: 3px 7px 0;
    background: rgba(51, 51, 51, .7);
    border-radius: 3px;
	z-index: 9;
}

.category a {
	color: #fff;
}

.category:hover {
	background: #ff8800;
}

.grid__item:hover .category {
	display: block;
}

.thumb {
	position: absolute !important;
	top: 10px;
	left: 10px;
    font-size: 18px;
	color: #fff;
    padding: 2px 7px 1px;
    background: rgba(27, 188, 182, .7);
    border-radius: 15px;
	cursor: default;
	z-index: 9;
}

.thumb:hover {
	background: #1bbcb6;
}

.poster p {
	padding: 0 10px;
	font-size: 14px;
    word-wrap: break-word;
    overflow: hidden;
}

/* Post */

.post .grid .grid__item {
	max-width: 480px;
	width: calc(100% - 10px);
	padding: 5px;
	transform: translate(-50%, -50%);
	top: 50% !important;
	left: calc(50% - 5px) !important;
}

.post,
.post img {
	width: 100%;
	max-width: 98vw;
	margin: 0 auto;
}

/* Footer */
.footer {
	padding: 1em 0;
}

.footer span {
	display: inline-block;
	width: calc(100% - 20px);
	padding: 0 10px;
	text-align: left;
}

.copyright {
	margin: 0 auto 1em auto;
}

.icp {
	margin: 0 auto;
	font-size: 14px;
}

.powered {
	margin: 1em auto 0 auto;
	font-size: 14px;
}


/*Page*/
.page-navigator {
	list-style: none;
	text-align: center;
	padding: 0;
}

.page-navigator .next a {
	background: #ff8800;
	color: #fff;
	border-radius: 2px;
}

.page-navigator .next a:hover {
	color: #fff;
	border-radius: 50%;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.page-navigator li {
	display: inline-block;
	margin: 0 5px;
}

.page-navigator a {
	display: inline-block;
	padding: 0 10px;
	border-radius: 2px;
	height: 30px;
	line-height: 30px;
}

.page-navigator a:hover {
	background: #ff8800;
	color: #fff !important;
}

.page-navigator .current a {
	background: #666;
}

.page-navigator .current a:hover {
	color: #fff !important;
}

/*Search & Top*/
.search,
#gotop {
	position: fixed;
	display: none;
	z-index: 3;
}

.search a,
#gotop a {
	display: block;
	font-family: sans-serif;
	text-align: center;
	text-decoration: none;
	color: #fff;
	font-size: 16px;
	line-height: 35px;
	font-weight: 100;
	border: 1px solid #fff;
	border-radius: 100%;
	height: 36px;
	width: 36px;
	background: #000;
	opacity: .3;
	text-transform: uppercase;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	z-index: 99;
}

.search a:hover,
#gotop a:hover {
	opacity: .7;
}

.search {
	bottom: 123px;
	right: 18px;
}

#gotop {
	bottom: 72px;
	right: 18px;
}

#search {
	display: block;
	line-height: 75px;
	text-align: center;
}

#search input {
	max-width: 150px;
	width: 100%;
	outline: none;
	border: none;
	border-radius: 2px;
	background: #000;
	color: #fff;
	text-align: center;
	font-size: 16px;
	line-height: 32px;	
}

#search button {
	border: none;
	padding: 0;
	width: 32px;
	height: 32px;
	background: transparent url(../img/search.png) no-repeat center center;
	vertical-align: middle;
}

#search button:hover {
	opacity: .7;
}

#search .sr-only {
	border: none;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.site-search {
	display: none;
	padding: 30px;
	background: #000 !important;
}

/* Grid */
.grid {
	position: relative;
	z-index: 2;
	display: block;
	margin: 0 auto;
	height: 100% !important;
}

.grid--hidden {
	position: fixed !important;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	pointer-events: none;
	opacity: 0;
}

.js .grid--loading::before,
.js .grid--loading::after {
	content: '';
	z-index: 1000;
}

.js .grid--loading::before {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: #000;
}

.js .grid--loading::after {
	position: absolute;
	top: calc(25vh - 20px);
	left: 50%;
	width: 40px;
	height: 40px;
	margin: 0 0 0 -20px;
	border: 5px solid #ccc;
	border-bottom-color: #666;
	border-radius: 50%;
	animation: animLoader 0.8s linear forwards infinite;
}

.grid__sizer {
	margin-bottom: 0 !important;
}

.grid__link,
.grid__img {
	display: block;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
}

.grid__img {
	width: 100%;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.grid__img:hover {
	transform: scale(.97);
}
.grid__deco {
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
}

.grid__deco path {
	fill: none;
	stroke: #fff;
	stroke-width: 2px;
}

.grid__reveal {
	position: absolute;
	z-index: 50;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	opacity: 0;
	background: #000;
}

.grid .grid__item,
.grid .grid__sizer {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: calc(50% - 10px);
	margin: 5px 5px 5px;
	background: #333;
	border-radius: 3px;
	overflow: hidden;
}

.grid .grid__item:hover,
.grid .grid__sizer:hover {
	background: #fff;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

@media screen and (min-width: 60em) {
	.grid .grid__item,
	.grid .grid__sizer {
		width: calc((100% / 3) - 10px);
		margin: 5px 5px 5px;
	}
}

@media screen and (min-width: 70em) {
	.grid .grid__item,
	.grid .grid__sizer {
		width: calc(25% - 20px);
		margin: 5px 10px 10px;
	}
}

@media screen and (max-width: 50em) {
	#main {
		display: block;
	}
	
	.content {
		max-width: 100vw;
	}
				
	.grid__img:hover {
	transform: scale(1);
	}
}

@media(max-width:600px){
	.header {
		height: calc(100vh - 60px);
		min-height: 480px;
		max-height: 1200px;
	}
	
	.header .header-info { 
		max-width: 80vw;
	}
	
	.masonry {
		margin: 10px auto;
	}
	
	.snapic-info {
		padding: 0 5px;

	}
	
	.snapic-text {
		margin: 5px 0;
	}
	
	.category {
		display: block !important;
		padding: 1px 7px 2px;
	}
	
	.category a {
		font-size: 12px;
	}

	.search {
		bottom: 87px;
	}
	
	#gotop {
		bottom: 36px;
	}
	
	.grid .grid__item,
	.grid .grid__sizer {
		width: calc(50% - 10px);
		margin: 5px 5px 5px;
	}
}

@media(max-width:480px){
	.snapic-info {
		padding: 0 10px;
	}	
	
	.snapic-text {
		margin: 10px 0;
	}
	
	.snapic-text {
		font-size: 16px;
	}
	
	.grid .grid__item,
	.grid .grid__sizer {
		width: calc(100% - 10px);
		margin: 5px 5px 5px;
	}
	/* 显示翻图箭头
	.fancybox-nav span,
	.fancybox-prev span {
		visibility: visible !important;
		opacity: .3;
	}
	*/
}