/*=============================================================================/

    NAME        :main
    VERSION     :1.0
    AUTHOR      :Alastair Floyd | Interlogica Ltd
    TYPE        :Style Sheet

    DESCRIPTION :Primary style sheet for myogenic.co.nz

    HISTORY     :05-05-2008 | Alastair Floyd | Initial draft
                :
                :
/=============================================================================*/

/*Eric Meyer's CSS reset*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*=============================================================================/
    GENERIC SELECTORS
/=============================================================================*/

html, body {
			
}

body {
	margin:0;
	padding:0;
	text-align:center; /*IE centre alignment for container*/
	background-color:#ffffff;
	font:normal 12px Arial, Verdana, sans-serif;
	color:#3B3734;
	line-height:18px;
}

h1 {
	font-size:24px;
	color:#E65B00;
	line-height:26px;
	margin:5px 0 10px 0;
}

h2 {
	font-size:14px;
	color:#369; 	
	line-height:16px;
	margin:5px 0 5px 0;
}

h3 {
	font-size:14px;
	color:#2B408D; 	
	line-height:16px;
	margin:5px 0 5px 0;
}

h4 {
	font-size:12px;
	color:#000; 	
	line-height:14px;
	margin:5px 0 0 0;
}
	
p {
	margin:5px 0 0 0;
	padding:0;
	text-align:left;
	line-height:16px;
}

p.accent {
	font-size:14px;
	font-style:italic;
	margin:5px 0 10px 0;
}

a:link, a:visited, a:hover, a:active {
	color:#E65B00;
	text-decoration:underline;
}

a:hover, a:active {
	text-decoration:none;
}


/*=============================================================================/
    GOVERNING LAYOUT
/=============================================================================*/


div.header{
	width:920px;
	height:120px;
	margin-left:auto;
	margin-right:auto;
	padding:0;
	/*border:1px dashed #00CC66;*/
}

div.small_nav{
	float:left;
	/*width:910px;*/
	width:510px;
	height:20px;
	padding:5px 0 0 10px;
	text-align:left; 
	font:normal 12px Arial, Verdana, sans-serif;
	color:#999999;
	/*border:1px dashed #00CC66;*/
}

#footer {
	width:760px;
	padding:18px 0 0 150px;
	margin:20px auto 0 auto;
	/*border:1px dashed #00CC66;*/
}

div.small_nav a {
	margin-left:5px;
	margin-right:5px;
}

div.logo{
	clear:both;
	float:left;
	width:300px;
	height:100px;
	margin:0;
	padding:20px 0 0 30px;
	text-align:left;
	/*border:1px dashed #00CC66;*/
}

div.login{
	float:right;
	width:350px;
	height:60px;
	margin:-30px 0 0 0;
	padding:0;
	font:normal 12px Arial, Verdana, sans-serif;
	color:#999999;
	text-align:center;
	/*border:1px dashed #00CC66;*/
}

div.global_nav{
	float:right;
	width:550px;
	height:29px;
	margin:36px 0 0 0;
	padding:0;
	/*border:1px dashed #00CC66;*/
}

div.grey_band{
	background-color:#D4D4D4;
	height:7px;
	line-height:0px;
}

div.purple_band {
	background-color:#294C8E;
	height:3px;
	line-height:0px;
}

div.main_content{
	text-align:left;
	width:920px;
	margin-left:auto;
	margin-right:auto;
	/*border:1px dashed #00CC66;*/
}
#wide {
	width:1200px;
}
div.panel_main{
	float:left;
	width:690px;
	/*height:305px;*/
	margin:20px 0 0 0;
	padding:15px;
	text-align:left;
	font:normal 12px Arial, Verdana, sans-serif;
	border:4px solid #E6E6E6;
}

#no_margin {
	margin:0;
}
#pop_win{
	float:none;
	margin-left:auto;
	margin-right:auto;
	width:500px;
}

#panel_grad2 {
	background-image:url("../images/panel_grad2.jpg");
}

div.panel_right{
	float:right;
	width:182px;
	height:300px;
	margin:20px 0 0 0;
	padding:0 0 0 8px;
	font:normal 12px Arial, Verdana, sans-serif;
	/*border:1px dashed #00CC66;*/
}

