#content {
    margin-top: 3em;
}
table.tblOrderSucces {
    width: 100%;
}

table.tblOrderSuccess th {
    width: 40%;
}

table.tblOrderSuccess th,
table.tblOrderSuccess td {
    border-bottom: 1px solid #ddd;
}

input,
textarea {
    /*font-size: .8em;
    line-height: 1.2em;*/
    font-family: inherit;
}

#info-wrap {
    position: relative;
}

#ecom-cat-toggle,
#catlist {
    float: left;
    width: 47%;
    clear: both;
    list-style: none;
}

#catlist li {
    clear: both;
    float: left;
    min-width: 70%;
    margin-left: 5px;
}

#catlist {
    display: none;
}

#catlist.toggled-on {
    display: block;
}

.container_wrap {
    width: 98%;
    clear: both;
    text-align: justify;
    -ms-text-justify: distribute-all-lines;
    text-justify: distribute-all-lines;
}

.stretch {
    width: 100%;
    display: inline-block;
    font-size: 0;
    line-height: 0
}

.itemcontainer {
    margin: 1em auto;
    width: 30%;
    display: inline-block;
    -webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;
    /* Firefox, other Gecko */
    box-sizing: border-box;
    /* Opera/IE 8+ */
}

.blankcontainer {
    font-size: 0;
    line-height: 0;
    width: 30%;
    display: inline-block;
}

.itemcontainer .singleImageWrap {
    width: 100%;
}

.jsGallery {
    position: relative;
}

.itemcontainer .singleImageWrap .oosLayer,
.jsGallery .oosLayer {
    position: absolute;
    color: #ff0000;
    font-size: 2rem;
    font-weight: 600;
    line-height: 4em;
    text-align: center;
    width: 100%;
    text-shadow: 2px 0 0 #000, -2px 0 0 #000, 0 2px 0 #000, 0 -2px 0 #000, 1px 1px #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}

.jsGallery .oosLayer {
    z-index: 2;
    line-height: 8em;
    width: 80%;
    left: 10%;
}

.itemcontainer .singleImage {
    margin: 0;
    xwidth: 90%;
    height: auto;
    overflow: hidden;
    position: relative;
    top: 0;
    z-index: 22;
}


/*.itemcontainer .singleImage:hover::before {
	content: "VIEW PRODUCT";
position: absolute;
top: 44%;
left: 32.5%;
background: #0b5586;
color: #ffffff;
font-weight: 400;
font-size: 1em;
padding: .35em .5em;
} */

.itemcontainer .singleImage:hover::before {
    content: "VIEW DETAILS";
    position: absolute;
    top: 41%;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    width: 120px;
    background: #0b5586;
    color: #ffffff;
    font-weight: 400;
    font-size: 1em;
    padding: .35em .5em;
    z-index: 2;
}

.itemcontainer .singleImage img {
    margin: 0 auto;
    display: block;
    /*width: 100%;*/
}

.red {
    color: #ff0000;
}

.sale {
    color: #ff0000;
    xcolor: #93304A;
}

.clear {
    clear: both;
}

.clear1em {
    clear: both;
    height: 1em;
}

.clear2em {
    clear: both;
    height: 2em;
}

.left {
    float: left;
}

.right {
    float: right;
}

.strikethru {
    text-decoration: line-through;
}

p.moreinfo {
    font-size: 1em;
    margin-top: .5em;
}

p.moreinfo a,
p.moreinfo a:visited {
    font-weight: normal;
    color: #0072BC;
}

p.moreinfo a:hover {
    color: #F7941E;
}


/* new stuff */


/*
root element for the page select element.
*/

#pgSelectContainer {
    /* required settings */
    position: relative;
    overflow-x: hidden;
    display: inline-block;
    width: 40px;
    top: .5em;
}

#pageBar {
    clear: both;
    display: table;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#pageBar .pagesBox {
    font-size: .8em;
    position: relative;
    top: -.5em;
}

#pageBar .numbers {
    float: right;
    max-width: 60%;
}

#pageBar a {
    display: inline-block;
    padding: 0 5px;
    background: none;
}

#pageBar a:hover,
#pageBar a.selected {
    background: #ddd;
}

.prevPage,
.nextPage {
    width: 12px;
}

.prevPage {
    margin-right: .5em;
    transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
}

.nextPage {
    margin-left: .5em;
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
}

#bottomcontrols {
    xmargin-top: -2em;
}


/**/

.price {
    display: inline-block;
    font-size: 1em;
    font-weight: 600;
    margin-right: 1em;
}

.saletext {
    font-weight: 600;
    color: #93304A;
}

hr.lightrule {
    margin: .5em 0 .7em 0;
    border: none;
    border-top: 2px solid #ddd;
}

.small {
    display: inline;
    position: relative;
    top: -4px;
    font-size: 0.7em;
}

.itemimage {
    float: left;
}

.disc {
    font-size: 14px;
}

#filterbox {
    border: 1px inset #262626;
    position: relative;
    xtop: -3px;
}

