.body {
    overflow-x: hidden;
    background-color: transparent;
    margin: 0px;
    font-size: 14px;
    font-display: swap;
    line-height: 18px;
    max-height: calc(100vh - 5px) !important;
    position: absolute;
    bottom: 5px;
    width: 100%;
}

.body, body, textarea{
    font-family: "Roboto flex","Roboto",arial,tahoma,helvetica,sans-serif;
}

.body.chat-initialize{
    opacity: 0;
}

.body.chat-visible{
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

.body.bigMinimized .middlePanel {
    display: block;
}
.body .middlePanel {
    display: none;
}

.body.connecting {
    display: none;
}

.chat{
    margin: 5px;
    margin-bottom: 0px;
    /*margin-top: 9px;*/
    overflow: hidden;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0px -1px 6px 1px rgba(0,0,0,0.08);
}

.mobileChat.maximized .chat{
    margin: 0px !important;
    border-radius: 0px;
    height: 100% !important;
}

.iconMinimized .chat{
    height: 0px;
    opacity: 0.1;
}
.iconMinimized .chat.show{
    height: auto;
    opacity: 1;
    display: block !important;
    transition: opacity 0.3s ease-in-out;
}

.maximized.showMail .chat{
    height: 602px;
}

.maximized.showFooter.showMail .chat{
    height: 620px;
}

.sendMessage{
    width: 300px;
}
.topPanel{
    width: 100%;
}

.maximized.showFooter .middlePanel{
    height: auto;
}

.maximized .middlePanel{
    background-color: white;
    height: auto;
    border: 1px solid #eeeeee;
    border-top: 0px;
    display: block;
}

.middlePanel{
    background-color: #ffffff;
    position: relative;
    border: 1px solid #eeeeee;
}

.messagesWrapper{
    height: 217px;
    width:100%;
    min-width: 50px;
    overflow-y:auto;
    overflow-x: hidden;
    background-color: #FFFFFF;
    scrollbar-width: thin;
    scrollbar-color: #DDDDDD transparent;
}

.color-gray .messagesWrapper {
    background-color: #f9fafd;
}

.color-blue .messagesWrapper {
    background-color: #eaf1f7;
}

.color-dark .messagesWrapper {
    background-color: #101519;
    scrollbar-color: #465368 transparent;
}

::-webkit-scrollbar-thumb {
    background: transparent;
    -webkit-border-radius: 1ex;
}

.chat:hover ::-webkit-scrollbar-thumb {
    background: #DDDDDD;
    -webkit-border-radius: 1ex;
}

::-webkit-scrollbar {
    height: 6px;
    width: 6px;
    background: transparent;
}


::-webkit-scrollbar-corner {
    background: transparent;
}


.messagesPlaceholder{
    position:relative;
}
.messagesPlaceholder div{
    margin: 9px;
    margin-bottom: 4px;
    color: #444444;
    cursor: default;
    margin-left: 10px;
    margin-right: 6px;
}

.color-dark .messagesPlaceholder div,
.color-dark .messagesPlaceholder .message-text a {
    color: #FFFFFF;
}

#msg{
    display: none;
}

.maximized #msg{
    display: inherit;
}

.bigMinimized .messagesWrapper{
    height: 35px;
    display: block;
}

.bigMinimized .sendMessage{
    display: block;
}

.bigMinimized.maximized .messagesWrapper{
    height: 217px;
    display: inherit;
}

#min{
    display: none;
    border-bottom: 2px solid #718d9f;
    margin-top: 2px;
}

.maximized #min{
    display: inherit;
}

#max{
    border: 1px solid #718d9f;
    border-top: 3px solid #718d9f;
}

.maximized #max{
    display: none;
}

.header{
    background-color: #f8f9fa;
    display: inline-block;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
    padding-bottom: 5px;
    cursor: pointer;
    border-left: 1px solid #eeeeee;
    border-right: 1px solid #eeeeee;
}
.navigationButton{
    float: right;
    width: 13px;
    height: 10px;
    margin-right: 1px;
    margin-top: 1px;
    opacity: 0.8;
    cursor: pointer;
}

