/********** PRODUCT PAGE **********/

.container,

.master-column-wrapper {
  margin: 0;
}

p.multibuy {}
p.multibuy .multibuy-price {font-size: 175%;}
#product-menu {
  display: block;
  width: 100%;
  height: 40px;
  background-color: #f0f0f0;
  clear: both;
}

#product-menu .container {
  margin: 0 auto;
  max-width: 1200px;
}

#product-menu .logo {
  float: left;
  display: block;
  width: 60px;
  height: 100%;
}

#product-menu .logo img {
  display: none;
  margin-top: 4px;
  width: 32px;
  height: 32px;
  opacity: 1;
  border: 0;
}

#product-menu .menu {
  float: left;
  display: block;
  width: 840px;
  padding: 0 40px;
  height: 100%;
  margin: 0 auto;
}

#product-menu .menu ul {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

#product-menu .menu ul li {
  list-style: none;
  float: left;
  width: 16%;
  height: 100%;
  text-align: center;
  padding: 11px 0 0 0;
  margin: 0;
  overflow: hidden;
}

#product-menu .menu ul li.active {
  color: #a0a0a0;
}

#product-menu .buy {
  float: left;
  display: block;
  width: 100px;
  height: 100%;
  padding: 0;
  background: #ff6600;
  text-align: center;
}

.product-bkgnd {
  background-color: #fff;
}

.product-details-page {
  padding: 0px 0 0;
}

.product-details-page .left-side {
  float: left;
  width: 48%;
  margin-right: 2%;
}

.product-details-page .right-side {
  margin-left: 2%;
  width: 48%;
  float: left;
}

.product-essential {
  margin: 0 0 30px;
}

.product-essential:after {
  content: "";
  display: block;
  clear: both;
}

.nivoSlider {
  width: 100% !important;
  left: 0;
}

#gallery-wrapper {
  width: 600px;
  height: 600px;
  max-width: 90%;
  text-align: center;
  margin: 0 auto;
  position: relative;
  margin-bottom:100px;
}

#gallery-wrapper #gallery {
  display: none;
}

#gallery-wrapper .grl-pg-img {
  /*z-index: 1;
  position: relative;
  width: 100%;
  max-width: 500px;
  height: auto;*/
  height: 90%;
  width: 90%;
  object-fit: contain;
}

#gallery-wrapper .grl-pg-nav {
  position: absolute;
  width: 100%;
  top: 45%;
  z-index: 8;
  cursor: pointer;
}

#gallery-wrapper .grl-pg-nav .prev-nav,

#gallery-wrapper .grl-pg-nav .next-nav {
  display: block;
  width: 30px;
  line-height: 30px;
  text-align: center;
  font-family: "Arial";
  font-size: 20px;
  font-weight: normal;
  color: #454545;
}

#gallery-wrapper .grl-pg-nav .prev-nav:hover,

#gallery-wrapper .grl-pg-nav .next-nav:hover {
  /*background-color: #bec7d0;*/
  color: #fff;
}

#gallery-wrapper .grl-pg-nav .prev-nav {
  float: left;
}

#gallery-wrapper .grl-pg-nav .next-nav {
  float: right;
}

#gallery-wrapper .grl-pg-nav .next-nav i, #gallery-wrapper .grl-pg-nav .prev-nav i {display: none;}
#gallery-wrapper .grl-pg-nav .next-nav:before {
    display: inline-block;
    position: relative;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: 'Font Awesome 6 Pro';
    content: '\f356';
    font-size: 25px;
    font-weight: 300;
    color: #888;
}

#gallery-wrapper .grl-pg-nav .prev-nav:before {
    display: inline-block;
    position: relative;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: 'Font Awesome 6 Pro';
    content: '\f355';
    font-size: 25px;
    font-weight: 300;
    color: #888;
}

#gallery-wrapper .grl-pg-thumbs {
  /*text-align: left !important;
  position: relative;
  display: block;
  margin-top: 10px;*/
  display: flex  ;
  flex-direction: row;
  flex-wrap: wrap;
}

#gallery-wrapper .grl-pg-thumbs .grl-pg-thumb {
  /*float: left;
  width: 20%;*/
  width:120px;
  height: 120px;
}

