/*
Theme Name: Sarah Quill
Theme URI: http://www.sarahquill.com
Description: Custom WordPress theme for Sarah Quill. Based on Starkers + 1140 Grid System by Alex Newman, derived from Elliot Jay Stocks' Starkers Theme (http://starkerstheme.com/) and the 1140 CSS Grid (http://cssgrid.net/).
Version: 0.1
Author: Steph Gray
Author URI: http://www.helpfultechnology.com
Tags: starkers, naked, clean, basic
*/
@import url('http://fonts.googleapis.com/css?family=Lato:300,300italic');
@import "css/reset.css";
@import "css/typography.css";
@import "css/layout.css";

.container {
}

.row {
	max-width: 850px;
}

body {
	font-size: 100%;
	font-family: "Lato", "Gill Sans W01 Book", arial, sans-serif;
	line-height: 140% !important;
}

#topheader {
	padding: 3em 0 0 0;
	color: black;
	margin-bottom: 1.5em;
	overflow: visible;
}

#topheader h1, #topheader h2 {
	font-family: "Lato", "Gill Sans W01 Book", arial, sans-serif;
	font-size: 24pt;
	text-transform: uppercase;
	text-align: center;
}

h1 a, h2 a {
	text-decoration: none;
	color: black !important;
	font-weight:lighter;
}

h1#sitetitle {
	font-size: 24pt !important;
	position: relative;
	top: 20px;
}

.hiddentext, .printonlyheadline {
	position: absolute;
	left: -9999em;
}

.alignleft {
	margin: 0 1em 1em 0;
}

.alignright {
	margin: 0 0 1em 1em;
}

.aligncenter {
	text-align: center;
}

#primarynav {
	background: none;
	display: block;
	color: black;
	padding: 0;
	font-family: "Lato", "Gill Sans W01 Book", arial, helvetica, sans-serif;
	text-align: center !important;
	width: 100%;
}

#primarynavmenu {
	list-style: none;
	margin: 0 auto 1em auto !important;
	float: left;
	position: relative;
	z-index: 5;
	text-transform: uppercase;
	text-align: center !important;
	width: 100%;
	font-size: 13pt;
}

#primarynavmenu li {
	position: relative;
	padding: 0 0.65em;
	text-align: center !important;
	display: inline-block;
	margin-left:1.3em!important;
}

#primarynavmenu a {
	display: block;
	padding: 0.5em;
	color: black;
	text-decoration: none;
	font-weight: lighter;
	font-size: 100%;
}

#primarynavmenu a:hover {
	color: #981200;
}

#primarynavmenu li.current-menu-item a, #primarynavmenu li.current-menu-parent a {
	color: #981200;
}

#primarynavmenu ul {
	background: white;
	list-style: none;
	position: absolute;
	left: -9999px;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	box-shadow: 0 1px 3px #ccc;
	z-index: 9000 !important;
	text-transform: uppercase !important;
}

#primarynavmenu ul li {
	clear: left;
	width: 100%;
	font-size: 14pt;
	text-align: center;
}

#primarynavmenu li:hover ul, #primarynavmenu li.hover ul {
	left: 0;
	top: 35px;
	z-index: 10000;
	width: 10em !important;
}

#primarynavmenu ul ul, #primarynavmenu li:hover ul ul, #primarynavmenu li.hover ul ul {
	background: white;
	list-style: none;
	position: absolute;
	left: -9999px;
	box-shadow: 0 1px 3px #ccc;
	font-weight: normal;
	z-index: 9010 !important;
}

#primarynavmenu ul li:hover ul, #primarynavmenu ul li.hover ul {
	left: 10em;
	top: 0;
	z-index: 10010;
}

#primarynavmenu ul li ul li {
	font-size: 10pt !important;
}

#footer {
	margin-top: 1em;
}

/* content styles */

h1, h2, h3, h4, h5, h6 {
	color: black;
	font-family: "Lato","Gill Sans W01 Book",helvetica,arial,sans-serif;
	line-height: 120%;
}

h1 {
	font-size: 24pt !important;
	margin: 0.25em 0 1em 0;
	font-weight: bold;
	text-align: center;
}

h2 {
	font-size: 18pt !important;
	margin: 1em 0 0.5em 0;
}

h3 {
	font-size: 1.3em;
	margin: 1em 0 0.5em 0;
}

h4 {
	font-size: 1.1em;
	margin: 0.5em 0;
}

a:link {
	color: #981200;
}

a:visited {
	color: #888;
}

a:hover, a:active {
	color: #981200 !important;
}

.postmeta {
	color: #888;
	font-size: 0.9em;
}

.postthumb {
	float: left;
	margin: 0 1em 1em 0;
}

#content p, #content li, #content td, #content dd, #content dt, #sidebar p, #sidebar li, #footer p {
	margin-bottom: 1em !important;
}