.messagesPlaceholder .myMessage{
    text-align: right;
    margin-left: auto;
    color: #FFFFFF; 
}

.messagesPlaceholder .myMessage .message-text {
    background-color: rgba(0, 80, 220, 0.8);
    text-align: left;
}

.messagesPlaceholder .myMessage .chat-attachment-size {
    text-align: left;
}

.messagesPlaceholder .myMessage .image-preview {
    display: flex;
    justify-content: flex-end;
}

.messagesPlaceholder .myMessage .message-text,
.messagesPlaceholder .myMessage .message-text a{
    color: #FFFFFF;
}

.messagesPlaceholder .message-text,
.maximized #firstMessage{
    background-color: rgba(190,200,220,0.2);;
    border-radius: 10px;
    display: inline-block;
    padding: 5px;
    padding-left: 8px;
    padding-right: 8px;
}

#messenger{
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-left: 2px;
    width: auto;
    display: flex;
}

body.bigMinimized #msgText {
    height: 48px;
}

#msgText, body.bigMinimized.maximized #msgText {
    border: 0px solid #eeeeee;
    font-size: 14px;
    line-height: 24px;
    width: calc(100% - 20px);
    height: 50px;
    padding: 5px;
    padding-bottom: 4px;
    overflow: auto;
    resize: none;
    padding-left: 8px;
    padding-right: 8px;
}

.system-chat #msgText, body.system-chat.bigMinimized.maximized #msgText{
    font-size: 13px;
}

.send-button,
.send-file,
.emailAddress .sendEmailButton {
    margin-top: 5px;
    margin-right: 5px;
    width: 25px;
    aspect-ratio: 1;
    background-image: url("../img/send_msg_blue.png");
    background-size: contain;
    background-repeat: no-repeat;
    transition: opacity 0.1s ease-in;
    cursor: pointer;
    background-clip: content-box;
    border-radius: 20px;
    background-size: 18px;
    background-position: 5px 4px;
    border: 2px solid transparent;
}

.emailAddress .sendEmailButton {
    margin-top: 0px;
    margin-right: 0px;
}

.emailAddress {
    display: flex;
}

.send-file {
    background-image: url("../img/upload.png");
    background-size: 22px;
    margin-top: 0px;
    background-position: 0px 0px;
    opacity: 0.4;
}

.send-additional-buttons {
    width: 35px;
}

.send-additional-buttons.disabled {
    display: none;
}

.send-button:hover:not(.disabled, .emptyMsg),
.send-file:hover:not(.disabled),
.sendEmailButton:hover:not(.notValidEmailAddress, .disabled) {
    opacity: 0.7;
    background-color: rgba(120,130,140, 0.10);
    border: 2px solid rgba(120,130,140, 0.10);
    transition: border-color 50ms ease-in;
}

.send-button.emptyMsg,
.sendEmailButton.notValidEmailAddress,
.sendEmailButton.disabled {
    opacity: 0.3;
    cursor: unset !important;
}

div.text-line {
    opacity: 0.7;
    display: block;
    overflow: hidden;
    white-space: nowrap;
}

div.text-line > span {
    position: relative;
    display: inline-block;
}

div.text-line.date > span .time-part,
div.text-line.date > span {
    color: #444444;
    font-weight: bold;
}

div.text-line.date > span:before,
div.text-line.date > span:after {
    background: #aaa;
    opacity: 0.3;
}

div.text-line > span:before,
div.text-line > span:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 9999px;
    height: 1px;
}

div.text-line > span:before {
    right: 100%;
    margin-right: 10px;
}

div.text-line > span:after {
    left: 100%;
    margin-left: 10px;
}

div.text-line.date {
    text-align: center;
}

.time-part{
    line-height: 11px !important;
    color: #999 !important;
    font-size: 11px;
    opacity: 0.7;
}

.messagesPlaceholder .text-line.date.scrolling {
    position: -webkit-sticky;
    position: sticky;
    background-color: rgba(255, 255, 255, 1);
    opacity: 1;
    top: 0;
    z-index: 1;
    margin-left: 0;
}

