@keyframes fadeIn {
 0% { filter: opacity(0); transform: translate(0,30px); }
 100% { filter: none; transform: none; }
}
.fadeIn {
	animation: fadeIn 1s ease-out;
	animation-fill-mode: both;
}
* {
	-webkit-tap-highlight-color: transparent;
	outline: none;
}
html, body {
	margin: 0;
	padding: 0;
	font-family: sans-serif;
}
.topbar {
	width: 100%;
	background: rgba(0,0,0,.8);
	position: fixed;
	top: 0;
	height: 44px;
	border-bottom: 1px solid #FFFFFF;
	z-index: 999;
	-webkit-backdrop-filter: blur(15px);
	backdrop-filter: blur(15px);
}
.topbar .title {
	color: #FFFFFF;
	font-size: 24px;
	line-height: 44px;
	text-align: center;
}
.topbar .backbtn {
	position: relative;
	top: -44px;
	float: left;
	color: #FFFFFF;
	font-size: 16px;
	border: 1px solid #FFF;
	border-left: none;
	height: 28px;
	line-height: 28px;
	padding: 2px 8px 2px 6px;
	margin: 5px;
	margin-left: 25px;
	border-bottom-right-radius: 5px;
	border-top-right-radius: 5px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.topbar .backbtn:after {
	content: "";
	position: absolute;
	top: 4.3px;
	left: -12px;
	height: 22.6px;
	width: 22.6px;
	border-left: 1px solid #FFF;
	border-top: 1px solid #FFF;
	transform: rotate(-45deg);
}
.topbar .menubtn, .topbar .filterbtn {
	position: relative;
	top: -44px;
	float: right;
	color: #FFFFFF;
	font-size: 16px;
	border: 1px solid #FFF;
	height: 32px;
	width: 32px;
	margin: 5px;
	margin-left: 0;
	border-radius: 5px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	cursor: pointer;
}
.topbar .menubtn:before, .topbar .menubtn:after, .topbar .filterbtn:before, .topbar .filterbtn:after {
	content: "";
	position: absolute;
}
.topbar .menubtn:before {
	left: 7px;
	top: 9px;
	height: 9px;
	width: 18px;
	border-top: 3px solid;
	border-bottom: 3px solid;
}
.topbar .menubtn:after {
	left: 7px;
	top: 15px;
	width: 18px;
	border-top: 3px solid;
}
.topbar .filterbtn:before {
	left: 16px;
	top: 19px;
	height: 11px;
	border-left: 3px solid;
	transform-origin: top left;
	transform: rotate(-45deg);
}
.topbar .filterbtn:after {
	left: 5px;
	top: 5px;
	height: 10px;
	width: 10px;
	border: 3px solid;
	border-radius: 50%;
}
.topbar .backbtn:hover, .topbar .backbtn:hover:after, .topbar .menubtn:hover, .topbar .filterbtn:hover {
	color: #999999;
	border-color: #999999;
}
.topbar .backbtn:active, .topbar .backbtn:active:after, .topbar .menubtn:active, .topbar .filterbtn:active {
	color: #CCCCCC;
	border-color: #CCCCCC;
}
.topbar .menubtn.menu_open, .topbar .menubtn.menu_open:before, .topbar .menubtn.menu_open:after,
body.searchopen .topbar .filterbtn, body.searchopen .topbar .filterbtn:before, body.searchopen .topbar .filterbtn:after {
	box-shadow: 0 0 5px 0 #FFF, 0 0 5px 0 #FFF inset;
}
.topbar .menubtn.menu_open, .topbar .menubtn.menu_open:hover:before, .topbar .menubtn.menu_open:hover:after,
body.searchopen .topbar .filterbtn:hover, body.searchopen .topbar .filterbtn:hover:before, body.searchopen .topbar .filterbtn:hover:after {
	box-shadow: 0 0 5px 0 #999, 0 0 5px 0 #999 inset;
}
.topbar .menubtn.menu_open, .topbar .menubtn.menu_open:active:before, .topbar .menubtn.menu_open:active:after,
body.searchopen .topbar .filterbtn:active, body.searchopen .topbar .filterbtn:active:before, body.searchopen .topbar .filterbtn:active:after {
	box-shadow: 0 0 5px 0 #CCC, 0 0 5px 0 #CCC inset;
}
.topbar .menu {
	position: absolute;
	top: 45px;
	right: 0;
	color: #EEEEEE;
	background: rgba(48,48,48,.95);
	font-size: 15px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	width: 240px;
	max-height: calc(100vh - 45px);
	overflow-y: auto;
}
.topbar .menu.mf {
	top: 31px;
	width: 160px;
}
.topbar .menu .menuitem {
	position: relative;
	line-height: 28px;
	height: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	box-sizing: border-box;
	border-bottom: 0px solid #2C2C2C;
	padding: 0 10px;
	border-left: 3px solid #000;
	transition: all .5s;
}
.topbar .menu .menuitem:after {
	content: "";
	position: absolute;
	height: 7px;
	width: 15px;
	right: 8px;
	top: 8px;
	transform: rotate(-45deg);
	border-left: 2px solid;
	border-bottom: 2px solid;
	border-color: transparent;
	transition: all .2s;
}
.topbar .menu .menuitem.menuselected:after {
	border-color: inherit;
}
.topbar .menu.menuopen .menuitem {
	height: 29px;
	border-bottom-width: 1px;
	cursor: pointer;
}
.topbar .menu .menuitem:hover {
	background: #505050;
}
.topbar .menu .menuitem:active {
	transition: none;
	transform: scale(.96, .96);
}
.topbar .searchbar {
	position: absolute;
	overflow: hidden;
	top: 45px;
	height: 30px;
	left: 0;
	right: 0;
	margin: 0 auto;
	width: 0;
	opacity: 0;
	background: rgba(0,0,0,.8);
	border-bottom: 1px solid #FFFFFF;
	transition: all .5s;
}
body.searchopen .topbar .searchbar {
	overflow: visible;
	width: 100%;
	opacity: 1;
}
.topbar .searchbar:before, .topbar .searchbar:after {
	content: "";
	position: absolute;
}
.topbar .searchbar:before {
	left: 4px;
	top: 4px;
	height: 12px;
	width: 12px;
	border: 2px solid #FFF;
	border-radius: 50%;
}
.topbar .searchbar:after {
	left: 16px;
	top: 18px;
	height: 10px;
	border-left: 2px solid #FFF;
	transform-origin: top left;
	transform: rotate(-45deg);
	cursor: text;
}
.topbar .searchbar #searchinp {
	position: absolute;
	height: 100%;
	width: 100%;
	box-sizing: border-box;
	padding: 0 180px 0 30px;
	background: transparent;
	border: none;
	color: #FFF;
	font-size: 18px;
	line-height: 30px;
}
.topbar .searchbar #searchcl {
	position: absolute;
	right: 160px;
	top: 0;
	height: 30px;
	width: 20px;;
	border-color: #CCC;
	cursor: pointer;
}
.topbar .searchbar #searchcl:hover { border-color: #FFF; }
.topbar .searchbar #searchcl:active { border-color: #999; }
.topbar .searchbar #searchcl:before, .topbar .searchbar #searchcl:after {
	content: "";
	position: absolute;
	top: 8px;
	left: 8px;
	height: 14px;
	border-left: 1px solid;
	border-color: inherit;
}
.topbar .searchbar #searchcl:before { transform: rotate(-45deg); }
.topbar .searchbar #searchcl:after { transform: rotate(45deg); }
.topbar .searchbar #authfilter {
	position: absolute;
	right: 0;
	width: 160px;
	box-sizing: border-box;
	border-left: 3px solid;
	border-color: #999;
	padding: 0 24px 0 7px;
	color: #FFF;
	line-height: 30px;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
