/* general styles */
html
{
	font-family: Verdana, Geneva, sans-serif;
	-webkit-text-size-adjust: 100%;
}

body
{
	max-width: 1500px;
	background-color: #BA8;
	background-image: url("assets/cloth.jpg");
	margin: auto;
}

a:visited, a:link
{
	text-decoration: none;
	color: inherit;
}

/* Header */
/* common social link formatting */
.social a, .shop a
{
	display: inline-block;
	position: relative;
	margin-right: .5em;
	Padding: 2px 2px 0 2px;
	background-color: white;
	border: 1px solid black;
	border-radius: 25px;
	box-shadow: 0 8px 5px -5px black;
}

.social img, .shop img
{
	height: 40px;
	border-radius: 25px;
}

.hover .social a:hover, .hover .shop a:hover, .touch .social a:active, .touch .shop a:active
{
	top: 2px;
	box-shadow: 0 6px 5px -5px black;
	transition: all .1s;
}

/* Page header formating*/
.hover header nav a:hover, .touch header nav a:active
{
	transition: all .1s;
	color: red;
	text-shadow: 0 0 1px #C00;
	text-decoration: underline;
}

/* header and main menu */
header::before
{
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	max-height: 125px;
	background-image: url("assets/banner.jpg");
	background-size: 100%;
	background-repeat: no-repeat;
	opacity: 0.68;
	z-index: -1;
}

header
{
	display: block;
	position: relative;
}

header span.logo
{
	display: block;
	max-height: 105px;
	height: 22vw;
	width: auto;
	background-image: url("assets/happy_hedgerow_logo_mask.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: auto 75%;
}

header nav a, header nav span
{
	display: inline-block;
	width: 100%;
}

/* noscript style */
noscript {
	z-index: 20;
	width: calc( 100% - 20px );
	position: fixed;
	top: 0;
	left: 0;
	padding: 0 10px;
	font-size: .8em;
	background-color: red;
	color: white;
	box-shadow: 0 1px 6px 0 black;
	text-align: center;
}

/* Footer */
/* page footer */
footer
{
	position: relative;
	width: 100%;
	margin: 4em 0 1.5em 0;
	text-align: center;
}

.fpanel
{
	width: 33%;
	min-width: 12.5em;
	max-width: 15em;
	margin: 2em auto 0 auto;
	padding: 5px;
	background-color: #DDD;
	background-image: url('assets/leather.jpg');
	border-style: solid;
	border-color: gray;
	border-width: 2px 1px 1px 2px;
	border-radius: 6px;
	box-shadow: 0 0 4px 0 gray inset;
	text-align: center;
}

.fpanel div
{
	display: inline-block;
	margin: 0 .5em;
}

.fpanel p
{
	margin: 0;
	font-size: .8em;
}

.fpanel div a
{
	position: relative;
	margin: .2em;
}

.fpanel div a img
{
	height: 35px;
	transition: .1s ease-in-out;
}

.fpanel a.text_link
{
	display: block;
	margin: .4em;
}

.hover .fpanel a.text_link:hover, .touch .fpanel a.text_link:active
{
	color: red;
	text-decoration: underline;
}


.hover .fpanel a:hover img, .touch .fpanel a:active img { transform: scale(1.2); }

footer p.by
{
	text-shadow: -1px -1px gray, 1px 1px white;
	font-size: 0.8em;
}

/* Footer notices */
#notices
{
	z-index: 20;
	width: 100%;
	position: fixed;
	bottom: 0;
	left: 0;
	box-shadow: 0 -1px 6px 0 black;
}

#notices >div
{
	padding: 10px 10px;
	text-align: center;
	font-size: .8em;
}

#notices a {
	display: inline-block;
	width: 5em;
	margin: 0 2em;
	padding: .6em;
	border: 1px inset white;
	border-radius: 4px;
}

.hover #notices a:hover, .touch #notices a:active
{
	cursor: pointer;
	font-weight: bold;
	border: 1px solid white;
}


/* Pane */
.pane
{
	position: relative;
	margin: 9px 10px 32px 10px;
	padding: 10px 1em 24px 1em;
	background-color: #FEC;
	background-image: url("assets/paper.jpg");
	border-radius: 4px;
	box-shadow: 0 8px 5px -5px black, 1px 1px 0 0.5px gray, 0 0 4px 0 gray inset;
}

.watermark::after
{
	content: "";
	display: block;
	position: absolute;
	height: 32px;
	width: 24px;
	right: 1.1em;
	bottom: .8em;
	background-image: url("assets/hh_small_logo.png");
	background-repeat: no-repeat;
	background-size: 24px;
	opacity: .25;
}

.pane .buttons
{
	position: absolute;
	bottom: -16px;
	right: 10px;
	z-index: 1;
}

.pane .buttons a
{
	display: inline-block;
	position: relative;
	margin-left: .5em;
	padding: .3em;
	vertical-align: top;
	background-color: #DDD;
	background-image: url("assets/leather.jpg");
	box-shadow: 0 7px 5px -5px black, 1px 1px 0 0.5px gray, 0 0 4px 0 gray inset;
	border-radius: 4px;
	text-align: center;
	line-height: 1.8em;
}

.pane .buttons:not(.asym) a { width: 4em; }
.pane .buttons.asym a:nth-child(1) { width: 7em; }
.pane .buttons.asym a:nth-child(2) { width: 3.2em; }

.hover .pane .buttons a:hover, .touch .pane .buttons a:active
{
	top: 2px;
	transition: .2s;
	cursor: pointer;
	box-shadow: 0 2px 5px -1px black, 1px 1px 0 0.5px gray, 0 0 4px 0 gray inset;
	color: red;
	text-shadow: 0 0 1px #C00;
	text-decoration: underline;
}

/* every last button is a back button so this makes things nicer for back chevrons*/
.pane .buttons a:last-child { letter-spacing: -0.2em; }

/* Text section */
.text h1
{
	margin: .75em 0 .5em 0;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	font-size: 1.3em;
	letter-spacing: 0.02em;
}

.text h2
{
	margin: 2em 0 .5em 0;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	font-size: 1.2em;
}

.text p
{
	margin: 1em 0;
	line-height: 1.5;
}

.text li { margin-bottom: 1em; }

.text a:visited, .text a:link, .text a
{
	color: red;
	text-decoration: underline;
}

.hover .text a:hover, .touch .text a:active
{
	transition: all .1s;
	text-shadow: 0 0 1px #C00;
}