/*======================================
  HEPPLEWHITE SOFTWARE STYLESHEET
  --------------------------------------
  Copyright : Image+ Limited
  Author    : Adam Brett
  Revision  : 1
  Date      : 9 Feb 2009
======================================*/
 
/**************************************\
|------------COLOR SCHEME--------------|
|--------------------------------------|
- black		#000
- white		#fff
\**************************************/


/**************************************/
/*              GLOBALS               */
/**************************************/
a, a:visited {
	color: #6CADDF;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

h1, h2 {
	color: #65ABDF;
	font-size: 14px;
	font-style: italic;

}

h1 {
	padding:0em 0 0.0em !important;
	font-weight: normal;
}

legend {
	display: none;
}

td, th {
	padding: 0.7em;
}

#wrapper {
	color: #666;
	font-size: 12px;
	margin: 0 auto;
	width: 90%;
}

p {
	line-height: 1.5em;
}

input.text,
input.password {
	height: 16px;
}

.highlight {
	background: transparent;
	color: #CC0000;
	font-style: italic;
}

div.error-message {
	text-align: right;
	margin: 5px 0 0;
}

div.radio input {
	clear: left !important;
	display: block !important;
	float: left !important;
	margin: 5px !important;
	padding: 0 !important;
}

div.radio label {
	clear: right !important;
	display: block !important;
	float: left !important;
	margin: 5px !important;
	padding: 0 !important;
}

/**************************************/
/*              HEADER                */
/**************************************/
#header {
	height: 86px;
	margin-top: 40px;
}

#logo {
	float: left;
	margin-right: 34px;
	width: 253px;
}

#banner {
	float: left;
	width: 513px;
}

/**************************************/
/*             NAVIGATION             */
/**************************************/
#pages ol, #menu ul {
	list-style-type: none;
	margin-left: 287px;
	margin-top:10px;
}

#menu ul {
	margin-left: 201px;
}

#menu ul {
	margin-top: 0;
}

#menu li {
	display: block;
	float: right;
	margin-left: 10px;
}

#pages li {
	background: url(../img/numbers.png) no-repeat;
	display: block;
	float: left;
	height: 25px;
	margin-left: 10px;
	text-indent: -9999px;
	width: 25px;
}

#pages li.step-1 {
	background-position: 0 -25px;
}

#pages li.step-2 {
	background-position: -26px -25px;
}

#pages li.step-3 {
	background-position: -52px -25px;
}

#pages li.step-4 {
	background-position: -78px -25px;
}

#pages li.step-5 {
	background-position: -104px -25px;
}

#pages ol.step-1 li.step-1 {
	background-position: 0 0;
}

#pages ol.step-2 li.step-1,
#pages ol.step-3 li.step-1,
#pages ol.step-4 li.step-1,
#pages ol.step-5 li.step-1 {
	background-position: 0 -50px;
}

#pages ol.step-2 li.step-2 {
	background-position: -26px 0;
}

#pages ol.step-3 li.step-2,
#pages ol.step-4 li.step-2,
#pages ol.step-5 li.step-2 {
	background-position: -26px -50px;
}

#pages ol.step-3 li.step-3 {
	background-position: -52px 0;
}

#pages ol.step-4 li.step-3,
#pages ol.step-5 li.step-3 {
	background-position: -52px -50px;
}

#pages ol.step-4 li.step-4 {
	background-position: -78px 0;
}

#pages ol.step-5 li.step-4 {
	background-position: -78px -50px;
}

#pages ol.step-5 li.step-5 {
	background-position: -104px 0;
}

/**************************************/
/*            MAIN CONTENT            */
/**************************************/
#content {
	border: 1px solid #ccc;
	margin-top: 28px;
}

#top {
	border-bottom: 1px solid #ccc;
	height: 44px;
	padding: 0 9px 0 15px;
}

#heading {
	float: left;
	margin-right: 34px;
	width: 160px;
}

#pages {
	float: left;
	width: 502px;
}

