/* Layout
 ------------ */
* {
	/* Reset browsers default margin, padding and font sizes */
	margin: 0;
	padding: 0;
}

html {
	font-size: 100%;
}

body {
	color: #000;
	background: #EEE url(images/bg_body.gif);
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 10px;
	/*margin: 0;
	padding: 0;*/
	width: 992px;
	margin-left: auto;
	margin-right: auto;
}
#body-simple {
	background: #F8F8F8;
	padding: 5px;
}

#wrapper {
	background: url(images/bg_body_top.gif) top left repeat-x;
	padding: 5px;
}


/*****************************/
/* Aunder */
#contenido {
	margin-left: auto;
	margin-right: auto;
	width: 992px;
}

#header
{
	background: #FFF;
	width: 980px;
	overflow: hidden;
	height: 165px;
	position: relative;
	border: 1px solid #000;
	margin-bottom: 0px !important;
	margin-bottom: 25px;
}

#contenido_principal
{
	background: #FFF url(images/ramp.png) repeat-x;
	width: 770px !important;
	width: 850px;
	height: 100%;
	border: 1px solid #000;
	padding-top: 20px;
}

#menu
{
	background: #FFF url(images/ramp.png) repeat-x left top;
	width: 180px;
	height: 100%;
	font-size: 12px;
	border: 1px solid #000;
	padding-left: 15px;
	padding-right: 5px;
	font-family: "Segoe UI", "Myriad Pro", Tahoma;
}
#cabecera_menu
{
	background: url(images/ico_3books.png) no-repeat 5px 4px;
	position: relative;
	left: -7px;
	top: 1px;
	overflow: visible;
	height: 30px;
	padding-left: 50px;
	padding-top: 14px;
	width: 150px;
	font-size: 14px;
	font-weight: bold;
}


/* Tabs */
#tabs
{
	position: relative;
	height: 40px;
	width: 100%;
	overflow: hidden;
	background: url(images/ramptabs.png) repeat-x top;
	top: -180px;
}
.tabs
{
	text-align: center;
	width: 100px;
	float: left;
	left: 70px;
	top: -5px;
	position: relative;
	margin-right: 5px;
	padding: 8px;
	font-size: 11pt;
	font-weight: 700;
}
.tabs A:hover
{
	color: #FF0000;
	text-decoration: none;
}
#tab_Foro
{
	background: url(images/ico_foro.png) no-repeat 18px 9px;
}
#tab_Janateca
{
	background: url(images/ico_book.png) no-repeat 7px 8px;
	padding-left: 15px;
}
#tab_Web
{
	background: url(images/ico_home.png) no-repeat 17px 8px;
}
#tab_Acerca
{
	background: url(images/ico_about.png) no-repeat 0px 8px;
	padding-left: 13px;
	left: 81px;
}
#tab_Contacto
{
	background: url(images/ico_contacta.png) no-repeat 7px 11px;
	padding-left: 15px;
	margin-left: 40px;
	cursor: pointer;
}


/* Cosas para ordenar */
.ydsf
{
	display: block;
	position: relative;
	margin: 4px -4px -4px 4px;
	background: url(shadow-grid.gif) repeat;
}
HTML>BODY .ydsf
{
	margin: 20px -1px -10px 10px;
	background: url(images/shadowvil2.png) no-repeat right bottom;
}
.ydsf:before, .ydsf:after
{
	content: " ";
	display: block;
	width: 12px;
	height: 12px;
	background: inherit;
	text-align: center;
}
.ydsf:before
{
	position: absolute;
	top: 0;
	right: 0;
	margin: -12px 0 0 auto;
	background-position: right top;
}
.ydsf:after
{
	margin: -12px 0 0 -12px;
	background-position: left bottom;
}
.ydsf .inner
{
	display: block;
	position: relative;
	overflow: hidden;
/*prevents margin leakage from child elements*/
	left: -4px;
	top: -4px;
}

