/*
Theme Name: Cover to Cover
Theme URI: https://kneath.co.uk
Author: Paul Gibbs
Author URI: https://kneath.co.uk
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: framework
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Layout
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
    ## Posts and pages
	## Asides
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%; }
body {
	margin: 0; }
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
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 {
	text-decoration: none;
	background-color: transparent; }
a:active,
a:hover {
	outline: 0; }
abbr[title] {
	border-bottom: 1px dotted; }
b,
strong {
	font-weight: bold; }
dfn {
	font-style: italic; }
h1 {
	font-size: 2em;
	margin: 0.67em 0; }
mark {
	background: #ff0;
	color: #000; }
small {
	font-size: 80%; }
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline; }
sup {
	top: -0.5em; }
sub {
	bottom: -0.25em; }
img {
	border: 0; }
svg:not(:root) {
	overflow: hidden; }
figure {
	margin: 1em 40px; }
hr {
	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;
	box-sizing: content-box; }
	
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none; }
	
fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em; }
	
legend {
	border: 0;
	padding: 0; }
	
textarea {
	overflow: auto; }
	
optgroup {
	font-weight: bold; }
	
table {
	border-collapse: collapse;
	border-spacing: 0; }
	
td,
th {
	padding: 0; }


/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #898889;
	font-size: .875rem;
	line-height: 1.6;
	font-family: 'Merriweather', serif; }


h1,
h2,
h3,
h4,#939293
h5,
h6 {
	margin-top: 0;
	clear: both;
	font-size: 1rem;
	font-weight: normal; }
h1 { font-size: 3rem; }

dfn,
cite,
em,
i {
	font-style: italic; }
	
blockquote {
	margin: 0 1.5em; }
	
address {
	margin: 0 0 1.5em; }
	
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em; }
	
code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem; }
	
abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help; }
	
mark,
ins {
	background: #fff9c0;
	text-decoration: none; }
	
big {
	font-size: 125%; }


/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box; }
*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit; }
	
body {
	background: url(images/textured_paper.png) #7E7770 fixed; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: ""; }
	
blockquote,
q {
	quotes: "" ""; }
	
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em; }
	
ul,
ol {
	margin: 0 0 1.5em 3em; }
	
ul {
	list-style: disc; }
	
ol {
	list-style: decimal; }
	
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em; }
	
dt {
	font-weight: bold; }
	
dd {
	margin: 0 1.5em 1.5em; }
	
img {
	height: auto; /* Make sure images are scaled correctly. */
	width: 100%; /* Adhere to container width. */
	display: block; }
	
figure { margin: 0; }


table {
	margin: 0 0 1.5em;
	width: 100%; }


/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: none;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: 11px;
	outline: none;
	margin: 0;
	color: #ffffff;
	background-color: #708fc1;
	text-transform: uppercase;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-ms-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease; }

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

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border:none; }

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	vertical-align: bottom;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	background: #eeeeee;
	margin: 0;
	width: 100%;
	border-radius: 0;
	padding: 10px;
	border: none;
	outline: none;
	color: rgba(0,0,0,0.9); }
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111; }
	
/* Contact Form 7 */
.wpcf7-form input,
.wpcf7-form textarea {
	background: #eeeeee;
	border-radius: 0;
	margin-bottom: 10px;
	padding: 6px;
	width: 100%;
	border: none;
	outline: none; }
	
.wpcf7-form input[type="radio"] {
	width: inherit;	
	padding: 0;
	margin: 0 4px 0 0; }
	
.wpcf7-form input[type="submit"] {
	padding: 18px;
	background: #7E7770;
	font-family: 'Montserrat', sans-serif; 
	text-transform: uppercase;
	font-size: 11px;
	text-align: left;
	color: rgba(255,255,255,0.8); 
	letter-spacing: 1px;
	}
	
.wpcf7-list-item {
	display: block;
	line-height: 1;
	margin: 0 0 10px 0;
	padding: 0; }
	
.wpcf7-form input,
.wpcf7-form textarea {
	text-transform: uppercase;
	color: #888888;
	line-height: 1;
	padding: 10px 0 6px 8px; }
	
.wpcf7-form-control-wrap {
	display: block;
}
	
