
/*=============================================
/*
/*                  STUDIO
/*
/==============================================*/
:root{
  --lightbox-width:500px;
  --lightbox-textarea-height-mode:unbounded;
  --lightbox-textarea-height:unset;
  --lightbox-textarea-right-padding:0px;
  --lightbox-textarea-scrollbar-thumb-color:#C788FD;
  --lightbox-textarea-scrollbar-track-color:#5D5D5D;
  --lightbox-background:#262626;
  --lightbox-color:#FFFFFF;
  --lightbox-border-radius:8px;
  --lightbox-border-thickness:2px;
  --lightbox-border-color:#707070;
  --lightbox-close-color:#FFFFFF;
  --lightbox-close-hover-color:#FFFFFF;
  --lightbox-header-margin:0 25px;
  --lightbox-header-media-width:auto;
  --lightbox-header-media-max-width:calc(100% - 50px);
  --lightbox-header-media-max-height:300px;
  --lightbox-header-media-radius:0px;

  --lightbox-body-padding:35px 0 0 0;
  --lightbox-body-header-close-visible:visible;

  --lightbox-content-font-family:inherit;
  --lightbox-content-header-close-visible:hidden;
  --lightbox-header-media-mode:"fill";
  --lightbox-content-links-underlined:"none";
  --lightbox-content-links-bold:"normal";
  --lightbox-content-links-italic:"normal";
  --lightbox-content-links-color:#C788FD;
  --lightbox-content-links-hover-color:#C788FD;
  --lightbox-content-margin:10px 25px 10px 25px;

  --button-font-family:inherit;
  --button-background:#FFFFFF;
  --button-hover-background:#FFFFFF;
  --button-color:#262626;
  --button-hover-color:#262626;
  --button-border-radius:8px;
  --button-border-thickness:2px;
  --button-hover-border-thickness:2px;
  --button-border-color:#FFFFFF;
  --button-hover-border-color:#FFFFFF;
  --button-underlined:"none";
  --button-bold:"normal";
  --button-italic:"normal";
  --button-margin-top-bottom:16px;
  --button-margin-left-right:16px;
  --button-padding-top-bottom:8px;
  --button-padding-left-right:16px;
  --button-min-width:50%;
  --button-alignment:center;
}

:root[data-skin="dark"]{
  --lightbox-width:500px;
  --lightbox-textarea-height-mode:unbounded;
  --lightbox-textarea-height:unset;
  --lightbox-textarea-right-padding:0px;
  --lightbox-textarea-scrollbar-thumb-color:#C788FD;
  --lightbox-textarea-scrollbar-track-color:#5D5D5D;
  --lightbox-background:#262626;
  --lightbox-color:#FFFFFF;
  --lightbox-border-radius:8px;
  --lightbox-border-thickness:2px;
  --lightbox-border-color:#707070;
  --lightbox-close-color:#FFFFFF;
  --lightbox-close-hover-color:#FFFFFF;
  --lightbox-header-margin:0 25px;
  --lightbox-header-media-width:auto;
  --lightbox-header-media-max-width:calc(100% - 50px);
  --lightbox-header-media-max-height:300px;
  --lightbox-header-media-radius:0px;

  --lightbox-body-padding:35px 0 0 0;
  --lightbox-body-header-close-visible:visible;

  --lightbox-content-font-family:inherit;
  --lightbox-content-header-close-visible:hidden;
  --lightbox-header-media-mode:"fill";
  --lightbox-content-links-underlined:"none";
  --lightbox-content-links-bold:"normal";
  --lightbox-content-links-italic:"normal";
  --lightbox-content-links-color:#C788FD;
  --lightbox-content-links-hover-color:#C788FD;
  --lightbox-content-margin:10px 25px 10px 25px;

  --button-font-family:inherit;
  --button-background:#FFFFFF;
  --button-hover-background:#FFFFFF;
  --button-color:#262626;
  --button-hover-color:#262626;
  --button-border-radius:8px;
  --button-border-thickness:2px;
  --button-hover-border-thickness:2px;
  --button-border-color:#FFFFFF;
  --button-hover-border-color:#FFFFFF;
  --button-underlined:"none";
  --button-bold:"normal";
  --button-italic:"normal";
  --button-margin-top-bottom:16px;
  --button-margin-left-right:16px;
  --button-padding-top-bottom:8px;
  --button-padding-left-right:16px;
  --button-min-width:50%;
  --button-alignment:center;
}

:root[data-skin="light"]{
  --lightbox-width:500px;
  --lightbox-textarea-height-mode:unbounded;
  --lightbox-textarea-height:unset;
  --lightbox-textarea-right-padding:0px;
  --lightbox-textarea-scrollbar-thumb-color:#C788FD;
  --lightbox-textarea-scrollbar-track-color:#5D5D5D;
  --lightbox-background:#FFFFFF;
  --lightbox-color:#262626;
  --lightbox-border-radius:8px;
  --lightbox-border-thickness:2px;
  --lightbox-border-color:#707070;
  --lightbox-close-color:#262626;
  --lightbox-close-hover-color:#262626;
  --lightbox-header-margin:0 25px;
  --lightbox-header-media-width:auto;
  --lightbox-header-media-max-width:calc(100% - 50px);
  --lightbox-header-media-max-height:300px;
  --lightbox-header-media-radius:0px;

  --lightbox-body-padding:35px 0 0 0;
  --lightbox-body-header-close-visible:visible;

  --lightbox-content-font-family:inherit;
  --lightbox-content-header-close-visible:hidden;
  --lightbox-header-media-mode:"fill";
  --lightbox-content-links-underlined:"none";
  --lightbox-content-links-bold:"normal";
  --lightbox-content-links-italic:"normal";
  --lightbox-content-links-color:#C788FD;
  --lightbox-content-links-hover-color:#C788FD;
  --lightbox-content-margin:10px 25px 10px 25px;

  --button-font-family:inherit;
  --button-background:#262626;
  --button-hover-background:#262626;
  --button-color:#FFFFFF;
  --button-hover-color:#FFFFFF;
  --button-border-radius:8px;
  --button-border-thickness:2px;
  --button-hover-border-thickness:2px;
  --button-border-color:#262626;
  --button-hover-border-color:#262626;
  --button-underlined:"none";
  --button-bold:"normal";
  --button-italic:"normal";
  --button-margin-top-bottom:16px;
  --button-margin-left-right:16px;
  --button-padding-top-bottom:8px;
  --button-padding-left-right:16px;
  --button-min-width:50%;
  --button-alignment:center;
}

*{
  scrollbar-color:rgb(199, 136, 253)  #5D5D5D;
  scrollbar-width:thin;
}

*::-webkit-scrollbar{
  width: 12px;
}

*::-webkit-scrollbar-track{
  background: #5D5D5D
}

*::-webkit-scrollbar-thumb{
  background-color: rgb(199, 136, 253);
}

/*=============== FIXURE =================*/
.fixure{
  background-color: #262626;
  margin-top: 1rem;
  border-radius: 10px;
  padding: 0.5rem 1.5rem;
  font-size: 20px;
}

/*=============== ZOOMERS =================*/
.step-zoomer{
  position: relative;
  display: inline-block;
  width: 500px;
  height: 0.4rem;
  cursor: pointer;
  vertical-align: middle;
  margin: 0 1vmax;
  border-radius: 0.5vmax;
  background: linear-gradient(to right,rgb(199, 136, 253) 0%, rgb(199, 136, 253) 0%, white 0%, white 100%);
  margin: 0;
}

.step-zoomer .thumb{
  position: absolute;
  height: 20px;
  width: 20px;
  background-color: rgb(199, 136, 253);
  cursor: pointer;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}

/*=============== GRAB-TO-PAN =================*/
.grab-to-pan-grabbing {
    cursor: url("grabbing.cur"), move !important;
    cursor: -webkit-grabbing !important;
    cursor: -moz-grabbing !important;
    cursor: grabbing !important;
}

.grabbing{
  cursor: -webkit-grabbing !important;
  cursor: -moz-grabbing !important;
  cursor: grabbing !important;
}

/*=============================================
/*
/*                STUDIO
/*
/==============================================*/
/*=============== IMAGE DROP =================*/

#img-drop[data-state="off"]{
  display: none;
}

/*=============== DROP WORKSPACE =================*/
#drop-wks{
  position: relative;
  height: calc(100vh - 26rem);
  max-height: calc(100vh - 26rem);
  text-align: center;
  margin: auto auto 1rem auto;
}

@media only screen and (max-width: 1000px){
  #drop-wks{
    display: none;
  }
}

