/*
Theme Name: ERB Comix
Theme URI: http://wordpress.org/extend/themes/toolbox
Author: Jakub Kasztalski 
Author URI: http://jakeski.com
Description: Theme for the Edgar Rice Burroughs Comic Subscription website. Based on Automattic's Toolbox theme.
Version: 1.0
License: GNU General Public License
License URI: license.txt
Tags: custom-menu, sticky-post, microformats, rtl-language-support, translation-ready, full-width-template, post-formats

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* =Structure
-------------------------------------------------------------- */


.pmpro_thead-msg { display: none; visibility: hidden; }

#page {
	display: block;
}

#primary {
	float: left;
	margin: 0 -220px 0 0;
	width: 100%;
}
#content {
	margin: 0 220px 30px 0px;
}
#main .widget-area {
	float: right;
	overflow: hidden;
	width: 200px;
}
#colophon {
	clear: both;
	display: block;
	width: 100%;
}

/* Increase the size of the content area for templates without sidebars */
.full-width #content,
.image-attachment #content,
.error404 #content {
	margin: 0;
}

/* Text meant only for screen readers */
.screen-reader-text,
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* =Whole Page (body)
-------------------------------------------------------------- */

body
{
	background: url('images/background_big0.jpg');
	background-position: center top;
	background-repeat: repeat-x;
	background-attachment:fixed ;		
	font: 1em/1.2em 'KomikaAxisRegular',Arial,sans-serif;	
	margin: 0;
	padding: 0;
}

#page
{
	width: 900px;	
	margin: 0 auto 0 auto;
	background: white;	
}


/* =Header
-------------------------------------------------------------- */

#branding
{
	margin: 0 20px 0 20px;
	position: relative;
}
#site-title {
	font-size: 2em;
	font-weight: bold;
	padding: 0; 
	margin: 0;
	margin-left: 10px;
}
#site-description {
	font-size: 1em;
	font-weight: normal;
	margin: 0 0 1em;
}

#tarzan_comic_strip_subscription_signup a 
{
	display: block;
	background: url("images/all_new_tarzan_subscription_click_here_btn.png") no-repeat scroll 0pt 0pt transparent;	
	width: 182px;
	height: 103px;
	margin-top: 10px;
	margin-right: 10px;
	/*
	position: absolute;
	right: 220px;
	top: 10px;
	*/
	float: right;
	text-indent: -9999px;	
	z-index: 10;
}
.logged-in #tarzan_comic_strip_subscription_signup
{
	display: none;
}
#newsletter_signup a 
{
	display: block;
	background: url("images/newsletter_signup.png") no-repeat scroll 0pt 0pt transparent;
	width: 177px;
	height: 66px;
	margin-top: 10px;
	margin-right: 10px;
	/*
	position: absolute;
	right: 10px;	
	top: 10px;
	*/
	float: right;
	text-indent: -9999px;
	
	z-index: 10;
}

/* =Top Menu
-------------------------------------------------------------- */
#top_menu 
{
	margin: 30px auto 10px auto;
	width: 860px;
	height: 80px;
}

#top_menu ul 
{
	margin: 0;
	padding: 0pt;
	list-style-type: none;		
}
#top_menu ul li
{
	float: left;
	position: relative;
	list-style-type: none;
}
#top_menu ul li a
{
	display: block;
	height: 78px;
	overflow: hidden;
	text-indent: -9999px;
	width: 93px;
}

#top_menu ul li:hover a,
#top_menu ul li.active a {
     background-position: 0pt -78px;
}

#top_menu .item-101 > a {
     background: url("images/top_menu/Admin_nav_bar_r3_01.png") no-repeat scroll 0pt 0pt transparent;
     width: 94px;
}

#top_menu .item-141 > a {
     background: url("images/top_menu/Admin_nav_bar_r3_02.png") no-repeat scroll 0pt 0pt transparent;
     width: 94px;
}

#top_menu .item-103 > a {
     background: url("images/top_menu/Admin_nav_bar_r3_03.png") no-repeat scroll 0pt 0pt transparent;
     width: 93px;
}

