
/*
THEME NAME: GAZ 2
THEME URI: http://www.plaintxt.org/themes/sandbox/
DESCRIPTION: Tema para el sitio del Gazteluzar Basket, basado en <a href="http://www.plaintxt.org/themes/sandbox/">Sandbox</a>
VERSION: 2.0
AUTHOR: <a href="http://carlos.rioja.name/">Carlos Rioja</a>
AUTHOR URI: http://carlos.rioja.name
TAGS: sandbox, microformats, hcard, hatom, xoxo, widgets
*/

/* ----- Tipografia ----- */

    /* Familias */

    body, input, textarea { font-family: 'Lucida Grande', Arial, sans-serif; }
	h1.entry-title, h2.entry-title, .page-title { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }

    /* Tamanos */

    body, .comment-addin, .reply, input, textarea, .footer-addin p, .sidebar, .form-label, p.wp-caption-text, .entry-meta, .comment-meta, table.stats { font-size: .85em; }
    h1.entry-title, h2.entry-title, .page-title { font-size: 2.25em; }
    .sidebar h2, .sidebar h3, .sidebar caption { font-size: 1em; }

    /* Grosores */

    a, caption, .comment-author, legend, .pregunta, .commentlist cite { font-weight: bold; }
    th, .comment-meta { font-weight: normal; }

    /* Alturas de linea */

    body { line-height: 1.5; }
    h1, h2, h3, h4, h5, h6, caption { line-height: 1.1; }

    /* Interletraje */

    h1.entry-title, h2.entry-title, .page-title { letter-spacing: -1px; }

    /* Alineamiento */

    .aligncenter, img.aligncenter, div.gallery dl, a#logo, .stats thead th, .stats td, object, embed,  .category-persona table.stats tfoot tr td:nth-child(2) { text-align: center; }
    caption, th, td, .home #content, .hentry, table th.th1, .category-persona table.stats tr th+td, .category-persona table.stats tr th:nth-child(2) { text-align: left; }
    div.navigation div.nav-next, .nav-next a { text-align: right; }

    caption, th, td, ol.archive li, .video-torneo object { vertical-align: top; }

    .sidebar, .alignright, img.alignright, #searchform, .edit-link, div.navigation div.nav-next, .columns-2.alignright, .comment-author .avatar { float: right; }
    .alignleft, img.alignleft, div#menu ul li, div.gallery dl, div.navigation div.nav-previous, .conversacion li cite, .home #content, div.hentry, .columns-2.alignleft, .sidebar .avatar { float: left; }

    /* Otros */

    .conversacion li cite, .commentlist cite { font-style: normal; }
    p.wp-caption-text { font-style: italic; }