.topbar .searchbar #authfilter:hover { background: rgba(255,255,255,.1); }
.topbar .searchbar #authfilter:active { background: transparent; }
.topbar .searchbar #authfilter:after {
	content: "";
	position: absolute;
	right: 9px;
	top: 9px;
	height: 8px;
	width: 8px;
	border-left: 2px solid #FFF;
	border-bottom: 2px solid #FFF;
	transform: rotate(-45deg);
}
#container {
	margin: 0 auto;
	margin-top: 55px;
	transition: margin .5s;
}
body.searchopen #container {
	margin-top: 85px;
}

@media (min-width:768px) {
#container {
	width: 750px;
}
}

@media (min-width:992px) {
#container {
	width: 970px;
}
}

@media (min-width:1200px) {
#container {
	width: 1170px;
}
}
.item {
	position: relative;
	margin: 10px;
	width: calc(100% - 20px);
	border-radius: 7px;
	box-shadow: 0 0 5px 0 rgba(0,0,0,.25);
	background: #FFFFFF;
	opacity: .9;
	transition: all .5s;
	overflow: hidden;
}
body.dark .item {
	background: #333333;
	box-shadow: 0 0 5px 0 rgba(255,255,255,.25);
	border-color: #444;
}
.item:hover {
	opacity: 1;
	box-shadow: 0 0 5px 0 rgba(0,0,0,.6);
}
body.dark .item:hover {
	box-shadow: 0 0 5px 0 rgba(255,255,255,.6);
}
.item:active {
	transition: none;
	transform: perspective(1000px) rotateX(var(--my)) rotateY(var(--mx)) scale(.98, .98);
}