HTML>BODY .ydsf .inner
{
	left: -12px;
	top: -12px;
	margin: 0;
}

.clear
{
	clear: both;
	overflow: hidden;
	width: 1px;
	height: 1px;
	margin: 0 -1px -1px 0;
	border: 0;
	padding: 0;
	font-size: 0;
	line-height: 0;
}

.left
{
	float: left;
	display: inline;
/*fixes ie double margin-left bug*/
}


/*******************/
/* flf */
div#show.animes_hd.rounded {
	background-color:#DADBDE;
	margin-bottom:39px;
}

.descargas_hd, .animes_hd, .comentarios_hd, .mangas_hd, .clasificados_hd, .figuras_hd {
	background-color:#181B1C repeat-y;
	margin-bottom:1em;
	/*margin-left:0.5em;*/
	/*margin-top:0.5em;*/
	min-height:540px;
	padding-bottom:1em;
	padding-left:0;
	padding-right:0;
}

div.yui-gc.descarga {
	margin-bottom:1em;
	margin-left:0.5em;
	margin-right:0.5em;
	padding:0.5em;
}

div.yui-gc.descarga {
	background:#A2A1A8 none repeat scroll 0 0;
}

.rounded {
	-moz-border-radius-bottomleft:0.6em;
	-moz-border-radius-bottomright:0.6em;
	-moz-border-radius-topleft:0.6em;
	-moz-border-radius-topright:0.6em;
}

.yui-g .yui-gb div.first, .yui-gb div.first, .yui-gc div.first, .yui-gd div.first {
	margin-left:0;
}


.yui-gc div.first, .yui-gd .yui-u {
	width:55%;
}

div.second {
	width:45%;
}

.yui-u {
	padding-top:1em;
}

.descargas_hd p.desc, .animes_hd p.desc, .mangas_hd p.desc {
	background-image: url(images/block.png);
	border:2px solid #3D3D3D;
	font-size:105%;
	margin-top:0;
	min-height:100px;
	padding:1em 0.5em 0.5em 0.5em;
	text-align:justify;
}

p, fieldset, table {
	margin-bottom:1em;
}

.yui-g .yui-u, .yui-g .yui-g, .yui-g .yui-gb, .yui-g .yui-gc, .yui-g .yui-gd, .yui-g .yui-ge, .yui-g .yui-gf, .yui-gc .yui-u, .yui-gd .yui-g, .yui-g .yui-gc .yui-u, .yui-ge .yui-u, .yui-ge .yui-g, .yui-gf .yui-g, .yui-gf .yui-u {
	float:right;
}

.yui-g div.first, .yui-gb div.first, .yui-gc div.first, .yui-gd div.first, .yui-ge div.first, .yui-gf div.first, .yui-g .yui-gc div.first, .yui-g .yui-ge div.first, .yui-gc div.first div.first {
	float:left;
}

ul.descargas_info {
	margin-bottom:14px;
	padding-left:0.5em;
	float:right;
}

ul, li {
	margin:0;
	padding:0;
}

#ani_img {
	text-align:center;
	padding-left:1em;
}

#descargar_torrent a.torrent_d {
	border:0 none;
}

#detallada_prestamos {
	margin:1em;
	margin-top:1.5em;
	text-align:center;
}

.disponible {
	color:#275A25;
}

.no_disponible {
	color:#FF0000;
}

#boton_peticiones {
	padding:0.5em;	
}

#botones_bibliotecario {
	padding:1em;
	text-align:center;
}




/***********/
/* Mios */
.navegacion_fondos {
	font-size: 1.2em;
	font-weight: bold;
	padding-bottom: 1em;
	padding-left: 2em;
}





/***********************/
/* FORO */

/* Misc stuff */
img {
	border: none;
}

.gen {
	margin: 1px 1px;
	font-size: 1.2em;
}

.genmed {
	margin: 1px 1px;
	font-size: 1.1em;
}