#gallery-wrapper .grl-pg-thumbs .grl-pg-thumb img {
  /*width: 100%;
  padding: 4px;*/
  height: 100%;
  width: 100%;
  object-fit: contain;
}

#gallery-wrapper .grl-pg-thumbs .grl-pg-thumb.active img {
  border: 1px solid #ddd;
}

.overview {
  position: relative;
  margin: 0 0 30px;
}

.overview .discontinued-product {
  background: #f3f3f3;
  margin: 0 0 20px;
}

.overview .discontinued-product h4 {
  display: inline-block;
  font-size: 14px;
  padding: 17px 17px 17px 40px;
  background: url("../images/discontinued-product-icon.png") no-repeat 13px
    center;
  color: #de444c;
}

.overview .product-name {
  margin: 0;
  padding: 0 0 6px;
}

.overview .product-name h1 {
  font-size: 30px;
  font-weight: 400;
  line-height: 40px;
  color: #000;
  margin-bottom: 20px;
}

.overview .short-description {
  margin: 0;
  color: #000;
}

.overview .out-of-stock {
  background: #ff0000;
  color: white;
  text-transform: uppercase;
  text-align: center;
  height: 36px;
  max-width: 240px;
  padding-top: 6px;
}

.delivery-notice {
    background-color: white;
    color: #ff6600;
    font-weight: 600;
    font-size: 14px;
    text-align: left;
    padding: 10px 0;
}

.product-no-reviews {
  display: inline-block;
  position: relative;
  top: -2px;
  text-decoration: none;
  line-height: 20px;
  font-size: 14px;
  color: #000;
}

.product-reviews-overview {
  color: #444;
  margin: 0 0 20px;
}

.product-no-reviews a:hover {
  text-decoration: underline;
}

.product-review-links {
  display: inline-block;
  position: relative;
  top: -2px;
}

.product-review-box {
  display: inline-block;
  margin: 0 5px 0 0px;
}

.product-review-box .rating {
  width: 70px;
  height: 14px;
  background: url("../images/rating1.png") repeat-x;
  background-size: 14px;
}

.product-review-box .rating div {
  height: 14px;
  background: url("../images/rating2.png") repeat-x;
  background-size: 14px;
}

.product-review-links a {
  line-height: 20px;
  font-size: 14px;
  color: #000;
}

.product-review-links a:hover {
  text-decoration: underline;
}

.product-review-links span {
  color: #dfdfdf;
}

.product-review-links .separator {
  margin: 0 5px;
}

.overview .value a,

.variant-overview .value a {
  color: #000;
  font-weight: 600;
}

.overview .value a:hover,

.variant-overview .value a:hover {
  text-decoration: underline;
}

.overview-buttons {
  margin: 20px 0 23px;
  font-size: 0;
  display: inline-block;
  vertical-align: bottom;
  text-align: left;
}

.product-details-page .right-side .overview-buttons {
  display: block;
}

.overview-buttons div {
  display: block;
  margin: 0 1px 2px;
}

.overview .button-2,

.variant-overview .button-2 {
  border: none;
  background-color: #fff;
  background-position: left center;
  background-repeat: no-repeat;
  padding: 1px 15px 2px 30px;
  font-size: 11.5px;
  color: #333;
}

.overview .button-2 {
  display: block;
  width: 100%;
  border: none;
  background-color: #fff;
  background-position: 13px center;
  background-repeat: no-repeat;
  padding: 11px 15px 11px 40px;
  text-align: left;
  font-size: 14px;
  color: #666;
  margin-bottom: 7px;
  border: 1px solid #dedede;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.02);
}

.overview .button-2.subscribe-button {
  border: none;
  box-shadow: none;
  color: #0f0f0f;
  font-weight: 600;
}

.overview-buttons input {
  text-transform: uppercase;
}

.overview .email-a-friend-button {
  background-image: url("../images/email-button-gray.png");
  background-size: 17px;
}

.overview .email-a-friend-button:hover {
  background-image: url("../images/email-button-black.png");
}

.overview .add-to-compare-list-button {
  background-image: url("../images/compare-button-gray.png");
  background-size: 17px;
}

.overview .add-to-compare-list-button:hover {
  background-image: url("../images/compare-button-black.png");
}

.overview .subscribe-button,

