/*
Theme Name: Saqi
Author: Will Brady
Author URI: http://willbrady.net/
Description: Custom theme built on the Toolbox framework. 
Version: 1.0
Tags: custom-menu, sticky-post, microformats, rtl-language-support, translation-ready, full-width-template, post-formats

*/

/* =Structure
-------------------------------------------------------------- */

html {
	margin: 0;
	padding: 0;	
	height: 100%;
}

body {
	margin: 0;
	padding: 0 0 60px 0;
	height: 100%;
	font-size: 12px;
	font-family: Helvetica, Arial, sans-serif;
}

#wrap-all {
	height: 100%;
}

#wrapper {
	width: 1000px;
	margin: 0 auto;
	padding: 0;
	background-color: #fff;
}

em {
	font-style: italic;
}

strong {
	font-weight: bold;
}
p {
	margin-bottom: 12px;
	padding-right: 20px;
}

a {
	text-decoration: none;
	color: #464642;
}

a:visited {
	color: #464642;
}

a:hover {

	text-decoration: none;
}

#page {
	display: block;
	margin: 0 auto;
	width: 940px;
}

#logo {
	width: 940px;
	height: 100px;
	background: url('images/logo3.png');
	margin-top: 30px;	
margin-bottom: 50px;
}

#primary {
	clear: both;
	color: #464642;
	font-size: 13px;
	line-height: 1.25;
	float: left;
	margin: 20px -240px 30px 0;
	width: 699px;
}

#primary a {
	text-decoration: underline;
}

#content.empty {
	min-height: 500px;
}

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

#primary-books {
	clear: both;
	color: #464642;
	font-size: 13px;
	line-height: 1.25;
	float: left;
	margin: 20px -240px 50px 0;
	width: 964px;
}

#primary-single-books {
	clear: both;
	color: #464642;
	font-size: 13px;
	line-height: 1.25;
	float: left;
	margin: 20px -240px 50px 0;
	width: 940px;
}

#content {
	margin: 0;
}
#main .widget-area {
	margin-top: 20px;
	float: right;
	overflow: hidden;
	width: 220px;
}

#main .widget-area-home {
	clear: both;
	margin-top: 0;
	float: right;
	overflow: hidden;
	width: 940px;
}


#colophon {
	clear: both;
	display: block;
	width: 100%;
}

/* Increase the size of the content area for templates without sidebars */
.full-width #content,
.image-attachment #content,
.error404 #content {
	margin: 0;
}

/* Text meant only for screen readers */
.screen-reader-text,
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}


/* =Header
-------------------------------------------------------------- */

#site-title {
	font-size: 2em;
	font-weight: 600;
	margin: .67em 0;
}
#site-description {
	font-size: 1em;
	font-weight: 400;
	margin: 0 0 1em;
}


/* =Headings
-------------------------------------------------------------- */



h1 {
font-family: 'EB Garamond', serif;	font-size: 30px;
	color: #000;
}

h1.page-title {
	margin: 0 0 30px 0;
	font-size: 40px;
	color: #007fb7;
}

h1 a { 
	text-decoration: none;
	color: #000;
}

h1.book-title a { 
	text-decoration: none !important;
}

h2 {
font-family: 'EB Garamond', serif;	font-size: 30px;
	margin: 0 0 30px 0;
	color: #007fb7;
}

h2 a {
	text-decoration: none;
}

h1.book-title {
	line-height: 1;
	margin: 0;
}

#secondary {
	margin-top: 0;
	font-size: 11px;
	line-height: 13px;
	margin-bottom: 30px;
}

#secondary-home {
width: 940px;
margin-bottom: 30px;
}


#secondary h2, #secondary-home h2 {
font-family: 'EB Garamond', serif;    font-size: 16px;
    line-height: 18px;
    margin: 0;
    text-decoration: none;
}

#secondary h3 { 
	margin: 20px 0 20px 0;
	color: #007fb7;
	text-transform: uppercase;
	line-height: 1.25;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 10px;
}

#secondary-home h3 {
margin-top: 0;
	text-align: center;
	text-transform: uppercase;
	background-color: #007fb7;
	color: #fff;
	padding: 7px;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 10px;
	margin: 0 0 20px 0;
}

#secondary-home h3 a {
	color: #fff; 
}

#secondary-home h3 a:hover {
	color: #fff; 
}


