/* chat button */
.cx-widget.cx-window-manager .cx-widget-status {
    display: none;
}

.cx-widget .cx-side-button-group {
    right: 1.6% !important;
    bottom: 2.5% !important;
    top: auto;
    transform: rotate(0deg);
    z-index: 99 !important;
}

@media all and (max-width: 960px) {
    .cx-widget .cx-side-button-group.move-up {
        z-index: 299 !important;
        bottom: 9rem !important;
    }
}

.cx-widget.cx-webchat-chat-button {
    color: #fff;
    font-size: 17px !important;
    background: #1c5cad;
    padding: 18px 22px 12px 20px !important;
    box-shadow: 0 0 2rem 0 rgba(0, 0, 0, 0.26);
    transform: rotate(0deg);
    font-family: Roboto, sans-serif !important;
    font-weight: 600 !important;
    margin: 0;
    border-radius: 40px !important;
}

.cx-widget.cx-webchat-chat-button:focus .cx-chat-button-label {
    text-decoration: underline;
}

.cx-widget.cx-webchat-chat-button .cx-chat-button-label {
    vertical-align: super;
}

.cx-widget.cx-webchat-chat-button > span {
    white-space: nowrap;
    margin-bottom: 0;
}

.cx-widget.cx-webchat-chat-button .cx-icon svg {
    display: none;
}

.cx-widget.cx-webchat-chat-button .cx-icon {
    background-image: url('/dist/img/chat-genesys/ico_chatbouble.svg');
    background-repeat: no-repeat;
    width: 26px !important;
    height: 26px !important;
}
.cx-widget.cx-webchat-chat-button .cx-icon:after,
.cx-widget.cx-webchat-chat-button .cx-icon:before {
    content: none !important;
}

.cx-widget.cx-webchat-chat-button .cx-icon:before {
    content: none;
}

.cx-widget.cx-webchat-chat-button:focus {
    outline: none;
}
/* shared messages styles */

.cx-webchat .cx-transcript .cx-message-group > .cx-message .cx-bubble {
    word-wrap: break-word;
    word-break: break-word;
}

.cx-webchat .cx-transcript:focus {
    outline: none;
}

.cx-webchat.cx-theme-millennium .cx-time {
    font-weight: 600;
    margin-top: 6px;
    margin-bottom: 0;
    font-size: 12px;
}

.cx-transcript .cx-message-group > .cx-message.cx-participant .cx-bubble > .cx-name {
    margin-bottom: 6px;
}

.cx-webchat .cx-transcript .cx-message-group > .cx-message.cx-participant .cx-bubble > .cx-time,
.cx-webchat .cx-transcript .cx-message-group > .cx-message.cx-participant .cx-bubble > .cx-name {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
}
/* ending message */

.cx-webchat .cx-transcript .cx-message-group > .cx-message[data-message='Chat Ended'],
.cx-webchat .cx-transcript .cx-message-group > .cx-message[data-message='Zakończono czat'] {
    display: none !important;
}

.endingMessageContainer {
    text-align: center;
    color: #2e2e2e;
}

.endingMessageContainer > img {
    width: 45px;
    height: auto;
    margin: 15px;
}

.endingMessageContainer > .endingMessageText {
    font-family: Roboto, sans-serif;
    line-height: 17px;
    font-weight: 600;
    font-size: 14px;
}

.endingMessageContainer > .endingMessageTextSmall {
    font-family: Roboto, sans-serif;
    line-height: 17px;
    font-size: 14px;
}

.endingMessageContainer > .endingMessageTextSmall::before {
    content: '\2022';
    color: #bd004f;
    display: block;
    margin: 0 0 5px 0;
    font-size: 18px;
}

.endingMessageContainer > .endingMessageTextSmall a {
    font-family: Roboto, sans-serif;
    line-height: 17px;
    color: #bd004f;
    font-size: 14px;
    cursor: pointer;
}

.endingMessageContainer > button {
    margin: 50px 0 30px !important;
    text-transform: uppercase;
    padding: 8px 11px;
    font-size: 14px;
}
/*user messages*/

.cx-webchat .cx-transcript .cx-message-group > .cx-message.cx-participant .cx-bubble {
    color: #fff;
    background-color: #bd004f;
    border-radius: 14px 0 0 14px;
    font-family: Roboto, sans-serif;
    line-height: 17px;
    font-size: 14px;
    min-height: 42px;
}

.cx-webchat .cx-transcript .cx-message {
    min-height: 42px;
}

.cx-webchat .cx-transcript .cx-message-group > .cx-message.cx-participant:first-child .cx-bubble {
    border-radius: 14px 14px 0 14px;
}

.cx-webchat .cx-transcript .cx-message-group > .cx-message.cx-participant:last-child .cx-bubble {
    border-radius: 14px 0 14px 14px;
}

/* .cx-webchat .cx-transcript .cx-message-group>.cx-message.cx-participant:last-child .cx-bubble span.cx-time {
    display: none!important;
} */

.cx-webchat .cx-transcript .cx-message-group > .cx-message.cx-participant .cx-bubble > .cx-time,
.cx-webchat .cx-transcript .cx-message-group > .cx-message.cx-participant .cx-bubble > .cx-name {
    color: #fff;
}

