/* @override http://local.churchfarmgallery.co.uk/assets/css/master.css */

/* @group reset */

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, font, 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 {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
:focus {
	outline: 0;
}
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* @end */

/* @group general */

html{
	background: url(/assets/images/back.jpg) repeat-x 0 -59px;
}

body{
	width: 900px;
	margin: 30px auto;
	line-height: 25px;
	font-size: 16px;
	color: #36332a;
}

#content{
	clear: both;
	padding-top: 50px;
	margin-bottom: 50px;
}

/* @end */

/* @group typography */

h1{
	font-size: 24px;
	color: #492403;
}

h2{
	font-size: 18px;
	color: #492403;
	margin-top: 30px;
}

p{
	margin-bottom: 15px;
	margin-top: 10px;
}

a{
	color: #492403;
}

/* @end */

/* @group header */

#header{
	margin-top: 20px;
}

/* @group logo */

.logo{
	margin: 20px 0 10px;
	float: left;
}

/* @end */

/* @group nav */

#nav{
	float: right;
	margin-top: 40px;
}

#nav li{
	float: left;
}

#nav li a{
	float: left;
	display: block;
	padding: 8px 15px;
	text-decoration: none;
	color: #492403;
	-webkit-border-radius: 5px;
	margin-left: 10px;
	background-color: rgba(255,255,255,.5);
	text-transform: uppercase;
	font-size: 14px;
	font-weight: bold;
	line-height: 16px;
	cursor: pointer;
	-webkit-transition-property: all;
	-webkit-transition-duration: 300ms;
}

#nav li a:hover{
		background-color: rgba(255,255,255,.9);
}
/* @end */



/* @end */

/* @group footer */

#footer{
	clear: both;
	text-align: center;
	font-style: italic;
}

#footer .attrib{
	font-size: 12px;
}

hr{
	border: none;
	border-top: 1px solid rgba(73,36,3,0.25);
	margin-bottom: 30px;
}

/* @end */

/* @group home */

.thegallery{
	float: right;
	background-color: #FFF;
	padding: 10px 10px 23px;
	margin-left: 40px;
	-webkit-box-shadow: 3px 5px 5px rgba(0,0,0,.1);
	-webkit-transform: rotate(3deg);
}

ul.featured{
	clear: both;
	float: left;
	margin-top: 15px;
	margin-bottom: 50px;
}

ul.featured li{
	float: left;
	display: block;
	text-align: center;
	margin-right: 34px;
	line-height: 16px;
}

ul.featured li img{
	background-color: #FFF;
	padding: 3px;
	margin: 3px 3px 10px;
	height: 111px;
	-webkit-box-shadow: 3px 5px 5px rgba(0,0,0,.15);
	-webkit-transition-property: all;
	-webkit-transition-duration: 300ms;
}

ul.featured li:nth-child(odd) img{
	-webkit-transform: rotate(-1deg) scale(.9);
}

ul.featured li:nth-child(even) img{
	-webkit-transform: rotate(1deg) scale(.9);
}

ul.featured li:hover img{
	-webkit-transform: rotate(0deg) scale(1);
}

/* @end */

/* @group about */

div.whereside{
	width: 350px;
	float: right;
	margin-left: 60px;
	margin-top: -28px;
}


img.map{

	background-color: #FFF;
	padding: 10px 10px 23px;
	-webkit-box-shadow: 3px 5px 5px rgba(0,0,0,.1);
	-webkit-transform: rotate(1deg);
	margin-top: 18px;
	margin-bottom: 9px;
}

div.whereside .address{
	line-height: 18px;
	font-style: italic;
	margin-top: 15px;
}

/* @end */

/* @group artwork */


ul.artwork{
	clear: both;
	float: left;
	margin-top: 15px;
	margin-bottom: 50px;
}

ul.artwork li{
	float: left;
	display: block;
	text-align: center;
	margin-right: 42px;
	line-height: 16px;
	margin-bottom: 30px;
}

ul.artwork li img{
	background-color: #FFF;
	padding: 3px;
	margin: 3px 3px 10px;
	height: 100px;
	-webkit-box-shadow: 3px 5px 5px rgba(0,0,0,.15);
	-webkit-transition-property: all;
	-webkit-transition-duration: 300ms;
}

ul.artwork li:nth-child(odd) img{
	-webkit-transform: rotate(-1deg) scale(.9);
}

ul.artwork li:nth-child(even) img{
	-webkit-transform: rotate(1deg) scale(.9);
}

ul.artwork li:hover img{
	-webkit-transform: rotate(0deg) scale(1);
}

/* @end */

/* @group set */


ul.set{
	clear: both;
	float: left;
	margin-top: 40px;
	margin-bottom: 50px;
}

ul.set li{
	float: left;
	display: block;
	text-align: center;
	margin-right: 42px;
	line-height: 16px;
	margin-bottom: 30px;
}

ul.set li img{
	background-color: #FFF;
	padding: 3px;
	margin: 3px 3px 10px;
	height: 100px;
	-webkit-box-shadow: 3px 5px 5px rgba(0,0,0,.15);
	-webkit-transition-property: all;
	-webkit-transition-duration: 300ms;
}

ul.set li:nth-child(odd) img{
	-webkit-transform: rotate(-1deg) scale(.9);
}

ul.set li:nth-child(even) img{
	-webkit-transform: rotate(1deg) scale(.9);
}

ul.set li:hover img{
	-webkit-transform: rotate(0deg) scale(1);
}


/* @end */