/*=============== DROP ZONE =================*/
.drop-zone{
  position: relative;
  width: calc(100% - 8rem);
  height: calc(100vh - 26rem);
  margin: 2rem 4rem;
  border-radius: 10px;
  border: solid #707070 2px;
  background-image: url(/images/nightsky.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  cursor: pointer;
  display: none;
}

@media only screen and (max-width: 1280px){
  .drop-zone{
    pointer-events:none;
  }
}

.drop-zone[data-state="on"]{
  display: block;
}

.drop-zone .area{
  position: absolute;
  width: 90%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 1.15rem;
}

.drop-zone .area p{
  margin:0 0 0.5rem 0;
}

.drop-zone .area p.wrong-img{
  margin:0 0 0.75rem 0;
  display: none;
}

.drop-zone .area p.wrong-img[data-state="on"]{
  display: inline-block;
}

.drop-zone[data-state="shrunked"]{
  width: 20%;
  display: inline-block;
  height: calc(100vh - 28rem);
  margin: 0 0 0 1rem;
  padding: 1rem;
}

.drop-zone.highlight{
  background-image:unset;
  background-repeat: unset;
  background-attachment: unset;
  background-position: unset;
  background-size: unset;
  background: linear-gradient(.25turn, rgb(199, 136, 253),rgb(199, 136, 253) 5%, rgb(138, 2, 255));
}

#img-drop-video{
  width: 100%;
  padding:2rem 0;
  text-align: center;
}

#img-drop-video h2{
  font-weight: normal;
}

@media (max-width: 700px) {
  #img-drop-video h2{
    font-size: 1.25rem;
  }
}

#img-drop-video #img-drop-video-cont{
  width: 50%;
  margin: auto;
  padding:0;
}

@media (max-width: 1280px) {
  #img-drop-video #img-drop-video-cont{
    width: unset;
  }
}

#img-drop-video div[data-provider="yt"]{
  position: relative;
  padding-bottom:56.2%;
  height: 0;
}

/*=============== PREVIEW ZONE =================*/
.preview-zone{
  display: none;
  max-height: inherit;
  max-width: 75%;
  text-align: right;
  vertical-align:top;
  margin-right: 1rem;
}

.preview-zone img{
  max-height: inherit;
  max-width: inherit;
  border-radius: 10px;
}

.preview-zone[data-state="on"]{
  display: inline;
}

/*=============== COMMANDS =================*/
#studio .cmds-cont{
  margin: 1rem 0;
}

#studio .cmds-cont.bottom-full{
  text-align: center;
  position: absolute;
  bottom: 1rem;
  width: calc(100% - 3rem);
}

#studio .cmds-cont.full .button,
#studio .cmds-cont.bottom-full .button{
  width: calc(100% - 5rem);
  position: relative;
  margin: 0;
}

/*################### IMG WKS ########################*/
#img-wks{
  position: relative;
  width: 98%;
  margin: auto;
  padding: 0.5rem;
  display: none;
}

#img-wks[data-state="on"]{
  display: block;
}

/*============== IMG CANVAS ===============*/
#img-canvas{
  max-height: inherit;
  text-align: center;
  vertical-align: top;
  margin-right: 0.5rem;
  display: inline-block;
  width: calc(100% - 675px);
  background-color: #262626;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  overflow: hidden;
}

#canvas-cmds,
#model-cmds{
  position: relative;
  display: inline-block;
  background-color: #1f1f1f;
  margin: 0rem 0;
  border-radius: 10px;
  padding: 0.5rem 1rem;
  font-size: 1.5rem;
  margin-top: 1rem;
}

#canvas-cmds i{
  padding: 0 0.5rem;
}

#model-panels #preview-cmds p{
  font-size: 1.25rem;
  text-align: justify;
}

#canvas-svg{
  position: relative;
  text-align: center;
  margin-top: 1rem;
  overflow: auto;
}

#canvas-svg svg{
  display: block;
  position: relative;
}

#canvas-svg svg,
#canvas-svg svg g,
#canvas-svg svg path{
  outline:none;
}

#canvas-svg svg[data-stage="extract"]{
  cursor: not-allowed;
}

#canvas-svg svg[data-masked="on"] g[data-masking="active"] path{
  fill: #000;
  fill-opacity: 0.5;
}

#canvas-svg svg[data-masked="on"] g[data-masking="inactive"] path{
  fill: ##fff;
  fill-opacity: 0.8;
}

#zone_canvas{
  position: relative;
  /*padding-right: 4px;*/
  height: 100%;
  display: none;
}

#zone_canvas[data-state="render-img"]{
  background: #fff;
}

#canvas-svg svg path[data-stage="extract"]{
  cursor: default;
}

/*============== SIDE PANELS ===============*/
#side-panels{
  position: absolute;
  text-align: center;
  width: 650px;
  margin: 0 0 0 0.5rem;
  display: inline-block;
}

#side-panels[data-state="off"]{
  display: none;
}

/*============== IMG MODEL ===============*/
#img-model{
  position: relative;
  border-radius: 10px;
  background-color: #262626;
  width: 100%;
}

/*============== MODEL PANELS===============*/
#model-panels{
  padding: 0.5rem 1.5rem;
  font-size: 1.25rem;
  text-align: left;
}

#model-panels p{
  font-size: 1rem;
  margin: 0.25rem 0;
}

#model-panels .far,
#model-panels .fa-regular,
#model-panels .fab,
#model-panels .fa-brands{
  font-size: 1.5rem;
  cursor: pointer;
}

#model-groups .model-menubar{
  height: 2.5em;
  text-align: center;
}

#model-groups .model-menubar span{
  margin: 0.5em;
  padding:0.25em 0.75em 0.25em 0;
  cursor: pointer
}

#model-groups .model-menubar span i{
  padding-right: 0.5em;
  vertical-align: middle;
}

#model-groups .model-menubar span:not(:last-child){
  border-right: solid 1px #fff;
}

#model-groups .model-menubar span[data-state="on"]{
  color: rgb(199, 136, 253);
  cursor: default;
}

/*============== MODEL COLLECTION===============*/
.model-collection{
  margin-top: 1.5rem;
  display: none;
}

.model-collection[data-state="on"]{
  display: block;
}

.model-listitems,
#new-group,
#model-global-settings{
  display: none;
}

.model-listitems[data-state="on"],
#new-group[data-state="on"],
#model-global-settings[data-state="on"]{
  display: block;
}

#model-global-settings{
  padding:0.5em;
}

#model-global-settings .bubble-skins{
  margin-top: 1em;
}

#model-global-settings .bubble-skins .bubble-skins-listing{
  padding: 1em;
}

#model-global-settings .bubble-skins .new-bubble-skin{
  margin-left: 0;
}

.bubble-skins-listing .selected{
  color: rgb(199, 136, 253);
  padding-bottom: 1em;
  position: relative;
  display: none;
}

.bubble-skins-listing .selected[data-state="on"]{
  display: block;
}

.bubble-skins-listing .selected i{
  margin-right: 0.5em;
}

.bubble-skins-listing .selected #rename{
  display: inline-block;
  /*cursor: pointer;*/
}

.bubble-skins-listing .selected #rename #rename-read-only,
.bubble-skins-listing .selected #rename #rename-input{
  position: relative;
  display: none;
}

.bubble-skins-listing .selected #rename #rename-read-only .name{
  text-overflow: ellipsis;
  width: 450px;
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
  line-height: 2em;
  vertical-align: middle;
}

.bubble-skins-listing .selected #rename #rename-read-only .fa-pen{
  vertical-align: middle;
  display: inline-block;
}

.bubble-skins-listing .selected #rename #rename-read-only[data-state="on"],
.bubble-skins-listing .selected #rename #rename-input[data-state="on"]{
  display: inline-block;
}

.bubble-skins-listing .selected #rename #rename-input input[type="text"]{
  display: inline;
  height: 0.5em;
  padding-right:45px;
  padding-left: 45px;
  max-width: 10em;
}

.bubble-skins-listing .selected #rename #rename-input i{
  position: absolute;
  top: 0;
  line-height: 1.75em;
  cursor: pointer;
}

.bubble-skins-listing .selected #rename #rename-input i.close{
  left: 10px;
}

.bubble-skins-listing .selected #rename #rename-input i.save-input{
  right: 0;
}

.bubble-skins-listing .selected #rename #rename-input i[data-state="off"]{
  display: none;
}

.bubble-skins-listing .selected .cmds{
  position: absolute;
  display: inline-block;
  right: 0;
  line-height: 2em;
}

.bubble-skins-listing .selected .cmds i{
  cursor: pointer;
}

.bubble-skins-listing .listing{
  padding: 1em;
  margin-right: 2em;
  background: #1f1f1f;
  color:  rgb(199, 136, 253);
  border-radius: 10px;
  max-height: 15em;
  overflow-y: auto;
}

.bubble-skins-listing .listing .new-bubble-skin{
  margin-left: 0;
}

.bubble-skins-listing .listing .items .item{
  cursor:pointer;
}