.cx-webchat
    .cx-transcript
    .cx-message-group
    > .cx-message.cx-participant
    .cx-bubble
    > .cx-message-text
    > a {
    color: #fff;
}

.cx-webchat .cx-transcript .cx-message-group > .cx-message.cx-participant.cx-you .cx-bubble {
    margin: 0 0px 0 33px !important;
}

/*system messages*/

.cx-webchat .cx-transcript .cx-message-group > .cx-message.cx-system .cx-bubble {
    background-color: #fff;
    text-align: center;
    color: #2e2e2e;
    font-family: Roboto, sans-serif;
    line-height: 17px;
    font-weight: 600;
    font-size: 14px;
}
.cx-message.cx-system {
    width: 100%;
    font-family: Roboto, sans-serif;
    line-height: 17px;
    font-weight: 600;
    font-size: 14px;
}

.cx-webchat .cx-transcript .cx-message-group > .cx-message.cx-system .cx-bubble > .cx-time {
    color: #2e2e2e;
    font-family: Roboto, sans-serif;
    line-height: 17px;
    font-weight: 600;
    font-size: 14px;
    margin-top: 0;
}

/* agent messages */

.cx-webchat .cx-transcript .cx-message-group > .cx-message.cx-agent .cx-bubble {
    background-color: #f9f9f9;
    border-radius: 0 14px 14px 0;
    color: #2e2e2e;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    line-height: 17px;
    margin-left: 33px;
}

.cx-webchat .cx-transcript .cx-message-group > .cx-message.cx-agent:first-child .cx-bubble {
    border-radius: 14px 14px 14px 0;
}
.cx-webchat .cx-transcript .cx-message-group > .cx-message.cx-agent:last-child .cx-bubble {
    border-radius: 0 14px 14px 14px;
}
.cx-webchat .cx-transcript .cx-message-group > .cx-message.cx-agent:only-child .cx-bubble {
    border-radius: 14px 14px 14px 14px;
}

.cx-webchat .cx-transcript .cx-message-group > .cx-message.cx-agent .cx-bubble > .cx-time,
.cx-webchat .cx-transcript .cx-message-group > .cx-message.cx-agent .cx-bubble > .cx-name,
.cx-message.cx-agent-typing.cx-them > .cx-bubble > .cx-name {
    color: #2e2e2e;
}

.cx-webchat
    .cx-transcript
    .cx-message-group
    > .cx-message.cx-participant.cx-them:first-child
    .cx-avatar-wrapper,
.cx-webchat .cx-transcript .cx-message.cx-them .cx-avatar-wrapper {
    display: none !important;
}
.cx-message.cx-participant.cx-them.cx-Agent.cx-agent {
    margin: 13px 0;
}

.cx-message.cx-agent-typing.cx-them {
    background-color: #f3f3f3;
    border-radius: 14px;
    color: #2e2e2e;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    line-height: 17px;
    margin-left: 33px !important;
}
.cx-message.cx-agent-typing.cx-them > .cx-bubble {
    margin-left: 0 !important;
}
.cx-message.cx-agent-typing.cx-them > .cx-bubble > .cx-time {
    display: none !important;
}

.cx-message.cx-participant.cx-them.cx-Agent.cx-agent .cx-bubble > .cx-message-text > a {
    color: #bd004f;
}

/* message - take minimum necessary space */

.cx-webchat .cx-transcript .cx-message {
    display: table;
    min-width: 40%;
    margin-left: auto;
}
/* message padding */

.cx-webchat .cx-transcript .cx-message .cx-bubble,
.cx-webchat .cx-transcript .cx-message.cx-system .cx-bubble {
    padding: 12px 16px 12px 16px;
}
/* help agent icon */
.cx-message-group > .cx-message.cx-agent:last-child::before {
    content: '';
    background: url('/dist/img/chat-genesys/ico_consultant.svg');
    background-size: 35px;
    position: absolute;
    left: -15px;
    width: 35px;
    bottom: 0px;
    height: 35px;
}
.cx-transcript > .cx-message.cx-agent-typing.cx-them::before {
    content: '';
    background: url('/dist/img/chat-genesys/ico_consultant.svg');
    background-size: 35px;
    position: absolute;
    left: -48px;
    width: 35px;
    bottom: 0px;
    height: 35px;
}
/* agent typing */
.cx-transcript > .cx-message.cx-agent-typing.cx-them {
    display: none;
}
.cx-transcript > .cx-message.cx-agent-typing.cx-them:last-child {
    display: table;
}

/* window styles */
/* fox for old theme on portal */
.cx-widget li:before,
.cx-widget button:before {
    content: '' !important;
}
.cx-widget.cx-common-container.cx-webchat.cx-close.cx-minimize.cx-theme-millennium.cx-desktop {
    height: min-content;
    max-height: calc(100vh - 40px);
    width: 450px;
    margin-bottom: 30px;
    box-shadow: 0px 10px 46px 0px rgba(0, 0, 0, 0.35);
}

/* .cx-widget.cx-common-container.cx-webchat.cx-close.cx-minimize.cx-theme-millennium.cx-desktop.cx-minimized {
    height: 67px;
} */

