/* navbar */
.navbar-default {
  background-color: #f8f8f8;
  border-color: #f8f8f8;
}

/* ---- isotope ---- */

.grid {
  background: transparent;
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- button ---- */

.button {
  display: inline-block;
  padding: 0.5em 1em;
  margin-bottom: 10px;
  background: #eee;
  border: none;
  border-radius: 7px;
  background-image: linear-gradient(to bottom, hsla(0, 0%, 0%, 0), hsla(0, 0%, 0%, 0.2));
  color: #222;
  font-family: sans-serif;
  font-size: 12px;
  text-shadow: 0 1px white;
  cursor: pointer;
}

.button:hover {
  background-color: #BOBOBO;
  text-shadow: 0 1px hsla(0, 0%, 100%, 0.5);
  color: #222;
}

.button:active,
.button.is-checked {
  background-color: gray;
}

.button.is-checked {
  color: white;
  text-shadow: 0 -1px hsla(0, 0%, 0%, 0.8);
}

.button:active {
  box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);
}

.ui.primary.button {
  background-color: #aaa;
  color: #fff;
  text-shadow: none;
  background-image: none;
  font-weight: 700;
  line-height: 1.8em;
  border-radius: 0.28571429rem;
  font-size: 1.2em;
  outline: none;
}
.ui.primary.button:active {
  background-color: #999;
  color: #fff;
  box-shadow: none !important;
}

/* ---- button-group ---- */

.button-group:after {
  content: '';
  display: block;
  clear: both;
}

.button-group .button {
  float: left;
  border-radius: 0;
  margin-left: 0;
  margin-right: 1px;
}

.button-group .button:first-child {
  border-radius: 0.5em 0 0 0.5em;
}
.button-group .button:last-child {
  border-radius: 0 0.5em 0.5em 0;
}

/* ---- .grid-item ---- */

.grid-sizer,
.grid-item {
  width: 15%;
  margin-bottom: 3px;
  margin-right: 3px;
}

.grid-item {
  float: left;
}

.grid-item img {
  display: block;
  max-width: 100%;
}

.product-image-container {
  overflow: auto;
}

.product-image-container .product-likes-container {
  cursor: pointer;
  color: #555555;
  display: inline-block;
  margin-left: 3px;
}
.product-image-container .product-likes-container .glyphicon {
  font-size: 1.5em;
}
.product-image-container .product-likes-container:hover .glyphicon {
  font-size: 1.8em;
}
.product-image-container .product-likes-container:hover .number-text {
  line-height: 28px;
  padding-bottom: 6.5px;
}
.product-image-container .product-likes-container:active,
.product-image-container .product-likes-container.selected {
  color: olive;
}

.product-image-container .number-text {
  line-height: 25px;
  vertical-align: top;
  font-size: 0.8em;
  margin-left: 2.5px;
  padding-bottom: 10px;
}

.product-image-container .small-button {
  float: right;
  color: #555555;
  text-decoration: none;
  padding: 0px 2px;
  margin: 0 1px;
}
.product-image-container .small-button:hover {
  color: #000000;
}
.product-image-container .small-button.back {
  float: left !important;
}

.product-image-container hr {
  margin-top: 0px;
  margin-bottom: 10px;
}

#sizes .bar-graph-container {
  min-height: 0px;
  height: 12px;
  width: 80%;
  margin-left: 10px;
}

#sizes .bar-graph {
  fill: blue;
  fill-opacity: 0.1;
  stroke-opacity: 0.9;
  height: 100%;
}

#color .swatchContainer {
  width: 220px;
  height: 335px;
  border: 1px solid #c2c2c2;
}

#color .swatchContainer .coloredSquare {
  height: 223px;
}

#color .swatchContainer .pantoneInfo {
  height: 100px;
  max-width: 95%;
  padding-left: 2px;
  padding-top: 2px;
}

