
body, td 
{
    font: 10pt verdana, arial, sans-serif;
}

body 
{
    text-align: center;
}

a, 
a:visited
{
    color: #446699;
    text-decoration: none;
}

a:hover
{
    color: #000000;
}

a img
{
    border: none;
}

img.icon
{
    vertical-align: middle;
}

div.page {
    margin: 0px auto;
    text-align: left;
    width: 775px;
}

div.header 
{
    background-color: #9f9f9f;
    height: 150px;
    position: relative;
}

div.header-sub {
    background-image: url( /images/sub-background.png );
    background-repeat: no-repeat;
    height: 65px;
}

div.header-sub div.search {
    float: right;
    padding-right: 4px;
    padding-top: 8px;
    text-align: right;
}

div.header-sub a.home-link
{
    display: block;
    float: left;
    width: 260px;
    height: 60px;
}

div.header img {
    bottom: 0px;
    position: absolute;
    top: 0px;
}

div.header-menu
{
    background-color: #446699;
    border-bottom: 3px solid #17355F;
    padding: 0px;
	text-align: left;
	width: 775px;
}

div.header-menu ul.top-level
{
	display: block;
    list-style-type: none;
    margin: 0px;
    padding: 0px;  
    text-align: center;  
}

div.header-menu ul.top-level li 
{
	/*display: inline;*/
	position: relative;
	float: left;
}

div.header-menu ul.top-level li a 
{
    color: #ffffff;
	display: block;
	float: left;
	height: 34px;
	line-height: 32px;
	margin-right: 32px;
	padding: 0px 10px;
	text-decoration: none;
	
}

div.header-menu ul.top-level li li a {
    margin-right: 0px;
}

div.header-menu ul.top-level li a:hover {
    background-color: #17355F;
}

div.header-menu ul.top-level li:hover ul.sub-level,
div.header-menu ul.top-level li.ie-hover ul.sub-level {
    display: block;
}





/* DROP DOWN SUB MENU */

div.header-menu ul.sub-level 
{
    background-color: #17355F;
    display: none;
	list-style-type: none;
	margin: 0px;
	padding: 0px;
	position: absolute;
	top: 34px;
	left: 0px;
	width: 250px;
	text-align: left;
}

div.header-menu ul.sub-level li 
{
    display: block;
    float: none;
    width: 250px;
}

div.header-menu ul.sub-level li span 
{
    background-color: #17355F;
    display: block;
}

div.header-menu ul.sub-level li a:link,
div.header-menu ul.sub-level li a:visited 
{
    font-size: 8pt !important;
    border-right: none;
    display: block;
    float: none;
}

div.header-menu ul.sub-level li a:hover 
{
    background-color: #446699;
}









div.body 
{
    margin-top: 16px;
    
}



div.footer 
{
    border-top: 2px solid #888888;
    color: #888888;
    font-size: 8pt;
    margin-top: 16px;
    padding-top: 4px;
    text-align: center;
}

div.footer div.menu 
{
    padding-top: 8px;
}

div.footer div.menu span.inline-separator
{
    padding: 0px 8px;
}

div.clear 
{
    clear: both;
}



/* #################

    HOME PAGE
    
   ################# */

div.left-button-column
{
    float: left;
    padding: 8px;
    width: 28%;
}



div.center-text-column
{
    float: left;
    padding: 8px;
    width: 37%;
}

div.right-text-column
{
    float: right;
    padding: 8px;
    width: 28%;
}


div.column-button
{
    color: #000000;
    display: block;
    background-color: #e2e2e2;
    border-bottom: 2px solid #cccccc;
    border-right: 2px solid #cccccc;
    margin-bottom: 4px;
    padding: 4px;
    text-decoration: none;
}



/* #################

    MISC STYLES
    
   ################# */
   
   
h2.page-title 
{
	font-size: 14pt;
	font-weight: normal;
	margin-top: 0px;
}  
   
h3.sub-page-title 
{
	font-size: 13pt;
	font-weight: normal;
	margin-top: 0px;
}

fieldset 
{
    border: none;
    margin: 0px;
    padding: 0px;
}



/* #################

    SHOPPING CART
    
   ################# */
   
table.shopping-cart
{
    width: 100%;
}

table.shopping-cart tr.header 
{
    background-color: #e2e2e2;
}

table.shopping-cart tr.row0
{
    background-color: #ffffff;
}

table.shopping-cart tr.row1
{
    background-color: #f4f4f4;
}

table.shopping-cart tr.no-items td
{
    font-style: italic;
    text-align: center;
}

table.shopping-cart th.item
{
    
}

