.ico_flutuante {
    width: fit-content;
    padding: 10px;
    position: fixed;
    background: #070fa6;
    border-radius: 50px;
    bottom: 14px;
    left: 18px;
    z-index: 7;
    cursor: pointer;
    animation-name: ico_on;
    animation-duration: 500ms;
    animation-timing-function: ease-in-out;
    animation-delay:  500ms;
    animation-direction: normal;
    animation-iteration-count: initial;
    animation-fill-mode: both;
    animation-play-state: initial;
    box-shadow: 0 8px 54px rgba(7, 17 ,170, 0.44);
    display: flex;
    flex-direction: row;

}

.ico_flutuante > .ico_atendente {
    width: 60px;
    height: 60px;
    background-color: #FFFFFF;
    background-image: url("./atendente.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size:  auto 100%;
    border-radius: 50%;
    position: relative;
}

.ico_flutuante > .ico_atendente::after {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 9px !important;
    position: absolute;
    bottom: 1px;
    right: 1px;
    background-color: #2ecc71;
    opacity: 0;
    animation-name: ico_status_on;
    animation-duration: 500ms;
    animation-timing-function: ease-in-out;
    animation-delay:  800ms;
    animation-direction: normal;
    animation-iteration-count: initial;
    animation-fill-mode: both;
    animation-play-state: initial;

}


.ico_flutuante > .mensagem_flutuante {
    max-width: 0;
    max-height: 75px;
    z-index: 99999999;
    padding: 9px 17px;
    cursor: pointer;
    display: none;
    /*display: flex;*/
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    /*
    animation-name: mensagem_box_on;
    animation-duration: 10s;
    animation-timing-function: ease-in-out;
    animation-delay:  800ms;
    animation-direction: normal;
    animation-iteration-count: initial;
    animation-fill-mode: both;
    animation-play-state: initial;

     */
    transition: all 800ms;
    overflow: hidden;

}

.mensagem_flutuante .mensagem_content {
    font-family: 'RoundedMplus1c-Regular', sans-serif;
    color: #FFFFFF;
    font-size: 14px;
    /*
    animation-name: mensagem_on;
    animation-duration: 500ms;
    animation-timing-function: ease-in-out;
    animation-delay:  1s;
    animation-direction: normal;
    animation-iteration-count: initial;
    animation-fill-mode: both;
    animation-play-state: initial;
     */
    border-radius: initial !important;
}




/* Animações */
@keyframes ico_on {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes ico_status_on {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes mensagem_box_on {
    0% {
        max-width: 0;
        padding: 0;
    }

    3% {
        max-width: 250px;
        padding: 9px 17px;

    }

    97% {
        max-width: 250px;
        padding: 9px 17px;

    }

    100% {
        max-width: 0;
        padding: 0;

    }
}

@keyframes circulo_animation {
    0% {
        opacity: 0;

    }
    100% {
        opacity: 1;

    }
}

@keyframes circulo_animation_off {
    0% {
        display: block;

    }
    100% {
        display: none;

    }
}

@keyframes mensagem_on {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes janela_on {
    0% {
        opacity: 0;
        transform: translateY(100%);

    }
    100% {
        opacity: 1;
        transform: translateY(0);
        bottom: 14px;

    }
}

/*Dispositivos pequenos (telefones em modo paisagem, menos de 768 px)*/
@media (max-width: 823px) {
    @keyframes janela_on {
        0% {
            opacity: 0;
            transform: translateY(100%);

        }
        100% {
            opacity: 1;
            transform: translateY(0);
            top: 50px;
            bottom: 0;
            right: 0;
            left: 0;

        }
    }
}
@keyframes janela_off {
    0% {
        opacity: 1;
        transform: translateY(0);


    }
    100% {
        opacity: 0;
        transform: translateY(100%);
        bottom: 0;

    }
}


@keyframes mensagem_scale {
    0% {

        transform: scale(0);


    }
    100% {
        transform: scale(1);


    }
}

/* Fim Animações */


.janela_on {
    animation: janela_on 500ms ease-in-out  alternate 1 both;
}
.janela_off {
    animation: janela_off 500ms ease-in-out  alternate 1 both;
}




/* Janela principal */
.janela_principal_chatboot {
    background: #fcfcfc;
    width: 100%;
    max-width: 400px;
    height: auto;
    min-height: 550px;
    max-height: 550px;
    transition: max-height 1s;
    position: fixed;
    bottom: 14px;
    left: 18px;
    z-index: 99;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 54px rgba(7, 17 ,170, 0.44);
    transform: translateY(100%);
    opacity: 0;



}
.janela_principal_chatboot .topo_chat {
    background: #070fa6;
    font-family: 'RoundedMplus1c-Regular',sans-serif;
    color: #FFFFFF;
    padding: 10px 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    height: 70px;
}
.janela_principal_chatboot .topo_chat .icone {
    width: 50px;
    height: 50px;
    background-color: #3e3e3e;
    background-image: url("./atendente.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size:  auto 100%;
    border-radius: 50%;
    position: relative;


}
.janela_principal_chatboot .topo_chat .icone::after {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 9px !important;
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: #2ecc71;
    opacity: 1;
}

.janela_principal_chatboot .topo_chat .texto {
    flex: 1;
    height: 50px;
    padding-left: 20px;
}

.janela_principal_chatboot .topo_chat .texto .titulo {
    font-size: 12pt;
}

.janela_principal_chatboot .topo_chat .texto .sub_titulo {
    font-size: 10pt;
}

.janela_principal_chatboot .topo_chat .close_janela_chat {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.janela_principal_chatboot .topo_chat .close_janela_chat .btn {
    font-family: 'RoundedMplus1c-Regular', sans-serif;
    width: 30px;
    height: 30px;
    font-size: 25px;
    line-height: 27px;
    text-align: center;
    cursor: pointer;
}

/* Janela da conversa */
.janela_principal_chatboot .container_conversa {
    min-height: 480px;
    max-height: 480px;
    display: flex;
    flex-direction: column;
}
.janela_principal_chatboot .container_conversa .scrollable {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin: 25px;
    overflow-y: scroll;

}

.janela_principal_chatboot .container_conversa .scrollable::-webkit-scrollbar {
    width: 5px;
    border-radius: 10px;
    background-color: #e9e9e9;
}

.janela_principal_chatboot .container_conversa .scrollable::-webkit-scrollbar-track {

    border-radius: 10px;
    background-color: #e9e9e9;
}

.janela_principal_chatboot .container_conversa .scrollable::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #c7c7c7;
}


.janela_principal_chatboot .container_conversa .scrollable .grup_left {
    width: 100%;
    max-width: 80%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;


}
.janela_principal_chatboot .container_conversa .scrollable .init {
    animation: mensagem_scale 200ms ease-in-out 400ms  alternate 1 both !important;
}


.janela_principal_chatboot .container_conversa .scrollable .grup_left .container {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.janela_principal_chatboot .container_conversa .scrollable .grup_left .container .msg {
    width: fit-content;
    font-family: 'RoundedMplus1c-Regular', sans-serif;
    color: #535353;
    background: #f0f0f0;
    padding: 16px 24px;
    margin-bottom: 25px;
    border-radius: 0 20px 20px 20px;
    clear: both;



}



.janela_principal_chatboot .container_conversa .scrollable .grup_left .container .msg .options button {
    border: none;
    font-family: 'RoundedMplus1c-Regular', sans-serif;
    color: #FFFFFF;
    background: #070fa6;
    font-size: 16px;
    padding: 12px 16px;
    border-radius: 24px;
    cursor: pointer;
    margin-top: 12px;
    outline: none;
}
.janela_principal_chatboot .container_conversa .scrollable .grup_left .container .msg .options button:hover {
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);
}


.janela_principal_chatboot .container_conversa .scrollable .grup_right {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;


}

.janela_principal_chatboot .container_conversa .scrollable .grup_right .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-right: 12px;
}

.janela_principal_chatboot .container_conversa .scrollable .grup_right .container .msg {
    width: fit-content;
    font-family: 'RoundedMplus1c-Regular', sans-serif;
    color: #FFFFFF;
    background: #070fa6;
    padding: 16px 24px;
    margin-bottom: 12px;
    border-radius: 20px 0 20px 20px;
    clear: both;

}

.janela_principal_chatboot .container_conversa .scrollable .grup_left .msg button {
    border: none;
    font-family: 'RoundedMplus1c-Regular', sans-serif;
    color: #FFFFFF;
    background: #070fa6;
    font-size: 16px;
    padding: 12px 16px;
    border-radius: 24px;
    cursor: pointer;
    margin-top: 12px;
    outline: none;
}

.janela_principal_chatboot .container_conversa .container_input {
    flex: 0;
    border-top: 2px solid #eee;
    border-radius: 0 0 20px 20px;


}

.janela_principal_chatboot .container_conversa .container_input form {
    height: 100px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    padding: 0 25px;
}
.janela_principal_chatboot .container_conversa .container_input form input {
    height: 50px;
    flex: 1;
    border-radius: 32px!important;
    font-family: 'RoundedMplus1c-Regular', sans-serif;
    color: #636363;
    font-size: 16px;
    border: none;
    background: transparent;
    outline: none;
    padding: 0 10px;
    margin-right: 25px;
}
.janela_principal_chatboot .container_conversa .container_input form button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background-color: #f7561d;
    background-image: url("./send.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size:  auto;
    color: #ffffff;
    cursor: pointer;
    outline: none;
}


/* fim Janela da conversa */

/* fim Janela principal */



@media (max-width: 823px) {



    .mensagem_flutuante .mensagem_content {

        font-size: 12px;

    }

    .janela_principal_chatboot {
        max-width: 100%;
        bottom: 0;
        right: 0;
        left: 0;
        z-index: 8;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: initial;
        max-height: initial;

    }

    .janela_principal_chatboot .container_conversa {
        flex: 1;
        max-height: 100%;
        min-height: 0;
    }

    .janela_principal_chatboot .container_conversa .scrollable {
        flex: 1;
        height: auto;
        display: flex;
        flex-direction: column;
        margin: 25px;
        overflow-y: scroll;
    }

}





