html {
    overflow: inherit !important;
}

#nuanMessagingFrame {
    position: fixed;
    z-index: 999999;
}

.nuance-chat-button {
    font-family: XSans, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    cursor: pointer;
    display: flex;
    top: 50vh !important;
    right: 0px !important;
    align-items: center;
    justify-content: center;
    color: white;
    position: absolute;
    transition: transform 250ms ease-out, opacity 250ms ease-out,box-shadow 250ms ease-out;
    border-radius: 4px 0px 0px 4px;
    background-position: center 5px !important;
    background-attachment: fixed;
    background-color: #0d0d0f;
    box-shadow: 4px 5px 3px rgb(0 0 0 / 21%), 0px 8px 7px rgb(0 0 0 / 18%);
    outline: none;
    background-image: url('assets/icons/ic_chat_outline_white.svg') !important;
    background-repeat: no-repeat !important;
    border-top-color: #0d0d0f;
    border-left-color: #0d0d0f;
    background-size: 32px 32px !important;
    height: 60px !important;
    width: 70px !important;
    border-width: 0 !important;
    padding-top: 35px;
}

.nuance-chat-button .chat-icon {
    font-family: XSans, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    width: 100%;
    white-space: nowrap;
    text-align: center;
}

span.nuance-chat-icon-text {
    display: block;
    position: relative;
    top: 18px;
    left: 2px;
    font-family: XSans, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: .1em;
    text-align: center;
    color: #ffffff;
    cursor: pointer;
}

/*
.nuance-chat-button.ready, .nuance-chat-button.disabled {
    background: #183850; /* Old browsers * /
    background: -moz-linear-gradient(top,  #183850 0, #183850 25%, #192c46 50%, #22254c 75%, #22254c 100%); /* FF3.6-15 * /
    background: -webkit-linear-gradient(top,  #183850 0,#183850 25%,#192c46 50%,#22254c 75%,#22254c 100%); /* Chrome10-25,Safari5.1-6 * /
    background: linear-gradient(to bottom,  #183850 0,#183850 25%,#192c46 50%,#22254c 75%,#22254c 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ * /
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#183850', endColorstr='#22254c',GradientType=0 ); /* IE6-9 * /
}
*/

    .nuance-chat-button.ready, .nuance-chat-button.minimized {
        background: #0D0D0F;
        outline: none !important;
        box-shadow: 0px 0px 8px 0px white;
    }
    .nuance-chat-button.ready:focus, .nuance-chat-button.minimized:focus {
	    outline: 2px solid black !important;
        outline-offset: 2px;
    }

    .nuance-chat-button.disabled {
        display: none;
    }



    .nuance-chat-button.animate {
        transform: translateY(70px);
        opacity: 0;
    }

        .nuance-chat-button.animate.enter {
            transform: translateY(0);
            opacity: 1;
        }





    .nuance-chat-button.animate {
        opacity: 0;
    }

    .nuance-chat-button.animate.enter {
            opacity: 1 !important;
        }




        .nuance-chat-button.animate span {
            opacity: 0;
        }

        .nuance-chat-button.animate.enter span {
        }


    .nuance-chat-button .chat-icon .chat-minimize {
        /*
        box-shadow: inset 0 0 0 32px;
        border-radius: 50%;
        */
        display: inline-block;
        position: relative;
        margin: 1px 1px 2px 2px;
        height: 35px;
        width: 30px;
    }

    .nuance-chat-button .chat-close {
        width: 30px;
        height: 30px;
        margin: 2px;
        transform: rotate(45deg);
        display: inline-block;
        position: relative;
        /*  -webkit-animation: chatstated 500ms forwards;
    animation: chatstated 500ms forwards; */
    }

    .nuance-chat-button .chat-minimize {
        display: inline-block;
        position: relative;
        border-radius: 4px 0px 0px 4px;
        width: auto;
        height: auto;
        transform: unset;
        -webkit-transform: unset;
        font-family: XSans, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
        font-weight: 600 !important;
        font-size: 16px !important;
        width: 100%;
        white-space: nowrap;
        text-align: center;
    }

