/* General stuff
---------------------------------------- */
body {
	margin:0;
	padding:0;
	background:#EBE7C2 url(../img/gui/bg_body.gif) repeat 50% 0;
	font-family:arial,helvetica,sans-serif;
	font-size:75%;
	color:#666;
	text-align:center;
}
p {
	margin:1em 0;
}

/* Links
---------------------------------------- */
a {
	font-weight:bold;
	color:#3B96F7;
}
a:hover {
	color:#000 !important;
}
a img {
	border:1px solid #3B96F7;
	padding:1px;
}
a:hover img {
	border-color:#000;
}

/* Headings
---------------------------------------- */
h2 {
	margin:10px 0;
	font-family:'verdana';
	font-size:150%;
	font-weight:normal;
	color:#333;
	text-shadow:2px 2px 2px #999;
}
h3 {
	font-size:100%;
	color:#333;
}

/* Forms
---------------------------------------- */
form {
	margin:0;
}
input, textarea {
	font-family:arial;
	font-size:100%;
}
label {
	display:block;
	margin:1em 0 0.1em;
	font-weight:bold;
}
.button {
	margin-top:1em;
	padding:1px 5px;
	background:#fff url(../img/gui/bg_body_top.gif);
	border:2px solid #D1C875;
	border-right-color:#AB9D36;
	border-bottom-color:#AB9D36;
	font-weight:bold;
}
.button:active {
	background-position:0 -60px;
	border:2px solid #D1C875;
	border-top-color:#AB9D36;
	border-left-color:#AB9D36;
}
.textfield, .textarea {
	padding:3px 1px;
	width:50%;
	background:#fafafa url(../img/gui/bg_gray.gif) repeat-x 0 1px;
	border:1px solid #ccc;
	border-top:1px solid #999;
	border-left:1px solid #999;
}
.textfield:focus, .textarea:focus {
	border:1px solid #999;
	border-top-color:#666;
	border-left-color:#666;
}
.textarea {
	width:75%;
}
.checkbox, .radio {
	vertical-align:middle;
}

/* Tables
---------------------------------------- */
table {
	width:100%;
	border:none;
}
th {
	background:url(../img/gui/bg_body_top.gif) repeat-x 0 0;
	color:#333;
	text-align:left;
}
td, th {
	padding:5px;
	border:1px solid #edeac8;
	border-width:0 0 1px;
}
.r2 {
	background:url(../img/gui/bg_scans.gif);
}

/* Head
---------------------------------------- */
#head_wrap {
	background:url(../img/gui/bg_body_top.gif) repeat-x 50% 0;
	border-bottom:2px solid #fff;
}
#head {
	margin:0 auto;
	height:110px;
	width:762px;
	background:url(../img/gui/pieroerbacci.gif) no-repeat 0 21px;
	text-align:left;
}

/* Body
---------------------------------------- */
#body_wrap {
	padding:45px 0 10px;
	background:#fff url(../img/gui/bg_body_top.gif) repeat-x 50% -112px;
}
#body {
	margin:0 auto;
	width:752px;
	text-align:left;
}

/* Navigation (wrapped in #head)
---------------------------------------- */
#nav {
	float:right;
	margin:30px 0 0;
	width:354px;
	height:50px;
	background:#fff url(../img/gui/bg_nav_1.gif) no-repeat 0 0;
}
#nav ul {
	margin:0;
	padding:0 0 0 15px;
	background:url(../img/gui/bg_nav_3.gif) no-repeat 100% 0;
	list-style:none;
}
#nav li {
	float:left;
	width:81px;
	height:50px;
	background:url(../img/gui/bg_nav_2.gif) repeat-x 0 0;
}
#nav a {
	display:block;
	padding:17px 0 0;
	width:81px;
	height:33px;
	background:url(../img/gui/bg_nav_2.gif) repeat-x 0 0;
	color:#666;
	text-align:center;
	text-decoration:none;
	text-shadow:2px 2px 2px #ccc;
}
#nav a:hover {
	background-position:0 -50px;
	color:#000;
	text-shadow:none;
}
/* current navigation */
body.home a#nav_home, body.products a#nav_products, body.about a#nav_about, body.contact a#nav_contact {
	background-position:0 -100px !important;
	color:#808080;
}

/* Subnavigation
---------------------------------------- */
.subnav {
	float:left;
	margin:0 20px 0 0;
	padding:10px 0;
	width:160px;
	background:url(../img/gui/bg_scans.gif);
	border:1px solid #edeac8;
	border-width:1px 0;
}
.subnav h2 {
	margin:0 10px 0;
}
.subnav p {
	margin:10px;
}
.subnav ul {
	margin:10px 0 0;
	padding:0;
	list-style:none;
}
.subnav li {
	display:block;
}
.subnav li:hover, .subnav li.current {
	background:#fff url(../img/gui/bg_body_top.gif) repeat-x 0 2px;
}
.subnav li a {
	display:block;
	padding:8px 10px 8px 30px;
	width:140px; /* IE needs explicit width for fully clickable buttons */
	background:url(../img/gui/arrow.gif) no-repeat 10px 50%;
}
.subnav li a:hover, .subnav li.current a {
	padding-top:7px;
	padding-bottom:7px;
	background-color:#edeac8; /* IE only */
	border-top:1px solid #E1DBA5;
	border-bottom:1px solid #DCD596;
	color:#000;
}
html>body .subnav li a:hover, html>body .subnav li.current a {
	background-color:transparent;
}
.content {
	float:right;
	padding-left:23px;
	width:548px;
	background:url(../img/gui/bg_scans.gif) repeat-y 0 0;
	line-height:1.6;
}