#secondary a:hover, #secondary-home a:hover {

	text-decoration: none;
	color: #007fb7;
}


#secondary ul li, #secondary-home u li {
clear: both;
	border-bottom: 1px solid #EEEEEE;
    list-style: none outside none;
    margin: 0 0 20px 0;
    padding: 0 0 10px 0; 
}

#miniloops {
	min-height: 110px;

}


#dpe_fp_widget-2 {
margin-left: 20px;
}

#text-3 p {
margin-top: 10px;
padding-right: 0;
}

ul.dpe-flexible-posts li {
clear: both;
min-height: 110px;
border-bottom: 1px solid #eee;
}

ul.dpe-flexible-posts li:nth-child(2) {
border-bottom: none;
}

ul.dpe-flexible-posts img {
display: inline;
float: left;
margin-right: 10px;
margin-bottom: 40px;
}

ul.dpe-flexible-posts h4 {
display: inline;
}




#secondary img {
}

#secondary .entry-meta {
    color: #7C7C7C;
    font-size: 9px;
    letter-spacing: 1px;
    padding: 5px 0;
    text-transform: uppercase;
clear: none;
}

#secondary ul li:last-child {
	border-bottom: 0;
	margin-bottom: 30px;
}

.book-summary h1.book-title {
	margin: 0;
	font-size: 24px;
	line-height: 1;
}

.book-summary h2.book-subtitle {
	font-size: 18px;
}

h2.book-subtitle {
	color: #000;
	font-weight: 400;
	margin: 0;
font-family: 'EB Garamond', serif;	font-size: 22px;
	padding-bottom: 17px;
}

h3 {
font-family: 'EB Garamond', serif;	font-size: 20px;
margin: 10px 0;
}

h3.book-author {
	margin: 5px 0 0 0;
	line-height: 1;
}

.book-summary h3.book-author {
	font-size: 16px;
}

.book-summary h3.book-editor {
	font-size: 16px;
}


h3.book-editor {
	margin: 0;
}

h3.section { 
	font-family: Helvetica, Arial, sans-serif;
	font-size: 10px;
	margin: 30px 0 15px 0;
	color: #007fb7;
	text-transform: uppercase;
}

h4 {
	font-size: 13px;
	margin: 0 0 15px 0;
}

#related-posts h2 {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 10px;
	margin-bottom: 20px;
	color: #007fb7;
	text-transform: uppercase;
}

/* =Menu
-------------------------------------------------------------- */

#primary-menu a:hover , #menu-books a:hover , #menu-other a:hover {
	color: #000;
}
#primary-menu {
	background: #fff;
	display: block;
	float: left;
	margin: 0 auto;
	padding: 0;
	width: 100%;
	font-size: 12px;
	text-transform: uppercase;
}
#primary-menu ul, #menu-books ul, #menu-other ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

#primary-menu li, #menu-books li, #menu-other li {
	float: left;
	position: relative;
}
#primary-menu a, #menu-books a, #menu-other a {
	display: block;
	line-height: 2em;
	padding: 0 1em;
	text-decoration: none;
}

#primary-menu li:nth-child(1n) a {
	padding: 0 1.5em 0 0;
}

.current_page_parent a {
	font-weight: 600;
}

.current-page-ancestor a {
	font-weight: 600;
}

.current-menu-item a {
	font-weight: 600;
}



/* =Books Menu */

#menu-books {
	margin-left: -1em;
	font-size: 12px;
}

#menu-books a {
	color: #007fb7;
}

#menu-books ul ul {
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	position: absolute;
	top: 2em;
	left: 0;
	z-index: 99999;
}
#menu-books ul ul ul {
	left: 100%;
	top: 0;
}
#menu-books ul ul a {
	background: #eeeeee;
	line-height: 1em;
	padding: .5em .5em .5em 1em;
	width: 13em;
	height: auto;
}
#menu-books li :hover > a,
#menu-books ul ul :hover > a {
	background: #eeeeee;
}
#menu-books ul ul .menu-item-357 a:hover {
	background: #cecece;
}
#menu-books ul li:hover > ul {
	display: block;
}


/* =Other Menus */

#menu-other {
	margin-left: -1em;
	font-size: 12px;
}

#menu-other a {
	color: #007fb7;
}

