.box-photoeditor .box-modal{
  width: 100%;
	height: 100vh;
	z-index:100000;
	top:0;
}
.hideScroll{
  overflow: hidden;
}
.box-photoeditor .modal-body{
  background: #616161;
}
.box-photoeditor .modal-body, .box-photoeditor .modal-body > div{
  height: 100%;
}

.box-photoeditor .main-canvas-box {
  height: calc(100% - 47px);
  width: 100%;
  padding: 20px 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box-photoeditor .loading-spinner {
  position: absolute;
  margin: 0px auto;
  left: 0;
  right: 0;
  top: calc(50% - 30px);
  width: 60px;
  height: 60px;
}

.box-photoeditor .loading {
  position: absolute;
  width: 100%;
  z-index: 100;
  background: #c9c9c9;
  height: 100%;
  display: flex;
  align-items: center;
}
.box-photoeditor .loading .spinner {
  top:0
}

.box-photoeditor .switch{
  cursor: pointer;
}

.box-photoeditor .bg-transparent {
  background: transparent;
  background-image: url(/vue/img/bg2.png);
  background-repeat: repeat;
  background-size: 20px;
  display: inline-block;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  position: relative;
}

.box-photoeditor .bg-editor {
  background: url(/vue/img/editor.webp) center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: inline-block;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 82px);
}

/*
.box-photoeditor .btn svg{
  fill:#666
}
.box-photoeditor .btn:hover svg{
  fill:#333
}
  */

#canvasOrig {
  display: none;
}

.text-bold{
  font-weight: 600;
}

.box-photoeditor .input-select-color{
  width: 30px;
  height: 30px;
  border: 1px solid #9e9e9e;
  box-sizing: border-box;
  overflow: hidden;
  background-color: transparent;
  background-size: 10px;;
}
.box-photoeditor output {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;
  transform: translateX(-70%);
}
.box-photoeditor span.range-output {
  display: block;
  position: absolute;
  left: 10px;
  top: 25px;
  right: 10px;
  bottom: 0;
  pointer-events: none;
  font-size: 12px;
}

.box-photoeditor .box-palitra.palitra{
  position: relative;
}

.box-photoeditor .modal-body{
  border: none;
  padding: 0;
}
.box-row.disabled{
  /*color:#aaa;*/
  opacity:0.5
}

.box-disabled{
  color:#aaa;
  opacity:0.5;
}
.box-disabled button, .btn.disabled{
  pointer-events:none
}
.svg-flip{
  fill:#424242
}


/*=================range==============*/

input[type="range"][disabled]::-webkit-slider-runnable-track {
  background: #ccc;
}

input[type="range"][disabled]::-webkit-slider-thumb {
  border: 1px solid #ccc;
}

input[type="range"][disabled]:focus::-webkit-slider-runnable-track {
  background: #ccc;
}

input[type="range"][disabled]::-moz-range-track {
  background: #ccc;
}

input[type="range"][disabled]::-moz-range-thumb {
  border: 1px solid #ccc;
}

input[type="range"][disabled]::-ms-fill-lower {
  background: #ccc;
}

input[type="range"][disabled]::-ms-fill-upper {
  background: #ccc;
}

input[type="range"][disabled]::-ms-thumb {
  border: 1px solid #ccc;
}

input[type="range"][disabled]:focus::-ms-fill-lower {
  background: #ccc;
}

input[type="range"][disabled]:focus::-ms-fill-upper {
  background: #ccc;
}
  

/*============== lastik ===========*/
#lastik-box {
  background-color: transparent;
  width: 100%;
  height: 100%;
  position: relative;
  top: 0;
  left: 0;
  display: none;
}
#lastik-canvas-min {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
}
#lastik-canvas-big {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
#lastik-round {
  display: none;
  position: absolute;
  top: -200px;
  left: -200px;
  z-index: 6;
  border: 1px solid red;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: rgba(249, 253, 1, 0.438);
}
/*============== lastik ===========*/

/* ================ kselect =================*/
.box-photoeditor .kselect {
  min-width: 70px;
  max-width: 300px;
  border: 1px solid #a9a9a9 !important;
  border-radius: 3px;
  position: relative;
  font-size: 14px;
  display: flex;
  font-weight: 400;
  text-align: left;
  padding: 0 15px 0 0;
  cursor: pointer;
}
.box-photoeditor .kselect.disabled {
  color: #ccc;
  cursor: not-allowed;
}

.box-photoeditor .kselect .kselect-box {
  width: 100%;
  padding: 2px 6px;
  height: 26px;
  overflow: hidden;
  background: #fff;
}
.box-photoeditor .kselect .kselect-box {
  background: transparent;
}

.box-photoeditor .kselect .kselect-box span {
  display: inline;
}

.box-photoeditor.kselect .kselect-box span:first-child {
  right: auto;
}

.box-photoeditor .kselect .kselect-text {
  width: 100%;
  position: relative;
  top: 4px;
  overflow: hidden;
  white-space: nowrap;
  line-height: 1.2;
  display: inline-block !important;
}

