.popup {
    position: relative;
    display: inline;
    cursor: pointer;
    /*border-bottom: 1px dotted black;*/
    text-decoration: #00a99d underline;
    /* -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; */
}
.learn_by_replace{
    background-color: rgba(181, 250, 245, 0.63);
    text-decoration: none;
}
.word_wrapper:hover:not(.phraseMode) {
    background-color: #00a99ea1;
}

.word_wrapper {
    display: inline;
}
.word_wrapper::selection{
    background: #08e939;
}
pop-word {
    display: inline;
}

.phrase_wrapper{
    display: inline;
    background-color: #08e939a1
}

.phrase_wrapper{

    user-select: none;

}
.phrase_wrapper .word_wrapper{
    pointer-events:none;
}

.phraseMode{
    background-color: #08e939 ;
}
.phrasePop{
    text-decoration: #08e939 underline;
}

pop-phrase{
    display: inline;
}
pop-input{
    display: inline;
}



/*.dontKnow {*/
/*    font-size: 13px;*/
/*    font-family: 'Comic Sans MS';*/
/*    color: #333333;*/
/*}*/

/* The actual popup */
/*.popuptext {*/
/*    !* display: none;*!*/
/*    visibility: hidden;*/
/*    width: 200px;*/
/*    background-color: #99f5dc !important;*/
/*    border-radius: 17px !important;*/
/*    color: #fff;*/
/*    text-align: center;*/
/*    !* border-radius: 4px; *!*/
/*    padding: 5px 0;*/
/*    !* position: absolute; *!*/
/*    z-index: -1;*/
/*    !* bottom: 150%; *!*/
/*    !* left: 50%; *!*/
/*    !* margin-left: -60px; *!*/
/*}*/


/* Toggle this class - hide and show the popup */
/*.show {*/
/*    !*display: inline;*!*/
/*    visibility: visible;*/
/*    z-index: 1;*/
/*    -webkit-animation: fadeIn 1s;*/
/*    animation: fadeIn 1s;*/
/*}*/

/*.popuptext[data-popper-reference-hidden] {*/
/*    visibility: hidden;*/
/*    pointer-events: none;*/
/*}*/

/*.myListGroup {*/
/*    padding-left: 40px !important;*/
/*}*/

/*.defItem {*/
/*    font-size: 13px;*/
/*    font-family: Arial Rounded MT !important;*/
/*    text-align: left;*/
/*    color: #333333;*/
/*    background-color: #99f5dc !important;*/
/*    border: none !important;*/
/*    display: list-item !important;*/
/*    padding: 0px !important;*/
/*    margin-top: 4px;*/
/*    margin-bottom: 4px;*/
/*}*/

/*.transItem {*/
/*    font-size: 14px;*/
/*    font-family: Arial Rounded MT !important;*/
/*    color: #212529;*/

/*}*/

/*.defTransDivider {*/
/*    background-color: #00a99d;*/
/*    height: 1px;*/
/*}*/

/*.betweenDefDivider {*/
/*    margin: 1px;*/
/*    margin-left: 4px;*/
/*    margin-right: 4px;*/
/*}*/

#arrow,
#arrow::before {
    position: absolute;
    width: 8px;
    height: 8px;
    z-index: -1;
}

#arrow::before {
    content: '';
    transform: rotate(45deg);
    background: #333;
}

#popuptext[data-popper-placement^='top'] > #arrow {
    bottom: -4px !important;
}

#popuptext[data-popper-placement^='bottom'] > #arrow {
    top: -4px !important;
}

#popuptext[data-popper-placement^='left'] > #arrow {
    right: -4px !important;
}

#popuptext[data-popper-placement^='right'] > #arrow {
    left: -4px !important;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/**
 * ==============================================
 * Dot Flashing
 * ==============================================
 */
.dot-flashing {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #ffffff;
    color: #ffffff;
    margin: auto;
    animation: dot-flashing 1s infinite linear alternate;
    animation-delay: 0.5s;
}

.dot-flashing::before,
.dot-flashing::after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 0;
}

.dot-flashing::before {
    left: -15px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #ffffff;
    color: #ffffff;
    animation: dot-flashing 1s infinite alternate;
    animation-delay: 0s;
}

.dot-flashing::after {
    left: 15px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #ffffff;
    color: #ffffff;
    animation: dot-flashing 1s infinite alternate;
    animation-delay: 1s;
}

@keyframes dot-flashing {
    0% {
        background-color: #ffffff;
    }
    50%,
    100% {
        background-color: #33c4bf;
    }
}
