﻿.webchatcontainer {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 16px;
    line-height: normal;
    height: 550px;
    width: 400px;
    max-height: 90%;
    max-width: 90%;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background-color: white;
    border: 0;
    border-radius: 16px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 12px;
    display: flex;
    flex-direction: column;
    z-index: 1010;
    -webkit-transition: 1s ease-in-out;
    -moz-transition: 1s ease-in-out;
    -o-transition: 1s ease-in-out;
    transition: 1s ease-in-out;
    background-color: rgba(240,240,240, 0.8) 
}
    .webchatcontainer form {
        margin-top: 0em;
        margin-block-end: 0em;
    }

#webchat {
    font-family: Calibri, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: normal;
}
    #webchat * {
        font-family: Calibri, "Helvetica Neue", Arial, sans-serif;
    }

.openwebchat {
    width: auto;
    height: auto;
    border: 0;
    background-color: transparent;
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000;
    -webkit-transition: 1s ease-in-out;
    -moz-transition: 1s ease-in-out;
    -o-transition: 1s ease-in-out;
    transition: 1s ease-in-out;
}

.webchat--active {
    opacity: 0;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -o-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
}

.webchat--min {
    opacity: 1;
}

    .chatbox--min {
        -moz-transform: translate(0px, 95vh);
        -webkit-transform: translate(0px, 95vh);
        -o-transform: translate(0px, 95vh);
        -ms-transform: translate(0px, 95vh);
        transform: translate(0px, 95vh);
    }

    .chatbox--fullscreen {
        min-height: 90%;
    }

    #webchat a, #webchat button {
        outline: none;
    }

    #webchat a {
        color: #4dd6b0;
    }

        #webchat a:hover {
            color: #d3d3d3;
            text-decoration: none;
        }


    #webchat p, #webchat ul {
        letter-spacing: 0px;
        line-height: normal;
    }

    .webchatcontainer #webchat, .webchatcontainer #webchat * {
        -webkit-box-sizing: content-box;
        -moz-box-sizing: content-box;
        box-sizing: content-box;
    }

        .webchatcontainer #webchat .row {
            margin: 0;
        }