.box-photoeditor .kselect .kselect-arrow {
  width: 22px;
  position: absolute;
  top: -5px;
  right: -5px;
}

.box-photoeditor .kselect .kselect-arrow svg {
  position: absolute;
  top: 8px;
  right: 6px;
  width: 14px;
}

.box-photoeditor .kselect .kselect-option {
  padding: 0;
  position: absolute;
  background: #fff;
  z-index: 100;
  border: 1px solid #a9a9a9 !important;
  top: 26px;
  left: -1px;
  margin: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.box-photoeditor .kselect .kselect-option div {
  padding: 4px 6px;
}

.box-photoeditor .kselect .kselect-option div:hover {
  background: #e0e0e0;
}

/* ================ kselect =================*/
.box-photoeditor .box-modal {
  padding-bottom: 0;
}

.box-photoeditor .modal-body > div {
  display: flex;
  min-height: 530px;
}

.box-photoeditor .modal-body .body-left {
  flex-grow: 1;
}

.box-photoeditor .modal-body .body-right {
  width: 320px;
  padding: 20px 8px 20px 10px;
  background-color: #fff;
}

.box-photoeditor .box-row button.btn {
  padding: 4px 20px;
  width: auto;
}

.box-photoeditor .box-row .grid-row button.btn {
  padding: 4px 20px;
  width: calc(100% - 10px);
}

.svg-btn {
  display: inline-block;
  cursor: pointer;
  width: 60px;
  text-align: center;
  color:#555;
}
.svg-btn > label {
  display: block;
  width: 100%;
  text-align: center;
}
.svg-btn > svg, .svg-btn > span > svg {
  fill: #424242;
}
.svg-btn:hover > svg, .svg-btn:hover > span > svg {
  fill: #0288d1;
}
.svg-btn > span {
  display: flex;
  align-items: center;
  justify-content: center;
}
.svg-btn > span > svg {
  margin-right: 10px;
}

.svg-btn:hover > svg {
  fill: #0288d1;
}

.svg-btn.btn-large{
  padding: 10px;
  width: 100% !important;
  height: 38px;
}
.svg-btn.btn-large>span>span:first-child{
  margin-right: 10px;
  font-size: 20px;
}

.svg-btn-open {
  cursor: pointer;
  margin-left: 10px;
}
div.svg-btn-open,
div.svg-btn-text {
  float: left;
  min-height: 20px;
}
.svg-btn-open > svg {
  fill: #424242;
  position: relative;
  top: -2px;
}

/* =============== кнопки настроект блока =================*/
.btn-edit-object {
  position: absolute;
  max-width: 300px;
  height: 30px;
  border-radius: 50%;
  z-index: 1000;
  padding: 4px;
  background: #0288d1;
  border: 1px solid #fff;
  text-align: center;
  left: -2000px;
  top: -2000px;
}

.btn-edit-object .svg-icon {
  width: 30px;
  margin-right: 10px;
  cursor: pointer;
  display: inline-block;
}
.btn-edit-object .svg-icon svg {
  fill: #fff;
}
.btn-edit-object .svg-icon svg:hover {
  fill: #fff;
}

.btn-edit-object.group {
  position: relative;
  width: 100%;
  height: 20px;
  border-radius: 0;
  z-index: 1000;
  padding: 4px;
  background: #fff;
  border: none;
  text-align: center;
  left: 0;
  top: 10px;
}

.btn-edit-object.group .svg-icon svg {
  fill: #424242;
}
.btn-edit-object.group .svg-icon svg:hover {
  fill: #0288d1;
}

.btn-edit-object.multi {
  max-width: 200px;
  border-radius: 0;
  background: #fff;
  box-shadow: 0px 0px 5px #000;
}
.btn-edit-object.multi .svg-icon {
  width: 20px;
  margin-right: 10px;
  top: 0;
  cursor: pointer;
  display: inline-block;
}

.btn-edit-object.multi .svg-icon svg {
  fill: #424242;
}
.btn-edit-object.multi .svg-icon svg:hover {
  fill: #0288d1;
}

.btn-edit-object.multi .btns {
  display: flex;
  max-width: 300px;
  align-items: center;
  height: 100%;
}
.btn-edit-object.multi .btns > div {
  line-height: 1;
  margin: 0 10px;
  cursor: pointer;
}

/* =============== кнопки настроект блока =================*/

.tint-canvas {
  width: calc(100% - 321px);
  height: calc(100% - 21px);
  position: absolute;
  top: 0;
  display: flex;
  align-items: center;
  z-index: 9;
  background-color: #222;
  text-align: center;
  color: #fff;
}

.tint {
  filter: grayscale(1) brightness(0.1);
}

.tint-canvas > div {
  width: 100%;
}
.wait {
  width: 380px;
  height: 100%;
  position: absolute;
  z-index: 20;
  background: #00000005;
  right: 0;
  display: none;
}
.wait.uk-active {
  display: block;
}
