/* TILES */
.tiles {
  display: flex;
  flex-flow: row wrap;
  margin: 0 -.3em;
}
.tile {
  flex: 0 0 50%;
  margin-top: .5rem;
  margin-bottom: 1rem;
  padding: .3em;
}
.tile a {
  display: inline-block;
  width: 100%;
  height: 100%;
  text-align: center;
  font-size: .8rem;
  font-weight: 400;
  transition: .24s cubic-bezier(0.23, 1, 0.32, 1);
}
.tile a,
.tile a:hover {
  color: #1a1a1a;
}
.tile img {
  margin-top: .5em;
  padding: 0 10%;
  width: 100%;
  height: auto;
}
.tile .icon {
  height: 100%;
  width: 100%;
  background-size: 100% 100%;
}
.tile .label {
  padding: .5em;
}


#categoryTiles .label {
  border-top: 1px solid #afafaf;
  text-align: left;
  font-weight: 400;
  color: #606060;
  transition: .24s cubic-bezier(0.23, 1, 0.32, 1);
}
#categoryTiles a:active .label,
.no-touch #categoryTiles a:hover .label {
  color: #333;
}


#tilesHome {
  margin-top: .5em;
  margin-bottom: .9em;
}
#tilesHome .tile {
  flex: 0 0 25%;
  margin: 0;
}
#tilesHome .tile-content {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
}
#tilesHome .tile-content::after {
  content: '';
  display: block;
  margin-top: 100%;
}
#tilesHome img {
  padding: 0 25%;
}
#tilesHome .label {
  position: absolute;
  bottom: 12%;
  padding: 0;
  width: 100%;
}

#tilesHome .tile-tamco {  /* TEMP */
  display: none;
}

#tilesHome .tile a {
  position: absolute;
  background: #fff;
  border: 2px solid #eee;
  border-radius: 12px;
  font-weight: bold;
}
#tilesHome a:hover {
  transform: scale(1.035);
}
#tilesHome a:active {
  transform: scale(.97);
}
#tilesHome .tile-bags a { border-color: #69af3d; color: #69af3d }
#tilesHome .tile-bottles a { border-color: #ed1c29; color: #ed1c29 }
#tilesHome .tile-buckets a,
#tilesHome .tile-drums a { border-color: #005496; color: #005496 }
#tilesHome .tile-containers a { border-color: #61217f; color: #61217f }
#tilesHome .tile-fittings a { border-color: #b92684; color: #b92684 }
#tilesHome .tile-food a { border-color: #c17cb5; color: #c17cb5 }
#tilesHome .tile-labware a { border-color: #325830; color: #325830 }
#tilesHome .tile-packaging a { border-color: #20998d; color: #20998d }
#tilesHome .tile-pipe a { border-color: #eba613; color: #d78a14 }   /* edab1f, d78a14 */
#tilesHome .tile-safety a { border-color: #7d4f2b; color: #7d4f2b }
#tilesHome .tile-sheet a { border-color: #db671e; color: #db671e }
#tilesHome .tile-tamco a { border-color: #005496; color: #005496 }
#tilesHome .tile-tanks a { border-color: #0070b8; color: #0070b8 }
#tilesHome .tile-tubing a { border-color: #007c91; color: #007c91 }
#tilesHome .tile-valves a { border-color: #f99f1c; color: #f99f1c }


@media (max-width: 374px) {
  .tile a {
    font-size: .6em;
  }
}
@media (max-width: 540px) {
  #categoryTiles {
    margin-bottom: 1rem;
  }
}
@media (min-width: 541px) {
  .tile {
    flex: 0 0 25%;
    border: 0;
  }
  .tile img {
    margin-bottom: 1em;
  }

  #tilesHome .tile {
    flex: 16.666%;
  }
}

@media (min-width: 1112px) {
  #tilesHome .tile {
    flex: 8.333%;
  }
  #tilesHome .tile a {
    border-radius: 8px;
  }
}


/* CATEGORIES */

#categoryAbout .video-container {
  margin-top: 1em;
  border: 1px solid #e0e0e0;
}
#categoryAbout .video-container img {
  margin-bottom: -4px;
}
@media (min-width: 541px) {
  #categoryAbout .video-container {
    display: inline-block;
    width: calc(50% - .5em);
  }
  #categoryAbout .video-container:nth-child(even) {
    float: right;
  }
}

.content-categories,
.content-categories .sidebar,
.content-categories > .content > * {
  padding: 0;
}
#categoryMap {
  display: flex;
  background: #f2f2f2;
}
#categoryMap .side {
  flex: 0 0 56px;
  max-width: 56px;
  padding: 0 3px;
  background: #d0d0d0; /* #909090 */
}
#categoryMap .main {
  flex: 1;
  padding: 11px;
}
#categoryMap .side a {
  position: relative;
  display: block;
  width: 50px;
  height: 75px;
  margin: 3px 0;
  background: #fff;
  overflow: hidden;
  text-align: center;
  /*font-size: .75rem;
  color: #909090;*/
  font-size: .55rem;
  font-weight: bold;
  color: #606060;
  transition-duration: 0.1s;
  /*-webkit-transition-duration: 0.45s;
          transition-duration: 0.45s;*/
}

#categoryMap .side:hover a:not(:hover) .icon {
  /*opacity: .5;*/
}
#categoryMap .side a:hover {
  transform: scale(.97);
  /*margin: 11px 0;*/
}
#categoryMap .side a div {
  position: absolute;
  width: 100%;
  bottom: 8px;
}
#categoryMap .side a.active {
  color: #fff;
}

#categoryMap .side .icon {
  background-size: 60px 60px;
  width: 60px;
  height: 60px;
  top: 5px;
  left: -5px;
  transition: none;
}
#categoryMap .main h3,
#categoryMap .main a {
  margin: 0;
  margin-bottom: 0.6em;
  line-height: 1.4rem;
}
#categoryMap .main h3 {
  font-size: 1.1rem;
  font-weight: bold;
  color: #005496; /* fallback */
}
#categoryMap .main a {
  display: block;
  padding: 0 0.5em;
  font-size: .85rem;
  color: #606060;
  white-space: normal;
}
#categoryMap .main a::before {
  content: "›";
  display: inline-block;
  top: -.1em;
  margin-right: .3em;
  font-weight: bold;
}


