table tbody tr.new_selected td{
  /* background-color:red !important; */
  /* background-color: inherit !important; */
  color:red;
}

table tbody tr.selected td{
    /* background-color:red !important; */
    /* background-color: inherit !important; */
    color:red;
}

table tbody tr.selected_blue td{
  /* background-color:red !important; */
  color:blue;
}

table tbody tr.selected_green td{
  /* background-color:red !important; */
  color:green;
}

table tbody tr.selected_purple td{
  /* background-color:red !important; */
  color:green;
}

tfoot input {
    width: 100%;
    padding: 3px;
    box-sizing: border-box;
}

thead input {
    width: 100%;
    padding: 3px;
    /* margin-right: 2px; */
    /* background-color: #E9ECEF; */
    /* background-color:darkgray */
}

.highlight_me_red {
  background-color: red !important; /* Use !important to override other styles */
  color: #fff;
  font-weight: bold;
}

.highlight_me_yellow {
  background-color: yellow !important; /* Use !important to override other styles */
  color: #000;
  font-weight: bold;
}

.highlight_me_green {
  background-color: green !important; /* Use !important to override other styles */
  color: #fff;
  font-weight: bold;
}

/* #equipment_table th,
#equipment_table td {
  width: auto;
} */


/* .box_color{
  width: auto;
} */


.centering {
    margin: 0 auto;
    float: none; 
}

.dropdown-menu li {
    position: relative;
  }

  .new_nav_menu{
    display: none;
    position: absolute;
    left: 100%;
    top: -7px;
    background-color: #343a40;
  }

.workorder-menu {
  display: none;
  position: absolute;
  left: 100%;
  top: -7px;
  background-color: blueviolet;
}
  
.dropdown-menu .dropdown-submenu-left .workorder-menu {
  right: 100%;
  left: auto;
}
  
.dropdown-menu > li:hover > .dropdown-submenu {
  display: block;
}

/* 
.dropdown-menu .dropdown-submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: -7px;
  background-color: blueviolet;
}

.dropdown-menu .dropdown-submenu-left {
right: 100%;
left: auto;
}

.dropdown-menu > li:hover > .dropdown-submenu {
display: block;
} */

.hovering:hover {
    background-color:darkmagenta;
    color: #E9ECEF;
    /* background-color: #242f3f;*/
}

.my_req_button:hover{
  color:black !important;
}


.loader-wrapper {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    z-index: 9997;
    margin: 0 auto;
    background-color: black;
    color: white;
    /* opacity: 0.75; */
    background: rgba(0,0,0,.5)
  }

.spinner-wrapper {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    z-index: 9998;
    margin: 0 auto;
    opacity: 1;
  }

.secret {
      display:none;
  }
 
.input-width {
    min-width:100px;
    /* width:auto; */
    /* max-width:150px; */
    /* background-color:red; */
}
  /* .loader-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    align-items: center;
    z-index: 100000000;
  
} */

.px200 {
    width: 200px;
    max-width: 200px;
    word-wrap: break-word;
    overflow:hidden;
    text-align:center;
  }

.px400 {
    width: 400px;
    max-width: 400px;
    word-wrap: break-word;
    overflow:hidden;
    text-align:center;
  } 

.pxauto {
    width:auto;
    min-width: 400px;
}

/* table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  text-align: center;
  padding: 8px;
}

th {
  background-color: #f2f2f2;
  font-weight: bold;
  width: auto;
} */


.px500 {
    width: 500px;
    max-width: 500px;
    word-wrap: break-word;
    overflow:visible;
    /* overflow-wrap: break-word; */
    text-align:left;
  } 

  .leftme {
    text-align: start;
  }

  body.dragging, body.dragging * {
    cursor: move !important;
  }
  
  .dragged {
    position: absolute;
    opacity: 0.5;
    z-index: 2000;
  }
  
  ol.example li.placeholder {
    position: relative;
    /** More li styles **/
  }
  ol.example li.placeholder:before {
    position: absolute;
    /** Define arrowhead **/
  }

