/*
Theme Name: Musicals!
Description: WP theme for the Vancouver Musical Theatre Calendar - created Dec 2009.
Author: Adam Abrams
Author URI: http://www.adamabrams.com/
*/

html, body {
	height: 100%;
}

body { 
	background-color: #333;
	text-align: center;
}

body.calendar {
	background-color: white;
}

body,h1,h2,h3,h4,h5,p,ul,ol,li,dl,div,iframe,form,table,td,th {
	padding: 0;
	margin: 0;	
}


/*  IE 5.5 PNG FIX - INCLUDE iepngfix.htc AND blank.gif IN SITE */

img, div { behavior: url(iepngfix.htc) }

#wrapper {
	margin: auto;
	padding: auto;
	width: 900px;
	text-align: left;
	background: white url(images/interior-bg.gif) top right repeat-y;
}

body.home #wrapper {
	background: white url(images/home-bg.gif) top right repeat-y;
}

#wrapperNews {
	margin: auto;
	padding: auto;
	text-align: left;
	width: 750px;
	background: white url(http://www.adamabrams.com/vmtc/wp-content/themes/musicals/images/newsletter-bg.gif) top right repeat-y;
}

#header {
	position:relative;
	background: #0E354F url(images/header.jpg) top left no-repeat;
	text-align: center;
	height: 300px;
	width: 900px;
	margin: 0;
	padding: 0;
}

#headerNews {
	position:relative;
	text-align: center;
	margin: 0;
	padding: 0;
	height: 200px;
	width: 750px;
	background: #0E354F url(http://www.adamabrams.com/vmtc/wp-content/themes/musicals/images/header-news.jpg) top left no-repeat;
}

body.home #maincol {
	float:left;
	width: 600px;
	height: 100%;
	padding: 15px 0 0 0;
}

#maincol {
	float:left;
	width: 680px;
	padding: 15px;
}

iframe {
	height: 800px;
}

#maincolNews {
	float:left;
	width: 500px;
	padding-top: 15px;
	background-color: white;
	padding: 15px;
	font: 12px/16px Arial, Helvetica, sans-serif;
}

body.home #rightcol {
	float: right;
	width: 250px;
	margin: 0 12px;
	padding-top: 15px;
}

#rightcol {
	float: right;
	display:inline;
	width: 155px;
	margin: 0 10px;
	padding-top: 15px;
}

* html body.home #rightcol {
	float: right;
	width: 230px;
	margin: 0 10px;
	padding-top: 15px;
}


#rightcolNews {
	float: right;
	width: 155px;
	margin: 0 10px;
	padding-top: 15px;
	font: 10px/15px Arial, Helvetica, sans-serif;
}


#footer {
	clear: both;
	color: #999999;
	background-color: white;
	margin: auto;
	height: 50px;
	width: 900px;
	text-align: center;
	line-height: 14px;
}

#footerNews {
	clear: both;
	color: #999999;
	background-color: white;
	margin: auto;
	text-align: center;
	line-height: 30px;
	height: 30px;
	width: 750px;
	border-top: 1px solid gray;
}


/*  GLOBAL TEXT, LINK and IMAGE STYLES  */

body {
	font: 62.5%/110% Arial, Helvetica, sans-serif;
	line-height: 17px;
	color: black;
}

p, ul {
	font-size: 1.2em;
	padding: 0;
	margin-bottom: 7px;
}

h1, h2, h3, h4 {
	font: 'Lucida Grande',Tahoma,Futura,Helvetica,sans-serif;
	font-weight: bold;
	margin: 0; padding: 0;
	color: black;
	line-height: 110%;
	margin-bottom: 10px;
}

h1 {
	font-size: 1.8em;
	color: #003399;
}	
	
h2 {
	font-size: 1.5em;
}

h3 {
	font-size: 1.3em;
	margin-bottom: 5px;
}

h4 {
	font-size: 1em;
	text-transform: uppercase;
	margin-bottom: 5px;
}


