/*
    Created on : 05.02.2024, 09:13:35
    Author     : teja
*/

.quicktext-input {
  height: 70px !important;
  width: 100%;
  box-sizing: border-box;
  font-size: 30px !important;
  text-align: center;
  font-family: "RobotoFont", "Roboto", "Noto Emoji", sans-serif;
  font-variant-emoji: text;
  font-synthesis: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}

.quicktext-slider {
  width: 100%;
  transform: scaleX(-1);
}

.quicktext-fontname {
  text-align: center;
}

.quicktext-font-button {
  font-weight: 500;
  font-size: 16px;
  user-select: none;
}

#quick_text_stroke_and_fill input[type="radio"] {
  margin: 8px 5px 0 0;
  transform: scale(1.2);
}

.mrb-quicktext-stroked-placeholder::-webkit-input-placeholder {
  color: #ffffff;
}

/* Quick text */
#quick_text_stroke_and_fill {
  margin-top: 2em;
  margin-bottom: 2em;
}

#quick_text_dialog #qt_round_text_section img {
  width: 3em;
}

#qt_round_text_section .btn-group .btn {
  padding-top: 0;
  padding-bottom: 0;
}
#qt_round_text_section.straight #quick_text_dialog_circle {
  visibility: hidden;
}

#quick_text_dialog_circle {
  width: 100%;
  margin: 2em 0em;
}

#quick_text_dialog #emojiPickerPlaceholder,
#quick_text_dialog #emojiPicker i.icon-chevron-up,
#quick_text_dialog.emojiMode #emojiPicker span.emoji-smiley,
#quick_text_dialog.emojiMode #quick_text_stroke_and_fill
{
    display:none;
}

#quick_text_dialog #quick_text_stroke_and_fill,
#quick_text_dialog #emojiPicker span.emoji-smiley,
#quick_text_dialog.emojiMode #emojiPicker i.icon-chevron-up,
#quick_text_dialog.emojiMode #emojiPickerPlaceholder {
    display:block;
}

#quick_text_dialog span.emoji-smiley {
    font-size: .8em;
    font-family: "Noto Emoji", sans-serif;
    font-variant-emoji:text;
    font-synthesis:none;
}

#emojiPicker,
#quickTextSpeechButton {
    width: 1.6em;
    min-width: unset;
    position: absolute;
    top: 1em;
    border-radius: 100%;
    height: 1.6em;
    font-size: 2em;
    color: #383e42;
}

#emojiPicker {
    right: 0.8em;
}

#quickTextSpeechButton {
    right: 2.7em;
}

#quickTextSpeechButton.active {
    color: #ffffff;
    background-color: #e25303;
}

#quickTextSpeechButton[disabled] {
    cursor: not-allowed;
}

button#emojiPicker:focus,
button#quickTextSpeechButton:focus,
#emojiPicker:active,
#quickTextSpeechButton:active {
    outline:none;
    border-color: #dddddd;
}

#quick_text_speech_status {
    min-height: 20px;
    margin: 2px 0 0;
}

.secure-context-hint {
    max-height: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
        max-height 300ms ease,
        margin 300ms ease,
        opacity 200ms ease,
        transform 300ms ease;
}

.secure-context-hint.is-visible {
    max-height: 120px;
    margin: 4px 0 10px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.secure-context-hint .alert {
    margin: 0;
    border: 2px solid #e25303;
    background-color: #fff3e8;
    box-shadow: 0 2px 6px rgba(226, 83, 3, 0.25);
    color: #5c2b0b;
    font-weight: 500;
}

.secure-context-hint .alert > .fa-lock {
    color: #e25303;
    margin-right: 4px;
}

.secure-context-hint .alert a {
    display: inline-block;
    margin-left: 4px;
    font-weight: 700;
    white-space: nowrap;
}

.secure-context-hint .alert a .fa {
    margin-left: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .secure-context-hint {
        transition: none;
    }
}


#notAvailableForEmojiHint {
    padding-top: 5px;
}

.fg-emoji-container {
    /*height: 300px;*/
    background-color: white;
    overflow: hidden;
    z-index: 9999;
}

.fg-emoji-container svg {
    max-width: 100%;
    box-sizing: border-box;
    width: 15px;
    height: 15px;
}

.fg-emoji-picker-category-title {
    display: block;
    margin: 20px 0 0 0;
    padding: 0 10px 5px 10px;
    font-size: 16px;
    font-family: sans-serif;
    font-weight: bold;
    flex: 0 0 calc(100% - 20px);
    border-bottom: 1px solid #ededed;
}

.fg-emoji-nav li a svg {
    transition: all .2s ease;
    fill: white;
}

.fg-emoji-nav li:hover a svg {
    fill: black;
}

.fg-emoji-nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 1em 0 0 0;
    padding: 0;
    border-radius: 8px 8px 0 0;
    box-sizing: border-box;
    background-color: #646772;
    overflow: hidden;
}

.fg-emoji-nav ul li {
    flex: 1;
}

.fg-emoji-nav ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    transition: all .2s ease;
}

.fg-emoji-nav ul li a:hover {
    background-color: #e9ebf1;
}

.fg-emoji-nav ul li.active a {
    background-color: #e9ebf1;
}

.fg-emoji-nav ul li.emoji-picker-nav-active a {
    background-color: #e9ebf1;
}

.fg-emoji-nav ul li.emoji-picker-nav-active a svg {
    fill: #646772;
}

.fg-emoji-picker-move {
    cursor: move;
}

.fg-picker-special-buttons a {
    background-color: #e25303;
}

.fg-picker-special-buttons:last-child a {
    box-shadow: inset 1px 0px 0px 0 rgba(0, 0, 0, 0.11);
}

.fg-emoji-list {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: 50vh;
}

.fg-emoji-picker-category-wrapper {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
}

.fg-emoji-list li {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex: 0 0 calc(100% / 6);
    height: 50px;
}

.fg-emoji-list li a {
    position: absolute;
    width: 100%;
    height: 100%;
    text-decoration: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-size: 23px;
    background-color: #ffffff;
    color: #666666;
    box-sizing: border-box;
    border-radius: 8px;
}

.fg-emoji-list li a:hover {
    border: 1px solid #e25303;
}

.fg-emoji-picker-search {
    position: relative;
}

.fg-emoji-picker-search input {
    box-shadow: 0 0 0 0;
    outline: none;
    width: calc(100% - 0rem);
    display: block;
    padding: 1rem 0.5rem;
    background-color: #f3f3f3;
    font-size: 0.9rem;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border: 1px solid;
    box-sizing: border-box;
    border-top: none;
}

.fg-emoji-picker-search .fg-emoji-picker-search-icon {
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
