@font-face {
    font-family: 'ImpactRegular';
    src: url('../fonts/impact-webfont.eot');
    src: url('../fonts/impact-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/impact-webfont.woff') format('woff'),
         url('../fonts/impact-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


html {
/*    position: relative; */
    overflow-x: hidden; 
    font: 100%/1.6 "ff-meta-serif-web-pro-1","ff-meta-serif-web-pro-2",Georgia,"Times New Roman",serif;
    color: #003300;
}

.wrapper {
    max-width: 960px;
	margin-left: auto;
	margin-right: auto;
    width: 100%;
}

/* ======
** Header
** ======
*/

#header {
	position: relative;
	z-index: 10;
    overflow: auto;
    width: 100%;
    background-color: #332E30;

/*    background-color: #000000; */
    text-align: center;

    color: #f81a1c;
}

.headertext {
/*    padding: 0.15em 0 0 0.25em; */
    padding: 0.15em 0 0 0;
    font-family: /* 100%/1 */ ImpactRegular, sans;
/*	font-family: impact, sans; */
    font-size: 2em; 
}

.headertext .capitalletter {
    display: inline;
    font-size: 1.2em;
}

.subheadertext {
/*    position: relative; 
    float: left;  */
/*    margin: 0 0.25em 0.25em 0.25em; */
    margin: 0 0.25em 0 0.25em;    
    font-family: sans-serif;   
    font-size: 1.25em;
/*    text-align: right; */
}

.telephonenumber {
/*    position: relative; 
    float: right;  */
/*    margin: 0em 0.25em 0.25em 0; */
    padding: 0em 0 0.25em 0;
    margin: 0em 0.25em 0 0;    
    font-family: sans-serif; 
    font-size: 1em;
    color: white;
/*    text-align: right; */
}

/* ==========
** Navigation
** ==========
*/

.navigation {
	position: relative;
	z-index: 5;
    overflow: auto;
    background-color: #339900;
    color: #FFFFFF;
    font-size: 0.75em;
}

.navigation li {
	float: left;
	width: 20%;
	border-radius: 15px 15px 0 0;
    background-color: #228800;
    text-align: center;
}

.navigation li > a, .navigation li > div {
	display: block;
	border-radius: 15px 15px 0 0;
    padding: 0.75em 0 0.75em 0;
}

.navigation li > div {
	border-radius: 15px 15px 0 0;
    background-color: #FFFFFF;
    color: #003300;
}

div.navigation li a:link,
div.navigation li a:visited,
div.navigation li a:active,
div.navigation li a:hover {
	border-radius: 15px 15px 0 0;
    color: #FFFFFF;
    text-decoration: none;
}

div.navigation li a:hover{
	/* Safari 4-5, Chrome 1-9 */ 
	/* Can't specify a percentage size? Laaaaaame. */ 
	background: -webkit-gradient(radial, center center, 0, center center, 460, from(#FFFFFF), to(#339900)); 
	
	/* Safari 5.1+, Chrome 10+ */ 
	background: -webkit-radial-gradient( circle, #FFFFFF, #339900 ); 
	
	/* Firefox 3.6+ */ 
	background: -moz-radial-gradient(circle, #FFFFFF, #339900); 
	
	/* IE 10 */ 
	background: -ms-radial-gradient(circle, #FFFFFF, #339900); 
	
	/* Opera cannot do radial gradients yet */
	/* this stuff brings back the old fade in mechanic from the first version */
	background-color: #dff8c5;
	border-radius: 15px 15px 0 0;
    color: #003300;
}

.upbuttoncontainer{
	width:100%;
	display: block;
	overflow: auto;
}

a.backtotopbutton,
a.backtotopbutton:link,
a.backtotopbutton:visited,
a.backtotopbutton:active,
a.backtotopbutton:hover { 
	position: relative;
	float: right;
	display: block;
    margin: 0em 4.166667% 0em 50%;
    padding: 0.5em;	
	text-decoration: none;
	color: green;
	box-shadow: 0 0 0.25em 0.5em rgba( 275, 275, 275, 0.25 );	
	border-radius: 5px;	
    background-color: rgba( 275, 275, 275, 0.25 );	
}


/* ====================
** Navigation Animation - currently only used for Opera
** ====================
*/

div.navigation li a:link,
div.navigation li a:visited {

	-o-transition-property: background-color, color;
	-o-transition-timing-function: ease;
    -o-transition-duration: 0.5s;
}

/* ==========
** Main Panel
** ==========
*/

#large {
    position: relative;
    background-color: #FFFFFF;
    background-image: url(../images/grassSmall.png);
    background-repeat: repeat-x;
    background-position: left bottom;
    background-attachment: fixed;
/*    min-height: 100%;    */
    height: 100%; 
}

#main{
    min-height: 100%;
    height: 100%;    
}

.main {
/*    position: relative;
    background-color: #FFFFFF;
    background-image: url(../images/grassSmall.png);
    background-repeat: repeat-x;
    background-position: left bottom;
    background-attachment: fixed;
/*    min-height: 100%;    */
    height: 100%; 
}


/* #######################################  */
/* get rid of this */


#fullheight {
    position: relative;
    bottom: 0;
    min-height: 99%;
    overflow: auto;
    background-color: rgba( 255, 255, 255, 0.6 );
    background-image: url(../images/grassBlurred.jpg);
    background-repeat: repeat-x;
    background-position: left bottom;
    background-attachment: fixed;    
}

/* #######################################  */

#wrap {
    background-color: #FFFFFF;
    background-image: url(../images/grassSmall.png);
    background-repeat: repeat-x;
    background-position: left bottom;
    background-attachment: fixed; 
    
}

.panel {
    overflow: auto;
    background-color: rgba( 255, 255, 255, 0.6 );
    background-image: url(../images/grassBlurred.jpg);
    background-repeat: repeat-x;
    background-position: left bottom;
    background-attachment: fixed;
 
}

h1.frontpageheader { /* this is a bit of a bodge */
    padding: 0 4.166667% 0.5em 4.166667%;
}

h1 { 
    padding: 1em 4.166667% 0.5em 4.166667%;
    font-size: 2em;
}

h2 { 
    padding: 1em 4.166667% 0.5em 4.166667%;
    font-size: 1.75em;
}

p {
    padding: 1em 8.333333% 2em 8.333333%;
}

.innergraphicspanel {
	overflow: hidden;
	height: auto;
}

/* ===============
** animated images
** ===============
*/

.container {
	position: relative;
	float: left;
	overflow: visible;
/*	margin: 2.5em 0 1em 8.333333%;  */
	padding: 2.5em 0 1em 0;
	margin: 0 0 0 8.333333%;     
	width: 83.333333%;
	height: 250px;  
}

.one, .two { /* removing rotator panels for smaller resolutions */
	display: none;
}

.container, .wt-rotator, .screen img {
    border-radius: 1em;	
}

.frontpage { /* this is currently just for the group photograph */
	display: none;
}

.figure {
/*    margin: 1em 8.333333% 1em 8.333333%; */
    margin: 0 8.333333% 0 8.333333%;
    width: 33.333333%;
    padding: 0.25em;
    background-color: #003300;
}

.figure, .figure img {
    border-radius: 0.75em;
}

/* ======================
** Advice - ordered lists
** ======================
*/

.panel ul { 
    padding: 0.5em 8.333333% 0.5em 8.333333%;
	list-style-type: none;
	list-style-position: inside;
/*	list-style-position: inside; needed to keep bullet points from overlaping image*/
}

.panel ul li:not(:last-child), p { 
	padding-bottom: 0.75em;
    line-height: 130%;
}    

/* ==========
** Shop stuff
** ==========
*/

.categorybox h3 { /* these headers define the subcategories */
    color: white;
    text-align: center;
    font-size: 1.5em;
    
    /* there is no border radius for iPhone safari atm so give it a bit of space */
    padding-top: 0.25em;
}

.categorybox {
	overflow: hidden;
/*	width: 83.333333%; */
	Width: 100%;
	margin-right: auto;
	margin-left: auto;
	margin-top: 2em;
/*	box-shadow: 0 0 0.25em 0.5em #228800; */
	box-shadow: 0 0 0.25em 0.5em rgba( 34, 136, 0, 0.75 );	
/*	border-radius: 15px; */	
    background-color: rgba( 34, 136, 0, 0.75 );
/*    padding: 0 4.166667% 0 4.166667%; */
/*	opacity: 0.75; */
}

.saleitem {
	position: relative;
/*	float: left; */
	overflow: visible;

/*	width: 27.083333%; */
	width: 100%;
	
/*	margin: 1.5em 0 1em 4.166667%; */
	margin: 1.5em auto 1em auto;
	
	box-shadow: 0 0 2em 0.0125em #228800;
	border: 1px solid #003300;
/*	padding: 1em 8.333333% 1em 8.333333%; */
	padding: 1em 0 1em 0;

/*	border-radius: 15px; */
	background-color: #FFFFFF;
}

.categorybox .saleitem {
/*	margin: 1em 0 1em 4.166667%;
	width: 27.083333%; */
	margin: 1.5em auto 1em auto;
	width: 100%;	
	box-shadow: none;
}


.saleitem.hasimage {
	float: none;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.saleitem h4 { /* item name */
	font-size: 1.5em;
	text-align: center;
	margin-bottom: 0.25em;
}

.shopimage{
	float: none;
	overflow: auto;	
    width: 91.666667%;
    margin-left: auto;
    margin-right: auto;
}

.saleitem .price {
	position: absolute; 
	float: right;
	bottom: 0;
	right: 0.5em;
	width: auto;
	background-color: #F81A1C;
	padding: 0.25em;
	text-align: right;
	color: #FFFFFF;
	font-size: 2em;
	
	/* applying a little rotation */
	-ms-transform:rotate( -20deg );
	-o-transform:rotate( -20deg );
	-webkit-transform:rotate( -20deg );
	-moz-transform:rotate( -20deg );
	transform:rotate( -20deg );
}

/* ======
** Footer
** ======
*/

footer {
	overflow: auto;
	bottom: 0;	
	margin-top: 2em;
    padding: 0.75em 0 0 0;
    color: #FFFFFF;
/*    font-size: 0.75em; */
}

.bottomanchor {
    position: relative;
    height: 100%;
    bottom: 0;
    text-align: center;
}

div.socialicons, div.footertext {
    position: absolute;
	overflow-y: auto;
    width: 91.666667%;
    padding: 0.5em 4.166667% 0.5em 4.166666%;    
/*    width: 70%; */
	margin: 0 auto;
/*    padding: 0 0 0.75em 0;
/*    padding: 0 1.75em 0.75em 1.75em; */
    bottom: 0;
}

div.footertext {
/*	float: left; */
/*	padding-top: 0.25em; */
	text-align: center;
	text-shadow: #003300 0.1em 0.08em 0.1em;
}

div.footertext a:link,
div.footertext a:visited,
div.footertext a:active,
div.footertext a:hover {
	text-shadow: #003300 0.1em 0.08em 0.1em;
    color: #FFFFFF;
    text-decoration: none;
}

div.socialicons {
    position: relative;
	width: 16em;
    padding: 2em 2.5em 0 0;
	margin: 0 auto 0 auto;
}

div.socialicon {
	float: right;
	width: 2em;
	height: 2em;
	margin-left: 2em;
}

.gp_icon {
	background-image: url( "../images/social/g-plus.png" );
	background-size: 100%;
}

.hide_gp {
	z-index: 1;
	width: 100%;
	opacity: 0;
	width: 100%;
	overflow-x: hidden;
}

/* ==============
** Facebook stuff
** ==============
*/

#facebook_like_button_holder {
	position:relative;
	width: 2em;
	height: 2em;
}
	
#facebook_like_button_holder iframe {
	opacity: 0;
	overflow: hidden;
	position:absolute;
	top: 0px;
	width: 3em !important;
}
	
#fake_facebook_button {
	display: block;
/*	pointer-events: none; */
	position:absolute;
	width: 2em;
	height: 2em;
	left:0;
	top:0;
	background: url('../images/social/facebook.png');	
	background-size: 100%;
}

