/*
	Theme Name: Sleepyhead
	Theme URI: https://markbillingham.com
	Description: Theme for author Mark Billingham. Based on BG Mobile First by Brian Gardner. http://briangardner.com/themes/mobile-first/ A mobile responsive and HTML5 theme built for the Genesis Framework.
	Author: Tim Marchant
	Author URI: https://scribepress.uk/

	Version: 3.0

	Tags: black, red, white, one-column, responsive-layout, custom-menu, full-width-template, sticky-post, theme-options, threaded-comments

	Template: genesis
	Template Version: 2.1.3

	License: GPL-2.0+
	License URI: http://www.opensource.org/licenses/gpl-license.php 
*/

/* Table of Contents
- Imports
- HTML5 Reset
	- Baseline Normalize
	- Box Sizing
	- Float Clearing
- Defaults
	- Typographical Elements
	- Headings
	- Objects
	- Gallery
	- Forms
	- Tables
- Structure and Layout
	- Site Container
	- Site Inner
	- Column Widths and Positions
- Common Classes
	- Avatar
	- Genesis
	- Search Form
	- Titles
	- WordPress
- Widgets
	- Featured Content
- Plugins
	- Genesis eNews Extended
	- Genesis Simple Share
	- Jetpack
- Sticky Message
- Site Header
	- Site Title and Description
- Site Navigation
	- Header Navigation
	- Primary Navigation
	- Secondary Navigation
- Content Area
	- Entries
	- Entry Meta
	- Pagination
	- Comments
- Footer Widgets
- Site Footer
- Media Queries
	- Min-width: 800px
*/


/* HTML5 Reset
---------------------------------------------------------------------------------------------------- */

/* Baseline Normalize
--------------------------------------------- */
/* normalize.css v3.0.1 | MIT License | git.io/normalize */

html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:0 0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:600}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#333}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:600}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}

/* Box Sizing
--------------------------------------------- */

*,
input[type="search"] {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
}

/* Float Clearing
--------------------------------------------- */

.author-box:before,
.clearfix:before,
.entry:before,
.entry-content:before,
.footer-widgets:before,
.nav-primary:before,
.nav-secondary:before,
.pagination:before,
.site-container:before,
.site-footer:before,
.site-header:before,
.site-inner:before,
.wrap:before {
	content: " ";
	display: table;
}

.author-box:after,
.clearfix:after,
.entry:after,
.entry-content:after,
.footer-widgets:after,
.nav-primary:after,
.nav-secondary:after,
.pagination:after,
.site-container:after,
.site-footer:after,
.site-header:after,
.site-inner:after,
.wrap:after {
	clear: both;
	content: " ";
	display: table;
}


/* Defaults
---------------------------------------------------------------------------------------------------- */

/* Typographical Elements
--------------------------------------------- */

body {
	background-color: #fff;
	color: #333;
	font-family: 'Lato', sans-serif;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.625;
	margin: 0;
	-webkit-font-smoothing: antialiased;
}

a,
button,
input:focus,
input[type="button"],
input[type="reset"],
input[type="submit"],
textarea:focus,
.button,
.gallery img {
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition:    all 0.1s ease-in-out;
	-ms-transition:     all 0.1s ease-in-out;
	-o-transition:      all 0.1s ease-in-out;
	transition:         all 0.1s ease-in-out;
}

::-moz-selection {
	background-color: #333;
	color: #fff;
}

::selection {
	background-color: #333;
	color: #fff;
}

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

a:hover {
	color: #333;
}

p {
	margin: 0 0 30px;
	padding: 0;
}

ol,
ul {
	margin: 0;
	padding: 0;
}

li {
	list-style-type: none;
}

b,
strong {
	font-weight: 700;
}

blockquote,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 40px;
}

blockquote::before {
	content: "\201C";
	display: block;
	font-size: 30px;
	height: 0;
	left: -20px;
	position: relative;
	top: -10px;
}


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

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #333;
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 20px;
}

h1 {
	font-size: 36px;
}

h2 {
	font-size: 30px;
}

h3 {
	font-size: 28px;
}

