/***
Spectrum Colorpicker v1.8.0
https://github.com/bgrins/spectrum
Author: Brian Grinstead
License: MIT
***/

.sp-container {
    position:absolute;
    top:0;
    left:0;
    display:inline-block;
    *display: inline;
    *zoom: 1;
    /* https://github.com/bgrins/spectrum/issues/40 */
    z-index: 9999994;
    overflow: hidden;
}
.sp-container.sp-flat {
    position: relative;
}

/* Fix for * { box-sizing: border-box; } */
.sp-container,
.sp-container * {
    -webkit-box-sizing: content-box;
            box-sizing: content-box;
}

/* http://ansciath.tumblr.com/post/7347495869/css-aspect-ratio */
.sp-top {
  position:relative;
  width: 100%;
  display:inline-block;
}
.sp-top-inner {
   position:absolute;
   top:0;
   left:0;
   bottom:0;
   right:0;
}
.sp-color {
    position: absolute;
    top:0;
    left:0;
    bottom:0;
    right:20%;
}
.sp-hue {
    position: absolute;
    top:0;
    right:0;
    bottom:0;
    left:84%;
    height: 100%;
}

.sp-clear-enabled .sp-hue {
    top:33px;
    height: 77.5%;
}

.sp-fill {
    padding-top: 80%;
}
.sp-sat, .sp-val {
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
}

.sp-alpha-enabled .sp-top {
    margin-bottom: 18px;
}
.sp-alpha-enabled .sp-alpha {
    display: block;
}
.sp-alpha-handle {
    position:absolute;
    top:-4px;
    bottom: -4px;
    width: 6px;
    left: 50%;
    cursor: pointer;
    border: 1px solid black;
    background: white;
    opacity: .8;
}
.sp-alpha {
    display: none;
    position: absolute;
    bottom: -14px;
    right: 0;
    left: 0;
    height: 8px;
}
.sp-alpha-inner {
    border: solid 1px #333;
}

.sp-clear {
    display: none;
}

.sp-clear.sp-clear-display {
    background-position: center;
}

.sp-clear-enabled .sp-clear {
    display: block;
    position:absolute;
    top:0px;
    right:0;
    bottom:0;
    left:84%;
    height: 28px;
}

/* Don't allow text selection */
.sp-container, .sp-replacer, .sp-preview, .sp-dragger, .sp-slider, .sp-alpha, .sp-clear, .sp-alpha-handle, .sp-container.sp-dragging .sp-input, .sp-container button  {
    -webkit-user-select:none;
    -moz-user-select: -moz-none;
    -o-user-select:none;
    -ms-user-select: none;
        user-select: none;
}

.sp-container.sp-input-disabled .sp-input-container {
    display: none;
}
.sp-container.sp-buttons-disabled .sp-button-container {
    display: none;
}
.sp-container.sp-palette-buttons-disabled .sp-palette-button-container {
    display: none;
}
.sp-palette-only .sp-picker-container {
    display: none;
}
.sp-palette-disabled .sp-palette-container {
    display: none;
}

.sp-initial-disabled .sp-initial {
    display: none;
}


/* Gradients for hue, saturation and value instead of images.  Not pretty... but it works */
.sp-sat {
    background-image: -webkit-gradient(linear, left top, right top, from(#fff), to(rgba(204, 154, 129, 0)));
    background-image: linear-gradient(to right, #fff, rgba(204, 154, 129, 0));
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr=#FFFFFFFF, endColorstr=#00CC9A81)";
    filter : progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr='#FFFFFFFF', endColorstr='#00CC9A81');
}
.sp-val {
    background-image: -webkit-gradient(linear, left bottom, left top, from(#000), to(rgba(204, 154, 129, 0)));
    background-image: linear-gradient(to top, #000, rgba(204, 154, 129, 0));
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00CC9A81, endColorstr=#FF000000)";
    filter : progid:DXImageTransform.Microsoft.gradient(startColorstr='#00CC9A81', endColorstr='#FF000000');
}

.sp-hue {
    background: -webkit-gradient(linear, left top, left bottom, from(#ff0000), color-stop(17%, #ffff00), color-stop(33%, #00ff00), color-stop(50%, #00ffff), color-stop(67%, #0000ff), color-stop(83%, #ff00ff), to(#ff0000));
    background: linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
}

/* IE filters do not support multiple color stops.
   Generate 6 divs, line them up, and do two color gradients for each.
   Yes, really.
 */
.sp-1 {
    height:17%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0000', endColorstr='#ffff00');
}
.sp-2 {
    height:16%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff00', endColorstr='#00ff00');
}
.sp-3 {
    height:17%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ff00', endColorstr='#00ffff');
}
.sp-4 {
    height:17%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffff', endColorstr='#0000ff');
}
.sp-5 {
    height:16%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0000ff', endColorstr='#ff00ff');
}
.sp-6 {
    height:17%;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff00ff', endColorstr='#ff0000');
}

.sp-hidden {
    display: none !important;
}

/* Clearfix hack */
.sp-cf:before, .sp-cf:after { content: ""; display: table; }
.sp-cf:after { clear: both; }
.sp-cf { *zoom: 1; }

/* Mobile devices, make hue slider bigger so it is easier to slide */
@media (max-device-width: 480px) {
    .sp-color { right: 40%; }
    .sp-hue { left: 63%; }
    .sp-fill { padding-top: 60%; }
}
.sp-dragger {
   border-radius: 5px;
   height: 5px;
   width: 5px;
   border: 1px solid #fff;
   background: #000;
   cursor: pointer;
   position:absolute;
   top:0;
   left: 0;
}
.sp-slider {
    position: absolute;
    top:0;
    cursor:pointer;
    height: 3px;
    left: -1px;
    right: -1px;
    border: 1px solid #000;
    background: white;
    opacity: .8;
}

/*
Theme authors:
Here are the basic themeable display options (colors, fonts, global widths).
See http://bgrins.github.io/spectrum/themes/ for instructions.
*/

.sp-container {
    border-radius: 0;
    background-color: #ECECEC;
    border: solid 1px #f0c49B;
    padding: 0;
}
.sp-container, .sp-container button, .sp-container input, .sp-color, .sp-hue, .sp-clear {
    font: normal 12px "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
.sp-top {
    margin-bottom: 3px;
}
.sp-color, .sp-hue, .sp-clear {
    border: solid 1px #666;
}

/* Input */
.sp-input-container {
    float:right;
    width: 100px;
    margin-bottom: 4px;
}
.sp-initial-disabled  .sp-input-container {
    width: 100%;
}
.sp-input {
   font-size: 12px !important;
   border: 1px inset;
   padding: 4px 5px;
   margin: 0;
   width: 100%;
   background:transparent;
   border-radius: 3px;
   color: #222;
}
.sp-input:focus  {
    border: 1px solid orange;
}
.sp-input.sp-validation-error {
    border: 1px solid red;
    background: #fdd;
}
.sp-picker-container , .sp-palette-container {
    float:left;
    position: relative;
    padding: 10px;
    padding-bottom: 300px;
    margin-bottom: -290px;
}
.sp-picker-container {
    width: 172px;
    border-left: solid 1px #fff;
}

/* Palettes */
.sp-palette-container {
    border-right: solid 1px #ccc;
}

.sp-palette-only .sp-palette-container {
    border: 0;
}

.sp-palette .sp-thumb-el {
    display: block;
    position:relative;
    float:left;
    width: 24px;
    height: 15px;
    margin: 3px;
    cursor: pointer;
    border:solid 2px transparent;
}
.sp-palette .sp-thumb-el:hover, .sp-palette .sp-thumb-el.sp-thumb-active {
    border-color: orange;
}
.sp-thumb-el {
    position:relative;
}

/* Initial */
.sp-initial {
    float: left;
    border: solid 1px #333;
}
.sp-initial span {
    width: 30px;
    height: 25px;
    border:none;
    display:block;
    float:left;
    margin:0;
}

.sp-initial .sp-clear-display {
    background-position: center;
}

/* Buttons */
.sp-palette-button-container,
.sp-button-container {
    float: right;
}

/* Replacer (the little preview div that shows up instead of the <input>) */
.sp-replacer {
    margin:0;
    overflow:hidden;
    cursor:pointer;
    padding: 4px;
    display:inline-block;
    *zoom: 1;
    *display: inline;
    border: solid 1px #91765d;
    background: #eee;
    color: #333;
    vertical-align: middle;
}
.sp-replacer:hover, .sp-replacer.sp-active {
    border-color: #F0C49B;
    color: #111;
}
.sp-replacer.sp-disabled {
    cursor:default;
    border-color: silver;
    color: silver;
}
.sp-dd {
    padding: 2px 0;
    height: 16px;
    line-height: 16px;
    float:left;
    font-size:10px;
}
.sp-preview {
    position:relative;
    width:25px;
    height: 20px;
    border: solid 1px #222;
    margin-right: 5px;
    float:left;
    z-index: 0;
}

.sp-palette {
    *width: 220px;
    max-width: 220px;
}
.sp-palette .sp-thumb-el {
    width:16px;
    height: 16px;
    margin:2px 1px;
    border: solid 1px #d0d0d0;
}

.sp-container {
    padding-bottom:0;
}


/* Buttons: http://hellohappy.org/css3-buttons/ */
.sp-container button {
  background-color: #eeeeee;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#eeeeee), to(#cccccc));
  background-image: linear-gradient(to bottom, #eeeeee, #cccccc);
  border: 1px solid #ccc;
  border-bottom: 1px solid #bbb;
  border-radius: 3px;
  color: #333;
  font-size: 14px;
  line-height: 1;
  padding: 5px 4px;
  text-align: center;
  text-shadow: 0 1px 0 #eee;
  vertical-align: middle;
}
.sp-container button:hover {
    background-color: #dddddd;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#dddddd), to(#bbbbbb));
    background-image: linear-gradient(to bottom, #dddddd, #bbbbbb);
    border: 1px solid #bbb;
    border-bottom: 1px solid #999;
    cursor: pointer;
    text-shadow: 0 1px 0 #ddd;
}
.sp-container button:active {
    border: 1px solid #aaa;
    border-bottom: 1px solid #888;
    -webkit-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
    -ms-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
    -o-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
    box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
}
.sp-cancel {
    font-size: 11px;
    color: #d93f3f !important;
    margin:0;
    padding:2px;
    margin-right: 5px;
    vertical-align: middle;
    text-decoration:none;

}
.sp-cancel:hover {
    color: #d93f3f !important;
    text-decoration: underline;
}


.sp-palette span:hover, .sp-palette span.sp-thumb-active {
    border-color: #000;
}

.sp-preview, .sp-alpha, .sp-thumb-el {
    position:relative;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);
}
.sp-preview-inner, .sp-alpha-inner, .sp-thumb-inner {
    display:block;
    position:absolute;
    top:0;left:0;bottom:0;right:0;
}

.sp-palette .sp-thumb-inner {
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeNpiYBhsgJFMffxAXABlN5JruT4Q3wfi/0DsT64h8UD8HmpIPCWG/KemIfOJCUB+Aoacx6EGBZyHBqI+WsDCwuQ9mhxeg2A210Ntfo8klk9sOMijaURm7yc1UP2RNCMbKE9ODK1HM6iegYLkfx8pligC9lCD7KmRof0ZhjQACDAAceovrtpVBRkAAAAASUVORK5CYII=);
}

.sp-palette .sp-thumb-dark.sp-thumb-active .sp-thumb-inner {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAMdJREFUOE+tkgsNwzAMRMugEAahEAahEAZhEAqlEAZhEAohEAYh81X2dIm8fKpEspLGvudPOsUYpxE2BIJCroJmEW9qJ+MKaBFhEMNabSy9oIcIPwrB+afvAUFoK4H0tMaQ3XtlrggDhOVVMuT4E5MMG0FBbCEYzjYT7OxLEvIHQLY2zWwQ3D+9luyOQTfKDiFD3iUIfPk8VqrKjgAiSfGFPecrg6HN6m/iBcwiDAo7WiBeawa+Kwh7tZoSCGLMqwlSAzVDhoK+6vH4G0P5wdkAAAAASUVORK5CYII=);
}

.sp-clear-display {
    background-repeat:no-repeat;
    background-position: center;
    background-image: url(data:image/gif;base64,R0lGODlhFAAUAPcAAAAAAJmZmZ2dnZ6enqKioqOjo6SkpKWlpaampqenp6ioqKmpqaqqqqurq/Hx8fLy8vT09PX19ff39/j4+Pn5+fr6+vv7+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAP8ALAAAAAAUABQAAAihAP9FoPCvoMGDBy08+EdhQAIJCCMybCDAAYUEARBAlFiQQoMABQhKUJBxY0SPICEYHBnggEmDKAuoPMjS5cGYMxHW3IiT478JJA8M/CjTZ0GgLRekNGpwAsYABHIypcAgQMsITDtWJYBR6NSqMico9cqR6tKfY7GeBCuVwlipDNmefAtTrkSzB1RaIAoXodsABiZAEFB06gIBWC1mLVgBa0AAOw==);
}
@font-face {
  font-family: 'Boom And Farrow';
  font-style: normal;
  font-weight: 400;
  src: url(/assets/labelbuilder/fonts/BoomFarrow.eot);
  src:
  url(/assets/labelbuilder/fonts/BoomFarrow.woff) format("woff"),
  url(/assets/labelbuilder/fonts/BoomFarrow.woff2) format('woff2');
}

@font-face {
  font-family: 'Blissfully';
  font-style: normal;
  font-weight: 400;
  src: url(/assets/labelbuilder/fonts/Blissfully.eot);
  src:
  url(/assets/labelbuilder/fonts/Blissfully.woff) format("woff"),
  url(/assets/labelbuilder/fonts/Blissfully.woff2) format('woff2');
}

@font-face {
  font-family: 'OptiYork Script';
  font-style: normal;
  font-weight: 400;
  src: url(/assets/labelbuilder/fonts/OPTIYork.eot);
  src:
  url(/assets/labelbuilder/fonts/OPTIYork.woff) format("woff"),
  url(/assets/labelbuilder/fonts/OPTIYork.woff2) format('woff2');
}

@font-face {
  font-family: 'Angela';
  font-style: normal;
  font-weight: 400;
  src: url(/assets/labelbuilder/fonts/Angela.eot);
  src:
  url(/assets/labelbuilder/fonts/Angela.woff) format("woff"),
  url(/assets/labelbuilder/fonts/Angela.woff2) format('woff2');
}

@font-face {
  font-family: 'Flemish Script';
  font-style: normal;
  font-weight: 400;
  src: url(/assets/labelbuilder/fonts/OPTIFlemish-Script.eot);
  src:
  url(/assets/labelbuilder/fonts/OPTIFlemish-Script.woff) format("woff"),
  url(/assets/labelbuilder/fonts/OPTIFlemish-Script.woff2) format('woff2');
}

@font-face {
  font-family: 'Bank Script';
  font-style: normal;
  font-weight: 400;
  src: url(/assets/labelbuilder/fonts/OPTIBank-Script.eot);
  src:
  url(/assets/labelbuilder/fonts/OPTIBank-Script.woff) format("woff"),
  url(/assets/labelbuilder/fonts/OPTIBank-Script.woff2) format('woff2');
}

@font-face {
  font-family: 'Honey Script';
  font-style: normal;
  font-weight: 300;
  src: url(/assets/labelbuilder/fonts/HoneyScript-Light.eot);
  src:
  url(/assets/labelbuilder/fonts/HoneyScript-Light.woff) format("woff"),
  url(/assets/labelbuilder/fonts/HoneyScript-Light.woff2) format('woff2');
}

@font-face {
  font-family: 'Honey Script';
  font-style: normal;
  font-weight: 600;
  src: url(/assets/labelbuilder/fonts/HoneyScript-SemiBold.eot);
  src:
  url(/assets/labelbuilder/fonts/HoneyScript-SemiBold.woff) format("woff"),
  url(/assets/labelbuilder/fonts/HoneyScript-SemiBold.woff2) format('woff2');
}

@font-face {
  font-family: 'DELPHIAN';
  font-style: normal;
  font-weight: 400;
  src: url(/assets/labelbuilder/fonts/OPTIDelphian.eot);
  src:
  url(/assets/labelbuilder/fonts/OPTIDelphian.woff) format("woff"),
  url(/assets/labelbuilder/fonts/OPTIDelphian.woff2) format('woff2');
}

@font-face {
  font-family: 'Bodoni Open';
  font-style: normal;
  font-weight: 400;
  src: url(/assets/labelbuilder/fonts/OPTIBodoni-Open.eot);
  src:
  url(/assets/labelbuilder/fonts/OPTIBodoni-Open.woff) format("woff"),
  url(/assets/labelbuilder/fonts/OPTIBodoni-Open.woff2) format('woff2');
}

@font-face {
  font-family: 'Grand B';
  font-style: normal;
  font-weight: 400;
  src: url(/assets/labelbuilder/fonts/GrandBOpti.eot);
  src:
  url(/assets/labelbuilder/fonts/GrandBOpti.woff) format("woff"),
  url(/assets/labelbuilder/fonts/GrandBOpti.woff2) format('woff2');
}

@font-face {
  font-family: 'Burley';
  font-style: normal;
  font-weight: 400;
  src: url(/assets/labelbuilder/fonts/OPTIBurley.eot);
  src:
  url(/assets/labelbuilder/fonts/OPTIBurley.woff) format("woff"),
  url(/assets/labelbuilder/fonts/OPTIBurley.woff2) format('woff2');
}

@font-face {
  font-family: 'Circus Caps';
  font-style: normal;
  font-weight: 400;
  src: url(/assets/labelbuilder/fonts/CircusCapsOpti.eot);
  src:
  url(/assets/labelbuilder/fonts/CircusCapsOpti.woff) format("woff"),
  url(/assets/labelbuilder/fonts/CircusCapsOpti.woff2) format('woff2');
}

@font-face {
  font-family: 'CamingoCode Mono';
  font-style: normal;
  font-weight: 400;
  src: url(/assets/labelbuilder/fonts/CamingoCode-Regular.eot);
  src:
  url(/assets/labelbuilder/fonts/CamingoCode-Regular.woff) format("woff"),
  url(/assets/labelbuilder/fonts/CamingoCode-Regular.woff2) format('woff2');
}

@font-face {
  font-family: 'CamingoCode Mono';
  font-style: normal;
  font-weight: 700;
  src: url(/assets/labelbuilder/fonts/CamingoCode-Bold.eot);
  src:
  url(/assets/labelbuilder/fonts/CamingoCode-Bold.woff) format("woff"),
  url(/assets/labelbuilder/fonts/CamingoCode-Bold.woff2) format('woff2');
}

@font-face {
  font-family: 'Wind Song';
  font-style: normal;
  font-weight: 400;
  src: url(/assets/labelbuilder/fonts/WindSong-Regular.eot);
  src:
  url(/assets/labelbuilder/fonts/WindSong-Regular.woff) format("woff"),
  url(/assets/labelbuilder/fonts/WindSong-Regular.woff2) format('woff2');
}

@font-face {
  font-family: 'Wind Song';
  font-style: normal;
  font-weight: 500;
  src: url(/assets/labelbuilder/fonts/WindSong-Medium.eot);
  src:
  url(/assets/labelbuilder/fonts/WindSong-Medium.woff) format("woff"),
  url(/assets/labelbuilder/fonts/WindSong-Medium.woff2) format('woff2');
}

@font-face {
  font-family: 'Cinzel Decorative';
  font-style: normal;
  font-weight: 400;
  src: url(/assets/labelbuilder/fonts/CinzelDecorative-Regular.eot);
  src:
  url(/assets/labelbuilder/fonts/CinzelDecorative-Regular.woff) format("woff"),
  url(/assets/labelbuilder/fonts/CinzelDecorative-Regular.woff2) format('woff2');
}

@font-face {
  font-family: 'Cinzel Decorative';
  font-style: normal;
  font-weight: 700;
  src: url(/assets/labelbuilder/fonts/CinzelDecorative-Bold.eot);
  src:
  url(/assets/labelbuilder/fonts/CinzelDecorative-Bold.woff) format("woff"),
  url(/assets/labelbuilder/fonts/CinzelDecorative-Bold.woff2) format('woff2');
}

@font-face {
  font-family: 'Cinzel Decorative';
  font-style: normal;
  font-weight: 900;
  src: url(/assets/labelbuilder/fonts/CinzelDecorative-Black.eot);
  src:
  url(/assets/labelbuilder/fonts/CinzelDecorative-Black.woff) format("woff"),
  url(/assets/labelbuilder/fonts/CinzelDecorative-Black.woff2) format('woff2');
}

@font-face {
  font-family: 'Playfair Display SC';
  font-style: normal;
  font-weight: 400;
  src: url(/assets/labelbuilder/fonts/PlayfairDisplaySC-Regular.eot);
  src:
  url(/assets/labelbuilder/fonts/PlayfairDisplaySC-Regular.woff) format("woff"),
  url(/assets/labelbuilder/fonts/PlayfairDisplaySC-Regular.woff2) format('woff2');
}

@font-face {
  font-family: 'Playfair Display SC';
  font-style: normal;
  font-weight: 700;
  src: url(/assets/labelbuilder/fonts/PlayfairDisplaySC-Bold.eot);
  src:
  url(/assets/labelbuilder/fonts/PlayfairDisplaySC-Bold.woff) format("woff"),
  url(/assets/labelbuilder/fonts/PlayfairDisplaySC-Bold.woff2) format('woff2');
}

@font-face {
  font-family: 'Playfair Display SC';
  font-style: normal;
  font-weight: 900;
  src: url(/assets/labelbuilder/fonts/PlayfairDisplaySC-Black.eot);
  src:
  url(/assets/labelbuilder/fonts/PlayfairDisplaySC-Black.woff) format("woff"),
  url(/assets/labelbuilder/fonts/PlayfairDisplaySC-Black.woff2) format('woff2');
}

/* @media print {
  .editor {
     display: none; 
  }
} */

body {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

div {
  font-family: Roboto, sans-serif;
}

.no-scroll {
  overflow: hidden;
}

input:invalid {
  -webkit-box-shadow: none;
          box-shadow: none;
}

#header {
  position:static;
}

#promo-bar {
  position:absolute;
}

#header+.logo-shadow+*, #header+:not(.logo-shadow) {
  padding-top: 0;
}

.tab-section {
  padding: 0;
  border: 0;
}

#tab-4, #tab-5 {
  padding: 18px 18px 10px 26px;
}

.container, .tab-section {
  position: static;
}

.tab-section.loading::before {
  z-index: 101;
}

#container {
  min-height: 600px;
  position: relative;
}

.loading-overlay {
  background: rgba(244, 244, 244, 0.70);
	width: 100%;
	height: 100%;
	position: absolute;
	background-image: url(/assets/images/labelEditor/loading-spinner.svg);
	background-position: 50% 50%;
	background-repeat: no-repeat;
  top: 0;
	z-index: 3;
  display: none;
}

#backdrop {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .0;
  z-index: 105;
  display: none;
}

#box-holder {
  position: fixed;
  display: none;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 110;
}

#crop-box {
  background: #cccccc;
  color: #000;
  z-index: 51;
  padding: 10px;
  border-radius: 5px;
  -webkit-box-shadow: 0px 0px 5px #444444;
  box-shadow: 0px 0px 5px #444444;
  display: none;
}

