
/*---------------------------------------------------------------- 
  Copyright: 
  Copyright (C) 2009 - 2011 danielfajardo web

  License: GNU General Public License v2.0
  License URI: http://www.gnu.org/licenses/gpl-2.0.html

  Author: 
  danielfajardo - http: //wwww.danielfajardo.com
---------------------------------------------------------------- */


.clear {
	clear: both;
	height: 0;
}

.alignright, .alignleft {
	padding: 0;
	margin: 8px 10px;
	display: inline;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin-bottom: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption-text {
	margin: 8px 0;
	padding: 0;
	border: 0 none;
	font-size: 11px;
	line-height: 1.2em;
}

.wp-caption-dd {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

.gallery-caption {
}


/* general
************************************* */

body.post, body.page, body.attachment, body.hentry, body.sticky { padding: 0 !important; }

img.size-auto, img.size-full, img.size-large, img.size-medium, .attachment img {
	height: auto;
	max-width: 100%;
}

#content > :first-child { padding-top: 0; margin-top: 0; }

.content-header { margin-bottom: 16px; }

.post, .page, .attachment, .hentry, .sticky {
	overflow: visible;
	clear: both;
	margin-bottom: 32px;
}

.post_mark {
	width: 40px;
	height: 32px;
	float: left;
	margin-top: 4px;
	margin-left: -57px;
	background: transparent url(../images/sys/postMark.png) 0px 0px no-repeat;
}


/* postmetadata & postnav
************************************* */

.postnav, .postmetadata {
	overflow: hidden;
	clear: both;
	font-size: 12px;
	line-height: 1.5em;
	color: #888;
	}

.postmetadata.top { border-bottom: 1px solid #cdd; margin: 8px 0 15px; }
.postmetadata.bottom { margin: 8px 0;}
.postmetadata.edit { margin-top: 8px; }

.postmetadata .metalabel, .postmetadata .icon, .postmetadata .data {
	display: inline;
	float: left;
	overflow: hidden;
}
.postmetadata .metalabel {
	margin-right: 15px;
}
.postmetadata .icon {
	width: 16px;
	height: 16px;
	background: url(../images/icons/metadata.png);
	background-repeat: no-repeat;
}
.postmetadata .data {
	margin-left: 5px;
}

.postmetadata .metalabel .date       { background-position: -16px 0; }
.postmetadata .metalabel:hover .date { background-position: 0 0; }

.postmetadata .metalabel .author         { background-position: -16px -16px; }
.postmetadata .metalabel:hover .author   { background-position: 0 -16px; }

.postmetadata .metalabel .comment        { background-position: -16px -32px; }
.postmetadata .metalabel:hover .comment  { background-position: 0 -32px; }

.postmetadata .metalabel .category       { background-position: -16px -48px; }
.postmetadata .metalabel:hover .category { background-position: 0 -48px; }

.postmetadata .metalabel .tag            { background-position: -16px -64px; }
.postmetadata .metalabel:hover .tag      { background-position: 0 -64px; }

.postmetadata .metalabel .edit           { background-position: -16px -80px; }
.postmetadata .metalabel:hover .edit     { background-position: 0 -80px; }


/* post-meta (custom fields)
************************************* */

.post-meta {
	margin: 20px 0;
	padding-left: 10px;
	border-left: 2px solid #555;
	color: #777;
	}
	.post-meta li {
		list-style-type: none;
	}
	.post-meta span.post-meta-key {
		color: #444;
	}


/* pagenavigator
************************************* */

.pagenavigator {
	clear: both;
	height: 29px;
	font-size: 11px;
	line-height: 15px;
	margin-bottom: 1px;
	border: 1px solid #cdd;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	background: white;
	}
	.pagenavigator a,
	.pagenavigator .page-link span.page,
	.pagenavigator span.current { margin: 0 6px 0 0; padding: 3px; }
	.pagenavigator a.page       {}
	.pagenavigator span.current {
		color: #aa0a0a;
		background: #e0e0e0 url(../images/sys/noise-bg.png);
		border-radius: 7px;
		-moz-border-radius: 7px;
		-webkit-border-radius: 7px;
	}
	.pagenavigator .page-link a span.page { margin: 0; padding: 0; }


/* the entry
************************************* */

.entry {
	clear: both;
	font-size: 14px;
	line-height: 20px;
	}
	.entry span.readmore {
		font-size: .85em;
		letter-spacing: .07em;
		text-shadow: rgba(0, 0, 0, 0.2) 0px 1px 2px;
		color: #aa0a0a;
	}
	.entry img {
		margin: 0;
	}
	.entry p img {
		margin-right: 20px;
	}
	.entry img.alignleft {
		margin: 10px 20px 5px 0;
		float: left;
	}
	.entry img.alignright {
		margin: 10px 0 5px 20px;
		float: right;
	}
	.entry img.aligncenter {
		margin: 10px auto;
		display: block;
		text-align: left;
	}
	.entry .size-thumbnail {
		margin: 10px;
	}
	.entry blockquote {
		font-size: .9em;
	}
	.entry blockquote blockquote {
		font-size: .9em;
	}
	.entry fieldset {
		padding: 1em 1em 1em 2em;
		margin-bottom: 1em;
		border: 1px dashed #ccc;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	}
	.entry fieldset legend {
		font-weight: bold;
		text-transform: uppercase;
		margin: -.25em 0 -.25em -3em;
		padding: .25em 1em .25em 1em;
		border: 1px solid #ccc;
		border-radius: 7px;
		-moz-border-radius: 7px;
		-webkit-border-radius: 7px;
	}
	.entry table, .comment-body table {
		margin: 16px 0;
		border-width: 0 1px 1px 0;
		border-style: solid;
		border-color: #ccc;
		font-size: 0.9em;
	}
	.entry table tr td, .comment-body table tr td {
		padding: 5px 10px;
		border-width: 1px 0 0 1px;
		background: white;
		border-style: solid;
		border-color: #ccc;
	
	}
	.entry table tr th, .comment-body table tr th {
		border-width: 1px 0 0 1px;
		border-style: solid;
		border-color: #ccc;
		padding: 5px 10px;
		background: #f0f0f0;
		color: #666;
		font-weight: bold;
		text-align: center;
	}


/* the sticky
************************************* */

.sticky{
	padding: 20px 30px 20px 20px !important;
	margin: 0 0 40px 0;
	border-left: 10px solid #cdd;
	background: #fafbfc url(../images/sys/noise-bg.png);
	-webkit-border-top-right-radius: 7px;
	-webkit-border-bottom-right-radius: 7px;
	-moz-border-radius-topright: 7px;
	-moz-border-radius-bottomright: 7px;
	border-top-right-radius: 7px;
	border-bottom-right-radius: 7px;
	
	}
	.sticky h3 {
		margin-bottom: .5em;
	}
	.sticky p {
		color: #222;
		text-align: justify;
	}


/* the post-gallery
************************************* */

.post-gallery {}

.post-gallery dl {
	margin: 0;
}
.post-gallery dd {
	padding: 0 10px;
}


/* Comments
**************************************************************** */

form#commentform input#submit {
	float: right;
}
form#commentform .required {
	color: red;
}

#comments {
	line-height: 1.5em;
	margin: 0 0 20px 0;
	}
	#comments .browse {
		clear: both;
		height: 20px;
		margin: 0 0 10px;
	}

