/*RESET*/

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
	margin:0;
	padding:0;
}

table {
	border-collapse:collapse;
	border-spacing:0;
}

fieldset,img { 
	border:0;
}

caption,th {
	text-align:left;
}

h1,h2,h3,h4,h5,h6 {
	font-size: 100%;
	font-weight:bold;
}

q:before,q:after {
	content:'';
}

abbr,acronym { 
	border:0;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:visited {
	color: inherit;
}

/*GENERIC STYLES*/

.floatleft {
	float: left;
}

img.floatleft {
	margin: 0 10px 10px 0;
}

.floatright {
	float: right;
}

.clearleft {
	clear: left;
}


/*COLOURS

Black			#000
Grey			#555
Orange			#E47128
*/


/*TYPOGRAPHY*/

* {
	font-family: Helvetica, Arial, sans-serif;
	line-height: 1.4em;
}

p {
	font-size: 0.9em;
}

h1 {
	font-size: 1.2em;
	margin: 0.8em 0;
}

h2 {
	font-size: 1em;
	margin: 0.6em 0;
}

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

h4 {
	font-size: 0.8em;
	margin: 0.5em 0;
	color: #E47128;
}

h5 {
	font-size: 0.8em;
	margin: 0.5em 0;
	color: #E47128;
}

p {
	font-size: 0.8em;
	font-weight: normal;
	padding: 0.8em 0;
}

#footer a, #static a, #static-fullwidth a { /* All links with white background appear orange */
	color: #E47128;
}

ol, ul {
	font-size: 0.8em;
	line-height: 0.8em;
}

#aside {
	color: #fff;
}

#aside ul {
	font-size: 0.9em;;
}

#aside ul li {
	line-height: 0;
	margin: 0 0 0.8em 0;
}

#aside li a, #aside span a, #aside p a { /* All links in Aside are underlined */
	text-decoration: underline;
	color: #000;
}

#aside-content h3, aside-content h3 a {
	text-decoration: none;
	color: #000;
	font-size: 0.8em;
}

#aside-content p, #aside-content p a {
	color: #000;
	font-size: 0.75em;
}

#aside-content ul li span.item-title { /* All titles are white */
	font-weight: bold;
	font-size: 0.9em;
	color: #fff;
}

#aside-content ul li span.item-title a { /* Overrides automatic underlining on linkable titles in the aside */
	color: #fff;
	text-decoration: none;
}

#aside-content ul li span.item-title a:hover {
	text-decoration: underline;
}

.item-dateloc {
	font-size: 0.8em;
}

#aside .item-dateloc {
	color: #fff;
}

#aside .item-artist {
	font-size: 0.9em;
	font-weight: bold;
	color: #fff;
}

#aside .item-artist a {
	text-decoration: none;
	color: #fff;
}

#aside .item-artist a:hover {
	text-decoration: underline;
}

.item-descr {
	font-size: 0.8em;
	color: #000;
}

.item-descr a {
	color: #FFF;
}


.black, black a {
	color: #000;
}

.white, white a {
	color: #FFF;
}

.orange, orange a {
	color: #E47128;
}

.small-feet {
	margin-bottom: 0;
}

div.resource-panel h3 {
	color: #E47128;
}

div#static div.resource-panel ul li a {
	color: #000;
}

/*BASIC LAYOUT*/

body {
	height: auto;
	background-image: url('../images/elements/grid-light-tile.gif');
}

#header {
	width: 100%;
	height: 111px;
	background: #fff url('../images/elements/hatch-light-tile.gif') repeat-x;
}

.wrapper { /* anything with this class applied is contained within a 960px wrapper */
	width: 960px;
	float: left;
}

#warp-logo {
	margin: 32px 0 0 30px;
}

img.warp-event-icon {
	margin: 0 0 -4px 10px;
}

#panels {
	float: right;
	height: 36px;
	list-style: none;
}

#panels li {
	float: left;
}

#content {
	width: 100%;
	height: 100%; /*IE5 & 6: makes div resize according to height of floated child elements*/
	border-top: #e47128 solid 1px;
	border-bottom: #e47128 solid 1px;
	background-image: url('../images/elements/halftone-tile.gif');
}

#content:after { /* modern browsers: makes div resize according to height of floated child elements*/ 
	content: "";
	display: block;
	height: 0;
	clear: both;
}