#crop-holder {
  margin-top: 10px;
}

#crop-box .crop-size-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#crop-box .crop-size-container span {
  padding: 0 10px;
  font-size: 14px;
}

#crop-box #close, #crop-box #accept {
  float: right;
  margin-top: 9px;
  font-size: 14px;
  cursor: pointer;
  color: #fff;
  padding: 8px 12px;
  min-width: 50px;
  text-align: center;
  border-radius: 2em;
}

#crop-box #accept {
  background: #b33833;
}

#crop-box #close {
  background: #7a7979;
  margin-right: 7px;
}

.canvas-container {
  margin: 0px auto;
}

#canvas-label-one, #canvas-label-two {
  margin: 20px auto;
  padding: 0 40px;
  /* z-index: 1; */
  /* pointer-events: none; */
}

/* #canvas-label-one > div, #canvas-label-two > div {
  pointer-events: all;
} */

#canvas-label-two {
  display: none;
}

#canvas-holder {
  width: 100%;
  text-align: center;
  min-height: 650px;
  overflow-x: auto;
  padding-bottom: 20px;
  display: none;
  position: relative;
  min-height: 650px;
}

#canvas-holder.sticky {
  margin-top: 90px;
}

.scroll-margin {
  position:absolute;
  width: 30px;
  top: 150px;
  bottom: 0;
  z-index:2;
}

.dieline-overlay {
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: 1;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  pointer-events: none;
}

.dieline-overlay svg {
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.dieline-overlay svg > * {
  fill:rgba(0,0,0,0);
  stroke-width:1;
  stroke:rgb(0,0,0);
  stroke-dasharray: 8 8;
  vector-effect: non-scaling-stroke;
}

#control-panel {
  display:none;
  width: 230px;
  position: absolute;
  right: -200px;
  border: 1px solid #cccccc;
  background: #f4f4f4;
  padding: 10px;
  margin-top: 105px;
  z-index: 5;
}

#tab-1 {
  position: relative;
}

.crop-size-field {
  width: 100px;
  padding: 5px;
  font-size: 18px;
  border: 1px solid #9e9e9e;
  border-radius: 3px;
}

.btn-header {
  padding-top: 8px;
}

.btn-panel {
  margin-top: 12px;
  border-top: none;
  padding: 0;
  gap: 3px;
}

#zoom-level {
  width:30px;
  display:inline-block;
  color: black;
}

.control {
  display: inline-block;
  padding: 2px 4px 3px 4px;
  border: none;
  cursor: pointer;
  background: inherit;
  margin: 0;
}

.control.new {
  background-image: url(/assets/client/Image/new-flag.png);
  background-position: right top;
  background-repeat: no-repeat;
  background-size: 2.5em;
}

#spellcheck .control.new {
  background-size: 2em;
  padding-right: 13px;
}

#control-panel .control span {
  position: relative;
  top: -3px;
}

button.control[data-action="browse-images"],
button.control[data-action="upload-image"],
button.control[data-action="my-images"] {
  padding: 8px 12px;
  background: #ac271f;
  color: white;
  border-radius: 2em;
  border: 1px solid transparent;
  margin: 0 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 1.25em;
  fill: #fff;
}

button.control[data-action="browse-images"]:hover,
button.control[data-action="my-images"]:hover,
button.control[data-action="upload-image"]:hover {
  background: white;
  color: #ac271f;
  border-color: #ac271f;
  fill: #ac271f;
}

button.control[data-action="browse-images"] svg,
button.control[data-action="my-images"] svg,
button.control[data-action="upload-image"] svg {
  margin-right: 5px;
}

#btn-toolbar {	
  padding: 0 5px;	
  text-align: center;	
  display: -webkit-box;	
  display: -ms-flexbox;	
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 5px;
}	

.btn-toolbar-holder {	
  width: 100%;	
  display: -webkit-box;	
  display: -ms-flexbox;	
  display: flex;	
  -webkit-box-pack: center;	
      -ms-flex-pack: center;	
          justify-content: center;	
}

#btn-toolbar .control:disabled, #float-panel .control:disabled {
  fill: #a19b97;
  color: #a19b97;
}

.control:disabled {
  cursor: default;
  opacity: 0.5;
}

#btn-toolbar .control:disabled:hover {
  background: inherit;
}

#toolbar-left .control[data-action="show-options"] span {	
  font-size: 9px;
  margin-left: -2px;
  top: -12px;
  position: relative;
}

.control:not(:disabled):hover {
  background-color: #e8e8e8;
}

.control.unlock svg[data-name='lock']  {
  display: none;
}

.control.lock svg[data-name='unlock'] {
  display: none;
}

.control-group {
  font-size: 13px;
  display: none;
}

#size-controls {
  margin-top: 0;
  display: block;
}

#color-controls {
  display: block;
}

/* #object-controls #image-fill,
#object-controls #fill-mode-controls,
#object-controls #image-fill-controls {
  display: none;
} */

#fill-mode-controls {
  width: 115px;
}

#object-controls #fill-controls {
  border-bottom: 1px solid #cccccc;
  margin-bottom: 12px;
}

#object-controls.image-fill #solid-fill,
#object-controls:not(.image-fill) #image-fill,
#object-controls:not(.image-fill) #image-fill-controls,
#object-controls:not(.image-fill):not(.solid-fill) #fill-mode-controls {
  display: none;
}

#image-fill-controls.disabled {
  opacity: 0.7;
  pointer-events: none;
}

#image-fill-controls .slider-value {
  margin-right: 0;
  margin-left: 3px;
}

#image-fill-controls .slider-group {
  margin-bottom: 0;
}

#image-fill-controls {
  margin: -8px 0 8px 0;
}

#image-fill {
  position: relative;
  border: none;
  background: none;
}

#image-fill .dropdown-box {
  width: 120px;
  height: 200px;
  top: 100%;
  right: 0;
}

#image-fill ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

#image-fill .dropdown-box li {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 0;
  overflow: hidden;
}

#image-fill .dropdown-box li img {
  height: 100%;
  width: auto;
}

#control-panel .control-group:not(:first-child) {
  border-top: 1px solid #cccccc;
}

#control-panel .control-group:not(.option) .control-header {
  cursor: pointer;
}

.dropdown-content .dropdown-group .dropdown-heading::after,
#control-panel .control-group:not(.option) .control-header::after {
  display: block;
  content: ' ';
  height: 16px;
  width: 16px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  right: 3px;
  position: absolute;
  top: 0.7em;
  -webkit-transition: -webkit-transform .2s ease-in;
  transition: -webkit-transform .2s ease-in;
  transition: transform .2s ease-in;
  transition: transform .2s ease-in, -webkit-transform .2s ease-in;
}

.dropdown-content .dropdown-group.collapsed .dropdown-heading::after,
#control-panel .control-group.collapsed:not(.option) .control-header::after {
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
}

#control-panel .control-group:not(.option) .control-header:hover {
  background: #eaeaea;
}

#image-controls.advanced #image-filters {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

#image-controls.advanced .control[data-action="ai-remove-bg"] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#image-filters {
  margin: 5px 0 8px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  gap: 3px;
}

#image-filters > div > svg {
  margin-right: 2px;
}

.control[data-action="ai-remove-bg"] {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  max-width: 70px;
  font-size: 11px;
  display: none;
  padding: 5px;
  gap: 2px;
  line-height: 1.2em;
}

.ui-selectmenu-button {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}

#dpi-warning {
  background: #ffffcd;
  padding: 10px;
  border-radius: 15px;
  border: 1px solid #f0e997;
  display: none;
}

#dpi-current, #dpi-minimum {
  font-size: 20px;
}

.dpi-title {
  margin-top: 8px;
}

.control-enable {
  font-size: 11px;
  right: 10px;
  position: absolute;
  display: inline-block;
  margin-top: -2px;
}

.control-enable input {
  vertical-align: middle;
}

.control-header {
  font-size: 13px;
  /* background: #a7a39f; */
  font-weight: bold;
  color: #000;
  padding: 10px;
 /*  border-radius: 5px; */
  height: 15px;
  position: relative;
}

.control-header span {
  margin-left: 3px;
}

.control-header svg {
  fill: #000;
  width: 1.4em;
  height: 1.4em;
  vertical-align: -5px;
  margin-top: -2px;
  margin-left: -3px;
}

#dialog-warning, #dialog-template, #dialog-warning .dialog-select-slot, .dialog {
  display: none;
}

.writing-controls {
  position: relative;
  min-height: 120px;
}

.ui-dialog { z-index: 120 !important ;}

.ui-dialog .loading:after {
  content: '';
  background: rgba(255, 255, 255, 0.7);
	width: 100%;
  height: 100%;
  left: 0;
  top: 0;
	position: absolute;
	background-image: url(/assets/images/labelEditor/loading-spinner.svg);
	background-position: 50% 50%;
	background-repeat: no-repeat;
}

#dialog-ai-spellcheck .dialog-disclaimer,
#dialog-ai-assistant .dialog-disclaimer {
  font-size: 12px;
  color: #777777;
  margin-top: 8px;
}

#text-positions {
  /* user-select: text; */
  padding: 0;
  list-style: none;
  max-width: calc(100% - 40px);
}

#text-positions li {
  cursor: pointer;
}

#text-positions li,
#dialog-ai-assistant .current-text {
  padding: 8px 12px 8px 8px;
  border: 2px solid #fff;
  background: #f0f0f0;
  font-size: 14px;
  display: inline-block;
  margin: 1px;
}

#ai-prompt-container .ai-prompt-input {
  width: 100%;
  border: none;
  background: #f0f0f0;
  padding: 8px 8px 8px 36px;
  color: #333;
  resize: none;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

#ai-prompt-container .ai-input-container {
  margin: 15px 0;
  position: relative;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#ai-prompt-container .ai-input-container svg {
  position: absolute;
  left: 6px;
  pointer-events: none;
  fill: #007fff;
}

#ai-prompt-container .ai-prompt-input:focus-visible {
  outline: 1px solid #b3b3b3;
}

#dialog-ai-assistant .dialog-message {
  padding-top: 10px;
}

#dialog-ai-assistant .current-text {
  padding: 10px;
  border: none;
  margin: 0;
}

#dialog-ai-assistant .current-text,
#text-positions li > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#text-positions li:not(.ui-selected) > div > span {
  overflow: hidden;
  /* text-overflow: ellipsis; */
  /* white-space: nowrap; */
}

#text-positions li:hover {
  background: #e2e3e8;
}

#text-positions li.ui-selected {
  background: #7385bf;
  color: white;
  /* font-size: 15px; */
}

#dialog-ai-assistant .current-text > div {
  margin-left: 2px;
  /* user-select: text; */
}

