/* Layer switchers */

#ab-box-layersTOC {
  top: 45px;
  left: 55px;
  width: 250px;
  overflow: auto;
  z-index: 2001;
}

.ab-box-bgroundsTOC {
  /* top: 45px;
  right: 55px; */
  display: none;
  width: 250px;
  /* height: 250px; */
  overflow: auto;
  z-index: 2001;
}

#ab-panel-bgroundsTOC {
  display: none;
}

.ab-switcher-backgrounds {
  overflow-x: hidden;
}

.ab-switcher-backgrounds .icon-radio {
  margin-right: 12px !important;
}

.ab-box-layersTOC {
  display: none;
  width: 250px;
  overflow: auto;
}

#ab-switcher-layers0 {
  overflow-x: hidden;
}

.ab-switcher-layers .treeview {
  padding-bottom: 10px;
}

.ab-switcher-layers .treeview-item-root {
  padding-left: 10px;
  padding-top: 5px;
  height: auto;
}

.ab-switcher-layers .layer-content {
  /* padding-left: 34px; */
  padding-left: 20px;
}

.ab-switcher-layers .layer-content img {
  max-width: 250px;
}

.ab-switcher-layers .treeview-item-label {
  white-space: normal;
  line-height: 1.5em;
}

/* vediamo se ho capito, così dovrebbe prendere solo il primo di quella classe */

.ab-switcher-layers .ab_treeview_group .treeview-item-label {
  font-weight: bold;
}

.ab-switcher-layers
  .ab_treeview_group
  .treeview-item-children
  .treeview-item-label {
  font-weight: normal;
}

.ab-switcher-layers .treeview-item-label .icon {
  display: none;
  font-size: 20px;
  margin-right: 3px;
  vertical-align: text-bottom;
}

.ab-switcher-layers .treeview-item-children .treeview-item-root {
  padding-left: 40px;
  padding-top: 0px;
}

.ab-switcher-layers .treeview-item-children .layer-content {
  /* padding-left: 60px; */
  padding-left: 40px;
  padding-top: 0px;
}

.ab-switcher-layers .treeview-toggle {
  margin-left: 0px;
  margin-right: 0px;
  left: -4px;
}

.ab-switcher-layers .treeview-item-content {
  margin-left: 0px !important;
  align-items: flex-start;
}

.ab-switcher-layers .treeview-item-content img {
  align-self: center;
}

.ab-switcher-layers .treeview-item-content img.ab-waitImage {
  width: 24px;
  /* position: absolute;
  right: 42px; */
  align-self: baseline;
  display: none;
}

.ab-switcher-layers .icon-checkbox {
  top: 3px;
}

.ab-box-layersTOC h1,
.ab-box-layersTOC h2,
.ab-box-layersTOC h3,
.ab-dialog-layersTOC h1,
.ab-dialog-layersTOC h2,
.ab-dialog-layersTOC h3,
.ab-box-bgroundsTOC h1,
.ab-box-bgroundsTOC h2,
.ab-box-bgroundsTOC h3,
.ab-dialog-bgroundsTOC h1,
.ab-dialog-bgroundsTOC h2,
.ab-dialog-bgroundsTOC h3 {
  margin-left: 10px;
}