.swatchContainer .pantoneInfo span.pLogo {
  background: url(/static/Pantone-logo-389px.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 15px;
  margin-top: 12px;
  padding-top: 12%;
  display: block;
}

.swatchContainer div.pColorCode {
  height: inherit;
}

.grid-item .dropdown {
  position: absolute;
  width: 100%;
  height: 80%;
  top: 0 !important;
  opacity: 0.95;
}

.grid-item .dropdown.open {
  z-index: 1000;
}

.grid-item .dropdown::-webkit-scrollbar {
  width: 12px;
}

.grid-item .dropdown .dropdown-menu {
  min-width: 100%;
  width: 100%;
  max-height: 100%;
  top: 0px;
  margin-top: 0px;
  font-size: 12px;
}

.grid-item .dropdown ul li {
  margin-bottom: 0px !important;
  cursor: pointer;
}

.grid-item .dropdown .dropdown-menu hr {
  margin-top: 2px !important;
  margin-bottom: 2px !important;
}

.grid-item .dropdown .dropdown-menu li a {
  padding-left: 5px !important;
  padding-right: 5px !important;
}

.description .tag-to-theme {
  cursor: pointer;
}

.scrollable-menu {
  overflow-x: scroll;
}

.grid-item .dropdown .dropdown-menu::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.grid-item .dropdown .dropdown-menu::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(151, 88, 88, 0.3);
}

.grid-item .dropdown .dropdown-menu::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
  border-radius: 50px;
}

#btn-submit {
  width: 120px;
  line-height: 22px !important;
  margin-bottom: 11px;
}

.nav-stacked {
  border-left: None;
  border-left-color: #ddd;
  border-left-width: thin;
  padding-right: 0px;
  left: 5px;
  min-height: 500px;
}

.nav-stacked > li {
  background-color: #f9f9f9;
  margin-bottom: 0px;
}

.nav-pills > li > a {
  border-radius: 0px;
}

.bootstrap-select {
  width: 50% !important;
}

.dropdown-menu {
  min-width: 100% !important;
}

.color-box {
  background-color: #2185d0;
  width: 15px;
  height: 15px;
  margin-right: 5px;
  display: inline-block;
  vertical-align: middle;
}

.hierarchy-code {
  line-height: 5px;
  vertical-align: text-bottom;
  font-size: 12px;
  color: #999;
  margin-left: 10px;
}

.ui.primary.button.upload {
  line-height: 1.5em;
  font-size: 1em;
  margin-bottom: 5px;
}

#images .image-type {
  margin-right: 5px;
  width: 10em;
  text-align: center;
  height: 28px;
  border-radius: 5px;
  border-width: thin;
}

.btn-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 11px;
}

.model-selector-container {
  padding-left: 0;
  margin-bottom: 15px;
  float: none;
  overflow: auto;
}

.dropdown-nav:hover .dropdown-menu-nav {
    display: block;
    margin-top: 0; // remove the gap so it doesn't close
 }

#copy-product-div{
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 15px;
}

#closeButton{
  top: 0;
  right: 0;
  width: 60px;
}

#copyButton{
  width: 60px;
}

#copy-product.alt {
  border-style: inset;
  border-width: thin;
  border-radius: 5px;
  background: #f9f9f9;
}

#copy-product{
    cursor: pointer;
}

#delete-product-div{
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 15px;
}

#closeDeleteButton{
  top: 0;
  right: 0;
  width: 60px;
}

#delete-product.alt {
  border-style: inset;
  border-width: thin;
  border-radius: 5px;
  background: #f9f9f9;
}

#delete-product{
    cursor: pointer;
}

.small-button-container{
  margin-top: 15px;
}

.small-button-container .dropdown .dropdown-toggle {
  padding-top: 0px;
  padding-bottom: 0px;
  display: inline-block;
  color: #555555;
  background-color: transparent !important;
}

.small-button-container .dropdown .dropdown-toggle:hover,
.small-button-container .dropdown .dropdown-toggle:focus
 {
  font-size: large;
}

.item-checkbox {
  z-index: 1001;
  position: absolute;
  margin: 2px !important;
  right: 0px;
  width: 20px;
  height: 20px;
  opacity: 75%;
}