h4 {
	font-size: 24px;
}

.entry-content h4 {
	margin-top: 40px;
}

h5 {
	font-size: 20px;
}

h6 {
	font-size: 18px;
}

/* Objects
--------------------------------------------- */

embed,
iframe,
img,
object,
video,
.wp-caption {
	max-width: 100%;
}

img {
	height: auto;
}

.featured-content img,
.gallery img {
	width: auto;
}

/* Gallery
--------------------------------------------- */

.gallery {
	overflow: hidden;
}

.gallery-item {
	margin: 0 0 10px 0;
	text-align: center;
  display:inline-block; 
  padding:0 1%;
}

.gallery-caption {min-height:50px}

.gallery-columns-2 .gallery-item {
	width: 33%;
}

.gallery-columns-3 .gallery-item {
	width: 33%;
}

.gallery-columns-4 .gallery-item {
	width: 33%;
}

.gallery-columns-5 .gallery-item {
	width: 33%;
}

.gallery-columns-6 .gallery-item {
	width: 33%;
}

.gallery-columns-7 .gallery-item {
	width: 33%;
}

.gallery-columns-8 .gallery-item {
	width: 33%;
}

.gallery-columns-9 .gallery-item {
	width: 33%;
}

.gallery img {
	border: 1px solid #ddd;
	height: auto;
	padding: 4px;
}

.gallery img:hover {
	border: 1px solid #999;
}

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

input,
select,
textarea {
	background-color: #ffffff;
	border: 1px solid #999;
	border-radius: 3px;
	color: #444;
	font-size: 16px;
	font-weight: 300;
	padding: 16px;
	width: 90%;
	-webkit-font-smoothing: antialiased;
  margin:auto;
}

.footer-widgets input,
.footer-widgets input:focus {
	background-color: #fff;
	border: 1px solid #fff;
}

input:focus,
textarea:focus {
	background-color: #eee;
	border: 1px solid #f5f5f5;
	outline: none;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
	width: auto;
}

::-moz-placeholder {
	color: #999;
	font-weight: 300;
	opacity: 1;
	-webkit-font-smoothing: antialiased;
}

