/* =====================================================
   content.css  -  Content: notes/images, animations, FAB, mindmap, search
   Split from gpnotesv4.css (original lines 768-1141)
   ===================================================== */

.myImages {
  width: auto;
  max-width: 95%;
  margin: 0px auto;
  z-index: 0;
}

.toolTip {
  display: block;

  font-size: 12px;
  color: grey;
  font-style: italic;
}


/* Slide In from Right */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Slide In from Left */
@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}


/* Utility classes */
.slide-in-right {
  animation: slideInRight 0.1s ease forwards;
}



.slide-in-left {
  animation: slideInLeft 0.1s ease forwards;
}




#rotateBtn {
  position: absolute;
  top: 15px;
  left: 35px;
  color: #f1f1f1;
  font-size: 34px;
  font-weight: bold;
  border-radius: 5px;
  transition: 0.3s;
  padding: 5px;
}

#rotateBtn:hover {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
  background-color: #ffffff55;
}




#clearText {

  color: var(--color1);
  font-size: 28px;
  margin: 0 10px;
  cursor: pointer;
  visibility: hidden;

}

/* FLOAT BUTTON EXPAND COLLAPSE ALL  */
.fab-container {
  margin: 10px;
  margin-bottom: 5px;
  display: none;
  flex-direction: row;
  gap: 10px;
  z-index: 1000;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.fab-container::-webkit-scrollbar {
  display: none;
}


.fab {
  flex-shrink: 0;
  width: 110px;
  height: 25px;
  border-radius: 10px;
  padding: 6px 10px;
  border: 1px solid var(--color3);
  background: var(--color4);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 4px;
  color: white;
  font-size: 14px;
  /* border: none; */
  cursor: pointer;
}

.fab-emoji-expand,
.fab-emoji-collapse {
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-right: 8px;
  color: var(--third-layer);
  font-size: 7px;
}


.fab-emoji-share {
  font-size: 12px;
  margin-right: 8px;
  color: var(--third-layer);

}

.fab:active {
  background-color: #ae0160;
}

#mindMapOverlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--color2);
  flex-direction: column;
}


#mindMapContainer {
  flex: 1;
  overflow: hidden;
}

/* FLOAT BUTTON EXPAND COLLAPSE ALL  */


#searchDiv {
  display: flex;
  align-items: center;
  width: 100%;
  margin-left: 10px;
  padding-left: 10px;
  height: 35px;
  border-radius: 10px;
  background: #ffffff2a;
}

#searchTopic {
  width: 100%;
  font-size: 12px;
  border: none;
  font-size: 14px;
  background: none;
  color: var(--color1);
}

#searchTopic::placeholder {
  color: #c9c9c9;
  font-size: 14px;

}

#searchTopic:focus {
  outline: none;
}


#searchQtDiv,
#searchTiDiv {
  display: none;
  align-items: center;
  width: 100%;
  margin-left: 10px;
  padding-left: 10px;
  height: 35px;
  border-radius: 10px;
  background: #ffffff2a;
}

#searchQt,
#searchTi {
  width: 100%;
  font-size: 12px;
  border: none;
  font-size: 14px;
  background: none;
  color: var(--color1);
}

#searchQt::placeholder,
#searchTi::placeholder {
  color: #c9c9c9;
  font-size: 14px;

}

#searchQt:focus,
#searchTi:focus {
  outline: none;
}


#clearQt,
#clearTi {
  visibility: hidden;
  color: var(--color1);
  font-size: 28px;
  margin: 0 10px;
  cursor: pointer;


}




#searchContentDiv {
  display: none;
  flex-direction: row;
  align-items: center;
  border-radius: 10px;
  background: #ffffff2a;
  width: 100%;
  height: 35px;
  margin-left: 10px;
  padding-left: 10px;
  padding-right: 10px;
}

#searchContent {
  width: 100%;
  font-size: 12px;
  border: none;
  font-size: 14px;
  background: none;
  color: var(--color1);


}

#searchContent::placeholder {
  color: #c9c9c9;
  font-size: 14px;


}

#searchContent:focus {
  outline: none;
}



#searchCounter {
  justify-content: center;
  margin: auto 0px;
  color: var(--color1);
  font-style: italic;
  border-radius: 10px;
  width: auto;
  font-size: 12px;
  text-align: center;

}

#closeSearchContent {
  color: var(--color1);
  margin: auto 0px;
  width: 50px;
  text-align: center;
  visibility: hidden;
}




#goPrev {
  cursor: pointer;
  color: var(--color1);
  margin: auto 0px;
  width: 50px;
  text-align: center;
  visibility: hidden;

}

#goNext {
  visibility: hidden;
  cursor: pointer;
  color: var(--color1);
  margin: auto 0px;
  width: 50px;
  text-align: center;


}

.button2 .material-symbols-outlined {
  margin-left: 6px;
  vertical-align: middle;
  font-size: 18px;
  /* apply colour blue link */
  color: var(--seventh-layer);

}

/* google font  */
.material-symbols-outlined {


  font-variation-settings:
    'FILL' 0,
    'wght' 300,
    'GRAD' 0,
    'opsz' 24
}

.dummyLabel {
  display: none;
}

#category_select {
  position: relative;
  border: none;
  width: 100%;
  background: none;
  margin-left: 15px;
  font-size: 16px;
  height: 37px;
  z-index: 1;
  padding: 5px;
  border-radius: 0px 0px 5px 0px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: var(--color1);

}

#category_select>option {
  background-color: var(--color2);
}

#category_select:focus {
  outline: none;
}

#expand_icon {
  position: absolute;
  right: 0px;
  z-index: 0;
}

/* remove blue rectable background on clicks */