.badge {
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.5rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.card-background-image {
  position: absolute; 
  background-size: cover; 
  background-position: center; 
  right:0px; 
  bottom:0px; 
  opacity: .35; 
  width: 180px; 
  height: 180px; 
  margin: auto;
}

.badge-dark {
  color: #fff;
  background-color: #343a40;
}
.badge-med {
  color: #fff;
  background-color: #2C8895;
}

.topic-badge {
  font-size: 0.75rem;
}

.note-badge {
  float: right;
  font-size: 0.9rem;
}

.gallery-col {
  min-width: 20rem;
  max-width: 27rem;
  height: 18rem;
}

/* MORE OPTION */
.btn-more-options {
  width: 10%;
  height: auto;
  margin-left: 89%;
  margin-top: 3%;
  position: absolute;
}

/* Add Content button */
.btn-add-content {
  max-width: 40%;
  margin-top: 15%;
}

.add-button-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -40px; /* Adjust as needed */
  margin-left: auto;
}

.add-button {
  border-radius: 10px; /* Makes the button circular */
  width: 100px; /* Adjust size as needed */
  height: 50px; /* Adjust size as needed */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px; /* Adjust icon size as needed */

  background-color: #ffffff; 
  color: #000000;
}

/* Optional: Add hover effect */
.add-button:hover {
  background-color: #826131; /* Darker shade of primary color */
  color: #ffffff;
}

/* Drop-down option */
.dropbtn {
  background-color: none;
  border: none;
  width: 100%;
  position: relative;
  border-radius: 15%;
  cursor: pointer;
}

.dropdown {
  position: relative;
  left: 89%;
  width: 10%;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 140px;
  box-shadow: 0px 1px 2px 0px rgba(0.5, 0.5, 0.5, 0.5);
  z-index: 1;
  border-radius: 5%;
}

.dropdown-content a {
  color: black;
  text-decoration: none;
  display: block;
  font-size: 80%;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

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

.trigger1:hover .trigger2 {
  background-color: #f1f1f1;
}

/*ADD content styling */
.add-header {
  text-align: center;
}
.add-topic-modal-card {
  border-radius: 10px;
}

/* header */
#gallery-header {
  display: flex;
  align-items: center;
}

.btn-workspace-topic-toggle {
  margin-left: auto;
  margin-bottom: 0;
}

.delete-icon{
  color:#FE6464;
}

/*rename modal*/

#rename-header {
  display: flex;
  flex-direction: row;
}

.rename-label {
  margin-right: 2%;
  margin-top: 1.5%;
  font-weight: 400;
  font-size: 100%;
}

.rename-input {
  height: 80%;
}

.desc-label {
  margin-top: 1.5%;
  font-weight: 400;
  font-size: 100%;
}
/* document icon */
.document-icon {
  color: #3f3f3f;
}

#to-be-deleted-name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 225px;
}

.card-search {
  top: 25px;
  height: 40px;
  margin: 0;
  background-color: #dfdfdf;
  border-radius: 10px;
  border: none;
}

.card-search:focus {
  background-color: lightgray;
  outline: none;
}

#show-toast {
  position: fixed;
  top: 0;
  left: 45%;
  z-index: 1000;
  box-shadow: 3px rgba(0.5, 0.5, 0.5, 0.5);
}

.show-toast-text {
  font-size: 150%;
  padding: 15px 20px;
}

/*List Toggle*/

.list-toggle-btn {
  position: absolute;
  top: 2.2%;
  right: 300px;
  height: 40px;
  width: 30px;
}

.list-more-options {
  /* transform: rotate(90deg); */
  /* height: 42%; */
  width: 2.5%;
  position: absolute;
  right: 1%;
  margin-top: 3px;
}

.list-view:hover {
  background-color: lightgray;
  cursor: pointer;
}

.list-view-dropbtn {
  position: absolute; right: 13%; cursor: pointer;
}
