#chatbots-available{
      height: 32px;
    align-self: center;
/*        position: absolute;*/
    right: 16px;
}
.block label{
  display: block;
}
.block{
  justify-content: center;
    /* align-items: center; */
    display: flex;
    flex-direction: column;
}
.block select{
  width: fit-content;
  height: 32px;
  margin-top: 6px;
}
#crm-main-buttons{
  box-sizing: border-box;
  position: relative;
display: flex;
justify-content: space-between;
    padding: 0px 16px;
/*padding: 0 0 12px 0;*/
width: 100%;
height: fit-content;
margin-top: 6px;
}
#crm-main-buttons fieldset{
  display: flex;
}
#add-category{
/*  margin-right: 5px;*/
  text-align: center;
}
#add-product, #upload-xls{
  margin-left: 10px;
  text-align: center;
}
#receipts-loader, #categories-loader, #products-loader{
  background: black;
  z-index: 8;
}
#crm-main-buttons fieldset legend{
	    width: auto;
    margin-left: auto;
    margin-right: auto;
}
/*.w50{
	width: 50%;
	margin-top: 10px;
    height: calc(50% - 10px);
}*/
.control-header{
	background: #6517ab;
    color: white;
    margin-top: 1px;
    padding: 9px 0 8px 0px;
    box-sizing: border-box;
    text-align: center;
    font-size: 20px;
    width: 100%;
    padding: 8px 16px;
}
#products-box .control-header{
	justify-content: space-between;
	display: flex;
	text-align: left;
	align-items: center;
}
.control-header .filters{
	display: flex;
	width: 100%;
}
.control-header .filters .filter-wrapper label{
font-size: 14px;
text-align: right;
}
.control-header .filters .filter-wrapper{
	display: flex;
	align-items: center;
	margin-left: 10px;
	width: 100%;
}
.control-header .filters .filter-wrapper input{
    margin: 0;
    height: 28px;
    padding: 0px 10px;
    box-sizing: border-box;
    outline: none;
    width: 100%;
    
}
.control-header .filters .filter-wrapper .icon{
    width: 32px;
    height: 27px;
    background: grey;
    align-items: center;
    display: flex;
    justify-content: center;
}
.control-header .filters .filter-wrapper .icon i{

}
.control-header .filters .filter-wrapper.stock-filter{
	width: 105px;
}
.control-header .filters .filter-wrapper .icon i span:before{
	color: white;
}
.control-header .filters .filter-wrapper input[type=checkbox]{
	width: 16px;
    height: 16px;
    margin-left: 6px;
}
#products-controls{
	padding: 10px 0 10px 0;
	    flex-flow: row;
/*    flex-wrap: wrap;*/
    /*flex-grow: 1;*/
    flex: 1;
    /*height: 50%;*/
}
#products-controls .adjust-frame{
	width: 100%
}
.adjust-frame.left{
	margin: 0 8px 0 16px;
}
.adjust-frame.right{
	margin: 0 16px 0 8px;
}

#receipts-sent .control-header{
	display: flex;
    align-items: center;
    justify-content: space-between;
}
.receipt-header-controls{
	display: flex;
	align-items: center;
}
#crm-controls{
	flex-flow: column;
	height: calc(100vh - 70px);
}
#switch-receipt-wrapper{
	display: flex;
	align-items: center;
	/*margin-right: 16px;
*/}
#switch-send-receipt{
	width: 42px;
    height: 12px;
	margin-left: 10px;
}
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(22px);
  -ms-transform: translateX(22px);
  transform: translateX(22px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.slider:before{
	height: 18px;
    width: 18px;
    left: 5px;
    bottom: -3px;
}
#change-receipt-format .icon-pencil{
	font-size: 16px;
    top: 9px;
    left: 9px;
}
#receipts-sent{
	margin: 0 16px;

}
#receipts-wrapper{
  position: relative;
	height: calc(100% - 60px);
	overflow: auto;
}
#crm-controls ol, #crm-controls ul{
	padding: 0;
	margin: 0;
}
.no-reg{
	display: block;
	margin-top: 10px;
  margin-left: 10px;
  color: black;
}
#receiver-phones-controls{

}
#receipt-controls{
	display: flex;
	/*flex: 1;*/
	height: 220px;
}
#receipts-sent{
	margin: 0 16px;
    width: 100%;
}
#receiver-phones-controls{
	width: 400px;
    margin-right: 16px;
}
#receipts-sent .control-header .text{
	text-align: left;
}
.send-info{
	display: flex;
    flex-flow: column;
}
.product .stock-info{
	background: black;
	color: white;
	margin-right: 10px;
}
.product .stock-info span{
	margin-left: 6px;
}
.product .selectable > div{
	display: flex;
}
.product .selectable{
	justify-content: space-between;
}
.send-info .text{
	font-size: 14px;
    margin: 6px 0;
}
.send-info fieldset{
	margin-top: 6px;
}
.send-info input:not([type=checkbox]){
	width: 100%;
	height: 32px;
	padding: 0 12px;
	box-sizing: border-box;
	margin-top: 8px;
}
.check-boxes{
	display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.check-wrapper{
	margin: 2px;
}
.send-info .button{
	margin-top: 8px;
	align-self: flex-end;
}
/*DYNAMIC FOMRMS*/
#tools-form h2{
	margin: 0;
	text-align: center;
}
.irow{
    display: flex;
    margin-top: 16px;
}
.icol{
	display: flex;
    flex-direction: column;
    width: 100%;
}
.irow .icol:nth-of-type(n+2){
	margin-left: 10px;
}
.icol label{

}
.icol .iwrapper{
	width: 100%;
	margin-top: 6px;
	display: grid;	
}
.icol .iwrapper select{
	padding: 0 6px;
    height: 32px;
    box-sizing: border-box;
    padding: 0 6px;
    height: 32px;
    box-sizing: border-box;
    justify-self: center;
}
.icol input{
	width: 100%;
	height: 32px;
	padding: 0 8px;
    box-sizing: border-box;
}
.icol textarea{
	padding: 12px;
    box-sizing: border-box;
	height: 100px;
}
.param-info{
	font-size: 12px;
	color: green;
}
.icol .button{
	padding: 8px 9px;
    text-align: center;
    font-size: 15px;
    width: 108px;
}