.commentlist {
	margin: 10px 0;
	}
	.commentlist li {
		list-style: none;
		padding: 10px;
	}

li.comment {
	border: 1px solid #cdd;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	margin-bottom: 20px;
	padding-top: 1em;
	font-size: 12px;
	}
	li.comment div, li.pingback div {
	}
	.vcard img.avatar {
		float: left;
		border: 1px solid #eee;
		padding: 2px;
		margin: 0 20px 1em 0;
		background: #fff;
	}
	.vcard cite {
		font-weight: bold;
		font-size: 12px;
	}
	.vcard span {
		font-size: 10px;
	}
	.commentmetadata {
		font-size: 10px;
	}
	
	li.comment p {
		clear: both;
	}
	
	li.comment blockquote {
		clear: both;
		font-size: 12px;
		min-height: 2em;
	}
	.reply {
		font-size: 10px;
	}

.commentlist li.even {
	background: #f9f9f9;
}

.commentlist li.odd {
	background: #fff;
}

.commentlist .bypostauthor {
}

/* .comment-body table -> see the entry section */
.comment-body ul,
.comment-body ol {
}
.comment-body ul ul,
.comment-body ol ol {
	margin-bottom: 0;
}
.comment-body ul li {
	list-style: circle;
	padding: 0;
}
.comment-body ul ul li {
	list-style: disc;
	padding: 0;
}
.comment-body ol li {
	list-style: decimal;
	padding: 0;
}
.comment-body ol ol li {
	list-style: lower-alpha;
	padding: 0;
}