.bubble-skins-listing .listing .items .item:hover,
.bubble-skins-listing .listing .items .item:focus,
.bubble-skins-listing .listing .items .item:active,
.bubble-skins-listing .listing .items .item[data-selected]{
  color: rgb(199, 136, 253);
}


#model-global-settings #awareness-picker,
#model-global-settings #shade-picker{
  margin: 0.5em 0 1em 0;
}

#model-global-settings .custom-color-picker{
  position: relative;
  height: 180px;
  display: none;
}

#model-global-settings .custom-color-picker[data-state="on"]{
  display: block;
}

#model-global-settings .custom-color-picker[data-state="on"] .clr-picker #clr-color-value{
  min-width: unset;
  margin: auto;
  margin-top: 1em;
}

#model-global-settings #interactivity-opacity .opacity-slider .min-range,
#model-global-settings #interactivity-opacity .opacity-slider .max-range{
  display: inline-block;
  font-size: 90%;
  color: #fff;
}

#model-global-settings #interactivity-opacity .opacity-slider .min-range{
  width: 74%;
}

#model-global-settings #interactivity-opacity .opacity-slider input[type=range] {
  display: block;
  outline: 0;
  border: 0;
  border-radius: 500px;
  width: 80%;
  transition: box-shadow 0.2s ease-in-out;
}

#model-global-settings .custom-color-picker .clr-segmented label{
  display: block;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  #model-global-settings #interactivity-opacity .opacity-slider input[type=range] {
    overflow: hidden;
    height: 1.5vmax;
    -webkit-appearance: none;
    background-color: #ffffff;
  }
  #model-global-settings #interactivity-opacity .opacity-slider input[type=range]::-webkit-slider-runnable-track {
    height: 1.5vmax;
    -webkit-appearance: none;
    color: #444;
    -webkit-transition: box-shadow 0.2s ease-in-out;
    transition: box-shadow 0.2s ease-in-out;
  }
  #model-global-settings #interactivity-opacity .opacity-slider input[type=range]::-webkit-slider-thumb {
    width: 1.5vmax;
    -webkit-appearance: none;
    height: 1.5vmax;
    cursor: ew-resize;
    background: rgb(138, 2, 255);
    box-shadow: -340px 0 0 327px rgb(199, 136, 253), inset 0 0 0 3px rgb(199, 136, 253);
    border-radius: 50%;
    -webkit-transition: box-shadow 0.2s ease-in-out;
    transition: box-shadow 0.2s ease-in-out;
    position: relative;
  }
  #model-global-settings #interactivity-opacity .opacity-slider input[type=range]:active::-webkit-slider-thumb {
    background: rgb(138, 2, 255);
    box-shadow: -340px 0 0 327px rgb(199, 136, 253), inset 0 0 0 3px rgb(199, 136, 253);
  }
}

/*============== MODEL BUBBLE===============*/
#model-bubble-settings-types,
#model-bubble-settings{
  font-size:1.25rem;
  display: none;
}

#model-bubble-settings-types[data-state="on"],
#model-bubble-settings[data-state="on"]{
  display: block;
}

#model-bubble-settings .def-message{
  display: none;
}

#model-bubble-settings .def-message[data-state="on"]{
  display: inline;
}

#model-bubble-settings #theme-picker{
  margin: 1rem 0;
}

#model-bubble-settings .theme-picker-custom{
  margin-top: 1em;
  display: none;
}

#model-bubble-settings .theme-picker-custom[data-state="on"]{
  display: block;
}

#model-bubble-settings .theme-picker-custom .new-bubble-skin{
  margin-left: 0;
}

#model-bubble-settings .theme-img{
  display: inline-block;
  cursor: pointer;
}

#model-bubble-settings .themes{
  margin: 0;
  text-align: center;
}

#model-bubble-settings .theme-img img{
  max-width: 150px;
  border-radius: 10px;
  margin: 0 1rem 1rem 1rem;
  vertical-align: middle;
  border: solid 4px #000;
}

#model-bubble-settings .theme-img:hover img,
#model-bubble-settings .theme-img:focus img,
#model-bubble-settings .theme-img:active img,
#model-bubble-settings .theme-img[data-state="selected"] img{
  border-color:rgb(199, 136, 253);
}

#model-bubble-settings .feedback{
  margin-bottom: 1rem;
}

#model-bubble-settings .bubble{
  margin: 0.5rem 2rem 0.5rem 0;
  padding: 1rem;
  border-radius: 10px;
  position: relative;
}

#model-bubble-settings .bubble #bubble-settings-editorjs .ce-block__content,
#model-bubble-settings .bubble #bubble-settings-editorjs .ce-toolbar__content{
  max-width: unset;
}

#model-bubble-settings .bubble #bubble-settings-editorjs .ce-block--selected,
#model-bubble-settings .bubble #bubble-settings-editorjs .ce-block--selected .ce-block__content,
#model-bubble-settings .bubble #bubble-settings-editorjs .ce-popover-item:hover:not(.ce-popover-item--no-hover),
#model-bubble-settings .bubble #bubble-settings-editorjs .cdx-settings-button:hover{
  background: rgb(199, 136, 253);
}

#model-bubble-settings .bubble.dark,
#model-bubble-settings .bubble.custom{
  background-color: #1f1f1f;
}

#model-bubble-settings .bubble.light{
  background-color: #fff;
}

#model-bubble-settings .bubble .fa-xmark,
#model-bubble-settings  #bubble-video-settings .fa-xmark,
#model-bubble-settings .bubble .fa-video-plus{
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 1.25rem;
  cursor: pointer;
  display: none;
}

#model-bubble-settings .bubble.light .fa-video-plus,
#model-bubble-settings .bubble.light #bubble-video-cont .msg,
#model-bubble-settings .bubble.light .image .msg{
  color: #1f1f1f;
}

#model-bubble-settings .bubble .inline.fa-video-plus{
  position: relative;
  font-size: 1.5rem;
  top: unset;
  right: unset;
  display: block;
}

#model-bubble-settings .bubble .fa-floppy-disk,
#model-bubble-settings  #bubble-video-settings .fa-floppy-disk{
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  font-size: 1.25rem;
  cursor: pointer;
}

#model-bubble-settings .bubble .fa-xmark,
#model-bubble-settings  #bubble-video-settings .fa-xmark,
#model-bubble-settings .bubble .fa-video-plus[data-state="on"]{
  display: block;
}

#model-bubble-settings .bubble .image{
  width: 100%;
  height: 300px;
  text-align: center;
  position: relative;
}

#model-bubble-settings .bubble .image[data-state="off"]{
  display: none;
}

#model-bubble-settings .bubble .image #bubble-image-input{
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

#bubble-image-drop-zone.highlight{
  background: linear-gradient(.25turn, rgb(199, 136, 253),rgb(199, 136, 253) 5%, rgb(138, 2, 255));
}

#model-bubble-settings .bubble .image .msg{
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

#model-bubble-settings #bubble-video-cont .msg{
  width: 100%;
  position: relative;
  padding: 2rem 0;
  text-align: center;
  cursor: pointer;
}

#model-bubble-settings #bubble-video-cont .msg[data-state="off"]{
  display: none;
}

#model-bubble-settings .bubble .image .msg[data-state="off"]{
  display: none;
}

#model-bubble-settings .bubble .image #bubble-image{
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  display: none;
}

#model-bubble-settings .bubble .image #bubble-image[data-state="on"]{
  display: inline-block;
}

#model-bubble-settings .bubble #bubble-video-cont{
  width: 100%;
  margin: 1rem 0 0 0;
  padding:0;
  display: none;
}

#bubble-video-feedback{
  color: #fff;
}

#model-bubble-settings .bubble #bubble-video-cont[data-state="on"]{
  display: block;
}

#model-bubble-settings .bubble #bubble-video-instance[data-provider="yt"],
#model-bubble-settings .bubble #bubble-video-instance[data-provider="vimeo"]{
  position: relative;
  padding-bottom:56.2%;
  height: 0;
}

#model-bubble-settings .bubble #bubble-video-instance[data-provider="vimeo"][data-orientation="portrait"]{
  padding-bottom: 100%;
  background-color: #000;
}

#model-bubble-settings .bubble #bubble-video-instance #bubble_yt_video,
#model-bubble-settings .bubble #bubble-video-instance #bubble_vimeo_video iframe{
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  border: none;
} 

#model-bubble-settings .setting.light{
  color: #1f1f1f;
}

#studio #model-bubble-settings #out-flow,
#studio #model-bubble-settings #in-flow,
#studio #model-interactivity-link #out-link-flow,
#studio #model-interactivity-link #in-link-flow{
  display: none;
}

