/*
Theme Name: Almanac
Theme URI: http://www.vivathemes.com/almanac-free-responsive-wordpress-theme/
Description:  A responsive blog theme that enables you to build your personal website quickly and effectively. The theme comes with a built in lightbox for featured images or you can embed a video instead of the featured image.
Author: Viva Themes
Author URI: http://www.vivathemes.com
License: GNU GPL
License URI: http://www.gnu.org/licenses/gpl.html
Version: 1.1.6
Tags: light, gray, orange, two-columns, left-sidebar, fluid-layout, custom-background, custom-menu, featured-images, full-width-template 
Text Domain: almanac
*/

*{margin:0; padding:0;}

body {
	background: #f3f0ed;
	color: #666;
	line-height: 165%;
	font-family: 'Trebuchet MS', arial, helvetica, tahoma, sans-serif;
	font-size: 12px;
	margin:0;
	padding:0;
}
	
h1 {
	font-size: 26px;
	color: #333;
	margin-top: 20px;
	text-transform: none;
	font-weight: normal;
	line-height: 28px;
}

h2 {
	color: #333;
	margin:0;
	padding:0;
	margin-top: 20px;
	text-transform: none;
	font-weight: normal;
	font-size: 22px;
	line-height: 22px;
}

h3 {
	color: #333;
	margin:0;
	padding:0;
	margin-top: 20px;
	text-transform: none;
	font-weight: normal;
	font-size: 20px;
	line-height: 22px;
}

h4 {
	color: #333;
	margin:0;
	padding:0;
	margin-top: 20px;
	text-transform: none;
	font-weight: normal;
	font-size: 16px;
	line-height: 22px;
}

h5 {
	color: #333;
	margin:0;
	padding:0;
	margin-top: 20px;
	text-transform: none;
	font-weight: normal;
	font-size: 12px;
	line-height: 22px;
}


p { margin-top: 6px; }

img { 
	border: none; padding:0; 
}

img a {
	border:none;
}

img.left { 
	float: left; border: none; padding: 6px 0 0 0; 
}

img.right { 
	float: right; border: none; padding: 0 0 0 6px; 
	}

blockquote {
	border-left:1px solid #ccc;
	margin:15px;
	padding:0 12px 0 12px;
	font-style: italic;
}

code{
	font-family:"Courier New", Courier, monospace;
}


/* links */

a {
	color: #666;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

/* container */

#container {
	max-width: 750px;
	clear: both;
	margin: 0 auto;
}
	
/* header */

#header {
  	width: 100%; 
  	float: left;
	clear: left;
	background: #d8d5d2;
}

#top {
	width: 100%;
	background: #000;
	padding-bottom: 20px;
	float: left;
	clear: left;
}

#topin {
	max-width: 750px;
	margin: 0 auto;
}

#logo {	
	max-width:200px;
	float:left;
	margin-left: 0px;
	margin-top: 30px;
}

#logo a {
	color: #000;
}


#logo h1 {
	margin-top: 0;
}


#logo h1.site-title a{
	color: #fff;
	font-family: arial, helvetica, sans-serif;
	font-size: 24px;
	font-weight: normal;
	text-decoration: none;
	text-transform: none;
	display: block;
	margin-top: 5px;
}

#site-description {
	font-style: italic;
}

/* top widget */

#topwidget {
	max-width: 750px;
	margin: 0 auto;
	font-size: 18px;
	font-family: georgia, arial, helvetica;
	font-style: italic;
	color: #848484;
	font-weight: normal;
	line-height: 150%;
}

#topwidget .widgets {
	margin-top: 40px;
	margin-bottom: 40px;
	float: left;
	clear: left;
	width: 100%;
}

#topwidget h2 {
	margin: 0;
	padding: 0;
	margin-bottom: 10px;
	text-align: center;
}

/* search */

#searchform {
	padding:0;
	margin:0;
	width: 200px;
	height: 25px;
	float: left;
}

