/*
 * MuAdventuri Classic - MyBB 1.8
 *
 * Recriacao do skin "Wiredvage" (Zeus00 / IF Skin Zone) usado no forum
 * original do MuAdventuri no InvisionFree (2008-2010). Cores, medidas e
 * imagens extraidas das copias do forum antigo no Wayback Machine.
 *
 * So CSS + imagens: nenhum template do MyBB e alterado, entao o tema
 * continua funcionando apos atualizacoes do forum.
 */

/* ---------- Base ---------- */

body {
	background: #0d0d0d;
	color: #696969;
	font-family: Verdana, Tahoma, Arial, Sans-Serif;
	font-size: 11px;
	margin: 0 10px;
}

#container {
	color: #696969;
	font-family: Verdana, Tahoma, Arial, Sans-Serif;
	font-size: 11px;
	min-width: 0;
}

.wrapper {
	width: 763px;
	min-width: 0;
	max-width: none;
	box-sizing: border-box;
}

table,
tr,
td {
	color: #696969;
	font-family: Verdana, Tahoma, Arial, Sans-Serif;
	font-size: 11px;
}

a:link,
a:visited,
a:active {
	color: #b66718;
	text-decoration: underline;
}

a:hover {
	color: #fff;
	text-decoration: none;
}

hr {
	border: 0;
	border-top: 1px solid #313131;
	background: none;
	height: 0;
}

.smalltext {
	font-size: 10px;
}

.largetext {
	font-size: 13px;
	font-weight: bold;
	color: #b66718;
}

fieldset {
	border: 1px solid #313131;
}

/* ---------- Cabecalho: logo ---------- */

#logo {
	background: transparent;
	padding: 6px 0 0;
	border: 0;
}

#logo .wrapper > a img {
	display: block;
	width: 761px;
	height: auto;
	background: #252525;
	border-top: 3px double #151515;
	border-bottom: 3px double #151515;
	border-left: 1px solid #151515;
	border-right: 1px solid #151515;
}

/* ---------- Cabecalho: barra de menu (Help / Search / Members / Calendar) ---------- */

#logo ul.top_links {
	display: block;
	margin: 3px 0;
	padding: 5px 6px;
	text-align: right;
	font-size: 10px;
	font-weight: bold;
	background: #252525;
	border-top: 3px double #151515;
	border-bottom: 3px double #151515;
	border-left: 1px solid #151515;
	border-right: 1px solid #151515;
	overflow: hidden;
}

#logo ul.top_links li {
	margin: 0 0 0 10px;
}

#header ul.menu li a,
#logo ul.top_links a:link,
#logo ul.top_links a:visited,
#logo ul.top_links a:active {
	color: #b66718;
	text-decoration: none;
	font-weight: bold;
	font-size: 10px;
	line-height: 16px;
	background-repeat: no-repeat;
	background-position: 0 50%;
	padding-left: 21px;
}

#logo ul.top_links a:hover {
	color: #cc751b;
	text-decoration: none;
}

#logo ul.top_links a.search { background-image: url(../../../images/muadventuri/atb_search.gif); }
#logo ul.top_links a.memberlist { background-image: url(../../../images/muadventuri/atb_members.gif); padding-left: 24px; }
#logo ul.top_links a.calendar { background-image: url(../../../images/muadventuri/atb_calendar.gif); padding-left: 23px; }
#logo ul.top_links a.help { background-image: url(../../../images/muadventuri/atb_help.gif); }

/* "Portal" fica sozinho na esquerda, com o marcador do skin original */
#logo ul.top_links li:has(a.portal) {
	float: left;
	margin: 0;
}

#logo ul.top_links a.portal {
	background-image: url(../../../images/muadventuri/nav_m.gif);
	background-position: 2px 50%;
	padding-left: 14px;
}

/* ---------- Cabecalho: barra do usuario (Bem-vindo / Entrar / Registrar) ---------- */

#panel .upper,
#panel .lower {
	background: transparent;
	border: 0;
	padding: 0;
	color: #696969;
}