div.panel_home_feat1{
	float:left;
	width:220px;
	height:161px;
	margin:10px 10px 0 0;
	padding:0 10px 10px 10px;
	text-align:center;
	font:normal 12px Arial, Verdana, sans-serif;
	border:4px solid #E6E6E6;
	background-image:url("../images/panel_grad1.jpg");
}

div.panel_home_feat2{
	float:left;
	width:376px;
	height:161px;
	margin:10px 0 0 0;
	padding:0 10px 10px 10px;
	text-align:center;
	font:normal 12px Arial, Verdana, sans-serif;
	border:4px solid #E6E6E6;
	background-image:url("../images/panel_grad1.jpg");
}

div.panel_cart{
	float:left;
	width:178px;
	margin:0;
	padding:0;
	font:normal 12px Arial, Verdana, sans-serif;
	border:4px solid #E6E6E6;
	text-align:left;
}

div.panel_right_feat{
	float:left;
	width:168px;
	margin:0;
	padding:0 5px 5px 5px;
	font:normal 12px Arial, Verdana, sans-serif;
	border:4px solid #E6E6E6;
	text-align:left;
	background:white url("../images/grad_small.jpg") top left repeat-x;
}

div.admin_column_450{
	float:left;
	width:450px;
	margin:0;
	padding:0;
	/*border:1px dashed #00CC66;*/
}

/*=============================================================================/
    FORM SELECTORS
/=============================================================================*/

form {
	margin:0;
	padding:0;
}

input, select {
	float:left;
	height:17px;
	padding:2px 1px 1px 2px;
	margin:0 10px 8px 0;
	/*blue
	color:#8E8D89;
	background-color:#F8FAFC;*/
	color:#3B3734;
	background-color:#FEFCF3;
	border:1px solid #8E8D89;
	font:normal 12px Arial, Verdana, sans-serif;
}

#small_margin {
	margin:0 1px 8px 0;
}

input.checkbox {
	border:none;
}

input.button {
	float:left;
	width:70px;
	height:30px;
	padding:5px;
	/* blue
	color:#294C8E;
	background-color:#D3EEFA;
	border:1px solid #0096E6;*/
	color:#FFFFFF;
	background-color:#DE451C;
	border:1px solid #642A14;
}

input.button:hover {
	/* blue
	background-color:#66C3ED;
	color:#FFFFFF;*/
	background-color:#F3BB2A;
	color:#642A14;
}

input.button_image {
	padding:0;
	margin:0;
	border:none;
	height:auto;
}

select { 
	font-size:13px;
	height:22px;
}

textarea {
	float:left;
	padding:2px 1px 1px 2px;
	margin:0 10px 8px 0;
	/*blue
	color:#8E8D89;
	background-color:#F8FAFC;*/
	color:#3B3734;
	background-color:#FEFCF3;
	border:1px solid #8E8D89;
	font:normal 12px Arial, Verdana, sans-serif;
}

input.w25, select.w25 {
	width:25px;
}

input.w30, select.w30 {
	width:30px;
}

input.w40, select.w40 {
	width:40px;
}

input.w50, select.w50 {
	width:50px;
}

input.w55, select.w55 {
	width:55px;
}

input.w70, select.w70 {
	width:70px;
}

input.w140, select.w140 {
	width:140px;
}

input.w150, select.w150 {
	width:150px;
}

input.w180, select.w180 {
	width:180px;
}

.fieldError {
	border:1px solid #CC0000;
	background-color:#FFE1E1;
}
.textNotify {
	float:left;
	height:20px;
	font:italic 12px Arial, Verdana, sans-serif;
	color:#666666;
	margin:0 5px 0 0;
	/*border:1px dashed #00CC66;*/
}
#error {
	color:#CC0000;
}

div.field_label {
	float:left;
	width:200px;
	padding:0 10px 0 0 ;
	font-weight:bold;
	color:#642A14;
	text-align:right;
	/*border:1px dashed #00CC66;
	clear:both;*/
}

