@font-face {
    font-family: 'BlissPro';
    font-style: normal;
    font-weight: normal;
    src: url('BlissPro.otf');
}

@font-face {
    font-family: 'BlissPro-LightItalic';
    font-style: normal;
    font-weight: normal;
    src: url('BlissPro-LightItalic.otf');
}

#chat-widget {
    font-family: BlissPro, sans-serif;
    font-size: 12px;
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

#chat-widget strong {
    font-weight: bolder;
}

#chat-widget a {
    color: #fe5000 ;
    text-decoration: none;
    background-color: transparent;
}

#chat-widget .chat-widget-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 75vh;
    width: 30vw;
    margin-bottom: 20px;
    box-shadow: 0 0 15px;
    border-radius: 15px;
    overflow: hidden;
}

#chat-widget .chat-widget-panel-d {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 60vh;
    width: 40vw;
    margin-bottom: 20px;
    margin-right: 20px;
    margin-left: 20px;
    box-shadow: 0 0 15px;
    border-radius: 15px;
    overflow: hidden;
}

#chat-widget .chat-widget-panel-d.hiden {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 70vh;
    width: 65vw;
    margin-bottom: 20px;
    margin-right: 20px;
    box-shadow: 0 0 15px;
    border-radius: 15px;
    overflow: hidden;
    display: none;
}

#chat-widget .chat-widget-header {
    height: 67px;
    background-color: #fe5000 ;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 11px 12px;
}

#chat-widget .chat-widget-header-d {
    height: 67px;
    background-color: #2B0E62;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 11px 12px;
}

#chat-widget .chat-widget-header-d.chrome {
    height: 51px;
    background-color: #2B0E62;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 11px 12px;
}

#chat-widget .chat-widget-assistant-status {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 75%;
}

#chat-widget .chat-widget-assistant-status-d {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

#chat-widget .chat-widget-assistant-status img {
    width: 50px;
    height: 50px;
    margin-right: 12px;
}

#chat-widget .chat-widget-assistant-name {
    color: #FFFFFF;
    font-weight: bold;
    font-size: 1.5em;
}

#chat-widget .chat-widget-assistant-state {
    color: #FFFFFF;
    font-size: 1.1em;
}

#chat-widget .chat-widget-header-buttons {
    width: 30%;
    text-align: right;
}

#chat-widget .chat-widget-header-buttons.discovery-buttons {
    left: 0px !important;
    width: 30%;
    text-align: right;
}

#chat-widget .chat-widget-header-buttons .hiden-button {
    border-radius: 5px;
    padding: 10px 20px;
    color: #FFFFFF;
    font-size: 30px;
    cursor: pointer;
}

#chat-widget .chat-widget-header-buttons .hiden-button:hover {
    color: #eba021;
}

#chat-widget .chat-widget-header-buttons .close-button {
    border-radius: 5px;
    padding: 10px 20px;
    color: #FFFFFF;
    ;
    font-size: 30px;
    cursor: pointer;
}

#chat-widget .chat-widget-header-buttons .close-button:hover {
    color: #eba021;
}

#chat-widget .chat-widget-message-log {
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: #EFEFEF;
}

#chat-widget .chat-widget-message-log-d {
    height: 84%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: #EFEFEF;
    border-bottom: 3px solid #EFEFEF;
}

#chat-widget .chat-widget-message-log-d.chrome {
    height: 87%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: #EFEFEF;
    border-bottom: 3px solid #EFEFEF;
}

#chat-widget .chat-widget-message-dock {
    font-family: BlissPro;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    height: 4em;
    border-top: 3px solid #EFEFEF;
}

@keyframes pulse {
    from {
        box-shadow: 0 0 10px #000
    }
    50% {
        box-shadow: 0 0 40px #000
    }
    to {
        box-shadow: 0 0 10px #000
    }
}

#chat-widget .chat-widget-avatar {
    /*background-color: #FFFFFF;
    border-radius: 100%;
    animation-name: pulse;
    animation-duration: 2s;
    animation-iteration-count: infinite;*/
    width: 90px;
    height: 90px;
}

#chat-widget .chat-widget-avatar.pulse {
    background-color: #FFFFFF;
    border-radius: 100%;
    animation-name: pulse;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    width: 90px;
    height: 90px;
    cursor: pointer;
}

#chat-widget .chat-widget-message-input {
    font-family: BlissPro;
    display: block;
    overflow: hidden;
    box-sizing: padding-box;
    flex-grow: 2;
    outline: none;
    resize: none;
    border: none;
    padding-left: 20px;
    padding-top: 15px;
    background-color: white;
}

#chat-widget .chat-widget-message-input::-moz-placeholder {
    /* Firefox 19+ */
    font-family: BlissPro-LightItalic;
}

#chat-widget .chat-widget-message-input::-webkit-input-placeholder {
    /* Chrome y safari */
    font-family: BlissPro-LightItalic;
}

