.toolbox {
  position: absolute;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10000;
}

.toolbox-icon {
  width: 56px;
  max-height: 56px;
}

.toolbox-content {
  position: absolute;
  right: 20px;
  width: 250px;
  background: white;
  padding: 2px;
  border-radius: 5px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease-in-out;
  z-index: 9999;
}

.toolbox-header {
  text-align: center;
  color: black;
  font-weight: bold;
  padding: 10px;
  background: white;
  border-radius: 5px;
}

.toolbox-item {
  padding: 10px;
  max-height: 50px;
  background-color: white;

  margin: 0px 0;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  transition: background 0.3s ease-in-out;
}

.toolbox-item:hover {
  background-color: #f0f0f0;
}

.toolbox-item a {
  color: black;

  text-decoration: none;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.toolbox-thumbnail {
  max-height: 30px;
  border-radius: 3px;
}

.toolbox.open + .toolbox-content {
  transform: scaleY(1);
}

.toolbox {
  position: fixed;
  top: 110px;
  right: 10px;
  transition: top 0.1s ease;
  z-index: 1000;
}

.toolbox.toolbox-scrolled {
  top: 75px;
}

.toolbox-content {
  position: fixed;
  top: 170px;
  right: 10px;
  transform: scaleY(0);
  transform-origin: top;
  transition: top 0.1s ease, transform 0.1s ease;
  z-index: 1000;
}

.toolbox-content.toolbox-scrolled {
  top: 135px;
}

.toolbox.toolbox-narrow {
  top: 85px;
}
.toolbox-content.toolbox-narrow {
  top: 145px;
}

.toolbox.open .toolbox-content {
  transform: scaleY(1);
}

.mainHeader.scrolled .CPTS,
.mainHeader.scrolled .noel {
  display: none;
}

.mainHeader.scrolled .logoImage {
  transform: scale(0.6);
  transform-origin: center;
  transition: transform 0.1s ease;
}

.navList .toolboxHeader {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #b19a9ae6;
  width: 95%;
  height: 45px;
  margin-top: 4%;
}
.navList .toolboxHeader .image-tools {
  position: absolute;
  left: 0;
  top: 0;
  height: 45px;
  width: 45px;
  object-fit: cover;
}
.navList .toolboxHeader h3 {
  color: #fff;
  font-weight: 400;
  margin: 8px;
  width: 100%;
  text-align: center;
  z-index: 20;
  padding: 2px 12px;
}

.navList #menu .cards .card__link .toolBoxIcon {
  max-height: 32px;
}

.ToolsBoxRender {
  width: 100%;
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-start;
  margin-left: 1em;
  overflow: hidden;
}
.ToolsBoxRender .toolBoxTitle {
  font-weight: 600;
  font-size: 0.8rem;
  color: #606060;
  background-color: #f6f6f6;
  border-radius: 4px;
}
.ToolsBoxLogo {
  width: 3rem;
  background: none;
  bottom: 1rem;
  right: 1rem;
  position: fixed;
  overflow: hidden;
  border-radius: 5px;
  border: none;
  margin-bottom: 1em;
}
.ToolsBoxLogo:hover {
  cursor: pointer;
}

.mainHeader .toolbox:hover {
  transform: translate(2px);
}
.mainHeader .toolbox .buttonToolbox {
  text-decoration: none;
  color: #32a1bf;
  margin: 0;
}
.mainHeader .toolbox .buttonToolbox:visited {
  text-decoration: none;
}
.mainHeader .toolbox .buttonToolbox .toolboxHeader {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.mainHeader .toolbox .buttonToolbox .toolboxHeader .image-tools {
  width: 45px;
  height: 45px;
  object-fit: cover;
  padding: 2px;
  z-index: 21;
}
.mainHeader .toolbox .buttonToolbox .toolboxHeader .toolboxText {
  color: #fbfbfb;
  font-weight: 400;
  margin: 8px;
  width: 100%;
  text-align: center;
  z-index: 20;
  padding: 2px 12px;
}

.mainHeader .toolbox {
  display: flex;
  flex-direction: column;
  position: fixed;
  width: 50vw;
  max-width: 350px;
  right: 0;
  margin: 0;
  transition: 0.15s;
  border-radius: 5px 0 0 5px;
  border: solid 2px #efad65;
  background-color: #335775;
  transform: translate(304px);
}
