@import url("https://fonts.googleapis.com/css?family=Open+Sans");



/* .text-warning.orange-color:hover, */
.text-warning.orange-color:focus,
.text-warning.orange-color:active,
.text-warning.orange-color.active,
.open .dropdown-toggle.btn-default {
  background-color: transparent;
  color: var(--surplus-primary-darker);

  border-color: transparent;
}

.tooltip-wrapper {
  position: relative;
  display: inline-block;
  /* border-bottom: 1px dotted black; */
  cursor: help;
}

.spantip {
  visibility: hidden;
  width: 120px;
  bottom: 100%;
  left: 50%;
  margin-left: -60px;
  background-color: #363636;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  z-index: 1;
}

.spantip::after {
  content: "";
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip-wrapper:hover span {
  visibility: visible;
}

.inactive-input {
  background-color: #245c6c;
}

.b-layout-root {
  width: 100%;
}

table.sticky tr th.sticky-cell-left,
table.sticky tr td.sticky-cell-left {
  background: white;
  position: sticky;
  z-index: 2;
  left: 0;
}

table.sticky tr.table-secondary th.sticky-cell-left,
table.sticky tr.table-secondary td.sticky-cell-left {
  background: inherit;
}

table.sticky tr th.sticky-cell-right,
table.sticky tr td.sticky-cell-right {
  z-index: 2;
  right: 0;
  position: sticky;
  background: white;
}

table.sticky tr.table-secondary th.sticky-cell-right,
table.sticky tr.table-secondary td.sticky-cell-right {
  background: inherit;
}

.table-fixed-header table.sticky tr th.sticky-cell-left,
.table-fixed-header table.sticky tr th.sticky-cell-right {
    z-index: 11;
}

table.sticky .table-primary>th.sticky-cell-left,
table.sticky .table-primary>th.sticky-cell-right,
table.sticky .table-primary>td.sticky-cell-left,
table.sticky .table-primary>td.sticky-cell-right {
    background: inherit;
}

.padd-left table.sticky tr th.sticky-cell-left::after,
.padd-left table.sticky tr td.sticky-cell-left::after {
  box-shadow: inset 10px 0 8px -8px rgb(0 0 0 / 15%);
}

table.sticky tr th.sticky-cell-left::after,
table.sticky tr td.sticky-cell-left::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: -1px;
  width: 180px;
  transform: translateX(100%);
  transition: box-shadow 0.3s;
  content: "";
  pointer-events: none;
}

.padd-right table.sticky tr th.sticky-cell-right::after,
.padd-right table.sticky tr td.sticky-cell-right::after {
  box-shadow: inset -10px 0 8px -8px rgb(0 0 0 / 15%);
}

table.sticky tr th.sticky-cell-right::after,
table.sticky tr td.sticky-cell-right::after {
  position: absolute;
  top: 0;
  bottom: -1px;
  left: 0;
  width: 180px;
  transform: translateX(-100%);
  transition: box-shadow 0.3s;
  content: "";
  pointer-events: none;
}


/* icon custom font awesome */

.fa-lg-1{
  font-size: 1.5em;
  line-height: .75em;
  vertical-align: -0.0667em;
}

.fa-lg-2{
  font-size: 1.75em;
  line-height: .75em;
  vertical-align: -0.0667em;
}

/* icon custom */
.insert-above {
  background: url('/img/custom-icon/insert-above.svg');
  background-size: cover;
  width: 1rem;
  height: 1rem;
  display: block;
}

.insert-below {
  background: url('/img/custom-icon/insert-below.svg');
  background-size: cover;
  width: 1rem;
  height: 1rem;
  display: block;
}

.loader {
    background: url('/img/custom-icon/loader.svg');
    background-size: cover;
    width: 1rem;
    height: 1rem;
    display: inline-block;
}

::deep .drop-zone {
  padding: 32px;
  border: dashed 2px transparent;
  transition: border linear 0.2s;
}
::deep .drop-zone.hover {
  border: dashed 2px darkorange;
}

.customLegend {
  border: 1px solid var(--surplus-secondary-dark);
  padding: 2em 0 1em;
  margin-top: 2em;
  position: relative;
}

.cust-sidebar{
    background-color: red;
}

.surplus-brand {
    width: 140px;
    height: 45px;
}

.select-icon {
    font-family: 'FontAwesome', 'sans-serif';
}

.notification-dropdown-menu {
    position: absolute !important; 
    z-index: 2000 !important; 
    transform: translateX(-50%);
    top: auto;
    left: 0; 
    right: auto;
    background-color: white; 
    border-radius: 5px; 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); 
    min-width: 250px; 
    max-width: 90vw; 
    overflow-wrap: break-word; 
    /* styles for scrollable menu */
    max-height: 250px; 
    overflow-y: auto; 
}

/* Styling for BarDropdownItem */
.dropdown-menu-notification .dropdown-item {
    padding: 8px 12px; 
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Title styling */
.notification-dropdown-menu .dropdown-item p:first-of-type {
    font-size: 1.2em; 
    font-weight: bold; 
    margin: 0; 
}

/* Message styling */
.notification-dropdown-menu .dropdown-item p:nth-of-type(2) {
    font-size: 0.9em;
    color: #6c757d; 
    margin: 0; 
}

/* Timestamp styling */
.notification-dropdown-menu .dropdown-item small {
    font-size: 0.65em;
    color: #adb5bd; 
    margin-top: 4px; 
}

/* Divider styling (optional) */
.notification-dropdown-menu .dropdown-divider {
    margin: 4px 0; 
}
.notification-toggle::after {
    content: none !important; 
}
/* Styling for Clear Notification */
.notification-dropdown-menu .clear-notification {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px; 
    font-size: 0.7em; 
    color: white;
    background-color: #f8d8db; 
    border-radius: 3px;
    cursor: pointer;
}

/* Add hover effect for Clear Notification */
.notification-dropdown-menu .clear-notification:hover {
    background-color: #e9858e; 
    text-decoration: none; 
}
/* Make Layout Sider Behind the notification */
.layout-sider {
    z-index: 1000; 
}

.ql-font-times-new-roman {
    font-family: 'Times New Roman', serif;
}

.ql-font-courier-new {
    font-family: 'Courier New', monospace;
}

.ql-font-arial {
    font-family: Arial, sans-serif;
}
