/* General Page Styling */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #d8dbe2; /*#f5f6f7*/ /*#faf7f5;*/ /*cornsilk; #ffe167;*/ /*#fdfd96;*/
  line-height: 1.5;
  font-size: 16pt;
}

.tab-content.active p {
  text-align: justify;
  padding-left: 3em;
  padding-right: 1em;
}

.software .pkgName {
  font-family: monospace;
  float: left;
  color: blue;
  padding-right: 1em
}

.software details {
  /*border: 1px solid #ccc;*/
  border-radius: 5px;
  margin-bottom: 10px; /* Spacing between items */
  padding: 1%;
  /*background: #f9f9f9;*/
}

.software details[open] {
  background: #ffffff;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

/* Navigation Bar */
.navbar {
  display: flex;
  justify-content: center; /*space-between;*/
  align-items: center;
  background-color: #214fcd; /*#0088cd*/ /*#0077b3;*/ /*#3398e1;*/ /*#5a2a82;*/
  color: white;
  /*padding: 15px 20px;*/
  padding: 0px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

/* Ensure the menu items align horizontally */
.navbar ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

/* Style individual menu items */
.navbar ul li {
  margin: 0 15px;
}

/* Style links */
.navbar ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

/* decorative stripe */
.navbar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 12px; /* change thickness here */
  background: #cd214f;
  /*margin-bottom: 10px;*/
}

/*.tab0:hover,
.tab0.active {
  color: #E07C34;
}*/


/* Responsive: Stack menu on small screens */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .navbar ul {
    flex-direction: column;
    align-items: center;
  }

  .navbar ul li {
    margin: 10px 0;
  }
}

.navbar-brand {
  display: flex;
  flex-direction: column; /* stack “Jalobe” over “Open Knowledge is okay” */
  align-items: flex-start; /* left-justify them */
  /* No need for flex-grow here; it stays on the left. */
  padding-left: 20px;
}

.nav-menu {
  flex: 1;                   /* occupy leftover space in the .navbar */
  display: flex;             /* keep the items in a row */
  justify-content: center;   /* center them horizontally */
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin: 0 15px; /* Adjust horizontal spacing between menu items */
  font-size: 1.5em; 
  /*font-weight: bold;*/
}

.nav-menu li a:hover {
  color: #E07C34; /*#ffe167*/ /* Light yellow on hover */
}

.nav-menu li a.active {
  color: #E07C34; /*#ffe167*/ /* Light yellow on hover */
}

/* Tabs Menu */
.tab-menu {
  display: flex;
  justify-content: center;
  background-color: #8e9cb2; /*#3398e1;*/
  padding: 10px;
  border-radius: 10px 10px 0 0;
  margin-top: 20px; /* Adds a little margin below the navbar */
}

.tab {
  padding: 12px 20px;
  cursor: pointer;
  background: #8e9cb2; /*#3398e1;*/
  color: white;
  font-weight: bold;
  border-radius: 10px 10px 0 0;
  margin: 0 5px;
  transition: background 0.3s;
}

.tab:hover,
.tab.active {
  background: #faf7f5; /*cornsilk; #ffe167;*/
  color: black;
}

/* Main Content */
.site-container {
  max-width: 1000px;
  margin: 140px auto 20px; /* Increased top margin for proper spacing */
  padding: 20px;
  background: #F0F0F0;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Tab Content */
.tab-content {
  display: none;
  padding: 20px;
  background: white;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.tab-content.active {
  display: block;
}

.tab-content li + li {
  margin-top: 1%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
    align-items: center;
  }

  .tab-menu {
    flex-direction: column;
    align-items: center;
  }

  .tab {
    width: 100%;
    text-align: center;
  }
}

details {
  /*border: 1px solid #ccc;*/
  border-radius: 5px;
  margin-bottom: 10px; /* Spacing between items */
  padding: 10px;
  /*background: #f9f9f9;*/
}

details[open] {
  background: #ffffff;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

summary {
  font-weight: bold;
  cursor: pointer;
  padding: 8px;
  background-color: #eee;
  border-radius: 3px;
}

summary:hover {
  background-color: #ddd;
}

details p {
  max-width: 700px;
  line-height: 1.6;
  text-align: justify;
}

summary::marker {
  font-size: 1.2em;
  color: #5a5a5a;
}

details h3 {
  font-size: 1.1em;
  color: #444;
  margin-top: 10px;
}

details strong {
  color: #222;
  font-weight: bold;
}

.floating-banner {
  position: fixed;
  right: 30px; /* Adjust spacing from right edge */
  top: 50%;
  transform: translateY(-50%);
  width: 220px; /* Adjust width to fit content */
  padding: 15px;
  background: #ffcc00;
  border-radius: 5px;
  text-align: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  font-weight: bold;
}

@media (max-width: 900px) {
  .floating-banner {
    display: none;
  }
}

.notification {
  display: flex; /* Use flexbox for alignment */
  align-items: center; /* Center items vertically */
  background-color: #f9f9c5; /* Light yellow background */
  border: 1px solid #f0c36d; /* Border color */
  border-radius: 5px; /* Rounded corners */
  padding: 15px; /* Padding around the message */
  margin: 2% 6%; /* Margin around the notification */
  font-family: Arial, sans-serif; /* Font style */
  width: 80%;
}
.notification-icon {
  font-size: 24px; /* Icon size */
  margin-right: 10px; /* Space between icon and text */
  color: #d6a600; /* Icon color */
}
.notification-message {
  font-size: 18px; /* Message font size */
  color: #333; /* Text color */
}

.site-title a {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit color from parent element */
    background: none; /* Remove background */
    border: none; /* Remove border */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
    font: inherit; /* Inherit font properties */
}
.site-title a:hover {
  color: #E07C34;
}

/*added by javlacalle*/
/*
details {
  padding: 5px;
}

details li {
  padding: 5px;
}
*/
