* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

*, html {
    --primaryGradient: linear-gradient(93.12deg, #1b7398 0.52%, #1dc9e7 100%);
    --secondaryGradient: linear-gradient(268.91deg, #1b7398 -2.14%, #1dc9e7 99.69%);
    --primaryBoxShadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
    --secondaryBoxShadow: 0px -10px 15px rgba(0, 0, 0, 0.1);
    --light: 300;
    --regular: 400;
    --semiBold: 600;
    --extraLight: 300;
    --italic: 300;
    --primary: #1dc9e7;
}

/* 300;0,400;0,600;1,300 */

body {
    font-family: 'Open Sans', sans-serif;
    /* font-weight: 400; */
    /* font-size: 100%; */
    font-size: 14px;
    background: #F1F1F1;
}

.chatbox__support {
    position: fixed;
    right: 25px;
    top: 15px;
}

@media only screen and (min-width:50px) and (max-width:420px)  { 
    /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */
    .chatbox__support {
        background: #f9f9f9;
        height: 450px;
        width: 350px;
        box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }
    

}

@media only screen and (min-width:421px)  { 
    /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */
    .chatbox__support {
        background: #f9f9f9;
        height: 575px;
        width: 450px;
        box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }
    

}

/* HEADER */
.chatbox__header {
    background: var(--primaryGradient);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: var(--primaryBoxShadow);
    z-index: 1;
}

.chatbox__image--header {
    margin-right: 10px;
}

.chatbox__heading--header {
    font-size: 1.2rem;
    color: white;
}

.chatbox__description--header {
    font-size: .9rem;
    color: white;
}

/* Messages */

#contenedor_chat{
    padding-top: 100px;
}

.chatbox__messages {
    padding: 0 20px;
}
.chatbox__messages::-webkit-scrollbar{
    border-radius:15px;
}

.messages__item {
    margin-top: 10px;
    background: #E0E0E0; 
    padding: 8px 12px;
    max-width: 100%;
}

.messages__item--operator,
.messages__item--typing {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.messages__item--visitor {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    background: var(--primary);
    color: white;
}

/* FOOTER */
.chatbox__footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px;
    background: var(--secondaryGradient);
    box-shadow: var(--secondaryBoxShadow);
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    margin-top: 5px;
}

.chatbox__footer input {
    border: none;
    padding: 10px 10px;
    border-radius: 30px;
    text-align: center;
}

.chatbox__send--footer {
    color: white;
}

.chatbox__button button,
.chatbox__button button:focus,
.chatbox__button button:visited {
    position: fixed;
    bottom: 10px;
    right: 25px;
    padding: 10px;
    background: white;
    border: none;
    outline: none;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index:99999;
}

.msg_query{
    padding: 0;
    opacity: .5;
    margin: 0;
    margin-top: 3px;
    font-size: 10px;
}