/* --- Top language bar: fixed above everything --- */
:root { --langbar-h: 36px; }  /* adjust if your pills are taller */

.lang-switch {
  position: fixed;
  top: 0;
  right: 12px;
  z-index: 1000;               /* sit above warning/header */
  display: inline-flex;
  gap: 2px;
  background: #f4f6f8;
  border-radius: 999px;
  padding: 2px;
  align-items: center;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}

/* Push the whole site down so nothing sits under the fixed switcher */
html, body { scroll-padding-top: var(--langbar-h); }  /* helps anchor links */
body { padding-top: var(--langbar-h); }

/* Keep your existing pill styles */
.lang-switch .pill{display:inline-flex;align-items:center;gap:6px;min-width:44px;padding:6px 10px;border-radius:999px;font-size:12px;letter-spacing:.2px;text-decoration:none;color:#0b3a3d}
.lang-switch .pill:hover{background:rgba(0,0,0,.05)}
.lang-switch .pill:active{transform:translateY(1px)}
.lang-switch .pill.active{background:#0b3a3d;color:#fff;box-shadow:0 1px 2px rgba(0,0,0,.15)}
.lang-switch .lbl{line-height:1}

/* --- Algolia search dropdown container --- */
#algolia-search {
  position: relative;          /* so the dropdown anchors here */
  max-width: 600px;            /* cap the width; tweak as needed */
}

/* Fix: search input unexpectedly hidden until hover (override any theme rules) */
#algolia-search .ais-SearchBox-input {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* --- Results panel that overlays instead of pushing layout --- */
#hits {
  position: absolute;          /* overlay, not document flow */
  top: calc(100% + 8px);       /* sit just below the input */
  left: 0;
  width: 100%;
  max-width: 760px;            /* match the wrapper cap */
  max-height: 70vh;            /* scroll if tall */
  overflow: auto;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 9999;
}

/* Remove UL/LI default spacing (fix huge gaps) */
.ais-Hits-list {
  list-style: none;
  margin: 0;
  padding: 8px;
}
.ais-Hits-item {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #f0f0f0;
}
.ais-Hits-item:last-child { border-bottom: 0; }

/* Card layout: prevent weird widths & spacing */
.algolia-hit-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 8px;
}

/* Image column */
.algolia-hit-image-link { flex: 0 0 110px; display: block; }
.algolia-hit-image {
  width: 110px;
  height: 110px;
  object-fit: contain;
}

/* Details column */
.algolia-hit-details {
  flex: 1 1 auto;
  min-width: 0;                /* allow text to wrap instead of stretching */
}
.algolia-hit-title {
  display: block;
  font-weight: 600;
  margin: 0 0 4px;
}
.algolia-hit-category {
  font-size: 0.85rem;
  color: #666;
  margin: 0 0 6px;
}
.algolia-hit-description {
  font-size: 0.9rem;
  color: #333;
  margin: 0 0 8px;
  line-height: 1.35;
}

/* Footer row */
.algolia-hit-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.algolia-hit-price {
  font-weight: 700;
}
.algolia-hit-button {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
}

/* Small screens */
@media (max-width: 640px) {
  #algolia-search { max-width: 100%; }
  #hits { max-width: 100%; }
  .algolia-hit-image-link { flex-basis: 88px; }
  .algolia-hit-image { width: 88px; height: 88px; }
}


/* --- Responsive tweaks --- */
@media (max-width: 991px) {
  :root { --langbar-h: 42px; }
  .lang-switch { right: 10px; }
}

@media (max-width: 599px) {
  :root { --langbar-h: 40px; }
  .lang-switch {
    left: 8px;                 /* give it a full-width “row” feel */
    right: 8px;
    justify-content: flex-end; /* keep flags aligned right */
  }
  .lang-switch .pill { min-width: auto; padding: 6px 8px; gap: 4px; }
  .lang-switch .lbl { display: none; }  /* flags only on small phones */
}

/* If your cookie/consent bar is fixed at the top, bump this to bottom-right instead: */
/*
.cookie-bar--top ~ .lang-switch { top: auto; bottom: 12px; }
*/

.flag{width:16px;height:12px;display:inline-block;border-radius:2px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1)}
.flag-gb{
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='12' viewBox='0 0 16 12'><rect width='16' height='12' fill='%23012169'/><path d='M0 0L16 12M16 0L0 12' stroke='%23fff' stroke-width='3'/><path d='M0 0L16 12M16 0L0 12' stroke='%23C8102E' stroke-width='1.5'/><rect x='0' y='5' width='16' height='2' fill='%23fff'/><rect x='7' y='0' width='2' height='12' fill='%23fff'/><rect x='0' y='5.5' width='16' height='1' fill='%23C8102E'/><rect x='7.5' y='0' width='1' height='12' fill='%23C8102E'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}