div.form_subtitle {
	font-size:14px;
	color:#642A14; 	
	line-height:18px;
	margin:20px 0 0 0;
}

div.field_noedit {
	float:left;
	height:17px;
	padding:2px 2px 1px 2px;
	margin:0 10px 8px 0;
	/*blue
	color:#8E8D89;
	background-color:#F8FAFC;*/
	color:#3B3734;
	background-color:#F1F1F1;
	border:1px solid #8E8D89;
	font:normal 12px Arial, Verdana, sans-serif;
}

/*=============================================================================/
    GLOBAL NAVIGATION
/=============================================================================*/

#navigation {
	float:right;
	/*width:384px;*/
	witdth:474px;
	margin:0;
	padding:0;
	list-style-type:none;
	list-style-image:none;
	}
#navigation li { /* Rollover state */
	float:left;
	display:block;
	height:29px;
	margin:0 0 0 6px;
	background-position:0 -29px;
	background-repeat:no-repeat;
	}
#navigation li a { /* Rolloff state */
	display:block;
	width:100%;
	height:100%;
	background-position:0 0;
	background-repeat:no-repeat;
	}
#navigation li#selected, #navigation li#selected a {
	background-position:0 100%;
	}
#navigation li span {
	/* Hide <a> text and hide off-state image when rolling over (prevents flicker in IE) */
	display:none;
	}
#navigation li a:hover {
	background-image:none !important;
	}

#navigation li.home, #navigation li.home a {
	width:90px;
	background-image:url("../images/nav/tabs_home.gif");
	}
#navigation li.products, #navigation li.products a {
	width:90px;
	background-image:url("../images/nav/tabs_products.gif");
	}
#navigation li.about, #navigation li.about a {
	width:90px;
	background-image:url("../images/nav/tabs_about.gif");
	}
#navigation li.contact, #navigation li.contact a {
	width:90px;
	background-image:url("../images/nav/tabs_contact.gif");
	}
#navigation li.orders, #navigation li.orders a {
	width:90px;
	background-image:url("../images/nav/tabs_orders.gif");
	}
#navigation li.stock, #navigation li.stock a {
	width:90px;
	background-image:url("../images/nav/tabs_stock.gif");
	}
#navigation li.users, #navigation li.users a {
	width:90px;
	background-image:url("../images/nav/tabs_user_data.gif");
	}
#navigation li.promo, #navigation li.promo a {
	width:90px;
	background-image:url("../images/nav/tabs_promo.gif");
	}

/*=============================================================================/
    TEXT ELEMENTS
/=============================================================================*/

div.panel_home_feat1 span.title, div.panel_home_feat2 span.title{	
	font:bold 14px Arial, Verdana, sans-serif;
	color:#0096E6;
	line-height:30px;	
}

/*  removed as image replacements used instead
div.call_action {
	width:80px;
	height:16px;
	margin-top:10px;
	margin-left:auto;
	margin-right:auto;
	padding:2px;
	border:1px solid #0096E6;
	background-color:#FFFFFF;
}

div.call_action a {
	font:bold 12px Arial, Verdana, sans-serif;
	color:#0096E6;
	text-decoration:none;
}

#orange {
	color:#E65B00;
	border-color:E65B00;
}
*/

div.hp_shout {
	float:left; 
	width:175px; 
	height:200px; 
	font:bold italic 28px Arial, Verdana, sans-serif; 
	color:#0096E6; 
	padding:30px; 
	text-align:center;
	/*border:1px dashed #00CC66;*/
}

div.tab_content {
	float:left;
	width:640px;
	padding:25px;
	line-height:1.5;
	border:1px solid #999999;
}

div.products {
	float:left;
	width:690px;
	padding:0;
	background-color:#F1F1F1;
}

#checkout {
	background-color:#D4D4D4;
	padding-bottom:5px;
	font-size:14px;
}

div.checkout_row {
	float:left; 
	width:660px; 
	padding:10px; 
	background-color:#FFFFFF; 
	margin:5px 0 0 5px;
}

#total_row {
	background-color:#FEFCF3;
	padding:5px 10px 5px 10px; 
}

