@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic");
@import url("https://fonts.googleapis.com/css?family=Oswald:400,700");

/* BODY FONT AND SIZE */
html, body, div, span, 
h1, h2, h3, h4, h5, h6, 
p, blockquote, a, 
em, strong, b, u, i, center, 
ol, ul, li, 
fieldset, form, label, legend, input, textarea, select, 
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, footer, header, menu, nav, section { 
    font-family: 'Open Sans', Arial, Helvetica, serif; 
    font-size: 16px;
}

@media print { 
    html, body, div, span, 
    h1, h2, h3, h4, h5, h6, 
    p, blockquote, a, 
    em, strong, b, u, i, center, 
    ol, ul, li, 
    fieldset, form, label, legend, input, textarea, select, 
    table, caption, tbody, tfoot, thead, tr, th, td,
    article, aside, footer, header, menu, nav, section { 
        font-size: 10pt; 
    }
}

@media (max-device-width: 800px) {
    html, body, div, span, 
    h1, h2, h3, h4, h5, h6, 
    p, blockquote, a, 
    em, strong, b, u, i, center, 
    ol, ul, li, 
    fieldset, form, label, legend, input, textarea, select, 
    table, caption, tbody, tfoot, thead, tr, th, td,
    article, aside, footer, header, menu, nav, section { 
        font-size: 20px;
    }
}

html {
    height: 100%;
}

body {
    margin: 0px;
    height: 100%;
}

div.centered, nav {
    margin: 0;
    padding: 0;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.padded {
    padding: 10px;
}

div#overwrap {
    margin: auto 250px;
}


div#overwrap.adminwrap {
    margin: auto;
}

div#overwrap.malswrap {
    margin-right: auto;
}

@media (max-width: 1050px) {
    div#overwrap {
        min-width: 800px;
        margin: 0;
    }
}

@media (max-width: 800px) {
    div#overwrap, header, nav#adminlinks {
        min-width: 600px;
        margin-left: 0;
    }
}

header {
    width: 100%;
    min-height: 100px;
    margin: 0;
    text-align: center;
    position: relative;
}

header h3 { 
    margin: 0;
    padding: 20px 0;
    font-family: 'Oswald', Impact, Charcoal, sans-serif;
    font-weight: bold;
    font-size: 2em;
}

header p {
    margin: 0;
}

header .viewsite {
    padding-bottom: 10px;
}

header.paddbottom {
    margin-bottom: 40px;
}

img {
    border: 0;
}

.imgmiddle {
    vertical-align: middle;
}

.tophome, .tophelp {
    position: absolute;
    top: 10px;
}

.tophome {
    left: 10px;
}

.tophelp {
    right: 10px;
}

#help_screen {
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

#help_screen ul li {
    list-style-type: none;
    padding-bottom: 15px;
}

#help_screen ul ul {
    padding-top: 15px;
}

ul.layoutul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.viewsite {
    text-align: center;
}

/* TOP LINK STYLES */
nav#adminlinks {
    text-align: center;
    margin: 0 auto 20px;
    width: 100%;
    line-height: 30px;
}

nav#adminlinks ul {
    display: table;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    list-style: none;
}

nav#adminlinks ul li {
    display: table-cell;
    position: relative;
    text-align: center;
    width: 12%;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

nav#adminlinks ul li a, nav#adminlinks ul li a:hover {
    display: block;
    font-weight: bold;
    text-decoration: none;
}

nav#adminlinks ul li.menubutton div {
    display: none;
    cursor: pointer;
}

nav#adminlinks ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 1px 5px 5px #999999;
}

nav#adminlinks ul ul li {
    width: 100%;
}

nav#adminlinks ul ul li a, nav#adminlinks ul ul li a:hover {
    font-weight: normal !important;
}

nav#adminlinks>ul>li:hover>ul {
    z-index: 99;   
}

nav#adminlinks>ul>li:hover>ul, nav#adminlinks>ul>li:hover>ul>li {
    display: block;
}

/* SIDE LINKS */
nav#sidelinks {
    width: 250px;
    margin: 0;
    float: left;
}

nav#sidelinks div {
    margin: 0 10px;
    border-radius: 1em;
    -webkit-border-radius: 1em;
    -moz-border-radius: 1em;
    padding: 10px 0;
}