.flag-es{background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="12"><rect width="16" height="12" fill="%23aa151b"/><rect y="3" width="16" height="6" fill="%23ffc400"/></svg>') no-repeat center/cover;}
.flag-de{background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="12"><rect width="16" height="12" fill="%23000"/><rect y="4" width="16" height="4" fill="%23dd0000"/><rect y="8" width="16" height="4" fill="%23ffce00"/></svg>') no-repeat center/cover;}
.flag-br{background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="12"><rect width="16" height="12" fill="%23009c3b"/><polygon points="8,2 14,6 8,10 2,6" fill="%23ffdf00"/><circle cx="8" cy="6" r="2.5" fill="%23002776"/></svg>') no-repeat center/cover;}
/* Option A: UAE (simple geometry) */
.flag-ar {
  background-image:url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='16' height='12'>\
<rect width='16' height='12' fill='%23fff'/>\
<rect width='16' height='4' y='0' fill='%2300a65a'/>\
<rect width='16' height='4' y='8' fill='%23000000'/>\
<rect width='4' height='12' x='0' fill='%23ef3340'/>\
</svg>");
}



.certification {
	text-align:left;
	margin-top:15px;
	padding-left: 5px;
}
.show_case {
	width: 100%;
	box-sizing:border-box;
	padding: 0 1%;
	float:left;
	margin-top:15px;
}
.show_case_container {
	margin-bottom: 20px;
	float:left;
}
.show_case_left{
	width:30%;
	box-sizing:border-box;
	padding: 0 1%;
	float:left;
}
.show_case_right{
	width:70%;
	box-sizing:border-box;
	padding: 0 1%;
	float:left;
}
.show_case_right h2{
	text-transform: capitalize;
	font-size:26px;
}
.show_case_right p{
	font-size:18px;
	line-height:26px;
}
img.responsive-img {
  max-width: 100%;
  height: auto;
}

.lgray > li > a {
	font-size: 15px;
}

.maintd {
  overflow: hidden;
}

.wrap-category {
  overflow: hidden;
  margin-right: -5px;
  border-bottom: 1px dotted #4fb2c8;
}

.item-category {
  text-align: center;
  float: left;
  margin-top: 15px;
  width: 20%;
  box-sizing: border-box;
  font-size: 14px;
  position: relative;
  border-bottom: 1px dotted #4fb2c8;
  margin-bottom: -1px;
  padding: 15px 0;
}


.item-category .count {
    position: absolute;
    top: 5px;
    left: 10px;
    color: #B6B6B4;
    background: #fff;
}

.item-category img {
  max-width: 100%;
  height: auto;
}

.item-category h3 {
  font-weight: normal;
  font-size: 17px;
  color: #4fb2c8;
  margin: 0;
}

.item-in-category {
  display: block;
  position: relative;
  padding: 0 15px;
}

.item-in-category:after {
  content: "";
  height: 100%;
  display: block;
  position: absolute;
  border-right: 1px dotted #4fb2c8;
  left: 100%;
  top: 0;
}

.item-category a:hover h3 {
  color: #000;
}

.item-category p {
  margin: 0;
}
.item-category p.image {
  margin-bottom: 10px;
}


.item-category-2 {
  text-align: left;
  float: left;
  margin-top: 15px;
  width: 100%;
  box-sizing: border-box;
  font-size: 13px;
  position: relative;
  border-bottom: 1px dotted #4fb2c8;
  margin-bottom: -1px;
  padding: 15px 0;
}

.item-category-2 img {
  max-width: 100%;
  height: auto;
}

.item-category-2 h3 {
  font-weight: normal;
  font-size: 17px;
  color: #4fb2c8;
  margin: 0;
}

.item-category-2 a.prodlink {
	font-size:18px;
	text-transform: capitalize;
}

.item-in-category-2 {
  display: block;
  position: relative;
  padding: 0 15px;
}

.item-category-count {
	width: 3%;
	display:inline-block;
	float:left;
	color:#B6B6B4;
	box-sizing: border-box;
}

.item-category-image {
	display:inline-block;
	float:left;
	width: 22%;
	box-sizing: border-box;
	margin-right:2%;
}

.item-category-desc {
	display:inline-block;
	float:left;
	width: 47%;
	box-sizing: border-box;
	margin-right: 2%;
}

.item-category-buynow {
	display:inline-block;
	float:left;
	width: 24%;
	box-sizing: border-box;
	text-align:center;
}

.item-category-desc ul {
	padding-left:40px;
}

.item-category-desc li {
	margin: 4px 0;
}

.item-category-desc p{
	line-height: 16px;
}



.category-viewprices {
	text-align: center;
	padding: 15px 10px;
}

.item-in-category-2:after {
  content: "";
  height: 100%;
  display: block;
  position: absolute;
  border-right: 1px dotted #4fb2c8;
  left: 100%;
  top: 0;
}

.item-category-2 a:hover h3 {
  color: #000;
}

.item-category-2 p {
  margin: 0;
}
.item-category-2 p.image {
  margin-bottom: 10px;
}

.item-category-2 input[type="image"] {
  max-width: 100%;
  height: auto;
}

.read-more-button {
  cursor: pointer !important;
  border: 1px solid #5dc2dc  !important;
  background: rgb(94,179,202)  !important;
  background: -moz-linear-gradient(top, rgb(94,179,202) 1%, rgb(71,153,176) 100%)  !important;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,rgb(94,179,202)), color-stop(100%,rgb(71,153,176)))  !important;
  background: -webkit-linear-gradient(top, rgb(94,179,202) 1%,rgb(71,153,176) 100%)  !important;
  background: -o-linear-gradient(top, rgb(94,179,202) 1%,rgb(71,153,176) 100%)  !important;
  background: -ms-linear-gradient(top, rgb(94,179,202) 1%,rgb(71,153,176) 100%)  !important;
  background: linear-gradient(to bottom, rgb(94,179,202) 1%,rgb(71,153,176) 100%)  !important;
  color: #fff  !important;
  border-radius: 5px;
  padding: 7px 12px !important;
  display: inline-block;
  width:25%;
  text-align:center;
}

.read-more-paragraph {
	margin: 10px 0 5px !important;
}


.table-cart-list tr {
  width: 100%;
}

.hr-dotted {
  border: 0;
  border-top: 1px dotted #4fb2c8;
  height: 0;
  margin: 5px 0;
}

h2.subcat {
  margin: 12px 0;
}

#link-menu {
  display: none !important;
  color: #fff;
  padding: 8px 10px;
  background: rgb(38,38,38);
  background: -moz-linear-gradient(top, rgb(38,38,38) 0%, rgb(80,80,80) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(38,38,38)), color-stop(100%,rgb(80,80,80)));
  background: -webkit-linear-gradient(top, rgb(38,38,38) 0%,rgb(80,80,80) 100%);
  background: -o-linear-gradient(top, rgb(38,38,38) 0%,rgb(80,80,80) 100%);
  background: -ms-linear-gradient(top, rgb(38,38,38) 0%,rgb(80,80,80) 100%);
  background: linear-gradient(to bottom, rgb(38,38,38) 0%,rgb(80,80,80) 100%);
  font-weight: bold;
  border-radius: 5px;
  width: 120px;
  margin: -10px 0 0 10px;
  text-align: center;
  cursor: pointer;
}

.search-box-wrap {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: right;
}

.search-box-wrap #search-box {
  height: auto;
  margin: 0;
  padding: 0;
  float: right;
}

.shopcartheader {
  float: none;
}