#step {
	background: #f7f7f7;
	border-bottom: 1px solid #ccc;
	padding: 5px;
}

#step h2 {
	border-bottom: 1px solid #ccc;
	margin-top: 0;
	padding-bottom: 5px;
}

#myorders, #paging {
	float: left;
	padding: 15px 15px 10px;
	width: 369px;
}

#paging {
	text-align: right;
}

/* register */
#page.register #register {
	background: #fff;
	border: 1px solid #ccc;
	height: 198px;
	padding: 15px;
	width: auto !important;
}

#page.register #register #your_details {
	border-right: 1px solid #ccc;
	float: left;
	margin-right: 20px;
	padding: 15px 20px 0 0;
	width: 315px;
}


#page.register #register #invoice_address {
	float: left;
	padding-top: 15px;
}

#page.register #register label {
	display: block;
	float: left;
	width: 105px;
}

#page.register #register input.text {
	position: relative;
	bottom: 10px;
	width: 175px;
}

#page.register #register img {
	position: relative;
	bottom: 3px;
}

#page.register #register textarea {
	height: 75px;
	position: relative;
	bottom: 3px;
	width: 200px;
}

#page.register #register div.submit input {
	float: right;
}

/* login */
#page.login {
	padding-bottom: 54px;
}

#register {
	background: #fff;
	border: 1px solid #ccc;
	float: left;
	height: 198px;
	margin-right: 20px;
	padding: 15px;
	position: relative;
	width: 318px;
}

#register a.button {
	margin-top: 13px;
}

#login div.submit,
#register div.button {
	text-align: right;
}

#register div.button,
#login div.button {
	border-top: 1px solid #ccc;
	bottom: 0;
	height: 50px;
	left: 0;
	margin: 0;
	position: absolute;
	width: 100%;
}

#login {
	background: #fff;
	border: 1px solid #ccc;
	float: left;
	height: 198px;
	padding: 15px;
	position: relative;
	width: 318px;
}

#login div.button p,
#login div.submit {
	float: left;
	line-height: 30px;
	margin: 0;
	width: 50%;
}

#login div.button p {
	padding-left: 3%;
	width: 47%;
}

#login div.submit {
	margin-top: 15px;
}

#login label {
	display: block;
	float: left;
	width: 75px;
}

#login input.text,
#login input.password {
	position: relative;
	bottom: 10px;
	width: 200px;
}

#login img {
	position: relative;
	bottom: 3px;
}

/* accountinfo */
#accountinfo {
	background: #fff;
	border: 1px solid #ccc;
	padding: 15px;
}

#accountinfo #orderinfo {
	border-right: 1px solid #ccc;
	float: left;
	margin-right: 20px;
	padding: 15px 20px 0 0;
	width: 315px;
}


#accountinfo #addresses {
	float: left;
	padding-top: 15px;
}

#accountinfo label {
	display: block;
	float: left;
	width: 105px;
}

#accountinfo input.text {
	position: relative;
	bottom: 10px;
	width: 175px;
}

#accountinfo div.error input.text {
	width: 155px;
}

#accountinfo img {
	position: relative;
	bottom: 3px;
	left: 5px;
}

#accountinfo textarea {
	height: 75px;
	position: relative;
	bottom: 3px;
	width: 224px;
}

#accountinfo div.error textarea {
	width: 200px;
}

/* discount-range */
#discount-range {
	background: #fff;
	border: 1px solid #ccc;
	padding: 15px;
}

#discount-range div.left {
	float: left;
	padding: 15px;
	width: 325px;
}

#range {
	padding-top: 5px;
}

#handles {
	border: 1px solid #ccc;
	float: right;
	margin-top: 10px;
	padding: 15px;
	width: 270px;
}

#discount-range label {
	display: block;
	float: left;
	width: 150px;
	height:20px;
}

#discount-range input.text,
#discount-range select {
	position: relative;
	bottom: 10px;
	width: 140px;
}

#discount-range select {
	padding: 0;
	height: 22px;
	width: 150px;
}

