/* Copyright 2025 Virtual Interconnect Software, LLC.  All rights reserved. */
/* Copyright 2025 Virtual Interconnect Software, LLC.  All rights reserved. */

#HeaderImage,
#Spacer,
#MainDiv,
#Copyright
{
	width: auto;
	margin: 0 20em;
}

@media all and (min-width: 1665px) and (max-width: 2048px)
{
	#HeaderImage,
	#Spacer,
	#MainDiv,
	#Copyright
	{
		margin: 0 10em;
	}
}

@media all and (min-width: 801px) and (max-width: 1664px)
{
	#HeaderImage,
	#Spacer,
	#MainDiv,
	#Copyright
	{
		margin: 0 5em;
	}
	
	#Logo
	{
		font-size: 75%;
	}
}

@media all and (min-width: 641px) and (max-width: 800px)
{
	#HeaderImage,
	#Spacer,
	#MainDiv,
	#Copyright
	{
		margin: 0 2.5em;
	}
	
	#Logo
	{
		font-size: 50%;
	}
}

@media all and (max-width: 640px)
{
	#HeaderImage,
	#Spacer,
	#MainDiv,
	#Copyright
	{
		margin: 0 1em;
	}
	
	#Logo
	{
		font-size: 40%;
	}
}

#HeaderImage
{
	height: auto;
}

#NavBar
{
	width: 18%;
}

#ContentDiv
{
	width: 80%;
	padding: 0;
}
body
{
	background: #543f33 url("http://data.virtualinterconnect.com/images/backgrounds/wood-seamless-cherry.jpg");
}

#HeaderImage, #MainDiv
{
	box-shadow: 0 0 2em #000;
}

#MainDiv,
#HeaderImage,
#Copyright,
#ContentDiv h1:first-child
{
	/*background: #d2bb86 url("http://data.virtualinterconnect.com/images/backgrounds/antique-paper-seamless.jpg");*/
	background: #eee url("http://data.virtualinterconnect.com/images/backgrounds/textures/brushedmetal3-256.gif");
}

#LogoA,
#Logo,
#Logo .Edit,
#Logo .Edit a,
#NavBar li a,
#ContentDiv h1,
#ContentDiv h2,
#ContentDiv h3,
#ContentDiv h4,
#MainDiv,
#HeaderImage,
#Copyright,
a
{
	color: #463e2d /*#7a6d4e*/;
}

#ContentDiv h1
{
	font-family: serif;
	text-align: justify;
	text-transform: uppercase;
}

a.EditButton
{
	color: #fff;
}

#ContentDiv h1
{
	border-bottom: 2px solid #463e2d;
}

#ContentDiv h1:first-child
{
	position: relative;
	left: -24.9%; /* Not 25% due to rounding errors at some window sizes. */
	width: 125%;
	text-align: center;
	border-bottom-width: 3px;
	height: 1.5em;
	line-height: 1.5em;
	font-size: 200%;
	letter-spacing: 0.25em;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media all and (min-width: 769px) and (max-width: 1664px)
{
	#ContentDiv h1:first-child
	{
		font-size: 100%;
	}
}

@media all and (min-width: 481px) and (max-width: 768px)
{
	#ContentDiv h1:first-child
	{
		font-size: 75%;
	}
}

@media all and (max-width: 480px)
{
	#ContentDiv h1:first-child
	{
		font-size: 50%;
	}
}

#ContentDiv h2, #ContentDiv h3
{
	border-bottom: 1px solid #463e2d;
}

#ContentDiv .ProductDisplayBreadcrumb h3,
#ContentDiv .ProductDisplayHeader h3
{
	border-bottom: 0;
}

#Spacer
{
	/* So the spacer doesn't get darkened by the shadow from HeaderImage. */
	position: relative;
	background: #463e2d;
	height: 3px;
	font-size: inherit;
}

#NavBar
{
	margin-top: 3em;
}

#NavBar ul
{
	border-bottom: 1px solid #666;
}

#NavBar li
{
	border-bottom: 1px solid #666;
	position: relative;
}

#NavBar li a:before
{
	position: absolute;
	top: 0.25em;
	left: 0.25em;
	content: "⚜";
}

#NavBar li a
{
	padding-left: 1.5em;
}

@media all and (max-width: 1024px)
{
	#NavBar
	{
		float: none;
		width: auto;
		margin-top: 0;
	}
	
	#NavBar ul
	{
		list-style: none;
		text-align: center;
		border-bottom: 0;
	}
	
	#NavBar ul li
	{
		display: inline;
		border-bottom: 0;
		font-size: 100%;
	}
	
	#NavBar ul li a
	{
		display: inline-block;
		padding: 0 0.5em;
		text-align: center;
		font-size: 100%;
	}
	
	#NavBar li a:before
	{
		display: none;
	}
	
	#NavBar li + li:before
	{
		display: inline;
		content: " ‧ ";
	}
	
	#NavBar li a
	{
		padding-left: 0;
	}
	
	#ContentDiv
	{
		float: none;
		width: auto;
		padding: 0.5em;
	}
	
	#ContentDiv h1:first-child
	{
		margin-bottom: 0.5em;
		width: auto;
		position: static;
		margin-left: -1em;
		margin-right: -1em;
		border-top: 3px solid #463e2d;
		margin-top: -0.5em;
	}
	
	#ContentDiv h1:first-child + p
	{
		margin-bottom: 0;
	}
	
	#ContentDiv h1 + p,
	#ContentDiv h2 + p,
	#ContentDiv h3 + p
	{
		margin-top: 0.5em;
	}
}

#NavBar li a:hover
{
	background: rgba(255, 255, 255, 0.25);
}

#ContentDiv
{
	border-right: 1px solid #666;
}

#Copyright
{
	border-top: 3px solid #463e2d;
	border-bottom: 1px solid #463e2d;
}
