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

/* FONT EMBEDDING */

@font-face {
    font-family: 'cardo';
    src: url('fonts/cardo104s-webfont.eot');
    src: url('fonts/cardo104s-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/cardo104s-webfont.woff2') format('woff2'),
         url('fonts/cardo104s-webfont.woff') format('woff'),
         url('fonts/cardo104s-webfont.ttf') format('truetype'),
         url('fonts/cardo104s-webfont.svg#cardoregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* 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: "cardo";
	font-size: 13px;
	color: #000;
}
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: #cb1212;
	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: #ffffff;
}
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;
}
#header {
	text-indent: -3000px;
	background-image: url(images/header.png);
	width: 244px;
	height: 247px;
	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;
}
#sidebar {
	float: right;
	width: 175px;
	margin-top:-85px;
}
/* SUPER CLEVER SUBNAV STUFF - INTERACTS WITH JQUERY */
ul#subnav {
	padding-bottom: 20px;
	color:#cb1212;
	font-size: 0px;
	margin:-9px;
}
ul#subnav h4 {
	margin-bottom: 0px;
	font-size:12pt;
color:#cb1212;
}
ul#subnav>li>ul {
	margin-bottom: 15px;
	font-size:12pt;
color:#cb1212;
}
ul#subnav>li>ul>li {
	margin-bottom: 0px;
	font-size:12pt;
}
ul#subnav>li>ul>li>h4.fold {
	margin-bottom: 2px;
}
ul#subnav>li>ul>li ul {
	font-size: 12pt;
}
ul#subnav>li>ul>li>ul>li {
	margin-bottom: 0px;
	font-size:9pt;
        line-height: 1.3;
}
ul#subnav>li>ul>li>ul>li>ul {
	margin-left: 6px;
	margin-bottom: 2px;
	margin-top: 2px;
}
ul#subnav>li>ul>li>ul>li>ul>li {
	margin-bottom: 2px;
}
ul#subnav>li>ul {
	margin-left: 0px;
}
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;
}
/* CONTENT STUFF */
#main {
	float: right;
	width: 590px;
	margin-left: 25px;
	margin-top:-85px;
	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 h2 {
	margin: 0 0 10px 0;
}
#main h3 {
	margin: 0 0 10px 0;
	padding-bottom: 10px;
	border-bottom: 1px solid #ccc;
}
#main blockquote {
	padding: 10px 10px 1px 10px;
	margin-bottom: 10px;
	background-color: #fff;
	border: 1px dotted #cb1212;
	font-size: 92%;
}
.theatre #main blockquote {
	width: 350px;
}
#main blockquote p {
}
#main img {
	border: 1px solid #fff;
}
#main a img {
	border: 1px solid #cb1212;
}
#main .ngg-galleryoverview {
	margin-bottom: 10px;
}
#main .ngg-galleryoverview div {
	float: left;
}
#main .ngg-gallery-thumbnail img {
	border: 1px solid #cb1212;
	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 */
#main.bookcovers {
	width: 100%;
}
.bookcovers div.wp-caption {
	float: left;
	padding: 0px 15px;
	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;
}