/*
Theme Name: Insomnia Publications
Description: Insomnia Publications Theme
Version: 1.0
Author: PaulandJohn.com
Author URI: http://paulandjohn.com/
Tags: blank, reset
*/

*, html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h5, h5, h6, pre, form, label, fieldset, input, p, blockquote, th, td, div { 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, li { margin-left: 10px; }
caption, th { text-align:left }
h1, h2, h3, h5, h5, h6 { font-size:100%; font-weight:normal }
q:before, q:after { content:''}
strong { font-weight: bold }
em { font-style: italic }
a img { border:none }
div { position:relative }
.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
a {outline-style: none;}
table { border-collapse: separate; border-spacing: 0;}
caption, th, td {text-align: left;font-weight: normal;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}


body {
	background: #000 url(images/background.jpg) top center no-repeat;
	text-align: center;
	color: #fff;
	font-size: 13px;
	font-family: Arial, Helvetica;
}

#page-wrap {
	width: 960px;
	text-align: left;
	margin: 0 auto 0 auto;
	border-left: #181818 1px solid;
	border-right: #181818 1px solid;
}

a {
	color: #9a0000;
}

a:hover {
	color: #ac4343;
}

h2 {
	margin-bottom: 10px;
	font-size: 26px;
	color: #4a555d;
}

h3 {
	margin-bottom: 10px;
	font-size: 16px;
	font-weight: bold;
	color: #4a555d;
}

h4 {
	color: #9a0000;
	
}

p {
   font-family: arial, verdana, sans-serif;
   margin-bottom: 1em;
}

/* ----- Header ----- */

#header {
	background: #000 url(images/header.jpg) top center no-repeat;
	height: 145px;
	position: relative;
}
#header h1 a {
	text-indent: -9999px;
	top: 0px;
	left: 0px;	
	width: 960px;
	height: 145px;
        display: block;
	position: absolute;
}

#searchbar {
	background:#000;
	border:1px solid #2B2B2B;
	left:640px;
	padding:10px 0 10px 0;
	position:absolute;
	top:84px;
	width:300px;
}

#searchform {
	margin-left: 15px;
}

/* ----- Nav ----- */

.menu {
	background: #000 url(images/nav.jpg) top center repeat-x;
	height: 45px;
}

.menu ul li {
	display: inline;
        z-index: 1000;
}

.menu ul li a {
	display: block;
	height: 45px;
	text-align: center;
	font-weight: bold;
	float: left;
	color: white;
	font-size: 1.2em;
	line-height: 45px;
	text-decoration: none;
	padding-left: 20px;
}


/************************************************
*	Navbar      								*
************************************************/

#navbar {
	background: #000 url(images/nav.jpg) top center repeat-x;
	width: 960px;
	height: 45px;
	font-size: 18px;
	font-family: Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	font-weight: bold;
	margin: 0px;
	padding: 0px;
	}
	
	
#nav {
	margin: 0px;
	padding: 0px;
        z-index: 1000;
	}
	
#nav ul {
	float: left;
	list-style: none;
	margin: 0px;
	padding: 0px;
	}
	
#nav li {
	list-style: none;
	margin: 0px;
	padding: 0px;
	}
	
#nav li a, #nav li a:link, #nav li a:visited {
	color: #FFFFFF;
	display: block;
	font-size: 18px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
        margin: 0px;
	padding: 10px 15px 12px 15px;
	text-decoration: none;
	}

#nav li a:hover, #nav li a:active {
	color: #CCC;
        margin: 0px;
	padding: 10px 15px 12px 15px;
	text-decoration: none;
	}
	
#nav li li a, #nav li li a:link, #nav li li a:visited {
	background: #000;
	border: #2b2b2b 1px solid;
	width: 150px;
	color: #FFFFFF;
	font-size: 13px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: normal;
	float: none;
	margin: 0px;
	padding: 7px 10px 7px 15px;
	}
	
#nav li li a:hover, #nav li li a:active {
	background: #777777;
	color: #FFFFFF;
	padding: 7px 10px 7px 15px;
	}

#nav li {
	float: left;
	padding: 0px;
	}

#nav li ul {
	z-index: 9999;
	position: absolute;
	left: -999em;
	height: auto;
	width: 170px;
	margin: 0px;
	padding: 0px;
	}

#nav li li { 
	}