.variant-overview .subscribe-button {
  font-size: 14px;
  margin-bottom: 10px;
  padding: 0px;
}

.overview .download-sample-button:hover,

.variant-overview .download-sample-button:hover,

.overview .subscribe-button:hover,

.variant-overview .subscribe-button:hover {
  text-decoration: underline;
}

.overview .download-sample-button,

.variant-overview .download-sample-button {
  font-size: 14px;
  margin-bottom: 10px;
  padding: 0px;
  display: inline-block;
  font-weight: 400;
}

.overview .add-to-wishlist-button,

.variant-overview .add-to-wishlist-button {
  background-image: url("../images/wishlist-button-gray.png");
  background-size: 17px;
}

.overview .add-to-wishlist-button:hover,

.variant-overview .add-to-wishlist-button:hover {
  background-image: url("../images/wishlist-button-black.png");
}

.overview .manufacturers {
  margin: 0 0 10px;
  color: #000;
}

.overview .availability,

.variant-overview .availability {
  margin: 0 0 0px;
  overflow: hidden;
  line-height: 1;
}

.overview .availability .stock,

.variant-overview .availability .stock {
  margin: 0 0 10px;
  color: #000;
  font-weight: 400;
  font-size: 14px;
}

.overview .additional-details {
  color: #000;
  font-weight: 400;
  font-size: 13px;
  margin: 10px 0;
}

.overview .availability .back-in-stock-subscription,

.variant-overview .availability .back-in-stock-subscription {
  display: inline-block;
}

.overview .additional-details div,

.variant-overview .additional-details div {
  margin: 0 0 8px;
}

.overview .delivery,

.variant-overview .delivery {
  overflow: hidden;
}

.overview .free-shipping,

.variant-overview .free-shipping {
  display: none;
  margin: 10px 0;
  background: url("../images/shipping.png") left center no-repeat;
  padding: 2px 0 2px 28px;
  font-weight: bold;
  color: #444;
}

.overview .free-shipping.visible,

.variant-overview .free-shipping.visible {
  display: inline-block;
}

.overview .delivery-date,

.variant-overview .delivery-date {
  margin: 10px 0;
}

.overview .min-qty-notification,

.variant-overview .min-qty-notification {
  margin: 10px 0;
  font-style: italic;
  color: #444;
}

.overview .download-sample,

.variant-overview .download-sample {
  display: block;
}

.overview .product-sku {
  float: left;
  display: block;
  padding-right: 40px;
  margin-top: 20px;
}

.overview .product-reviews-overview {
  float: left;
  display: block;
  margin-top: 20px;
}

.overview .prices,
.variant-overview .prices {
  margin: 0 0 15px;
  overflow: hidden;
  clear: both;
}

.variant-overview .prices {
  margin: 0 0 25px;
}

.overview .prices .old-product-price {
  display: inline-block;
  position: relative;
  top: 7px;
}

.overview .prices .product-price {
  display: inline-block;
}

.overview .prices label,
.variant-overview .prices label {
  font-size: 0px;
}

.overview .prices span,
.variant-overview .prices span {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 400;
  color: #0f0f0f;
  font-family: "Open Sans", sans-serif;
}

.overview .prices > div,

.variant-overview .prices > div {
  margin: 0 0 5px;
}

.overview .old-product-price,

.variant-overview .old-product-price,

.overview .non-discounted-price,

.variant-overview .non-discounted-price {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
  text-decoration-color: #ff6600;
}

.overview .product-price span,

.variant-overview .product-price span {
  font-size: 36px;
  font-family: "Open Sans", sans-serif;
  color: #000;
  font-weight: 400;
  line-height: 1;
}

.overview .product-price .tax-info {
  font-size: 18px;
  font-weight: normal;
}

.overview .tax-shipping-info a,

.variant-overview .tax-shipping-info a {
  color: #0f0f0f;
  font-weight: 600;
}

.overview .tax-shipping-info a:hover,

.variant-overview .tax-shipping-info a:hover {
  text-decoration: underline;
}

.product-grouped .overview .email-a-friend {
  display: block;
  margin: 0;
}

.customer-entered-price {
  margin: 0 0 30px;
  overflow: hidden;
}