.messagesPlaceholder .text-line.date.scrolling span {
    opacity: 0.7;
}


.color-gray .messagesPlaceholder .text-line.date.scrolling {
    background-color: #f9fafd;
}

.color-blue .messagesPlaceholder .text-line.date.scrolling {
    background-color: #eaf1f7;
}

.color-dark .messagesPlaceholder .text-line.date.scrolling {
    background-color: #101519;
}

.color-dark .messagesPlaceholder .text-line.date.scrolling span {
    color: #dddddd;
}

.send-button.disabled,
.send-file.disabled {
    display: none;
    cursor: unset !important;
}

.color-dark .send-button,
.color-dark .send-file {
    filter: invert(1);
}

#emailMessageInput {
    border:1px solid #ddd;
    width: calc(100% - 20px);
    padding:5px;
    margin-top: 1px;
    margin-bottom: 1px;
}

#emailMessage {
    margin-top: 0px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 6px 8px;
    width: calc(100% - 20px);
}

#emailMessage label {
    font-size: 13px;
}

#chatBottomSpacer {
    display: initial;
    position: static;
    bottom: 68px;
    line-height: 8px;
    font-size: 10px;
    opacity: 0.5;
    margin-left: 10px;
}

.system-chat #chatBottomSpacer {
    position: fixed;
}

#msgText::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #888888;
}
#msgText::-moz-placeholder { /* Firefox 19+ */
  color: #888888;
}
#msgText:-ms-input-placeholder { /* IE 10+ */
  color: #888888;
}
#msgText:-moz-placeholder { /* Firefox 18- */
  color: #888888;
}

#sendMsg{
    background-color: #0061cd;
    border: 1px solid #0041ad;
    border-radius: 15px;
    color: white;
    margin-top: 2px;
    font-weight: bold;
    height: 20px;
    width: 20px;
    cursor: pointer;
    font-size: 13px;
    box-shadow: 0px 0px 5px #aaaaaa;
    position: absolute;
    bottom: 5px;
    right: 15px;
}

.activeHeader {
    background-color: #0000FF;
}

.notActiveHeader {
    background-color: #E6E6E6;
}

.messageHeader{
    height: 54px;
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(120,130,140,0.1);
}

.bigMinimized .messageHeader{
    display: none;
}

.bigMinimized.fullData .companyLogo, 
.bigMinimized.fullData .consultantImage{
    margin-top: 9px;
}

.bigMinimized.fullData.maximized .companyLogo, 
.bigMinimized.fullData.maximized .consultantImage{
    margin-top: 4px;
}

.bigMinimized.fullData .messageHeader{
    display: block;
}

.bigMinimized.fullData .consultantData{
    padding-top: 5px;
}

.bigMinimized.fullData.maximized .consultantData{
    padding-top: 16px;
}

.bigMinimized.fullData .consultantData #firstMessageHeader{
    display: block;
}

#firstMessageHeader, .bigMinimized.fullData.maximized .consultantData #firstMessageHeader{
    display: none;
}

.bigMinimized.fullData #messages{
    height: 0px;
}

.maximized .consultantData .firstMessage{
    display: none;
}

.consultantImage{
    margin: 4px;
    margin-left: 8px;
    width: 40px;
    height: 40px;
    float: left;
    background-color: #eeeeee;
    border-radius: 3px;
    border: 1px solid rgba(180,190,200, 0.5);
    filter: drop-shadow(0px 0px 2px rgba(0,0,0,0.25));
}

.autoMessage .consultantImage{
    background-size: 28px 28px;
}

.consultantImage img, .companyLogo img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 40px;
    height: 40px;
}

.consultantImage img {
    border-radius: 30px;
}
.consultantImage {
    border-radius: 30px;
}

.consultantData{
    padding-top: 16px;
    padding-left: 3px;
    width: 180px;
    height: 36px;
    float: left;
    opacity: 0.9;
}

.consultantData.noCompanyLogo{
    width: 260px;
}

