/* large screen layout */
/* common */
.mobile { display: none; }

/* help improve formatting on vertical layouts */
#content { min-height: calc(100vh - 19em - 4em); }

/* Header */
header::before { height: 29vw; }

header
{
	margin: 0 0 50px 0;
	min-height: 125px;
}

header nav
{
	position: absolute;
	width: calc(100% - 20px);
	height: 2.5em;
	margin: 0 10px;
	z-index: 2;
}

header nav a, header nav span
{
	padding: 5px 0;
}

header nav > div
{
	display: inline-block;
	position: relative;
	min-height: 20px;
	width: calc(33% - 10px);
	margin: 0 .25em;
	padding: 5px 0;
	vertical-align: top;
	text-align: center;
	background-color: #FEC;
	background-image: url("assets/paper.jpg");
	box-shadow: 0 7px 5px -5px black, 1px 1px 0 0.5px gray, 0 0 4px 0 gray inset;
	border-radius: 4px;
}

header nav .second_level
{
	display: none;
	padding: .5em 0;
	font-size: .9em;
}

header nav .second_level a
{
	width: 90%;
	margin: 4px auto;
}

.hover header nav > div:hover, .touch header nav > div:active, header nav .show
{
	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;
}

.hover header nav > div:hover .second_level, .touch header nav > div:active .second_level,header nav .show .second_level { display: block; }

header nav span
{
	cursor: context-menu;
	background-image: url("assets/menu-icon.png");
	background-size: 1em;
	background-position: calc(100% - .7em) center;
	background-repeat: no-repeat;
}

.hover header nav span:hover, .touch header nav span:active { text-shadow: 0 0 1px black; }
header nav .show span { background-image: url("assets/menu-icon-red.png"); }

header .social
{
	display: block;
	position: absolute;
	top: 1em;
	right: 1em;
}

header .shop
{
	display: block;
	position: absolute;
	top: 1em;
	left: 1em;
}

/* Footer */
footer a.GH_banner
{
	position: absolute;
	right: 1em;
	bottom: 0;
}

footer a.GH_banner img
{
	height: 1.6em;
	opacity: .85;
	border-style: solid;
	border-color: gray;
	border-width: 2px 1px 1px 2px;
	box-shadow: 0 0 4px 0 gray inset;
	border-radius: 6px;
	transition: all .2s;
}

.hover footer a.GH_banner img:hover, .touch footer a.GH_banner img:active
{
	opacity: 1;
	height: 2em;
}

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

/* tweak for very high resolution screens */

@media screen and (min-width: 1500px)
{
	#content::before, #content:after
	{
		display: block;
		position: fixed;
		top: 0;
		height: 100vh;
		width: calc((100vw - 1516px)/2);
		content: "";
		background-image: url("assets/cloth1.jpg");
		box-shadow: 0 0 10px 0 black inset;
	}
	
	#content::before { left: 0; }
	#content::after { right: 0; }
}
