#header_search {
  top: 10px;
  right: 4px;
  text-align: left;
  position: absolute;
  z-index:2;
}
.search-submit,
#header_search_submit {
  float:left;
  width:18px;
  height:18px;
  border-right:1px solid #888;
  border-top:1px solid #888;
  border-bottom:1px solid #888;
  display:block;
  background-image: url(/i/search_18_18.png);
}
#header_search_autocomplete {
  position: absolute;
  border: 1px solid #ccc;
  background-color: white;
  padding: 0;
  margin: 0;
  list-style: none;
  top: 19px;
  right: 0px;
  z-index: 9999;
  width: 223px;
}

#header_search_autocomplete a {
  display: block;
  padding: 5px;
  text-decoration: none;
  font-weight: normal;
  cursor: pointer;
  clear: both;
  margin: 0;
  border-bottom: 1px solid #eee;
  border-right: 1px solid #eee;
}
#header_search_autocomplete a:hover,
#header_search_autocomplete a:focus,
.header_search_autocomplete_item_focused {
  background-color: #eee;
  outline: 0 none;
}

.header_search_result_mug {
  max-height: 80px;
  height: auto !important;
  height: 40px;
  width: 40px;
  vertical-align: middle;
  margin-right: 5px;
  display: block;
  float: left;
}

.header_search_result_details {
  width: 120px;
  float: left;
  display: inline;
  overflow: hidden;
}

.header_search_result_name {
  font-size: 11px;
  font-weight: bold;
  color: #333;
}

.header_search_result_type {
  font-size: 10px;
  color: #555;
  font-style:italic;
}

#footer {
  background-color: white;
  color: #000;
  clear:both;
  margin-top: 12px;
  line-height: 1.5;
}
#footer_menu {
  background-color: #f3f3f3;
  padding: 20px 0;
  margin: 0 auto;
  width: 100%;
}
#footer_menu_table {
	margin-left: -20px;
}
#footer_country_flag {
  position:relative;
  top:2px;
  padding-left:4px;
}

#footer .footer-column h6 {
  font-size: 11px;
  color: #777;
  font-weight: bold;
}
#footer .footer-column .icon {
  vertical-align:middle;
}
#footer .footer-column a {
  color: #888;
  padding-top: 2px;
  font-size: 11px;
}
#footer .footer-column a:hover {
  color: #DF6300;
  text-decoration: none;
}

#footer .footer-language .selected {
  color: #DF6300;
  text-decoration: none;
}


/**** MODERATOR PANEL STUFF ****/
.botbar-mod-panel a {
  color: #777;
  display:inline;
  padding:4px;
  width:180px;
  float:left;
  text-decoration:none;
}
.botbar-mod-panel a:hover {
  background-color:#333;
  color:#fff;
  text-decoration:none;
}
.botbar-mod-panel h3 {
  margin:0;
  padding:4px 0px 4px 10px;
  background-color:#fad7d6;
  color:#900;
  font-size:14px;
}
.botbar-mod-panel {
  padding-bottom:6px;
  padding-top:0px;
  background-color:white;
}
.botbar-mod-panel {
  font-size:12px;
}
.botbar-mod-links {
  margin:4px 0px 4px 0px;
  padding:0;
  display:block;
  font-size:12px;
}
.botbar-mod-links li {
  list-style-type:none;
  display:inline;
  padding:0px 0px 0px 8px;
}



/* SPECIFIC ELEMENTS
---------------------------------------- */
/* Container
-------------------- */

#template_container.template-container {
  padding: 10px;
  background: #f2f2f2;
  width:960px;
}
#template_scroller {
  padding-top: 10px;
}
#template_skin_leaderboard {
  margin: 0 auto 10px;
  width: 960px;
  line-height: 0;
  position: relative;
  z-index: 9;
}
#template_skin_leaderboard img {
  border: none;
}
#template_container.template-container.no-adskin {
  padding-top: 0px;
}

/* Header
-------------------- */
.header-home {
  float: left;
  line-height: 60px;
}
.header-home > * {
  vertical-align: top;
}
#header_beta .logo-enUS,
.interstitial-header .logo-enUS {
  display: inline-block;
  width: 140px;
  height: 60px;
  background: url('/i/beta/header/logo.png') left 19px no-repeat;
}

#header_beta {
  height: 60px;
  padding: 0 10px;
  background: #fff;
  position: relative;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
  border-collapse:separate;
  z-index: 999;
}
#header_container {
  width: 980px;
  margin: 0 auto;
}
#header_simple {
  height: 60px;
  padding: 0 12px;
  background: #fff;
  position: relative;
  z-index: 9;
}