.customer-entered-price .price-input label {
  display: block;
  margin: 0 0 5px;
  font-weight: 500;
  color: #777;
}

.customer-entered-price .price-input input {
  width: 170px;
  text-align: center;
  color: #0f0f0f;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.customer-entered-price .price-range {
  margin: 5px 0 0;
  color: #777;
}

.tier-prices {
  margin: 0 0 20px;
}

.tier-prices .title {
  display: none;
}

.tier-prices table td {
  border: 1px solid #ddd;
  padding: 10px;
  color: #444;
}

.tier-prices .field-header {
  min-width: 80px;
}

.tier-prices .item-price {
  background-color: #f9f9f9;
  font-size: 16px;
  color: #e4434b;
}

.installer-location-notes {
    font-style: italic;
    padding-bottom: 20px;
    margin-top: -10px;
    font-weight: 200;
}

.overview .add-to-cart {
  padding: 0;
  display: block;
}

.overview .add-to-cart-panel,

.variant-overview .add-to-cart-panel {
  display: inline-block;
  position: relative;
}

.overview .add-to-cart-panel {
  display: block;
}

.overview .add-to-cart-panel:after {
  content: "";
  display: block;
  clear: both;
}

.overview .add-to-cart-panel > *,

.variant-overview .add-to-cart-panel > * {
  float: left;
}

.overview .qty-label,

.variant-overview .qty-label {
  display: none !important;
}

.overview .qty-input,

.variant-overview .qty-input {
  width: 40px;
  height: 28px;
  margin: 10px 4px 0 4px;
  padding: 0 12px;
  text-align: center;
  color: #0f0f0f;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
}

.overview .qty-button {
  width: 28px;
  height: 28px;
  display: inline-block;
  cursor: pointer;
  border: 1px solid #0f0f0f;
  text-align: center;
  color: #0f0f0f;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 700;
  background: #fff;
  margin-top: 10px;
}

.overview .qty-dropdown,

.variant-overview .qty-dropdown {
  height: 50px;
  font-size: 12px;
  min-width: unset;
  width: 20%;
  color: #0f0f0f;
  font-family: "Roboto", sans-serif;
}

.overview .add-to-cart-button,

.variant-overview .add-to-cart-button {
  border: none;
  background-color: #ff6600;
  padding: 0 70px;
  color: #fff;
  height: 50px;
  line-height: 50px;
  /* min-width: 200px; */
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 20px;
}

.overview .add-to-cart-button {
  margin: 0 0 0 5%;
}

.overview .add-to-cart-button:hover,

.variant-overview .add-to-cart-button:hover {
  background-color: #333;
}

.product-share-button {
  display: block;
  overflow: hidden;
  margin: 15px 0 0;
}

.product-details-page .product-share-button {
  margin: 0;
  padding: 5px 0 0;
}

.full-description {
  clear: both;
  line-height: 24px;
  color: #666;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.005em;
}

.full-description b {
  text-transform: uppercase;
  font-weight: 500;
  font-family: "Roboto", sans-serif;
  color: #313131;
  font-size: 13px;
}

.product-collateral {
  margin: 0 0 75px;
}

.product-collateral .title {
  margin: 0 0 10px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: #313131;
  text-transform: uppercase;
  border-bottom: 1px solid #dfdfdf;
  padding-bottom: 15px;
  text-align: left;
}

.product-collateral .title strong {
  font-weight: 400;
}

.product-variant-line {
  margin: 0 0 30px;
  border-bottom: 1px solid #ddd;
  padding: 0 0 20px;
}

.product-variant-line:after {
  content: "";
  display: block;
  clear: both;
}

.variant-picture {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 15px;
  overflow: hidden;
}

.variant-overview {
  width: 100%;
}

.variant-overview .variant-name {
  margin: 0 0 10px;
  padding: 10px 0;
  font-size: 30px;
  font-weight: 400;
  color: #000;
}

.variant-overview .variant-description {
  margin: 0 0 15px;
  line-height: 22px;
}

.variant-overview .add-to-wishlist {
  margin: 18px 0 18px;
  display: inline-block;
}

.variant-overview .add-to-wishlist-button {
  display: inline-block;
  width: auto;
  text-transform: uppercase;
}

.variant-overview .add-to-cart {
  margin: 0 0 20px;
  float: left;
}

