/*
Theme Name: The Sticking Place custom theme
Theme URI: http://thestickingplace.com
Description: The Sticking Place custom theme
Version: 1.0
Author: Andrew Staffell, original design by Andy Shanley
Author URI: http://fewerflatlands.co.uk
*/

/* YAHOO RESET */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
	margin:0;
	padding:0;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,img { 
	border:0;
}
address,caption,cite,code,dfn,em,strong,th,var {
	font-style:normal;
	font-weight:normal;
}
ol,ul {
	list-style:none;
}
caption,th {
	text-align:left;
}
h1,h2,h3,h4,h5,h6 {
	font-size:100%;
	font-weight:normal;
}
q:before,q:after {
	content:'';
}
abbr,acronym { border:0;
}

/* MAIN STUFF */
html {
	font-family: arial, sans-serif;
	font-size: 13px;
	color: #666;
}
h2,h3,h4,h5,h6,p{
	margin-bottom: 12px;
}
h2 {
	clear: left;
	font-size: 167%;
}
h3 {
	clear: left;
	font-size: 133%;
}
h4 {
	font-size: 115%;
}
a {
	color: #3d9a83;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
p {
	line-height: 130%;
}
strong,b {
	font-weight: bold;
}
em,i {
	font-style: italic;
}
strong em, em strong {
	font-weight: bold;
	font-style: italic;
}
body {
	background-image: url(images/backdrop.jpg);
	background-repeat: repeat-x;
	background-color: #f7f8fa;
}
hr {
	margin: 25px 0px;
	clear: both;
}
object {
	margin: 10px 0px;
}
#container {
	width: 790px;
	margin-left: auto;
	margin-right: auto;
	background-repeat: no-repeat;
	background-position: 296px 3px;
}
#container.theatre {
	background-image: url(images/theatre.jpg);
}
#container.film {
	background-image: url(images/film.jpg);
}
#container.books {
	background-image: url(images/books.jpg)
}
#header {
	text-indent: -5000px;
	background-image: url(images/header.jpg);
	width: 273px;
	height: 158px;
	background-repeat: no-repeat;
}
#header a {
	display: block;
	width: 100%;
	height: 100%;
}
#nav {
	padding-top: 5px;
	width: 768px;
	height: 60px;
}
#nav li {
	float: left;
}
#nav li a {
	display: block;
	height: 26px;
	background-repeat: no-repeat;
	background-position: 0px 0px;
	text-indent: -5000px;
}
p.indent {
text-indent: 20px;
}
#nav li a:hover {
	background-position: 0px -26px;
}
#nav li#menuitem-theatre a {
	background-image: url(images/menuitem-theatre.gif);
	width: 90px;
	background-position: -6px 0px !important;
}
#nav li#menuitem-theatre a:hover {
	background-position: -6px -26px !important;
}
#nav li#menuitem-film a {
	background-image: url(images/menuitem-film.gif);
	width: 64px;
}
#nav li#menuitem-books a {
	background-image: url(images/menuitem-books.gif);
	width: 71px;
}
#sidebar {
	float: right;
	width: 175px;
}
/* SUPER CLEVER SUBNAV STUFF - INTERACTS WITH JQUERY */
ul#subnav {
	padding-bottom: 20px;
}
ul#subnav h4 {
	margin-bottom: 0px;
}
ul#subnav>li>ul {
	margin-bottom: 15px;
}
ul#subnav>li>ul>li {
	margin-bottom: 5px;
}
ul#subnav>li>ul>li>h4.fold {
	margin-bottom: 2px;
}
ul#subnav>li>ul>li ul {
	font-size: 12px;
}
ul#subnav>li>ul>li>ul>li {
	margin-bottom: 2px;
}
ul#subnav>li>ul>li>ul>li>ul {
	margin-left: 10px;
	margin-bottom: 2px;
	margin-top: 2px;
}
ul#subnav>li>ul>li>ul>li>ul>li {
	margin-bottom: 2px;
}
ul#subnav>li>ul {
	margin-left: 16px;
}
ul#subnav>li>ul>li>ul>li>h4 {
	margin-bottom: 2px;
	font-size: 100%;
}
#subnav .fold {
	cursor: pointer;
}
#subnav li.expand-up {
	list-style-image: url(images/expand-up.gif);
	list-style-position: outside;
}
#subnav li.expand-down {
	list-style-image: url(images/expand-down.gif);
	list-style-position: outside;
}
li.current_page_parent>ul {
	padding: 2px;
	background-color: #eee;
}
/* CONTENT STUFF */
#main {
	float: right;
	width: 590px;
	margin-left: 25px;
	padding-bottom: 30px;
}
#mainother {
	padding-bottom: 30px;
}
#main ul, #main ol {
	margin-left: 15px;
	margin-bottom: 10px;
}
#main ul ul {
	padding-top: 2px;
}
#main li {
	margin-left: 10px;
	margin-bottom: 2px;
}
#main ul li {
	list-style-type: square;
}
#main ol li {
	list-style-type: decimal;
}
#main h3 {
	padding-top: 10px;
	padding-bottom: 2px;
	border-bottom: 1px solid #ccc;
}
#main blockquote {
	padding: 10px 10px 1px 10px;
	margin-bottom: 10px;
	background-color: #fff;
	border: 1px dotted #666;
	font-size: 92%;
}
.theatre #main blockquote {
	width: 350px;
}
#main blockquote p {
}
#main img {
	border: 2px solid #fff;
}
#main a img {
	border: 2px solid #3d9a83;
}
#main .ngg-galleryoverview {
	margin-bottom: 10px;
}
#main .ngg-galleryoverview div {
	float: left;
}
#main .ngg-gallery-thumbnail img {
	border: 2px solid #3d9a83;
	margin-right: 5px;
	margin-bottom: 10px;
}
.ngg-gallery-singlepic {
	margin-right: 7px;
	margin-bottom: 10px;
}
.alignleft {
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
}
.alignright { 
	float: right;
	margin-left: 20px;
	margin-bottom: 20px;
}
#main table {
	margin-bottom: 15px;
}
#main td {
	border: 1px solid #ccc;
	padding: 5px;
}
.wp-caption-text {
	margin-top: 4px;
	font-size: 85%;
}
/* display all Theatre galleries right */
.theatre #main .ngg-galleryoverview { 
	width: 180px;
	float: right;
	margin-left: 20px;
}
/* exception for Theatre gallery 19 */
.theatre #main #ngg-gallery-19 {
	width: inherit;
	float: none;
	margin-left: 0px;
}
.theatre #main #ngg-gallery-19 img {
	width: 80px;
	height: 50px;
}
/* family tree */
#tree {
	padding-top: 10px;
	padding-bottom: 10px;
	border: 1px solid #999;
	background-color: #fff;
}
#tree table {
	margin-bottom: 0px;
}
#tree td, #tree p, #tree img {
	margin: 0px; padding: 0px; border: none;
}
p.indent {
	text-indent: 20px;
	margin-top: -10px;
}
/* alexander mackendrick custom homepage */
.alexander-mackendrick #main {
	width: 100%;
}
.alexander-mackendrick div.wp-caption {
	float: left;
	padding: 0px 42px;
	text-align: center;
	font-size: 138.5%;
	font-weight: bold;
}
/* naked custom homepage */
.naked-under-the-waterfall #main {
	width: 100%;
}
.naked-under-the-waterfall div.wp-caption {
	float: left;
	padding: 0px 42px;
	text-align: center;
	font-size: 138.5%;
	font-weight: bold;
}

/* peter whitehead custom homepage */
.peter-whitehead #main {
	width: 100%;
}
.peter-whitehead div.wp-caption {
	float: left;
	padding: 0px 14px;
	text-align: center;
	font-size: 138.5%;
	font-weight: bold;
}


/* custom editor styles */
.extraspace {
	margin-bottom: 36px;
}
.ruledbelow {
	padding-bottom: 25px;
	margin-bottom: 25px;
	border-bottom: 1px solid #ccc;
}
.ruledabove {
	clear: both;
	padding-top: 25px;
	margin-top: 25px;
	border-top: 1px solid #ccc;
}