#proddetails {
    width: 90%;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
}

#fullprod {
    width: 100%;
}

ul#prodtabs {
    list-style: none;
    clear: both;
    margin-bottom: 0;
    margin-left: 0;
    /*border-top: 1px solid #464646;*/
    border-bottom: 1px solid #464646;
    display: inline-block;
    width: 100%;
}

ul#prodtabs li {
    line-height: 1.5em;
    margin-left: 0;
    margin-bottom: 0;
}

span.tabplus {
    display: block;
    float: right;
    font-size: 1.7em;
    text-align: center;
    width: 10px;
}

li.prodtab {
    float: none;
    background: none;
    padding: .4em 1.5em;
    font-size: .85em;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    color: #808080;
    border: 1px solid #ccc;
    margin-left: 0;
    line-height: 1.5em;
}

li.prodtab.tabselect,
li.prodtab:hover {
    xbackground: #5cd0f7;
    background: #2d4659;
    color: #ffffff !important;
}

section.prodsection {
    clear: both;
    /*border: 1px solid #ddd;*/
    -webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;
    /* Firefox, other Gecko */
    box-sizing: border-box;
    /* Opera/IE 8+ */
    padding: 1em;
    color: #808080;
}

section.prodsection * {
    color: #464646;
}

section.prodsection#description h1 {
    font-size: 1.3em;
    font-weight: 500;
    text-transform: none;
    color: #317082;
    margin-top: 1.3em;
    margin-bottom: .5em;
    line-height: 1.35em;
}

section.prodsection a,
section.prodsection a:visited {
    /*color: #FB4D01;*/
}

section.prodsection a:hover,
section.prodsecton a:active {
    color: #000;
}

section#socialbuttons {
    text-align: center;
}

.iteminfocontainer {
    float: left;
    min-height: 200px;
    display: inline-block;
    margin-top: 15px;
    margin-right: 0pt;
    margin-bottom: 5px;
    margin-left: 0pt;
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
}

.iteminfocont h1 {
    margin-top: 0;
}

.infocont {
	margin: 0 auto;
    display: block;
    text-align: left;
    height: unset;
    padding: .6em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.infocont .itemtitle {
    text-transform: none;
    clear: both;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.itemdesc p {
    font-weight: 300;
    text-transform: none;
    margin: 1em 0;
    line-height: 1.05;
}

.infocont .itemdesc {
    display: none;
}

.itemspan {
}

.itemspan a {
    color: #333;
    display: block;
    line-height: 1;
    font-weight: 600;
    font-size: 1em;
    text-transform: uppercase;
}

.priceBGcover {
    padding: 0.1em 0.6em 0.4em 0.6em;
}

.pricespan {
    font-weight: 700 !important;
}

.pricespan .red {
    margin-left: .7em;
    display: inline-block;
}

#addtocart div.selectContainer,
#addtocart div.qtyContainer {
    position: relative;
    float: left;
    min-width: 6em;
    margin-bottom: 1em;
}

.desc {
    font-size: 12px;
}

a.cartbutton,
a.cartbutton:visited {
    color: #fff;
}

a.cartbutton:hover,
input.cartbutton:hover {
    color: #fff;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, .7);
    box-shadow: 1px 1px 1px rgba(0, 0, 0, .7);
}

.cartbutton,
input.cartbutton {
    margin-top: 2px;
    margin-right: 2px;
    margin-bottom: 2px;
    margin-left: 2px;
    font-size: 14px;
    padding: 3px 10px;
    /* was 0 8px */
    color: #ffffff;
    float: right;
    display: block;
    border-radius: 5px;
    /*border:1px solid #29609b;*/
    border: none;
    /* TRANSLUCENT */
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 3%, rgba(0, 0, 0, 0.65) 52%, rgba(0, 0, 0, 0.45) 97%, rgba(0, 0, 0, 0) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(3%, rgba(0, 0, 0, 0.45)), color-stop(52%, rgba(0, 0, 0, 0.65)), color-stop(97%, rgba(0, 0, 0, 0.45)), color-stop(100%, rgba(0, 0, 0, 0)));
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 3%, rgba(0, 0, 0, 0.65) 52%, rgba(0, 0, 0, 0.45) 97%, rgba(0, 0, 0, 0) 100%);
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 3%, rgba(0, 0, 0, 0.65) 52%, rgba(0, 0, 0, 0.45) 97%, rgba(0, 0, 0, 0) 100%);
    background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 3%, rgba(0, 0, 0, 0.65) 52%, rgba(0, 0, 0, 0.45) 97%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 3%, rgba(0, 0, 0, 0.65) 52%, rgba(0, 0, 0, 0.45) 97%, rgba(0, 0, 0, 0) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#00000000', GradientType=0);
    /* BLUE
	background: #29609b;
	background: -moz-linear-gradient(top, #29609b 0%, #73b1e7 53%, #29609b 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#29609b), color-stop(53%,#73b1e7), color-stop(100%,#29609b));
	background: -webkit-linear-gradient(top, #29609b 0%,#73b1e7 53%,#29609b 100%);
	background: -o-linear-gradient(top, #29609b 0%,#73b1e7 53%,#29609b 100%);
	background: -ms-linear-gradient(top, #29609b 0%,#73b1e7 53%,#29609b 100%);
	background: linear-gradient(to bottom, #29609b 0%,#73b1e7 53%,#29609b 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#29609b', endColorstr='#29609b',GradientType=0 );
	*/
    /* RED
	background-color:#BF202F;
	background-image: linear-gradient(bottom, #901721 10%, #BF202F 60%, #901721 88%);
	background-image: -o-linear-gradient(bottom, #901721 10%, #BF202F 60%, #901721 88%);
	background-image: -moz-linear-gradient(bottom, #901721 10%, #BF202F 60%, #901721 88%);
	background-image: -webkit-linear-gradient(bottom, #901721 10%, #BF202F 60%, #901721 88%);
	background-image: -ms-linear-gradient(bottom, #901721 10%, #BF202F 60%, #901721 88%);
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0.1, #901721),
		color-stop(0.6, #BF202F),
		color-stop(0.88, #901721)
	);*/
    cursor: pointer;
}

