:root {
  --table-body-font-size: 12px;
}

.app-popap .myselect-modal__header {
  background-color: rgb(73, 73, 73);
  color: white;
}

.app-popap .myselect-modal__body {
  background-color: #373737;
}

.app-popap .myselect-modal__content {
  max-width: none;
  width: auto;
  border-radius: 13px;
}

.bottles-groups-frame__tools {
  display: flex;
  padding: 10px 0;
}

.btl-cfg-buttons {
  padding: 0 10px;
}

.bottles-groups-frame__btn-config {
  /* position: absolute; */
  /* top: 0; */
  /* left: 0; */
  margin: 0 3px;
  cursor: pointer;
  --size: 35px;
  width: var(--size);
  height: var(--size);

  background-size: 80%;

  border: 1px solid rgba(150, 150, 150, 0);
  border-width: 1px 1px 0 0;
}

.bottles-groups-frame__btn-config:hover {
  box-shadow: -2px 2px 2px rgba(0, 0, 0, 0.14), inset 1px 2px 2px rgba(214, 214, 214, 0.03);
  border-radius: 4px;

  border: 1px solid rgba(150, 150, 150, 0.466);
  border-width: 1px 1px 0 0;
}

.bottles-groups-frame__btn-config--bottleGroups {
  background-image: url('/static/img/bottle-cfg-group.png');
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
}

.bottles-groups-frame__btn-config:disabled {
  border: 1px solid rgba(150, 150, 150, 0);
  box-shadow: none;
  cursor: default;
}

.bottles-groups-frame__btn-config--bottleGroups:disabled {
  background-image: url('/static/img/bottle-cfg-group-disabled.png');
}

.bottles-groups-frame__btn-config--bottles {
  background-image: url('/static/img/bottle-cfg.png');
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
}

.bottles-groups-frame__btn-config--bottles:disabled {
  background-image: url('/static/img/bottle-cfg-disabled.png');
}


.btl-cfg-toggle {}

.btl-cfg-toggle .toggle-horizontal__label {
  font-weight: 400;
  color: rgb(187, 187, 187);
}

.btl-cfg-toggle .toggle-horizontal__label--ckecked {
  color: white;
}

.btl-cfg-toggle .checkbox-slider-horizontal {
  --toggle-margin: 3px;
}

.btl-popaps {
  display: none;
}

.btl-cfg-container {
  display: none;
}

.btl-cfg {}

.btl-cfg__elem:not(:first-child) {
  margin-top: 20px;
}

.btl-cfg__toolbar {
  display: flex;
}

.btl-cfg__toolbar-elem:not(:first-child) {
  margin-left: 5px;
}

.btl-cfg__toolbar-elem {
  cursor: pointer;
}

.btl-cfg__frame {
  overflow: hidden;
}

/* --------------- TABLE --------------- */
.btl-cfg-table {
  width: 100%;
  font-size: var(--table-body-font-size);
  border-collapse: collapse;
  color: white;
  border-radius: 12px;
}

.table-row-etalon {
  display: none;
}

.cell-align-center {
  text-align: center;
}

.btl-cfg-table__btl-icon {
  display: inline-block;
  padding: 3px 10px;
  height: 25px;
  width: 100%;
  cursor: pointer;
  transition: background .2s ease;
  border-radius: 13px;
  box-shadow: inset 0 1px rgb(255 255 255 / 6%), 0 1px 4px rgb(0 0 0 / 30%);
}

.btl-cfg-table__btl-icon:hover {
  background-color: rgba(255, 255, 255, 0.24);
}

.btl-cfg-table__btl-icon-img {
  width: auto;
  height: 100%;
}

.btl-cfg-table__cell {
  transition: background .1s ease;
}

.btl-cfg-table__cell-head {
  padding: 3px 5px;
  background-color: rgb(109, 109, 109);
  font-weight: 400;
  letter-spacing: .5px;
}

.btl-cfg-table__cell-body {
  padding: 2px;
}

.btl-cfg-table__cell-head:first-child {
  /* border-top-left-radius: 20px; */
}

.btl-cfg-table__cell-head:last-child {
  /* border-top-right-radius: 20px; */
}

.table-toolbar {
  display: flex;
  padding: 3px 0;
}

.table-toolbar__elem {
  flex: 1;
}

.table-toolbar__title {
  color: white;
  font-size: 18px;
  text-align: center;
}

.btl-cfg-table__row--selected .btl-cfg-table__cell {
  background-color: rgba(92, 199, 226, 0.404);
}

/* -------------- CONTROLS ------------- */
.color-widget {
  position: relative;
  display: inline-block;
}

.color-widget__layout {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAQCAYAAAB3AH1ZAAAAU0lEQVRIS2OcOXPmfwY84OzZs/ikGYyNjfHK49KfkpLCsG3btuWMow4YDYHREBjwEEhLS8NbDpCbz2GFAy79Tk5ODEuXLl3OOOqA0RAYDYGBDgEA8m6qcb3sNVEAAAAASUVORK5CYII=") !important;
  background-position: left top, left top !important;
  background-origin: padding-box, padding-box !important;
}

.color-widget__input {
  /* display: none; */
  visibility: hidden;
  position: absolute;
}

.color-widget__control {
  position: relative;
  --size: 20px;
  width: var(--size);
  height: var(--size);
  background-color: var(--value);
  border: 1px solid rgb(63, 63, 63);
  cursor: pointer;
}