nav#sidelinks p {
    padding: 0 10px;
    margin: 0;
}
nav#sidelinks ul {
    display: block;
    width: 100%;
    max-width: 800px;
    padding: 0;
    border: 0;
    list-style: none;
}

nav#sidelinks ul li {
    margin: 0;
    padding: 0 3px;
}

nav#sidelinks ul li.sel a {
    font-weight: bold;
}

nav#sidelinks ul li a, nav#sidelinks ul li a:hover {
    display: block;
    width: 100%;
    text-decoration: none;
    padding: 3px 0;
}

@media (max-width: 1050px) {
    nav#sidelinks {
        display: none;
    }
}

.admindate {
    text-align: center;
    font-size: .9em;
    font-style: italic;
    color: #888888;
}

div[title]:hover {
    cursor: pointer;
}

ul.leftalign { 
    margin: 0; 
    text-align: left; 
    display:inline-block; 
    *zoom:1; 
    *display:inline;
}

p.maxwidth {
    max-width: 800px;
    text-align: center;
    margin: auto;
}

td.largerfont {
    font-size: 1.2em;
}

td.padded {
    padding-left: 10px;
    padding-right: 10px;
}

td.nowrap {
    white-space: nowrap;
}

.highlighttext {
    font-weight: bold;
}

.lightcolortext {
    font-style: italic;
}

.accent {
    font-style: italic;
}

input[type='text'], input[type='url'], input[type='email'], input[type='password'], select, textarea {
    height: 30px;
    width: 100%;
    border: 1px solid #C0C0C0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

input[type='text'].lginput, select.lginput {
    max-width: 550px;
}

input[type='text'].shortinput, select.shortinput {
    max-width: 300px;
}

input[type='text'].smallinput, select.smallinput {
    max-width: 150px;
}

input[type='text'].fontcolors, select.fontcolors {
    max-width: 100px;
}

input[type='text'].tinyinput, select.tinyinput {
    max-width: 80px;
}

input[type='text'].halfwidth, select.halfwidth {
    max-width: 49%;
}

#siteincs optgroup {
    padding-top: 10px;
}

textarea {
    height: 150px;
}

textarea.shorttextarea {
    height: 50px;
}

textarea.talltextarea {
    height: 500px;
}

h4 { 
    margin: 10px auto 5px;
}

.boxed {
    margin: auto 10px;
}

.weblinktable tr td:first-child {
        width: 15%;
}

.weblinktable tr td:last-child {
    width: 85%;
}

.weblinktable .boxed {
    margin: 1%;
}

.boxweblinks table {
    width: 100%;
}

.boxweblinks table tr td:first-child {
    width: 14%;
}

.boxweblinks table tr td:last-child {
    width: 86%;
}

.lighttext
{
    opacity: 0.5;
    filter: alpha(opacity=50);
    font-size: .8em;
    font-style: italic;
}

.w15 {
    width: 15%;
}

.w55 {
    width: 55%;
}

.wzCtrl input, .wzCtrl select {
    width: auto !important;
}

.invupdate {
    margin: 1px;
    text-align: center;
}

.invset {
    margin: 1px;
    text-align: center;
}

.generaltable {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    width: 800px;
    padding: 10px;
    border-radius: 1em;
    -webkit-border-radius: 1em;
    -moz-border-radius: 1em;
}

@media (max-width: 800px) {
    .generaltable {
        width: 98%;
        min-width: 590px;
        margin: auto 5px;
    }
}

.generaltable ol { 
    text-align: left; 
}

.generaltable td { 
    padding: 3px;
}

.fullwidth {
    width: 100%;
}

.largetable {
    margin-left: auto;
    margin-right: auto;
    padding: 3px;
}

.smalltable {
    margin-left: auto;
    margin-right: auto;
    width: 360px;
    padding: 3px;
}

.colortable {
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
}

.centertable {
    text-align: center;
    margin: 0 auto;
}

.nowraptable td.right {
    white-space: nowrap;
}

td {
    vertical-align: top;
}

.fieldname {
    font-weight: bold;
    text-decoration: none;
}

.regtext {
    font-size: .95em;
}

.regtext input { 
    max-width: 300px; 
}

.smalltext {
    font-size: 12px;
}

.largelinks {
    font-size: 1.1em;
}

.largeboldtext {
    font-size: 1.2em;
    font-weight: bold;
}

.noline {
    text-decoration: none;
}

.litepadd {
    padding: 0 5px;
}