.webchatcontainer .webchatHeader *,
.webchatcontainer .webchatFooter * {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

.webchatcontainer .webchatFooter {
    width: 100%;
    height: 26px;
    background: rgba(240,240,240, 0.8);
    border-radius: 0 0 16px 16px;
    font-size: 10.4px;
    line-height: 26px;
    text-align: center;
    box-sizing: content-box;
}

        .webchatcontainer .webchatFooter a {
            color: #685d56;
            text-decoration: none;
        }

            .webchatcontainer .webchatFooter a strong {
                color: #4dd6b0;
            }

            .webchatcontainer .webchatFooter a:hover {
                text-decoration: none;
            }

                .webchatcontainer .webchatFooter a:hover strong {
                    color: #2d3691;
                }

    .webchatcontainer .webchatHeader {
        display: flex;
        flex-direction: column;
        background: rgb(45,54,145);
        background: -moz-linear-gradient(135deg, rgba(45,54,145,1) 0%, rgba(77,214,176,1) 100%);
        background: -webkit-linear-gradient(135deg, rgba(45,54,145,1) 0%, rgba(77,214,176,1) 100%);
        background: linear-gradient(135deg, rgba(45,54,145,1) 0%, rgba(77,214,176,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#2d3691",endColorstr="#4dd6b0",GradientType=1);
        border-radius: 16px 16px 0 0;
    }

        .webchatcontainer .webchatHeader .row-operator {
            display: flex;
            height: 80px;
            align-items: center;
            color: #ffffff;
        }

        .webchatcontainer .webchatHeader .confirm-wrapper {
            max-height: 200px;
            transition: all ease-in-out 0.5s;
            
        }

        .webchatcontainer .webchatHeader .confirm-wrapper.hidden {
            max-height:0;
            overflow:hidden;
        }

            .webchatcontainer .webchatHeader .confirm-wrapper .div {
                display: flex;
                align-items: center;
                color: #ffffff;
                justify-content: space-between;
                background-color: #fff0;
                padding: 5px 0;
                overflow:hidden;
            }

                .webchatcontainer .webchatHeader .confirm-wrapper .div .confirm-label {
                    margin-left: 15px;
                    word-break:break-word;
                }
            .webchatcontainer .webchatHeader .confirm-wrapper .div .confirm-actions {
                margin: 0 5px;
                display:flex;
            }

                .webchatcontainer .webchatHeader .confirm-wrapper .div .confirm-btn {
                    color: white;
                    padding: 25px;
                    font-weight: 600;
                    background: none;
                    border: none;
                    cursor: pointer;
                    border-radius: 3px;
                    display: flex;
                    overflow: hidden;
                    transition: ease-in-out all 0.1s;
                    min-height: 35px;
                    max-height: 80px;
                    text-align: center;
                    justify-content: center;
                    align-items: center;
                    word-break:break-word;
                    min-width:90px;
                    margin: 4px;
                    box-shadow: 1px 3px red 5px;
                    box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
                }

                .webchatcontainer .webchatHeader .confirm-wrapper .div .confirm-btn.confirm-yes:hover {
                    background: #b8efb6d6 !important;
                }
                .webchatcontainer .webchatHeader .confirm-wrapper .div .confirm-btn.confirm-no:hover {
                    background: #efdbb6d6 !important;
                }

.webchatcontainer .webchatHeader .logo {
    width: 60px;
    height: 60px;
    margin-left: 10px;
    margin-right: 10px;
    flex: none;
    background: url('images/logo_roger365.png') center center no-repeat;
}

        .webchatcontainer .webchatHeader .chat-operator {
            color: white;
            font-weight: bold;
            font-size: 16px;
            line-height: normal;
            display: flex;
            flex-direction: column;
            flex: 1;
        }

            .webchatcontainer .webchatHeader .chat-operator .mute {
                font-size: 12px;
                font-weight: 400;
                line-height: 12px;
            }

        .webchatcontainer .webchatHeader .actions {
            margin-right: 16px;
            display: flex;
        }

        .webchatcontainer .webchatHeader button.minimizechat,
        .webchatcontainer .webchatHeader button.soundtoggle,
        .webchatcontainer .webchatHeader button.closechat,
        .webchatcontainer .webchatHeader button.fullscreen-min,
        .webchatcontainer .webchatHeader button.fullscreen-plus {
            padding: 0;
            margin: 0;
            border: 0;
            background: transparent;
            cursor: pointer;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            transition: all 110ms ease-in;
            outline: none;
            background-position: center center;
            background-repeat: no-repeat;
        }
        .webchatcontainer .webchatHeader button.fullscreen-plus {
            background-size: 20px;
            background-image: url('images/fullscreen-plus.png');
        }
        .webchatcontainer .webchatHeader button.fullscreen-min {
            background-size:20px;
            background-image: url('images/fullscreen-min.png');
        }
        .webchatcontainer .webchatHeader button.minimizechat {
            background-size:20px;
            background-image: url('images/minimize.png');
        }
        .webchatcontainer .webchatHeader button.closechat {
            background-size: 20px;
            background-image: url('images/close.png');
        }
        .webchatcontainer .webchatHeader button.soundtoggle {
            background-size: 20px;
            background-image: url('images/volume_on.png');
        }
            .webchatcontainer .webchatHeader button.soundtoggle.mute {
                background-size: 20px;
                background-image: url('images/volume_off.png');
            }

        .webchatcontainer .webchatHeader button:hover {
            background-color: rgba(255, 255, 255, 0.15);
        }

        .webchatcontainer label{
            display: block;
            margin-bottom: 0.5rem;
        }
        
.webchatcontainer .react-film__filmstrip__list {
    flex-wrap: wrap;
}

.webchatcontainer .formInput-control {
    display: inline-block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    font-size: 13px;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    box-sizing: border-box;
}

.webchatcontainer input.formInput-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(128, 189, 255, 0.25);
    outline: 0 none;
}

.webchat__bubble__content .webchat__fileContent__buttonLink .webchat__fileContent__fileName {
    color: white;
}

.webchat__bubble__content .webchat__fileContent__buttonLink .webchat__fileContent__downloadIcon {
    padding: 0;
    fill: white;
}
/* START status messages */
.webchatcontainer #webchatstatusmsg {
    color: #ffffff;
    padding: 10px 16px 16px 48px;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 14px;
    line-height: 19px;
    position: relative;
    background: rgb(45,54,145);
    background: -moz-linear-gradient(135deg, rgba(45,54,145,0.72) 0%, rgba(77,214,176,0.72) 100%);
    background: -webkit-linear-gradient(135deg, rgba(45,54,145,0.72) 0%, rgba(77,214,176,0.72) 100%);
    background: linear-gradient(135deg, rgba(45,54,145,0.72) 0%, rgba(77,214,176,0.72) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#2d3691",endColorstr="#4dd6b0",GradientType=1);
}

        .webchatcontainer #webchatstatusmsg:after {
            content: '';
            position: absolute;
            height: 15px;
            width: 100%;
            bottom: -8px;
            left: 0px;
            background-image: url('images/wave.svg');
        }

        .webchatcontainer #webchatstatusmsg:before {
            content: '';
            width: 24px;
            height: 24px;
            position: absolute;
            left: 15px;
            top: 10px;
        }

        .webchatcontainer #webchatstatusmsg.on:not(:empty):before {
            background-image: url('images/support_on.png');
        }

        .webchatcontainer #webchatstatusmsg.off:not(:empty):before {
            background-image: url('images/support_off.png');
        }
