/* 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, 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,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video{
	margin:0;
	padding:0;
	border:0;
	font-size:100%;
	font:inherit;
	font-family:clean, sans-serif;
}
/* Body properties */
body{
	margin:0;
	background-color:#ededed;
	color:#333;
	font-size:0.85em;
	font-family:Arial, Helvetica, sans-serif;
}
body.printbody{
	margin:0;
	padding:0;
	background-image:none;
	color:#000;
	font-size:11px;
	font-family:Arial, Helvetica, sans-serif;
}
h1{
	font-size: 2em; margin-top: 0.67em; margin-bottom: 0.67em; margin-left: 0; margin-right: 0; font-weight: bold;
}
.itemsdefine{
	color:#333;
	font-size:24px;
	text-align:center;
	padding:24px;
}
div.ectopaque{
overflow-y:auto;
position:fixed;
width:100%;
height:100%;
background-color:rgba(140,140,150,0.5);
top:0px;
left:0px;
z-index:10000;
}
div.ectsoftwrapper{
margin:120px auto 0 auto;
background:#FFF;
max-width:600px;
width:98%;
padding:6px;
border-radius:5px;
box-shadow:1px 1px 5px #333;
font-family:FontAwesome,sans-serif;
box-sizing:border-box;
}
div.imageupload{
padding:20px;
text-align:center;
}
div.imageuploadfile{
text-align:center;
border:dotted;
border-radius:10px;
padding:5% 5%;
margin-bottom:1rem;
}
div.imageuploadfile.hoverwithfile{
border:solid;
background-color:#BEB;
}
/* Page Bar */
span.pagebarsep::after{
	content:" | ";
}
span.pagebarquo{
	font-family:Verdana;
	font-weight:bold;
}
/* Admin Orders Tables */
div.container{
	overflow:auto;
	padding:4px 2px;
	display: flex;
    align-items: center;
}
div.left{
	width:40%;
	text-align:right;
}
div.right{
	width:60%;
	text-align:left;
}
div.left,div.right,div.colheading{
	padding:2px;
	box-sizing:border-box;
}
div.colheading{
	text-align:center;
	padding:10px;
	font-weight:bold;
}
div.largescreenquant{
	display:table-cell;
}
div.smallscreenquant{
	display:none;
}
div.ectorderrow{
	display:table-row;
}
div.ectorderrow > div{
	display:table-cell;
	padding:5px 2px 5px 0px;
	vertical-align:middle;
}
div.orddetailsimg{
	text-align:center;
	display:inline-block;
}
img.orddetailsimg{
	max-width:75px;
}
div.ecttotalcolumn{
	width:50%;
	display:inline-block;
	box-sizing:border-box;
}
div.ecttotaltable{
	margin:auto;
	display:table;
}
div.ectorderfunctions{
	width:50%;
	display:inline-block;
	box-sizing:border-box;
}
div.ecttotalrow{
	display:table-row;
}
div.ecttotalrow > div{
	display:table-cell;
	padding:2px 10px 2px 2px;
}
div.ordergrandtotal{
	font-weight:bold;
}
hr.ordertotals{
	width:80%;
	border:1px dashed grey;
	margin:10px;
}
div.optionstable{
	display:table;
	width:100%;
}
div.optionstablerow{
	display:table-row;
}
div.optionstablerow > div{
	display:table-cell;
	white-space:nowrap;
}
div.optionstableleft{
	padding:4px;
	width:30%;
	text-align:right;
}
input.orderprice{
	width:60px;
}
div.ordpackage{
	display:table;
	font-size:0.9em;
	color:#404040;
}
div.ordpackagerow{
	display:table-row;
}
div.ordpackagerow > div{
	display:table-cell;
	padding:2px;
}
div.orderid,div.orderdate{
	padding:5px 2px;
}
div.orderslist{
	display:table;
	width:100%;
}
div.ordersheadrow{
	display:table-row;
}
div.ordersheadrow > div{
	display:table-cell;
	white-space:nowrap;
	height:42px;
	vertical-align:middle;
	color:#fff;
	background:#333;
	padding:1px;
}
div.ordersheadrow > div a{
	color:#ededed;
}
div.ordersheadrow > div a:hover{
	color:#fff;
}
div.orderslistrow{
	display:table-row;
}
div.orderslistrow > div{
	display:table-cell;
	white-space:nowrap;
	height:38px;
	vertical-align:middle;
	border-bottom:1px solid #ededed;
}
div.orderslistrow:hover{
	background:#ededed;
	color:#333;
}
div.ordernavigation,div.orderpagebar{
	padding:20px 0px 0px 0px;
	text-align:center;
}
div.ordersdate{
	font-size:0.7em;
}
div.orderssearch{
	display:table;
	width:100%;
	border-collapse:collapse;
	margin-bottom:2px;
}
div.orderssearchrow{
	display:table-row;
}
div.orderssearchrow > div{
	display:table-cell;
	border:1px solid #ededed;
	padding:2px;
	width:25%;
	box-sizing:border-box;
}
select.ordstatus{
	max-width:200px;
}
input.ordsearchtext{
	width:165px;
}
div.address,div.shipaddress,div.adddetails,div.orderstatus,div.shipping,div.authcapture,div.imgupload{
	width:49%;
	min-height:100px;
	border:1px solid #ccc;
	display:inline-block;
	vertical-align:top;
	margin:4px 0.5%;
	padding:6px 2px;
	box-sizing:border-box;
}
div.producttable{
	display:table;
	width:100%;
	table-layout:auto;
	margin-top:10px;
}
div.buttons{
	margin-bottom:10px;
}
div.orderoptgrp,div.orderoption{
	display:inline;
}
div.orderoptgrp::after{
	content:": ";
}
div.ectgiftwraprow{
	background-color:#aaffaa;
}
div.cart3servicecommitment{
font-size:13px;
margin-left:10px;
display:inline-block;
color:#006600;
}
div.shiprateline{
padding:4px 0;
}
div.lineitems{
margin:5px;
border:1px solid lightgrey;
}
div.lineitem {
	margin:3px;
	padding:2px;
	display:flex;
	align-items:center;
}
div.lineitem:hover{
	background-color:#CCC;
}
div.lineitem > a{
	flex-grow:1;
}
/* CSS Tables */
div.ecttable{
	display:table;
	margin:0 0 10px 0;
	width:100%;
	text-align:left;
	padding:10px;
	border-collapse:collapse;
}
div.ecttablerow{
	display:table-row;
}
div.ecttablerow > div{
	display:table-cell;
	padding:5px;
}
div.ecttablehead > div{
	font-weight:bold;
	color:#333;
}
div.ectorderhead > div{
	font-weight:bold;
}
select.ordactionsel{
	width:86px;
}
div.buttonleft,div.buttonright,div.idanddate{
	display:inline-block;
	text-align:center;
	min-height:5px;
}
div.buttonleft,div.buttonright{
	width:33%;
}
div.bottombuttonleft,div.bottombuttonright{
	display:inline-block;
	text-align:center;
	width:50%;
	padding:10px;
	box-sizing:border-box;
}
div.idanddate{
	width:34%;
}
div.bottombuttongroup{
	display:inline-block;
}
/* Calendar */
div.ectcalendar{
	box-shadow:0 5px 15px 0 rgba(0,0,0,0.25);
	font-family:arial;
	font-size:11px;
	border:1px solid #a6a6a6;
	font-family:arial;
	font-size:11px;
	background-color:#fff;
}
div.ectcaldayno1{
	color:#a6a6a6;
}
table.ectcalheader{
	margin:1px;
	padding:2px;
	width:99.4%;
	color:#fff;
	font-weight:bold;
	background-color:#333;
}
div.ectcaltodaydate{
	background-color:#f6f6f6;
	padding:5px;
	text-align:center;
}
table.ectcalselector{
	font-family:arial;
	font-size:11px;
	border:1px solid #d5d5d5;
	background-color:#ff9933;
	border-collapse:collapse;
	min-width:50px;
}
td.ectcalselector{
    border:1px solid #333;
	padding:3px;
}
div.ectcaldate{
}
div.ectcaldateholiday{
	background-color:#ededed;
}
div.ectcaltoday{
	font-weight:bold;
	color:#f00;
	border:1px solid #a6a6a6;
}
table.ectcalheader td{
	padding:2px;
	font-family:arial;
	font-size:12px;
}
table.ectcaldates{
	font-family:verdana;
	font-size:10px;
}
/* DB Utility Tables */
div.ectdbsection{max-height:500px;overflow:auto;border:1px solid grey;margin:10px;padding:10px;min-width:50%}
div.ectdbtable{display:table;margin-bottom:20px}
div.ectdbhead{display:table-row}
div.ectdbrow_cnt{display:table-row}
div.ectdbrow_cnt:hover{background:#f6f6f6}
div.ectdbheadrow{display:table-cell;padding:10px 60px 10px 4px;font-weight:bold; border-bottom:1px solid #a6a6a6}
div.ectdbrow{display:table-cell;padding:10px 60px 10px 4px;border-bottom:1px solid #f6f6f6}
/* Typography & colours */
h2, #main .heading{
	font-size:1.25em;
	font-weight:bold;
	padding:5px 0;
	border-bottom:1px dashed #888;
	margin-bottom:20px;
	color:#333;
	text-transform:uppercase;
	text-align:left;
}
h3{
	background-color:#333;
	margin:1px 0;
	padding:5px;
	color:#fff;
	font-size:1em;
}
h3 a{
	color:#ededed;
}
h3 a:hover{
	color:#fff;
}
h4{
	font-weight:bold;
	margin-bottom:10px;
	font-size:1.1em;
}
p{
	margin-bottom:10px;
	line-height:150%;
}
#adminfooter h4{
	text-transform:uppercase;
	padding-bottom:5px;
	margin-bottom:10px;
	border-bottom:1px dashed #d5d5d5;
}
.ectred{
	color:#ff0000;
}
.ectred a{
	color:#ff0000;
}
span.redstar{
color:#FF1010;
}
small, .small{
	font-size:10px;
}
strong{
	font-weight:bold;
}
/* Table base styles */
tr.maintablehidden{
	display:none;
}
table p{
	margin-bottom:0;
}
table td{
	padding:6px 5px;
	font-size:100%;
}
table th{
	padding:10px 5px;
	font-size:100%;
	border-bottom:5px solid #fff;
}
table th{
	font-size:1.1em;
}
/* Form styles */
input[type="text"],
input[type="password"],
select,
textarea{
	padding:5px;
	border:1px solid #faa21b;
	border-radius:2px;
	max-width:96%;
	color:#333;
	box-sizing:border-box;
}
input[type="text"]:disabled{
	background-color:#EEE;
}
input[type="text"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus{
	border:1px solid #333;
	color:#111;
	outline:none;
}
div.htmleditorcontainer{
	border:1px solid #faa21b;
	padding:5px;
	text-align:left;
}
select.adminhomestats{
	padding:0px 3px;
	vertical-align:top;
}
input.small_input{
	max-width:50px;
}
input.tiny_input{
	max-width:30px;
}
select.staticopts{
	width:100%;
}
/* these are overridden in the layout.css to ensure they fit at small screen sizes. */
textarea.smalltxt{
	min-width:350px;
	min-height:90px;
}
textarea.largetxt{
	min-width:350px;
	min-height:150px;
}
/* Lists */
ul{
	list-style-position:inside;
}
#main ul, #main ol{
	margin-left:20px;
}
#main ul li, #main ol li{
	margin-bottom:5px;
}
#main ul.payprov{
	list-style-type:none;
	margin:20px 0 20px 20px;
}
#adminfooter ul{
	list-style-type:none;
	margin-bottom:10px;
}
#adminfooter ul li{
	padding-top:5px;
}
/* Links */
a{
	color:#333;
	text-decoration:none;
}
a:hover{
	color:#ff0000;
	text-decoration:none;
}
a.online_help_large{
	font-size:18px;
}
a.online_help{
	font-size:14px;
}
a.online_help,a.online_help_large{
	font-weight:bold;
	color:#EA9219;
	padding:2px 6px;
	background-color:#ededed;
	border-radius:10px;
}
a.online_help:hover,a.online_help_large:hover{
	background-color:#EA9219;
	color:#333;
}
button, input[type="button"], input[type="submit"], input[type="reset"],button.mainbutton,button.mainbuttonbottom{
	background-color:#333;
	border-radius:4px;
	border:1px solid #B2B2B2;
	display:inline-block;
	color:#FFF;
	font-family:arial;
	font-size:14px;
	padding:5px 8px;
	text-decoration:none;
}
button.mainbutton{
	padding:8px;
	margin-left:10px;
	min-width:280px;
	text-align:left;
	font-size:1em;
}
div.mainfilterdiv{
	display:inline-block;
	width:50%;
	box-sizing:border-box;
	padding:0 2px;
}
button.mainbuttonbottom{
	padding:8px 16px;
	min-width:120px;
}
div.mainshow{
	padding:20px 0;
	text-align:center;
	border:1px solid #faa21b;
}
.button:enabled, input[type="button"]:enabled, input[type="submit"]:enabled, input[type="reset"]:enabled{
	background-color:#212121;
	color:#FFF;
	cursor:pointer;
	vertical-align: middle;
}
.button:disabled, input[type="button"]:disabled, input[type="submit"]:disabled, input[type="reset"]:disabled{
	background-color:#3D3D3D;
	color:#aaa;
	vertical-align: middle;
}
.button:hover:enabled, input[type="button"]:hover:enabled, input[type="submit"]:hover:enabled, input[type="reset"]:hover:enabled,button.mainbutton:hover,button.mainbuttonbottom:hover{
	background-color:#faa21b;
	color:#000;
}
button.ectset, input[type="button"].ectset, input[type="submit"].ectset, input[type="reset"].ectset{
	background-color:#FAA21B;
	color:#000;
}
button.ectset:hover, input[type="button"].ectset:hover, input[type="submit"].ectset:hover, input[type="reset"].ectset:hover{
	background-color:#333;
	color:#FAA21B;
}
div.separator{
	margin:5px;
	height:22px;
	border-bottom:1px solid #faa21b;
}
/* MAIN DIVS */
/* Header */
img.ectlogo{
	padding-left:10px;
	max-width:350px;
	max-height:64px;
}
#header1{
	width:90%;
	background:#333;
	margin:0 5%;
	padding:0;
	height:30px;
	color:#fff;
	font-size:90%;
	border-bottom:1px solid #888;
}
#header1 p{
	padding:0 5px;
}
#header1 p.log-out a{
	padding-right:20px;
	background:url('adminimages/logout.svg') right center no-repeat;
}
#header1 a{
	color:#fff;
}
div.headeradvis{
	width:90%;
	margin:0 5% 10px 5%;
	border:1px solid #ff0000;
	padding:5px;
	box-sizing:border-box;
	background-color:#fff;
	display:flex;
	align-items:center;
}
#header{
	background-color:#000;
	padding:0;
	margin:0 0 1px 0;
	min-height:80px;
	width:90%;
	margin:0 5% 10px 5%;
}
.logotop{
	float:left;
}
.toplinks{
	float:right;
	text-align:right;
	padding-top:10px;
	background-color:#000;
}
.toplinks a img{
	margin-right:20px;
}
/* Left menu */
#admin_menu{
	width:90%;
	margin:0 5%;
	padding:0;
	clear:both;
	position:relative;z-index:2;
}
/* Main */
#main{
	clear:both;
	width:90%;
	margin:20px 5%;
	padding:20px 2%;
	background:#fff;
	color:#000;
	position:relative;
	box-sizing: border-box;
}
/* Footer */
#adminfooter{
	width:90%;
	margin:10px 5%;
	padding:10px 2%;
	clear:both;
	background:#fff;
	box-sizing: border-box;
}
/* SPECIAL DIVS */
span.currpage{
	font-weight:bold;
	color:#dc8210;
}
.shrink_wrapper{ width:100%;overflow:auto; }
.infobox, .noticebox{
	background-color:#f6f6f6;
	padding:10px;
	border:1px solid #f6f6f6;
	overflow:auto;
	margin:10px 0;
}
.bluebox{
	background-color:#f6f6f6;
	border:1px solid #f6f6f6;
}
.infobox{
	font-size:0.9em;
}
.home_boxes{
	text-align:center;
	margin-bottom:5px;
	padding:0;
}
.home_boxes .box{
	padding:0 0 5px 0;
	background:#f6f6f6;
	overflow:auto;
	margin-bottom:5px;
}
.home_boxes .box_title{
	background-color:#333;
	padding:10px 0 7px 0;
	text-align:left;
}
.home_boxes .box_title h3{
	padding:2px 0 5px 5px;
	margin:0;
	font-size:0.9em;
	font-weight:normal;
}
.home_boxes .new_alert, .home_boxes .new_alert h3{
	background-color:#EA9219;
}
.home_boxes .box_title a.online_help{
	float:right;
	margin:0 5px 0 0;
}
.home_boxes .box_new{
	font-size:1.25em;
	font-weight:bold;
	padding-top:5px;
	background-color:#ededed;
}
.logout, .login_message{
	width:70%;
	margin:60px auto;
	border:1px dotted #eee;
	background-color:#f6f6f6;
	padding:10px 20px;
}
.login_form{
	width:420px;
	margin:60px auto;
	background-color:#fff;
	border:1px solid #fff;
	box-shadow:0px 0px 10px #a6a6a6;
	text-align:center;
}
.login_header{
	background:#000 url('adminimages/logo.svg')center center no-repeat;
	height:82px;
	margin-bottom:20px;
}
.login_form p.credit{
	margin-top:20px;
	font-size:0.8em;
}
.search_block{
	background-color:#f6f6f6;
	padding:10px;
	border:1px solid #f6f6f6;
	overflow:auto;
	margin-bottom:25px;
}
.addressbox label{
	display:inline-block;
	width:100px;
}
.addressbox div{
	padding:5px 0;
	margin-top:0;
	margin-bottom:5px;
}
/* Update Checker */
.updatecheck{
	background-color:#f6f6f6;
	padding:10px;
	border:1px solid #f6f6f6;
	font-size:10px;
	overflow:auto;
}
.current_version{
	float:left;
	font-weight:bold;
	font-size:11px;
	padding-top:5px;
	padding-left:20px;
	background:transparent url('adminimages/icon-green-tick.png') 0 3px no-repeat;
}
.old_version{
	padding-left:10px;
	background:transparent url('adminimages/alert.png') 0 3px no-repeat;
}
.updates_okay{
	text-align:right;
}
div.should_update{
	font-weight:bold;
	font-size:11px;
	text-align:right;
	flex-grow:1;
}
.should_update a{
	padding-left:30px;
	padding-top:5px;
	background:transparent url('adminimages/update.png') left center no-repeat;
	height:20px;
	display:inline-block;
}
.security_update span{
	color:#ff0000;
}
.security_update a{
	background:transparent url('adminimages/update-security.png') left center no-repeat;
}
#mainprint{
	margin:0;
	background:#fff;
	padding:2px;
}
/*  Tables */
table.quickstats{
	width:100%;
	border-collapse:collapse;
}
table.quickstats td{
	vertical-align:top;
	border-bottom:1px dotted #f6f6f6;
}
table.quickstats td.nobottom{
	border-bottom:0;
}
table.quickstats th{
	background-color:#888;
	vertical-align:middle;
	color:#fff;
}
table.quickstats td, table.quickstats th{
	text-align:center;
}
table.neworders td, table.neworders th{
	text-align:left;
}
table.neworders th{
	background-color:#333;
}
table.fivetable td{
	border-bottom:0;
}
table.stattbl td{
	padding:2px 6px 2px 2px;
}
div.stattbl{
	display:table;
	border-collapse:collapse;
	margin-bottom:2px;
}
div.stattblrow{
	display:table-row;
}
div.stattblrow > div{
	display:table-cell;
	border:1px solid #ff0000;
	padding:10px;
}
td.adtabcon{
	width:50%;
	vertical-align:top;
}
/*  The responsive table - always used with id=responsive. Javascript in vsadmin/assets */
.admin-table-a{
	margin:0 0 10px 0;
	width:100%;
	text-align:left;
	padding:0;
	border-collapse:collapse;
}
.admin-table-a th{
	font-weight:bold;
	color:#fff;
	background-color:#333;
	text-align:left;
}
.admin-table-a th a{
	color:#ededed;
}
.admin-table-a th a:hover{
	color:#fff;
}
.admin-table-a td{
	background:#ededed;
	border-bottom:1px dotted #ededed;
	color:#333;
}
.admin-table-a tr:hover td{
	background:#ededed;
	color:#333;
}
td.st-val, td.st-val{
	font-size:11px;
	padding:2px 5px;
}
/* show/hide responsive tables. By default hide the small one. .admin-table-a-small is added by JS. Styles for it are in layout.css */
.stacktable.admin-table-a{
	display:table;
}
.admin-table-a-small{
	display:none;
}
/*  alt background colour for responsive tables */
.sta-white td{background-color:#fff;}
.admin-table-b{
	margin:0;
	width:100%;
	margin-bottom:10px;
	text-align:left;
	border-collapse:collapse;
}
.admin-table-b th{
	color:#fff;
	text-align:left;
	background-color:#888;
}
table.mainsettings th{
	padding-left:30px;
	background-color:#707077;
}
table.mainsettings button,
table.mainsettings input[type="text"],
table.mainsettings input[type="password"]{
	min-width:240px;
}
table.mainsettings input.smallinput{
	min-width:auto;
}
table.mainsettings select{
	border-color:#faa21b;
	min-width:240px;
	box-sizing:border-box;
}
.admin-table-b td{
	background:#fff;
	border-bottom:1px dotted #d5d5d5;
	color:#333;
}
.admin-table-b tr:hover td{
	background:#ededed;
	color:#333;
}
td.new{
	font-weight:bold;
	color:#ff0000;
	width:1%;
}
hr{
	color:#f6f6f6;
	background-color:#f6f6f6;
	border:1px solid #f6f6f6;
}
table.cobtbl{
	background-color:#f6f6f6;
	width:100%;
}
td.cobhl, th{
	background-color:#fff;
}
td.cobll{
	background-color:#fff;
}
tr.cobhl{
	background-color:#f6f6f6;
}
tr.cobll{
	background-color:#fff;
}
tr.cobwarn{
	background-color:#f6f6f6;
}
td.label{
	width:30%;
}
/* Minicell if used for cells that have buttons in them - eg modify, assign, delete. Makes button smaller. */
td.minicell,th.minicell{width:10%;text-align:center;}
th.minicell{font-weight:bold;}
td.maincell,th.maincell{width:30%;}
/* Used in inccats.php to separate top categories into groups.. */
td.spacer_cell{border-top:1px solid #888;border-bottom:0;font-size:1px;padding:3px;}
/* Styles for responsive menu. This is the small version - large version is in layout.css */
tr.greenbg > td{background-color:#EFE;}
[role='main']{
	margin:5% auto;
}
[role='navigation']{
	margin:0 auto;
	width:100%;
	background-color:#888;
}
.mainnav-touch [role='navigation'],
.mainnav-no-touch [role='navigation']{
	display:none;
}
.menu-button{
	display:block;
	padding:1em;
	background:#333;
	color:#fff;
	background-image:url('adminimages/arrow-down.png');
	background-repeat:no-repeat;
	background-position:93% 10px;
	cursor:pointer;
	font-size:1em;
	text-transform:uppercase;
}
[role='navigation']:after{
/* clearfix */
	visibility:hidden;
	display:block;
	font-size:0;
	content:" ";
	clear:both;
	height:0;
}
[role='navigation'] li{
	position:relative;
	list-style:none;
	display:block;
	background-color:#888;
	width:100%;
	font-size:1em;
	font-weight:bold;
	text-transform:uppercase;
}
[role='navigation'] li.item-with-ul{
	background-color:#333;
}
[role='navigation'] li a{
	min-width:50px;
	margin-right:20%;
	display:block;
	color:#f6f6f6;
	border-bottom:1px solid #333;
}
[role='navigation'] li a:hover{
	color:#fff;
	font-weight:bold;
}
[role='navigation'] .top-level a{
	position:relative;
	display:block;
	background-color:#333;
	padding:1em;
	z-index:2;
	text-decoration:none;
}
[role='navigation'] li ul{
	width:100%;
	position:relative;
	border-top:1px solid #333;
	border-bottom:1px solid #333;
}
[role='navigation'] li ul li{
	float:none;
	width:100%;
	text-transform:none;
}
[role='navigation'] li ul li a{
	display:block;
	background-color:#333;
	text-decoration:none;
	font-weight:normal;
}
[role='navigation'] .sub-menu a{
	padding:0.5em 0.5em 0.5em 1.5em;
}
[role='navigation'] .item-with-ul{
	background:url('adminimages/arrow-down.png') 93% 10px no-repeat;
}
.sub-menu{
	display:none;
}
.sub-menu.open{
	display:block;
}
/* Utility classes:not sure that all are used, I kinda tend to throw these in in case they are needed */
.centerit{
	text-align:center;
}
.centerit table{
	margin:5px auto;
}
.clear{
	clear:both;
}
.smaller{
	font-size:90%;
}
.full_top{
	margin-top:20px;
}
.half_top{
	margin-top:10px;
}
.double_top{
	margin-top:40px;
}
.no_top{
	margin-top:0;
}
.full_bottom{
	margin-bottom:20px;
}
.half_bottom{
	margin-bottom:10px;
}
.no_bottom{
	margin-bottom:0;
}
.aright{text-align:right;}
.aleft{text-align:left;}
.acenter{text-align:center;}
/* Andy edit */
th.acenter{text-align:center;color:#fff;font-weight:bold;background:#333;}
table.greenheader th{background:#006600;}
td.dkcenter{color:#fff;font-weight:bold;background:#333;}
hr.dash{
height:0;
border-width:1px 0 0 0;
border-style:dashed;
border-color:#ccc;
}
/* style for items that appear on small screens or medium screens only. Used only once, to add a label in incorders.php for a dropdown that would look odd without one in the responsive table. Overridden in layout.css as appropriate */
.medonly{display:none;}
/* Rounded corner styles */
.round_top{
	border-top-left-radius:5px;
	border-top-right-radius:5px;
}
.round_bottom{
	border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;
}
.round_all{
	border-radius:5px;
	overflow:auto;
}

.textarea{font-size:12px;}
#header1 p.viewstore a{
	padding-left:20px;
	background:url('adminimages/viewstore.svg') left center no-repeat;
}
/* Base  responsive width divs */
.full-width{
	width:100%;
	height:auto;
	overflow:hidden;
}
.one_half, .inner_half{
	width:48%;
}
.one_third{
	width:32.66%;
}
.two_thirds{
	width:65.33%;
}
.one_fourth{
	width:22%;
}
.three_fourths{
	width:74%;
}
.one_sixth{
	width:15.8%;
}
.one_half,
.inner_half,
.two_thirds,
.one_fourth,
.three_fourths{
 position:relative;
 margin-right:4%;
 margin-bottom:0;
 float:left;
 padding:5px 0;
}
.one_sixth{
 position:relative;
 margin-right:1%;
 margin-bottom:0;
 float:left;
 padding:5px 0;
}
.one_third{
	position:relative;
	margin-right:1%;
	margin-bottom:0;
	float:left;
	padding:5px 0;
}
.last{
	margin-right:0;
}
.row{
	width:100%;
	margin-bottom:10px;
	padding:10px 0;
	overflow:auto;
}
.dashrow{
	padding:5px 0;
	margin:5px 0;
	border-top:1px dashed #d5d5d5;
	border-bottom:1px dashed #d5d5d5;
}
div.nosearchresults,div.adminhome{
	font-size:18px;
	color:#333;
	padding:40px 0;
	text-align:center;
}
/* #Tablet (landscape)
================================================== */
/* Designed for a width of 895px */
/* A few things that are a bit narrow at this resolution. */
@media screen and (max-width:895px){
	div.headeradvis{
		width:98%;
		margin:0 1% 10px 1%;
	}
	#main .one_third{
		width:100%;
		margin-right:0;
	}
	.one_sixth{
		width:30.33%;
		margin-right:1.5%;
		margin-left:1.5%;
	}
	.home_boxes .last{
		margin-right:1.5%;
	}
	.med_block{
		display:block;
		clear:both;
		margin:0;
		padding:2px 0;
	}
	#header1{
		width:98%;
		margin:0 1%;
		}
		#header{
		width:98%;
		margin:0 5% 10px 1%;
	}
	#admin_menu{
		width:98%;
		margin:0 1%;
	}
	#main{
		width:98%;
		margin:12px 1%;
		padding:12px 1%;
	}
	#adminfooter{
		width:98%;
		margin:12px 1%;
		padding:12px 1%;
	}
	input.ordsearchtext{
		width:130px;
	}
	input.orddatesel{
		width:74px;
	}
	select.ordactionsel{
		width:72px;
	}
	select.orddumpsel{
		max-width:148px;
	}
	.button, input[type="button"], input[type="submit"], input[type="reset"]{
		font-size:11px;
		padding:3px 5px;
	}
}
/* #Responsive menu
================================================== */
/* Enlarged fullwidth menu at breakpoint that can take it */
@media screen and (min-width:800px){
	.mainnav-touch [role='navigation'],
	.mainnav-no-touch [role='navigation']{
		display:block;
	}
	.menu-button{
		display:none;
	}
	[role='navigation'] li{
		position:relative;
		list-style:none;
		float:left;
		display:block;
		background-color:#333;
		width:25%;
	}
	.mainnav-no-touch .item-with-ul:hover > ul{
		opacity:1;
		top:3.1em;
		position:absolute;
	}
	[role='navigation'] li a{
		border-left:1px solid #333;
		border-bottom:none;
		min-width:50px;
	}
	.mainnav-no-touch [role='navigation'] li ul{
		position:absolute;
		top:auto;
		left:0;
		opacity:0;
		visibility:hidden;
		height:1px;
		z-index:1;
	}
	[role='navigation'] li ul li a{
		border-bottom:none;
	}
	.mainnav-touch [role='navigation'] li ul.sub-menu{
		position:absolute;
		top:auto;
		left:0;
		display:none;
		z-index:1;
	}
	.mainnav-no-touch .item-with-ul:hover > ul{
		visibility:visible;
		opacity:1;
		height:auto;
		display:block;
		border-right:1px solid #333;
		border-bottom:1px solid #333;
	}
	.mainnav-no-touch .second-level.item-with-ul:hover > ul{
		margin-left:100%;
		top:0;
	}
	h3{
		font-size:1.1em;
		padding:10px 5px;
		font-weight:bold;
	}
}
/* #Tablet (Portrait)
================================================== */
/* Note:Designed for a width of 768px */
@media screen and (max-width:767px){
	body{
		font-size:0.8em;
	}
	input[type="text"],
	input[type="password"],
	select,
	textarea{
		padding:2px 4px;
		font-size:90%;
	}
	td.minicell, th.minicell{width:auto;}
	td.minicell input, th.minicell input{font-size:90%;}
	.stacktable.admin-table-a-small{
		display:table;
	}
	.admin-table-a-small{
		width:100%;
	}
	.admin-table-a-small th{
		padding:5px;
		font-weight:bold;
		text-align:left;
		background-color:#f6f6f6;
	}
	.admin-table-a-small th.st-head-row-main{
		background-color:#fff;
	}
	.admin-table-a-small td.st-key{
		text-align:left;
		font-weight:bold;
		max-width:30%;
		padding:5px 5px 5px 10px;
		font-size:12px;
		border-bottom:1px dashed #ededed;
	}
	.admin-table-a-small td.st-val{
		text-align:left;
		font-size:12px;
		padding:5px 5px;
		border-bottom:1px dashed #ededed;
	}
	.one_half, .one_third, .two_thirds{
		float:none;
		width:100%;
		margin-right:0;
	}
	label.block_label{
		width:120px;
		display:block;
		float:left;
	}
	.fivetable td{
		text-align:center;
	}
	.fivetable label{
		display:block;
		clear:both;
	}
	.medonly{display:inline;}
	.largeonly{display:none;}
	.largetosmall{width:110px;}
	.shrink_wrapper th{font-size:0.9em;}
	.shrink_wrapper td{font-size:0.8em;}
	div.ordsmallheader{
		font-size:0.8em;
	}
	div.address,div.shipaddress,div.adddetails,div.orderstatus,div.shipping,div.authcapture{
		width:auto;
		float:none;
		display:block;
	}
	div.largescreenquant{
		display:none;
	}
	div.smallscreenquant{
		display:inline;
		padding-right:2px;
	}
	input.orderprice{
		width:40px;
	}
	div.orderauthcode{
		overflow:hidden;
		max-width:90px;
	}
	select.ordstatus{
		max-width:150px;
	}
	table.mainsettings input[type="text"],
	table.mainsettings input[type="password"]{
		min-width:auto;
		max-width:230px;
	}
	div.mainfilterdiv{
		display:block;
		width:auto;
	}
}
/* #Mobile
================================================== */
/* Designed for a width of 488px */
/* Addtions and overrides to changes already made for tablet portrait size. */
@media screen and (max-width:488px){
	body{
		font-size:0.75em;
	}
	div.updatecheck{
		display:none;
	}
	#header{
		width:auto;
		margin:2px 0 2px 0;
	}
	#header1{
		width:auto;
		margin:0;
	}
	#admin_menu{
		width:auto;
		margin:2px 0;
	}
	#main, #adminfooter{
		width:auto;
		margin:2px 0;
	}
	#main{
		padding:0 1%;
	}
	div.row{
		padding:0;
		margin-bottom:0;
	}
	.login_form{
		width:280px;
	}
	img.ectlogo{
		padding-left:0;
	}
	.logotop{
		clear:both;
		float:none;
		width:100%;
		text-align:center;
	}
	.toplinks{
		clear:both;
		float:none;
		width:100%;
		text-align:center;
	}
	.toplinks a img{
		width:24px;
		height:24px;
		margin:0 5px;
	}
	.one_half,
	.one_third,
	.two_thirds,
	.one_fourth,
	.three_fourths{
		float:none;
		width:100%;
		margin-right:0;
		padding:5px 0;
	}
	label.block_label{
		padding-bottom:5px;
		float:none;
	}
	.one_sixth{
		width:46%;
		margin-left:2%;
		margin-right:2%;
	}
	.footer_half{
		width:48%;
		margin-left:1%;
		margin-right:1%;
		float:left;
	}
	.home_boxes .last{
		margin-right:2%;
	}
	.small_block{
		display:block;
		clear:both;
		margin:0;
		padding:2px 0;
	}
	.smallonly{display:inline;}
	.medium_input,.large_input{width:120px;}
	.largetosmall{width:75px;}
	textarea.smalltxt,textarea.largetxt{max-width:200px;min-width:120px;}
	div.ecttotalcolumn{
		width:auto;
		float:none;
		padding:30px;
		box-sizing:border-box;
	}
	div.ectorderfunctions{
		width:auto;
		float:none;
		padding:30px;
		box-sizing:border-box;
	}
	table.mainsettings select{
		min-width:auto;
		max-width:230px;
	}
	div.orderssearchrow > div{
		display:inline-block;
		width:49.4%;
	}
	div.orderslistrow > div{
		white-space:normal;
	}
	div.ordersheadrow > div:nth-child(4),
	div.orderslistrow > div:nth-child(4),
	div.ordersheadrow > div:nth-child(5),
	div.orderslistrow > div:nth-child(5),
	div.ordersheadrow > div:nth-child(6),
	div.orderslistrow > div:nth-child(6),
	div.ordersheadrow > div:nth-child(7),
	div.orderslistrow > div:nth-child(7){
		display:none !important;
	}
}
@media print{
	.no-print,.no-print *{
		display:none !important;
	}
}