.shopcarthead {
  width: 100%;
  height: auto;
  background-color:#0D0D0D;
	background-image:-webkit-linear-gradient(top, #0D0D0D, #555555);
	background-image:-moz-linear-gradient(top, #0D0D0D, #555555);
	background-image:-o-linear-gradient(top, #0D0D0D, #555555);
	background-image:-ms-linear-gradient(top, #0D0D0D, #555555);
	background-image:linear-gradient(top, #0D0D0D, #555555);
	min-height: 33px;
}

.shopcartprodcontainer,
.shopcartgreyfooter {
  width: 100%;
}

.cart-hidden {
  display: none;
}

.shoppingcart {
  position: fixed;
  width: 100%;
  float: none;
  max-width: 380px;
  top: 0;
  left: 0%;
  margin-right: -470px;
  background: #dfdfdf;
  border-radius: 0 0 5px 5px;
  z-index: 9999;
  box-sizing: border-box;
}

.with-shoppingcart > #container {
  position: relative;
}

/* Primary green action button (Complete Order, etc.) */
.formbutton[type="submit"],
.formbutton[type="button"],
input[type="submit"],
input[type="button"],
.table-orders button {
  -webkit-appearance: none;
  appearance: none;

  display: inline-block !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1 !important;

  padding: 14px 22px !important;           /* nice and big */
  border-radius: 10px !important;

  color: #fff !important;
  text-align: center !important;
  text-decoration: none !important;
  cursor: pointer !important;

  border: 1px solid #1e9a3a !important;
  background: linear-gradient(to bottom, #35c24f 0%, #1ea842 100%) !important; /* green gradient */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 2px 4px rgba(0,0,0,0.12) !important;
  text-shadow: 0 1px 0 rgba(0,0,0,0.15) !important;

  transition: transform .02s ease, filter .15s ease, box-shadow .15s ease !important;
}

/* Hover: a touch brighter */
.formbutton[type="submit"]:hover,
.formbutton[type="button"]:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.table-orders button:hover {
  filter: brightness(1.06) !important;
}

/* Active: press down slightly and darken */
.formbutton[type="submit"]:active,
.formbutton[type="button"]:active,
input[type="submit"]:active,
input[type="button"]:active,
.table-orders button:active {
  transform: translateY(1px) !important;
  background: linear-gradient(to bottom, #25aa41 0%, #179338 100%) !important;
  box-shadow:
    inset 0 2px 6px rgba(0,0,0,0.25),
    0 1px 2px rgba(0,0,0,0.12) !important;
}

/* Keyboard focus: clear, accessible outline */
.formbutton[type="submit"]:focus-visible,
.formbutton[type="button"]:focus-visible,
input[type="submit"]:focus-visible,
input[type="button"]:focus-visible,
.table-orders button:focus-visible {
  outline: 3px solid rgba(56,189,248,0.6) !important; /* cyan focus ring */
  outline-offset: 2px !important;
}

/* Disabled state */
.formbutton[disabled],
input[type="submit"][disabled],
input[type="button"][disabled],
.table-orders button:disabled {
  cursor: not-allowed !important;
  filter: grayscale(20%) brightness(0.9) !important;
  opacity: 0.7 !important;
  box-shadow: none !important;
}

#btnContinueShopping {
	font-size: 14px !important;
	padding: 8px !important;
}

.formbutton.btnRemove {
	font-size: 14px !important;
	padding: 8px !important;
	color: #fff !important;
	border: 1px solid #b5302a !important;
	background: linear-gradient(to bottom, #f05a4f 0%, #d63a31 100%) !important;
	border-radius: 5px !important;
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,0.35),
		0 2px 3px rgba(0,0,0,0.12) !important;
	text-shadow: 0 1px 0 rgba(0,0,0,0.15) !important;
	cursor: pointer !important;
}

/* Hover and active effects specific to remove button */
.formbutton.btnRemove:hover {
	filter: brightness(1.08) !important;
}

.formbutton.btnRemove:active {
	transform: translateY(1px) !important;
	background: linear-gradient(to bottom, #d8443b 0%, #b32e28 100%) !important;
	box-shadow:
		inset 0 2px 4px rgba(0,0,0,0.25),
		0 1px 1px rgba(0,0,0,0.12) !important;
}

.formbutton.sm {padding: 8px!important;}

.list-order-total {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-order-total li {
  margin-bottom: 3px;
}

.list-order-total li span,
.list-order-total li strong {
  font-weight: normal;
  width: 65%;
  float: left;
  display: block;
  box-sizing: border-box;
  padding-right: 5px;
}

.list-order-total li strong {
  text-align: right;
  width: 35%;
}

.wrap-category:before,
.wrap-category:after,
.shopcartprodcontainer:before,
.shopcartprodcontainer:after,
.list-order-total li:before,
.list-order-total li:after {
  content: " ";
  display: table;
}

.wrap-category:after,
.shopcartprodcontainer:after,
.list-order-total li:after {
  clear: both;
}

/* */

@font-face {
  font-family: 'fontello';
  src: url('../fonts/fontello.eot?33490991');
  src: url('../fonts/fontello.eot?33490991#iefix') format('embedded-opentype'),
       url('../fonts/fontello.woff?33490991') format('woff'),
       url('../fonts/fontello.ttf?33490991') format('truetype'),
       url('../fonts/fontello.svg?33490991#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'fontello';
    src: url('../font/fontello.svg?33490991#fontello') format('svg');
  }
}
*/
 
 [class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: none;
 
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */
 
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
 
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
 
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;
 
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
 
  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
 
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
 
.icon-phone:before { content: '\e800'; } /* '' */

select.viewas{
	padding: 5px;
	margin-right: 10px;
}

.thispage {
	font-size:120%;
	font-weight: bold;
	padding: 0 3px;
}

.pagecontainer{
	display:inline-block;
	float:left;
	width: 100%;
}
.pagecontainer2 {
	float:left;
	margin-top:20px;
	width: 100%;
	display: inline-block;
}
.pagecontainer2:after {
	clear: both;
}
.pagecontainer3 {
	float:left;
	display: inline-block;
	width: 40%;
}

.viewbycontainer{
	float:left;
	display:inline-block;
	width:60%;
	text-align:right;
}

.viewbycontainer2 {
	width: 100%;
}

.next-button {
	background-image: linear-gradient(#ffffff,#eeeeee);
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #666;
    cursor: pointer;
    display: inline-block;
    font-size: 13px;
    line-height: 18px;
    min-height: 18px;
    padding: 5px 10px;
  }
.next-button:hover {
	color: #4FB2C8;
}

p.marginbottom8 {
	margin-bottom: 8px;
}

.alert{
	background-color: #fcf8e3;
	border: 1px solid rgba(0,0,0,0.1);
	-webkit-box-shadow: 0 0 3px rgba(0,0,0,0.1);
	-moz-box-shadow: 0 0 3px rgba(0,0,0,0.1);
	box-shadow: 0 0 3px rgba(0,0,0,0.1);
	color: #444;
	padding: 10px;
	margin-bottom: 18px;
	margin-left:0px;
	margin-right: 0px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
  -khtml-border-radius: 4px;
  border-radius: 4px;
}

.orders_collected_checkout {
	margin-top: 10px;
}

input[type="radio"] {
    -webkit-appearance: radio;
    width: 13px !important;
}

.contactform .formrow input[type="radio"] {
    width: 13px !important;
}

.formrow input,
input.i2,
.formrow select,
.maintd input[type="text"],
.orderdetailscontainer input[type="text"] {
  font-size: 14px !important;
  height: 30px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.formrow input {
  padding-left: 5px;
  padding-right: 5px;
}

.formrow textarea {
  font-size: 14px !important;
  border: 1px solid #ccc;
}

.contactform .formrow input,
.contactform .formrow textarea {
  width: 100% !important;
  box-sizing: border-box;
}

.contactform .formrow {
  text-align: left;
  margin-bottom: 10px;
}

.contactform .formtitle {
  display: block;
  margin-bottom: 5px;
}

.contactform .center {
  text-align: left;
  margin-top: 20px;
}

	.text-menu {
		width:18%;
		text-align:center;
	}
	.text-menu div {
		text-align:left;
	}
	
	.home-menu {
		width:5%;
	}
	
	.text-menu#search-box{
		width:20%;
	}


@media (max-width:959px) {
	.maincontent,
	#main-text-area-full-width,
	.searchresults {
	  padding-left: 10px;
	  padding-right: 10px;
	}  

}

@media (max-width:939px) {

input {
  -webkit-appearance: none;
}

	.text-menu {
		width:20%;
	}
	.text-menu.contact-menu {
		width:15%;
	}
	.home-menu {
		width:5%;
	}
	.text-menu#search-box{
		width:90%;
	}

#container {
  width: auto;
  max-width: 100%;
  padding-left: 5px;
  padding-right: 5px;
  box-sizing: border-box;
  position: relative;
}

#logo {
  margin-right: 0;
  width:28%;
  padding-left: 10px;
  padding-right: 10px;
}

#contact-details-top {
	width:38%;
	padding-right:10px;
}

#login-items {
  width: auto;
  float: none;
}

.menu {
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  height: auto;
}

.menu > li > a {
  height: 53px;
  box-sizing: border-box;
}

#search-box {
  height: 53px;
}

.maincontent {
  float: none;
}

.breadcrumbstop {
  padding-right: 8px;
}

div.floatrightsocial {
  width: auto;
}

.paper_topdetail {
  float: none;
  width: 100%;
  border: 0;
  box-sizing: border-box;
  padding: 0;
}

.table-product {
  width: 100%;
}

.table-product img {
  max-width: 100%;
  height: auto;
}

.table-product,
.table-product > tbody,
.table-product > tbody > tr {
  display: block;
}

.table-product > tbody > tr > td {
  display: block;
  box-sizing: border-box;
  float: left;
}

.table-product > tbody > tr > td:first-child {
  width: 30%;
}

.table-product > tbody > tr > td:last-child {
  width: 70% !important;
}

.imgdetail {
  overflow: hidden !important;
}

.imgdetail .MagicZoomPlus {
  width: 100%;
  height: auto;
}

#Zoomer {
  width: 100% !important;
}

.productlines {
  width: 100%;
}

.viewprices {
  max-width: 100%;
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
}

.item-category-image {
	margin-right:3%;
}

.item-category-desc {
	width: 46%;
}

.productlinesspec {
  width: 50%;
}

.inlinefloatpricedetail {
  float: right;
  width: 50%;
  box-sizing: border-box;
  display: block;
}

.inlinefloatpricedetail table {
  width: 100% !important;
}

.inlinefloatpricedetail table .textsm {
  font-size: 14px;
}

.inlinefloatpricedetail .i2,
.item-category .i2 {
  font-size: 14px !important;
  height: 30px;
  width: 50px;
  text-align: center;
}

.table-category-photos {
  width: 100%;
}

#main-text-area img, #description-text img {
  max-width: 100%;
  height: auto;
}

.image-product-category {
  margin: 0 !important;
  padding: 5px 25px 25px 25px;
  box-sizing: border-box;
  width: 50%;
  height: auto;
  display: block;
  float: left;
}

.shoppingcart {
  right: 0;
  margin-right: 0;
}

.table-contact,
.table-account {
  width: 100%;
}

.table-account td {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.contactaddress {
  padding: 0;
}

.maincontent,
#main-text-area-full-width,
.searchresults {
  padding-left: 10px;
  padding-right: 10px;
}  

.maintd {
  margin-left: 10px;
  margin-right: 10px;
}

.formrow input,
.bglogin3 input,
input.i2,
.formrow select,
.maintd input[type="text"],
.orderdetailscontainer input[type="text"] {
  font-size: 14px !important;
  height: 30px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

select.viewas {
	font-size: 14px !important;
  height: 30px;
}

.table-contact img {
  max-width: 100%;
  height: auto;
}

.formrow input,
.formrow select {
  width: 200px !important;
  box-sizing: border-box;
}

.formrow input {
  padding-left: 5px;
  padding-right: 5px;
}

.formrow textarea {
  font-size: 14px !important;
  border: 1px solid #ccc;
}

/* .formbutton, input[type="submit"],
input[type="button"] {
  font-size: 14px !important;
  height: 30px !important;
  background: white!important;
  border: 1px solid #ccc !important;
  cursor: pointer !important;
} */

.formbutton[type="image"] {
  width: 161px;
  height: 50px !important;
}

#main-text-area {
  display: block;
  width: 70%;
  padding-left: 10px;
  box-sizing: border-box;
}

#right-column {
  display: block;
  width: 30%;
  box-sizing: border-box;
  padding-right: 10px;
  margin-left: 0;
  padding-left: 15px;
}

.right-box {
  float: none;
  width: 100%;
  box-sizing: border-box;
}

.right-box img {
  max-width: 100%;
  height: auto;
}

div.result_block,
div.result_altblock {
  min-height: 110px;
  height: auto;
  padding-bottom: 10px;
}

div.searchresults {
  float: none;
  width: 100%;
  padding-left: 10px;
  padding-right: 10px;
  margin-left: 0;
  box-sizing: border-box;
}

div.infoline {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#specials {
  padding-left: 10px;
  padding-right: 10px;
}

#specials td {
  padding-left: 0;
  padding-right: 0;
}

#specials img {
  max-width: 100%;
  height: auto;
}