table.shopping-cart th.quantity
{
    text-align: right;
    vertical-align: top;
    width: 13%;
}

table.shopping-cart th.unit-price
{
    text-align: right;
    vertical-align: top;
    width: 13%;
}

table.shopping-cart th.total
{
    text-align: right;
    vertical-align: top;
    width: 13%;
}


table.shopping-cart td.item
{
    vertical-align: top;
}

table.shopping-cart td.item span.remove-link
{
    font-size: 8pt;
}

table.shopping-cart td.item span.name
{
    font-weight: bold;
}

table.shopping-cart td.item span.description
{
    font-size: 8pt;
}

table.shopping-cart td.quantity
{
    text-align: right;
    vertical-align: top;
}

table.shopping-cart td.quantity input.quantity
{
    text-align: right;
}

table.shopping-cart td.unit-price
{
    text-align: right;
    vertical-align: top;
}

table.shopping-cart td.total
{
    text-align: right;
    vertical-align: top;
}

div.shopping-cart-toolbar
{
    margin-top: 12px;
    text-align: right;
}

div.mini-cart
{
    line-height: 16px;
    padding-top: 4px;
    text-align: right;
}

div.mini-cart img 
{
    border: none;
    vertical-align: middle;
}

div.mini-cart a
{
    color: #17355f;
    text-decoration: underline;
}

div.mini-cart a:hover
{
    color: #446699;
    text-decoration: underline;
}



/* #################

    PRODUCTS
    
   ################# */

table.product-listing
{
    width: 100%;
}

table.product-listing tr.row0 
{
    background-color: #ffffff;
}

table.product-listing tr.row1
{
    background-color: #f4f4f4;
}

table.product-listing tr.row0 td, 
table.product-listing tr.row1 td
{
    border-bottom: 1px solid #d0d0d0;
}

table.product-listing td.preview
{
    text-align: center;
    vertical-align: top; 
    width: 10%;
}

table.product-listing td.details
{
    vertical-align: top;
}

table.product-listing td.unit-price
{
    text-align: right; 
    vertical-align: top; 
    width: 12%;
}


/* #################

    CHECKOUT STYLES
    
   ################# */
 
   
fieldset legend.heading
{
    font-size: 12pt;
    font-weight: normal;
    padding-bottom: 2px;
    padding-top: 8px;
}

fieldset.form-toolbar 
{
    margin-top: 16px;
    text-align: center;
}

table.checkout-data
{
    width: 100%;
}

table.checkout-data td.label
{
    width: 25%;
}

td.label label.error
{
    color: #ff0000;
}


/*  Form builder  */

span.above-aligned {
	display: block;
	text-align: left;
}


/* FORM BUILDER FORMS */

/*form.form-builder span.above-aligned,
form.form-builder span.right-aligned {
	float: left;
}

form.right-aligned span.element-separator
{
    clear: both;
    display: block;
}

select.right-aligned
{
    float: left !important;
}

span.right-aligned label {
	display: inline;
	padding: 4px;
    text-align: right;
    width: 40%;
}

span.right-aligned  
{
}

input.form-builder,
textarea.form-builder {
	margin: 2px;
}

td.name-label {
	color: #555555;
	font-size: 7pt;
}

form.form-builder-generated div.paragraph {
    margin: 16px 0px;
}


form.form-builder-generated input.checkbox {
	float: left;
}

form.form-builder-generated label.checkbox-label-right {
	display: inline !important;
}*/



table.form-builder
{
    width: 100%;
}

table.form-builder tr td
{
    vertical-align: top;
}

table.form-builder tr td.right-aligned-label
{
    text-align: right;
}

div.form-builder-toolbar {
	margin-top: 8px;
	text-align: center;
}


div.validation-errors {
	background-color: #FFDFDF;
	border-top: 1px solid #ff9f9f;
	border-bottom: 1px solid #ff9f9f;
	margin-bottom: 8px;
	padding: 8px 4px;
}

div.validation-errors ol {
	margin-bottom: 0px;
	padding-bottom: 0px;
}


/* VALIDATION ERRORS */

label.error {
    color: #ff0000 !important;
}

div.validation-errors {
	background-color: #FFDFDF;
	border-top: 1px solid #ff9f9f;
	border-bottom: 1px solid #ff9f9f;
	margin-bottom: 8px;
	padding: 8px 4px;
}

div.validation-errors ol {
	margin-bottom: 0px;
	padding-bottom: 0px;
}

div.validation-errors img {
	vertical-align: middle; 
}


/* FLASH MESSAGE */

