/*
Theme Name: ERB Comix v2
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: 2.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
-------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css?family=Pragati+Narrow|Teko');
@import url('https://fonts.googleapis.com/css?family=Open+Sans');

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

#page {
	display: block;
}

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

.clear
{
	clear: both;
}

/* 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/v2/bg-africa-map-big.jpg');
	background-color: #2c0800;
	background-position: center -10px;
	background-repeat: no-repeat;
	background-attachment:fixed ;		
	font-family: "Open sans";
	font-size: 0.85em;
	margin: 0;
	padding: 0;
}
h1, h2, h3, h4
{
	font-family: 'Pragati Narrow', sans-serif;
}

#logo-section
{
	width: 900px;
	margin: 0 auto 0 auto;
}
#page
{
	width: 900px;	
	margin: 0 auto 10px auto;
	padding-bottom: 5px;
	background: white;	
	background-color:rgba(255,255,255,0.85);
	border-radius: 15px;
}
/* =Logo Section
-------------------------------------------------------------- */
#logo-section
{
	height: 110px;
	margin-top: 10px;
}
#logo-section #site-title
{
	float: left;
	padding-top: 20px;
}
#logo-section #site-title img
{
	max-width: 380px;
}
/* ECOF buttons next to slider */
#logo-section .erb_ecof_buttons 
{
	float: right;
	margin: 0 5px;
	background-color: white;
	border-radius: 10px;
	padding:5px;
}
#logo-section .erb_ecof_buttons img
{
	height: auto;
	width: 200px;
}
#logo-section .erb_ecof_buttons > *:first-child
{
	margin-right: 20px;
}

#logo-section .litograph-series-button
{
	margin-right: -30px;
}

/* =Header Social Icons
-------------------------------------------------------------- */
#logo-section .social_icons_container ul {
     margin: 0pt;
     overflow: hidden;
     padding: 0pt;
     list-style: none;
	 
    background-color: white;
    border-radius: 10px;
    display: block;
    width: 210px;
    padding: 5px;
    float: right;
    margin-top: 85px;	 
}
#logo-section .social_icons_container li {
     float: left;
     
	 padding: 0 10px 0 10px;
}

#logo-section .social_icons_container  img
{
	width: 30px;
	height: auto;
}


/* =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;
}

#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
{
	background-image: url("images/v2/nav-button-normal.png");
	background-position: center center;
	background-repeat: no-repeat;
	display: block; 
	width: 94px;
	padding-top: 10px;
	height: 60px;
	/*overflow: hidden;*/
	
	text-align: center;
	font-weight: bold;
	text-decoration: none;
	
	color: black;
	margin-top: 12px;
	font-family: 'Pragati Narrow', sans-serif;	
    font-size: 1.2em;
    line-height: 1.1em;
}

/* :nth-child() selector, if only old IE supported it... */
#top_menu ul > li a { background: url("images/v2/nav-buttons-all.png") no-repeat scroll 0px 0px transparent; }
#top_menu ul > li.child-0 a { background-position: 0 -80px; color: white; }
#top_menu ul > li.child-1 a { background-position: -96px 0; }
#top_menu ul > li.child-2 a { background-position: -192px 0; }
#top_menu ul > li.child-3 a { background-position: -288px 0; }
#top_menu ul > li.child-4 a { background-position: -384px -80px; color: white; }
#top_menu ul > li.child-5 a { background-position: -481px 0; }
#top_menu ul > li.child-6 a { background-position: -578px 0; }
#top_menu ul > li.child-7 a { background-position: -679px 0; }
/*#top_menu ul > li.child-8 a { background-position: -778px 0; }*/



#top_menu ul > li:hover a, #top_menu ul > li.active a { 	color: white; }
#top_menu ul > li.child-0 a:hover, #top_menu ul > li.active.child-0 a { background-position:   0px 	0px;  color: black; }
#top_menu ul > li.child-1 a:hover, #top_menu ul > li.active.child-1 a { background-position: -96px	-80px; }
#top_menu ul > li.child-2 a:hover, #top_menu ul > li.active.child-2 a { background-position: -192px	-80px; }
#top_menu ul > li.child-3 a:hover, #top_menu ul > li.active.child-3 a { background-position: -288px	-80px; }
#top_menu ul > li.child-4 a:hover, #top_menu ul > li.active.child-4 a { background-position: -384px	0px; color: black; }
#top_menu ul > li.child-5 a:hover, #top_menu ul > li.active.child-5 a { background-position: -481px	-80px; }
#top_menu ul > li.child-6 a:hover, #top_menu ul > li.active.child-6 a { background-position: -578px	-80px; }
#top_menu ul > li.child-7 a:hover, #top_menu ul > li.active.child-7 a { background-position: -679px	-80px; }
/*#top_menu ul > li.child-9) a:hover, #top_menu ul > li.active.child-9 a { { background-position: -778px	-80px; }*/
 

#top_menu ul > li.link-africa a 
{ 
	background-image: url("images/v2/nav-africa-button-normal.png"); 
	background-position: center center; 
	color: white; 
	margin-top: 0px;
	padding-top: 15px;
	padding-bottom: 10px;
}
#top_menu ul > li.link-africa:hover a,
#top_menu ul > li.link-africa.active a { background-image: url("images/v2/nav-africa-button-hover.png"); background-position: center center; }



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

#access {
	display: block;
	float: left;
	margin: 20px 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;
	font-size: 1.2em;
}



