/* DEFAULTS
----------------------------------------------------------*/

body   
{
    font-size:12px;
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
    margin: 0px;
    padding: 0px;
    color: #333;
	background: #006BB6;

}
/*
a:link, a:visited
{
    color: #034af3;
}
*/
a:hover {
    text-decoration: none;
}

a:active
{
    color: #034af3;
}

p
{
    margin-bottom: 10px;
    line-height: 1.6em;
}


.right {
    float: right;   
}

/* HEADINGS   
----------------------------------------------------------*/

h1, h2, h3, h4, h5, h6
{
    font-size: 1.5em;
    color: #666666;
    font-variant: small-caps;
    text-transform: none;
    font-weight: 200;
    margin-bottom: 0px;
}

h1 {
    font-size: 1.6em;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

.header h1 {
    font-weight: 700;
    margin: 0px;
    padding: 0px 0px 0px 0px;
    color: #006BB6;
    border: none;
    line-height: 2em;
    font-size: 2em;
    text-align: center;
}


h2
{
    font-size: 1.5em;
    font-weight: 600;
}

h3
{
    font-size: 1.2em;
}

h4
{
    font-size: 1.1em;
}

h5, h6
{
    font-size: 1em;
}

/* this rule styles <h1> and <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2 {
    margin-top: 0px;
}

caption {
    font-size: 1.4em;
    font-weight: 500;
    padding-bottom: 5px;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/
#header-logo {
	background: url(/Images/Spar2.jpg) no-repeat;
	float:left;
	position:relative;
	display:block;	
	width:200px;
	height:75px;
	margin:20px;
	margin-left:8%;
}

#footer-logo {
	background: url(/Images/Diaper-logo.jpg) no-repeat;
	float:left;
	position:relative;
	display:block;	
	width:200px;
	height:75px;
	margin:0px;
}
#wholesaler-logo{
	display: block;
	float: left;
	margin: 20px;
}

.page
{
/*    width: 960px; */
	width:100%;
   background-color: #fff;
    margin:0px auto;
}

.header
{
    position: relative;
    margin: 0px;
    padding: 0px;
    background: #006BB6;
	background:#FFF;
    width: 100%;
}

.main {
    padding: 0px 12px;
    margin: 0px 8%;
    min-height: 420px;
	background:#FFF;
	position:relative;
	float:left;
	width:84%;
	border-radius:5px; -webkit-border-radius:5px; -moz-border-radius:5px;
}

.panel-container {
	position:relative;
	float:left;
	width:100%;
	background:#F4F4F4;
    border-radius: 8px 8px 8px 8px;
	border:none;
	margin:10px 0;
}

.leftCol
{
    padding: 6px 0px;
    margin: 12px 8px 8px 8px;
    width: 200px;
    min-height: 200px;
}

.footer {
    color: #FFF;
    padding: 8px 8% 0px;
    margin: 0px auto;
    text-align: center;
    line-height: normal;
	background: #006BB6;
	height: 50px;
	margin-top:10px;
	position:relative;
	float:left;
    width: 84%;
}


/* TAB MENU   
----------------------------------------------------------*/

div.hideSkiplink {
    background-color:#006BB6;
    width:100%;
}

div.menu {
    padding: 20px 0px 0px 8px;
	margin-left:8%;
}

div.menu ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
    width: auto;
	position:relative;
}

div.menu ul li a {
	border-radius:5px 5px 0 0;	
    color: #dde4ec;
    display: inline-block;
    line-height: 1.35em;
    padding: 4px 20px;
    text-decoration: none;
    white-space: nowrap;
	font-weight:bold;
	float:left;
	margin-right:2px;
	background: #039;
}

div.menu ul li a:hover
{
    background-color: #FFF;
    color: #465c71;
    text-decoration: none;
}

div.menu ul li a:active
{
    background-color: #036;
	color:#FFF;
    text-decoration: none;
}


.menu li a.selected {
	background:#FFF;
	color:#465c71;
}


/* FORM ELEMENTS   
----------------------------------------------------------*/

fieldset
{
	background:#F4F4F4;
    border-radius: 8px 8px 8px 8px;
	border:none;
	margin:10px 0;
	position:relative;
	float:left;
	width:99%;
}


fieldset fieldset {
	width:98%;
	/*border:1px solid green;	*/
}

fieldset p 
{
    margin: 2px 12px 10px 10px;
}

fieldset.login label, fieldset.register label, fieldset.changePassword label
{
    display: block;
}

fieldset label.inline 
{
    display: inline;
}

legend {
    font-size: 1.6em;
    font-weight: 600;
    padding: 2px 4px 8px 4px;
	position:relative;
	color:#006BB6;
	width:100%;
	float:left;
}


input.textEntry 
{
    width: 320px;
    border: 1px solid #ccc;
    padding: 10px;
}