#searchform input#s {
	margin:0;
	padding: 0;
	color: #999;
	width: 150px;
	border: none;
	font-size: 10px;
	height: 10px;
	line-height: 12px;
	padding: 5px 10px;
	background: #fff;
	border: solid 1px #eaeaea;
	float: left;
}

#searchform input#searchsubmit {
	width: 22px;
	height: 22px;
	float: right;
	background: #d8d5d2 url(images/searchbg.png) no-repeat center;
	-moz-border-radius: 11px;
	-webkit-border-radius: 11px;
	border-radius: 11px;
	border: none;
	text-indent: -9999px;
	cursor: pointer;
	margin-left:5px;	
}

/* content */

#contentwrapper {
	width: 100%;
	clear: both;
	float: left;
	margin-top: 30px;
	padding: 0;
	padding-bottom: 30px;
}

#content {
	width: 60%;
	float: right;
	margin-top: 10px;
}

#contentfull {
	width: 100%;
	margin-top: 10px;
	float: left;
}

#contentfull .post {
	max-width: 700px;
}

#videoembed,
.attachment-mainthumb {
	margin-top: 10px;
	margin-bottom: 5px;
	-webkit-transition: all 0.6s ease;
  	-moz-transition:    all 0.6s ease;
  	-ms-transition:     all 0.6s ease;
  	-o-transition:      all 0.6s ease;
}

.attachment-mainthumb:hover {
	opacity: 0.8;
	filter: alpha(opacity = 80);
	zoom: 1;
}

.post {
	margin:0;
	padding: 25px;
	padding-bottom: 10px;
	background: #fff;
	float: left;
	margin-bottom: 1px;
	width: 88%;
}

.entry {
}

h1.entry-title {
	padding: 0;
	line-height: 18px;
	margin-top: 0px;
}
	
h2.entry-title {
	padding: 0;
	line-height: 18px;
	margin: 0;
}

h1.entry-title,	
h2.entry-title a {
	color: #000;
	padding:0;
	text-transform: none;
	font-weight: normal;
	font-size: 18px;
	line-height: 18px;
	text-decoration: none;
	margin-bottom: 5px;
	-ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
	-webkit-hyphens: auto;
   	-moz-hyphens: auto;
    hyphens: auto;
}

h2.entry-title a:hover {
	text-decoration: none;
}

h2.pagetitle {
	display: none;
}

.post ul {}

.post li {
	margin-left: 15px;
}

.entry p {
	margin:8px 0;
	-ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
	-webkit-hyphens: auto;
   	-moz-hyphens: auto;
    hyphens: auto;
}

#postdate {
	width: 50px;
	height: 50px;
	float: right;
	margin-right: -50px;
	margin-top: -17px;
	background: url(images/datebg.png) no-repeat transparent;
	font-family: georgia, arial, helvetica;
	font-style: italic;
	font-weight: normal;
	color: #c1c1c1;
	text-shadow: 1px 1px 1px #fff;
	text-align: center;
}

#datetop {
	margin-top: 8px;
}

#datebottom {
	font-size: 15px;
	margin-top: -5px;
}

#belowpost {
	color: #cc6600;
	font-family: georgia, arial, helvetica;
	font-style: italic;
	font-size: 12px;
	margin-top: 15px;
}

a.more-link {
	color: #cc6600;
	text-decoration: none;
	float: left;
}

.commentlink a:hover,
a.more-link:hover {
	text-decoration: underline;
}

.commentlink {
	width: 100px;
	float: right;
	text-align: right;
}

.commentlink a {
	color: #cc6600;
	text-decoration: none;
}

/* Blog Page Navigation */

#blognav {
	float: left;
	clear: both;
	width: 100%;
	height: 50px;
	margin-top: 30px;
}