::-webkit-input-placeholder {
	color: #999;
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button {
	background-color: #333;
	border: 0;
	border-radius: 3px;
	color: #fff;
	cursor: pointer;
	font-size: 16px;
	font-weight: 300;
	letter-spacing: 1px;
	padding: 16px 24px;
	text-transform: uppercase;
	width: auto;
}

button:hover,
input:hover[type="button"],
input:hover[type="reset"],
input:hover[type="submit"],
.button:hover {
	background-color: #E4011C;
	color: #fff;
}

.entry-content .button:hover {
	color: #fff;
}

.button {
	display: inline-block;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button {
	display: none;
}

/* Tables
--------------------------------------------- */

table {
	border-collapse: collapse;
	border-spacing: 0;
	line-height: 2;
	margin-bottom: 40px;
	width: 100%;
}

tbody {
	border-bottom: 1px solid #ddd;
}

td,
th {
	text-align: left;
}

td {
	border-top: 1px solid #ddd;
	padding: 6px 0;
}

th {
	font-weight: 300;
}


/* Structure and Layout
---------------------------------------------------------------------------------------------------- */

/* Site Container
--------------------------------------------- */

.site-container {
	-webkit-animation: fadein 1s;
       -moz-animation: fadein 1s;
        -ms-animation: fadein 1s;
         -o-animation: fadein 1s;
            animation: fadein 1s;
}

@keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@-moz-keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@-webkit-keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@-ms-keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@-o-keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* Site Inner
--------------------------------------------- */

.site-inner {
	clear: both;
	padding: 10%;
}


/* Common Classes
---------------------------------------------------------------------------------------------------- */

/* Avatar
--------------------------------------------- */

.avatar {
	float: left;
}

.alignleft .avatar,
.author-box .avatar {
	margin-right: 24px;
}

.alignright .avatar {
	margin-left: 24px;
}

.author-box .avatar {
	height: 80px;
	width: 80px;
}

.comment .avatar {
	height: 50px;
	margin: 0 16px 24px 0;
	width: 50px;
}

/* Genesis
--------------------------------------------- */

.breadcrumb {
	margin-bottom: 30px;
}

.archive-description,
.author-box {
	border-bottom: 1px solid #f5f5f5;
	font-size: 18px;
	margin-bottom: 60px;
	padding-bottom: 30px;
}

.single .author-box {
	border-top: 1px solid #f5f5f5;
	padding-top: 30px;
}

.author-box-title {
	font-size: 20px;
	margin-bottom: 4px;
}

.archive-description p:last-child,
.author-box p:last-child {
	margin-bottom: 0;
}

/* Search Form
--------------------------------------------- */

.search-form {
	overflow: hidden;
}

.search-form input {
	-webkit-appearance: none;
}

.search-form input[type="submit"] {
	border: 0;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	margin: -1px;
	padding: 0;
	position: absolute;
	width: 1px;
}

/* Titles
--------------------------------------------- */

.archive-title {
	font-size: 24px;
}

.entry-title {
	font-size: 36px;
}

.entry-title a {
	color: #333;
}

.entry-title a:hover {
	color: #E4011C;
}

.widget-title {
	font-size: 20px;
	margin-bottom: 20px;
}

/* WordPress
--------------------------------------------- */

a.aligncenter img {
	display: block;
	margin: 0 auto;
}

a.alignnone {
	display: inline-block;
}

.alignleft {
	float: left;
	text-align: left;
}

.alignright {
	float: right;
	text-align: right;
}

a.alignleft,
a.alignnone,
a.alignright {
	max-width: 100%;
}

img.centered,
.aligncenter {
	display: block;
	margin: 0 auto 24px;
}

img.alignnone,
.alignnone {
	margin-bottom: 12px;
}

a.alignleft,
img.alignleft,
.wp-caption.alignleft {
	margin: 0 24px 24px 0;
}

a.alignright,
img.alignright,
.wp-caption.alignright {
	margin: 0 0 24px 24px;
}

.wp-caption-text {
	font-size: 14px;
	font-weight: 700;
	text-align: center;
}

.entry-content p.wp-caption-text {
	margin-bottom: 0;
}

.sticky {
}


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

.widget {
	word-wrap: break-word;
}

.widget ol > li {
	list-style-position: inside;
	list-style-type: decimal;
	padding-left: 20px;
	text-indent: -20px;
}

.widget li li {
	border: 0;
	margin: 0 0 0 30px;
	padding: 0;
}

.widget_calendar table {
	width: 100%;
}

.widget_calendar td,
.widget_calendar th {
	text-align: center;
}

/* Featured Content
--------------------------------------------- */

.featured-content .entry {
	border-bottom: 1px solid #f5f5f5;
	margin-bottom: 20px;
	padding: 0 0 24px;
}

.featured-content .entry-title {
	font-size: 20px;
}


/* Plugins
---------------------------------------------------------------------------------------------------- */

/* Genesis eNews Extended
--------------------------------------------- */

.enews-widget p {
	margin-bottom: 15px;
}

/* Genesis Simple Share
--------------------------------------------- */

.content .share-after {
	margin-bottom: 20px;
}

.content a.count,
.content a.count:hover,
.content a.share,
.content a.share:hover {
	border: none;
	font-weight: 300;
}

.content .share-filled .share {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.content .share-filled .count {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.content .share-filled .facebook .count,
.content .share-filled .facebook .count:hover,
.content .share-filled .googlePlus .count,
.content .share-filled .googlePlus .count:hover,
.content .share-filled .linkedin .count,
.content .share-filled .linkedin .count:hover,
.content .share-filled .pinterest .count,
.content .share-filled .pinterest .count:hover,
.content .share-filled .stumbleupon .count,
.content .share-filled .stumbleupon .count:hover,
.content .share-filled .twitter .count,
.content .share-filled .twitter .count:hover {
	color: #333;
	border: 1px solid #333;
}

.content .share-filled .facebook .share,
.content .share-filled .facebook:hover .count,
.content .share-filled .googlePlus .share,
.content .share-filled .googlePlus:hover .count,
.content .share-filled .linkedin .share,
.content .share-filled .linkedin:hover .count,
.content .share-filled .pinterest .share,
.content .share-filled .pinterest:hover .count,
.content .share-filled .stumbleupon .share,
.content .share-filled .stumbleupon:hover .count,
.content .share-filled .twitter .share,
.content .share-filled .twitter:hover .count {
	background: #333 !important;
}

.content .share-filled .facebook:hover .count,
.content .share-filled .googlePlus:hover .count,
.content .share-filled .linkedin:hover .count,
.content .share-filled .pinterest:hover .count,
.content .share-filled .stumbleupon:hover .count,
.content .share-filled .twitter:hover .count {
	color: #fff;
}

/* Jetpack
--------------------------------------------- */

#wpstats {
	display: none;
}


/* Sticky Message
---------------------------------------------------------------------------------------------------- */

.sticky-message {
	background-color: #f5f5f5;
	display: none;
	font-size: 18px;
	opacity: 0;
	padding-bottom: 15px;
	padding-top: 15px;
	position: fixed;
	text-align: center;
	width: 100%;
	z-index: 999;
}

.sticky-message {
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition:    all 0.3s ease-in-out;
	-ms-transition:     all 0.3s ease-in-out;
	-o-transition:      all 0.3s ease-in-out;
	transition:         all 0.3s ease-in-out;
}

.sticky-message.reveal {
	opacity: 1;
}

.sticky-message p:last-child {
	margin-bottom: 0;
} 


/* Site Header
---------------------------------------------------------------------------------------------------- */

.site-header {
	border-bottom: 1px solid #f5f5f5;
	padding: 2.5% 5%;
	position: relative;
	text-align: center;
	z-index: 1000;
}

/* Site Title and Description
--------------------------------------------- */

.site-title {
	font-size: 30px;
	letter-spacing: 1px;
	margin-bottom: 0;
	text-transform: uppercase;
}

.site-title a,
.site-title a:hover {
	color: #333;
}

.header-image .site-title > a {
	background-position: center center !important;
	background-size: 300px 57px !important;
	float: left;
	min-height: 57px;
	width: 100%;
}

.header-image .site-description,
.header-image .site-title {
	display: block;
	text-indent: -9999px;
}

.site-description {
	font-size: 18px;
	font-weight: 300;
	margin-bottom: 10px;
}

.site-description,
.site-title {
	line-height: 1.2;
}


/* Site Navigation
---------------------------------------------------------------------------------------------------- */

.genesis-nav-menu #menu-thorne-menu, .genesis-nav-menu #menu-thorne-menu-uk{
	clear: both;
	font-size: 18px;
	line-height: 1;
	width: 100%;
}

.genesis-nav-menu .menu-item, #menu-thorne-menu  .menu-item, .genesis-nav-menu .menu-item, #menu-thorne-menu-uk  .menu-item{
	display: inline-block;
	text-align: left;
}

.genesis-nav-menu a, #menu-thorne-menu a, , #menu-thorne-menu-uk a {
	color: #333;
	display: block;
	padding: 20px;
}