.consultantSurveyInHeader.maximized .consultantData{
    width: 125px;
}
.consultantSurveyInHeader.maximized .consultantData.noCompanyLogo{
    width: 180px;
}

.consultantDataTop{
    height: 18px;
    font-size: 14px;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.consultantDataBottom{
    height: 2px;
    font-size: 12px;
}

.consultantSurvey{
    padding-top: 5px;
    display: none;
    margin-right: 0px;
}

.consultantSurveyInHeader.maximized .consultantSurvey{
    display: block;
}

.consultantSurvey a{
    padding-right: 5px;
}

.consultantSurvey .thumbContainer {
    padding: 0px;
    background: none;
    border-radius: 10px 10px 10px 10px;
    border: 1px solid transparent;
}

.consultantSurvey .thumbContainer.clicked {
    background: #e5e7ea;
    border: 1px solid #d0d2d6;
}

#downThumb img,
#upThumb img {
    padding-top: 4px;
    padding-left: 4px;
}
.companyLogo{
    margin: 5px;
    width: 50px;
    height: 50px;
    float: right;
}

.msgDate{
    padding: 5px;
    width: 150px;
    padding-bottom: 0px;
    font-weight: normal !important;
    color: #777777 !important;
}

.userMessage{
    font-size: 12px;
    margin-right: 10px;
}

.messagesPlaceholder div.userMessage{
    margin: 6px;
    margin-top: 8px;
    margin-left: 6px;
    color: #009900;
    font-weight: bold;
    line-height: 20px;
}

.color-dark .messagesPlaceholder div.userMessage{
    color: #77DD77;
}


.consultantMessage{
    color: #990000 !important;
}

.color-dark .consultantMessage{
    color: #EE6666 !important;
}

.system-chat textarea:focus{
    outline: none;
}

.error {
    background-color: #efccc6;
}

.tip {
    display: inline-block;
    border-radius: 5px;
    padding: 5px;
    margin: 0 auto;
    position: fixed;
    width: 260px;
    bottom: 133px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 5;
}

.messagesPlaceholder .image-preview,
.messagesPlaceholder .image-preview div,
.messagesPlaceholder .image-preview .preview-holder img{
    margin: 0; 
    margin-bottom: 2px;
    margin-left: 3px;
    margin-right: 6px;
    max-width: 100%;
}

.not-loaded{
    background-color: #757575;
    opacity: 0.5;
}

.chat-download-preview-icon {
    background-image: url(../img/download18.png);
    background-repeat: no-repeat;
    background-color: #e2e2e2;
    position: absolute;
    display: none;
    top: 5px;
    right: 5px;
    width: 21px;
    height: 21px;
    background-position: 2px 2px;
}

.chat-download-preview-icon:hover {
    background-position: 2px -34px;
}

.preview-holder {
    position: relative;
}

.preview-holder:hover .chat-download-preview-icon {
    display: block;
}

.chat-attachment,
.chat-attachment div{
    cursor: pointer !important;
    display: inline-grid;
}
.chat-attachment-iconandname {

}

.chat-attachment-icon {
    line-height: 19px;
    position: absolute;
    margin-top: -2px !important;
    width: 36px;
    height: 21px;
    display: inline-block;
    float: left;
    background-image: url(../img/chat_attachment.png);
    background-repeat: no-repeat;
    background-position: 3px 0px;
    font-size: 10px;
    color: #eeeeee !important;
    padding-top: 18px;
    text-align: center;
    filter: drop-shadow(0px 1px 3px rgba(0,0,0,0.2));
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                          supported by Chrome and Opera */
}

.chat-attachment-icon-pdf {
    background-position: 3px -40px;
}

.chat-attachment-icon-xls, .chat-attachment-icon-xlsx, .chat-attachment-icon-ods {
    background-position: 3px -80px;
}

.chat-attachment-icon-zip {
    background-position: 3px -120px;
}

.chat-attachment-icon-txt {
    background-position: 3px -160px;
}

.chat-attachment-name {
    margin-left: 44px;
}

