/* this is a class selector ... The below is to prevent people from copying the html content*/
/* table that is unselectable */
.unselectable {
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;}

    
  

/* The below is for the About page */
.bottom_center {position: fixed; bottom: 10%; left: 50%;}

.sticky-offset {position: fixed; top: 5px; right: 20px;}
.copyright {position: fixed; bottom: 5px; right: 20px; font-size: 11px;}


.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
}

.loader {
  position: fixed; 
  top: 5%;
  left: 5%;
}
/* element selector */
table {
  table-layout: auto;
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  white-space: nowrap;  
}

.awqr th:nth-child(1),
.awqr td:nth-child(1) {
    display: none;
}

/* .sg_table, th:nth-child(2) { width: 100%;} */
/* .column_2, th:nth-child(2) { width: 1500px;} */

td, th {
  border: 1px solid black;
  text-align: left;
  padding: 2px;
  width: 100px;
  white-space: nowrap;
}
/* this is a ID selector */
#customers {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

#customers td, #customers th {
  border: 1px solid #d1d;
  padding: 1px;
}

#PC {background-color: rgba(255, 0, 255, 0.3);} 
#PS {background-color: rgba(255, 255, 0, 0.3);} 
#PV {background-color: rgba(0, 255, 0, 0.3);} 
#PI {background-color: rgba(0, 0, 255, 0.3);} 
#PR {background-color: rgba(255, 0, 0, 0.3);} 
#S {background-color: rgba(0, 255, 255, 0.3);} 
#OG {background-color: rgba(200, 200, 200, 0.3);} 
#OU {background-color: rgba(255, 150, 150, 0.3);} 
#OM {background-color: rgba(150, 255, 150, 0.3);} 
#OP {background-color: rgba(150, 150, 255, 0.3);} 
#ON {background-color: rgba(255, 255, 100, 0.3);} 

th.tooltip1{
  position:relative;
  z-index: 99; 
  position: sticky;
  top: 0;
}
.tooltip1:hover span.tooltiptext{
  display:block;
}
.tooltiptext{
  display:none;
  position:absolute; 
  z-index: 99;
  white-space: pre-wrap;
  border:1px;
  background-color:#eee;
  border-style:solid;
  border-width:1px;
  border-color:purple;
  border-radius: 6px;
  padding:3px;
  color:blue; 
  top:20px; 
  left:20px;
}

/* Type selector, this is for the sitegrouping */
input[type=text], input[type=number], select {
  /* width: 20px; */
  padding: 2px 10px;
  margin: 0px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}


/* Style the links inside the navigation bar */
.right {
  float: right;
}
#transparent {
  width:100%;
  background: transparent;
  border: none;
}
[data-bs-theme='dark'] #transparent {
  color: #c8c9ca;
}

input[type="checkbox"]{
  width: 20px; /*Desired width*/
  height: 20px; /*Desired height*/
}
/* Section Table Column size adjuster */
/* #table {
  overflow: auto;
}
#table thead {
  display: block;
  width: 100%;
} */

.rawall th:first-child,
.rawall td:first-child {
  display: none;
}

.rawtree th:first-child,
.rawtree td:first-child {
  display: none;
}

/* Target the last column within the table with the class "rawall" */
.rawall td{
  /* Enable word wrapping for long content */
  white-space: pre-wrap;
  /* Optional: Set a maximum width to control when wrapping occurs */
  max-width: 300px;
}
/* Target the last column within the table with the class "rawall" */
.rawall td:last-child{
  /* Enable word wrapping for long content */
  white-space: pre-wrap;
  /* font-size: 10px; */
  /* Optional: Set a maximum width to control when wrapping occurs */
  max-width: 200px;
}

/* #table tbody tr td {
  display: inline-block;
  white-space: nowrap;
  position: relative;
  width: 100%;   
  margin-right: -1000px; 
  overflow: hidden;  
}  */
/* End of section - Table Column size adjuster */
/* .container {
  background-color: #333;
  padding: 1rem;
  margin-top: 1rem;
} */

