* { margin: 0; padding: 0; box-sizing: border-box; text-decoration: none;
  }
*:not(.ordered-list li) {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: default;
}
u {text-decoration: underline;}
body, h3,h4,h5,h6,p,table { font-size: 12px;  line-height: 15px; font-family: 'Source Sans Pro', sans-serif;  }
h2 {font-size: 15px;}
h1 {font-size: 18px;}
.mobileOnly {display: block;}
@media only screen and (max-width: 799px) {
  .mobileNo {display: none;}
}
@media only screen and (min-width: 800px) {
  .mobileOnly {display: none;}
  body, h3,h4,h5,h6,p,table {font-size: 16px; line-height: 20px;}
  h1 {font-size: 24px;} h2 {font-size: 20px;}
}
a, a * {cursor: pointer !important;}
* {outline: none !important;}
.clear {clear: both;}
.tc {text-align: center;}
.di {display: inline-block;}

.disabled {pointer-events: none;}
* {vertical-align: baseline; box-sizing: border-box;}
[v-cloak] {display: none}
.nope {pointer-events: none; filter: brightness(150%) grayscale(100%);}
.noto {font-family: 'Noto Sans', sans-serif;}

.warning {color: red;}

#client.admin {padding-top: 48px; margin: }

#overview {
  width: 100%;
}
#overview th {font-weight: bold; text-align: center;}
#overview td {
  padding: 2px 4px; vertical-align: middle;
}
#overview tr:nth-child(even) {background: #f0f0fa;}
#overview .material-icons {color: #330; transition: transform .15s;}
#overview .material-icons:hover {color: #efeca9; filter: drop-shadow(0 0 2px black); transform: scale(1.1);}
#overview .material-icons:active {color: #fee000;}

.image-manager {clear: both;}
.image-manager .img-thumb {
  display: inline-block;
  width: 158px;
  height: 158px;
  margin: 8px 8px 0 0;
  border: 2px solid white;
  clear: both;
  }
.listing .image-manager .img-thumb {
  width: 100px;
  height: 100px;
  cursor: pointer;
  }
.img-thumb.default {filter: drop-shadow(0 0 2px #999); border: 2px solid #fee000; box-sizing: border-box;}
.image-manager .img-thumb .img-container {height: 100%; width: 100%; position: relative;}
.image-manager .img-thumb a, #defaultThumb a {
  position: absolute;
  /* background: #fafafa; */
  padding: 4px;
  color: white;
  text-shadow: 0 0 2px black;
  filter: drop-shadow(0 0 2px black);
  transition: transform .15s;
}
.image-manager .img-thumb .zoom, #defaultThumb .zoom { right: 0; top: 0; }
.image-manager .img-thumb .star { left: 0; bottom: 0; }
.default .star {color: #fee000 !important; pointer-events: none;}
.image-manager .img-thumb .delete { right: 0; bottom: 0; }
.image-manager .img-thumb a:hover, .listing .image-manager .img-thumb:hover a, #defaultThumb:hover a {transform: scale(1.3); color: #efeca9;}
.image-manager .img-thumb a:active, .listing .image-manager .img-thumb:active a, #defaultThumb:active a {color: #fee000;}

#defaultThumb {
  float: left;
  width: 100%; height: 300px;
  margin-right: 16px;
  cursor: pointer;
  position: relative;
}

@media only screen and (min-width: 800px) {
  #defaultThumb {
    height: 400px; width: 400px;
  }
}

@media only screen and (max-width: 940px) {
  #defaultThumb {
    float: none; margin: 0 auto;
  }

}

#wrapper {
  width: 100%;
  margin: 16px auto;
  background: #fafafa;
  padding: 8px;
}

@media only screen and (min-width: 800px) {
  #wrapper {width: calc(100% - 96px); max-width: 1200px; padding: 16px;}

}


#form {
  background: #dfeffa;
  padding: 16px;
}
#form * {vertical-align: middle;}
#form label {width: 100px; display: inline-block; text-align: right; padding-right: 8px;}
#form select {width: 120px;}
#form input[type="text"] {width: calc(100% - 120px); font-size: 20px; padding: 2px 4px;}
#form h3 {font-size: 110%; line-height: 200%;}
/* #form #description {width: 100%; height: 200px; overflow: scroll; border: 2px solid black; background: #fefefe;} */
#form #price {text-align: right; font-size: 20px; width: 100px;}

.dola {font-size: 20px;}

h2 {line-height: 100%;}
h1 {line-height: 100%;}

.listing h1 {margin: 8px 0;}
.editor h1 {margin: 8px 0;}

.minor {color: #999;}

#form button {
  padding: 4px 8px;
  margin: 4px;
}