.genesis-nav-menu a:hover,
.genesis-nav-menu .current-menu-item > a,
.genesis-nav-menu .sub-menu .current-menu-item > a:hover,
 #menu-thorne-menu a:hover, #menu-thorne-menu-uk a:hover, 
 #menu-thorne-menu .current-menu-item > a, #menu-thorne-menu-uk .current-menu-item > a, 
 #menu-thorne-menu .sub-menu .current-menu-item > a:hover, #menu-thorne-menu-uk .sub-menu .current-menu-item > a:hover,       {
	color: #E4011C;
}

.genesis-nav-menu .sub-menu, #menu-thorne-menu .sub-menu, .genesis-nav-menu .sub-menu, #menu-thorne-menu-uk .sub-menu {
	background-color: rgba(0, 0, 0, 0.05);
	left: auto;
	opacity: 1;
	position: relative;
	-webkit-transition: opacity .4s ease-in-out;
	-moz-transition:    opacity .4s ease-in-out;
	-ms-transition:     opacity .4s ease-in-out;
	-o-transition:      opacity .4s ease-in-out;
	transition:         opacity .4s ease-in-out;
	z-index: 99;
}

.genesis-nav-menu .sub-menu a, #menu-thorne-menu .genesis-nav-menu .sub-menu a, #menu-thorne-menu-uk .genesis-nav-menu .sub-menu a{
	font-size: 16px;
	position: relative;
}