.cartbutton:visited {
    color: #fff;
}

.cartbutton:hover {
    color: #000;
}

input.cartbutton {
    height: auto;
}

.addbutton,
.shoppingbutton,
.fmail {
    margin-top: 5px;
    xmargin-right: 5px;
    margin-bottom: 5px;
    margin-left: 0px;
    display: block;
    text-align: center;
    font-size: 1em;
    padding: .5em 1.1em;
    color: #ffffff;
    xfloat: right;
    display: block;
    background: #5399bb;
    xbackground: #fb4d01;
    cursor: pointer;
}

.addbutton:visited,
.shoppingbutton:visited,
.addbutton:hover,
.fmail:hover {
    color: #fff;
}

.addbutton:hover,
.shoppingbutton:hover,
.fmail:hover {
    background: #026696;
}

#addtocart #optionsContainer {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
}

.itemTotalPriceContainer .priceSpace {
    display: inline-block;
    width: 2.6em;
}

.qtyContainer,
.itemTotalPriceContainer,
#addtocart div.selectContainer {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-align-items: center;
    align-items: center;
    margin-bottom: 1em;
}

.qtyContainer {
    justify-content: flex-start;
}

@media screen and (max-width: 400px) {
    .qtyContainer,
    .itemTotalPriceContainer,
    #addtocart div.selectContainer {
        display: block;
    }
}


/************************************************/


/** Shopping Cart Page (NEW - not popups) */

#shoppingCartContainer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 2em;
}

#checkoutContainer {
    padding: 1em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

h2.checkoutHeading {
    text-transform: none;
    xcursor: pointer;
    color: #293032;
}

h2.checkoutHeading:hover {
    xcolor: #aaa;
}

@media screen and (min-width: 1115px) {
    h2.checkoutHeading {
        width: unset;
    }
}

@media screen and (min-width: 475px) and (max-width: 1115px) {
    h2.checkoutHeading {
        width: 50%;
    }
}

.checkoutHeading i.icon {
    padding-top: 3px;
    vertical-align: middle;
}

.checkoutHeading i.icon path {
    fill: #bbb;
}

input.confirmButton,
input.cancelbtn {
    width: 49%;
}


/* deal with these sections */

#checkoutContainer .sectionHead {
    width: 100%;
    padding: 5px 10px;
    background: #777;
    color: #fff;
    margin-bottom: 6px;
    font-size: 1.05rem;
    margin-top: 1em;
    cursor: pointer;
}

#checkoutContainer .sectionTriangleStyle {
    font-size: 2rem;
    display: block;
    clear: both;
    color: #777;
    margin-top: -1%;
    padding-left: .5%;
}

@media screen and (max-width: 850px) {
    #checkoutContainer .sectionTriangleStyle {
        margin-top: -1.25%;
    }
}

@media screen and (max-width: 690px) {
    #checkoutContainer .sectionTriangleStyle {
        margin-top: -1.5%;
    }
}

@media screen and (max-width: 585px) {
    #checkoutContainer .sectionTriangleStyle {
        margin-top: -1.75%;
    }
}

@media screen and (max-width: 480px) {
    #checkoutContainer .sectionTriangleStyle {
        margin-top: -2%;
    }
}

@media screen and (max-width: 430px) {
    #checkoutContainer .sectionTriangleStyle {
        margin-top: -3%;
    }
}

#checkoutContainer .sectionHead .cartStepNumber {
    display: inline-block;
    padding: 0;
    width: 25px;
    height: 25px;
    line-height: 25px;
    font-size: 14px;
    color: #777;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    background-color: #fff;
    border-radius: 25px;
    position: relative;
    margin-right: .5em;
}

#checkoutContainer .sysMsg {
    display: block;
    text-align: center;
}

