/*
Theme Name: Elegant Grunge
Theme URI: http://atastypixel.com/blog/wordpress/themes/elegant-grunge/
Description: An unwashed yet crisp theme with layouts options, support for custom background and header, widget-ready footer, and an optional full-width page template that removes the sidebar.
Author: Michael Tyson
Author URI: http://atastypixel.com/blog
Version: 1.0.4-wpcom
Tags: tan, brown, gray, dark, light, one-column, two-columns, three-columns, left-sidebar, right-sidebar, fixed-width, custom-header, custom-menu, theme-options, sticky-post, rtl-language-support, translation-ready, full-width-template, blog, art, abstract, artistic, dark, faded, grungy, paper-made, textured, photoblogging
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* =General
-------------------------------------------------------------- */
body {
	background: #f3f4ee;
	color: #666;
	font-family: "Palatino", "Georgia", "Baskerville", serif;
	margin: 0;
	padding: 0;
}
a {
	color: #5f5f5f;
}
img {
	border: 0;
}


/* =Menu
-------------------------------------------------------------- */
#menu {
	background: #191919;
	border-bottom: 1px solid #373737;
	display: block;
}
#menu .menu-header {
	background-color: #191919;
	margin: auto auto 0 auto;
	width: 800px;
}
.content-sidebar-sidebar #menu .menu-header {
	width: 947px;
}
#menu .menu-header ul,
#menu li,
div.menu ul {
	list-style: none;
	margin: 0;
}
#menu .menu-header li,
div.menu li {
	float: left;
	position: relative;
}
#menu a {
	color: #868686;
	display: block;
	line-height: 3.0em;
	padding-right: 40px;
	text-decoration: none;
}
#menu ul ul {
	box-shadow: 0px 2px 3px rgba(100, 100, 100, 0.2);
	-moz-box-shadow: 0px 2px 3px rgba(100, 100, 100, 0.2);
	-webkit-box-shadow: 0px 2px 3px rgba(100, 100, 100, 0.2);
	display: none;
	float: left;
	position: absolute;
	left: 0;
	top: 38px;
	padding-left: 0;
	width: 180px;
	z-index: 99999;
}
#menu ul ul li {
	min-width: 180px;
}
#menu ul ul ul {
	left: 100%;
	top: 0;
}
#menu ul ul a {
	height: auto;
	line-height: 1em;
	padding: 10px;
	width: 160px;
}
#menu li:hover > a,
#menu ul ul :hover > a {
	color: #fff;
}
#menu ul li:hover > ul {
	background: #191919;
	display: block;
}
#menu ul li.current_page_item > a,
#menu ul li.current-menu-ancestor > a,
#menu ul li.current-menu-item > a,
#menu ul li.current-menu-parent > a {
	color: #fff;
}
* html #menu ul li.current_page_item a,
* html #menu ul li.current-menu-ancestor a,
* html #menu ul li.current-menu-item a,
* html #menu ul li.current-menu-parent a,
* html #menu ul li a:hover {
	color: #fff;
}
.sub-menu {
	padding-left: 0;
}


/* =Header
-------------------------------------------------------------- */
#header-wrap {
	background: url(images/header-repeat.png) repeat-x center top;
	position: relative;
}
#header-image {
	display: block;
	margin-left: 50%;
	position: absolute;
	top: 14px;
	left: -400px;
	width: 800px;
	height: 134px;
}
.content-sidebar-sidebar #header-image {
	top: 0;
	left: -477px;
	width: 956px;
	height: 160px;
}
#header-image img {
	max-width: 100%;
	width: auto;
	height: auto;
}
.content-sidebar-sidebar #header-image img {
	max-width: auto;
	width: 956px;
	height: 160px;
}
#header {
	background: url(images/header.png) no-repeat center;
	height: 216px;
	position: relative;
}
.no-sidebar #header {
	background-image: url(images/header-no-sidebar.png);
}
.content-sidebar-sidebar #header {
	background-image: url(images/header-double-sidebar.png);
}
.sidebar-content #header {
	background-image: url(images/rtl-header.png);
}
#header div {
	margin: 0 auto;
	width: 800px;
	height: 168px;
}
.content-sidebar-sidebar #header div {
	width: 947px;
}
#header div a {
	display: block;
	width: 100%;
	height: 168px;
}
#header h1,
#header h2 {
	float: left;
	font: 2.2em / 169px "Georgia", "Baskerville", serif;
	margin: 0 0 0 0.5em;
	position: relative;
	z-index: 11;
}
#header h1 a,
#header h2 a,
#header div a {
	color: #d3d3d3;
	font-weight: normal;
	font-style: normal;
	text-decoration: none;
	text-shadow: #000 0 1px 2px;
}
#blog-description {
	background: none;
	color: #d3d3d3;
	line-height: 135%;
	margin: 0 30px 0 0;
	padding: 0;
	position: relative;
	top: 55px;
	left: 1.3em;
	text-shadow: #000 0 1px 1px;
	z-index: 10;
}


