/* 
Swatches Styles
*/
.swatch {
  margin: 15px 0;
  text-transform: uppercase;
  font-size: 1.4rem; }

.swatch .header {
  margin: 14px 5px 0 0;
  float: left;
  min-width: 65px;
  color: #212121;
  line-height: 35px; }

.swatch input {
  display: none !important; }

.swatch label {
  cursor: pointer;
  float: left;
  min-width: 50px !important;
  height: 35px !important;
  margin: 0;
  background-color: #eee;
  /* Styling text */
  font-size: 13px;
  text-align: center;
  line-height: 35px;
  white-space: nowrap;
  text-transform: uppercase; }

.swatch-element label {
  padding: 0 10px; }

.color.swatch-element label {
  padding: 0; }

.swatch input:checked + label {
  font-weight: 700;
  background: #ffa200;
  color: #FFF;
  line-height: 32px !important; }

.swatch [class*="color"] input:checked + label {
  border: 2px solid #31373d; }

.swatch .swatch-element {
  float: left;
  -webkit-transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
  margin: 10px 10px 0 0;
  position: relative; }
  .swatch .swatch-element.color label {
    position: relative; }
    .swatch .swatch-element.color label:before {
      content: url(//cdn.shopify.com/s/files/1/0167/8144/t/4/assets/verify5.svg?359);
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      opacity: 0;
      visibility: hidden;
      line-height: 40px; }
  .swatch .swatch-element.color input:checked + label:before {
    opacity: 1;
    visibility: visible; }
  .swatch .swatch-element.color.white label {
    -webkit-box-shadow: inset 0 0 0 1px #eeeeee;
    box-shadow: inset 0 0 0 1px #eeeeee; }

/* Image with the cross in it */
.crossed-out {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0; }

.swatch .swatch-element .crossed-out {
  display: none; }

.swatch .swatch-element.soldout .crossed-out {
  display: block; }

.swatch .swatch-element.soldout label {
  filter: alpha(opacity=60);
  -khtml-opacity: 0.6;
  -moz-opacity: 0.6;
  opacity: 0.6; }

/* Tooltips */
.swatch .tooltip {
  text-align: center;
  background: #212121;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .05em;
  bottom: 100%;
  padding: 2px 5px;
  display: block;
  position: absolute;
  left: 0;
  margin-bottom: 8px;
  /* Make it invisible by default */
  filter: alpha(opacity=0);
  -khtml-opacity: 0;
  -moz-opacity: 0;
  opacity: 0;
  visibility: hidden;
  /* Animations */
  -webkit-transform: translateY(10px);
  -moz-transform: translateY(10px);
  -ms-transform: translateY(10px);
  -o-transform: translateY(10px);
  transform: translateY(10px);
  -webkit-transition: all .25s ease-out;
  -moz-transition: all .25s ease-out;
  -ms-transition: all .25s ease-out;
  -o-transition: all .25s ease-out;
  transition: all .25s ease-out;
  z-index: 10000;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }

.swatch .tooltip:before {
  bottom: -20px;
  content: " ";
  display: block;
  height: 20px;
  left: 0;
  position: absolute;
  width: 100%; }

/* CSS triangle */
.swatch .tooltip:after {
  border-left: solid transparent 4px;
  border-right: solid transparent 4px;
  border-top: solid #212121 4px;
  bottom: -4px;
  content: " ";
  height: 0;
  left: 50%;
  margin-left: -13px;
  position: absolute;
  width: 0; }

.swatch .swatch-element:hover .tooltip {
  filter: alpha(opacity=100);
  -khtml-opacity: 1;
  -moz-opacity: 1;
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -o-transform: translateY(0px);
  transform: translateY(0px); }

.swatch.error {
  background-color: #e8d2d2 !important;
  color: #333333 !important;
  padding: 1em;
  border-radius: 5px; }

.swatch.error p {
  margin: 0.7em 0; }

.swatch.error p:first-child {
  margin-top: 0; }

.swatch.error p:last-child {
  margin-bottom: 0; }

.swatch.error code {
  font-family: monospace; }
