/*
Theme Name: Gillian Chan
Theme URI: http://www.gillianchan.com
Author: Doodletronics, based on http://underscores.me
Author URI: http://www.doodletronics.com
Description: Website of Gillian Chan, author
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

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.

Gillian Chan is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

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:
----------------------------------------------------------------
1.0 Normalize
2.0 Typography
3.0 Elements
4.0 Forms
5.0 Navigation
	5.01 Header
	5.1 Links
	5.2 Menus
6.0 Accessibility
7.0 Alignments
8.0 Clearings
9.0 Widgets
10.0 Content
    10.1 Posts and pages
	10.2 Asides
	10.3 Footer
11.0 Infinite scroll
12.0 Media
	12.1 Captions
	12.2 Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 Normalize
--------------------------------------------------------------*/
html {
	font-family: 'Merriweather Sans', sans-serif;
	font-size: 1em;
	font-weight: 300;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}



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 {
	background-color: transparent;
	text-decoration: none;	
    color: #00f;
}

a:focus,
a:hover,
a:active {
	outline: 0;
	text-decoration: underline;
	color: #018c4e;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-family: 'Merriweather Sans', sans-serif;
	font-weight: 700;
}

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"] {
	padding: 1em 2em;
    font-size: 1.6rem;
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1;
    color: #000;
    background: #3c3c3c;
    border: none;
	-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;
}



/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 300;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	word-wrap: break-word;
	-ms-word-break: break-word;
}

p {
	margin-bottom: 1em;
}

dfn,
cite,
em,
i {
	font-family: 'Merriweather Sans', sans-serif;
	font-weight: 300;
	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: 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: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
3.0 Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}
body {
	margin: 0;
	width: 100%;
}

.site-header, #content, #colophon {
	max-width: 1000px;
	margin: 0 auto;
}
#primary {
	padding: 0 1em;
}
*,
*: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: #fff; /* 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: #014225;
	border: 0;
	height: 2px;
	width: 18rem;
	margin: 1em auto 1.5em auto;
}

ul,
ol {
	margin: 0 0 1.5em 0em;
}

ul {
	list-style: none;
	padding-left: 1.5em;
	margin: 0;
}


ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
#content li {
	padding-left: 1em;
	text-indent: 0;
	background: url("http://www.gillianchan.com/wp-content/uploads/bullet.gif") 0 8px no-repeat;
	background-size: 6px 6px;
}


dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

.center {
	display: block;
	margin: 0 auto;
}
	
.left {
	float: left;
	margin: 15px 15px 10px 0;
}

.right  {
	float: right;
	margin: 15px 0 10px 15px;
}

img.border  {
	border: 1px solid #333;
}
#gillianphoto {
	width: 300px;
	height: 400px;
}

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

/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

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-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
	width: 15em;
}

textarea {
	padding-left: 3px;
	width: 100%;
}
#wpcf7-f1840-p1859-o1 {
	width: 50%;
}
.smallformtext {
	font-size: .8em;
	color: #666;
}
/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/

/*--------------------------------------------------------------
5.01 Header
--------------------------------------------------------------*/

.site-branding {
    padding: 0;
    margin: 0;
    top: 0;
    text-align: center;
    height: 110px;
    overflow: hidden;
    background: #014225;
}

.site-title {
	font-family: 'Cardo', serif;
    font-weight: 700;
    font-size: 5em;
    line-height: normal;
    padding: 0;
    margin: 0;
    text-decoration: none;
}
.site-title a, .site-title a:visited,
.site-description { 
    color: #fff;
    text-decoration: none!important;
}

.site-description {
	display: none;
}
                    
/* .title-box {
    width: 600px;
    max-width: 75%;
    padding: 0;
    margin: 0 auto;
} */
                    
.site-branding a { 
    text-decoration: none; 
}


/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a {
	color: #00f;
	text-decoration: none;
}
a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

a:visited {
	color: purple;
	text-decoration: none;
}

a:hover,
a:focus,
a:active {
	color: #018c4e;
	text-decoration: underline;
}


/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/
#navwrap {
	position: relative;
}

#site-navigation {
	position: absolute;
	left: 0;
	right: 0;
	margin: 0 -100%;
	top: 0;
	height: 2.5em;
	border-bottom: 3px solid #014225
}


.main-navigation {
    position: relative;
    display: block;
    clear: both;
	font-family: 'Libre Baskerville', serif;
	font-weight: 400;
    background: #fff;
}
.main-navigation ul {
    width: 800px;
    list-style: none;
    padding-left: 40px;
    text-align: center;
    margin: 0 auto;
}
.main-navigation li {
    float: left;
    position: relative;
}
.main-navigation a {
    display: block;
    padding: .3em 1.5em .2em 1.5em;
    font-size: 1.3em;
    text-decoration: none;
    line-height: 1.3em;
    color: #000;
}
.main-navigation ul ul {
    position: absolute;
    left: 0;
    z-index: 99999;
    display: none;
    width: 12em;
    text-align: left;
    float: left;
    padding: 0;
    background: #fff;
	-webkit-box-shadow: 1px 2px 3px -1px rgba(0,0,0,0.6);
	-moz-box-shadow: 1px 2px 3px -1px rgba(0,0,0,0.6);
	box-shadow: 1px 2px 3px -1px rgba(0,0,0,0.6);
}

.main-navigation ul ul ul {
    left: 100%;
    top: 0;
}
.main-navigation ul ul a {
    width: 12em;
    font-size: 1em;
    border-right: 1px solid #014225;
    border-left: 1px solid #014225;
}
.main-navigation ul ul li {
	border-top: 1px solid #014225;
	border-bottom: 1px solid #014225;
}
.main-navigation li:hover > a {
    color: #018c4e;
    background: #fff;
}
.main-navigation ul ul:hover > a {
    font-size: 1em;
}
.main-navigation ul ul a:hover  {
    background: #efefef;
}
.main-navigation ul li:hover > ul {
    display: block;
}
.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a {
    background: #fff;
    color: #018c4e;
}
.main-navigation .current_page_item > li a:hover,
.main-navigation .current-menu-item > li a:hover {
	background: #efefef;
}


.main-navigation .current_page_ancestor {
    background: #fff;
}

.main-navigation ul ul .current_page_parent,
.main-navigation .current_page_parent .current_page_item > a {
    color: #000;
    background: #fff;
} 

.main-navigation .current_page_parent .current_page_item > a:hover {
    color: #018c4e;
    background: #efefef;
} 
/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 801px) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}


/* Responsive menu */
@media screen and (max-width: 800px) {

	.menu-toggle {
            display: none;
            height: 1.5em;
            width: 2em;
            padding: 0 .5em;
            font-weight: normal;
            font-size: 1.4rem;
            text-decoration: none;
            line-height: 1.2em;
            color: white;
	}
        
	.main-navigation.toggled .nav-menu {
		display: block;
		border-top: 1px solid;
		border-top-color: #fff;
	}
	

	.main-navigation ul {
            display: none;
            padding-left: 0;
            text-align: left;
	}
        
	.main-navigation li { 
		float: none; 
	}

	.main-navigation li a { 
		padding: .6em 1.5em; 
	}
	.main-navigation ul ul {
		width: 100%;
		padding: 0;
		margin:0;
	}
	.main-navigation li li a { 
		padding-left: 4em; 
	}

	.main-navigation li li li a { 
		padding-left: 6em; 
	}

	.main-navigation li:hover > a {
		background: #313131;
	}
	
	.main-navigation ul ul,
	.main-navigation ul ul ul {
		position: relative;
		top: inherit;
		text-align: left;
		left: 0;
		display: block;
		float: none;
		background: #313131;
	}
	
	.main-navigation ul ul a { width: 100%; 
		border-right: none;
		border-left: none;
	}

	.main-navigation ul a:hover,
	.main-navigation ul ul a:hover, 
	.main-navigation ul a:focus,
	.main-navigation ul ul a:focus {
		background: #4d4d4d;
	}

	.main-navigation .current_page_ancestor { background: inherit; }

	.main-navigation ul ul .current_page_parent {
		color: inherit;
		background: inherit;
	}

	.main-navigation .current_page_item > a,
	.main-navigation .current_page_item > a:hover,
	.main-navigation .current_page_item > a:focus,
	.main-navigation .current_page_item li:hover,
	.main-navigation .current_page_item li:focus,
	.main-navigation .current_page_parent .current_page_item > a  {
		color: #fff;
		color: hsl(0, 0%, 100%);
		background: #4d4d4d;
		background: hsl(0, 0%, 30%);    
	}    
}



/*--------------------------------------------------------------
6.0 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: 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. */
}

/*--------------------------------------------------------------
7.0 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;
}

/*--------------------------------------------------------------
8.0 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;
}

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


/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/

#content {
	padding-top: 4em;
}

/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/
/* Typography */
.entry-title {
    margin: .5em 0 0 0;
	font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 2em;
    line-height: 1.2em;
    color: #014225;
}
.entry-title a {
    color: #014225;
}
.entry-content a { 
    text-decoration: none; 
}
                    
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 { 
	font-family: 'Libre Baskerville', serif;
	font-weight: 700;
	margin-bottom: .4em; }

.entry-content h1 {
    font-size: 2em;
    line-height: 1.2;
}

.entry-content h2 {
    font-size: 1.8em;
}

.entry-content h3 {
    font-size: 1.6em;
}

.entry-content h4 {
    font-size: 1.4em;
}

.entry-content h5 {
    font-size: 1.2em;
}

.entry-content h6 {
    font-size: 1em;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
    font-size: 1.1em;
    line-height: 1.5em;
}

.entry-content blockquote p {
    font-size: 1em;
    line-height: 1.5em;
}

/* Posts in Pages news feed styles */

.ivycat-post {
	background: #d9e2e9;
	padding: .5rem 1rem .5rem 1rem;
	margin: 1em 0 2em 0;
	overflow: auto;
}
.ivycat-post h2 {
	margin: .2em 0 .5em 0;
}

.ivycat-post p {
	margin: 0 0 1rem 0;
	line-height: 1.4;
}
.ivycat-post h2, .ivycat-post h2 a {
	font-weight: 400;
	text-decoration: none;
}




/* Accordion Books section */



#disappear {
	background: url("http://www.gillianchan.com/wp-content/uploads/books-disappear.jpg") 0 0 no-repeat;
}
#defend  {
	background: url("http://www.gillianchan.com/wp-content/uploads/books-defend.jpg") 0 0 no-repeat;
}
#call  {
	background: url("http://www.gillianchan.com/wp-content/uploads/books-call.jpg") 0 0 no-repeat;
}
#turning  {
	background: url("http://www.gillianchan.com/wp-content/uploads/books-turning.jpg") 0 0 no-repeat;
}
#ocean  {
	background: url("http://www.gillianchan.com/wp-content/uploads/books-ocean.jpg") 0 0 no-repeat;
}
#foreign  {
	background: url("http://www.gillianchan.com/wp-content/uploads/books-foreign.jpg") 0 0 no-repeat;
}
#carved  {
	background: url("http://www.gillianchan.com/wp-content/uploads/books-carved.jpg") 0 0 no-repeat;
}
#glory  {
	background: url("http://www.gillianchan.com/wp-content/uploads/books-glory.jpg") 0 0 no-repeat;
}
#golden  {
	background: url("http://www.gillianchan.com/wp-content/uploads/books-golden.jpg") 0 0 no-repeat;
}
#disappear, #defend, #call, #turning, #ocean, #foreign, #carved, #glory, #golden {
	background-size: 167px 250px;
	height: 250px;
	width: 167px;
	margin: 0;
	display: inline-block;
}
.booktext {
	vertical-align: top;
	display: inline-block;
	width: 750px;
	margin: 0 0 0 1em;
	line-height: 1.5em;
	}
.booktext h4 {
	margin: 0 0 .5em 0;
	}
a.adjust{
	padding: 2px;
	margin: 0 0 0 190px;
	display:block;
	background: #014225;
	color: #fff;
	font-weight:bold;
	width:4em;
	font-size: .8em;
	text-align:center;
	text-decoration:none;
	border-radius: 4px 4px 4px 4px;
	-moz-border-radius: 4px 4px 4px 4px;
	-webkit-border-radius: 4px 4px 4px 4px;
	border: 0px solid #000000;
}
a.adjust:hover{
	background: #018c4e;
}


.vendors {
	margin-left: 0;
	background: #cce6d1;
	border-radius: 5px;
	max-width: 26.5em;
	clear: right;
}	
.vendors p {
	display: inline-block;
	font-size: 1em;
	vertical-align: top;
	padding: 1em 1em .4em 1em!important;
	margin: 0;
	width: 13em;
}




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

/*--------------------------------------------------------------
 10.3 Footer
--------------------------------------------------------------*/

.site-footer {
    padding: 1em;
    font-size: .8em;
    color: #666;
}

.site-footer a {
    color: #999;
}

.site-info { 
    text-align: center; 
}

/*--------------------------------------------------------------
11.0 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;
}

/*--------------------------------------------------------------
12.0 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%;
}

/*--------------------------------------------------------------
12.1 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;
}

/*--------------------------------------------------------------
12.2 Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.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;
}
/*--------------------------------------------------------------
13 Responsive styles
--------------------------------------------------------------*/

@media screen and (max-width: 400px) {
	.site-branding {
    	text-align: center;
    	height: 60px;
	}

	.site-title {
    	font-size: 2.5em;
    	padding: .1em 0;
	}
	#site-navigation {
		display: none;
	}
	#content {
		padding-top: 1em;
	}
	#gillianphoto {
		width: 50%;
		height: auto;
	}
	.entry-title {
		padding-top: 0;
		margin-top: 0;
	}
	#disappear, #defend, #call, #turning, #ocean, #foreign, #carved, #glory, #golden {
		background: none;
		display: none;
	}
	.booktext {
		display: block;
		width: 100%;
		margin: 0 0 1em 0;
		line-height: 1.5em;
	}
	.booktext h4 {
		margin: 0 0 .5em 0;
	}
	a.adjust{
		margin-left: 0;
	}

	.vendors {
		margin-left: 0;
		padding: .1em!important;
		min-width: 13em;
		max-width: 26.5em;
		clear: right;
	}	
	/* Contact form */
	#wpcf7-f1840-p1859-o1 {
		width: 100%;
	}
}	
@media screen and (min-width: 401px)
and (max-width: 480px) {
	.site-branding {
    	text-align: center;
    	height: 60px;
	}

	.site-title {
    	font-size: 2.5em;
    	padding: .1em 0;
	}
	#site-navigation {
		display: none;
	}
	#content {
		padding-top: 1em;
	}
	#gillianphoto {
		width: 200px;
		height: 264px;
	}
	.entry-title {
		padding-top: 0;
		margin-top: 0;
	}
	#content {
		padding-top: 1em;
	}

	#disappear, #defend, #call, #turning, #ocean, #foreign, #carved, #glory, #golden {
		background-size: 84px 125px;
		height: 125px;
		width: 84px;
		margin: 0;
		display: inline-block;
	}
	.booktext {
		vertical-align: top;
		display: inline-block;
		max-width: 65%;
		margin: 0 0 0 1em;
		line-height: 1.5em;
	}

	.booktext h4 {
		margin: 0 0 .5em 0;
	}
	a.adjust{
		margin-left: 107px;
	}

	.vendors {
		margin-left: 0;
		padding: .1em!important;
		min-width: 13em;
		max-width: 26.5em;
		clear: right;
	}	
	/* Contact form */
	#wpcf7-f1840-p1859-o1 {
		width: 100%;
	}
}	

@media screen and (min-width: 481px)
and (max-width: 600px) {
	.site-branding {
    	text-align: center;
    	height: 70px;
        overflow: hidden;
	}

	.site-title {
    	font-size: 3em;
    	padding: .1em 0;
	}
	#site-navigation {
		display: none;
	}
	#content {
		padding-top: 1em;
	}
	#gillianphoto {
		width: 200px;
		height: 264px;
	}
	#disappear, #defend, #call, #turning, #ocean, #foreign, #carved, #glory, #golden {
		background-size: 84px 125px;
		height: 125px;
		width: 84px;
		margin: 0;
		display: inline-block;
	}
	.booktext {
		vertical-align: top;
		display: inline-block;
		max-width: 70%;
		margin: 0 0 0 1em;
		line-height: 1.5em;
	}
	.booktext h4 {
		margin: 0 0 .5em 0;
	}
	a.adjust{
		margin-left: 107px;
	}
	.vendors {
		margin-left: 0;
		padding: .1em!important;
		min-width: 13em;
		max-width: 26.5em;
		clear: right;
	}	
	/* Contact form */
	#wpcf7-f1840-p1859-o1 {
		width: 100%;
	}
}
@media screen and (min-width: 601px)
and (max-width: 800px) {

	.site-branding {
    	text-align: center;
    	height: 80px;
    	overflow: hidden;
	}
	.site-title {
    	font-size: 3.3em;
    	padding: .1em 0;
	}
	#site-navigation {
		display: none;
	}
/*	.main-navigation ul {
		width: 90%!important;
    	padding-left: 0;
    	text-align: center;
    	margin: 0 auto;
	}
	.main-navigation a {
    	padding: .3em 1.2em;
	} */
	#primary {
		padding: 0 3em;
	}
	#content {
		padding-top: 1em;
	}
	.booktext {
		max-width: 60%;
	}
	.vendors {
		margin-left: 0;
	}
}
@media screen and (min-width: 801px)
and (max-width: 1000px) {
	.site-header, #content, #colophon {
		max-width: 100%;
		margin: 0 auto;
	}
	.booktext {
		max-width: 70%;
	}
	.vendors {
		margin-left: 0;
	}
}  
@media only screen 
and (min-device-width: 768px) 
and (max-device-width: 1024px) 
and (orientation: landscape) {

	.booktext {
		max-width: 75%;
	}
	#primary {
		padding: 0 5em 0 5em;
	}
}