/* =Layout
-------------------------------------------------------------- */
#content-container {
	background: url(images/body.png) center top repeat-y;
}
.no-sidebar #content-container {
	background-image: url(images/body-no-sidebar.png);
}
.content-sidebar-sidebar #content-container {
	background-image: url(images/body-double-sidebar.png);
}
.sidebar-content #content-container {
	background-image: url(images/rtl-body.png);
}
#content {
	margin: 0 auto;
	width: 800px;
}
.content-sidebar-sidebar #content {
	width: 947px;
}
#content-body {
	float: left;
	width: 490px;
	padding: 0 20px;
}
.no-sidebar #content-body {
	float: none;
	width: 760px;
}
.sidebar-content #content-body {
	float: right;
}
.gallery-item {
	min-width: 33%;
}

/* =Sidebar
-------------------------------------------------------------- */
#sidebar {
	font-size: 0.875em;
	float: right;
	position: relative;
	left: -15px;
	width: 220px;
}
.content-sidebar-sidebar #sidebar {
	font-size: 0.8em;
	float: left;
	position: relative;
	left: 28px;
	width: 181px;
}
.content-sidebar-sidebar #sidebar-2 {
	font-size: 0.8em;
	float: right;
	position: relative;
	left: -8px;
	width: 169px;
}


/* =Footer
-------------------------------------------------------------- */
#footer-wrap-outer {
	background: url(images/footer-repeat.gif) repeat-x 0 325px;
	margin-top: -51px;
}
#footer-wrap {
	background: url(images/footer.png) no-repeat center top;
	padding: 91px 0 30px 0;
	width: 100%;
}
.no-sidebar #footer-wrap {
	background-image: url(images/footer-no-sidebar.png);
}
.content-sidebar-sidebar #footer-wrap {
	background-image: url(images/footer-double-sidebar.png);
}
.sidebar-content #footer-wrap {
	background-image: url(images/rtl-footer.png);
}
#footer {
	min-height: 30px;
	margin: 0 auto;
	padding: 90px 7px 0 7px;
	position: relative;
	width: 800px;
}


