/*
Theme Name: PresenceBuilders Theme2
Theme URI: http://presencebuilders.com
Author: Online Presence Builders
Author URI: http://presencebuilders.com
Description: 2014 Single Page Theme for PresenceBuilders
Comments disabled - No Comments in CSS
*/


/**
 * Table of Contents:
 *
 * 1.0 - Reset
 * 2.0 - Repeatable Patterns
 * 3.0 - Basic Structure
 * 4.0 - Header
 *   4.1 - Site Header
 *   4.2 - Navigation
 * 5.0 - Content
 *   5.1 - Entry Header
 *   5.2 - Entry Meta
 *   5.3 - Entry Content
 *   5.4 - Galleries
 *   5.5 - Post Formats
 *   5.6 - Attachments
 *   5.7 - Post/Paging Navigation
 *   5.11 - 404
 *   5.13 - Multisite
 * 6.0 - Sidebar
 *   6.1 - Widgets
 * 7.0 - Footer
 * 8.0 - Media Queries
 * 9.0 - Print
 * ----------------------------------------------------------------------------
 */


/**
 * 1.0 Reset
 *
 * Modified from Normalize.css to provide cross-browser consistency and a smart
 * default styling of HTML elements.
 *
 * @see http://git.io/normalize
 * ----------------------------------------------------------------------------
 */

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
video {
	display: inline-block;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden] {
	display: none;
}