#menu-other ul ul {
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	position: absolute;
	top: 2em;
	left: 0;
	z-index: 99999;
}
#menu-other ul ul ul {
	left: 100%;
	top: 0;
}
#menu-other ul ul a {
	background: #eeeeee;
	line-height: 1em;
	padding: .5em .5em .5em 1em;
	width: 13em;
	height: auto;
}
#menu-other li .menu-item-2106 :hover > a,
#menu-other ul ul .menu-item-2106:hover > a {
	background: #eeeeee;
}
#menu-other ul ul .menu-item-2106 a:hover {
	background: #cecece;
}
#menu-other ul li:hover > ul {
	display: block;
}




/* =Search
-------------------------------------------------------------- */


#searchform {
	float: right;
	position:relative;
	height: 2em;
}

#searchform #s {
	margin: 0;
	padding: 0 5px;
	border: none;
	float: right;
	height: 2em;
	width:207px !important;
	background-color:#eeeeee; 
	color: #464642;
}


#searchform #s:hover {
	background-color: #007fb7;
	color: #fff;
}

#searchform  #searchsubmit {
	background: #fff;
	height: 2em;
	border: none;
	margin-right: 20px;
}

#searchform  #searchsubmit:hover {
	text-decoration: none;
}



/* =Content
-------------------------------------------------------------- */



.sticky {
}
.entry-meta {
	clear: both;
	display: block;

}

.entry-header {
	margin: 0 0 20px 0;
}

.entry-content {
	margin-top: 24px;
}

.series-description {
	margin-bottom: 20px;
	width: 458px;
}

.series-description h3 {
	font-size: 18px;
	margin-top: -10px;
}

footer.entry-meta {
	border-bottom: 1px solid #EEEEEE;
	margin: 0 0 24px 0;
	padding: 10px 0;
}
.single-author .entry-meta .byline {
	display: none;
}
#content nav {
	display: block;
	overflow: hidden;
}
#content nav .nav-previous {
	float: left;
	width: 50%;
}
#content nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content #nav-above {
	display: none;
}

 
.paged #content #nav-above,
.single #content #nav-above {
	float: left;
	display: block;
	width: 693px;
	font-size: 10px;
	margin: 20px 0;
	color: #007fb7;
	text-transform: uppercase;
}

#book #nav-above {
	margin-top: 0 !important;
}

.paged #content #nav-above,
.single #content #nav-above a {
	color: #007fb7;
	text-decoration: none;
} 

.paged #content #nav-above,
.single #content #nav-above a:hover {
	text-decoration: underline;
} 

#nav-below {
	clear: both;
	margin: 20px 0 0;
}
.page-link {
	clear: both;
	margin: 0 0 1em;
}
.page .edit-link {
	clear: both;
	display: block;
}

.post-summary {
	float: left;
	margin: 0 0 24px 0;
	border-bottom: 1px solid #eee;
}

.post-wrapper {
	clear: both;
	padding: 10px 0;
}



.post-summary-thumbnail {
	float: left;
	width: 458px;
	margin: 0 0 20px 24px;
	border-bottom: 1px solid #eee;
}

/* 404 page */
.error404 .widget {
	float: left;
	width: 33%;
}
.error404 .widget .widgettitle,
.error404 .widget ul {
	margin-right: 1em;
}
.error404 .widget_tag_cloud {
	clear: both;
	float: none;
	width: 100%;
}


#col1 {
	clear: both;
	width: 217px;
	float: left;
	margin: 0 0 0 0;
}

#book-wrapper {
	height: 375px;
	width: 458px;
	float: left;
	padding: 0;
	margin: 24px 24px 0 0;
	border-bottom: 1px solid #eee;
}


#book {
	width: 699px;
	float: left;
	padding: 0;
	margin: 0 0 20px 0;
}

.book-header {
	margin-bottom: 50px;
}

.book-blurb {
	width: 458px;
	float: left;
	margin: 0 0 20px 24px;
	padding: 0;

}

.book-summary {
	min-height: 170px;
	width: 217px;
	float: left;
	margin: 0 0 24px 24px;
	padding: 0;
}

.book-summary p {
	font-size: 12px;
}

.book-thumb {
	width: 100px;
	float: left;
	margin: 0 24px 20px 0;
}

.book-thumb img {
-moz-box-shadow: 0 0 5px 5px #eee;
-webkit-box-shadow: 0 0 5px 5px#eee;
box-shadow: 0 0 5px 5px #eee;
}

