/* *** General Styling *** */
/* Overall body styling */
:root {
/*
  ** BlckRhino Corporate Colours **
  --primary-black:        #303030;
  --primary-white:        #FFFFFF;
  --secondary-orange:     #DB4E19;
  --secondary-blue-dark:  #02174C;
  --secondary-blue:       #0855B1;
  --secondary-blue-light: #0297F3;
*/

/* Theme Colours */
/* Moved to the branding location /branding/BlckRhino/colours.css
  --primary-black:        #000000;
  --primary-white:        #FFFFFF;
  --secondary-orange:     #DB4E19;
  --secondary-blue-dark:  #02174C;
  --secondary-blue:       #0855B1;
  --secondary-blue-light: #0297F3;


  --font-on-white: #333333;
  --font-on-black:  #eeeeee;

  --panel-on-white:  #eeeeee;
  --panel-on-black: #333333;

  --main-background: #eeeeee;


  --title-text: var(--font-on-black);
  --topbar-background: var(--primary-black);
  --breadcrumb-separator: var(--secondary-orange);
  --breadcrumb-text: var(--secondary-blue);

  --menu-background: var(--primary-black);
  --menu-item-background-mouse-over: var(--panel-on-black);
  --menu-item-text-mouse-overover: var(--secondary-orange);
  --menu-item-text-when-active: var(--secondary-orange);
  --menu-scrollbar-track: var(--menu-background);
  --menu-scrollbar-thumb: var(--panel-on-black);
  
  --footer-background: var(--primary-black);
  --footer-text: var(--font-on-black);
*/

  --rag-red: rgb(255, 25, 0);
  --rag-red-boarder: rgb(255, 25, 0, 0.7);
  --rag-amber: rgb(255, 119, 0);
  --rag-amber-boarder: rgb(255, 119, 0, 0.7);
  --rag-green: rgb(17, 170, 22);
  --rag-green-boarder: rgb(17, 170, 22, 0.7);

  
  /* Theme Data for styling of Asset based content */
  --background-color: #ffffff;
  --section-background-color: #f9f9f9; 
  --panel-header-color: #34495e;
  --panel-table-background-color: #ebedef;
  --text-color: #2c3e50;
  --text-color-on-panel_headers: #bdc3c7; 
  --table-border-color: #2980b9;
  --pass-color: #2ecc71;
  --fail-color: #e74c3c;
  --footer-bg-color: #bdc3c7;
  --text-color-on-footer: #34495e;

}



body {
  background-color: var(--main-background);
  cursor: default;
  font-family: 'Nunito' !important;
  font-size: 14px !important;
}
.login-body-class {
  padding-top: 40px;
  padding-bottom: 40px;
}

.container-fluid {
  background-color: var(--primary-black);
  display: flex;
  width: 100%;
  align-items: center;
}


.topbar {
  background-color: var(--topbar-background);
}


.navigationSeed {
  top: 5;
  font-size: 18px;
  color: var(--font-on-black);
  text-decoration: none;
}
.navigationSeed:hover {
  top: 5;
  font-size: 18px;
  color: var(--font-on-black);
  text-decoration: none;
}

.PartnerBox {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 60px;
}
.partnerLogo  {
  font-size: 22px;
  text-decoration: none;
}

.partnerTitle {
  vertical-align: middle;
  font-size: 22px;
  color: var(--title-text);
  text-decoration: none;
  margin-left: 10px;
}
.partnerTitle:hover {
  vertical-align: middle;
  font-size: 22px;
  color: var(--title-text);
  text-decoration: none;
  margin-left: 10px;
}

.partner-logo-image {
  max-height: 50px;
  vertical-align: middle;
}

.navbar-left.buffer-left {
  display: flex;
  align-items: center;
  margin-left: 20px;
}