html {
	font-size: 100%;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

html,
button,
input,
select,
textarea {
	font-family: "Source Sans Pro", Helvetica, sans-serif;
}

body {
	color: #141412;
	line-height: 1.5;
	background-color: #fff;
	width: 100%;
	margin: 0 auto;
	font-size: 15px;
}

a {
	color: #3b0f16;
	text-decoration: none;
}

a:focus {
	outline: thin dotted;
}

a:active,
a:hover {
	color: #B27F47;
	outline: 0;
	text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	line-height: 1.3;
}

h1 {
	font-size: 36px;
	font-weight: bold;
	font-family: 'Playfair Display', serif;
}

h2 {
	font-size: 32px;
	font-weight: bold;
	font-family: 'Playfair Display', serif;
}

h3 {
	font-size: 28px;
	font-weight: bold;
	font-family: 'Playfair Display', serif;
}

h4 {
	font-size: 22px;
}

h5 {
	font-size: 20px;
}

h6 {
	font-size: 18px;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

p {
	font-size: 15px;
}

small {
	font-size: smaller;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

nav ul,
nav ol {
	list-style: none;
	list-style-image: none;
}

nav li {
	display: inline-block;
}

li > ul,
li > ol {
	margin: 0;
}

svg:not(:root) {
	overflow: hidden;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0;
}

legend {
	border: 0;
	padding: 0;
	white-space: normal;
}

button,
input,
select,
textarea {
	font-size: 100%;
	margin: 0;
	max-width: 100%;
	vertical-align: baseline;
}

button,
input {
	line-height: normal;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
input[disabled] {
	cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
	padding: 0;
}

input[type="search"] {
	-webkit-appearance: textfield;
	padding-right: 2px; /* Don't cut off the webkit search cancel button */
	width: 270px;
}

input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
}


caption {
	font-size: 16px;
	margin: 20px 0;
}

th {
	font-weight: bold;
	text-transform: uppercase;
}

del {
	color: #333;
}

ins {
	background: #fff9c0;
	text-decoration: none;
}

/**
 * 2.0 Repeatable Patterns
 * ----------------------------------------------------------------------------
 */

.genericon:before,
.menu-toggle:after,
.featured-post:before,
.date a:before,
.entry-meta .author a:before,
.format-audio .entry-content:before,
.comments-link a:before,
.tags-links a:first-child:before,
.categories-links a:first-child:before,
.edit-link a:before,
.attachment .entry-title:before,
.attachment-meta:before,
.attachment-meta a:before,
.comment-awaiting-moderation:before,
.comment-reply-link:before,
.comment-reply-login:before,
.comment-reply-title small a:before,
.bypostauthor > .comment-body .fn:before,
.error404 .page-title:before {
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font: normal 16px/1 Genericons;
	vertical-align: text-bottom;
}

/* Clearing floats */
#clearfloats,
.clearfloats,
.clear:after,
.attachment .entry-header:after,
.site-footer .widget-area:after,
.entry-content:after,
.page-content:after,
.navigation:after,
.nav-links:after,
.gallery:after,
.comment-form-author:after,
.comment-form-email:after,
.comment-form-url:after,
.comment-body:after {
	clear: both;
}

.clear:before,
.clear:after,
.attachment .entry-header:before,
.attachment .entry-header:after,
.site-footer .widget-area:before,
.site-footer .widget-area:after,
.entry-content:before,
.entry-content:after,
.page-content:before,
.page-content:after,
.navigation:before,
.navigation:after,
.nav-links:before,
.nav-links:after,
.gallery:before,
.gallery:after,
.comment-form-author:before,
.comment-form-author:after,
.comment-form-email:before,
.comment-form-email:after,
.comment-form-url:before,
.comment-form-url:after,
.comment-body:before,
.comment-body:after {
	content: "";
	display: table;
}

/* Assistive text */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	line-height: normal;
	padding: 15px 23px 14px;
	position: absolute;
	left: 5px;
	top: 5px;
	text-decoration: none;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/* Form fields, general styles first. */
button,
input,
textarea {
	font-family: inherit;
	padding: 5px;
	max-width: 300px;
}

input,
textarea {
	color: #141412;
}

input:focus,
textarea:focus {
	border: 1px solid #000;
	outline: 0;
}

/* Buttons */
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
	background: #e05d22; /* Old browsers */
	background: -webkit-linear-gradient(top, #5A5A5A 0%, #363636 100%); /* Chrome 10+, Safari 5.1+ */
	background:   linear-gradient(to bottom, #5A5A5A 0%, #363636 100%); /* W3C */
	border: none;
	border-radius: 2px;
	color: #fff;
	display: inline-block;
	padding: 10px 30px 10px;
	text-decoration: none;
}

button:hover,
button:focus,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:focus,
input[type="button"]:focus,
input[type="reset"]:focus {
	background: #e05d22; /* Old browsers */
	background: -webkit-linear-gradient(top, #363636 0%, #5A5A5A 100%); /* Chrome 10+, Safari 5.1+ */
	background:   linear-gradient(to bottom, #363636 0%, #5A5A5A 100%); /* W3C */
	outline: none;
}

button:active,
input[type="submit"]:active,
input[type="button"]:active,
input[type="reset"]:active {
	background: #e05d22; /* Old browsers */
	background: -webkit-linear-gradient(top, #363636 0%, #5A5A5A 100%); /* Chrome 10+, Safari 5.1+ */
	background:   linear-gradient(to bottom, #363636 0%, #5A5A5A 100%); /* W3C */
	border: none;
	padding: 10px 24px 11px;
}

.post-password-required input[type="submit"] {
	padding: 7px 24px 4px;
	vertical-align: bottom;
}

.post-password-required input[type="submit"]:active {
	padding: 5px 24px 6px;
}

/* Placeholder text color -- selectors need to be separate to work. */
::-webkit-input-placeholder {
	color: #7d7b6d;
}

:-moz-placeholder {
	color: #7d7b6d;
}

::-moz-placeholder {
	color: #7d7b6d;
}

:-ms-input-placeholder {
	color: #7d7b6d;
}

/*
 * Responsive images
 *
 * Fluid images for posts, comments, and widgets
 */
.entry-content img,
.entry-summary img,
.comment-content img,
.widget img,
.wp-caption {
	max-width: 100%;
}

/* Make sure images with WordPress-added height and width attributes are scaled correctly. */
.entry-content img,
.entry-summary img,
.comment-content img[height],
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto;
}

img.size-full,
img.size-large,
img.wp-post-image {
	height: auto;
	max-width: 100%;
}

/* Make sure videos and embeds fit their containers. */
embed,
iframe,
object,
video {
	max-width: 100%;
}

/* Override the Twitter embed fixed width. */
.entry-content .twitter-tweet-rendered {
	max-width: 100% !important;
}

/* Images */
.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

img.alignleft {
	margin: 5px 20px 5px 0;
}

.wp-caption.alignleft {
	margin: 5px 10px 5px 0;
}

img.alignright {
	margin: 5px 0 5px 20px;
}

.wp-caption.alignright {
	margin: 5px 0 5px 10px;
}

img.aligncenter {
	margin: 5px auto;
}

img.alignnone {
	margin: 5px 0;
}

.wp-caption .wp-caption-text,
.entry-caption,
.gallery-caption {
	color: #757575;
	font-size: 18px;
	font-style: italic;
	font-weight: 300;
}

img.wp-smiley,
.rsswidget img {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

.wp-caption.alignleft + ul,
.wp-caption.alignleft + ol  {
	list-style-position: inside;
}


/**
 * 3.0 Basic Structure
 * ----------------------------------------------------------------------------
 */

.site-main .sidebar-inner {
	margin: 0 auto;
	max-width: 1040px;
}

#outer_wrapper {
	width: 100%;
	margin: 0 auto;
	background: url(images/site_BG.jpg) center center no-repeat;
	background-size: 100% 100%;
}

.site {
	width: 100%;
}

.content-area {
	width: 90%;
	margin: 0 auto;
}

/**
 * 4.0 Banner 
 * ----------------------------------------------------------------------------
 */

#banner_wrapper{
	width: 100%;
}

/**
 * 4.1 Site Header
 * ----------------------------------------------------------------------------
 */

.site-header {
	position: relative;
	width: 100%;
	border-top: solid 7px #665031;
}

.head-social {
	text-align: right;
	font-size: 40px;
	text-transform: uppercase;
	font-weight: bold;
	font-family: "Playfair Display",serif;
	padding-top: 30px;
}

.head-social a {
	display: inline-block;
	padding: 6px 20px;
	background: #ffebd6;
}

.head-social a:hover {
	background: #B27F47;
	color: #FFF;
}

/**
 * 4.2 Navigation
 * ----------------------------------------------------------------------------
 */


.navbar {
	clear: both;
	margin: 0 auto;
	width: 100%;
	position: relative;
	top: 0;
}

.small-menu {
	display: none;
}

/* NavBar */

.main-navigation {
	width: 1040px;
	margin: 0 auto;
	text-align: center;
}

ul.nav-menu,
div.nav-menu > ul {
	list-style: none;
}

.nav-menu li {
	display: inline-block;
	position: relative;
}

.nav-menu li a {
	text-decoration: none;
	text-transform: uppercase;
	padding: 15px 48px;
	display: block;
 }

.nav-menu .current_page_item > a,
.nav-menu .current_page_ancestor > a,
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a {
	color: #000;
}

/* Sub-menu Styles */

.nav-menu .sub-menu,
.nav-menu .children {
	display: none;
	padding: 0;
	position: absolute;
	left: -2px;
	z-index: 99999;
}

.nav-menu .sub-menu ul,
.nav-menu .children ul {
	border-left: 0;
	left: 100%;
	top: 0;
}

ul.nav-menu li:hover > ul,
.nav-menu ul li:hover > ul {
	display: block; /* Important, do not delete! */
}

ul.nav-menu ul a, 
.nav-menu ul ul a {
    color: #FFFFFF;
    margin: 0;
    width: 200px;
}

ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover {
	background-color: #92C83E;
}
.menu-woo-container {
	float: left;
	margin-left: 100px;
}

ul.woo-menu,
div.woo-menu > ul {
	list-style: none;
}

.site-header .search-field {
	background-color: transparent;
	background-image: url(images/search-icon.png);
	background-position: 5px center;
	background-repeat: no-repeat;
	background-size: 24px 24px;
	border: none;
	cursor: pointer;
	height: 37px;
	margin: 3px 0;
	padding: 0 0 0 34px;
	position: relative;
	-webkit-transition: width 400ms ease, background 400ms ease;
	transition:         width 400ms ease, background 400ms ease;
	width: 0;
}

.site-header .search-field:focus {
	background-color: #fff;
	border: 2px solid #c3c0ab;
	cursor: text;
	outline: 0;
	width: 230px;
}


/**
 * 5.0 Content
 * ----------------------------------------------------------------------------
 */

#main {
	width: 100%;
}

.leftPan {
	float: left;
	width: 50%;
}

.logo {
	width: 80%;
	padding: 0 0 30px 10%;
}

.logo h1 {
	font-size: 120px;
	color: #FFF;
	text-transform: uppercase;
	line-height: 1em;
	margin: 0;
	text-shadow: 3px 5px 7px rgba(0, 0, 0, 0.8);
}

.homepage .leftPan #content {
	background: url(images/book_BG.png) right top no-repeat;
	background-size: 100% 100%;
	padding: 18%;
}

.homepage .leftPan .entry-thumbnail {
	width: 100%;
}

.homepage .leftPan .entry-thumbnail img {
	width: 100%;
}

.homepage .leftPan .entry-content {
	margin-top: 30px;
	font-size: 20px;
	line-height: 1.6em;
}

#canes-break-left {
	color: #FFF;
	text-shadow: 1px 2px 1px rgba(0, 0, 0, 0.5);
	font-weight: bold;
	padding: 2% 5% 0 10%;
}

#canes-break-left p {
	font-size: 22px;
}

.rightPan {
	float: right;
	width: 50%;
	text-align: right;
}

.book-cover img {
	width: 95% !important;
}

#canes-break-right h1 {
	font-size: 60px;
	text-align: center;
	color: #FFF;
	text-transform: uppercase;
	text-shadow: 3px 5px 7px rgba(0, 0, 0, 0.8);
	margin: 0 0 10px 0;
}

#canes-break-right h1 span {
	font-size: 90px;
}

