
.scene-tooltip {

    pointer-events:none!important;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
  }
  .node-label {
    /*font-size: 12px;*/
    padding: 1px 4px;
    border-radius: 4px;
    background-color: rgba(0,0,0,0.5);
    user-select: none;
  }

  #editModal {
    position: absolute;
    top: 0px;
    right:0px;
    z-index: 5;
    background-color: white;
    padding: 15px;
    width: 500px;

    overflow-y: scroll;
    height: 100%;
  }

  #editModal textarea {
     width: 100%;
     /*height: 200px;*/
  }

  #editModal form {
    margin:0px;
  }


  /* Tooltip container */
.tooltip {
position: relative;
display: inline-block;
border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
backdrop-filter: blur(2px);
visibility: hidden;
  width: 120px;
  background-color: #5555558c;
  color: #fff;
  text-align: center;
  padding: 5px;
  border-radius: 6px;
  position: absolute;
  left: 30px;
  z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
visibility: visible;
}


  #toolbar {
/*
    position:absolute;
    bottom:0px;
    width: 100%;
    z-index:1;
    background-color: #7c7c7c8f;
    padding: 5px;
    backdrop-filter: blur(2px);

    max-height: 100px!important;
    overflow-y: auto;
*/

    position: absolute;
  top: 0px;
  width: 35px;
  height: 100%;
  z-index: 1;
  /*background-color: #7c7c7c8f;*/
  padding: 5px;
  
  /* max-height: 100px!important; */
  overflow-y: auto;

  overflow: initial;
  pointer-events: none;

  }

  #toolbar button {
    backdrop-filter: blur(2px);
    pointer-events:all;
  /*padding: 0px 11px;
  border-radius: 4px;
  margin: 2px 0px;
  */

  padding: 0px 2px;
  border-radius: 4px;
  margin: 5px 0px;
  font-size: 15px;
  width: 100%;
  display: block;
  background-color: #5555558c;
}

#toolbar button:hover {
  background-color:grey!important;
}

#toolbar i {
  color:white;

}

#toolbar label {

font-size: 10px;
  color: white;
  overflow: initial;
  width: fit-content;
  margin-top: 13px;
  pointer-events: none;
  display:block;
}



  div.node-label {
    background-color:rgb(182, 242, 255);
  }

  input.node-label, textarea.node-label {
    background-color:white;
  }

  .htmlOverlayActive {
    /*width: 40%!important;*/
    /*overflow-y: scroll!important;*/
    
    /*pointer-events: all!important;

    height: calc(100% - 49px)!important;

    background-color:white;*/
    /*height: auto!important;
    padding-bottom: 50px;
    */
  }
  
  .htmlElement, .htmlReferenceElement{
    /*opacity: 0.5;*/
    pointer-events: all;
    /*zoom: 0.5;
    -moz-transform: scale(0.5);*/
    padding: 10px;
    position:absolute;
    /*background-color:white;*/


    /*max-width: 200px;
    max-height: 500px;*/
    
    z-index: -1;

    border-radius: 10px;

    /*background-color: #dae8f9;*/
    background: rgb(174 190 224);
  background: linear-gradient(322deg, rgb(169 191 227) 0%, rgb(203 219 243) 100%);


  }

  .htmlReferenceElement {
    filter: contrast(100%) saturate(70%) brightness(55%);
  pointer-events: none;
  cursor: not-allowed!important;
  opacity: 0.3;
    
  }

  .htmlElement.selected {
    /*background-color:#77a8f1!important;*/
    box-shadow: inset 0px 0px 0px 6px #ffcf2e;
  }
  
  .noninteractive {
    opacity: 0.4!important;
    pointer-events:none!important;
    /*zoom: 1;
    -moz-transform: scale(1);
    */
  }

  .interactive {
    opacity: 1!important;
    pointer-events:all!important;
    /*zoom: 1;
    -moz-transform: scale(1);
    */
  }

  .stacked {
    position: unset; /*!important;*/
    /*width: 100%!important;*/
    border-width: 0px;
    border-color: black;
    border-style: solid;
    zoom: 1!important;
    -moz-transform: scale(1)!important;

    max-width: unset;
    max-height: unset;
    z-index:1;

    /*height: -webkit-fill-available;*/

    /*height: auto;*/
    flex: 1 1 auto;
    /*margin-bottom: 15px;*/ /* Not Snug Mode*/

    align-items: flex-start; /* Align items to the start of the container */
  align-content: normal; /* Align content to its normal position */


  
       transform: unset!important;
       top: unset!important;
       left: unset!important;
       z-index: unset!important;

       
  }


  /*
  .htmlUI textarea {

    width: 100%;
    height: 200px;
    border-radius: 5px;
  }
  */

.nodeMarkerWrapper {
float:right;
/*
  display: flex;
  justify-content: flex-end;
  margin-bottom: 7px;
  margin-top: 0px;
  */
}

