/*
Theme Name: Rivaty
Theme URI: http://bbpress.org/
Description: The "revolutionized" new face of bbPress.
Version: 1.0
Author: <a href="http://avalonstar.com">Bryan Veloso</a> with updates by <a href="http://unlettered.org">Sam Bauers</a>
Author URI: 
*/

/* Globals 
=================================== */


.alt {/*background-color: #fff;*/}

pre, code {font:1.0em Monaco, 'Courier New', monospace;}

.left  {float:left;}
.right {float:right;}

.delete:hover {background-color:#c00; color:#fff;}

.bozo         {background-color:#eeee88;}
.alt .bozo    {background-color:#ffff99;}
.deleted      {background-color:#ee8888;}
.alt .deleted {background-color:#ff9999;}



h2#topics   {background:url(/img/icon/topic.png) no-repeat; line-height:32px; border-left:none; padding:0 0 3px 36px;}

td a.title   {line-height:32px; padding-left:40px; background-repeat:no-repeat; background-position:3px 50%; width:40px; white-space:nowrap; display:block;}
td a.title-f {line-height:32px; padding-left:5px;}

a#forum-1  {background-image:url(/img/icon/about.png);}
a#forum-2  {background-image:url(/img/icon/world.png);}
a#forum-3  {background-image:url(/img/icon/japan.png);}
a#forum-4  {background-image:url(/img/icon/game.png);}
a#forum-5  {background-image:url(/img/icon/player.png);}

/* トピックラベル */
td span.label                {display:none;}
tr.closed td span.label,
tr.resolved td span.label,
tr.sticky td span.label,
tr.super-sticky td span.label{display:inline;}


/* Structure
=================================== */
div.search             {text-align:center;}
div.search input.text  {width:360px; font-size:14px; padding:4px;}
div.search input.submit{}



#footer            {clear both;}


.notice       {border:1px solid #ccc; background-color:#f0f0f0; color:#4c9545; font-weight:bold; padding:10px 15px;}
.notice.error {color:#ff3311;}
.notice p     {margin-bottom:0;}


/* Login Form
=================================== */
#loginform              {border:3px #ccc double;}

#loginform dl           {margin:0; padding:12px; background:#f0f0f0;}
#loginform dt           {margin:4px 0 0;}
#loginform dd           {margin:0 0 4px; text-align:center;}
#loginform dd.fs-s      {margin:8px 0 0;}

#loginform input.text   {width:180px; margin:0;}
#loginform input.submit {}

#loginform input#remember {border-width:0; padding:0; margin:0;}

#loginform label        {}

.login               {width:960px; padding:0 14px; border-bottom:1px solid #262207; text-align:right; color:#eee; background:#484330; height:24px; line-height:24px; position:absolute; left:0; top:0;}
.login a             {color:#d4e3ff;}
.login a:hover       {color:#fff;}

span#loginlink         {margin-left:8px;}
span#loginlink a       {background:#eee; padding:0 5px; border:#ccc 1px solid; color:#333; text-decoration:none;}
span#loginlink a:hover {background:#333; color:#eee;}


/* Front Page
=================================== */
#front-page #hottags        {}
#front-page #discussions    {}
#front-page #discussions ul {padding:0 0 0 14px;}

.frontpageheatmap {font-weight:normal; line-height:30px;}

.sticky {background-color:#ebf2ce;}
.sticky a {color:#a5542c;}


/* ページナビ
=================================== */
/* トピック */

div.nav              {text-align:center; margin:30px 0; font-size:12px;}
div.nav a,
div.nav span         {padding:2px 8px; margin:0 4px; border:1px solid #bababa;}
div.nav a            {text-decoration:none; color:#000; background:#eee8da;}
div.nav a:hover      {border-color:#333;}
div.nav span         {color:#000; background:#fff;}
div.nav span.pages   {border-color:#000;}
div.nav span.current {border-color:#808080; color:#808080;}
div.nav span.extend  {border-color:#000;}
div.nav span.dots    {border-color:#fff;	padding:2px 0;	color:#333;}

/* トップ／フォーラムなど */
table a.page-numbers {border:1px solid #ddd; background:#fff; padding:0 2px;	margin-left:3px; font-size:11px; text-decoration:none;}
table a.page-numbers:hover {color:#000; background:#eee;}

/*-----------------------
a.page-numbers,
span.page-numbers {
	border-right: 1px solid #bbbbbb;
	border-bottom: 1px solid #bbbbbb;
	padding: 4px 4px 2px 5px;	margin-left: 5px;	background-image: url('images/page-links-background.gif');
	background-repeat: no-repeat;	background-position: 0 0;}

span.page-numbers.current {	color: #ffffff;	background-position: 0 -100px;}

#latest a.page-numbers {font-size:0.8em; padding:3px 3px 1px 4px; margin-left:3px;}

a.prev.page-numbers,
a.next.page-numbers,
span.page-numbers.dots {border-width: 0;	padding: 0 4px;	background-image: none;}

span.page-numbers.dots {padding: 0;}

a.page-numbers:hover {background-position: 0 -100px;}

a.prev.page-numbers:hover,
a.next.page-numbers:hover {color: #006400;}
---------------------*/


/* トピック サイド
=================================== */
.infobox         {margin:0 0 1em; padding:2px; background:#d8da99; border:1px solid #9a9e54; color:#484330;}
.infobox a       {color:#000!important;}
.infobox a:hover {background-color:#fff;}

.infobox dt      {line-height:30px; padding:0 1em; margin:0; color:#eee; background:#484330;}
.infobox dd      {padding:10px 4px;}
.infobox ul      {margin-bottom:0;}
.infobox ul li   {line-height:20px;}

#topic-info    {}
#topic-info li {padding:3px 0; border-bottom:1px dotted #9a9e54;}

.topicmeta  {}

#topic-tags {}
#tag-form   {margin-top:10px;}
#tag-form p {margin-bottom:0;}
input#tag               {border:1px solid #999; padding:2px; font-size:12px;}
input#tagformsub        {border:1px solid #999; font-size:12px; padding:2px 4px;}
input#tagformsub:hover  {background-color:#484330; color:#fff;}


/* トピック 投稿部分
=================================== */
#thread                   {}
#thread div.fix           {padding:1em 0; margin:0; border-bottom:dotted #ddd 1px;}
ul.threadauthor           {width:90px; float:left; padding:4px 7px; border-right:#ccc 1px solid; text-align:center; margin:0; font-size:11px; background:#f8f8f8;}

div.threadpost            {float:right; width:560px; padding-left:13px; margin:0; position:relative; left:-2px; border-left:#ccc 1px solid;}

/* bb_post_admin */
a.post-edit-link,
a.quote_link              {font-size:12px; float:right; margin-left:8px; display:inline;}

.threadpost ol,
.threadpost ul  {margin-left:40px;}
.threadpost ul  {list-style:disc;}

#thread li.alt .threadpost         {background-color:transparent;}
#thread li.deleted                 {background-color:transparent;}
#thread li.deleted .threadpost     {background-color:#ee8888;}
#thread li.alt.deleted .threadpost {background-color:#ff9999;}

#thread li .post-undelete-link,
#thread li.deleted .post-delete-link              {display:none;}
#thread li.deleted .post-undelete-link            {display:inline;}

#thread li.deleted .before-post-delete-link,
#thread li .before-post-undelete-link             {display:none;}
#thread li.deleted span.before-post-undelete-link {display:inline;}
#thread li.deleted div.before-post-undelete-link  {display:block;}
#thread li.deleted li.before-post-undelete-link   {display:block;}

#thread li.pingback                 {margin-left:140px; margin-top:2px; margin-bottom:2px;	background-color:#e4f3e1;	border:0.2em solid #e4f3e1;}
#thread li.pingback.alt             {background-color:#fff;}
#thread li.pingback .threadpost     {background-color:#e4f3e1;}
#thread li.pingback.alt .threadpost {background-color:#fff;}
#thread li.pingback .threadauthor   {float:none; padding:0.9em 0.9em 0; width:auto;}

#thread li.pingback .threadpost {margin-left:0; padding:0.5em 0.9em 1.5em;}
#thread li.pingback .post       {color:#333; margin:0 0 0 2.4em; padding:0 0 0 0.8em; border-left:3px dotted #ccc;}

#thread .post li          {clear:none;}


table td.num {font-size:11px; text-align:center; white-space:nowrap;}


/* フォーム全般 */
.postform  {background:#f0f0f0; padding:1em; border:1px solid #ccc; margin-bottom:1em;}
.postform table {background:#fff;}

/* --- トピックポストフォーム --- */
p#post-form-post-container textarea    {height:12em; width:98%;}
.postform label       {display:block;}
.postform label.error {background:#fff; padding:5px; color:#ff3311; font-weight:bold;}

.postform #topic,
.postform #tags-input {width:98%;}

.postform p#post-form-forum-container label span {font-weight:bold;}

#manage-tags     {margin:10px 0; list-style:none;}
#manage-tags li  {width:200px; padding-bottom:10px;}

p.submit              {text-align:right;}
p.submit input        {}
p.submit input:hover  {}
p.submit input:active {}

p.allowed { margin-bottom:0;}

.topiclink {display:block;}

.topictitle {}

p.rss-link {text-align:right; margin:2em 0; font-size:12px;}
a.rss-link {padding:0 0 0 20px;	background:url('images/feed-icon-16x16.gif') no-repeat 0 50%;}

#topic-move { margin-top: 1em; }


/* Other
=================================== */

#content .infobox li  {}

#front-search         {float:right; margin-top:-8px;}

#latest td,
#forumlist td,
#favorites td          {padding:4px;}

#forumlist td p.fs-s   {margin:0 0 4px 40px; color:#555;}
#forumlist td div.nest {padding-left:2.5px;}


#latest th,
#forumlist th,
#favorites th        {text-align:center; font-size:13px; background:#484330; color:#eee; white-space:nowrap;}

#latest th a,
#forumlist th a,
#favorites th a      {color:rgb(200, 200, 200);}


tr.bb-category td     {}

#latest,
#forumlist,
#favorites            {}

#latest,
#forumlist            {}

#discussions .nav     {margin-bottom:1em;}



/* ユーザーページ
=================================== */
#profile-menu              {margin:1em 0;}
#profile-menu li           {display:inline; margin-left:3px;}
#profile-menu li a         {background:#eee8da; padding:4px 7px; border:1px solid #bababa; color:#000; text-decoration:none!important;}
#profile-menu li a:hover   {border-color:#333;}
#profile-menu li.current a {background:#fff; border-color:#eee; color:#000; font-weight:bold;}

#useravatar     {margin-bottom:1em;}
#useravatar img {border:3px #ccc double;}

#userinfo    {margin-top:10px;}
#userinfo dt {font-weight:bold;}
#userinfo dd {margin:0 0 5px;}

.user-recent       {font-size:92%; color:#555;}
.user-recent ol    {}
.user-recent ol li {}


/* Search
=================================== */
#topic-search-form fieldset  {}
#topic-search-form div       {clear: both;}
#topic-search-form div label {display:block; float:left; padding:5px; text-align:right; width:20%; padding-right:1em; font-weight:bold;}

#topic-search-form div div       {display:block; float:left; clear:none; padding:5px;}
#topic-search-form div div input {width:280px; border:1px solid #ccc; padding:2px; margin:0;}

#search-for           {margin:15px 0 5px;}

.search-results            {}
.search-results ol         {}
.search-results ol li      {}
.search-results ol li span {font-size:12px; margin-left:10px; color:#888;}


/* ログインページ, Register, Profile Edit
=================================== */

#login-page fieldset table th,
#register-page fieldset table th,
#profile-page fieldset table th   {text-align:right; padding-right:20px;}

#login-page fieldset table tr.error th em,
#register-page fieldset table tr.error th em,
#profile-page fieldset table tr.error th em {
	position: absolute;
	/* fieldset:padding-left + table:margin-left + table:width + td:padding-left + input:width + input:padding-right */
	left: 540px; /* 10 + 15 + 20% * ( 95% * (760 - 10)  ) + 5 + 280 + 5 */
	margin-left: 1em; /* th:padding-right = 1em */
	color: red;
	font-size:12px;
	z-index:1000; white-space:nowrap;
}


#login-page fieldset table td p,
#register-page fieldset table td p,
#profile-page fieldset table td p           {margin:5px 0;}

#login-page .main input[type=text],
#register-page .main input[type=text],
#profile-page .main input[type=text],
#login-page .main input[type=password],
#profile-page .main input[type=password] {width:280px;}

#login-page fieldset p,
#register-page fieldset p,
#profile-page fieldset p                    {font-size:11px; margin:10px 16px;}

/* --- 必須項目 --- */
table tr.required th{font-weight:bold; background:url(/img/icon/warning.png) no-repeat right 50%;}
p.required-message  {padding-left:18px; background:url(/img/icon/warning.png) no-repeat left 50%;}

.form-invalid       {background-color:#ffebe8!important;}
.form-invalid input {padding:1px; border:1px solid #c00 !important;}

.hidden {display:none;}

#pass-strength-result        {padding:2px; text-align:center; width:280px; border:1px solid #ccc; background-color:#e3e3e3;}
#pass-strength-result.bad    {background-color:#ffeff7; border-color:#c69;}
#pass-strength-result.good   {background-color:#effff4; border-color:#66cc87;}
#pass-strength-result.short  {background-color:#e3e3e3;}
#pass-strength-result.strong {background-color:#59ef86; border-color:#319f52;}



/* --- ベストアンサー --- */
.best_answer     {width:24px; white-space:nowrap; display:block; margin:0 0 1em; padding-left:28px!important; height:24px; line-height:24px; background: url(/img/icon/ba.png) no-repeat scroll 0px 0px;} 
span.ba-s        {margin-left:3px; display:inline;}
div.best_answer  {font-weight:bold;}

a.best_answer,
a.best_answer:link           {color:#999; background-position:left -48px;}
a.best_answer:hover          {color:green; background-position:left 0;}
a.best_answer_selected       {color:green; background-position:left 0; font-weight:bold;}
a.best_answer_selected:hover {color:red; background-position:left -24px;}

#thread li.best_answer_background                 {}
#thread li.best_answer_background .threadpost     {}
#thread li.alt.best_answer_background .threadpost {}