#canes-break-right .cb-content {
	text-align: left;
	background: url(images/scratch_paper.png) left top no-repeat;
	background-size: 100%;
	font-size: 20px;
	padding: 20px 5% 20px 10%;
	width: 95%;
	line-height: 1.6em;
}

#books-slider-wrapper {
	border-bottom: solid 7px #665031;
	border-top: solid 7px #665031;
	position: relative;
	background: rgba(0, 0, 0, 0.5);
	padding: 20px 0;
}

.books-slider-heading {
	text-shadow: 3px 5px 7px rgba(0, 0, 0, 0.8);
	color: #FFF;
	padding-left: 5%;
}

#books_slider .owl-item {
	position: relative;
	padding-bottom: 50px;
}

#books_slider.sa_owl_theme .owl-item .sa_hover_container .sa_hover_buttons {
	bottom: 0 !important;
	top: auto !important;
	left: 100px !important;
	cursor: pointer;
	font-weight: bold;
	width: 100%;
} 

#books_slider.sa_owl_theme .owl-item .sa_hover_container .always_visible .sa_slide_link_icon, 
#books_slider.sa_owl_theme .owl-item .sa_hover_container:hover .sa_hover_buttons .sa_slide_link_icon {
	background: none !important;
}

#books_slider.sa_owl_theme .owl-item .sa_hover_container .always_visible .sa_slide_link_icon:before, 
#books_slider.sa_owl_theme .owl-item .sa_hover_container:hover .sa_hover_buttons .sa_slide_link_icon:before {
	display: block;
	content: 'Buy Now';
	padding: 5px 20px;
	text-align: center;
	background: #FAF0E5;
	color: #3b0f16;
	text-transform: uppercase;
	width: 100px;
}

#books_slider .owl-item:hover:after {
	opacity: 0.8;
	filter: alpha(opacity=80);
}

.subpage .logo {
	padding: 20px 0;
}

.subpage .logo h1 {
	font-size: 100px;
}

#subpage-wrap {
	background: #FAF0E5;
	padding: 30px 0;
}

#subpage-wrap .content-area {
	max-width: 1200px;
}

.button {
	padding: 5px 20px;
	text-align: center;
	background: #3b0f16;
	color: #FFF;
	text-transform: uppercase;
}

