/* 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;
}

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;
}

#topwrap {
    min-height: calc(100% - 120px);
}

div#overwrap, footer {
    margin: auto 250px;
    min-width: 800px;
}

div#overwrap.adminwrap {
    margin: auto;
}

div#overwrap.malswrap {
    margin-right: auto;
}

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;
}

/* FOOTER */
footer {
    text-align: center;
    position: relative; 
}


footer { 
    height: 100px;
}

footer > div {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
}

footer>div>div {
    font-size: .75em;
    font-weight: normal;
}

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;
}

.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;
}

.highlightlink {
    text-decoration: underline;
    cursor: pointer;
}

.lightcolortext {
    font-style: italic;
}

.accent {
    font-style: italic;
}

input[type='text'], input[type='url'], input[type='email'], input[type='password'], input[type='number'], select, textarea {
    height: 30px;
    width: 100%;
    border: 1px solid #C0C0C0;
    background: #FFFFFF;
    -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%;
}

/* hide number type spin arrows */
input[type='number'] {
    -moz-appearance:textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.tdnumber input[type='number'] {
    max-width: 90%;
}

input.totalfield {
    border: none;
    background: none;
}

.socialbutton {
    cursor: pointer;
    min-width: 50px;
    text-align: center;
}

#fontawesomelist {
    display: none;
    position: fixed;
    z-index: 999;
    height: 200px;
    width: 500px;
    left: 50%;
    margin-left: -250px;
    background-color: #FEFEFE;
    padding: 20px;
    border: 1px solid #888;
    overflow: scroll;
}

#fontawesomelist i {
    padding: 10px;
    cursor: pointer;
}

.socialbutton.sel {
    border: 1px solid red;
}

.faw-close {
    float: right;
}

.faw-key {
    max-width: 20%;
    text-align: center;
}

.faw-key.faw-hide {
    background: transparent;
    border: none;
    color: #000000;
    pointer-events: none;
}

.faw-url {
    max-width: 62%;
}

#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;
    box-sizing: border-box;
}

.generaltable ol { 
    text-align: left; 
}

.generaltable td { 
    padding: 3px;
}

.fullwidth {
    width: 100%;
}

.largetable {
    margin-left: auto;
    margin-right: auto;
    padding: 3px;
}

.maxtable {
    max-width: 800px;
}

.smalltable {
    margin-left: auto;
    margin-right: auto;
    width: 360px;
    padding: 3px;
}

.colortable {
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
}

.centertable, .middletable {
    text-align: center;
    margin: 0 auto;
}

.middletable td {
    text-align: left;
}

.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; 
}

.smallitalic {
    text-align: center;
    font-size: .85em;
    font-style: italic;
    font-weight: normal;
}

.smallitalic span {
    font-size: 1em;
    font-weight: bold;
}

.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, .leftarrow, .rightarrow, .noarrow {
    display: inline-block;
    *zoom: 1;
    *display: inline;
    height: 0;
    width: 0;
    cursor: pointer;
}

.uparrow, .downarrow, .noarrow {
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}

.leftarrow, .rightarrow {
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.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%;
}

.thumbimg {
    max-width: 100px;
    max-height: 100px;
}

.checkcenter {
    text-align: center;
    margin: auto;
}

.checkcenter div {
    text-align: left;
    margin: 10px auto;
    display: inline-block;
    *zoom: 1;
    *display: inline;
}

#themechecks
{
    position: sticky;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    bottom: 0;
    padding: 0;
}

#themechecks>div {
    background: rgba(102,102,102,.2);
    border-radius: 1em; 
    margin: auto;
    display: inline-block;
    margin: 20px;
    padding: 5px 10px;
}

.themeimg { 
    display: inline-block;
    *zoom: 1;
    *display: inline; 
    text-align: center;
    padding: 10px; 
    width: 30%; 
}

.themeimg>img.themethumb { 
    display: block;
    width: auto; 
    height: auto; 
    min-width: 100px;
    max-width: 100%; 
    border: 2px solid transparent;
    margin: auto;
}

.themeimg.selimg img.themethumb {
    border: 2px solid #000000;
    box-shadow: 4px 4px 5px #777777;
}

.themeimg:not(.selimg) {
    opacity: 0.7;
    filter: alpha(opacity=7);
}

.themeimg:hover {
    opacity: 1.0;
    filter: alpha(opacity=100);
}

.themeimg>span {
    white-space: nowrap;
}

a.previewtheme, a.customizetheme, a.previewtheme:hover, a.customizetheme:hover {
    background: transparent;
    color: #000000;
    border: none;
    cursor: pointer;
    font-size: 1em;
    text-decoration: none;
}

.useeditor {
    resize: both;
}

