/*
Theme Name: All Star Comics
Theme URI: http://allstarcomics.com.au/
Author: Tim Hobday and Damien Wilmann
Author URI: http://timhobday.com/
Description: All Star Comics Wordpress theme, designed by Tim Hobday and developed by Damien Wilmann.
Version: 1.0
License: Private. The copyright to this theme is fully owned by All Star Comics Australia.
License URI: license.txt
Tags: light, white, one-column, two-columns, left-sidebar, right-sidebar, flexible-width, custom-backgroud, custom-header, custom-menu, featured-images, flexible-header, microformats, post-formats, rtl-language-support, threaded-comments, translation-ready
*/

/* Standard HTML elements */

html, body { 
	margin: 0; 
	padding: 0;
	height: 100%;
	margin-top: 0px !important;
}

body {
	background: url('./images/bgtile-sides.jpg');
}

html, body, p {
	font-family: arial, sans-serif;
	font-size: 12px;
	line-height: 140%;
}

h1 {
	font-size: 33px;
}

#content-background {
	background: url('./images/bgtile-body.jpg');
	height: 100%;
	position: fixed;
	left: 50%;
	border: 1px solid rgba(41,41,41,0.2);
	width: 960px;
	margin-left: -481px;
}

#page {
	min-height:100%;
	position:relative;
}

#masthead {
	background:#ff0;
}

#main {
	padding: 0px;
	margin-top: 27px;
	padding-bottom: 278px;   /* Height of the footer */
}

#masthead {
	background-color: #ba1d2d;
	width: 100%;
	border-bottom: 7px solid #851520;
}

#header-wrap {
	padding: 0 0 0 0;
	margin: 0;
	width:960px;
	position: absolute;
	top: 0px;
	left: 50%;
	margin-left: -480px;
}

#header-wrap, #masthead {
	height: 80px;
}

/* using an image to replace text in an h1. This trick courtesy Douglas Bowman, http://www.stopdesign.com/articles/css/replace-text/ */
#logo h1 {
	background: transparent url(TODO) no-repeat top left; 
	margin-top: 10px; 
	width: 219px; 
	height: 87px; 
	float: left;
}

#logo h1 span {
	display:none;
}

#logo {
	background: url('./images/all-star-logo.png');
	height: 160px;
	width: 380px;
	position: absolute;
	z-index: 1;
	left: 7px;
	top: 0px;
}

#primary-navigation {
	height: 46px;
	margin-left: 365px;
	padding-top: 34px;
	padding-left: 30px;
}

#primary-navigation ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

#primary-navigation li {
	float: left;
	background: url('./images/star-separator.png') no-repeat 4px 2px;
	padding-left: 23px; /* The separator is a 12 x 13 px image */
	
}

#primary-navigation li.first {
	background-image: none;
	padding-left: 0px;
}

#primary-navigation li input {
	cursor: pointer;
	border: none;
	height: 23px;
	background-repeat: no-repeat;
	background-position: 0px 0px;
	background-color: transparent;
}

#primary-navigation li input.active {
	background-position: -300px 0px;
}

#primary-navigation li input:hover, #primary-navigation li input.active:hover {
	background-position: -150px 0px;
}

#nav-home {
	width: 37px;
	background-image: url('./images/nav-home.png');
}

#nav-shipping-lists {
	width: 101px;
	background-image: url('./images/nav-shipping-lists.png');
}

#nav-events {
	width: 48px;
	background-image: url('./images/nav-events.png');
}

#nav-store {
	width: 41px;
	background-image: url('./images/nav-store.png');
}

#nav-about {
	width: 106px;
	background-image: url('./images/nav-about.png');
}

#nav-contact {
	width: 80px;
	background-image: url('./images/nav-contact.png');
}

/* In-page nagivation */
div.nav-previous, div.nav-next {
	float: left;
	margin-right: 20px;
}


#primary {
	min-height: 1350px;
	width:960px;
	padding: 0 0 0 0;
	margin: 0;
	padding-left: 50%;
	height: 100%;
	margin-left: -480px;
}

#legends-banner {
	background-color: #ba1d2d;
	height: 315px;
	width: 960px;
}

#legends-image {
	background: url('./images/promo.png');
	width: 960px;
	height: 294px;
}