.cx-widget.cx-common-container.cx-webchat.cx-close.cx-minimize.cx-theme-millennium {
    background-color: white;
}

.cx-widget.cx-theme-millennium,
.cx-common-container {
    border-radius: 10px;
}

.cx-footer {
    display: none !important;
}
.cx-emoji-menu .cx-theme {
    background-color: #fff !important;
}

.cx-webchat .cx-emoji-menu {
    background-color: #fff;
}

.cx-webchat .cx-body {
    padding: 0 14px 0 14px;
}

.cx-widget.cx-theme-millennium .cx-titlebar {
    border-radius: inherit;
    border: none !important;
    outline: none !important;
}

.cx-widget.cx-theme-millennium .cx-titlebar .cx-title {
    font-size: 17px;
    margin: 11px 0 5px 55px;
    font-family: Roboto, sans-serif;
    font-weight: 600;
    color: #2e2e2e;
}

.cx-theme-millennium > .cx-titlebar > #numberOfMessages {
    display: none;
}

.cx-theme-millennium.cx-minimized > .cx-titlebar > #numberOfMessages {
    font-size: 12px;
    display: inline-block;
    color: #bd004f;
    background-color: #fff;
    padding: 2px 6px 2px 5px;
    border-radius: 15px;
    font-family: Roboto, sans-serif;
    font-weight: 600;
    margin-left: 8px;
    transform: translateY(-2px);
}

.cx-widget.cx-theme-millennium .cx-titlebar .cx-title::before {
    content: '';
    background: url('/dist/img/chat-genesys/ico_millennium.svg');
    background-size: 40px;
    position: absolute;
    left: 0px;
    width: 40px;
    top: 0px;
    height: 40px;
    margin: 15px;
}

.cx-minimized.cx-theme-millennium .cx-titlebar > .cx-title::before {
    content: '';
    background: url('/dist/img/chat-genesys/ico_chatbouble.svg');
    background-size: 26px;
    position: absolute;
    background-repeat: no-repeat;
    left: 0px;
    width: 26px;
    top: 0px;
    height: 26px;
    margin: 18px 20px;
}

.cx-minimized.cx-theme-millennium .cx-titlebar > .cx-title {
    color: #fff;
    margin: 4px 0px 7px 33px;
}

.cx-minimized.cx-theme-millennium > .cx-titlebar {
    background-color: #1c5cad;
    color: #fff;
    font-size: 17px !important;
    background: #1c5cad;
    padding: 18px 22px 12px 20px !important;
    box-shadow: 0 0 2rem 0 rgba(0, 0, 0, 0.26);
    transform: rotate(0deg);
    font-family: Roboto, sans-serif !important;
    font-weight: 600 !important;
    margin: 0;
    border-radius: 40px !important;
}

.cx-widget.cx-common-container.cx-webchat.cx-close.cx-minimize.cx-theme-millennium.cx-desktop.cx-minimized {
    width: auto;
    height: auto;
    border-radius: 40px;
    right: 1.6% !important;
    bottom: 2.5% !important;
    top: auto;
    z-index: 99 !important;
    cursor: pointer;
    margin-bottom: 0;
}

.cx-message-input.cx-input.cx-form-control {
    scrollbar-width: none;
}

.cx-webchat div.cx-input-container {
    padding: 0;
    padding-bottom: 30px;
}

.cx-webchat div.cx-input-container.hidden {
    display: none !important;
}

.cx-webchat div.cx-input-container .cx-widget.cx-webchat-chat-button {
    outline: none !important;
}

.cx-webchat div.cx-input-container .cx-textarea-cell {
    margin: 0;
    padding: 10px;
    border: 1px solid #d3d3d3;
    border-radius: 5px;
    order: 2;
}

.cx-webchat div.cx-input-container {
    border: none;
}

.cx-webchat div.cx-input-container:focus {
    outline: none !important;
}

.cx-webchat div.cx-input-container .cx-textarea-cell:focus {
    outline: none !important;
}

.cx-webchat div.cx-input-container .cx-message-input {
    position: relative;
    margin: 0;
    padding: 0 40px 0 0;
    font-size: 15px;
    font-family: Roboto, sans-serif;
    max-height: 90px;
    overflow-y: auto;
    color: #2e2e2e;
    box-shadow: none !important;
}

.cx-widget .cx-form-control:focus {
    outline: none;
    box-shadow: none;
}

.cx-webchat .cx-menu li.cx-branding-icon {
    display: none;
}

.cx-webchat .cx-menu-cell {
    margin: 17px 0;
}

.cx-form-horizontal {
    margin: 0;
    max-height: min-content;
}

.cx-menu {
    order: 1;
}
.cx-menu img {
    max-width: none !important;
}

.cx-webchat .cx-form .cx-button-group {
    margin: 0 auto;
    width: 90%;
    display: flex;
    gap: 24px;
    padding: 4px;
}

.cx-widget.cx-desktop .cx-input-focus {
    box-shadow: none;
    border: none;
}

.cx-webchat .cx-transcript {
    margin-right: 10px;
}

.cx-webchat .cx-transcript.fullHeight {
    min-height: min(70vh, 545px);
}
/* buttons */