#static {
	width: 580px;
	margin: 30px 0 20px 30px;
}

#wrapper {
	width: 960px;
}

#static-fullwidth {
	width: 960px;
	margin: 30px 0 20px 30px;
}

#static ul {
	list-style: disc outside;
	padding: 0 0 0 1.2em;
}

#static li {
	line-height: 1.4em;
	margin: 0 0 0.8em 0;
}

#aside {
	width: 320px;
	margin: 30px 0 0 20px;
}

#aside-header {
	height: 41px;
	width: 320px;
	background: url('../images/elements/aside-panel-tab.png') no-repeat;
	float: left;
}

#aside-header h3 {
	padding: 13px 0 0 35px;
}

#aside-content {
	background: url('../images/elements/aside-panel-tile.png') repeat-y;
	width: 270px;
	height: auto;
	padding: 10px 25px 20px 25px;
	margin: 0 0 20px 0;
	float: left;	
}

#aside ul {
	list-style: none;
}

#footer {
	margin: 20px 30px 20px 30px;
}

#footer div a img {
	margin: 20px 15px 0 0;
}


/* SOCIAL ICONS */

/* v1 */

#social-links {
	background-color: #fff;
	float: left;
	width: 100%;
	border: 1px dotted #E47128;
	margin: 20px 0 25px 0;
}

#social-links h3 {
	text-align: center;
	color: #E47128;
}

#social-links ul {
	list-style: none;
	margin: 0 0 0 80px;
}

#social-links ul li {
	float: left;
	padding: 0 30px 0 0;
}

/* v2 */

/*
#social-links {
	padding: 17px 0 0 10px;
}

#social-links h3 {
	float: left;
	width: auto;
	margin-top: 14px;
}

#social-links ul {
	list-style: none;
	float: left;
	margin: 0 0 10px 0;
}

#social-links ul li {
	float: left;
	padding: 0 10px 0 10px;
}
*/


/*MAIN NAVIGATION*/

#nav {
	z-index: 0;
	width: 960px;
	height: 33px;
	margin: 0 0 -2px 20px; /*Negative bottom margin allows tabs to sit slightly below top content border*/
	position: relative;
	overflow: hidden;
}

#nav li {
	float: left;
	list-style: none;
}

#nav li, #nav li a {
	display: block;
	height: 33px;
}

#nav li a {	 
	background: url('../images/sprites/sprites-navtabs.png') no-repeat;
	text-indent: -9999px;
}

/*Nav uses CSS sprites method to prevent flicker*/

li#nav-home.current a {background-position: 0 0; width: 99px;}
li#nav-home a {background-position: 0 -37px; width: 99px;}
li#nav-home a:hover {background-position: 0 0;}

li#nav-peer.current a {background-position: -100px 0; width: 160px;}
li#nav-peer a {background-position: -100px -37px; width: 160px;}
li#nav-peer a:hover {background-position: -100px 0;}

li#nav-group.current a {background-position: -261px 0; width: 181px;}
li#nav-group a {background-position: -261px -37px; width: 181px;}
li#nav-group a:hover {background-position: -261px 0;}

li#nav-resources.current a {background-position: -442px 0; width: 136px;}
li#nav-resources a {background-position: -442px -37px; width: 136px;}
li#nav-resources a:hover {background-position: -442px 0;}

li#nav-artists.current a {background-position: -577px 0; width: 119px;}
li#nav-artists a {background-position: -577px -37px; width: 119px;}
li#nav-artists a:hover {background-position: -577px 0;}

li#nav-events.current a {background-position: -696px 0; width: 103px;}
li#nav-events a {background-position: -696px -37px; width: 103px;}
li#nav-events a:hover {background-position: -696px 0;}

li#nav-volunteer.current a {background-position: -799px 0; width: 135px;}
li#nav-volunteer a {background-position: -799px -37px; width: 135px;}
li#nav-volunteer a:hover {background-position: -799px 0;}



/*ROLLOVER IMAGE MAP*/

ul#walesmap {
	background: url(../images/sprites/walesmap.png) no-repeat 0 0;
	position: relative;
	width: 200px;
	height: 247px;
	margin: 1em auto;
}

ul#walesmap li {
	position: absolute;
}

ul#walesmap li a {
	display: block;
	height: 100%;
	text-indent: -9999px;
}

