/*
THEME NAME: Diego Martinez
THEME URI: 
DESCRIPTION: Custom Wordpress theme for Diego Martinez
VERSION: 1.0.0
AUTHOR: By <a href="http://www.henrytapia.com/">Henry Tapia</a>
AUTHOR URI:
TAGS: sandbox, microformats, hcard, hatom, xoxo, widgets, blank slate, starter theme, minimalist, developer
*/

/*
global reset
----------------------------------------
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

body {
	line-height: 1;
	color: black;
	background: white;
}

ol, ul {
	list-style: none;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}

caption, th, td {
	text-align: left;
	font-weight: normal;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}

blockquote, q {
	quotes: "" "";
}

/* 
default element styles
----------------------------------------
*/

html {
height: 100%;
}

body {
background: #48120c url(images/bg-body.jpg) repeat-x; 
background-attachment: fixed; 
text-align: center; 
font-size: 87.5%; 
font-family: Georgia, Times New Roman, serif; 
color: #CBB9B2;
line-height: 1.45em;
}

h1, h2, h3, h4 {
margin: .25 0;
font-weight: bold;
color: #dfaa3a;
text-shadow: 1px 1px 1px rgba(0,0,0,.75);
}

h1 {
font-size: 2em;
}

h2 {
font-size: 1.5em;
font-weight: normal;
margin: 1.5em 0 1em 0;
}

h1 a, h2 a, h3 a, h4 a {
color: #dfaa3a;
}

p {
margin: 0 0 .75em;
}

a {
text-decoration: none;
color: #fff;
}

a:hover {
text-decoration: underline;
}

strong {
font-weight: bold;
}

ul li {
list-style-type: none;
/* margin: .25em 0; */
}

/* 
common layout
----------------------------------------
*/
#wrapper {
width: 960px;
margin: 0 auto;
text-align: left;
}

#header {
position: relative;
margin: 20px 0 0;
}

div#header #blog-title {
width: 338px;
height: 30px;
padding: 20px 10px 0 10px;
background: url(images/title-diegomartinezmontano.png) 10px 10px no-repeat;
background-color: #3a0e05; 
background-color: rgba(0,0,0,.3); 
}

#header #blog-title a {
display: block;
height: 30px;
text-indent: -9999px;
}

#header #blog-description {
float: right;
width: 387px;
text-align: right;
}

#container {
/*float:right;
margin:0 0 10px -160px;
width:100%;
*/
}

#content {
float: left;
width: 720px;
min-height: 800px;
margin:0;
padding: 20px;
background: #3a0e05;
background: rgba(0,0,0,.3);
}

/* side navigation bar */
.sidebar {
float:left;
overflow:hidden;
width:180px;
padding: 0 0 0 20px;
}

.sidebar .xoxo > li {
margin-bottom: 1.5em;
border-bottom: 1px dotted #744d46;
border-bottom: 1px dotted rgba(255, 255, 255, 0.25);
}

.sidebar li h3 {
padding: 3px 5px;
}

.sidebar li li {
border-top: 1px dotted #744d46;
border-top: 1px dotted rgba(255, 255, 255, 0.25);
}

.sidebar li li a {
padding: 3px 5px;
display: block;
}

.sidebar  li li a:hover {
background-color: #7e2202;
background-color: rgba(0,0,0,.15);
text-decoration: none;
}

#primary #pages h3,
#primary #categories h3 {
display: none;
}

#primary #pages li {
margin: 0;
font-size: 1.097em;
}

#primary #pages li.active > a {
color: #000;
}

#primary #pages li.active ul {
display: block;
}

#primary #pages li ul {
display: none;
border-bottom: 1px solid #c9c8c9;
margin-bottom: 6px;
}

#primary #pages li li {
border-top: 1px solid #c9c8c9;
font-size: .901em;
}

#primary #pages li li.current_page_parent a {
color: #000;
}

#primary #pages li li a{
color: #666;
}