#panel .upper .wrapper {
	background: #1a1a1a url(../../../images/muadventuri/strip.gif) repeat-x;
	border-top: 3px solid #0a0a0a;
	border-bottom: 1px solid #0a0a0a;
	border-left: 1px solid #0a0a0a;
	border-right: 1px solid #0a0a0a;
	padding: 5px 7px;
	font-size: 10px;
	overflow: hidden;
}

#panel .lower .wrapper {
	background: #252525;
	border-bottom: 3px double #151515;
	border-left: 1px solid #151515;
	border-right: 1px solid #151515;
	padding: 5px 7px;
	font-size: 10px;
	overflow: hidden;
}

#panel .upper a:link,
#panel .upper a:visited,
#panel .upper a:active,
#panel .lower a:link,
#panel .lower a:visited,
#panel .lower a:active {
	color: #b66718;
	text-decoration: underline;
}

#panel .upper a:hover,
#panel .lower a:hover {
	color: #fff;
	text-decoration: none;
}

/* Icones claros do MyBB destoam do skin escuro: trocados por texto puro */
#panel .upper a.login,
#panel .upper a.lost_password,
#panel .upper a.register,
#panel .upper a.logout {
	background: none;
	padding: 0;
	margin-left: 6px;
	font-weight: normal;
}

#panel .lower ul.panel_links a,
#panel .lower ul.user_links a {
	padding-left: 0;
	background-image: none;
}

#search input.textbox {
	width: 130px;
}

#search input.button,
#search input.textbox {
	border-color: #0a0a0a;
}

#search input.button {
	background: #181818 url(../../../images/muadventuri/strip.gif) repeat-x center;
	color: #fff;
}

#search input.button:hover {
	color: #cc751b;
}

/* ---------- Conteudo / navegacao (breadcrumb) ---------- */

#content {
	background: transparent;
	padding: 6px 0 10px;
}

.navigation {
	display: block;
	color: #696969;
	font-size: 10px;
	font-weight: bold;
	background: #252525;
	border-top: 3px double #151515;
	border-bottom: 3px double #151515;
	border-left: 1px solid #151515;
	border-right: 1px solid #151515;
	padding: 5px 6px;
}

.navigation a:link,
.navigation a:visited {
	color: #b66718;
	text-decoration: underline;
}

.navigation .active {
	color: #cc751b;
	font-size: 10px;
}

/* ---------- Tabelas ---------- */

.tborder {
	background: #0a0a0a;
	border: 0;
	padding: 0;
}

/* Barra laranja de categoria do skin original (760x29) */
.thead {
	background: #0d0d0d url(../../../images/muadventuri/cat_bar.gif) no-repeat center center;
	color: #422509;
	border: 0;
	padding: 0 12px;
	height: 29px;
	text-align: center;
	letter-spacing: 1px;
	font-size: 10px;
	font-weight: bold;
}

.thead strong {
	font-weight: bold;
}

.thead a:link,
.thead a:visited,
.thead a:active {
	color: #422509;
	text-decoration: none;
}

.thead a:hover {
	color: #422509;
	text-decoration: underline;
}

.thead .smalltext {
	color: #6b3b0c;
	letter-spacing: 0;
}

/* Links extras do titulo (marcar como lido, ferramentas do topico...) ficam
   dentro da parte laranja da barra, nao em cima da ponta escura. */
.thead div.float_right,
.thead .float_right {
	letter-spacing: 0;
	font-weight: normal;
	margin-right: 104px;
}

.thead .float_right a:link,
.thead .float_right a:visited {
	color: #5a3008;
}

/* O botao de recolher a categoria fica invisivel em cima da bolinha laranja
   da direita da barra - continua clicavel, sem poluir o desenho original. */
.thead .expcolimage {
	float: right;
	margin: 0 52px 0 0;
}

.thead .expcolimage img.expander {
	opacity: 0;
	cursor: pointer;
	width: 16px;
	height: 16px;
}

.tcat {
	background: #1a1a1a url(../../../images/muadventuri/strip.gif) repeat-x;
	color: #fff;
	border-top: 0;
	border-bottom: 0;
	border-left: 1px solid #313131;
	padding: 4px 5px;
	font-size: 10px;
}

.tcat strong {
	font-weight: normal;
}

.tcat a:link,
.tcat a:visited,
.tcat a:active {
	color: #fff;
	text-decoration: underline;
}

