/*  
Theme Name: javiervidal
Theme URI: http://javiervidal.net/
Description: javiervidal
Version: 1.0
Author: Javier Vidal Postigo
Author URI: http://javiervidal.net/
*/

body {
  font: 85%/150% sans-serif, Helvetica, Verdana, Arial;
  color: #000000;
  margin: 0px;
  padding: 0px;
}

a, a:visited {
  color: blue;
  text-decoration: none;
}

a:hover {
  color: gray;
  text-decoration: underline;
}

img { 
  border: none;
}

p {
  padding: 0px 0px 1.5em;
  margin: 0px;
}

h2 {
  color: #333333;
  margin: 0;
  padding-bottom: 0.2em;
  letter-spacing: -1px;
  font-weight: bold;
  font-size: 1.8em;
  line-height: 130%;
}

h2 a, h2 a:visited {
  color: #333333;
  text-decoration: none;
}
h2 a:hover {
  color: gray;
  text-decoration: none;
}

h3 {
  font-weight: bold;
  font-size: 1.3em;
  color: #333333;
  letter-spacing: -1px;
}

form {
  margin:0px;
  padding:0px;
}

table {
  border-collapse: collapse;
  border: 3px solid silver;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1em;
  margin-bottom: 1.5em;
}

td, th {
  border: 1px dotted gray;
  padding: 0.2em 0.5em 0.2em 0.5em;
}

th {
  background-color: #f0f0f0;
}

td {
 font-size: 90%;
}

#page {
  margin: 0px auto;
  width: 62.5em;
}

/* ======================================================
   HEADER
   ====================================================== */

#title {
  margin: 0px auto;
  width: 62.5em;
}

#title h1 {
  margin:0;
  padding: 0 0 1.5em 0;
  font-weight: bold; 
  font-size: 1.5em;
  letter-spacing: -1px;
  color: gray;
}

#title h2 {
  margin:0;
  padding: 0.5em 0 0 0;
  font-weight: bold; 
  font-size: 3em;
  letter-spacing: -3px;
}

#title a, #title a:visited {
  color: #333333;
}

#title a:hover {
}

#nav {
  margin: 0px auto;
  width: 62.5em;
  height: 2em;
  border-bottom: 1px solid silver;
}

#nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#nav li {
  float: left;
  margin-right: 2em;
}

#nav .current_page_item a, #nav .current_page_item a:visited {
  color: black;
}

#nav .page_item a{
  /*display: block;*/
  font-size: 1.4em;
  color: gray;
  text-decoration: none;
  padding-top: 0.2em;
}

#nav .page_item a:hover {
  color: black;
}

/* ======================================================
   CONTENT
   ====================================================== */

#content {
  float: left;
  width: 40em;
  padding-right: 2.5em;
  padding-bottom: 3em;
  overflow: hidden;
}

#content ul {
  margin-top: 0px;
}

.post {
  clear:both;
  padding-top: 2em;
}

.post-title {
  float: left;
  padding: 0.6em 0 0 0;
  border-bottom: 1px solid silver;
  width: 40em;
}

.entry {
  clear: both;
  padding: 1em 0;
}

.entry ul {
  padding-bottom: 1.5em;
  margin: 0em;
}

.post-date {
  float:left;
}

.post-cat {
  background: url(images/tag.png) no-repeat;
  padding-left: 1.7em;
  float:left;
}

.post-comments {
  background: url(images/comments.png) no-repeat;
  padding-left: 1.7em;
  float: right;
}

.post-add-comment {
  background: url(images/comment_edit.png) no-repeat;
  padding-left: 1.7em;
  float: right;
}

.navigation {
  clear: both;
  padding: 2em 0px 3em;
}

.previous-entries a {
  float: left;
  padding-left: 2em;
  background: url(images/flecha_izda.png) no-repeat left center;
}
.next-entries a {
  float: right;
  padding-right: 2em;
  background: url(images/flecha_dcha.png) no-repeat right center;
}

/* ======================================================
   COMMENTS
   ====================================================== */

#comments, #respond {
  border-bottom: 1px solid silver;
  padding: 10px 0 5px 0;
  clear: both;
}

.commentlist {
  margin: 10px 0px;
  padding-left: 30px;
  line-height: 130%;
}

.commentlist li{
  padding: 5px 10px;
}

.commentlist .alt {
  background: #f9f9f9;
}

.commentlist cite {
  font-weight: bold;
  font-style: normal;
  font-size: 120%;
  color: #CC6600;
}

.commentlist cite a, .commentlist cite a:visited {
  color: #CC6600;
}

.commentlist small {
  margin-bottom: 5px;
  display: block;
  font-size: 87%;
}

#commentform {
  margin-top: 1em;
}

#commentform p {
  padding: 0.5em 0;
  margin: 0;
}

#commentform label {
  font-size: 85%;
  color: #333333;
}

#commentform input {
  width: 15em;
  background:#f9f9f9;
  border: 1px solid silver;
  padding: 3px;
  margin-top: 3px;
}