.view-bags #categoryMap .side a.bags,
.view-bottles #categoryMap .side a.bottles,
.view-buckets #categoryMap .side a.buckets,
.view-containers #categoryMap .side a.containers,
.view-drums #categoryMap .side a.drums,
.view-fittings #categoryMap .side a.fittings,
.view-valves #categoryMap .side a.food,
.view-labware #categoryMap .side a.labware,
.view-packaging #categoryMap .side a.packaging,
.view-pipe #categoryMap .side a.pipe,
.view-safety #categoryMap .side a.safety,
.view-sheet #categoryMap .side a.sheet,
.view-tamco #categoryMap .side a.tamco,
.view-tanks #categoryMap .side a.tanks,
.view-tubing #categoryMap .side a.tubing,
.view-valves #categoryMap .side a.valves {
  color: #fff;
}
.view-bags #categoryMap .side a.bags {
  background: #69af3d;
}
.view-bottles #categoryMap .side a.bottles {
  background: #ed1c29;
}
.view-buckets #categoryMap .side a.buckets,
.view-drums #categoryMap .side a.drums {
  background: #005496;
}
.view-containers #categoryMap .side a.containers {
  background: #61217f;
}
.view-fittings #categoryMap .side a.fittings {
  background: #b92684;
}
.view-food #categoryMap .side a.food {
  background: #c17cb5;
}
.view-labware #categoryMap .side a.labware {
  background: #325830;
}
.view-packaging #categoryMap .side a.packaging {
  background: #20998d;
}
.view-pipe #categoryMap .side a.pipe {
  background: #eba613;
}
.view-safety #categoryMap .side a.safety {
  background: #7d4f2b;
}
.view-sheet #categoryMap .side a.sheet {
  background: #db671e;
}
.view-tamco #categoryMap .side a.tamco {
  background: #005496;
}
.view-tanks #categoryMap .side a.tanks {
  background: #0070b8;
}
.view-tubing #categoryMap .side a.tubing {
  background: #007c91;
}
.view-valves #categoryMap .side a.valves {
  background: #f99f1c;
}
.view-clearance #categoryMap .side a.clearance {
  background: #f0f0f0;
}

.view-bags #categoryMap .main h3,
.view-bags .breadcrumb a {
  color: #69af3d;
}
.view-bottles #categoryMap .main h3,
.view-bottles .breadcrumb a {
  color: #df1521; /* ed1c29 */
}
.view-buckets #categoryMap .main h3,
.view-buckets .breadcrumb a,
.view-drums #categoryMap .main h3,
.view-drums .breadcrumb a {
  color: #005496;
}
.view-containers #categoryMap .main h3,
.view-containers .breadcrumb a {
  color: #61217f;
}
.view-fittings #categoryMap .main h3,
.view-fittings .breadcrumb a {
  color: #b92684;
}
.view-food #categoryMap .main h3,
.view-food .breadcrumb a {
  color: #c17cb5;
}
.view-labware #categoryMap .main h3,
.view-labware .breadcrumb a {
  color: #325830;
}
.view-packaging #categoryMap .main h3,
.view-packaging .breadcrumb a {
  color: #20998d;
}
.view-pipe #categoryMap .main h3,
.view-pipe .breadcrumb a {
  color: #d78a14;
}
.view-safety #categoryMap .main h3,
.view-safety .breadcrumb a {
  color: #7d4f2b;
}
.view-sheet #categoryMap .main h3,
.view-sheet .breadcrumb a {
  color: #db671e;
}
.view-tamco #categoryMap .main h3,
.view-tamco .breadcrumb a {
  color: #005496;
}
.view-tanks #categoryMap .main h3,
.view-tanks .breadcrumb a {
  color: #0070b8;
}
.view-tubing #categoryMap .main h3,
.view-tubing .breadcrumb a {
  color: #007c91;
}
.view-valves #categoryMap .main h3,
.view-valves .breadcrumb a {
  color: #f99f1c;
}
.view-clearance #categoryMap .main h3,
.view-clearance .breadcrumb a {
  color: #0061ac;
}

@media (max-width: 1023px) {
  #categoryMap {
    display: none;
  }
}

#categoryMap .side a.tamco {
  /*display: none;*/
}



/* ACCOUNT CREATION & SIGN IN */
#ctl00_ContentPlaceHolder1_PasswordResetUserNameRequired {
  display: block;
  margin: 5px 0;
}



/* ACCOUNT MANAGEMENT */
#account-header {
  font-weight: 700;
}
#account-header .account-header-intro {
  background: #333;
  line-height: 1.8rem;
  font-size: 1.2rem;
  color: #fff;
}
#account-header .account-header-links a {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
}
#account-header .account-header-links a:first-child {
  margin-top: 1em;
}
#account-header .account-header-contact {
  padding: 1rem 0 1.2rem;
  background: #f5f5f5;
  color: #1a1a1a;
}

@media (max-width: 720px) {
  #account-header {
    display: none;
  }
  .display-persistent #account-header {
    display: block;
  }
}

@media (min-width: 541px) {
  #account-header .account-header-contact {
    padding: .6rem 0;
  }
  #account-header .account-header-contact .content-wrapper-inset div {
    display: inline-block;
  }
  #account-header .account-header-contact .content-wrapper-inset div:not(:first-child) {
    margin-left: 1em;
  }
}

@media (min-width: 821px) {
  #account-header .account-header-intro {
    padding: .6rem 0;
  }
  #account-header .account-header-intro > div {
    display: flex;
    flex-wrap: nowrap;
  }
  #account-header .account-header-greeting {
    flex: 1;
    white-space: nowrap;
  }
  #account-header .account-header-greeting div {
    display: inline-block;
  }
  #account-header .account-header-greeting div:not(:first-child) {
    margin-left: 2em;
  }
  #account-header .account-header-links a {
    display: inline-block;
    margin: 0;
    padding-left: 1em;
    padding-right: 1em;
    line-height: 1.4rem;
    text-decoration: none;
  }
  #account-header .account-header-links a:first-child {
    margin: 0;
  }
  #account-header .account-header-links a:last-child {
    border-left: 2px solid #fff;
  }
}

