body {
  margin: 0;
  font-family: sans-serif;
  overflow: hidden;
}

.settings {
  color: var(--custom-black);
}

.settings-zoom,
.setting-scale,
.setting-help {
  background-color: var(--custom-white);
}

#toolbar {


  padding-top: 10px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  width: 22rem;
  user-select: none;

}

#top-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
}

#toolbar details,
#toolbar div.accordion {
  padding: 0 10px;
}

/*
#toolbar button,
#toolbar label {
  background: #555;
  border: none;
  color: white;
  padding: 6px 12px;
  cursor: pointer;
}
*/
#toolbar input[type="file"] {
  display: none;
}

.setting-minus,
.setting-plus {
  cursor: pointer;
}

.setting-minus i,
.setting-plus i {
  font-size: 32px;
}

.canvas-settings-container {
  position: relative;
  width: calc(100% - 22rem);
  left: 22rem;
  overflow: hidden;
}

.popover {
  max-width: 100%;
  /* Max Width of the popover (depending on the container!) */
}

.settings {
  position: absolute;
  right: 25px;
  bottom: 0px;
  display: flex;
  height: 40px;

}

.settings-zoom {
  align-items: center;
  display: flex;
  align-items: center;
  border: 2px solid #ccc;
  height: 100%;
  margin-left: 10px;
}

.setting-size {
  width: 60px;
  text-align: center;
}

.setting-help img {
  width: 25px;
  cursor: pointer;
}

.setting-scale {
  margin-left: 10px;
  height: 100%;
  display: flex;
  align-items: center;
  border: 2px solid #ccc;
}

.setting-help {
  margin-left: 10px;
  height: 100%;
  display: flex;
  align-items: center;
  border: 2px solid #ccc;
}

.settings>* {
  padding: 0 10px;
  user-select: none;
  /* Standard syntax */

}

.canvas-container-top {
  position: relative;
  display: flex;
}


#toolbar .draggables {
  display: flex;
  justify-content: center;
}

#toolbar .draggables img {
  max-height: 75px;
}

details summary::-webkit-details-marker,
details summary::marker {
  display: none;
}

details summary {
  list-style: none;
  cursor: pointer;
}

.accordion {
  /*max-height: 469px;*/
  /*overflow: auto;*/
}

.accordion summary {
  padding: 10px;
  border: 1px solid #ccc;

}

[data-header-styles=dark] .accordion .drag-item img {
  filter: invert(1);
}

.accordion .drag-item {
  border-right: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 8px;
  align-items: center;
  justify-content: space-between;
  width: 33.3%;
  max-width: 33.3%;
}

.accordion .drag-item:last-child {
  border-right: 0px solid #ccc;
}

.accordions-items-separate .accordion-item:not(:first-of-type) {
  margin-block-start: 0;
}

.drag-item img {
  width: 100%;
  max-width: 65px;
  min-height: 50px;
}

.drag-item p {
  font-size: 14px;
  line-height: 1;
}

.draggables-row {
  display: flex;
  flex-direction: row;

}

@media (min-width: 992px) {
  .app-header {
    padding-inline-start: 22rem;
  }
}

.accordion-body {
  padding: 0;
}

.settings.undo-redo {

  left: 25px;

}

.undo-redo-cont {
  font-size: 1.6rem;
  gap: 0.5rem;
}

.undo-redo-cont>* {
  cursor: pointer;
  border: 0;
  background: transparent
}

.setting-undo[disabled],
.setting-redo[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
@media (max-width: 991.98px) {
    [data-toggled=close] .app-header {
        padding-inline-start: 22rem !important;
    }
}
@media (max-width: 991.98px) {
    [data-toggled=close] .app-sidebar {        
        transform: translateX(0rem) !important;
    }
}
@media (max-width: 991.98px) {
    .main-sidebar-header {
        display: flex !important;
    }
}
@media (max-width: 991.98px) {
    [data-toggled=close] .app-header .horizontal-logo {
        display: none !important;
    }
}
@media (max-width: 991.98px) {
    .main-sidebar {
        margin-block-start: 3.72rem !important;
    }
}
.app-sidebar .main-sidebar-header {
  width: 21.9rem;
}
#accordionprimaryborderExample{
  max-height: 85vh;
  overflow: auto;
}
