:root {
    --fchat-header-background-color: #319ed7;
    --fchat-header-text-color: #fff
}

.fchat-button-container {
    outline: none !important;
    visibility: visible !important;
    resize: none !important;
    box-shadow: none !important;
    overflow: visible !important;
    background: none !important;
    opacity: 1 !important;
    filter: alpha(opacity=100) !important;
    -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity 1})' !important;
    -mz-opacity: 1 !important;
    -khtml-opacity: 1 !important;
    top: auto !important;
    right: 20px !important;
    bottom: 20px !important;
    left: auto !important;
    position: fixed !important;
    border: 0 !important;
    min-height: 60px !important;
    min-width: 64px !important;
    max-height: 60px !important;
    max-width: 64px !important;
    padding: 0 !important;
    margin: 0 !important;
    -moz-transition-property: none !important;
    -webkit-transition-property: none !important;
    -o-transition-property: none !important;
    transition-property: none !important;
    transform: none !important;
    -webkit-transform: none !important;
    -ms-transform: none !important;
    width: 64px !important;
    height: 60px !important;
    z-index: 1000001 !important;
    background-color: transparent !important;
    float: none !important;
    border-radius: unset !important;
    pointer-events: auto !important;
    clip: auto !important;
    color-scheme: light !important;
}

@media screen and (min-width: 501px) {
    .fchat-chat-container {
        outline: none !important;
        visibility: visible !important;
        resize: none !important;
        box-shadow: none !important;
        overflow: visible !important;
        background-color: white;
        opacity: 1 !important;
        filter: alpha(opacity=100) !important;
        -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity 1})' !important;
        -mz-opacity: 1 !important;
        -khtml-opacity: 1 !important;
        top: auto !important;
        right: 10px !important;
        bottom: 90px !important;
        left: auto !important;
        position: fixed !important;
        border: 0 !important;
        min-width: 450px !important;
        max-height: 620px !important;
        max-width: 450px !important;
        padding: 0 !important;
        margin: 0 !important;
        -moz-transition-property: none !important;
        -webkit-transition-property: none !important;
        -o-transition-property: none !important;
        transition-property: none !important;
        transform: none !important;
        -webkit-transform: none !important;
        -ms-transform: none !important;
        width: 450px !important;
        z-index: 1000002 !important;
        background-color: transparent !important;
        float: none !important;
        border-radius: 5px !important;
        pointer-events: auto !important;
        clip: auto !important;
        color-scheme: light !important;
    }
}

@media screen and (max-width: 500px) {
    .fchat-chat-container {
        outline: none !important;
        visibility: visible !important;
        resize: none !important;
        box-shadow: none !important;
        overflow: visible !important;
        background-color: white;
        opacity: 1 !important;
        filter: alpha(opacity=100) !important;
        -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity 1})' !important;
        -mz-opacity: 1 !important;
        -khtml-opacity: 1 !important;
        top: auto !important;
        right: 10px !important;
        bottom: 90px !important;
        left: auto !important;
        position: fixed !important;
        border: 0 !important;
        min-width: 300px !important;
        max-height: 620px !important;
        max-width: 300px !important;
        padding: 0 !important;
        margin: 0 !important;
        -moz-transition-property: none !important;
        -webkit-transition-property: none !important;
        -o-transition-property: none !important;
        transition-property: none !important;
        transform: none !important;
        -webkit-transform: none !important;
        -ms-transform: none !important;
        width: 300px !important;
        z-index: 1000002 !important;
        background-color: transparent !important;
        float: none !important;
        border-radius: 5px !important;
        pointer-events: auto !important;
        clip: auto !important;
        color-scheme: light !important;
    }
}


.fchat-min-container {
    position: relative
}

.fchat-min-container,.fchat-min-container .fchat-button {
    height: 100%;
    width: 100%
}

.fchat-min-container .fchat-button-circle.fchat-button-large {
    width: 60px;
    height: 60px
}


.fchat-badge,.fchat-button {
    box-sizing: border-box;
    vertical-align: middle;
    text-align: center
}

.fchat-button {
    margin: 0;
    border-radius: 5px;
    overflow: hidden;
    font: inherit;
    color: inherit;
    text-transform: none;
    display: inline-block;
    padding: .5rem 1rem;
    font-size: 1rem;
    border: 1px solid #1f6885;
    border-color: var(--fchat-header-background-color);
    line-height: 1.5rem;
    text-decoration: none;
    background-color: #1f6885;
    background-color: var(--fchat-header-background-color);
    color: #fff;
    color: var(--fchat-header-text-color)
}

.fchat-button:not(:disabled) {
    cursor: pointer
}

.fchat-button:disabled {
    cursor: not-allowed;
    opacity: .7
}

.fchat-button::-moz-focus-inner {
    border: 0;
    padding: 0
}

.fchat-button:hover,a.fchat-button:hover {
    text-decoration: none
}

a.fchat-button:hover {
    color: #fff;
    color: var(--fchat-header-text-color)
}

.fchat-button:active,.fchat-button:focus {
    outline: 0;
    -webkit-tap-highlight-color: transparent
}

.fchat-button-success {
    background-color: #1f6885;
    color: #fff;
    border: 1px solid #1f6885
}

.fchat-button-danger {
    background-color: #f0505c;
    color: #fff;
    border: 1px solid #f0505c
}

