/* LANGUAGE SELECTOR BUTTON CLASSES */

.wrapper .lang-btn-box {
    position: relative;
    display: block;
    margin: 5px;
    padding: 3px;
    width: auto;
    float: right;
}
.wrapper a.lang-btn {
    border-bottom: rgba(0, 0, 0, 0.0);
    font-weight: 400;
}
.wrapper a.lang-btn {
    width: 80px;
    height: 40px;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    padding: 6px;
    margin: 3px 3px;
    border: 1px solid #566068;
    background-color: #ebebeb;
}
.wrapper a.lang-btn.active {
    color: #fff;
    background-color: #13161A;
    border: 1px solid #13161a;
}
.wrapper a.lang-btn.clickable {
    color: #000;
    background-color: #ebebeb;
    border: 1px solid #566068;
}
.lang-btn.active:hover,
.lang-btn.clickable:hover {
    color: #fff;
    background-color: #566068;
}
/* LABEL TEXT & ALIGNMENT CLASSES FOR SHORTCODES:
   image.html */
.imagetext {
    font-size: 16px;
    margin-top: 1px;
    padding-top: 2px;
    text-align: center;
    vertical-align: top;
}

.pad-even {
    padding: 20px;
}
.article figure.pad-even {
    margin: 8px;
}

.pad-top {
    padding-top: 15px;
}

.align-right {
    padding-right: 30px;
    padding-top: 10px;
    float: right;
    justify-content: all;
}

.align-left {
    padding-left: 30px;
    padding-top: 10px;
    float: left;
    justify-content: all;
}

.align-image-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    margin-top: 10px;
    margin-bottom: -10px;
}

.align-th-image-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 20%;
}

/* CUSTOM TEXT ALIGNMENT/SIZE CLASSES USED IN SHORTCODES:
   txt-cntr-lg.html, txt-left-lg.html */
.text-div-center-large {
    text-align: center;
    font-size: 18px;
    padding-top: 5px;
}
.text-div-left-large {
    text-align: left;
    font-size: 18px;
    padding-top: 8px;
}
.text-div-center {
    text-align: center;
}
span.tag,
span.sku-tag {
  float:right;
  color: #fff;
  background-color: #313a42;
  padding: 3px;
  border-radius:3px;
  font-size: 14px;
}
  span.tag.blue {
      background-color: #09B2DE;
      color: #fff;
    }
  span.tag.dkblue {
      background-color: #077df2;
      color: #fff;
    }
  span.tag.grn {
      background-color: #00ae42;
      color: #fff;
    }
  .article table td figure {/* Add padding to images in tables */
    padding: 5px;
    margin: 3px;
  }
  figure.num-img { /* Align number label images with text */
    display: inline;
    vertical-align: middle;
    padding: 0px;
  }
  .article figure.num-img {
    display: inline;
    vertical-align: middle;
    padding: 0px;
  }
  .article table td,
  .article table th {
    padding: 10px;
  }
  td, th {
    text-align: match-parent;
  }
  /* Default styling for span elements used in legend shortcode */
  span.img-key,
  .legend>span.img-key {
      background-color: #313a42;
      color: #fff;
      font-size: 16px;
      font-weight: 600;
      display: initial;
      vertical-align: text-top;
      padding: 0px 6px;
      margin-left: -3px;
      border: none;
      border-radius: 60%;
  }
  /* color overrides for span num element in legend shortcode */
  .legend>span.img-key.pink {
    background-color: #ED5A6A;
  }
  .legend>span.img-key.orange {
    background-color: #FF601C;
  }
  .legend>span.img-key.gold {
    background-color: #F8A529;
  }
  .legend>span.img-key.green {
    background-color: #00ae42;
  }
  .legend>span.img-key.teal {
    background-color: #09B9B9;
  }
  .legend>span.img-key.blue {
    background-color: #09B2DE;
  }
  .legend>span.img-key.dkblue {
    background-color: #256AC8;
  }
  .legend>span.img-key.purple {
    background-color: #A65DE4;
  }
  .legend>span.img-key.black {
    background-color: #313a42;
  }
  
div.legend { /* Default styling for legend-box shortcode outer div */
  border: #a5acb2 solid 1px;
  padding:8px 12px;
  width: max-content;
  max-width: 80%;
}
div.legend>hr{
  margin-bottom: 5px;
}
div.legend>p.label{
  font-size: 12px;
  font-weight: 600;
  padding: 0px 0px;
}
div.legend>p.item,
div.legend>p.item>a{
  font-weight: 500;
  font-size: 14px;
}
div.toc-box {
  font-size: 14px;
  padding:8px 12px;
  width: fit-content;
}
div.toc-box>p{
  font-size: 16px;
  font-weight: 600;
}

.article div.toc-box ul>li>a{
  font-weight: 400;
}
.legend>p { /* Align p elements within the legend-box shortcode */
  display: inline;
  vertical-align: text-top;
  padding: 10px;
}
.legend>p.legend-name{ /* Modify alignment for legend name p elements in legend-box shortcode */
  padding: 0px;
}
.article ul.legend-ul>li:before {
  content: none;
  display: block;
  float: left;
  font-family: icon;
  font-size: 16px;
  width: 1.2em;
  margin-left: -1.2em;
}
.legend-ul>ul li{
  list-style: none;
}