#dialog-ai-assistant .current-text svg,
#text-positions li svg {
  margin-right: 6px;
  min-width: 16px;
}

#text-positions li.ui-selected svg {
  fill: white;
}

.ai-correction-header {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #d5d5d5;
  font-size: 12px;
  font-weight: bold;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.ai-correction-header > div > span {
  display: block;
  font-weight: 400;
  font-size: 11px;
}

.ai-correction-header .ui-button {
  width: 16px;
  height: 16px;
  padding: 10px;
}

.ai-correction-actions button:last-child {
  margin-left: 0.2em;
}

.ai-correction-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: right;
      -ms-flex-pack: right;
          justify-content: right;
  padding-top: 8px;
  border-top: 1px solid #d5d5d5;
  margin-top: 8px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#ai-prompt-container .ai-correction-actions {
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

#ai-prompt-container .ai-correction-actions > label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#ai-prompt-container .ai-correction-actions > label > input {
  margin: 8px;
}

#ai-prompt-container .ai-correction-actions > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.ai-corrected-text .correction {
  font-weight: bold;
  background: url('data:image/gif;base64,R0lGODlhBAADAIABAP8AAAAAACH5BAEAAAEALAAAAAAEAAMAAAIFjAGRagUAOw==') bottom repeat-x;
}

.tippy-content .ai-correction-content {
  -webkit-user-select: text;
     -moz-user-select: text;
      -ms-user-select: text;
          user-select: text;
}

.tippy-content .ai-correction-content .correction {
  font-weight: bold;
}

.writing-controls.generated .tippy-content .ai-correction-content {
  font-weight: bold;
  }

#dialog-ai-spellcheck .tippy-content .ai-correction-content .correction {
  background: #d0e8d0;
  padding: 1px;
}

.tippy-box[data-theme~=ai-light] {
  color: #26323d;
  -webkit-box-shadow: 0px 6px 13px 0px rgb(91 94 105 / 53%);
          box-shadow: 0px 6px 13px 0px rgb(91 94 105 / 53%);
  background-color: #fff;
  padding: 8px;
  border: 1px solid #bebebe;
}

.tippy-box[data-theme~=ai-light] .tippy-arrow {
  color: #fff;
}

#dialog-ai-assistant .options-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex; 
  -webkit-box-pack: right; 
      -ms-flex-pack: right; 
          justify-content: right;
}

#dialog-ai-assistant .options-list {
  margin-top: 0;
  background: #e0e0e0;
  border-radius: 0 0 20px 20px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

#dialog-ai-assistant .options-list .ss-main .ss-arrow {
  margin-right: 0;
}

#dialog-ai-assistant .options-list li {
  font-size: 12px;
}

.writing-controls .options-list {
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: right;
      -ms-flex-pack: right;
          justify-content: right;
}

.writing-controls .ss-main:focus {
  -webkit-box-shadow: none;
          box-shadow: none;
}

.writing-controls .ss-main {
  color: #333;
}

.ss-content {
  min-width: 110px;
}

.writing-controls .options-list li {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: pointer;
  font-size: 14px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  line-height: 1em;
  font-weight: bold;
}

.writing-controls .dialog-heading {
  font-size: 14px;
  margin: 20px 0 10px 0;
  font-weight: bold;
}

.writing-controls .ss-main {
  border: none;
}

.writing-controls .options-list li.btn,
.writing-controls .options-list li > div[aria-label="Combobox"] {
  padding: 9px 11px;
  border-radius: 25px;
  background: none;
  margin: 3px;
}

#dialog-ai-assistant.no-existing-text .writing-controls .options-list li > div[aria-label="Combobox"] {
  pointer-events: none;
  opacity: 0.7;
}

#dialog-ai-assistant.no-existing-text .ai-correction-actions {
  -webkit-box-pack: right;
      -ms-flex-pack: right;
          justify-content: right;
}

#dialog-ai-assistant.no-existing-text .ai-correction-actions > label {
  display: none;
}

.writing-controls .options-list li > div[aria-label="Combobox"]:hover,
.writing-controls .options-list li.btn:hover,
.writing-controls .options-list li.btn.active {
  background: #f0f0f0;
}

#ai-generated-text {
  display: none;
}

.tippy-box #ai-generated-text,
.writing-controls.no-changes #ai-generated-text .ai-message {
  display: block;
}

#ai-generated-text .ai-message,
#ai-generated-text,
.writing-controls.no-changes #ai-generated-text .ai-changes {
  display: none;
}

#dialog-ai-assistant .writing-controls:not(.no-changes) .current-text:hover {
  cursor: pointer;
  background: #e2e3e8;
}

#dialog-warning .dialog-select-slot div {
  margin: 10px 0;
}

#dialog-warning .dialog-slot-header {
  font-size: 18px;
  font-weight: 500;
}

#dialog-warning > label {
  display: none;
  margin-top: 20px;
}

#dialog-warning .ui-icon ui-icon-alert {
  float:left; 
  margin:12px 12px 20px 0;
}

#dialog-template input[type=text] {
  font-size: 1.2em;
  padding: 5px;
}

#dialog-template .dialog-message {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 14px;
}

#dialog-template .label-thumb, #dialog-warning .label-thumb {
  text-align: center;
  padding: 10px;
  background: #e5e5e5;
}

#dialog-warning .label-thumb {
  display: none;
}

#dialog-warning .dialog-msg-holder {
  margin-top: 20px;
}

#my-designs-instructions {
  margin-top: 20px;
}

#my-designs-instructions span {
  font-weight: bold;
  color: #a1291b;
  cursor: pointer;
}

.ui-dialog {
  font-size:14px;
}

.ui-dialog .error {
  padding: 20px;
}

.control-content {
  padding: 8px 5px;
}

.swatch-group {
  margin-bottom: 10px;
  display: inline-block;
}

.swatch-group > span {
  color: #6d6d6d;
}

#color-controls .swatch-group {
  padding: 10px 0px;
  margin-bottom: -15px;
  border: none;
}

.slider-group {
  display: inline-block;
  margin-bottom: 5px;
  font-size: 11px;
}

#crop-button-container {
  float: right;
  width: 40px;
  height: 70px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#crop-button-container .control {
  padding-top: 6px;
}

.editor.lower-canvas {
  -webkit-filter: drop-shadow(0px 3px 3px #888888);
  filter: drop-shadow(0px 3px 3px #888888);
}

.setAttribute {
  width: 100px;
}

#layers-container {
  min-height: 300px;
  max-height: 400px;
  padding: 5px;
  overflow-y: auto;
  overflow-x: hidden;
}

#layers-panel {
  list-style-type: none;
  padding: 0;
  margin-top: 0;
}

.layer {
  background: #fff;
  border: 2px solid #fff;
  -webkit-box-shadow: 2px 1px 2px #c3c3c3;
          box-shadow: 2px 1px 2px #c3c3c3;
  color: #333333;
  margin-bottom: 3px;
  cursor: move;
  position:relative;
  height: 31px;
}

.layer-contents {
  padding: 7px 5px 4px 5px;
  font-size: 11px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.layer svg rect, .layer svg path {
  fill: #000;
}

.layer.active svg rect,
 .layer.active svg path,
  .layer.active .layer-visible.hidden-layer svg path  {
  fill: #fff;
}

.layer-name {
  padding-left: 5px;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  white-space: nowrap;
  margin-top: 2px;
}

.layer-swatch {
  height: 100%;
  width: 12px;
  position: absolute;
  right: 0;
  top: 0;
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="black" height="28" viewBox="0 0 24 24" width="28"><path d="M0 0h24v24H0z" fill="none"/><path stroke="white" stroke-width="1" d="M20.71 5.63l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-3.12 3.12-1.93-1.91-1.41 1.41 1.42 1.42L3 16.25V21h4.75l8.92-8.92 1.42 1.42 1.41-1.41-1.92-1.92 3.12-3.12c.4-.4.4-1.03.01-1.42zM6.92 19L5 17.08l8.06-8.06 1.92 1.92L6.92 19z"/></svg>') 4 25, crosshair;
}

.layer-visible {
  cursor: pointer;
  width: 16px;
  height: 16px;
  right: 20px;
  position: absolute;
  top: 8px;
  fill: #000;
}

.layer-visible.hidden-layer svg path {
  fill: #818181;
}

.layer.placeholder {
  background: #cccccc;
}

.layer.active {
  background: #7385bf;
  color: #fff;
  border: 2px solid #fff;
  cursor: move;
}

#layers-panel .layer.warn {
  border-color: #a1291b;
  /* display: block;
  position:absolute;
  content: ' ';
  left: 3px;
  top: 7px;
  height: 16px;
  width: 16px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px; */
}

.layer:hover, .layer.hovered {
  border: 2px solid #7385bf;
}

#toolbar-left #obj-size-fields {
  padding-left: 3px;
  padding: 5px;
  background: #e8e8e8;
  border-radius: 5px;
}

#toolbar-left #obj-size-fields svg {
  vertical-align: -4px;
}

#toolbar-left #obj-size-fields span {
  font-size: 10px;
}

#toolbar-left #obj-size-fields input {
  max-width: 38px;
  background: none;
  border: none;
  color: #706652;
  font-size: 12px;
  margin-top: -2px;
  background: #f4f4f4;
}

/* Chrome, Safari, Edge, Opera - hide spinner*/
#obj-size-fields input::-webkit-outer-spin-button,
#obj-size-fields input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox hide spinner */
#obj-size-fields input[type=number] {
  -moz-appearance: textfield;
}

#stroke-type {
  float: right;
  margin-top: 4px;
  height: 25px;
}

.ui-state-highlight {
  height: 31px;
  background: #cccccc;
  border: none;
  margin: 3px 0px;
}

.ui-slider {
  width: 165px;
  display: inline-block;
  height: 4px;
}

.ui-slider-mini {
  width: 60px;
  display: inline-block;
  height: 4px;
}

.ui-slider-nano {
  width: 50px;
  display: inline-block;
  height: 4px;
}

.ui-slider-handle {
  width: 1.6em;
  border-radius: 50%;
  height: 1.6em;
  top: 50%;
  margin-top: -3px;
}

.ui-selectmenu-text {
  margin-right: 15px;
}

.ui-selectmenu-button.ui-button {
  background: white;
}

.slider-value {
  display: inline-block;
  margin-left: 10px;
  margin-right: 13px;
  width: 10px;
  font-size: 12px;
}

.style-control {
  padding: 5px 6.5px;
  border: none;
  cursor: pointer;
  background: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 5px;
}

.style-control:not(:first-child) {
  margin-left: 2px;
}

.style-control:hover {
  background: #ddd;
}

.style-control.active:not([data-attribute="textAlign"]) {
  background: #9c9c9c;
  color: #fff;
  fill: #fff;
}

.style-control[data-attribute="textAlign"] svg {
  display: none;
}

.style-control[data-attribute="textAlign"][data-value="left"] svg[data-name="left"],
.style-control[data-attribute="textAlign"][data-value="center"] svg[data-name="center"],
.style-control[data-attribute="textAlign"][data-value="right"] svg[data-name="right"],
.style-control[data-attribute="textAlign"][data-value="justify-left"] svg[data-name="justify-left"] {
  display: block;
}

/* .control-group #path-side-options, */
.control-group.textpath .textbox-prop,
.control-group #text-add-options .textpath-prop {
  display: none;
}

.control-group .style-control[data-attribute="pathSide"][data-value="right"] {
  display: none;
}

.control-group.textpath .style-control[data-attribute="pathSide"][data-value="right"] {
  display: block;
}

.control-group.textpath #text-add-options .textpath-prop,
.control-group.textpath #path-side-options {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.control-group.textpath #text-add-options .justify {
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
}

.control-group.textpath #path-side-options {
  padding: 3px;
  background: #e8e8e8;
  border-radius: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.control-group #path-side-options {
  display: none;
}

#path-side-options .style-control {
  padding: 3px;
}

.library-holder {
  overflow-x: scroll;
  white-space: nowrap;
}

#library-images, #library-graphics, #library-examples {
  padding-left: 0px;
  margin: 0px;
}

/* .ui-accordion .ui-accordion-content {
  padding: 10px;
} */

.ui-state-active {
  border: 1px solid #635f5c;
  background: #a3a3a3;
  font-weight: normal;
  color: #fff;
}

.ui-accordion .ui-accordion-header {
  padding: 10px;
  outline: none;
  border: none;
  margin-top: 5px;
}

.ui-accordion-content h4 {
  margin: 10px 0;
  font-size: 20px;
}

.ui-accordion-content ul ul {
  -webkit-margin-after: 12px;
          margin-block-end: 12px;
}

#help-content img {
  max-width: 100%;
}

.ui-accordion-content h4:not(:first-child) {
  margin: 20px 0 10px 0;
  border-top: 1px solid silver;
  padding-top: 20px;
}

h3.ui-state-active {
  color: #fff;
}

h3.ui-state-active:focus {
  outline: none;
}

#toolbar-left {
  display:none;
  width: 200px;
  position: absolute;
  left: -170px;
  float: left;
  background: #f4f4f4;
  padding: 10px;
  border: 1px solid #cccccc;
  margin-top: 105px;
  z-index: 4;
}

#control-panel,
#toolbar-left {
	border: none;
	-webkit-box-shadow: 0px 0px 10px 0px #0000003d;
	        box-shadow: 0px 0px 10px 0px #0000003d;
}

#toolbar-left .label-thumb {
  display: inline-block;
  position:relative;
  padding: 8px;
  margin-right: 5px;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
}

#toolbar-left .label-thumb .label-thumb-container {
  height:70px;
  width:70px;
  position:relative;
  margin-bottom:12px;
}