/* =Content
-------------------------------------------------------------- */
h1, h2 {
	color: #3b3b3b;
	font-size: 2.4em;
	font-weight: normal;
	line-height: 1em;
	margin: 0 0 0.5em 0;
}
h1.page-title, h2.page-title {
	line-height: 1.3em;
}
h1.entry-title, h2.entry-title {
	margin-bottom: .25em;
}
.archive .entry-title {
	font-size: 1.6em;
}
h2 a {
	text-decoration: none;
	color: #3b3b3b;
}
.sticky {
	color: #3b3b3b;
	background: url(images/sticky-back.png) center center no-repeat;
}
.post .entry {
	clear: both;
	font-size: 0.875em;
	line-height: 1.3em;
}
.entry h1 {
	font-size: 2em;
}
.entry h2 {
	font-size: 1.8em;
}
.entry h3 {
	font-size: 1.6em;
}
.entry h4 {
	font-size: 1.5em;
}
.entry h5 {
	font-size: 1.3em;
}
.entry h6 {
	font-size: 1.2em;
}
.entry h1,
.entry h2,
.entry h3,
.entry h4,
.entry h5,
.entry h6 {
	color: #666;
	font-weight: normal;
	line-height: 1.3em;
	margin: 0 0 10px 0;
}
.post .entry blockquote,
.comment-content blockquote {
	color: #808080;
	margin: 0;
	padding: 0 30px;
}
.wp-post-image {
	float: left;
	margin: 0 10px 0 0;
}
.post .entry img {
	max-width: 100%;
	width: auto;
	height: auto;
}
.post .entry p img.alignleft {
	margin: 0 10px 0 0;
}
.post .entry p img.alignright {
	margin: 0 0 0 10px;
}
.post .entry img.size-thumbnail {
	margin-top: 10px;
	margin-bottom: 10px;
}
.post .entry table {
	margin: 1em 0;
}
.post .entry ul li,
.post .entry ol li {
	line-height: 150%;
}
.post .post-author {
	color: #949494;
	font-size: 14px;
}
.post .post-author a {
	color: #949494;
	font-size: 14px;
	text-decoration: none;
}
.post .post-author a:hover {
	color: #3b3b3b;
}
.post .info {
	color: #bcbcbc;
	font-size: 0.8em;
}
.post .post-date {
	background-image: url(images/date-wide.png);
	width: 136px;
	height: 73px;
	text-align: center;
	float: right;
	font-size: 13px;
	line-height: 26px;
	color: #a9a9a9;
	font-weight: bold;
	margin-right: -8px;
}
.post .post-date a,
.post .post-date span {
	text-decoration: none;
	margin-left: 4px;
	margin-top: 8px;
	display: inline-block;
	text-align: center;
	color: #a9a9a9;
}
.post .post-date a:hover {
	color: #3b3b3b;
}
.metadata {
	margin-top: 40px;
	text-align: center;
	font-size: 0.7em;
	color: #797979;
}
.metadata a {
	text-decoration: none;
}
.nav-previous {
	float: left;
}
.nav-next {
	float: right;
}
.nav-previous a,
.nav-next a {
	font-size: 0.875em;
	color: #88897b;
}
.more-link {
	clear: both;
	display: block;
	margin-top: 30px;
	margin-left: 20px;
	font-size: 0.875em;
	color: #88897b;
	background: url(images/more-link.png) no-repeat left center;
	padding-left: 30px;
}
.hr {
	background-color: #f8faf7;
	background-image: url(images/hr.png);
	border: 0;
	clear: both;
	color: #f8faf7;
	margin: -4px auto 0;
	width: 426px;
	height: 121px;
}
.hr hr {
	display: none;
}
.sticky .hr {
	background-image: url(images/hr-sticky.png) !important;
}
.adcode {
	font-size: 12px;
}
.navigation {
	width: 100%;
	margin-top: 50px;
}
.single .navigation {
	margin-top: 0;
}
#image-navigation {
	width: 100%;
	margin-top: 15px;
}
#image-navigation a {
	margin: 0 5px;
}
.navigation a,
#image-navigation {
	text-decoration: none;
	font-size: 0.7em;
}
.navigation .previous {
	float: right;
}
.navigation .next {
	float: left;
}
.search_result {
	margin-left: 20px;
}
.search_result h4 {
	margin-left: -20px;
}
.search_result h4 a {
	text-decoration: none;
}
.search_result .metadata {
	color: #BFC4C1;
	margin-top: 10px;
	text-align: left;
}
.search_result .metadata a {
	color: #BFC4C1;
}
#entry-author-info {
	font-size: 0.8em;
	line-height: 1.15em;
	clear: both;
}
#entry-author-info {
	margin-top: 20px;
	margin-bottom: 40px;
}
body.author #entry-author-info {
	margin: 20px 0 40px 0;
	clear: both;
}
#entry-author-info h2 {
	font-size: 1.5em;
	color: #666;
}
#author-avatar {
	float: left;
	width: 60px;
	display: inline;
}
#author-description {
	float: left;
	width: 415px;
	margin-left: 15px;
	line-height: 125%;
}
#author-description .more-link {
	margin-top: 20px;
}
div.the_attachment,
.entry-caption {
	text-align: center;
}
.thumbs-nav {
	text-align: left;
}
.thumbs-nav p.prev-post {
	float: left;
}
.thumbs-nav p.next-post {
	float: right;
}


/* =WordPress
-------------------------------------------------------------- */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft {
	float: left;
}
.alignright {
	float: right;
}
.clear {
	clear: both;
}
.wp-caption {
	border: none;
	text-align: center;
	background-color: #f8faf7;
	padding-top: 4px;
}
.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
#wpstats {
	float: right;
	margin-top: -6px;
}