.messagesPlaceholder .chat-attachment .chat-attachment-size{
    margin-top: 5px;
}

.chat-attachment-size span{
    color: #a9a9a9;
}

.messagesPlaceholder .message-text{
    margin: 0;
    line-height: 22px;
    word-break: break-word;
    max-width: 80%;
}

.messagesPlaceholder .chat-attachment,
.messagesPlaceholder .chat-attachment .chat-attachment-iconandname,
.messagesPlaceholder .chat-attachment .chat-attachment-iconandname div {
    margin: 0; 
    max-width: 275px;
}
.messagesPlaceholder .chat-attachment .chat-attachment-size,
.messagesPlaceholder .chat-attachment .chat-attachment-iconandname .chat-attachment-name{
    margin-left: 40px !important;
}

.tip.info {
    background-color: #ccefc6;
}

.loading {
    width: 16px;
    height: 16px;
    margin-right: 4px;
    margin-bottom: -3px;
}
.upload-tip.display-upload-tip {
    display: block;
}

.upload-tip {
    display: none;
    border: 5px solid #777575;
    width: 280px;
    position: absolute;
    text-align: center;
    line-height: 50px;
    height: 50px;
    margin-left: 3px;
    margin-top: 4px;
    background-color: white;
    color: #777575;
    opacity: 0.8;
    font-size: 18px;
    font-weight: bold;
}

.body.configuration .chat {
    display: none;
}

.configuration-progress {
    line-height: 25px;
    text-align: center;
    display: none;
    background-color: #0061cd;
    color: #d1ddff;
    border-radius: 6px 6px 0 0;
}

.body.configuration.connecting {
    display: block;
}

.body.configuration .configuration-progress {
    display: block;
}

.message-not-confirmed, .message-info-text {
    opacity: 0.7;
}
    
.footer {
    border-top: 1px solid rgba(0,0,0,0.03);
    height: 14px;
    background: rgba(94,94,94,0.1);
    text-align: right;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 1px;
    padding-bottom: 2px;
    opacity: 0.7;
    font-size: 11px;
}
.footer-second-line {
    display: block;
    padding-right: 5px;
    justify-content: right;
    flex-direction: row;
}

.maximized .footer-second-line {
    justify-content: space-between;
}

#firmao-footer-logo {
    width: 18px;
    position: relative;
    top: 5px;
    margin-left: 2px;
    margin-right: 3px;
}

#firmaoChatFooter .footer-second-line {
    text-align: center;
}

#firstMessage {
    line-height: 22px;
}

.chat-emoticon {
    background-image: url("../img/emoticons.png");
    width: 20px;
    height: 20px;
    display: inline-flex;
    color: transparent;
    overflow: hidden;
    background-size: 300px 40px;
    margin-right: 2px;
    margin-left: 2px;
}

.emoticon-simple-smile {
    background-position: 0px 0px;
}

.emoticon-blush {
    background-position: -20px 0px;
}
.emoticon-wink {
    background-position: -40px 0px;
}

.emoticon-stuck-out-tongue-winking-eye {
    background-position: -60px 0px;
}

.emoticon-stuck-out-tongue {
    background-position: -80px 0px;
}

.emoticon-grinning {
    background-position: -100px 0px;
}

.emoticon-smiley {
    background-position: -120px 0px;
}

.emoticon-smile {
    background-position: -140px 0px;
}

.emoticon-angry {
    background-position: -160px 0px;
}

.emoticon-sweat-smile {
    background-position: -180px 0px;
}

.emoticon-kiss {
    background-position: -200px 0px;
}

.emoticon-heart {
    background-position: -220px 0px;
}

.emoticon-heart-eyes {
    background-position: -240px 0px;
}

.emoticon-kissing-heart {
    background-position: -260px 0px;
}

.emoticon-innocent {
    background-position: -280px 0px;
}

.emoticon-woried {
    background-position: 0px -20px;
}

.emoticon-sad {
    background-position: -20px -20px;
}

.emoticon-neutral-face {
    background-position: -40px -20px;
}