.white-text {
  color:white;
}
/* .modal-background {
    opacity:0.85 !important;
    background: rgba(0,0,0,.5) !important;
} */

.fc .fc-col-header-cell-cushion {
  color:#212529
}

.fc .fc-daygrid-day-number {
  color:#212529
}

.bottom-level-1{
  z-index:1200;
  position:absolute
}

.bottom-level-2{
  z-index:1201;
  position:absolute
}


body {
  font-family: "Lato", sans-serif;
}

.sidenav {
  height: 0;
  width: 100%;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #E9ECEF;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 10px;
}

.sidenav a {
  padding: 10px 10px 10px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: inline-flex;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

#main {
  transition: margin-top .5s;
  padding: 16px;
}

@media screen and (max-height: 100px) {
  .sidenav {padding-top: 0px;}
  .sidenav a {font-size: 18px;}
}

.hyperlink_class:link { text-decoration: none; }
.hyperlink_class:visited { text-decoration: none; }
.hyperlink_class:active { text-decoration: none; }
.hyperlink_class:hover { text-decoration: none; }

td {
  white-space: nowrap;
}

td.wrapok {
  white-space:normal;
  width: 300px;
}

.property-box {
  padding: 10px; 
  margin: 5px; 
  border: 1px solid gainsboro;
}

.colorbox {
  width: 70px; 
  height: 35px; 
  border: 1px solid black;
}

.btn-sm {
  min-width: 50px;
}

/* this is for the context menu in the canvas - viz */
  /* Container, relative positioning */
  .box {
    position: relative;
  }

  /* Canvas, give a border */
  #canvas {
    border: 1px solid #ccc;
  }

  /* menu */
  .menu-x {
    visibility: hidden; /* Hide menu */
    z-index: -100;
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    border-radius: 4px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
    background-color: #E9ECEF;
  }

  /* Menu each option */
  .menu-li {
    box-sizing: border-box;
    padding: 4px 8px;
    /* border-bottom: 1px solid #ccc; */
    cursor: pointer;
  }

  /* Mouse over options to change the background color */
  .menu-li:hover {
    background-color: antiquewhite;
  }

  /* The first option, the top two corners are rounded */
  .menu-li:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
  }

  /* The last option, the bottom two corners are rounded corners, and the bottom does not need a border */
  .menu-li:last-child {
    border-bottom: none;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
  }
/* this is for the context menu in the canvas - viz */

.hide_contact {
  visibility: hidden; /* Hide send_message_button */
}


.chat_box_long {
  width:475px;
}

.chat_box_short{
  width:400px;
}

.image_with_badge_container {
  display: inline-block; /* keeps the img with the badge if the img is forced to a new line */
  position: relative;
  margin-bottom: 0px;
}

.badge-on-image {
  position: absolute;
  top: -10px; /* position where you want it */
  right: -3px;
  padding: 4px 6px;
  z-index: 1000;
}

.fit-inside{
  width:fit-content;
}

@media only screen and (max-width: 1200px) {
  .yeti {
      background-color: red;
  }
  /* .ibody {
      position:relative;
      padding:0px;
      margin:0px;
      background-color: white;
      width:auto;
  } */

  .brooks {
      display: inline-flex;
      flex-direction: column-reverse;
      width:100%;
      flex-wrap:wrap;
      /* margin-left: 5px; */
  }

  .bunny .message_holder {
      width:100%;
      margin-left: 10px;
      /* display:block !important; */
      display: inline-flexbox;
      height: 700px !important;

  }

  .item1 {
      display:grid;
      grid-row: auto;
      /* flex-direction: row; */
  }

  .item2 {
      margin-left: 50px;
  }

  .rower {
      /* margin-left: 10px; */
      display: flex;
      flex-direction: row;
      flex-flow: row;
      width: 50%;
      margin:5px;
      flex-basis: 100%;
      flex: 1;
      justify-content: space-between;
      
  }

  .room_messages {
      display: none;
      height: 170px !important;
      width: 300px;
      margin-left: 10px;
  }

  .recent_messages {
      display: none;
      height: 170px !important;
      width: 300px;
      margin-left: 10px;
  }

  .show_me {
      display: block !important;
  }

  .slim {
    width:100%;
  }

  .hide_me {
      display: none;
  }

  .margin_control {
    margin:0px;
    padding:0px;
    /* position:relative;
    left:0px; */
  }

  .qrcodetab {
    margin: 5% auto 5% auto;
    border:5px solid black;
    width:auto !important;
    height:auto !important;
  }


}

