/*
=========================================

Project Name: Bath Contemporary
Creation date: 03 August 2011
Author: Jon MacKinnon | jon@moresoda.co.uk
Company: moresoda design ltd
Company URI: http://www.moresoda.co.uk

===========[TABLE OF CONTENTS]===========

1. BASE
-1.1. CSS Reset [RES]
-1.2. Global Settings [GLO]
-1.3. Common Formatting [COM]
-1.4. Links [LIN]
-1.5. Forms [FOR]
-1.6. Tables [TAB]
-1.7. Global Classes [GLC]
-----
2. CONTENT
-2.1. Wrapper [WRA]
-2.2. Header [HEA]
-2.3. Nav [NAV]
-2.4. Content [CON]
-2.5. Footer [FOO]
-2.6. Classes [CLA]
-----
3. PRINT
-3.1. Print [PRI]
=========================================
*/

/* =[RES]= CSS Reset ===== */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, /* HTML 5 elements */ abbr,article,aside,audio,canvas,details,figcaption,figure,footer,header,hgroup,
mark,menu,meter,nav,output,progress,section,summary,time,video {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	vertical-align: baseline;
}
body {
	line-height: 1.7;
}
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
table, td, th {
	vertical-align: middle;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a img {
	border: none;
}


/* =[GLO]= Global Settings ===== */
html { 
	/* Always force a scrollbar in non-IE */
	overflow-y: scroll;
	font-size: 125%;
}
body {
	color: #807f83;
	font: 50% "Helvetica Neue", Arial, Helvetica, sans-serif; /* base font size 1em (10px)*/
}

/*
I've moved the font-face declarations to font-face.css. 
Although it adds another http request, it prevents styles being doubled up in the web inspector.
*/


/* =[COM] Common Formatting ===== */
h1, h2, h3, h4, h5, h6 {
	font-weight: 400;
	/* all margins = 1.5em */
}
h1 {
	font-size: 3em;
	line-height: 1;
	margin: 0 0 0.5em;
}
h2 {
	font-size: 2.1em;
	margin: 0 0 0.75em;
}
h3 {
	font-size: 1.5em;
	line-height: 1.2em;
	margin: 0 0 1em;
}
h4 {
	font-size: 1.2em;
	line-height: 1.25;
	margin: 0 0 1.25em; 
}
h5 {
	font-size: 1em;
	font-weight: 700;
	margin: 0 0 1.5em;
}
h6 {
	font-size: 1em;
	font-weight: 700;
}
h1 img, h2 img, h3 img, 
h4 img, h5 img, h6 img {
	margin: 0;
}
p {
	font-size: 1.4em;
	line-height: 1.4em;
	margin: 0 0 1em; 
}
blockquote {
	padding: 1em 2em;
	color: #999;
	font-style: italic; 
	font-family: Georgia, serif; 
	font-size: 1.4em;
}
article, section, aside {
	display: block
}
strong {
	font-weight: 700;
}
em, dfn {
	font-style: italic;
}
dfn {
	font-weight: 700;
}
sup, sub {
	line-height: 0;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
}
address {
	margin: 0 0 1.5em;
	font-style: italic;
}
del {
	color: #666;
}
pre {
	margin: 1.5em 0;
	white-space: pre;
}
pre, code, tt {
	font: 1em 'andale mono', 'lucida console', monospace;
	line-height: 1.5 !important;
	/*white-space: pre-wrap; /* css-3 */ 
	/*white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
	/*white-space: -pre-wrap; /* Opera 4-6 */
	/*white-space: -o-pre-wrap; /* Opera 7 */
	/*word-wrap: break-word; /* Internet Explorer 5.5+ */
	color: #000; 
	background-color: rgba(0,0,0,0.05); 
	border: 1px dashed rgba(0,0,0,0.5); 
	display: block; margin: 30px; 
	padding: 20px; font-size: 13px; 
	overflow-x: auto;
}
pre::-webkit-scrollbar { 
	width: 0; 
	height: 8px; 
} 
pre::-webkit-scrollbar-button { 
	display: none; 
}
pre::-webkit-scrollbar-thumb { 
	background: #ccc; 
	-webkit-border-radius: 4px; 
}
article p code, li code {
	display: inline;
	margin: 0; 
	padding: 1px; 
	border-color: #ccc;
}
ul, ol {
	font-size: 1.4em;
	padding-left: 1.5em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
li ul, li ol {
	padding: 0;
	font-size: 1em;
	line-height: 1em;
}
dl {
	margin: 0 0 1.5em 0;
}
dl dt {
	font-weight: 700;
}
dd {
	margin-left: 1.5em;
}


/* =[LIN]= Links ===== */
a:focus {
	color: #333;
}
a {
	color: #333;
	text-decoration: none;
}
a:hover {
	color: #43afc4;
	text-decoration: underline;
}


/* =[FOR]= Forms ===== */
/* 1) Make inputs and buttons play nice in IE: www.viget.com/inspire/styling-the-button-element-in-internet-explorer/
   2) WebKit browsers add a 2px margin outside the chrome of form elements. 
      Firefox adds a 1px margin above and below textareas */
button, input, select, textarea { width: auto; overflow: visible; margin: 0; }
label {
	font-weight: 700;
}
fieldset {
	padding: 1.4em;
	margin: 0 0 1.5em 0;
	border: 1px solid #ccc;
}
legend {
	font-weight: 700;
	font-size: 1.2em;
}
input[type=text],input[type=password], 
input.text, input.title, 
textarea, select {
	background-color: #fff;
	border: 1px solid #bbb;
}
input[type=text]:focus, input[type=password]:focus, 
input.text:focus, input.title:focus, 
textarea:focus, select:focus {
	border-color: #666;
}
input[type=text], input[type=password], 
input.text, input.title, 
textarea, select {
	margin: 0.5em 0;
}
input.text,
input.title {
	width: 140px;
	padding: 5px;
}
input.title {
	font-size: 1.5em;
}
textarea {
	width: 390px;
	height: 250px;
	padding: 5px;
}
input[type=checkbox], input[type=radio], 
input.checkbox, input.radio {
	position:relative;
	top: .25em;
}
form.inline {
	line-height: 3;
}
form.inline p {
	margin-bottom: 0;
}
.error, .notice, .success,
.error-msg, .success-msg, .note-msg, .notice-msg {
	padding: .8em;
	margin-bottom: 1em;
	border: 2px solid #ddd;
}
.error, .error-msg {
	background: #FBE3E4;
	color: #8a1f11;
	border-color: #FBC2C4;
}
.notice, .note-msg, .notice-msg {
	background: #FFF6BF;
	color: #514721;
	border-color: #FFD324;
}
.success, .success-msg {
	background: #E6EFC2;
	color: #264409;
	border-color: #C6D880;
}
.error a {
	color: #8a1f11;
}
.notice a {
	color: #514721;
}
.success a {
	color: #264409;
}


/* =[TAB]= Tables ===== */
table {
	margin-bottom: 1.4em;
	width: 100%;
}
th {
	font-weight: 700;
}
thead th {
	background: #c3d9ff;
}
th, td, caption {
	padding: 4px 10px 4px 5px;
}
tr.even td {
	background: #e5ecf9;
}
tfoot {
	font-style: italic;
}
caption {
	background: #eee;
}


/* =[GLC]= Global Classes ===== */
.clear { display: block; height: 0; line-height: 0; font-size: 0; clear: both; overflow:hidden; }
.none {display: none;}
.highlight {background: #ff0;}


/* =[WRA]= Wrapper ===== */

.wrapper.grad {
	background: url(/images/assets/wrapper.png) bottom left repeat-x;
}


/* =[HEA]= Header ===== */

#header {
	width: 944px;
	padding: 41px 0 18px;
	overflow: hidden;
	margin: 0 auto;
}

#logo {
	width: 417px;
	height: 45px;
	float: left;
	display: block;
	background: url(/images/assets/logo.png) no-repeat top left;
	text-indent: -9999px;
}

#header .address {
	float: right;
	text-align: right;
	font-size: 2em;
	line-height: 1.5em;
	margin: -7px 0 0;
}