#primary #pages li li li {
border: 0;
font-size: 1em;
}

.sidebar li#recent-work {
border: 0;
}

.sidebar li#recent-work li {
float: left; 
margin: 5px 5px 0 5px;
border-top: 0;
}

.sidebar li#recent-work li a {
padding: 0;
display: inline;
}

.sidebar li#recent-work li img{
-moz-box-shadow:0 2px 8px rgba(0, 0, 0, 0.5);
-webkit-box-shadow:0 2px 8px rgba(0, 0, 0, 0.5);
}

.sidebar li#search {
border-bottom: none;
}

.sidebar li#search form {
padding: 3px 5px;
}

.sidebar li#social {
border: 0;
}

.sidebar li#social li {
float: left;
margin: 5px 0 0 5px;
border: 0;
}

.sidebar li#social li.rss {
background: url(images/rss_16.png) no-repeat;
}

.sidebar li#social li.flickr {
background: url(images/flickr_16.png) no-repeat;
}

.sidebar li#social li.facebook {
background: url(images/facebook_16.png) no-repeat;
}

.sidebar li#social li.twitter {
background: url(images/twitter_16.png) no-repeat;
}

.sidebar li#social li a {
display: block;
width: 16px;
height: 16px;
text-indent: -9999px;
padding: 0;
}

.sidebar li#social li a:hover {
background-color: transparent;
}

/* footer */
#footer {
clear: both;
padding: 10px 220px 20px 20px;
}

#footer p.copyright,
#footer p.credit {
color: #744d46;
color: rgba(255, 255, 255, 0.3);
padding-bottom: 1em;
}

#footer p.copyright {
float: left;
}

#footer p.credit {
float: right;
font-size: .786em;
}

#footer p.credit a {
color: rgba(255, 255, 255, 0.6);
}

/* home */
.home #container { 
margin: 0 auto; 
width: 960px; 
text-align: left; 
}

.home .splash { 
margin: 60px 0 0 240px; 
}

.home .splash h1  img { 
background: #3a0e05; 
background: rgba(0,0,0,.3); 
}

.home .splash .hero img {
padding: 10px;
background: #3a0e05; 
background: rgba(0,0,0,.3); 
}

.home .splash ul.thumbs { 
margin: 0; 
width: 500px; 
height: 75px; 
padding: 0 10px 10px; 
background: #3a0e05; 
background: rgba(0,0,0,.3); 
}

.home .splash ul.thumbs li { 
float: left; 
margin-left: 10px; 
}

.home .splash ul.thumbs li:first-child {
margin-left: 0;
} 

.home .splash p.enter a { 
color: #cbb9b2;
}

.home .splash p.enter a:hover { 
color: #fff;
}

.home .splash p.enter a span { 
display: block; 
width: 140px; 
padding: 0 10px 4px 10px;
background: #3a0e05; 
background: rgba(0,0,0,.3); 
font-weight: bold;
}

/* main content area  - posts */
#content .post .entry-meta,
#content .page .entry-meta {
float: left;
width: 160px;
margin: 66px 20px 10px 0;
padding-top: 10px;
font-family: Arial, Helvetica, sans-serif;
font-size: .786em;
text-align: right;
line-height: 1.35em;
}

.archive #content .post .entry-meta,
.archive #content .page .entry-meta,
.search-results #content .post .entry-meta,
.search-results #content .page .entry-meta,
.category #content .post .entry-meta,
.category #content .page .entry-meta {
margin-top: 12px;
}

#content .post .entry-meta p {
margin: 0;
}

#content .post .entry-content,
.search-results #content .page .entry-content {
float: left;
width: 520px;
padding: 0 10px 20px;
border-bottom: 1px dotted #744d46;
border-bottom: 1px dotted rgba(255, 255, 255, 0.25);
}

.archive #content .post .entry-content,
.search-results #content .post .entry-content {
margin-bottom: 1.5em;
}