#discount-range img {
	bottom: 3px;
	left: 5px;
	position: relative;
}

#discount-range div.radio input,
#discount-range div.radio label {
	display: inline;
	float: none;
	margin-bottom: 8px;
}

/* add-items */
#add-items #form div {
	float: left;
	margin-right: 5px;
}
#add-items #form label {
	color: #65ABDF;
	display: block;
	font-style: italic;
	margin-bottom: 3px;
}

#add-items #form div.submit {
	margin-right: 0;
	margin-top: 13px;
}

#add-items form #ItemsOrderQty {
	width: 30px;
}

#add-items form #ItemsOrderCode {
	width: 95px;
}

#add-items form #ItemsOrderDescription {
	width: 331px;
}

#add-items form #ItemsOrderPrice {
	width: 95px;
}

#orderdetails h2 {
	border-bottom: none;
}

#orderdetails div.scroll {
	height: 400px;
	padding-right: 10px;
	margin-bottom: 10px;
	overflow: auto;
}

#orderdetails table {
	border: 1px solid #ccc;
	border-collapse: separate;
	margin-bottom: 1px;
	width: 100%;
}

#orderdetails table th {
	background: #6AADE0;
	border: 1px solid #fff;
	border-left: none;
	color: #fff;
	padding: 0.4em;
}

#orderdetails table td {

	border: 1px solid #fff;
	border-left: none;
	border-top: none;
	padding: 0.4em;
}

#orderdetails table tr.altrow td {
	background: #F0F0F0;
}

#orderdetails table tr td:first-child,
#orderdetails table tr th:first-child {
	border-left: 1px solid #fff;
}

#ordertotals h2 {
	border-bottom: none;
}

#ordertotals div.left,
#ordertotals div.right {
	float: left;
	width: 50%;
}

#ordertotals div.right {
	text-align: right;
}

#ordertotals div.right table {
	border: 0;
	border-collapse: separate;
	float: right;
}
#ordertotals div.right table tr {
	display: block;
	margin-bottom: 5px;
}

#ordertotals div.right table th {
	border: 0;
	margin-bottom: 5px;
	padding: 5px;
	width: 135px;
}

#ordertotals div.right table td {
	background: #fff;
	border: 1px solid #ccc;
	margin-bottom: 5px;
	padding: 5px;
	text-align: right;
	width: 65px;
}

#ordertotals ul,
#ordertotals li {
	margin: 0;
	padding: 0;
}

#ordertotals ul {
	margin-top: 75px;
}

#ordertotals li {
	display: block;
	float: left;
}

/* confirm */
#confirm {
	background: #fff;
	border: 1px solid #ccc;
	padding: 15px;
}

#confirm label {
	line-height: 25px;
	display: block;
	float: left;
	margin-right: 15px;
	padding-top: 2px;
	text-align: right;
	width: 70px;
	line-height: 25px;
}

#confirm textarea {
	height: 120px;
	width: 600px;
}

#thanks {
	color: #6AACDF;
	background: #fff;
	border: 1px solid #ccc;
	font-size: 16px;
	font-weight: bold;
	padding: 100px 20px;
	text-align: center;
}

#page div.index {
	background: #fff;
	border: 1px solid #ccc;
	padding: 15px;
	width: auto !important;
}


#page div.index table {
	border: 1px solid #fff;
	width: 100%;
}

#page div.index table th {
	background: #6AADE0;
	border: 1px solid #fff;
	color: #fff;
}

#page div.index table th a {
	color: #fff;
	text-decoration: none;
}

#page div.index table th a:hover {
	text-decoration: underline;
}

#page div.index table td {
	background: #E7E7E7;
	border: 1px solid #fff;
}

#page div.index table tr.altrow td {
	background: #F0F0F0;
	border: 1px solid #fff;
}

/* request change */
#page.orders div.change {
	background: #fff;
	border: 1px solid #ccc;
	padding: 15px;
	width: auto !important;
}