@keyframes chatstater {
    from {
        opacity: 0;
        transform: rotate(90deg)
    }

    to {
        opacity: 1;
        transform: rotate(0deg)
    }
}

@keyframes chatstated {
    from {
        opacity: 0;
        transform: rotate(135deg)
    }

    to {
        opacity: 1;
        transform: rotate(45deg)
    }
}

/*.nuance-chat-button .chat-icon:after,.nuance-chat-button .chat-icon:before,.nuance-chat-button .chat-close:after,.nuance-chat-button .chat-close:before,
.nuance-chat-button .chat-minimize:after, .nuance-chat-button .chat-minimize:before  {
    content: '';
    pointer-events: none;
}

.nuance-chat-button .chat-icon:after,.nuance-chat-button .chat-icon:before {
    position: absolute;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-top: 10px solid;
    -webkit-transform: rotate(50deg);
    transform: rotate(50deg);
    left: -5px;
    top: 10px;
}*/

.nuance-chat-button .chat-close:before {
    width: 20px;
    height: 2px;
}

.nuance-chat-button .chat-close:after {
    width: 2px;
    height: 20px;
}

.nuance-chat-button .chat-close:before, .nuance-chat-button .chat-close:after {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    box-shadow: inset 0 0 0 32px;
}

.nuance-chat-button .chat-minimize:before, .nuance-chat-button .chat-minimize:after {
    width: 14px;
    height: 2px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    right: 2px;
    box-shadow: inset 0 0 0 32px;
    -webkit-transform-origin: right;
    transform-origin: right;
}

.nuance-chat-button .chat-minimize:before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.nuance-chat-button .chat-minimize:after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.nuan-flyin-opener {
    background-color: #fff;
    border-radius: 12px;
    bottom: 0;
    box-shadow: 0 1pt 12pt rgba(0, 0, 0, .15);
    display: flex;
    flex-direction: column;
    font-family: Helvetica, Arial, sans-serif;
    position: fixed;
    width: 360px;
    transition: all 1s linear;
    opacity: 0;
}

#nuance-fab-container .aria-reader,
.nuance-chat-button .aria-reader {
    font-size: 0;
    width: 0px;
    height: 0px;
    box-shadow: 4px 5px 3px rgb(0 0 0 / 21%), 0px 8px 7px rgb(0 0 0 / 18%);
}

@media (min-width: 320px) and (max-width: 480px) {
    .nuan-flyin-opener {
        width: 300px;
    }
}

.nuan-flyin-opener .flyinOpenerContainer {
    box-shadow: 0 -5px 20px 1px rgba(0, 0, 0, .03) inset;
    display: flex;
    align-items: center;
    padding-top: 12px;
    transition: opacity 1s linear;
}

.flyinOpenerContainer:last-child {
    padding-bottom: 12px;
}

.flyinOpenerContainer.animate {
    opacity: 0;
}

.nuan-flyin-opener.enter, .flyinOpenerContainer.enter {
    opacity: 1;
    right: 10px;
    bottom: 120px;
}

.nuan-flyin-opener .flyInMsgAwatarCont {
    padding-left: 14px;
}

.nuan-flyin-opener .flyInMsgAwatar {
    position: relative;
    border: .5pt solid rgba(0, 0, 0, .10);
    border-radius: 50%;
}

.flyin-bubble-msg-container {
    margin-right: 10px;
    flex-grow: 2;
    margin-left: 10px;
}

.flyInHeader {
    color: rgba(0, 0, 0, .50);
    font-size: 8pt;
    margin-bottom: 4px;
    margin-left: 12px;
    margin-top: 10px;
    max-width: 260px;
}

.flyin-bubble-text {
    background-color: #79C7C5;
    border-radius: 1.3em;
    color: rgba(0, 0, 0, 1);
    display: inline-block;
    font-size: 11pt;
    padding: 8px 12px;
    text-align: left;
    word-wrap: break-word;
    height: 100%;
}