#specials td {
  vertical-align: top;
}

.top-pic {
  width: 25%;
  float: left;
  box-sizing: border-box;
  padding: 0 10px;
  margin-bottom: 10px;
}

#top-pic-1,
#top-pic-2,
#top-pic-3,
#top-pic-4 {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  position: relative;
  background-size: cover !important;
  background-position: center;
  float: none;
}

.top-pic .button,
.top-pic .create-account-button {
  width: 100%;
  box-sizing: border-box;
  height: auto;
  border-radius: 5px;
  margin-top: 0;
  left: 0;
  bottom: 10px;
  padding: 0;
  position: absolute;
  background: none;
  padding-left: 8px;
  padding-right: 8px;
}

.top-pic .button a {
  display: block;
  background: rgb(83,182,204);
  background: -moz-linear-gradient(top, rgb(83,182,204) 0%, rgb(57,156,178) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(83,182,204)), color-stop(100%,rgb(57,156,178)));
  background: -webkit-linear-gradient(top, rgb(83,182,204) 0%,rgb(57,156,178) 100%);
  background: -o-linear-gradient(top, rgb(83,182,204) 0%,rgb(57,156,178) 100%);
  background: -ms-linear-gradient(top, rgb(83,182,204) 0%,rgb(57,156,178) 100%);
  background: linear-gradient(to bottom, rgb(83,182,204) 0%,rgb(57,156,178) 100%);
  border-radius: 5px;
  padding: 10px;
  border: 1px solid #4fc5de;

  line-height: 1.2;
}