#map-region {
	margin: 1em 0;
}

#north {
	width: 145px;
	height: 86px;
	top: 0px;
	left: 42px;
}

#north a:hover {
	background-image: url(../images/sprites/walesmap-north.png);
	background-repeat: no-repeat;
}

#mid {
	width: 140px;
	height: 130px;
	top: 67px;
	left: 39px;
}

#mid a:hover {
	background-image: url(../images/sprites/walesmap-mid.png);
	background-repeat: no-repeat;
}

#west {
	width: 133px;
	height: 75px;
	top: 153px;
	left: 0px;
}

#west a:hover {
	background-image: url(../images/sprites/walesmap-west.png);
	background-repeat: no-repeat;
}

#south {
	width: 90px;
	height: 65px;
	top: 182px;
	left: 114px;
}

#south a:hover {
	background-image: url(../images/sprites/walesmap-south.png);
	background-repeat: no-repeat;
}


/*TABLES AND FORMS*/

label {
	display: block;
}

.text-field, .search-field { /*Simplifies and removes shadow effect from text input fields*/
	background-color: #FFF;
	border: 1px solid #888;
	padding: 0.5em 0.2em 0 0.2em;
	height: 1.5em;
	width: 250px;
}

.blur {
	color: #999;
	font-style: italic;;
}

label {
	
}



input, textarea {
	margin: 0.4em 2em 0 0em;
}

button {
	height: 2em;
}

#search-form {
	clear: right;
	margin: 20px 0 0 0;
}

#search-form input {
	margin: 4px 5px 0 0;
}

.search-field {
	float: left;
}

#mag-glass {
	float: left;
	margin: 8px 3px 0 5px;
}


/* LIBRARY PAGES */

/* Front */

#wrapper .library form {
	margin-bottom: 10px;
}

#wrapper .library input {
	display: block;
	width: 400px;
	height: 20px;
}

#wrapper .library button {
	height: 27px;
	width: 80px;
	margin-top: 3px;
}

#wrapper .library p {
}


#wrapper .library ul.library-cat-list {
	list-style: none;
	padding: 0;
}

#wrapper .library ul.library-cat-list li a{
	font-weight: bold;
}

#wrapper .library-detail{
	float: left;
}

#wrapper .elbow {
	margin: 20px 0 0 0;
	clear: left;
	float: left;
}

/* Summary (search results) */

.title-results, .library-detail {
	margin: 2em 0 0 0;
}

.library-detail h3 {
	display: inline;
}

.library-detail .book-img {
	padding: 0 1em 0 0;
}

.library-search-result {
	margin: 1.2em 0 0 0;
}

.instock {
	background-image: url(../images/elements/bookmark-green.png);
	background-repeat: no-repeat;
	background-size: 16px 16px;
	background-position: left center;
	padding-left: 20px;
	text-transform: uppercase;
	font-size: 80%;
}

.outstock {
	background-image: url(../images/elements/bookmark-red.png);
	background-repeat: no-repeat;
	background-size: 16px 16px;
	background-position: left center;
	padding-left: 20px;
	text-transform: uppercase;
	font-size: 80%;
}

/*EVENTS PAGE*/

.events div#static ul {
	font-size: 1em;
	padding: 0;
}

.events div#static ul li {
	list-style: none;
}


/* ARTISTS PAGE */

div.artist-img {
	width: 580px;
	overflow: hidden;
}

div.artist-thumbs {
	float: left;
	margin: 0 0 20px 0;
	width: 100%;
}

div.artist-thumbs img {
	float: left;
	margin: 0 15px 0 0;
	opacity: 0.5;
   filter: alpha(opacity=0);
}

div.artist-caption {
	clear: left;
	margin: 0.5em 0 2em 0;
	font-size: 0.7em;
}


/* RESOURCES / DIRECTORY PAGE */

div.resource-panel {
	float: left;
	width: 240px;
	height: 250px;
	overflow: hidden;
	padding: 15px 15px;
	margin: 9px 18px 9px 0;
	border: 1px solid #E47128;
	background-color: #fff;
}

div#static div.resource-panel ul {
	margin: 1em 0 0 0;
	padding: 0;
}

div.resource-panel ul li {
	list-style-type: none;
	font-size: 0.8em;
}