.show_me {
  display:none;
}

/* style="margin: 5% auto 5% auto; border:5px solid black; width:500px; height:250px;" */
.qrcodetab {
  margin: 5% auto 5% auto;
  border:5px solid black;
  width:500px; 
  height:250px;
}

.border-thick {
  border-width: 4px;
}

select[disabled] {
  background-color: #f2f2f2;
}

#suggestion_list_tab {
  position: absolute;
  background-color: white;
  border: 1px solid grey;
  max-height: 150px;
  overflow-y: scroll;
  z-index: 1;
  width: auto;
  list-style-type: none;
  margin-top: 0;
  padding: 0;
}

#suggestion_list_tab li {
  padding: 10px;
  cursor: pointer;
}

#suggestion_list_tab li:hover {
  background-color: #f1f1f1;
}

.suggestion_list_tab.hide {
  display: none;
}

#suggestion_list_add {
  position: absolute;
  background-color: white;
  color: black;
  border: 1px solid grey;
  max-height: 150px;
  overflow-y: scroll;
  z-index: 1;
  width: auto;
  list-style-type: none;
  margin-top: 0;
  padding: 0;
}

#suggestion_list_add li {
  padding: 10px;
  cursor: pointer;
}

#suggestion_list_add li:hover {
  background-color: #f1f1f1;
}

#suggestion_list_add.hide {
  display: none;
}

#suggestion_list_edit {
  position: absolute;
  background-color: white;
  border: 1px solid grey;
  max-height: 150px;
  overflow-y: scroll;
  z-index: 1;
  width: auto;
  list-style-type: none;
  margin-top: 0;
  padding: 0;
}

#suggestion_list_edit li {
  padding: 10px;
  cursor: pointer;
}

#suggestion_list_edit li:hover {
  background-color: #f1f1f1;
}

#suggestion_list_edit.hide {
  display: none;
}


.qr-code-image {
  height: auto;
  max-height: 60px; /* Adjust the value as needed */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* .column-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}
.qr-code-image, .btn {
  align-self: flex-end;
} */

/* .qr-code-image {
  height: auto;
  max-height: 34px;
  margin-bottom: 10px; 
} */


.red-revolver {
  background-color: #F8D7DA !important;
}

.green-revolver {
  background-color: #D1E7DD !important;
}


/* Replace 'grey' with the desired background color */
.sub-table-wrapper {
  /* background-color: grey !important; */
  background-color: #6c757d !important;
}

.hello{
  /* background-color: lightcoral !important; */
  background-color: #dc3545 !important;
}

.goodbye{
  /* background-color: lightskyblue !important; */
  background-color: #007bff !important;
}

.hello_again{
  background-color: #198754 !important;
}

.goodbye_again{
  background-color: #FF5733 !important;
}

.site-area-table {
  width: 100% !important;
}

.area-equipment-table{
  width: 100% !important;
}

.child-row{
  width: 100% !important;
}

.equipment-component-table{
  width: 100% !important;
}

.component-parts-table{
  width: 100% !important;
}


.hola{
  background-color: #212529 !important;
}

/* Custom event class */
.event-bold-black {
  color: black !important;
  font-weight: bold;
}

.big-checkbox {
  width: 30px;
  height: 30px;
}

#taskTable td {
  /* white-space: normal; */
  vertical-align: middle; /* Vertically center cell content */
  
}

