.notebook_wrapper {
  margin: 8rem;
}

.overview {
  list-style-type: none;
  display: flex;
}

.calender_wrapper {
  width: 423px;
  height: fit-content;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.accordion_wrapper {
  max-width: 1000px;
  margin: 50px;
  margin-top: 0;
}

.calender_wrapper header {
  display: flex;
  align-items: center;
  padding: 10px 10rem 0px;
  justify-content: space-between;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 100;
  opacity: 50%;
  background: white;
  height: 20%;
}

header .icons {
  display: flex;
  position: relative;
  right: 0;
  top: 0;
}

header .icons span {
  height: 38px;
  width: 40px;
  margin: 0 5px;
  cursor: pointer;
  color: #878787;
  text-align: center;
  line-height: 38px;
  font-size: 3.9rem;
  user-select: none;
  opacity: 0.5;
}

.icons span:last-child {
  margin-right: -10px;
}

header .icons span:hover {
  color: #000000;
  opacity: 1;
}

.header_wrapper {
  position: relative;
  top: 0;
  height: 10%;
}

.dates_wrapper {
  position: relative;
  top: 0;
  height: 85%;
  margin-top: 10px;
  height: fit-content;
}

.current_date {
  flex: none;
  margin: 0 10rem auto;
  font-size: 1.30rem;
  font-weight: 500;
}

.tab-content .active {
  position: relative;
  top: 0;
}

.tab-pane ul {
  padding-left: 0;
}

.weeks {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  text-align: center;
}

.rows {
  position: relative;
  padding: 15px;
  border-radius: 50px;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  text-align: center;
}

.week-label {
  font-size: 2em;
  content: attr(data-week);
  position: absolute;
  border-radius: 5px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  text-align: center;
  line-height: 1.5em;
  opacity: 0;
  transition: opacity 0.3s;
}

.rows:hover .week-label {
  display: block;
  opacity: 1;
}

.tab-pane li {
  color: #333;
  width: calc(100% / 7);
  font-size: 1.07rem;
  text-align: center;
}

.tab-pane .weeks li {
  font-weight: 500;
  cursor: default;
}

.tab-pane .rows {
  z-index: 1;
  cursor: pointer;
  position: relative;
  margin-top: 0px;
  display: flex;
}

.days li.inactive {
  color: #aaa;
}

.days ul.active li {
  color: #fff;
}

.days ul.active::before {
  position: absolute;
  content: "";
  left: 50%;
  top: 50%;
  height: 40px;
  width: 40px;
  z-index: -1;
  border-radius: 50%;
  transform: translate(50%, 50%);
}

.days ul.active {
  background: #c4d7b2;
}

.days ul:not(.active):hover::before {
  background: #f2f2f2;
}

.hideOrExpand_button button {
  margin-top: 3rem;
  width: 100%;
  background-color: white;
  border-radius: 10rem;
}

.accordion {
  width: 90%;
  max-width: 1400px;
  margin: 2rem auto;
}

.per_month {
  margin: 3rem 0;
  padding-bottom: 1rem;
  border-bottom: 2px solid brown;
}

.accordion-item {
  background-color: #3a8885;
  width: 100%;
  margin: 1rem 0.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.5);
}

.accordion-item-header {
  font-size: 1.5rem;
  padding: 1rem 3rem 0.5rem 1rem;
  min-height: 3.5rem;
  line-height: 1.25rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  color: #fff;
}


  .accordion-item-header::after {
content: "\f078";
font-family: 'Font Awesome 5 Free'; /* or 'Font Awesome 6 Free' */
font-weight: 900; /* or 'solid' for Font Awesome 6 */
font-size: 2rem;
position: absolute;
right: 1rem;
transition: transform 0.3s ease-in-out;
color: #fff;
}

.accordion-item-header.active::after {
transform: rotate(45deg); /* Rotate the icon when active */
}
.accordion-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
}

.accordion-item-body-content {
  padding: 1rem;
  line-height: 1.5rem;
  border-top: 2px solid brown;
  border-image: linear-gradient(to right, brown, rgb(217, 244, 65)) 1;
}

.accordion-item-header.active+.accordion-item-body {
  max-height: 500px;
}

/*     .pdf_notebook{
width: 100vw;
padding: 1rem;
border-top: 2px solid brown;
border-bottom: 2px solid brown;
} */


/* New */
.table__head {
  color: #fff;
  font-weight: 700;
  background: #b4c7c4;
  background: -moz-linear-gradient(-45deg, #b4c7c4 0%, #608590 100%);
  background: -webkit-linear-gradient(-45deg, #b4c7c4 0%, #608590 100%);
  background: linear-gradient(135deg, #b4c7c4 0%, #608590 100%);
  white-space: nowrap;
}
.table-bordered td,
.table-bordered th {
  border: 1px solid;
}
 
 
 
 
 
 
table {
  width: 100%;
  border-collapse: collapse; /* Ensures borders between cells are merged */
}

th, td {
  border: 1px solid black; /* Adds a black border to table cells */
  padding: 8px; /* Adds some space inside cells */
  text-align: left; /* Aligns text to the left */
}

th {
  background-color: #f2f2f2; /* Adds a background color to table headers */
  font-weight: bold; /* Makes table headers bold */
}

/* Optional: Adds border to the entire table */
table {
  border: 2px solid #333; /* Darker border around the table */
}
 
 /* End */





@media (max-width: 1200px) {
  .overview {
    flex-direction: column;
  }

  .calender_wrapper {
    margin: 2rem auto;
  }

  .accordion_wrapper {
    margin: 2rem auto;
  }

  .accordion-item {
    width: 100%;
    margin: 2rem 0rem auto;
  }
}

@media (min-width: 1200px) {
  .cal {
    position: sticky;
    top:50px;
    height: 100%;
  }
}

@media (min-width: 1800px) {
  .overview {
    margin: 0rem 13rem auto;
  }
}