input.passwordEntry 
{
    width: 320px;
    border: 1px solid #ccc;
    padding: 10px;
}

div.accountInfo {
    width: 100%;
}

.filter-element-container {
	text-align:left;
	border-top: 1px solid #EBEBEB;
	width:100%;
	margin:2px 0;	
}

textarea {
	font-family:Arial, Helvetica, sans-serif;	
	font-size:0.95em;
	width:250px;
}


/* TABLES  
----------------------------------------------------------*/
table {
	width:99%;
	position:relative;
	float:left;	
	
	box-shadow:1px 1px 5px #CCC;
	border-radius:2px;
}

table th {
	background:#006BB6;
	color:#FFF;
	border-left: 1px solid #DEDEDE;
	text-align:left;
}

table th a {
	color:#FFF;	
}

table td {
}

tr.gvproduct-pager table {
	width:auto;	
	box-shadow:none;
}

tr.gvproduct-pager table td {
	border:none;
	padding:2px;
}

.gvproduct-pager-button a,
.gvproduct-pager td a {
	background:#069;
	padding:5px 10px;
	border-radius:5px;
	color:#FFF;
	text-decoration:none;
	font-weight:bold;	
}

.gvproduct-pager-button a:hover,
.gvproduct-pager td a:hover {
	background:#039;	
}

.gvtable-default
{
    width: auto;
}

/* REMOVE THIS AW
.gvtable-default tr:last-child td {
	border:none;	
}
*/

/* MISC  
----------------------------------------------------------*/

.clear
{
    clear: both;
}

.title {
    display: block;
    float: left;
    text-align: left;
    /*width: auto;*/
    width: 500px;
	
	/*display:none;*/
}

.loginDisplay {
    font-size: 1.1em;
    display: block;
    text-align: right;
    padding: 10px;
    color: #FFF;
	background:#006BB6;
	width:350px;
	border-radius:0 0 5px 5px;
	margin-bottom:10px;
	float:right;
	margin-right:6%;
}

.loginDisplay a {
	background:#006BB6;
	text-decoration:none;
	/*padding:5px 10px;*/
	border-radius:5px;	
}

.loginDisplay a:link
{
    color: white;
}

.loginDisplay a:visited
{
    color: white;
}

.loginDisplay a:hover
{
    color: white;
}

.failureNotification
{
    font-size: 1.2em;
    color: Red;
}

.bold
{
    font-weight: bold;
}

.submitButton {
    text-align: centre;
	float:left;
    padding-right: 10px;
}


table.gvproduct {
	background:#FFF;
	border:none;	
}

#SaveReportControls 
{
    float:right;
}

/* ---------------------------
	BUTTONS
---------------------------- */
.orderbuttons-container {
	position:relative;
	float:left;
}

.orderbuttons-container table {
	border:none;
	box-shadow:none;	
}

.pobutton-enabled input, .pobutton-disabled, .orderbuttons-container input[type=submit] {
	padding:10px 10px;
	font-weight:bold;
	font-size:12px;
	border-radius:2px;
	color:#FFF;
	border:none;
}

input[type=submit] {
	padding:5px;
	font-weight:bold;
	font-size:12px;
	border-radius:2px;
	color:#FFF;
	border:none	
}
	
input[type=submit] {
	background: #069;	
}

input[type=submit]:hover {
	background: #039;
	cursor:pointer;	
}

.pobutton-enabled input {
	border:none;
	width:100%;
	color:#FFF;	
	border-top:1px solid #060;
	
	background-color: #6AAE53;
    background-image: linear-gradient(rgba(71, 148, 56, 0), #428F33);
    border-color: #579F4A #4E9340 #327527;
    box-shadow: 0 1px 2px 0 rgba(255, 255, 255, 0.15) inset, 0 1px 1px rgba(0, 0, 0, 0.1);
    color: #FFFFFF;
    text-shadow: 0 1px 1px #488739, 0 0 5px rgba(255, 255, 255, 0);
}

.pobutton-enabled input:hover {
	background: #060;
	cursor:pointer;
}

/* disabled button */
.pobutton-disabled {
	background:#CCCCCC;
	color:#aaa;
}


td a {
	color:#069;
	text-decoration:underline;
	text-align:center;
}

.recoverPassword
{
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    background-color: #069;
    color: #FFF;
    padding: 2px 6px 5px 6px;
    border-radius: 2px;
    
}
.recoverPassword:hover
{
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    background-color: #039;
    color: #FFF;
    padding: 2px 6px 5px 6px;
    border-radius: 2px;
    
}

/*	ORDER TOTAL
--------------------------------------------------- */
.viewbasketfooter {
	background:#666699;
	color:#FFF;
	font-weight:bold;	
}


/*	MANAGE ORDERS PAGE
--------------------------------------------------- */

/* --- order and order items details --- */
table#MainContent_DetailsViewWholesalerSettings,
table#MainContent_DetailsViewWholesaler,
table#MainContent_DetailsViewProduct,
table#MainContent_DetailsViewProductPrice,
table#MainContent_DetailsViewOrder,
table#MainContent_DetailsViewOrderItem {
	border:1px solid #CCC;	
	width:auto;
	margin:5px;	
}