.tcat a:hover {
	color: #cc751b;
}

.trow1,
.trow2 {
	background: #252525;
	border: 0;
	border-top: 1px solid #313131;
	border-left: 1px solid #313131;
}

.trow1 strong a:link,
.trow1 strong a:visited,
.trow2 strong a:link,
.trow2 strong a:visited {
	font-weight: bold;
}

.trow_shaded {
	background: #2a1b1b;
	border: 0;
	border-top: 1px solid #3a2626;
	border-left: 1px solid #3a2626;
}

.trow_selected,
tr.trow_selected td {
	background: #33270f;
	color: #cc751b;
	border-right-color: #7a4510;
	border-bottom-color: #7a4510;
}

.trow_selected a:link,
.trow_selected a:visited,
.trow_selected a:hover,
.trow_selected a:active {
	color: #cc751b;
}

.trow_sep {
	background: #1a1a1a;
	color: #b66718;
	border-bottom: 1px solid #0a0a0a;
	font-size: 10px;
}

.tfoot {
	background: #1a1a1a url(../../../images/muadventuri/strip.gif) repeat-x;
	color: #696969;
	border-top: 1px solid #313131;
}

.tfoot a:link,
.tfoot a:visited,
.tfoot a:active {
	color: #b66718;
}

.tfoot a:hover {
	color: #fff;
}

.bottommenu {
	background: #252525;
	color: #696969;
	border: 3px double #151515;
}

/* ---------- Icones de status dos foruns (bolinhas laranja/escura do skin) ---------- */

.forum_status {
	background-image: url(../../../images/muadventuri/forum_icon_sprite.png);
}

.subforumicon {
	background-image: url(../../../images/muadventuri/mini_status_sprite.png);
}

.forum_legend dt,
.forum_legend dd {
	color: #696969;
}

/* ---------- Formularios ---------- */

input.textbox,
textarea,
select {
	background: #181818;
	color: #fff;
	border: 1px solid #0a0a0a;
	font-family: Verdana, Tahoma, Arial, Sans-Serif;
	font-size: 11px;
}

input.textbox:focus,
textarea:focus,
select:focus {
	border-color: #7a4510;
	outline: 0;
}

button,
input.button {
	background: #181818 url(../../../images/muadventuri/strip.gif) repeat-x center;
	color: #fff;
	border: 1px solid #0a0a0a;
	font-family: Verdana, Tahoma, Arial, Sans-Serif;
	font-size: 10px;
	font-weight: bold;
	padding: 3px 8px;
	cursor: pointer;
}

button:hover,
input.button:hover {
	color: #cc751b;
	border-color: #7a4510;
}

label {
	cursor: pointer;
}

div.error {
	background: #2a1515;
	color: #d88;
	border: 3px double #7a1010;
}

div.error p em {
	color: #f99;
}

.success_message {
	color: #6ba539;
}

.error_message {
	color: #e05050;
}

/* ---------- Botoes ---------- */

a.button:link,
a.button:hover,
a.button:visited,
a.button:active {
	background: #181818 url(../../../images/muadventuri/strip.gif) repeat-x center;
	color: #b66718;
	border: 1px solid #0a0a0a;
	font-size: 10px;
	font-weight: bold;
	text-decoration: none;
}

a.button:hover {
	color: #fff;
	border-color: #7a4510;
}

/* "Novo topico" e "Responder" com os botoes originais do forum de 2008 */
a.button.new_thread_button,
a.button.new_reply_button {
	display: inline-block;
	width: 93px;
	height: 25px;
	padding: 0;
	border: 0;
	font-size: 0;
	line-height: 0;
	vertical-align: middle;
	background-repeat: no-repeat;
	background-position: 0 0;
	background-color: transparent;
}

a.button.new_thread_button:link,
a.button.new_thread_button:visited,
a.button.new_thread_button:hover,
a.button.new_thread_button:active {
	background-image: url(../../../images/muadventuri/t_new.gif);
	background-color: transparent;
	border: 0;
}

a.button.new_reply_button:link,
a.button.new_reply_button:visited,
a.button.new_reply_button:hover,
a.button.new_reply_button:active {
	background-image: url(../../../images/muadventuri/t_reply.gif);
	background-color: transparent;
	border: 0;
}