#page.orders div.change label {
	display: block;
	float: left;
	line-height: 20px;
	width: 150px;
}

#page.orders div.change textarea {
	clear: left;
	display: block;
	width: 100%;
}

/* service order */
#service #form div {
	float: left;
	margin-right: 5px;
}
#service #form label {
	color: #65ABDF;
	display: block;
	font-style: italic;
	margin-bottom: 3px;
}

#service #form div.submit {
	margin-right: 0;
	margin-top: 13px;
}

#service #form #ItemsOrderQty {
	width: 30px;
}

#service #form #ItemsOrderCode {
	width: 95px;
}

#service #form #ItemsOrderDescription {
	width: 331px;
}

#service #form #ItemsOrderPrice {
	width: 95px;
}

.service #old-order {
	background: #fff;
	border: 1px solid #ccc;
	padding: 10px 10px 2px;
	width: auto !important;
}

.service #old-order label {
	display: block;
	float: left;
	line-height: 20px;
	width: 150px;
}

.service #old-order div {
	float: left;
	width: 40%;
}

/* order view */
div.orders div.view,
div.orders div.history,
div.orders div.notes,
div.orders div.fields {
	background: #fff;
	border: 1px solid #ccc;
	float: left;
	margin: 5px;
	padding: 10px;
	width: 332px;
}

div.orders div.history {
	clear: left;
}

div.orders div.clear {
	float: none;
	margin-top: 10px;
	width: auto !important;
}

div.orders div.scroll table {
	width: 100%;
}

div.orders div.scroll table th {
	background: #6AADE0;
	border: 1px solid #fff;
	color: #fff;
}

div.orders div.scroll table th a {
	color: #fff;
	text-decoration: none;
}

div.orders div.scroll table th a:hover {
	text-decoration: underline;
}

div.orders div.scroll table td {
	background: #E7E7E7;
	border: 1px solid #fff;
}

div.orders div.scroll table tr.altrow td {
	background: #F0F0F0;
	border: 1px solid #fff;
}

div.orders div.scroll {
	height: 154px;
	overflow: auto;
}

/* admin order edit */
#OrderAdminEditForm div.fields label,
#OrderAdminEditForm div.notes label,
#OrderViewForm div.fields label,
#OrderViewForm div.notes label{
	color: #6CADDF;
	display: block;
	float: left;
	font-size: 12px;
	font-style: italic;
	font-weight: bold;
	line-height: 40px;
	margin-right: 15px;
	width: 79px;
}

#OrderAdminEditForm div.notes label,
#OrderViewForm div.notes label{
	border-bottom: 1px solid #CCCCCC;
	float: none;
	font-size: 14px;
	line-height: inherit;
	margin: 0 0 10px 0;
	padding-bottom: 5px;
	width: auto;
}

#OrderAdminEditForm div.fields input,
#OrderAdminEditForm div.fields select,
#OrderViewForm div.fields input,
#OrderViewForm div.fields select{
	margin: 6px 0 0;
	width: 227px;
}

#OrderAdminEditForm div.submit {
	border: none !important;
	float: right;
	margin: 0;
	padding-top: 15px;
}

#OrderAdminEditForm div.submit input {
	margin-bottom: 0;
	width: auto;
}

#OrderAdminEditForm div.notes textarea,
#OrderViewForm div.notes textarea {
	height: 216px;
	width: 322px;
}

#OrderAdminEditForm div.fields div,
#OrderViewForm div.fields div {
	border-bottom: 1px solid #ddd;
	height: 40px;
	margin: 0;
}

#OrderAdminEditForm div.fields div p,
#OrderViewForm div.fields div p{
	line-height: 40px;
	margin: 0;
}

div.history ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

div.history li {
	background: #E7E7E7;
	border-bottom: 1px solid #fff;
	font-size: 11px;
	font-style: italic;
	font-weight: bold;
	line-height: 30px;
	margin: 0;
	padding: 0 0 0 10px;
}

div.history li.altrow {
	background: #F0F0F0;
	border-bottom: 1px solid #fff;
}