/* =[NAV]= Nav ===== */

.nav {
	border-top: 1px solid #ececec;
	border-bottom: 1px solid #ececec;
	overflow:hidden;
	clear: both;
}

#nav {
	clear: both;
	overflow:hidden;
	padding: 9px 0 8px;
	margin: 0 auto;
	width: 944px;
	font-size: 1.8em;
}

#nav li {
	float: left;
	list-style: none;
	margin: 0 32px 0 0;
}

#nav li a {
	text-decoration: none;
	color: #807f83;
}

#nav li a.active {
	color: #43afc4;
}


/* =[CON]= Content ===== */

#content {
	width: 944px;
	overflow: hidden;
	margin: 27px auto 0;
}

#content-left {
	width: 353px;
	float: left;
	margin: 0 0 30px 16px;
}

#content-right {
	float: right;
	margin: 0 0 30px;
	width: 517px;
}

/* =[FOO]= Footer ===== */

html, body {
	height: 100%;
}

#wrap {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -130px; /* the bottom margin is the negative value of the footer's height */
}
.push {
	height: 130px; /* .push must be the same height as .footer */
}


#footer {
	background: #807f83;
	overflow: hidden;
	padding: 20px 0;
	height: 90px;
}

#footer .content {
	width: 944px;
	margin: 0 auto;
}