.emoticon-expression-less {
    background-position: -60px -20px;
}

.emoticon-persevere {
    background-position: -80px -20px;
}

.emoticon-unamused {
    background-position: -100px -20px;
}

.emoticon-cry {
    background-position: -120px -20px;
}

.emoticon-open-mouth {
    background-position: -140px -20px;
}

.emoticon-supprise {
    background-position: -160px -20px;
}

.emoticon-confused {
    background-position: -180px -20px;
}

.emoticon-sweat {
    background-position: -200px -20px;
}

.emoticon-resentful {
    background-position: -220px -20px;
}

.emoticon-feel-bad {
    background-position: -240px -20px;
}

.emoticon-sunglasses {
    background-position: -260px -20px;
}

.emoticon-ninja {
    background-position: -280px -20px;
}

.emoticon-white-check-mark {
    background-position: -180px 0;
}

.emoticon-okay {
    background-position: -200px 0;
}

.emoticon-shake-hand {
    background-position: -180px -20px;
}

.emoticon-dollar {
    background-position: -160px -20px;
}

.emoticon-success {
    background-position: -220px -20px;
}

.maximized .mailFormWrapper.show {
    display: block;
}

.mailFormWrapper {
    position: absolute;
    display: none;
    left: 10px;
    right: 10px;
    top: 10px;
    bottom: 10px;
    background-color: #FFFFFF;
    z-index: 3;
    text-align: center;
    box-shadow: 0px 0px 7px 4px rgba(0,0,0,0.25);
}

.mailForm {
    position: relative;
    width: 250px; 
    margin: auto;
}

.mailForm input{
    line-height: 25px;
    font-size: 16px;
    height: 30px;
}

.mailForm input, .mailForm textarea{
    border: 1px solid #EFEFEF;
    border-radius: 2px;
}
    
.mailForm textarea{
    line-height: 20px;
    font-size: 14px;
    height: 80px;
}

.mailForm input{
    width: 100%;
    padding: 0;
    margin: 0;
    padding-left: 5px;
}

.mailForm textarea{
    resize: none;
    width: 100%;
    padding: 0;
    margin: 0;
    font-family: inherit;
}

.mailForm span{
    font-size: 25px;
    cursor: default;
}

.mailForm div{
    margin-top: 15px;
    color: #626262;
    cursor: default;
}

.mailForm div.inputLabel{
    text-align: left;
}

.mailForm button:hover{
    background-color: #43a047;
}

.mailForm button{
    background-color: #4bbc50;
    border: none;
    color: white;
    text-decoration: none;
    font-size: 18px;
    line-height: 27px;
    width: 150px!important;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.2s linear
}

.poweredByFooter{
    margin-bottom: 5px;
    text-decoration: none;
}

.firmaoSatisfactionSurvey {
    display: none;
    float: left;
}

.maximized .firmaoSatisfactionSurvey {
    display: block;
}

.consultantSurveyInHeader.maximized .firmaoSatisfactionSurvey {
    display: none;
    float: left;
}

.maximized .mailButton {
    opacity: 1;
}

.maximized .footer {
    height: 34px;
}

.mailButton {
    cursor: pointer;
    opacity: 0;
    float: left;
    color: #43a047;
    transition: opacity .2s linear;
    font-weight: bold;
    padding-left: 15px;
    background-image: url(../img/mail.png);
    background-position: -2px -1px;
    background-repeat: no-repeat;
}

.mailFormClose {
    cursor: pointer;
    position: absolute;
    right: 8px;
    top: 3px;
    opacity: 0.7;
}

.mailFormClose:hover {
    opacity: 1;
}

.configuration {
    margin-right: 10px;
    margin-left: 10px;
    box-shadow: 0px 0px 10px 0 rgba(0,0,0,0.25);
}

.maximized .messageHeader, .maximized .messagesWrapper, .maximized .sendMessage{
    display: block;
}

.messageHeader,.messagesWrapper,.sendMessage{
    display: none;
}

.system-chat .topPanel {
    display: none;
}

.system-chat .chat {
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: inherit;
    font-size: 13px;
}