#studio #model-bubble-settings #out-flow[data-state="on"],
#studio #model-bubble-settings #in-flow[data-state="on"],
#studio #model-interactivity-link #out-link-flow[data-state="on"],
#studio #model-interactivity-link #in-link-flow[data-state="on"]{
  display: block;
}

#studio #model-bubble-settings .bubble .cmds-cont{
  margin: 1rem 0;
  text-align: center;
}

#model-bubble-settings .bubble .cmds-cont .button{
  position: relative;
  min-height: 1.5rem;
  margin: auto;
  max-width: calc(90% - 3rem);
  hyphens: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: none;
}

#model-bubble-settings .bubble .cmds-cont .button[data-state="on"]{
  display: inline-block;
}

#model-bubble-settings .bubble.dark .cmds-cont .button,
#model-bubble-settings .bubble.custom .cmds-cont .button{
  color: #1f1f1f;
  background-color: #fff;
}

#model-bubble-settings .bubble.light .cmds-cont .button{
  color: #fff;
  background-color: #1f1f1f;
}

#model-bubble-settings #bubble-video-settings{
  position: absolute;
  right: 0;
  left: -100px;
  bottom: 100%;
  margin-bottom: 5px;
  padding: 1.5rem 1rem 1rem 1rem;
  border-radius: 5px;
  background-color: rgb(199, 136, 253);
  z-index: 5;
  display: none;
}

#model-bubble-settings #bubble-video-settings{
  width: 450px;
  margin: 5px auto;
  bottom: unset;
  left: 0;
}

#model-bubble-settings #bubble-video-settings[data-state="on"]{
  display: block;
}
#model-bubble-settings #bubble-video-settings div{
  margin-top: 1rem;
}

#model-bubble-settings #bubble-video-settings input[type="text"]{
  max-width: 100%;
  min-width: unset;
  width: calc(100% - 1rem);
  margin: 5px auto;
  font-size: 1rem;
}


#model-bubble-settings #bubble-video-settings input[type="radio"]:checked{
  border-color: #ffffff;
  background: radial-gradient(farthest-side,#ffffff 94%,#0000) 50%/0 0 no-repeat content-box;
  background-size: 100% 100%;
}

#model-bubble-settings #bubble-video-settings  #cmd-save-video-settings{
  text-align: right;
  text-decoration: underline;
  cursor: pointer;
}

#model-bubble-settings #cta{
  margin: 1.5rem 0 0 0;
}

#model-bubble-settings #cta-entries{
  margin-bottom: 1.5rem;
  display: none;
}

#model-bubble-settings #cta-entries[data-state="on"]{
  display: block;
}

#model-bubble-settings #cta-entries input[type="text"]{
  min-width: unset;
  width: 30%;
  margin: 0 0 10px 0;
}

#model-bubble-settings-types #interactivity-content-types{
  margin: 0.5em 0;
}

#model-bubble-settings-types #interactivity-content-types label{
  margin-right: 1em;
}





#bubble-custom-skin-preview{
  display: flex;
  flex-flow: column;
  width: auto;
  height: inherit;
  flex: 1 1 auto;
  align-items: center;
  background-color: #1f1f1f;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  max-height: 100vh;
}

#bubble-custom-skin-preview[data-orientation="landscape"]{
  width: 100%;
}

#bubble-custom-skin-preview svg{
  height: 100%;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

#bubble-custom-skin-preview[data-orientation="landscape"] svg{
  width: inherit;
}

#bubble-custom-skin-cmdbar{
  display: flex;
  flex-flow: column;
  height: inherit;
  width: auto;
  min-width: 12em;
  background: #262626;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  padding: 0;
  margin: 0;
}

#bubble-custom-skin-cmdbar[data-state="off"]{
  display: none;
}

#bubble-custom-skin-cmdbar .cmd:first-child{
  border-top-left-radius: 10px;
}

#bubble-custom-skin-cmdbar .cmd{
  height: 3em;
  width: 100%;
  background-color: #1f1f1f;
  position: relative;
  color: white;
  cursor: pointer;
}

#bubble-custom-skin-cmdbar .cmd[data-state="on"]{
  background-color: inherit;
  color: rgb(199, 136, 253);
  cursor: default;
}

#bubble-custom-skin-cmdbar .cmd .name{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#bubble-custom-skin-cmdbar .filler{
  flex: 1 1 auto;
  background-color: #1f1f1f;
  border-bottom-left-radius: 10px;
}

#bubble-custom-skin-surface{
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 1.5em 1em 1em 1em;
  position: relative;
  background: #262626;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

#bubble-custom-skin-surface[data-state="off"]{
  display: none;
}

#bubble-custom-skin-surface #close-custom-skin,
#bubble_custom_skin_preview #close-custom-skin-preview{
  position: absolute;
  right: 0.5em;
  top: 0.25em;
  cursor: pointer;
}

#bubble-custom-skin-surface #close-custom-skin:hover,
#bubble-custom-skin #close-custom-skin:focus,
#bubble-custom-skin #close-custom-skin:active,
#bubble_custom_skin_preview #close-custom-skin-preview:hover,
#bubble_custom_skin_preview #close-custom-skin-preview:focus,
#bubble_custom_skin_preview #close-custom-skin-preview:active{
  opacity: 1;
  color: rgb(199, 136, 253);
  cursor: pointer;
}

#bubble-custom-skin-surface .content-panel,
#bubble-custom-skin-surface .panel{
  margin: 0.5em 0 1em 1em;
  /*max-height: calc(150% - 100px);*/
  max-height: unset;
  /*min-height: 90vh;*/
  overflow-y: auto;
  width: 100%;
}

#bubble-custom-skin-surface .content-panel{
  margin: 0;
  padding: 0 0 1em 1em;
  margin-bottom: 1rem;
}

#bubble-custom-skin-surface .panel[data-state="off"],
#bubble-custom-skin-surface .content-panel[data-state="off"]{
  display: none;
}

#bubble-custom-skin-surface .panel h4{
  margin: 0.5em 0 0.25em 0;
}

#bubble-custom-skin-surface .panel hr{
  border-color: rgb(199, 136, 253);
  margin-right: 1em;
}

#bubble-custom-skin-surface .panel a,
#bubble-custom-skin-surface .panel a:hover,
#bubble-custom-skin-surface .panel a:focus,
#bubble-custom-skin-surface .panel a:active,
#bubble-custom-skin-surface .panel a:visited{
  color: rgb(199, 136, 253);
  text-decoration: underline;
  cursor: pointer;
}

#bubble-custom-skin-surface .panel .selection{
  display: inline-block;
  border: solid 1px rgb(199, 136, 253);
  border-radius: 5px;
  padding: 1em 1em 0.5em 1em;
  min-width: 10em;
  margin: 0 1em 1em 0;
  vertical-align: top;
  font-size: 18px;
}

#bubble-custom-skin-surface .panel .selection .title{
  color:#FFDEAD;
  margin-bottom: 0.5em;
}

#bubble-custom-skin-surface .panel .selection .radio label:not(:last-child){
  margin-right: 0.5em;
}

#bubble-custom-skin-surface .panel .selection .picker{
  margin: 0.5em 0 1em 0;
}

#bubble-custom-skin-surface .panel .selection .picker.color{
  margin-top: 0.75em;
}

#bubble-custom-skin-surface .panel .selection .slider-legend{
  font-size: 16px;
  text-align: center;
  padding-bottom: 0.5em;
}

#bubble-custom-skin-surface .panel .selection .slider-legend[data-state="disabled"]{
  color: gray;
}

#bubble-custom-skin-surface .panel .selection .thin-slider input[type=range] {
  display: block;
  outline: 0;
  border: 0;
  border-radius: 500px;
  width: 100%;
  transition: box-shadow 0.2s ease-in-out;
  margin: 0;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  #bubble-custom-skin-surface .panel .selection .thin-slider input[type=range] {
    overflow: hidden;
    height: 1.5em;
    -webkit-appearance: none;
    background-color: #ffffff;
  }
  #bubble-custom-skin-surface .panel .selection .thin-slider input[type=range]:disabled{
    background-color: gray;
  }
  #bubble-custom-skin-surface .panel .selection .thin-slider input[type=range]::-webkit-slider-runnable-track {
    height: 1.5em;
    -webkit-appearance: none;
    color: #444;
    -webkit-transition: box-shadow 0.2s ease-in-out;
    transition: box-shadow 0.2s ease-in-out;
  }
  #bubble-custom-skin-surface .panel .selection .thin-slider input[type=range]::-webkit-slider-thumb {
    width: 1.5em;
    -webkit-appearance: none;
    height: 1.5em;
    cursor: ew-resize;
    background: rgb(138, 2, 255);
    box-shadow: -340px 0 0 327px rgb(199, 136, 253), inset 0 0 0 3px rgb(199, 136, 253);
    border-radius: 50%;
    -webkit-transition: box-shadow 0.2s ease-in-out;
    transition: box-shadow 0.2s ease-in-out;
    position: relative;
  }
  #bubble-custom-skin-surface .panel .selection .thin-slider input[type=range]:disabled::-webkit-slider-thumb{
    box-shadow: -340px 0 0 327px gray, inset 0 0 0 3px gray;
  }
  #bubble-custom-skin-surface .panel .selection .thin-slider input[type=range]:active::-webkit-slider-thumb {
    background: rgb(138, 2, 255);
    box-shadow: -340px 0 0 327px rgb(199, 136, 253), inset 0 0 0 3px rgb(199, 136, 253);
  }
  #bubble-custom-skin-surface .panel .selection .thin-slider input[type=range]:disabled::-webkit-slider-thumb{
    background: gray;
    box-shadow: -340px 0 0 327px gray, inset 0 0 0 3px gray;
  }
}