div.product_box {
	float:left;
	width:215px;
	/*height:180px;*/
	margin:10px 0 0 10px;
	padding:0;
	border:1px solid #8E8D89;
	background-color:#FFFFFF;
}

#selector{
	width:670px;
}
div.product_box div.title{
	width:205px;
	font:bold 16px Arial, Verdana, sans-serif;
	color:#FFFFFF;
	padding-left:10px;
	background-color:#8E8D89;
	line-height:30px;	
}

div.product_box div.price{
	width:204px;
	padding:0 0 5px 10px;
	font:bold 14px Arial, Verdana, sans-serif;
	color:#3B3734;
	text-align:left;
}
#rrp {
	font:normal 12px Arial, Verdana, sans-serif;
}

div.notice {
	float:left;
	margin:0;
	padding:10px;
	border:1px solid #66C3ED;
	background-color:#ECF8FD;
}

div.notice_small {
	float:left;
	display:inline;
	margin:0;
	padding:2px;
	font:normal 11px Arial, Verdana, sans-serif;
	border:1px solid #66C3ED;
	background-color:#ECF8FD;
}

span.small{
	font:italic 12px Arial, Verdana, sans-serif;
}

span.small_alert{
	font:italic bold 11px Arial, Verdana, sans-serif;
	color:#D62C2C;
}

div.panel_cart div.title{
	font:bold 14px Arial, Verdana, sans-serif;
	color:#FFFFFF;
	background-color:#8E8D89;
	line-height:20px;	
	width:178px;
	margin-left:-5px;
	text-align:center;
}

div.cart_button {
	float:right;
	width:50px;
	height:12px;
	padding:1px;
	margin:-10px 0 0 5px;
	background-color:#FFFFFF;
	text-align:center;
}

div.cart_button a {
	font:normal 10px Arial, Verdana, sans-serif;
	text-decoration:none;
}

div.cart_button a.update {
	color:#009933;
}

div.cart_button a.remove {
	color:#CC0000;
}

#update {
	border:1px solid #009933;
}

#remove {
	border:1px solid #CC0000;
}

div.row_head {
	float:left;
	width:100px;
	padding:0;
	font-weight:bold;
	color:#642A14;
	clear:both;
}

div.row_head_inline {
	float:left;
	width:100px;
	padding:0;
	font-weight:bold;
	color:#642A14;
}

div.row_order_values {
	float:left;
	padding:2px 5px 2px 0;
}

div.row_data {
	float:left;
	width:100px;
	padding:10px 0 10px 0;
}

#right{
	text-align:right;
}

#width150 {
	width:150px;
}

#width180 {
	width:180px;
}

#width200 {
	width:200px;
}

#width300 {
	width:300px;
}

#width350 {
	width:350px;
}

/*=============================================================================/
    CONTENT TABS
/=============================================================================*/

.shadetabs{
padding:3px 0;
margin-left:0;
margin-top:1px;
margin-bottom:0;
font:bold 12px Arial, Verdana, sans-serif; 
list-style-type:none;
text-align:left; /*set to left, center, or right to align the menu as desired*/
}

.shadetabs li{
display:inline;
margin:0;
}

.shadetabs li a{
text-decoration:none;
position:relative;
z-index:1;
padding:3px 7px;
margin-right:3px;
border:1px solid #999999;
color:#2d2b2b;
background:white url("../images/nav/shade_tab.jpg") top left repeat-x;
}

.shadetabs li a:visited{
color:#2d2b2b;
}

.shadetabs li a:hover{
text-decoration:none;
color:#2d2b2b;
}

/*
.shadetabs li a.selected{ /*selected main tab style 
position:relative;
top:1px;
}
*/

.shadetabs li a.selected{ /*selected main tab style */
position:relative;
background-image:none;
border-bottom-color:white;
}

.shadetabs li a.selected:hover{ /*selected main tab style */
text-decoration:none;
}

.tabcontent{
display:none;
}

@media print {
.tabcontent {
display:block !important;
}
}

