
*, *:before, *:after {
    box-sizing: border-box;
  }


      .grabbing * {
        cursor: grabbing !important;
    }
    html.draggable-cursor {
        cursor: move; /* fallback: no `url()` support or images disabled */
        cursor: -webkit-grabbing; /* Chrome 1-21, Safari 4+ */
        cursor:    -moz-grabbing; /* Firefox 1.5-26 */
        cursor:         grabbing; /* W3C standards syntax, should come least */
    }
    .draggable-cursor * {
        cursor: move !important; /* fallback: no `url()` support or images disabled */
        cursor: -webkit-grabbing !important; /* Chrome 1-21, Safari 4+ */
        cursor:    -moz-grabbing !important; /* Firefox 1.5-26 */
        cursor:         grabbing !important; /* W3C standards syntax, should come least */
    }


/*********************************************************************
 *  PULL VIBRANT STYLE COLORS FROM IMAGE
 *********************************************************************/
:root {
    --colorstripwidth: 170px;
    --imageblockradius: 12px;
    --imageshadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}
body{
    padding:0px;
    background-color:#ccc;
    margin:0px;
    text-align: center;
}


.hero-palette-galleryx{
    transform-style:preserve-3d; /* this is important for the trick to work */
}
.hero-palette-gallery{
    position: relative;
    display:inline-block;
    margin: 0 auto;
}



/*********************************************************************
 *  PULL VIBRANT STYLE COLORS FROM IMAGE
 *********************************************************************/
.portlet {
    margin: 0 15px 15px 0;
    width: var(--colorstripwidth, 170px);
    position: relative;
    border-radius: var(--imageblockradius, 10px);
    box-shadow: var(--imageshadow);
    
}