/* =Comments
-------------------------------------------------------------- */
#commentlist {
	padding: 0;
	list-style-type: none;
	margin-top: 16px;
	margin-left: 40px;
}
#commentlist li {
	margin-top: 16px;
	margin-left: 30px;
	max-width: 460px;
}
#commentlist li .comment-content,
#commentlist li .before-comment,
#commentlist li .after-comment,
#commentlist li .after-comment div {
	background: transparent url(images/comment.jpg) no-repeat top right;
}
#commentlist li.bypostauthor .comment-content,
#commentlist li.bypostauthor .before-comment,
#commentlist li.bypostauthor .after-comment,
#commentlist li.bypostauthor .after-comment div {
	background-image: url(images/comment-author.jpg);
	color: #000;
}
#commentlist li.trackback .comment-content,
#commentlist li.trackback .before-comment,
#commentlist li.trackback .after-comment,
#commentlist li.trackback .after-comment div,
#commentlist li.pingback .comment-content,
#commentlist li.pingback .before-comment,
#commentlist li.pingback .after-comment,
#commentlist li.pingback .after-comment div {
	background-image: url(images/comment-reaction.jpg);
	color: #000;
}
#commentlist li .comment-content {
	position: relative;
	padding: 28px 0 0px 0;
}
#commentlist li .before-comment {
	position: absolute;
	left: 0;
	top: 0;
	width: 27px;
	margin-left: -27px;
	height: 100%;
	background-position: top left;
}
#commentlist li .after-comment {
	position: relative;
	width: 100%;
}
#commentlist li .after-comment,
#commentlist li .after-comment div {
	height: 40px;
	font-size: 1px;
}
#commentlist li .after-comment {
	background-position: bottom right;
}
#commentlist li .after-comment div {
	position: relative;
	width: 27px;
	margin-left: -27px;
	background-position: bottom left;
}
#commentlist .comment {
	margin: 0;
	font-size: 12px;
	padding-right: 0;
}
.comment-text {
	margin-left: 42px;
	margin-right: 10px;
	margin-top: 24px;
	font-size: 13px;
	padding-right: 15px;
	word-wrap: break-word;
}
.comment-text * {
	margin-bottom: 0;
	padding-bottom: 0;
}
.trackback .comment-text,
.pingback .comment-text {
	margin-left: 0;
}
#commentlist .comment .reply {
	font-size: 0.875em;
	margin-right: 25px;
	text-align: right;
	position: relative;
	top: 15px;
	z-index: 100;
}
#commentlist .comment .reply a {
	color: #b3b3b3;
	text-decoration: none;
}
#commentlist .comment .reply a:hover,
#commentlist .comment .reply a:active {
	color: #5f5f5f;
	text-decoration: none;
}
.avatar {
	float: left;
	margin: 0 10px 0 0 !important;
}
.comment cite,
.comment cite a {
	width: 400px;
	display: block;
	word-wrap: break-word;
}


/* =Comments Form
-------------------------------------------------------------- */
#commentform input[type="text"] {
	width: 310px;
	padding: 5px;
	border: 1px solid #f2f2f2;
	float: right;
}
#commentform p {
	width: 400px;
}
textarea {
	width: 460px;
	height: 100px;
	margin: 0;
	padding: 5px;
	border: 1px solid #f2f2f2;
}
#commentform .logged-in-as,
#commentform .comment-notes {
	font-size: 12px;
	width: 460px;
}
#commentform p label {
	margin: 6px 0 8px 0;
	display: inline-block;
}
#commentform .form-allowed-tags {
	font-size: 12px;
	color: #b3b3b3;
}


/* =Sidebar
-------------------------------------------------------------- */
.sidebar h2 {
	font-size: 1.4em;
	color: #676767;
	margin-bottom: 20px;
	display: block;
	clear: both;
}
.sidebar div,
.sidebar p {
	word-wrap: break-word
}
.sidebar a {
	color: #9f9f9f;
}
.sidebar ul,
.sidebar ul ol {
	margin: 0;
	padding: 0;
}
.sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 25px;
}
.sidebar ul p,
.sidebar ul select {
	margin: 5px 0 8px;
}
.sidebar ul ul,
.sidebar ul ol {
	margin: 5px 0 0 10px;
}

.sidebar ul ul ul,
.sidebar ul ol {
	margin: 0 0 0 10px;
	word-wrap: break-word
}
ol li, .sidebar ul ol li {
	list-style: decimal outside;
}
.sidebar ul ul li,
.sidebar ul ol li {
	margin: 3px 0 0 5px;
	padding: 0;
	line-height: 150%;
	list-style-type: square;
	color: #999;
}
.sidebar img {
	max-width: 100%;
	height: auto;
}