.cx-common-container .cx-button-container .cx-button-group .cx-btn {
    margin: 0;
}

.cx-btn.btnLink {
    color: #bd004f;
    background-color: white;

    border: 2px solid #fff;
    font-family: Roboto, sans-serif;
    margin: 0;
    text-transform: uppercase;
    font-size: 13px;
    border-radius: 3px;
    padding: 10px 15px 8px;
}
.cx-btn.btnLink:hover {
    text-decoration: underline;
}

.cx-widget .cx-btn,
.cx-widget .cx-btn:active,
.cx-widget .cx-btn:focus {
    padding: 10px 15px 8px;
    min-width: 115px;
}

.cx-widget.cx-theme-millennium .cx-btn-default {
    background-color: #f3f3f3 !important;
    color: #737373;
    font-family: Roboto, sans-serif;
    background: none;
    border: 2px solid #f3f3f3;
    margin: 0;
    text-transform: uppercase;
    font-size: 13px;
    border-radius: 3px;
    padding: 10px 15px 8px;
}

.cx-widget.cx-theme-millennium .cx-btn-default:hover {
    background-color: #d6d6d6 !important;
    color: #737373;
    font-family: Roboto, sans-serif;
    background: none;
    border: 2px solid #d6d6d6;
    margin: 0;
}

.cx-widget.cx-theme-millennium .cx-btn-primary {
    background-color: #bd004f !important;
    border: 2px solid #bd004f;
    color: white;
    font-family: Roboto, sans-serif;
    background: none;
    margin: 0;
    text-transform: uppercase;
    font-size: 13px;
    border-radius: 3px;
    padding: 10px 15px 8px;
}

.cx-widget.cx-theme-millennium .cx-btn-primary:hover {
    border: 2px solid #bd004f;
    background-color: white !important;
    font-family: Roboto, sans-serif;
    color: #bd004f;
    font-family: sans-serif;
    background: none;
    margin: 0;
}

.cx-body > div > .cx-alert > .cx-wrapper > .cx-button-group > .cx-btn:first-child {
    float: left;
}

.cx-body > div > .cx-alert > .cx-wrapper > .cx-button-group > .cx-btn:last-child {
    float: right;
}

.cx-body > div > .cx-alert > .cx-wrapper > .cx-button-group > .cx-btn:only-child {
    float: none;
}

.cx-webchat .cx-form {
    padding: 20px;
    border-width: 0;
}
/* welcome screen */

.cx-widget.cx-theme-millennium .welcomeScreenTitle {
    margin: 0 18%;
    font-size: 17px;
    text-align: center;
    font-family: Roboto, sans-serif;
    border-radius: 4px;
    font-weight: 600;
    color: #2e2e2e;
}

.cx-widget.cx-theme-millennium .welcomeScreenText {
    color: #737373;
    margin: 4.75% 5.67% 4.5% 5.67%;
    line-height: 17px;
    font-size: 13px;
    text-align: center;
    font-family: Roboto, sans-serif;
    border-radius: 4px;
}

.cx-widget.cx-theme-millennium .welcomeScreenText > strong {
    color: black;
}

.cx-widget.cx-theme-millennium #welcomeScreenIcon {
    transform: translateX(7.5%);
    width: auto;
    height: 150px;
    margin: 50px 0 40px 0;
}

.cx-form-inputs {
    /* default genesys form*/
    display: none;
}

.cx-powered-by {
    display: none;
}

.cx-form-wrapper {
    text-align: center;
}
/* loading animation */

.cx-loading-icon .cx-icon path {
    fill: #bd004f;
}

.cx-widget.cx-theme-millennium .cx-loading-screen .cx-loading-icon svg g:first-child g {
    stroke: #bd004f !important;
    display: none;
}

.cx-theme-millennium .cx-loading-screen .cx-loading-icon svg g g {
    stroke: #bd004f !important;
}

.cx-loading-screen .cx-loading-icon::before {
    content: '';
    background: url('/dist/img/chat-genesys/ico_millennium_loading.png');
    background-size: 45px;
    position: absolute;
    left: 0px;
    width: 43px;
    top: 0px;
    height: 40px;
    margin: 18px;
}

.cx-loading-screen .cx-loading-icon {
    height: 80px;
    width: 80px;
    left: -40px;
}
/* alerts */

.cx-webchat .cx-alert {
    top: -54px;
}

.cx-webchat .cx-alert > .cx-wrapper {
    border-radius: 10px;
    background-color: #fff;
    padding: 20px 30px 30px;
    border: none;
    margin: 10px 20px;
}

.cx-webchat .cx-alert.cx-chat-end > .cx-wrapper > #cx_chat_end_question::before {
    content: '';
    background: url('/dist/img/chat-genesys/ico_question.svg');
    background-size: 41px;
    position: absolute;
    left: 30px;
    width: 41px;
    top: 20px;
    height: 41px;
    margin: 20px 0 10px 20px;
}

.cx-webchat .cx-alert.cx-chat-end > .cx-wrapper > #chatQuestionSuccess::before {
    content: '';
    background: url('/dist/img/chat-genesys/ico_ss.svg');
    background-size: 41px;
    position: absolute;
    left: 30px;
    width: 41px;
    top: 20px;
    height: 41px;
    margin: 20px 0 10px 20px;
}