.themecolors img.thumbimg {
    float: right;
    padding: 10px;
}

.themecolors {
    padding-top: 15px;
    padding-bottom: 15px;
}

.themecolors .themetable {
    margin-right: 130px;
}

.themecolors .themetable table {
    width: 100%;
}

.themecolblock {
    height: 200px;
    width: 90%;
    margin: 5%;
    padding: 10px;
    border: 1px solid #E5E5E5;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 10px;
}

.themecolblock h3 {
    padding-top: 50px;
    padding-bottom: 10px;
    margin: 0;
}

.themetable label { 
    font-weight: bold; 
    white-space: nowrap;
}

.themetable #themeerrmsg {
    width: 50%;
    color: #CC0000;
    font-size: .85em;
}

.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;
}

input[type='submit'].roundbutton, input[type='button'].roundbutton, .roundbutton {
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    display: inline-block;
    *zoom: 1;
    *display: inline;
    box-sizing: border-box;
    height: 1.5em;
    line-height: 1.25em;
    vertical-align: middle;
    width: 1.5em;
    text-align: center;
    padding: 1px 3px;
    font-size: 1em;
}

input[type='file']::-ms-browse {
    padding: 3px 5px;
    border-radius: 5px;
    font-size: 1.1em;
}

input[type='file']::-webkit-file-upload-button {
    padding: 3px 5px;
    border-radius: 5px;
    font-size: 1.1em;
}

a.button, a.button:hover {
    font-size: 1.1em;
    text-decoration: none;
}

.button.smallbutton, .button.smallbutton:hover {
    font-weight: normal;
    font-size: .8em;
    padding: 1px 3px;
    opacity: 0.75;
    filter: alpha(opacity=75);
}

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 .centered { 
    font-style: italic; 
    margin: 0;
    padding: 10px; 
}

.varstable input[type='text'], .varstable input[type='number'], .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: #8dd691;
}

/* HEADER TITLE, LINKS */
header h3, header a, header a:hover {
    color: #FFFFFF;
}

/* TOP LINK BAR BACKGROUND AND LINK COLOR (NOT HOVER) */
nav#adminlinks {
    background: #c0e8c3;
    color: #000000;
}

/* TOP LINK HOVER LINK COLOR FOR DROP DOWN MENU */
nav#adminlinks ul li a, nav#adminlinks ul li a:hover {
    color: #444444;
}

/* TOP LINK HOVER BACKGROUND FOR DROP DOWN MENU */
nav#adminlinks ul ul li {
    background-color: #E1E5EA;
}

/* TOP LINK ACTIVE MAIN LEVEL BACKGROUND */
nav#adminlinks>ul>li.sel {
    background-color: #5b9d5d;
}

/* TOP LINK HOVER BACKGROUND MAIN */
nav#adminlinks ul li:hover {
    background-color: #5b9d5d;
}

/* TOP LINK HOVER BACKGROUND SUBS */
nav#adminlinks ul li:hover li:hover {
    background-color: #5b9d5d;
}

/* 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: #dee3f3;
}

/* SIDE LINK BACKGROUND AND MAIN LEVEL LINK COLOR */
nav#sidelinks div {
    background: #8dd691;
    color: #000000;
    border: 1px solid #b9c3ce;
}

/* SIDE LINK COLOR OF SUB PAGES (NO HOVER) */
nav#sidelinks a, nav#sidelinks a:hover {
    color: #444444;
}

/* SIDE LINK BACKGROUND FOR SELECTED PAGE */
nav#sidelinks ul li.sel {
    background: #e3e8f0;
}

/* SIDE LINK COLOR FOR SELECTED PAGE */
nav#sidelinks ul li.sel a {
    color: #000000;
}

/* SIDE LINK BACKGROUND ON HOVER */
nav#sidelinks ul li:hover {
    background-color: #5e7da4;
}

/* SIDE LINK COLOR ON HOVER */
nav#sidelinks ul li:hover, nav#sidelinks ul li:hover a {
    color: #EDEFF7;
}

/* TEMPLATE COLORS AND IMAGES */
.themecolors:nth-child(odd) { 
    background: #CCCCCC;
    background: rgba(0, 0, 0, 0.1); 
}

/* LAYOUTS */
.generaltable .sitecodeselect {
    background: #E3E8F0;
}

/* 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.orderitems td {
    width: 8%;
    white-space: nowrap;
}

.ordertable tr.orderitems td.delitem {
    width: 5%;
}

.ordertable tr.orderitems td.orderitem {
    width: 60%;
}

.ordertable tr td:last-of-type {
    position: relative;
    text-align: left;
    white-space: nowrap;
    padding-left: 15px;
    width: 19%;
}

.ordertable>tr:first-of-type td:last-of-type {
    text-align: center;
}

.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%;
}

.ordertable .discprice td:last-of-type:before {
    content: "-";
    position: absolute;
    left: .3em;
    font-size: 1.2em;
}

/* MALS FRAME */
.malstable {
    width: 100%;
    max-width: 1200px;
}