/*=============================================================================/
    DATA RETRIEVER
/=============================================================================*/
/*
table {
	margin:0;
	text-align:left;
}
th {
	background-color:#D9E6F2;
	margin:0px;
	padding:4px;
	text-align:center;
	font-size:12px;
	color:#254B6D;
	font-family:Geneva, Arial, Helvetica, sans-serif;
	font-weight:bold;
	border-style:solid;
	border-width:1px;
	border-color:#CCCCCC;
}
td, td.alert {
	margin:0px;
	padding:4px;
	font-family:Geneva, Arial, Helvetica, sans-serif;
	font-size:12px;
	border-style:solid;
	border-width:1px;
	border-color:#CCCCCC;
}

td.alert {
	background-color:#FFAAAA;
}

/*=============================================================================/
    TABLE FORMATS
/=============================================================================*/

table.general
{
    width:100%;
    /*border:1px solid #B3D5E6;*/
    border:8px solid #F0F0F0;
}
#inset {
border:none;
width:98%;
}

table.general thead tr
{
    height:26px;
    /*background: url("../images/sprites_horizontal3.png") repeat-x -0px -240px;*/
    background-color:#F0F0F0;
}
table.general thead tr.soft{
    height:26px;
    /*background: url("../images/sprites_horizontal3.png") repeat-x -0px -2210px;*/
    background-color:#F0F0F0;
}
table.general thead tr th, table.general thead tr.soft th
{
    text-align:left;
    color:#5C6775;
    padding-left:5px;
    vertical-align:middle;
}
table.general thead tr.soft th
{
    color:#8E8E8E;
}
table.general tbody tr
{    
    background-color:#F0F0F0;
    font-size:1em;
    font-weight:normal;
    color:#ABB2BB;
    border:2px solid #5C6775;
    height:28px;

}
table.general tbody tr.last, table.general tbody tr.last:hover
{    
    background-color:#F0F0F0;    
    height:8px;
}

table.general tbody tr.subinvoice
{
    background-color:#FEFCF3;
    height:26px;
}
table.general tbody tr:hover, table.general tbody tr.subinvoice:hover
{
    background-color:#DDE4EC;
}
table.general tbody td
{
    border-bottom: 1px solid #dedede;
    color:#2D2D2D;
    padding:0 5px 0 5px;
    vertical-align:middle;
}


table.general tbody td span.node{
    float:left;
    /*background: url("../images/sprites_elements4.png") no-repeat -330px -720px;*/
    background: url("../images/sprites_elements4.png") no-repeat -227px -738px;
    width:20px;
    height:18px;
    cursor:pointer;
}
table.general tbody td span.subnode{
    float:left;
    /*background: url("../images/sprites_elements4.png") no-repeat -330px -734px;*/
    background: url("../images/sprites_elements4.png") no-repeat -448px -58px;
    width:16px;
    height:9px;
    cursor:pointer;
}
table.general tbody td span.deleteOn, table.general tbody td span.deleteOff{
    display:block;
    text-align:center;
    background: url("../images/sprites_elements4.png") no-repeat -338px -258px;
    width:20px;
    height:20px;
    vertical-align:middle;
    cursor:pointer;
}
table.general tbody td span.deleteOff{
    background: url("../images/sprites_elements4.png") no-repeat -380px -258px;
}
table.general tbody td span.editOn, table.general tbody td span.editOff, table.general tbody td span.editRecord{
    display:block;
    text-align:center;
    background: url("../images/sprites_elements4.png") no-repeat -398px -57px;
    width:20px;
    height:20px;
    cursor:pointer;
}
table.general tbody td span.editOff{
    background: url("../images/sprites_elements4.png") no-repeat -358px -57px;
}
table.general tbody td span.editRecord{
    background: url("../images/sprites_elements4.png") no-repeat -338px -278px;
}
table.general tbody td.alert{
    color:#D62C2C;
}
table.general tbody td.grey{
    color:#c3c3c3;
}

table.general tbody td.Pos, table.general tbody td.Neg  {
    background-color:#EEF8ED;
    font-weight:bold;
    color:#5C6775;
}
table.general tbody td.Neg {
    background-color:#FCE2E3;
}
