

div#product {
  margin: 5px auto 2em auto;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 1vw;
  padding: 1vw;
  max-width: 90vw;
  align-items: stretch;
}
div#item_left_side {
  display: flex;
  flex-flow: column nowrap;
  flex-grow: 2;
  flex-shrink: 1;
  flex-basis: 60%;
}
div#item_right_side {
  display: flex;
  flex-flow: column nowrap;
  flex-grow: 1;
  flex-shrink: 2;
  flex-basis: 30%;
}
div#item_name {
  font-family: 'Nunito', 'Arial', 'Helvetica', sans-serif;
  font-size: 2em;
  font-weight: bold;
  margin: 0px 0px 20px 0px;
}
img.main_image {
  max-width: 100%;
  height: auto;
}
div#item_thumbs {
  display: flex;
  flex-flow: row wrap;
  margin: 0;
  padding: 0;
}
div#item_thumbs img {
  margin: 5px 5px 0 0;
}
div#item_thumbs img:hover {
  border: 1px solid #666;
}
div#item_thumbs img.current {
  border: 1px solid black;
}
div.related_item_thumbs {
  width: 100%;
  padding: 5px 0 0 0;
  margin: 0;
}
div.related_item_thumbs ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
div.related_item_thumbs ul li {
  display: inline;
  margin: 0 6px;
  padding: 3px;
}
div.related_item_thumbs ul li:last-child {
  display: inline;
  margin-right: 0 !important;
}
div.related_item_thumbs img:hover {
  border: 1px solid #666;
}

div#item_description {
  padding: 5px;
}
div#item_description p {
  font-size: 14px;
  line-height: 1.5em;
}
div#item_description p.item_condition {
  font-style: italic;
  font-weight: bold;
  color: #F00;
}

div#item_action {
  padding: 5px;
}

h1 {
  margin-top: 2em;
  margin-bottom: 1em;
  font-size: 150%;
}
h2 {
  font-size: 1em;
  float: left;
}
h2.item_price {
}
span.item_price_span {
}
h2.original_price {
  color: #999;
  float: right;
  margin-left: 15px;
}
span.original_price_span {
  text-decoration: line-through;
}

div#qty_sold_out {
  padding: 0px 0px 0px 20px;
  margin: 30px 0px 5px 0px;
  color: red;
  font-weight: bold;
}
div#qty_box {
  padding: 0px 0px 0px 20px;
  margin: 5px 0px;
}
div#qty_box table {
  border: 3px solid black;
}
div#qty_box table tr th {
  border-bottom: 1px solid black;
  font-size: 12px;
  font-weight: bold;
}
div#qty_box table tr td {
  padding: 3px 15px;
  font-size: 12px;
}

div#details {
  margin: 0;
  font-size: 13px;
}

div#custom_notice {
  margin-top: 40px;
  color: #666;
  font-size: 10px;
  width: 700px;
}

.error {
  font-weight: bold;
  color: #F00;
}
td.error {
  background: #F00;
  color: #FFF;
}
td.error a {
  color: #FFF;
  text-decoration: underline;
}

.normal_item_info {
  color: #666;
  font-style: italic;
  padding-left: 20px;
}

p.country_of_origin {
  color: #666;
  font-size: 150%;
  width: 100%;
  padding: 5px;
}
p.country_of_origin img {
  position: relative;
  top: 5px;
}

div#related_items_on_left_side {
  display: block;
}
div#related_items_on_right_side {
  display: none;
}

@media only screen and (max-width: 600px) {
  div#item_name {
    font-size: 1.25em;
  }
}
@media only screen and (max-width: 1200px) {
  div#related_items_on_left_side {
    display: none;
  }
  div#related_items_on_right_side {
    display: block;
  }
}
