/* Works on Firefox */

#bot__wrapper__div * {
    --color-principal: #3366CC;
    scrollbar-width: thin;
    scrollbar-color: #b1b1b1 white;
}

/* Works on Chrome, Edge, and Safari */
#bot__wrapper__div *::-webkit-scrollbar {
    width: 9px;
}

#bot__wrapper__div *::-webkit-scrollbar-track {

    background: white;
}

#bot__wrapper__div *::-webkit-scrollbar-thumb {
    background-color: #b1b1b1;
    border-radius: 5px;
}

.webchat__initialsAvatar--fromUser,
.webchat__initialsAvatar {
    background-color: white !important;
}

.ac-pushButton.style-default.ac-selectable div {
    white-space: normal !important;
}

#bot__wrapper__div element.style>p {
    font-size: 14px;
    font-weight: 400;
    box-sizing: border-box;
    flex: 0 0 auto;
    margin: 0px;
}

#bot__wrapper__div input {
    border-radius: 5px;
    border-color: inherit;
    border: 0px;
    border-style: groove;
    padding: 5px;
    outline: none;
    font-family: 'Work Sans' !important;
}

#bot__wrapper__div input:focus {
    border-color: var(--color-principal);
    border-style: solid;
}

#bot__wrapper__div select {
    border-radius: 5px;
    border-color: inherit;
    border: 2px;
    border-style: groove;
    padding: 5px;
    outline: none;

}

#bot__wrapper__div select:focus {
    border-color: var(--color-principal);
    border-style: solid;
}

/* #bot__wrapper__div img {
    border-color: aliceblue;
}

#bot__wrapper__div button {
    border-radius: 20px;
    background-color: var(--color-principal) !important;
    border-color: white;
    color: white !important;
    font-family: 'Montserrat', sans-serif !important;
} */

#webchat {
    height: 100%;
    width: 100%;
}

#webchat>* {
    font-size: 14px !important;
}

#webchat .webchat__send-box__main button {
    background-color: white !important;
}

#bot__wrapper__div .webchat__send-box-text-box {
    margin: 0;
}

#bot__wrapper__div .webchat__activity-status {
    font-size: 10px;
}

.ac-textBlock p {
    margin: 0px !important;
    font-family: 'Work Sans', sans-serif !important;
}

#bot__wrapper__div [role=heading] p {
    margin: 0px !important;
    font-family: 'Montserrat', sans-serif !important;
    color: #004884;
    font-size: 24px;
}

.chat-bot__wrapper {
    width: 400px;
    position: fixed;
    bottom: 0;
    right: 50px;
    z-index: 9999;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    background-color: white;
}

.chat-bot__wrapper2 {
    position: fixed;
    bottom: 25px;
    right: 100px;
    z-index: 9999;
}

.closelogo {
    margin: 0px;
    padding: 0px;
    margin: 10px;
    height: 100px;
    width: 100px;
    margin-bottom: 35px;
}

.closelogo-close {
    margin: 0px;
    padding: 0px;
    margin: 0px;
    height: 85px;
    width: 85px;
}

.chat-bot__title {
    margin: 0px;
    padding: 0px;
}

.chat-bot__noselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                              supported by Chrome, Edge, Opera and Firefox */
    padding: 0px;
    margin: 0px;
}

.chat-bot__icon {
    padding: 0px;
    margin: 0px;
}

.chat-bot__chat {
    height: 20;
    overflow: hidden;
    border-radius: 16px;
}

.chat-bot__iframe {
    height: 70vh;
    display: initial;
    width: 100%;
    border: none;
}

.chat-bot__close {
    border: none;
    display: none;
}

.chat-bot__open {
    height: 510px;
    display: initial;
    width: 100%;
}

.chat-bot__header2 {
    /* height: 100%; */
    height: 95px;
    width: 95px;
    background-color: var(--color-principal) !important;
    display: flex;
    border-radius: 50%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    z-index: 10;
    position: relative;
    padding: 0px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.chat-bot__header2:hover {
    filter: brightness(85%);
    cursor: pointer;
}

.chat-bot__header {
    width: 100%;
    /* height: 100%; */
    height: 68px;
    background-color: var(--color-principal) !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    /* cursor: pointer; */
    z-index: 10;
    position: relative;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding-bottom: 10px;
    padding-top: 10px
}

.chat-bot__header h1,
.chat-bot__header h2 {
    margin: 0;
    color: white;
    font-size: 16px;
    line-height: 18px !important;
}

.chat-bot__title_header {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600;
    padding: "0px";
    margin: "0px";
    font-size: 23px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: center;
}

.chat-bot__noselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                              supported by Chrome, Edge, Opera and Firefox */
    padding: 0px;
    margin: 0px;
}

.gg-chevron-down {
    box-sizing: border-box;
    position: relative;
    display: block;
    transform: scale(var(--ggs, 1.3));
    width: 22px;
    height: 22px;
    border: 2px solid transparent;
    border-radius: 100px
}

.gg-chevron-down::after {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(45deg);
    left: 4px;
    top: 2px
}

.gg-chevron-up {
    box-sizing: border-box;
    position: relative;
    display: block;
    transform: scale(var(--ggs, 1.3));
    width: 22px;
    height: 22px;
    border: 2px solid transparent;
    border-radius: 100px
}

.gg-chevron-up::after {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    width: 10px;
    height: 10px;
    border-top: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(-45deg);
    left: 4px;
    bottom: 2px
}

.chat-bot__arrows_container {
    padding: 0px;
    margin: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chat-bot__arrows {
    border-radius: 100% !important;
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-color: var(--color-principal);
    transition: filter 0.3s;
}


.chat-bot__arrows:hover {
    filter: brightness(85%)
}

@media (max-width: 768px) {
    .chat-bot__wrapper {
        width: 85%;
        right: 30px;
    }

    #chat-bot__iframe {
        width: 95%;
        /* Adjust the height as needed for smaller screens */
    }
}

@media only screen and (max-width: 468px) and (min-width: 400px) {
    .chat-bot__header {
        height: 90px;
    }
}

@media only screen and (max-width: 399px) {
    .chat-bot__header {
        height: 120px;
    }
}


#master_chat body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    /* Para evitar la barra de desplazamiento horizontal */
}