.top-pic .create-account-button a {
  display: block;
  background: rgb(72,72,72);
  background: -moz-linear-gradient(top, rgb(72,72,72) 0%, rgb(46,46,46) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(72,72,72)), color-stop(100%,rgb(46,46,46)));
  background: -webkit-linear-gradient(top, rgb(72,72,72) 0%,rgb(46,46,46) 100%);
  background: -o-linear-gradient(top, rgb(72,72,72) 0%,rgb(46,46,46) 100%);
  background: -ms-linear-gradient(top, rgb(72,72,72) 0%,rgb(46,46,46) 100%);
  background: linear-gradient(to bottom, rgb(72,72,72) 0%,rgb(46,46,46) 100%);
  border-radius: 5px;
  padding: 10px;
  border: 1px solid #999;
  
  line-height: 1.2;
}

.top-pic .create-account-button .blue {
  margin: -5px 0;
}

#top-pic-5 p {
  line-height: 1.2;
  /* margin-top: -5px; */
  margin-bottom: 0;
  
}

.top-pic .large-box-heading {
  font-size: 26px;
  margin-bottom: 3px;
}

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

.table-orders td:first-child {
  padding-left: 0;
}

.table-orders td:last-child {
  padding-right: 0;
}

.table-order-info td {
  padding-left: 5px;
  padding-right: 5px;
}

.table-order-info td:first-child {
  padding-left: 0;
}

.table-order-info td:last-child {
  padding-right: 0;
}

.table-order-list > tbody > tr > td {
  padding-left: 5px;
  padding-right: 5px;
}
.table-order-list  > tbody > tr >  td:first-child {
  padding-left: 0;
}

.table-order-list  > tbody > tr >  td:last-child {
  padding-right: 0;
}

.table-order-list table {
  max-width: 50%;
  float: right;
}

.table-order-details-foot,
.table-order-details-head,
.table-order-details,
.table-order-details-contact {
  width: 100%;
}

.table-order-details-total > tbody > tr > td {
  width: auto;
}

.table-order-details-total > tbody > tr > td:last-child {
  width: 120px;
}

.table-order-details-total table {
  width: auto;
}

.table-order-details-total table td {
  padding-right: 10px;
}

.table-order-details-contact .formtitle {
  width: 180px;
  display: inline-block;
}


.orderdetailscontainer .formtitle {
  width: 190px;
  display: inline-block;
}


.outerfooter {
  max-width: 939px;
  width: auto;
  height: auto;
  box-sizing: border-box;
  border-radius: 5px;
  background: rgb(38,38,38);
  background: -moz-linear-gradient(top, rgb(38,38,38) 0%, rgb(80,80,80) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(38,38,38)), color-stop(100%,rgb(80,80,80)));
  background: -webkit-linear-gradient(top, rgb(38,38,38) 0%,rgb(80,80,80) 100%);
  background: -o-linear-gradient(top, rgb(38,38,38) 0%,rgb(80,80,80) 100%);
  background: -ms-linear-gradient(top, rgb(38,38,38) 0%,rgb(80,80,80) 100%);
  background: linear-gradient(to bottom, rgb(38,38,38) 0%,rgb(80,80,80) 100%);
}

/* Shopping Cart */

.shopcartcontainer {
  width: auto;
  margin-left: 10px;
  margin-right: 10px;
}

.shopcarth1,
.shopcartactionsright {
  width: auto;
}

.shopcartprodcontainer {
  position: relative;
}

.shopcartpos {
  padding-left: 50px;
  margin-left: 0;
  box-sizing: border-box;
  width: 15%;

}
.shopcartitem {
  box-sizing: border-box;
  width: 46%;

}
.shopcartnormal {
  box-sizing: border-box; 
  width: 13%;

}
.shopcartright {
  box-sizing: border-box;
  width: 13%;
  padding-right: 10px;
}

