@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900');


:root { 
    --sidebar-background: var(--color1); 
    --sidebar-category-background:#3d839f77;
    /* --sidebar-item-background: #00A7E599; */
    --sidebar-item-background: #489bbc77;
    --sidebar-item-shadow: #00A7E599;

    --header-background: #fefefe;
    --page-background: #d9d9d9;
    --page-background: #fdfdfd!important;

    --application-border-radius: 10px;

    --navbar-height: 6.5em;
    --breadcrumbs-height: 20px;
}

/* Main Layout */
html,body {
  background-color: #f8f9fa;
  background-color: var(--page-background);
  margin: 0px;
  padding: 0px;

  height: 100%;
  margin: 0;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Geneva, Tahoma, sans-serif;
}

body, html {
  height: 100%;
  margin: 0;
}

/* Admin container */
.ntelioAdmin {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.toast-container {
  z-index: 9999;
}
.ntelioAdmin #footer {
  /* display: flex; */
  display: none;
  height: 0.7em;
  font-size: 0.7em;
  color: var(--color1);
  background-color: transparent!important;
  align-items: center;
  justify-content: center;
  background-color: #dadada;
} 
.ntelioAdmin #footer p {
  position: relative;
  top: 50%;
} 
.ntelioAdmin #main {
  height: 100%;
}
.ntelioAdmin .content {
  flex: 1;
  overflow: hidden;
}
.ntelioAdmin .menu-column {
  width: 200px;
  overflow-y: auto;
}
.ntelioAdmin .main-column {
  flex: 1;
  overflow-y: auto;
}
.ntelioAdmin .card {
  border-radius: var(--application-border-radius) var(--application-border-radius) var(--application-border-radius) var(--application-border-radius);
  border: 0px solid white;
  height: 100%;
}
.ntelioAdmin .card-footer {
  border-radius: 0px 0px 40px var(--application-border-radius)!important;
  background-color: #dadada!important;
  /* var(--application-border-radius) var(--application-border-radius)!important; */
}
.ntelioAdmin .card-header {
  border-top-left-radius: var(--application-border-radius)!important;
  border-top-right-radius: var(--application-border-radius)!important;
  background-color: var(--color1);
  color: white;
}
/* .ntelioAdmin .card-body {
  overflow-y: auto;
} */
/* .ntelioAdmin .card-body form {
  height: 80%;
} */

/* .ntelioAdmin .card-body .input-group {
  height: 93%;
} */
/* Buttons */
.ntelioAdmin .btn-primary {
  background-color: var(--color1);
  color: var(--color0);
}

.ntelioAdmin .btn-primary:hover {
  background-color: var(--color2);
}

.ntelioAdmin .btn-primary:active {
  background-color: var(--color3)!important;
}


/*
 * Toast
 */
.ntelioAdmin .toast {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 9999;
}

/*
 * Admin widgets related CSS
 */

/*
 * Files
 */
 .files .trashcan {
  margin-right: 0.5em;
}
.files {
  margin-top: 0em;
}

/*
 *  Web scraper
 */

.webscraper .btn:disabled {
  color: rgb(129, 148, 162)!important;
}
/*
 * Chatbot
 */

 body {
  white-space: nowrap; /* Prevent text wrapping */
  overflow-x: hidden;  /* Hide horizontal scrollbar */
  text-overflow: ellipsis; /* Add ellipsis for truncated text */
  /* padding: 5px; */
  /* background: #eee; */
}
h1 {
  text-align: center;
  width: 100%;
}

.sections {
  display: flex;
  align-items: center; /* Vertically center aligns the content */
  margin: 5px;
  color: #eee;
  height: 100px;
  vertical-align: middle;
  overflow: hidden;
}
.logo {
  text-align: center;
}

.ntelioAdmin .try #ntelioChatBot {
  height: calc( 100%);
  position: relative !important;
  bottom: 0px!important;
  left: 0px!important;
  /* padding: 5px; */
  z-index: 0;
}

.ntelioAdmin .experimental-tag {
  font-size: 0.6em;
  margin-left: 1em;
  position: relative;
  display: inline-block;
  padding-left: 1.5em;
  color: #ff9800;
}

.ntelioAdmin .experimental-tag::before {
  content: "\f0c3"; /* Font Awesome flask icon (fa-flask) */
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Solid", "FontAwesome";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
}

.ntelioAdmin .experimental-tag::after {
  content: "[experimental]";
}


#ntelioChatBot .chatBot {
  width: 100%!important;
  height: 100%!important;
}

.ntelioAdmin .try {
  height: 100%;
}

.ntelioAdmin .try .row {
  height: 100%;
}

.ntelioAdmin .card {
  background: transparent!important;
}

.ntelioAdmin .card-body {
  padding: 0px;
  background-color: #fbfbfb;
}

.try .links {
  border-radius: var(--application-border-radius);
  background-color: #fafafa;
  font-size: 0.9em;
  padding: 8px;
  /* margin-top: 5px; */
  /* margin-right: 15px; */
  /* height: 14em; */
  height: auto;
  /* margin-top: 8px; */
  border: 1px #ccc solid;
}

.try .links p {
  margin-bottom: 15px;
  width: 100%;
  white-space: wrap;
}

.try .links div {
  margin-bottom: 20px;
  margin-left: 10px;
  word-wrap: break-word;    
  overflow-wrap: break-word; 
  white-space: normal;    
  width: 100%;   
}

.try .links a {
  word-break: break-word;
  overflow-wrap: anywhere; 
}

.try .modes {
  display: flex; 
  flex-direction: row; 
  font-size: 0.9em;
  justify-content: space-between; 
  margin-left: 10px;
  margin-right: 10px;
}

.try #openPopup {
  color: rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, 1));
  text-decoration: underline;
  cursor: pointer; /* optional: to show pointer cursor on hover */
}




/*
* Chatbots
*/

.album-item .card-body {
  height:70px!important;
}
.album-item .card-body {
  background-color: #fafafa!important;
  margin-top: 1em;
  border-radius: var(--application-border-radius);
}

/*
* Signin
*/

.form-signin {
  max-width: 330px;
  padding: 1rem;
}

.form-signin .form-floating:focus-within {
  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;
}

.form-signin #errorMessage {
    color: red;
    font-size: 0.8em;
    padding: 0.8em;
}


/*
 * Interface
 */
 .ntelioAdmin .card-body {
  padding: 8px;
 }



 /*
  * Analytics
  */
.analytics .btn-outline-custom {
  color: #0C7AA3;
  border-color: #0C7AA3;
}

.analytics .btn-outline-custom:hover, 
.analytics .btn-outline-custom:focus {
  background-color: #0C7AA3;
  border-color: #00A7E5;
  color: white;
}

.btn-check:checked + .btn-outline-custom {
  background-color: #0C7AA3;
  color: white;
  border-color: #0C7AA3;
}

/* .ntelioAdmin .vertical-navbar {
  width: 230px!important;
}

.ntelioAdmin .vertical-navbar.collapsed {
  width: 60px!important;
} */

.vertical-navbar-menu, .vertical-navbar-bottom {
  overflow-x: hidden;
}


/*
  * Page Layout
  */

  html, body, #page-container, #content-wrapper, .main-container {
  height: 100%;
  min-height: 100vh;
}

.ntelioAdmin .vertical-navbar {
  width: 220px !important;
  height: calc(100vh - 50px) !important;
}

.ntelioAdmin .vertical-navbar.collapsed {
  width: 60px !important;
  height: calc(100vh - 50px) !important;
}