/* zoomed-in images in admin area */
#zoomedImage {
  position: fixed;
  top: 0; right: 0; bottom: 110px; left: 0;
  z-index: 6;
}
#zoomedImage .cancel {
  position: absolute;
  top: 32px; left: 32px;
  color: white;
  text-shadow: 0 0 2px black;
  filter: drop-shadow(0 0 2px black);
  transition: transform .15s;
  transform: scale(2);
}
#zoomedImage .cancel:hover {
  transform: scale(2.5);
  color: #efeca9;
}
#zoomedImage .cancel:active {
  color: #fee000;
}
#zoomedImage .prev, #zoomedImage .next {
  position: absolute;
  height: 32px; width: 32px; background: white; color: black;
  top: calc(50% - 16px);
  font-size: 32px; line-height: 32px;
  box-shadow: 0 0 4px black;
}
#zoomedImage .prev {left: 0; border-radius: 0 4px 4px 0; transform-origin: left;}
#zoomedImage .next {right: 0; border-radius: 4px 0 0 4px; transform-origin: right;}
#zoomedImage .prev:hover, #zoomedImage .next:hover {
  transition: transform .15s;
  background: #efeca9;
  transform: scale(1.2);
}
#zoomedImage .prev:active, #zoomedImage .next:active {
  background: #fee000;
}

#zoomedCarousel {
  position: fixed; z-index: 7;
  right: 0; bottom: 0; left: 0;
  height: 110px;
  padding: 5px 0;
  text-align: center;
  background: #2e2e2e;
  border-top: 2px solid white;
  overflow-x: scroll;
  white-space: nowrap;
}
#zoomedCarousel img {margin: 0 2px;}
#zoomedCarousel img.default {
  filter: drop-shadow(0 0 2px #fee000) drop-shadow(0 0 2px #fee000) drop-shadow(0 0 2px #fee000);
  border: 2px solid #000; box-sizing: border-box;
}
#zoomedCarousel img {
  transition: transform .2s;
}
#zoomedCarousel img:not(.default):hover {
  cursor: pointer;
  transform: scale(1.1);
  transform-origin: bottom;
  border: 1px solid #000;
  filter: drop-shadow(0 0 2px #fee000) brightness(100%) contrast(120%);
}

#adminNav {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 48px;
  background: #2e2e2e;
  padding-left: 8px;
}
#adminNav a {color: #fafafa; display: inline-block; height: 48px; line-height: 48px; padding: 0 16px;}
#adminNav a:hover {color: white; background: black;}
#adminNav a:active {background: white; color: black;}
#adminNav .material-icons {vertical-align: -5px; line-height: 48px;}

#logo {
  font-family: 'Noto Sans', sans-serif;
  text-align: center;
  margin: 12px 0 12px 0;
  font-size: 24px;
  color: white;
}
@media only screen and (min-width: 800px) {
  #logo {
    font-family: 'Noto Sans', sans-serif;
    text-align: center;
    margin: 48px 0 24px 0;
    font-size: 48px;
    color: white;
  }
}


body {background: url(dark-honeycomb.png)}

#mainNav {
  text-align: center;
  margin-bottom: 16px;
}

#mainNav a, #hero {color: #fafafa; display: inline-block;  background: #2e2e2e;
  box-shadow: 0 0 2px 0 white; border-radius: 4px;}
#mainNav a:hover, a#hero:hover {color: #fef8a9; box-shadow: 0 0 2px 0 #fef8a9; background: black;}
#mainNav a:active, a#hero:active {background: #fef8a9; color: black; box-shadow: 0 0 0px 1px black;}
#hero {text-decoration: none; margin: 16px 0; line-height: 24px;}
#mainNav a {border: 1px solid transparent;}
#mainNav a.selected {border-color: white;}
#hero .material-icons {vertical-align: bottom;}

#mainNav a, #hero {
  font-size: 12px; padding: 4px 8px; margin: 0 4px;
}

@media only screen and (min-width: 800px) {
  #mainNav {margin-bottom: 32px;}
  #mainNav a, #hero {
    font-size: 16px; padding: 8px 16px; margin: 0 8px;
  }
  #hero {margin: 8px;}
}

#hero.out {background: #8e2e2e;}

.contact td {vertical-align: middle;}

.text p {margin: 8px;}
.about p {margin: 12px;}
@media only screen and (min-width: 800px) {
  .text p {margin: 16px;}
}

.official.all-listings a {
  color: #ae7e5e;
  cursor: pointer;
}
.official.all-listings a:hover {
  /* background: #fef8a9; */
  color: #7e5e3e;
  text-decoration: underline;
}
.official.all-listings a:active {
  background: black; color: white;
}

.text a:not(.maker-link), .listing a:not(.zoom), #addCat {
  color: #ae7e5e;
  text-decoration: underline;
}
.text a:not(.maker-link):hover, .listing a:not(.zoom):hover, #addCat:hover {
  background: #fef8a9;
  color: black;
  text-decoration: none;
}
.text a:not(.maker-link):active, .listing a:not(.zoom):active, #addCat:active {
  background: black; color: white;
}

#addCat {text-decoration: none; cursor: pointer;}

a.noDecoration, .breadcrumbs a {text-decoration: none !important;}

.public-listing {
  padding: 8px;
  clear: both;
}