.nuan-flyin-opener .closeBtnCont {
    position: absolute;
    right: 12px;
    top: 6px;
}

.flyin-close-btn {
    align-items: center;
    background-color: rgba(0, 0, 0, .1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    height: 18pt;
    justify-content: center;
    outline: none;
    width: 18pt
}

.flyin-widget {
    border-top: 1px solid #80808026;
}

.nuance-chat-button .badge {
    background-color: #cc2311;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    padding: 5% 5%;
    position: absolute;
    left: -5px;
    top: -6px;
    float: right;
    display: block;
}

.nuance-chat-button .badge.zero-messages {
    display: none;
}

.nuance-chat-button .message-count {
    position: relative;
    display: block;
    font-family: XSans, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    text-align: center;
    margin: 0;
    top: -3px;
    font-size: 14px;
    font-weight: 600;
}

.nuance-chat-button .badge.bounce {
    /*animation: bounce 1s infinite;*/
}

@keyframes bounce {
    0%, 100%, 20%, 53%, 80% {
        -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        -webkit-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    40%, 43% {
        -webkit-transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        -webkit-transform: translate3d(0, -30px, 0);
        -ms-transform: translate3d(0, -30px, 0);
        transform: translate3d(0, -30px, 0);
    }

    70% {
        -webkit-transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        -webkit-transform: translate3d(0, -15px, 0);
        -ms-transform: translate3d(0, -15px, 0);
        transform: translate3d(0, -15px, 0);
    }

    90% {
        -webkit-transform: translate3d(0, -4px, 0);
        -ms-transform: translate3d(0, -4px, 0);
        transform: translate3d(0, -4px, 0);
    }
}


/**FAB start **/
#nuance-fab-container * {
    box-sizing: border-box;
    font-family: 'Source Sans Pro', sans-serif;
    margin: 0;
    padding: 0;
}

#nuance-fab-container {
    align-self: flex-end;
    bottom: 100px !important;
    display: flex;
    height: 62px;
    /* max-width: 375px; */
    position: fixed;
    left: 0px;
    align-items: center;
}

#nuance-fab-container:focus, #nuance-fab-container:focus-visible {
    outline: none !important;
}

/* 
@media screen (max-width: 1300) {
    #nuance-fab-container
    {
        bottom: 9.5em;
    }
} */

#nuance-fab-container .nuance-fab-main {
    background-color: #232328;
        border-radius: 4px;
        background-position: 10% 43%;
        /*animation: fab-background 4s;
        -webkit-animation: fab-background 4s;*/
        /* animation: fab-load 4s; */
        background-size: 20%;
        cursor: pointer;
        font-size: 17px;
        color: white;
        font-family: XSans, "Helvetica Neue", Helvetica, Arial, sans-serif;
        background-image: url("assets/icons/ic_chat_outline_white.svg");
        background-repeat: no-repeat;
        margin: 0;
        height: 56px;
        outline: 0;
        padding-right: 16px;
        position: relative;
        text-align: right;
        white-space: nowrap;
        width: 152px;
        z-index: 2;
        box-shadow: 0px 0px 8px 0px white, 0px 24px 24px -8px rgba(0, 0, 0, 50%);
        border: none !important;
        font-weight: 600;
}


/* @media all and (max-width: 1300px) {
    #nuance-fab-container {
        bottom: 105px !important;
    }
}

@media all and (max-width: 1023px) {
    #nuance-fab-container {
        bottom: 190px !important;
    }
} */

    @keyframes shine {
        10% {
            opacity: 1;
            top: -30%;
            left: -30%;
            transition-property: left, top, opacity;
            transition-duration: 0.7s, 0.7s, 0.15s;
            transition-timing-function: ease;
        }

        100% {
            opacity: 0;
            top: -30%;
            left: -30%;
            transition-property: left, top, opacity;
        }
    }

    #nuance-fab-container .nuance-fab-main:focus {
    /* border: 2px solid black; */
    /* left: -2px; */
    outline: 2px solid black !important;
    outline-offset: 2px;
}