#blognav a.page-numbers {
    border: solid 1px #ccc;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-transition: all 0.4s ease;
  	-moz-transition:    all 0.4s ease;
  	-ms-transition:     all 0.4s ease;
  	-o-transition:      all 0.4s ease;
	padding: 6px 10px; 
	margin-right: 5px;
	text-decoration: none;
	color: #403f41;
	font-size: 11px;
	text-transform: uppercase;
}

#blognav a.page-numbers:hover,
#blognav span.current {
    border: solid 1px #ccc;
	background: #eaeaea;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	padding: 6px 10px; 
	margin-right: 5px;
	color: #403f41;
	font-size: 11px;
	text-transform: uppercase;
}


ol {
	margin: 10px;
}

ul {
	margin: 5px;
}

/* Left Sidebar*/

#leftbar {
	width: 33%;
	float: left;
	padding: 0;
	margin-left: 20px;
	margin-top: 27px;
}

#leftbar .widgets {
	margin: 0;
	padding: 0;
	float: left;
	clear: left;
	width: 100%;
	margin-bottom: 20px;
}

#leftbar h2 {
	margin: 0;
	padding: 0;
	color: #fff;
	margin-left: -20px;
	margin-bottom: 10px;
	font-size: 13px;
	line-height: 30px;
	height: 30px;
	width: 100%;
	padding-left: 20px;
	text-transform: none;
	font-weight: normal;
	font-style: normal;
	background: #cc6600;
	-webkit-border-radius: 15px 0 0 15px;
	-moz-border-radius: 15px 0 0 15px;
	border-radius: 15px 0 0 15px;
}

#leftbar ul {
	margin: 0;
}

#leftbar ul li {
	line-height: 32px;
	list-style: none;
	border-bottom: solid 1px #ccc;
}

#leftbar ul li ul li {
	border: none;
	list-style: none;
	margin-left: 0;
	margin-top: 2px;
	float: left;
	clear: left;
	width: 100%;
}

#leftbar ul li a {
	color: #666;
	border: none;
	text-decoration: none;
	margin-left: 0;
}

#leftbar ul li a:hover {
	text-decoration: underline;
}

#leftbar a {
	text-decoration: none;
	color: #333;
}
	
#leftbar a:hover {
	border: none;
	text-decoration: underline;
}

/* comments */


#commentform {
	margin:0;
	padding:0;
}
	
#commentform p {
	color: #666;
}
	
#commentform a { 
	color: #000; 
	text-decoration: none; 
	line-height: 14pt;
}
	
#commentform h3 {
	font-size: 10pt;
	font-weight: normal;
	color: #333;
	margin:0;
	padding:0;
}
	
#comment {
	width:80%;
	padding: 5px;
}

#comments textarea,
#comments input {
	float: left;
	clear: left;
	
}

#comments label {
	float: left;
	clear: left;
	margin-top: 15px;
}

p.form-allowed-tags {
	float: left;
	clear: left;
}

#author, #email, #url, #comment, #submit {
	font-size: 11px;
	margin:5px 5px 0 0;
	border: none;
	border: 1px solid #eaeaea;
	color: #666;
	padding-left: 5px;
}

#author, #email, #url {
	height:16px;
	padding-top:5px;
	padding-bottom: 5px;
}
	
#submit {
	margin:5px 5px 0 0; 
	cursor:pointer;
	color: #666;
	padding: 4px 7px;
	background: none;
	background: #fff;
}

#comments {
	margin:0; 
	padding:0;
}

#respond h3,
h3#comments {
	color: #333;
	font-size: 16px;
	margin-bottom: 2px;
	clear: left;
	text-transform: none;
	font-weight: normal;
	margin-top: 15px;
}	


.reply a.comment-reply-link {
	background: #fff;
	font-size: 11px;
	border: none;
	padding:0;
	color: #666;
	padding: 4px 7px;
	border: solid 1px #eaeaea;
}

.reply a.comment-reply-link:hover,
#submit:hover {
	background: #eaeaea;
}