.btl-cfg-table__input {
  font-size: var(--table-body-font-size);
}

.btl-cfg-table__input-text {
  max-width: none;
  width: 100%;
}

.btl-cfg-table__input-pos {
  max-width: 50px;
  text-align: center;
}

.btl-robo-checkbox {
  display: inline-flex;
}

.btl-robo-checkbox .mycheckbox__icon {
  background-color: rgb(99, 98, 98);
  border-color: rgb(114, 114, 114);
}

.btl-robo-checkbox .checkbox-icon__svg-path {
  color: rgb(99, 98, 98);
  transition: color .2s ease-in-out;
}

.btl-robo-checkbox:hover .checkbox-icon {
  background-color: rgb(177, 177, 177);
}

.btl-robo-checkbox:hover .checkbox-icon__svg-path {
  color: rgb(177, 177, 177);
}

.btl-robo-checkbox.mycheckbox--selected .checkbox-icon__svg-path {
  color: white;
}

.btl-cfg-table__select .myselect-widget__text--placeholder {
  font-size: 12px;
}

.btl-cfg-table__select .myselect-list__item {
  padding: 0 5px;
}

.btl-cfg-table__select .mycheckbox__label {
  font-size: var(--table-body-font-size);
}

.btl-cfg-table__select .myselect-widget__text {
  font-size: var(--table-body-font-size);
}

.btl-cfg-table__btl-icon-input {
  display: none;
}

.btl-tbl-widget {
  vertical-align: middle;
}

.table-toolbar__buttons {
  display: flex;
  align-items: center;
}

.btl-cfg__toolbar-elem {
  position: relative;
  cursor: pointer;
  transition: background .2s ease;
  border-radius: 13px;
  box-shadow: inset 0 1px rgb(255 255 255 / 6%), 0 1px 4px rgb(0 0 0 / 30%);
  background-color: #464646;
  border: none;
}

.btl-cfg__btn-default {
  color: rgb(211, 209, 209);
  padding: 4px 7px;
  font-weight: 300;
  font-size: 14px;
}

.btl-cfg__btn-default:hover {
  color: white;
}

.btl-cfg__toolbar-elem:hover {
  background-color: #5f5f5f;
}

.btl-cfg__btn-add {
  position: relative;
  --size: 26px;
  width: var(--size);
  height: var(--size);
  padding: 3px;
  border-radius: 5px;
}

.btl-cfg__btn-add__icon {
  position: relative;
  height: 100%;
}

.btl-cfg__btn-add__icon::before, .btl-cfg__btn-add__icon::after {
  position: absolute;
  content: '';
  margin-left: calc(50% - 1.5px);
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background-color: #00B132;
}

.btl-cfg__btn-add__icon::after {
  transform: rotate(90deg);
}

.btl-cfg__btn-del {
  padding: 3px;
  --size: 26px;
  width: var(--size);
  height: var(--size);
  border-radius: 5px;
}

.btl-cfg__btn-del__icon {
  width: 100%;
  height: 100%;
}

.btl-cfg__btn-del {
  background-color: #c54132;
}

.btl-cfg__btn-del__icon {
  fill: white;
}

.btl-cfg__btn-del:hover {
  background-color: #f1b4ad;
}

.btl-cfg__btn-del:hover .btl-cfg__btn-del__icon {
  fill: #c72412;
}

.btl-cfg__btn-del:disabled {
  background-color: #464646;
  box-shadow: none;
}

.btl-cfg__btn-del:disabled .btl-cfg__btn-del__icon{
  fill: rgb(139, 139, 139);
}

/* ICON GALLERY */
.gallery-popap .myselect-modal__content {
  max-width: 700px;
  width: 100%;
}

.gallery-popap .myselect-modal__footer {
  background-color: rgb(73, 73, 73);
}

.gallery-popap .myselect-modal__footer-content {
  display: flex;
  align-items: center;
  height: 100%;
}

.icon-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.icon-gallery__item {
  --gallery-item-width: 100px;
  --gallery-item-padding: 10px;
  --gallery-item-margin: 10px;
  width: var(--gallery-item-width);
  margin: var(--gallery-item-margin);
  padding: var(--gallery-item-padding);
}

.icon-gallery__icon {
  text-align: center;
  cursor: pointer;
  transition: background .2s ease;
  border-radius: 12px;
}

.icon-gallery__icon:hover {
  background-color: rgba(255, 255, 255, 0.144);
}

.icon-gallery__icon--selected, .icon-gallery__icon--selected:hover {
  background-color: rgba(92, 199, 226, 0.404);
}

.icon-gallery__icon-content {}

.icon-gallery__icon-img {
  width: 100%;
  height: 90px;
  object-fit: contain;
}

.icon-gallery__icon-title {
  margin-top: 10px;
  color: white;
  font-size: 12px;
}

.icon-gallery__spacer {
  width: calc(var(--gallery-item-width) + var(--gallery-item-margin) + var(--gallery-item-padding));
  margin: 0;
  padding: 0;
}

.icon-gallery-buttons {
  display: flex;
  justify-content: end;
  margin-left: -5px;
  padding: 3px 0;
  width: 100%;
}

.icon-gallery-buttons__elem {
  margin-left: 5px;
}

.gallery-img-form__input {
  display: none;
}