::-webkit-input-placeholder { color: #666666; }

:-moz-placeholder { color: #666666; }

::-moz-placeholder { color: #666666; }

:-ms-input-placeholder { color: #666666; }

.wpcf7-form img {
	width:auto;
}

#mc-embedded-subscribe {
	background-color: #b5b4ae;
	font-family: 'Montserrat', sans-serif; 
	font-size: 10px;
	line-height: 1.3;
	letter-spacing: 1px;
	-webkit-transition: all 0.4s;
	-o-transition: all 0.4s;
	transition: all 0.4s;
}

#mc-embedded-subscribe:hover {
	background-color: #B6141A;
}



/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/* Links */
a {
	color: #777777;
	text-decoration: none;
	-webkit-transition: color 0.4s ease;
	-moz-transition: color 0.4s ease;
	-ms-transition: color 0.4s ease;
	-o-transition: color 0.4s ease;
	transition: color 0.4s ease; }
	
a:visited {
	color: #777777; }
	
a:hover,
a:focus,
a:active {
	color: #444444; }
	
a:focus {
	outline: thin dotted; }
	
a:hover,
a:active {
	outline: 0; }
	
/* Menus */
.menu_link {
	display: none;	
}

.main-navigation { 
	padding: 38px 40px 54px;
	margin: 0;
	background-color: rgba(4,4,4, 0.8);
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	}

.main-navigation ul { 
	padding: 0;
	margin: 0;
	list-style: none;
	}
	
.main-navigation li { 
	float: left;
	padding: 0 22px 0 0;
	font-size: 14px;  
	line-height: 1;
	-webkit-transition: all 5s ease; 
	}
	
.main-navigation li a { 
	display: block;
	color: rgba(255,255,255,0.75);
	text-decoration: none;
	-webkit-transition: all 0.4s ease; 
	background-repeat: repeat-y; 
	}
	
.main-navigation li a:hover,
.main-navigation .current-menu-item a { color: #B6141A;}

/* Social Menu */
.social_bar {
	float: right;
	margin-top: -3px;
	line-height: 16px;
	color: #B6141A;  
	}

.social_bar span a { 
	font-size: 22px; 
	vertical-align: middle; 
	padding-left: 12px; 
	color: rgba(255,255,255,0.7); 
	-webkit-transition: color 0.4s ease;
	-moz-transition: color 0.4s ease;
	-ms-transition: color 0.4s ease;
	-o-transition: color 0.4s ease;
	transition: color 0.4s ease; }

.social_bar span a:hover { color: #779AC8; }


/* Books Menu */
#books-menu {
	padding: 0;
	margin: 0;
	list-style: none; }

#books-menu li {
	float: left;
	width: 15%;
	margin-right:2%;
	font-size: 10px;
	letter-spacing: 1px;
	font-family: 'Montserrat', sans-serif; 
	text-transform: uppercase;
	text-align: center; }

#books-menu li a {
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-ms-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
	display: block;
	padding: 10px;
	border-radius: 20px;
	color: rgba(255,255,255,0.9);
	background-color: #B6141A;
	text-decoration: none; }

#books-menu li a:hover,
#books-menu .current_page_item a {
	background-color: #7E7770; }
#books-menu li:last-child { margin: 0; }

#primary nav { padding: 20px 0 10px 0; }

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block; }
@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em; }
.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%; }
.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%; }
	
/* Page/Post Navigation */
nav-links { 
	overflow: hidden; 
	background-color: #aaaaaa;	
}

.nav-links .fa {
	font-size: 28px;
	padding: 0 6px;
	vertical-align: middle;
	color: #B6141A; }

.post-navigation {
	margin: 30px 0 10px 0; }

.nav-next a:after,
.nav-previous a:before {
	font-size: 28px;
	font-family: FontAwesome;
	padding: 0 6px;
	vertical-align: middle;
	color: #B6141A;
	content: "\f18e"; }

.nav-previous a:before { content: "\f190"; }

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden; }
.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-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}


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

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table; }
.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both; }

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget { margin: 20px 0 0 0; }

.widget:first-child {
	margin-top: -4px; }
.widget div {
	margin-bottom: 10px; }
/* Make sure select elements fit in widgets. */
.widget select { max-width: 100%; }

/* Search widget. */
.widget_search .search-submit { display: none; }