.gensmall {
	margin: 1px 1px;
	font-size: 1em;
}

.titles {
	font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 1.3em;
	text-decoration: none;
}

.error, table td .error {
	color: #FF0000;
}

.spacer {
	background: #458D3E url(images/spacerbg.gif) top left repeat-x;
}

hr	{ height: 0px; border: solid #1f1fc6 0px; border-top-width: 1px;}

.pagination {
	padding: 4px;
	font-size: 1em;
	font-weight: bold;
}

/* Links
 ------------ */
a {
	color: #1f1fc6;
	text-decoration: none;
}

a:active,
a:visited {
	color: #1f1fc6;
	text-decoration: none;
}

a:hover {
	color: #FF0000;
	text-decoration: underline;
}

a.forumlink {
	font-weight: bold;
	font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
	font-size: 1.2em;
}

a.topictitle {
	margin: 1px 0px;
	font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 1.2em;
}

a.topictitle, .postbody a {
	color: #1f1fc6;
}
a.topictitle:visited, .postbody a:visited {
	color: #4B9A44;
}
a.topictitle:visited:hover, .postbody a:visited:hover {
	color: #1f1fc6;
}
a.topictitle:hover, .postbody a:hover {
	color: #FF0000;
}

/* Header and logo */
#maintable {
	/*border: solid 1px #999;*/
	margin: 0 auto;
	background-color: #F8F8F8;
}
#logorow {
	background: #F8F8F8 url(images/bg_logo.gif) top left repeat-x;
	text-align: left;
	padding: 0;
	padding-top: 6px;
	min-height: 70px;
}


/* Navigation buttons */
.navtd {
	padding: 0 10px 5px 10px;
}
.navrow-right { float: right; }
.navrow {
	background: #F1F1F1 url(images/bg_nav.gif) top left repeat-x; 
	border: solid 1px #E0E0E0;
	padding: 5px;
	color: #909090;
	text-align: left;
	font-size: 11px;
}
.navrow b, .navrow strong { font-weight: normal; }
.navrow a, .navrow a:visited {
	color: #1f1fc6;
	text-decoration: none;
}
.navrow a:hover { 
	color: #FF0000; 
	text-decoration: underline; 
}