#bubble-custom-skin-surface .panel .sub-title{
  font-size: 16px;
}

#bubble-custom-skin-surface .panel .selection .swatch .clr-field button {
  width: 22px;
  height: 22px;
  left: 5px;
  right: auto;
  border-radius: 5px;
}

#bubble-custom-skin-surface .clr-picker .clr-format .clr-segmented label{
  display: block;
}

#bubble-custom-skin-surface input[type="text"].coloris{
  width: 150px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
  font-size: 16px;
  font-weight: inherit;
  box-sizing: border-box;
  padding-left: 36px;
  min-width: unset;
}

#bubble-custom-skin-surface input[type="text"].clr-color{
  min-width: unset;
}

#bubble-custom-skin-surface .cmds{
  /*position: absolute;
  bottom: 0;
  left: 0;*/
  height: 80px;
  /*right: 0;*/
  border-bottom-right-radius: 10px;
  /*background-color: #1f1f1f;*/
}

#bubble-custom-skin-surface .cmds .container{
  position: relative;
  width: 100%;
  height: inherit;
  border-bottom-right-radius: 10px;
}

#bubble-custom-skin-surface .cmds .container .wrapper{
  position: relative;
  height: inherit;
}

#bubble-custom-skin-surface .cmds .container .wrapper .button{
  position: absolute;
  top: 25%;
  transform: translateY(-25%);
}

#bubble-custom-skin-surface .cmds .container .wrapper .button.left{
  left: 0;
}

#bubble-custom-skin-surface .cmds .container .wrapper .button.center{
  left: 50%;
  transform: translate(-50%,-25%);
}

#bubble-custom-skin-surface .cmds .container .wrapper .button.right{
  right: 0;
}

#bubble-custom-skin-save-dialog .cmds-cont{
  text-align: right;
  position: relative;
}

#bubble-custom-skin-save-dialog .cmds-cont .button{
  margin: 0.5em 0;
}

#bubble-custom-skin-cancel{
  position: absolute;
  left: 0;
}

#bubble_custom_skin_preview{
  width: 100%;
  display: none;
}

#bubble_custom_skin_preview[data-state="on"]{
  display: block;
}

#bubble_custom_skin_preview_header,
#bubble_custom_skin_preview_body{
  display: flex;
  flex-direction: row;
}

#bubble_custom_skin_preview_header{
  padding:1em;
}

#bubble_custom_skin_preview_body svg{
  width: 100%;
}

#lightbox{
  position: absolute;
  top: 0;
  left:0;
  width: var(--lightbox-width);
  z-index: 100000;
  border-radius: var(--lightbox-border-radius);
  box-shadow: rgb(0 0 0 / 30%) 0px 19px 38px, rgb(0 0 0 / 22%) 0px 15px 12px;
  background-color: var(--lightbox-background);
  color:var(--lightbox-color);
  border: var(--lightbox-border-thickness) solid var(--lightbox-border-color);
  display: none;
}

#lightbox[data-state="on"]{
  display: block;
}

#lightbox_body {
  position: relative;
  width: 100%;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  font-size: 16px;
  padding: var(--lightbox-body-padding);
}

#lightbox_body .lightbox-header_close,
#lightbox_content-header .lightbox-header_close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  font-size: 22px;
  color: var(--lightbox-close-color);
  cursor: pointer;
}

#lightbox_body .lightbox-header_close{
  visibility:var(--lightbox-body-header-close-visible);
}

#lightbox_content-header .lightbox-header_close {
    visibility: var(--lightbox-content-header-close-visible);
}

#lightbox_body .lightbox-header_close:hover,
#lightbox_content-header .lightbox-header_close:hover,
#lightbox_body .lightbox-header_close:focus,
#lightbox_content-header .lightbox-header_close:focus,
#lightbox_body .lightbox-header_close:active,
#lightbox_content-header .lightbox-header_close:active{
  color: var(--lightbox-close-hover-color);
}

#lightbox_body_header {
  text-align: center;
  margin: var(--lightbox-header-margin);
  display: none;
}

#lightbox_body_header[data-state="on"]{
  display: block;
}

#lighbox_body_header_img,
#lightbox_body_header_video{
  width: 100%;
  border-radius: var(--lightbox-header-media-radius);
  display: none;
}

#lighbox_body_header_img[data-state="on"],
#lightbox_body_header_video[data-state="on"]{
  display: block;
}

#lightbox_body_header #lightbox_body_header_img,
#lightbox_body_header #lightbox_body_header_video {
  width: var(--lightbox-header-media-width);
  max-height: var(--lightbox-header-media-max-height);
  border-radius: var(--lightbox-header-media-radius);
  margin: auto;
  display: none;
}

#lightbox_body_header[data-mode="fit"] #lightbox_body_header_img,
#lightbox_body_header[data-mode="fit"] #lightbox_body_header_video iframe {
  border-top-left-radius: var(--lightbox-border-radius);
  border-top-right-radius: var(--lightbox-border-radius);
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

#lightbox_body_header #lightbox_body_header_img[data-state="on"],
#lightbox_body_header #lightbox_body_header_video[data-state="on"]{
  display: block;
}

#lightbox_body_header_video[data-provider="yt"],
#lightbox_body_header_video[data-provider="vimeo"]{
  position: relative;
  padding-bottom: 56.2%;
  height: 0;
  display: none;
}

#lightbox_body_header_video[data-provider="vimeo"][data-orientation="portrait"]{
  padding-bottom: 100%;
}

#lightbox_body_header_video #lightbox_yt_video,
#lightbox_body_header_video #lightbox_vimeo_video iframe{
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  border: none;
}

#lightbox_content-header {
  position: relative;
  padding-bottom: 1.5em;
}

#lightbox_content {
  margin: var(--lightbox-content-margin);
}

#lightbox_content #lightbox_text {
  font-family: var(--lightbox-content-font-family);
}

#lightbox p {
  color: unset;
  text-overflow: ellipsis;
  overflow: hidden;
}

#lightbox_content #lightbox_text{
  max-height:var(--lightbox-textarea-height);
  padding-right:var(--lightbox-textarea-right-padding);
  overflow-y:auto;
  scrollbar-color:var(--lightbox-textarea-scrollbar-thumb-color)  var(--lightbox-textarea-scrollbar-track-color);
  scrollbar-width:thin;
}

#lightbox_content #lightbox_text::-webkit-scrollbar-track{
  background: var(--lightbox-textarea-scrollbar-track-color);
}

#lightbox_content #lightbox_text::-webkit-scrollbar-thumb{
  background-color: var(--lightbox-textarea-scrollbar-thumb-color);
}

#lightbox_content #lightbox_text::-webkit-scrollbar{
  width: 12px;
}

#lightbox_content #lightbox_text a{
  text-decoration: var(--lightbox-content-links-underlined);
  font-weight: var(--lightbox-content-links-bold);
  font-style: var(--lightbox-content-links-italic);
  color:var(--lightbox-content-links-color);
  cursor:pointer;
}

#lightbox_content #lightbox_text a:hover,
#lightbox_content #lightbox_text a:focus,
#lightbox_content #lightbox_text a:active,
#lightbox_content #lightbox_text a:visited{
  color:var(--lightbox-content-links-hover-color);
}

#lightbox_content #lightbox_text ul,
#lightbox_content #lightbox_text ol{
  margin: 0;
  word-break: break-word;
  padding-inline-start: 1.5em;
}

#lightbox_button {
  text-align: var(--button-alignment);
  margin-top: 10px;
  width: 100%;
  display: none;
}

#lightbox_button[data-state="on"] {
  display: block;
}