a.button.new_thread_button:hover,
a.button.new_reply_button:hover {
	opacity: .85;
}

a.button.new_thread_button span,
a.button.new_reply_button span {
	position: absolute;
	left: -9999px;
}

/* Botoes abaixo de cada post: estilo ".edit" do skin original */
.postbit_buttons > a:link,
.postbit_buttons > a:hover,
.postbit_buttons > a:visited,
.postbit_buttons > a:active {
	background: #161616;
	color: #b66718;
	font-size: 9px;
	font-weight: bold;
	text-transform: uppercase;
	border: 1px solid;
	border-color: #0a0a0a #313131 #313131 #0a0a0a;
	text-decoration: none;
}

.postbit_buttons > a:hover {
	color: #fff;
	background: #1f1f1f;
}

/* Botao "Citar" com a imagem QUOTE do skin original */
.postbit_buttons > a.postbit_quote:link,
.postbit_buttons > a.postbit_quote:visited,
.postbit_buttons > a.postbit_quote:hover,
.postbit_buttons > a.postbit_quote:active {
	background: url(../../../images/muadventuri/btn_quote.gif) no-repeat 0 0;
	width: 60px;
	height: 22px;
	padding: 0;
	border: 0;
	font-size: 0;
	vertical-align: middle;
}

.postbit_buttons > a.postbit_quote:hover {
	opacity: .8;
}

.postbit_buttons > a.postbit_quote span {
	position: absolute;
	left: -9999px;
}

/* ---------- Posts (topicos) ---------- */

.post {
	background: #1f1f1f;
	overflow: hidden;
}

.post .post_author {
	background: #252525;
	border-top: 3px double #0a0a0a;
	border-bottom: 1px solid #313131;
	color: #696969;
}

.post.classic .post_author {
	border: 0;
	border-right: 1px solid #313131;
	background: #252525;
	/* Coluna fixa para o avatar de ate 150x250 (+ moldura) caber inteiro. */
	box-sizing: border-box;
	width: 176px;
	padding: 5px;
}

.post.classic .post_content {
	box-sizing: border-box;
	width: calc(99% - 176px);
}

.post .post_author div.author_avatar img {
	background: #181818;
	border: 1px solid #0a0a0a;
}

.post .post_author div.author_statistics {
	color: #696969;
	font-size: 10px;
}

.post .post_author strong span.largetext,
.post .post_author .largetext {
	font-size: 12px;
}

.post .post_head {
	border-bottom: 1px dotted #313131;
	font-size: 10px;
}

.post .post_head span.post_date {
	color: #696969;
}

.post .post_head span.edited_post,
.post .post_head span.edited_post a {
	color: #555;
}

.post_body {
	font-size: 12px;
	line-height: 160%;
	color: #696969;
}

.post_content .signature {
	border-top: 1px dashed #313131;
	color: #696969;
	font-size: 10px;
}

.post .post_meta {
	color: #555;
	font-size: 10px;
}

.post_controls {
	background: #1a1a1a url(../../../images/muadventuri/strip.gif) repeat-x;
	border-top: 1px solid #0a0a0a;
	border-bottom: 1px solid #0a0a0a;
}

.ignored_post,
.deleted_post_hidden {
	background: #1a1a1a;
	border-top: 1px solid #313131;
}

.post.unapproved_post,
.post.deleted_post {
	background: #2a1b1b;
}

/* QUOTE e CODE como no skin original */
blockquote {
	background: #2c2c2c;
	color: #696969;
	font-size: 10px;
	border: 1px solid;
	border-color: #0a0a0a #313131 #313131 #0a0a0a;
	padding: 4px 6px;
}

blockquote cite {
	color: #b66718;
	font-style: normal;
	font-weight: bold;
	font-size: 10px;
	border-bottom: 1px solid #313131;
}

blockquote cite > span {
	color: #555;
}

.codeblock {
	background: #2c2c2c;
	border: 1px solid;
	border-color: #0a0a0a #313131 #313131 #0a0a0a;
	padding: 4px 6px;
}