.vertspace {
    height: 30px;
}

.uparrow, .downarrow, .noarrow {
    display: inline-block;
    *zoom: 1;
    *display: inline;
    height: 0;
    width: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    cursor: pointer;
}

.black {
    color: #000000;
}

.centered, .center {
    text-align: center;
}

.left, .tdleft {
    text-align: left;
}

.right, .tdright {
    text-align: right;
}

.tdmiddle {
    vertical-align: middle;
}

.floatleft {
    float: left;
}

.floatright {
    float: right;
}

.tdleft, .tdright {
    width: 50%;
}

.tdleft input, .tdright input {
    width: 150px;
}

.trpaddtop>td {
    padding-top: 15px;
}

.trpaddbottom>td {
    padding-bottom: 15px;
}
.imgcells {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.imgcells td {
    text-align: center;
    vertical-align: middle;
    width: 50%;
}

.imgcells td.threecols {
    width: 33%;
}

.imgcells td.imgtd span {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    text-align: center;
}

td.imgtd {
    text-align: center;
    position: relative;
    height: 170px;
    vertical-align: middle;
}

td.imgtd input.updtimg {
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    opacity: 0.5;
    filter: alpha(opacity=50);
    text-align: center;
}

.imglisttable.imgcells {
    width: 800px;
}

.imglisttable.imgcells td.imgtd {
    padding-bottom: 60px;
}

.imglisttable.imgcells td.imgtd input.updtimg {
    bottom: 50px;
}

.imgcells td.threecols input.updtimg {
    left: 2%;
    width: 96%;
}

td.imgtd .thumbimg {
    max-width: 100px;
    max-height: 100px;
}

.prodlayout {
    cursor: pointer;
    font-size: .8em;
    font-style: italic;
}

.nolineblack {
    text-decoration: none;
    color: #000000;
}

.warning {
    font-weight: bold;
}

a.links:hover, a.linkset {
    text-decoration: none;
}

input[type='submit'].button, input[type='button'].button {
    -webkit-appearance: none;
    font-size: 1.1em;
}

input[type='submit'].button, input[type='button'].button, .button {
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    padding: 3px 5px;
}

a.button, a.button:hover {
    font-size: 1.1em;
    text-decoration: none;
}

a.activebutton { 
    display: inline-block;
    zoom: 1;
    *display: inline;
    min-width: 4.5em; 
    text-align: center; 
}

a.requiredbutton { 
    opacity: 0.5;
    filter: alpha(opacity=50);
    pointer-events: none;
}

.closedel {
    height: 24px;
    width: 24px;
    vertical-align: middle;
}

.exports { 
    display: inline-block;
    *zoom: 1;
    *display: inline;
    padding: 10px;
}

.sizewidth { 
    width: 100px; 
}

.sizeheight { 
    height: 100px; 
}

/* PAGE GROUPS */
.pggroups {
    display: inline-block;
    *zoom: 1;
    *display: inline;
    min-width: 1.25em;
    margin-left: 3px;
    text-align: center;
    border-radius: 1em;
    -webkit-border-radius: 1em;
    -moz-border-radius: 1em;
    padding: 0 2px;
    font-size: .8em;
}

/* VARS */
.varstable td.tdright { 
    white-space: no-wrap; 
    vertical-align: top; 
    width: 20%; 
}

.varstable td.tdleft { 
    width: 30%; 
}

.varstable td.centered { 
    font-style: italic; 
    padding: 10px; 
}

.varstable input[type='text'], .varstable select, .varstable textarea { 
    width: 100%; 
}

.varstable td {
    white-space: nowrap;
}

.varstable .trpaddtop td:first-of-type {
    width: 20%;
}

.varstable .trpaddtop td:last-of-type {
    width: 80%;
}

.varstable .trpaddtop textarea {
    height: 100px;
}


.settingsdetails span {
    text-decoration: underline;
    cursor: pointer;
}

.showsettings {
    display: none;
}

/* ATTRIBUTES */
table.atttable td { 
    padding: 5px; 
}

table.atttable td:not(:first-of-type) { 
    white-space: nowrap; 
}

/* PACKING LIST */
.pack_table {
    width: 100%;
    margin-bottom: 40px;
    border-collapse: separate;
    border-spacing: 0;
}

.pack_table td {
    padding: 2px;
}

.pack_center {
    text-align: center;
    margin: 0 auto;
}

.pack_shipbill {
    text-align: center;
    margin: auto;
    width: 100%;
}

.pack_company {
    font-size: 1.875em;
    font-weight: bold;
}

.pack_type {
    font-size: 1.125em;
    font-weight: bold;
}

.pack_shiplabel {
    padding: 5px;
}

.pack_addrblocklg {
    width: 50%;
    padding: 10px;
}

.pack_addrblocksm {
    width: 25%;
    padding: 10px;
}

.pack_label {
    padding: 10px;
    margin: 5px;
    text-align: left;
    font-size: 1.5em;
}

.pack_boldheader {
    font-weight: bold;
    width: 50%;
    text-align: center;
}

.pack_boldmid {
    font-weight: bold;
    width: 15%;
    text-align: center;
}

.pack_mid {
    width: 15%;
    text-align: center;
}

.pack_midl {
    text-align: left;
    width: 25%;
}

.pack_midr {
    text-align: right;
    width: 25%;
}

.pack_topqty {
    text-align: center;
    width: 5%;
    font-weight: bold;
}

.pack_topshort {
    text-align: right;
    width: 5%;
    font-weight: bold;
}

.pack_toplong {
    text-align: left;
    width: 85%; 
    font-weight: bold;
}

.pack_pricelines td {
    padding-top: 20px;
}

.pack_lineqty {
    text-align: center;
    width: 5%; 
}

.pack_lineshort {
    text-align: right;
    width: 5%; 
}

.pack_linelong {
    text-align: left;
    width: 85%; 
}

/* COLORS */

/* BODY */
body  {
    background-color: #FFFFFF;
    color: #000000;
}

/* HEADER */
header {
    background: #000000;
}

/* HEADER TITLE, LINKS */
header h3, header a, header a:hover {
    color: #FFFFFF;
}

/* TOP LINK BAR BACKGROUND AND LINK COLOR (NOT HOVER) */
nav#adminlinks {
    background: #666;
    color: #FFFFFF;
}