#top_menu .item-109 > a {
     background: url("images/top_menu/Admin_nav_bar_r3_04.png") no-repeat scroll 0pt 0pt transparent;
     width: 93px;
}

#top_menu .item-110 > a {
     background: url("images/top_menu/Admin_nav_bar_r4_05.png") no-repeat scroll 0pt 0pt transparent;
     width: 111px;
}

#top_menu .item-111 > a {
     background: url("images/top_menu/Admin_nav_bar_r3_06.png") no-repeat scroll 0pt 0pt transparent;
     width: 95px;
}

#top_menu .item-112 > a {
     background: url("images/top_menu/Admin_nav_bar_r3_07.png") no-repeat scroll 0pt 0pt transparent;
     width: 94px;
}

#top_menu .item-113 > a {
     background: url("images/top_menu/Admin_nav_bar_r3_08.png") no-repeat scroll 0pt 0pt transparent;
     width: 94px;
}

#top_menu .item-114 > a {
     background: url("images/top_menu/Admin_nav_bar_r3_09.png") no-repeat scroll 0pt 0pt transparent;
     width: 92px;
}


/* =Menu
-------------------------------------------------------------- */

#access {
	background: white;
	display: block;
	float: left;
	margin: 0 auto 1em;
	width: 100%;
}
#access ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
#access li {
	float: left;
	position: relative;
	border-right: 2px solid #a45f46;
}
#access li:last-child {	border-right: none; }
.logged-in #access li:last-child {	border-right: 2px solid #a45f46; }

#access a {
	display: block;
	padding: 0 1em;
	text-decoration: none;
	color: #f56101;	
	font-size: 14px;
}
#access a.logout_link
{
	display: inline-block;
	padding-left: 1em;
}
#access .current-menu-item a
{
	font-weight: bold;
}



#access ul ul {
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	position: absolute;
	top: 2em;
	left: 0;
	z-index: 99999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #dedede;
	line-height: 1em;
	padding: .5em .5em .5em 1em;
	width: 10em;
	height: auto;
}
#access li:hover > a,
#access ul ul :hover > a {
	text-decoration: underline;
}
#access ul ul a:hover {
}
#access ul li:hover > ul {
	
}

/* =ERB Sidebar
-------------------------------------------------------------- */
.erb_sidebar
{
	padding: 0 10px 0 10px;
	border-left: 1px solid #d6d6d6;
}

.erb_sidebar .sidebar_header
{
	text-align: left;
}
.erb_sidebar .sidebar_header h3
{
	color: #f46c12;	
	font-weight: bold;	
	margin: 0;
	padding: 0;	
	font-size: 26px;
	line-height: 20px;
}
.erb_sidebar p.signup_btn_container
{
	margin: 0;
	padding: 0;	
}


.erb_sidebar .thankyou_and_copyright .official
{
	color: #646464;
	margin: 0;
	padding: 0;	
	font-size: 22px;
}
.erb_sidebar .thankyou_and_copyright .pirates_bad
{
	color: #f46c12;
	margin: 0;
	padding: 0;
	font-weight: bold;
	font-size: 22px;
}
.erb_sidebar .thankyou_and_copyright .copyright
{	
	color: black;
	font-size: 0.7em;
	line-height: normal;
	margin: 0;
	padding: 0;	
	font-weight: bold;
	font-size: 12px;
}

.erb_sidebar .all_new_adventures_of_tarzan_ad
{
	margin-top: 40px;
}

/* =User Menu
-------------------------------------------------------------- */
.usermenu
{
	margin: 0px 0 10px 0;
}
.usermenu.notloggedin h2
{
	font-size: 1em;
	font-weight: bold;	
}
.usermenu.notloggedin .or,
.usermenu.notloggedin .signup_btn_container
{
	text-align: center;	
}

.usermenu.notloggedin form p
{
	width: 250px;
	padding: 5px;
	margin: 0;
}
.usermenu.notloggedin form input[type="text"]
{
	width: 150px;
	padding: 3px;
	margin: 0;
}
.usermenu.notloggedin form .login-username label,
.usermenu.notloggedin form .login-password label
{
	display: inline-block;
	padding: 0;
	margin: 0;	
	width: 80px;
}