ol.commentlist { 
	list-style-type: none; 
	margin:0; 
	padding:0; 
	float:left;
	margin-top: 15px;
}

.avatar {
	float:left; 
	margin:0 12px 0 0;
}

ol.commentlist li {
	border-bottom: solid 1px #eaeaea;
	margin: 0;
	padding: 0;
	padding-top: 10px;
	padding-bottom: 15px;
	list-style-type:none;
	float: left;
	width: 400px;
	margin-bottom: 10px;
}

ol.commentlist ul li {
    border: none;
    padding: 20px;
	width: 350px;
	padding-bottom: 0;
	padding-right: 0;
}

ol.commentlist li.alt {
	
}

ol.commentlist li p {
	margin: 6px 0 6px 0; 
	padding: 0 12px 0 0; 
	line-height: 14pt;
}

ol.commentlist a {
	color:#000;
	text-decoration: none;
}

cite {
	font-family: arial, verdana, tahoma;
	font-size: 9pt;
	font-weight: bold;
	font-style: normal;
	}
	
cite a {
	color: #000; 
	text-decoration: none; 
	border-bottom: 1px solid #ccc;
}

/* misc */

.entry-content img,
.comment-content img,
.widget img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
	max-width: 100%;
}
img,
img.size-full,
img.size-large,
img.header-image,
img.wp-post-image {
	max-width: 100%;
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

* Make sure videos and embeds fit their containers */
embed,
iframe,
object,
video {
	max-width: 100%;
}
.entry-content .twitter-tweet-rendered {
	max-width: 100% !important; /* Override the Twitter embed fixed width */
}

/* Images */
.alignleft {
	float: left;
}
.alignright {
	float: right;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.entry-content img,
.comment-content img,
.widget img,
img.header-image,
.author-avatar img,
img.wp-post-image {
}
.wp-caption {
	max-width: 100%; /* Keep wide captions from overflowing their container. */
	padding: 4px;
	background: #eaeaea;
	text-align: center;
}
.wp-caption .wp-caption-text,
.gallery-caption,
.entry-caption {
	font-size: 10px;
	color: #757575;
}
img.wp-smiley,
.rsswidget img {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.entry-content dl.gallery-item {
	margin: 0;
}
.gallery-item a,
.gallery-caption {
	width: 90%;
}
.gallery-item a {
	display: block;
}
.gallery-caption a {
	display: inline;
}
.gallery-columns-1 .gallery-item a {
	max-width: 100%;
	width: auto;
}
.gallery .gallery-icon img {
	height: auto;
	max-width: 90%;
	padding: 5%;
}
.gallery-columns-1 .gallery-icon img {
	padding: 3%;
}

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

.entry pre {
	border: 1px solid #ededed;
	color: #666;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 1.714285714;
	margin: 24px 0;
	margin: 1.714285714rem 0;
	overflow: auto;
	padding: 24px;
	padding: 1.714285714rem;
}

.entry table {
	border-bottom: 1px solid #ededed;
	color: #757575;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 2;
	margin: 0 0 24px;
	margin: 0 0 1.714285714rem;
	width: 100%;
}

.entry dl {
	margin: 0 24px;
	margin: 0 1.714285714rem;
}
.entry dt {
	font-weight: bold;
	line-height: 1.714285714;
}
.entry dd {
	line-height: 1.714285714;
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}

.entry table caption {
	font-size: 16px;
	font-size: 1.142857143rem;
	margin: 24px 0;
	margin: 1.714285714rem 0;
}
.entry td {
	border-top: 1px solid #ededed;
	padding: 6px 10px 6px 0;
}

p { margin-top: 6px; }

#archivelist {
	float:left;
	margin-right: 0;
	
}

#archivelist ul li {
	list-style: none;
	line-height: 35px;
}

#archivelist ul {
	height: auto;
	margin-bottom: 30px;
}

#archivelist ul li a {
	color: #666;
	text-transform: uppercase;
}