.genesis-nav-menu .menu-item:hover, #menu-thorne-menu .menu-item:hover, .genesis-nav-menu .menu-item:hover, #menu-thorne-menu-uk .menu-item:hover {
	position: static;
}

.genesis-nav-menu .menu-item:hover > .sub-menu, #menu-thorne-menu .menu-item:hover > .sub-menu, .genesis-nav-menu .menu-item:hover > .sub-menu, #menu-thorne-menu-uk .menu-item:hover > .sub-menu {
	left: auto;
	opacity: 1;
}

/* Primary Navigation
--------------------------------------------- */

.nav-primary .sub-menu, #nav .sub-menu {
	border-top: 1px solid #f5f5f5;
}

.nav-primary .sub-menu .sub-menu, #nav .sub-menu .sub-menu{
	margin-top: -56px;
}

.nav-primary .genesis-nav-menu li li, #nav #menu-thorne-menu li li, .nav-primary .genesis-nav-menu li li, #nav #menu-thorne-menu-uk li li {
	margin-left: 0;
}

/* Secondary Navigation
--------------------------------------------- */

.nav-secondary {
	border-bottom: 1px solid #f5f5f5;
	padding-bottom: 10px;
	padding-top: 10px;
}

/* Responsive Navigation
--------------------------------------------- */

.responsive-menu-icon,
.responsive-menu .menu-item-has-children {
	cursor: pointer;
}

.responsive-menu .menu-item,
.responsive-menu-icon {
	display: block;
}

.responsive-menu,
.responsive-menu > .menu-item > .sub-menu {
	display: none;
}

.responsive-menu-icon {
	text-align: center;
}

.responsive-menu-icon::before {
	color: #fff;
	content: "\f333";
	display: inline-block;
	font: normal 20px/1 'dashicons';
	margin: 0 auto;
	padding: 10px;
}

.responsive-menu > .menu-item-has-children:before {
	content: "\f347";
	float: right;
	font: normal 16px/1 'dashicons';
	height: 16px;
	padding: 15px 20px;
	right: 0;
	text-align: right;
	z-index: 9999;
  color:#fff
}

.responsive-menu .menu-open.menu-item-has-children:before {
	content: "\f343";
  color:#fff
}

.responsive-menu .sub-menu .sub-menu {
	margin: 0;
}


/* Content Area
---------------------------------------------------------------------------------------------------- */

/* Entries
--------------------------------------------- */
/*.entry-header {min-height:70px}
.entry,
.page.page-template-page_blog-php .entry {
	border-bottom: 1px solid #f5f5f5;
	margin-bottom: 60px;
}
*/
.entry-header h1 {
  text-transform:uppercase;
  }
/*.page .entry-header {

      position:relative;
      margin-bottom:20px;

}
.page .entry-header h1 {
  width:100%;

      position:absolute;
      margin-bottom:0px;
      top:0px;
  padding:10px 20px 10px 20px;
  background:rgba(255,255,255,0.3);
  color:#333;        
  
}
*/     
.page .entry,
.single .entry {
	border-bottom: 0;
	margin-bottom: 30px;
}

.entry-content ol,
.entry-content ul {
	margin-bottom: 30px;
	margin-left: 40px;
}

.entry-content ol > li {
	list-style-type: decimal;
}

.entry-content ul > li {
	list-style-type: disc;
}

.entry-content ol ol,
.entry-content ul ul {
	margin-bottom: 0;
}

.entry-content code {
	background-color: #333;
	color: #ddd;
}

/* Entry Meta
--------------------------------------------- */

p.entry-meta {
	font-size: 18px;
	margin-bottom: 0;
}