#labels-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#toolbar-left .label-thumb img {
  /* box-shadow: 0px 3px 3px 0px #cfcfcf; */
  -webkit-filter: drop-shadow(0px 3px 3px #adadad);
  filter: drop-shadow(0px 3px 3px #adadad);
  max-height: 70px;
  max-width: 70px;
  width: auto;
  height: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.grid-wrapper .label-thumb .label-thumb-overlay {
  display: none;
  position: absolute;
  width: 100%;
  top: 50%;
  -webkit-transform: translate(0,-50%);
      -ms-transform: translate(0,-50%);
          transform: translate(0,-50%);
  -ms-flex-flow: wrap;
      flex-flow: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  z-index: 1;
}

.grid-wrapper .label-thumb.selected .label-thumb-overlay {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  pointer-events: none;
}

.grid-wrapper .label-thumb.selected.active .label-thumb-overlay {
  pointer-events: all;
}

.grid-wrapper .label-thumb.selected img {
  -webkit-filter: blur(2px);
          filter: blur(2px);
  opacity: 0.75;
  -webkit-transition: .2s;
  transition: .2s;
}

.grid-wrapper .label-thumb .break {
  width: 100%;
}

.grid-wrapper .label-thumb-button {
  background: #000;
  padding: 10px;
  border: 2px solid white;
  margin: 2px;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
}

.grid-wrapper .label-thumb-button:hover {
  background: #a1291b;
  -webkit-transform: scale(1.1);
      -ms-transform: scale(1.1);
          transform: scale(1.1);
  -webkit-transition: .2s;
  transition: .2s;
}

.grid-wrapper .label-thumb-button.open span {
  font-size: 14px;
  position: relative;
}

.grid-wrapper .label-thumb-button span {
  color: #fff;
}

.grid-wrapper .label-thumb-button.open {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.grid-wrapper .label-thumb-button.open:before {
  display: block;
  content: ' ';
  height: 32px;
  width: 50px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' enable-background='new 0 0 24 24' height='24px' viewBox='0 0 24 24' width='24px' fill='%23FFFFFF'%3E%3Cg%3E%3Crect fill='none' height='24' width='24'/%3E%3C/g%3E%3Cg%3E%3Cpath d='M14,2H6C4.9,2,4,2.9,4,4v16c0,1.1,0.89,2,1.99,2H15v-8h5V8L14,2z M13,9V3.5L18.5,9H13z M17,21.66V16h5.66v2h-2.24 l2.95,2.95l-1.41,1.41L19,19.41l0,2.24H17z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
}

.grid-wrapper .label-thumb-button.share:before {
  display: block;
  content: ' ';
  height: 16px;
  width: 16px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path fill="rgb(255,255,255)" d="M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
}

.grid-wrapper .tippy-tooltip {
  background-color: #adadad;
  width: 237px;
}

.grid-wrapper .tippy-tooltip[data-placement^=top]>.tippy-arrow {
  border-top-color: #adadad;
}

.grid-wrapper .tippy-tooltip[data-placement^=bottom]>.tippy-arrow {
  border-bottom-color: #adadad;
}

.grid-wrapper .tippy-tooltip[data-placement^=left]>.tippy-arrow {
  border-left-color: #adadad;
}

.grid-wrapper .tippy-tooltip[data-placement^=right]>.tippy-arrow {
  border-right-color: #adadad;
}

.grid-wrapper .share-tip {
  padding:5px;
  /* background: #000; */
  width: 210px;
  color: #fff;
  font-size: 13px;
}

.grid-wrapper .share-tip div {
  margin-bottom: 5px;
}

.grid-wrapper .share-tip a {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 5px;
  font-size: 14px;
  background: #a1291b;
  color: #fff;
}

.grid-wrapper .share-tip a:hover {
  text-decoration: none;
  background: #adadad;
  color: #fff;
}

.grid-wrapper .label-thumb-button.rename:before {
  display: block;
  content: ' ';
  height: 16px;
  width: 16px;
  background: url('data:image/svg+xml;utf8,<svg enable-background="new 0 0 16 16" version="1.1" fill="rgb(255,255,255)" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path d="m1.501 11.799v2.708h2.708l7.987-7.997-2.708-2.708-7.987 7.997zm12.789-7.383c0.281-0.282 0.281-0.737 0-1.019l-1.689-1.689c-0.281-0.282-0.737-0.282-1.019 0l-1.321 1.322 2.707 2.708 1.322-1.322z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
}

.gallery-holder .label-thumb-button.hide:before,
.grid-wrapper .label-thumb-button.addremove:before {
  display: block;
  content: ' ';
  height: 16px;
  width: 16px;
  background: url('data:image/svg+xml;utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" height="20" fill="%23fff" viewBox="0 0 16 16"><path d="M7.214,6.33v5.304c0,0.162-0.132,0.295-0.294,0.295H6.33c-0.163,0-0.294-0.133-0.294-0.295V6.33c0-0.162,0.132-0.294,0.294-0.294h0.59C7.083,6.035,7.214,6.167,7.214,6.33zM9.669,6.035H9.081c-0.164,0-0.296,0.132-0.296,0.294v5.304c0,0.162,0.132,0.295,0.296,0.295h0.588c0.164,0,0.296-0.133,0.296-0.295V6.33C9.965,6.167,9.833,6.035,9.669,6.035zM12.91,3.678c0.325,0,0.59,0.264,0.59,0.589v0.295c0,0.162-0.132,0.294-0.294,0.294h-0.491v8.25c0,0.651-0.528,1.179-1.18,1.179H4.464c-0.651,0-1.179-0.527-1.179-1.179v-8.25H2.795C2.632,4.857,2.5,4.725,2.5,4.563V4.268c0-0.325,0.264-0.589,0.589-0.589h1.827l0.835-1.392c0.213-0.355,0.597-0.572,1.01-0.572h2.476c0.415,0,0.798,0.217,1.011,0.572l0.836,1.392H12.91z M6.291,3.678h3.418L9.28,2.964C9.254,2.919,9.206,2.893,9.154,2.893H6.846c-0.052,0-0.1,0.027-0.126,0.071L6.291,3.678z M11.535,4.857H4.464v8.103c0,0.081,0.066,0.146,0.147,0.146h6.776c0.082,0,0.147-0.065,0.147-0.146V4.857z"></path></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
}

.gallery-holder .label-thumb-button.hide:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20px' viewBox='0 -960 960 960' width='20px' fill='%23FFFFFF'%3E%3Cpath d='m637-425-62-62q4-38-23-65.5T487-576l-62-62q13-5 27-7.5t28-2.5q70 0 119 49t49 119q0 14-2.5 28t-8.5 27Zm133 133-52-52q36-28 65.5-61.5T833-480q-49-101-144.5-158.5T480-696q-26 0-51 3t-49 10l-58-58q38-15 77.5-21t80.5-6q143 0 261.5 77.5T912-480q-22 57-58.5 103.5T770-292Zm-2 202L638-220q-38 14-77.5 21t-80.5 7q-143 0-261.5-77.5T48-480q22-57 58-104t84-85L90-769l51-51 678 679-51 51ZM241-617q-35 28-65 61.5T127-480q49 101 144.5 158.5T480-264q26 0 51-3.5t50-9.5l-45-45q-14 5-28 7.5t-28 2.5q-70 0-119-49t-49-119q0-14 3.5-28t6.5-28l-81-81Zm287 89Zm-96 96Z'/%3E%3C/svg%3E");
}

.gallery-holder .label-thumb-button.hide,
#toolbar-left .label-thumb-addremove {
  position: absolute;
  right: 0;
  z-index: 10;
  background: #a1291b;
  color: #fff;
  padding: 4px 4px;
  width: 16px;
  height: 16px;
  font-size: 18px;
  line-height: 0.9em;
  text-align: center;
  -webkit-box-shadow: 0px 4px 10px 0px #888888b0;
          box-shadow: 0px 4px 10px 0px #888888b0;
  border: 1px solid #fff;
  border-radius: 50%;
}

.gallery-holder .label-thumb-button.hide {
  background: #929292;
  top: -10px;
  right: -10px;
  width: 26px;
  height: 26px;
}

.gallery-holder .label-thumb-button.hide:hover {
  background: #a1291b;
  cursor: pointer;
}

#toolbar-left .label-thumb .label-thumb-addremove .hidden {
  display: none;
}

#toolbar-left .label-thumb .label-thumb-addremove svg {
  width: 16px;
  height: 16px;
}

#toolbar-left .label-thumb .label-thumb-addremove svg path {
  fill: #fff;
}

/* .grid-wrapper .label-thumb .label-thumb-addremove, 
.label-thumb-rename, .label-thumb-share {
  display: none;
} */

.grid-wrapper .label-thumb .label-thumb-addremove svg {
  fill: #fff;
}

/* .grid-wrapper .label-thumb.selected .label-thumb-addremove,
.grid-wrapper .label-thumb.selected .label-thumb-rename,
.grid-wrapper .label-thumb.selected .label-thumb-share {
  display: block;
} */

/* .grid-wrapper .label-thumb:hover {
  background: #dfdfdf;
} */

.grid-wrapper .label-thumb.selected {
  background: #dfdfdf;
}

#toolbar-left .label-thumb.active {
  background: #c0c0c0;
  color: white;
}

#selection-box {
  position: absolute;
  background: #c8c8f7;
  display: none;
}

#shape-outline {
  position:absolute;
  border:1px solid rgb(153,177,255);
  display:none;
  overflow:visible;
  cursor: move;
  pointer-events: all;
}

#shape-outline .selection-image {
  overflow: hidden;
  display: none;
  opacity: 0.25;
  width: 100%;
  height: 100%;
}

#corner-controls .corner-control {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: rgba(153,177,255,0.75);
  position: absolute;
  cursor: pointer;
  z-index: 1;
}

#corner-controls.square .corner-control {
  border-radius: 0;
}

#corner-controls.image .corner-control[data-name="ml"],
#corner-controls.image .corner-control[data-name="mr"] {
  border-radius: 0;
  width: 8px;
  margin: 0 4px;
}

#corner-controls.image .corner-control[data-name="mt"],
#corner-controls.image .corner-control[data-name="mb"] {
  border-radius: 0;
  height: 8px;
  margin: 4px 0;
}

#corner-controls .corner-control[data-name="mtr"]:before {
  border-radius: 0;
  height: 40px;
  width: 1px;
  border-left: 1px solid rgba(153,177,255,0.75);
  content: "";
  top: 8px;
  position: absolute;
}

#corner-controls .corner-control svg {
  fill: #fff;
  position: absolute;
  left: 1px;
  width: 16px;
}

#corner-controls {
  width: 100%;
  height: 100%;
  position: absolute;
}

.label-overlay-holder {
  width: 100%;
  height: 100%;
  position: absolute;
  pointer-events: none;
  overflow: hidden;
}

#float-panel {
  position: absolute;
  z-index: 3;
  pointer-events: auto;
  background: #4b4b4b;
  padding: 3px 5px;
  border-radius: 5px;
  -webkit-box-shadow: 1px 3px 5px 0px rgba(0, 0, 0, 0.5);
          box-shadow: 1px 3px 5px 0px rgba(0, 0, 0, 0.5);
  display: none;
}

#mobile-controls {
  display: none;
}

#mobile-controls2 {
  display: none;
}

.spacer {
  display: none;
}

#float-panel .selection-buttons {
  display: block;
}

#float-panel .control.large  {	
  max-width: 59px;	
  padding: 5px;	
  font-size: 11px;	
  display: block;	
  width: 100%;
}	
#float-panel .control.large svg  {	
  display: block;	
  margin: 0 auto 3px;	
  color: black;	
}	
#float-panel .control  {	
  display: inline-block;	
  margin: 2px 0;	
  color: white;	
  fill: white;	
}	
#float-panel .control:not(:disabled):hover {	
  background-color: #797979;	
}	
#float-panel .control:not(.large) svg {	
  position: relative;	
  top: 2px;	
}	
#float-panel .control[data-action="show-options"] {	
  display: none;	
}

@media screen and (max-width: 600px) {	
  /* #toolbar-buttons {	
    padding: 12px 0 10px 0;	
  }	 */
  #float-panel {	
    position: fixed;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    right: 0;
    left: 0;
    bottom: 0;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    border-radius: 0;
    padding: 0;
    -webkit-box-shadow: none;
            box-shadow: none;
    background: none;
    padding: 5px;
  }
  #float-panel .group,
  #float-panel .selection-buttons {
    background: #dbdbdb;
    border-radius: 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-shadow: 0px 7px 10px -4px #00000069;
            box-shadow: 0px 7px 10px -4px #00000069;
  }
  #float-panel .control[data-action="show-options"] {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }	
  #float-panel .control[data-action="show-options"] svg {	
    top: 0;
  }	
  #float-panel .control[data-action="show-options"] span {	
    font-size: 9px;
    margin-top: -8px;
  }	
  #float-panel .selection-buttons {	
    display: -webkit-box;	
    display: -ms-flexbox;	
    display: flex;	
  }	
  .hide-on-mobile {	
    display: none;	
  }	
  .spacer {	
    margin-left: 2px;	
    border-left: 1px solid white;	
    padding-left: 2px;	
    margin: 15px 5px;	
    display: block;	
  }	
  	
  #float-panel .control,
  #float-panel .control.large {	
    background: none;
    color: black;
    fill: black;
    border-radius: 5px;
    white-space: nowrap;
    padding: 7px;
    margin: 0;
  }
  #float-panel .control.active,	
  #float-panel .control[data-action="pan-mode"].active:hover {	
    background: #dedede;	
    color: #635f5c;	
    fill: #635f5c;	
  }
  #float-panel .control:not(:disabled):hover {	
    background: #c9c9c9;
  }	
  #mobile-controls {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;	
    color: black;	
    gap: 5px;
  }
  #mobile-controls2 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    -webkit-box-pack: right;
        -ms-flex-pack: right;
            justify-content: right;
  }
  #float-panel .control[data-action="pan-mode"]:hover {	
    background: inherit;	
    fill: #fff;	
    color: #fff;	
    	
  }	
  #btn-toolbar .undo-controls,
  #btn-toolbar .zoom-controls {	
    display: none;	
  }	
}

#eyedrop-overlay {
  position:absolute;
  cursor:none;
  z-index:130;
  overflow:visible;
  display:none;
}

.eyedrop-box {
  position:absolute;
  pointer-events:none;
  display:none;
}

.eyedrop-swatch {
  width:40px;
  height:40px;
  margin-left: 15px;
  margin-top: 5px;
  border: 1px solid #000;
}

.sp-dragger {
  background: url('data:image/svg+xml;utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16px" height="16px" viewBox="0 0 16 16" xml:space="preserve"><circle fill="none" stroke="rgb(0,0,0)" stroke-width="1.25" stroke-miterlimit="10" cx="8" cy="8" r="7.375"/><circle fill="none" stroke="rgb(255,255,255)" stroke-width="1.25" stroke-miterlimit="10" cx="8" cy="8" r="6"/></svg>');
  background-size: 15px 15px;
  margin-left: -2.5px;
  margin-top: -2.5px;
  border: none;
  width: 15px;
  height: 15px;
}

.sp-color {
  cursor: crosshair;
}

.sp-hue, .sp-slider {
  cursor: row-resize;
}

.sp-hue {
  width: 40px;
}

.sp-initial span {
  border-radius: 0;
}

.sp-picker-container {
    width: 250px;
}

.sp-palette-button-container, .sp-button-container {
    float: right;
    text-align: right;
    margin-top: 16px;
}

.sp-eyedrop {
  float:left;
  margin-top: 13px;
  width:70px;
}

.sp-eyedrop .control {
  background-color: #dddddd;
  width:90px;
  height:30px;
  text-align: right;
}

.sp-eyedrop .control:hover {
  background-color: #c2c2c2;
}

.sp-eyedrop .control, .sp-eyedrop .control:hover {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="black" height="28" viewBox="0 0 24 24" width="28"><path d="M0 0h24v24H0z" fill="none"/><path stroke="white" stroke-width="1" d="M20.71 5.63l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-3.12 3.12-1.93-1.91-1.41 1.41 1.42 1.42L3 16.25V21h4.75l8.92-8.92 1.42 1.42 1.41-1.41-1.92-1.92 3.12-3.12c.4-.4.4-1.03.01-1.42zM6.92 19L5 17.08l8.06-8.06 1.92 1.92L6.92 19z"/></svg>');
  background-repeat: no-repeat;
}

.sp-input-container {
  display: inline-block;
  float: none;
  width: 132px;
  margin-left: 6px;
}

.sp-container {
  border-radius: 10px;
  background-color: #dcdcdc;
  border: none;
  -webkit-box-shadow: 1px 1px 2px 2px #c3c3c3;
          box-shadow: 1px 1px 2px 2px #c3c3c3;
}

.sp-palette .sp-thumb-el {
  width: 20px;
  height: 20px;
  border-color: #fff;
  border-radius: 50%;
}

.sp-thumb-inner {
  border-radius: 50%;
}

.sp-preview {
  border-radius: 50%;
  width: 25px;
  height: 25px;
  margin-right: 2px;
}

.sp-preview-inner {
  border-radius: 50%;
}

.sp-replacer {
  border: none;
  background: #f4f4f4;
}

.sp-replacer > span {
  margin: 0 6px;
}

.sp-replacer:hover, .sp-replacer.sp-active {
  border-color: #000;
  color: #111;
}

.sp-replacer:hover {
  background: #ddd;
  border-radius: 5px;
}

.sp-palette-container {
  max-width: 195px;
}

.sp-palette-container .palette-lock, .sp-palette-container .palette-lock:hover {
  float: right;
  width: 55px;
  text-align: right;
  font-size: 12px;
  margin-top: -25px;
  margin-right: 5px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="-2 -2 32 32"><path d="M0 0h24v24H0z" fill="none"/><path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"/></svg>');
  background-repeat: no-repeat;
  background-color: #dddddd;
  content: "Lock";
}

.sp-palette-container .palette-lock.locked, .sp-palette-container .palette-lock.locked:hover {
  width: 67px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="-2 -2 32 32"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm0 12H6V10h12v10z"/></svg>');
  content: "Unlock";
}

.sp-input {
  background: #ececec;
}

.sp-cf.sp-palette-row.sp-palette-row-selection::before {
  content: "Recent Colors:";
  margin: 5px 0px 2px 0px;
  font-size: 12px;
  font-weight: bold;
}

.sp-cf.sp-palette-row.sp-palette-row-palette::before {
  margin-top: 5px;
} 

.sp-cf.sp-palette-box {
  /* content: "Current Palette:"; */
  font-size: 12px;
  font-weight: bold;
  background: #c4c4c4;
  padding: 5px;
  border-radius: 10px;
  margin-top: 5px;
}

.sp-cf.sp-palette-box span {
  font-style: italic;
  color: #a1291b;
}

.sp-cf.sp-palette-row.sp-palette-row-palette {
/*   background: #c4c4c4;
  padding: 3px 10px 5px 8px;
  border-radius: 10px;
  margin-top: 5px; */
}

#empty-msg {
  padding: 10px;
  margin-top: 0;
  border-radius: 5px;
  color: black;
}

#empty-msg div {
  line-height: 1.4em;
}

#label-size-container {
  width: 146px;
  height: 30px;
  padding: 2px 5px 2px 10px;
  line-height: 30px;
  margin-top: 6px;
}

/* #shape-tabs a {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 8px 8px 0 0;
  font-size: 14px;
  border: 1px solid #d2d2d2;
  background: #a7a39f;
  color: #fff;
}

#shape-tabs a.active {
 background: #e8e8e8;
 border-bottom-color: #e8e8e8;
 color: #616161;
}

#shape-tabs a:hover {
  text-decoration: none;
  background: silver;
  cursor: pointer;
}

#shape-tabs a.active:hover {
  background: #e8e8e8;
  cursor: default;
} */

#shape-type {
  margin-bottom: 8px;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid #d2d2d2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

#shape-type label {
  padding: 7px 8px 7px 5px;
  line-height: 1em;
  border-radius: 2em;
}

#shape-type input {
  pointer-events: none;
  margin: 0 4px 0 0;
}

#shape-type .dropdown-container {
  background: #e9e9e9;
  font-size: 12.5px;
  padding-right:3px;
  max-width: 120px;
}

#shape-type label:hover, #label-specs div:hover {
  background: #dfdfdf;
  cursor: pointer;
}

