body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: "Muli", Arial, sans-serif;
  background-image: url(https://www.nj-commerce.co.uk/NJ/Template-Ebay/slide-bg1.jpg), url(https://www.nj-commerce.co.uk/NJ/Template-Ebay/bg_y.png);
  background-repeat: no-repeat, repeat-y;
  background-position: center top;
  min-height: 100%;
}

.grid {
  max-width: 85%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 3%;
  padding-left: 2%;
  padding-right: 2%;
  border-style: hidden;
  border-top-left-radius: 80px;
  border-top-right-radius: 80px;
  background-color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto auto;
  grid-template-areas: "header title" "nav nav" "content sidebar" "footer footer";
}

img {
  max-width: 100%;
}

.header {
  grid-area: header;
  padding-top: 2%;
  margin-left: 5%;
}

h2.about {
  font-weight: bold;
  font-size: 2rem;
  color: #cccccc;
  margin: 0;
  padding: 0;
}

.title {
  grid-area: title;
  align-self: center;
}

h1.title-item {
  font-weight: bold;
  font-size: 1.5rem;
  color: #646464;
  line-height: 1.2;
  text-align: center;
}

.nav {
  grid-area: nav;
  margin-bottom: 2%;
}

.item li {
  display: inline-block;
  padding-top: 1px;
  padding-bottom: 5px;
  font-size: 11px;
  color: #000000;
}

.item li a {
  color: #000000;
  text-decoration: none;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 12px;
  text-decoration: none;
}

ul.item {
  margin: auto;
  padding: 0;
}

.item li + li:before {
  content: ">";
  padding: 0 3px;
}

.content {
  grid-area: content;
}

.bullets {
  max-width: 90%;
}

.desc > li {
  text-align: justify;
  line-height: 1.5;
  color: #000000;
  font-size: 1.0rem;
  padding-left: 5px;
  list-style-image: url(https://www.nj-commerce.co.uk/NJ/Template-Ebay/bullet.png);
}

.note {
  margin-top: 5%;
  margin-left: auto;
  margin-right: auto;
  padding: 1% 3% 1%;
  text-align: justify;
  background-color: #ffffff;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  max-width: 90%;
  margin-bottom: 5%;
}

#tb_spec {
  border: solid 1px grey;
  border-collapse: collapse;
  width: 90%;
  font-size: 1.0rem;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10%;
}

#top_row1 {
  text-align: center;
  background-color: lightgrey;
  vertical-align: top;
  border-color: grey;
  padding: 5px;
}

.cell_spec {
  padding-left: 1%;
}

.sidebar {
  grid-area: sidebar;
  margin-left: 5%;
}

#zoom {
  padding-right: 25%;
  padding-left: 27%;
  box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.3);
}

.gallery {
  max-width: 95%;
  margin: 0;
  padding: 5px;
  background: #fff;
}

.gallery > div {
  position: relative;
  float: left;
  padding: 5px;
}

.gallery > div > img {
  display: block;
  max-width: 150px;
  box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.3);
  transition: 0.1s transform;
  transform: translateZ(0);
  /* hack */
}

.gallery > div:hover {
  z-index: 1;
}

.gallery > div:hover > img {
  transform: scale(2.7, 2.7);
  transition: 0.3s transform;
}

.cf {
  max-width: 100%;
}

.cf:before,
.cf:after {
  display: table;
  content: "";
  line-height: 0;
}

.cf:after {
  clear: both;
}

.you-tube {
  margin-top: 5%;
  margin-left: 20%;
}

.you-tube > a {
  text-decoration: none;
  font-size: 1.5rem;
  color: #000000;
}

#product {
  padding-left: 5%;
}

.you-tube:hover > a {
  color: #e1e1e1;
}

.video {
  width: 90%;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin-top: 5%;
  margin-left: auto;
  margin-right: auto;
}

.footer {
  grid-area: footer;
}

@media only screen and (min-device-width: 574px) and (max-device-width: 767px) {
  h1.title-item {
    font-size: 1.0rem;
  }

  h2.about {
    font-size: 1.2rem;
  }

  .item li {
    font-size: 1.0rem;
  }

  .item li a {
    font-size: 1.0rem;
  }

  .desc > li {
    line-height: 1.0;
    font-size: 1.1rem;
  }

  .note > h3 {
    font-size: 1.1rem;
  }

  .note > p {
    font-size: 1.1rem;
  }

  #tb_spec {
    font-size: 1.8rem;
  }

  .gallery > div > img {
    max-width: 110px;
  }

  .you-tube > a {
    text-decoration: none;
    font-size: 10px;
    color: #000000;
  }

  .footer {
    grid-area: footer;
  }
}
@media only screen and (min-device-width: 480px) and (max-device-width: 575px) {
  .grid {
    background-color: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
    grid-template-areas: "header title" "nav nav" "sidebar sidebar" "content content";
  }

  h1.title-item {
    font-size: 1.0rem;
  }

  h2.about {
    font-size: 1.2rem;
  }

  .item li {
    font-size: 1.0rem;
  }

  .item li a {
    font-size: 1.0rem;
  }

  .desc > li {
    line-height: 1.0;
    font-size: 1.1rem;
  }

  .note > h3 {
    font-size: 1.1rem;
  }

  .note > p {
    font-size: 1.1rem;
  }

  #tb_spec {
    font-size: 1.8rem;
  }

  .gallery > div > img {
    max-width: 110px;
  }

  .you-tube > a {
    text-decoration: none;
    font-size: 10px;
    color: #000000;
  }

  .gallery {
    display: none;
  }

  .footer {
    grid-area: footer;
  }
}
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
  .grid {
    background-color: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
    grid-template-areas: "title title" "nav nav" "sidebar sidebar" "content content";
  }

  .header {
    display: none;
  }

  .title {
    margin-top: 3%;
  }

  h1.title-item {
    font-size: 1.0rem;
  }

  .item {
    display: none;
  }

  .bullets {
    max-width: 90%;
  }

  .desc > li {
    line-height: 1.0;
    font-size: 1.0rem;
  }

  .note > h3 {
    font-size: 1.1rem;
  }

  .note > p {
    font-size: 1.0rem;
  }

  #tb_spec {
    font-size: 1.1rem;
  }

  .gallery {
    display: none;
  }

  .video {
    width: 100%;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-top: 2%;
    margin-left: 0;
    margin-right: 0;
  }

  .you-tube > img {
    max-width: 30px;
  }

  .you-tube > a > img {
    text-decoration: none;
    font-size: 1.0rem;
  }

  .footer {
    display: none;
  }
}