.usermenu.notloggedin form .login-remember
{
	float: left;
	width: 150px;
}
.usermenu.notloggedin form .login-submit
{
	text-align: right;
}
.usermenu.notloggedin .forgot_password
{
	width: 250px;
	padding: 5px;
	margin: 0;
	text-align: right;
}
.usermenu.loggedin > ul
{
	list-style: none;
	margin: 0;
	padding: 0;
	
}
.usermenu.loggedin > ul > li
{
	margin: 15px 0px 0px 0;
}

/* =Content Styles
-------------------------------------------------------------- */

#main
{
	margin-top: 40px;
}

#content
{
	font: 1em/1.5em 'SansationLight',Arial,sans-serif;
	font-family: "Calibri", 'HelveticaCondensedBlack',helvetica,arial,san-serif;	
	color: #666;
	padding: 0 20px 20px 20px;
}

#content h1, h2, h3, p, input
{	
	font-weight: normal;
	line-height: normal;
	font-family: "Calibri", 'HelveticaCondensedBlack',helvetica,arial,san-serif;	
	/*text-transform: uppercase;*/
	color: Black;
}

#content a
{
	color: black;
}


/* =Content - Specific Formatting
-------------------------------------------------------------- */

.sticky {
}
.entry-meta {
	clear: both;
	display: block;
}
.single-author .entry-meta .byline {
	display: none;
}
#content nav {
	display: block;
	overflow: hidden;
	
}
#content nav .nav-previous {
	float: left;
	width: 50%;
	
	text-decoration: none;
}
#content nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
.single-post #content nav .nav-previous a,
.single-post #content nav .nav-next a
{
	font-size: 30px;
	text-decoration: none;
}

#content #nav-above {
	display: none;
}
.paged #content #nav-above,
.single #content #nav-above {
	display: block;
}
#nav-below {
	margin: 1em 0 0;
}
.page-link {
	clear: both;
	margin: 0 0 1em;
}
.page .edit-link {
	clear: both;
	display: block;
}

/* 404 page */
.error404 .widget {
	float: left;
	width: 33%;
}
.error404 .widget .widgettitle,
.error404 .widget ul {
	margin-right: 1em;
}
.error404 .widget_tag_cloud {
	clear: both;
	float: none;
	width: 100%;
}

/* Notices */
.post .notice,
.error404 #searchform {
	background: #eee;
	display: block;
	padding: 1em;
}

/* Image Attachments */
.image-attachment div.entry-meta {
	float: left;
}
.image-attachment nav {
	float: right;
	margin: 0 0 1em 0;
}
.image-attachment .entry-content {
	clear: both;
}
.image-attachment .entry-content .entry-attachment {
	background: #eee;
	margin: 0 0 1em;
	padding: 1em;
	text-align: center;
}
.image-attachment .entry-content .attachment {
	display: block;
	margin: 0 auto;
	text-align: center;
}

/* Aside Posts */
.format-aside .entry-header {
	display: none;
}
.single .format-aside .entry-header {
	display: block;
}
.format-aside .entry-content,
.format-aside .entry-summary {
	padding-top: 1em;
}
.single .format-aside .entry-content,
.single .format-aside .entry-summary {
	padding-top: 0;
}

/* Gallery Posts */
.format-gallery .gallery-thumb {
	float: left;
	margin: 0 1em 0 0;
}

/* Image Posts */
.format-image .entry-header {
	display: none;
}
.single .format-image .entry-header {
	display: block;
}
.format-image .entry-content,
.format-image .entry-summary {
	padding-top: 1em;
}
.single .format-image .entry-content,
.single .format-image .entry-summary {
	padding-top: 0;
}

