/* --------------------------------------------------------------

   reset.css
   * Resets default browser CSS.

-------------------------------------------------------------- */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body {
  line-height: 1.5;
}

/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
table, td, th { vertical-align: middle; }

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

/* Remove annoying border on linked images. */
a img { border: none; }

/* --------------------------------------------------------------

   typography.css
   * Sets up some sensible default typography.

-------------------------------------------------------------- */

/* Default font settings.
   The font-size percentage is of 16px. (0.75 * 16px = 12px) */
html { font-size:100.01%; }
body {
  font-size: 75%;
  color: #ccc;
  background: #031621 url(images/bg-body.png) no-repeat top center;
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
}


/* Headings
-------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #eee; }

h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
h2 { font-size: 2em; margin-bottom: 0.75em; }
h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
h6 { font-size: 1em; font-weight: bold; }

h1, .entry-title {
  background:#031621;
  color:#fff;
  font-size:1.5em;
  line-height:1.5em;
  padding:0.5em 1em;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

h1 img, h2 img, h3 img,
h4 img, h5 img, h6 img {
  margin: 0;
}

.block h2 {
  margin: 0 0 0.25em;
}

/* Text elements
-------------------------------------------------------------- */

p           { margin: 0 0 1.5em; }
p img.left  { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; }

a:focus,
a:hover     { color: #fff; background:#188c82; }
a           { color: #5dc4cd; text-decoration:none;}

blockquote  { margin: 1.5em; color: #666; font-style: italic; }
strong      { font-weight: bold; }
em,dfn      { font-style: italic; }
dfn         { font-weight: bold; }
sup, sub    { line-height: 0; }

abbr,
acronym     { border-bottom: 1px dotted #666; }
address     { margin: 0 0 1.5em; font-style: italic; }
del         { color:#666; }

pre 				{ margin: 1.5em 0; white-space: pre; }
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }


/* Lists
-------------------------------------------------------------- */

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

ul          { list-style-type: disc; }
ol          { list-style-type: decimal; }

dl          { margin: 0 0 1.5em 0; }
dl dt       { font-weight: bold; }
dd          { margin-left: 1.5em;}

ul.items-list {
  margin:0em;
}
/* Tables
-------------------------------------------------------------- */

table       { margin-bottom: 1.4em; width:100%; }
th          { font-weight: bold; }
thead th 		{ background: #c3d9ff; }
th,td,caption { padding: 4px 10px 4px 5px; }
tr.even td  { background: #e5ecf9; }
tfoot       { font-style: italic; }
caption     { background: #eee; }


/* Misc classes
-------------------------------------------------------------- */

.small      { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
.large      { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
.hide       { display: none; }

.quiet      { color: #666; }
.loud       { color: #000; }
.highlight  { background:#ff0; }
.added      { background:#060; color: #fff; }
.removed    { background:#900; color: #fff; }

.text-left   { text-align:left }
.text-center { text-align:center }
.text-right  { text-align:right }

.no-text { font-size:0em; line-height:0em; text-indent:-1000px }

/* --------------------------------------------------------------
       grid
-------------------------------------------------------------- */
.clearfix:after, .container:after {
  content: "\0020";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
  overflow:hidden;
}
.clearfix, .container {display: block;}
.clear { clear:both; }

.container {
  width: 740px;
  margin: 0 auto;
  padding: 1em 0 0;
}
.span {
  float: left;
  margin-right: 2em;
}

.first      { margin-left:0; padding-left:0; }
.last       { margin-right:0; padding-right:0; }
.top        { margin-top:0; padding-top:0; }
.bottom     { margin-bottom:0; padding-bottom:0; }

/* --------------------------------------------------------------

   forms

-------------------------------------------------------------- */

label       { display:block; font-weight: bold; font-size:1.2em; clear:both }
fieldset    { padding:1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; }
legend      { font-weight: bold; font-size:1.2em; }


/* Form fields
-------------------------------------------------------------- */

input[type=text], input[type=password],
input.text, input.title,
textarea, select {
  background-color:#fff;
  border:1px solid #bbb;
}
input[type=text]:focus, input[type=password]:focus,
input.text:focus, input.title:focus,
textarea:focus, select:focus {
  border-color:#666;
}

input[type=text], input[type=password],
input.text, input.title,
textarea, select {
  margin:0.5em 0;
}

input.text,
input.title   { width: 300px; padding:5px; }
input.title   { font-size:1.5em; }
textarea      { width: 350px; height: 150px; padding:5px; }

input[type=checkbox], input[type=radio],
input.checkbox, input.radio {
  position:relative; top:.25em;
}

form.inline { line-height:3; }
form.inline p { margin-bottom:0; }

.admin .item { padding: 0.5em; background: #222; margin: 0 0 0.5em }
.admin .span { margin-right: 10px; }
.admin .last { margin: 0; }
.admin .admin-titles { font-size: 1.2em; padding: 0.5em; background: #031621; margin: 0 0 0.5em }
.admin .name { width: 200px;}
.admin .created-at { width: 75px;}
.admin .actions { width: 75px;}

/* Success, notice and error boxes
-------------------------------------------------------------- */

.error,
.notice,
.success    { padding: .8em; margin-bottom: 1em; border: 2px solid #ddd; }

.error      { background: #FBE3E4; color: #8a1f11; border-color: #FBC2C4; }
.notice     { background: #FFF6BF; color: #514721; border-color: #FFD324; }
.success    { background: #E6EFC2; color: #264409; border-color: #C6D880; }
.error a    { color: #8a1f11; }
.notice a   { color: #514721; }
.success a  { color: #264409; }

ul.notice {
  list-style:none;
}
/* --------------------------------------------------------------

   forms

-------------------------------------------------------------- */
/* navbar */
#navbar {
  width:692px;
  margin:0 2em 1em;
}
#navbar .left-corner {
  float:right;
  padding: 0 0 0 12px;
  background: transparent url(images/bg-navbar-left.png) no-repeat top left;
}
#navbar .right-corner {
  padding: 0 12px 0 0;
  background: transparent url(images/bg-navbar-right.png) no-repeat top right;
}
#navbar ul {
  list-style:none;
  height:24px;
  margin:0;
  padding: 0.5em 1em;
  background:#000;
}
#navbar li {
  display:block;
  float:left;
}
#navbar a {
  padding:0 0.5em;
  margin-right:0.5em;
  font-size:1.2em;
  font-weight:bold;
  color:#86a0ab;
  text-decoration:none;
}
#navbar a {
  background:transparent;
}
#navbar li.current a {
  color:#fff;
}

/* sidebar */
#sidebar {
  width:238px;
  text-align: right;
}
#logo {
  display:block;
  padding:2em 0 0 4em;
  margin:0 0 1em;
  width:168px;
  height:58px;
}
#logo a {
  float:left;
  display:block;
  width:168px;
  height:58px;
}
#photo {
  margin: 0 0 0 2em;
}
.sidebar-block-top,
.sidebar-block-bottom {
  width:190px;
}

.sidebar-block-top {
  float:right;
  padding:10px 0 0;
  background:transparent url(images/bg-sidebar-block-top.png) no-repeat top left;
}
.sidebar-block-bottom {
  padding:0 0 10px;
  background:transparent url(images/bg-sidebar-block-bottom.png) no-repeat bottom left;
}
.sidebar-block-wrapper {
  width:142px;
  padding:1em 2em;
  background:transparent url(images/bg-block-wrapper.png) repeat top left;
}
#contact-details dt {
  color: #84949B;
  font-size: 1.2em;
}
#contact-details dd {
  margin:0 0 0.5em;
}
#contact-details dd a {
  color:#fff;
}
/* content */
#content {
  position:relative;
  width:430px;
  padding:1.5em 2em 2em;
  min-height:360px;
  background:#041724 url(images/bg-content.png) no-repeat top left;
}
#content-wrapper {
  width: 692px;
}
.block {
  margin:0 0 2em;
}
.block-top {
  padding:20px 0 0;
  background:transparent url(images/bg-block-top.png) no-repeat top left;
}
.block-bottom {
  padding:0 0 20px;
  background:transparent url(images/bg-block-bottom.png) no-repeat bottom left;
}
.block-wrapper {
  padding:0 20px;
  background:transparent url(images/bg-block-wrapper.png) repeat top left;
}

/* others */
#description {
  width:448px;
  margin:0 -9px 1em;
  height:173px;
  background:transparent url(images/bg-description.png) no-repeat top left;
}
h2.img-title {
  margin:0 0 12px;
}
h2#about-me-title {
  height:22px;
  background:transparent url(images/about-me-title.png) no-repeat top left;
}
h2#contacto-title {
  height:22px;
  background:transparent url(images/contacto-title.png) no-repeat top left;
}

/* Blog  */
.entry .entry-title {
  margin: 0 0 0.25em;
  line-height:1.5em;
  padding:0.25em 1em
}
#blog .count-1 .entry-title {
  background:#031621;
}
#blog .count-2 .entry-title {
  background:#03131c;
}
#blog .count-3 .entry-title,
#blog .count-4 .entry-title,
#blog .count-5 .entry-title {
  background:#00090e;
}
.entry-title a {
  display:block;
  color:#fff;
}
.entry-title a:hover {
  background:transparent;
}
.entry .content-text {
  margin: 0 0 1em;
}
.created_at .text,
.tags .text{
  color:#84949b;
}
.created_at {
  font-size:0.8em;
  margin:0 0 0.75em;
  padding:0 0 0 2em;
}
.separator{
  font-weight:bold;
  color:#cc9b33;
}
