@import url('https://fonts.googleapis.com/css2?family=Fira+Sans&display=swap');
:root {
	--accent: #f80;
}
* { margin: 0; padding: 0; direction: ltr; }
body { background: url(bg-1.jpg) repeat-x; font-size: 13px; font-family: 'Fira Sans', sans-serif; }
a { text-decoration: none; color: #46a; }
a:hover { color: #22a; }
h1 { font-weight: normal; font-size: 21px; margin-top: 15px; color: #aaa; padding: 0 5px; }
h1 span { color: #444; }
h1 #copy-link { opacity: .3; cursor: pointer; transition: opacity .5s; position: relative; top: 3px; }
h1 #copy-link:hover { opacity: .6; }
h2 { font-weight: normal; font-size: 18px; }
input, select { padding: 5px; margin:2px;}
textarea { padding: 5px; }
fieldset { border: none; }
input[type=submit], input[type=button], button { padding: 10px 20px; background: #08f; color: #fff;
	border: none; transition: background .5s; cursor: pointer; position: relative; overflow: hidden; }
button { padding-left: 40px; }
button s { position: absolute; filter: invert(1); left: 18px; top: 10px ; }
input[type=submit]:hover, input[type=button]:hover, button:hover { background: var(--accent); }
button[type=submit] { transition: padding-left .5s; }
button[type=submit]:focus { padding-left: 40px; }
#content button[type=submit]::before { content: ''; display: inline-block; width: 16px; height: 16px; border: 3px solid rgba(0,0,0,.3);
	border-top-color: #fff; border-radius: 50%; position: absolute; margin: -5px; animation: spin 2s linear infinite;
	left: -45px; transition: left .5s; }
#content button[type=submit]:active::before { left: 15px; }
input[type=text][readonly] { background: #eee; color: #888; border: 1px solid #888; }
input[type=submit][readonly], input[type=button][readonly], input[type=image][readonly], button[type=submit][readonly] { background: #888 !important; color: fff; }
input[type=submit].inline { padding: 6px 10px; }
#content #thumbs2 form li { display: block; }
label[for] { display: inline; }
.error { color: #f00; }
hr { border:none;border-top: 1px solid rgba(128,128,128,.3);}

#wrapper { margin: 0 auto; max-width: 1920px; min-width: 1280px; }
header {position: fixed; width: 100%; background-color: rgba(255,255,255,.6); left: 0;
	z-index: 3; backdrop-filter: blur(0px); }
header > div { min-width: 1280px; max-width: 1920px; margin: 0 auto; }
#header { height: 150px; background: url(header-1.jpg) no-repeat -85px 0; }
header > div > a { position: relative; opacity: 0; left: 30px; }
#header > a { position: relative; top: 110px; left: 30px; }
#header > a img, header > div > a > img { height: 32px; transition: background .5s; }
#header > a img:hover { background: rgba(255,255,255,.3); }
#header ul { padding: 0 6px; max-width: 1920px; margin-right: 170px; white-space: nowrap;
	z-index: 9; float: right; }
#header li { display: inline-block; line-height: 30px; color: #000; position: relative; }
#header ul a { display: inline-block; padding: 2px; }
#header ul a:hover { background: #eee; }
/*#header li:before { content: "| " }*/
#header li:first-child:before, #header li:last-child:before { content: ""; }
#header .notification { display: inline-block; background: rgba(192,0,0,.8); width: 16px; line-height: 16px;
	border-radius: 6px; color: #fff; text-align: center; font-size: 10px; top: 25px; right: -4px; position: absolute;
	font-weight: bold; }
#leaderboard { float: right; right: 0; width: 728px; height: 90px; margin: 5px; margin-top: 45px; clear: right; }
#skyscraper { float: right; width: 160px; height: 600px; margin: 5px; margin-top: 55px; }
#body { padding: 6px 5px; margin-right: 170px; background: url(header-1.jpg) no-repeat -85px -150px; position: relative; }
#search { position: absolute; right: 0; top: 10px; height: 30px; padding: 5px 0; }
#search a img { width: 28px; height: 28px; margin-bottom: -9px; opacity: .6; }
#search a img:hover { opacity: 1; }
#search input { padding: 5px 10px; font-size: 14px; }
#search input[type=text] { border-radius: 15px; border: 1px solid rgba(128,128,128,.5); transition: border .5s;
	box-shadow: inset 1px 1px 2px rgba(0,0,0,.1); }
#search input[type=text]:hover { border-color: rgba(128,128,128,1); }
#search button[type=submit] { padding: 7px 13px; font-size: 14px; opacity: .6;
	border-left: 1px solid rgba(128,128,128,.5);
	position: absolute; top: 5px; right: 0px; background: rgba(128,128,128,.1); border-radius: 0 15px 15px 0; }
#search button[type=submit] s { position: static; filter: none; margin-bottom: -5px; }
#search button[type=submit]:hover { background: rgba(128,128,128,.2); }
#search input[type=reset] { font-size: 14px; opacity: .4; border: none; background: transparent;
	position: absolute; top: 5px; right: 40px; display: none; cursor: pointer; }
#search input[type=reset]:hover { opacity: .6; }

#search a { font-size: 8pt; margin-right: 5px; }
#search #tagme { position: absolute; right: 45px; top: 12px; }
#search #tagme s { opacity: .4; }
#search #tagme s:hover { opacity: .6; }

#tabs { height: 25px; margin-top: -25px; }
#tabs li { display: block; float: left; margin: 0 5px; margin-top: 5px; height: 25px; }
#tabs li.active {  background: #fff; }
#tabs li a { display: block; line-height: 25px; font-size: 13px; color: #048; padding: 0 10px; transition: all .5s;
	text-shadow: 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff; font-weight: bold; text-transform: uppercase;
}
#tabs li.active a { text-shadow: none; color: #036; }
#tabs li a:hover { text-shadow: none; background: rgba(255,255,255,.6); color: #024; }
#tabs span { font-size: 80%; font-weight: 100; }