.product-specs-box {
  margin: 0 0 40px;
}

.product-specs-box td {
  border: 1px solid #eee;
  padding: 10px;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.product-tags-list {
  font-size: 0;
}

.product-tags-list li {
  display: inline-block;
  font-size: 14px; /*reset zeroing*/
  color: #000;
}

.product-tags-list li.separator {
  margin: 0 5px 0 3px;
}

.product-tags-list a {
  display: inline-block;
  line-height: 24px;
}

.product-tags-list a:hover {
  text-decoration: underline;
}

.attributes {
  margin: 20px 0;
}

.attributes dl {
  overflow: hidden;
  padding: 0 2px; /* fix for Chrome in Mac, the checkboxes get cut off */
}

.attributes dt,

.attribute-label {
  display: block;
  margin: 0 15px 3px 0;
  white-space: nowrap;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
  font-size: 12px;
  font-family: "Roboto", sans-serif;
}

.attributes dd,

.attribute-data {
  margin: 0 0 15px;
  display: inline-block;
}

.attributes li {
  margin: 0 0 5px;
  display: inline-block;
  color: #000;
  text-transform: uppercase;
  font-size: 12px;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
}

.attributes select {
  width: auto;
  min-width: 100px;
  max-width: 100%;
  border: 2px solid #000;
  height: 35px;
  color: #000;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  padding: 0 30px 0 10px;
  line-height: 31px;
  background: none;
  cursor: pointer;
}

.attributes .option-list label {
  margin: 0 5px;
}

.attributes .datepicker {
  width: 280px;
  text-align: center;
  color: #444;
}

.attributes .qty-box input {
  width: 48px;
  height: 32px;
  text-align: center;
}

.page.product-details-page {
  margin: 40px 0 30px;
}

.product-details-page {
  line-height: 24px;
}

.product-details-page .overview:after,

.product-details-page .left-side:after,

.product-details-page .right-side:after {
  content: "";
  display: block;
  clear: both;
}

.product-details-page .right-side {
  padding: 0 20px;
  line-height: 24px;
}

/*

.product-details-page .right-side {
    text-align: center;
    background: #efefef;
    padding: 30px 20px;
    box-shadow: 1px 2px rgba(0,0,0,0.1);
    max-width: 350px;s
    margin: 0 auto;
}

*/

.product-details-page .gr-quote {
  font-size: 16px;
  font-style: italic;
  position: relative;
  min-height: 160px;
  background-image: url("../images/gr_signature.png");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 300px auto;
  margin-top: 10px;
}

.product-details-page .toggle-box {
  color: #000;
  padding: 10px 4px 10px 4px;
  border-top: 1px solid #d0d0d0;
  border-bottom: 1px solid #d0d0d0;
  margin-bottom: 20px;
}

.product-details-page .toggle-box .topic-block {
  margin: 0;
  padding: 0;
}

.product-details-page .toggle-box span.toggle-title {
  text-transform: uppercase;
}

.product-details-page .toggle-box.active span.toggle-title {
  text-transform: uppercase;
  font-weight: bold;
}

.product-details-page .toggle-box .topic-block-title {
  text-align: left;
  margin: 0;
  padding: 0;
}

.product-details-page .toggle-box .topic-block-title h2 {
  color: #000;
  text-transform: uppercase;
  margin: 0;
  outline: none;
  padding: 0;
  text-decoration: none;
  font: normal 14px "Open Sans", sans-serif;
  font-weight: normal;
  letter-spacing: 0;
  text-align: left;
}

.product-details-page .toggle-box.active .topic-block-title h2 {
  text-transform: uppercase;
  font-weight: bold;
}

.product-details-page .toggle-box span.toggle {
  float: right;
  padding-right: 20px;
}

.product-details-page .toggle-box span.toggle:hover {
  cursor: pointer;
}

.product-details-page .toggle-box .toggle-content {
  display: none;
  padding-top: 14px;
}

.product-details-page .toggle-box.active .toggle-content {
  display: block;
}

.product-details-page .toggle-box .topic-block-body {
  display: none;
  padding-top: 14px;
}

.product-details-page .toggle-box.active .topic-block-body {
  display: block;
}

.product-details-page .toggle-box .toggle-content p {
  margin-bottom: 14px;
}

.product-details-page .toggle-box .topic-block-body p {
  font: normal 14px "Open Sans", sans-serif;
  font-weight: normal;
  letter-spacing: 0;
  margin-bottom: 14px;
}

/* ------------------------------ with or without KILROCK product attributes ----------------- */

ul.image-squares.attribute-squares .attribute-square {
  width: 60px;
  height: 60px;
  border: none;
  cursor: pointer;
}

.image-squares span.attribute-name {
  font-size: 14px;
  width: 100%;
  padding-right: 1%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  text-align: left;
}

.product-details-page .image-squares span.attribute-name {text-align: unset;justify-content: center;}
ul.image-squares .price-adjustment {
  display: inline;
  margin-left: 1%;
}

.product-details-page .attributes dd {width: 100%;}
.product-details-page ul.option-list.attribute-squares.image-squares {padding: 0px;}
.product-details-page ul.attribute-squares li input {margin:0;}
.product-details-page ul.option-list.attribute-squares.image-squares li label.fill-label {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: center;
  align-content: center;
  padding: 5px;
  text-align: center;
}

.product-details-page ul.image-squares .price-adjustment {width: 100%;}
.product-details-page ul.image-squares.attribute-squares .attribute-square {background-size: contain !important;}
ul.image-squares li {
  border: solid 1px #666;
  width: 100%;
  margin: 1%;
}

ul.image-squares li label {
  display: flex;
  text-align: left;
}

.attributes dd {
  width: 70%;
}

ul.image-squares .fill-label {
  width: 100%;
  height: 100%;
}

.tooltip-container {
  display: none;
}

.image-squares span.attribute-square-container {
  width: 60px;
  justify-content: center;
  align-items: center;
  display: flex;
}

.image-squares .selected-value .attribute-square-container {
  background-color: unset;
}

span.image-squares.attribute-square.img {
  vertical-align: middle;
}

ul.image-squares {
  display: flex;
  flex-direction: row;
  vertical-align: middle;
}

.pointer {
  cursor: pointer;
}

.selected {
  border: 1px solid #ff6600 !important;
}

/* -- HIDE RADIO BUTTON -- */

.filterradiobutton.krockradiobutton {
  visibility: hidden;
}

/* ---------------------------------- END of KILROCK product attributes ------------------------------*/

/*------ styling for kilrock and filter cartridge attributes-----*/

@media (max-width: 1300px) {
  ul.image-squares {
    width: 100%;
  }

  ul.image-squares li {
    width: 60%;
  }

  .attributes dd {
    width: 90%;
  }

}

@media (max-width: 1190px) {
  ul.image-squares {
    width: 100%;
  }

  ul.image-squares li {
    width: 100%;
  }

}

@media (max-width: 1024px) and (min-width: 767px) {
  ul.image-squares {
    flex-direction: column;
    width: 100%;
  }

  ul.image-squares li {
    width: 100%;
  }

}

@media (max-width: 767px) and (min-width: 550px) {
  ul.image-squares {
    width: 100%;
  }

  ul.image-squares li {
    width: 100%;
  }

}

@media (max-width: 550px) {
  ul.image-squares {
    flex-direction: column;
    width: 100%;
  }

  ul.image-squares li {
    width: 100%;
  }

  .html-product-details-page #gallery-wrapper {height: auto;}
  .product-details-page ul.option-list.attribute-squares.image-squares {width: 98%;}
}

/*------ end of styling for kilrock and filter cartridge attributes-----*/

@media (max-width: 1039px) {
  .container,
  .master-column-wrapper {
    margin: 15px 15px !important;
  }

}

@media (max-width: 327px) {
  .overview .add-to-cart-button {
    margin-top: 10px;
  }

}

@media (max-width: 767px) {
  .attributes dd {
    width: 98%;
  }

  .container,

  .master-column-wrapper {
    margin: 15px 2px !important;
  }

  #gallery-wrapper .grl-pg-thumbs .grl-pg-thumb {
    float: none;
  }

  #gallery-wrapper .grl-pg-thumbs {
    position: relative;
    z-index: 1;
    padding: 10px 0;
    font-size: 0;
    overflow: hidden;
    display: block;
    margin: 0 auto;
    text-align: center !important;
  }

  #gallery-wrapper .grl-pg-thumbs a {
    display: inline-block;
    /*width: 14px !important;
    height: 14px;*/
    margin: 0 7px;
    box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.2);
    /*background-color: #f0f0f0;*/
    font-size: 0;
    /*border-radius: 180px;*/
    cursor: pointer;
  }

  #gallery-wrapper .grl-pg-thumbs a.active {
    /*background-color: #000;*/
  }

  #gallery-wrapper .grl-pg-thumbs .grl-pg-thumb img {
    /*display: none;*/
  }

  .product-essential {
    margin: 0;
  }

  .product-details-page .left-side {
    width: 100%;
    float: none;
  }

  .product-details-page .right-side {
    width: 100%;
    float: none;
    margin-left: 0;
  }

}