/* =Sidebar-Search
-------------------------------------------------------------- */
.sidebar #searchform div,
#footer #searchform div {
	background: url(images/searchform.png) left top no-repeat;
	width: 226px;
	height: 49px;
	margin-left: -7px;
}
#footer #searchform div {
	background: url(images/searchform-footer.png) left top no-repeat;
}
#sidebar-2 #searchform div {
	margin-left: -15px;
}
.sidebar #searchform div #s,
#footer #searchform div #s {
	border: 0;
	margin-top: 14px;
	margin-left: 19px;
	width: 149px;
	height: 16px;
	color: #909090;
	font-size: 1.0em;
	outline: none;
}
.sidebar #searchform div #searchsubmit,
#footer #searchform div #searchsubmit {
	border: 0;
	background: none;
	width: 39px;
	height: 26px;
	margin-left: 4px;
	overflow: hidden;
	cursor: pointer;
	font-family: "Palatino", "Georgia", "Baskerville", serif;
	color: #999;
	font-size: 0.7em;
	text-transform: lowercase;
}
.content-sidebar-sidebar .sidebar #searchform div {
	background-image: url(images/searchform-double-sidebar.jpg);
	width: 190px;
	height: 45px;
	margin-left: -3px;
}
.content-sidebar-sidebar .sidebar #searchform div #s {
	border: 0;
	margin-top: 14px;
	margin-left: 19px;
	width: 117px;
	height: 16px;
	color: #909090;
	font-size: 0.875em;
	outline: none;
}


/* =Sidebar-Tag-Cloud
-------------------------------------------------------------- */
.widget_tag_cloud a {
	text-decoration: none;
}


/* =Sidebar-Flickr
-------------------------------------------------------------- */
.widget_flickr table {
	background-color: transparent !important;
	border: 0 !important;
	border-collapse: collapse; /* remove cell-spacing value */
	width:100%;
}
.widget_flickr table img {
	max-width: 185px;
}
.widget_flickr table#flickr_badge_uber_wrapper {
	border: none;
	border-spacing: 0;
}
.widget_flickr table#flickr_badge_wrapper {
	background: none !important;
}
.widget_flickr table#flickr_badge_uber_wrapper a {
	color: #9f9f9f;
}
#footer table#flickr_badge_uber_wrapper,
#footer table#flickr_badge_wrapper {
	border: none !important;
	padding: 0;
	border-spacing: 0;
	width: 100% !important;
}
#footer .widget_flickr table#flickr_badge_wrapper td br {
	display: none;
}
#footer .widget_flickr table#flickr_badge_wrapper td a {
	width: 110px;
	height: 110px;
	display: inline-block;
	float: left;
	overflow: hidden;
	margin-top: 5px;
}
#footer .widget_flickr table#flickr_badge_wrapper td a:last-child {
	margin-top: 10px;
	width: 100%;
	text-align: center;
}
#footer .widget_flickr table#flickr_badge_wrapper td img {
	float: left;
	width: 105px;
	height: auto;
}


/* =Sidebar-Authors
-------------------------------------------------------------- */
.widget_authors li {
	height: 50px;
	display: block;
}


/* =Sidebar-Calendar
-------------------------------------------------------------- */
#calendar_wrap {
	margin: 0;
}
#wp-calendar {
	width: 100%;
}
#wp-calendar th {
	text-align: left;
}


/* =Widgets
-------------------------------------------------------------- */
.widget-wrap h2 a {
	color: #fff !important;
}
.timesince {
	margin: 0 4px;
}


/* =Sidebar-Footer
-------------------------------------------------------------- */
#footer #subscribe-rss {
	position: absolute;
	top: 0;
	left: 0;
}
#footer #subscribe-rss a {
	background-image: url(images/rss.png);
	display: block;
	margin-top: -5px;
	margin-left: -115px;
	text-indent: -999em;
	width: 149px;
	height: 126px;
}
#footer .legal,
#footer .credit {
	color: #5f5f5f;
	position: relative;
	top: 10px;
}
#footer .legal {
	float: left;
}
#footer .credit a {
	text-decoration: none;
}
#footer .credit {
	float: right;
}
#footer .widget-wrap {
	float: left;
	width: 264px;
	margin-bottom: 36px;
}
#footer .widget {
	margin-right: 21px;
	margin-left: 21px;
}
#footer {
	font-size: 0.8em;
	line-height: 1.1em;
}
#footer a {
	color: #a3a3a3;
}
#footer h2 {
	color: #fff;
	font-size: 1.3em;
	margin-bottom: 15px;
	font-weight: normal;
	font-style: normal;
}
#footer .widget > ul,
#footer .widget > ol,
#footer .widget div > ul,
#footer .widget div > ol {
	list-style: none;
	padding-left: 0;
}
#footer ul, #footer ol {
	list-style: none;
	padding-left: 15px;
}
#footer li {
	line-height: 140%;
}


/* =Clear fixes
-------------------------------------------------------------- */
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.clearfix {
	height: 1%;
}
*:first-child + html .clearfix {
	min-height: 1px;
}