div.history li span {
	color: #6CADDF;
}

/* admin retailer edit */
#page.retailers div.form {
	background: #fff;
	border: 1px solid #ccc;
	padding: 15px;
}

#page.retailers div.form div.left,
#page.retailers div.form div.right {
	float: left;
	padding: 10px;
	width: 327px;
}

#page.retailers div.form div.left {
	border-right: 1px solid #ccc;
}

#page.retailers div.form label {
	display: block;
	float: left;
	line-height: 20px;
	width: 160px;
}

#page.retailers div.form div.left,
#page.retailers div.form div.right,
#page.retailers div.form div.buttons {
	margin-bottom: 0;
}

#page.retailers div.form div.right label {
	width: 105px;
}

#page.retailers div.form div.text input {
	width: 156px;
}

#page.retailers div.form textarea {
	width: 211px;
}

#page.retailers div.form div.right div.buttons {
	text-align: right;
}

/* item upload */
#page.items div.upload {
	background: #fff;
	border: 1px solid #ccc;
	padding: 15px;
	text-align: left;
}

#page.items div.upload #fields {
	margin: 0 auto;
	width: 300px;
}

#page.items div.upload label {
	color: #6CADDF;
	display: block;
	font-size: 12px;
	font-style: italic;
	font-weight: bold;
	margin-bottom: 10px;
}

/* print order */
#print_order {
	line-height: 1.4em;
	padding: 3%;
}

#print_order h2 {
	margin-top: 0;
}

#print_order #contact_details,
#print_order #order_details {
	float: left;
	width: 45%;
}

#print_order #contact_details {
	float: right;
	text-align: right;
}

#print_order #contact_details span {
	display: block;
	float: left;
	font-weight: bold;
	text-align: right;
	width: 200px;
}

#print_order #order_details span {
	display: block;
	float: left;
	font-weight: bold;
	width: 150px;
}

#print_order #addresses {
	clear: both;
	padding-top: 3%;
}

#print_order #addresses #invoice_address,
#print_order #addresses #delivery_address {
	border: 1px solid #ccc;
	float: left;
	padding: 2%;
	width: 42%;
}

#print_order #addresses #delivery_address {
	margin-right: 7%;
}

#print_order #discounts,
#print_order #range_details {
	float: left;
	padding: 3% 2%;
	text-align: right;
	width: 43%;
}

#print_order #discounts {
	float: right;
}

#print_order #discounts h2,
#print_order #range_details h2 {
	text-align: left;
}

#print_order #discounts span,
#print_order #range_details span {
	display: block;
	float: left;
	font-weight: bold;
	text-align: left;
	width: 140px;
}

#print_order #discounts span {
	width: 155px;
}

#print_order #items {
	clear: both;
	padding-top: 1%;
}

#print_order #items table {
	width: 100%;
}

#print_order #totals {
	float: right;
}

#print_order #totals table td {
	text-align: right;
}

#print_order #notes {
	border: 1px solid #ccc;
	padding: 2%;
	width: 60%;
}

/**************************************/
/*               FOOTER               */
/**************************************/
#copyright, #links {
	color: #6CADDF;
	float: left;
	font-size: 11px;
	width: 50%;
}

#links {
	text-align: right;
}

#links li {
	display: inline;
	margin: 0;
}

#links li:before {
	content: "| ";
}

#links li:first-child:before {
	content: "";
}

.cake-sql-log {
	clear: both;
	width: 100%;
}

.special td {background:#E6EFC2 !important;color:#264409 !important;}

.fields div.input  {
	clear: both;
}

/* simple css-based tooltip */
div.tooltip {
    background-color:#6CADDF;
    border:1px solid #fff;
    padding:10px 15px;
    width:200px;
    display:none;
    color:#fff;
    text-align:left;
    font-size:12px;

    /* outline radius for mozilla/firefox only */
    -moz-box-shadow:0 0 10px #6CADDF;
    -webkit-box-shadow:0 0 10px #6CADDF;
}