#lightbox_button .lightbox_button {
  max-width: 100%;
  font-size: 16px;
  cursor: pointer;
  border: var(--button-border-thickness) solid var(--button-border-color);
  border-radius: var(--button-border-radius);
  background-color: var(--button-background);
  color: var(--button-color);
  font-family: var(--button-font-family);
  text-decoration: var(--button-underlined);
  font-weight: var(--button-bold);
  font-style: var(--button-italic);
  margin-top: var(--button-margin-top-bottom);
  margin-bottom: var(--button-margin-top-bottom);
  margin-left: var(--button-margin-left-right);
  margin-right: var(--button-margin-left-right);
  padding-top: var(--button-padding-top-bottom);
  padding-bottom: var(--button-padding-top-bottom);
  padding-left: var(--button-padding-left-right);
  padding-right: var(--button-padding-left-right);
  min-width: var(--button-min-width);  
}

#lightbox_button .lightbox_button:hover,
#lightbox_button .lightbox_button:focus,
#lightbox_button .lightbox_button:active{
  border: var(--button-hover-border-thickness) solid var(--button-hover-border-color);
  background-color: var(--button-hover-background);
  color: var(--button-hover-color);
}

/*============== MODEL COLLECTION===============*/
.model-collection[data-state="on"]{
  display: block;
}
/*============== MODEL PANEL===============*/
.model-panel{
  display: none;
}

.model-panel[data-state="on"]{
  display: block;
}

.model-panel .panel-header{
  text-align: left;
}

.model-panel .panel-header .title{
  text-align: center;
}

#model-panels .model-panel .panel-header p{
  font-size: inherit;
}

#model-panels .model-panel .panel-header i{
  padding-left: 0;
}

.model-panel.sub{
  padding-left: 1rem;
  border-left: solid 3px #707070;
  margin: 2rem 0 2rem 2rem;
}

.model-panel.sub .model-listitem{
  background-color: #fff;
  color: #000;
}

.model-panel.sub .model-listitem:hover,
.model-panel.sub .model-listitem:focus,
.model-panel.sub .model-listitem:active{
  background-color: rgb(199, 136, 253);
}

.model-panel.sub .model-listitem i:hover,
.model-panel.sub .model-listitem i:focus,
.model-panel.sub .model-listitem i:active{
  color: #fff;
}

.model-panel.sub .thumbnail{
  background-color: #fff;
  border-radius: 10px;
  padding: 3rem 1rem 1rem 1rem;
  text-align: center;
  margin-bottom:1rem;
  position: relative;
  display: none;
}

.model-panel.sub .thumbnail i{
  color: #000;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.model-panel.sub .thumbnail img{
  border-radius: 10px;
  max-width: 100%;
}

.model-panel.sub .thumbnail[data-state="on"]{
  display: block;
}

#studio .model-panel .cmds-cont{
  position: relative;
}

#studio .model-panel .cmds-cont.bottom-full{
  position: absolute;
  text-align: center;
}

/*============== MODEL LISTITEM===============*/
.model-listitem{
  background-color: #1f1f1f;
  padding: 0.75rem;
  margin: 0.5rem 0;
  border-radius: 10px;
  position: relative;
  margin-bottom: 1rem;
  outline:none;
  cursor: pointer;
}

.model-listitem .name{
  width: 55%;
  max-width: 55%;
  display: inline-block;
  vertical-align: middle;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.model-listitem.zone .name{
  width: 85%;
  max-width: 85%;
}

.model-listitem .item-cmds{
  width: 20%;
  display: inline-block;
  position: relative;
  vertical-align: middle;
}

.model-listitem i{
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
}

}
.model-listitem .item-cmds i{
  top: unset;
}

.model-listitem .fa-trash-can.cmd,
.model-listitem .item-cmds .fa-trash-can.cmd{
  right: 4rem;
}

.model-listitem .content-cmd{
  position: absolute;
  display: inline-block;
  top: 1px;
  bottom: 1px;
  right: 1px;
  width: 25%;
  text-align: center;
  background-color: rgb(199, 136, 253);
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  cursor: pointer;
}

.model-listitem .content-cmd.error{
  background-color: #fd8888;
}

.model-listitem .content-cmd[data-disabled="true"]{
  background-color: lightgrey;
  color: #000;
  pointer-events:none;
  cursor: default;
}

.model-listitem .content-cmd .inner{
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.model-listitem:has(.cmd:hover),
.model-listitem:has(.cmd:focus),
.model-listitem:has(.cmd:active){
  background-color: #1f1f1f;
}

.model-listitem-cmd{
  background-color: #707070;
  padding: 0.75rem;
  margin: 0.5rem 0;
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  outline:none;
}

.model-listitem:not(.group):hover,
.model-listitem:not(.group):focus,
.model-listitem:not(.group):active,
.model-listitem-cmd:hover,
.model-listitem-cmd:focus,
.model-listitem-cmd:active{
  background-color: rgb(199, 136, 253);
}

.model-listitem:focus,
.model-listitem:hover{
  outline-width: 2px;
  outline-color: rgb(199, 136, 253);
  outline-style: solid;
} 

.model-listitem-cmd i{
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.model-listitem-cmd span i{
  position: relative;
  right: unset;
  top: unset;
  transform: unset;
  vertical-align: middle;
}

/*============== MODEL VIDEO===============*/
.model-video,
.segmentation-video,
.settings-model-video{
  position: relative;
  padding-bottom: 56.2%;
  height: 0;
}

.model-video[data-state="off"],
.settings-model-video[data-state="off"]{
  display: none;
}

.model-video iframe,
.segmentation-video iframe,
.settings-model-video iframe{
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  border: none;
}

#gmodel-video{
    margin: 1rem 0;
}

/*============== MODEL SETTINGS===============*/
#model-settings-zone .color-palette,
#model-settings-zone .ai-capture{
  margin-top: 0.5rem;
  padding: 1rem;
  background-color: #262626;
  border-radius: 10px;
  display: inline-block;
  position: relative;
}

#model-settings-zone .ai-capture{
  width: 100%;
}

#model-settings-zone .ai-capture #manual-mode .color-palette{
  margin-top:0;
  padding:0;
}

#model-settings-zone .ai-capture #ai-mode,
#model-settings-zone .ai-capture #manual-mode{
  padding-top: 6rem;
  display:none;
}

#model-settings-zone .ai-capture #ai-mode[data-state="on"],
#model-settings-zone .ai-capture #manual-mode[data-state="on"]{
  display: block;
}

#model-settings-zone .ai-capture .segmentation-mode-selection{
  position: absolute;
  right: 0;
  display: inline-block;
  border: solid 1px rgb(199, 136, 253);
  border-radius: 5px;
  padding: 1em 1em 0.5em 1em;
  min-width: 10em;
  margin: 0 1em 1em 0;
  vertical-align: top;
  font-size: 18px;
}

#model-settings-zone .ai-capture .segmentation-mode-selection .legend{
  color: #FFDEAD;
  width: 100%;
  font-weight: bold;
  padding-bottom: 0.5em;
  text-align: center;
}

#model-settings-zone .ai-capture .segmentation-mode-selection .segmentation-mode-picker input[type="radio"]{
  margin:0 0.5em;
}

#model-settings-zone .ai-capture #ai-capture-undo{
  margin-left: 0;
}

#model-settings-zone .color-palette #colors{
  text-decoration: underline;
  color: #c788fd;
  cursor: pointer;
}

#model-settings-zone .color-palette #dot-colors{
  display: none;
}

#model-settings-zone .color-palette #dot-colors[data-state="on"]{
  display: block;
}

#model-settings-zone .color-palette .dots{
  display: block;
  padding: 0.5rem 0;
}

#model-settings-zone .color-palette .dot{
  display: inline-block;
  padding: 0.5rem;
  margin: 0 1rem 0 0;
  border: 0.2rem solid transparent;
  border-radius: 50%;
  cursor: pointer;
  width: 1rem;
  height: 1rem;
  vertical-align: middle;
}

#model-settings-zone .color-palette .dot[data-state="off"]{
  display: none;
}

#model-settings-zone .color-palette .dot.white{
  background-color: #fff;
}

#model-settings-zone .color-palette .dot.purple{
  background-color: #c788fd;
}

#model-settings-zone .color-palette .dot.yellow{
  background-color: #ffff00;
}

#model-settings-zone .color-palette .dot.red{
  background-color: #ff0000;
}

#model-settings-zone .color-palette .dot:hover,
#model-settings-zone .color-palette .dot:focus,
#model-settings-zone .color-palette .dot[data-selected="true"]{
  border-color:#45B39D;
  outline-width: 3px;
  outline-color:#45B39D;
  outline-style: solid;
}

.dot[data-color="white"]{
  background-color: #ffffff;
}
.dot[data-color="purple"]{
  background-color: #c788fd;
}
.dot[data-color="yellow"]{
  background-color: #ffff00;
}
.dot[data-color="red"]{
  background-color: #ff0000;
}

#model-settings-zone .color-palette .def-message[data-state="off"],
#model-settings-zone .ai-capture .def-message[data-state="off"]{
  display: none;
}