/* TOP LINK HOVER LINK COLOR FOR DROP DOWN MENU */
nav#adminlinks ul li a, nav#adminlinks ul li a:hover {
    color: #000000;
}

/* TOP LINK HOVER BACKGROUND FOR DROP DOWN MENU */
nav#adminlinks ul ul li {
    background-color: #FFFFFF;
}

/* TOP LINK ACTIVE MAIN LEVEL BACKGROUND */
nav#adminlinks>ul>li.sel {
    background-color: #ccc;
}

/* TOP LINK HOVER BACKGROUND MAIN */
nav#adminlinks ul li:hover {
    background-color: #00C8D7;
}

/* TOP LINK HOVER BACKGROUND SUBS */
nav#adminlinks ul li:hover li:hover {
    background-color: #666666;
}

/* TOP LINK HOVER TEXT MAIN AND SUBS */
nav#adminlinks ul li:hover, nav#adminlinks ul ul li:hover a, nav#adminlinks ul li:hover a:hover {
    color: #FFFFFF;
}

/* SIDE LINK BACKGROUND AND MAIN LEVEL LINK COLOR */
nav#sidelinks div {
    background: #F1F1F1;
    color: #000000;
}

/* SIDE LINK COLOR OF SUB PAGES (NO HOVER) */
nav#sidelinks a, nav#sidelinks a:hover {
    color: #000000;
}

/* SIDE LINK BACKGROUND FOR SELECTED PAGE */
nav#sidelinks ul li.sel {
    background: #00C8D7;
}

/* SIDE LINK COLOR FOR SELECTED PAGE */
nav#sidelinks ul li.sel a {
    color: #FFFFFF;
}

/* SIDE LINK BACKGROUND ON HOVER */
nav#sidelinks ul li:hover {
    background-color: #666666;
}

/* SIDE LINK COLOR ON HOVER */
nav#sidelinks ul li:hover, nav#sidelinks ul li:hover a {
    color: #FFFFFF;
}

/* TEMPLATE UPDATE */
.backuplist
{
    text-align: center;
}

.backuplist ul
{
    list-style-type: none;
    margin: auto;
    text-align: left;
    display: inline-block;
}

/* UPGRADER */
.sqlbackup {
    display: none;
    height: auto;
}

.sqlbackup textarea {
    width: 100%;
    height: 200px;
}

.sqlbackup span {
    font-weight: bold;
}