.buffer-left {
  left: 20;
}
#leftMenu {
  direction: rtl; /* reverse the direction of the navbar - for the scrollber to be on the left */
  position: fixed;
  top: 130px;
  left: 0;
  width: 200px;
  transition: left 0.5s ease;
  z-index: 999;
  background-color: var(--menu-background);
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  overflow-y: hidden;
  padding-right: 5px;
}
#leftMenu ul {
  direction:ltr; /* reverse the direction of the navbar back - for the text in the items */
}

#leftMenu a:hover {
  color: var(--menu-item-text-mouse-over);
  background-color: var(--menu-item-background-mouse-over);
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}
#leftMenu a.active {
  color: var(--menu-item-text-when-active);
}


#leftMenu.slide-out {
  transform: translateX(-190px);
  transition: transform 0.5s ease-out;
}
#leftMenu.slide-in {
  transform: translateX(0);
  transition: transform 0.5s ease-out;
}

#leftMenu:hover {
  left: 0;
  transition: left 0.5s ease;
  overflow-y: auto;
  scrollbar-width: thin;
}
/* Style the scrollbar for WebKit-based browsers */
#leftMenu:hover::-webkit-scrollbar {
  width: 5px;
  margin: 30px 0 30px 0;
}
#leftMenu:hover::-webkit-scrollbar-track {
  background: var(--menu-scrollbar-track);
}
#leftMenu:hover::-webkit-scrollbar-thumb {
  background-color: var(--menu-scrollbar-thumb);
  border-radius: 5px;
}

#contentPanel {
  position: absolute;
  left: 29px;
  width: calc(100% - 29px);
  padding-right: 10px;
}

#footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--footer-background);
  color: var(--footer-text);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

#footer-content {
  padding: 0 10px;
}



/* Breadcrumb styling */
.breadcrumbs {
  padding-left: 20px;
  display: flex;
  align-items: center;
  text-decoration: none !important;
}
.breadcrumb-item {
  display: flex;
  align-items: center;
  color: var(--breadcrumb-text);
  text-decoration: none !important; 
}
.breadcrumb-item:hover {
  text-decoration: none !important;
}
.breadcrumb-symbol {
  color: var(--breadcrumb-separator);
  padding-right: 5px;
}
.breadcrumb-separator {
  color: var(--breadcrumb-separator);
  padding-left: 5px;
  padding-right: 5px;
}
.breadcrumb-link {
  color: var(--breadcrumb-text);
  text-decoration: none !important;
}
.breadcrumb-link:hover {
  color: var(--breadcrumb-text);
  text-decoration: none !important;
}


/* Datatables / tables */
/* - trying to make sure this right settings are used - */
.my-data-table th, .my-data-table td {
  font-size: 14px !important;
}
th, td {
  font-size: 14px !important;
}
.labelContainer {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
  color:#333 !important;
}
.labelContainer .label {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
  color:#333 !important;
  text-decoration: none !important;
}
.smallTextContainer {
  font-size: 10px;
  font-style: italic;
}

/* Navigation */
.navbar-static-top {
  margin-bottom:20px;
}

.navbar-collapse {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-grow: 1;
}
.navbar-nav.navbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%; 
}


i {
  font-size:16px;
}

.nav > li > a {
  color:#909090;
}


/* *** Login page Styling *** */
.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}


/* *** Host List Styling *** */
/* Dots */
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
  border: 1px solid rgba(0, 0, 0, 0.2); /* darker border */
}
.dot.green {
  background-color: var(--rag-green);
  border-color: var(--rag-green-boarder);
}
.dot.orange {
  background-color: var(--rag-amber);
  border-color: var(--rag-amber-boarder);
}
.dot.red {
  background-color: var(--rag-red);
  border-color: var(--rag-red-boarder);
}


/* Posture Graphic */
.score-bar {
  width: 80%;
  height: 20px;
  background-color: rgba(0, 0, 0, 0.1);
  position: relative;
  border: 2px solid rgba(0, 0, 0, 0.2);
}
.score-fill {
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}