.header-menubar {
  display: inline-block;
  position: relative;
  margin-left: 14px;
}
.header-menubar li {
  line-height: 1;
  display: inline-block;
  font-weight: bold;
  vertical-align: middle;
}
.header-menubar li a,
.header-userpanel .login a,
.header-userpanel .signup a {
  line-height: 64px;
  color: #3f3f3f;
  padding: 0 10px;
  font-size: 14px;
}
.header-menubar li.selected a,
.header-menubar li.selected a:hover,
.header-userpanel li.selected a,
.header-userpanel li.selected a:hover {
	color: #f78c25;
}
.header-menubar li a:hover,
.header-userpanel .login a:hover,
.header-userpanel .signup a:hover {
	color: #f78c25;
	text-decoration: none;
}
.header-menubar li a:active,
.header-userpanel li a:active {
	color: #333333;
}
.superscript-free {
  position: absolute;
  top: 20px;
  right: -10px;
  font-size: 11px;
  font-weight: normal;
  color: #f78c25;
}

.superscript-manga-new {
  position: absolute;
  top: 20px;
  left: 125px;
  font-size: 11px;
  font-weight: normal;
  color: #f78c25;
}

/* Header - userpanel
-------------------- */
.header-userpanel {
  position: relative;
  line-height: 60px;
}
.header-userpanel > ul {
  display: table;
}
.header-userpanel > ul > li {
  padding: 0 12px;
  display: table-cell;
  font-weight: bold;
  position: relative;
}
.header-userpanel .login {
  vertical-align: middle;
  margin: 0;
}
.header-userpanel .header-icon {
  position: relative;
}
.header-userpanel .header-icon a {
  vertical-align: middle;
  display: inline-block;
  margin: 0 auto;
  z-index: 9999999;
  text-indent: 100%;
  overflow: hidden;
  white-space: nowrap;
}
.header-userpanel .user .header-icon a {
  background: url('/i/beta/header/header_profile.png?') -3px 0 no-repeat;
  width: 34px;
  height: 18px;
}
.header-userpanel .user:hover .header-icon a {
  background-position: -3px -48px;
  cursor: pointer;
}
.header-userpanel .user:active .header-icon a,
.header-userpanel .user .header-icon.open a {
  background-position: -3px -96px;
}
.header-userpanel .cart .header-icon a {
  background: url('/i/beta/header/header_cart.png') 0 0 no-repeat;
  height: 18px;
  width: 23px;
}
.header-userpanel .cart:hover .header-icon a,
.header-userpanel .selected.cart .header-icon a {
  background-position: 0 -48px;
  cursor: pointer;
}
.header-userpanel .cart:active .header-icon a {
  background-position: 0 -96px;
}
.header-userpanel .queue .header-icon a {
  background: url('/i/beta/header/header_queue.png') 0 0 no-repeat;
  width: 13px;
  height: 19px;
}
.header-userpanel .queue:hover .header-icon a,
.header-userpanel .queue.selected .header-icon a {
  background-position: 0 -48px;
  cursor: pointer;
}
.header-userpanel .queue:active .header-icon a {
  background-position: 0 -96px;
}
.header-userpanel .random .header-icon a {
  background: url('/i/beta/header/header_random_dice.png') 0 0 no-repeat;
  width: 16px;
  height: 17px;
}
.header-userpanel .random:hover .header-icon a,
.header-userpanel .random.selected .header-icon a {
  background-position: 0 -48px;
}
.header-userpanel .random:active .header-icon a {
  background-position: 0 -96px;
}
.header-userpanel .tooltip {
  color: #f0f0f0;
  font-size: 11px;
  font-weight: normal;
  position: absolute;
  top: 100%;
  visibility: hidden;
}
.queue .tooltip {
  left: 4px;
}
.tooltip-desc, .dropdown-menu {
  background: #2f2f2f;
  line-height: normal;
  white-space: nowrap;
  position: relative;
  padding: 0px 10px;
  z-index: 9999999;
  box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.5);
  -moz-box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.5);
  -webkit-box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.5);
}
.tooltip-desc {
  height: 22px;
  line-height: 23px;
}
.tooltip-top {
  height: 6px;
  background: url('/i/beta/header/tooltip_arrow.png') center top no-repeat;
  opacity: 0.98;
}
.dropdown {
  display: none;
  opacity: 0.98;
  z-index: 9999999;
}
.dropdown-menu {
  padding: 4px 0;
}
.dropdown .tooltip-top {
  background: url('/i/beta/header/dropdown_arrow.png') right top no-repeat;
  width: 174px;
}
.dropdown-menu a {
  background: none;
  font-weight: normal;
  color: #f0f0f0;
  display: block;
  padding: 8px 12px;
  width: 150px;
  height: auto;
  font-size: 13px;
}
.dropdown a:hover {
  background: #1d1d1d;
  font-weight: normal;
  color: #fff;
  text-decoration: none;
}
.dropdown a:active {
  background: #000;
}
.dropdown-menu .border {
  border-top: 1px solid #4a4a4a;
  margin: 4px 12px;
}
#header_userpanel_beta .dropdown {
  position: absolute;
  top: 54px;
  right: 0;
}
#header_userpanel_beta .username a {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.has-num span.right {
  color: #f78c25;
}
.user-notification-badge {
  position: absolute;
  background: #f78c25;
  color: #fff;
  right: 0;
  border-radius: 3px;
  padding: 0 4px;
  top: -10px;
  font-size: 11px;
  height: 15px;
  line-height: 15px;
}
.cart-badge {
  position: absolute;
  background: #f78c25;
  color: #fff;
  left: -2px;
  border-radius: 3px;
  padding: 0 4px;
  top: -10px;
  font-size: 11px;
  height: 15px;
  line-height: 15px;
}