/* POP UPS */
#popupoverlay {
    position: fixed;
    z-index: 999;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0, 0.6); 
    text-align: center;
}

#popupoverlay #popimginner {
    max-width: 900px;
    margin: auto;
    height: 98%;
    overflow-y: auto;
}

#popupoverlay img.popupimg {
    background-color: #FFFFFF;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    z-index: 2;
    box-shadow: 0 0 10px rgba(0,0,0, 0.6);
    -webkit-box-shadow: 0 0 10px rgba(0,0,0, 0.6);
    -moz-box-shadow: 0 0 10px rgba(0,0,0, 0.6);
    margin-top: 20px;
    min-width: 50px;
    min-height: 50px;
    max-width: 96%;
    max-height: 96%;
}

#popupoverlay #poppcontent {
    position: relative;
    background-color: #FFFFFF;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0, 0.6);
    -webkit-box-shadow: 0 0 10px rgba(0,0,0, 0.6);
    -moz-box-shadow: 0 0 10px rgba(0,0,0, 0.6);
    width: 500px;
    height: 100%;
    max-width: 94%;
    max-height: 90%;
    padding: 1%;
    margin: 20px auto;
    text-align: left;
}

#poppcontent #poppinner {
    height: 100%;
    overflow-y: auto;
}

#popupoverlay .closex {
    display: inline-block;
    *zoom: 1;
    *display: inline;
    padding: 0;
    border-radius: 1em;
    -webkit-border-radius: 1em;
    -moz-border-radius: 1em;
    cursor: pointer;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 30px;
    height: 25px;
    width: 25px;
    line-height: 25px;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #888888;
    background-color: #AAAAAA;
    color: #FFFFFF;
    z-index: 1;
}

#popupoverlay .closex:before {
    content: "\00d7";
}

#popupoverlay #popimginner .closex {
    margin-left: -15px;
    margin-bottom: 5px;
}

#popupoverlay #poppcontent .closex {
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 999;
}

/* STATS */

table.stattable { 
    width: 100%;
}

table.stattable td { 
    padding: 5px; text-align: left; vertical-align: top; height: 1.1em;
}

table.stattable td:not(.jsswitch) { 
    white-space: nowrap; width: 10%;
}

table.stattable td.jsswitch { 
    cursor: pointer; width: 60%;
}

table.stattable td.jsswitch div.json { 
    height: 1.1em; line-height: 1.1em; overflow: hidden;
}

table.stattable td.jsswitch div.json:hover { 
    text-decoration: underline;
}

table.stattable td.jsswitch div.jsoff { 
    height: normal; line-height: normal; overflow: visible;
}

/* ORDERS */

.ordertable .myreply {
    margin: 10px auto;
    padding: 10px auto;
}

.ordertable {
    width: 100%;
}

.ordertable tr td:last-of-type {
    text-align: left;
    white-space: nowrap;
}

.ordertable>tr:first-of-type td:last-of-type {
    text-align: center;
}

.ordertable tr.orderitems td {
    width: 10%;
    white-space: nowrap;
}

.ordertable tr.orderitems td.delitem {
    width: 5%;
}

.ordertable tr.orderitems td.orderitem {
    width: 60%;
}

.ordertable .currencylabel {
    margin-right: 3px;
}


.basictable {
    margin: 0;
    padding: 0;
    width: 100%;
}

.basictable td:first-of-type {
    width: 92%;
}

.basictable td:last-of-type {
    width: 8%;
}

.ordertable .myreply {
    margin: 10px auto;
}

.ordertable {
    width: 100%;
}

.ordertable tr td:last-of-type {
    text-align: left;
    white-space: nowrap;
}

.ordertable>tr:first-of-type td:last-of-type {
    text-align: center;
}

.ordertable tr.orderitems td {
    width: 10%;
    white-space: nowrap;
}

.ordertable tr.orderitems td.orderitem {
    width: 60%;
}

@media (max-width: 800px) {
    .basictable {
        width: 98%;
        min-width: 590px;
        margin: auto 5px;
    }
}

/* MALS FRAME */
.malstable {
    width: 100%;
    max-width: 1200px;
}

.malsframe, .malsframe iframe {
    min-height: 1000px;
}

.malsframe iframe {
    width: 100%;
    height: 100%;
    border: 0;
} 

/* START REVIEWS */

/* ITEM TOTALS */
.startotals { 
    position: relative;
    white-space: nowrap;
}