/* Request Timeslice modal styling */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-dialog {
  margin: 0 auto;
  width: 80%;
}
.modal-content {
  background-color: #fefefe;
  margin: 100px auto 0; /* 30% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}
.modal-content-wide {
  width: 90% !important; /* or any other percentage or pixel value you prefer */
  max-width: none !important; /* This line ensures max-width does not restrict your width */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* The Request Timeslice Button */
#requestTimesliceButton {
  float: right;
}

/* Modal Header */
.modal-header {
  border-bottom: none;
  padding-bottom: 0;
}

/* Modal Title */
.modal-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
}

/* Modal Body */
.modal-body {
  padding-top: 0;
}

/* Modal Wide */
.modal-wide {
  width: 80%;
  margin: 0 auto;
}

/* Modal Form */
.form-control {
  border: none;
  border-radius: 0;
  border-bottom: 1px solid #ced4da;
  box-shadow: none;
  height: auto;
  font-size: 1.125rem;
  padding: .375rem 0;
}

/* Modal Footer */
.modal-footer {
  border-top: none;
  padding-top: 0;
}

.tiny-flag {
  align-items: center;
  padding-left: 5px;
}


.no-underline {
  text-decoration: none;
}
.btn-outline-dark:hover {
  background-color: #343a40;
  color: #fff;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.action-card {
  color: #d0d0d0;
  background-color: #333;
  border: 1px solid #111;
  border-radius: 4px;
  padding: 1rem;
  flex-basis: calc(25% - 1rem);
  box-sizing: border-box;
}
.progress {
  height: 0.5rem;
  background-color: #f5f5f5;
  border-radius: 0.25rem;
}

.progress-bar {
  background-color: #0855B1;
  border-radius: 0.25rem;
}

.disabled-btn {
  opacity: 0.5;
  pointer-events: none;
}


.qr-code-img {
  border: none;
  padding: 0;
  display: block;
}



/* *** Historic Scans Interface Styling *** */
#titleCard {
  margin-left: 10px;
}
#statsCard {
  position: absolute;
  margin-right: 20px;
  right: 30px;
  top: 20px;
  width: auto;
  min-width: 250px;
  height: auto;
  border: 1px solid #ccc;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Softer shadow for modern appearance */
  display: flex;
  flex-direction: column;
  background-color: #f9f9f9; /* Light gray background color */
  border-radius: 8px; /* Rounded corners */
}
#statsCard div {
  display: flex;
  justify-content: space-between;
}
#graphContainer {
  width: 95%;
  height: 200px;
  margin: 20px auto 40px 20px;
  display: block;
  overflow: hidden;  /* Ensures nothing spills over */
  border: 1px solid #ccc;
  background-color: #f9f9f9; /* Matching the stats card's background */
  box-shadow: 0 4px 8px rgba(0,0,0,0.10); /* Subtle shadow for depth */
  border-radius: 8px; /* Rounded corners for modern look */
}
#trendGraph {
  width: 100%;      /* Ensures the canvas expands to fill the container */
  height: 100%;     /* Ensures the canvas expands to fill the container */
}
.historic_scans_dataTable_wrapper {
  width: 95%; /* increased width from 80% to be closer to the edges */
  margin: 20px 2%; /* reduced the side margins */
}
#historic_scans_dataTable {
  margin-top: 50px;  /* Ensures there's space between the graph and the table */
}
h1 { font-size: 24px; }
.tagline { font-style: italic; font-size: 18px; }
.infoText { padding-top: 10px; font-size: 16px; }


/* count indicator near icons */
/*.nav>li .count {
  position: absolute;
  bottom: 12px;
  right: 6px;
  font-size: 9px;
  background: rgba(51,200,51,0.55);
  color: rgba(255,255,255,0.9);
  line-height: 1em;
  padding: 2px 4px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  border-radius: 10px;
}*/


/* *** Reporting and Scan Details Styling *** */
.float-left {
  float: left;
}

.float-right {
  float: right;
}

.underline {
  text-decoration: underline;
}

.report-body {
  margin: 20px;
}