.public-listing:nth-child(even) {background: #f5f9ff;}
.pl-breadcrumbs, .pl-status, .pl-modified {display: none;}

.list-thumb {
  float: left; height: 70px; width: 100px;
  text-align: center; margin-right: 6px;
}
.list-thumb img {
  /* height: 100%; */
  max-height: 100%; max-width: 100%;
}

@media only screen and (min-width: 800px) {
  .public-listing {
    padding: 16px;
    display: inline-block;
    width: 50%;
    vertical-align: top;
    background: #fafafa;
  }
  .public-listing:nth-child(even) {background: #fafafa;}
  .public-listing:hover {background: #fffef5;}
  .list-thumb {
    width: 100%; height: 230px; margin-right: 0;
    float: none;
  }
  .list-thumb img {border-radius: 8px;}
  .listing-title {height: 60px; margin-top: 8px;}
  .pl-breadcrumbs, .pl-status, .pl-modified {display: block;}
  .pl-breadcrumbs {font-size: 12px; line-height: 12px; height: 24px;}
  .pl-breadcrumbs a {white-space: nowrap;}
}
@media only screen and (min-width: 1200px) {
  .public-listing { width: 33%; }
}

/* .listing-title {font-size: 22px;line-height:1.2;} */
.public-listing td {vertical-align: middle;}
#makers {
  text-align: center;
}
.maker-link {
  display: inline-block;
  height: 80px; width: 96px;
  margin: 0px 16px;
  transition: transform .2s;
}

@media only screen and (min-width: 800px) {
  .maker-link {height: 160px; width: 192px; margin: 16px;}
}
.maker-link.VintageJBL { background: transparent url('/logo-jbl.png') center/contain no-repeat }
.maker-link.EarthquakeSound { background: transparent url('/logo-earthquake-sound.png') center/contain no-repeat }
.maker-link.VintageThreshold { background: transparent url('/logo-threshold.png') center/contain no-repeat }

.maker-link:hover {
  transform: scale(1.1);
}

.fit {
  max-width: 100%;
  margin: 0 auto;
  display: block;
}




#form #description {
  box-shadow: 0 0 2px #CCC;
  min-height: 200px;
  overflow: auto;
  padding: .5em;
  margin-top: .5em;
  resize: vertical;
  outline: none;
  background: #fefefe;
}

.toolbar {
  /* text-align: center; */
}

.toolbar a {
  border: 1px solid #AAA;
  background: #FFF;
  font-family: 'Candal';
  border-radius: 1px;
  color: black;
  padding: 5px;
  width: 2em;
  margin: -1px;
  margin-top: 10px;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0px 1px 0px #CCC;
  text-align: center;
}

.toolbar a:hover {
  background: #f2f2f2;
  border-color: #8c8c8c;
}

#priceNotes {width: 500px;}

#noResults {
  margin: 32px;

}

.drillDown {
  margin: 0 4px;
}

.all-listings h1 {margin-bottom: 16px;}
#productFilters {
  margin-bottom: 16px;
  text-align: left;
}
#productFilters section {
  display: inline-block; vertical-align: top;
  margin: 0 8px 0 0;
  text-align: left;
  display: none;
}
#productFilters section.YES {display: inline-block;}

@media only screen and (min-width: 800px) {
  #productFilters {text-align: center;}
  #productFilters section {display: inline-block;
    font-size: 14px; line-height: 16px;
  }
}
#productFilters h3 {font-size: 16px;}
#productFilters h3 .material-icons {font-size: 16px; line-height: 16px; vertical-align: top;}
#productFilters label, #productFilters input {vertical-align: middle;}
#productFilters section.maker, #productFilters section.sort {width: 180px;}
#productFilters section.category {width: 300px;}
#productFilters section.category p {width: 150px;}
#productFilters section.type {width: 140px;}
#productFilters section.type select {width: 100px;}

@media only screen and (max-width: 1050px) {
  #productFilters section * {font-size: 12px; line-height: 14px;}
  #productFilters section.maker, #productFilters section.sort {width: 150px;}
  #productFilters section.category {width: 150px;}
}

.pagination {width: 280px; margin: 0 auto; height: 54px; line-height: 50px;}
.pagination td {width: 70px; vertical-align: middle; text-align: center;}
.pagination td.wider {width: 140px;}

.pagination a {border: 1px solid #999; border-radius: 4px; padding: 2px 6px;}
.pagination a:hover {border-color: black; background: #fef8a9;}
.pagination a:active {background: black; color: #fef8a9;}


@media only screen and (min-width: 1000px) {
  .listing #wrapper {padding: 32px;}
  #hero {margin: 16px 0;}
}

#backup {
  float: right;
  display: inline-block;
}
#backup a {
  display: inline-block;
  padding: 8px 16px;
  color: #2e2e2e;
  display: inline-block;
  background: #eeee2e;
  box-shadow: 0 0 2px 0 white;
  border-radius: 4px;
  border: 1px solid #2e2e2e;
}
#backup a:hover {
  background: #ffff2e;
}
#backup a:active {
  background: #2e2e2e;
  color: #ffff2e;
}
