/*****************************************
                Notebook
   *****************************************/

td {
  border: 1px solid;
  /* background-color: rgba(255, 255, 255, 0.8); */
}

td:hover {
  background-color: var(--violet);
  /* font-weight: bold; */
}

td,
th {
  width: 50px;
  height: 30px;
  text-align: center;
  font-size: larger;
}

td ul {
  margin: 0;
  padding: 0;
}

caption {
  caption-side: top;
  text-align: center;
  font-size: x-large;
  color: var(--darkBlue);
}

.notes {
  background-image: linear-gradient(to bottom right, rgba(145, 233, 208, 0.8), rgba(0, 147, 114, 0.8));
}

.labday {
  background-image: linear-gradient(to bottom right, rgba(145, 233, 208, 0.8), rgba(166, 114, 171, 0.8));
}

.note a {
  color: var(--violet);
  text-decoration: none;
  font-size: medium;
}

.note p {
  color: black;
  font-size: medium;
  margin: 0;
  padding: 0;
  text-align: left;
}

.note h3 {
  font-size: large;
  text-decoration: underline;
  color: var(--violet);
  margin: 0;
  margin-top: 10px;
  width: 90%;
  padding-left: 10%;
}

.note img {
  width: 320px;
  border: 1px solid var(--background);
  margin: 15px;
  margin-left: -5px;
}

.note hr,
.dropdown-content hr {
  border: 1px solid var(--darkBlue);
}

.dropdown {
  width: 100%;
  position: relative;
  display: inline-block;
  display: block;
}

.dropdown-content {
  display: none;
  position: absolute;
  bottom: 100%;
  background-color: var(--turquoise);
  border: 1px solid var(--background);
  width: 350px;
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  /* padding: 5px; */
  margin-left: -350%;
  z-index: 1;
}

.dropdown-content::-webkit-scrollbar {
  width: 5px;
  background: var(--green);
}

.dropdown-content::-webkit-scrollbar-thumb {
  background-color: var(--yellow);
  /* Color of the thumb */
  border-radius: 5px;
  /* Rounded corners of the thumb */
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* The subnavigation menu */
.subnav {
  float: left;
  overflow: hidden;
  padding-left: 5px;
  padding-right: 5px;
  margin-bottom: 10px;
  width: 100%;
}

/* Subnav button */
.subnav .subnavbtn {
  font-size: 16px;
  border: none;
  outline: none;
  width: 100%;
  color: var(--darkBlue);
  text-align: left;
  vertical-align: middle;
  max-height: 300px;
  background-color: inherit;
  font-family: inherit;

}

/* Add a red background color to navigation links on hover */
.subnav:hover .subnavbtn {
  text-decoration: underline;
}

/* Style the subnav content - positioned absolute */
.subnav-content {
  display: none;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid var(--darkBlue);
  border-top: none;
}

.subnavbtn:after {
  content: '\002B';
  /* Unicode character for "plus" sign (+) */
  font-size: 23px;
  color: var(--darkBlue);
  float: right;
  margin-left: 5px;
}

.subnav .subnavbtn.active {
  background-color: rgba(255, 255, 255, 0.8);
  /* Change background color when active */
  border: 1px solid var(--darkBlue);
  /* Add border when active */
  border-bottom: none;
  /* Remove border betwwn content and button */
}

.active:after {
  content: "\002D";
  /* Unicode character for "minus" sign (-) */
}

.dropdownbtn {
  background-color: transparent;
  border: none;
  padding: 0;
  width: 100%;
}

.closebtn {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 20px;
  cursor: pointer;
  background-color: transparent;
  border: none;
  color: var(--green);
}

.calendar {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}