.system-chat .messageHeader {
    display: none;
}

.system-chat #messenger {
    width: 100%;
    padding: 1px 2px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
}

.system-chat.color-dark #msgText,
.system-chat.color-dark #messenger{
    background-color: #0c1015;
    color: #FFFFFF;
}
.system-chat.color-dark #messenger{
    border: 1px solid #000000;
}

.system-chat #emailMessage {
    width: 100%;
    padding-left: 0;
    position: fixed;
    bottom: 72px;
    left: 0;
    right: 0;
}
.system-chat #msgText {
    width: 100%;
    margin: 0;
    padding: 3px 7px;
}

.system-chat .drop-zone {
    width: 95%;
}

.system-chat .messagesWrapper {
    max-height: none;
    height: auto;
    position: fixed;
    bottom: 75px;
    left: 0;
    right: 0;
    top: 0;
}

.system-chat .middlePanel{
    height: 100%;
    width: 100%;
    position: relative;
}

body[lang='ru'] #firstMessageHeader {
    font-size: 12px;
}

body[lang='ru'] #msgText {
    font-size: 12px;
}

#chatUpperWindow {
    background-color: red;
    height: auto;
    width: 80%;
    bottom: 85px;
    position: relative;
    float: right;
    display: none;
    background-color: white;
    border: 1px solid #eeeeee;

}

#chatUpperWindow.show {
    display: initial;
}

#upperWindowText {
    background-color: rgba(230, 230, 230, 1);
    margin: 10px;
    min-height: 54px;
    padding: 10px;
    font-weight: bold;
}

#upperWindowStartChat {
    background-color: #0061cd;
    color: white;
    height: 40px;
    margin: 10px;
    border-radius: 10px 10px 10px 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    cursor: pointer;
}

#upperStartChatText {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-weight: bold;
    font-size: 15px;
}

#upperStartChatIcon {
    background-size: contain;
    background-image: url(/style/img/chatIcon.png);
    width: 40px;
    height: 100%;
    display: inline-grid;
    background-repeat: no-repeat;
}


#chatIconWrapper{
    opacity: 0;
}
.iconMinimized #chatIconWrapper.show{
    display: initial;
    opacity: 1;
    transition: opacity 1s !important;
}
#chatIconWrapper #chatIconContentHolder.show {
    
}
#chatIconWrapper #chatIconContentHolder {
    bottom : 5px !important;
    position: fixed !important;
    right: 0px !important;
    /*transition: bottom 1s !important;*/
}
#chatIconWrapper #chatIconContentHolder {
    width: 60px !important;
    height: 60px !important;
    margin: 2px;
    border-radius: 50% !important;
    border: 0px #FFFFFF solid !important;
    display: block !important;
    z-index: 16000001 !important;
    cursor: pointer !important;
    background-color: #0061cd !important;
    background-image: url(/style/img/chatIcon.png);
    background-position: center;
    background-size: auto;
    box-shadow: 0 1px 6px rgba(0,0,0,0.25) !important;
    -webkit-transition: background-color 0.3s, color 0.3s!important;
    transition: background-color 0.3s, color 0.3s!important;
}

#chatIconWrapper #chatIconContentHolder.iconConsultantImage {
    background-size: cover;
    background-color: transparent !important;
}

#chatIconWrapper #chatIconContentHolder::before {
    content: \'\'!important;
    position: absolute!important;
    top: -30px!important;
    left: -30px!important;
    bottom: -30px!important;
    right: -30px!important;
    border-radius: 50%!important;
    -webkit-transform: scale3d(0.5, 0.5, 1);
    transform: scale3d(0.5, 0.5, 1);
}
#chatIconWrapper #chatIconContentHolder:hover {
    -webkit-transition: background-color 0.3s 0.3s, color 0.3s 0.3s!important;
    transition: background-color 0.3s 0.3s, color 0.3s 0.3s!important;
    color: #ECEFF1!important;
    -webkit-animation: anim-moema-1 0.3s forwards!important;
    animation: anim-moema-1 0.3s forwards!important;
}
#chatIconWrapper #chatIconContentHolder:hover::before {
    background-repeat: no-repeat!important;
    background-image: url(/style/img/chatIcon.png)!important;
    background-size: 140px 140px !important;
    background-position: -7px -11px !important;
    background-color: inherit!important;
    opacity: 0.4;
    -webkit-animation: anim-moema-2 0.3s 0.3s forwards!important;
    animation: anim-moema-2 0.3s 0.3s forwards!important;
}