#checkoutContainer .sysMsg * {
    color: #fff !important;
}

#checkoutContainer .sysMsg.errormsg {
    background: #ff0000;
    padding: 1em 2em;
    opacity: .7;
}

#checkoutContainer .sysMsg.successmsg {
    background: #008000;
    padding: 1em 2em;
    opacity: .7;
}


/**** End Shopping Cart Page */


/************************************************/


/*#addtocart label {
	width: 90px;
	display: inline-block;
	font-weight: bold;
}*/

#addtocart select,
#addtocart input {
    xmargin-top: 10px;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 8px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
}

#addtocart input,
#addtocart select {
    width: 100%;
    font-size: 1.1em;
}

#addtocart .itemTotalPriceContainer label,
#addtocart .selectContainer label {
    -webkit-flex: 1 0 0;
    flex: 1 0 0;
    font-weight: 600;
    font-size: 1.1em;
    margin-right: 1em;
}

#addtocart .qtyContainer label {
    font-weight: 600;
    font-size: 1.1em;
    margin-right: 3.6em;
}

#addtocart .qtyContainer input {
    height: unset;
    max-width: 72px;
    align-self: flex-start;
}

#addtocart .selectContainer select {
    -webkit-flex: 3 0 0;
    flex: 3 0 0;
    height: unset;
    margin-bottom: 0;
}

input {
    /*background-color: #eee;*/
    /*height: 18px;*/
}

.addtocart {
    background-color: #eee;
    width: 30px;
    height: 18px;
}

.quantity {
    width: 100%;
    max-width: 325px;
    text-transform: uppercase;
}

span.priceText {
    font-size: 1em;
    font-weight: 600;
    display: inline-block;
    color: #000;
}

.quantity:after {
    content: '.';
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}

.pricing {
    float: right;
    margin-top: 0.4em;
}

.pricing p {
    margin-bottom: 0;
}

.pricing .range {
    min-width: 75px;
    display: inline-block;
}

.qty_price {
    color: #81AD0A
}


/* fancybox */

#fancybox-content {
    background-color: #E2E2E2;
}


/**/


/* forms */

input.formerror {
    border: 2px solid #FF0000;
}

#order_error p {
    font-weight: 700;
    color: #FF0000;
}

.shopform,
#orderform {
    background: #e2e2e2;
    padding: 1em;
    border-radius: 4px;
    border: 1px solid #bbb;
    margin-right: 1em;
}

.shopform fieldset,
#orderform fieldset {
    border: 2px groove #eee;
    padding: 10px;
    border-radius: 5px;
}

.shopform legend,
#orderform legend {
    font-weight: 600;
    font-size: 1em;
}

#orderform label {
    font-size: .9em;
    font-weight: 600;
}

#orderform table {
    width: 100%;
}

#orderform td {
    background: none;
}

#orderform table#card_table {
    line-height: 1;
}

#orderform input[type=text] {
    width: 90%;
    border-radius: 4px;
    border: 1px solid #bbb;
    margin-bottom: 1em;
    padding: 4px;
    font-size: 1.05em;
    background: #fcfcfc;
}

#orderform input.full {
    width: 95%;
}

#orderform select {
    min-width: 100px;
    border-radius: 4px;
    border: 1px solid #bbb;
    margin-bottom: 1em;
    padding: 2px;
    font-size: 1.05em;
    background: #fcfcfc;
}

#frmFedex table tr:nth-child(odd) {
    background: #eee;
}

#frmFedex table tr:hover,
#frmFedex table tr.selected {
    background: #DFE8F0;
}

#frmFedex table th {
    font-weight: 600;
    background: #B5D7F5;
}

#frmFedex table td {
    padding: 4px 0;
}

.ship_radio {
    vertical-align: bottom;
    margin-bottom: 4px;
    margin-right: 1rem;
}


/* end forms */


/* RECEIPT */

#receipt_table {
    width: 100%;
}

#receipt_table tbody.borderless td {
    border: none;
}

#receipt_table tbody.bordered td,
#receipt_table tbody.bordered th {
    border: 1px solid #000;
    border-collapse: collapse;
}

#receipt_table th {
    font-weight: 600;
    background: #ddd;
    border: 1px solid #000;
    vertical-align: middle;
    text-indent: 2px;
}

#receipt_table th h2 {
    margin-top: .6em;
}

.darkbg {
    width: 100%;
    height: .4em;
    background: #ddd;
}

.merchant-address {
    text-align: center;
    font-weight: 600;
}


/* end receipt */


/** page components mobile **/

.notMobileOnly {
    display: none;
}

.mobileOnly {
    display: block;
    text-align: center;
}

section#socialbuttons.mobileOnly {
    text-align: left;
}

#sidebar {
    float: none;
    width: 100%;
    clear: both;
    display: block;
}