/* --- order items details header --- */
td.gvproduct-header-description {
	background:#006BB6;
	color:#FFF;	
	font-weight:bold;
}

/* --- order items details td --- */
#MainContent_DetailsViewWholesalerSettings td,
#MainContent_DetailsViewWholesaler td,
#MainContent_DetailsViewProduct td,
#MainContent_DetailsViewProductPrice td,
#MainContent_DetailsViewOrder td,
#MainContent_DetailsViewOrderItem td {
	border:none;
	border-bottom:1px solid #f2f2f2;
	padding:5px;	
}

#MainContent_DetailsViewProduct input 
{
    width:25%;
}

/* --- order items details edit links --- */
#MainContent_DetailsViewWholesalerSettings td a,
#MainContent_DetailsViewWholesaler td a,
#MainContent_DetailsViewProduct td a,
#MainContent_DetailsViewProductPrice td a,
#MainContent_DetailsViewOrder td a,
#MainContent_DetailsViewOrderItem td a {
	background: none repeat scroll 0 0 #006699;
    border-radius: 5px 5px 5px 5px;
    color: #FFFFFF;
    font-weight: bold;
    padding: 5px 10px;
    text-decoration: none;
}

/* --- Order promoted --- */
tr.gvorders-row.promoted,
tr.gvproduct-row.promoted,
.gvorders-alternaterow.promoted,
.gvproduct-alternaterow.promoted {
	/*color: #006837;*/
	color: #D63237;
    font-weight: bold;
}

/* --- promotion items column highlight --- */
.promotion 
{
}

/* ManageOrders classes */
.status-outstanding {
	color:#F15A24;
	font-weight:bold;
}
.status-confirmed{
    color: #2E3192;
	font-weight:bold;
}
.status-despatched{
    color: #006837;
	font-weight:bold;
}

.scrollable-order-products
{
    height:auto;
    overflow:scroll;
    max-height:450px;
}


/*  USER SETTINGS PAGE
--------------------------------------------------- */
table#MainContent_DetailsViewClient,
table#MainContent_DetailsViewWholesaler {
	border:1px solid #CCC;	
	width:auto;
	margin:5px;	
} 

#MainContent_DetailsViewClient td,
#MainContent_DetailsViewWholesaler td {
	border:none;
	border-bottom:1px solid #f2f2f2;
	padding:5px;	
}

/* --- order items details edit links --- */
#MainContent_DetailsViewClient td a,
#MainContent_DetailsViewWholesaler td a {
	background: none repeat scroll 0 0 #006699;
    border-radius: 5px 5px 5px 5px;
    color: #FFFFFF;
    font-weight: bold;
    padding: 5px 10px;
    text-decoration: none;
}
            

/*	CONFIRM ORDERS PAGE
--------------------------------------------------- */
#MainContent_ReviewOrder_PanelReviewOrder table {
}

#MainContent_ReviewOrder_PanelReviewOrder table td {
	vertical-align: top;
	border-bottom:1px solid #CCC;	
}

/* validators */
.validator-error-message
{
    color: Red;
}

/* manual element on order product page */

.manual-item-button
{
    width: 50px;
}
.manual-item-code
{
    width: 60px;
    text-align:center;
}


/* filter elements */
.filter-element-container, #CheckoutForm > div {
    clear:both;
    padding:5px;
	background:#EBEBEB;
	position:relative;
	float:left;
	width:99%;
	border-top:1px solid #CCC;
	border-bottom:1px solid #f2f2f2;
}

.filter-element-label,  #CheckoutForm > div label {
    width: 200px;
    /*background-color: Lime;*/
    text-align:left;
    position: relative;
    float: left;
    padding: 5px;
	color:#333333;
}

.filter-element-input
{
    position: relative;
    float: left;
    padding: 5px;
}

.filter-element-ddl
{
    position: relative;
    float: left;
    padding: 5px;
}

.filter-element-rbl
{
    position: relative;
    float: left;
    padding: 5px;
}

.filter-element-container td {
	border:none;	
}

/* GridViewProduct classes */
.gvproduct{
    margin: 5px;
}
.gvproduct tr {}

.gvproduct tr td,th {
    padding: 10px;
	border:none;
	border-right:1px solid #ddd;
}