#archivelist ul li a:hover {
	text-decoration: none;
}

ol {
	margin: 10px;
}

ul {
	margin: 5px;
}

.sticky {
}

.bypostauthor {
}

p.form-allowed-tags {
	display: none;
}

/* footer */

#footer {
	float: left;
	text-align: center;
	clear: left;
	width: 100%;
	border-top: solid 1px #ccc;
	font-size: 11px;
	color: #848484;
	padding-top: 10px;
	padding-bottom: 60px;
}

#footer a {
	color: #848484;
}

/* Main Menu*/

#mainmenu {
	max-width: 540px;
	height: 20px;
	float: right;
	margin-top: 12px;
	margin-top: 40px;
}

.mainnav {
	margin: 0;
	padding: 0;
	list-style: none;
	float: right;
}

.mainnav * {
	margin: 0;
	padding: 0;
	list-style: none;
}


.mainnav ul {
	position: absolute;
	top: -999em;
	display: none;
}

.mainnav li {
	float: left;
	position: relative;
	z-index: 900;
	height: 22px;
	line-height: 21px;
	margin-left: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	-webkit-transition: all 0.6s ease;
  	-moz-transition:    all 0.6s ease;
  	-ms-transition:     all 0.6s ease;
  	-o-transition:      all 0.6s ease;
}

.mainnav a {
	display: block;
	font-size: 13px;
	font-weight: normal;
	margin: 0;
	padding: 0;
	color: #ccc;
	text-decoration: none;
	text-transform: lowercase;
	padding-left: 12px;
	padding-right: 12px;
	font-family: arial, Helvetica, sans-serif;
}

.mainnav a:hover,
.mainnav li.current-menu-item a,
.mainnav li:hover a,
.mainnav li.current_page_item a {
	text-decoration: none;
	color: #fff;
}

.mainnav li:hover,
.mainnav li.current-menu-item {
	background: #cc6600;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

.mainnav li:hover {
	text-decoration: none;
}

.mainnav ul li{ 
	width: 100px;
}

.mainnav li:hover ul,
ul.mainnav li.sfHover ul {
	left: 0;
	top: 20px;
	padding-top: 5px;
	width: 100px;
}

.mainnav li:hover li ul,
.mainnav li.sfHover li ul {
	top: -999em;
}

.mainnav li li:hover ul,
ul.mainnav li li.sfHover ul {
	left: 100px;
	top: -5px;
}

.mainnav li:hover ul,
.mainnav li li:hover ul {
	top: -999em;
}

.mainnav li li {
	display: block;
	padding: 0px;
	height: auto !important;
	margin: 0;
	background: #ccc;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

.mainnav li li a:link, 
.mainnav li li a:visited {
	display: block;
	height: auto !important;
	text-transform: none;
    color: #666;
	font-weight: normal;
	font-size: 12px;
	border: none;
	margin: 0;
	padding: 0;
	margin-left: 10px;
	line-height: 140%;
	padding-top: 6px;
	padding-bottom: 6px;
}

.mainnav li li a:hover {
	color:#333 !important;
}

.mainnav li li:hover,
.mainnav li li.current-menu-item {
	background: #ccc;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

.selectnav { display: none; }

/*
 * FancyBox - jQuery Plugin
 * Simple and fancy lightbox alternative
 *
 * Examples and documentation at: http://fancybox.net
 * 
 * Copyright (c) 2008 - 2010 Janis Skarnelis
 *
 * Version: 1.3.1 (05/03/2010)
 * Requires: jQuery v1.3+
 *
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	height: 40px;
	width: 40px;
	margin-top: -20px;
	margin-left: -20px;
	cursor: pointer;
	overflow: hidden;
	z-index: 1104;
	display: none;
}

* html #fancybox-loading {	/* IE6 */
	position: absolute;
	margin-top: 0;
}

#fancybox-loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background-image: url('images/fancybox/fancybox.png');
}

#fancybox-overlay {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: #000;
	z-index: 1100;
	display: none;
}