/* Header - search
-------------------- */
.header-searchpanel {
  line-height: 60px;
}
.search > form {
  border: 1px solid #c9c9c9;
  display: inline-block;
  line-height: normal;
  vertical-align: middle;
  position: relative;
}
.header-searchpanel .header-searchbox {
  float: none;
  padding: 2px 6px 0;
  width: 150px;
  border: none;
  height: 25px;
  font-size: 12px;
  font-weight: normal;
  -webkit-appearance: none;
  -webkit-border-radius: 0px;
  display: inline-block;
  vertical-align: middle;
}
.header-searchpanel .placeholder {
  color: #999;
}
.header-searchpanel .header-searchbox:focus {
  color: #333333;
}
.header-searchbox-submit {
  width: 28px;
  height: 27px;
  background: url('/i/beta/header/icon_search_glass.png') center 0px no-repeat;
  padding: 0;
  display: inline-block;
  vertical-align: middle;
}
.searchbox-focus {
  background: url('/i/beta/header/icon_search_glass.png') center -28px no-repeat !important;
}
.header-searchpanel .search {
  z-index: 999999;
  display: inline-block;
  vertical-align: middle;

}
.header-searchpanel #header_search_autocomplete {
  position: absolute;
  border: 1px solid #ccc;
  background: #fff;
  top: 100%;
  right: -1px;
  width: 220px;
  line-height: normal;
}
.header-searchpanel .search-mobile {
  display: none;
  background: url('/i/beta/header/icon_search_glass.png') 5px 17px no-repeat;
  width: 40px;
  height: 50px;
}
#template_ad_leaderboard {
  text-align: center;
  width: 960px;
  margin: 0 auto 8px;
  border-bottom: 1px solid #ccc;
  text-align: center;
}
#remove_leaderboard_ad_link {
  color: #808080;
  font-size: 11px;
  float: right;
  margin: -2px 116px 8px 0;
}


/* Temp ad
------------------ */
#temp_ad {
  width: 180px;
  height: 290px;
  opacity: 0.8;
  zoom: 1;
  filter: alpha(opacity=80);
  position: fixed;
  z-index: 1000000000;
  bottom: -140px;
}
#temp_ad a {
  display: block;
  width: 180px;
  height: 290px;

  /* image for the ad */
  background: url('/i/nisemono.png') no-repeat;
}
#temp_ad a:hover {
  cursor: pointer;
}
#temp_ad .close {
  width: 49px;
  height: 14px;
  background: url('/i/close_temp_ad.png') no-repeat;
  position: absolute;
  right: 20px;
  top: 10px;
  display: none;
}
#temp_ad .close:hover {
  cursor: pointer;
}

/* Top menu*/
#dropdown_mobile {
  display: none;
  position: absolute;
  width: 100%;
  max-width: 320px;
  top: 60px;
  left: 0px;
  background-color: white;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
  /*box-shadow: 0px 0px 5px 5px #888888;*/
  z-index: -1;
}
#header_container .dropdown-mobile-visible {
  display: block;
}
#notifications-mobile {
  right: 3px;
}
#dropdown_mobile ul {
  /*padding-bottom: 10px;*/
}
#dropdown_mobile li {
  font-weight: bold;
  line-height: 3em;
  border-top: 1px #e6e6e6 solid;
}

