/**
 * Webkul Software.
 *
 * @category  Webkul
 * @package   Webkul_ProductMatrix
 * @author    Webkul Software Private Limited
 * @copyright Webkul Software Private Limited (https://webkul.com)
 * @license   https://store.webkul.com/license.html
 */

 .wk-matrix-tooltiptext .wk-inside-tooltip {
    height: 75%;
    width: 90%;
    left: 5%;
    position: absolute;
}
.wk-prod-matrix:hover .wk-matrix-tooltiptext {
    opacity: 1;
    visibility: visible;
}

.wk-prod-matrix .wk-matrix-tooltiptext.left.top::after {
    top: 45%;
    left: -5%;
    transform: unset;
}

.wk-prod-matrix .wk-matrix-tooltiptext.left.top {
    bottom: -210%;
    top: unset;
}

.wk-prod-matrix .wk-matrix-tooltiptext.left::after {
    left: -4%;
    top: 80%;
    border-color: transparent white transparent transparent;
}

.wk-prod-matrix .wk-matrix-tooltiptext.left {
    left: 240%;
    bottom: -35%;
}

.wk-prod-matrix .wk-matrix-tooltiptext.top.right::after {
    transform: rotate(-90deg);
    top: 6%;
    left: unset;
    right: -9%;
}

.wk-prod-matrix .wk-matrix-tooltiptext.top.right {
    left: -100%;
    top: -15%;
}

.wk-matrix-tooltiptext.left {
    left: 200% !important;
    top: 0%;
    bottom: unset !important;
}

.wk-matrix-tooltiptext.left::after {
    transform: rotate(-270deg);
    top: 18% !important;
    left: -5% !important;
}

.wk-prod-matrix .wk-matrix-tooltiptext.top::after {
    transform: rotate(180deg);
    top: -9%;
}

.wk-prod-matrix .wk-matrix-tooltiptext::after {
  content: " ";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: white transparent transparent transparent;
}

.wk-prod-matrix .wk-matrix-tooltiptext {
    border: 1px solid #adadad;
    font-size: 1.25rem;
  visibility: hidden;
  width: 100px;
  height: 100px;
  text-align: center;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 115%;
  left: 70%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 1s;
  background-color: white;
}

.swatch-option.wk-prod-matrix .wk-swatch-image{
    width: 100%;
    height: 100%;
    padding: 0px;
    margin: 0px;
    display: block;
}

.swatch-option.wk-prod-matrix {
    cursor: unset;
    float: unset;
    width: 3em;
    margin: unset;
    display: inline-block;
    max-height: unset;
    overflow: unset;
}

table#wk-product-matrix tr:nth-child(even) {
    background-color: #c3bdbd30;
}

.wk-matrix-tooltiptext .available_qty {
    display: block;
}

table#wk-product-matrix td {
    text-align: center;
}

div#wk-product-matrix-wrapper {
    min-width: 100%;
    overflow: auto;
    margin-bottom: 1em;
}

table#wk-product-matrix {
    overflow: hidden;
}

table#wk-product-matrix thead tr:first-child {
    background-color: #f4f3f3;
}

table#wk-product-matrix thead tr th {
    text-align: center;
}

table#wk-product-matrix tbody tr td:first-child {
    padding: 1.1em;
    font-weight: bold;
}

div#reset-all {
    float: right;
    margin-bottom: 1em;
    text-transform: uppercase;
}

div#reset-all:hover {
    cursor: pointer;
}

div#matrix-report {
    width: auto;
    min-width: 50%;
    margin-bottom: 2em;
    display: inline-block;
}

div.matrix-total {
    width: 100%;
    height: 7em;
}

div.right-container {
    float: right;
    width: 50%;
    height: 5em;
    border-bottom: 5px solid #ef5a13d1;
    display: grid;
}

div.left-container {
    float: left;
    width: 50%;
    height: auto;
}

@media only screen and (max-width: 600px) {
  div#reset-all {
    width: 100%;
    margin-bottom: 1em;
  }

  div#matrix-report{
      width: 100%;
  }
}

span.in-stock {
    color: green;
    font-weight: bolder;
    margin: 1%;
}

span.out-stock {
    color: red;
    font-weight: bolder;
    margin: 1%;
}

span.heading {
    float: left;
}

span.value {
    float: right;
}

input.wk-configurations-qty {
    text-align: center;
    width: 4em;
}

.wk-matrix-tooltip {
  position: relative;
  display: inline-block;
}

.wk-matrix-tooltip .wk-matrix-tooltiptext {
    font-size: 1.25rem;
  visibility: hidden;
  width: 100px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  position: absolute;
  border-radius: 6px;
  z-index: 1;
  bottom: 115%;
  left: 70%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 1s;
}

.wk-matrix-tooltiptext.right {
    left: -80%;
    bottom: -25%;
}
.wk-matrix-tooltiptext.top {
    bottom: unset;
    top: 110%;
}

.wk-matrix-tooltip .wk-matrix-tooltiptext.top::after {
    transform: rotate(180deg);
    top: -15%;
}

.wk-matrix-tooltip .wk-matrix-tooltiptext.right::after {
    transform: rotate(-90deg);
    top: auto;
    left: auto;
    right: -10px;
}

.wk-matrix-tooltip:hover .wk-matrix-tooltiptext {
    opacity: 1;
    visibility: visible;
}

.wk-matrix-tooltip .wk-matrix-tooltiptext::after {
  content: " ";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}

div.field.qty {
  display: none;
}

.wk-display-none {
    display: none !important;
}

div.note {
    text-align: center;
    padding: 5px;
}

.error {
    border: 1px solid tomato !important;
}

div.wk-total-price {
    font-weight: bold;
    font-size: larger;
}