/* END status messages */

/* START new message indicator */
.bubbleWrap_message {
    position: absolute;
    top: 3px;
    right: 2px;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 12px;
    text-align: center;
    color: #fff;
    background: #ba3b21;
    border-radius: 50%;
    min-width: 20px;
    min-height: 20px;
    line-height: 18px;
    opacity: 0;
    pointer-events: none !important;
    z-index: 1002;
}

    .bubbleWrap_message.active {
        opacity: 1;
        pointer-events: auto;
        -webkit-animation: flash 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both; /* Safari 4+ */
        -moz-animation: flash 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both; /* Fx 5+ */
        -o-animation: flash 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both; /* Opera 12+ */
        animation: flash 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
    }

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}


/* WebchatForm*/
#webchatForm {
    margin: 20px;
    border-radius: 15px;
    border: solid 1px grey;
    display: flex;
    flex-direction: column;
    background-color: rgb(240, 240, 240);
}

    #webchatForm .message {
        padding: 10px;
        margin-bottom: 5px;
        background: rgb(45,54,145);
        background: -moz-linear-gradient(135deg, rgba(45,54,145,1) 0%, rgba(77,214,176,1) 100%);
        background: -webkit-linear-gradient(135deg, rgba(45,54,145,1) 0%, rgba(77,214,176,1) 100%);
        background: linear-gradient(135deg, rgba(45,54,145,1) 0%, rgba(77,214,176,1) 100%);
        color: white;
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
        font-size: 14px;
    }

    #webchatForm .button {
        align-self: center;
        margin-top:auto;
        margin-bottom: 10px;
        font-size: 14px;
        padding: 6px 12px;
        color: white;

        display: inline-block;
        text-decoration: none;
        text-align: center;
        white-space: nowrap;
        vertical-align: middle;
        -ms-touch-action: manipulation;
        touch-action: manipulation;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        background-image: none;
        border: 1px solid transparent;
        border-radius: 5px;
        background-color: #4dd6b0;
    }

    #webchatForm .formInput{
        margin: 0px 10px;
    }

    #webchatForm .errormessage{
        font-size: 12px;
        margin: 5px 0px 0px 15px;
        color: red;
    }

    @-webkit-keyframes flash {
        from, 50%, to {
        opacity: 1;
    }

    25%, 75% {
        opacity: 0;
    }
}

@-moz-keyframes flash {
    from, 50%, to {
        opacity: 1;
    }

    25%, 75% {
        opacity: 0;
    }
}

@-o-keyframes flash {
    from, 50%, to {
        opacity: 1;
    }

    25%, 75% {
        opacity: 0;
    }
}

@keyframes flash {
    from, 50%, to {
        opacity: 1;
    }

    25%, 75% {
        opacity: 0;
    }
}

.flash {
    -webkit-animation-name: flash;
    -moz-animation-name: flash;
    -o-animation-name: flash;
    animation-name: flash;
}
/* END new message indicator */

@media only screen and (max-width: 600px) {
    .webchatcontainer {
        right: 5%;
        bottom: 5%;
    }
}

@media only screen and (max-width: 500px) {
    .webchatcontainer {
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
    }
        .webchatcontainer .fullscreen-plus{
            display: none;
        }

    .chatbox--min {
        -moz-transform: translate(0px, 100vh);
        -webkit-transform: translate(0px, 100vh);
        -o-transform: translate(0px, 100vh);
        -ms-transform: translate(0px, 100vh);
        transform: translate(0px, 100vh);
    }
}

@media (print), (prefers-reduced-motion: reduce) {
    .animated {
        -webkit-animation-duration: 1ms !important;
        animation-duration: 1ms !important;
        -webkit-transition-duration: 1ms !important;
        transition-duration: 1ms !important;
        -webkit-animation-iteration-count: 1 !important;
        animation-iteration-count: 1 !important;
    }
}

 