.badge-container {
  margin-bottom: 10px; /* Adds space between badges */
  padding: 5px;
  border: 1px solid #ccc;

  cursor: move;
}
.sortable-placeholder {

  border: 1px dashed #ccc;
  height: 2em; /* Adjust height as needed */
  margin-bottom: 10px; /* Same as badge-container */
}
.nested-sortable {
  list-style-type: none;
  padding-left: 20px; /* Indentation for nested levels */
  margin: 0;
}
.nested-sortable > .badge-container {
  margin-left: -20px;
}
.post-button {
  margin-top: 20px;
}



.draggable {
  cursor: move;
}

.draggable.dragging {
  opacity: .5;
}

.table {
  border: 1px solid #ccc;
  border-collapse: collapse;
}
.table th,
.table td {
  border: 1px solid #ccc;
}
.table th,
.table td {
  padding: 0.5rem;
  
}
/* .draggable {
  cursor: move;
  user-select: none;
} */
.placeholder {
  background-color: #edf2f7;
  /* border: 2px dashed #cbd5e0; */
}
.clone-list {
  border-top: 1px solid #ccc;
}
.clone-table {
  border-collapse: collapse;
  border: none;
}
.clone-table th,
.clone-table td {
  /* border: 1px solid #ccc; */
  border-top: none;
  /* padding: 0.5rem; */
}
.dragging {
  background: #fff;
  /* border-top: 1px solid #ccc; */
  z-index: 999;
}


/* table td, table th {
  border: 1px solid #ddd;
  padding: 1px;
} */

/* table tr:nth-child(even){background-color: #f2f2f2;} use bootstrap table-striped*/

table td:hover {background-color: #9dd9ff;}
[data-bs-theme='dark'] table td:hover {background-color: #000e5c;}

table th {
  padding-top: 8px;
  padding-bottom: 8px;
  text-align: center;
}
.navy th {
  background-color: navy;
  color: orange;
}

thead {
  position: sticky;
  top: 0;
  background: #eee;
}


/* Style the tab _________________________________________________________________________________*/
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #959690;
}

/* Style the buttons inside the tab */
.tab button {
  border-top-left-radius: 30px 20px;
  border-top-right-radius: 30px 20px;
  background-color: inherit;
  float: left;
  border-top: 2px solid #5f5f85;
  outline: none;
  cursor: pointer;
  padding: 10px 12px;
  transition: 0.3s;
  font-size: 17px;
}

/* Change background color of buttons on hover */
.tab button:hover {background-color: #7d7d7d; }

/* Create an active/current tablink class */
.tab button.active {background-color: #e2f3ff; }

/* Style the tab content */
/* .tabcontent {
  display: none;
  padding: 4px 8px;
  border: 1px solid #aaa;
  border-left: none; 
  border-top: none; } */

.table-hideable table{ table-layout: fixed;}

.table-hideable th {
  width: auto;
  white-space: normal;
  transition: width .5s, margin .5s;}

.btn-condensed.btn-condensed {
  padding: 0 5px;
  box-shadow: none;
}


ul.tree {
  list-style: none;
  padding-left: 16px;
}

ul.tree li {
  position: relative;
}

ul.tree li::before, li::after {
  content: "";
  position: absolute;
  left: -12px;
}
ul.tree li::before {
  border-top: 3px solid#0072B5;
  top: 9px;
  width: 8px;
  height: 0;
}

ul.tree li::after {
  border-left: 2px solid #0072B5;
  height: 100%;
  width: 0px;
  top: 2px;
}

ul.tree > li:last-child::after {
  height: 8px;
}
ul.tree ul.tree {
  padding-left: 30px;  /* Adds extra indentation for each nested level */
}

div.tree { padding-right: 0px;}

/* use class to have a little animation */
/* .hide-col {
  width: 0px !important;
  height: 0px !important;
  display: block !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
} */