#footer { clear: both; line-height: 40px;
	padding: 0 5px; color: #000; margin: 10px -10px -5px -5px; min-height: 100px; background: rgba(128,128,128,.15); }
#language-form, #theme-form { float: right; margin: 0 2px; }

#social-buttons { display: inline-block; margin-right: 10px; }
#footer-socials li { display: inline-block; padding: 0; border-bottom: none; }
#footer-socials a { /* background: rgba(128,128,128,.2); */ display: inline-block; padding: 5px 10px 5px 5px; border-radius: 20px;
	max-height: 23px; }
#footer-socials s { position: relative; top: -2px; margin-right: 3px; }
#footer-socials span { position: relative; top: -8px; }

#content { float: left; width: 79.6%; padding-top: 40px; }
#content h3 { font-size: 11pt; font-weight: normal; padding: 1em 5px 0 5px; color: #aaa; }
#content h3 a { font-size: 11pt; font-weight: bold; color: #3B5998; }
#content p { padding: 5px; }

.ac_results { margin-left: 10px; z-index: 9; }
.ac_results ul { border: 1px solid #444; text-align: left; background: #fff; }
.ac_results li { display: block; padding: .2em; cursor: default; }
.ac_results a { padding: 2px 1em; display: block; padding: .2em; }
.ac_results strong { font-weight: bold; }
.ac_results span { color: #777; }
.ac_results a:hover, .ac_over { background: #eee; }

.breadcrumbs > * { position: relative;   text-align: center;   padding: 2px 10px; margin: 2px 0 2px 0px;
	line-height: 20px; display: inline-block;   z-index: 1; }
#content .breadcrumbs > * { background: none; }
#content .breadcrumbs > *:first-child { background: #acf; margin-right: 3px; }
#content .breadcrumbs > *:first-child:before,#content .breadcrumbs > *:first-child:after { left: 3px; }
.breadcrumbs > *:before { content: '';   position: absolute;   top: 0;   left: 0;   height: 50%;   width: 100%;
	background: #acf;   transform: skew(20deg, 0deg); z-index: -1; }
.breadcrumbs > *:after { content: ''; position: absolute; left: 0; bottom: 0; height: 50%;  width: 100%;
	background: #acf; transform: skew(-20deg, 0deg); z-index: -1; }

.pagination { text-align: center; margin: 20px; clear: left; }
.pagination span { margin: 0 auto; }
.pagination a { padding: 10px; background: #08f; color: #fff; font-size: 10pt; transition: all .5s; }
.pagination a:hover { background: var(--accent); text-decoration: none; }
a[rel=start] { background: #aaa; }

#browse-filters { padding: .5em; border-bottom: 1px solid #ccc; margin: 1em 0; clear: left; }
#browse-filters a { padding: 5px; /* background: rgba(0,128,255,.15); */ }
#browse-filters a:hover { background: rgba(0,128,255,.3); }

.swatch { width: 5px; height: 5px; display: inline-block; opacity: .4; outline: 1px solid transparent;
	border: 1px solid transparent; position: relative; top: 3px; }
.swatch.active { outline: 1px solid #000; border: 1px solid #fff; }
.swatch:hover { opacity: 1; outline: 1px solid #000; }

a.active { font-weight: bold; }
#thumbs { margin: 5px; }
#thumbs li { display: block; height: 262px; clear: left; }
#thumbs li li { height: 75px; padding: 2px; border: 1px solid #e0e0e0; clear: none; }
#thumbs li li a, .smallthumbs a { height: 75px; width: 75px; display: block; background-position: center 20%;
	border-radius: 5px; }
.tags, .tags a { font-size: 9pt; }

.smallthumbs { height: 84px; overflow: hidden; }
#menu .smallthumbs { margin: 0 5px; }
.smallthumbs li { display: block; height: 75px; width: 75px; margin: 2px 2px 0 0;
	float: left; padding: 2px !important; border: 1px solid #e0e0e0; background: #fff; }
.smallthumbs .active { border: 1px solid #000; }
.smallthumbs .active a { opacity: 1; }
#content .smallthumbs li:hover, #menu .smallthumbs li:hover { border: 1px solid #444; }

.carousel { position: relative; }
.carousel ul { overflow: hidden; white-space: nowrap; padding: 0 20px; height: 32px; }
.carousel::before, .carousel::after { display: block; content: " "; background: linear-gradient(to right, #fff, transparent);
	width: 8%; height: 40px; position: absolute; pointer-events: none; }
.carousel::after { background: linear-gradient(to left, #fff, transparent); right: 0px; left: auto; top: 0px; z-index: 2; }
.carousel li { display: inline-block; margin: 0 3px; background-size: cover; color: #222; max-height: 32px;
	border-radius: 20px; white-space: nowrap; padding: 0 10px 0 0; transition: all .5s; }
.carousel li:hover { background: #444; }
.carousel ul .active span { background: rgba(0,0,0,.6); }
.carousel ul .active a { font-weight: bold; }
.carousel span { width: 50px; max-width: 100px; position: relative; top: -10px; }
.carousel li:first-child { margin-left: 20px; }
.carousel a { max-height: 60px; overflow: hidden; text-overflow: ellipsis; display: inline-block;
	color: #024; transition: color .5s; }
.carousel a:hover { color: #fff; }
.carousel img { border-radius: 50%; object-fit: cover; height: 32px; width: 32px; }
.carousel .more img { width: 20px; height:20px; padding: 6px; }


@keyframes pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.2); }
}

@keyframes gradientProgression {
    0% { background-position: 0px 1000px }
    100% { background-position: 0px -200px }
}

#thumbs2 { margin-top: 1em; text-align: center; }
#thumbs2.small-thumbs { display: flex; flex-wrap: wrap; justify-content: center; }
#thumbs2.small-thumbs li { display: flex; width: 260px; height: 280px; text-align: center; align-items: center;
	transition: transform .2s; position: relative; justify-content: center; }
/* #thumbs2 li:hover { transform: scale(1.2); } */
#thumbs2 a img, #thumbs3 a img { padding: 4px; background: #fff; position: relative; border-radius: 5px; }
#thumbs2 a img { border-radius: 6px; }
/* fav button */
#thumbs2 a.fav, #thumbs3 a.fav { display: block; position: absolute; bottom: -5px; left: -5px; font-size: 90%; width: 40px; line-height: 40px;
	color: #fff; transition: opacity 1s; opacity: 0;
	border-radius: 50%; z-index: 2; text-align: center; }
#thumbs2 a.fav s, #thumbs3 a.fav s { background-size: 400px 320px; width: 40px; height: 40px; }
#thumbs3 a.fav { left: 50%; bottom: -25px; margin-left: -20px; opacity: .8; }
#thumbs2 a.fav:hover, #thumbs3 a.fav:hover { animation: pulse 1s infinite; }
#thumbs2 a.fav:focus, #thumbs3 a.fav:focus { animation: halo 1s; }
/* source/tags/etc status indicators */
#thumbs2 span { position: absolute; width: 12px; top: 5px; right: 5px; opacity: .8; padding: 5px 8px 5px 2px;
	border-radius: 15px; text-align: center; transition: background .5s; color: #fff; }
#thumbs2 li:hover span { background: rgba(0,0,0,1); }
#thumbs2 span > i { opacity: 0; transition: opacity .5s; font-style: normal; position: relative; left: 3px;}
#thumbs2 li:hover span > i { opacity: 1; }
#thumbs2 .num-tags { background-image: url(https://s1.zerochan.net/icons/theme.svg); filter: invert(1); padding-top: 16px; }
#thumbs2 .sufficient { opacity: 0; }
#thumbs2 .insufficient { color: #000; filter: invert(13%) sepia(49%) saturate(7325%) hue-rotate(2deg) brightness(100%) contrast(116%); }
#thumbs2 .link { opacity: 0; background-color: transparent; /*background-image: url(https://s1.zerochan.net/icons/link.png); */}
#thumbs2 .no-source, #thumbs3 .no-source { opacity: 1; filter: invert(19%) sepia(91%) saturate(7287%) hue-rotate(358deg) brightness(111%) contrast(113%); }
#thumbs2 .has-source, #thumbs3 .has-source { filter: invert(47%) sepia(80%) saturate(1067%) hue-rotate(82deg) brightness(119%) contrast(126%); }

#thumbs2 li:hover a.fav, #thumbs3 li:hover a.fav, #thumbs2 li:hover span > * { opacity: 1 !important; }
#thumbs2.medium-thumbs li > div > a[tabindex] { display: block; }
#thumbs2.small-thumbs li > div > a[tabindex] { display: inline-block; line-height: 0; }

#thumbs2 p { font-size: 8pt; color: #444; background: #eee; display: inline-block; padding: 5px; transition: all .5s; border-radius: 5px;
	position: absolute; bottom: 0px; right: 0px; transform: rotate(-5deg); color: #888; box-shadow: 1px 1px 2px rgba(0,0,0,.5); }
#thumbs2 p:hover { background: #222; }
#thumbs2 p:hover a { color: #acf; }
/*#thumbs2 li:nth-child(odd) a img:hover { transform: scale(1.02) rotate(-2deg); }*/
#thumbs2 .trusted p { background: #7b5672; color: #fff; }
#thumbs2 .trusted p a { color: #fff; }
#thumbs2 input[type=checkbox], #thumbs3 input[type=checkbox], #thumbs4 input[type=checkbox] { display: none; }
#thumbs2 input[type=checkbox]+a::after, #thumbs3 input[type=checkbox]+a::after { content: '✓'; right: -3px; top: 0px; position: absolute; z-index: 4; color: var(--accent);
	border: 3px solid var(--accent); opacity: 0; width: 15px; line-height: 15px; border-radius: 10px; transition: all .5s;
	text-align: center; background: #fff; }
#thumbs2 input[type=checkbox]:checked+a::after, #thumbs3 input[type=checkbox]:checked+a::after { opacity: 1; }
#thumbs2 input[type=checkbox]:checked+a img { background: var(--accent); border-radius: 10px; opacity: 1; }
#thumbs3 input[type=checkbox]:checked+a img { background: var(--accent); border-radius: 10px 10px 0 0; opacity: 1; }
#thumbs2 a { color: #048; position: relative; border-radius: 6px; }
#thumbs2 li:hover p { opacity: 1; }
#thumbs2 li:hover a { font-style: normal; text-decoration: none; }
#thumbs2.medium-thumbs, #thumbs3 { column-count: 4; }
#thumbs2.medium-thumbs li { display: block; /* width: 248px; */ break-inside: avoid; position: relative; margin: 10px 0; padding: 10px; }
#thumbs2.medium-thumbs li:first-child { margin-top: 0; }
#thumbs3 li, #thumbs2 li img  { box-shadow: 2px 2px 4px rgba(0,0,0,.1);}
#thumbs3 li, #thumbs3 img, #thumbs2 li img { transition: all .5s; }
#thumbs3 li { border-radius:10px; display: block; padding-bottom: 10px; margin-bottom: 15px; background: rgba(128,128,128,.1);
	break-inside: avoid; }
#thumbs3 li:hover { background: rgba(128,128,128,.2);}
/* #thumbs3 li a:first-child, #thumbs3 li input+a { display: block; } */
#thumbs3 li img { box-sizing: border-box; }
#thumbs3 li a, #thumbs3 li img {border-radius:15px 15px 0 0;}
#thumbs3 li img, #thumbs2.medium-thumbs li img { width: 100%; height: auto; display: block; }
#thumbs3 li:hover, #thumbs2.medium-thumbs li img:hover { box-shadow: 2px 2px 4px rgba(0,0,0,.3); }
#thumbs2.medium-thumbs input[type=checkbox] { display: none; position: absolute; left: 10px; top: 10px; }
/* Child tags */
#thumbs3 .child { margin: 30px 10px; }
#thumbs3 .child img { padding: 0; }
#thumbs3 li li { background: none; display: list-item; padding: 0; box-shadow: none; margin-left: 15px; }
#thumbs3 li li:hover{ box-shadow: none; }
#thumbs3 li p { padding: 10px; }
/* deprecated */
#thumbs2.justified li { float: left; margin: 0 10px; display: block; text-align: right; }
#thumbs2.justified img { }
#thumbs2.justified p { left: 0; }
#thumbs2.justified input[type=checkbox] { position: absolute; left: 10px; top: 10px; }
#thumbs2 .loaded { opacity: 1; }

@keyframes scrollBackground {
  0% { background-position: 50% 100%; }
  100% { background-position: 50% 0;  }
}

#thumbs4 { display: flex; flex-wrap: wrap; justify-content: center; }
#thumbs4 li { display: block; margin: 20px; transition: transform .5s; max-width: 300px; }
#thumbs4 li a { width: 240px; height: 240px; display: block; background-size: cover; background-position: center 30%;
	border: 3px solid #fff; box-shadow: 1px 1px 2px rgba(0,0,0,.3); position: relative; border-radius: 10px; }
#thumbs4 li:hover { transform: scale(1.1); }
#thumbs4 a:hover { animation: scrollBackground 5s infinite linear; }
#thumbs4 span { width: 240px; text-align: center; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	padding: 10px; }

#content #tags li { display: block; width: 49%; float: left; padding: 10px 0 0 .5%; }
#content #tags li li { width: 75px; padding: 2px; }

#massmod { margin-bottom: 10px; }
#massmod > p { clear: left; padding: 1em; background: #f0f0f0; }

#suggestions { padding: 10px; line-height: 28px; }
#suggestions > span { padding: 8px; border-radius: 20px; white-space: nowrap; }
#suggestions a { font-weight: bold; font-style: italic; }
#suggestions a img { width: 22px; position: relative; top: 8px; margin-right: 5px;  }
#suggestions a span { font-weight: normal; font-style: normal; }

#children { margin: 1em 0 0 10%; }
#children li { display: block; width: 300px; padding: 8px 4px; float: left; height: 75px; border-radius: 50px;
	transition: background 1s; margin: 10px 0; border: 1px solid transparent; }
#children li:hover { background: rgba(128,128,128,.1); border: 1px solid rgba(128,128,128,.2); }
#children .child-thumb { width: 75px; height: 75px; float: left; background-size: cover;
	margin: 0 10px 0 5px; background-image: url(75/default.png); background-position: center 20%; border-radius: 50%; }
#children h3 { padding-top: 5px; }
#children h3 a { font: 12pt Trebuchet MS; font-weight: bold; }
#children span { color: #888; }

#menu-collapsed { width: 1%; float: right; border-left: 1px solid #e0e0e0; }
#menu-collapsed a { display: block; height: 50px; }
#menu { width: 20%; float: right; padding-top: 40px; margin: 10px 0; font-size: 9pt; }
@media (max-width: 1800px) { #menu { width: 25%; } #content { width: 74.6%; } }
@media (max-width: 1400px) { #menu { width: 30%; } #content { width: 69.6%; } }
#menu h2 { margin: 15px 5px 0 5px; border-bottom: 1px dotted #def; text-align: right; }
#menu h2, #menu h2 * { font: 12pt Trebuchet MS; color: #439; }
#menu h2 a:hover { color: #08f; }
#menu h2 span { color: #777; }
#menu ul { margin: 0 5px; }
#menu form li { display: block; }
#menu li { padding: 6px; display: block; border-bottom: 1px solid rgba(0,0,0,.1); }
#menu .bb li { border-bottom: none; display: list-item; margin-left: 10px; }
/* #menu li a { font-size: 10pt; } */
#menu form { background: #fcfcfc; padding: 5px; margin: 5px 0;  }
#menu label { display: block; font-weight: bold; margin-top: 1em; }
#menu label[for] { display: inline; font-weight: normal; }
#menu input[type="text"], #menu textarea { width: 80%; padding: 4px; margin: 3px 0; }
#menu p { margin: 1em 5px; }
#menu #rectangle { margin: 10px 5px; }
#menu .smallthumbs li { border-radius: 7px; }

/* icon css sprite */
s { background-image: url(https://s1.zerochan.net/css_sprites_small.png?4); display: inline-block;
	width: 50px; height: 50px; text-decoration: none; }
s.tiny { background-size: calc(12px * 10) calc(12px * 8); width: 12px; height: 12px; }
s.small { background-size: calc(16px * 10) calc(16px * 8); width: 16px; height: 16px; }
s.medium { background-size: calc(22px * 10) calc(22px * 8); width: 22px; height: 22px; }
s.large { background-size: calc(32px * 10) calc(32px * 8); width: 32px; height: 32px; }

s.binoculars { background-position: -0% -0%; }
s.block { background-position: -100% -0%; }
s.copy { background-position: -200% -0%; }
s.discord { background-position: -300% -0%; }
s.fav { background-position: -400% -0%; }
s.instagram { background-position: -500% -0%; }
s.paste { background-position: -600% -0%; }
s.safe-rating { background-position: -700% -0%; }
s.upload { background-position: -800% -0%; }
s.apparel { background-position: -900% -0%; }

s.character-group { background-position: -0% -100%; }
s.profile { background-position: -100% -100%; }
s.darkmode { background-position: -200% -100%; }
s.secure { background-position: -300% -100%; }
s.game { background-position: -400% -100%; }
s.left { background-position: -500% -100%; }
s.patreon { background-position: -600% -100%; }
s.search { background-position: -700% -100%; }
s.comment { background-position: -800% -100%; }
s.dice { background-position: -900% -100%; }

s.trash { background-position: -0% -200%; }
s.deviantart { background-position: -100% -200%; }
s.goback { background-position: -200% -200%; }
s.unsafe-rating { background-position: -300% -200%; }
s.google { background-position: -400% -200%; }
s.link { background-position: -500% -200%; }
s.notification { background-position: -600% -200%; }
s.series { background-position: -700% -200%; }
s.weibo { background-position: -800% -200%; }
s.download { background-position: -900% -200%; }

s.edit { background-position: -0% -300%; }
s.eyes { background-position: -100% -300%; }
s.subscribe { background-position: -200% -300%; }
s.unsubscribe { background-position: -300% -300%; }
s.character { background-position: -400% -300%; }
s.lofter { background-position: -500% -300%; }
s.patreon3 { background-position: -600% -300%; }
s.settings { background-position: -700% -300%; }
s.youtube { background-position: -800% -300%; }
s.logout { background-position: -900% -300%; }

s.gumroad { background-position: -0% -400%; }
s.gumroad2 { background-position: -100% -400%; }
s.hair { background-position: -200% -400%; }
s.group { background-position: -300% -400%; }
s.hierarchy { background-position: -400% -400%; }
s.login { background-position: -500% -400%; }
s.mobile { background-position: -600% -400%; }
s.register { background-position: -700% -400%; }
s.report { background-position: -800% -400%; }
s.desktop { background-position: -900% -400%; }

s.admin { background-position: -0% -500%; }
s.mangaka { background-position: -100% -500%; }
s.meta { background-position: -200% -500%; }
s.movie { background-position: -300% -500%; }
s.multiple { background-position: -400% -500%; }
s.mal { background-position: -500% -500%; }
s.pinterest { background-position: -600% -500%; }
s.source { background-position: -700% -500%; }
s.zerochan { background-position: -800% -500%; }

s.pixiv { background-position: -0% -600%; }
s.share { background-position: -100% -600%; }
s.pixiv3 { background-position: -200% -600%; }
s.message { background-position: -300% -600%; }
s.star { background-position: -400% -600%; }
s.reddit { background-position: -500% -600%; }
s.right { background-position: -600% -600%; }
s.star-empty { background-position: -700% -600%; }
s.reddit2 { background-position: -800% -600%; }

s.studio { background-position: -0% -700%; }
s.theme { background-position: -100% -700%; }
s.update { background-position: -200% -700%; }
s.tumblr { background-position: -300% -700%; }
s.twitter { background-position: -400% -700%; }
s.twitter2 { background-position: -500% -700%; }
s.select { background-position: -600% -700%; }
s.facebook { background-position: -800% -700%; }

@keyframes halo {
  0% { box-shadow: 0 0 0 0 rgba(0,0,0, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(0,0,0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0,0,0, 0); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader { display: inline-block; border: 3px solid rgba(128,128,128,.3) !important; border-top: 3px solid #fff !important;
	border-radius: 50%; width: 12px; height: 12px; margin: 1px; animation: spin 2s linear infinite; }

.subscribe { background: #048; color: #fff; padding: 8px 15px; transform: rotate(-5deg); display: inline-block; height: 23px;
	transition: all .5s; width: 120px; white-space: nowrap; overflow: hidden; padding-right: 35px; font-size: 130%; }
.subscribe b { background: rgba(0,0,0,.2); display: inline-block; padding: 10px; position: absolute; top: 0; right: 0;
	opacity: 1; transition: opacity .5s; }
.subscribe:hover { background: #26a; color: #fff; text-decoration: none; animation: halo 1s;
	transform: rotate(0deg); }
.subscribe i { font-style: normal; transition: all .5s; border-radius: 50%; margin-left: 10px; }
.subscribe span { transition: all .5s; position: relative; display: inline-block; transform: translate(-50px,0);
	width: 0px; color: #fff; border: 1px solid transparent; border-radius: 50%; }
.subscribe:hover span { transform: translate(0,0); width: 10px; color: #fff; }
.subscribed { background: #444; }
.loading span { width: 4px !important; height: 4px; }
.loading b { opacity: 0; }

.fade { position: absolute; bottom: 0; width: 100%; height: 50px; background: linear-gradient(transparent, #fff); z-index: 9; }
.tag-admin-notice { background: #f8f8f8; padding: .5em; text-align: center; line-height: 1.5em; }
.tag-admin-notice a { white-space: nowrap; }

#favtags li, #tags li { position: relative; }
.del-link, .pri-link { display: none; position: absolute; right: 0; top: -5px; z-index: 1; border: 1px solid #fff;
	box-shadow: 0 0 3px #000; background : #aaa; border-radius: 20px; width: 15px; height: 15px; text-align: center; }
.del-link:hover, .pri-link:hover { background: #888; }
#menu .del-link, #menu .pri-link { color: #fff; }
.pri-link { right: auto; left: 0; }
li:hover .del-link, li:hover .pri-link { display: inline; }
#fav-tag-link a { color: #fff; }

#menu .tags li, #suggestions .tags li { font-size: 9pt; color: #444; display: inline-block; padding: 0 10px 5px 0px; margin: 3px;
	border-radius: 15px; transition: background .5s; }
#menu .tags li s, #suggestions .tags li s { margin: 0 5px; position: relative; top: 5px; /*border-radius: 13px;*/ }

li.mangaka, .breadcrumbs .mangaka:before, .breadcrumbs .mangaka:after  { background: #fcd; } .mangaka a { color: #800; }
li.studio, .breadcrumbs .studio:before, .breadcrumbs .studio:after  { background: #fdd; } .studio a { color: #800; }
li.series, .breadcrumbs .series:before, .breadcrumbs .series:after { background: #def; }
li.movie, .breadcrumbs .movie:before, .breadcrumbs .movie:after { background: #def; }
li.game, .breadcrumbs .game:before, .breadcrumbs .game:after { background: #ccf; } .game a { color: #80f; }
li.character, li.group, .breadcrumbs .character:before, .breadcrumbs .character:after { background: #fed; } .character a, .group a { color: #c80; }
li.transformation { background: #ff8; }
li.theme, .breadcrumbs .theme:before, .breadcrumbs .theme:after { background: #e0e0e0; } .theme a { color: #888; }
li.source, .breadcrumbs .source:before, .breadcrumbs .source:after { background: #ece186; } .source a { color: #a29100; }
li.meta, .breadcrumbs .meta:before, .breadcrumbs .meta:after { background: #eee; } .meta a { color: #444; }
li.artbook { background: #488; } .artbook a { color: #8ff; }
li.vtuber, .breadcrumbs .vtuber:before, .breadcrumbs .vtuber:after { background: #ebe; } .vtuber a { color: #959; }

li.mangaka:hover { background: #f8a; }
li.studio:hover { background: #faa; }
li.series:hover { background: #acf; }
li.movie:hover { background: #acf; }
li.game:hover { background: #a8f; } .game:hover a { color: #204; }
li.character:hover, li.group:hover { background: #fca; }
li.meta:hover { background: #dddde8; }
li.theme:hover { background: #ccc8c4; } .theme:hover * { color: #000; }
li.source:hover { background: #d9cb57; }
li.artbook:hover { background: #266; }
li.vtuber:hover { background: #c9c; }

.mangaka s, .studio s { filter: invert(13%) sepia(49%) saturate(7325%) hue-rotate(2deg) brightness(71%) contrast(116%); }
.series s { filter: invert(28%) sepia(92%) saturate(681%) hue-rotate(175deg) brightness(104%) contrast(90%); }
.movie s { filter: invert(28%) sepia(92%) saturate(681%) hue-rotate(175deg) brightness(104%) contrast(90%); }
.game s { filter: invert(27%) sepia(100%) saturate(1487%) hue-rotate(239deg) brightness(83%) contrast(93%); }
.character s, .group s { filter: invert(49%) sepia(94%) saturate(1741%) hue-rotate(16deg) brightness(96%) contrast(101%); }
.theme s { filter: invert(59%) sepia(0%) saturate(0%) hue-rotate(135deg) brightness(92%) contrast(84%); }
.source s { filter: invert(48%) sepia(31%) saturate(3152%) hue-rotate(32deg) brightness(99%) contrast(101%); }
.meta s { opacity: .3; }
.artbook s { filter: invert(75%) sepia(18%) saturate(747%) hue-rotate(131deg) brightness(80%) contrast(85%);}
.vtuber s { filter: invert(32%) sepia(24%) saturate(1566%) hue-rotate(251deg) brightness(90%) contrast(81%);}

.browsing-options { }
#search-within { display: none; clear: both; background: #fcfcfc; padding: 10px;  }

#posts { margin: 1em auto 5em auto; max-width: 800px; }
#posts > ul > li { margin-top: 2em; clear: left; display: block; }
#posts > ul > li div:first-child { float: left; width: 100px; text-align: center; }
#posts > ul > li > div:last-child { margin-left: 100px; }
#posts li div .bb { line-height:  1.6em; }
#posts li div:first-child span { color: #777; font-size: 11px; }
#posts .edit-post { display: none; margin: 5px 0; }
#posts .edit-post textarea { width: 100%; height: 100px; }
#comment-form { }
#comment-form textarea { width: 99%; }
#posts .bb { padding: 5px 5px 20px 10px; background: rgba(128,128,128,.1); position: relative; }
#posts .bb::before { content: ''; display: inline-block; position: absolute; width: 0; height: 0;
	border: 12px solid transparent; border-right-color: rgba(128,128,128,.1); top: 0;
	left: -24px; }

#posts .reactions { background: rgba(128,128,128,.1); display: inline-block; border-radius: 20px; position: relative;
	top: -15px; left: 30px; }
#posts .reactions b { display: inline-block; line-height: 25px; color: #888; font-weight: normal; }
#posts .reactions a { cursor: pointer; border-radius: 20px; display: none;
	padding: 3px; }
#posts .reactions:hover a { display: inline-block; }
#posts .reactions a:hover { background: rgba(0,128,255,.2); }
#posts .reactions .reacted { background: rgba(128,128,128,.2); display: inline-block; }

#content .bb h3 { font-size: 130%; margin: 1em 0 0 0; font-weight: 700; color: #000; font-variant: small-caps;
	padding: 0; }
.bb blockquote { background: rgba(128,128,128,.1); padding: 10px; margin: 10px 0; font-style: italic; position: relative; }
.bb blockquote:before { content: '\02EE'; position: absolute; font-size: 100px; color: rgba(128,128,128,.1);
	font-style: normal; top: 20px; right: 0;  }
.bb blockquote cite { display:block; color: #888; font-style: normal; }
.bb blockquote cite:before { content: 'Quote by '; }
.bb ul { margin-left: 2em; }
/*
#posts blockquote { margin-left: 300px; }
#posts .bb ul { margin-left: 320px; list-style-type: square; }
*/
.user { background: rgba(128,128,128,.1); border-radius: 20px; padding: 5px 10px 5px 5px; margin: 0 5px; white-space: nowrap;
	transition: background .5s; }
.user:hover { background: rgba(128,128,128,.3); }
.user img { width: 25px; border-radius: 50%; position: relative; margin: 0 5px -8px -5px; }
.avatar img { /* border: 1px solid #eee; */ max-width: 50px; max-height: 50px; border-radius: 50%; }

#loader { display: none; position: fixed; width: 100%; height: 100%; background: #000; opacity: .6;
	top: 0; z-index: 99; background: #000 url(https://s1.zerochan.net/ajax-loader.gif) center 40% no-repeat; }
#tooltip { position: absolute; width: 300px; z-index: 99; background: #fff; border: 1px solid #000; padding: 5px; text-align: left;
	-webkit-box-shadow: 1px 1px 3px #000; top: 0; left: 0; display: none; }

.admin, .admin * { color: #f88 !important; }
.admin a:hover { color: #f00 !important; }
#overlay-bg { position: absolute; width: 100%; top: 0; z-index: 10; opacity: .7; height: 1000px;
	background: #000; display: none; }
#overlay { position: absolute; width: 100%; top: 0; left: 50%; z-index: 11; display: none;
	width: 500px; padding: 20px; background: #fff; margin: 20px 0 20px -300px; }
.required { font-weight: bold; }
.required:after { content: " *"; font-weight: normal; color: #f00; }

.toggle { position: absolute; right: 10px; top: 15px; }
.toggle span { display: inline-block; width: 60px; height: 30px; background: linear-gradient(to bottom, #777, #999);
	border-radius: 15px; cursor: pointer; box-shadow: inset 2px 1px 2px rgba(0,0,0,.3); }
.toggle span:hover { background: linear-gradient(to bottom, #999, #bbb); }
.toggle span:before { position: absolute; content: ""; height: 22px; width: 22px; left: 4px;
	box-shadow: 1px 1px 2px rgba(0,0,0,.4);
	top: 4px; background: linear-gradient(to bottom, #fff, #ccc); border-radius: 11px; transition: left .5s; }
input:checked + .toggle span { background: linear-gradient(to bottom, #08f, #4af); }
input:checked + .toggle span:hover { background: linear-gradient(to bottom, #4af, #8cf); }
input:checked + .toggle span:before { left: 32px; }

#mod-tools { visibility: hidden; clear: left; padding: 1em; background: #f0f0f0; }
#mod-tools:hover { visibility: visible; }

#large { text-align: center; margin-top: 20px; }
#large .smallthumbs { float: left; width: 0; overflow: visible; z-index: 1; position: relative; }
#large p { color: #aaa; }
#large p span { font-size: 10pt; }

@keyframes bounce {
	0%, 100% { transform: translateY(0) }
	25% { transform: translateX(-10px) }
	75% { transform: translateX(10px) }
}

#large a[rel=prev], #large a[rel=next] { position: relative; float: left; margin-right: -10%; width: 10%; z-index: 1; }
#large a[rel=next] { float: right; margin-left: -10%; margin-right: 0; }
#large a[rel=prev] b, #large a[rel=next] b { display: inline-block; width: 20px; height: 20px; border: 5px solid #000;
	opacity: .5; border-width: 5px 0 0 5px; transform: rotate(-45deg); }
#large a[rel=prev]:hover, #large a[rel=next]:hover { animation-name: bounce; animation-duration: 1s; animation-iteration-count: infinite;
	animation-timing-function: linear;}
#large a[rel=prev]:hover b, #large a[rel=next]:hover b { opacity: 1; }
#large a[rel=next] b { border-width: 5px 5px 0 0; transform: rotate(45deg); }

#fullMessage { margin: 5em 2em 10em 2em; text-align: center; padding: 0 10em; }

#shoutbox { margin: 5px; }
#shoutbox dt { margin-top: .5em; color: #ccc; font-size: 10pt; padding: 5px 0; }
#shoutbox dt span { color :#ccc; font-size: 11px; }

#notifications { position: fixed; bottom: 10px; right: 10px; width: 250px; }
#notifications li { display: block; margin: 5px; background: rgba(0,0,0,.6); padding: 10px; color: #fff; height: 80px; }
#notifications img { float: left; border: 1px solid #aaa; padding: 1px; height: 70px; margin-right: 10px; }