#label-specs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#label-specs div {
  display: inline-block;
  padding: 5px 8px 5px 5px;
  line-height: 1em;
  border-radius: 3px;
}

#label-specs label {
  cursor: pointer;
}

#label-specs label svg {
  fill: #635f5c;
  display: block;
  margin: 0 auto 5px auto;
  width: 16px;
  height: auto;
}

#dialog-warning #label-specs div {
  margin: 0 5px;
}

#dialog-warning #label-specs label svg {
  width: 32px;
  margin-bottom: 10px;
}

#label-specs label input[type='radio'] {
  margin: 0;
  cursor: inherit;
}

#shape-type .selected, #shape-type .selected:hover {
  background: #a7a39f;
  color: #fff;
}

#size-list-group.disabled {
  display: none;
}

#label-size-box {
  padding: 5px;
  margin-top: 5px;
  padding-bottom: 0;
}

#control-panel .disabled {
  opacity: 0.5;
}

#control-panel .disabled .dropdown-container {
  cursor: default;
}

#font-weight-container.disabled {
  pointer-events: none;
}

/* #size-controls:not(.selected) {
  background: none;
  border: none;
} */

#label-size-box.selected, #size-list-group {
  border: 1px solid #d2d2d2;
  background: #e8e8e8;
  padding-bottom: 5px;
  padding: 5px;
  margin-top: 5px;
  border-radius: 5px;
}

#label-size-box label {
  float: none;
  font-size: 13px;
  cursor: pointer;
}

#control-panel input[type='radio'] {
  margin: -1px 4px 0 0;
}

#custom-size-group {
  margin-bottom: 1px;
  display: none;
}

#custom-size-group .size-field {
  padding: 5px 0 5px 5px;
  margin-top: 5px;
  width: 38px;
}

#custom-size-group .btn-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  max-width: 210px;
}

#custom-size-group .dimension {
  margin-top: 1px;
}

#custom-size-group button.control {
  padding: 2px 0 0 0;
}

#custom-size-group .control[data-action="lock-proportions"] svg {
  fill: #4b4846;
}


#custom-size-group .control[data-action="lock-proportions"] path {
  display: none;
}

#custom-size-group .control.locked[data-action="lock-proportions"] path[name='lock'] {
  display: block;
}

#custom-size-group .control.unlocked[data-action="lock-proportions"] path[name='unlock'] {
  display: block;
}

#custom-size-group .ui-spinner a.ui-spinner-button {
  width: 18px;
}

#custom-size-group .size-warning {
  margin-top: 5px;
  background: #ffffcd;
  padding: 10px;
  border-radius: 15px;
  border: 1px solid #f0e997;
  font-size: 12.5px;
}

#font-container {
  width: 132px;
  height: 24px;
  padding: 2px 5px 2px 10px;
  line-height: 24px;
  float: left;
  margin-right: 3px;
}

#font-weight-container {
  width: 132px;
  height: 22px;
  margin-right: 2px;
  padding: 2px 5px 2px 10px;
  line-height: 1.8em;
}

#font-size-container {
  border:none;
}

/* #input-cheight {
  width:20px;
  height: 20px;
  text-align:center;
} */

.add-options-panel {
  position: relative;
  min-height: 15px;
}

.control-group:not(.textpath) .add-options-panel.collapsed {
  margin: 0 15px 6px 15px;
  border-bottom: 1px solid #cccccc;
}

.add-options-panel .btn-group,
.add-options-panel .slider-group-container {
  background: #e8e8e8;
  padding: 4px 3px 4px 2px;
  border-radius: 5px;
  border: 1px solid #d2d2d2;
  margin-top: 10px;
}

/* .add-options-panel .slider-group-container .ui-slider {
  width: 148px;
} */

#image-add-options .slider-group-container {
  padding: 8px 5px 5px 10px;
}

#image-add-options .slider-group-container .control[data-action="reset-filters"] {
  position: absolute;
  top: -6px;
  right: 0;
  background: #929292;
  color: white;
  padding: 4px 7px 4px 4px;
  border: 1px solid white;
  border-radius: 3px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  fill: white;
  font-size: 12px;
}

#image-add-options .slider-group-container .control[data-action="reset-filters"]:hover {
  background: #c0c0c0;
}

#image-add-options .slider-group-container .control[data-action="reset-filters"] svg {
  padding-right: 3px;
}

.add-options-panel .show-hide {
  position: absolute;
  left: 0;
  top: -8px;
  height: 16px;
  min-width: 16px;
  line-height: 8px;
  padding: 0;
  border-radius: 2em;
  border: 1px solid white;
  color: white;
  background: #929292;
  outline: 0px transparent !important;
  cursor: pointer;
}

.add-options-panel .show-hide:hover {
  background: #c0c0c0;
}

.add-options-panel .show-hide .hide  {
  font-size: 17px;
}

.add-options-panel:not(.collapsed) .show-hide .show {
  display: none;
}

.add-options-panel.collapsed .show-hide .hide {
  display: none;
}

.add-options-panel.collapsed .show-hide {
  left: 52px;
  top: 4px;
  height: auto;
  padding: 6px 6px;
  font-size: 10px;
}

.control-group.textpath .add-options-panel .show-hide {
  display: none;
}

.control-group:not(.textpath) .add-options-panel.collapsed > div {
  display: none;
}

.add-options-panel .btn-group div {
  text-align:center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.add-options-panel .btn-group .control {
  color: #454545;
}

.add-options-panel .btn-group div > svg {
  margin: 2px;
}

.add-options-panel .blend-description {
  font-size: 11px;
  margin-top: 5px;
  color: #454545;
}

#object-add-options:not(.collapsed) .btn-group {
  display: block;
}

#text-add-options .ui-widget.ui-widget-content {
  width: 49px;
  font-size: 12px;
}

.add-options-panel .ui-spinner-input {
  width: 23px;
}

.dropdown-container {
  cursor: pointer;
  display: inline-block;
  line-height: 2.2em;
  background: #fff;
  border: 1px solid #c5c5c5;
  border-radius: 2em;
  position: relative;
}

.dropdown-container:hover {
  background: #ddd;
}

#label-size-dropdown {
  margin-left: -47px;
  margin-top: -9px;
  width: 250px;
  max-height: 400px;
}

#font-dropdown {
  margin-left: -57px;
  margin-top: -6px;
  width: 260px;
  max-height: 400px;
  overflow-y: scroll;
}

#font-weight-dropdown {
  margin-left: -11px;
  margin-top: -5px;
  width: 145px;
  max-height: 350px;
}

.dropdown-content,
.dropdown-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-content ul {
  position: relative;
}

.dropdown-box {
  position: absolute;
  display: none;
  z-index: 5;
  border: 1px solid #aaaaaa;
  overflow-y: auto;
  padding: 10px;
  background: #fff;
}

.dropdown-overlay {
  background-image: url(/assets/images/labelEditor/loading-spinner.svg);
  background-position: 50% 50%;
  background-repeat: no-repeat;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.9);
}

#font-size-input {
  font-size: 13px;
  height: 22px;
  width: 30px;
  text-align: center;
}

#font-size-container.multi:after {
  content: '-';
  position: absolute;
  left: 10px;
  font-size: 20px;
  pointer-events: none;
}

#font-size-container.multi #font-size-input {
  color: white;
}

#font-size-dropdown {
  width: 62px;
  height: 300px;
  margin-top: 0px;
}

#font-size-dropdown li {
  font-size: 1.1em;
  line-height: 26px;
}

#font-dropdown .dropdown-group li {
  padding: 5px 10px;
  font-size: 18px;
}

#font-dropdown .dropdown-group li span {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#font-dropdown .dropdown-group li.advanced span:after {
  display: inline-block;
  content: ' ';
  height: 16px;
  width: 16px;
  background: url(/assets/labelbuilder/svg/advanced-font.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  margin-left: 8px;
  -webkit-filter: saturate(0);
          filter: saturate(0);
}

#font-dropdown .dropdown-group li.advanced:hover span:after {
  -webkit-filter: saturate(0) brightness(5);
          filter: saturate(0) brightness(5);
}

#font-weight-dropdown li {
  padding: 5px 10px;
  font-size: 1.5em;
}

.dropdown-content .dropdown-heading button:hover,
.dropdown-content li:not(.dropdown-group):not(.dropdown-heading):hover {
  background: #007fff;
  color: #fff;
  cursor: pointer;
}

.dropdown-content li {
  padding: 0px 10px;
}

.dropdown-content .dropdown-group {
  padding: 0;
}

.dropdown-content .dropdown-group.collapsed {
  margin-bottom: -1px;
}

.dropdown-content .dropdown-group.collapsed li:not(.dropdown-heading) {
  display: none;
}

#label-shape-dropdown {
  width: 200px;
  right: -1px;
  top: 24px;
  max-height: 380px;
}

#label-shape-dropdown li {
  padding: 5px 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-bottom: 1px solid #ececec;
}

#label-shape-dropdown li svg {
  height: 60px;
  width: 60px;
  display: table-cell;
}

#label-shape-dropdown li span {
  line-height: 1.3em;
}

#label-shape-dropdown li svg > * {
  fill: #ccc;
  stroke: black;
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
}

#label-shape-type {
  position: relative;
  min-width: 113px;
}

#label-size-dropdown li {
  font-size: 1.1em;
  line-height: 2.25em;
}

#label-size-dropdown li span {
  float: right;
}

#label-size-dropdown li .size-descriptor {
  font-size: 11px;
  font-style: italic;
  margin-right: 22px;
}

#label-size-dropdown li svg {
  width: 22px;
  height: 22px;
  vertical-align: -.4em;
}

#label-size-dropdown li svg > * {
  fill: #ccc;
  stroke: black;
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
}

.dropdown-content .dropdown-heading {
  padding: 5px 0px 5px 10px;
  border-bottom: 1px solid #ececec;
  border-top: 1px solid #ececec;
  text-transform: uppercase;
  font-weight: bold;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  color: #2a2a2a;
  padding-right: 22px;
}

.dropdown-content .dropdown-group.collapsed .dropdown-heading button,
.dropdown-content .dropdown-group.advanced .dropdown-heading button,
.dropdown-content .dropdown-group:not(.advanced):not(.collapsed) .dropdown-heading span {
  display: none;
}

.dropdown-content .dropdown-heading span {
  text-transform: none;
  font-weight: normal;
  font-size: 10px;
  font-style: italic;
  pointer-events: none;
}

.dropdown-content .dropdown-heading button {
  border: none;
  font-size: 10.5px;
  cursor: pointer;
  padding: 5px 7px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#font-dropdown .dropdown-heading button:before {
  display: inline-block;
  content: ' ';
  height: 16px;
  width: 16px;
  background: url(/assets/labelbuilder/svg/advanced-font.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  margin-right: 2px;
  -webkit-filter: brightness(0);
          filter: brightness(0);
}

#font-dropdown .dropdown-heading button:hover:before {
  -webkit-filter: saturate(0) brightness(5);
          filter: saturate(0) brightness(5);
}

/* only show hover if cursor is on parent */
.dropdown-content .dropdown-heading:hover:not(:has(*:hover)) {
  background: #eaeaea;
}

.dropdown-selected {
  font-size: 18px;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  max-width: 115px;
}

#font-weight-container .dropdown-selected {
  font-size:14px;
  line-height:22px;
}

#label-size-container .dropdown-selected {
  font-size: 16px;
  max-width: 150px;
}

.dropdown-arrow {
  float: right;
}

#slider .ui-slider-range {
  background: #e2e2e2;
}

/* @media screen and (min-width: 601px) {

  #btn-toolbar .undo-controls {
    width: 150px;
  }

  #btn-toolbar .zoom-controls {
    width: 115px;
  }

} */

/* #btn-toolbar .undo-controls::before {
  content: "";
  border-left: 1px solid white;
  margin: 15px 5px;
  position: relative;
  top: -2px;
} */

#btn-toolbar .control {	
  border-radius: 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 3px;
  padding: 3px 6px;
}

#btn-toolbar .control:not(:disabled):hover {
  background-color: #dbdbdb;
}

#btn-toolbar > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: #e8e8e8;	
  border-radius: 2em;
}

#btn-toolbar span  {
  position: relative;
  font-size: 12px;
}

#btn-toolbar svg {
  position: relative;
}

#btn-toolbar .control[data-action="help"] {
  background: #dedede;
  color: #635f5c;
  border-radius: 5px;
}

#btn-toolbar .control[data-action="help"]:hover {
  background: #a7a39f;
  color: #fff;
  border-radius: 5px;
}

#btn-toolbar .control[data-action="help"]:hover svg {
  fill: #fff;
}

#btn-toolbar .control[data-action="help"] svg {
  fill: #635f5c;
}

.btn-group {
  margin-top: 6px;
  display: inline-block;
}

.justify {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

/* .btn-group svg {
  position: relative;
  top: 2px;
} */

.toolbar-title {
  margin-right: 10px;
/*   font-size: 18px; */
  display: inline-block;
}

#top-toolbar #image-menu {
  display: none;
}

#top-toolbar.image .toolbar-button[data-name="image"] {
  background: #d9d9d9;
}

#top-toolbar #image-menu.show,
#top-toolbar.image #image-menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#image-menu {
  position: absolute;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  z-index: 10;
}

#image-menu .menu-options-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background: #d9d9d9;
  padding: 8px;
  border-radius: 16px;
  -webkit-box-shadow: 0px 7px 10px -4px #0000003d;
          box-shadow: 0px 7px 10px -4px #0000003d;
}

#image-menu .menu-options-container > div {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 8px;
}

#image-menu .menu-options-container .menu-option {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background: #f4f4f4;
  border-radius: 10px;
}

#image-menu .menu-options-container > div > span {
  margin-top: 8px;
  max-width: 250px;
}

#top-toolbar .toolbar-button {
  /* display: inline-block; */
  background: inherit;
  color: #000;
  width: 88px;	
  max-width: 100px;
  cursor: pointer;
  font-size: 13px;
  padding: 7px 0 7px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 4px;
}

#top-toolbar .toolbar-button span {
  color: #000;
}

#top-toolbar .toolbar-button svg {
  width: 2.2em;
  vertical-align: -.6em;
  padding: 0 2px;
  fill: #000;
}

#top-toolbar .toolbar-button svg path {
  position: absolute;
  top: 10px;
  bottom: 10px;
}

#top-toolbar .toolbar-button:hover svg path {
  fill: inherit;
}

#top-toolbar .toolbar-button:hover {
  background: #e8e8e8;
  color: inherit;
}

#top-toolbar {
  background: #f4f4f4;
  padding-top: 15px;
  padding-bottom: 8px;
}

#top-toolbar.sticky {
  position: fixed;
  top: -15px;
  z-index: 5;
  padding-bottom: 0;
}

#top-toolbar.sticky .toolbar-button {
  gap: 0;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}

#label-options {
  padding: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 5px;
}

#label-options label {
  font-size: 12px;
  white-space: nowrap;
}

#btn-toolbar.sticky {
  position: fixed;
  top: 40px;
  z-index: 3;
  padding: 1px 0 2px 0;
  border-radius: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#toolbar-buttons {
  /* padding: 17px 0 15px 0; */
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.button-spacer {
  margin: 0 5px;
}

#help-box {
  font-size: 15px;
  padding: 18px;
  background: #e2e2e2;
  line-height: 1.3em;
  max-width: 1000px;
}

#help-box .help-intro {
  margin-bottom: 15px;
  line-height: 1.4em;
  color: #000;
}

/* #help-box .topics {
  margin-bottom: 20px;
}

#help-box .topics li {
  display: inline-block;
}

#help-box .topics li:not(:first-child):before {
  content: "•";
  margin-right: 12px;
} */

#help-box {
  text-align: left;
}

/* #help-box video {
  display: block;
} */

#help-box li {
  list-style: square;
}

.ui-widget-content a {
  color: #ac271f;
}

.toolbar-gallery {
  text-align: center;
  overflow-y: auto;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  display: none;
  margin: 9px;
  background: #e0e0e0;
}

#upload-design.toolbar-gallery {
  margin: 0;
}

.gallery-holder {
  position: relative;
}

.dropdown-group.loading .dropdown-heading button {
  pointer-events: none;
  opacity: 0.5;
}

.dropdown-group.loading ul:after,
.gallery-holder.loading:after {
  content: '';
  background-color: rgba(224, 224, 224, 0.7);
	width: 100%;
  height: 100%;
  left: 0;
  top: 0;
	position: absolute;
	background-image: url(/assets/images/labelEditor/loading-spinner.svg);
	background-position: 50% 50%;
	background-repeat: no-repeat;
}

.dropdown-group.loading ul {
  min-height: 100px;
  max-height: 200px;
  overflow: hidden;
}

.dropdown-group.loading ul:after {
  background-color: rgb(255 255 255 / 0%);
  background-image: url(/assets/images/labelEditor/loading-spinner.svg), -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.7)), to(#fff));
  background-image: url(/assets/images/labelEditor/loading-spinner.svg), linear-gradient(rgba(255, 255, 255, 0.7), #fff)
}

.toolbar-gallery .gallery-holder ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 10px;
  margin: 0;
  min-height: 80px;
}