#priorityCare {
  margin: 2em 0;
}
section#priorityCare > div {
  padding: 0;
}
#priorityCare .agentName {
  margin-top: .5em;
  /*font-weight: bold;*/
}
#priorityCare .agentImg,
#priorityCare .agentPhone {
  margin-top: 1em;
}
#priorityCare .agentFax,
#priorityCare .agentEmail,
#priorityCare .agentChat {
  margin-top: .5em;
}
#priorityCare .query {
  margin-top: 1em;
  font-size: 0.8rem;
}

#lnkBackToAccount,
#account-dashboard-links {
  display: block;
  margin-top: 11px;
}

@media (min-width: 721px) {
  #lnkBackToAccount,
  #account-dashboard-links {
    margin-top: 40px;
  }
}


#account-dashboard-links .grid-item {
  margin-bottom: 22px;
}


#account-nav * {
  font-weight: 300;
}
#account-nav li {
  display: inline-block;
  margin-top: 1rem;
  margin-right: -4px;
  width: 37%;
  line-height: 2em;
}
#account-nav li:nth-child(3n) {
  width: 26%;
}
@media (max-width: 720px) {
  #account-nav .box li {
    width: 50%;
  }
}
@media (max-width: 540px) {
  #account-nav .box li {
    width: 100%;
  }
}


.orderTable.itemTable td {
  vertical-align: top;
  padding: 1em;
  text-align: left;
}
.orderTable.itemTable td.table-cell-details div,
.orderTable.itemTable td.table-cell-total div {
  white-space: nowrap;
}

.orderTable.itemTable td.table-cell-details {
  border-right: 1px solid #e0e0e0;
}
.orderTable.itemTable tr:nth-child(even) td.table-cell-details {
  border-right-color: #d9d8d8;
}

.orderTable.itemTable td.table-cell-items {
  width: 100%
}
.orderTable.itemTable td.table-cell-items table {
  margin-top: 0;
  width: auto;
}
.orderTable.itemTable td.table-cell-items table td {
  padding: .5em .5em 0 0;
  background: transparent;
  text-align: left;
}

.orderTable.itemTable td.table-cell-total {
  text-align: right;
}

@media (max-width: 720px) {
  .orderTable.itemTable tr {
    border-top: 1px solid #e0e0e0;
  }
  .orderTable.itemTable .table-cell-items tr {
    border-top: 0;
  }
  .orderTable.itemTable tr:nth-child(even) td {
    background: transparent;
  }
  .orderTable.itemTable td {
    display: block;
    padding: 0;
    padding-top: 1em;
  }

  .orderTable.itemTable td.table-cell-details {
    border: 0;
  }
  .orderTable.itemTable td.table-cell-items {
    padding-left: 0;
  }
  .orderTable.itemTable td.table-cell-items table td {
    display: table-cell;
    padding: .5em .5em 0 0;
  }

  .orderTable.itemTable td.table-cell-total {
    padding-bottom: 1em;
    text-align: left;
  }
}




/* PCP Welcome */
.pcpWelcomeSection {
  padding: 25px 15px;
  text-align: center;
}
.pcpWelcomeSection h3 {
  margin: 0;
}
.pcpWelcomeSection img { /* place in container */
  width: 100px;
  margin: 10px 0;
}

/* Order & Item History */
#orderSearch {
  margin: 1em 0;
  padding-top: 0;
  padding-bottom: 0;
}
#orderSearch .ui-input-search {
  background-color: #f6f6f6;
}

#divOrderHistory .order {
  margin-top: 1em;
  padding: .6em 1em;
  background-color: #f6f6f6;
  border: thin solid #1a1a1a;
  text-align: left;
  font-size: .9rem;
  font-weight: 400;
  color: #1a1a1a;
}
#divOrderHistory .order-header,
#divOrderHistory .order-details {
}
#divOrderHistory .order-header {
  line-height: 1.5rem;
}
#divOrderHistory .order-header-options {
  float: right;
}
#divOrderHistory .order-details {
  padding-top: 0;
}

#divOrderHistory .section-tracking,
#divOrderHistory .section-invoice {
  margin-top: 1em;
}

#divOrderHistory .itemTable,
#divOrderHistory .itemTable .orderDetails table tr {
  border: 0;
}
#divOrderHistory .itemTable {
  margin: 1em 0 .4em;
  background: #fff;
  border-left: 2px solid #1a1a1a;
}
#divOrderHistory .itemTable thead {
  display: table-header-group;
}
#divOrderHistory .itemTable thead th {
  padding: 0;
  text-align: left;
}
#divOrderHistory .itemTable .table-info-qty {
  margin-top: .3em;
}
#divOrderHistory .itemTable .table-info-stock {
  margin-top: 1.3em;
}

#divOrderHistory .itemTable .orderDetails  {
  padding: .5em;
  background-color: #f6f6f6;
}
#divOrderHistory .itemTable .orderDetails strong {
  width: 3rem;
}
#divOrderHistory .itemTable .orderDetails {
  padding: 11px;
  line-height: 1.5em;
  font-size: 1rem;
  text-align:left;
  color: #1a1a1a;
}