.fchat-button-outline,a.fchat-button-outline:hover {
    background-color: #fff;
    background-color: var(--fchat-header-text-color);
    color: #1f6885;
    color: var(--fchat-header-background-color);
    border-color: #1f6885;
    border-color: var(--fchat-header-background-color)
}

.fchat-button-outline:hover {
    color: var(--fchat-header-text-color);
    background-color: var(--fchat-header-background-color)
}

.fchat-button-outline-success {
    color: #1f6885;
    border: 1.5px solid #1f6885
}

.fchat-button-outline-danger {
    color: #f0505c;
    border: 1.5px solid #f0505c
}

.fchat-button-dashed {
    border-style: dashed;
    background-color: #fff;
    color: #1f6885;
    color: var(--fchat-header-background-color)
}

.fchat-button-small {
    padding: .25rem 1rem;
    line-height: 1.5rem;
    font-size: .812rem
}

.fchat-button-large {
    padding: 1rem 2rem;
    line-height: 1.5rem;
    font-size: .937rem
}

.fchat-button-rounded {
    border-radius: 2.5rem
}

.fchat-button-small.fchat-button-rounded {
    border-radius: 1.875rem
}

.fchat-button-large.fchat-button-rounded {
    border-radius: 2.5rem
}

.fchat-button-text {
    padding: 0;
    line-height: 1.618;
    background: 0 0;
    border: none
}

.fchat-button-text,.fchat-button-text:focus,.fchat-button-text:hover {
    color: #1f6885;
    color: var(--fchat-header-background-color)
}

.fchat-button-text:active,.fchat-button-text:focus {
    outline: 0;
    -webkit-tap-highlight-color: transparent
}

.fchat-button-text:disabled {
    color: #92929e!important;
    cursor: not-allowed;
    outline: none
}

.fchat-button-group {
    display: -ms-inline-flexbox;
    display: inline-flex;
    vertical-align: middle;
    position: relative
}

.fchat-button-circle {
    height: 2.5rem;
    width: 2.5rem;
    line-height: 2.5rem;
    padding: 0;
    border-radius: 100%
}

.fchat-button-circle.fchat-button-small {
    height: 1.625rem;
    width: 1.625rem;
    line-height: 1.625rem
}

.fchat-button-circle.fchat-button-large {
    height: 3.75rem;
    width: 3.75rem;
    line-height: 3.75rem
}

.fchat-button-dashed .fchat-button-color-inverse,.fchat-button-outline .fchat-button-color-inverse {
    color: #fff;
    color: var(--fchat-header-text-color);
    border-color: #fff;
    border-color: var(--fchat-header-text-color)
}

.fchat-button-text.fchat-button-color-inverse,.fchat-button-text.fchat-button-color-inverse:focus,.fchat-button-text.fchat-button-color-inverse:hover {
    color: #fff;
    color: var(--fchat-header-text-color)
}

.fchat-min-chat-icon {
    fill: #fff;
    fill: var(--fchat-header-text-color);
    animation-duration: .25s;
    animation-name: iconAnimation
}

@keyframes iconAnimation {
    0% {
        opacity: 0;
        transform: scale(.5)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

.fchat-badge {
    height: 1.25rem;
    width: 1.25rem;
    font-size: .687rem;
    line-height: 1.25rem;
    background: #bf1212;
    color: #fff;
    border-radius: 50%
}

.fchat-badge.fchat-min-badge {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1100
}

body.fchat-rtl .fchat-badge.fchat-min-badge {
    right: auto;
    left: 0
}


.fchat-max-container {
    position: relative;
    box-sizing: border-box;
    height: 100%;
    overflow: hidden;
    border: 1px solid #999999;
    background-color: whitesmoke;
}

.fchat-max-container.fchat-no-toolbar-elements .slide-fade-leave-active .fchat-chat-panel:before {
    visibility: hidden
}

.fchat-max-container.fchat-no-toolbar-elements .fchat-main-panel .fchat-chat-panel:before {
    content: " ";
    position: fixed;
    top: 1rem;
    left: 1px;
    right: 1px;
    height: calc(29px + 1rem);
    width: auto
}


.fchat-message-remote {
    position: relative;
    left: 10px;
}

.fchat-message-remote  .fchat-message-text {
    margin-left: 10px; 
    padding: 10px 20px 10px 10px; 
    border-radius: 5px 5px 5px 0px; 
    background-color: #cbcbcb;
    max-width: calc(100% - 70px)
}

.fchat-message-remote  .fchat-message-author {
    font-size: 0.6rem;
    font-style: italic;
    padding: 3px 0 0 20px;
}

.fchat-message-local {
    width: 100%; 
    padding-left: 25px;
}

.fchat-message-local  .fchat-message-text {
    margin-left: 10px; 
    padding: 10px 10px 10px 10px; 
    border-radius: 5px 5px 0px 5px; 
    background-color: #54bff8;
    max-width: calc(100% - 65px);
}

.fchat-message-local  .fchat-message-author {
    font-size: 0.6rem;
    font-style: italic;
    padding: 3px 0 0 20px;
}

.fchat-message-local::nth-child(n+1) {
    margin-top: 25px;
}

.fchat-message-remote::nth-child(n+1) {
    margin-top: 25px;
}