#nav li ul a { 
	width: 140px;
	}

#nav li ul a:hover, #nav li ul a:active { 
	}

#nav li ul ul {
	margin: -32px 0 0 171px;
	}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
	left: -999em;
	}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {
	left: auto;
	}

#nav li:hover, #nav li.sfhover { 
	position: static;
	}
	


/* ----- featured section ----- */

#featuredGalleryDiv {
	position: absolute;
	top: 15px;
	left: 15px;
	width: 600px;
	height: 310px;
	background: #000 url(images/tile3.jpg) top center;
	border: #2b2b2b 1px solid;
        padding: 0;
        margin: 0;
}

#featureSection {
	background: #000 url(images/featureSection.jpg) top center no-repeat;
	height: 345px;
	border-bottom: #2b2b2b 1px solid;
	position: relative;
}

#recentfeeds {
	width: 300px;
	background: #000 url(images/tile3.jpg) top center;
	border: #2b2b2b 1px solid;
	position: absolute;
	top: 15px;
	left: 640px;
	height: 310px;
}

#recentfeeds ul, #recentfeeds li, #recentfeeds ol{
       list-style: none;
       margin-left: 0px;
}

#sidebarfeeds {
	margin-bottom: 15px;
}

#sidebarfeeds h3 {
	background: url(images/latestPosts.jpg) top center;
	text-indent: -9999px;
	width: 240px;
	height: 26px;
}

#sidebarfeeds ul li {
	padding-bottom: 5px;
}


#recentfeeds h3 {
	background: url(images/latestPosts.jpg) top center;
	text-indent: -9999px;
	width: 240px;
	height: 26px;
	margin: 15px;
}

#recentfeeds ul {
	margin-left: 15px;
}

#recentfeeds ul li {
       padding-bottom: 5px;
       line-height: 18px;
}


/* ------Default Page------- */

#page-wide {
	width: 600px;
	/*background: #000 url(images/tile3.jpg) top center;*/
	border-top: #9a0000 3px solid;
        border-bottom: #9a0000 3px solid;	
        background-color: #eee;
        float: left;
	margin: 15px 0px 15px 15px;
}

#page-wide p {
	color: #333;
}

#page-wide ul {
	color: #333;
        list-style: disc;
}

.inner {
	margin: 15px;
}

#page-narrow {
	width: 300px;
	background: #000 url(images/tile3.jpg) top center;
	border: #2b2b2b 1px solid;
	margin: 15px 0px 15px 640px;
}



/* ----- Content Section ----- */

#content {
	background: #000 url(images/tile.jpg) top center;
        text-align: left;
        line-height: 18px;	
        overflow: auto;
}


#latest-books {
	width: 600px;
	background: #000 url(images/tile3.jpg) top center;
	border: #2b2b2b 1px solid;
	float: left;
	margin: 15px 0px 15px 15px;
}

#latest-books h3 {
	background: url(images/latestBooks.jpg) top center;
	text-indent: -9999px;
	width: 202px;
	height: 26px;
	margin: 15px;
}

#latest-books p {
	padding-right: 15px;
	margin-top: 8px;
	text-align: left;
}

#latest-books b a {
	text-transform: uppercase;
	color: #9a0000;
}



#latest-books b a:hover {
	color: #ac4343;
}

#latest-events {
	width: 300px;
	background: #000 url(images/tile3.jpg) top center;
	border: #2b2b2b 1px solid;
	margin: 15px 0px 15px 640px;
}

#latest-events h3 {
	background: url(images/latestEvents.jpg) top center;
	text-indent: -9999px;
	width: 219px;
	height: 26px;
	margin: 15px;
}

h3.latevents {
	background: url(images/latestEvents.jpg) top center;
	text-indent: -9999px;
	width: 219px;
	height: 26px;
	margin: 15px 15px 15px 0px;
}

h3.latbooks {
	background: url(images/latestBooks.jpg) top center;
	text-indent: -9999px;
	width: 202px;
	height: 26px;
	margin: 15px 15px 15px 0px;
}

.smallwrap {
	margin-top: 30px;
}

.smallwrap p {
	font-size: 12px;
}

#latest-ebooks {
	width: 928px;
	background: #000 url(images/tile3.jpg) top center;
	border: #2b2b2b 1px solid;
	float: left;
	margin: 15px 0px 15px 15px;
	clear: left;
}