/* VARIANTS */
.productSummary .product-title {
  margin-bottom: .3em;
}
.productSummary .item-sku {
  margin-bottom: .8em;
}
.productSummary .item-icon-prop65 {
  margin-left: .5em;
}
.productSummary .item-accessories a {
	display: inline-block;
	margin-top: .7em;
	font-weight: bold;
}
.productSummary .item-stock {
 margin-top: 1em;
 font-size: 1.3rem;
}
/*.productSummary .item-availability-alerts {
  position: relative;
  margin-left: .2em;
  cursor: pointer;
}
.productSummary .item-availability-alerts figure {
  box-sizing: content-box;
  padding: .3em;
  transition: .4s cubic-bezier(0.23, 1, 0.32, 1);
}
.productSummary .item-availability-alerts:hover figure,
.no-touch .productSummary .item-availability-alerts:active figure {
  transform: scale(1.1);
}*/
.productSummary .item-price {
  margin-top: 1em;
  font-size: 1.5rem;
}
.productSummary p.item-availability-message {
  margin-top: 2em;
}
#skuOptions {
  margin-top: 1em;
}
#skuOptions .btn {
  margin-top: 1em;
}
#skuBuyAndSave .table-discounts td {
  font-size: 1rem;
}
#skuBuyAndSave .table-discounts .price {
  font-size: 1.1em;
}
@media (min-width: 541px) {
  #skuOptions .btn + .btn {
    margin-left: .5em;
  }
}

.item-tags .tag {
  display: inline-block;
  padding: 0 1.4em;
  background: #0061ac;
  color: #fff;
  line-height: 1.6rem;
  font-size: .8rem;
  font-weight: bold;
  border-radius: 99px;
}
.item-tags .tag:not(:last-child) {
  margin-right: 1em;
}
.productSummary .item-tags + .product-title {
  margin-top: .7em;
}



/* PRODUCT GROUP */
.userOptions {
  margin-bottom: 1em;
  text-align: right;
}
.userOptions .print,
.userOptions .email {
  display: none;
  color: #1a1a1a;
}
.userOptions figure {
  margin-right: .4rem;
}
.userOptions .icon {
  top: -0.1rem;
}
@media (min-width: 541px) {
  .userOptions .print/*,
  .userOptions .email*/ {  /* temp – must have form */
    display: inline-block;
  }
  .userOptions a {
    margin-left: 1.2rem;
  }
}


#productGroupTable .item-tags .tag {
  margin-top: .6em;
  line-height: 1.6em;
  font-size: .75rem;
  font-weight: 400;
}
#productGroupTable .item-tags .tag:not(:last-child) {
  margin-right: .6em;
}
#productGroupTable .item-tags .tag-sale {
  position: relative;
  padding: 0;
  background: transparent;
}
#productGroupTable .tag-sale span {
  display: inline-block;
  vertical-align: top;
  padding: 0 .4em;
  border: 1px solid #c70000;
}
#productGroupTable .tag-sale > span:first-child {
  background: #c70000;
  border-radius: 3px 0 0 3px;
  color: #fff;
}
#productGroupTable .tag-sale > span:last-child {
  border-radius: 0 3px 3px 0;
  font-weight: bold;
  color: #333;
}
#productGroupTable .item-tags .tag-sale-bulk span {
  border: 1px solid #0061ac; /* 90c3ff */
}
#productGroupTable .item-tags .tag-sale-bulk > span:first-child {
  background: #0061ac; /* b9dcff */
}
#productGroupTable .item-availability-alerts {
  box-sizing: content-box;
  margin-top: -.3em;
  padding: .3em;
  cursor: pointer;
}
#productGroupTable .item-availability-alerts figure {
  width: 1.1em;
  height: 1.1em;
  background-size: 1.1em 1.1em;
  /*transition: .4s cubic-bezier(0.23, 1, 0.32, 1);*/
  transform-origin: 50% 25%;
  transition: none;
  transition-delay: .2s;
}
#productGroupTable .item-availability-alerts:hover figure,
.no-touch #productGroupTable.item-availability-alerts:active figure {
  background-image: url("https://www.usplastic.com/images/icons/ui/bell-ringing-c70000-v2.svg");
  /*transform: scale(1.1);*/
  animation: ring 5s .1s ease-in-out;
}

@keyframes ring {
  /* https://codepen.io/Mrshcom/pen/kNmBGm */
  0% { transform: rotate(0); }
  1% { transform: rotate(15deg); }
  3% { transform: rotate(-14deg); }
  5% { transform: rotate(17deg); }
  7% { transform: rotate(-16deg); }
  9% { transform: rotate(15deg); }
  11% { transform: rotate(-14deg); }
  13% { transform: rotate(13deg); }
  15% { transform: rotate(-12deg); }
  17% { transform: rotate(11deg); }
  19% { transform: rotate(-10deg); }
  21% { transform: rotate(9deg); }
  23% { transform: rotate(-8deg); }
  25% { transform: rotate(7deg); }
  27% { transform: rotate(-6deg); }
  29% { transform: rotate(5deg); }
  31% { transform: rotate(-4deg); }
  33% { transform: rotate(3deg); }
  35% { transform: rotate(-2deg); }
  37% { transform: rotate(1deg); }
  39% { transform: rotate(-.5deg); }
  41% { transform: rotate(.5deg); }
  43% { transform: rotate(0); }
  100% { transform: rotate(0); }
}




#popup_addEdit .popup-content {
  max-width: 540px;
}
#popup_addEdit .form-description {
  margin-bottom: 1.7em;
}
#popup_addEdit .form-country {
  display: flex;
  align-items: center;
}
#popup_addEdit .form-country .ui-select {
  flex: 1;
  /*margin-top: 0;
  overflow: hidden;*/
}
#popup_addEdit .form-country .toggle-help {
  margin: 0 1em;
  transform: scale(1.2);
}

#popup_image .img {
  float: none;
  max-width: none;
  width: 100%;
  height: auto;
}

#popup_video .popup-content {
  width: 90%;
}
#popup_video .video-loading {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  text-align: center;
}
#popup_video .video {
  margin-top: 0;
}

#popup_capPicker .popup-content {
  max-width: 530px;
}

#popup_add section:not(:first-of-type) {
  padding-top: 0;
}
#popup_add section:not(:first-of-type) {
  padding-top: 0;
}
#popup_add h3 {
  margin-bottom: .3em;
}
#popup_add h4 {
  margin-bottom: .6em;
  font-size: 1rem;
  font-weight: 900;
  /*color: #909090;*/
}
#popup_add .item-stock {
  margin-top: 1.3em;
  font-size: 1.1em;
}
#popup_add .item-price {
  font-size: 1.2em;
}
#popup_add .item-note {
  color: #909090;
}