.cx-webchat .cx-alert.cx-chat-end > .cx-wrapper > #cx_chat_end_question,
.cx-webchat .cx-alert.cx-chat-end > .cx-wrapper > #chatQuestionSuccess {
    color: #2e2e2e;
    margin: 10px 70px 20px 60px;
    font-weight: 600;
    font-size: 17px;
    font-family: Roboto, sans-serif;
}
.cx-mobile
    > .cx-body
    > div
    > .cx-container
    > .cx-alert.cx-chat-end
    > .cx-wrapper
    > #cx_chat_end_question {
    margin-right: 0;
}
.cx-mobile
    > .cx-body
    > div
    > .cx-container
    > .cx-alert.cx-chat-end
    > .cx-wrapper
    > #chatQuestionSuccess {
    margin-right: 30px;
    min-height: 40px;
}

.closeChatText {
    color: #737373;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    line-height: 17px;
    margin: 0 7% 35px 0;
}
/* smoke screen - global*/

.cx-widget.cx-theme-millennium .cx-smokescreen {
    opacity: 0.8;
    background-color: black;
    border-radius: 10px;
}

.cx-loading.cx-theme-millennium > .cx-smokescreen {
    opacity: 0.8;
    background-color: white;
    border-radius: 10px;
}
/* bubble arrows */

.cx-agent-typing .cx-bubble-arrow,
.cx-webchat
    .cx-transcript
    .cx-message-group
    > .cx-message.cx-participant:first-child
    .cx-bubble-arrow {
    display: none !important;
}
/* icons */

.cx-icon {
    padding: 1px !important;
}

.cx-icon:focus {
    border: none !important;
}

.cx-webchat .cx-send {
    height: 35px;
    width: 35px;
    position: absolute;
    top: 50% !important;
    right: 0 !important;
    transform: translateY(-50%);
    padding: 0 !important;
    z-index: 0;
}
.cx-webchat .cx-send:before {
    content: '' !important;
}
.cx-webchat div.cx-input-container .cx-textarea-cell:after {
    height: 35px;
    width: 35px;
    content: '';
    background: url('/dist/img/chat-genesys/ico_type_disabled.svg');
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    position: absolute;
    display: block;
    padding: 0;
    z-index: -1;
}

.cx-common-container .cx-buttons-window-control button {
    padding: 0;
    border: 0;
    width: 30px;
    height: 30px;
}

.cx-theme-millennium.cx-minimized > .cx-button-group.cx-buttons-window-control > button.cx-icon {
    display: none;
}

/* close and minimize icons swap */

div > .cx-widget > .cx-button-group > .cx-icon.cx-button-minimize > svg,
div > .cx-widget > .cx-button-group > .cx-icon.cx-button-close > svg {
    display: none;
}
.cx-icon.cx-button-close::after {
    display: block;
    height: 28px;
    width: 28px;
    content: '';
    background: url('/dist/img/chat-genesys/ico_close.svg');
}

.cx-icon.cx-button-minimize::after {
    display: block;
    height: 28px;
    width: 28px;
    content: '';
    background: url('/dist/img/chat-genesys/ico_minimize.svg');
}

/* scrollbar */

.cx-common-container .cx-body .cx-transcript::-webkit-scrollbar {
    width: 5px;
    border-radius: 5px;
}

.cx-common-container .cx-body .cx-transcript::-webkit-scrollbar-track {
    background: #d6d6d6;
    border-radius: 5px;
}

.cx-common-container .cx-body .cx-transcript::-webkit-scrollbar-thumb {
    background: #2e2e2e;
    border-radius: 5px;
}

.cx-mobile > .cx-body > div > .cx-transcript::-webkit-scrollbar {
    display: none;
}
/* Errors */

.cx-theme-millennium.cx-desktop > .cx-body > div > .cx-alert.cx-general.cx-normal-alert {
    height: 620px;
    top: 0;
    top: -64px;
}

.cx-theme-millennium.cx-desktop
    > .cx-body
    > div
    > .cx-alert.cx-general.cx-normal-alert
    > .cx-wrapper {
    padding: 80px 0 0 0;
    margin: 0;
    height: 100%;
    width: 100%;
    text-align: center;
}

.cx-theme-millennium.cx-desktop
    > .cx-body
    > div
    > .cx-alert.cx-general.cx-normal-alert
    > .cx-wrapper
    > #cx_chat_error_desc
    > #bigErrorIcon {
    width: auto;
    height: 150px;
    margin: 50px 0 40px 0;
}

.cx-theme-millennium.cx-desktop
    > .cx-body
    > div
    > .cx-alert.cx-general.cx-normal-alert
    > .cx-wrapper
    > #cx_chat_error_desc
    > .errorTitle {
    margin: 0 18%;
    font-size: 17px;
    text-align: center;
    font-family: Roboto, sans-serif;
    border-radius: 4px;
    font-weight: 600;
    color: #2e2e2e;
}