.toolbar-gallery .gallery-holder .results-summary {
  padding: 10px;
  text-align: center;
  color: #565656;
}

.toolbar-gallery .gallery-holder .results-summary.large {
  font-size: 40px;
  line-height: 1.5em;
  padding: 40px;
}

.toolbar-gallery .gallery-holder .results-summary.medium {
  font-size: 27px;
  line-height: 1.5em;
  padding: 40px;
}

.toolbar-gallery .gallery-holder .results-summary .msg {
  font-size: 14px;
  line-height: 1.5em;
  margin-top: 10px;
}

.toolbar-gallery .gallery-holder .results-nav {
  padding: 10px;
  color: #000;
}

.toolbar-gallery .gallery-holder .results-nav span,
.toolbar-gallery .gallery-holder .results-nav a {
  padding: 0 5px;
}

.toolbar-gallery .gallery-holder .results-nav .disabled {
  pointer-events: none;
  color: #757575;
}

#shapes-gallery {
  max-width: 600px;
}

.toolbar-gallery .gallery-holder ul > div {
  font-size: 15px;
  margin: 10px;
  color: black;
  font-style: italic;
}

/* #images-gallery .gallery-holder ul > li {
  background: #fff;
  box-shadow: 0px 3px 3px #b6b6b6;
} */

#images-gallery .gallery-holder ul > li img {
  background: #fff;
  -webkit-box-shadow: 0px 3px 3px #b6b6b6;
          box-shadow: 0px 3px 3px #b6b6b6;
  width: calc(100% - 10px);
}

#gallery-container #gallery-uploader {
  display: none;
}

#gallery-container #gallery-uploader button {
  display: inline-block;
  width: 200px;
  max-width: 100%;
}

#gallery-container.uploads-gallery #gallery-uploader,
#gallery-container.upload-design #gallery-uploader {
  display: block;
}

.toolbar-gallery .gallery-holder ul > li > img:hover {
  opacity: 0.8;
  cursor: pointer;
}

#images-gallery .gallery-holder ul > li > span {
  margin-top: 5px;
  display: block;
}

#images-gallery .gallery-holder ul > li > span > a {
  text-decoration: none;
  font-size: 11px;
  color: #404040;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#images-gallery .gallery-holder ul > li > span > a:hover {
  text-decoration: none;
}

#images-gallery .gallery-holder ul > li img {
  padding: 5px;
}

#graphics-gallery heading {
  padding: 10px;
  display: block;
  font-size: 20px;
  color: #000;
  margin: 10px 20px;
  border-bottom: 1px solid #b3b3b3;
}

#images-gallery, #graphics-gallery {
  max-width: 1000px;
}

#uploads-gallery {
  margin-top: 0;
  max-width: 800px;
}

#uploads-gallery ul > li {
  cursor: pointer;
  width: 130px;
  margin: 10px;
}

#uploads-gallery ul > li > span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  margin-top: 5px;
  font-size: 11px;
}

#uploads-gallery ul > li > div {
  height: 120px;
  width: 120px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background: #d6d6d6;
  padding: 5px;
}

#uploads-gallery ul > li:hover > div {
  opacity: 0.8;
}

#uploads-gallery .library-img {
  margin: auto;
  max-width: 120px;
  max-height: 100%;
  background: repeating-conic-gradient(#c9c9c9 0% 25%, transparent 0% 50%) 50% / 20px 20px;
}

/* #images-gallery .pexels-gallery .library-img {
  min-height: 60px;
} */

#upload-design .control-content {
  background-color: #f4f4f4;
  text-align: left;
  padding: 0 15px 15px 15px;
}

#fill-type-button, 
#corner-type-button, 
#stroke-type-button, 
#clipping-type-button,
#clipping-type-2-button,
#pattern-type-button,
#image-filter-button,
#fill-mode-button {
  padding: 5px 5px 3px 8px;
  font-size: 12px;
  white-space: normal;
  border-radius: 2em;
  /* top: 50%;
  transform: translateY(-50%); */
}

#clipping-type-button,
#clipping-type-2-button,
#pattern-type-button,
#image-filter-button {
  font-size: 11px;
}

#fill-type-box {
  float:right;
  height:35px;
  display: none;
}

#corner-type-box, #stroke-type-box {
  float:right;
}

#corner-options-group.collapsed div:not(.slider-control-row) {
  display: none;
}

#corner-options-group .slider-control-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 30px;
}

.apply-control-row {
  display: none;
}

#upload-design .apply-control-row {
  display: block;
  height: 30px;
  margin-top: 5px;
}

#upload-design .apply-control-row .control {
  padding: 10px;
  float: right;
  background: #ac271f;
  font-size: 15px;
  color: #fff;
  border-radius: 2em;
}

#upload-design .apply-control-row .control:hover {
  background: #ca7a6e;
  color: #fff;
}

#upload-design .control-content #label-specs label svg {
  width: 26px;
}

#upload-design .control-content #shape-type {
  height: auto;
  display: block;
}

#gallery-container.upload-design {
  max-height: calc(100% - 40px);
  overflow: visible;
}

#gallery-container.upload-design .gallery-title {
  border-top: 1px solid #d2d2d2;
  padding-top: 10px;
}

#gallery-container.upload-design .upload-title:before {
  content: "1. ";
}

#gallery-container.upload-design .upload-title {
  font-size: 1.4em;
  display: block;
}

#gallery-container.upload-design .upload-preview-box {
  margin-top: 10px;
  margin-bottom: -10px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#gallery-container .upload-preview-box {
  display: none;
}

#gallery-container.upload-design .upload-preview-box.loading img {
  background-image: url(/assets/images/labelEditor/loading-spinner.svg);
	background-position: 50% 50%;
  background-repeat: no-repeat;
  min-width: 100px;
  min-height: 100px;
}

#gallery-container.upload-design .upload-preview-box span {
  margin: auto 10px;
  max-width: 150px;
  word-wrap: break-word;
}

#gallery-container.upload-design .upload-preview-box img {
  background: #fff;
  border: 5px solid white;
}

#upload-design {
  overflow-y: unset;
}

#upload-design #shape-type {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

/* #upload-design .control-content #shape-type:before {
  content: "3. Choose a Size & Shape:";
  font-size: 1.4em;
  line-height: 1.4em;
  margin: 5px 0 10px 0;
  color: #000;
  display: block;
  text-align: center;
} */

#upload-design .control-content #shape-type label {
  margin-top: 5px;
  margin-bottom: 5px;
}

#upload-design .control-content #label-size-container {
  width: 126px;
  display: block;
}

#upload-design .control-content #label-size-dropdown {
  max-height: 320px;
  margin-left: 131px;
  margin-top: -60px;
  width: 250px;
}

#upload-design .control-content .size-warning {
  display: inline-block;
}

@media screen and (max-width: 450px) {

  #upload-design .control-content #label-size-dropdown .size-descriptor {
    display: none;
  }

  #upload-design .control-content #label-size-dropdown {
    /* width: 140px; */
    margin: 0;
    left: 0;
    margin-top: -9px;
    max-height: 260px;
  }

}

@media screen and (max-height: 780px) {

  #upload-design .control-content #label-size-dropdown {
    max-height: 220px;
  }

  #upload-design .control-content #label-shape-dropdown {
    margin-top: -22px;
  }

}

@media screen and (max-height: 600px) {

  #upload-design .control-content #label-size-dropdown {
    margin-top: 0;
    bottom: 0;
  }

}

@media screen and (max-height: 650px) {

  #upload-design .control-content #label-shape-type #label-shape-dropdown {
    margin-top: 0;
    bottom: 10px;
    max-height: 270px;
  }

}

#upload-design .control-content #label-shape-dropdown {
  max-height: 320px;
  left: auto;
  top: auto;
  right: auto;
  margin-left: 116px;
  margin-top: -22px;
}

#upload-design .control-content #label-shape-type {
  position: static;
  margin-right: 80px;
}

#palettes-gallery {
  background: #f4f4f4;
}

#palettes-gallery li {
  margin: 0 7px 45px 7px;
  padding: 7px;
  border-radius: 10px;
}

#palettes-gallery li:hover {
  background: #aeaeae;
  cursor: pointer;
  color: white;
}

#palettes-gallery ul {
  margin-left: 200px;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  min-height: 350px;
  background: #e0e0e0;
}

#palettes-gallery ul.loading:after {
  content: '';
  background: rgba(244, 244, 244, 0.70);
	width: calc(100% - 340px);
	height: calc(100% - 180px);
	position: fixed;
	background-image: url(/assets/images/labelEditor/loading-spinner.svg);
	background-position: 50% 50%;
	background-repeat: no-repeat;
  margin-left: -10px;
  margin-top: -10px;
}

#palettes-gallery li div {
  position: relative;
}

#palettes-gallery li div img {
  margin-bottom: 8px;
  -webkit-filter: drop-shadow(0px 3px 3px #888888);
          filter: drop-shadow(0px 3px 3px #888888);
  max-width: 100%;
}

#palettes-gallery .palette-tiles {
  width: 100%;
  height: 20px;
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 8px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#palettes-gallery .palette-tiles:hover button {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
      transform: rotate(180deg);
}

#palettes-gallery .palette-tiles div {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin-right: 3px;
  border: 1px solid white;
}

.palette-tiles button:focus {
  outline: none;
}

.palette-tiles button {
  width: 25px;
  height: 25px;
  border: none;
  position: absolute;
  right: 0;
  top: -3px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path stroke="white" paint-order="stroke" stroke-width="2" d="M12 6v3l4-4-4-4v3c-4.42 0-8 3.58-8 8 0 1.57.46 3.03 1.24 4.26L6.7 14.8c-.45-.83-.7-1.79-.7-2.8 0-3.31 2.69-6 6-6zm6.76 1.74L17.3 9.2c.44.84.7 1.79.7 2.8 0 3.31-2.69 6-6 6v-3l-4 4 4 4v-3c4.42 0 8-3.58 8-8 0-1.57-.46-3.03-1.24-4.26z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
  -webkit-transition: -webkit-transform .4s ease-in;
  transition: -webkit-transform .4s ease-in;
  transition: transform .4s ease-in;
  transition: transform .4s ease-in, -webkit-transform .4s ease-in;
  cursor: pointer;
}

.palette-tiles button:hover {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
      transform: rotate(180deg);
}

#palette-tiles.palette-tiles span, .palette-tiles span {
  position: absolute;
  color: black;
  padding: 2px;
  font-size: 11px;
  right: -2px;
  top: 16px;
  height: 1em;
  line-height: 1em;
}

.palette-tiles span {
  right: 0;
}

#palettes-gallery li name {
  display: block;
  font-size: 14px;
  width: 100%;
  height: 1.1em;
  color: #000;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.toolbar-gallery .toolbar-sidebar {
  position: fixed;
  width: 200px;
  z-index: 1;
}

.toolbar-gallery .toolbar-sidebar a {
  padding: 12px 20px;
  text-align: left;
  font-size: 14px;
  display: block;
  color: #000;
  word-wrap: break-word;
  margin-right: 8px;
}

/* .toolbar-gallery .toolbar-sidebar a span {
  display: block;
  margin-top: 10px;
  font-size: 13px;
} */

.toolbar-gallery .toolbar-sidebar a:hover {
  text-decoration: none;
  color: #fff;
}

.toolbar-gallery .toolbar-sidebar a.active {
  background: #a1291b;
  color: #fff;
}

.toolbar-gallery .toolbar-sidebar a:not(.active):hover {
  background:#d1d1d1;
  color: black;
}
/* 
#palettes-gallery .gallery-loader {
  background: rgba(244, 244, 244, 0.70);
	width: 100%;
	height: 100%;
	position: absolute;
	background-image: url(/assets/images/labelEditor/loading-spinner.svg);
	background-position: 50% 50%;
	background-repeat: no-repeat;
  top: 0;
	z-index: 3;
  display: none;
} */

@media screen and (max-width: 800px) {
  .toolbar-gallery > ul {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .toolbar-gallery .toolbar-sidebar a {
    padding: 12px 10px;
    font-size: 13px;
  }
  #palettes-gallery ul {
    margin-left: 130px;
  }
  
  .toolbar-gallery .toolbar-sidebar {
    width: 130px;
  }
  #palettes-gallery li {
    max-width: 130px;
  }
  #palettes-gallery li name {
    font-size: 13px;
  }
  #palettes-gallery ul.loading:after {
    width: calc(100% - 140px);
    height: calc(100% - 80px);
  }
  .palettes-header {
    font-size: 12px;
  }
}

/* @media screen and (max-width: 600px) {
  #palettes-gallery img {
    max-width: 120px;
    max-height: 120px;
  }
} */

@media screen and (max-width: 480px) {
  .sp-picker-container {
    width: 200px;
  }
  .sp-top {
    width: 250px;
  }
  .toolbar-gallery .toolbar-sidebar a {
    padding: 18px 10px;
    margin: 0;
    font-size: 12px;
  }
  #palettes-gallery ul {
    margin-left: 80px;
  }
  
  .toolbar-gallery .toolbar-sidebar {
    width: 80px;
  }
  #palettes-gallery ul.loading:after {
    width: calc(100% - 100px);
    height: calc(100% - 80px);
  }
}

/*@media screen and (max-height: 480px) {
  .toolbar-gallery {
    max-height:350px;
  }
}

@media screen and (max-height: 430px) {
  .toolbar-gallery {
    max-height:300px;
  }
}

@media screen and (max-height: 700px) {
  .toolbar-gallery {
    max-height:600px;
  }
}*/

.tab-holder {
  margin: 0;
}

.container-frame .title-holder {
  gap: 10px;
}

.tab-content .gallery-header {
  padding: 10px 10px;
  text-align: center;
  background: #f4f4f4;
  -webkit-box-flex: 0;
      -ms-flex: 0 1 auto;
          flex: 0 1 auto;
  color: #000;
}

.tab-content .gallery-header .upload-title {
  font-size: 1.7em;
  margin: 10px 0;
  display: block;
}

.tab-content .gallery-header .gallery-title {
  font-size: 1.4em;
  line-height: 1.4em;
  margin: 10px 15px 0 15px;
  color: #000;
  display: inline-block;
}

#gallery-container.uploads-gallery .gallery-header .gallery-title {
  border-top: 1px solid #ccc;
  padding-top: 10px;
}

.tab-content .gallery-header .gallery-close {
  float: right;
  cursor: pointer;
}

.tab-content .gallery-header .gallery-close:hover {
  color: #c4c4c4;
}

.tab-content .gallery-header .gallery-description {
  font-size: 1em;
  margin: 10px 0;
  line-height: 1.2em;
}

.tab-content .gallery-header .gallery-description svg {
  vertical-align: -4px;
}

.tab-content .gallery-header .palettes-header {
  display: none;
  line-height: 1.5em;
  font-size: 13px;
  position: relative;
  padding: 0 110px;
}

.tab-content .gallery-header .palettes-header div svg {
  top: 5px;
  position: relative;
}

#gallery-container #image-search-container,
#gallery-container .palettes-header,
#gallery-container .gallery-nav  {
  display: none;
}

#gallery-container.graphics-gallery .gallery-nav,
#gallery-container.images-gallery #image-search-container,
#gallery-container.palettes-gallery .palettes-header {
  display: block;
}

#image-search-container .image-search-row .credit {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: absolute;
  right: 0;
  font-size: 10px;
  margin-left: 10px;
}

#image-search-container .image-search-row .credit > a {
  display: inherit;
}

#image-search-container .image-search-row .credit img {
  margin-left: 5px;
}

#gallery-container.images-gallery .image-search-row  {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 10px;
  position: relative;
}

#image-search-container .image-search-block {
  position: relative;
  width: 260px;
  max-width: calc(100% - 30px);
}

#image-search-container .control {
  position: absolute;
  left: 4px;
  top: 2px;
  height: 100%;
}

#image-search-container .control:hover {
  background: none;
}

#image-search-container #image-search-input {
  padding: 10px 10px 10px 35px;
  font-size: 14px;
  border-radius: 20px;
  border-width: 0;
  -webkit-box-shadow: 1px 2px 3px #00000057;
          box-shadow: 1px 2px 3px #00000057;
  width: 100%;
}

#image-search-input:focus,
#image-search-container .control:focus {
  outline: 0px transparent !important;
}

#images-gallery .search-ideas {
  padding: 0;
  margin: 0;
}

#images-gallery .search-ideas li:hover {
  background: silver;
}

#images-gallery .image-search-row span {
  margin: 8px;
  color: #565656;
}

#images-gallery .gallery-holder {
  min-height: 150px;
}

#images-gallery .search-ideas li {
  list-style: none;
  display: inline-block;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4em;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  padding: 5px 10px;
  color: #fff;
  border-radius: 15px;
  margin: 0;
  background: #aaaaaa;
  border: 1px solid white;
}

.gallery-header .palettes-header .control[data-action="rotate-palettes"] {
  position: absolute;
  right: 0;
  bottom: 0;
  background: #a1291b;
  color: white;
  padding: 8px 16px;
  border-radius: 2em;
}

