/* admin section */

.form-table th label {
  font-weight: 500;
}

.tabBody input {
  line-height: 40px;
}

.form-table th,
.form-table td {
  padding: 10px;
  border: 1px solid;
}

.head-table {
  margin-top: 20px;
  display: block;
}

.tabBody label {
  font-size: 14px;
  line-height: 35px;
}

.generate-table {
  overflow: auto;
}

.tabList {
  list-style: none;
  padding-left: 0;
  display: flex;
  justify-content: center;
  position: relative;
}

.tabList_item {
  text-align: center;
  margin: 0 10px;
  padding: 10px 0;
  padding-left: 1em;
  padding-right: 1em;
  background: rgba(200, 200, 200, .15);
  font-size: 18px;
  color: #000;
  position: relative;
  cursor: pointer;
  user-select: none;
}

.tab-menu {
  position: relative;
}

.tab-menu .add-new-tab {
  position: absolute;
  right: 10px;
  background: #2980b9;
  padding: 5px 10px;
  color: #fff;
  z-index: 100;
}

.tab-menu .tabList_item:hover,
.tab-menu .tabList_item[aria-selected=true] {
  background-color: #34495e;
  color: #fff;
}

.tab-menu .tabList_item:hover:before,
.tab-menu .tabList_item[aria-selected=true]:before {
  opacity: 1;
}

.tab-menu .tabList_item:before {
  border: 8px solid transparent;
  border-bottom: 0;
  border-top: 8px solid #34495e;
  bottom: -8px;
  content: "";
  display: block;
  height: 0;
  left: 50%;
  opacity: 0;
  position: absolute;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  transition: opacity .25s;
  width: 0;
}

.tabBody .tabBody__item[aria-hidden=true] {
  display: none;
}

.tabBody label.btn-delete,
.add-row,
.add-column {
  color: blue;
  text-decoration: underline;
}

.img-logo .image-url {
  max-height: 200px;
  max-width: 200px;
  height: auto;
}

td.td-marker {
  position: relative;
}

label.highlighted-yellow {
  position: absolute;
  right: 0;
  top: 0;
  background: #34495e;
  color: #fff;
  padding: 0 5px;
  font-size: 10px;
  line-height: 16px;
}

.tabList_item {
  position: relative;
}

.remove-tab {
  position: absolute;
  top: -8px;
  background: #fff;
  line-height: 13px;
  font-size: 18px;
  color: #34495e;
  right: -7px;
  border: 1px solid #34495e;
  border-radius: 50%;
  width: 15px;
  height: 15px;
}

.remove-tab:hover {
  background: #34495e;
  color: #fff;
}

li.tabList_item:first-child .remove-tab {
  display: none;
}

.generate-table .form-table th {
  position: relative;
  min-width: 80px;
}

button.detele-column {
  position: absolute;
  top: 0px;
  right: 0px;
  border: 0;
  background: #ce2828;
  color: #fff;
  font-size: 10px;
  cursor: pointer;
}

.button.upload-button {
  float: right;
}

/* end admin section */



/* -----------------------------------------------UI---------------------------------------- */
/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltiptext {
  visibility: hidden;
}
h1 + .tooltiptext,
h2 + .tooltiptext,
h3 + .tooltiptext,
h4 + .tooltiptext,
h5 + .tooltiptext,
h6 + .tooltiptext {
  visibility: hidden;
  width: 200px;
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  background-color: #fff;
  color: #555;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  border: solid 1px #000;
  position: absolute;
  z-index: 99;
  box-shadow: 2px 2px 2px #555;
  left: 15%;
  margin-left: -100px;
  opacity: 1;
  transition: opacity .3s;
  white-space: normal;
  word-wrap: break-word;
}
.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
    background-color: #fff;
    color: #555;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    border: solid 1px #000;
    position: absolute;
    z-index: 99;
    box-shadow: 2px 2px 2px #555;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity .3s;
    white-space: normal;
    word-wrap: break-word;
}

/* Tooltip arrow */
.tooltiptext::after {
  content: "";
  position: absolute;
  top: -11%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #555 transparent;
}
.tooltiptext::before {
  content: "x";
  position: absolute;
  border-radius: 4px 4px 4px;
  background-color: #fff;
  top: 0;
  margin-top: -10px;
  cursor: pointer;
  border: solid 1px #000;
  line-height: 15px;
  padding: 0 5px;
  right: -10px;
  margin-left: -5px;
}
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}
.tooltip .tooltiptext::before {
    content: "x";
    position: absolute;
    border-radius: 4px 4px 4px;
    background-color: #fff;
    top: 0;
    margin-top: -10px;
    cursor: pointer;
    border: solid 1px #000;
    line-height: 15px;
    padding: 0 5px;
    right: -10px;
    margin-left: -5px;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext , h3 .tooltip:hover + .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.space-page-content p:has(.tooltiptext),
.space-page-content:has(.tooltiptext),
.space-page-content-wrap:has(.tooltiptext),
.space-aces-content-section:has(.tooltiptext),
.cl-linkbutton > a:has(.tooltiptext) {
    overflow: unset !important;
}

.top-right.tooltiptext {
    left: 0;
    margin-left: 0;
}

.tooltip .top-right.tooltiptext:after {
    left: 5%;
    margin-left: -5px;
}

.top-left.tooltiptext {
    right: 0;
    left: unset;
}

.tooltip .top-left.tooltiptext:after {
    right: 5%;
    left: unset;
}

.disabled-tooltip, 
.summary_point_wrap .tooltip.disabled-tooltip {
  all: unset;
}

.summary_point_wrap .tooltiptext {
  left: inherit !important;
}