.entry-header .entry-meta {
	margin-bottom: 24px;
	margin-top: -10px;
}

.entry-footer .entry-meta {
	margin-bottom: 60px;
}

.entry-categories,
.entry-tags {
	display: block;
}

.entry-comments-link::before {
	content: "\2014";
	margin: 0 6px 0 2px;
}

/* Pagination
--------------------------------------------- */

.pagination {
	clear: both;
}

.adjacent-entry-pagination {
	margin-bottom: 0;
}

.archive-pagination li {
	display: inline;
}

.archive-pagination li a {
	background-color: #333;
	border-radius: 3px;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-size: 16px;
	padding: 8px 12px;
}

.archive-pagination li a:hover,
.archive-pagination .active a {
	background-color: #E4011C;
}

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

p.comment-meta,
.entry-comments .comment,
.entry-comments .comment-reply {
	margin-bottom: 40px;
}

.entry-comments .comment:last-child {
	margin-bottom: 0;
}

.comment-respond {
	padding-top: 60px;
}

.entry-comments {
	padding-top: 20px;
}

.comment-header {
	font-size: 18px;
	line-height: 1.5;
}

.comment-notes,
.entry-pings .reply {
	display: none;
}

.entry-comments .comment {
	border-bottom: 1px solid #f5f5f5;
}

p.comment-form-comment {
	margin-bottom: 20px;
}

p.form-submit,
.entry-comments .children .comment,
.entry-comments .comment-author {
	margin: 0;
}

.entry-comments .comment {
	clear: both;
}

.entry-comments .children .comment {
	border: none;
}

.comment-list li {
	list-style-type: none;
}


/* Footer Widgets
---------------------------------------------------------------------------------------------------- */

.footer-widgets {
	background-color: #f5f5f5;
	clear: both;
	font-size: 18px;
	padding: 10%;
}

.footer-widgets li {
	border-bottom: 1px solid #fff;
	margin-bottom: 10px;
	padding-bottom: 10px;
}

.footer-widgets .widget {
	margin-bottom: 40px;
}

.footer-widgets input:last-child {
	margin-bottom: 0;
}

.footer-widgets input {
	margin-bottom: 10px;
}


/* Site Footer
---------------------------------------------------------------------------------------------------- */

.site-footer {
  margin-top:20px;
	border-top: 1px solid #f5f5f5;
	font-size: 18px;
	padding: 5%;
	text-align: center;
  background:#000;
}

.site-footer p {
	margin-bottom: 0;
}


/* Media Queries
---------------------------------------------------------------------------------------------------- */

@media only screen and (min-width: 800px) {

	body {
		font-size: 20px;
	}

	.wrap {
		max-width: 1280px;
		margin-left: auto;
		margin-right: auto;
	}

	.sticky-message {
		display: block;
	}

	.site-inner {
		margin-left: auto;
		margin-right: auto;
		max-width: 960px;
		padding: 5%;
	}

	.footer-widgets {
		padding: 5%;
	}

	.footer-widgets .widget:last-child {
		margin-bottom: 0;
	}

	.footer-widgets-1,
	.footer-widgets-3 {
		width: 25%;
	}

	.footer-widgets-2 {
		width: 50%;
	}

	.footer-widgets-1,
	.footer-widgets-2 {
		padding-right: 5%;
	}

	.footer-widgets-1,
	.footer-widgets-2,
	.title-area {
		float: left;
	}

	.footer-widgets-3,
	//nav-primary {
		float: right;
	}