#popup_add .item-add {
  margin-top: 1.5em;
}
#popup_add .item-add .item-error {
  margin: 0 0 .5em;
}
#popup_add .item-add .btn-fw {
  white-space: normal;
}

#popup_add .item-qty {
  text-align: justify;
  margin-bottom: -20px !important;
}
#popup_add .item-qty::after {
  content: '';
  display: inline-block;
  width: 100%;
  font-size: 0;
  line-height: 0;
}
#popup_add .item-qty > *,
#popup_add .item-qty .btn {
  display: inline-block;
  margin: 0;
  vertical-align: top;
}
#popup_add .item-qty .btn {
  border-radius: 9px;
  width: calc(34% - 16px);
  line-height: 34px;
  height: 36px;
}
#popup_add .item-qty-field {
  position: relative;
  width: 32%;
}
#popup_add .item-qty-field input {
  width: 100%;
  text-align: right;
}
#popup_add .item-qty-field.has-unit input {
  padding-right: 1.5em;
}
#popup_add .item-qty .item-qty-unit {
  position: absolute;
  top: 0;
  right: .5em;
  line-height: 36px;
  pointer-events: none;
}
#popup_add .item-qty-field input {
  height: 36px;
}

#popup_resetPassword .popup-content {
  max-width: 640px;
}
#popup_changePassword .popup-content {
  overflow: visible;
}
#popup_resetPassword p {
  margin-bottom: .4em;
}


/* PRODUCTS (GENERAL) */
.product-image {
  position: relative;
}
.product-image .logo-brand {
  position: absolute;
  /*top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 100% 100%;*/
  bottom: .5em;
  left: .5em;
}
@media not screen and not print {
  .product-image .image-logo {
    display: none;
  }
}

.productImages {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  width: 85%;
  max-width: 300px;
}

.productImages .img-featured {
  /*flex: none;  IE */
  border: 1px solid #e0e0e0; /* #707070 */
  margin-bottom: .25rem;
}
.productImages img {
  margin-bottom: -4px;
}

.productImages .img-featured,
.productImages .thumbnail-image .img {
  border: thin solid #c8c8c8;
}

.productImages .thumbnails {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -.25rem;
  flex: 0 0 auto;
}
.productImages .thumbnails-justify {
  justify-content: space-between;
}
.productImages .thumbnails .thumbnail {
  flex: 0 0 25%;
  max-width: 25%;
  border: .25rem solid transparent;
}
.productImages .thumbnails a {
  display: inline-block;
  transition: .4s cubic-bezier(0.23, 1, 0.32, 1);
}
.no-touch .productImages .thumbnails a:hover {
  transform: scale(1.03);
}
.productImages .thumbnails a:active {
  opacity: .4;
}
.productImages .thumbnails .video-thumbnail {
  height: 100%;
  background: #000;
  overflow: hidden;
}
.productImages .thumbnails .video-thumbnail img {
  display: table-cell;
  vertical-align: middle;
}
.productImages .thumbnails .video-thumbnail.video-thumbnail-flex img {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}
.productImages .thumbnails .label {
  display: none;
}

.productDetails .item {
  padding: .5em 0;
}
.productDetails .item:not(:last-child) {
  border-bottom: thin solid #e0e0e0;
}
.productDetails .label {
  font-weight: 700;
}

.product-alternatives a {
  display: block;
}
.product-alternatives a.item,
.product-alternatives a.item:hover {
  color: #0061ac;
}
.product-alternatives a:not(:first-child),
.product-alternatives li:not(:first-child) {
  margin-top: .8em;
}
.product-alternatives .item-content {
  display: flex;
  align-items: center;
}
.product-alternatives .item-price {
  margin-top: 0;
  font-size: 1rem;
  font-weight: 400;
  color: #1a1a1a;
}
.product-alternatives .item-note {
  display: none;
}
.product-alternatives .title,
.product-alternatives .img {
  display: inline-block;
  vertical-align: middle;
}
.product-alternatives .title {
  flex: 1;
  padding-left: .5em;
}
.product-alternatives .img {
  max-width: 50px;
  height: auto;
  flex: 0 0 50px;
}

.productSpecs_files div, .productSpecs_hazardous div {
  margin-top: .5em;
}

.productVideos .thumbnail-video:not(:first-child) {
  margin-top: 20px;
}
.productVideos .label {
  margin: 0 0 .25em;
  padding: .3em 0;
  font-size: .9em;
  font-weight: bold;
  background: #c8c8c8;
  color: #1a1a1a;
}
@media (min-width: 414px) {
  .productVideos .thumbnail-video {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    padding-right: 11px;
  }
  .productVideos .thumbnail-video:nth-child(2) {
    margin-top: 0;
  }
  .productVideos .thumbnail-video:nth-child(even) {
    padding-right: 0;
    padding-left: 11px;
  }
}
@media (min-width: 721px) {
  .productImages {
    width: 100%;
    max-width: none;
  }
  .productSummary .item-price div {
    display: inline-block;
  }
}
@media (min-width: 920px) {
  .productImages .thumbnails .thumbnail {
    flex: 0 0 20%;
    max-width: 20%;
  }
}


.table-discounts td {
  border: 0 solid #e0e0e0;
  border-bottom-width: 1px;
  padding: 1em .8em;
  vertical-align: middle;
  line-height: 1em;
  /*min-width: 98px;*/
}
.table-discounts tr:last-of-type td {
  border-bottom: 0;
}
.table-discounts td.table-cell-qty {
  box-sizing: border-box;
  text-align: right;
}
.table-discounts td.table-cell-price {
  border-left-width: 1px;
  text-align: left;
}
.table-discounts .table-cell-btn {
  padding-left: 0;
  padding-right: 0;
  width: 90px;
}
.table-discounts .btn {
  margin: 0;
  padding: 0 .5em;
  width: 100%;
}
.table-discounts .btn-active {
  opacity: .5;
  /*background: #c70000;
  color: #fff;*/
  pointer-events: none;
}
.table-discounts .btn .label-active,
.table-discounts .btn-active .label-default {
  display: none;
}
.table-discounts .btn-active .label-active {
  display: inline;
}