#chat-widget .chat-widget-message-input:-ms-input-placeholder {
    /*IE 10*/
    font-family: BlissPro-LightItalic;
}

#chat-widget .chat-widget-message-input:disabled {
    background-color: white;
}

#chat-widget .chat-widget-message-dock button[type="submit"] {
    background-color: #fe5000 ;
    font-family: BlissPro;
    border: none;
    color: white;
    padding: 10px 30px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

#chat-widget .chat-widget-message-dock button[type="submit"]:hover {
    background-color: #eba021;
}

#chat-widget .chat-widget-message {
    padding: 10px 20px;
    max-width: 70%;
    /*border-top-left-radius: 10px;
    border-top-right-radius: 10px;*/
    border-radius: 6px;
}

#chat-widget .chat-widget-message-btn {
    padding: 0px 0px 0px 20px;
    max-width: 70%;
    /*border-top-left-radius: 10px;
    border-top-right-radius: 10px;*/
    border-radius: 6px;
}

#chat-widget .chat-widget-message-btn.received {
    align-self: flex-start;
    text-align: left;
    font-size: 15px;
    background-color: #FFFFFF;
    /*border-radius: 200px 200px 200px 200px;*/
    padding: 10px 20px 10px 20px;
    margin-left: 20px;
}

#chat-widget .chat-widget-message-btn.received .btn-custom {
    margin-top: 5px;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    font-family: inherit;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

#chat-widget .chat-widget-message-btn.received .btn-custom:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}



#chat-widget .chat-widget-message-d {
    padding: 10px 20px;
    max-width: 85%;
    /*border-top-left-radius: 10px;
    border-top-right-radius: 10px;*/
    
    border-radius: 6px;
}
#chat-widget .chat-widget-message-d.received {
    align-self: flex-start;
    text-align: left;
    background-color: #FFFFFF;
    color: #111111;
    margin-left: 20px;
    font-size: 14px;
    /*border-radius: 200px 200px 200px 200px;*/
}
#chat-widget .chat-widget-message.received {
    align-self: flex-start;
    text-align: left;
    background-color: #FFFFFF;
    color: #111111;
    margin-left: 20px;
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 15px;
    /*border-radius: 200px 200px 200px 200px;*/
  white-space: pre-wrap;       /* Since CSS 2.1 */
  white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
  white-space: -pre-wrap;      /* Opera 4-6 */
  white-space: -o-pre-wrap;    /* Opera 7 */
  word-wrap: break-word; 
}
#chat-widget .chat-widget-message.sent {
    align-self: flex-end;
    text-align: right;
    background-color: #fe500069;
    color: #000;
    /* border-radius: 200px 200px 200px 200px; */
    margin-right: 20px;
}
#chat-widget .chat-widget-avatar.hiden {
    display: none;
}

/*#chat-widget .chat-widget-header-buttons .close-button {
    display: none;
}
*/
#chat-widget ._button {
    background-color: #791496;
    -moz-border-radius: 18px;
    -webkit-border-radius: 18px;
    border-radius: 18px;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-weight: bold;
    margin-left: 20px;
    max-width: 40%;
    text-align: center;
    padding-top: 9px;
    padding-bottom: 9px;
    text-decoration: none;
}
#chat-widget ._button_dicovery-button-ficha {
    max-width: 30%;
    /*text-align: center;*/
    
    padding-top: 4px;
    padding-bottom: 4px;
}
#chat-widget ._button_dicovery-button-ficha a {
    color: white;
}
#chat-widget ._button:hover {
    background-color: #7914B1;
}
#chat-widget ._button:active {
    position: relative;
}
#chat-widget ._cupo {
    width: 200px;
    height: 150px;
}
#chat-widget .chat-widget-bubble {
    position: absolute;
    left: 74%;
    bottom: 70%;
    width: 40%;
}
#chat-widget .chat-widget-bubble.hiden {
    display: none
}
@media only screen and (max-width: 1366px) {
    #chat-widget .chat-widget-header-buttons {
        position: relative;
        left: -15px
    }
    
    #chat-widget .chat-widget-message-log-d {
        height: 81%;
    }
    
    #chat-widget .chat-widget-header-d.chrome {
        height: 51px;
    }
}
@media only screen and (min-width: 768px) {}
@media only screen and (max-width: 767px) {
    /* phones */
    
    #chat-widget {
        bottom: 0;
        right: 0;
    }
    
    #chat-widget .chat-widget-avatar {
        margin-bottom: 10px;
        margin-right: 10px;
    }
    
    #chat-widget .chat-widget-avatar.close-button {
        display: none;
    }
    
    #chat-widget .chat-widget-panel {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100vh;
        width: 100vw;
        margin-bottom: 0;
        box-shadow: none;
        border-radius: initial;
        overflow: hidden;
    }
    
    #chat-widget .chat-widget-header-buttons .close-button {
        display: initial;
    }
}