#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 {
	
}

#comic_subscription_and_quote
{

}
#comic_subscription_and_quote .bradbury-quote-div
{
	background: #6b8a4d;
	color: white;
	padding: 10px;
	border-radius: 10px;	
	box-shadow: 			5px 5px 10px #888;
	-moz-box-shadow:		5px 5px 10px #888;
	-webkit-box-shadow:		5px 5px 10px #888;
	
	width: 215px;
	height: 60px;
	display: block;
	float: right;
	
	line-height: 1em;
}
#comic_subscription_and_quote.quote { font-style: italic; }
#comic_subscription_and_quote .author { font-weight: bold; }


#comic_subscription_and_quote .tarzan-comic-subscription-logo-text .green
{
	color: #236125;
}
#comic_subscription_and_quote .tarzan-comic-subscription-logo-text .orange
{
	color: #f26f16;
}
#comic_subscription_and_quote .tarzan-comic-subscription-logo-text  > div
{
	float: left;
}
#comic_subscription_and_quote .tarzan-comic-subscription-logo-text .main-text
{
	text-align: right;
	padding-right: 10px;
	font-size: 14pt;
}
#comic_subscription_and_quote .tarzan-comic-subscription-logo-text a
{
	text-decoration: none;
}

#comic_subscription_and_quote .tarzan-comic-subscription-logo-text .comic-thumbs
{
	width: 400px;
	display: inline-block;
} 

#comic_subscription_and_quote .tarzan-comic-subscription-logo-text .spanish-quote
{
		color: #236125;
		font-size: 11pt;
}



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

.erb_sidebar .sidebar_header
{
	text-align: center;
}
.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;
	text-align: center;
}
.erb_sidebar .thankyou_and_copyright .pirates_bad
{
	color: #f46c12;
	margin: 0;
	padding: 0;
	font-weight: bold;
	font-size: 22px;
	text-align: center;
}
.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;
	text-align: center;
}

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

/* = Unread posts
-------------------------------------------------------------- */
.erb_sidebar  .erb_unread_posts_listing
{
	margin-top: 5px; padding-top: 5px;
	border-top; 1px solid #444;
}
.erb_sidebar  .erb_unread_posts_listing h2
{
	font-size: 1.25em;
}

.erb_sidebar ul.mar_unread_posts_list
{
	list-style-type: disc;
	margin: 0;
	padding: 0 0 0 10px;
	
}

/* =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
{
	padding: 0 20px 20px 20px;
}

#content h1, h2, h3, p, input
{	
		
}

#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;*/
}

.orange-box a
{
	background: #f26f16;
	color: white;
	line-height: 1.5em;
	text-decoration: none;
	text-align: center;
	
	display: block;
	padding: 10px;
	border-radius: 10px;	
	width: 90px;
	height: 50px;
	font-weight: bold;

	box-shadow: 			5px 5px 10px #888;
	-moz-box-shadow:		5px 5px 10px #888;
	-webkit-box-shadow:		5px 5px 10px #888; 
}
.orange-box a:hover
{
	text-decoration: underline;
}


#content a.bonus_material_btn,
a.bonus_material_btn
{
	display: block;
	width: 199px;
	height: 45px;
	padding-top: 15px;
	line-height: 1em;
	
	
	background-image: url('images/bonus-material-btn.png');
	background-size: cover;
	
	color: white;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
}

/* =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% #4c2a0e;
	/*border-top: 1px solid #333;*/

	margin: 10px 20px 10px 20px;
	
	padding: 15px 0px 5px 15px;
	border-radius: 15px;	
	color: white;
	font-size: 13px;
	color: white;
	
	overflow: visible;
	position: relative;
}
#footer .r-symbol
{
	font-family: arial;
}

#footer  #copyright 
{
	width: 350px;	
	float: left;
}
#footer  a
{
	color: white;
	text-decoration: underline;
}
#footer  .copyright-specific 
{
	float: left;
	width: 100px;
	height: 100px;
	position: relative;
	cursor: pointer;
}
#footer  .copyright-specific  .tooltip
{
	display: block;
	width: 200px;
	position: absolute;
	bottom: 40px;
	z-index: 100;
	border-radius: 15px;
	padding: 10px;
	background-color: #ffffcc;
	color: #4c2a0e;

	box-shadow: 20px 20px 30px rgba(0,0,0,0.5);
	-moz-box-shadow: 20px 20px 30px rgba(0,0,0,0.5);
	-webkit-box-shadow: 20px 20px 30px rgba(0,0,0,0.5);
	
}
#footer  .copyright-specific  .tooltip 		{ display: none; }
#footer  .copyright-specific:hover .tooltip	{ display: block; }

#footer_menu {
	float: right;
	padding-top: 20px;
}

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

#footer_menu li {
     float: left;
     
	 padding: 0 10px 0 10px;
}


#footer_menu .social_icons img
{
	width: 50px;
	height: auto;
}


/* ==============
	Specifics 
	================ */
.erb_ecof_button
{
	display: inline-block;
	width: 220px;
	height: 75px;
	padding: 0; margin: 0;
	background: url('images/v2/ECOF_registration_button.jpg');
	background-size: 220px 75px;
	text-indent: -10000px;
	overflow: hidden;
	
}	
.erb_ecof_button:hover
{
	background-image: url('images/v2/ECOF_registration_button_over.jpg');
}