@media (min-width: 541px) {
  .table-discounts {
    width: auto;
  }
  #popup_add .table-discounts {
    width: 100%;
  }
}
@media (max-width: 540px) {
  .table-discounts td.table-cell-qty {
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
    overflow: auto;
  }
}
@media (max-width: 365px) {
  .table-discounts td:not(.table-cell-btn) {
    padding-left: .5em;
    padding-right: .5em;
  }
  .table-discounts .table-cell-btn {
    width: auto;
  }
}


#admin-controls {
  position: fixed;
  top: 30%;
  right: 0;
	transition: transform .3s ease-out;
  z-index: 9999;
}
#admin-controls:not(.ui-active) {
	transform: translateX(100%);
}
#admin-controls-toggle {
	position: absolute;
	top: 50%;
	left: 0;
	transform: translate(-70%, -50%) rotate(-90deg);
	padding: 1em 0 1.5em;
	width: 9.5em;
	border: 2px solid #222;
	border-bottom: 0;
  border-radius: 6px 6px 0 0;
	font-size: .8em;
	font-weight: 900;
	color: #222;
}
#admin-controls-content {
  padding: .7em 1.2em 1em 1.2em;
	width: 12em;
  border-radius: 8px 0 0 8px;
  border: 2px solid #222;
  border-right: 0;
}
#admin-controls-toggle,
#admin-controls-content {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
#admin-controls h3 {
  margin: 0;
  font-size: 1em;
  font-weight: bold;
}
#admin-controls .btn {
  display: block;
  margin-top: .5em;
  width: 100%;
}
@media (max-width: 800px) {
  #admin-controls {
    display: none;
  }
}


/* QUICK ORDER */
.quickorder-item.hidden {
  display: none;
}


/* CART & CHECKOUT */
.page-cart .hide-on-cart {
  display: none;
}

#divCart .pageNote {
  margin: 3em 0;
}

#divCart .itemTable {
  position: relative;
  margin-bottom: 0;
  border: 0;
}
#divCart .itemTable td {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #707070;
}
#divCart .itemTable tr:first-child td {
  border-top: 1px solid #707070;
}

#divCart .itemTable .table-detail-remove {
  margin-top: 1em;
  color: #c70000;
}

/* LOAD LARGER IMAGES */
/*#divCart .itemTable .table-cell-stock .img {
  width: 120px;
}*/

#divCart .itemTable .table-cell-description {
  position: relative;
  padding-top: 1em;
  padding-bottom: 1em;
  /*padding-right: 3.5em;*/
}
#divCart .itemTable .tableRemoveItem {
  position: absolute;
  top: 50%;
  right: .5em;
  margin: 0;
  padding: .5em;
  transform: translateY(-50%);
}
#divCart .itemTable .tableRemoveItem .icon {
  width: 1.5em;
  height: 1.5em;
  background-size: 1.5em;
}

#divCart .itemTable .table-info-stock {
  margin-top: .5em;
}

#divCart .itemTable .table-info-qty,
#divCart .itemTable .table-info-price,
#divCart .itemTable .table-info-price .price {
  font-size: .9rem;
}

#divCart .itemTable .table-info-qty {
  margin-bottom: .3em;
}
#divCart .itemTable .table-info-qty input,
#divCart .itemTable .table-info-qty .btn-update,
#divCart .itemTable .table-info-qty .btn-addAndSave,
#divCart .itemTable .table-info-qty .table-detail-addAndSave {
  display: inline-block;
  vertical-align: middle;
  margin-left: .5em;
  height: 30px;
  line-height: 30px;
  width: auto;
}
#divCart .itemTable .table-info-qty input {
  width: 70px;
}
#divCart .itemTable .table-info-qty .btn-update {
  display: none;
  margin-right: .5em;
  font-size: .9em;
}
#divCart .itemTable .table-info-qty .btn-addAndSave {
  background: #27508e;
  border: 0;
  font-size: .9em;
}
#divCart .itemTable .table-info-qty .btn-addAndSave:active,
.no-touch #divCart .itemTable .table-info-qty .btn-addAndSave:hover {
  background: #1c3e73;
}

#divCart .itemTable .table-info-price {
  font-weight: 400;
  color: #1a1a1a;
}
#divCart .itemTable .table-info-price + .table-info-price {
  margin-top: 0;
}
#divCart .itemTable .label {
  font-weight: bold;
}
#divCart .itemTable .item-price-old {
  display: inline;
}

#jsShippingEstimateOutput p:first-child {
  margin-top: 1.5em;
}

#addAndSave {
  margin: 2em 0 1.5em;
}

/*#divCart .itemTable .table-info-addAndSave {
  margin: 1em 0 .5em;
  padding: .5em .7em;
  background: #f2f2f2;
}
#divCart .itemTable .table-info-addAndSave a {
  display: inline;
}*/

@media (max-width: 540px) {
  #divCart .itemTable .table-info-qty .btn-addAndSave {
    display: block;
    margin: .5em 0 1em;
  }
}
@media (min-width: 541px) {
  /*#divCart:not(.cart-empty) {
    border: 1px solid #1a1a1a;
    padding: 0 2em;
  }
  #divCart .itemTable tr:first-child td {
    border-top: 0;
  }
  #divCart .itemTable tr:last-child td {
    border: 0;
  }*/
}


.checkoutBoxes {
  margin-top: 22px;
}
.checkoutBoxes .box {
  padding: 0;
}
.checkoutBoxes .btn {
  display: block;
}
@media (min-width: 800px) {
  .checkoutBoxes {
    display: flex;
    margin-top: 22px;
  }
  .checkoutBoxes > div {
    display: inline-block;
    flex: 1;
    max-width: 280px;
  }
  .checkoutBoxes > div:not(:first-child) {
    margin-left: 22px;
  }
  .checkoutBoxes .box {
    margin: 0;
  }
  .checkoutBoxes #checkoutBoxes_orderSummary {
    max-width: 240px;
  }
}

/* Shipping/Billing Address */
#storePickup {
  margin-bottom: 2rem;
}
#storePickup h3 {
  background: none;
}
#messageBillingEdit {
  margin-top: 1em;
}