#footer img {
	float: left;
}

#footer .social {
	float: right;
	width: 180px;
}

#footer .social h2 {
	float: left;
	color: #fff;
}

#footer .social a {
	height: 38px;
	width: 38px;
	display: block;
	float: left;
	text-indent: -9999px;
	margin: 0 0 0 9px;
}

#footer .social a.facebook {
	background: #cccccd url(/images/assets/mask-fb.png) center no-repeat;
}

#footer .social a.facebook:hover {
	background: #fff url(/images/assets/mask-fb.png) center no-repeat;
}

#footer .social a.twitter {
	background: #cccccd url(/images/assets/mask-twitter.png) center no-repeat;
}

#footer .social a.twitter:hover {
	background: #fff url(/images/assets/mask-twitter.png) center no-repeat;
}




/* =[CLA]= Classes ===== */


p.caption {
	font-size: 1.2em;
	text-align: right;
	margin: 5px 0 0;
}

.intro p {
	font-size: 1.5em;
}

/* brackets */

.brackets {
	border: 1px solid #807f83;
	padding: 0 9px; 
	width: 367px;
	margin: 0 -16px 20px;
}

.brackets .content {
	margin: -1px 0;
	padding: 25px 7px;
	background: #fff;
	width: 353px;
}

.ie7 .brackets .content {
	position: relative;
	z-index: 10;
}

/* home */

.columns {
	padding: 30px 0 0;
	overflow: hidden;
	margin: 0 0 30px;
}

.column {
	float: left;
}

.column h3 {
	margin: 0;
}

.column h3 a {
	color: #43afc4;
}

.column.wide {
	width: 348px;
	margin: 0 18px 0 0;
}

.column img {
	display: block;
	float: left;
	margin: 0 14px 15px 0;
}

.column .meta-data {
	float: left;
}

.wide .meta-data {
	width: 188px;
}

.column.mid {
	width: 290px;
	margin: 0 0 0 18px;
}

.mid .meta-data {
	width: 130px;
}

.wide .meta,
.mid .meta {
	clear: none;
}

.wide p,
.mid p {
	clear: both;
}


.column.narrow {
	width: 180px;
	margin: 0 0 0 48px;
	float: right;
}

.narrow .meta {
	margin: 0 0 22px;
}


/* about */

.about #content-left {
	width: 517px;
	margin: 0 0 0 16px;
	/* margin left is always content padding (7) plus brackets padding (9) */
}

.about .brackets {
	margin: 0 -16px 20px;
	/* margin is (negative) content padding (7) plus brackets padding (9) */
	width: 531px;
	/* brackets width is content-left width plus content padding*2 (7) */
}

.about .brackets .content {
	width: 517px;
	/* content width is content-left width */
}

.about iframe {
	margin: 0 0 25px;
}

.about #content-right {
	width: 332px;
	padding: 25px 0 0;
}

.friends {
	font-size: 1em;
	padding: 0;
	list-style: none;
}

.friends li {
	overflow: hidden;
	margin: 0 0 15px;
}

.friends li img {
	display: block;
	float: left;
	margin: 0 14px 0 0;
}

.friends li .info {
	float: right;
	width: 219px;
}

.friends .info h3 {
	margin: 0;
}