.button:hover {
	background: #FFF;
	color: #3b0f16;
}

/* Blog */

.blog_archive article {
	padding: 20px 5% 20px 10%;
	margin-bottom: 20px;
	border-bottom: solid 5px #665031;
}

.blog_archive article:last-child {
	border-bottom: 0;
}

.blog-single .leftPan,
.blog_archive .leftPan {
	float: left;
	width: 65%;
}

.blog-single .rightPan,
.blog_archive .rightPan {
	float: right;
	width: 32%;
	border-left: solid 1px #665031;
	padding-left: 20px;
	margin-top: 40px;
	text-align: left;
}

.blog-single .rightPan h4,
.blog_archive .rightPan h4 {
	margin-top: 0;
	font-size: 20px;
}

.listRecentPosts {
	list-style: none;
	margin: 0;
	padding: 0;
}

.listRecentPosts li {
	display: block;
	margin-bottom: 20px;
}

.listRecentPosts li a {
	color: #575757;
}

.listRecentPosts li a:hover {
	color: #FAC81B;
}

.blog-article {
	border-bottom: solid 1px #DDD;
	padding-bottom: 20px;
	margin-bottom: 20px;
}

.blog-article:last-child {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 0;
}


/**
 * 5.1 Entry Header
 * ----------------------------------------------------------------------------
 */

.entry-header,
.entry-content,
.entry-summary,
.entry-meta {
	margin: 0 auto;
	width: 100%;
}

.sidebar .entry-header,
.sidebar .entry-content,
.sidebar .entry-summary,
.sidebar .entry-meta {
	max-width: 1040px;
	padding: 0 376px 0 60px;
}

.sidebar .entry-header .entry-meta {
	padding: 0;
}

.entry-thumbnail img {
	display: block;
}

/**
 * 5.2 Entry Meta
 * ----------------------------------------------------------------------------
 */

.entry-meta {
	clear: both;
}

.entry-meta > span {
	margin-right: 20px;
}

.entry-meta > span:last-child {
	margin-right: 0;
}

.featured-post:before {
	content: "\f308";
	margin-right: 2px;
}

.entry-meta .date a:before {
	content: "\f303";
}

.comments-link a:before {
	content: "\f300";
	margin-right: 2px;
	position: relative;
	top: -1px;
}

.entry-meta .author a:before {
	content: "\f304";
	position: relative;
	top: -1px;
}

.categories-links a:first-child:before {
	content: "\f301";
}

.tags-links a:first-child:before {
	content: "\f302";
	position: relative;
	top: -1px;
}

.edit-link a:before {
	content: "\f411";
	position: relative;
	top: -1px;
}

.single-author .entry-meta .author,
.sticky.format-standard .entry-meta .date,
.sticky.format-audio .entry-meta .date,
.sticky.format-chat .entry-meta .date,
.sticky.format-image .entry-meta .date,
.sticky.format-gallery .entry-meta .date {
	display: none;
}
#nav-links {
	float: left;
}

/**
 * 5.3 Entry Content
 * ----------------------------------------------------------------------------
 */

.entry-content {
	-webkit-hyphens: none;
	-moz-hyphens:    none;
	-ms-hyphens:     none;
	hyphens:         none;
	word-wrap: break-word;
}

.entry-content blockquote {
	font-size: 24px;
}

.entry-content blockquote cite,
.entry-content blockquote small {
	font-size: 16px;
}

.entry-content img.alignleft,
.entry-content .wp-caption.alignleft {
	margin-left: -60px;
}

.entry-content img.alignright,
.entry-content .wp-caption.alignright {
	margin-right: -60px;
}

footer.entry-meta {
	margin-top: 24px;
}

.format-standard footer.entry-meta {
	margin-top: 0;
}


/* Page links */
.page-links {
	clear: both;
	font-size: 16px;
	font-style: italic;
	font-weight: normal;
	line-height: 2.2;
	margin: 20px 0;
	text-transform: uppercase;
}

.page-links a,
.page-links > span {
	background: #fff;
	border: 1px solid #fff;
	padding: 5px 10px;
	text-decoration: none;
}

.format-status .entry-content .page-links a,
.format-gallery .entry-content .page-links a,
.format-chat .entry-content .page-links a,
.format-quote .entry-content .page-links a,
.page-links a {
	background: #92c83e;
	border: 1px solid #92c83e;
	color: #fff;
}

.format-gallery .entry-content .page-links a:hover,
.format-audio .entry-content .page-links a:hover,
.format-status .entry-content .page-links a:hover,
.format-video .entry-content .page-links a:hover,
.format-chat .entry-content .page-links a:hover,
.format-quote .entry-content .page-links a:hover,
.page-links a:hover {
	background: #fff;
	color: #92c83e;
}

.format-status .entry-content .page-links > span,
.format-quote .entry-content .page-links > span {
	background: none;
}

.page-links .page-links-title {
	background: transparent;
	border: none;
	margin-right: 20px;
	padding: 0;
}

/* Mediaelements */
.hentry .mejs-mediaelement,
.hentry .mejs-container .mejs-controls {
	background: #757575;
}

.hentry .mejs-controls .mejs-time-rail .mejs-time-loaded,
.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
	background: #fff;
}

.hentry .mejs-controls .mejs-time-rail .mejs-time-current {
	background: #1b4783;
}