#respond {
	font-size: 12px;
	}
	#respond p.small {
		font-size: 10px;
	}
	#respond textarea {
		width: 96%;
	}
	#respond div.cancel-comment-reply {
		padding: 10px 0 0;
	}

#commentform {
	padding-bottom: 30px;
}


/* Sidebar
**************************************************************** */

#sidebar h2,
#bottom-sidebar h2 {
	margin-bottom: .5em;
	font-size: 1.6em;
}
#bottom-sidebar h2 {
	color: #aa0a0a;
	font-size: 1.4em;
}
#sidebar h2:hover {
	cursor: pointer;
}

#sidebar a,
#bottom-sidebar a {
	font-size: 1.2em;
	background: none;
}

#sidebar ul,
#sidebar ul ol,
#bottom-sidebar ul,
#bottom-sidebar ul ol {
	margin: 0;
	padding: 0;
}

#sidebar ul li,
#bottom-sidebar ul li {
	margin: 0;
	padding: 0;
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 20px;
}
#bottom-sidebar ul li {
	margin-bottom: 8px;
}


#sidebar ul p,
#bottom-sidebar ul p,
#sidebar ul select,
#bottom-sidebar ul select {
	margin: 5px 0 8px;
}

#sidebar ul ul,
#bottom-sidebar ul ul,
#sidebar ul ol,
#bottom-sidebar ul ol {
	margin: 5px 0 0 0;
}

#sidebar ul ul ul,
#bottom-sidebar ul ul ul,
#sidebar ul ol,
#bottom-sidebar ul ol {
	margin: .5em 0 .5em 1em;
}

#sidebar ul ol li,
#bottom-sidebar ul ol li {
	list-style: decimal outside;
}

#sidebar ul ul li,
#bottom-sidebar ul ul li,
#sidebar ul ol li,
#bottom-sidebar ul ol li {
	padding: 0;
	margin: .5em 0 .5em 0;
}

/* TagCloud */

.tagcloud a {
	line-height: normal;
}

/* Calendar */

#wp-calendar {
 	font-size: 1.2em;
	empty-cells: show;
	margin: 20px auto 0;
	color: #888;
}

#wp-calendar a {
 	font-size: 1.0em;
	display: block;
	font-weight: bold;
}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
}
#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
}

#wp-calendar caption {
	margin: 5px 0;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	font-weight: lighter;
 	font-size: .8em;
 	color: #444;
	text-align: right;
}

#wp-calendar th {
	padding: 4px 6px 4px 5px;
	font-weight: lighter;
 	font-size: .8em;
 	color: #666;
	text-align: right;
	background: #f4f4f4;
}

#wp-calendar td {
	padding: 5px;
	text-align: right;
	}
	#wp-calendar td#today {
		color: #aa0a0a;
		background: #e0e0e0 url(../images/sys/noise-bg.png);
		border-radius: 7px;
		-moz-border-radius: 7px;
		-webkit-border-radius: 7px;
	}
	#wp-calendar td#prev a {
		padding: 0;
		text-align: left;
		font-weight: normal;
	}
	#wp-calendar td#next a {
		padding: 0;
		text-align: right;
		font-weight: normal;
}