.malsframe, .malsframe iframe {
    min-height: 1000px;
}

.malsframe iframe {
    width: 100%;
    height: 10
    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;
    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%;
}

.favicolist>div {
    position: relative;
    display: inline-block;
    *zoom: 1;
    *display: inline;
    height: 180px;
    width: 150px;
    padding: 5px;
    margin: 10px 25px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    vertical-align: top;
}

.favicolist>div>div.fvimg {
    position: absolute;
    height: 150px;
    line-height: 150px;
    left: 0;
    right: 0;
    top: 0;
    text-align: center;
}

.favicolist img {
    max-width: 130px;
    max-height: 130px;
    vertical-align: middle;
}

.favicolist>div>div.fvname {
    position: absolute;
    height: 30px;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    overflow: hidden;
    font-size: .8em;
}

.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: #8dd691;
    border: 1px solid #B9C3CE;
}

#themechecks {
    background-color: #8dd691;
}

.trpaddtop>td {
    padding-top: 15px;
    border-top: 1px solid #B9C3CE;
}

/* ERRORS */
.error {
    color: #CC0000;
}

.warning {
    color: #3836AB;
}

.boxerror {
    text-align: center;
    width: 98%;
    max-width: 800px;
    background: #ED9E00;
    color: black;
    padding: 3px;
    margin: 10px auto;
    border-radius: 5px;
    font-size: .9em;
    font-style: italic;
}

.boxerror a, .boxerror a:hover {
    color: black;
    font-size: inherit;
}

/* GENERAL */

a {
    color: #465C99;
}

a.links:hover {
    color: #465C99;
    background: #c9d1ea;
}

a.linkset {
    color: #465C99;
}

.highlighttext {
    color: #000000;
}

.lightcolortext {
    color: #999999;
}

.linecolor {
    color: #465C99;
}

.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;
}

.leftarrow {
    border-right: 10px solid #999999;
}

.rightarrow {
    border-left: 10px solid #999999;
}

.noarrow {
    border-bottom: 10px solid transparent;
}

input[type='submit'].button, .button {
    color: #101C2D;
    background-color: #c0e8c3;
    border: 1px solid #8dd691;
}

input[type='file']::-ms-browse {
    color: #122135;
    background-color: #c0e8c3;
    border: 1px solid #8dd691;
}

input[type='file']::-webkit-file-upload-button {
    color: #122135;
    background-color: #c0e8c3;
    border: 1px solid #8dd691;
}

.pggroups {
    background-color: rgb(0,0,0,.1);
    border: 1px solid #999999;
    color: #888888;
}

.varstable .centered { 
    color: #000000;  
}

h4 { 
    color: #8dd691; 
}

.boxed {
    border: 1px dashed #4ebe54;
    background: #e3e8f0;
    padding-bottom: 10px;
}

.boxweblinks .boxed {
    background-color: #D9DFE9;
}

.boxweblinks:hover .boxed {
    background-color: #e3e8f0;
}

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;
}

/* LAYOUTS */
.layouttable {
    width: 100%;
}

.layouttable td.right {
    white-space: nowrap;
}

.layouttable td.left { 
    width: 100%; 
}

.generaltable .sitecodeselect {
    position: sticky;
    top: 0;
    padding: 10px;
    border-radius: 1em;
}

#help_screen ul li i:first-of-type {
    color: #000000;
    font-weight: bold;
}

#help_screen ul ul li i:first-of-type {
    color: #000000;
    font-weight: normal;
}

/* media styles */
@media (max-width: 1050px) {

    div#overwrap, footer {
        min-width: 800px;
        margin: 0;
    }

    nav#sidelinks {
        display: none;
    }

}

@media (max-width: 800px) {

    div#overwrap, header, footer, nav#adminlinks {
        min-width: 600px;
        margin-left: 0;
    }

    .generaltable {
        width: 98%;
        min-width: 590px;
        margin: auto 5px;
    }

    .basictable {
        width: 98%;
        min-width: 590px;
        margin: auto 5px;
    }

    .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;
    }

    nav#adminlinks ul li {
        height: 2em;
        line-height: 2em;
        vertical-align: middle;
    }

}

@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; 
    }

    .pack_boldheader, .pack_boldmid, .pack_topqty, .pack_topshort, .pack_toplong {
        background-color: #FFFFFF;
        color: #999999;
        -webkit-print-color-adjust: exact;
    }

}