.gallery-header .palettes-header .control[data-action="rotate-palettes"]:hover {
  background: #ca7a6e;
  color: #fff;
}

.gallery-header .palettes-header .control[data-action="rotate-palettes"] svg {
  vertical-align: -.5em;
  fill: black;
}

@media screen and (max-width: 560px) {
  .tab-content .gallery-header .palettes-header .control[data-action="rotate-palettes"] {
    position: relative;
    margin-top: 8px;
  }
  .tab-content .gallery-header .palettes-header {
    padding: 0;
  }
}

.tab-content .gallery-nav ul li {
  list-style: none;
  display: inline-block;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4em;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.tab-content .gallery-nav ul li:hover {
  color: #a1291b;
}

.tab-content .gallery-nav ul li:not(:last-child):after {
  content: " | ";
  font-size: 10px;
  margin: 0 5px 0 3px;
  color: #000;
}

.tab-content .gallery-nav ul {
  padding-left: 0;
  margin-bottom: 0;
  /* display: flex;
  justify-content: center; */
}

.toolbar-gallery ul:not(.dropdown-content) li {
  list-style: none;
  margin: 5px;
  position: relative;
  min-width: 60px;
}

@media screen and (min-width: 801px) {
  .toolbar-gallery:not(#palettes-gallery) ul::after {
    content: '';
    -webkit-box-flex: 1000;
        -ms-flex-positive: 1000;
            flex-grow: 1000;
  }
}

.library-graphic, .library-shape {
  max-height: 80px;
  padding: 1px;
}

.library-img {
  max-width: 200px;
}

#images-gallery .gallery-holder ul li {
  max-width: 23%;
}

@media screen and (max-width: 870px) {
  /* .library-img {
    max-height: 130px;
  } */
  #images-gallery .gallery-holder ul li {
    max-width: 30%;
  }
}

@media screen and (max-width: 500px) {
  #gallery-container.images-gallery .gallery-description {
    display: none;
  }

  .library-graphic, .library-shape {
    max-height: 70px;
  }
  /* #images-gallery .gallery-holder ul li {
    max-width: 115px;
  } */
  #images-gallery .gallery-holder ul > li > span {
    margin-top: 2px;
  }
  #images-gallery .gallery-holder ul > li > span a {
    font-size: 10px;
  }
  #image-search-container .image-search-row .credit {
    position: relative;
  }
  .tab-content .gallery-header .gallery-title {
    font-size: 1em;
  }
}

/* @media screen and (max-width: 400px) {
  .library-img, .library-graphic, .library-shape {
    max-height: 60px;
  }
} */

.library-graphic:hover, .library-shape:hover {
  opacity: 0.8;
  cursor: pointer;
}

.toolbar-gallery .two-color:after, .toolbar-gallery .tool:after {
  position: absolute;
  padding: 3px;
  font-size: 0.8em;
  line-height: 0.8em;
  right: 0;
  bottom: 0;
  background: #ac271f;
  color: #fff;
}

.toolbar-gallery .two-color:after {
  content: "2 Color";
}

.toolbar-gallery .tool:after {
  content: "Tool";
}

#gallery-container {
  text-align: center;
  max-width: calc(100% - 140px);
  max-height: calc(100% - 140px);
  overflow: hidden;
  background: #f4f4f4;
  z-index: 30;
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column;
          flex-flow: column;
  border-radius: 5px;
  -webkit-box-shadow: 0px 0px 5px #444444;
  box-shadow: 0px 0px 5px #444444;
}

.tabset-holder {
  margin-top: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.tabset-tools {
  display: inline-block;
  position: relative;
  padding: 6px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  max-width: 40%;
}

.tabset-tools svg {
	vertical-align: -0.4em;
}

.tabset {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
  width: 70%;
}

.tabset li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-width: 32%;
  width: auto;
}

.tabset a {
  margin-right: 4px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  line-height: 1.2em;
  padding: 12px;
  background: none;
  border-radius: 0;
  border: none;
  color: #000;
  font-weight: 400;
  border-bottom: 2px solid #fff;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 5px;
  fill: #000;
}

.tabset a:hover,
.tabset .active {
  margin-bottom: 0;
  border-bottom: 2px solid;
  background: none;
  fill: #b93028;
}

/* .tabset .tab.active {
  padding-bottom: 14px;
} */

/* .tabset li:last-child {
  float:right;
} */

/* .tabset li:last-child a {
  margin-right: 0;
  background: #635f5c;
  color: #fff;
}

.tabset li:last-child a:not(.active):hover {
  background: #818181;
} */

@media screen and (max-width: 400px) {

  .tab-content .gallery-header .upload-title {
    font-size: 1.5em;
  }

  .library-graphic, .library-shape {	
    max-height: 60px;	
  }
  #images-gallery .gallery-holder ul li {
    max-width: 44%;
  }
  .tabset {	
    width: 80%;	
  }	
  .tabset a {	
    border-radius: 10px 10px 0 0;	
    font-size: 12px;	
  }	
  .tabset-tools .control {	
    font-size: 10px;	
    display: -webkit-box;	
    display: -ms-flexbox;	
    display: flex;	
    -webkit-box-orient: vertical;	
    -webkit-box-direction: normal;	
        -ms-flex-direction: column;	
            flex-direction: column;	
    -webkit-box-align: center;	
        -ms-flex-align: center;	
            align-items: center;	
    max-width: 70px;	
  }
  #images-gallery .gallery-holder ul > li > span a {
    font-size: 9px;
  }
  #float-panel .control.large {
    font-size: 9px;
    max-width: 50px;
  }

/* 
  .tabset li:last-child {
    float: none;
  }
  .tabset {
    display: block;
  }
  .tabset li {
    display: inline;
  }
  .tabset a {
    border-radius: 0;
    margin-right: 0;
    padding: 8px 0;
  }
  .tabset .tab.active {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="rgb(99,95,92)" d="M14 7l-5 5 5 5V7z"/><path fill="none" d="M24 0v24H0V0h24z"/></svg>');
    background-repeat: no-repeat;
    background-position: right;
    padding: 8px 0;
  }
  
  .tabset li:last-child a.active {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="rgb(255,255,255)" d="M14 7l-5 5 5 5V7z"/><path fill="none" d="M24 0v24H0V0h24z"/></svg>');
  } */
}

#tab-6 {
  position: relative;
  min-height: 500px;
}

#tab-6 .gallery-description {
  margin-bottom: 0;
}

#control-panel .toolbar-hide svg {
  width: 14px;
/*   display: none; */
}

.toolbar-hide {
  background: #a7a39f;
  color: white;
  font-size: 16px;
  padding: 10px 7px;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  cursor: pointer;
  position: absolute;
  white-space: nowrap;
}

.toolbar-hide span {	
  margin-top: 7px;	
  -webkit-writing-mode: vertical-rl;	
      -ms-writing-mode: tb-rl;	
          writing-mode: vertical-rl;	
}	
.toolbar-hide svg.arrow {	
  margin-top: 0;	
}	
.toolbar-hide.collapsed svg.arrow {	
  -webkit-transform: rotate(180deg);	
      -ms-transform: rotate(180deg);	
          transform: rotate(180deg);	
}

.toolbar-hide svg {
  fill: white;
  display: block;
  margin-top: 5px;
}

.toolbar-hide:hover {
  background: #bababa;
}

.comments-holder {
  margin-top: 25px;
  position: relative;
}

.comments-holder label {
  display: block;
  margin-bottom: 10px;
}

.box-holder .add-box {
  display: block;
}

.cart-form .submit {
  text-transform: none;
  font: 16px Roboto, Helvetica, Arial, sans-serif;
  margin: 0 0 0 7px;
  width: 156px;
  line-height: 2.5em;
  cursor: pointer;
  display: inline-block;
  max-height: none;
  border-radius: 2em;
  padding: 5px 0;
  height: auto;
}

.cart-form .submit:hover {
  text-decoration: none;
}

.cart-form .submit svg {
  fill: white;
  height: 2em;
  vertical-align: -.6em;
}

.cart-form label {
  float: none;
}

.cart-form .add-box input.text {
  padding: 3px;
  min-width: 70px;
  border-radius: 2em;
}

.grid-wrapper {
  /*justify-content:space-around;
  flex-wrap:wrap;*/
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 10px;
  padding:18px;
}

.grid-wrapper > div {
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  position: relative;
  min-height: 150px;
}

.grid-wrapper span {
  margin: 5px 0 10px 0;
  font-size: 16px;
  line-height: 1em;
  color: #000;
  overflow-wrap: break-word;
  width: 0;
  min-width: 100%;
}

.grid-wrapper img {
  max-width: 167px;
  max-height: 230px;
  padding: 10px;
  margin:auto;
}

.gallery-banner {
  text-align: center;
  margin-top: 100px;
  color: #635f5c;
  display: none;
}

.gallery-banner .title {
  font-size: 48px;
  line-height: 56px;
  font-weight: bold;
  text-transform: uppercase;
}

.gallery-banner .msg {
  font-size: 14px;
  line-height: 20px;
}

#member-login-container {
  display: none;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 20px;
 /*  min-height: 400px; */
}

#member-login-form {
  padding: 10px 0;
}

#member-login-container #member-login-group {
  max-width: 350px;
}

#member-login-links {
  text-align: center;
  padding: 20px 0 10px 0;
}

#member-login-group {
  max-width: 100%;
  background: #e0e0e0;
}

#member-login-group .generic-button {
  width: 160px;
  margin: 10px 20px 0 auto;
  border-radius: 2em;
}

#member-login-group .member-login-description {
  background: #635f5c;
  color: white;
  padding: 10px 20px;
}

#member-login-group .member-login-field {
  margin: 7px 20px;
  font-size: 15px;
}

#member-login-group .member-login-field div {
  display: inline-block;
  width: 90px;
}

#member-login-group .member-login-field input {
  display: inline-block;
  width: 185px;
  font-size: 13px;
  padding: 3px;
}

.recaptcha-policy {
  padding: 10px;
  color: #8a8a8a;
  background: #f4f4f4;
  font-size: 11px;
}

.grecaptcha-badge { 
  visibility: hidden;
}

.ContextMenu {
  z-index: 1000;
}

#palette-panel {
  position: fixed;
  bottom: 15px;
  border-radius: 30px;
  left: 50%;
  -webkit-transform: translate(-50%);
  -ms-transform: translate(-50%);
  transform: translate(-50%);
  margin: 0 auto;
  background: #4b4b4b;
  text-align: center;
  color: white;
  z-index: 1000;
  font-size: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-shadow: 0px 0px 10px 0px #0000007a;
  box-shadow: 0px 0px 10px 0px #0000007a;
}

#palette-panel .title-text {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  line-height: 1.2em;
  font-size: 14px;
  padding: 17px 0;
}

#palette-panel .back-colors-option {
  margin: 8px 8px;
  padding: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: pointer;
  background: #ffffff26;
  border-radius: 25px;
}

#palette-panel .back-colors-option svg {
  border-radius: 50%;
  background: #00000063;
  padding: 3px;
}

#palette-panel .back-colors-option svg:hover {
  background: #ffffff63;
  fill: black;
}

#palette-panel .back-colors-option:hover {
  background: #a7a39f;
}

#palette-panel .swatch {
  width: 35px;
  height: 35px;
  background: black;
  border-radius: 50%;
  border: 1px solid white;
  cursor: crosshair;
}

#palette-panel .swatch-info {
  padding: 8px;
}

#palette-panel .next, #palette-panel .prev {
  margin-top: -20px;
}

#palette-panel button {
  max-width: 80px;
  margin: 8px;
  /* border: none; */
  border-radius: 25px;
  cursor: pointer;
  background: #353535;
  color: white;
  font-size: 12px;
  height: 51px;
}

#palette-panel button:hover {
  background: #4b4b4b;
  color: white;
}

#palette-panel button:focus {
  outline: 0px transparent !important;
}

#palette-panel button[data-action="overwrite-template"] {
  background: #541109;
}

#palette-panel button[data-action="overwrite-template"]:hover {
  background: #751d13;
}

.member-template-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#member-template-thumb {
  max-height:50px;
  max-width:75px;
  cursor: pointer;
  margin-left:10px;
}

#member-template-thumb:hover {
  -webkit-filter: brightness(1.2);
          filter: brightness(1.2);
}

.control-row {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-orient:horizontal;
  -webkit-box-direction:normal;
      -ms-flex-direction:row;
          flex-direction:row;
}

#palette-tiles div {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  margin-right: 4px;
  border: 1px solid white;
}

#palette-tiles {
  position: relative;
  padding: 0;
  width: 100%;
  margin-bottom: 5px;
  cursor: pointer;
}

.palette-selected {
  -webkit-box-flex:1;
      -ms-flex:1;
          flex:1;
  color: #444444;
  margin-right: 15px;
}

#palette-selected-name {
  font-size:14px;
  font-weight:bold;
  margin-top:2px;
}

.palette-selected svg {
  position:absolute;
  top:9px;
  right:5px;
  fill: #635f5c;
}

#palette-group button.control {
  font-size: 11.5px;
  padding: 5px 0;
  width: 55px;
  height: 63px;
}

#palette-group button.control:hover,
.add-options-panel .control:hover {
  background: #f1f1f1;	
}

#palette-group button.control svg {
  margin-bottom: 3px;
}

#palette-group .btn-group {
  background: #e8e8e8;
  padding: 5px;
  border: 1px solid #d2d2d2;
  margin-top: 0;
  border-radius: 5px;
}

#pattern-controls {
  margin-bottom: 6px;
}

#pattern-controls > div > svg {
  margin-right:2px;
}


@media screen and (max-width: 850px) {
  .grid-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 675px) {
  .grid-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 450px) {
  .grid-wrapper img {
    max-width: 120px;
    max-height: 220px;
    margin:auto;
  }
}

@media screen and (max-width: 395px) {
  .toolbar-button {
    max-width: 18%;
  }
}

@media screen and (max-width: 1450px) {
  #stickySideTab {
    display: none;
  }
}

@media screen and (max-width: 1391px) {
  #control-panel {
    position: absolute;
    right: 0px;
  }
  #toolbar-left {
    position: absolute;
    left: 0px;
  }
  #tab-1 {
    position: static;
  }
}

@media screen and (max-width: 970px) {
  .container-frame {
    padding-left: 0;
    padding-right: 0;
  }
}

@media screen and (max-width: 800px) {
  #gallery-container {
    max-width: calc(100% - 40px);
    max-height: calc(100% - 40px);
  }
}

@media screen and (max-width: 600px) {
  #gallery-container, #gallery-container.upload-design {
    max-width: calc(100% - 20px);
    max-height: calc(100% - 20px);
  }
}

@media screen and (max-width: 650px) {	
  /*   .toolbar-title {	
    margin-right: 0px;	
    display: block;	
    margin-bottom: 10px;	
  } */	
  /* #top-toolbar .toolbar-button {	
    width: auto;	
  } */
  #images-gallery .search-ideas li {
    font-size: 12px;
    padding: 4px 6px;
    margin: 2px;
  }
}	
@media screen and (max-width: 550px) {	
  #top-toolbar .toolbar-button {	
    width: 65px;	
    max-width: 18%;	
  }	
  #top-toolbar .toolbar-title {	
    display: none;	
  }	
  /* .toolbar-button {	
    width: 70px;	
  }*/	
  #top-toolbar .toolbar-button span {	
    padding: 3px 0 0 0;	
    display: block;	
  } 	
  .toolbar-button svg {	
    display: block;	
    margin: auto;	
    height: 1.8em;	
  }
  #image-search-container .image-search-row .credit span {
    display: none;
  }
}

@media screen and (max-width: 750px) {
/*   .toolbar-title {
    margin-right: 0px;
    display: block;
    margin-bottom: 10px;
  }
  .toolbar-button {
    padding: 5px 0px;
  } */

  .tabset-tools .no-mobile {
    display: none;
  }
}

@media screen and (min-width: 1392px) {
  .toolbar-hide {
    display:none;
  }
  #control-panel {
    right: -241px;
  }
  #toolbar-left {
    left: -210px;
  }
}

#curved-text-toggle {
  float: right;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: pointer;
  padding: 1px 2.5px;
}

#edit-textpath-input {
  padding: 5px;
  font-size: 14px;
  width: 200px;
}

/* toggle switch start */
.switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
  margin: 2px;
}

/* 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: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  -webkit-box-shadow: 0 0 1px #2196F3;
          box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(16px);
      -ms-transform: translateX(16px);
          transform: translateX(16px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
/*toggle switch end*/


/*
 *contextMenu.js v 1.4.0
 *Author: Sudhanshu Yadav
 *s-yadav.github.com
 *Copyright (c) 2013 Sudhanshu Yadav.
 *Dual licensed under the MIT and GPL licenses
 */