.cx-theme-millennium.cx-desktop
    > .cx-body
    > div
    > .cx-alert.cx-general.cx-normal-alert
    > .cx-wrapper
    > #cx_chat_error_desc
    > .errorText {
    color: #737373;
    margin: 4.75% 10.67% 9.5% 10.67%;
    line-height: 17px;
    font-size: 14px;
    text-align: center;
    font-family: Roboto, sans-serif;
    border-radius: 4px;
}
/* mobile errors */

.cx-theme-millennium.cx-mobile
    > .cx-body
    > div
    > .cx-alert.cx-general.cx-normal-alert
    > .cx-wrapper
    > #cx_chat_error_desc
    > #bigErrorIcon {
    display: none;
}

.cx-theme-millennium.cx-mobile
    > .cx-body
    > div
    > .cx-alert.cx-general.cx-normal-alert
    > .cx-wrapper
    > #cx_chat_error_desc
    > .errorTitle {
    color: #2e2e2e;
    margin: 10px 0px 20px 65px;
    max-width: 240px;
    font-weight: 600;
    font-size: 17px;
    font-family: Roboto, sans-serif;
}

.cx-theme-millennium.cx-mobile
    > .cx-body
    > div
    > .cx-alert.cx-general.cx-normal-alert
    > .cx-wrapper
    > #cx_chat_error_desc
    > .errorText {
    color: #737373;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    line-height: 17px;
    margin: 0 7% 35px 0;
}

.cx-theme-millennium.cx-mobile
    > .cx-body
    > div
    > .cx-alert.cx-general.cx-normal-alert
    > .cx-wrapper
    > #cx_chat_error_desc {
    margin: 0;
}

.cx-theme-millennium.cx-mobile
    > .cx-body
    > div
    > .cx-alert.cx-general.cx-normal-alert
    > .cx-wrapper
    > #cx_chat_error_desc
    > .errorTitle::before {
    content: '';
    background: url('/dist/img/chat-genesys/ico_error.svg');
    background-size: 41px;
    position: absolute;
    left: 30px;
    width: 41px;
    top: 20px;
    height: 41px;
    margin: 10px 0;
}

.cx-theme-millennium.cx-mobile
    > .cx-body
    > div
    > .cx-alert.cx-general.cx-normal-alert
    > .cx-wrapper
    > .cx-button-group.cx-button-single
    > .cx-btn {
    float: right;
}
/* mobile styles */

.cx-webchat.cx-mobile .cx-transcript.fullHeight {
    /* height: calc(100% - 64px) !important; */
}

.cx-common-container.cx-mobile .cx-titlebar {
    padding: 15px 3.15%;
}

.cx-mobile > .cx-body > div > .cx-form-wrapper > div > .welcomeScreenTitle {
    margin: 0 8%;
}

.cx-mobile > .cx-body > div > .cx-form-wrapper > div > .welcomeScreenText {
    margin: 4.75% 1% 14% 1%;
}

.cx-mobile > .cx-body > div > .cx-form-wrapper > div > #welcomeScreenIcon {
    margin: 8.5% 0 11% 0;
    max-width: 45%;
    height: auto;
}

.cx-mobile > .cx-body > div > .cx-form-wrapper > div > .cx-button-group {
    margin: 0;
}

.cx-mobile > .cx-body > div > .cx-form-wrapper > div .cx-button-group {
    width: 100%;
}

.cx-mobile > .cx-body > div > .cx-form-wrapper > div .cx-button-group > .cx-btn {
    min-width: 120px;
    padding: 10px 15px 8px;
}

.cx-webchat.cx-mobile .cx-form {
    padding: 0 7.2% 10%;
}

.cx-webchat.cx-mobile > .cx-body {
    padding: 0 4.5%;
}

.cx-webchat.cx-mobile.cx-landscape .cx-input-container.hidden {
    display: none !important;
}

.cx-webchat.cx-mobile.cx-landscape .cx-input-container {
    display: block !important;
    padding: 0 !important;
}

.cx-webchat.cx-mobile.cx-landscape .cx-input-container[style*='display: none'] {
    display: none !important;
}

.cx-webchat.cx-mobile.cx-landscape .cx-message-input {
    margin-bottom: 10px !important;
    padding-right: 35px !important;
}

.cx-webchat.cx-mobile div.cx-input-container .cx-textarea-cell {
    margin: 35px 0 0;
    transform: translateY(-16px);
}

.cx-webchat.cx-mobile div.cx-input-container .cx-menu-cell {
    background-color: white;
    transform: translateY(8px);
    margin: 0;
}

.cx-webchat.cx-mobile .cx-input-container {
    padding: 0 !important;
}

.cx-webchat.cx-mobile .cx-message-input {
    margin-top: 10px !important;
    margin-bottom: 16px !important;
    padding-right: 51px !important;
    font-size: 15px !important;
    line-height: 17px !important;
    overflow: auto !important;
}

.cx-webchat.cx-mobile div.cx-input-container .cx-textarea-cell {
    padding: 4px 10px 2px;
}

.cx-webchat.cx-mobile .cx-menu > li {
    height: 24px;
    width: 24px;
    margin-right: 12px;
}
/* mobile messages */

.cx-mobile > .cx-body > div > .cx-transcript {
    padding: 0;
    margin: 0;
}