a.link:hover {
  cursor: pointer;
  text-decoration: underline;
}

/* lightbox css */

.video-tag {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 56px;
  font-size: 14px;
  width: 300px;
  max-width: 100%;
}

.video-image {
  width: 55px;
  padding: 0 10px 0 0;
  max-width: 100%;
  max-height: 100%;
}

.lightbox div,

.lightbox h4 {
  color: #666;
  font-weight: 100;
}

@media all and (max-width: 400px) {
  .video-tag {
    font-size: 13px;
  }

}

/* OUT OF STOCK */

#outOfStockMessage {
  color: #ff6600;
  font-size: 20px;
}

.right-side .back-in-stock-subscription input.subscribe-button {
  background: #ff6600;
  color: #fff;
  height: 40px;
  width: fit-content;
  border-radius: 5px;
  padding: 0 30px;
  text-align: center;
  margin-top: 20px;
  font-weight: 400;
}

.ui-dialog * {
  z-index: 6;
  position: relative;
}

.ui-dialog:before {
  z-index: 5;
}

.ui-dialog #back-in-stock-notify-me {
  background-color: #ff6600;
  border-radius: 5px;
}

.ui-dialog .page-title h1 {
  text-align: center;
  margin-bottom: 0;
}

.ui-dialog .page-title {
  margin-bottom: 0;
}