/* Shipping Method */
#motorFreightAdditionalInfo {
  font-weight: 300;
}
#motorFreightAdditionalInfo > div:not(:first-child) {
  margin-top: .5em;
}
.display-error #motorFreightAdditionalInfo {
  border-color: #c70000;
}
.display-error #motorFreightAdditionalInfo .icon-alert {
  background-color: #c70000;
}
.display-error #motorFreightAdditionalInfo .message-receiving-hours {
  color: #c70000;
}

#collectAccountsTable {
  margin: 1em 0 2em;
  border: thin solid #707070;
}
#collectAccountsTable th,
#collectAccountsTable td {
  vertical-align: middle;
}
#collectAccountsTable td {
  padding: 1em;
}
#collectAccountsTable .buttons {
  margin-top: 1em;
}
#collectAccountsTable .btn {
  display: inline-block;
  margin: 0;
}

#shippingMethodCollect .form-accountnumber input {
  max-width: 400px;
  margin-bottom: .5em;
}

@media (max-width: 540px) {
  #collectAccountsTable .btn {
    width: calc(50% - 11px);
  }
  #collectAccountsTable .btn:first-child { float: left; }
  #collectAccountsTable .btn:last-child { float: right; }
}
@media (min-width: 541px) {
  #collectAccountsTable {
    width: auto;
  }
  #collectAccountsTable div {
    display: inline-block;
    white-space: nowrap;
  }
  #collectAccountsTable div:not(:first-child) {
    margin-left: 22px;
  }
  #collectAccountsTable div:not(.buttons) {
    margin-bottom: 1em;
  }
  #collectAccountsTable .buttons {
    margin: 0;
  }
  #collectAccountsTable .btn {
    width: 100px;
  }
  #collectAccountsTable .btn:not(:first-child) {
    margin-left: 22px;
  }
}
@media (min-width: 760px) {
  #collectAccountsTable .buttons {
    float: right;
    /*margin: 0;*/
  }
}

/* Review Order */
.content-wrapper-checkout .content-section {
  border-bottom: 1px solid #707070;
}
.content-wrapper-checkout .columns {
  margin-top: 1em;
  padding: 0 22px;
}
.content-wrapper-checkout .column-header {
  flex: 0 0 180px;
  max-width: 180px;
}
.content-wrapper-checkout .column-content {
  flex: 1;
}
.content-wrapper-checkout .columns h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: bold;
}
#page-review-order h2 {
  font-size: 1.4rem;
  margin-bottom: 1em;
}

@media (max-width: 798px) {
  .content-wrapper-checkout .columns {
    display: block;
    padding: 0;
  }
  .content-wrapper-checkout .columns .column {
    max-width: 100%;
    padding: 0;
  }
  .content-wrapper-checkout .columns  .column-content,
  .content-wrapper-checkout .columns  .column-button {
    margin-top: .6em;
  }
}
@media (min-width: 800px) {
  .content-wrapper-checkout .column-button {
    text-align: right;
  }
  .content-wrapper-checkout .columns_PO h3 {
    margin-top: .8em;
  }
}

#checkoutItems > div {
  padding-bottom: 1em;
}
#checkoutItems h2 {
  margin-bottom: .5em;
}
#checkoutItemTable {
  margin-top: 0;
  margin-bottom: 0;
  border-bottom: 0;
}
#checkoutItemTable .item-stock {
  margin-top: .1em;
}
#checkoutItemTable .table-info-quantity,
#checkoutItemTable .table-info-price {
  font-size: .9em;
}
#checkoutItemTable .table-info-price {
  margin-top: 0;
}
#checkoutItemTable .item-price {
  font-size: 1em;
}

/* Payment */
#paymentMethod {
  padding: 2px;
}
#paymentMethod h2 {
  font-size: 1.2rem;
}
#paymentMethod #PONumber {
  margin-bottom: 2.5em;
}
#creditCardList,
#creditCardListStatus {
  margin-top: .5rem;
}
#creditCardListStatus {
  margin-bottom: 2rem;
}

#jsChkBoxSection {
  margin-top: 1em;
}
#vertex-wizard-modal {
  position: fixed !important;
  z-index: 9999;
}

/* Order Summary */
#checkoutOrderBoxes .btn {
  display: block;
  margin: 0 0 22px;
}
#checkoutOrderBoxes .box {
  margin-bottom: 22px;
  padding: 0;
}
#checkoutOrderBoxes .box {
  width: 230px;
}
#checkoutOrderBoxes .note {
  font-size: .75rem;
}
.box .content {
  padding: .9em 11px;
}
.box h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;
}
.box .btn {
  margin: 1em 0 .5em;
}
.box .value {
  float: right;
  padding-left: .3em;
  font-weight: 300;
}

#orderSummaryBox {
  font-weight: bold;
  min-width: 200px;
}
#orderSummaryBox.box {
  border: thin solid #000;
}
#orderSummaryBox.box > * {
  position: relative;
  margin: 0;
  padding: .7em 11px;
}
#orderSummaryBox .value {
  position: absolute;
  right: .7em;
  top: 50%;
  transform: translateY(-50%);
}
#orderSummaryBox.box .total {
  /*border-top: 1px solid #000;*/
  background: #000;
  color: #fff;
}
#orderSummaryBox.box .total .value {
  font-weight: bold;
}
#orderSummaryBox.box .highlight {
  background: #f2f2f2;
}
#orderSummaryBox a.small {
  font-size: .8em;
}

@media (max-width: 799px) {
  #orderSummaryBox .hide-in-full-width {
    display: none;
  }
}