form input[type="submit"]#searchsubmit {
    /* magnifying-glass icon uses a php variable and so is set in manage/modules/shopping_cart/sidebar_widgets/Product Search/sidebar_widget.php */
    padding: 3px;
    height: 40px;
    border: 1px solid #262626;
    opacity: 1.0;
    cursor: pointer;
    cursor: hand;
    margin: 0;
    width: 15%;
    min-width: 50px;
    position: absolute;
}

#searchsubmit:hover,
#searchsubmit:focus,
#searchsubmit:active {
    opacity: .7;
}

#headingLine {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width: 550px) {
    #headingLine {
        flex-direction: column;
    }
}

#frmSearch {
    clear: both;
    position: relative;
    float: right;
    width: 100%;
    margin: 0;
    flex-direction: row;
    -webkit-flex-direction: row;
}

#frmSearch input[type=text] {
    width: 100%;
    display: inline-block;
    border: 1px solid #e9e9e9;
    height: 40px;
    -webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;
    /* Firefox, other Gecko */
    box-sizing: border-box;
    /* Opera/IE 8+ */
    padding: .8em;
    padding-left: 20%;
    background: #f4f4f4;
    color: #555;
    font-weight: 300;
    /*font-family: 'Open Sans', sans-serif;*/
    font-size: 15px;
    margin: 0;
}

#formSearchContainer {
    float: right;
    width: 100%;
}

#midband {
    margin: 2.5em auto 0 auto;
    max-width: 960px;
}

ul#breadcrumb {
    display: none;
}

.jsGallery .gallery-previous {
    left: -1.9em;
}

.jsGallery .gallery-next {
    right: -2.4em;
}

.clear.notMobileOnly {
    display: none;
}

#formSearchContainer .backbutton {
    display: none;
}


/**** NAVIGATON ***/


/* VERTICAL MENU STYLING */

ul.MenuBarVertical ul {
    padding: 0;
    list-style-type: none;
    z-index: 1020;
    cursor: default;
    width: 15em;
    position: relative;
    xborder: 1px solid #999;
    text-transform: uppercase;
    font-size: 0..7em;
    ccfont-family: 'Open Sans', sans-serif;
}

ul.MenuBarVertical li {
    height: 25px;
}

ul.MenuBarVertical ul li {
    margin-left: 0px;
}

ul.MenuBarVertical a {
    display: block;
    cursor: pointer;
    padding: 0.25em 0.75em;
    color: #464646;
    text-decoration: none;
    text-transform: uppercase;
}

ul.MenuBarVertical a:hover,
ul.MenuBarVertical a:focus {
    color: #000000;
}

ul.MenuBarVertical a.MenuBarItemHover,
ul.MenuBarVertical a.MenuBarItemSubmenuHover,
ul.MenuBarVertical a.MenuBarSubmenuVisible {
    color: #000000;
}

ul.MenuBarVertical iframe {
    position: absolute;
    z-index: 1010;
}

ul.MenuBarVertical.ie7 {
    margin-left: 0px;
}


/* END VERTICAL MENU STYLING */


/* SIDE NAVIGATION STYLES */

#sideMenu,
#sideMenu2 {
    min-height: 0;
    list-style-type: none;
    xpadding-bottom: 0.3em;
    padding-left: 0;
    xpadding-top: 0.4em;
    margin: 1.1em 0 2.5em 0;
    text-decoration: none;
    text-transform: capitalize;
    font-size: 0.95em;
    ccfont-family: 'Open Sans', sans-serif;
    background: #f4f4f4;
}

#sideMenu h2,
#sideMenu2 h2 {
    color: #ffffff;
    padding-top: .4em;
    padding-bottom: .4em;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-left: 1em;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.3em;
    font-weight: 400;
    letter-spacing: 1px;
}

#sideMenu li,
#sideMenu2 li {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    line-height: 1.2em;
    text-align: left;
}

#sideMenu li a,
#sideMenu2 li a {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-transform: capitalize;
    padding: 1em 0 1em 1.3em;
}

#sideMenu li a.side-menu-title,
#sideMenu2 li a.side-menu-title {
    text-align: center;
    margin-left: 0;
    padding: 0.25em 0.75em 0.25em 0;
}

#sideMenu li a.side-menu-title:hover,
#sideMenu2 li a.side-menu-title:hover {
    background: none;
}

#sideMenu span.mobileOpen,
#sideMenu span.mobileClose,
#sideMenu2 span.mobileOpen,
#sideMenu2 span.mobileClose {
    display: inline-block;
    xmargin: 2px 4px -.7em 13px;
    xtop: -1.9em;
    xfloat: right;
}

#sideMenu span.mobileOpen,
#sideMenu2 span.mobileOpen {
    border-bottom: 5px solid transparent;
    border-left: 10px solid #000;
    border-top: 5px solid transparent;
}

#sideMenu span.mobileClose,
#sideMenu2 span.mobileClose {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 10px solid #000;
    xborder-right: 10px solid #000;
    xborder-top: 5px solid transparent;
    xborder-bottom: 5px solid transparent;
}

