:root {
  --primary_color: #f26f18;
  --hover_color: #f26f1846;
}

/* body{
  background-color: var(--color) !important;
} */

/* START CONFIG */
ul.markets-list li:hover,
input#dimension:focus {
  border-color: var(--primary_color) !important;
}
ul.markets-list li.selected {
  background-color: var(--primary_color) !important;
  text-shadow: 1px 1px 2px var(--primary_color) !important;
  border-color: var(--primary_color) !important;
}

ul.dimensions-list li {
  background: #fff;
  color: #333;
  border: 1px solid #f26f18;
  border: 1px solid var(--primary_color);
  border-top: 0;
  transition: background-color 0.2s;
  margin: 0;
}

ul.dimensions-list {
  margin: 0;
}

ul.dimensions-list li:hover {
  background-color: var(--hover_color) !important;
}

@keyframes loading {
  0% {
    border-left-color: #eeeeee;
  }
  12.5% {
    border-right-color: var(--primary_color);
  }
  25% {
    border-top-color: #eeeeee;
  }
  37.5% {
    border-bottom-color: var(--primary_color);
  }
  50% {
    border-right-color: #eeeeee;
  }
  67.5% {
    border-left-color: var(--primary_color);
  }
  75% {
    border-bottom-color: #eeeeee;
  }
  87.5% {
    border-top-color: var(--primary_color);
  }
  99% {
    border-left-color: #eeeeee;
  }
}

/* END CONFIG */

.upgraded-container input#dimension {
  max-width: 100%;
}

.dimensions-list {
  max-height: 495px;
  overflow: auto;
}

ul.dimensions-list li:last-child {
  border-bottom-right-radius: 0;
  border-bottom: 1px solid var(--primary_color);
}
ul.dimensions-list li:hover {
  background-color: #cc580b;
}

.dimensions-list::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.075);
  background-color: #f5f5f5;
}

.dimensions-list::-webkit-scrollbar {
  width: 12px;
  background-color: #f5f5f5;
}

.dimensions-list::-webkit-scrollbar-thumb {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.075);
  background-color: #737373;
}

.dimensions-list div.dimension-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

div.dimension-content .market {
  background: #fff;
  color: var(--primary_color);
  border-radius: 3px;
  padding: 0.5em 1em 0.5em 1em;
  font-size: 12px;
  font-weight: 600;
}

.product-container {
  display: flex;
  align-items: center;
  font-size: 16px;
  margin: 10px;
}

.products-container .products-list .product-container {
  /* margin: 0; */
  padding: 0 0.5em 0 0.5em;
  border: 1px solid #8888;
  border-radius: 3px;
  margin-bottom: unset;
}

.product-container .product-image {
  /* width: 100px; */
}

.product-container .product-image img {
  max-width: 100%;
  max-width: 100%;
  object-fit: contain;
  width: 150px;
  height: 150px;
}

.product-container .product-details .name {
  font-weight: 600;
}

.product-container .product-details {
  /* width: 90%; */
  width: 100%;
  /* padding: 15px; */
}

.product-container .product-details .product-columns {
  font-size: 14px;
  display: flex;
  justify-content: space-between;
}

.product-container .product-details .product-columns span i {
  font-style: normal;
  font-weight: 600;
}

.product-container .product-details .left {
  padding: 0 1em 0 0;
}

.product-container .product-details .left,
.product-container .product-details .right {
  display: flex;
  flex-direction: column;
}

.product-container .product-details .bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-container .product-details a.shop-link {
  padding: 5px;
  text-align: center;
  background-color: #18f26f;
  color: #fff;
  cursor: pointer;
  border-radius: 5px;
  border: 1px solid #fff;
  transition: background-color 0.2s;
}

.product-container .product-details .btn-shop {
  background-color: #fff;
  border-color: var(--primary_color);
  color: #337ab7 /* IE fallback */;
  color: var(--primary_color);
  transition: background-color 0.2s;
}
.product-container .product-details .btn-shop:hover {
  background-color: #337ab7 /* IE fallback */;
  background-color: var(--primary_color);
  color: #fff;
}

.product-container .product-details a.shop-link:hover {
  background-color: #fff;
  color: #18f26f;
  border: 1px solid #18f26f;
  text-decoration: none;
}

.market-selected {
  background-color: #f26f18;
  color: #fff;
  text-shadow: 1px 1px 2px #cc580b;
  border: 1px solid #f26f18;
}

.contact-form .form-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.contact-form .form-group .error {
  position: absolute;
  bottom: -15px;
  font-size: 70%;
  color: #ff0000a3;
  right: 0;
}

.contact-form .form-group input {
  width: 60%;
}

ul.markets-list li,
input#dimension {
  border: 1px solid #888888;
}

.spinner-container {
  display: none;
  width: 70%;
  margin: 0 auto;
  transition: display 0.2s;
}

.main-spinner {
  position: absolute;
  z-index: 99;
  background: #fff;
  width: 100%;
  /* height: 100%; */
  justify-content: center;
  align-items: center;
  left: 0;
  display: none;
}

.main-spinner .spinner {
  width: 350px;
}

.info-container {
  justify-content: center;
  flex-grow: 1;
  display: flex;
}

.info-container {
  font-size: 14px;
}

.upgraded-container .label.title {
  font-size: 21px;
  font-weight: 600;
}

/* weird shit going on at live */
.product-columns span {
  height: 21px;
  margin-bottom: unset !important;
  display: flex;
}

.product-details .name {
  display: block;
  height: 21px;
}

.product-details .product-link {
  height: 21px;
}

.modal-title h4 {
  margin: 0;
}

dl,
ol,
ul {
  margin-bottom: unset !important;
}

ul.markets-list,
ul.products-list {
  margin-left: unset;
}

#ntc .container {
  max-width: 100%;
}

@media (max-width: 424px) {
  .products-container .products-list .product-container {
    display: flex;
    flex-wrap: wrap;
  }
  .product-details .product-link {
    height: auto;
  }

  .product-container .product-image {
    margin: 0 auto;
  }

  .product-container .product-details .product-columns {
    flex-wrap: wrap;
  }

  .product-container .product-details .bottom {
    padding-bottom: 5px;
  }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  /* IE10+ CSS styles go here */
  ul.markets-list li {
    margin: 5px;
  }

  .contact-form .form-group .error {
    font-size: 70%;
    right: 5px;
    color: red;
    bottom: 0;
  }
  .contact-form .form-group input {
    float: right;
  }
  .contact-form .form-group {
    display: block;
  }

  div.dimension-content .market {
    float: right;
  }

  html[data-useragent*='MSIE 10.0'] .product-container .product-details {
    width: 70%;
  }

  .products-container .products-list .product-container {
    border: 1px solid #888;
    max-height: 230px;
    min-height: 230px;
    height: 230px;
  }
  .product-container .product-image img {
    height: 100%;
    width: 100%;
  }

  .product-image {
    width: 40%;
  }

  html[data-useragent*='MSIE 10.0'] .product-image {
    width: 30%;
  }

}