#nuance-fab-container .nuance-fab-main:hover {
    color: white;
    background-color: black;
    /* left: -2px; */
}

#nuance-fab-container .nuance-fab-main:active {
    outline: 2px solid #0d0d0f !important;
    outline-offset: 2px !important;
    /*border-radius: 1px !important;*/
    border-style: none !important;
}

#nuance-fab-container .nuance-fab-main:before {
    /*background-image: url("assets/icons/ic_chat_outline_white.svg") no-repeat;*/
    /*content: "Live Chat";*/
    display: block;
    right: 1px;
    top: 25%;
    position: absolute;
    width: 50%;
    height: 50%;
}

#nuance-fab-container .nuance-fab-main.fab-init {
    background-color: #232328;
    border-radius: 0px 4px 4px 0px;
    background-position: 10% 43%;
    background-size: 20%;
    cursor: pointer;
    font-size: 17px;
    color: white;
    -webkit-transform: rotate(0deg);
    font-family: XSans, "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-image: url(assets/icons/ic_chat_outline_white.svg);
    background-repeat: no-repeat;
    background-size: 35px;
    background-position: 50% 10%;
    padding-top: 15px;
    margin: 0;
    height: 152px;
    outline: 0;
    padding-top: 40px;
    padding-right: 10px;
    position: relative;
    text-align: center;
    white-space: nowrap;
    width: 56px;
    z-index: 2;
    box-shadow: 0px 0px 8px 0px white, 0px 24px 24px -8px rgba(0, 0, 0, 50%);
    overflow: hidden;
    border: none !important;
    font-weight: 600;
    writing-mode: vertical-rl;
    bottom: 50px;
}

#nuance-fab-container .nuance-fab-main.busy-state {
    display: none;
    animation: none;
    background: #b5b5b3 center no-repeat;
    background-image: linear-gradient(270deg, #848383 0%, #dcdcdc 100%);
    opacity: 0.7;
}

#nuance-fab-container .nuance-fab-main.fab-typing:before {
    background-repeat: none;
    background-size: 130% 100%;
    background-image: url("lotus_typing_white.gif");
}

/* GLISTEN ANIMATION */
/*.nuance-fab-main::after {
    content: '';
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 35%;
    height: 100%;
    transform: translateX(-120px) skew(20deg);
    z-index: 1;
    background: linear-gradient(90deg,transparent,#ffffff71,transparent);
    animation: slide 7s;
    animation-delay: .5s;
}
*/
@keyframes slide {
    0% {transform: translateX(-120px) skew(20deg);}
    25% {transform: translateX(220px) skew(20deg);}
    50% {transform: translateX(-120px) skew(20deg);}
    75% {transform: translateX(220px) skew(20deg);}
    100% {transform: translateX(-120px) skew(20deg);}
}
/* GLISTEN ANIMATION */

#nuance-fab-container .nuance-fab-sub {
    align-items: center;
    display: flex;
    height: 125px;
    padding-left: 8px;
    overflow: hidden;
    width: 280px;
}

/* Hide FAB sub buttons on mobile */
@media (max-height:920px) and (max-width: 500px), (max-width:920px) and (max-height: 500px), (max-height: 647px) {
    #nuance-fab-container .nuance-fab-sub {
        display: none;
        visibility: none;
    }
}

#nuance-fab-container .nuance-fab-sub button {
    align-items: center;
    /*animation: fab-arrival 4s !important;*/
    background: #232328;
    border: 0;
    border-radius: 4px;
    box-shadow: 0px 0px 8px 0px white, 0px 24px 24px -8px rgba(0, 0, 0, 50%);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    font-family: XSans, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0px;
    font-weight: 600;
    height: 48px;
    margin-right: 8px;
    outline: 0;
    overflow: hidden;
    padding-left: 14px;
    position: relative;
    transition: transform .25s ease-out, width .35s ease-out;
    width: 48px;
    white-space: nowrap;
    border: 2px solid transparent;
}

