﻿.embeddedServiceHelpButton .uiButton .helpButtonLabel {
    position: relative;
    z-index: inherit;
}

embeddedSeeSidebarButton {
    background-color: #770067 !important;
}

.embeddedServiceHelpButton .helpButton .uiButton {
    background-color: #770067;
    font-family: "Tisa-Sans-Pro", sans-serif;
    font-size: 16px;
    font-weight: normal;
    text-shadow: none;
    z-index: inherit;
    max-width: initial;
    justify-content: space-between;
    align-items: center;
    border: 0;
    position: fixed;
    bottom: 40px;
    right: 50px;
    height: 46px;
    border-radius: 23px;
    text-shadow: none;
}

    .embeddedServiceHelpButton .helpButton .uiButton:hover {
        background: #90007e;
    }


.embeddedServiceSidebarMinimizedDefaultUI.helpButton,
.embeddedServiceSidebarMinimizedDefaultUI.helpButton:focus,
.embeddedServiceSidebarMinimizedDefaultUI.helpButton:hover,
.embeddedServiceSidebarMinimizedDefaultUI.helpButton:active {
    background: #770067;
    border: 2px solid #770067;
    outline: 0px;
    background-color: #770067;
    max-width: 17em;
}

    .embeddedServiceSidebarMinimizedDefaultUI.helpButton:hover {
        background: #90007e;
    }


.embeddedServiceHelpButton .helpButton .uiButton:focus {
    outline: none;
}

.embeddedServiceHelpButton .uiButton .helpButtonLabel .message {
    background-color: none;
    border-color: none;
}

.embeddedServiceLiveAgentStateChatInputFooter .footerMenuWrapper .footer-menu-items .slds-dropdown__item > a {
    color: #770067;
}


#snapins_invite {
    background-color: #FFFFFF;
    font-family: "Arial", sans-serif;
    overflow: visible;
    border-radius: 8px;
    visibility: hidden;
}

.embeddedServiceInvitation {
    background-color: transparent;
    max-width: 290px;
    max-height: 210px;
    -webkit-box-shadow: 0 7px 12px rgba(0,0,0,0.28);
    -moz-box-shadow: 0 7px 12px rgba(0,0,0,0.28);
    box-shadow: 0 7px 12px rgba(0,0,0,0.28);
}

@media only screen and (min-width: 48em) { /*mobile*/

    .embeddedServiceInvitation {
        max-width: 332px;
        max-height: 210px;
    }
}

.embeddedServiceInvitation > .embeddedServiceInvitationHeader {
    width: inherit;
    height: 32px;
    line-height: 1.4;
    padding: 10px;
    color: #FFFFFF;
    background-color: #222222;
    overflow: initial;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.embeddedServiceInvitationHeader #embeddedServiceAvatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.embeddedServiceInvitationHeader .embeddedServiceTitleText {
    font-size: 18px;
    color: #FFFFFF;
    overflow: hidden;
    word-wrap: normal;
    white-space: nowrap;
    text-overflow: ellipsis;
    align-self: stretch;
    flex-grow: 1;
    max-width: 100%;
    margin: 0 12px;
}

.embeddedServiceInvitationHeader .embeddedServiceCloseIcon {
    border: none;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    bottom: 3%;
    background-color: transparent;
    width: 32px;
    height: 32px;
    font-size: 23px;
    color: #FFFFFF;
}

    .embeddedServiceInvitationHeader .embeddedServiceCloseIcon:focus {
        outline: none;
    }

        .embeddedServiceInvitationHeader .embeddedServiceCloseIcon:focus::before {
            content: " ";
            position: absolute;
            top: 11%;
            left: 7%;
            width: 85%;
            height: 85%;
            background-color: rgba(255, 255, 255, 0.2);
            border-radius: 4px;
            pointer-events: none;
        }

    .embeddedServiceInvitationHeader .embeddedServiceCloseIcon:active, .embeddedServiceCloseIcon:hover {
        background-color: #FFFFFF;
        color: rgba(0,0,0,0.7);
        opacity: 0.7;
    }

.embeddedServiceInvitation > .embeddedServiceInvitationBody {
    background-color: #FFFFFF;
    max-height: 110px;
    min-width: 260px;
    margin: 0 8px;
    font-size: 14px;
    line-height: 1.3;
    overflow: auto;
}

.embeddedServiceInvitationBody p {
    color: #333333;
    padding: 8px;
    margin: 12px 0;
}