#legends-pagination {
	height: 21px;
	width: 960px;
	background-color: #ba1d2d;
	text-align: center;
}

#legends-pages {
	list-style-type: none;
	padding: 4px 0px;
	margin: 0px auto;
}

#legends-pages li {
	display: inline;
	text-align: center;
	padding: 0px;
	margin: 0px;
}

#legends-pages li input {
	cursor: pointer;
	border: none;
	height: 12px;
	width: 16px;
	background: transparent url('./images/pagination-button.png') no-repeat 0px 0px;
}

#legends-pages li input:hover, #legends-pages li input.current {
	background-position: -16px 0px;
}

#content {
	min-height: 550px;
	padding-left: 22px;
	width: 572px;
}

#content a {
	color: #b21c2b;
	text-decoration: underline;
}

#content a:hover {
	color: #FF0000;
	text-decoration: none;
}

#content a.title-link {
	color: #000000;
	text-decoration: none;
}
#content a.title-link:hover {
	color: #444444;
	text-decoration: underline;
}

#content article.post {
	padding-top: 23px;
	padding-bottom: 15px;
}

#content article.post h1 {
	padding-left: 5px;
	font-size: 33px;
}

#content div.entry-meta {
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	padding: 8px 5px 8px 5px;
	font-size: 14px;
}

#content div.entry-content {
	padding-left: 5px;
	padding-right: 5px;
}

/* Respect Wordpress's wishes regarding image alignment from the content editor */
#content div.entry-content img.alignleft {
	float: left;
	margin-right: 22px;
	margin-bottom: 13px;
}

#content div.entry-content img.alignright {
	float: right;
	margin-left: 22px;
	margin-bottom: 13px;
}

#content div.entry-content img.aligncenter {
	float: center;
	margin: 5px 0px 5px 0px;
}

#content div.entry-content input.read-more {
	height: 46px;
	width: 120px;
	background: url('./images/keep-reading-button.png') no-repeat 0px 0px;
	cursor: pointer;
	border: none;
}

#content div.entry-content input.read-more:hover {
	background: url('./images/keep-reading-button.png') no-repeat -120px 0px;
}

#article-footer-line {
	width: 562px;
	height: 1px;
	margin: 24px 0px;
	background: transparent url('./images/dashed-line.png') repeat;
}

#article-footer-buttons {
	width: 562px;
	height: 30px;
	margin-bottom: 30px;
}

#newer-posts, #older-posts {
	cursor: pointer;
	border: none;
	padding: 0px;
	margin: 0px;
	width: 102px;
	height: 30px;
}

#older-posts {
	float: left;
	background: transparent url('./images/older-posts-button.png') no-repeat 0px 0px;
}

#newer-posts {
	float: right;
	background: transparent url('./images/newer-posts-button.png') no-repeat 0px 0px;
}

#older-posts:hover, #newer-posts:hover {
	background-position: -102px 0px;
}


div .clearit {
	clear: both;
}

#secondary-navigation-wrapper {
	width: 306px;
	margin-right: 25px;
	float:right;
}

#secondary-navigation {
	margin-top: 315px;
	background-color: #292929;
	width: 287px;
	padding-left: 19px;
}

#secondary-navigation div.nav-box {
	padding-top: 24px;
	padding-bottom: 10px;
}

#secondary-navigation-footer {
	padding: 0px;
	width: 306px;
	height: 438px;
	background: transparent url('./images/secondary-nav-footer.png');
}

div.nav-box .header {
	width: 267px;
	height: 40px;
}

div.nav-box .links {
	width: 251px;
	background: #ba1d2d;
	padding: 8px;
	margin-top: 8px;
}

#facebook-button, #twitter-button {
	cursor: pointer;
	border: none;
	padding: 0px;
	margin: 0px;
	width: 103px;
	height: 32px;
}

#facebook-button {
	margin-left: 3px;
	background: transparent url('./images/facebook-button.png') no-repeat 0px 0px;
	width: 103px;
}

#facebook-button:hover {
	background-position: -103px 0px;
}

#twitter-button {
	margin-left: 20px;
	background: transparent url('./images/twitter-button.png') no-repeat 0px 0px;
	width: 92px;
}

#twitter-button:hover {
	background-position: -92px 0px;
}