#content .entry-content img{
border: 10px solid #3a0e05; 
border: 10px solid rgba(0,0,0,.2);
}

/* main content area  - comments */

#content #comments {
margin-top: 2em;
border-top: 1px dotted #744d46;
border-top: 1px dotted rgba(255, 255, 255, 0.25);
}

#content #comments h3 {
margin: 1em 0;
}

#content #comments li.comment {
position: relative;
min-height:6em;
}

#content #comments .comment-meta, #content #comments .comment-content {
float: left;
}

#content #comments .comment-meta {
font-family: Arial,Helvetica,sans-serif;
font-size: 0.786em;
margin: 0 20px 10px 0;
padding-top: 10px;
text-align: right;
width: 160px;
}

#content #comments .comment-content {
padding: 0 10px 20px;
width: 520px;
}

#content #comments #respond {
margin-top: 2em;
}

#content #comments .comments li.comment .comment-meta .avatar {
left:130px;
position:absolute;
top:5em;
-moz-box-shadow:0 2px 8px rgba(0, 0, 0, 0.5);
-webkit-box-shadow:0 2px 8px rgba(0, 0, 0, 0.5);
}

#content #comments #respond .form-label {
float: left;
text-align: right;
width: 160px;
margin-bottom: 10px;
}

#content #comments #respond .form-input  {
float: left;
width: 520px;
margin: 0 0 10px 40px;
}

#content #comments #respond .form-textarea {
float: left;
width: 520px;
margin-left: 40px;
}

#content #comments #respond .form-submit {
clear: both; 
padding: 10px 0 0 200px;
}

#content #comments #respond .subscribe-to-comments {
margin: 2em 0 1em 200px;
}

/* contact form*/
div.wpcf7-response-output {
border: 0 none !important;
color: #CBB9B2;
font-weight: bold;
margin: 2em 0 !important;
padding: 0 !important;
}

div.wpcf7-mail-sent-ok  {
color: #DFAA3A;
}

div.wpcf7-validation-errors,
span.wpcf7-not-valid-tip-no-ajax   {
color: #fff !important;
font-size: inherit;
}


/* default theme stuff */
.entry-title,.entry-meta {
clear:both;
}

form#commentform span.required {
color:#c30;
}

form#commentform,form#commentform p {
padding:0;
}

input#author,input#email,input#url,textarea#comment {
padding:0.2em;
}

div.comments ol li {
margin:0 0 3.5em;
}

textarea#comment {
height:13em;
margin:0 0 0.5em;
overflow:auto;
}

.alignright,img.alignright{
float:right;
margin:1em 0 0 1em;
}

.alignleft,img.alignleft{
float:left;
margin:1em 1em 0 0;
}

.aligncenter,img.aligncenter{
display:block;
margin:1em auto;
text-align:center;
}

div.gallery {
clear:both;
height:180px;
margin:1em 0;
width:100%;
}

p.wp-caption-text{
font-style:italic;
}

div.gallery dl{
margin:1em auto;
overflow:hidden;
text-align:center;
}

div.gallery dl.gallery-columns-1 {
width:100%;
}

div.gallery dl.gallery-columns-2 {
width:49%;
}

div.gallery dl.gallery-columns-3 {
width:33%;
}

div.gallery dl.gallery-columns-4 {
width:24%;
}

div.gallery dl.gallery-columns-5 {
width:19%;
}

div#nav-above {
margin-bottom:1em;
}

div#nav-below {
margin: 1em 0 0 180px;
}

div#nav-below .nav-next{
float: right;
}

div#nav-images {
height:150px;
margin:1em 0;
}


div#menu ul li,div.gallery dl,div.navigation div.nav-previous {
float:left;
}


/* 
slightly enhanced, universal clearfix hack 
-----------------------------------
 */
.clearfix:after { visibility: hidden; display: block; font-size: 0; 	content: " "; clear: both; height: 0; }
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */
