/*
Theme Name: Karen Maitland
Author: Bookswarm
Author URI: http://www.bookswarm.co.uk
Description: Custom responsive theme
Version: 1.0
Text Domain: karenmaitland
*/

/* --- reset --- */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

textarea, input {
	outline: none;
}

/* --- general styles --- */

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 13px;
  line-height: 1.32857143;
  color: #333333;
  background: #dddcc8 url('images/background.jpg') top center;
  background-size: cover;
  padding-top: 14px;
}

.hidden {
	position:absolute;
	left:-10000px;
	top:auto;
	width:1px;
	height:1px;
	overflow:hidden;
}

strong, b {
	font-weight: bold;
}

em, i {
	font-style: italic;
}

ul, ol {
	margin-bottom: 17px;
	margin-left: 17px;
}

ul li {
	list-style: disc;
	margin: 0 0 2px 0;
}

ol li {
	margin: 0 0 6px 19px;
}

.left { float: left; }
.right { float: right; }
.clear { clear: both; }

img.alignright, .wp-caption.alignright {float:right; margin:0 0 0.6em 1em} 
img.alignleft, .wp-caption.alignleft {float:left; margin:0 1em 0.6em 0} 
img.aligncenter {display: block; margin-left: auto; margin-right: auto} 
.alignright {float:right; } 
.alignleft {float:left; } 
.aligncenter {display: block; margin-left: auto; margin-right: auto}
.wp-caption-text { font-weight: bold;text-align: center;margin-top: 3px; }


/* ---- typography ---- */

h1, h2, h3, h4, h5, h6 {
	font-family: 'Simonetta', cursive;
}

h1 {
	font-size: 36px;
	border-bottom: 1px solid #79835c;
	margin-bottom: 16px;
}

h2 {
	font-size: 30px;
	margin-bottom: 14px;
}

h3 {
	font-size: 26px;
	margin-bottom: 14px;
}

h4 {
	font-size: 22px;
	margin-bottom: 12px;
}

h5 {
	font-size: 18px;
	margin-bottom: 12px;
}

h6 {
	font-size: 16px;
	margin-bottom: 12px;
}

p {
	margin-bottom: 18px;
}

.name {
	font-family:'Savoye W01';
	font-size: 47px;
}

blockquote {
	margin-left: 40px;
	margin-right: 40px;
	font-style: italic;
	font-size: 13px;
	line-height: 19px;
}

/* --- links, buttons --- */

.button:link, .button:visited {
	font-size: 11px;
	font-family: 'Simonetta', cursive;
	color: #fff;
	background-color: #993300;
	display: inline-block;
	padding: 2px 4px;
	border: 0;
}


/* --- forms --- */

input[type=submit] {
	font-family: 'Simonetta', cursive;
	text-transform: uppercase;
	font-size: 11px;
	background-color: #993300;
	border: 0;
	color: #fff;
	border-radius: 0;
}

input[type=search] {
-webkit-appearance: textfield;
}

::-webkit-input-placeholder {color: #fff;font-size: 12px;}
:-moz-placeholder {color: #fff;font-size: 12px;}
::-moz-placeholder {color: #fff;font-size: 12px;}
:-ms-input-placeholder {color: #fff;font-size: 12px;}

#search-box input[type=search], #footer-widgets input[type=text], #footer-widgets input[type=email] {
	background: rgba(35,42,18,0.8);
	border: 0;
	color: #fff;
	padding: 7px 7px 5px;
	font-family: 'Simonetta', cursive;
	width: 127px;
	height: 14px;
	-webkit-appearance: none;
	border-radius: 0;
	-webkit-border-radius: 0;
}

#search-box input[type=submit]{
	background: transparent;
	text-indent: -9999px;
	background-image: url('images/white-arrow.png');
	background-repeat: no-repeat;
	background-position: right 0px center;
	border: 0;
	margin-left: -4px;
	padding: 7px 15px;
	height: 26px;
}

#footer-widgets input[type=text], #footer-widgets input[type=email] {
	padding: 5px;
	font-size: 12px;
	height: 24px;
	margin-bottom: 8px;
	width: 100%;
	-webkit-appearance: none;
	border-radius: 0;
	-webkit-border-radius: 0;
}

#footer-widgets .gform_wrapper .gform_footer {
	margin: 0;
	padding: 0;
}

/* --- header --- */

#masthead {
	text-align: center;
}

#search-box {
	text-align: right;
}

#title {
	margin-bottom: 40px;
}

#title h1 {
	margin-bottom: 24px;
	border: 0;
}

#title h1 img {
	width: 100%;
	height: auto;
	max-width: 532px;
}

#title .strapline {
	width: 100%;
	max-width: 505px;
	margin: 0 auto;
	font-weight: bold;
	color: #02371D;
}

/* nav */

#site-navigation {
	margin-bottom: 7px;
}

#site-navigation ul {
	text-align: center;
	margin: 0;
}

#site-navigation li {
	position: relative;
	margin: 0;
}

#site-navigation li:before {
	content: '\2022';
	font-family: 'Metamorphous', cursive;
	float: left;
	padding-top: 5px;
}

#site-navigation li:last-of-type:after {
	content: '\2022';
	font-family: 'Metamorphous', cursive;
	float: right;
	padding-top: 5px;
}

#site-navigation ul li {
	display: inline-block;
	position: relative;
}

#site-navigation > div > ul > li {
	margin: 0 0;
}

#site-navigation ul li a:link, #site-navigation ul li a:visited {
	padding: 8px 26px;
	margin: 0 -6px 4px -7px;
	display: block;
	text-decoration: none;
	float: left;
	text-transform: uppercase;
	font-family: 'Metamorphous', cursive;
	font-size: 14px;
	line-height: 9px;
	color: #000;
}

nav#mobile ul li a:link, nav#mobile ul li a:visited {
	color: #000;
}

#site-navigation > ul > li.current_page_item > a:link, #site-navigation > ul > li.current_page_item > a:visited,
#site-navigation ul li a:hover, nav#mobile ul li a:hover, #topnav ul li a:hover,
#site-navigation > ul > li.current-menu-parent > a:link, #site-navigation > ul >li.current-menu-parent > a:visited {
	color: #993300;
	border-bottom: 4px solid rgba(35,42,18,0.8);
	margin-bottom: 0;
}

#site-navigation ul.sub-menu {
	display: none;
	position: absolute;
	z-index: 999;
	min-width: 102%;
	height: auto;
	padding: 0 0 10px 0;
	top: 25px;
	margin: 0 0 0 3px;

}

#site-navigation ul.sub-menu li {
	float: none;
	position: relative;
	display: block;
	margin: 0;
	text-align: center;
	background: rgba(35,42,18,1.0);
	height: 32px;
}
#site-navigation ul li.current-menu-parent > a:link,
#site-navigation ul.sub-menu li.current_page_item > a:link,
#site-navigation ul.sub-menu li.current_page_item > a:visited,
#site-navigation ul.sub-menu li a:hover {
	color: #993300;
}

#site-navigation ul.sub-menu li:before, #site-navigation ul.sub-menu li:after {
	content: '';
}

#site-navigation ul.sub-menu li a {
	border: 0;
	display: block;
	padding: 13px 15px 10px 12px;
	white-space: nowrap;
	font-family: 'Metamorphous', cursive;
	text-align: center;
	width: 100%;
	color: #fff;
	margin-bottom: 0;
	margin-left: 0;
}

#site-navigation ul.sub-menu li a:hover {
	border-bottom: 0;
}

#site-navigation ul li:hover > ul.sub-menu {
	display: block;
}

#site-navigation ul.sub-menu .current_page_item > a:link,
#site-navigation ul.sub-menu .current_page_item > a:visited {
	
}

#site-navigation ul.sub-menu .sub-menu {
	left: 100%;
	top: 0;
}

nav#mobile {
	display: none;
}

.page nav#mobile, .single nav#mobile {
	margin-bottom: 5px;
}

#mobile-toggle {
	padding: 15px 15px 13px 14px;
	text-align: left;
	color: #000;
	cursor: pointer;
	font-family: 'Metamorphous', cursive;
	font-size: 14px;
	margin-bottom: 0;
	width: 95px;
	margin-left: 0;
}

nav#mobile {
	background: rgba(255,255,255,0.5);
	clear: both;
}

nav#mobile ul {
	margin: 0;
}

nav#mobile ul li {
	list-style: none;
}

nav#mobile ul li a {
	display: block;
	padding: 7px 15px;
	text-transform: uppercase;
	text-align: left;
	font-family: 'Metamorphous', cursive;
	font-size: 14px;
}

nav#mobile ul li a:hover {
	text-decoration: none;
	border: 0;
}

nav#mobile ul li ul.sub-menu {
	margin-bottom: 0;
	margin: 0 0 0 22px
}


/* --- main content --- */

#wrapper {
	overflow: hidden;
}

#content {
	background: rgba(255,255,255,0.5);
	padding: 47px 58px 37px 57px;
	margin-bottom: 10px;
}

/* --- homepage --- */
#home-slider {
	background: rgba(47,52,28,0.5);
	margin-bottom: 38px;
}

#home-slider ul li.slide img {
	display: block;
	width: 100%;
	height: auto;
	margin-bottom: -2px;
}

#home-slider ul li.slide a:link, #home-slider ul li.slide a:visited {
	color: #000;
}

#home-slider ul li.slide .subhead {
	position: absolute;
	font-family: 'Metamorphous', cursive;
	top: 10%;
	left: 15%;
	text-transform: uppercase;
	font-size: 15px;
}

#home-slider ul li.slide .button:link,
#home-slider ul li.slide .button:visited {
	position: absolute;
	bottom: 10%;
	left: 34%;
	color: #fff;
}

#home-slider .container {
	width: 100%;
	max-width: 1420px;
	padding-left: 0;
	padding-right: 0;
}

#home-slider .slides, #home-slider ol {
	margin: 0;
	padding: 0;
}

#home-slider ol {
	padding-top: 15px;
}


.slides {
	margin: 0;
}

.slide {
	list-style: none;
}

#welcome {
	padding-right: 40px;
}

#welcome .left {
	width: 35%;
}

#welcome .left img {
	width: 100%;
	height: auto;
	max-width: 175px;
}

#welcome .right {
	width: 63%;
}

#new {
	padding-left: 10px;
}

#new h2 {
	font-size: 21px;
	padding-top: 16px;
	padding-bottom: 5px;
	border-bottom: 1px solid #79835c;
}

#booklist {
	font-size: 0;
	margin-left: 0;
}

#booklist li {
	list-style: none;
	display: inline-block;
	margin-right: 1px;
	margin-bottom: 1px;
}

/* search results */

.search-result {
	margin-bottom: 20px;
}

.search-result h2 a:link,
.search-result h2 a:visited {
	color: #333;
}

.search-result h2 {
	font-size: 22px;
	margin-bottom: 2px;
}

.search-result p {
	margin-bottom: 10px;
}

/* comments */

/* --- forms & comments --- */

label {
	display: inline-block;
	width: 100px;
}

textarea {
	height: 120px;
	margin-left: 5px;
}

textarea.medium {
	margin-left: 0;
}

#comments #reply-title {
	font-size: 16px;
}

#respond {
	padding-top: 15px;
}

ul.commentlist {
	margin-left: 0;
}

ol.commentlist {
	margin-left: 0;
}

.commentlist li {
	list-style: none;
	margin-left: 0;
}

.comment-body p {
	margin-bottom: 12px;
}

#comments #submit {
	width: 75px;
	text-transform: uppercase;
}

.gform_wrapper .top_label .gfield_label {
	width: 300px;
}

.gform_wrapper .top_label textarea.textarea, .gform_wrapper .top_label input.medium {
	font-size: 14px;
	padding: 5px;
}

/* --- footer widgets --- */

#footer-widgets {
	background: rgba(61,67,40,0.77);
	padding: 34px 0;
}

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

#footer-widgets .container {
	padding-left: 59px;
	padding-right: 59px;
	color: #fff;
}

#footer-widgets h3 {
	color: #fff;
	font-size: 21px;
	font-family: 'Simonetta', cursive;
	border-bottom: 1px solid #fff;
	padding-bottom: 5px;
	margin-bottom: 17px;
}

#footer-widgets p {
	color: #fff;
}

.news {
	margin: 0;
}

.news li {
	list-style: none;
	clear: both;
	margin-bottom: 30px;
	overflow: hidden;
}

.news h4 {
	color: #000;
	font-size: 18px;
	margin-bottom: 4px;
}

#footer-widgets .news p.date,
#footer-widgets .news p.sub {
	color: #000;
	margin-bottom: 7px;
}

.news .left {
	width: 30%;
}

.news .left img {
	width: 100%;
	height: auto;
	max-width: 110px;
}

.news .right {
	width: 65%;
}

/* --- twitter basic styles --- */

.tweets { margin: 0; }
.tweets .tweet { margin-bottom: 15px; list-style: none; line-height: 16px; }

/* --- footer --- */

footer#footer {
	background-color: #000;
	text-align: center;
	padding: 34px 0 100px;
}

footer#footer p, footer#footer a:link, footer#footer a:visited {
	color: #666666;
	font-family: 'Simonetta', cursive;
	font-size: 14px;
}

/* ---- extra CSS for tables and copyright stuff ---- */

#wrapper thead tr td {		
	font-weight: bold;	
}		
		
#wrapper td {		
    padding: 10px 26px 10px 0;		
}		
		
tr {		
	border-bottom: 1px solid #ccc;	
}		
		
span.pipe {		
	margin: 0 10px;	
}		
		
footer .left p {		
	text-align: left;	
}		
		
footer .right  p {		
	text-align: right;	
}		
		
.headline-logo {		
	display: block;	
	padding: 13px 0 20px;	
	text-align: center;	
	width: 115px;	
	margin: 0 auto;	
}		



/*------- adobe form ---------*/

.widget_text .textwidget form label {display:block;padding-bottom:3px;width:100%;}

.widget_text .textwidget form input {display:block;width:100%;padding:5px;margin-bottom:10px;}

.widget_text .textwidget form select {margin-bottom:10px;width:100%;color:#000;}

.widget_text .textwidget form input.btn {width:auto;padding:3px 6px;font-size:12px;}

.widget_text .textwidget form input#under13 {width:auto;}


/* ------------ RESPONSIVE MEDIA QUERIES ------- */

@media (max-width: 1024px) {
	#search-box {
		margin-bottom: 5px;
	}
}

@media (max-width: 992px) {
	nav#mobile {
		display: block;
	}
	#site-navigation {
		display: none;
	}
	.news .left {
		width: 20%;
	}

	.news .right {
		width: 78%;
	}
	.news li {
		margin-bottom: 5px;
	}
}

/* iPad portrait */
@media (max-width: 768px) {
	#new {
		margin-bottom: 20px;
	}
	#home-slider ul li.slide .button {
		bottom: 5%;
	}
	#search-box {
		margin-right: 20px;
	}
	#content {
		padding: 24px 44px 20px 46px;
	}
}

/* eg: Android Samsung galaxy landscape */
@media (max-width: 685px) {
	.flex-direction-nav {
		display: none;
	}
	#home-slider ul li.slide .subhead {
		font-size: 13px;
	}
}

/* iphone 5 landscape */
@media (max-width: 568px) {
	#welcome .left, #welcome .right {
		width: 100%;
		float: none;
	}
	#welcome .left {
		margin-bottom: 10px;
	}
	#content {
		padding: 27px 15px 17px 15px;
	}
	#footer-widgets .container {
		padding-left: 15px;
		padding-right: 15px;
	}
	#home-slider ul li.slide .button {
		left: 45%;
	}
	#home-slider ul li.slide .subhead {
		top: 7%;
		left: 5%;
	}
}

/* iPhone 3+4 landscape */
@media (max-width: 480px){
	#home-slider ul li.slide .button, #home-slider ul li.slide .subhead {
		display: none;
	}
}

/* eg: Android Samsung galaxy portrait */
@media (max-width: 380px) {

}

/* iPhone 3+4 portrait */
@media (max-width: 320px) {

}

/* small android portrait */
@media (max-width: 240px) {

}