.book-image {
	width: 217px;
	float: left;
	margin: 0 24px 20px 0;
}
.book-thumbnail-image {
	width: 100px;
	float: left;
	margin: 0 24px 20px 0;
}

.book-specifications {
	font-size: 11px;
	float: left;
	width: 217px;
}

.book-specifications ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.book-specifications ul li {
	padding: 1px 0;
}

.book-meta-summary {
	font-size: 9px;
	padding: 10px 0;
	color: #7C7C7C;
	text-transform: uppercase;
	letter-spacing: 1px;
}



.read-more {
	width: 217px;
	float: right;
}

.read-more img {
-moz-box-shadow: 0 0 5px 5px #eee;
-webkit-box-shadow: 0 0 5px 5px#eee;
box-shadow: 0 0 5px 5px #eee;
}

.read-more li {
	float: left;
	list-style-type: none;
	width: 100px;
	display: inline;
	padding-right: 17px;
	padding-bottom: 17px;
}

.read-more li:nth-child(2n) {
	padding-right: 0;
}


/* Notices */
.post .notice,
.error404 #searchform {
}

/* Image Attachments */
.image-attachment div.entry-meta {
	float: left;
}
.image-attachment nav {
	float: right;
	margin: 0 0 1em 0;
}
.image-attachment .entry-content {
	clear: both;
}
.image-attachment .entry-content .entry-attachment {
	background: #eee;
	margin: 0 0 1em;
	padding: 1em;
	text-align: center;
}
.image-attachment .entry-content .attachment {
	display: block;
	margin: 0 auto;
	text-align: center;
}

/* Aside Posts */
.format-aside .entry-header {
	display: none;
}
.single .format-aside .entry-header {
	display: block;
}
.format-aside .entry-content,
.format-aside .entry-summary {
	padding-top: 1em;
}
.single .format-aside .entry-content,
.single .format-aside .entry-summary {
	padding-top: 0;
}

/* Gallery Posts */
.format-gallery .gallery-thumb {
	float: left;
	margin: 0 1em 0 0;
}

/* Image Posts */
.format-image .entry-header {
	display: none;
}
.single .format-image .entry-header {
	display: block;
}
.format-image .entry-content,
.format-image .entry-summary {
	padding-top: 1em;
}
.single .format-image .entry-content,
.single .format-image .entry-summary {
	padding-top: 0;
}


/* =Images
-------------------------------------------------------------- */

a img {
	border: none;
}
p img {
	margin-bottom: 0.5em; /* a small bottom margin prevents content floating under images */
}
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
img.alignleft {
	margin-right: 10px;
	margin-bottom: 50px;
}
img.alignright {
	margin-left: 10px;
	margin-bottom: 10px;
}
.wp-caption {
	padding: .5em;
	text-align: center;
}
.wp-caption img {
	margin: .25em;
}
.wp-caption .wp-caption-text {
	margin: .5em;
}
.gallery-caption {
}
.wp-smiley {
	margin: 0;
}

img.single-book {
-moz-box-shadow: 0 0 5px 5px #eee;
-webkit-box-shadow: 0 0 5px 5px#eee;
box-shadow: 0 0 5px 5px #eee;
}

/* =Forms
-------------------------------------------------------------- */

#searchform label {
	display: none;
}
#searchform input#s {
	width: 60%;
}
input[type=text],
input#s {
	margin: 0 1em 0 0;
	width: 60%;
}
textarea {
	width: 80%;
}

/* Class for labelling required form items */
.required {
	color: #cc0033;
}


/* =Comments
-------------------------------------------------------------- */

article.comment {
	display: block;
}
#respond input[type=text] {
	display: block;
	width: 60%;
}
#respond textarea {
	display: block;
	margin: 0 0 1em;
	width: 80%;
}
#respond .form-allowed-tags {
	clear: both;
	width: 80%;
}
#respond .form-allowed-tags code {
	display: block;
}


/* =Widgets
-------------------------------------------------------------- */

.widget {
	display: block;
}
.widget-area .widget_search {
	overflow: hidden;
}
.widget-area .widget_search input {
	float: left;
}

#secondary-home .widget{
	display: inline-block;
	width: 340px;
	vertical-align: top;
}



#text-3 { 
width: 220px !important;
float: right;
margin: 0;
}  



/* =Footer
-------------------------------------------------------------- */

footer {
 background-color: #fff;
 }