a.link-new, a.link-new:visited { color: #FF0000; }
a.link-new:hover, a.link-new:visited:hover { color: #4B9A44; }

/* Content and tables */
#contentrow {
	padding: 5px 10px;
}

.tablebg {
	border: solid 1px #BBB;
	border-top-color: #C8C8C8;
	background: #F8F8F8 url(images/cell.gif) top left repeat-x;
}

.row1, .row2, .row3, .forumrules, tr.row1 .row, tr.row2 .row, tr.row3 .row, .postbottom {
	border-left: solid 1px #FFF;
	border-right: solid 1px #E0E0E0;
	border-top: solid 1px #FFF;
	border-bottom: solid 1px #E0E0E0;
	background: #F8F8F8 url(images/cell.gif) top left repeat-x;
	padding: 4px;
}
th {
	color: #AAA; 
	font-size: 11px; 
	font-weight: bold;
	background: #FFF url(images/th.gif) top left repeat-x;
	white-space: nowrap;
	padding: 0 5px;
	text-align: center;
	height: 26px;
	border-left: solid 1px #FFF;
	border-right: solid 1px #E0E0E0;
	border-top: solid 1px #FFF;
	border-bottom: solid 1px #E0E0E0;
}
th a, th a:visited {
	color: #AAA !important;
	text-decoration: underline;
}
th a:hover {
	color: #1f1fc6;
	text-decoration: underline;
}

td {
	padding: 2px;
}
td.profile {
	padding: 4px;
}
.catdiv {
	height: 24px;
	padding: 0 3px;
	border-left: solid 1px #FFF;
	border-right: solid 1px #E0E0E0;
	border-top: solid 1px #FFF;
	border-bottom: solid 1px #E0E0E0;
	background: #F1F1F1 url(images/bg_tfoot.gif) top left repeat-x;
}
.cat {
	height: 24px;
	padding: 0 3px;
	border-left: solid 1px #FFF;
	border-right: solid 1px #E0E0E0;
	border-top: solid 1px #FFF;
	border-bottom: solid 1px #E0E0E0;
	background: #F1F1F1 url(images/bg_tfoot.gif) top left repeat-x;
	text-indent: 4px;
}
.cathead {
	background: #F1F1F1 url(images/bg_tfoot.gif) top left repeat-x;
	height: 24px;
	padding: 1px 3px;
	border-left: solid 1px #FFF;
	border-right: solid 1px #E0E0E0;
	border-top: solid 1px #FFF;
	border-bottom: solid 1px #E0E0E0;
}

.legend {
	padding: 4px;
}


/* Table header */
caption { 
	margin: 0; 
	padding: 0;
	background: url(images/tcat_mid.gif) top left repeat-x;
	white-space: nowrap;
	height: 26px;
	text-align: left;
}
.cap-left {
	background: url(images/tcat_left.gif) top left no-repeat;
	padding-left: 25px;
}
.cap-right {
	background: url(images/tcat_right.gif) top right no-repeat;
	padding-top: 6px;
	height: 20px;
}
caption, caption h1, caption h2, caption h3, caption h4, caption span { 
	font-size: 13px;
	line-height: 1.2em;
	font-weight: bold;
	color: #1f1fc6;
	font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
}
caption h1, caption h2, caption h3, caption h4, caption span { 
	display: inline;
}
caption a, caption a:visited {
	color: #1f1fc6;
	text-decoration: underline;
}
caption a:hover {
	color: #FF0000;
	text-decoration: underline;
}

/* Footer */
#wrapfooter {
	text-align: center;
	color: #666;
	padding-top: 10px;
}