.hentry .mejs-controls .mejs-time-rail .mejs-time-total,
.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
	background: #757575;
}

.hentry .mejs-controls .mejs-time-rail span,
.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
	border-radius: 0;
}


/**
 * 5.4 Galleries
 * ----------------------------------------------------------------------------
 */

.gallery {
	margin-bottom: 20px;
	margin-left: -4px;
}

.gallery-item {
	float: left;
	margin: 0 4px 4px 0;
	overflow: hidden;
	position: relative;
}

.gallery-columns-1.gallery-size-medium,
.gallery-columns-1.gallery-size-thumbnail,
.gallery-columns-2.gallery-size-thumbnail,
.gallery-columns-3.gallery-size-thumbnail {
	display: table;
	margin: 0 auto 20px;
}

.gallery-columns-1 .gallery-item,
.gallery-columns-2 .gallery-item,
.gallery-columns-3 .gallery-item {
	text-align: center;
}

.gallery-columns-4 .gallery-item {
	max-width: 23%;
	max-width: -webkit-calc(25% - 4px);
	max-width:         calc(25% - 4px);
}

.gallery-columns-5 .gallery-item {
	max-width: 19%;
	max-width: -webkit-calc(20% - 4px);
	max-width:         calc(20% - 4px);
}

.gallery-columns-6 .gallery-item {
	max-width: 15%;
	max-width: -webkit-calc(16.7% - 4px);
	max-width:         calc(16.7% - 4px);
}

.gallery-columns-7 .gallery-item {
	max-width: 13%;
	max-width: -webkit-calc(14.28% - 4px);
	max-width:         calc(14.28% - 4px);
}

.gallery-columns-8 .gallery-item {
	max-width: 11%;
	max-width: -webkit-calc(12.5% - 4px);
	max-width:         calc(12.5% - 4px);
}

.gallery-columns-9 .gallery-item {
	max-width: 9%;
	max-width: -webkit-calc(11.1% - 4px);
	max-width:         calc(11.1% - 4px);
}

.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
	margin-right: 0;
}

.gallery-caption {
	background-color: rgba(0, 0, 0, 0.7);
	box-sizing: border-box;
	color: #fff;
	font-size: 14px;
	line-height: 1.3;
	margin: 0;
	max-height: 50%;
	opacity: 0;
	padding: 2px 8px;
	position: absolute;
	bottom: 0;
	left: 0;
	text-align: left;
	-webkit-transition: opacity 400ms ease;
	transition:         opacity 400ms ease;
	width: 100%;
}

.gallery-caption:before {
	box-shadow: 0 -10px 15px #000 inset;
	content: "";
	height: 100%;
	min-height: 49px;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
}

.gallery-item:hover .gallery-caption {
	opacity: 1;
}

.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}


/**
 * 5.5 Post Formats
 * ----------------------------------------------------------------------------
 */

/* Aside */
.format-aside {
	background-color: #dedcdc;
}

.blog .format-aside:first-of-type,
.single .format-aside:first-of-type,
.format-aside + .format-aside,
.format-aside + .format-link,
.format-link + .format-aside {
	box-shadow: inset 0 2px 2px rgba(173, 165, 105, 0.2);
}

.format-aside .entry-meta {
	margin-top: 0;
}

.format-aside blockquote {
	font-size: 100%;
	font-weight: normal;
}

.format-aside cite {
	font-size: 100%;
	text-transform: none;
}

.format-aside cite:before {
	content: "\2014";
	margin-right: 5px;
}

/* Audio */
.format-audio {
	background-color: #92c83e;
}

.format-audio .entry-title {
	font-size: 28px;
	font-weight: bold;
}

.format-audio .entry-content:before {
	content: "\f109";
	float: left;
	font-size: 64px;
	position: relative;
	top: 4px;
}

.format-audio .entry-content a,
.format-audio .entry-meta a,
.format-audio .entry-content a:hover,
.format-audio .entry-meta a:hover {
	color: #fbfaf3;
}

.format-audio .audio-content {
	background: url(images/dotted-line.png) repeat-y left top;
	background-size: 4px 4px;
	float: right;
	padding-left: 35px;
	width: 80%;
	width: -webkit-calc(100% - 85px);
	width:         calc(100% - 85px);
}

.format-audio .wp-audio-shortcode {
	height: 30px !important; /* Override mediaelement.js style */
	margin: 20px 0;
	max-width: 400px !important; /* Override mediaelement.js style */
}

.format-audio audio {
	max-width: 100% !important; /* Avoid player width overflow. */
}

/* Chat */
.format-chat {
	background-color: #757575;
}

.format-chat .entry-title {
	font-size: 28px;
	font-weight: bold;
}

.format-chat .entry-meta a,
.format-chat .entry-content a {
	color: #000000;
}

.format-chat .entry-meta .date a:before {
	content: "\f108";
	margin-right: 2px;
}

.format-chat .entry-meta .author {
	display: none;
}

.format-chat .chat {
	margin: 0;
}

.format-chat .chat .chat-timestamp {
	color: #000000;
	float: right;
	font-size: 12px;
	font-weight: normal;
	margin: 5px 10px 0;
}

.format-chat .chat .fn {
	font-style: normal;
}

/* Gallery */
.format-gallery {
	background-color: rgba(0, 0, 0, 0.1);
}

.format-gallery .entry-header {
	margin-bottom: 15px;
}

.format-gallery .entry-title {
	font-size: 50px;
	font-weight: 400;
	margin: 0;
}