#model-settings-zone #other_groups_segments{
  display: none;
}

#model-settings-zone #other_groups_segments[data-state="on"]{
  display: block;
}

#model-settings-zone #list-other_groups_segments{
  display: none;
}

#model-settings-zone #list-other_groups_segments[data-state="on"]{
  display: block;
}

#model-settings-zone #list-other_groups_segments ul{
  list-style: none;
  margin-block-start: 0;
}

#model-settings-zone #list-other_groups_segments ul li .group-entry{
  display: inline-block;
}

#model-settings-zone #list-other_groups_segments ul li .group-entry .group-swatch{
  width: 15px;
  height: 15px;
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}

/*============= BUBBLE SETTINGS ============*/
#model-bubble p i{
  font-size: 1.5rem;
  vertical-align: text-bottom;
  margin-left: 1rem;
}

#model-bubble .manual-color-picker{
  position: relative;
  display: inline-block;
  width: 30rem;
  height: 3.5rem;
  background-color: #000;
  border-radius: 10px;
  margin: 0;
  vertical-align: middle;
  margin-bottom: 1rem;
}

#model-bubble .color-state{
  display: inline-block;
  padding-left: 1.5rem;
  line-height: 3.5rem;
}

#model-bubble .color-swatch{
  display: inline-block;
  width: 2rem;
  height: 2rem;
  background-color: red;
  margin-left: 1rem;
  vertical-align: middle;
  border: solid 1px #fff;
  line-height: 3.5rem;
}

#model-bubble .color-picker{
  position: absolute;
  right: 0;
  display: inline-block;
  vertical-align: middle;
  margin: 1rem;
}

#model-bubble .manual-color-picker input[type="text"]{
  width: 15rem;
  font-size: 1rem;
  position: absolute;
  right: 3.5rem;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  min-width: 0;
  vertical-align: middle;
}

/*=============================================
/*
/*                  EXPORT
/*
/==============================================*/
#export-panels{
  position: absolute;
  text-align: left;
  font-size: 1.25rem;
  padding: 0 0 2rem 0;
  width: 650px;
  margin: 0 0 0 0.5rem;
  display: none;
}

#export-panels[data-state="on"]{
  display: inline-block;
}

#export{
  padding: 1rem;
  border-radius: 10px;
  background-color: #262626;
}

#export .header{
  text-align: left;
  height: 5rem;
  position: relative;
}

#export .header .title{
  top: 50%;
  transform: translateY(-50%);
  position: relative;
  font-size: 1.5rem;
}

#export .header #back-from-export[datat-state="off"]{
  display: none;
}

#export .header #back-from-export{
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  padding: 0.25rem 2.5rem;
  background-color: #000;
  border: solid 2px #707070;
}

#export .body .subtitle{
  margin: 0;
  font-size: 1rem;
  opacity: 0.6;
}

#export .body label{
  margin-top: 0.5rem;
}

#export .body .button{
  margin-left: 0;
}

#export .body h2:not(.ce-header){
  font-weight: normal;
  font-size: 1.25rem;
}

#export-editorjs{
  padding: 1em;
  width: calc(100% - 2.5rem);
  border-radius: 5px;
  margin-top: 0.5rem;
}

/*=============================================
/*
/*                  PREVIEW
/*
/==============================================*/
#preview-fixure{
  display: none;
}

#preview-fixure[data-state="on"]{
  display: block;
}

#preview{
  display: none;
  position: relative;
  margin: 0;
  position: relative;
  width: 100%;
  height: calc(100vh - 4rem);
}

#preview[data-state="on"]{
  display: block;
}

#scene{
  position: absolute;
  top: 0.5em;
  bottom:0;
  left: 0;
  right:0;
}

#scene #stage{
  height: 100%;
  text-align: center;
}

#scene #stage svg{
  display: inline-block;
  height: inherit;
}

#scene #stage svg{
  max-width: 100%;
}

#scene #stage svg,
#scene #stage svg g,
#scene #stage svg path{
  outline:none;
}

/*=============================================
/*
/*                  SPIX_BUBBLE
/*
/==============================================*/
/*---------------- BUBBLE -----------------*/
#spix_bubble{
  position: absolute;
  top: -1000px;
  left: -1000px;
  width: var(--lightbox-width);
  z-index: 10;
  border-radius: 8px;
  box-shadow: rgb(0 0 0 / 30%) 0px 19px 38px, rgb(0 0 0 / 22%) 0px 15px 12px;
  display: none;
}

#spix_bubble.dark,
#spix_bubble.undefined{
  background-color: #262626;
  color:#ffffff;
  border:2px solid #707070;
}

#spix_bubble.dark .spix_button,
#spix_bubble.undefined .spix_button{
  background-color: #fff;
  color: #262626;
  border: none;
}

#spix_bubble.light{
  background-color: #ffffff;
  color:#262626;
  border:2px solid #707070;
}

#spix_bubble.light .spix_button{
  background-color: #262626;
  color: #fff;
  border: none;
}

#spix_bubble[data-state="on"]{
  display: block;
}

#spix_bubble[data-inplace="on"]{
  z-index: 10000;
}

#spix_bubble:focus{
  outline:none;
}

@media only screen and (max-width: 1800px){
  #spix_bubble{
    width: 450px;
  }
}

@media only screen and (max-width: 1600px){
  #spix_bubble{
    width: 400px;
  }
}

@media only screen and (max-width: 1200px){
  #spix_bubble{
    width: 350px;
  }
}

@media only screen and (max-width: 800px){
  #spix_bubble{
    width: 300px;
  }
}

@media only screen and (max-width: 500px){
  #spix_bubble{
    width: 250px;
  }
}

@media only screen and (max-width: 450px){
  #spix_bubble{
    width: 300px;
  }
}

@media only screen and (max-width: 640px){
  #spix_bubble{
    top: 10px;
    left: 10px;
    width: calc(100vw - (100vw - 100%) - 20px);
    transform: translateX(-110%);
    transition: .3s ease-out;
  }

  #spix_bubble[data-state="on"]{
    transform: translateX(0%);
  }
}

#spix_bubble_body{
  position: relative;
  width: 100%;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  font-size: 16px;
  padding: 35px 0 0 0;
}

#spix_bubble_body .spix_bubble-header_close,
#spix_bubble_content-header .spix_bubble-header_close{
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  font-size: 22px;
  cursor: pointer;
}

#spix_bubble_body .spix_bubble-header_close[data-state="off"],
#spix_bubble_content-header .spix_bubble-header_close{
  visibility: hidden;
}

#spix_bubble_content-header .spix_bubble-header_close[data-state="on"]{
  visibility: visible;
}

#spix_bubble_content-header{
  position: relative;
  padding-bottom: 1.5em;
}

@media only screen and (max-width: 500px){
  #spix_bubble_body{
    font-size: 14px;
  }
}

#spix_bubble_body_header{
  margin:0 25px;
  text-align: center;
}

#spix_bubble_body_header_img{
  max-height: 300px;
  max-width: calc(100% - 50px);
  display: inline-block;
  width: auto;
  display: none;
}

#spix_bubble_body_header_video{
  width: 100%;
  display: none;
}

#spix_bubble_body_header_img[data-state="on"]{
  display: inline-block;
}

#spix_bubble_body_header_video[data-state="on"]{
  display: block;
}

#spix_bubble_video_container[data-state="off"]{
  display: none;
}

#spix_bubble_video_container[data-provider="yt"],
#spix_bubble_video_container[data-provider="vimeo"]{
  position: relative;
  padding-bottom: 56.2%;
  height: 0;
  display: none;
}

#spix_bubble_video_container[data-provider="yt"][data-state="on"],
#spix_bubble_video_container[data-provider="vimeo"][data-state="on"]{
  display: block;
}

#spix_bubble_video_container[data-provider="vimeo"][data-orientation="portrait"]{
  padding-bottom: 100%;
}

#tutorial_yt_video,
#spix_bubble_video_container #spix_bubble_yt_video,
#spix_bubble_video_container #spix_bubble_yt_video_studio,
#spix_bubble_video_container #spix_bubble_vimeo_video iframe,
#spix_bubble_video_container #spix_bubble_vimeo_video_studio iframe{
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  border: none;
}

#spix_bubble_content{
  margin:10px 25px 10px 25px
}

#spix_bubble_content a,
#spix_bubble_content a:hover,
#spix_bubble_content a:focus,
#spix_bubble_content a:active,
#spix_bubble_content a:visited{
  color:rgb(199, 136, 253);
  cursor: pointer;
  text-decoration: none;
}

#spix_bubble_content .h1,
#spix_bubble_content h1{
  font-size: 30px;
}

#spix_bubble_content .h2,
#spix_bubble_content h2{
  font-size: 25px;
}