#footer p {
	padding: 0.5em 1em 1em 1em;
	color: #aaa;
	text-align: center;
}

#content ul {
	position: relative;
	left: 1.25em;
	margin-right: 1.25em;
}

#content ul li {
	list-style: square;
	margin-left: 1.5em;
}

#content ol li {
	list-style: decimal;
	margin-left: 2em;
}

#maincontent {
	padding-bottom: 2em !important;
	font-size: 100% !important;
	line-height: 140%;
}

#maincontent p {
	margin-bottom: 1em;
}

.metabox {
	background: #eee;
	padding: 1em;
	margin: 1em 0;
}

.metabox h2, .metabox h3 {
	margin-top: 0;
}

#sidebar ul.xoxo, #sidebar ul.xoxo li, .homecol ul.xoxo, .homecol ul.xoxo li {
	list-style: none !important;
	margin-left: 0 !important;
}

#sidebar ul.xoxo li {
	margin-bottom: 1.5em;
}

#sidebar ul.xoxo li ul li {
	margin-bottom: 0.5em;
}

#sidebar ul, #sidebar ul li, #sidebar ul.xoxo li ul li {
	list-style: square;
	margin-left: 0.5em;
}

#sidebar ul.xoxo li ul.categories li {
	margin-left: 1em;
}

ul.xoxo {
	margin-bottom: 2em;
}

#footer ul.xoxo {
	margin-bottom: 0.5em;
}

h2 a:link, h3 a:link, h2 a:visited, h3 a:visited {
	text-decoration: none !important;
	color: black !important;
}

h2 a:hover, h3 a:hover {
	text-decoration: underline;
}

h4.rssextra-title {
	font-weight: normal;
	font-size: 1em;
}

span.rss-date {
	font-size: 90%;
	color: #666;
}

table {
	border: 1px solid #e7e7e7 !important;
	text-align: left;
	margin: 0 -1px 1em 0;
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}
tr th,
thead th {
	border: none !important;
	font-weight: bold;
	padding: 0.5em 1em;
}
tr td {
	border: none !important;
	border-top: 1px solid #e7e7e7 !important;
	padding: 0.5em 1em;
}

/* comment form */
#comments-title {
	margin: 1.5em 0 0 0;
}

#comments {
	padding-top: 2em;
}

#respond {
	padding-top: 1em;
}

#commentform label {
	display: block;
}

#commentform input#author, #commentform input#email, #commentform input#url {
	font-size: 100%;
}

li.comment {
	list-style: none;
	padding-top: 1em;
}

textarea#comment {
	width: 100%;
}

img.avatar {
  float: left !important;
  margin: 0 0.5em 0.5em 0;
}

li.comment .comment-body {
	clear: both;
	padding-top: 0.5em;
}

.required {
	position: absolute;
	left: -9999em;
}

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.wp-caption {
	border: none;
	background: #eee;
	padding: 0 !important;
}

.wp-caption img {
	margin: 0;
	width: 100%;
}

.wp-caption-text, .wp-caption-dd {
	font-size: 80%;
	margin: 0 !important;
	padding: 0 0.5em 0.5em 0.5em;
	text-align: left;
}

.wpcf7 {
	text-align: center;
}

.wpcf7 form {
	background: #ddd;
	width: 50%;
	margin: 0 auto;
	text-align: left;
	padding: 10px;
}

.wpcf7 form input.wpcf7-text, .wpcf7 form .wpcf7-textarea {
	width: 99%;
}


.homepageImage {
	margin-bottom:1.5em;
}

.exhibition, .diary {
	border-bottom:1px solid #ccc;
	margin:2em auto;
	padding-bottom:2em;
}
.exhibition div, .diary div {
	overflow:hidden;
}





/* media queries for responsive styles */

/* Smaller screens */

@media only screen and (max-width: 1023px) {

	body {
		font-size: 85%;
	}

}


/* Mobile */

@media handheld, only screen and (max-width: 767px) {

	.container {
		padding-left: 0;
		padding-right: 0;
	}

	#primarynavmenu, #footer {
		margin: 1em;
		width: 90%;
		background: none !important;
	}

	#content ul#primarynavmenu, #content ul#primarynavmenu li {
		margin-left: 0 !important;
		left: 0;
	}

	#primarynavmenu ul {
		border: none;
	}

	#primarynavmenu li {
		width: 100%;
		display: block;
		border: 0;
		margin: 1em 0;
		background: #eee;
	}

	#primarynavmenu li a {
		float: none;
		font-size: 1.6em;
	}

	#primarynavmenu li:hover ul, #primarynavmenu li.hover ul {
		width: auto;
		position: relative;
		top: 0;
		left: 1em;
	}

	#primarynavmenu li.current-menu-item a, #primarynavmenu li.current-menu-parent a {
		color: #981200;
	}

	.wpcf7 form {
		width: 90%;
	}

	ul.xoxo li {
		margin: 2em 0;
	}

}}
