#reactions-container {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 16px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

#reactions-container .hidden,
#reactions-container.hidden {
  display: none;
}

#reactions-container button:hover:before{
  background: transparent !important;
}

#emotes-wrapper,
.reactions-commenting-toggle-wrapper {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid #EEEFF2;
  border-radius: 6px;
  padding: 8px 24px;
}

.reactions-info-wrapper {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid #EEEFF2;
  border-radius: 6px;
  padding: 8px;
}

#emotes-wrapper .emote {
  cursor: pointer;
  transition: all 150ms ease-in-out;
  position: relative;
  z-index: 1;
}

#emotes-wrapper .emote svg {
  width: 32px !important;
  height: 32px !important;
  fill: none !important;
  stroke: none !important;
}

#video-player-reactions .video-player-reaction svg,
#video-player-reactions .video-player-reaction-icon svg {
  fill: none !important;
  stroke: none !important;
}

#emotes-wrapper .emote:before {
  opacity: 0;
  position: absolute;
  content: '';
  background: rgba(39, 42, 50, 0.1);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  left: 50%;
  transition: all 150ms ease-in-out;
  transform: translateX(-50%) translateY(12px);
  z-index: -1;
  filter: blur(5px);
}

.comment-toggle {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 8px 16px 8px 8px;
  gap: 4px;
  width: 124px;
  background: #FFFFFF;
  border-radius: 5px;
  color: #001B53;
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  line-height: 24px;
  cursor: pointer;
}

.reactions-input-wrapper {
  width: 100%;
  margin-bottom: 8px;
}

.reactions-input-wrapper input {
  box-sizing: border-box;
  background: #FFFFFF;
  border: 1px solid #001B53;
  border-radius: 4px;
  padding: 8px 12px;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  display: block;
  width: 100%;
  outline: none;
}

.reactions-buttons-wrapper {
  display: flex;
  flex-basis: 50%;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.reactions-buttons-wrapper button {
  padding: 8px;
  text-align: center;
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  line-height: 24px;
  border-radius: 5px;
  flex-grow: 1;
  width: 100%;
  display: block;
  cursor: pointer;
}

.reactions-buttons-wrapper button.disabled {
  pointer-events: none;
  opacity: .4;
}

.reactions-buttons-wrapper button {
  margin: 0 !important;
}

#commenting-current-time {
  display: none;
}

button.reactions-cancel {
  background: #F2F4F6;
  border: 1px solid rgba(0, 27, 83, 0.05);
}

button.reactions-cancel:before,
button.reactions-cancel:hover:before {
  display: block !important;
  content: "Cancel";
  position: static !important;
  padding: 0 !important;
  color: #001B53 !important;
  background: transparent !important;
}

button.reactions-continue,
button.reactions-submit {
  background: #FF8B22;
  border: 1px solid rgba(0, 27, 83, 0.05);
  color: white;
}

.commenting-char-counter-wrapper {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #9297A2;
  margin: 0 0px 10px 0;
  width: 50px;
  flex-grow: 0;
  flex-shrink: 0;
  text-align: right;
}

.commenting-char-counter-wrapper.has-error {
  color: #E84C3D;
}

#video-player-reactions {
  position: absolute;
  bottom: 50px;
  left: 0;
  right: 0;
  height: 20px;
}

#video-player-reactions .reaction-position {
  position: absolute;
  bottom: 0px;
  padding-bottom: 10px;
  width: 10%;
  text-align: center;
}

#video-player-reactions .video-player-reaction {
  display: block;
  margin-bottom: -10px;
}

#video-player-reactions .video-player-reaction:nth-child(n+15) {
  display: none;
}

#video-player-reactions svg {
  height: auto;
  width: 18px;
}

#video-player-reactions .video-player-reactions-bubble {
  display: none;
  box-sizing: border-box;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  min-width: 150px;
  max-height: 200px;
  overflow-y: auto;
  background: white;
  box-shadow: 0px 8px 32px rgba(29, 30, 36, 0.08);
  border-radius: 4px;
  padding: 8px 12px;
  flex-direction: column;
  gap: 8px;
  z-index: 999;
}

#video-player-reactions .reaction-position-0 .video-player-reactions-bubble {
  transform: none;
  left: 16px;
}

#video-player-reactions .reaction-position-10 .video-player-reactions-bubble {
  transform: translateX(-30%);
}

#video-player-reactions .reaction-position-80 .video-player-reactions-bubble {
  transform: translateX(-60%);
}

#video-player-reactions .reaction-position-90 .video-player-reactions-bubble {
  transform: none;
  left: auto;
  right: 16px;
}

#video-player-reactions .video-player-reaction-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

#video-player-reactions .video-player-reaction-content .video-player-reaction-name {
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  line-height: 24px;
  color: #272A32;
  white-space: nowrap;
  /* overflow: hidden; */
  /* text-overflow: ellipsis; */
}

#video-player-reactions .video-player-reaction-content .video-player-reaction-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 24px;
  color: #272A32;
}

#video-player-reactions .video-player-reaction-content .video-player-reaction-delete {
  margin-left: auto;
  color: #9297A2;
  cursor: pointer;
  width: 24px;
  height: 24px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media only screen and (min-width: 800px) {
  #reactions-container {
    /*width: 800px; */  /***SUS-807 changes ***/
    height: 56px;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    background: #FFFFFF;
    border: 1px solid #EEEFF2;
    border-radius: 6px;
    /*padding: 0 74px;*/  /***SUS-807 changes ***/
  }

  #reactions-container.reactions-inputing {
    padding: 0 8px;
  }

  #reactions-container.reactions-inputing #emotes-wrapper {
    display: none;
  }

  #emotes-wrapper {
    width: 232px;
    gap: 10px;
    margin-left: 50px; /***SUS-807 changes ***/
  }

  .reactions-commenting-toggle-wrapper {
    width: auto;
    margin-left: 50px; /***SUS-807 changes ***/
  }

  .reactions-info-wrapper {
    flex-direction: row;
    align-items: center;
  }

  .reactions-input-wrapper {
    margin: 0 8px 0 0;
  }

  #emotes-wrapper,
  .reactions-commenting-toggle-wrapper,
  .reactions-info-wrapper {
    border: none;
    border-radius: 0;
    padding: 0;
  }

  #commenting-current-time {
    display: inline;
    margin-left: 4px;
  }

  .reactions-buttons-wrapper {
    flex-direction: row-reverse;
  }

  button.reactions-cancel {
    background: none;
    border: none;
    color: #272A32;
    width: auto;
  }

  button.reactions-cancel:before,
  button.reactions-cancel:hover:before {
    content: "\00d7";
    display: block !important;
    color: #272A32 !important;
    background: transparent !important;
  }

  #video-player-reactions .reaction-position:hover .video-player-reactions-bubble {
    display: flex;
  }

  #video-player-reactions .video-player-reaction-content .video-player-reaction-delete:hover {
    background: #E84C3D;
    color: white;
  }

  #emotes-wrapper .emote:hover {
    transform: translateY(-4px) scale(1.4);
  }

  #emotes-wrapper .emote:hover:before {
    opacity: 1;
  }
  .commenting-char-counter-wrapper {
    margin: 0 8px 0 0;
  }

}

@media only screen and (max-width: 550px) {
 
  #reactions-container{
    margin-bottom: 0px !important;
  }

}