.title-area {
  width:100%;
}


	.header-image .site-title > a {
		width: 300px;
	}

	.site-description {
		margin-bottom: 0;
	}

	.genesis-nav-menu .menu-item {
		display: inline-block;
	}

	.genesis-nav-menu .sub-menu {
		background-color: #fff;
		left: -9999px;
		opacity: 0;
		position: absolute;
	}

	.genesis-nav-menu .sub-menu a {
		border: 1px solid #f5f5f5;
		border-top: 0;
	}

	.genesis-nav-menu .sub-menu,
	.genesis-nav-menu .sub-menu a {
		width: 200px;
	}

	.genesis-nav-menu .sub-menu .sub-menu {
		margin: -55px 0 0 199px;
	}

	.genesis-nav-menu li.highlight a {
		background-color: #E4011C;
		border-radius: 3px;
		color: #fff;
		margin-left: 20px;
	}
	
	.genesis-nav-menu li.highlight a:hover {
		background-color: #333;
		color: #fff;
	}

	.nav-secondary {
		padding: 10px 5%;
	}

	.nav-secondary .genesis-nav-menu > li:first-child a {
		padding-left: 0;
	}

	.responsive-menu,
	.responsive-menu > .menu-item > .sub-menu {
		display: block;
	}

	.responsive-menu-icon,
	.responsive-menu > .menu-item-has-children:before,
	.responsive-menu .menu-open.menu-item-has-children:before {
		display: none;
	}

	.comment-list ul.children {
		margin-left: 40px;
	}

	.gallery-item {
		float: left;
	}
	
	.gallery-columns-2 .gallery-item {
		width: 50%;
	}
	
	.gallery-columns-3 .gallery-item {
		width: 33%;
	}
	
	.gallery-columns-4 .gallery-item {
		width: 25%;
	}
	
	.gallery-columns-5 .gallery-item {
		width: 20%;
	}
	
	.gallery-columns-6 .gallery-item {
		width: 16.6666%;
	}
	
	.gallery-columns-7 .gallery-item {
		width: 14.2857%;
	}
	
	.gallery-columns-8 .gallery-item {
		width: 12.5%;
	}
	
	.gallery-columns-9 .gallery-item {
		width: 11.1111%;
	}

	.five-sixths,
	.four-sixths,
	.one-fourth,
	.one-half,
	.one-sixth,
	.one-third,
	.three-fourths,
	.three-sixths,
	.two-fourths,
	.two-sixths,
	.two-thirds {
		float: left;
		margin-left: 2.564102564102564%;
	}
	
	.one-half,
	.three-sixths,
	.two-fourths {
		width: 48.717948717948715%;
	}
	
	.one-third,
	.two-sixths {
		width: 31.623931623931625%;
	}
	
	.four-sixths,
	.two-thirds {
		width: 65.81196581196582%;
	}
	
	.one-fourth {
		width: 23.076923076923077%;
	}
	
	.three-fourths {
		width: 74.35897435897436%;
	}
	
	.one-sixth {
		width: 14.52991452991453%;
	}
	
	.five-sixths {
		width: 82.90598290598291%;
	}

	.first {
		clear: both;
		margin-left: 0;
	}

	.site-footer {
		padding-bottom: 2.5%;
		padding-top: 2.5%;
	}

}


/* ## Screen Reader Text
--------------------------------------------- */

.site-description, .screen-reader-text,
.screen-reader-text span {
	position: absolute !important;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	width: 1px;
	border: 0;
	overflow: hidden;
}

.screen-reader-text:focus {
	clip: auto !important;
	height: auto;
	width: auto;
	display: block;
	font-size: 1em;
	font-weight: bold;
	padding: 15px 23px 14px;
	color: #333;
	background: #fff;
	z-index: 100000; /* Above WP toolbar. */
	text-decoration: none;
	box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
}


/*Additional CSS */

.site-header {
  background:#000;width:100%;padding:0 5%;
  }
.site-inner {background:#fff;margin-top:0px}
.home .site-inner {
  max-width:100%;
 width:100%;padding:0;}
#home-bottom, #home-main {
  display:table;
  width:100%;

  margin:0;}
#home-main{
  background: url("https://markbillingham.com/wp-content/uploads/2017/05/back-tape-960.jpg");
background-size:cover;
    padding:50px ;
}
#home-bottom {
  padding:50px;
}
#home-main .gca-column {color:#fff;
  background-color:rgba(0,0,0,0.9);
  padding:20px 1% 1% 1%;
  margin-bottom:20px;
}

#home-main img {max-width:50%}
#home-main a {color:#fff}
.genesis-nav-menu a {font-size:15px;
  color:#fff;padding:10px 5px; 
  }