.shopcartdelete {
  width: 50px;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
}

.shopcarttextpos {
  box-sizing: border-box;
  width: 15%;
  padding-left: 50px;
}

.shopcartpicture {
  box-sizing: border-box;
  width: 11%;
  margin: 0;
}

.shopcartpicture img {
  max-width: 100%;
  height: auto;
}

.shopcarttext {
  box-sizing: border-box;
  width: 35%;
  padding-left: 10px;
}

.shopcarttextnormal {
  box-sizing: border-box;
  width: 13%;
}

.shopcarttextright {
  box-sizing: border-box;
  width: 13%;
  padding-right: 10px;
}

.reg-thanks-phone {
  display: inline-block;
  white-space: nowrap;
}

.table-my-account {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

div.result_pages,
div.result_pages a {
  font-size: 18px;
}

.orderdetailscontainer {
  width: 100%;
}

.orderdetailsleft {
  box-sizing: border-box;
  padding-right: 20px;
}

.orderaddressleft:first-child {
  box-sizing: border-box;
  padding-right: 10px;
}

} /* /end max-width 939px */

@media (max-width:869px) {

#contact-details-top {
  font-size: 25px;
}

} /* /end max-width 869px */

@media (max-width:849px) {

.table-order-details-contact,
.table-order-details-contact > tbody,
.table-order-details-contact > tbody > tr,
.table-order-details-contact > tbody > tr > td {
  display: block;
  width: 100%;
  text-align: left;
}

.table-order-details-contact > tbody > tr > td td.right {
  width: 130px;
} 

.table-order-details-contact table td:last-child {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 0;
}

.phone-icon {
	width:27px;
	height:27px;
}

.inlinefloatpricedetail {
  margin-top: 15px;
}

.inlinefloatpricedetail td {
  display: block;
  width: 100%;
  text-align: center;
}

.inlinefloatpricedetail td.price {
  margin-bottom: 20px;
}

.contactform .formrow {
  text-align: left;
  margin-bottom: 10px;
}

.contactform .formtitle {
  display: block;
  margin-bottom: 5px;
}

.contactform .formrow input,
.contactform .formrow textarea {
  width: 100% !important;
  box-sizing: border-box;
}

.contactform .center {
  text-align: left;
  margin-top: 20px;
}

#contact-details-top {
  font-size: 22px;
}

.orderaddressleft {
  width: 100%;
  display: block;
  float: none;
}

} /* /end max-width 849px */

@media (max-width:819px) {
  
.top-pic {
  width: 50%;
  float: left;
}

.shopcartpos {
  padding-left: 10px;
  text-align: left;
}

} /* /end max-width 819px */

@media (max-width:799px) {

.item-category {
    width: 25%;
}

.table-account .formrow .formtitle {
  display: block;
  margin-bottom: 5px;
  line-height: 24px;
}

.table-account .formrow {
  text-align: left;
  padding-right: 20px;
}

.table-account .formrow-firstname {
  min-height: 95px;
}

.table-account .formrow .formtitle .blue {
  line-height: 24px;
  margin-bottom: -10px;
  margin-top: -10px;
  display: inline-block;
  position: relative;
}

.table-account .formrow input,
.table-account .formrow select {
  width: 100% !important;
}

.phone-icon {
	width:25px;
	height:25px;
}

#brackets {
  margin-left: 0;

  height: auto;
  font-size: 14px;
  background-image: no-repeat;
  background-size: 100% 100%;
}



.shopcartsubtotalcontainer .shopcartsubtotalright {
  width: 100%;
}

.pagecontainer3 {
	width: 100%;
}
.viewbycontainer {
	width: 100%;
	text-align:left;
	margin-top: 20px;
}
.viewbycontainer select {
	width: 95%;
}

.viewbycontainer form {
	width: 33%;
}


} /* /end max-width 799px */

@media (max-width:768px) {
	
.hide-on-small-screen {
	display:none;
}

#brackets {
  display: none;
}

#logo {
	width:50%;
}

#contact-details-top {
	width:50%;
}

#inner-container {
  margin-top: 10px;
}

.topmenu_container {margin-top: 0px; }

.search-box-wrap #search-box input {
  float: none;
  display: inline;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: middle;
}

.search-field {
  height: 30px;
}

#login-items {
  color: #fff;
  margin-top: 10px;
  margin-bottom: 10px;
}

#login-items a {
  border-radius: 5px;
  color: #fff;
  display: inline-block;
  padding: 7px 12px;
  border: 1px solid #5dc2dc;
  background: rgb(94,179,202);
  background: -moz-linear-gradient(top, rgb(94,179,202) 1%, rgb(71,153,176) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,rgb(94,179,202)), color-stop(100%,rgb(71,153,176)));
  background: -webkit-linear-gradient(top, rgb(94,179,202) 1%,rgb(71,153,176) 100%);
  background: -o-linear-gradient(top, rgb(94,179,202) 1%,rgb(71,153,176) 100%);
  background: -ms-linear-gradient(top, rgb(94,179,202) 1%,rgb(71,153,176) 100%);
  background: linear-gradient(to bottom, rgb(94,179,202) 1%,rgb(71,153,176) 100%);
}

#main-text-area {
  width: 100%;
  padding-left: 10px;
  padding-right: 10px;
  float: none;
}

#main-text-area img, #description-text img {
  max-width: 100%;
  height: auto;
}

#right-column {
  width: 100%;
  padding-left: 0;
  padding-right: 10px;
  margin-left: 0;
}

h1 {
  font-size: 26px;
  line-height: 1.3;
}

#link-menu {
  display: block !important;
}

.menu {
  display: none;
  margin-top: 20px;
}

.menu.open {
  display: block;
}

.menu li {
  float: none;
}

.menu > li > a,
.menu > li > a:hover {
  height: auto !important;
  padding:13px 10px !important;
}

.maintd,
.maincontent,
#main-text-area-full-width,
.searchresults,
#main-text-area,
.shopcartcontainer {
  border-top: 1px solid #555;
  padding-top: 20px;
}  

#main-text-area {
  float: none;
  width: 100%;
  display: block;
}

.menu .cols3 {
  position: relative;
  width: auto;
  visibility: visible;
  opacity: 1;
  transform: none;
  display: none !important;
  
  padding-top: 5px;
  padding-bottom: 20px;
}