.startotals, .startotals:hover {
    text-decoration: none;
}

.startotals span.star { 
    position: relative;
    color: #666666;
    display: inline-block;
    *zoom: 1;
    *display: inline;
    margin: 0;
}

.startotals span.sel:after, .startotals span.star.partial1:after, .startotals span.star.partial2:after, .startotals span.star.partial3:after {
    content: "\2605";
    position: absolute;
    top: 0;
    left: 0;
    color: #ED9E00;
    opacity: .7;
    filter: alpha(opacity=70);
    overflow: hidden;
}

.startotals span.star { 
    font-size: 25px;
    line-height: 20px;
    width: 20px;
    margin-left: -2px;
}

.startotals span.star.partial1:after {
    width: .35em;
}

.startotals span.star.partial2:after {
    width: .425em;
}

.startotals span.star.partial3:after {
    width: .5em;
}

.startotals a {
    margin-left: 5px;
}

/* REVIEWS */

.reviewtable {
    margin-left: auto;
    margin-right: auto;
    width: 800px;
    padding: 10px;
    border-radius: 1em;
    -webkit-overflow-scrolling: touch;
}

.reviewcolor {
    margin-bottom: 20px;
}

.reviewtable th a {
    position: relative;
}

.reviewtable .tdname, .reviewtable .tditem {
 width: 30%; 
}

.reviewtable .tdrating, .reviewtable .tdstatus {
 width: 15%; 
}

.reviewtable .tddate {
 width: 10%; 
}

.reviewtable th a .downarrow, .reviewtable th a .noarrow {
    position: absolute;
    top: 30%;
    right: -15px;
}

.reviewtable th, .reviewtable td {
    text-align: left;
}

.reviewtable th.tdstatus, .reviewtable td.tdstatus {
    text-align: center;
}

.reviewtable th a {
    color: #333333;
    text-decoration: none;
}

.reviewtable tr.reviewtop td {
    padding-top: 10px;
}

.reviewtable .revactive {
    font-weight: bold;
}

.reviewtable td.comments {
    padding-bottom: 10px;
}

div.star {
    position: relative;
    display: inline-block;
    zoom: 1;
    *display: inline;
    color: #666666;
    font-size: 20px;
}

span.starcol {
    position: absolute;
    top: 0;
    left: 0;
    color: #ED9E00;
    font-size: 20px;
    opacity: .7;
    filter: alpha(opacity=70);
}

.reviewtable td img.emailicon {
    width: 20px;
}

.reviewtable td span.quotes {
    font-size: 1.2em;
}

.reviewinput {
    text-align: center;
    padding: 20px;
}

.reviewinput input[type='text'], .reviewinput select {
    width: auto;
    max-width: 200px;
}

td.comments>div.reviewz {
    margin: 10px;
}

td.comments>div.reviewz q {
    quotes: '\201c' '\201d';
}

td.comments>div.reviewz q:before, td.comments>div.reviewz q:after {
    font-size: 1.2em;
    opacity: .6;
    filter: alpha(opacity=60);
}

td.comments>div.reviewz q:before {
    content: open-quote;
    margin-right: 3px;
}

td.comments>div.reviewz q:after {
    content: close-quote;
    margin-left: 3px;
}

.myreply {
    background-color: rgba(255, 255, 255, .2);
    margin-left: 50px;
    padding: 10px;
    border-radius: 1em;
}

.myreply .edit {
    float: right;
    font-size: .9em;
    margin: auto 3px;
}

.edititem, .edititem:hover {
    font-size: .8em;
    color: #999999;
    text-decoration: none;
}

.revlink {
    color: #000000;
    text-decoration: none;
    border-bottom: 1px dotted rgba(0, 0, 0, .3);
}

.reviewtable .beforereply {
    opacity: .6;
    filter: alpha(opacity=60);
    margin-right: 10px;
}

.reviewtable .inreply {
    display: inline-block;
    zoom: 1;
    *display: inline;
    font-weight: italic;
}

.reviewtable .tdstatus {
    position: relative;
}

.reviewtable .tdstatus .button, .reviewtable .tdstatus .button:hover, .reviewtable .button.edit {
    padding: 1px 3px;
    font-size: .9em;
}

.reviewtable .closex {
    padding: 0;
    cursor: pointer;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    height: 20px;
    width: 20px;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
    border-radius: 1em;
    z-index: 1;
    position: absolute;
    top: 10px;
    right: 0;
    z-index: 999;
}