.genesis-nav-menu a:hover,
.genesis-nav-menu .current-menu-item > a,
.genesis-nav-menu .sub-menu .current-menu-item > a:hover {
    color:#E4011C !important;
  }
  
.nav-primary .sub-menu a {color:#fff}

.flag-l {width:49%;display:inline-block;text-align:center;}
.flag-r {width:49%;display:inline-block;text-align:center;}

.entry-content img {box-shadow: 10px 10px 5px #888;border:solid 1px rgba(0,0,0,0.3)}
#home-main div.gca-column img {
  box-shadow: 0px 0px 0px #888;
      border:solid 1px rgba(0,0,0,0.3);}

/* Thorne Subpages*/
.subpage-menu {padding:5px;width:100%; border:0; font-size:14px }
.subpage-menu .parent-page {width:100%;clear:both;font-size:18px}
.subpage-menu ul, .subpage-menu li {
  display:inline-block;}
.subpage-menu li {
  width:33%;
  padding:0 2px ;
  display:inline-block;
  vertical-align:top;
  border:solid 0px #eee}
.subpage-menu li:after {content:" ";} 


.site-footer, .footer-widgets{text-align:center;}
.footer-widgets-2 img {margin:0 5px}
/* Newsletter Widget */

.footer-widgets .widget_wysija .wysija-paragraph {margin:0}
.footer-widgets .widget_wysija .wysija-paragraph input {padding:0}

/* Thorne Menu */
#nav {margin-bottom:10px}
#menu-thorne-menu li, #menu-thorne-menu-uk li {font-size:18px;font-weight:700}
#menu-thorne-menu .sub-menu li, #menu-thorne-menu-uk .sub-menu li {font-size:14px;font-weight:400}
#menu-thorne-menu a, #menu-thorne-menu-uk .sub-menu li {padding:5px}
#menu-thorne-menu .menu-item-has-children, #menu-thorne-menu-uk .menu-item-has-children {width:100%;text-align:center}

.page-id-537 .site-inner{margin:0;padding:0}

/* Buy Buttons*/
div.buy-logos {border:solid #ddd 2px;margin-bottom:20px;
  padding:20px 0;border-radius:20px;}
.buy-logos p{margin:0;padding:0}
.buy-logos a {
  width:45%;
    display:inline-block;
    text-align:center;
    margin-left:3%}
.buy-logos p:nth-child(2) {}
.buy-logos img  {box-shadow:0 0;border:0;margin:0 auto}

/* Gateway*/
.sleepyhead-gateway {background:#000;}
.sleepyhead-gateway .site-inner {
  background:transparent;
 margin-top:0px;
      }
#gateway-header {text-align:center;
      background:#000;padding:0}
#gateway-header h3 {
  background:#f00;
  color:#fff;
  margin:0;
  padding: 2px 0;
font-size:24px}
.sleepyhead-gateway #home-main img, 
#gateway-header img {
        box-shadow: 0px 0px 0px #888;      
        margin:0 auto;
        border:0}
  #gateway-header img {
    width:100%;
    max-width:960px;}  
  .sleepyhead-gateway #home-main img {width:37%;
max-width:275px;
min-width:0px;}
.sleepyhead-gateway #home-main  {
  text-align:center; 
    background-position: 50%}
.sleepyhead-gateway #home-main a {margin:20px}

#catapult-cookie-bar, .ctcc-right-side button, #catapultcookie {
  font-size:14px;
}

  @media only screen and (min-width: 800px) {
  .site-header {position:fixed;}
.site-inner {margin-top:180px;}
  .nav-primary .sub-menu {background:#000}  
.nav-primary .sub-menu a {color:#000}  
.gallery-item {padding:1%;margin:0}
.books-menu ul {
  float:left;
  width:450px !important;}
.books-menu .sub-menu li {
  width:140px !important;}
.genesis-nav-menu .sub-menu a {border:0;color:#fff}
.books-menu .sub-menu a {font-size:14px}
#home-main div.gca-column img {
 float:left;margin:0 2% 5% 3%}

  }

 @media only screen and (max-width: 420px) {
 #home-main {padding:50px 0 !important}
}





