* html #fancybox-overlay {	/* IE6 */
	position: absolute;
	width: 100%;
}

#fancybox-tmp {
	padding: 0;
	margin: 0;
	border: 0;
	overflow: auto;
	display: none;
}

#fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 20px;
	z-index: 1101;
	display: none;
}

#fancybox-outer {
	position: relative;
	width: 100%;
	height: 100%;
	background: #FFF;
}

#fancybox-inner {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: 0;
	outline: none;
	overflow: hidden;
}

#fancybox-hide-sel-frame {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
}

#fancybox-close {
	position: absolute;
	top: -15px;
	right: -15px;
	width: 30px;
	height: 30px;
	background-image: url('images/fancybox/fancybox.png');
	background-position: -40px 0px;
	cursor: pointer;
	z-index: 1103;
	display: none;
}

#fancybox_error {
	color: #444;
	font: normal 12px/20px Arial;
	padding: 7px;
	margin: 0;
}

#fancybox-content {
	height: auto;
	width: auto;
	padding: 0;
	margin: 0;
}

#fancybox-img {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
	line-height: 0;
	vertical-align: top;
	-ms-interpolation-mode: bicubic;
}

#fancybox-frame {
	position: relative;
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

#fancybox-title {
	position: absolute;
	bottom: 0;
	left: 0;
	font-family: georgia, Arial, helvetica;
	font-size: 20px;
	z-index: 1102;
}

.fancybox-title-inside {
	padding: 10px 0;
	text-align: center;
	color: #333;
	background: #fff;
}

.fancybox-title-outside {
	padding-top: 5px;
	color: #FFF;
	text-align: center;
	font-weight: bold;
}

.fancybox-title-over {
	color: #FFF;
	text-align: left;
}

#fancybox-title-over {
	padding: 10px;
	padding-top: 0;
	display: block;
}

#fancybox-title-over h2 {
	color: #333;
}

#fancybox-title-wrap {
	display: inline-block;
}

#fancybox-title-wrap span {
	height: 32px;
	float: left;
}

#fancybox-title-left {
	padding-left: 15px;
	background-image: url('images/fancybox/fancybox.png');
	background-position: -40px -90px;
	background-repeat: no-repeat;
}

#fancybox-title-main {
	font-weight: bold;
	line-height: 29px;
	background-image: url('images/fancybox/fancybox-x.png');
	background-position: 0px -40px;
	color: #FFF;
}

#fancybox-title-right {
	padding-left: 15px;
	background-image: url('images/fancybox/fancybox.png');
	background-position: -55px -90px;
	background-repeat: no-repeat;
}

#fancybox-left, #fancybox-right {
	position: absolute;
	bottom: 0px;
	height: 100%;
	width: 35%;
	cursor: pointer;
	outline: none;
	background-image: url('images/fancybox/blank.gif');
	z-index: 1102;
	display: none;
}

#fancybox-left {
	left: 0px;
}

#fancybox-right {
	right: 0px;
}

#fancybox-left-ico, #fancybox-right-ico {
	position: absolute;
	top: 40%;
	left: -9999px;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	cursor: pointer;
	z-index: 1102;
	display: block;
}

#fancybox-left-ico {
	background-image: url('images/fancybox/fancybox.png');
	background-position: -40px -30px;
}

#fancybox-right-ico {
	background-image: url('images/fancybox/fancybox.png');
	background-position: -40px -60px;
}

#fancybox-left:hover, #fancybox-right:hover {
	visibility: visible;    /* IE6 */
}

#fancybox-left:hover span {
	left: 20px;
}

#fancybox-right:hover span {
	left: auto;
	right: 20px;
}

.fancy-bg {
	position: absolute;
	padding: 0;
	margin: 0;
	border: 0;
	width: 20px;
	height: 20px;
	z-index: 1001;
}