.format-gallery .entry-meta a,
.format-gallery .entry-content a {
	color: #000000;
}

/* Image */
.format-image .entry-title {
	font-size: 28px;
	font-weight: bold;
}

.format-image .categories-links,
.format-image .tags-links {
	display: none;
}

/* Link */
.format-link {
	background-color: #E7E9F7;
}

.blog .format-link:first-of-type,
.single .format-link:first-of-type {
	box-shadow: inset 0 2px 2px rgba(173, 165, 105, 0.2);
}

.format-link .entry-header,
.format-link .entry-content p:last-child {
	margin-bottom: 0;
}

.format-link .entry-title {
	color: #92c83e;
	display: inline;
	font: 300 italic 20px "Source Sans Pro", Helvetica, sans-serif;
	margin-right: 20px;
}

.format-link .entry-title a {
	color: #92c83e;
}

.format-link div.entry-meta {
	display: inline;
}

/* Quote */
.format-quote {
	background-color: #000000;
}

.format-quote .entry-content,
.format-quote .entry-meta {
	color: #E7E9F7;
}

.format-quote .entry-content blockquote {
	font-size: 28px;
	margin: 0;
}

.format-quote .entry-content a,
.format-quote .entry-meta a,
.format-quote .linked {
	color: #92c83e;
}

.format-quote .entry-content cite a {
	border-bottom: 1px dotted #fff;
	color: #fff;
}

.format-quote .entry-content cite a:hover {
	text-decoration: none;
}

.format-quote blockquote small,
.format-quote blockquote cite {
	display: block;
	font-size: 16px;
}

.format-quote blockquote {
	font-style: italic;
	font-weight: 300;
	padding-left: 75px;
	position: relative;
}

.format-quote blockquote:before {
	content: '\201C';
	font-size: 140px;
	font-weight: 400;
	line-height: .8;
	padding-right: 25px;
	position: absolute;
	left: -15px;
	top: -3px;
}

.format-quote .entry-meta .author {
	display: none;
}

/* Status */
.format-status {
	background-color: #000000;
	padding: 0;
}

.format-status .entry-content,
.format-status .entry-meta {
	padding-left: 35px;
	position: relative;
}

.format-status .entry-content a {
	color: #757575;
}

.format-status .entry-meta a {
	color: #E7E9F7;
}

.sidebar .format-status .entry-content,
.sidebar .format-status .entry-meta {
	padding-left: 95px;
}

.format-status .entry-content:before,
.format-status .entry-meta:before {
	background: url(images/dotted-line.png) repeat-y left bottom;
	background-size: 4px 4px;
	content: "";
	display: block;
	height: 100%;
	position: absolute;
	left: 10px;
	top: 0;
	width: 1px;
}

.sidebar .format-status .entry-content:before,
.sidebar .format-status .entry-meta:before {
	left: 70px;
}

.format-status .categories-links,
.format-status .tags-links {
	display: none;
}

/* Ensures the dots in the dot background are in lockstep. */
.format-status .entry-meta:before {
	background-position: left top;
}

.format-status .entry-content {
	color: #E7E9F7;
	font-size: 24px;
	font-style: italic;
	font-weight: 300;
	padding-bottom: 30px;
	padding-top: 40px;
	position: relative;
}

.format-status .entry-content p:first-child:before {
	background-color: rgba(0, 0, 0, 0.65);
	content: "";
	height: 3px;
	margin-top: 13px;
	position: absolute;
	left: 4px;
	width: 13px;
}

.sidebar .format-status .entry-content > p:first-child:before {
	left: 64px;
}

.format-status .entry-content p:last-child {
	margin-bottom: 0;
}

.format-status .entry-meta {
	margin-top: 0;
	padding-bottom: 40px;
}

.format-status .entry-meta .date a:before {
	content: "\f105";
}

/* Video */
.format-video {
	background-color: #92c83e;
}

.format-video .entry-content a,
.format-video .entry-meta a,
.format-video .entry-content a:hover,
.format-video .entry-meta a:hover {
	color: #fbfaf3;
}

.format-video .entry-title {
	font-size: 50px;
	font-weight: 400;
}

.format-video .entry-meta {
	color: #757575;
}


/**
 * 5.6 Attachments
 * ----------------------------------------------------------------------------
 */

.attachment .hentry {
	background-color: #e8e5ce;
	margin: 0;
	padding: 0;
}

.attachment .entry-header {
	margin-bottom: 0;
	max-width: 1040px;
	padding: 30px 0;
}

.attachment .entry-title {
	display: inline-block;
	float: left;
	font: 300 italic 30px "Source Sans Pro", Helvetica, sans-serif;
	margin: 0;
}

.attachment .entry-title:before {
	content: "\f416";
	font-size: 32px;
	margin-right: 10px;
}

.attachment .entry-meta {
	clear: none;
	color: inherit;
	float: right;
	max-width: 604px;
	padding: 9px 0 0;
	text-align: right;
}

.hentry.attachment:not(.image-attachment) .entry-meta {
	max-width: 104px;
}

.attachment footer.entry-meta {
	display: none;
}

.attachment-meta:before {
	content: "\f307";
}

.full-size-link a:before {
	content: "\f402";
}

.full-size-link:before {
	content: none;
}

.attachment .entry-meta a,
.attachment .entry-meta .edit-link:before,
.attachment .full-size-link:before {
	color: #92c83e;
}