#sideMenu li:hover span.mobileOpen,
#sideMenu span.mobileOpen:hover,
#sideMenu span.mobileOpen:focus,
#sideMenu li.selectedMenu span.mobileOpen,
#sideMenu2 li:hover span.mobileOpen,
#sideMenu2 span.mobileOpen:hover,
#sideMenu2 span.mobileOpen:focus,
#sideMenu2 li.selectedMenu span.mobileOpen {
    xborder-left: 10px solid #FB4D01;
    xbackground: none;
}

#sideMenu li:hover span.mobileClose,
#sideMenu li.selectedMenu span.mobileClose,
#sideMenu2 li:hover span.mobileClose,
#sideMenu2 li.selectedMenu span.mobileClose {
    xborder-right: 10px solid #FB4D01;
}

#sideMenu ul,
#sideMenu ul ul,
#sideMenu2 ul,
#sideMenu2 ul ul {
    list-style: none;
    /*display: block; this gets it toshow up but not make room for it. */
    xmargin: 0 auto .5em auto;
    /*this controls the side ul ul flyout */
    width: 90%;
    xborder: 1px solid #ccc;
    display: none;
}

#sideMenu ul.MenuBarSubmenuVisible,
#sideMenu2 ul.MenuBarSubmenuVisible {
    display: block;
}

#sideMenu ul.open,
#sideMenu ul.hoveropen,
#sideMenu2 ul.open,
#sideMenu2 ul.hoveropen {
    display: block;
}

#sideMenu ul li,
#sideMenu ul li:last-child,
#sideMenu2 ul li,
#sideMenu2 ul li:last-child {
    border: none;
}

#sideMenu li,
#sideMenu li a,
#sideMenu2 li,
#sideMenu2 li a {
    color: #000000;
    font-weight: 600;
    /*font-size: .98em;*/
    display: block;
    /* display:block used on <a> tags to provide full width of menu item */
    height: 100%;
    text-transform: capitalize;
}

#sideMenu li,
#sideMenu2 li {
    padding: 0;
    position: relative;
    border-bottom: 1px solid #ede9e9;
}

#sideMenu li a,
#sideMenu2 li a {
    padding: 1em 0.75em 1em 1.2em;
}

#sideMenu li a:hover,
#sideMenu li.selectedMenu a,
#sideMenu li a.selectedParent,
#sideMenu2 li a:hover,
#sideMenu2 li.selectedMenu a,
#sideMenu2 li a.selectedParent {
    background: #3f4041;
    color: #fff;
}

#sideMenu li.selectedMenu,
#sideMenu2 li.selectedMenu {
    background: #e9467d;
}

#sideMenu li.selectedMenu a.MenuBarItemSubmenu,
#sideMenu2 li.selectedMenu a.MenuBarItemSubmenu {
    color: #fff;
}

#sideMenu li li a,
#sideMenu2 li li a {
    text-transform: none;
    display: block;
    width: 100%;
    text-indent: 1em;
    padding-right: 4px;
}


/* top line of sideMenu */

#sideMenu .menu-top:hover a,
#sideMenu2 .menu-top:hover a {}

#sideMenu .menu-top,
#sideMenu .menu-top:hover,
#sideMenu2 .menu-top,
#sideMenu2 .menu-top:hover {
    background: #0b5586;
    position: relative;
    top: 0;
    padding: 0;
    /*border:1px solid #56bcd4; */
}


/** mobile **/

#sideMenu.isMobile,
#sideMenu2.isMobile {
    min-height: 0;
    margin-bottom: 0;
}

#sideMenu.isMobile li.menu-bottom,
#sideMenu2.isMobile li.menu-bottom {
    display: none;
}

#sideMenu.isMobile li.menu-bottom.toggled-on,
#sideMenu2.isMobile li.menu-bottom.toggled-on {
    display: block;
}


/* END SIDE NAVIGATION STYLES */


/***/

ul.justify {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: space-between;
}

ul.justify li {
    text-align: left;
    vertical-align: top;
    width: 100%;
    max-width: 23% !important;
}

@media (max-width: 549px) {
    .itemcontainer,
    .blankcontainer {
        width: 96%;
    }
}

@media (max-width: 809px) {
    ul#prodtabs {
        width: 96%;
    }
}

@media (min-width: 501px) {
    /*same as basic.css changes of sidemenu and content fields*/
    .itemcontainer,
    .blankcontainer {
        width: 48%;
    }
}

@media (min-width: 900px) {
    /*same as basic.css changes of sidemenu and content fields*/
    .itemcontainer,
    .blankcontainer {
        width: 30%;
    }
}

@media screen and (max-width: 690px) {
    .itemcontainer .singleImage {
        margin: 0;
    }
    #frmSearch {
        width: 100%;
        margin: 0 auto;
    }
    #frmSearch input[type=text] {
        xxwidth: 85%;
        margin-left: 0;
    }
}