.cx-webchat.cx-mobile .cx-transcript .cx-message.cx-system:before {
    background-size: 25px;
    position: absolute;
    left: 0px;
    width: 25px;
    bottom: 0px;
    height: 25px;
}
/* mobile alert */

.cx-mobile > .cx-body > div > .cx-alert > .cx-wrapper {
    padding: 20px 6.25% 6.25% 20px;
    margin: 0 10px;
}

.cx-mobile > .cx-body > div > .cx-alert > .cx-wrapper > #cx_chat_end_question::before {
    content: '';
    background: url('/dist/img/chat-genesys/ico_question.svg');
    background-size: 41px;
    position: absolute;
    left: 30px;
    width: 41px;
    top: 20px;
    height: 41px;
    margin: 10px 0;
}

.cx-mobile > .cx-body > div > .cx-alert > .cx-wrapper #cx_chat_end_question,
.cx-mobile > .cx-body > div > .cx-alert > .cx-wrapper #chatQuestionSuccess {
    margin: 10px 0px 20px 65px;
    max-width: 240px;
}

.cx-mobile > .cx-body > div > .cx-alert > .cx-wrapper > .cx-button-group > .cx-btn {
    padding: 10px 15px 8px;
    min-width: 120px;
}

.cx-button-group.cx-buttons-binary > .cx-btn {
    width: calc(50% - 10px);
}
/* mobile minimized button */

.cx-widget.cx-mobile .cx-side-button-group {
    right: 1.6% !important;
    bottom: 2.5% !important;
}

.cx-widget.cx-common-container.cx-webchat.cx-theme-millennium.cx-mobile.cx-minimized {
    width: auto !important;
    height: auto;
    border-radius: 40px;
    right: 10px !important;
    bottom: 10px !important;
    left: auto !important;
    top: auto;
    z-index: 99 !important;
}

.cx-widget.cx-common-container.cx-webchat.cx-theme-millennium.cx-mobile.cx-minimized
    > .cx-titlebar {
    display: inline-block;
}

.cx-toaster {
    width: 410px !important;
    background-color: #fff !important;
}

.cx-widget.cx-toaster.cx-theme-millennium.cx-mobile {
    max-width: 100vw;
}

.cx-toaster .cx-button-container {
    padding-bottom: 10px !important;
}

.cx-docked-Toaster > .cx-theme-millennium > .cx-toast > .cx-body {
    padding-top: 0;
    font-family: Roboto, sans-serif;
}

.cx-docked-Toaster > .cx-theme-millennium > .cx-toast > .cx-titlebar > .cx-title {
    margin-left: 20px;
}

/* cobrowse */

.cx-cobrowse.hidden {
    display: none !important;
}

.cx-cobrowse-old {
    display: none !important;
}

.gcb-appStatus {
    display: none !important;
}

.gcb-toolbar {
    background: black !important;
    border-bottom-left-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
    top: 0 !important;
    width: 300px;
    max-width: 50vw;
    margin: auto;
}

.gcb-toolbar-content {
    /* overwrite original rule */
    display: block !important;
    color: white;
    /* overwrite original rule */
    padding: 20px !important;
    position: relative;
}

.gcb-toolbar-cell {
    display: block !important;
}

.gcb-toolbar-cell-content {
    font-weight: bold;
}

.gcb-toolbar-cell-exit {
    text-decoration: underline;
}

div[class^='genesys-yellow-border'] {
    background-color: #ffc20a;
    position: fixed;
    /* _ZIndex.scss */
    z-index: 1;
}

.genesys-yellow-border--top {
    height: 4px;
    width: 100%;
    top: 0;
    left: 0;
}

.genesys-yellow-border--right {
    height: 100%;
    width: 4px;
    bottom: 0;
    right: 0;
}

.genesys-yellow-border--bottom {
    height: 4px;
    width: 100%;
    bottom: 0;
    left: 0;
}

.genesys-yellow-border--left {
    height: 100%;
    width: 4px;
    bottom: 0;
    left: 0;
}

#_gcb_toast-container {
    display: none;
}

/* chat survey */

#chatsurvey-container {
    background-color: white;
    text-align: center;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 15px;
    margin: auto;
}

.chatsurvey-image {
    width: 72px;
    height: 72px;
}

.chatsurvey-title {
    font-family: Roboto, sans-serif;
    font-size: 1.3rem;
    font-weight: 200;
    color: #2e2e2e;
}

#chatsurvey-container > .chatsurvey-description {
    font-family: Roboto, sans-serif;
    font-size: 17px;
    line-height: 21px;
    font-weight: 600;
    color: #2e2e2e;
    margin: 30px auto 20px;
    max-width: 230px;
}

#chatsurvey-textarea {
    background-color: #fff;
    resize: none;

    margin: 0;
    font-size: 15px;
    font-family: Roboto, sans-serif;
    overflow-y: auto;
    color: #2e2e2e;
    box-shadow: none !important;
    padding: 0;
    border: none;
    width: 100%;
    height: 20px;
}
#chatsurvey-textarea:focus {
    outline: none;
}
.chatsurveyTextareaContainer {
    border-radius: 10px;
    background-color: #fff;
    resize: none;

    margin-bottom: 10px;
    margin: 0 0 40px 0;
    font-size: 15px;
    font-family: Roboto, sans-serif;
    overflow-y: auto;
    box-shadow: none !important;
    padding: 10px;
    border: 1px solid #d3d3d3;
    border-radius: 5px;
}