.gvproduct-header-code {
    width: 70px;
}
.gvproduct-item-code {
    text-align: center;
}
.gvproduct-header-country 
{
    width: 100px;
}
.gvproduct-item-country {}
.gvproduct-header-description {}
.gvproduct-item-description {}
.gvproduct-header-cost
{
    width: 80px;
}
.gvproduct-item-cost 
{
    text-align: center;
}
.gvproduct-header-cases
{
    width: 80px;
}
.gvproduct-item-cases 
{
    text-align: center;
}
/* this is a special class for js to find an item. Only use it on one item! */
.gvproduct-item-cases-jstarget
{
    text-align: center;
}
.gvproduct-header-quantity 
{
    width: 80px;
}
.gvproduct-item-quantity 
{
    text-align: center;
}
/* this is a special class for js to find an item. Only use it on one item! */
.gvproduct-item-quantity-jstarget
{
    text-align: center;
}
.gvproduct-item-quantity-totals 
{
    text-align: right;
}
.gvproduct-header-orderlevel
{
    width: 50px;
}
.gvproduct-item-orderlevel
{
    text-align: center;
}
.gvproduct-header-edit
{
    width: 120px;
}
.gvproduct-item-edit
{
    text-align: center;
}
.gvproduct-item-edit a
{
    padding-left: 5px;
    padding-right: 5px;
}


/* --- Table rows --- */

.gvproduct-row,
.gvproduct-alternaterow,
.gvorders-row,
.gvorders-alternaterow,
.gvorders-selected-row {
	border-bottom:1px solid #f2f2f2;
}

.gvproduct-row,
.gvorders-row {
    background-color: #fff;
}

.gvproduct-alternaterow,
.gvorders-alternaterow {
    background-color: #eee;
}

/* --- Table row selected --- */
.gvorders-selected-row {
    background-color:#7FCDEE;
}

.gvproduct-selected-row {
    background-color:#7FCDEE;
}

/* JS row selector */
.gvproduct-row-selected,
.gvproduct-alternaterow-selected,
.gvproduct-row.promoted-selected,
.gvproduct-alternaterow.promoted-selected,
.gvorders-row-selected,
.gvorders-alternaterow-selected
{
    background-color:#7FCDEE;
}




.gvproduct-pager{}
.gvproduct-pager td table {
    position:relative;
    float:left;
}

/* no-script warnings */
.no-script-warning {
    margin: 10px;
    padding: 20px;
    border: 5px solid #C00;
	color:#000;
	font-weight:bold;
	font-size:1.2em;
	text-align:center;
    background-color: #CCC;
}
.no-script-warning p
{
 font-weight:bold;
}

.gvorder-header-edit
{
    width: 50px;
}
.gvorder-item-edit
{
    text-align: center;
}
.gvorders-item-bold
{
    font-weight: bold;
}

/* product order button control */
.pobutton-disabled{}
.pobutton-enabled{}

/* gridview / details view error value */
.error-value
{
    color: Red;
}

/*
.validator-error-message {
	border:1px solid red;
	background:#FFF;
	position:absolute;
	width:400px;
	height:200px;
	z-index:100;
}
*/

.dvwholesaler-description
{
    width: 200px;
}

.price-file-upload 
{ 
    border: 1px solid blue; width: 600px; 
}

/* Added by jmg for import tables */
table.importTable {
	font-family: verdana,arial,sans-serif;
	font-size:11px;
	color:#333333;
	border-width: 1px;
	border-color: #666666;
	border-collapse: collapse;
	margin-bottom:20px;
}
table.importTable th {
	border-width: 1px;
	padding: 8px;
	color: #000000;
	border-style: solid;
	border-color: #666666;
	background-color: #dedede;
}
table.importTable td {
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #666666;
	background-color: #ffffff;
}
p.importTable
{
    font-family: verdana,arial,sans-serif;
	font-size:16px;
	color:#333333;
}
h1.importTable
{
    font-family: verdana,arial,sans-serif;
	font-size:28px;
	color:#333333;
}
hr.importTable {
    border: 0; 
    height: 1px; 
    background: #333; 
    background-image: -webkit-linear-gradient(left, #ccc, #333, #ccc); 
    background-image: -moz-linear-gradient(left, #ccc, #333, #ccc); 
    background-image: -ms-linear-gradient(left, #ccc, #333, #ccc); 
    background-image: -o-linear-gradient(left, #ccc, #333, #ccc);
}

/* Product update messages
--------------------------------------------------- */
.productUpdateMessage
{
    clear: both;
    width: 96%;
    padding: 1% 2%;
    background-color: #FFFFAA;
}
.productUpdateMessage p
{
    font-size: 16px;
    color: #385E0F;
    padding:0;
    margin:0;
}
/*	DEBUG
--------------------------------------------------- */
#MainContent_Orderproducts1_PanelDebug,
#MainContent_PanelDebug {
	position:relative;
	float:left;
	width:100%;	
}  