@media screen and (min-width: 690px) {
    ul#breadcrumb {
        display: block;
        float: left;
        width: 62%;
        list-style-type: none;
        margin-left: 1.5em;
        /*line-height: 40px;*/
    }
    #formSearchContainer {
        float: right;
        width: 33%;
    }
    #midband {
        margin-top: 2.5em;
    }
    .notMobileOnly {
        display: block;
        font-size: 2.2em;
    }
    .mobileOnly {
        display: none;
    }
    #sidebar {
        float: left;
        clear: none;
        width: 23%;
    }
    #proddetails {
        /*width: 40%;*/
    }
    .jsGallery {
        width: 100%;
        float: left;
        left: 0;
        margin-right: 1em;
    }
    .container_wrap {
        width: 101%;
        margin-left: -1%;
    }
    #fullprod {
        min-height: 20em;
    }
}

@media screen and (min-width: 810px) {
    #content_area.hasSidebar.shopping_cart #content {
        margin: 0 auto 0 auto;
        width: 64%;
        float: left;
    }
}

@media screen and (min-width:960px) {
    li.prodtab {
        float: left;
        border: none;
        margin-left: 1.7em;
    }
    span.tabplus {
        display: none;
    }
    #midband {
        margin-top: 1.5em;
    }
    ul#breadcrumb {
        display: block;
        float: left;
        width: 50%;
        list-style-type: none;
        margin-left: 1.5em;
        line-height: 40px;
    }
    #formSearchContainer {
        float: right;
        width: 42%;
    }
    #formSearchContainer #frmSearch {
        width: auto;
    }
    #formSearchContainer #frmSearch input[type=text] {
        width: auto;
    }
}

@media screen and (min-width: 975px) {
    #formSearchContainer .backbutton {
        display: inline-block;
        position: relative;
        top: 6px;
        font-size: .9em;
    }
}

#fullprod table {
    /*width:100% !important;
	max-width:300px;*/
    border-bottom: 1px solid #c0c0c0;
}

#fullprod table,
#fullprod table tr,
#fullprod table th,
#fullprod table td {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#fullprod table tr:nth-of-type(odd) {
    background: #dbd0cb;
}

#fullprod table td {
    padding: 5px 5px;
    color: #464646;
}

h1.notMobileOnly,
h1.MobileOnly {
    font-weight: 600;
    margin-bottom: .1em;
}

#proddetails h1 {
    font-size: 1.9em;
    font-weight: 700;
    margin-bottom: .5em;
    text-transform: uppercase;
    line-height: 1.35em;
}

table#tblQPricing {
    border-collapse: collapse;
}

table#tblQPricing,
table#tblQPricing th,
table#tblQPricing td {
    border: 1px solid #464646;
    text-align: center;
}

table#tblQPricing th,
table#tblQPricing td {
    padding: 5px 8px;
}

table#tblQPricing th {
    font-weight: 600;
}

button {
    font-family: inherit;
}


/** account styles **/

h1.smallerH1 {
    font-size: 1.6em;
}

.margin-bottom-0 {
    margin-bottom: 0 !important;
}

.margin-bottom-1 {
    margin-bottom: 1em !important;
}

.margin-bottom-2 {
    margin-bottom: 2em !important;
}

.margin-bottom-3 {
    margin-bottom: 3em !important;
}

.margin-top-1 {
    margin-top: 1em !important;
}

.margin-top-2 {
    margin-top: 2em !important;
}

.margin-right-1 {
    margin-right: 1em !important;
}

.margin-right-2 {
    margin-right: 2em !important;
}

.margin-right-3 {
    margin-right: 3em !important;
}

.margin-right-4 {
    margin-right: 4em !important;
}

.margin-left-1 {
    margin-left: 1em !important;
}

.margin-left-2 {
    margin-left: 2em !important;
}

form hr {
    width: 100%;
    margin-top: 0;
    margin-bottom: 1em;
    border-color: #fefefe;
}

form .formTitle {
    margin-bottom: .5em;
}

form .flexrow .half {
    width: 49%;
}

form .flexrow .third {
    width: 32%;
}

form .flexrow .quarter {
    width: 24%;
}

form select {
    padding: .75em !important;
}

#AccountContentContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /*justify-content: space-evenly;*/
    justify-content: center;
    margin-top: 2em;
    margin-bottom: 50px;
}

#AccountContentContainer form {
    display: flex;
    flex-direction: column;
    margin-top: 1em;
    padding: 1em;
    border: 4px solid #c0c0c0;
    border-radius: 4px;
}

#AccountContentContainer form input[type=text],
#AccountContentContainer form input[type=email],
#AccountContentContainer form input[type=submit],
#AccountContentContainer form input[type=password] {
    width: 100%;
    border-radius: 4px;
}

#AccountContentContainer form input[type=submit] {
    font-size: .9rem;
    padding: .5rem;
}

#profileContainer {
    width: 60%;
}

.flexContainer {
    display: flex;
    flex-wrap: wrap;
}

.flexcolumn {
    flex-direction: column;
}

.flexrow {
    flex-direction: row;
}

.space-between {
    justify-content: space-between;
}