.codeblock .title {
	color: #b66718;
	font-size: 10px;
	border-bottom: 1px solid #313131;
}

.codeblock code {
	color: #8a8a8a;
	font-family: Courier, "Courier New", monospace;
	font-size: 11px;
}

/* Termo buscado destacado como no IPB: vermelho no amarelo */
.highlight {
	background: #ff0;
	color: #f00;
	font-weight: bold;
	padding: 0;
}

/* ---------- Paginacao, menus e avisos ---------- */

.pagination a {
	background: #252525;
	border: 1px solid #313131;
	color: #b66718;
	text-decoration: none;
}

.pagination a:hover {
	background: #2c2c2c;
	color: #fff;
}

.pagination .pagination_current {
	background: #b66718;
	color: #0d0d0d;
	border-color: #7a4510;
}

.pagination .pages {
	color: #696969;
}

.popup_menu {
	background: #252525;
	border: 1px solid #0a0a0a;
}

.popup_menu .popup_item {
	background: #252525;
	color: #b66718;
}

.popup_menu .popup_item:hover,
.popup_menu a.popup_item:hover {
	background: #2c2c2c;
	color: #fff;
}

.pm_alert {
	background: #2c2410;
	border: 1px solid #7a4510;
	color: #cc751b;
}

.red_alert {
	background: #3a0d0d;
	border: 1px solid #7a1010;
	color: #f99;
}

.red_alert a:link,
.red_alert a:visited,
.red_alert a:hover,
.red_alert a:active {
	color: #fcc;
}

.online {
	color: #6ba539;
}

.offline {
	color: #555;
}

.repbox {
	border-color: #313131;
}

/* Login rapido (janela modal) com a moldura dupla dourada do skin */
.modal {
	background: #252525;
	border: 3px double #7a4510;
	color: #696969;
}

.blocker {
	background-color: rgba(0, 0, 0, .8);
}

/* ---------- Cantos retos (o skin de 2008 nao tinha bordas arredondadas) ---------- */

.tborder,
.tborder tbody tr:last-child > td:first-child,
.tborder tbody tr:last-child > td:last-child,
.thead,
.thead_collapsed,
.tcat,
button,
input.button,
input.textbox,
input.invalid_field,
input.valid_field,
select,
textarea,
.editor_control_bar,
blockquote,
.codeblock,
fieldset,
.pm_alert,
.red_alert,
.popup_menu,
.popup_menu .popup_item_container:first-child .popup_item,
.popup_menu .popup_item_container:last-child .popup_item,
.postbit_buttons > a,
a.button,
.post.classic .post_author,
.pagination a,
.pagination .pagination_current,
div.error,
.modal {
	border-radius: 0;
}

.tborder tbody:nth-last-child(2) .tcat_collapse_collapsed {
	border-radius: 0 !important;
}

/* ---------- Rodape ---------- */

#footer .upper,
#footer .lower {
	background: transparent;
	border: 0;
	padding: 0;
}

#footer .upper .wrapper {
	background: #252525;
	border-top: 3px double #151515;
	border-bottom: 3px double #151515;
	border-left: 1px solid #151515;
	border-right: 1px solid #151515;
	padding: 5px 6px;
	font-size: 10px;
	overflow: hidden;
}

#footer .lower .wrapper {
	padding: 6px 2px 14px;
	font-size: 9px;
	color: #4d4d4d;
	overflow: hidden;
}

#footer a:link,
#footer a:visited,
#footer a:active {
	color: #b66718;
}

#footer a:hover {
	color: #fff;
}

#footer .lower a:link,
#footer .lower a:visited {
	color: #7a4510;
	font-weight: normal;
}

#footer .lower #current_time {
	color: #4d4d4d;
}

#footer .upper .language select,
#footer .upper .theme select {
	border-color: #0a0a0a;
}

/* Credito ao skin original, como o InvisionFree exibia no topo do forum */
#footer .lower .wrapper::after {
	content: "Skin .Wiredvage (2008) por Zeus00 / IF Skin Zone \2014  restaurado para o MuAdventuri";
	display: block;
	clear: both;
	padding-top: 6px;
	text-align: center;
	color: #3a3a3a;
	font-size: 9px;
}