/*Context menu css */
.iw-contextMenu {
  -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  border: 1px solid #cccccc;
  display: none;
  z-index: 1000;
}
.iw-cm-menu {
  background: #F4F4F4;
  color: #333;
  margin: 0px;
  padding: 0px;
}
.iw-cm-menu li {
  list-style: none;
  padding: 8px 0;
  padding-left: 35px;
  padding-right: 20px;
  border-bottom: 1px solid #CCC;
  cursor: pointer;
  position: relative;
  font-size: 13px;
}
.iw-mOverlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background: #FFF;
  opacity: .5;
}
.iw-contextMenu li.iw-mDisable {
  opacity: .3;
}
.iw-mSelected {
  background-color: #7385bf;
  color: #F2F2F2;
}
.iw-cm-arrow-right {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid #333333;
  position: absolute;
  right: 3px;
  top: 50%;
  margin-top: -5px;
}
.iw-mSelected > .iw-cm-arrow-right {
  border-left: 5px solid #FFF;
}
.iw-mIcon {
  width: 20px;
  height: 20px;
  left: 6px;
  top: 6px;
  position: absolute;
  fill: #616161;
  width: 18px;
  height: 18px;
}
.iw-mSelected > .iw-mIcon {
  fill: white;
}
/*context menu css end */

/*tippy light theme*/	
.tippy-box[data-theme~=light]{color:#26323d;-webkit-box-shadow:0 0 20px 4px rgba(154,161,177,.15),0 4px 80px -8px rgba(36,40,47,.25),0 4px 4px -2px rgba(91,94,105,.15);box-shadow:0 0 20px 4px rgba(154,161,177,.15),0 4px 80px -8px rgba(36,40,47,.25),0 4px 4px -2px rgba(91,94,105,.15);background-color:#fff}.tippy-box[data-theme~=light][data-placement^=top]>.tippy-arrow:before{border-top-color:#fff}.tippy-box[data-theme~=light][data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:#fff}.tippy-box[data-theme~=light][data-placement^=left]>.tippy-arrow:before{border-left-color:#fff}.tippy-box[data-theme~=light][data-placement^=right]>.tippy-arrow:before{border-right-color:#fff}.tippy-box[data-theme~=light]>.tippy-backdrop{background-color:#fff}.tippy-box[data-theme~=light]>.tippy-svg-arrow{fill:#fff}.tippy-tooltip[data-placement^=top] .tippy-backdrop{-webkit-transform-origin:0 25%;-ms-transform-origin:0 25%;transform-origin:0 25%;border-radius:40% 40% 0 0}.tippy-tooltip[data-placement^=top] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-55%);-ms-transform:scale(1) translate(-50%,-55%);transform:scale(1) translate(-50%,-55%)}.tippy-tooltip[data-placement^=top] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%,-45%);-ms-transform:scale(.2) translate(-50%,-45%);transform:scale(.2) translate(-50%,-45%)}.tippy-tooltip[data-placement^=bottom] .tippy-backdrop{-webkit-transform-origin:0 -50%;-ms-transform-origin:0 -50%;transform-origin:0 -50%;border-radius:0 0 30% 30%}.tippy-tooltip[data-placement^=bottom] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-45%);-ms-transform:scale(1) translate(-50%,-45%);transform:scale(1) translate(-50%,-45%)}.tippy-tooltip[data-placement^=bottom] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-50%);-ms-transform:scale(.2) translate(-50%);transform:scale(.2) translate(-50%)}.tippy-tooltip[data-placement^=left] .tippy-backdrop{-webkit-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;border-radius:50% 0 0 50%}.tippy-tooltip[data-placement^=left] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);-ms-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-tooltip[data-placement^=left] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-75%,-50%);-ms-transform:scale(.2) translate(-75%,-50%);transform:scale(.2) translate(-75%,-50%)}.tippy-tooltip[data-placement^=right] .tippy-backdrop{-webkit-transform-origin:-50% 0;-ms-transform-origin:-50% 0;transform-origin:-50% 0;border-radius:0 50% 50% 0}.tippy-tooltip[data-placement^=right] .tippy-backdrop[data-state=visible]{-webkit-transform:scale(1) translate(-50%,-50%);-ms-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%)}.tippy-tooltip[data-placement^=right] .tippy-backdrop[data-state=hidden]{-webkit-transform:scale(.2) translate(-25%,-50%);-ms-transform:scale(.2) translate(-25%,-50%);transform:scale(.2) translate(-25%,-50%)}.tippy-tooltip[data-animatefill]{background-color:transparent!important}.tippy-backdrop{position:absolute;background-color:#333;border-radius:50%;width:calc(110% + 2rem);left:50%;top:50%;z-index:-1;-webkit-transition:all cubic-bezier(.46,.1,.52,.98);transition:all cubic-bezier(.46,.1,.52,.98);-webkit-backface-visibility:hidden;backface-visibility:hidden}.tippy-backdrop[data-state=hidden]{opacity:0}.tippy-backdrop:after{content:"";float:left;padding-top:100%}.tippy-backdrop+.tippy-content{-webkit-transition-property:opacity;transition-property:opacity;will-change:opacity}.tippy-backdrop+.tippy-content[data-state=hidden]{opacity:0}.tippy-tooltip[data-animation=scale][data-placement^=top]{-webkit-transform-origin:bottom;-ms-transform-origin:bottom;transform-origin:bottom}.tippy-tooltip[data-animation=scale][data-placement^=bottom]{-webkit-transform-origin:top;-ms-transform-origin:top;transform-origin:top}.tippy-tooltip[data-animation=scale][data-placement^=left]{-webkit-transform-origin:right;-ms-transform-origin:right;transform-origin:right}.tippy-tooltip[data-animation=scale][data-placement^=right]{-webkit-transform-origin:left;-ms-transform-origin:left;transform-origin:left}.tippy-tooltip[data-animation=scale][data-state=hidden]{-webkit-transform:scale(.5);-ms-transform:scale(.5);transform:scale(.5);opacity:0}:root{--ss-primary-color: #5897fb;--ss-bg-color: #ffffff;--ss-font-color: #4d4d4d;--ss-font-placeholder-color: #8d8d8d;--ss-disabled-color: #dcdee2;--ss-border-color: #dcdee2;--ss-highlight-color: #fffb8c;--ss-success-color: #00b755;--ss-error-color: #dc3545;--ss-focus-color: #5897fb;--ss-main-height: 30px;--ss-content-height: 300px;--ss-spacing-l: 7px;--ss-spacing-m: 5px;--ss-spacing-s: 3px;--ss-animation-timing: 0.2s;--ss-border-radius: 4px}@-webkit-keyframes ss-valueIn{0%{-webkit-transform:scale(0);transform:scale(0);opacity:0}100%{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes ss-valueIn{0%{-webkit-transform:scale(0);transform:scale(0);opacity:0}100%{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@-webkit-keyframes ss-valueOut{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(0);transform:scale(0);opacity:0}}@keyframes ss-valueOut{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(0);transform:scale(0);opacity:0}}.ss-hide{display:none !important}.ss-main{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:var(--ss-font-color);min-height:var(--ss-main-height);width:100%;padding:var(--ss-spacing-s);cursor:pointer;border:1px solid var(--ss-border-color);border-radius:var(--ss-border-radius);background-color:var(--ss-bg-color);outline:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:background-color var(--ss-animation-timing);transition:background-color var(--ss-animation-timing);overflow:hidden}.ss-main:focus{-webkit-box-shadow:0 0 5px var(--ss-focus-color);box-shadow:0 0 5px var(--ss-focus-color)}.ss-main.ss-disabled{background-color:var(--ss-disabled-color);cursor:not-allowed}.ss-main.ss-disabled .ss-values .ss-disabled{color:var(--ss-font-color)}.ss-main.ss-disabled .ss-values .ss-value .ss-value-delete{cursor:not-allowed}.ss-main.ss-open-above{border-top-left-radius:0px;border-top-right-radius:0px}.ss-main.ss-open-below{border-bottom-left-radius:0px;border-bottom-right-radius:0px}.ss-main .ss-values{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--ss-spacing-m);-webkit-box-flex:1;-ms-flex:1 1 100%;flex:1 1 100%}.ss-main .ss-values .ss-placeholder{display:-webkit-box;display:-ms-flexbox;display:flex;padding:var(--ss-spacing-s) var(--ss-spacing-m) var(--ss-spacing-s) var(--ss-spacing-m);margin:auto 0px auto 0px;line-height:1em;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;color:var(--ss-font-placeholder-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ss-main .ss-values .ss-max{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;font-size:12px;color:var(--ss-bg-color);line-height:1;padding:var(--ss-spacing-s) var(--ss-spacing-m);background-color:var(--ss-primary-color);border-radius:var(--ss-border-radius)}.ss-main .ss-values .ss-single{display:-webkit-box;display:-ms-flexbox;display:flex;margin:auto 0px auto var(--ss-spacing-s)}.ss-main .ss-values .ss-value{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;background-color:var(--ss-primary-color);border-radius:var(--ss-border-radius);-webkit-animation-name:ss-valueIn;animation-name:ss-valueIn;-webkit-animation-duration:var(--ss-animation-timing);animation-duration:var(--ss-animation-timing);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ss-main .ss-values .ss-value.ss-value-out{-webkit-animation-name:ss-valueOut;animation-name:ss-valueOut;-webkit-animation-duration:var(--ss-animation-timing);animation-duration:var(--ss-animation-timing);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}.ss-main .ss-values .ss-value .ss-value-text{font-size:12px;color:var(--ss-bg-color);line-height:1;padding:var(--ss-spacing-s) var(--ss-spacing-m)}.ss-main .ss-values .ss-value .ss-value-delete{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:var(--ss-spacing-l);width:var(--ss-spacing-l);padding:var(--ss-spacing-s) var(--ss-spacing-m);cursor:pointer;border-left:solid 1px var(--ss-bg-color);-webkit-box-sizing:content-box;box-sizing:content-box}.ss-main .ss-values .ss-value .ss-value-delete svg{height:var(--ss-spacing-l);width:var(--ss-spacing-l)}.ss-main .ss-values .ss-value .ss-value-delete svg path{fill:none;stroke:var(--ss-bg-color);stroke-width:18;stroke-linecap:round;stroke-linejoin:round}.ss-main .ss-deselect{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:auto;margin:0 var(--ss-spacing-m) 0 var(--ss-spacing-m)}.ss-main .ss-deselect svg{width:8px;height:8px}.ss-main .ss-deselect svg path{fill:none;stroke:var(--ss-font-color);stroke-width:20;stroke-linecap:round;stroke-linejoin:round}.ss-main .ss-arrow{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;width:12px;height:12px;margin:auto var(--ss-spacing-m) auto var(--ss-spacing-m)}.ss-main .ss-arrow path{fill:none;stroke:var(--ss-font-color);stroke-width:18;stroke-linecap:round;stroke-linejoin:round;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;-webkit-transition:var(--ss-animation-timing);transition:var(--ss-animation-timing)}.ss-content{position:absolute;display:-webkit-box;display:-ms-flexbox;display:flex;height:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:auto;max-height:var(--ss-content-height);-webkit-box-sizing:border-box;box-sizing:border-box;border:solid 1px var(--ss-border-color);background-color:var(--ss-bg-color);-webkit-transition:opacity var(--ss-animation-timing),-webkit-transform var(--ss-animation-timing);transition:opacity var(--ss-animation-timing),-webkit-transform var(--ss-animation-timing);transition:transform var(--ss-animation-timing),opacity var(--ss-animation-timing);transition:transform var(--ss-animation-timing),opacity var(--ss-animation-timing),-webkit-transform var(--ss-animation-timing);opacity:0;-webkit-transform:scaleY(0);-ms-transform:scaleY(0);transform:scaleY(0);-webkit-transform-origin:center top;-ms-transform-origin:center top;transform-origin:center top;overflow:hidden;z-index:10000}.ss-content.ss-relative{position:relative;height:100%}.ss-content.ss-open-above{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;opacity:1;-webkit-transform:scaleY(1);-ms-transform:scaleY(1);transform:scaleY(1);-webkit-transform-origin:center bottom;-ms-transform-origin:center bottom;transform-origin:center bottom;border-top-left-radius:var(--ss-border-radius);border-top-right-radius:var(--ss-border-radius)}.ss-content.ss-open-below{opacity:1;-webkit-transform:scaleY(1);-ms-transform:scaleY(1);transform:scaleY(1);-webkit-transform-origin:center top;-ms-transform-origin:center top;transform-origin:center top;border-bottom-left-radius:var(--ss-border-radius);border-bottom-right-radius:var(--ss-border-radius)}.ss-content .ss-search{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;padding:var(--ss-spacing-l) var(--ss-spacing-l) var(--ss-spacing-m) var(--ss-spacing-l)}.ss-content .ss-search input{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-size:inherit;line-height:inherit;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;width:100%;min-width:0px;padding:var(--ss-spacing-m) var(--ss-spacing-l);margin:0;border:1px solid var(--ss-border-color);border-radius:var(--ss-border-radius);background-color:var(--ss-bg-color);outline:0;text-align:left;-webkit-box-sizing:border-box;box-sizing:border-box}.ss-content .ss-search input::-webkit-input-placeholder{color:var(--ss-font-placeholder-color);vertical-align:middle}.ss-content .ss-search input::-moz-placeholder{color:var(--ss-font-placeholder-color);vertical-align:middle}.ss-content .ss-search input:-ms-input-placeholder{color:var(--ss-font-placeholder-color);vertical-align:middle}.ss-content .ss-search input::-ms-input-placeholder{color:var(--ss-font-placeholder-color);vertical-align:middle}.ss-content .ss-search input::placeholder{color:var(--ss-font-placeholder-color);vertical-align:middle}.ss-content .ss-search input:focus{-webkit-box-shadow:0 0 5px var(--ss-focus-color);box-shadow:0 0 5px var(--ss-focus-color)}.ss-content .ss-search .ss-addable{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;height:auto;margin:0 0 0 var(--ss-spacing-m);border:1px solid var(--ss-border-color);border-radius:var(--ss-border-radius)}.ss-content .ss-search .ss-addable svg{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;width:12px;height:12px;margin:auto var(--ss-spacing-m) auto var(--ss-spacing-m)}.ss-content .ss-search .ss-addable svg path{fill:none;stroke:var(--ss-font-color);stroke-width:18;stroke-linecap:round;stroke-linejoin:round}.ss-content .ss-list{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;height:auto;overflow-x:hidden;overflow-y:auto}.ss-content .ss-list .ss-error{color:var(--ss-error-color);padding:var(--ss-spacing-l)}.ss-content .ss-list .ss-searching{color:var(--ss-font-color);padding:var(--ss-spacing-l)}.ss-content .ss-list .ss-optgroup.ss-close .ss-option{display:none !important}.ss-content .ss-list .ss-optgroup .ss-optgroup-label{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:var(--ss-spacing-m) var(--ss-spacing-l) var(--ss-spacing-m) var(--ss-spacing-l)}.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-label-text{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;font-weight:bold;color:var(--ss-font-color)}.ss-content .ss-list .ss-optgroup .ss-optgroup-label:has(.ss-arrow){cursor:pointer}.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;gap:var(--ss-spacing-m)}.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-selectall{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;cursor:pointer}.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-selectall:hover{opacity:.5}.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-selectall.ss-selected svg path{stroke:var(--ss-error-color)}.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-selectall span{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:60%;text-align:center;padding:0 var(--ss-spacing-s) 0 0}.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-selectall svg{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;width:13px;height:13px}.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-selectall svg path{fill:none;stroke:var(--ss-success-color);stroke-linecap:round;stroke-linejoin:round}.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-selectall svg:first-child{stroke-width:5}.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-selectall svg:last-child{stroke-width:11}.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-closable{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;cursor:pointer}.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-closable .ss-arrow{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;width:10px;height:10px}.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-closable .ss-arrow path{fill:none;stroke:var(--ss-font-color);stroke-width:18;stroke-linecap:round;stroke-linejoin:round;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;-webkit-transition:var(--ss-animation-timing);transition:var(--ss-animation-timing)}.ss-content .ss-list .ss-optgroup .ss-option{padding:var(--ss-spacing-s) var(--ss-spacing-s) var(--ss-spacing-s) calc(var(--ss-spacing-l)*3)}.ss-content .ss-list .ss-option{display:-webkit-box;display:-ms-flexbox;display:flex;padding:var(--ss-spacing-m) var(--ss-spacing-l) var(--ss-spacing-m) var(--ss-spacing-l);color:var(--ss-font-color);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ss-content .ss-list .ss-option:hover{color:var(--ss-bg-color);background-color:var(--ss-primary-color)}.ss-content .ss-list .ss-option.ss-highlighted,.ss-content .ss-list .ss-option:not(.ss-disabled).ss-selected{color:var(--ss-bg-color);background-color:var(--ss-primary-color)}.ss-content .ss-list .ss-option.ss-disabled{cursor:not-allowed;background-color:var(--ss-disabled-color)}.ss-content .ss-list .ss-option.ss-disabled:hover{color:var(--ss-font-color)}.ss-content .ss-list .ss-option .ss-search-highlight{background-color:var(--ss-highlight-color)}
