/*
---------------------------------------------
Topics Style
---------------------------------------------
*/
#topics{
	position:relative;
	padding-bottom:10px;
	background-color: var(--primary-color);
}

.topics .section-heading h2{
	color: var(--white-color);
}

.floating-stack {
  background-color: var(--white-color);
  color: #000000;
  height: 300px;
  border-radius: 25px 0 0 25px;
  overflow-y: auto;
  margin: 2rem auto;
  padding: 0.5rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.floating-stack > dl {
  margin: 0 0 1rem;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  align-items: center;
}

.floating-stack dt {
  position: sticky;
  top: 0.5rem;
  left: 0.5rem;
  font-weight: bold;
  background-color: var(--primary-color);
  color: var(--white-color);
  height: 2rem;
  width: 2rem;
  border-radius: 50%;
  padding: 0.25rem 1rem;
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  z-index: 1;
}

.floating-stack dd {
  grid-column: 2;
  margin: 0;
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background-color 0.3s ease;
  cursor: default;
}

.floating-stack > dl:first-of-type > dd:first-of-type {
  margin-top: 0.25rem;
}

#topicSearch.form-control {
  border-radius: 20px;
  padding: 0.75rem 1rem;
  border: none;
  background-color: #fff;
  color: #000;
  font-size: 1rem;
}

.floating-stack::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  background-color: var(--secondary-color);
}

.floating-stack::-webkit-scrollbar {
  width: 10px;
  background-color: var(--secondary-color);
}

.floating-stack::-webkit-scrollbar-thumb {
   border-radius: 10px;
   -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
   background-color: var(--primary-color);
}