.attachment .entry-content {
	background-color: #fff;
	max-width: 100%;
	padding: 40px 0;
}

.image-navigation {
	margin: 0 auto;
	max-width: 1040px;
	position: relative;
}

.image-navigation a:hover {
	text-decoration: none;
}

.image-navigation .nav-previous,
.image-navigation .nav-next {
	position: absolute;
	top: 50px;
}

.image-navigation .nav-previous {
	left: 0;
}

.image-navigation .nav-next {
	right: 0;
}

.image-navigation .meta-nav {
	font-size: 32px;
	font-weight: 300;
	vertical-align: -4px;
}

.attachment .entry-attachment,
.attachment .type-attachment p {
	margin: 0 auto;
	max-width: 724px;
	text-align: center;
}

.attachment .entry-attachment .attachment {
	display: inline-block;
}

.attachment .entry-caption {
	text-align: left;
}

.attachment .entry-description {
	margin: 20px auto 0;
	max-width: 604px;
}

.attachment .entry-caption p:last-child,
.attachment .entry-description p:last-child {
	margin: 0;
}

.attachment .site-main .sidebar-container {
	display: none;
}


/**
 * 5.7 Post/Paging Navigation
 * ----------------------------------------------------------------------------
 */

.navigation .nav-previous {
	float: left;
}

.navigation .nav-next {
	float: right;
}

.navigation a {
	color: #000;
	margin: 0 65px;
}

.navigation a:hover {
	color: #fff;
	text-decoration: none;
}

.paging-navigation {
	background-color: #e8e5ce;
	padding: 40px 0;
}

.paging-navigation .nav-links {
	margin: 0 auto;
	max-width: 604px;
	width: 100%;
}

.sidebar .paging-navigation .nav-links {
	max-width: 1040px;
	padding: 0 376px 0 60px;
}

.paging-navigation .nav-next {
	padding: 13px 0;
}

.paging-navigation a {
	font-size: 22px;
	font-style: italic;
	font-weight: 300;
}

.paging-navigation .meta-nav {
	background-color: #92c83e;
	border-radius: 50%;
	color: #fff;
	display: inline-block;
	font-size: 26px;
	padding: 3px 0 8px;
	text-align: center;
	width: 50px;
}

.paging-navigation .nav-previous .meta-nav {
	margin-right: 10px;
	padding: 17px 0 23px;
	width: 80px;
}

.paging-navigation .nav-next .meta-nav {
	margin-left: 10px;
}

.paging-navigation a:hover .meta-nav {
	background-color: #1b4783;
	text-decoration: none;
}

.post-navigation {
	background-color: #fff;
	color: #92c83e;
	font-size: 20px;
	font-style: italic;
	font-weight: 300;
	padding: 20px 0;
}

.post-navigation .nav-links {
	margin: 0 auto;
	max-width: 1040px;
}

.sidebar .post-navigation .nav-links {
	padding: 0 376px 0 60px;
}

.post-navigation a[rel="next"] {
	float: right;
	text-align: right;
}

/**
 * 5.13 Multisite
 * ----------------------------------------------------------------------------
 */

.site-main .mu_register {
	margin: 0 auto;
	max-width: 604px;
	width: 100%;
}

.mu_alert {
	margin-top: 25px;
}

.site-main .mu_register input[type="submit"],
.site-main .mu_register #blog_title,
.site-main .mu_register #user_email,
.site-main .mu_register #blogname,
.site-main .mu_register #user_name {
	font-size: inherit;
	width: 270px;
}

.site-main .mu_register input[type="submit"] {
	width: auto;
}

/**
 * 6.1 Widgets
 * ----------------------------------------------------------------------------
 */


.widget .widget-title {
	margin: 0 0 10px;
}

.widget ul,
.widget ol {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.widget li {
	padding: 5px 0;
}

.widget .children li:last-child {
	padding-bottom: 0;
}

.widget li > ul,
.widget li > ol {
	margin-left: 20px;
}

/* RSS Widget */
.widget_rss .rss-date {
	display: block;
}

.widget_rss .rss-date,
.widget_rss li > cite {
	color: #a2a2a2;
}

/* Calendar Widget */
.widget_calendar table,
.widget_calendar td {
	border: 0;
	border-collapse: separate;
	border-spacing: 1px;
}

.widget_calendar caption {
	font-size: 14px;
	margin: 0;
}

.widget_calendar th,
.widget_calendar td {
	padding: 0;
	text-align: center;
}

.widget_calendar a {
	display: block;
}

.widget_calendar a:hover {
	background-color: rgba(0, 0, 0, 0.15);
}

.widget_calendar tbody td {
	background-color: rgba(255, 255, 255, 0.5);
}

.site-footer .widget_calendar tbody td {
	background-color: rgba(255, 255, 255, 0.05);
}

/**
 * 7.0 Footer
 * ----------------------------------------------------------------------------
 */

#ebook-wrapper {
background: url(images/footer_BG.jpg) center center no-repeat;
border-top: solid 7px #665031;
border-bottom: solid 7px #665031;
position: relative;
box-shadow: 0 0 15px #000 inset;
}

#ebook-wrapper h1.buy-now {
	position: absolute;
	top: -65px;
	left: 5%;
	margin: 0;
	color: #FFF;
	background: #665031;
	text-transform: uppercase;
	font-size: 33px;
	display: inline-block;
	padding: 8px 20px;
}