@media (min-width: 768px) {
.item {
	float: left;
	width: 47.2%;
}
}

@media (min-width: 992px) {
.item {
	float: left;
	width: 31.2%;
}
}

@media (min-width: 1200px) {
.item {
	float: left;
	width: 22.8%;
}
}
.item .img {
	background: #999;
	width: 100%;
	box-shadow: 0 0 5px 0 rgba(0,0,0,.25);
	transition: all .5s;
	position: relative;
}
body.dark .item .img{
	box-shadow: 0 0 5px 0 rgba(255,255,255,.25);
}
.item .img:hover {
	transform: scale(1.05, 1.05);
	opacity: .6;
}
.item .img:active {
	transition: none;
	opacity: 1;
}
.item .tag {
	position: absolute;
	top: 20px;
	right: -48px;
	transform: rotate(45deg);
	background: #FF7777;
	color: #FFFFFF;
	border: 1px solid #FFFFFF;
	font-size: 13px;
	padding: 1px;
	width: 150px;
	text-align: center;
	box-shadow: 0 0 4px 0 #000;
	opacity: .8;
}
.item .desc_title {
	margin: 3px 7.5px;
	font-size: 16px;
	line-height: 22px;
	color: #00AAFF;
	font-weight: bold;
	text-decoration: none;
	display: block;
	transform-origin: left bottom;
	transition: all .5s;
}
.item .desc_title:hover {
	color: #7BD2FF;
	transform: scale(1.15, 1.15);
}
.item .desc_title:active {
	transition: none;
	color: #008ACF;
}
.item .desc {
	margin: 0 7.5px;
	padding: 4px 0;
	font-size: 12px;
	line-height: 1.4;
	color: #888;
	height: 85px;
	border-top: 1px solid rgba(0,0,0,.1);
	border-bottom: 1px solid rgba(0,0,0,.1);
	transition: all .5s;
}
body.dark .item .desc {
	border-color: rgba(255,255,255,.1);
}
.item .desc_auth {
	margin: 3px 5px 5px 5px;
	float: right;
	height: 32px;
	position: relative;
	transform-origin: right center;
	transition: all .5s;
}
.item .desc_auth:hover {
	transform: scale(1.1, 1.1) rotate(2deg);
}
.item .desc_auth .desc_label {
	font-size: 14px;
	color: #777;
	line-height: 22px;
	padding: 0 2px 0 8px;
	margin: 5px;
	position: absolute;
	top: 0;
	right: 42px;
	border: 1px solid #777;
	border-right: none;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	white-space: nowrap;
	word-break: keep-all;
	text-overflow: ellipsis;
}
.item .desc_auth .desc_label:after {
	content: "";
	position: absolute;
	top: 2.75px;
	right: -8.4px;
	height: 15.6px;
	width: 15.6px;
	border-right: 1px solid;
	border-top: 1px solid;
	border-color: inherit;
	transform: rotate(45deg);
}
.item .desc_auth img {
	height: 28px;
	width: 28px;
	border-radius: 50%;
	margin: 2px;
	box-shadow: 0 0 2px 0 #333;
}
body { transition: background .5s; }
body, #background.solidbg {
	background-color: #EEEEEE;
	background-image: linear-gradient(rgba(255,255,255,.1),transparent,rgba(0,0,0,.1));
	background-attachment: fixed;
}
#background {
	position: fixed;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
}
body.dark, body.dark #background.solidbg {
	background-color: #111111;
}
#background canvas {
	opacity: .8;
}