#pm_task_table td {
  /* white-space: normal; */
  vertical-align: middle; /* Vertically center cell content */
  
}

#pm_task_workorder_table td {
  /* white-space: normal; */
  vertical-align: middle; /* Vertically center cell content */
  
}

.light-red {
  background-color: #F8D7DA;
  color:#842029 !important;
}

.custom_tooltip-container {
  position: relative;
  display: inline-block;
}

.custom_tooltip-container::before {
  content: attr(data-tooltip);
  display: none;
  position: absolute;
  background-color: black;
  color: white;
  padding: 5px;
  border-radius: 3px;
  left: 100%;
  white-space: nowrap;  /* Prevents the content from wrapping */
  z-index: 1000;  /* Ensures the tooltip appears on top of other elements */
}

.custom_tooltip-container:hover::before {
  display: block;
}

.lets_hide{
  visibility: hidden;
}

/*
 * Configure the z-index of the editor UI, so when inside a Bootstrap
 * modal, it will be rendered over the modal.
 */
 /* :root { */
.my_modal_body{
  --ck-z-default: 100 !important;
  --ck-z-modal: calc( var(--ck-z-default) + 999 ) !important;
}

.ck-body-wrapper{ z-index: 1300 !important;}

.your_body{
  --ck-z-default: 100 !important;
  --ck-z-modal: calc( var(--ck-z-default) + 999 ) !important;
}

.ck-body-wrapper .your_stuff{ z-index: 500 !important;}

/*
 * Override the width of the table set by Bootstrap content styles.
 * See: https://github.com/ckeditor/ckeditor5/issues/3253.
 */
 .ck-content .table {
  width: auto;
}

.ck-editor__editable_inline {
  min-height: 150px;
}

.card-container {
  /* background-color: grey;  */
  padding: 10px;
  border-radius: 5px;
  border-color: #ced4da;
  border: 1px;
  border-style: solid;
  width: auto; /* Set the width as needed */
}

/* Hide the dropdown menu by default */
.dropdown-menu {
  display: none;
}

/* Show the dropdown menu on hover */
.nav_hover_menu:hover .dropdown-menu {
  display: block;
}

.carousel-control-next,
.carousel-control-prev {
    filter: invert(100%);
    top: 50%; /* Adjust vertical positioning */
    transform: translateY(-50%); /* Center vertically */
    height: 3rem; /* Adjust height as needed */
    width: 3rem; /* Adjust width as needed */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    height: 2rem; /* Adjust height as needed */
    width: 2rem; /* Adjust width as needed */
}

.highlight-date a {
  background-color: red !important; /* Red background */
  color: white !important; /* White text */
  border-radius: 50%; /* Optional: rounded corners */
}

/* Hide the route menu on small screens */
@media (max-width: 768px) {
    #route_menu {
        display: none;
    }

    #route_menu.show {
        display: block !important;
    }
}

/* Lighter Bootstrap color variants */
.bg-primary-light {
  background-color: #6690ff !important; /* lighter than #0d6efd */
  color: #fff !important;
}

.bg-secondary-light {
  background-color: #868e96 !important; /* lighter than #6c757d */
  color: #fff !important;
}

.bg-success-light {
  background-color: #40c057 !important; /* lighter than #198754 */
  color: #fff !important;
}

.bg-info-light {
  background-color: #5bc0de !important; /* lighter than #0dcaf0 */
  color: #fff !important;
}

.bg-warning-light {
  background-color: #ffd54d !important; /* lighter than #ffc107 */
  color: #212529 !important;
}

.bg-danger-light {
  background-color: #ff6b6b !important; /* lighter than #dc3545 */
  color: #fff !important;
}

.bg-light-light {
  background-color: #fdfdfe !important; /* lighter than #f8f9fa */
  color: #212529 !important;
}

.bg-dark-light {
  background-color: #495057 !important; /* lighter than #212529 */
  color: #fff !important;
}