.nodeSparker {
width: 15px;
  height: 15px;
  border-radius: 20px;
  background-color: yellow;
  padding: 3px;
  cursor: pointer;
  display: contents;
  color: #ffffff9c;
  font-size: 18px;
  }


  .nodeSparker i {
    margin-right: 4px;
  }

  .nodeMarker {
    /*float:right;*/
    width: 15px;
    height: 15px;
    border-radius: 20px;
    background-color:black;
    padding: 3px;
   
    cursor:pointer;
    display:inline-block;
  }

  
.nodeLoading {
  display: inline-block;
  /*width: 50px;
  height: 50px;
  */
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #000;
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
  padding: 0px;
}


@keyframes placeHolderShimmer {
0% {
  background-position: -800px 0
}
100% {
  background-position: 800px 0
}
}

/*
.nodeBlockLoading::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(90deg, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 75%);
animation: loading 2s infinite;
}

@keyframes loading {
0% {
  transform: translateX(-100%);
}
100% {
  transform: translateX(100%);
}
}
*/

.nodeBlockLoadingOFF {
/*animation-duration: 2s;
animation-fill-mode: forwards;
animation-iteration-count: infinite;*/
/*animation: placeHolderShimmer 2s infinite;*/
/*animation-timing-function: linear;*/
/*background-color: #f6f7f8;*/
/**/
/*background-size: 800px 100%!important;*/
/*background: linear-gradient(to right, #eeeeee 8%, #bbbbbb 18%, #eeeeee 33%);
background-size: 800px 104px;*/
/*height: 70px;
position: relative;*/

background: url(/wp-content/plugins/gomind-insights/include/img/loaderdiag2.gif)!important;
}

.nodeBlockLoading {
/*background: linear-gradient(to right, #00000000 8%, #0000001f 18%, #00000000 33%);*/
/*background: linear-gradient(322deg, rgb(134 159 200 / 50%) 0%, rgb(175 201 239 / 88%) 100%);*/
}

/*
.nodeBlockLoadingGlobal::before {
    content: "OK";
    position: relative;
    top: -5px;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    margin-bottom: -2px;
    overflow: hidden;
    
    background: url(/wp-content/plugins/gomind-insights/include/img/loaderdiag.gif)!important;
    z-index: 1;
    opacity: 0.2;
}
*/

.nodeBlockLoading::before, .nodeBlockLoadingGlobal::before {
    content: "";
    position: relative;
    top: -5px;
    left: 0;
    display: block;
    width: 100%;
    height: 5px;
    margin-bottom: -5px;
    overflow: hidden;
    
    /*background-color: #ffcc00;*/
    background: url(/wp-content/plugins/gomind-insights/include/img/loaderdiag.gif)!important;
    z-index: 1;
    opacity: 0.1;
}


.nodeBlockLoadingBlock::before {
  top: unset;
  left: unset;
  
}
.nodeBlockLoadingBlock {
  top: unset;
  left: unset;
  height: unset;
  background: none;
  text-align:center;
}

.videoStatusOverlay {
position: absolute;
  background: #0000007a;
  height: 100%;
  width: 100%;
  z-index: 100000000;
  display: block;
  top: 0px;
  left: 0px;
}

.videoStatusOverlayText {
text-align: center;
  top: calc(50% - 18px);
  position: absolute;
  margin: auto;
  width: 100%;
  font-size: 50px;
}

@media only screen and (max-width: 700px) { 
.videoStatusOverlayText {
  font-size: 30px;
}
}


.videoStatusOverlayBG {
width: 100%;
  background: #0000008a;
  height: 100%;
  position: relative;
  top: 0px;
  backdrop-filter: blur(3px);

  display: flex;
  justify-content: center;
  align-items: center;
}



.yourVideoLink {
  text-align:center;
  font-size:13px;
}

/*
.nodeBlockLoading, .nodeBlockLoadingGlobal {
animation-duration: 2s;
animation-fill-mode: forwards;
animation-iteration-count: infinite;
animation-name: placeHolderShimmer;
animation-timing-function: linear;
background: linear-gradient(to right, #00000000 8%, #0000001f 18%, #00000000 33%);
background-size: 800px 100%!important;
}
*/

@keyframes spin {
  to { -webkit-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
  to { -webkit-transform: rotate(360deg); }
}

#nodeSidebar {
  display: flex;
  flex-direction: column;

  /* LRP add to fill available */
  /*height: -webkit-fill-available;*/

  flex: 1 1 auto;

  /*align-items: flex-start; /* Align items to the start of the container */
  /*align-content: normal; /* Align content to its normal position */
}



#phiApp {
  top: 0px;
  z-index: 4;
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
}

  
.graph3D > div, .graph3D > div > div {
   height: 100%;
}

.graph3D canvas {
  width: 100%!important;
  height: 100%!important;
}
#phiApp div {
  max-height: 100%;
}

.scene-container {
  position: relative;

  overflow: hidden;

  width: 100%!important;
  height: 100%!important;
}



.graph-info-msg {
  height: auto!important;
}



/* Global: keep control background consistent on focus */
textarea:focus,
input[type="text"]:focus,
input[type="search"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
select:focus {
  background-color: inherit !important;
}