.content-wrapper-sidebar .content-sidebar-orderSummary {
  flex: 0 0 230px;
  min-width: 230px;
  margin-bottom: 22px;
}
@media (min-width: 1024px) {
  .hideWithSidebar {
    display: none !important;
  }
}
@media (max-width: 1023px) { /* 1156px */
  .showWithSidebar {
    display: none !important;
  }
  .content-wrapper-checkout.content-wrapper-sidebar {
    flex-direction: column;
  }
  .content-wrapper-checkout.content-wrapper-sidebar .content-main {
    padding-right: 0; /* IE */
    flex: none;  /* IE */
  }
  .content-wrapper-checkout.content-wrapper-sidebar .content-sidebar {
    display: flex;
    flex-direction: row; /* IE */
    flex: none;  /* IE */
    margin-left: 0;
  }
}
@media (max-width: 799px) {
  .content-wrapper-checkout.content-wrapper-sidebar .content-sidebar:not(.content-sidebar-Summary) {
    display: block;
  }
  .content-wrapper-checkout.content-wrapper-sidebar .content-sidebar-Summary {
    flex-direction: column-reverse;
  }
  #checkoutOrderBoxes .disclaimer {
    max-width: none;
  }
  #checkoutOrderBoxes .box,
  #checkoutOrderBoxes .box.box-fixedwidth {
    /*margin: 0;*/
    border: 0;
    width: 100%;
  }
  #checkoutOrderBoxes > .box {
    margin: 0;
  }

  #checkoutOrderBoxes #orderSummaryBox {
    border-top: 2px solid #000;
  }
}
@media (min-width: 800px) {
  #checkoutOrderBoxes {
    max-width: 230px;
  }
}




/* CONTENT PAGES */
.generalpageheading {
  display: none;
}

.contentPageContainer h1,
.contentPageContainer hr,
.contentPageContainer .imgContainer {
  margin: 0 0 25px;
}
.contentPageContainer .page-header-special {
  margin: 0 0 35px;
}

.contentPageContainer .page-header-special {
  text-align: center;
}
.contentPageContainer .page-header-special h1 {
  margin: 0;
  font-size: 1.5rem !important;
  font-weight: 400;
}
.contentPageContainer .page-header-special .subtitle {
  margin: 8px 0 22px;
  font-size: 1rem;
}
.contentPageContainer .page-header-special::after {
  content:'';
  display: block;
  margin: 0 auto;
  width: 60px;
  border-bottom: 1px solid #c8c8c8;
}
.contentPageContainer .page-header-special.noBorder::after {
  border: 0;
}
.contentPageContainer .imgContainer {
  display: block;
  width: 100%;
  text-align: center;
}
.contentPageContainer img { /* check this */
  max-width: 100%;
  max-height: 220px;
}
.contentPageContainer .imgCaption {
  margin-top: 8px;
  font-size: 0.9rem;
}
.contentPageContainer .imgCaption a {
  display: block;
  margin-top: 6px;
}
.contentPageContainer .quoteBlock {
  padding: 0 1em;
}
.contentPageContainer .readerResponse .quoteBlock {
  margin-top: 1em;
  font-style: italic;
}
.contentPageContainer .signOff {
  font-style: italic;
}

.contentPageContainer .addressBlock *,
.contentPageContainer ul * {
  /*font-family: 'Open Sans', sans-serif !important;*/
  font-size: 1rem;
}
.contentPageContainer .addressBlock div:first-child {
  font-weight: bold;
}
.contentPageContainer .disclaimer {
  margin-top: 50px;
}
.contentPageContainer .returnTo {
  margin-top: 2em;
  text-align: right;
  clear: both;
}
/* Contact */
.contact-list .contact-column:not(:first-child) {
  margin-top: 1.2rem;
}
.contact-list .contact-column > * {
  padding: 0 11px;
}
.contact-list .contact-header {
  background: #f1f1f1;
}
.contact-list .contact-group {
  margin-top: 1rem;
}
.contact-list h3, .contact-list h4 {
  display: inline-block;
  margin: 0;
  font-weight: bold;
  font-size: 1rem;
}
.contact-list h3 {
  font-size: 1.1rem;
  line-height: 1.8em;
}
.contact-list .hours {
  font-style: italic;
}
.content-wrapper-contact .disclaimer {
  margin: 2em 0;
}
@media (min-width: 720px) {
  .contact-list {
    margin-left: -11px;
    margin-right: -11px;
  }
  .contact-list .contact-column {
    display: inline-block;
    vertical-align: top;
    margin-right: -4px;
    padding: 0 11px;
    width: 33.333%;
  }
  .contact-list .contact-column:not(:first-child) {
    margin-top: 0;
  }

  .content-wrapper-contact .disclaimer {
    text-align: right;
  }
}
/* Help */
#helpContent .pageDescription, /* hide with .desktopOnly selector */
#helpContent h6 {
  display: none;
}

#helpContent .helpTopics > div {
  display: table;
  margin-bottom: 35px;
}
#helpContent .helpTopics > div > div:not(.helpIcon) {
  display: table-cell;
  vertical-align: middle;
  padding-left: 15px;
}
#helpContent .helpTopics p {
  display: inline;
}
.contentPageContainer .helpIcon {
  display: table;
  height: 20px;
  width: 20px;
  background-color: #1997f9;
  box-shadow: 0 0 0 1px white, 0 0 0 2px #1997f9;
  border-radius: 100%;
  text-align: center;
  line-height: 0;
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
}
.contentPageContainer .helpIcon::after {
  display: table-cell;
  vertical-align: middle;
  content: "i";
}

.contentPageContainer.infoPage h1 {
  margin-bottom: 25px;
  padding-left: 40px;
}
.contentPageContainer.infoPage .helpIcon {
  float: left;
  height: 26px;
  width: 26px;
  font-size: 1.3rem;
}

/* Data Privacy */
@media (min-width: 721px) {
  #tableCCPA td:first-child {
    min-width: 240px;
  }
}

/* Digital Catalog */
#digitalCatalog {
  position: relative;
  width: 100%;
  margin: 1em auto;
  padding-bottom: 70%;
  padding-top: 8%;
  height: 0;
  text-align: center;
  overflow: hidden;
}
#digitalCatalog iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 999px) {
  #digitalCatalog {
    padding-bottom: 140%
  }
}

/* Site Map */
#page-sitemap h4 {
  margin: 1.5em 0 .5em;
}
#page-sitemap a {
  display: block;
  line-height: 1.8em;
  font-weight: 300;
}