a:link {color: brown;}
a:visited {color: brown;}
a:hover {color: black;}
a:active {color: brown;}


a, #nav li li a {
	color: #666666;
	text-decoration: none;
}

a:hover, #nav li li a:hover {
	color: #FFCC00;
}

a img {
	border: none;
}

table, td {
	margin: 0;border: 0;
}


/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */


/*   THE "CLEARFIX"   */

.clear:after {
content: ".";
display: block;
height: 0;
font-size: 0;
clear: both;
visibility: hidden;
}

.clear {
min-height: 1px;
}

* html .clear {
height: 1px;
}


/* TOP NAVIGATION and SUBMENU  */

#nav, #nav ul {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	list-style: none;
	line-height: 1;
	background: none;  /* OVERALL MENU BG */
	font-weight: bold;
	padding: 0;
	border: none;  /* TOP & BOTTOM OF MENU  */
	border-width: 0;
	margin: 0 0 12px 12px;
	text-transform: uppercase;
}

body.home li#home,
body.page-id-66 li#news,
body.page-id-8 li#subscribe,
body.page-id-60 li#subscribe,
body.page-id-2 li#links,
body.page-id-11 li#tellafriend,
body.page-id-14 li#contact {
	color: #FFCC33; /* HILITE OF CURRENT PAGE  */
	border: 2px dotted white;
}

#nav a {
	display: block;
	color: white;  /* LINK TEXT COLOUR  */
	text-decoration: none;
	padding: 0.25em 2em;
}

#nav li {
	float: left;
	padding: 0;
	margin: 0;
}

#nav li:hover, #nav li.sfhover {
	background: none;  /*  HIGHLIGHT BG COLOUR  */
}

#nav li a:hover, #nav li li a:hover {
	color: #FF9900;  /* HILIGHT TEXT COLOR  */
}

/* LISTS  */

ul {
	margin-left: 24px;
}

/*  OTHER STYLES  */

body.home .post {
	margin-bottom: 15px;
}

img.autothumb {
	margin-bottom: 7px;
}

#hiliteBox {
	background-color: #FFCCCC;
	padding: 10px;
	color: #000000;
}

/* VMTC STYLES */

#calendarHolder {
	width: 615px;
	margin: 0 0 0 20px; 
	padding: 0;
}

#calendarLeft {
	float: left;
	text-align: left;
	width: 420px;
}

#calendarRight {
	float:right;
	width: 180px;
	padding-left: 10px;
}

.infotype {
	padding-right: 10px;
	font-weight: bold;
}

.detailslink {
	text-align: right;
}

.viewmonth {
	text-align: center;
	margin-top: 21px;
}

.eventlisting {
	border-bottom: 1px dotted black;
	padding-top: 10px;
}

body.calendar h1, body.calendar h2, body.calendar h3 {
	margin: 0; padding:0;
}	

/* OTHER STYLES  */

.wp-caption {
	margin: 0 0 15px 0;
	padding: 7px;
	border: 1px solid gray;
}

.wp-caption img {
	margin: 0; padding: 0;
}

.wp-caption-text {
	font-size: 12px;
	font-style: italic;
}

#adcolumn {
	text-align: left;
	padding-top: 15px;
}

#adcolumn a img {
	border: 1px solid orange;
}

#contactform {
	float: right;
	width: 350px;
	border: 1px solid brown;
	background-color: tan;
	padding: 10px;
	margin: 0 0 15px 15px;
}

#contactform p {
	font-weight: bold;
	line-height: 1;
	margin-bottom: 7px;
}

.homeblurb p {
	font: italic 16px/20px Arial,Helvetica,sans-serif;
	margin-bottom: 15px;
}


#homenews p {
	font-size: 1.3em;
}

#homelinks p {
	margin:10px 0 0 0; padding:0;
}

#homelinks p.sectionhead,
#homenews p.sectionhead{
	font-weight: bold;
	color: white;
	background-color: #003399;
	padding:3px;
}


small {
	margin:0; padding:0;
}