#latest-ebooks h3 {
	background: url(images/latestEbooks.jpg) top center;
	text-indent: -9999px;
	width: 219px;
	height: 26px;
	margin: 15px;
}


#latest-ebooks a {
	padding: 0 0 0 12px;
}

/* --------- e-book content -----------*/

#ebookcontent {
	background: #000 url(images/tile.jpg) top center;
	overflow: auto;
}

#ebookcontentinner {
	background: #000 url(images/tile3.jpg) top center;
	border: #2b2b2b 1px solid;
	margin: 15px;
	overflow: auto;
        overflow-y: hidden;
        overflow-x: hidden;
}

#ebookcontentinner p{
	float: left;
	margin-bottom:13px;
	padding-bottom:4px;
	width:222px;
}

#ebookcontentinner a{
	margin-left: 20px;
}

body#e-books h2 {
	margin: 15px;
}
/* --------- Single Post -----------*/

#bookinfo {
	width: 600px;
	/*background: #000 url(images/tile3.jpg) top center;*/
	border-top: #9a0000 3px solid;
    border-bottom: #9a0000 3px solid;	
    background-color: #eee;
    float: left;
	margin: 15px 0px 15px 15px;
}

#bookinfo p {
	color: #333;
}

#bookinfo ul {
	color: #333;
        list-style: disc;
}

#bookinfoInner {
	margin: 15px;
}

.blogpost .post h2 {
	margin-bottom: 10px;
	font-size: 26px;
	color: #4a555d;
}

#bookImage {
	width: 225px;
	float: left;
	margin-bottom: 15px;
}

#bookInformation {
	width: 285px;
	float: left;
}


ul#authors {
	margin-bottom: 15px;
}

ul#bookDetails {
	margin-bottom: 25px;
}

#amazon {
}

.blogpost .post p {
	clear: left;
	margin-bottom: 10px;
}

.blogpost .post blockquote {
	font-size: 12px;
	font-style: italic;
	margin-left: 10px;
}

.blogpost .post strong {
	font-size: 12px;
	font-style: italic;
	font-weight: bold;
	margin-left: 10px;
}


#books-sidebar {
	width: 300px;
	background: #000 url(images/tile3.jpg) top center;
	border: #2b2b2b 1px solid;
	margin: 15px 0px 15px 640px;
}

#books-sidebarInner {
	margin: 15px;
}

#books-sidebarInner img{
	margin-left: 25px;
}

#books-sidebar ul, #books-sidebar li, #books-sidebar ol{
       list-style: none;
       margin-left: 0px;
}

#buyebook {
	margin-bottom: 25px;
}

#events-sidebar {
	width: 300px;
	background: #000 url(images/tile3.jpg) top center;
	border: #2b2b2b 1px solid;
	margin: 15px 0px 15px 640px;
}

#events-sidebarInner {
	margin: 15px;
}

#events-sidebar ul, #events-sidebar li, #events-sidebar ol{
       list-style: none;
       margin-left: 0px;
}

#events-sidebar a {
      text-align: left;
}

/* --------- End Single ---------- */

/* ----- Footer ----- */

#footer {
	clear:both;
	font-size: 12px;
	text-align: center;
	background: #000 url(images/nav.jpg) top center repeat-x;
	height: 45px;
	line-height: 45px;
}

#footer a {
        color: #CCC;
}

#footer a:hover {
        color: #CCC;
        text-decoration: none;
}

#simple-submit {

	width: 100%;

	border-top: 1px solid #bbb;

	border-bottom: 1px solid #bbb;

	background-color: #eee;

	font-family: Verdana, Arial, San-serif;

	font-size: 1em;

	color: #999;

	margin: 20px 0 20px 0;

}



#simple-submit a {

	color: #999;

	text-decoration: none;	

}



#simple-submit a:hover {

	color: #555;	

}



#simple-submit img {

	border: 0;

	padding-top:2px;

}



#simple-submit table {

	border: 0;

	width: 100%;

	cellpadding: 0;

	cellspacing: 0;

}



#simple-submit tr {

	list-style: none;

	margin: 5px 0 5px 0;

}



#simple-submit td {

	text-align: center;

	width: 25%

}



#simple-submit li:before {

	content: '';

}

.credits {
        display: none; 
}
.loadingElement {
       display: none;
}