#spix_bubble_content .h3,
#spix_bubble_content h3{
  font-size: 20px;
}

#spix_bubble_content .h4,
#spix_bubble_content .h5,
#spix_bubble_content .h6,
#spix_bubble_content h4,
#spix_bubble_content h5,
#spix_bubble_content h6{
  font-size: 16px;
}

#spix_bubble_content .h1,
#spix_bubble_content .h2,
#spix_bubble_content .h3,
#spix_bubble_content .h4,
#spix_bubble_content .h5,
#spix_bubble_content .h6,
#spix_bubble_content h1,
#spix_bubble_content h2,
#spix_bubble_content h3,
#spix_bubble_content h4,
#spix_bubble_content h5,
#spix_bubble_content h6{
  margin: 10px 0;
  padding: 0;
  color: unset;
}

@media only screen and (max-width: 1600px){
  #spix_bubble_content .h1,
  #spix_bubble_content h1{
    padding: 0;
    font-size: 27px;
  }

  #spix_bubble_content .h2,
  #spix_bubble_content h2{
    font-size: 22px;
  }

  #spix_bubble_content .h3,
  #spix_bubble_content h3{
    font-size: 17px;
  }
}

@media only screen and (max-width: 500px){
  #spix_bubble_content .h1,
  #spix_bubble_content h1{
    padding: 0;
    font-size: 25px;
  }

  #spix_bubble_content .h2,
  #spix_bubble_content h2{
    font-size: 20px;
  }

  #spix_bubble_content .h3,
  #spix_bubble_content h3{
    font-size: 16px;
  }
}

#spix_bubble_content ul,
#spix_bubble_content ol{
  margin: 0;
  word-break: break-word;
  padding-inline-start: 1.5em;
}

#spix_bubble_content a:focus{
  outline-style: solid;
  outline-width: 2px ;
  outline-color: #ffffff;
}

#spix-bubble-text{
  max-height:var(--lightbox-textarea-height);
  padding-right:var(--lightbox-textarea-right-padding);
  overflow-y:auto;  scrollbar-color:rgb(199, 136, 253)  #5D5D5D;
  scrollbar-color:var(--lightbox-textarea-scrollbar-thumb-color)  var(--lightbox-textarea-scrollbar-track-color);
  scrollbar-width:thin;
}

#spix-bubble-text::-webkit-scrollbar-track{
  background: var(--lightbox-textarea-scrollbar-track-color);
}

#spix-bubble-text::-webkit-scrollbar-thumb{
  background-color: var(--lightbox-textarea-scrollbar-thumb-color);
}

#spix-bubble-text::-webkit-scrollbar{
  width: 12px;
}

#spix_bubble_button{
  text-align: center;
  margin-top: 10px;
  width: 100%;
  display: none;
}

#spix_bubble_button[data-state="on"]{
  display: block;
}

#spix_bubble_button.left{
  text-align: left;
}

#spix_bubble_button.center{
  text-align: center;
}

#spix_bubble_button.right{
  text-align: right;
}

#spix_bubble .spix_button{
  max-width: 100%;
  margin: 8px 16px 16px 16px;
  border: 2px solid rgb(199, 136, 253);
  background-color: rgb(199, 136, 253);
  color:#ffffff;
  font-size: 16px;
  padding:8px 16px;
  min-width: 175px;
  border-radius: 8px;
  cursor:pointer;
}

@media only screen and (max-width: 1200px){
  #spix_bubble .spix_button{
    padding:6px 14px;
  }
}

@media only screen and (max-width: 500px){
  #spix_bubble .spix_button{
    padding:4px 12px;
  }
}

.spix-embed[data-spix-display="inline"]{
  height: fit-content;
  min-height: 100vh;
}

#spix_bubble p{
  color: unset;
  text-overflow: ellipsis;
  overflow: hidden;
}

/*=============================================
/*
/*                  SPIX_BUBBLE CUSTOM
/*
/==============================================*/

#spix_bubble.custom{
  position: absolute;
  background-color: var(--lightbox-background);
  color:var(--lightbox-color);
  border:var(--lightbox-border-thickness) solid var(--lightbox-border-color);
  border-radius: var(--lightbox-border-radius);
}

#spix_bubble.custom .spix_bubble-header_close{
  color:var(--lightbox-close-color);
}

#spix_bubble.custom .spix_bubble-header_close:focus,
#spix_bubble.custom .spix_bubble-header_close:hover,
#spix_bubble.custom .spix_bubble-header_close:active{
  color:var(--lightbox-close-hover-color);
}

#spix_bubble.custom #spix_bubble_body{
  padding:var(--lightbox-body-padding);
}

#spix_bubble.custom #spix_bubble_body_header{
  margin: var(--lightbox-header-margin);
}

#spix_bubble.custom #spix_bubble_body_header #spix_bubble_body_header_img,
#spix_bubble.custom #spix_bubble_body_header #spix_bubble_body_header_video{
  width:var(--lightbox-header-media-width);
  max-width: var(--lightbox-header-media-max-width);
  max-height: var(--lightbox-header-media-max-height);
  border-radius: var(--lightbox-header-media-radius);
  margin: auto;
}

#spix_bubble.custom #spix_bubble_body_header #spix_bubble_body_header_video iframe{
  border-radius: var(--lightbox-header-media-radius);
}

#spix_bubble.custom #spix_bubble_body_header[data-mode="fit"] #spix_bubble_body_header_img,
#spix_bubble.custom #spix_bubble_body_header[data-mode="fit"] #spix_bubble_body_header_video iframe{
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

#spix_bubble.custom #spix_bubble_body .spix_bubble-header_close{
  visibility:var(--lightbox-body-header-close-visible);
}

#spix_bubble.custom #spix_bubble_content{
  margin:var(--lightbox-content-margin);
}

#spix_bubble.custom #spix_bubble_content-header .spix_bubble-header_close{
  visibility:var(--lightbox-content-header-close-visible);
}

#spix_bubble.custom #spix_bubble_content #spix_bubble_text{
  font-family: var(--lightbox-content-font-family);
  max-height:var(--lightbox-textarea-height);
  padding-right:var(--lightbox-textarea-right-padding);
  overflow-y:auto;
  scrollbar-color:var(--lightbox-textarea-scrollbar-thumb-color)  var(--lightbox-textarea-scrollbar-track-color);
  scrollbar-width:thin;
}

#spix_bubble.custom #spix_bubble_content #spix_bubble_text::-webkit-scrollbar-track{
  background: var(--lightbox-textarea-scrollbar-track-color);
}

#spix_bubble.custom #spix_bubble_content #spix_bubble_text::-webkit-scrollbar-thumb{
  background-color: var(--lightbox-textarea-scrollbar-thumb-color);
}

#spix_bubble.custom #spix_bubble_content #spix_bubble_text::-webkit-scrollbar{
  width: 12px;
}

#spix_bubble.custom #spix_bubble_text a{
  text-decoration: var(--lightbox-content-links-underlined);
  font-weight: var(--lightbox-content-links-bold);
  font-style: var(--lightbox-content-links-italic);
  color:var(--lightbox-content-links-color);
  cursor:pointer;
}

#spix_bubble.custom #spix_bubble_text a:hover,
#spix_bubble.custom #spix_bubble_text a:focus,
#spix_bubble.custom #spix_bubble_text a:active,
#spix_bubble.custom #spix_bubble_text a:visited{
  color:var(--lightbox-content-links-hover-color);
}

#spix_bubble.custom #spix_bubble_button{
  text-align: var(--button-alignment);
}

#spix_bubble.custom .spix_button{
  border:var(--button-border-thickness) solid var(--button-border-color);
  border-radius: var(--button-border-radius);
  background-color: var(--button-background);
  color:var(--button-color);
  font-family: var(--button-font-family);
  text-decoration: var(--button-underlined);
  font-weight: var(--button-bold);
  font-style: var(--button-italic);
  margin-top: var(--button-margin-top-bottom);
  margin-bottom: var(--button-margin-top-bottom);
  margin-left:var(--button-margin-left-right);
  margin-right: var(--button-margin-left-right);
  padding-top:var(--button-padding-top-bottom);
  padding-bottom:var(--button-padding-top-bottom);
  padding-left:var(--button-padding-left-right);
  padding-right:var(--button-padding-left-right);
  min-width: var(--button-min-width);
}

#spix_bubble.custom .spix_button:hover,
#spix_bubble.custom .spix_button:focus,
#spix_bubble.custom .spix_button:active{
  border:var(--button-hover-border-thickness) solid var(--button-hover-border-color);
  background-color: var(--button-hover-background);
  color: var(--button-hover-color);
}

/*=============================================
/*
/*           SPIX_BUBBLE CUSTOM INSTANCE
/*
/==============================================*/