/* .menu .cols3 .col1:first-child .h5 {
  margin-top: 0;
} */

.menu .with-dropdown.open .cols3 {
  display: block !important;
}

.menu div.h5,
.menu div.h5repair {
  font-size: 15px;
  margin-top: 20px;
}

.lgray ol li {
  margin-bottom: 5px;
}

.lgray ol a {
  font-size: 14px;
}

} /* /end max-width 768px */

@media screen and (max-width:767px) {
	#addsearch-results, #addsearch-results-mid, .addsearch-result-item-container, .addsearch-result-item-sub, .addsearch-result-item-sub > div {
		width: 100% !important;
		box-sizing: border-box !important;
		-moz-box-sizing: border-box !important;
		-webkit-box-sizing: border-box !important;
		-o-box-sizing: border-box !important;
		left: 0 !important;
	}
	#addsearch-results-mid {
		background-image: none !important;
	}
	#addsearch-results .addsearch-result-item-sub {
		border-right: none !important;
	}
}

 /* /end max-width 719px */

@media (max-width:669px) {

.item-category {
    width: 33.3333%;
}

.table-product > tbody > tr > td:first-child {
  width: 40%;
}

.table-product > tbody > tr > td:last-child {
  width: 60% !important;
}

.productlinesspec {
  width: 100%;
  float: none;
}

.inlinefloatpricedetail {
  float: none;
  width: 100%;
}

.viewprices {
  margin-left: auto;
  margin-right: auto;
}

} /* /end max-width 699px */

@media (max-width:639px) {

.table-contact,
.table-contact tbody,
.table-contact tr,
.table-contact td {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.table-contact .bg4 {
  display: none;
}

.contactforms {
  padding: 0;
}

.viewbycontainer form {
	width: 32%;
}
  
} /* /end max-width 639px */

@media (max-width:619px) {

h1 {
  font-size: 24px;
  line-height: 1.3;
}

.table-order-list table {
  max-width: 100%;
  float: none;
}

.table-order-details,
.table-order-details > tbody,
.table-order-details > tbody > tr,
.table-order-details > tbody > tr > td {
  display: block;
  width: 100%;
}

.table-order-details h2 {
  margin-top: 20px;
}

.table-order-details-heading td {
  width: auto;
}

.table-cart-list table img {
  width: 40px;
  height: auto;
}

.table-cart-list table td:first-child {
  width: 40px;
  padding-right: 10px;
}

.table-cart-list table td:nth-child(2n) {
  display: none;
}

.table-order-info,
.table-order-info tbody,
.table-order-info tr,
.table-order-info td {
  width: 100%;
  padding: 0;
  display: block;
  text-align: left;
}

.table-order-info td {
  margin-bottom: 15px;
}

.orderdetailsleft,
.orderdetailsright {
  float: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.orderdetailsright {
  margin-top: 20px;
}

} /* /end max-width 619px */

@media (max-width:599px) {

.item-category-count {
	width: 5%;
}

.item-category-desc {
	width: 58%;
	margin-right: 0%;
}

.item-category-image {
	width: 33%;
	margin-right: 4%;
	margin-bottom: 8px;
}

.item-category-desc ul {
	padding-left:20px;
}

.item-category a.prodlink {
	font-size: 17px;
}

.item-category-buynow {
	width: 100%;
	margin: 0;
}

.cart-hidden {
  display: inline-block;
  font-weight: normal;
  width: 70px;
}

.shopcarthead {
  display: none;
}

.shopcartheader {
  border-bottom: 1px solid #ccc;
}

.shopcarttextpos {
  box-sizing: border-box;
  padding-left: 0;
  width: auto;
  display: none;
}

.shopcartpicture {
  box-sizing: border-box;
  width: 40%;
  padding-left: 60px;
  height: auto;
}

.shopcartdelete {
  padding-top: 10px;
}

.shopcarttext {
  width: 60%;
  padding-left: 10px;
  padding-top: 10px;
}

.shopcarttextnormal,
.shopcarttextright {
  width: 100%;
  text-align: left;
  padding: 5px 0 0 0;
}

.viewbycontainer form {
	width: 33%;
}

#viewas {
	width: 25%;
}

#recordsperpage, #sortby  {
	width: 35%;
}

.list-container {
	width: 100%;
	display: inline-block;
	float:left;
}

.list-pricing-container, .list-buybutton, .list-delivery {
	display: inline-block;
	float: left;
	box-sizing: border-box;
}

.list-pricing-container {
	text-align: right;
	width: 40%;
}

.list-buybutton { 
	text-align: left;
	padding-left: 20px;
	width: 60%;
	padding-top: 9px;
}

.list-delivery {
	text-align: left !important;
	width:60%;
	padding-left:20px;
}

} /* /end max-width 599px */

@media (max-width:559px) {

#menu .col1 {
  width: 50%;
  float: left;
}


} /* /end max-width 559px */

@media (max-width:539px) {

.shopcarth1,
.shopcartactionsright {
  width: 100%;
  text-align: left;
}

.shopcartactionsright input {
  margin-bottom: 10px;
}

.ordersnormally {
  padding-right: 0;
}

.shopcartactionscontainer {
  margin-bottom: 10px;
}

.orderdetailsleft .ordertotalleft,
.orderdetailsleft .ordertotalright {
  float: none;
  width: 100%;
}

.orderdetailsleft .ordertotalright {
  margin-top: 15px;
}

} /* /end max-width 539px */

@media (max-width:519px) {

.table-cart-head,
.table-cart-head tbody,
.table-cart-head tr,
.table-cart-head td {
  display: block;
  width: 100%;
  text-align: left;
}

.table-cart-head input {
  display: block;
}

.table-cart-head input:first-child {
  margin-bottom: 10px;
}

.table-product > tbody > tr > td:first-child {
  width: 100%;
  float: none;
}

.table-product > tbody > tr > td:last-child {
  width: 100% !important;
  float: none;
}

.imgdetail {
  padding: 0;
}

.imgdetail br {
  display: none;
}

#menu .col1 {
  width: 100%;
  float: none;
}

#menu .col1 ol {
  display: none;
}

#menu .col1 ol.open {
  display: block;
}