#ebook-wrapper i {
	position: absolute;
	top: -22px;
	left: 9%;
	color: #665031;
	font-size: 60px;
}

.ebook-title {
	margin: 0 auto;
	text-align: center;
	margin-top: 20px;
}

.ebook-title h1 {
	text-transform: uppercase;
	text-align: center;
	color: #FFF;
	font-size: 60px;
	display: inline-block;
	margin: 0 20px;
	vertical-align: middle;
	text-shadow: 2px 2px 4px #000;
}

.ebook-title hr {
	display: inline-block;
	width: 50px;
	height: 6px;
	background: #665031;
	vertical-align: middle;
	border: 0;
}

.listEbooks {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	width: 50%;
	text-align: center;
}

.listEbooks li {
	display: inline-block;
	width: calc( 100%/3 - 40px );
	width: -webkit-calc( 100%/3 - 40px );
	margin: 20px 0;
	vertical-align: middle;
}

.listEbooks li:nth-child(2),
.listEbooks li:nth-child(5) {
	margin: 20px 40px;
}

.listEbooks img {
	width: 100%;
}

.site-footer {
	text-align: center;
	color: #FFF;
	padding: 30px 0;
	position: relative;
}

.site-footer a {
	color: #FFF;
}

#foot-social {
	position: absolute;
	bottom: 20px;
	right: 10%;
}

.site-email {
	display: inline-block;
	color: #FFF;
	font-size: 45px;
	text-shadow: 2px 3px 4px rgba(0, 0, 0, 0.6);
}

#social {
	list-style: none;
	padding: 0;
	margin: 0;
	display: inline-block;
}

.social {
	color: #FFF;
	font-size: 45px;
	margin-left: 10px;
	text-shadow: 2px 3px 4px rgba(0, 0, 0, 0.6);
}

#foot-social a:hover,
.social:hover {
	color: #b27f47;
}

/**
 * 8.0 Media Queries
 * ----------------------------------------------------------------------------
 */

/* Does the same thing as <meta name="viewport" content="width=device-width">,
 * but in the future W3C standard way. -ms- prefix is required for IE10+ to
 * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
 * the meta tag. See http://core.trac.wordpress.org/ticket/25888.
 */
@-ms-viewport {
	width: device-width;
}
@viewport {
	width: device-width;
}

@media ( max-width: 1280px ){

	#canes-break-right {
		margin-top: 105px;
	}

	.leftPan {
		padding-bottom: 40px;
	}

	#ebook-wrapper h1.buy-now {
		font-size: 30px;
		top: -56px;
	}

}

@media ( max-width: 980px ){

	.rightPan {
		padding-top: 30px;
	}

	.logo h1 {
		font-size: 80px;
	}

	#canes-break-right {
		margin-top: 0px;
		position: absolute;
		bottom: 0;
		right: 0;
		width: 50%;
	}

	#canes-break-right .cb-content {
		line-height: 1em;
	}

	#primary {
		position: relative;
	}

}


@media ( max-width: 850px ){

	.head-social {
		text-align: center;
	}

	.logo {
		margin: 30px auto 0;
		width: 80%;
		padding: 0;
	}

	.logo h1 {
		font-size: 80px;
		text-align: center;
	}

	.leftPan,
	.rightPan {
		float: none;
		width: 100%;
		padding: 0;
	}

	.book-cover {
		display: none;
	}

	#canes-break-right {
		position: relative;
		padding-bottom: 0;
		bottom: auto;
		left: 0;
		right: auto;
		width: 100%;
	}

	#canes-break-right h1 {

		font-size: 33px;
	}

	#canes-break-right .cb-content {

		background: rgba(0, 0, 0, 0) url("images/scratch_paper.png") no-repeat scroll left top / 100% 100%;
		padding: 20px 5% 53px 10%;
	
	}

	.listEbooks {
		
		width: 70%;

	}

	.ebook-title h1 {
		font-size: 40px;
	}

}

@media ( max-width: 768px ){

	#canes-break-right .cb-content {

		font-size: 13px;

	}

	#foot-social {
		bottom: auto;
		right: auto;
		position: relative;
	}

}

@media ( max-width: 550px ){

	#canes-break-right .cb-content {

		line-height: 1.5em;
	}

	.listEbooks {
		
		width: 100%;
		text-align: center;

	}

	#canes-break-right h1 span {
		
		font-size: 60px;

	}

	.ebook-title h1 {
		
		font-size: 36px;

	}

}

@media ( max-width: 500px ){

	.logo h1 {

		font-size: 60px;

	}

}

@media ( max-width: 380px ){

	.homepage .leftPan .entry-thumbnail {

		padding-top: 10px;
		padding-left: 10px;

	}

	.logo h1 {

		font-size: 45px;

	}

	.head-social a {

		padding: 0 15px;
	
	}

	.ebook-title h1 {
		margin: 0 10px;
		font-size: 30px;

	}

	.ebook-title hr {
		width: 30px;
	}

}

@media ( max-width: 320px ){

	.listEbooks li {

		width: calc(100% / 3 - 20px);

	}

	.listEbooks li:nth-child(2), .listEbooks li:nth-child(5) {

		margin: 0 20px; 

	}

	.entry-content p {

		line-height: 1.5em;

	}

	.homepage .leftPan .entry-content {

		margin-top: 10px;
		text-indent: 30px;
	
	}

}