#content-summary {
  background-color: #142026;
  border-radius: 10px 0 0 10px;
  display: block;
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.5s ease-in-out;
  width: 56px;
  z-index: 5;
  max-height: 600px;
  color:white;
}

#content-summary li {
  max-height: 30px;
  /* overflow: hidden; */
  text-wrap: nowrap;
}

#content-summary:hover li:first-child, 
#content-summary:focus li:first-child{
    overflow: hidden;
  }

#content-summary li:first-child a{
    font-size: 18px;
    font-weight: bold;
}
#content-summary a {
  display: block;
  font-size: 16px;
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
  transition: all 0.15s ease-in-out;
  color: rgb(202, 201, 201);
  text-decoration: none;
}

#content-summary li.active a,
#content-summary a:hover,
#content-summary a:focus{
    color:white!important;
}

#content-summary:hover a,
#content-summary:has(a:focus) a{
  text-wrap: wrap;
}

#content-summary:hover,
#content-summary:has(a:focus) {
  width: 340px;
  transition: all 0.5s ease-in-out;
  overflow-y: scroll;
  overflow-x: hidden;
}

#content-summary:hover li,
#content-summary:has(a:focus) li {
  max-height: none;
  text-wrap: wrap;
}

#content-summary ul {
  max-height: calc(100vh - 150px);
  overflow: auto;
  padding: 30px 45px;
  width: 330px;
  margin-bottom: 0;
  overflow-x: hidden;
}

#content-summary:has(a:focus) li:first-child a, 
#content-summary:hover li:first-child a {
    padding-left: 0;
    padding-bottom: 20px;
  }

  .keyboard-user #content-summary a:focus{
    outline: 2px solid white;
  }

@media (max-width:991px) {
    #content-summary{
        display: none;
    }
    
}