.menu div.h5,
.menu div.h5repair {
  cursor: pointer;
}

div.h5repair {
  margin-top: 10px;
}

.show_case_left, .show_case_right{
	width: 100%;
}
.show_case_left {
	margin-bottom:15px;
}

} /* /end max-width 519px */

@media (max-width:499px) {

.item-category {
    width: 50%;
}

.item-category-count {
	width: 10%;
}

.item-category-desc {
	width: 100%;
	margin-right: 0%;
}

.item-category-image {
	width: 90%;
	margin-right: 0%;
	margin-bottom: 20px;
}


.table-account td {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: left !important;
}

.table-account .formrow  {
  padding-right: 0;
}

.table-account .formrow-firstname {
  min-height: auto;
}

#logo,
#contact-details-top {
  float: none;
  text-align: center;
  width: 100%;
  height: auto;
}

#contact-details-top {
  font-size: 20px;
}

#logo a {
  display: inline-block;
  width: 200px;
  height: 68px;
  background: url("../images/logo-centered.png") no-repeat;
  margin-bottom: 5px;
}

#logo img {
  display: none;
}


#link-menu {
  margin: 10px auto;
  text-align: center;
}

#login-items,
.search-box-wrap #search-box {
  float: none;
  text-align: center;
}

.search-box-wrap #search-box input {
  float: none;
  display: inline;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: middle;
}

.search-box-wrap #search-box form {
  margin-bottom: 0 !important;
}

#viewas, #recordsperpage, #sortby {
	width: 49%;
}

#sortby {
	margin-top: 10px;
}


} /* /end max-width 499px */

@media (max-width:479px) {

.shopcarthead {
  display: none;
}

} /* /end max-width 479px */

@media (max-width:469px) {


#inner-container {
  margin-top: 5px;
}

.lines-open {
  font-size: 11px;
}

.image-product-category {
  margin: 0 !important;
  padding: 5px 0 25px 0;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  display: block;
  float: none;
}

#specials td,
#specials table,
#specials tbody,
#specials tr {
  display: block;
  width: 100%;
}

.phone-icon {
	width:25px;
	height:25px;
}

.image-01 {
  width: 50%;
  height: auto;
}

div.footerleft, div.footerright {
			width: 100%;
			text-align: center;
		}
		div.footerleft {
			margin-bottom: 8px;
		}

} /* /end max-width 469px */

@media (max-width:419px) {




.top-pic {
  width: 100%;
  float: none;
}

.footer {
  text-align: center
}

.footer .floatleft {
  float: none;
  display: block;
  margin-bottom: 5px;
}

.table-my-account .bg4 {
  display: none;
}

.table-my-account td {
  display: block;
  text-align: center;
  width: 100%;
}

} /* /end max-width 419px */

@media (max-width:409px) {

.table-order-details-total,
.table-order-details-total > tbody,
.table-order-details-total > tbody > tr,
.table-order-details-total > tbody > tr > td {
  display: block;
  width: 100%;
}

.table-order-details-total > tbody > tr > td:last-child {
  width: auto;
  padding-top: 10px;
}

} /* /end max-width 409px */

@media (max-width:399px) {

h1 {
  font-size: 22px;
  line-height: 1.3;
}

.table-order-details-heading,
.table-order-details-heading tbody,
.table-order-details-heading tr,
.table-order-details-heading td {
  display: block;
  width: 100%;
  text-align: left;
}

.orderdetailsleft input[type="text"] {
  display: block;
  width: 100%;
  margin-top: 5px;
}

div.homepagespecials {
	width: 100%;
}




} /* /end max-width 399px */

@media (max-width:384px) {

.mybasket {
  width: 30px;
  overflow: hidden;
}

.bglogin3,
.bglogin4 {
  display: block;
  box-sizing: border-box;
  width: 100%;
  background: none;
  border-bottom: 1px solid #f5f5f5;
  border-left: 1px solid #f5f5f5;
  border-right: 1px solid #f5f5f5;
  padding: 0;
  height: auto;
  margin-top: 27px;
}

.bglogin3 td,
.bglogin4 td,
.bglogin3 tbody,
.bglogin4 tbody,
.bglogin3 tr,
.bglogin4 tr {
  display: block;
  width:100% !important;
}

.bglogin3 td,
.bglogin4 td {
  padding-top: 3px;
  padding-bottom: 3px;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

.bglogin3 td.right,
.bglogin4 td.right {
  text-align: left;
}

.bglogin3 input[type="text"],
.bglogin4 input[type="text"],
.bglogin3 input[type="password"],
.bglogin4 input[type="password"] {
  width: 100%;
} 

.bglogin3 h2,
.bglogin4 h2,
.bglogin3 h1,
.bglogin4 h1 {
  background: #f5f5f5;
  padding: 10px 5px;
  border-radius: 10px 10px 0 0;
  margin-left: -16px;
  margin-right: -16px;
  margin-top: -20px;
}

#viewas, #recordsperpage, #sortby {
	width: 100%;
}

#recordsperpage, #sortby {
	margin-top: 10px;
}

}  /* /end max-width 384px */

@media (max-width:369px) {

.table-order-details-contact .formtitle {
  width: auto;
  display: block;
}

.table-order-details-contact input {
  width: 100%;
}

}  /* /end max-width 369px */

@media (max-width:359px) {

.btn-view-order {
  width: 70px;
  text-align: center;
  white-space: normal;
}

span.button-text {
	display: none;
}

.next-button {
	padding: 10px 15px;
}

}  /* /end max-width 359px */

/* Clearfix */

@media (max-width: 939px) {

  .footer:before,
  .footer:after,
  .menu:before,
  .menu:after,
  .search-box-wrap:before,
  .search-box-wrap:after,
  .wrap-image-product-category:before,
  .wrap-image-product-category:after,
  .right-box:before,
  .right-box:after,
  .clearfix:before,
  .clearfix:after,
  .top-pic-wrap:before,
  .top-pic-wrap:after    {
    content: " ";
    display: table;
  }

  .footer:after,
  .menu:after,
  .search-box-wrap:after,
  .wrap-image-product-category:after,
  .right-box:after,
  .clearfix:after,
  .top-pic-wrap:after {
    clear: both;
  }
}