.copyright {
	color: #666;
	font-weight: normal;
	font-size: 9px;
	line-height: 1.2em;
}
.copyright a, .copyright a:visited {
	color: #444;
	text-decoration: underline;
}
.copyright a:hover { color: #FF0000; }


/* Breadcrumbs */
p.breadcrumbs {
	margin: 0;
	padding: 0;
	float: left;
	color: #AAA;
	font-weight: bold;
	white-space: normal;
	font-size: 1em;
}
.rtl p.breadcrumbs {
	float: right;
}

p.datetime {
	margin: 0;
	padding: 0;
	float: right;
	white-space: nowrap;
	font-size: 1em;
}

.rtl p.datetime {
	float: left;
}



.postbody li, ol, ul {
	margin: 0 0 0 1.5em;
}

.rtl .postbody li, .rtl ol, .rtl ul {
	margin: 0 1.5em 0 0;
}

.posthilit {
	background-color: #1f1fc6;
}

.postsubject {
	font-size: 12px;
	font-weight: bold;
	color: #1f1fc6;
}

.postbody a { text-decoration: underline; }

/* UCP */
.folder-current a, .folder-current a:visited {
	color: #000;
	font-weight: bold;
}
.folder-current a:hover { color: #FF0000; }

td.pm_marked_colour { background: #888; }
td.pm_marked_colour_left { border-left: solid 3px #888; padding-left: 2px; }
td.pm_marked_colour_right { border-right: solid 3px #888; padding-right: 2px; }

td.pm_replied_colour { background: #1f1fc6; }
td.pm_replied_colour_left { border-left: solid 3px #1f1fc6; padding-left: 2px; }
td.pm_replied_colour_right { border-right: solid 3px #1f1fc6; padding-right: 2px; }

td.pm_friend_colour { background: #007700; }
td.pm_friend_colour_left { border-left: solid 3px #007700; padding-left: 2px; }
td.pm_friend_colour_right { border-right: solid 3px #007700; padding-right: 2px; }

td.pm_foe_colour { background: #DD8100; }
td.pm_foe_colour_left { border-left: solid 3px #DD8100; padding-left: 2px; }
td.pm_foe_colour_right { border-right: solid 3px #DD8100; padding-right: 2px; }


/* Form Elements
 ------------ */
form {
	margin: 0px;
	padding: 0px;
	border: 0px;
}

textarea, select, .post, .btnbbcode, .btnmain, .btnlite, .btnfile, .helpline {
	font-weight: normal;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
	color: #444;
	border: 1px solid #888;
	background-color: #FFF;
}
#helpline { color: #444; }

input {
	font-size: 1.1em;
	padding: 1px;
}
textarea {
	font-size: 1.3em; 
	line-height: 1.4em;
	padding: 2px;
}
select {
	font-size: 1.1em;
	padding: 1px;
}

option {
	padding: 0 1em 0 0;
}

.rtl option {
	padding: 0 0 0 1em;
}

.post {
	border-style: solid;
	border-width: 1px;
}

.btnbbcode {
	font-size: 1.1em;
	border: 1px solid #86B184;
}
.btnbbcode:hover {
	border-color: #444;
	color: #000;
}

.btnmain {
	font-weight: bold;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
}

.btnlite {
	font-weight: normal;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
}

.btnfile {
	font-weight: normal;
	padding: 1px 5px;
	font-size: 1.1em;
}

.helpline {
	background-color: transparent;
	color: #444;
	border-style: none;
}

* html textarea, * html select, * html .post, * html .btnmain, * html .btnlite, * html .btnfile {
	border-color: #888;
}
textarea:hover, select:hover, .post:hover, .btnmain:hover, .btnlite:hover, .btnfile:hover {
	border-color: #1f1fc6;
}
textarea:focus, select:focus, .post:focus, .btnmain:focus, .btnlite:focus, .btnfile:focus {
	border-color: #275A25; 
	color: #000;
}

label:hover { 
	color: #FF0000; 
}



/* More misc stuff */
h1 {
/*	font-family: "Lucida Grande", "Trebuchet MS", Verdana, sans-serif; */
	font-weight: bold;
	font-size: 1.8em;
	text-decoration: none;
}

h2 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 1.5em;
	text-decoration: none;
	line-height: 120%;
}

h3 {
	font-size: 1.3em;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 120%;
}

h4 {
	margin: 0px;
	font-size: 1.1em;
	font-weight: bold;
}

p {
	font-size: 1.1em;
}

p.moderators {
	margin: 0px;
	float: left;
	color: #CCC;
	font-weight: bold;
}

.rtl p.moderators {
	float: right;
}

p.linkmcp {
	margin: 0px;
	float: right;
	white-space: nowrap;
}

.rtl p.linkmcp {
	float: left;
}

p.searchbar {
	padding: 2px 0;
	white-space: nowrap;
} 

p.searchbarreg {
	margin: 0px;
	float: right;
	white-space: nowrap;
}

.rtl p.searchbarreg {
	float: left;
}

p.forumdesc {
	padding-bottom: 4px;
}

p.topicauthor {
	margin: 1px 0px;
}

p.topicdetails {
	margin: 1px 0px;
}
td.history-current, tr.row1 td.history-current, tr.row2 td.history-current {
	background: #DDD;
}

table.colortable td {
	padding: 0;
}

pre {
	font-size: 1.1em;
	font-family: Monaco, 'Courier New', monospace;
}

.nowrap {
	white-space: nowrap;
}

.username-coloured {
	font-weight: bold;
}

.sep {
	color: #444;
}


/* bugs */
@media all and (min-width: 0px)
{
	/* reset file input style for Opera - it changes only text color and border, but not bg color */
	.btnfile, .btnfile:hover, .btnfile:focus { 
		border: none; 
		background-color: #FFF;
		color: #000;
	}

}