#commentform textarea {
  width: 98.5%;
  height: 12em;
  background:#f9f9f9;
  border: 1px solid silver;
  padding: 0.2em; 
  margin-top: 3px;
}

#commentform textarea:focus, #commentform input[type="text"]:focus {
  background: #ffffff;
}

#commentform #submit {
  background-color: #bfcfff;
  border: solid 1px #9191ff;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  padding: 2px;
  width: 10em;
  float: right;
}

/* ======================================================
   SIDEBAR
   ====================================================== */

#sidebar {
  float: right;
  padding-left: 1.5em;
  width: 18em;
  overflow: hidden;
  /*border-left: 1px solid silver;*/
}

/*sidebar title (h2) */
#sidebar h2, #sidebar .sidebartitle{
  margin: 20px 0px 10px;
  border-bottom: 1px solid silver;
  font-size: 1.2em;
}

/*sidebar list level1 */
#sidebar ul {
  margin: 0;
  padding: 0;
}
#sidebar ul li {
  list-style: none;
  margin: 0;
  padding: 0;
  border: none;
}
/*sidebar list level2 */
#sidebar ul li ul {
  padding: 0;
  margin: 0;
}
#sidebar ul li ul li{
  padding: 0px 0px 0.3em 0em;
}

ul li ul li.feeds {
  background: url(images/feed.png) no-repeat;
  padding-left: 1.7em !important;
}

/*category widget */
ul.list-cat li, li.widget_categories li{
  background: url(images/tag.png) no-repeat !important;
  padding-left: 1.7em !important;
}
/*archives widget */
ul.list-archives li, li.widget_archive li{
  background: url(images/calendar_view_month.png) no-repeat !important;
  padding-left: 1.7em !important;
}

#sidebar p {
  text-align: center;
  padding-top: 2.5em;
}

/* ======================================================
   SEARCH
   ====================================================== */
#buscar h2 {
  border: 0px;
  margin-bottom: 0px;
}

#searchform {
  margin: 0 0;
  padding-top: 0.5em;
}
/*
#searchform br {
  display: none;
}*/

#searchform p {
  margin: 0px;
  padding: 0px;
  text-align: left;
}

/* search form button - to specify button only use input[type="submit"] 
#searchform input[type="submit"] {
  background-color: #bfcfff;
  border: solid 1px #9191ff;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  padding: 2px;
  width: 5em;
}*/

#searchform input {
  font-size: 1em;
  border: 1px solid silver;
  background-color: #f9f9f9;
  width: 15em;
  padding: 3px;
}

#searchform input:focus {
  background: #ffffff;
}


/* ======================================================
   FOOTER
   ====================================================== */

#footer {
  margin: 0px auto;
  width: 62em;
  clear: both;
}

#footer p {
  padding: 2em 0 1em;
}

/* ======================================================
   ALINEACIONES
   ====================================================== */

.center {
  text-align: center;
}

.left {
  text-align: left;
}

.right {
  text-align: right;
}

img.center, img[align="center"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
}

img.alignleft, img[align="left"] {
  float:left;
  margin: 2px 10px 5px 0px;
}

.alignright {
  float: right;
}

img.alignright, img[align="right"] {
  float:right;
  margin: 2px 0px 5px 10px;
}

.clear {
  clear:both;
}

hr.clear {
  clear:both;
  visibility: hidden;
  margin: 0px;
  padding: 0px;
}

/* ======================================================
   wp_syntax
   ====================================================== */

.wp_syntax {
  color: #100;
  margin: 1px 1px 1.5em;
  padding: 0.3em 0.2em;
  overflow: auto;
  background-color: #f1f1f3;
  width: 33em;
  font-size: 1.1em;
}

/* IE FIX */
.wp_syntax {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: expression(this.scrollWidth > this.offsetWidth ? 15 : 0);
}
/*
.wp_syntax table {
  border-collapse: collapse;
}
*/
.wp_syntax div, .wp_syntax td {
  vertical-align: top;
  margin: 1px;
  padding: 1px;
}

.wp_syntax .line_numbers {
  text-align: right;
  background-color: #def;
  color: gray;
  overflow: visible;
}

/* potential overrides for other styles */
.wp_syntax pre {
  margin: 1px;
  padding: 1px;
  width: auto;
  float: none;
  clear: none;
  overflow: visible;
}

/* ======================================================
   blockquote
   ====================================================== */

blockquote {
  background: url(images/blockquote.gif) no-repeat left top;
  margin: 1em 0 2em;
  padding: 0;
}

blockquote p {
  margin: 0.5em 0 0 3em;
  padding: 0.5em;
  background-color: #ededed;
  border: 1px solid #9999cc;
  font-style: italic;
  font-weight: bold;
  color: #333333;
}


/* ======================================================
   foto
   ====================================================== */

.foto img {
  border: 1px solid silver;
  padding: 2px;
  margin-bottom: 0.5em;
}

.piedefoto {
  font-style: italic;
  font-size: 90%;
}