/* ----- Colores ----- */

    /* Texto */

    body, #searchform #s:focus { color: #444; }
    h1, h2, h3, h4, h5, h6, .entry-meta strong, .comment-meta strong { color: #333; }
    #searchform #s, .comment-meta { color: #999; }

    #header, #menu a, .form-submit input, .button, .sidebar h2, .sidebar h2 a, #login, .sidebar tbody tr:hover *, .sidebar tbody tr:nth-child(odd):hover *, a:hover { color: #fff; }

    a, #menu a:hover, #menu li.current_page_item a, span.required { color: #062; }

    /* Fondo */

    body, #menu a:hover, #menu li.current_page_item a, input:focus, textarea:focus, #searchform #s, .sidebar tr:nth-child(odd) th, .sidebar tr:nth-child(odd) td, .sidebar tr:nth-child(odd) th, .sidebar tr:nth-child(odd) td, .comment.alt { background-color: #fff; }
    .home div.tag-anuncio, input, textarea, .comment, .sidebar, tbody tr:hover td, tbody tr:hover th, tbody tr:nth-child(odd):hover td, tbody tr:nth-child(odd):hover th, #footer, .single .entry-meta { background-color: #e6ffe6; }
    .sidebar h2 { background-color: #0c3; }
    #menu a { background-color: #040; }
    thead th, tfoot th, tfoot td, tr.header th, tr.header:nth-child(odd) th, table tr.gaz th, tr.gaz td, table tr.gaz:nth-child(odd) th, tr.gaz:nth-child(odd) td { background-color: #ccf5d7; }
    tbody tr:nth-child(odd) th, tbody tr:nth-child(odd) td, tbody tr.odd th, tbody tr.odd td, #linkcat-5 a:hover { background-color: #fafafa; }
    #header, .form-submit input, .button, a#logo, #login, h1.entry-title a:hover, h2.entry-title a:hover, .page-title a:hover, .sidebar tbody tr:hover *, .sidebar tbody tr:nth-child(odd):hover * { background-color: #062; }
    .comment-addin { background-color: #ffff99; }
    a#logo img, a#logo:hover img, .conversacion blockquote, .sidebar thead th { background: transparent; }
    .video-torneo { background-color: #eee; }
	.entry-content a, .comment-text a { background-color: #e6ffe6; }
    a:hover { background-color: #062; }

    /* Bordes */

    .archive-meta, table, table th, table td, table tfoot td, table tfoot th { border-color: #ccf5d7; }
    hr { border-top-color: #0c3; }
    input, textarea, .form-submit input, .button, .form-submit input:active, .form-submit input:focus, .button:active, .button:focus { border-color: #ccc; }
    input:focus, textarea:focus { border-color: #c2f79c; }
    table thead .block, table tfoot .block { border-right-color: #fff; }
    #login a:hover { border-color: #fff; }

/* ----- Cajas ----- */

    /* Bordes */

    a { text-decoration: none; }
    fieldset, hr, img, .commentlist a img, a#logo:hover, a#logo img, a#logo:hover img, #linkcat-5 a:hover, a img, .published, .navigation a:hover, #searchform #s, .sidebar table, table th, table td, #stimuli_lightbox a, .archive.tag-cartel ol li a, h1.entry-title a:hover, h2.entry-title a:hover, .page-title a:hover { border: 0; }

    hr,  table tfoot td, table tfoot th { border-top-style: solid; border-top-width: .2em; }

    input, textarea, input:focus, textarea:focus, table, table th, table td { border-style: solid; }    

    input, textarea, input:focus, textarea:focus, .form-submit input, .button, .form-submit input:active, .form-submit input:focus, .button:active, .button:focus { border-width: .2em; }

    .form-submit input, .button { border-style: outset; }
    .form-submit input:active, .form-submit input:focus, .button:active, .button:focus { border-style: inset; }

    /* Margenes */

    html, #menu ul, #menu ul ul, div.gallery *, .gallery, div.sidebar div, .conversacion blockquote, .sidebar h2, .sidebar ul ul, .sidebar caption, .comment.alt, .archive.tag-cartel ol li img, .tag-list, .tag-list li, .sidebar .gallery li, .category-persona ol.gallery li  { margin: 0; }

    #header, .sidebar, .sidebar h3, .comment-author { margin: 0 0 1em; }

    body, #wrapper, #menu, .footer-addin { margin: 0 auto; }
    #footer, caption, div.image, .video-torneo { margin: 1em 0 0; }
    .wplc_event_list h3 { margin: 1em 0 .5em; }
    textarea#comment { margin: .25em 0 .5em; }
    .alignright, .entry-content .sidebar { margin: 0 0 1em 1em; }
    .alignleft, .sidebar .avatar { margin: 0 1em 1em 0; }
    input, textarea { margin: .25em 0; }
    #linkcat-5 li { margin: 0 .5em; }
    .sidebar ul, .sidebar p, .sidebar div { margin: 1em; }
    #get-recent-comments img { margin: 0 .5em 0 0; }

    #menu ul li:hover ul { margin-top: .5em; }
    .entry-meta { margin-top: -.25em; }
    .single .entry-meta { margin: -2.3em 0 2em 0; }
    div#nav-below { margin-top: 1em; }
	.single .sidebar { margin-top: 4em;}

    #menu a, .conversacion li cite { margin-right: .5em; }

    h1.entry-title, h2.entry-title, .page-title { margin-bottom: .25em; }
    .hentry { margin-bottom: 2em; }

    .commentlist { margin-left: 0; }
    .comment-meta, .comment-author .avatar { margin-left: 1em; }


    .entry-title, .wplc_event_list p, .page-title { margin-top: 0; }
    .aligncenter, img.aligncenter, div.gallery dl { margin: 1em auto; }
    caption, div#nav-above, .widget ul, .commentlist li.comment, #get-recent-comments li, .archive-meta { margin-bottom: 1em; }
    object, table, div#nav-images, div.gallery, #nav-below a, .comment-addin { margin: 1em 0; }
    .conversacion blockquote p, .archive #content ol li { margin: .5em 0; }

    /* Espacios internos */

    .conversacion blockquote p, #menu ul, #menu ul ul, div.gallery *, .gallery, div.sidebar div, .conversacion blockquote, fieldset, .sidebar ul, .sidebar .wplc_event_list h3, .archive.tag-cartel ol, .tag-list { padding: 0; }

	#wrapper { padding-top: 1em; }

    #linkcat-5 a { padding: .1em; }
    input, textarea, .button { padding: .25em; }

    #searchform #s { padding: .25em .5em; }

    th, td { padding: .1em .5em; }
    #menu a { padding:.25em .5em 1em; }
    #footer { padding:.5em 0 3em 0; }
    .sidebar h2, .sidebar h3, .sidebar caption, #menu, .comment, #login { padding: .5em 1em; }
    a#logo { padding: 4em 2em 2em 2em; }
    .comment-addin, .home div.tag-anuncio, .single .entry-meta, .sidebar .gallery { padding: 1em; }
    
    legend { padding-right: .5em; }
    .sidebar tbody th, .sidebar .th1, .sidebar table td { padding: .1em 1em; }
    ol, ul.conversacion, .widget_links ul { padding-left: 0; }
    .clasificacion thead th { padding-bottom: .25em; }

/* ----- Listas ----- */

    ul, div.sidebar li, .entry-content ul.conversacion li, .commentlist li.comment, .gallery li, #menu ul, #menu ul ul, ol.calendar, ol.archive-list, .widget_links li, .archive.tag-cartel ol li, .tag-list { list-style: none; }
    .entry-content ul li { list-style-type: disc; }

/* ----- Posicionamiento ----- */

    body, #wrapper, #menu, .footer-addin { position: relative; }
    h1, .page h2, .entry-title, .page-title, #footer, #menu, div.gallery, #respond, #comments { clear: both; }
	table.comparativa { clear: none; }
	.sidebar { clear: right; }
    #menu ul li:hover ul { left:auto; }

    /* Ocultar */

    #blog-title a span, .no-display, #wpstats, .form-comment, #searchform label, #searchform input#searchsubmit, .commentlist li .reply, .home .tag-anuncio .entry-meta { position: absolute; top: 0; left: -999em; }
    #menu ul li ul { left:-999em; position:absolute; }
    legend { display: none; }

    #menu, div.gallery dl { overflow: hidden; }
    textarea#comment { overflow: auto; }

    /* Mostrar */

    #menu, #menu a, #footer, .aligncenter, img.aligncenter, a#logo, .conversacion li cite { display: block; }
    ol.archive li, .gallery li, .navigation a, #linkcat-5 a, .video-torneo img, .video-torneo object, .archive.tag-cartel ol li a, .category-persona ol.gallery li a { display: inline-block; }
    .widget_links ul ul, #equipo li, #linkcat-5 li, .wp-tag-cloud li, .archive.tag-cartel ol li, .tag-list li, .category-persona ol.gallery li { display: inline; }
	table.comparativa,  table.stats th, table.stats td { white-space: nowrap; }

/* ----- Medidas ----- */

    /* Larguras */

	body { width: 100%; }
	#wrapper, #menu, .footer-addin { width: 800px; }
    p, form, dl, .commentlist, #respond { max-width: 40em; }
    #searchform #s { width: 10em; }
	.home .tag-anuncio, .category-persona ol.gallery li { width: auto; }

    img, #footer p, p.wp-caption-text, textarea#comment { max-width: 100%; }

    table, div.gallery, div.gallery .gallery-columns-1, .columns-1, .sidebar table, .form-textarea, textarea, .button, .hentry { width: 100%; }
    .home #content, .single #content { width: 65%; }
    div.gallery .gallery-columns-2, .columns-2, div.navigation div, input, ol.archive li { width: 49%; }
    .columns-2.alignleft, .columns-2.alignright { width: 48%; }
    div.gallery .gallery-columns-3, .columns-3, .columns-3 th, .sidebar { width: 33%; }
    div.gallery .gallery-columns-4, .columns-4  { width: 24%; }
    div.gallery .gallery-columns-5, .columns-5 { width: 19%; }
    div.gallery .gallery-columns-6, .columns-6, .columns-6 th { width: 16%; }
	table.comparativa { width: 16em; }
	x.category-persona table.stats { max-width: 30em; }
	.sidebar .gallery img { width: 75px; height: 75px; }
	.sidebar.category-persona { width: 250px; }

    /* Alturas */

    #menu, #login { height: 2em; }
    textarea#comment { height: 13em; }
    div#nav-images { height: 150px; }

/* ----- Extra ----- */

table { border-collapse: collapse; border-spacing: 0; }
.form-submit input, .button { cursor: pointer; }

/* Redondeces */

input, textarea, .comment, .sidebar, .tag-anuncio, #linkcat-5 a:hover, .comment-addin, .video-torneo { -moz-border-radius: .5em; -webkit-border-radius: .5em; border-radius: .5em; }
#menu a, #menu a:hover, #menu li.current_page_item a, .sidebar h2:first-child, .sidebar.category-persona .image img { -moz-border-radius-topleft: .5em; -moz-border-radius-topright: .5em; -webkit-border-top-left-radius: .5em; -webkit-border-top-right-radius: .5em; border-radius-topleft: .5em; border-radius-topright: .5em; }

/* Sombras */

.sidebar h2 { text-shadow: #062 1px 1px 2px; background: #0c3 -webkit-gradient(linear, 0% 0%, 0% 100%, from(#00CC33), to(#00aa00), color-stop(1,#004400)); }

dt { float: left; margin-right: 1em; min-width: 4em; }
dd { margin: 0; }

#media-tag-list li, #media-tag-list img, .category-persona #content ol.gallery li img  { width: 100px; height: 100px; }
#media-tag-list li, #media-tag-list li p, #media-tag-list p a, #media-tag-list img { display: inline-block; margin: 0; padding: 0; }