/* Foot
---------------------------------------- */
#foot {
	clear:both;
	margin:0;
	padding:68px 0 20px;
	background:url(../img/gui/bg_body_bottom.gif) repeat-x 50% 0;
	text-align:center;
	text-shadow:2px 2px 1px #fff;
	color:#808080;
}
#foot a {
	color:#666;
}

/* Homepage
---------------------------------------- */
#box1, #box2, #box3 {
	float:left;
	margin-left:43px;
	padding:0 20px;
	width:182px;
	min-height:12em;
	background:url(../img/gui/bg_scans.gif);
	border:1px solid #edeac8;
	border-width:1px 0;
}
#box1 {
	margin:0;
}
#products {
	clear:both;
	margin:0 auto;
	padding:20px 0 0;
	width:750px;
}
#products a {
	float:left;
	margin-right:10px;
	width:142px;
}
#products a#prod_pe-florence-beach {
	margin-right:0;
}
#products a img {
	padding:4px;
	background:#fff;
	border:1px solid #edeac8;
}
#products a:hover img {
	border-color:#3B96F7;
}

/* Products
---------------------------------------- */
.pefr a {
	float:left;
	padding:10px;
	width:160px;
	height:160px;
}
a.pefr-solid { background-image:url(../img/products/pefr-solid_small.jpg); }
a.pefr-regular-stripe { background-image:url(../img/products/pefr-regular-stripe_small.jpg); }
a.pefr-small-stripe { background-image:url(../img/products/pefr-small-stripe_small.jpg); }
a.pefr-stripe-large { background-image:url(../img/products/pefr-stripe-large_small.jpg); }
a.pefr-3-stripe-vertical { background-image:url(../img/products/pefr-3-stripe-vertical_small.jpg); }
a.pefr-3-stripe-horizontal { background-image:url(../img/products/pefr-3-stripe-horizontal_small.jpg); }
a.pefr-special { background-image:url(../img/products/pefr-special_small.jpg); }
a.pefr-chess { background-image:url(../img/products/pefr-chess_small.jpg); }
a.pefr-tartan { background-image:url(../img/products/pefr-tartan_small.jpg); }


/* tabbox
---------------------------------------- */
.tabbox {
	clear:both;
	margin:2em 0 0;
	padding:0;
}
.tabbox .tabbox-title {
	float:left;
	margin:0;
}
.tabbox .tabbox-tabs {
	margin:0;
	padding:0;
	list-style:none;
	height:1%; /* IE fix */
}
.tabbox .tabbox-tabs li {
	display:inline; /* IE fix */
}
.tabbox .tabbox-tabs li a {
	float:right;
	padding:5px 15px 7px;
}
.tabbox .tabbox-tabs li a img {
	border:none;
	vertical-align:middle;
}
.tabbox .tabbox-tabs li a.current {
	background-color:#edeac8;
	color:#000;
}
.tabbox .tabbox-content {
	clear:both;
	padding:10px 20px 1px;
	background:url(../img/gui/bg_body_top.gif) repeat-x 0 -120px;
}

/* Page nav bar
---------------------------------------- */
.pagenavbar {
	margin:0 0 2em;
	padding:5px 10px;
	background:url(../img/gui/bg_scans.gif);
	border:1px solid #edeac8;
	border-width:1px 0;
	text-align:center;
}
.pagenavbar .placeholder {
	visibility:hidden;
	font-weight:bold;
}

/* Misc. Classes
---------------------------------------- */    
.clearfix:after {
		content:'.'; 
		display:block; 
		height:0; 
		clear:both; 
		visibility:hidden;
} /* Hides from IE-mac \*/ * html .clearfix { height:1%; } /* End hide from IE-mac */
.skip {
	position:absolute;
	top:0;
	left:-9999px;
	font-size:small;
}
.nomargin {
	margin:0 !important;
}
.alert {
	padding-left:14px;
	background:url(../img/gui/alert.gif) no-repeat 0 50%;
	color:#b30000;
}
.arrow {
	padding-left:16px;
	background:url(../img/gui/arrow.gif) no-repeat 0 60%;
}
html>body .ie_only {
	display:none;
}
.ie_not {
	display:none;
}
html>body .ie_not {
	display:inline;
}
.left {
	float:left;
}
.right {
	float:right;
}