div.flash-message {
	background-color: #e4ffcf;
	border-bottom: 1px solid #8fdf53;
	border-top: 1px solid #8fdf53;
	line-height: 16px;
	margin-top: 8px;
	margin-bottom: 8px;
	padding: 4px 8px;
}

div.flash-message img {
	vertical-align: middle;
}



/* CHECKOUT LOGIN */

table.checkout-login
{
    width: 100%;
}

table.checkout-login td.column
{
    background-color: #e9e9e9;
    border: 1px solid #c9c9c9;
    vertical-align: top;
    width: 50%;
}

table.checkout-login td.column h3
{
    font-weight: normal;
    margin-top: 0px;
}

































a.button, span.button, del.button{
	
	display:-moz-inline-box;
	display:inline-block;
	cursor:pointer;
	border:none;
    font-size:0;
    line-height:0;
    
	/*
	for Safari, read this first
	http://creativebits.org/webdev/safari_background_repeat_bug_fix
	*/
	background-position:0 0;
	background-repeat:no-repeat;
	height:30px;
	text-decoration:none;
	color:#2e523b;
	font-style:normal;
	margin:0 6px 0px 0;
	padding:0 10px 0 0;	
	vertical-align:middle;	
	
    padding-top:-2px;
	_position:relative;
	_width:10px;	
	_overflow-y:hidden;
}



a.button, span.button, del.button,
a.button span, span.button button, span.button input, del.button span{
    background-image:url(/images/form_buttons.png);
    _background-image:url(/images/form_buttons.gif);
}


a.button span, span.button button, span.button input, del.button span{
	
	white-space:nowrap;
	cursor:pointer;
    color:#222;
	display:-moz-inline-box;
	display:inline-block;
	line-height:1;
    letter-spacing:0 !important;
    font-family:"Arial" !important;
    font-size:12px !important;
    font-style:normal;    
    background-color:transparent;
	background-position:100% 0;
	background-repeat:no-repeat;
	height:30px;
	padding:8px 20px 0 10px;
	margin:0 -16px 0 10px;
	border:none;
	vertical-align:text-top;
	zoom:1;
	_position:relative;
    _padding-left:0px;
	_padding-right:12px;
	_margin-right:-10px;	
	_display:block;
	_top:0;
	_right:-5px;
	
}


span.button button{
   line-height:2.5;/*Opera need this*/
}

html.safari a.button span, 
html.safari del.button span{
  line-height:1.3;
}

html.safari span.button button{
  line-height:2.6;
}

html.safari a.button:focus,
html.safari span.button button:focus{
    outline:none;
}



del.button{
	/* cursor:not-allowed;	*/
	background-position:0 -120px;
	
}

del.button span{
	cursor:default;
    color:#aaa !important;
	background-position:100% -120px;
}


span.button button, span.button input{
	padding-top:0px;
	line-height:2.5;/*Opera need this*/
}


/** optional **/
/*
a.button:visited{
	color:#aaa;
}
*/


/*Hover Style*/

a.button:hover, 
span.button:hover,
a.button:focus, 

a.dom-button-focus, 
span.button-behavior-hover{
	background-position:0 -60px;
	color:#222;
	text-decoration:none;
}





a.button:hover span, 
span.button:hover button, 
a.button:focus span, 

span.button-behavior-hover button, 
span.button-behavior-hover input{
	background-position:100% -60px;
}


a.button:active, a.button:focus span{
	color:#444;
}




del.button-behavior-hover, del.button:hover{
	background-position:0 -180px;
	/* cursor:not-allowed; */
}


del.button-behavior-hover span, del.button:hover span{
	background-position:100% -180px;
	/* cursor:not-allowed; */
	
}




/*Optional hack for IE6 to simulate :hover selector*/

span.button button, del.button span, span.button input{


	
	_behavior:expression(
		(function(el){

			if( typeof( behavior_onMouseEnter) == 'undefined'){

				
				behavior_onMouseEnter = function(el){
					
					var dEl = this.parentNode;					
					var sClass = dEl.className ;
					dEl.__defaultClassName = sClass ;
					dEl.className = sClass + ' button-behavior-hover';	
					this.setCapture();
				};

				behavior_onMouseLeave = function(el) {
					var dEl = this.parentNode;
					dEl.className = dEl.__defaultClassName ;
					dEl.__defaultClassName = undefined;
					this.releaseCapture();
				};


			};
			
			
			el.runtimeStyle.behavior = 'none';
			el.onmouseenter = behavior_onMouseEnter;
			el.onmouseleave = behavior_onMouseLeave;
			
			
		})(this));




}
