* {
    font-family: 'Roboto', sans-serif;
}

html,
body {
    font-size: 16px;
}

#post-10682 span.edit-link {
    display: none;
}

section#demo {
    position: relative;
    padding: 0;
    min-height: 200px;
    height: calc(100vh - 250px);
    max-width: none;
    margin: 20px auto;
}

#chat {
    height: 100% !important;
}

#demo #chat .wrapper-messages {
    height: auto !important;
    max-height: calc(100% - 85px) !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 0 !important;
}

#demo #chat #messages {
    position: relative;
    padding-top: 20px;
    background-image: url(images/fondo-simulador.jpg);
    background-attachment: local;
    background-size: 100% auto;
}

.w-md-100 {
    width: 100%;
    max-width: 992px;
    margin: 0 auto;
}

.mt-10 {
    margin-top: 10px;
}

.spinLoader {
    margin: 50px auto;
}

div.conv-form-wrapper#chat div#messages div.message {
    font-size: 16px;
}

.message ul,
.message ol {
    margin-left: 20px;
    color: inherit !important;
}

.entry-content #chat ol li {
    color: #1c374c;
}

.message a,
.elementor .message a {
    text-decoration: underline;
}

.message.to {
    margin-left: 50px;
    position: relative;
    border-radius: 0 !important;
}

.message.to::before {
    content: '';
    width: 40px;
    height: 40px;
    background-image: url(images/peritaciones-bot.jpg);
    background-size: contain;
    position: absolute;
    top: 0px;
    left: -50px;
}

.message.to::after {
    content: '';
    position: absolute;
    /*width: 0;
    height: 0;
    border-right: 10px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    top: 10px;
    left: -8px;*/
    width: 10px;
    height: 10px;
    background-color: white;
    transform: rotate( 45deg);
    top: 14px;
    left: -5px;
    box-shadow: -3px 3px 5px #d4d4d4;
}

.message.from {
    border-radius: 0 !important;
    position: relative;
    margin-right: 10px;
}

.message.from::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 10px solid #1c374c;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    top: 10px;
    right: -8px;
}

.message.to+.message.to.ready::before,
.message.to+.message.to.ready::after,
.message.from+.message.from::after {
    display: none;
}

.options .option:first-of-type {
    /*margin-left: 25px !important;*/
}

form.convFormDynamic {
    max-width: 900px;
}


/*Scroll bar nav*/

div.conv-form-wrapper div.options {
    position: relative;
    bottom: 0;
    transform: none;
    overflow: hidden !important;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    padding: 0 5px;
}

.options.dragscroll::-webkit-scrollbar {
    width: auto!important;
    height: 10px!important;
}


/* Track */

.options.dragscroll::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #FFF;
}


/* Handle */

.options.dragscroll::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: rgba(204, 204, 204, 0.8);
}

.options.dragscroll::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(204, 204, 204, 0.4);
}

.entry-content #demo ol {
    list-style: decimal !important;
    counter-reset: none;
}

.entry-content #demo ol li::before {
    display: none;
}

@media(max-width: 992px) {
    section#demo {
        height: calc(100vh - 390px);
    }
    .elementor-element-populated,
    #content.container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .top-panel {
        display: none;
    }
    form.convFormDynamic {
        background-color: #fff;
        position: fixed;
        width: 100%;
        left: 0;
        bottom: 0;
        right: 0;
        margin-bottom: 0;
    }
    section#demo {
        height: calc(100vh - 220px);
    }
    #demo #chat .wrapper-messages,
    div.conv-form-wrapper div#messages {
        height: 100% !important;
        max-height: none !important;
    }
    div.conv-form-wrapper#chat div#messages div.message {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    section#demo {
        height: calc(100vh - 180px);
    }
}