#fancy-bg-n {
	top: -20px;
	left: 0;
	width: 100%;
	background-image: url('images/fancybox/fancybox-x.png');
}

#fancy-bg-ne {
	top: -20px;
	right: -20px;
	background-image: url('images/fancybox/fancybox.png');
	background-position: -40px -162px;
}

#fancy-bg-e {
	top: 0;
	right: -20px;
	height: 100%;
	background-image: url('images/fancybox/fancybox-y.png');
	background-position: -20px 0px;
}

#fancy-bg-se {
	bottom: -20px;
	right: -20px;
	background-image: url('images/fancybox/fancybox.png');
	background-position: -40px -182px; 
}

#fancy-bg-s {
	bottom: -20px;
	left: 0;
	width: 100%;
	background-image: url('images/fancybox/fancybox-x.png');
	background-position: 0px -20px;
}

#fancy-bg-sw {
	bottom: -20px;
	left: -20px;
	background-image: url('images/fancybox/fancybox.png');
	background-position: -40px -142px;
}

#fancy-bg-w {
	top: 0;
	left: -20px;
	height: 100%;
	background-image: url('images/fancybox/fancybox-y.png');
}

#fancy-bg-nw {
	top: -20px;
	left: -20px;
	background-image: url('images/fancybox/fancybox.png');
	background-position: -40px -122px;
}

/* IE */

#fancybox-loading.fancybox-ie div	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/fancybox/fancy_loading.png', sizingMethod='scale'); }

.fancybox-ie #fancybox-title-over	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/fancybox/fancy_title_over.png', sizingMethod='scale'); zoom: 1; }
.fancybox-ie #fancybox-title-left	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/fancybox/fancy_title_left.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-title-main	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/fancybox/fancy_title_main.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-title-right	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/fancybox/fancy_title_right.png', sizingMethod='scale'); }

.fancybox-ie .fancy-bg { background: transparent !important; }

.fancybox-ie #fancy-bg-n	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/fancybox/fancy_shadow_n.png', sizingMethod='scale'); }
.fancybox-ie #fancy-bg-ne	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/fancybox/fancy_shadow_ne.png', sizingMethod='scale'); }
.fancybox-ie #fancy-bg-e	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/fancybox/fancy_shadow_e.png', sizingMethod='scale'); }
.fancybox-ie #fancy-bg-se	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/fancybox/fancy_shadow_se.png', sizingMethod='scale'); }
.fancybox-ie #fancy-bg-s	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/fancybox/fancy_shadow_s.png', sizingMethod='scale'); }
.fancybox-ie #fancy-bg-sw	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/fancybox/fancy_shadow_sw.png', sizingMethod='scale'); }
.fancybox-ie #fancy-bg-w	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/fancybox/fancy_shadow_w.png', sizingMethod='scale'); }
.fancybox-ie #fancy-bg-nw	{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/fancybox/fancy_shadow_nw.png', sizingMethod='scale'); }



@media only screen and (max-width: 480px), screen and (max-device-width: 480px), screen and (max-width: 600px)  {

	html {
	    -webkit-text-size-adjust: none; 
	}
	
	#logo {
		margin-left: 5%;
	}
	
	#container {overflow: hidden; }
	
	#topwidget,
	#contentwrapper {
		width: 90%;
		margin-left: 5%;
	}
	
	#content {
		width: 100%;
		padding:0;
		border-right: none;
		float: left;
	}
	
	
	#leftbar {
		width: 100%;
		float: left;
		clear: left;
		margin-top: 20px;
	}
	
	#leftbar .widgets {
		width: 90%;
		margin-left: 0;
	}
	
	#postdate {
	margin-right: -20px;
	margin-top: -17px;
}

.post { width: 86%; }
	
	.mnav {
		float: right;
		width: 40%;
		margin-top: 43px;
		margin-right: 5%;
	}
}