.space-around {
    justify-content: space-around;
}

.justify-center {
    justify-content: center;
}

.fullrow {
    width: 100%;
}

.halfrow {
    width: 50%;
}

.border-2 {
    xxborder: 2px solid #F7941E;
    border: 2px solid #666;
}

.padding-1 {
    padding: 1em;
}

.padding-2 {
    padding: 2em;
}

.pad-bottom-4 {
    padding-bottom: 4em;
}

.padding-left-1 {
    padding-left: 1em;
}

.padding-left-2 {
    padding-left: 2em;
}

.padding-left-3 {
    padding-left: 3em;
}

.padding-right-1 {
    padding-right: 1em;
}

.padding-right-2 {
    padding-right: 2em;
}

.border-round {
    border-radius: 6px;
}

.mobile-text-center {
    text-align: unset;
}

@media screen and (max-width: 850px) {
    .mobile-text-center {
        text-align: center;
    }
}

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

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

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

.card-wide {
    border: 2px solid #000;
    border-radius: 6px;
    min-height: 15em;
    width: 30em;
    position: relative;
    margin: .5em;
}

.card {
    border: 2px solid #000;
    border-radius: 4px;
    height: 15em;
    width: 14em;
    position: relative;
}

.card-title {
    /*background: #0b5586;*/
    background: #f7f7f7;
    color: #000;
    font-size: 1.2rem;
    padding: 6px;
    text-align: center;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.card-section {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    margin-top: 1em;
}

.card .cog-icon {
    width: 36px;
    position: absolute;
    right: 6px;
    bottom: 6px;
}

.minicard {
    border: 1px solid #ccc;
    max-width: 450px;
    min-width: 250px;
    width: 40%;
    padding: 2em 1em 1em 1em;
    margin-top: 1em;
}

.minicard h4 {
    margin-bottom: 0 !important;
}

.minicard img {
    width: 30%;
    max-width: 80px;
}

.minicard p {
    font-size: 1rem;
}

.minicard a {
    font-weight: 400;
}

.minicard .card-section {
    display: flex;
    align-items: center;
}

.orderContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: left;
}

.orderImg {
    margin-right: 1em;
}

.orderText {
    margin-left: 1em;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.orderTotal {
    position: absolute;
    right: 1em;
    bottom: 1em;
}

.orderDeets {
    position: absolute;
    left: 1em;
    bottom: 1em;
}

@media screen and (max-width: 500px) {
    .card-wide {
        width: 100%;
    }
    .halfrow {
        width: 100%;
    }
}

a img.cog-icon {
    border-radius: 50%;
    -webkit-transition: -webkit-transform .8s ease-in-out;
    transition: transform .8s ease-in-out;
}

a:hover img.cog-icon {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
}

#newAccountContent {
    margin-bottom: 1em;
    padding-bottom: 3em;
}

#setPasswordContainer {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 1em !important;
}

#setPasswordContainer .textContainer {
    width: 46%;
}

form#setPassword,
form#loginOnPage {
    padding: 1em;
    /*border: 4px solid #FFA73B;
    background: #fdc784;*/
}

@media screen and (max-width: 650px) {
    #setPasswordContainer {
        flex-direction: column;
    }
    #setPasswordContainer .textContainer,
    form#setPassword {
        width: 80%;
    }
}

button.passgen,
button.savePassword,
button[type=submit] {
    padding: .75rem;
    margin-bottom: 1em;
    cursor: pointer;
}

button.passgen {
    width: 50%;
    padding: .25rem;
    margin-right: 2em;
}

button.savePassword {
    margin-top: 1em;
}

#sysMsg .errorMsg {
    padding: 1em;
    width: 100%;
    background: #FFC4CD;
    color: #000;
    border: 1px solid #ff6060;
    border-radius: 6px;
}

/* new */
#shoppingProductContainerWrap{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	grid-gap: 1em;
}
.full-width #shoppingProductContainerWrap{
	margin: 1em;
}

#shoppingProductContainerWrap > div{
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	margin-bottom: 3em;
}

#shoppingProductContainerWrap .singleImageWrap{
	width: 100%;
	position: relative;
	max-width: 300px;
	margin: 0 auto;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	border: 1px solid #ddd;
	padding: .5em;
	box-sizing: border-box;
}

#shoppingProductContainerWrap .singleImageWrap > a{
	width: 100%;
	display: flex;
}

#shoppingProductContainerWrap .singleImageWrap > a .singleImage{
	margin: 0 auto;
}
#shoppingProductContainerWrap .singleImage img{
	vertical-align:bottom;
}

#shoppingProductContainerWrap .oosLayer {
    position: absolute;
    bottom: 50%;
    transform: translate(50%, 50%) rotate(11deg);
    z-index: 1;
    color: red;
    font-size: 1.2rem;
    font-weight: bold;
    right: 50%;
    text-align: center;
    width: 110%;
    text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white;
    box-sizing: border-box;
    white-space: nowrap;
}