/* ===============================
** expanding for wider resolutions
** ===============================
*/


/*
** e.g. iPhone landscape
*/
@media screen and (min-width: 480px){
	.container {
		margin: 2.5em 0 1em 8.333333%; 
        padding: 0;
		width: 37.5%;
	}
	.one {
		display: block;
	}
	
	/* shop stuff */
	.categorybox {
		width: 91.666667%;
		border-radius: 15px;	
	}	
	.saleitem {
		width: 66.666667%;
		padding: 1em 8.333333% 1em 8.333333%;
		border-radius: 15px;
	}

	.categorybox .saleitem {
		width: 66.666667%;	
	}		
	.saleitem.hasimage {
		width: 66.666667%;
	}
 
	.saleitem .price {
		right: 0;
		font-size: 2em;
	}
}

@media screen and (min-width: 600px){

	.headertext {
/*	    padding: 0;  */
	    font-size: 3em; 
	}
	
	.navigation {
	    font-size: 1em;
	}
	
	div.socialicons, div.footertext {
/*        width: 30%; */
	    padding: 0 4.166667% 0.75em 4.166667%;
/*	    margin: 0 5% 0 5%;  */
	}
	
	div.socialicons {
        position: absolute;    
		float: right;
		overflow-x: hidden;
        right: 0;
		width: 8em;
	}
	
	div.footertext {
		float: left;
		text-align: left;
        font-size: 0.75em;
        padding-bottom: 1.5em;
	}
	
	div.socialicon {
		float: left;
		width: 1.5em;
		height: 1.5em;
		margin-left: 0.5em;
	}
	
	#fake_facebook_button, #facebook_like_button_holder, #facebook_like_button_holder iframe {
		width: 1.5em;
		height: 1.5em;
	}
	
	/*
	** Shop page responses
	*/
	
	.saleitemcontainer { /* same as category box but invisible */
		overflow: auto;
		Width: 91.666667%;
		margin-right: auto;
		margin-left: auto;
		margin-top: 2em;
		padding-top: 1em;
		padding-bottom: 1em; 
	}

	.saleitem {
		position: relative;
		float: left;
		overflow: visible;	
		width: 27.083333%; 	
		margin: 1.5em 0 1em 4.166667%;		
		box-shadow: 0 0 2em 0.0125em #228800;
		border: 1px solid #003300;
		padding: 1em 8.333333% 1em 8.333333%;
		border-radius: 15px;
		background-color: #FFFFFF;
	}

	.saleitem.hasimage {
		padding: 1em 8.333333% 1.75em 8.333333%;
	}

	.categorybox h3 {
	    padding-top: 0;
	}

	.categorybox .saleitem {
		margin: 1em 0 1em 4.166667%;
		width: 27.083333%; 
	}
	
	.shopimage{
	    width: 50%; 
	}
	
	.shopimage.right {
		float: right;
	    margin: 1em 0 1em 5%;
	}
	
	.shopimage.left {
		float: left;
	    margin: 1em 5% 1em 0;
	}
}

@media screen and (min-width: 700px) {
	.wrapper {
        overflow: auto;
	    width: 90%;
        margin-left: auto;
        margin-right: auto;        
	}

	.frontpage {
		display: block;
	}	
		
	div.socialicons, div.footertext {
	    margin: 0; 
	}
}

@media screen and (min-width: 780px) { 
	.headertext {	
	    font: /*100%/1.6 */ ImpactRegular, sans;
	    font-size: 3em;
	}
	
	.subheadertext {
		font-size: 1.75em;
	}
	
	.telephonenumber {
/*	    margin: -1.5em 0 0 0; */
	    font-size: 1.25em;
	}

	.container {
		width: 22.222222%;
		height: 230px;
	}
	
	.one, .two {
		display: block;	
	}
}

.form-error p strong {font-weight:bold;}