#colophon {
	bottom: 0;
	width: 940px;
	height: 60px;
	border-top: 1px solid #007fb7;
}

#menu-footer {
	top: 0;
	left: 0;
	display: block;
	margin: 0 auto 30px;
	padding: 10px 0;
	width: 500px;
	font-size: 10px;
	text-transform: uppercase;
}

#menu-footer ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

#menu-footer li {
	float: left;
	position: relative;
}
#menu-footer a {
	display: block;
	line-height: 2em;
	padding: 0 1em;
	text-decoration: none;
}

#menu-footer a:hover {
	color: #000;
}

#menu-footer li:nth-child(1n) a {
	padding: 0 1.5em 0 0;
}

#copyright {
	margin-top: -50px;
	font-size: 10px;
}

/*-------------General Folio Styles Starts Here---------------*/  


ul#folio {
	width: 940px;
	margin: 30px 0;
	padding: 0;
}


/*------------------Grid Layout Starts Here-------------------*/  
    ul#folio.grid li{  
        width: 217px;  
        float: left;  
        margin: 0 24px 0 0;  
	padding: 0;
        display: inline;  
    }  
    ul#folio.grid li .content{  
        display: none;  
    }  
    ul#folio.grid li .image span a{  
        width: 217px;  
        display: block;  
    }  
    ul#folio.grid li.rightmost{  
        margin-right: 0;  
    }  


    /*------------------List Layout Starts Here-------------------*/  
    ul#folio.list li{  
        display: block;  
    }  
    ul#folio.list li .image,ul#folio li.details .image{  
        width: 217px;  
        float:left;  
    }  
    ul#folio.list li .content{  
        float: left;  
        padding: 0 10px 0 40px;  
        width: 940px;  
    }  
    ul#folio.list li .content h2,ul#folio li.details .content h2{  
        font-size: 24px;  
        color: #C2FC48;  
        margin-bottom: 6px;  
        font-family: Georgia, Arial, Helvetica, sans-serif;  
    }  
    ul#folio.list li .content span.tags,ul#folio li.details .content span.tags{  
        color: #fff;  
        font-size: 11px;  
        font-style: italic;  
        margin-bottom: 10px;  
        display: block;  
    }  



ul#grid {
	width: 980px;
	list-style-type: none;
	padding: 0;
	margin: 0;
}

li#grid-book {
	width: 217px;
	margin: 0 24px 24px 0;
	padding: 0;
}

li#grid-book:nth-child(4n) {
	margin-right: 0;
}

#buybook {
	width: 197px;
	padding: 10px;
	background-color: #007fb7;
	text-align: center;
}

#buybook:hover {
	background-color: #7C7C7C;
}

#buybook a {
	color: #fff;
}

#buybook a:hover {
	color: #fff;
}



#slideshow {
	width: 940px;
	height: 400px;
	background-color: #eee;
}

#twitter-5 {
	text-align: left !important;
	margin: 0;
}

.rslides_container {
margin-bottom: 0 !important;
}

#author-info {
	min-height: 300px;
	clear: both;
	padding-bottom: 24px;
	border-bottom: 1px solid #eee;
}

#authors-az h2 {
	width: 100px;
	float: left;
	
}

#authors-az ul ul {
	padding-top: 10px;
	padding-bottom: 24px;
	border-bottom: 1px solid #eee;
	min-height: 60px;
}

#authors-az ul ul li {
	padding-left: 100px;
	
}

#authors-az a {
	text-decoration: none;
	
}

#footer-links {
	width: 400px;
	
}

#mc_embed_signup {
	padding-top: 24px;	
}

#mc_embed_signup form {
	padding: 0 !important;
    position: relative;
}

#mc_embed_signup .mc-field-group {
	width: 100% !important;	
}

#mc_embed_signup .mc-field-group input {
	margin: 0;
    padding: 0 5px !important;
    border: none;
    float: right;
    height: 2em;
    width: 207px !important;
    background-color: #eeeeee;
    color: #464642;
	
}

#mc_embed_signup .button {
    background: #fff;
    height: 2em;
    border: none;
    margin-right: 20px;
    right: 217px;
    position: absolute;
	padding: 5px;
	cursor: pointer;
}


#mc_embed_signup div.mce_inline_error {
	clear: both;
	float: right;
	width: 207px;
	color: #007fb7 !important;
	background-color: #fff !important; 
}