.image-block-holder {
    position: relative;
    border-radius: var(--imageblockradius, 10px);
    line-height: 0px;
 
    
    /*background-color:rgba(0,0,0,0.85);*/
    background-color:rgba(255,255,255,0.9);
    background-color:rgba(255,255,255,0.0);
    transform-origin: center;
    transform-style: preserve-3d;
    transition: transform 0.25s ease 0s;
}
.image-block {
    width: var(--colorstripwidth, 170px);
    height: auto;
    position: relative;
    border-radius: var(--imageblockradius, 10px);
    transform-origin: center;
    transform-style: preserve-3d;
    transition: transform 0.25s ease 0s;

}
.sortable-chosen {
}
.drag-placeholder{
    opacity:0 !important;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.color-strip::-webkit-scrollbar {
    display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.color-strip {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}





/*********************************************************************
 *  UPPER COLOR SWATCHES
 *********************************************************************/
 .upper-color-swatches {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: 830px;
    height: 700px;
    background: rgba(255,0,0,0.0);
}
.color-strip {
    background: #7e7e7e;
    position: relative;
    display: inline-block;
    width: 190px;
    overflow-y: scroll;
    overflow-x: clip;
    margin: 5px;
    box-shadow: rgb(0 0 0 / 40%) 0px 2px 4px, rgb(0 0 0 / 30%) 0px 7px 13px -3px, rgb(0 0 0 / 20%) 0px -3px 0px inset;
    max-height: 700px;
    min-height: 145px;
    display: grid;
    float: left;
}
.color-flex {
    display: flex;
    width: 100%;
    background: rgba(255,0,0,0);
    align-self: flex-end;
    justify-content: flex-end;
}
.content {
    width: var(--colorstripwidth, 170px);
    background-color: rgb(185 255 185 / 0%);
    margin: 10px;
    /*z-index: 5;*/
    position: relative;
    bottom: 0px;
    align-self: flex-end;
    min-height: 100px;
}
.upper-color-swatches .color-strip {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    position:absolute;
    bottom:-10px;
    
}
.upper-color-swatches .content {
    padding-bottom: 0px;
}















/*********************************************************************
 *  LOWER COLOR SWATCHES
 *********************************************************************/
 .lower-color-swatches {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: 830px;
    height: 500px;
    background: rgba(0,255,0,0.0);
}
.lower-color-swatches .color-strip {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    position:absolute;

    top:-10px;
    max-height:400px;
}
.lower-color-swatches .content {
    padding-top: 0px;
}
.lower-color-swatches .portlet {
    margin:14px 15px 3px 0px;
}


/*
.sortable-drag2 {
    cursor:grabbing !important;
    cursor: -webkit-grabbing;
}
.sortable-drag2:hover {
    cursor:grabbing !important;
    cursor: -webkit-grabbing;
}
.sortable-drag2:active {
    cursor:grabbing !important;
    cursor: -webkit-grabbing;
}
.sortable-chosen2 {
    cursor:grabbing !important;
}
.drag-placeholder2{
    opacity:0 !important;
    cursor:grabbing !important;
}
.portlet:hover {
    cursor:grab;
}
.portlet.sortable-chosen {
    cursor:grabbing;
    cursor: -webkit-grabbing;
}
.portlet:active {
    cursor:grabbing !important;
}
*/
.portlet {

}
.portlet:hover {
cursor: move !important; /* fallback: no `url()` support or images disabled */
cursor: -webkit-grab !important; /* Chrome 1-21, Safari 4+ */
cursor:    -moz-grab !important; /* Firefox 1.5-26 */
cursor:         grab !important; /* W3C standards syntax, should come least */

}
.portlet:hover .image-block-holder {
    background-color:rgba(255,255,255,0.9);
    transform:scale(1.1);
    box-shadow: rgb(0 0 0 / 40%) 0px 2px 4px, rgb(0 0 0 / 30%) 0px 7px 13px -3px, rgb(0 0 0 / 20%) 0px -3px 0px inset;
}
.portlet:hover .image-block {
    transform:scale(0.98);
    border-radius:13px;
}


.drag-placeholder{
    opacity:0 !important;
    cursor:grabbing !important;

}
.sortable-chosen {
    cursor:grabbing !important;
}
.sortable-drag {
    cursor:grabbing !important;
    cursor: -webkit-grabbing;

}

.drag-placeholderxx {
position:sticky;
transform:translateZ(1px); /* this will do the trick  */
}



.sortable-fallback, .sortable-fallback *{
/*    border-radius: 50%;*/

box-shadow: rgb(0 0 0 / 40%) 0px 2px 4px, rgb(0 0 0 / 30%) 0px 7px 13px -3px, rgb(0 0 0 / 20%) 0px -3px 0px inset;
    position:fixed;
    z-index: 999999;
    transform:translateZ(1px); /* this will do the trick  */

}

  .sortable-fallbackxx .image-block{
    transform:scale(0.98);
    border-radius:13px;
  }



  .sortable-fallback.notify-trash:before{
      content:'';
      position:absolute;
      top:0px;left:0px;right:0px;bottom:0px;

      z-index: 9999999;
      border-radius:13px;
      
background-color:rgba(255,255,255,0.55);

background-image:url(trash-2.svg);
      background-size: 60px 60px;
      background-position:center center;
      background-repeat:no-repeat;


box-shadow: inset 0px 0px 0px 3px rgba(199,76,76,0.5);

border:4px solid rgba(255,255,255,0.75);
  }


/*
background-image:linear-gradient(to right, transparent, #EB5757), url(trash-2.svg);
background-image:url(trash-2.svg), linear-gradient(to right, transparent, #EB5757);


https://stackoverflow.com/questions/19850037/override-css-z-index-stacking-context
https://www.joshwcomeau.com/css/stacking-contexts/
*/


.saver-labelxxx {
    position: relative;
    /* background: red; */
    bottom: 12px;
    width: 170px;
    left: 10px;
    border: 2px dotted rgba(0,0,0,0.2);
    border-radius: 10px;
    text-align: center;
    pointer-events: none;
    user-select: none;
}



.saver-label {
  
    position:relative;
    bottom:0px;
    width:190px;
    left:0px;
    border-top:2px solid rgba(0,0,0,0.15);
    text-align:center;
    pointer-events:none;
    user-select:none;
    backgroundxx:red;
    margin:0px;
    overflowxx: hidden;
    margin-top:-2px;
    
}


.saver-label:after {
    content:'';
    left:0px;
    right:0px;
    top:0px;bottom:0px;
    position:absolute;
    border-top:1px solid rgb(255 255 255 / 25%);
}



.saver-labelxx:after {
    content:'';
    left:0px;
    right:0px;
    top:0px;bottom:0px;
    position:absolute;
    background-color:#fff;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: rgb(0 0 0 / 40%) 0px 2px 4px, rgb(0 0 0 / 30%) 0px 7px 13px -3px, rgb(0 0 0 / 20%) 0px -3px 0px inset;
}



.saver-label p {
    font-family: 'fontsub3';
    color: rgba(0,0,0,0.5);
    text-shadow: 0px 1px rgb(255 255 255 / 25%);
    font-size:10px;
    letter-spacing: 0.5px;
    pointer-events: none;
    user-select:none;
    text-transform: uppercase;
    margin:0px;
    margin-top:4px;
    margin-bottom:5px;
    font-weight: 900;
}














/*********************************************************************
 *  MIDDLE HERO IMAGE
 *********************************************************************/
 .middle-hero-image {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: 860px;
    max-width: 860px;
    background: #fff;
    box-shadow: rgb(0 0 0 / 40%) 0px 2px 4px, rgb(0 0 0 / 30%) 0px 7px 13px -3px, rgb(0 0 0 / 20%) 0px -3px 0px inset;
    padding: 10px;
    border-radius: 12px;
    margin-top: -10px;
    margin-bottom: -10px;

    pointer-events: none;
    user-select:none;
}
.hero-image {
    position: relative;
    width: 100%;
    height: auto;
    display: inline-block;
    border-radius: 9px;
    border: 1px solid rgba(0,0,0,0.5);
}




















/*********************************************************************
 *  REMOVAL ZONES
 *********************************************************************/

 .removal-zone{
    position:fixed;
    top:0px;
    bottom:0px;
    height:100vh;
    background:rgba(50,0,0,0.1);
    border:1px dashed rgba(85,85,85,0.25);
    border:1px dashed rgba(150,0,0,0.35);
    opacity:0;
transition: opacity 0.25s ease-in 0s;
margin:0px;
overflow:hidden;
z-index:unset;
}



 .removal-zone.zone-left.active{
opacity:1; 
z-index: 99999;
-webkit-backdrop-filter: blur(5px);
   backdrop-filter: blur(5px);
   transform-style: preserve-3d;
}
.removal-zone.zone-right.active{
    opacity:1; 
    z-index: 99999;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    transform-style: preserve-3d;

}
    
 .removal-zone.zone-left {
    left:0px;
    /*width:50%;*/
    z-index: 0;
 }
 .removal-zone.zone-right {
    right:0px;
    /*width:50%;*/
    z-index: 0;
 }

 .removal-zone.listen{
    z-index:9999 !important;
}

 .downvote-zone {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    border: 1px dashed rgba(150,0,0,0.35);
    background-color: rgba(50,0,0,0.2);
    top: calc(100vh - 400px);
    box-shadow:   rgba(0, 0, 0, 0.95) 0px 0px 3px;
    opacity:0;
    pointer-events:none;
    user-select: none;
    display:none;
 }
 .removal-zone.active .downvote-zone{
    opacity:1;
    pointer-events:auto;
    display:block;
}


 .downvote-zone.downvote-left {
    left: -400px;
    transition: background-color 0.25s ease-in 0s, transform 0.25s ease-in 0s, opacity 0.25s ease-in 0s;
 }
 .downvote-zone.downvote-left.active {
    background-color: rgba(150,0,0,0.25);
    transform:scale(1.025);
 }
 .downvote-zone:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:url(downvotebg.png);
    background-size:90px 90px;
    background-position: 65% 35%;
    opacity: 0.0;
    border-radius: 50%;
    transition: opacity 0.25s ease-in 0s, background-size 0.25s ease-in 0s;
}
.downvote-zone.active:before {
    opacity: 0.55;
    background-size:100px 100px;
    
}
.downvote-zone.downvote-left:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(downvote.svg);
    background-size: 80px 80px;
    background-position: 65% 35%;
    background-repeat: no-repeat;
    opacity: 0.5;
}

 .downvote-zone.downvote-right {
    right: -400px;
    transition: background-color 0.25s ease-in 0s, transform 0.25s ease-in 0s, opacity 0.25s ease-in 0s;
 }
 .downvote-zone.downvote-right.active {
    background-color: rgba(150,0,0,0.25);
    transform:scale(1.025);
 }

 .downvote-zone.downvote-right:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(downvote.svg);
    background-size: 80px 80px;
    background-position: 65% 35%;
    background-repeat: no-repeat;
    opacity: 0.5;
    transform:scaleX(-1);
}