.embeddedServiceInvitation > .embeddedServiceInvitationFooter {
    width: inherit;
    color: #FFFFFF;
    text-align: right;
    background-color: #FFFFFF;
    padding: 10px;
    max-height: 50px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.embeddedServiceInvitationFooter > .embeddedServiceActionButton {
    font-size: 14px;
    max-height: 40px;
    border: none;
    border-radius: 4px;
    padding: 10px;
    margin: 4px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.embeddedServiceInvitationFooter > #acceptInvite {
    background-color: #005290;
    color: #FFFFFF;
}

.embeddedServiceInvitationFooter > #rejectInvite {
    background-color: #FFFFFF;
    color: #005290;
}

.embeddedServiceHelpButton .helpButton .helpButtonEnabled:hover::before, .embeddedServiceHelpButton .helpButton .helpButtonEnabled:focus::before {
    background: none;
}

.sidebarHeader[embeddedService-chatHeader_chatHeader] {
    background: var(--lwc-colorBrandSecondary,#780068);
}

.embeddedServiceSidebarButton {
    font-family: "Tisa-Sans-Pro";
    border-radius: 22px;
}

.embeddedServiceSidebar.modalContainer {
    font-family: "Tisa-Sans-Pro";
}

[embeddedservice-chatheader_chatheader-host] {
    background: none !important;
}



.embeddedServiceSidebarFormField .uiInputSelect > select.select {
    padding-right: 30px;
    font-size: 13px
}

.embeddedServiceSidebarMinimizedDefaultUI {
    background: #770067 !important;
    border: 2px solid #770067 !important;
    outline: 0 !important;
}

.embeddedServiceSidebarButton:not(:disabled):focus {
    background-color: #770067;
}

.embeddedServiceSidebarButton:not(:disabled):hover {
    background: #90007e;
}

.embeddedServiceSidebarButton .label:hover, .embeddedServiceSidebarButton:hover .label {
    color: #fff
}

.embeddedServiceSidebarButton.uiButton--inverse .label {
    color: #333;
}

.embeddedServiceSidebarForm .backgroundImg, .embeddedServiceSidebarForm .backgroundImgColorMask {
    background: #fff !important;
}

.embeddedServiceSidebarButton:focus {
    text-decoration: none;
    box-shadow: none;
}

.mobile-devices .embeddedServiceSidebarMinimizedDefaultUI {
    width: 120px
}

    .mobile-devices .embeddedServiceSidebarMinimizedDefaultUI .content {
        margin: 0;
    }

.embeddedServiceLiveAgentStateChatInputFooter .footerMenuWrapper .footer-menu .slds-dropdown-trigger {
    position: static;
}

.embeddedServiceLiveAgentStateChatInputFooter .footerMenuWrapper .footer-menu-items,
.embeddedServiceLiveAgentStateChatInputFooter .footerMenuWrapper .footer-menu .slds-dropdown {
    width: 100%;
}

.embeddedServiceSidebarMinimizedDefaultUI.minimizedContainer:focus,
.embeddedServiceSidebarMinimizedDefaultUI.minimizedContainer:active {
    text-decoration: none;
}


embeddedservice-chat-header svg.slds-icon-text-default {
    display: none;
}

.endChatContainer button {
    margin-bottom: 5px !important;
}

.sidebarHeader .minimizeButton {
    background: url(/Content/img/chat/minimizeButton.svg) center 2px no-repeat;
    background-size: 24px auto;
}

.sidebarHeader .closeButton {
    background: url(/Content/img/chat/closeButton.svg) center center no-repeat;
    background-size: 24px auto;
}

.embeddedServiceSidebarMinimizedDefaultUI .minimizedImage img {
    object-fit: contain;
}

.embeddedServiceSidebar.layout-docked .dockableContainer, .embeddedServiceSidebar.layout-float .dockableContainer {
    height: calc(100% - 95px);
    margin-top: 70px;
    box-shadow: none;
}

.helpButtonEnabled:focus .helpButtonLabel {
    text-decoration: none;
}

.sidebarMinimized .helpButton {
    /*width: 282px*/
}


.embeddedServiceLiveAgentStateChatInputFooter .chasitorControls .uiInput {
    min-height: auto;
}

.uiOutputRichText a
{
    word-break: break-all;
}
.embeddedServiceSidebarFormField .uiInputSelect:after
{
    top:calc(50% + 9px);
}

@media (max-width:767px) {
    .embeddedServiceHelpButton .helpButton .uiButton {
        right: 20px;
    }
    .embeddedServiceSidebar.layout-docked .dockableContainer, .embeddedServiceSidebar.layout-float .dockableContainer    
    {
        padding-bottom: 80px;
    }
}

@media (max-width:1100px) {
    .embeddedServiceHelpButton .helpButton .uiButton
    {
        bottom: 90px;
    }
    .embeddedServiceSidebarMinimizedDefaultUI.helpButton
    {
        bottom: 85px;
    }
}

@media (min-width:768px) and (max-width:1100px) {
    .embeddedServiceHelpButton .helpButton .uiButton
    {
        bottom: 110px;
    }
}