@keyframes animgray {
 0% { filter: grayscale(0); }
 50% { filter: grayscale(1); }
 100% { filter: grayscale(0); }
}
@keyframes hue {
 0% { filter: hue-rotate(0deg); }
 100% { filter: hue-rotate(360deg); }
}
@keyframes singlehue {
 0% { filter: sepia(1) saturate(8) hue-rotate(0deg); }
 100% { filter: sepia(1) saturate(8) hue-rotate(360deg); }
}
@keyframes animblur {
 0% { filter: blur(0px); }
 50% { filter: blur(10px); }
 100% { filter: blur(0px); }
}

.fx_grayscale { filter: grayscale(1); }
.fx_sepia { filter: sepia(1); }
.fx_invert { filter: invert(1); }
.fx_invert_light { filter: invert(1) hue-rotate(180deg); }
.fx_invert_grayscale { filter: invert(1) grayscale(1); }
.fx_animated_grayscale { animation: animgray .3s linear infinite; }
.fx_hue_rotate { animation: hue 2s linear infinite; }
.fx_single_hue_rotate { animation: singlehue 2s linear infinite; }
.fx_higher_contrast { filter: contrast(2.5); }
.fx_higher_saturate { filter: saturate(2.5); }
.fx_blur { filter: blur(2px); }
.fx_animated_blur { animation: animblur .3s linear infinite; }

.fx_emboss { filter: url(filters.svg#EmbossFilter); }
.fx_sharpen { filter: url(filters.svg#SharpenFilter); }
.fx_edge_detect { filter: url(filters.svg#EdgeDetectFilter); }
.fx_luminance_mask { filter: url(filters.svg#LuminanceMaskFilter); }
.fx_gaussian_blur { filter: url(filters.svg#GaussianBlurFilter); }
.fx_gradient_map { filter: url(filters.svg#GradientMapFilter); }
.fx_posterize { filter: url(filters.svg#PosterizeFilter); }
.fx_x_ray { filter: url(filters.svg#XRayFilter); }
.fx_washout { filter: url(filters.svg#WashoutFilter); }
.fx_glowing { filter: url(filters.svg#GlowingFilter); }
.fx_scattered_cubes { filter: url(filters.svg#ScatteredCubesFilter); }
.fx_color_displacement { filter: url(filters.svg#ColorDisplacementFilter); }
.fx_convolve { filter: url(filters.svg#ConvolveFilter); }
.fx_convolve_luminance { filter: url(filters.svg#ConvolveLuminanceFilter); }
.fx_binary { filter: url(filters.svg#BinaryFilter); }
.fx_electrize { filter: url(filters.svg#ElectrizeFilter); }
.fx_spectrum { filter: url(filters.svg#SpectrumFilter); }
.fx_displacement { filter: url(filters.svg#DisplacementFilter); }
.fx_distort { filter: url(filters.svg#DistortFilter); }
.fx_frosted_glass { filter: url(filters.svg#FrostedGlassFilter); }