.content-block-container-wrapper { /* This is a wrapper for the two content blocks to make sure they are always side-by-side */
  display: flex;
  justify-content: space-between;
}
.content-block-container {
  border-style: solid;
  border-width: 1px;
  border-color: var(--table-border-color);
  border-radius: 5px;
  margin: 20px;
  min-width: 200px;
  background-color: var(--panel-table-background-color);
  box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
}

.content-block {
  margin: 10px;
  margin-right: 15px;
}

.panel-heading {
  background-color: var(--panel-header-color);
  color: var(--text-color-on-panel_headers);
  padding: 7px;
  border-radius: 5px 5px 0 0;
}

.top-right-panel {
  background-color: var(--panel-header-color);
  color: var(--text-color-on-panel_headers);
  padding: 7px;
  border-radius: 0px 5px 0px 0px;
}
.top-left-panel {
  background-color: var(--panel-header-color);
  color: var(--text-color-on-panel_headers);
  padding: 7px;
  border-radius: 5px 0px 0px 0px;
}
.bottom-left-panel {
  background-color: var(--panel-header-color);
  color: var(--text-color-on-panel_headers);
  padding: 7px;
  border-radius: 0 0 0px 5px;
}
.bottom-right-panel {
  background-color: var(--panel-header-color);
  color: var(--text-color-on-panel_headers);
  padding: 7px;
  border-radius: 0 0 5px 0px;
}

.panel {
  background-color: var(--panel-header-color);
  color: var(--text-color-on-panel_headers);
  padding: 7px;
  border-radius: 0px;
}

.result-pass {
  /* rounded corners and a small margin so the colour doesn't touch the side */
  background-color: var(--pass-color);
  border-radius: 5px;
  margin: 2px;
  padding: 5px;
  vertical-align: middle;
  text-align: center;
}
.result-fail {
  background-color: var(--fail-color);
  border-radius: 5px;
  margin: 2px;
  padding: 5px;
  vertical-align: middle;
  text-align: center;
}

.section-body {
  clear: both;
  display: block;
  padding: 20px;
  border-style: solid;
  border-width: 1px;
  border-color: var(--table-border-color);
  border-radius: 5px;
  background-color: var(--section-background-color);
  box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
}

.section-table {
  clear: both;
  display: table;
  padding: 5px;
  margin: 5px;
  border-style: solid;
  border-width: 1px;
  border-color: var(--table-border-color);
  border-radius: 5px;
  background-color: var(--panel-table-background-color);
  box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
}

/* have a modifier to allow a div inside the .details section not be within the table */
.overview-body {
  display: block;
}

.footer-panel {
  background-color: var(--footer-bg-color);
  color: var(--text-color-on-footer);
  padding: 7px;
  text-align: center;
  vertical-align: middle;
  border-radius: 5px;
}

/* Factor out common styles for all of the "col-" classes.*/
div[class^="col-"] {
  display: table-cell;
  padding: 7px;
}

/*for clarity name column styles by the percentage of width */
.col-1-5 {
  width: 5%;
}

.col-1-10 {
  width: 10%;
}

.col-1-25 {
  width: 25%;
}

.col-1-50 {
  width: 50%;
}

.col-1-100 {
  width: 100%;
}

.align-right {
  text-align: right;
}
.align-centre {
  text-align: center;
}

.report-row {
  display: table-row;
  page-break-inside: avoid;
}
.spacer-row {
  display: table-row;
  height: 20px;
}

.report-h2 {
  font-size: 30px;
  margin-left: 5px;
}

.report-h3 {
  font-size: 20px;
  font-weight: bold;
  margin-left: 5px;
}

.report-h4 {
  font-size: 18px;
  font-weight: bold;
  margin-left: 5px;
}

.overview-body {
  display: block;  /* change from table-cell to block for proper isolation */
  padding: 7px;
  width: 100%;
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}


/* *** File Integrity Monitoring Styling *** */
.fim-config-section {
  margin-bottom: 30px;
}
.center-input {
  display: block;
  margin: auto;
}