#nuance-fab-container .nuance-fab-sub button.nuance-fab-minimize {
    margin-right: 0;
}

    #nuance-fab-container .nuance-fab-sub button:focus {
        /* border: 2px solid black; */
        outline: 2px solid black;
        outline-offset: 2px;
    }

    #nuance-fab-container .nuance-fab-sub button:hover {
        border: 2px solid black;
        background: black;
    }

    /* #nuance-fab-container .nuance-fab-sub button{
    animation: none;
} */

    #nuance-fab-container .nuance-fab-sub button:not(.fab-init):hover,
    #nuance-fab-container.fab-expand .nuance-fab-sub button {
        font-size: 16px;
        transition: 0s font-size .2s, width .35s ease-out;
        width: 128px;
    }

    #nuance-fab-container .nuance-fab-sub button:before {
        background: url("assets/icons/ic_caret_down_outline_white.svg") no-repeat;
        background-size: cover;
        content: "";
        display: block;
        left: -4px;
        top: -1px;
        position: relative;
        height: 24px;
        width: 24px;
        overflow: hidden;
    }

    #nuance-fab-container .nuance-fab-sub button.nuance-fab-close:before {
        background: url("assets/icons/ic_close_outline_white.svg") no-repeat;
    }

#nuance-fab-container.fab-minimized .nuance-fab-sub button {
    animation-duration: 0s;
    transform: translateX(300%);
    content: "Resume Chat";
}

#nuance-fab-container .badge {
    background-color: #ac4a49;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    text-align: center;
    position: absolute;
    right: -6px;
    top: -6px;
    display: block;
    z-index: 3;
}

    #nuance-fab-container .badge.badge-hidden {
        display: none;
    }

#nuance-fab-container .message-count {
    position: relative;
    display: block;
    color: white;
    font-family: XSans, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    margin: 0;
    top: 25%;
    font-size: 14px;
    line-height: 16px;
    font-weight: 600;
}

.badge.bounce {
    /*animation: bounce 1s ease-out 3;*/
}


@keyframes bounce {
    0%, 100%, 20%, 53%, 80% {
        -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        -webkit-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    40%, 43% {
        -webkit-transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        -webkit-transform: translate3d(0, -15px, 0);
        -ms-transform: translate3d(0, -15px, 0);
        transform: translate3d(0, -15px, 0);
    }

    70% {
        -webkit-transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        -webkit-transform: translate3d(0, -8px, 0);
        -ms-transform: translate3d(0, -8px, 0);
        transform: translate3d(0, -8px, 0);
    }

    90% {
        -webkit-transform: translate3d(0, -4px, 0);
        -ms-transform: translate3d(0, -4px, 0);
        transform: translate3d(0, -4px, 0);
    }
}

@keyframes fab-load {
    0% {
        font-size: 18px;
        width: 148px;
        background-position: left 10px top 10px;
    }

    65% {
        /*color: #000000;*/
        font-size: 18px;
        width: 148px;
        background-position: left 10px top 10px;
    }

    66% {
        font-size: 0;
        color: transparent;
        background-position: left 11px top 10px;
    }

    90% {
        background-position: left 12px top 10px;
    }

    100% {
        width: 64px;
        font-size: 0;
        content: "";
        background-size: 35px;
        background-position: center;
    }
}
@-webkit-keyframes fab-background {
    from {
        background-position: 10% 43%;
    }

    to {
        background-position: center;
    }
}
@keyframes fab-background {
    from {
        background-position: center left;
    }

    to {
        background-position: center;
    }
}

@keyframes fab-arrival {
    from {
        transform: translateX(200%);
        width: 48px;
    }
    1% {
        color: #ffffff;
        font-size: 16px;
    }
    10% {
        transform: translateX(0);
        width: 124px;
    }
    65% {
        color: #ffffff;
        font-size: 16px;
        width: 124px;
    }
    66%{
        color: transparent;
        font-size: 0;
    }
    to {
        width: 48px;
    }
}
/** FAB end **/