div.nav-box .footer {
	width: 267px;
	height: 20px;
	background: url('./images/side-bar-footer-background.png');
}

#nav-mailing-list input.join-us {
	border-width: 2px;
	padding: 10px;
	width: 227px;
	height: 11px;
	margin-bottom: 4px;
}

#nav-mailing-list input.join-us.placeholder {
	color: #8f8f8f;
}

#mc-embedded-subscribe {
	cursor: pointer;
	border: none;
	padding: 0px;
	margin: 8px 0px 0px 0px;
	background: transparent url('./images/join-button.png') no-repeat 0px 0px;
	height: 23px;
	width: 251px;
}

#mc-embedded-subscribe:hover {
	background-position: 0px -23px;
}

#nav-follow-us .header {
	background: url('./images/follow-us-header.png');
}

#nav-mailing-list .header {
	background: url('./images/mailing-list-header.png');
}

#nav-contact-us .header {
	background: url('./images/contact-us-header.png');
}

#secondary-navigation #nav-contact-us {
	padding-bottom: 0px;
}

#call-us-button, #email-us-button {
	cursor: pointer;
	padding: 0px;
	margin: 10px 0px 0px 10px;
	border: none;
	height: 31px;
	width: 233px;
	background: transparent no-repeat 0px 0px;
}

#call-us-button:hover, #email-us-button:hover {
	background-position: 0px -31px;
}

#call-us-button {
	background-image: url('./images/call-us-button.png');
}

#email-us-button {
	background-image: url('./images/email-us-button.png');
}

#footer-wrapper {
	position:absolute;
	bottom: 0px;
	width: 100%;
	height: 278px;   /* Height of the footer */
	background: #292929 url('./images/footer-background.png');
}

#footer {
	padding: 0 0 0 0;
	margin: 0;
	width:960px;
	position: absolute;
	top: 0px;
	left: 50%;
	margin-left: -480px;
	background: url('./images/all-star-footer-logo.png') no-repeat 16px 55px;
	height: 278px;
}

#footer-contact-details {
	margin-left: 270px;
}

#footer div.footer-info {
	float: left;
	border-left: 1px solid #949494;
	height: 142px;
	margin-top: 45px;
	padding: 38px 42px 0px 42px;
	color: #949494;
}

.footer-info p {
	padding: 0px;
	margin: 0px;
}

.footer-info a {
	color: #949494;
	text-decoration: underline;
}

.footer-info a:hover {
	color: #FFF;
	text-decoration: none;
}


/*** EVENT STYLES ***/

h1.event {
	border-bottom: 1px #000 solid;
	padding: 0px 5px 15px 5px;
	margin-bottom: 15px;
}

div.event {
	border-bottom: 1px #000 solid;
	margin-bottom: 40px;
}

.event-description img {
	float: left;
	margin: 10px 20px 0px 0px;
}

div.event-title, div.event-details {
	float: left;
	width: 263px;
	border-bottom: 1px #000 solid;
	padding: 10px;
}

h2.event, div.event-title {
	font-size: 18px;
	font-weight: bold;
	color: #B01B2B;
}

h2.event {
	padding: 5px;
}

div.event-title {
	margin-bottom: 5px;
}

div.event-details {
	font-size: 14px;
	font-style: italic;
	margin-bottom: 15px;
}

div.event-details ul {
	display: inline;
	list-style: none;
	margin: 0px;
	padding: 0px;
}

div.event-images {
	padding: 5px;
}

div.event-images img {
	float: left;
	margin-right: 3px;
	margin-bottom: 3px;
}

div.event-images img {
	float: left;
	margin-right: 3px;
	margin-bottom: 3px;
}

/* Comments modifications */

#commentform #submit {
	cursor: pointer;
	border: none;
	padding: 0px;
	margin: 0px 40px;
	width: 110px;
	height: 30px;
}

#commentform #submit {
	float: right;
	background: transparent url('./images/comment-button.png') no-repeat 0px 0px;
}

#commentform #submit:hover {
	background-position: -110px 0px;
}

/*
 * Amazing slider slider overrides for the legends banner.
 * 
 * Need the !important because they use embedded CSS within the elements themselves
 * (which takes priority over all otherwise).
 */
div.amazingslider-nav-1 {
	margin-top: 5px !important;
}