.reviewtable .tdstatus .inactive, .reviewtable .closex {
    color: #656565;
    background-color: #CCCCCC;
    border: 1px solid #AAAAAA;
    cursor: pointer;
}

.reviewtable .closex:before {
    content: "\00d7";
}

.revlabelfield {
    display: inline-block;
     zoom: 1;
     *display: inline; 
    width: 20%;
}

@media (max-width: 800px) {

    .reviewtable {
        width: 98%;
        min-width: 590px;
    }
    
    .reviewtable thead {
        display: none;
    }
    
    .reviewtable tr {
        display: block;
    }
    
    .reviewtable td, .reviewtable td[class^="td"] {
        display: block;
        padding: 0;
        text-align: left;
        white-space: normal;
        height: auto;
        width: 100%;
    }
    
    .reviewtable th[data-title]:before,
    .reviewtable td[data-title]:before {
        content: attr(data-title) ":\00A0";
        font-weight: bold;
    }

}

.reviewcolor {
    background-color: #cfd7e3;
    border: 1px solid #B9C3CE;
}

.revtableinactive {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: gray;
}

.revtableinactive td span.starcol {
    color: #222222 !important;
}

/* END REVIEWS */

/* OVERALL TABLE/BOX COLORS */
.generaltable, .largetable, .smalltable {
    background-color: #F1F1F1;
    border: 1px solid #E4E4E4;
}

.trpaddtop>td {
    padding-top: 15px;
    border-top: 1px solid #E4E4E4;
}

/* GENERAL */
.error {
    color: #CC0000;
}

.warning {
    color: #3836AB;
}

a {
    color: #00C8D7;
}

a.links:hover {
    color: #00C8D7;
    background: #c9d1ea;
}

a.linkset {
    color: #00C8D7;
}

.highlighttext {
    color: #00C8D7;
}

.lightcolortext {
    color: #999999;
}

.linecolor {
    color: #00C8D7;
}

.cellaccent {
    background-color: #B5BDDF;
}

.invupdate {
    border: 1px solid #990000;
    background-color: #F4DCDC;
}

.invset {
    border: 1px solid #999999;
}

.colortable, .colorcell {
    border: 1px solid #C0C0C0;
}

.fieldname {
    color: #000000;
}

.uparrow {
    border-bottom: 10px solid #999999;
}

.downarrow {
    border-top: 10px solid #999999;
}

.noarrow {
    border-bottom: 10px solid transparent;
}

input[type='submit'].button, .button {
    color: #FFFFFF;
    background-color: #666;
    border: 1px solid #666;
}

.pggroups {
    background-color: rgb(0,0,0,.1);
    border: 1px solid #999999;
    color: #888888;
}

.varstable td.centered { 
    color: #666666;  
}

h4 { 
    color: #000000; 
}

.boxed {
    border: 1px dashed #ccc;
    background: #ccc;
}

.boxweblinks .boxed {
    background-color: #D9DFE9;
}

.boxweblinks:hover .boxed {
    background-color: #666666;
}

td.imgtd input.updtimg {
    background: #DCE2EA;
    border: 1px solid #BEC9D8;
}

.imgcells tr.hoverimg:hover {
    background-color: #E6EBF2;
}

.prodlayout {
    color: #909EB2;
}

.layoutsel {
    border: 1px solid #FFCC00;
}

.pack_shiplabel {
    border: 1px solid #000000;
}

.pack_label {
    border: 1px dashed #000000;
}

.pack_boldheader, .pack_boldmid, .pack_topqty, .pack_topshort, .pack_toplong {
    background-color: #000000;
    color: #FFFFFF;
}

@media print {
    .pack_boldheader, .pack_boldmid, .pack_topqty, .pack_topshort, .pack_toplong {
        background-color: #FFFFFF;
        color: #999999;
        -webkit-print-color-adjust: exact;
    }
}

#help_screen ul li i:first-of-type {
    color: #000000;
    font-weight: bold;
}

#help_screen ul ul li i:first-of-type {
    color: #6C7E99;
    font-weight: normal;
}

@media (max-device-width: 800px) {

    .generaltable {
        width: 98%;
    }

    nav#adminlinks ul li {
        height: 2em;
        line-height: 2em;
        vertical-align: middle;
    }

}