#dropdown_mobile li a {
  color: #3f3f3f;
  display: block;
  padding-left: 20px;
}

#dropdown_mobile .selected a{
  color: #f78c25;
}
#dropdown_mobile .promo a{
  color: #0a6da4;
}

.header-home-shadow {
  box-shadow: 0px -4px 8px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0px -4px 8px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 0px -4px 8px rgba(0, 0, 0, 0.25);
  margin-left: -12px;
  padding-left: 12px;
}

#search_mobile_bar {
  margin-top: 15px;
  margin-left: 2%;
  margin-right: 2%;
}

#search_mobile_input {
  box-shadow: 0px 1px 1px rgba(0,0,0,0.2);
  -moz-box-shadow: 0px 1px 1px rgba(0,0,0,0.2);
  -webkit-box-shadow: 0px 1px 1px rgba(0,0,0,0.2);
  border: none;
  border-radius: 4px;
  width: 96%;
  margin-right:0%;
  padding: 5px 2%;
}

#search-mobile-button {
  height: 30px;
  margin-left: 5px;
}
#search-mobile-button:active {
  -webkit-appearance: none;
}

#search_mobile_bar .search-autocomplete-mobile {
  border: 1px solid #ccc;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 0px;
  border-radius: 4px;
  width: 100%;
  z-index: 999;
}

#header_search_autocomplete_mobile a {
  display: block;
  padding: 5px;
  text-decoration: none;
  font-weight: normal;
  cursor: pointer;
  clear: both;
  margin: 0;
  border-bottom: 1px solid #eee;
  border-right: 1px solid #eee;
}

#header_search_autocomplete_mobile a:hover,
#header_search_autocomplete_mobile a:focus,
.header_search_autocomplete_item_focused {
  background-color: #eee;
  outline: 0 none;
}

.search-autocomplete-mobile-outer {
  position: relative;
}
.mini-menu {
  margin: 0 10px;
  cursor: pointer;
  display: none;
  height: 15px;
  width: 18px;
  vertical-align: middle;
  background: url('/i/beta/header/mobile_nav_all.png') no-repeat;
}
.mini-menu-active{
  background-position-y: -55px;
}

/* AB Test */
/* first variation */
#header_menubar_beta li a.top-abtest-v1 {
  line-height: 2.6em;
  background: #f78c25;
  color: #fff;
  margin: 14px 0 0 10px;
  height: 2.5em;
  padding: 0 20px;
  letter-spacing: .01em;
  text-shadow: -1px 1px 0 rgba(0,0,0,.2);
  border-radius: 7px;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  -webkit-box-shadow: 0px 3px 0 #be6a2c;
  -moz-box-shadow: 0px 3px 0 #be6a2c;
  box-shadow: 0px 3px 0 #be6a2c;
}

/* second variation. a few attributes removed and some changes in red  */
#header_menubar_beta li a.top-abtest-v2 {
  line-height: 2.6em;
  color: #f78c25;
  margin: 14px 0 0 10px;
  height: 2.5em;
  padding: 0 20px;
  letter-spacing: .01em;
  border: solid 1px #f78c25;
  border-radius: 7px;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
}

/* third variation. background gradient + fallbacks and changes in red  */
#header_menubar_beta li a.top-abtest-v3 {
  line-height: 2.6em;
  color: #fff;
  margin: 14px 0 0 10px;
  height: 2.5em;
  padding: 0 20px;
  letter-spacing: .026em;
  border-radius: 7px;
  text-shadow: -1px 1px 0 rgba(0,0,0,.2);
  background: #f1ab46;
  background: -moz-linear-gradient(top,  #f1ab46 0%, #e07d1e 82%, #d35e0a 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f1ab46), color-stop(82%,#e07d1e), color-stop(100%,#d35e0a));
  background: -webkit-linear-gradient(top,  #f1ab46 0%,#e07d1e 82%,#d35e0a 100%);
  background: -o-linear-gradient(top,  #f1ab46 0%,#e07d1e 82%,#d35e0a 100%);
  background: -ms-linear-gradient(top,  #f1ab46 0%,#e07d1e 82%,#d35e0a 100%);
  background: linear-gradient(to bottom,  #f1ab46 0%,#e07d1e 82%,#d35e0a 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f1ab46', endColorstr='#d35e0a',GradientType=0 );


}