.friends .info h3 a {
	color: #43afc4;
}

.friends .info p {
	margin: 0 0 5px;
}

/* artists */

.artist-list {
	padding: 0;
	list-style: none;
	margin: 0 0 25px;
}

.artist-list li {
	margin: 0 0 9px;
}

.artist-list li a.active {
	color: #43afc4;
}

.artists #content-right {
	width: 517px;
}

.artist-work {
	padding: 0;
	list-style: none;
	margin: 0 -19px;
	clear: both;
	overflow: hidden;
}

.ie7 .artist-work {
	width: 555px;
}

.artist-work li {
	margin: 0 19px 35px;
	float: left;
	width: 146px;
	text-align: center;
}

.artist-work li:nth-child(3n+1) {
	clear: both;
}

.artist-work li a.work {
	width: 146px;
	margin: 0 0 5px;
	display: block;
}

.artist-work li a.work div {
	height: 146px;
	border-bottom: 1px solid #ececec;
	padding: 0 0 7px;
}

.artist-work li span {
	display: block;
	margin: 10px 0 0;
}

.artist .brackets .content h2 {
	color: #43afc4;
}

.artist #content-right .caption {
	margin: 15px 0 55px;
	padding: 5px 0 0;
	border-top: 1px solid #ececec;
	overflow: hidden;
}

.artist #content-right .caption p {
	float: left;
}

.artist #content-right .caption .enquire {
	float: right;
	text-align: right;
}

/* events */

.events h3 {
	margin: 0;
}

.exhibitions h3 a {
	color: #43afc4;
}

.events h3.meta {
	margin: 0 0 15px;
}

.events .item {
	border-bottom: 1px solid #ccc;
	padding: 0 0 12px;
	margin: 0 0 17px;
}

.events .item img {
	display: block;
	float: left;
	margin: 0 14px 15px 0;
}

.events .item .meta-data {
	float: left;
	width: 193px;
}

.events .item p {
	clear: both;
}

.events #content-right .caption {
	margin: 15px 0 55px;
	padding: 5px 0 0;
	border-top: 1px solid #ececec;
	overflow: hidden;
}

p.meta {
	font-size: 1.2em;
	margin: 0 0 10px;
}

p.information-link {
	margin: 0;
}

.exhibitions #content-right h3 {
	float: left;
	margin: 45px 0 0;
	width: 258px;
	color: #807f83;
}	

.exhibitions #content-right h3 a {
	color: #333;
}

.exhibitions #content-right h3.calendar {
	width: 278px;	
}

.exhibitions #content-right h3.past-events {
	width: 238px;	
}


/* contact */

.contact h3 {
	color: #43afc4;
	margin: 0 0 3px;
}


#slideshow,
#gmap {
	height: 370px;
}

#slideshow a,
#slideshow img {
	display: none;
}

#slideshow a img {
	display: block;
}

.sep {
	height: 1px;
	font-size: 1px;
	line-height: 1px;
	background: #ccc;
	margin: 0 0 15px;
}

.submissions {
	margin: 0;
}



/* =[PRI]= Print ===== */
/**
 * Print styles.
 *
 * Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
 *
 * Very basic - can be modified.
 */
@media print {
	* { 
		background: transparent !important; 
		color: black !important; 
		/* Black prints faster: sanbeiji.com/archives/953 */
		text-shadow: none !important; 
		filter:none !important;
		-ms-filter: none !important; 
	} 
	a, a:visited { 
		color: #444 !important; 
		text-decoration: underline; 
	}
	a[href]:after { 
		content: " (" attr(href) ")"; 
	}
	abbr[title]:after { 
		content: " (" attr(title) ")"; 
	}
	.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { 
		content: ""; 
		/* Don't show links for images, or javascript/internal links */
	}  
	pre, blockquote { 
		border: 1px solid #999; 
		page-break-inside: avoid; 
	}
	thead { 
		display: table-header-group; 
	 	/* css-discuss.incutio.com/wiki/Printing_Tables */
	}
	tr, img { 
		page-break-inside: avoid; 
	}
	@page { 
		margin: 0.5cm;
	}
	p, h2, h3 { 
		orphans: 3; 
		widows: 3;
	 }
	h2, h3 { 
		page-break-after: avoid; 
	}
}