#chatsurvey-textarea:disabled {
    opacity: 0.8;
    transition-duration: 500ms;
}

#chatsurvey-submit:disabled {
    opacity: 0.3;
    transition-duration: 500ms;
}

#chatsurvey-submit:active {
    opacity: 0.8;
    transition-duration: 500ms;
}

.chatsurvey-grade-container {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    list-style: none;
    padding: 0;
}

.chatsurvey-grade-element {
    text-align: center;
    font-size: 1rem;
    font-weight: 200;
    margin: 0 5px;
    color: rgb(129, 129, 129);
    margin: 0;
    padding: 0 5px;
    cursor: pointer;
}

.chatsurvey-grade-input {
    -moz-appearance: none;
    visibility: hidden;
    z-index: 2;
    left: 2px;
    position: relative;
}

.chatsurvey-grade-input::after {
    z-index: 1;
    width: 9px;
    height: 9px;
    border-radius: 9px;
    border: 2px solid white;
    box-shadow: 0 0 0 1px gray;
    background-color: white;
    transition-duration: 500ms;
    position: relative;
    content: '';
    display: inline-block;
    visibility: visible;
}

.chatsurvey-grade-input:disabled::after {
    background-color: white;
    opacity: 0.5;
    transition-duration: 500ms;
}

.chatsurvey-grade-input:disabled:hover::after {
    background-color: white;
    opacity: 0.5;
    transition-duration: 500ms;
}

.chatsurvey-grade-input:hover::after {
    background-color: #be0052;
    transition-duration: 500ms;
}

.chatsurvey-grade-input:checked::after {
    background-color: #be0052;
    transition-duration: 500ms;
}
.surveyStar {
    width: 32px;
    height: 32px;
}

.surveyStar.hidden {
    display: none;
}

#surveyImageContainer {
    list-style: none;
    padding: 10px;
    margin: 0;
}

.smileImage.hidden {
    display: none;
}

.surveyCommentLabel {
    margin: 50px 0 10px;
    font-size: 14px;
    color: #2e2e2e;
    text-align: left;
    font-family: Roboto, sans-serif;
    font-weight: 600;
}

#surveySpeakAgainButton {
    float: left;
    margin-bottom: 8px;
}
#closeSurveyButton {
    float: right;
}

@media all and (max-width: 440px) {
    .cx-mobile
        > .cx-body
        > div
        > .cx-container
        > .cx-alert.cx-chat-end
        > .cx-wrapper
        > .cx-button-group.collapsingButtons
        > button {
        float: none !important;
        display: inherit;
        margin: auto;
    }
    .cx-mobile
        > .cx-body
        > div
        > .cx-container
        > .cx-alert.cx-chat-end
        > .cx-wrapper
        > .cx-button-group.collapsingButtons
        > #closeSurveyButton {
        margin-bottom: 8px;
    }
}

#surveyWrapper {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.cx-webchat .cx-transcript {
    max-height: calc(100vh - 252px);
    overflow-y: auto;
}

.cx-form-wrapper > div:first-child {
    max-height: calc(100vh - 222px);
    height: min-content;
    overflow-y: auto;
}

.cx-webchat .cx-form .cx-button-group {
    margin: 0 auto !important;
}

.cx-form-wrapper > div:first-child::-webkit-scrollbar,
#surveyWrapper::-webkit-scrollbar {
    width: 5px;
    border-radius: 5px;
}

.cx-form-wrapper > div:first-child::-webkit-scrollbar-track,
#surveyWrapper::-webkit-scrollbar-track {
    background: #d6d6d6;
    border-radius: 5px;
}

.cx-form-wrapper > div:first-child::-webkit-scrollbar-thumb,
#surveyWrapper::-webkit-scrollbar-thumb {
    background: #2e2e2e;
    border-radius: 5px;
}

.cx-webchat div.cx-input-container {
    padding-bottom: 30px !important;
}

.cx-common-container.cx-toast .cx-button-container {
    padding: 20px !important;
}

.cx-common-container.cx-close .cx-buttons-window-control button.cx-button-close,
.cx-common-container.cx-minimize .cx-buttons-window-control button.cx-button-maximize,
.cx-common-container.cx-minimize .cx-buttons-window-control button.cx-button-minimize {
    scale: 0.8;
}

.cx-button-group {
    padding: 4px;
}

.cx-widget:focus,
.cx-widget *:focus {
    outline: none;
}
@media (min-width: 1024px) {
    .cx-widget:focus-visible,
    .cx-widget *:focus-visible {
        outline: 0.2rem solid #2e2e2e;
        outline-offset: 0.2rem;
        border-radius: 0.2rem;
    }
}
@media (min-width: 1024px) {
    .cx-widget input[type='text']:focus-visible {
        outline-offset: -0.1rem;
    }
}
@media (min-width: 1024px) {
    .cx-titlebar:focus-visible > .cx-title {
        text-decoration: underline;
    }
}