/*------- kilrock POPUP STYLING ------------*/

#dialog {
  display: none;
}

.window {
  z-index: 900;
  width: 400px;
  max-width: 90%;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background-color: #dbe4ed;
  border: solid 1px #bec7d0;
  position: fixed;
  margin-top: 5%;
  box-shadow: 3px 3px 8px 2px rgba(0, 0, 0, 0.15);
}

#popupcontent {
  padding: 20px 10px 10px 10px;
}

.promo {
  /*background-color: #ff6600;*/
  width: 100%;
  padding-bottom: 10px;
}

.promo p {
  font-size: 15px;
}

.promo strong {
  color: #ff6600;
}

#kilrockimg {
  border-radius: 50%;
  margin-top: 2%;
  margin-bottom: 2%;
}

.close {
  margin-top: 1%;
  background-color: #ff6600;
  text-align: center;
  padding: 16px 50px;
  width: 80%;
  color: #ffffff;
  font-weight: 100;
  letter-spacing: 1px;
  border: 0px;
  cursor: pointer;
}

p.qettlecare {
  font-size: 18px;
  font-weight: 100;
}

#popupcontent h2 {
  color: #ff6600;
  text-transform: none;
  margin-bottom: 1%;
}

#popupcontent p {
  margin-bottom: 1%;
}

/* --- END OF POPUP ---*/

/*SUBSCRIPTIONS*/

.add-to-cart-btn-secondary {
  border: thin solid #ff6600;
  background: white;
  padding: 0 70px;
  color: #ff6600;
  height: 50px;
  line-height: 50px;
  /* min-width: 200px; */
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 0 5%;
}

.add-to-cart-btn-secondary:hover {
  border: none;
  background-color: #ff6600;
  padding: 0 70px;
  color: #fff;
  height: 50px;
  line-height: 50px;
  /* min-width: 200px; */
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 0 5%;
}

.subscription-section {
  margin-top: 50px;
}

.sub-hide {
  display:none;
}

.overview .add-to-cart-button.top-margin {
  margin: 50px 0px 0px 0px;
}