#imagePreview{
/*  position: relative;*/
  width: 100%; /* Set the width of the container as needed */
  position: absolute;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	height: 100%;
	object-fit: cover;
}
#save-product{
	justify-self: center;
}
/*DYNAMIC FORMS*/
.list-manager{
	margin: 0;
	padding: 0;
    width: 100%;
    
    display: flex;
    flex-wrap: wrap-reverse;
    /*justify-content: flex-end;*/
}
#products-wrapper{
  position: relative;
	overflow-y: auto;
	height: calc(100vh - 370px);
}
#category-wrapper{
  position: relative;
  overflow-y: auto;
  height: calc(100vh - 358px);
}
#products-controls .adjust-frame#category-box{
	width: 60%;
}
.list-manager li{
	 width: 100%;
    color: white;
    margin-top: 1px;
/*    padding: 12px 0 12px 0px;*/
    box-sizing: border-box;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.list-manager li .selectable:hover{
	background: rgba(0,0,0,0.8)
}
.list-manager li .selectable{
	display: flex;
	background: black;
    width: 100%;
    padding: 8px 0 8px 0px;
    color: white;
    text-decoration: none;
    font-size: 18px;
}
.list-manager li .f-n{
	    display: block;
    padding: 0px 11px;
}
.tool-icon i{
	align-self: center;
	font-size: 28px;
}
.tool-icon i.icon-pencil{
	font-size: 21px;
}
#app .tool-icon i span:before{
	color: white;
}

.tool-icon{
	width: 42px;
    text-align: center;
    background-color: #838383;
    border-top: 1px solid #838383;
    border-bottom: 1px solid #838383;
    height: 100%;
    box-sizing: border-box;
    display: block;
    /* vertical-align: -webkit-baseline-middle; */
    display: flex;
    justify-content: center;
}
.tool-icon:hover{
	background-color: rgba(131,131,131,0.7);
}
#upgrade .overlay{
  z-index: 9;
 background: rgb(0 0 0 / 40%) !important;

}

@media all and (max-width: 800px) {
  #crm-main-buttons{
    padding-left: 54px;
  }
  #crm-main-buttons fieldset{
    justify-content: center;
    width: 100%; 
    padding: 0px 10px 10px 10px;
  }
  #products-controls{
    flex-flow: column;
  }
  #products-controls .adjust-frame#category-box, #products-controls .adjust-frame{
    width: 100%;
    margin: 0px;
  }
  #crm-controls{
    padding: 0 10px;
    /*overflow: auto;*/
    flex: 1;
    height: auto;
  }
  #products-wrapper, #category-wrapper, #receipts-wrapper{
    height: 150px;
    background: #8080804a;
  }
  #products-box{
    margin-top: 10px !important;
  }
  #receipt-controls{
    flex-direction: column;
  }
  #receipts-sent{
    margin: 0;
  }
  #receipts-wrapper{
    height: 150px;
  }
  #receiver-phones-controls{
    margin-top: 10px;
    width: auto;
    margin-right: 0px;
  }
  main{
        display: flex;
    flex-flow: column;
  }
  fieldset .button{
    padding: 7px;
    font-size: 14px;
  }
  fieldset .button i{
    margin-right: 5px;
  }
  #chatbots-available{
    right: 13px;
    top: 20px;
  }
  body{
    overflow-y: auto;
  }
}