
/*** GENÉRICOS ***/
*
{
    margin: 0;
    padding: 0;
}
body * /*Ojo que Lycos debe 'capar' la anterior orden, así que lo solucionamos con esto*/
{
    margin: 0;
    padding: 0;
}

a img
{
    border: 0;
}

h2.index, h2.content, h2.footer, h2.main_links, h2.nav, #skiplink
{
    display: none;
}
h3, h4
{
    font-family: arial;
    font-weight: bold;
    font-size: 1.3em;
}
h4
{
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
h5
{
    margin: 1em;
    font-size: 1.1em;
    text-align: left;
    text-decoration: underline;
}

body
{
    margin: 0 50px 50px 50px;
    background: #000066 url("../img/body.jpg");
    font-size: 0.8em;
    font-family: times new roman;
}
#all /*Por los floats de la portada, sino no se pintan correctamente las capas*/
{
    background: #eeeeee;
}

.new
{
    color: #ff0000;
    padding: 0 0.3em;
    font-weight: bold;
    font-style: italic;
}
.error, .warning, .info
{
    background: #dddddd url('../img/error.gif') no-repeat left center;
    padding: 0.2em 0.2em 0.2em 20px;
    font-weight: bold;
}
.error
{
    background-color: #ff0000;
    color: #ffcc33;
}
.warning
{
    background-image: url('../img/warning.gif');
}
.info
{
    background-image: url('../img/info.gif');
}
.date
{
    white-space: nowrap;
}

table, td, th
{
    border: 1px solid #000066;
    border-collapse: collapse;
}
table
{
    margin: 1em auto;
}
table caption
{
    font-weight: bold;
}
th
{
    padding: 0.2em;
    background: #000066;
    color: #eeeeee;
    font-weight: bold;
    text-transform: uppercase;
}
th a
{
    color: #eeeeee;
}
td
{
    padding: 0.2em;
    text-align: center;
}
tr.even
{
    background: #dddddd;
}
tr.villagoma
{
    background: #ff0000;
}
tr:hover
{
    background: #ffcc33;
}
/*tr.sortbottom /* Totales de una tabla*/
/*{
    background: ;
}*/
td.name, td.text
{
    text-align: left;
}
td.number
{
    text-align: center;
}
td.date
, td.time
, td.result
{
    white-space: nowrap;
}

blockquote
{
    text-align: justify;
}
cite
{
    font-weight: bold;
}

p
{
    text-align: justify;
}

ul, dl
{
    text-align: left;
}
dt
{
    font-weight: bold;
}

h4
{
    text-align: left;
}

a.extern
{
    background: url('../img/link_external.png') right center no-repeat;
    padding-right: 15px;
}
a.excel
{
    background: url('../img/link_excel.png') right center no-repeat;
    padding-right: 15px;
}
a.rss
{
    background: url('../img/rss.gif') right center no-repeat;
    padding-right: 20px;
}
a.mail
{
    background: url('../img/mail.gif') right center no-repeat;
    padding-right: 20px;
}
a.pdf
{
}
a.avi
{
    background: url('../img/divx.jpg') right center no-repeat;
    padding-right: 30px;
}

fieldset
{
    margin: 1em;
    border: 1px solid #000066;
    text-align: left;
}
legend
{
    margin-left: 10px;
    padding: 0 0.5em;
    color: #000066;
    font-weight: bold;
}
div.row
{
    padding: 0.5em;
    border-bottom: 1px dashed #000066;
}
div.form_buttons
{
    padding: 0.5em;
    text-align: center;
}
input, select
{
    font-size: 0.8em;
}
input.input_button
{
    padding: 0 0.5em;
    background: #000066;
    color: #eeeeee;
    font-weight: bold;
}
div.row label
{
    display: block;
    float: left;
    width: 30%;
}

/*** HEADER ***/
#header
{
    background: #ccaa33 url("../img/header.jpg") right bottom no-repeat;
}
h1
{
    float: left;
    height: 100px;
    width: 300px;
}

ul.nav_tabs, #finder
{
    height: 50px;
    margin-left: 300px;
    text-align: right;
}
/*Menu*/
ul.nav_tabs
{
    padding-left: 10px;
    background: transparent url("../img/ul_tabs_nav.jpg") repeat-x left bottom;
}
ul.nav_tabs li
{
    display: block;
    float: left;
    height: 25px;
    margin-top: 25px;
    background: #eeeeee url("../img/pestagna.jpg") no-repeat center center;
}
ul.nav_tabs li:hover
{
    background-image: url("../img/pestagna_hover.jpg");
}
ul.nav_tabs li.current
{
    background-image: url("../img/pestagna_current.jpg");
}
ul.nav_tabs li.current:hover
{
    background-image: url("../img/pestagna_current_hover.jpg");
}
ul.nav_tabs li a
{
    display: block;
    text-align: center;
    width: 70px;
    padding-top: 9px;
    font-size: 8px;
    font-weight: bold;
    font-family: verdana;
    text-transform: uppercase;
    text-decoration: none;
}
/*finder*/
#finder fieldset
{
    border: 0;
    margin: 0 20px 0 0;
    text-align: right;
}
#finder fieldset legend
{
    display: none;
}
#finder div.row
{
    margin: 10px 0 0 0;
    padding: 0;
    border: 0;
}
#finder input
{
    font-size: 0.8em;
    font-weight: bold;
    font-family: verdana;
}

/*** CONTENT ***/
#content
{
    clear: both;
    background: #eeeeee;
}

/*** FOOTER ***/
#footer
{
    clear: both;
    margin-top: 5px;
    padding: 20px 0;
    background: transparent url("../img/escudo.png") no-repeat left top;
    border-top: 3px solid #ccaa33;
    text-align: center;
}
#footer address
, #footer #copyright
, #footer #last_modification
, #footer #counter
, #footer ul li
{
    display: inline;
    margin: 2em 1em;
    white-space: nowrap;
}
#footer ul
{
    margin-top: 1em;
}
#footer hr
{
    display: none;
}
#footer ul
{
    text-align: center;
}
#footer ul li
{
    margin: 0.3em 0.15em;
    padding: 0 0.15em;
    border-left: 2px solid #ccaa33;
}

/*** HOME (portada) ***/
body.home h3
{
    display: none;
}
body.home #rowtop
, body.home #rowbottom
{
    clear: both;
    margin-top: 0px;/*1em;*/
    padding-top: 0px;
}
body.home #next_matches p
, body.home #last_matches p
{
    text-align: center;
}
body.home .section
{
    float: left;
    padding: 0 1%;
}
body.home #presentation
, body.home #next_matches
{
    width: 28%;
}
body.home #last_matches
{
    width: 38%;
}

body.home #rowbottom
{
    padding-top: 2%;
}
body.home #rowbottom .section
{
    width: 46%;
    background: #eeeeee;
}

body.home #next_matches
, body.home #last_matches
{
    text-align: center;
}
body.home .section ul
{
    margin-top: 1em;
    list-style: none;
    text-align: left;
}
body.home .section ul li
{
    margin: 0.2em 0;
}
body.home .section ul span.date
{
    padding-left: 20px;
    background: url("../img/date.gif") no-repeat left center;
}

body.home h4
, h3
{
    min-height: 30px; /*Para el dibujico*/
    margin-bottom: 0.2em;
    padding-left: 30px;
    background: url("../img/h4.png") no-repeat left top;
    text-align: left;
    font-style: italic;
}
body.home h4 span
, h3 span
{
    padding: 0 40px 0 5px;
    border-bottom: 3px solid #000066;
}
body.home p.match
{
    font-size: 1.5em;
}
body.home p.result
{
    font-weight: bold;
    font-size: 2.5em;
}
body.home .section ul .date
{
    margin-right: 0.5em;
    font-weight: bold;
}
body.home .first
{
    background: #dddddd;
}
body.home #rowbottom ul li
{
    margin: 0.7em 0;
}

/*** Menú lateral ***/
ul.nav
{
    float: left;
    width: 10em;
    padding: 0px;
    padding-bottom: 20px;
    background: url("../img/end_section.gif") no-repeat center bottom;
    list-style: none;
}
ul.nav li
{
    border-top: 1px solid #dddddd;
    padding: 0;
    margin: 0;
}
ul.nav li a
{
    display: block;
    padding: 0.5em 1em 0.5em 20px;
    background: url("../img/menu_li.jpg") no-repeat 2px center;
}
ul.nav li.current a
{
    background-image: url("../img/menu_li_current.jpg");
}
ul.nav li a:hover
{
    background-image: url("../img/menu_li_hover.jpg");
}

/*** Página interiores ***/
#subcontent
{
    margin-left: 10em;
    padding: 0 1em;
    border-left: 1px solid #dddddd;
    text-align: center;
}
/*home clearfix*/
#subcontent:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
#subcontent {display: inline-block;}
/* Hides from IE-mac \*/
* html #subcontent {height: 1%;}
#subcontent {display: block;}
/* End hide from IE-mac */
/*end clearfix*/

body.home #subcontent
{
    margin-left: 0;
    padding-left: 0;
    border: none;
}

/*** Plantilla 2 (con dl) ***/
body.template2 dt
{
    display: inline;
    border-bottom: 3px solid #000066;
}
body.template2 dd
{
    margin-top: 0.5em;
    padding-bottom: 30px;
    background: url("../img/end_section.gif") no-repeat center bottom;
    text-align: justify;
}
body.template2 dd ol /*En plantillas*/
, body.template2 dd ul /*En palmares*/
{
    margin-left: 2em;
}

/*** Plantilla 3 (con ul.list) ***/
body.template3 ul.list
{
    margin-left: 1em;
}
body.template3 ul.list li
{
    margin: 1em 0;
}
body.template3 .date
{
    font-weight: bold;
}

/*** Calendario ***/
body.calendario tr
{
    background: transparent;
}
body.calendario #months
, body.calendario #months td
{
    border-width: 0;
    vertical-align: top;
}
body.calendario #months .month td
{
    border-width: 1px;
}
body.calendario .played
{
    background: #ccaa33;
}
body.calendario .pendiente
{
    background: #ff0000;
}
body.calendario #leyend caption
{
    text-align: center;
    margin: 0 auto;
}

/*** Equipaciones ***/
body.equipaciones dl
{
    float: left;
    width: 30%;
}
body.equipaciones dd
{
    width: 170px;
    text-align: center;
}

/*** Palmarés ***/
body.palmares dl img
{
    display: block;
    width: 70px;
    height: auto;
}

/*** Sede ***/
#map_sede /*Google Maps*/
{
    width: 511px;
    height: 426px;
    background: #000;
    margin: 5px auto;
}

/*** Fotos, Escudos ***/
body.photos dl
{
    float: left;
    width: 170px;
    min-height: 30em;
    margin: 1.5em;
    background:  url("../img/dl_bottom.jpg") no-repeat bottom center;
    color: #eeeeee;
}
body.photos dl a
{
    color: #eeeeee;
}
body.photos dt
{
    padding-top: 20px;
    background: url("../img/dl_top.jpg") top center no-repeat;
    text-align: center;
}
body.photos dt img /* Relación 4/3 */
{
    width: 160px;
    height: 120px;
    cursor: pointer;
    border-top: 2px solid #000;
    border-left: 2px solid #000;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;
}
body.photos dd
{
    padding: 0.5em;
}
body.photos dl.avi a.avi
{
    display: block;
    padding: 0 0 20px 0;
    background: transparent url(../img/view_divx.gif) bottom center no-repeat;
}

body.fields #oficial_field
{
    float: none;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
body.fields #oficial_field img
{
    height: auto;
    background: #dddddd;
}
body.fields dl
{
    min-height: 15em;
}

/*** Con pestañas dentro (fotos, escudos)**/
body.photos #subcontent /*Sólo para el ménu lateral*/
{
    padding-right: 0em;
}
body.fields #subcontent
{
    padding-right: 1em;
}
ul.subnav
{
    float: right;
    width: 100px;
    min-height: 35em;
    padding: 1em 10px 30px 0;
    list-style: none;
    background: #ccaa33 url("../img/menu_sub_pestagna.jpg") no-repeat left bottom;
}

ul.subnav li
{
    height: 30px;
    padding-top: 10px;
    padding-left: 10px;
    background: url("../img/sub_pestagna.jpg") no-repeat right center;
    text-transform: uppercase;
    font-weight: bold;
}
ul.subnav li:hover
{
    background: url("../img/sub_pestagna_hover.jpg") no-repeat right center;
}
ul.subnav li.current
{
    background: url("../img/sub_pestagna_current.jpg") no-repeat right center;
}
ul.subnav li.current:hover
{
    background: url("../img/sub_pestagna_current_hover.jpg") no-repeat right center;
}
ul.subnav li a
{
    text-decoration: none;
}

/*** Páginas especiales ***/
body.data_match p.result
{
    margin: 1em 0 0 0;
    padding: 0.5em;
    color: #eeeeee;
    background: #000066;
    border: 1px solid #000066;
    text-align: center;
    font-weight: bold;
    font-size: 1.5em;
}
body.data_match dl
{
    border: 1px solid #000066;
}
body.data_match dt
{
    margin-left: 2em;
}
body.data_match dd
{
    text-align: center;
    border-bottom: 1px solid #000066;
}
body.data_match table
{
    margin: 0;
    width: 100%;
}

body.visit_book ul
{
    list-style: none;
}
body.visit_book blockquote
{
    margin: 1em;
    padding-top: 1em;
    border-top: 2px solid #ccaa33;
}
body.visit_book blockquote
{
    text-align: right;
}

body.brazil p.explication
{
    clear: both;
    margin: 1em;
}
body.brazil dl
{
    height: 200px;
    min-height: 200px;
}
body.brazil dt img /* Relación 4/3 */
{
    width: 150px;
    height: 134px;
}

#point_table
{
    background-image: none;
}
#point_table dt
{
    float: left;
    margin-right: 0.5em;
}
#valuablest_player
{
    margin-bottom: 1em;
    padding-left: 40px;
    background: url(../img/valuablest_player.png) no-repeat left center;
}
#goalest_player
{
    margin-bottom: 1em;
    padding-left: 40px;
    background: url(../img/goalest_player.png) no-repeat left center;
}
#delantero_valuablest
, #defensa_valuablest
, #portero_valuablest
, #valuablest_team
{
    margin-bottom: 1em;
    padding-left: 40px;
    text-align: left;
}
#delantero_valuablest table
, #defensa_valuablest table
, #portero_valuablest table
, #valuablest_team table
{
    margin-left: 1em;
    margin-right: 1em;
}

/*** X Aniversario***/
body.x_anniversary dd li
{
    display: inline;
    margin-left: 0.7em;
    padding-right: 0.7em;
    border-right: 1px solid #000;
}

body.x_anniversary div.anniversary_match
{
    float: left;
    width: 45%;
    height: 23em;
    margin: 0.2em;
    border: 2px solid #000066;
    text-align: center;
}
body.x_anniversary div.anniversary_match p.result
{
    padding: 0.5em 0;
    color: #000066;
    border-bottom: 2px dotted #000066;
    font-size: 1.3em;
    font-weight: bold;
    text-align: center;
}
body.x_anniversary div.anniversary_match p.time
{
    text-align: center;
}
body.x_anniversary div.anniversary_match table
{
    margin: 0;
    width: 100%;
}