.widget h2 {
	padding: 8px 12px;
	background: #918A80;
	text-transform: uppercase;
	font-size: 12px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	letter-spacing: 1px;
	color: rgba(255,255,255,0.8); }

.widget_displaytweetswidget h2 {
	background-color: #2AA3EF;
}

.widget_text h2 {
	background-color: #4469B0;
}

.widget-title {
	margin-bottom: 10px; }

.widget h3 {
	margin-bottom: 0; }
.widget h3 a {
	text-decoration: none;
	color: #B6141A; }
.widget h3 + span {
	color: #aaa; }

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0; }
.widget li {
	border-top: 1px solid #ddd;
	margin-bottom: 5px; }

.widget li:first-child {
	border: none; }

.widget:last-child h2 {
	background: #B6141A;
}
	
/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.entry-header .entry-title,
.page-header h1 {
	margin: 0;
	padding: 0;
	line-height: 1.1;
	color: #B6141A; 
	font-family: 'Special Elite', cursive;
}

.section-title { 
	color: #7E7770; 
	margin-bottom: 10px; 
	font-family: 'Special Elite', cursive;
	font-size: 38px;
	}

.staff_profile,
.book_category article,
.recent_list article {
	width: 100%;
	border-top: 1px solid #7E7770;
	margin-top: 30px;
	padding-top: 30px; }
	
.staff_profile .entry-title,
.recent_list .entry-title,
.book_category .entry-title,
.single .site-main .entry-title,
.map h2,
.entry-content h2 {
	color: #B6141A;
	font-family: 'Special Elite', cursive;
	text-decoration: none;
	font-size: 24px;
	line-height: 1.2;
	margin-bottom: 5px; }

.book_category .entry-meta a,
.recent_list .entry-meta a,
.single .entry-meta a,
.entry-meta {
	text-decoration: none;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 1px;
	font-family: 'Montserrat', sans-serif; 
	color: #615f5d; }

.staff_profile .entry-title a,
.recent_list .entry-title a,
.book_category .entry-title a {
	color: #B6141A;
	text-decoration: none; }

.staff_profile .entry-title a:hover,
.recent_list .entry-title a:hover,
.book_category .entry-title a:hover {
	color: #7E7770;
	text-decoration: none; }
	
p.staff_question_title {
 	font-weight: bold;
 	margin-bottom: 0px; }
 
article p.staff_meta { margin: 0; }

.single .entry-title { margin-top: 0; }

.intro-text {
	font-size: 1.375rem; 
	line-height: 1.363636364;
	color: #7E7770; }

.sticky {
	display: block; }

.hentry {
	margin: 0; }

.byline,
.updated:not(.published) {
	display: none; }

.single .byline,
.group-blog .byline {
	display: inline; }

.page-content,
.entry-content,
.entry-summary {
	margin: 0 0 0; }

.page-links {
	clear: both;
	margin: 0 0 1.5em; }

.entry-content th {
	text-align: left;
	color: #605c58; }

a.read-more,
a.more-link {
	display: block;
	padding: 12px;
	margin-top: 15px;
	width: 105px;
	font-family: 'Montserrat', sans-serif; 
	text-transform: uppercase;
	font-size: 10px;
	text-align: center;
	letter-spacing: 1px;
	background-color: #9e9690;
	color: rgba(255,255,255,0.9);
	-webkit-transition: all 0.4s;
	-o-transition: all 0.4s;
	transition: all 0.4s;
	 }	

a.read-more:hover {
	background-color: #B6141A;
}

a.read-more .fa-angle-right {
	margin-top: -2px;
	vertical-align: middle;
	margin-left: 6px;
	width: 24px;
	height: 24px;
	font-size: 14px;
	border-radius: 50%;
	line-height: 23px;
	color: #ffffff;
	text-align: center;
	display: inline-block;
	background: #82A3CA; }
	
/* Feature Image */
.post_thumbnail { background: #ffffff; }

.post_thumbnail img {
	float: right; }

.post_thumbnail a {
	-webkit-transition: opacity 0.3s ease;
	-moz-transition: opacity 0.3s ease;
	-ms-transition: opacity 0.3s ease;
	-o-transition: opacity 0.3s ease;
	transition: opacity 0.3s ease; }

.post_thumbnail:hover a { opacity: 0.2; }
 
/* Gifts Section */
.gifts_section { margin-top: 20px; }
.gifts_section .entry-content { 
	position: relative;
	margin-right: 2%;
	margin-bottom: 16px; } 

.gifts_section .entry-content:nth-child(4n) {
	margin-right: 0; }

.gifts_section .entry-content a  {
	position: absolute;
	padding: 40% 15px 0 15px;
	top: 0;
	display: block;
	width: 100%;
	height: 100%; 
	text-decoration: none;
	color: #ffffff;
	opacity: 0;
	text-align: center;
	background-color: rgba(181, 21, 26, 0.85);
	-webkit-transition: opacity 0.4s ease;
	-moz-transition: opacity 0.4s ease;
	-ms-transition: opacity 0.4s ease;
	-o-transition: opacity 0.4s ease;
	transition: opacity 0.4s ease; }

.gifts_section .entry-content a:hover { opacity: 1; }

.gift_caption {
	z-index: 100;
	position: relative;
	font-size: .8125rem;
	top: -40px; }
	
.gift_caption span {
	background: #fff;
	display: inline-block;
	padding: 15px;
	margin-top: 20px; }

/* Map section */
.map {
	 width: 100%; }

.map h2 {
	margin-bottom: 20px;	
	padding-bottom: 10px;	
	border-bottom: 1px solid #89a4bd; }
#map_canvas {
	width: 100%;
	height: 400px; }
	
/* Recent Section */
.previous-events a {
	clear: both;
	display: block;
	width: 100%;
	height: 100%;
	margin-top: 10px;
	background: #7E7770;
	padding: 12px;
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: rgba(255,255,255,0.9);
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-ms-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
}

.previous-events a:hover {
	background: #B6141A;
	color: rgba(255,255,255,0.9);
}

/* Books Like Section */
aside.col-5 { margin: 0; }
aside img {
	float: right; }
	
.books_section {
	margin-top: 20px;	
	padding-top: 10px;	
	border-top: 2px solid #7E7770; }
	
.books_section h1 { 
	color: #7E7770; 
	margin-bottom: 10px; 
	font-family: 'Special Elite', cursive;
	font-size: 38px;
}

.book_shelf { 
	padding-top: 10px;	
	border-top: 18px solid #cccccc;
	border-bottom: 20px solid #eeeeee;
	border-left: 56px solid #dddddd;
	border-right: 56px solid #dddddd;
	background: #eaeaea; }

ul.book_like {
	position: relative;
	top: 12px;
	margin: 0;
	padding: 0;	 
	list-style: none;
	text-align: center; }

.book {	
	width: 17.23%;
	margin: 0 2% 0 0;
	padding: 0; }
.book:last-child { margin-right: 0; }

ul.book_like li {
	float: none;
    display: inline-block;
    overflow: hidden;
    box-shadow: 0 8px 8px -8px #444; }

ul.book_like li a:hover img { 
	-webkit-transform: 	scale(1.05);
	-moz-transform: scale(1.05);
	-ms-transform: scale(1.05);
	-o-transform: scale(1.05);
	transform: scale(1.05);
	transform:scale(1.05); }
	
ul.book_like li img { 
	-webkit-transition: all 0.5s ease;
	transition: all 0.5s ease;
	display: block; }
	
/* Shop Section */
.shop-section div {
	margin-top: 30px;
	width: 50%;
	float: left; }

.shop-section div a img {
	-webkit-transition: opacity 0.4s ease;
	-moz-transition: opacity 0.4s ease;
	-ms-transition: opacity 0.4s ease;
	-o-transition: opacity 0.4s ease;
	transition: opacity 0.4s ease; }

.shop-section div a:hover img {
	opacity: 0.65; }

.shop-section div:first-child { padding-right: 5px; }
.shop-section div:last-child { padding-left: 5px; }

/* Staff Section */
.staff_profile h4 {
	margin-bottom: 0;
	font-weight: 600;
	font-size: 1em;
	color: #787371; }
.staff_profile h4 + p {
	margin-top: 0; }
	
/* Newslterr Sign Up */
.widget input[type="email"] {
	width: 70%; }
.widget input[type="submit"] {
	width: 30%; }


/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none; }


/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/

.site-footer ul {
	list-style-type: none;	
	padding: 0;	
	margin: 0;	
	color: #ffffff;
	font-size: .875em;
	line-height: 1.6; }

.site-footer a {
	-webkit-transition: color 0.4s ease;
	-moz-transition: color 0.4s ease;
	-ms-transition: color 0.4s ease;
	-o-transition: color 0.4s ease;
	transition: color 0.4s ease;
	text-decoration: none;	
	color: #E6B1B4; }

.site-footer a[href^="mailto"] { color: #ffffff; }

.site-footer li a:hover { color: #ffffff; }

#footer-menu li { border-top: 1px solid #fff; }

#footer-menu li:last-child { border-bottom: 1px solid #fff; }

.site-footer .tint { color: rgba(255,255,255, 0.7); }

.site-info {
	width: 100%;
	margin: 60px 0 10px 0;
	color: #ffffff;
	font-size: .875em;
	line-height: 1;  }


/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word; }
.bypostauthor {
	display: block; }


/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none; }
	
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block; }

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0; }
/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%; }

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%; }
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto; }
.wp-caption-text {
	text-align: center; }
.wp-caption .wp-caption-text {
	margin: 0.8075em 0; }

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
  margin: 0 -10px; }
  
 .gallery-item {
	display: inline-block;
	width: 100%;
	padding: 10px;
	text-align: center;
	vertical-align: top;
	margin: 0; 
	background-color: #ffffff;
}

 .gallery-item a {
	 display: block;
	 background-color: #25689C;
 }
 
 .gallery-item a img {
	 -webkit-transition: all 0.4s;
	 -o-transition: all 0.4s;
	 transition: all 0.4s;
 }
 
 .gallery-item a:hover img {
	 opacity: 0.4;
 }
	
.gallery-columns-2 .gallery-item {
	max-width: 50%; }
.gallery-columns-3 .gallery-item {
	max-width: 33.33%; }
.gallery-columns-4 .gallery-item {
	max-width: 25%; }
.gallery-columns-5 .gallery-item {
	max-width: 20%; }
.gallery-columns-6 .gallery-item {
	max-width: 16.66%; }
.gallery-columns-7 .gallery-item {
	max-width: 14.28%; }
.gallery-columns-8 .gallery-item {
	max-width: 12.5%; }
.gallery-columns-9 .gallery-item {
	max-width: 11.11%; }

.gallery-caption {
	display: block; }

.site-branding {
	display: inline-block;
	padding: 22px 18px 12px;
	margin: 0 36px 76px;
	background-color: rgba(255,255,255, 0.9);
}
	

@media (max-width: 1010px) {
	body .col-7 { width: 52%; }
}

@media (max-width: 865px) { 
	
	#primary.col-6 { width: 100%; }
	
	.site-title a {
		width: 240px;
		height: 40px;
		margin: 0
	}
	
	.site-branding {
	 	display: block;
	 	padding-top: 24px;
	 	padding-left: 36px;
	 	margin: 36px 0 0 0;
 	}
	
	body.home #primary,
	.page-id-18 #primary {
		margin: 0 !important;
		float: left;
		width: 100%; }
	
	body .page-header,
	body .entry-header {
		float: left;
		width: 100%;
		line-height: 1.1; }
	
	.page-header h1,
	.entry-header h1,
	.entry-header h1.entry-title {
		line-height: 1.1;
		margin: 0 0 20px; }
	
	body #primary + aside {
		width: 100%;
	}
	.site-footer ul[class^="col-"] {
		width: 100%;
		margin-bottom: 30px;
	}
	
	.site-header {
		position: relative;
	}
	
	a.menu_link {
		z-index: 1000;
		position: absolute;
		display: block;
		top: 55px;
		right: 40px;
		width: 40px;
		height: 40px;
		border-radius: 50%;
		color: #ffffff;
		background-color: #333333;
		font-size: 16px;
		text-align: center;
		line-height: 40px;	
	}
	
	.main-navigation {
		max-height: 0;
		overflow: hidden;
		opacity: 0;
		overflow: auto;
		transform: translateY(20px);
		transition: all 0.4s ease;
	}
	
	.open .main-navigation {
		max-height: 2000px;
		opacity: 1;
		transform: translateY(0px);
	}
	
	.main-navigation li {
		float: none;
		padding: 12px 0;
		text-align: left;
		border-top: 1px solid rgba(255,255,255,0.7);
	}
	.social_bar {
		float: left;
		margin-top: 24px;
	}

}