#chatIconWrapper .autoMessageText{
    background-color: #ffffff !important;
    padding: 10px !important;
    padding-left: 13px !important;
    padding-right: 10px !important;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.10) !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    bottom: 75px !important;
    left: 50px !important;
    border-radius: 10px 10px 10px 0px !important;
    position: absolute !important;
    max-width: 230px !important;
    min-width: 230px !important;
    line-height: 18px;
    cursor: pointer;
}

#chatIconWrapper .consultantImage{
    height: 28px !important;
    width: 28px !important;
    position: absolute !important;
    left: 2px;
    bottom: 75px;
    border-radius: 20px;
    overflow: hidden;
}

#chatIconWrapper .consultantNameAutoMessage{
    font-weight: bold;
    margin-bottom: 3px;
}

#consultant-image-auto-message{
    height: 28px !important;
    width: 28px !important;
}

.first-message-response {
    word-break: break-word;
}

#firmaoChatFooter {
    border-top: 0 !important;
    height: 30px !important;
    background: #f8f9fa !important;
    text-align: right !important;
    padding: 1px 0px 0px 6px !important;
    font-size: 11px !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    transition: none;
}

#firmaoChatFooter.ua {
    font-size: 10px !important;
}

.iconMinimised #firmaoChatFooter {
    display: none;
}

.iconMinimised.maximised #firmaoChatFooter {
    border-radius: 0 0 10px 10px;
    display: block;
    margin-bottom: 7px;
}

.firmaoSatisfactionSurveyPopupOverlay {
    position: absolute;
    display: none;
    left: 10px;
    bottom: 25px;
    background-color: #FFFFFF;
    z-index: 3;
    text-align: center;
    box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.25);
    border-radius: 10px;
    border: 1px solid rgba(120,130,140, 0.4);
}

.firmaoSatisfactionSurveyPopupOverlay.show {
    display: block;
}

.firmaoSatisfactionSurveyPopup {
    background: #fff;
    border-radius: 10px;
    width: 100%;
    position: relative;
    transition: all 5s ease-in-out;
}
.firmaoSatisfactionSurveyPopup .close {
    position: absolute;
    top: 0px;
    right: 4px;
    transition: all 200ms;
    font-size: 20px;
    text-decoration: none;
    opacity: 0.25;
}
.firmaoSatisfactionSurveyPopup .close:hover {
    opacity: 1;
}

.withPointerCursor {
    cursor: pointer;
}

#firmaoChatPoweredBy,
.poweredByFooter {
color: black !important;
}

#firmaoChatPoweredBy,
.firmaoSatisfactionSurvey {
    padding-top: 3px;
}

.poweredByFooter span{
color: black !important;
    font-weight: 800;
}

.body.bigMinimized.maximized.emailSentToConsultant #messages{
    height: 0px !important;
}
/*wysokość dla livechatu - class fullData. Helpdesk ma inaczej iframe'a */
.body.fullData.maximized #messages, .body.bigMinimized.maximized #messages, .body.showFooter.maximized #messages   {
    /*bottom 5px, margin 10px, top 30px, messageHeader 58px, messenger 70px, footer 30px, chatBottomSpacer 20px  */
    height: calc(100vh - 30px - 58px - 70px - 30px - 20px) !important;
}
.body.system-chat.maximized #messages {
    height: auto !important;
}

/*style dla czatu po jego szerokosci chatPlugin.js:253*/
@media screen and (max-width: 319px) {
    .body .middlePanel {
        display: none !important;
    }
    .body.maximized .middlePanel {
        display: block !important;
    }
}