/* =Special Styles
-------------------------------------------------------------- */
a.erb_orange_btn,
#content a.erb_orange_btn
{
	display: inline-block;
	color: White;
	width: 90px;
	height: 50px;
	line-height: 50px;
	background-image: url("images/btn_orange.png");
	text-align: center;
	text-decoration: none;
	font-weight: bold;
	
	/*
	background: #f46c12;
	border-radius: 3px;
	padding: 5px;
	text-decoration: none;

	border-left: 5px solid #f7a26b;
	border-top: 5px solid #f7a26b;	
	border-right: 5px solid #cd5c12;
	border-bottom: 5px solid #cd5c12;
	
	-moz-box-shadow:    5px 5px 7px 0px #666;
	-webkit-box-shadow: 5px 5px 7px 0px #666;
	box-shadow: 		5px 5px 7px 0px #666;
	*/
}
a.erb_orange_btn:hover,
#content a.erb_orange_btn:hover
{
	background-image: url("images/btn_orange_ovr.png");
	/*background: #f7a26b;*/
	
}

a.gray_btn,
#content a.gray_btn
{
	display: inline-block;
	color: White;
	width: 177px;
	height: 37px;
	line-height: 37px;
	background-image: url("images/btn_gray_signup.png");
	text-align: center;
	text-decoration: none;
	font-size: 14px;
	font-weight: bold;
		
	/*
	background: #666;
	border-radius: 3px;
	padding: 5px;
	text-decoration: none;

	border-left: 5px solid #a4a4a4;
	border-top: 5px solid #a4a4a4;	
	border-right: 5px solid #444;
	border-bottom: 5px solid #444;
	
	-moz-box-shadow:    5px 5px 7px 0px #666;
	-webkit-box-shadow: 5px 5px 7px 0px #666;
	box-shadow: 		5px 5px 7px 0px #666;
	*/
}
a.gray_btn:hover,
#content a.gray_btn:hover
{
	background-image: url("images/btn_gray_signup_ovr.png");
	/*background: #a4a4a4;*/
}


/* =Images
-------------------------------------------------------------- */

a img {
	border: none;
}
p img {
	margin-bottom: 0.5em; /* a small bottom margin prevents content floating under images */
}
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img,
.wp-caption {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
img.alignleft {
	margin-right: 1em;
}
img.alignright {
	margin-left: 1em;
}
.wp-caption {
	padding: .5em;
	text-align: center;
}
.wp-caption img {
	margin: .25em;
}
.wp-caption .wp-caption-text {
	margin: .5em;
}
.gallery-caption {
}
.wp-smiley {
	margin: 0;
}


/* =Forms
-------------------------------------------------------------- */

#searchform label {
	display: none;
}
#searchform input#s {
	width: 60%;
}
input[type=text],
input#s {
	margin: 0 1em 0 0;
	width: 60%;
}
textarea {
	width: 80%;
}

/* Class for labelling required form items */
.required {
	color: #cc0033;
}


/* =Comments
-------------------------------------------------------------- */

article.comment {
	display: block;
}
#respond input[type=text] {
	display: block;
	width: 60%;
}
#respond textarea {
	display: block;
	margin: 0 0 1em;
	width: 80%;
}
#respond .form-allowed-tags {
	clear: both;
	width: 80%;
}
#respond .form-allowed-tags code {
	display: block;
}


/* =Widgets
-------------------------------------------------------------- */

.widget {
	display: block;
}
.widget-area .widget_search {
	overflow: hidden;
}
.widget-area .widget_search input {
	float: left;
}


/* =Footer
-------------------------------------------------------------- */

#footer 
{
	background: none repeat scroll 0% 0% #DBCEBD;
	border-top: 1px solid #333;
	font: 0.8em "HelveticaOblique",arial,helvetica,san-serif;
	overflow: hidden;
	position: relative;
}

#footer  #copyright 
{
	width: 320px;
	color: #666;
	float: left;
	font-size: 0.7em;
	font: 0.8em "HelveticaOblique",arial,helvetica,san-serif;
}

#footer_menu {
	float: right;
}

#footer_menu ul {
     margin: 0pt;
     overflow: hidden;
     padding: 0pt;
     list-style: none;
}

#footer_menu li {
     float: left;
     font: 80%/100% Helvetica,Arial,san-serf;
}

#footer_menu li a {
     border-left: 1px solid #666666;
     color: #666666;
     display: block;
     line-height: 70px;
     margin: 10px 0pt;
     padding: 0pt 10px;
}

#footer_menu li:first-child a {
     border: medium none;
}
