* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/*collapsible header*/
.header {
  position: sticky;
  top: 0;
  height: 70px;
  background: #51087E;
  margin:auto;
   z-index: 4;
}

.header_left{
float: left;
margin:20px;
display: inline-block;
color:white;
}

.header_left a{
color: white;
  text-decoration: none;
}

.header_right{
float: right;
margin:20px;
display: inline-block;
color:white;
}

.collapsible {
	background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
}

.header_element {
float: right;
margin:20px;
display: inline-block;
color:white;
}

.content {
width:100%;
display: none;
overflow: hidden;
background-color: #f1f1f1;
}

.footer_message {
margin:auto;
color: #f1f1f1;
transition: margin-left 0.5s ease-in-out;
background: white; /* optional background */
width: 70%;
}

.chat-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 10px 15px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 100%;
}

.chat-input {
  flex-grow: 1;
  border: none;
  outline: none;
  font-size: 16px;
  background: transparent;
}

.search_table {
padding:20px;
width:100%;
}

body {
  --sb-width: 5rem;
  font-family: system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
}

aside {
  position: fixed;
  inset: 0 auto 0 0;
  padding: 1rem;
  width:5rem;
  background-color:#51087E;
  transition: width 0.5s ease-in-out;
  height: 100vh;            
  overflow-y: auto;         
  overflow-x: hidden;       
  scrollbar-width: none;    
  -ms-overflow-style: none;
  z-index: 3;
}

aside::-webkit-scrollbar {
  display: none;
}

aside.sb-expanded {
  width: 15rem;
}

nav {
position: relative;
height: 100%;
padding-top:70px;
z-index: 2;
}

nav ul {
  list-style: none;
  height: 100%;
  display: flex;
  flex-flow: column;
  gap: 0.25rem;
}

nav a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.875rem;
  font-size: 1.25rem;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out;
}

nav a.active,
nav a:hover,
nav a:focus-visible {
  outline: none;
  color: #b366fc;
  background-color: #fff;
}

nav a span {
gap: 0.25rem;
  font-size: 0.875rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.sb-expanded nav a span {
  opacity: 1;
  visibility: visible;
}

nav span p {
  display: flex;
  align-items: center;
  margin-bottom: 0rem;
  gap: 0.625rem;
  padding: 0.625rem 0.875rem;
  font-size: 1.25rem;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out;
}

nav span p{
  font-size: 0.875rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.sb-expanded nav span p {
  opacity: 1;
  visibility: visible;
}

.sb-expanded aside .bx-chevrons-right {
  rotate: 180deg;
}

main {
  padding-left: 2rem;
  margin: 1rem 1rem 4rem 4rem;
  transition: margin 0.5s ease-in-out, width 0.5s ease-in-out;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
}

@media (max-width: 768px) {
aside {
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease-in-out, visibility 0.5s ease-in-out;
}

aside.sb-expanded {
width: 15rem;
opacity: 1;
visibility: visible;
}
  
main {
margin: 2rem 0 2rem 0;
padding:0 2rem 0 2rem;
}
}

.lib_nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #333;
}

.lib_nav li {
  float: left;
}

.lib_nav li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* Change the link color to #111 (black) on hover */
.lib_nav li a:hover {
  background-color: #111;
}

li.dropdown {
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: black;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {background-color: #f1f1f1;}

.dropdown:hover .dropdown-content {
  display: block;
}

.flex-container {
  display: flex;
  flex-wrap: wrap ;
  text-align: center;
  justify-content: center;
}

.flex-container > div {
  color: black;
  width: 400px;
  margin: 10px;
  text-align: center;
}

.flex-container img {
  height:300px;
  width:100%;
}


.flex-container p {
background-color: #f1f1f1;
padding:10px;

}

.flex-container a {
color: black;
text-decoration: none; /* no underline */
}

.lib_item_txt pre{
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    text-align: justify;
}

td{
padding: 10px 20px 10px 20px;
}