﻿/* Scrollbar
-----------------------------------------------------------*/
#CHATBOT {
    font-family: 'Roboto', sans-serif;
}

    #CHATBOT h2 {
        color: unset !important;
        font-size: 2.0em !important;
        font-weight: 600;
        line-height: 1em !important;
        padding: unset !important;
        margin-bottom: unset !important;
    }
    #CHATBOT h3 {
        color: unset !important;
        font-size: 1.5rem !important;
        font-weight: 600;
        line-height: 1em !important;
        padding: unset !important;
        margin-bottom: unset !important;
    }

#CHATBOT section {
    padding: unset !important;
    overflow: unset !important;
    background-color: unset !important;
    border-bottom: unset !important;
}
/* width */
#CHATBOT ::-webkit-scrollbar {
    width: 10px !important;
    /*width: unset !important;*/
}

/* Track */
#CHATBOT ::-webkit-scrollbar-track {
    background: #FFFFFF;
    /*background: unset !important;*/
}

/* Handle */
    #CHATBOT ::-webkit-scrollbar-thumb {
        background: #0186BC;
        /*background: unset !important;*/
    }

    /* Handle on hover */
    #CHATBOT ::-webkit-scrollbar-thumb:hover {
        background: #0162CC;
        /*background: unset !important;*/
    }




/* end scrollbar
-----------------------------------------------------------*/



/* General ChatBot PopUp Styles 
-----------------------------------------------------------*/

#webchat, #webchat_sideMount {
    height: 400px;
    width: 100%;
    margin-top: 60px;
    border-radius: 0px 0px 15px 15px !important;
}

/* Add styles to the header used to hide the API header */
.chat-header-overlay {
    background-color: #253746;
    color: white;
    width: 100%;
    height: 80px;
    position: absolute;
    z-index: 200;
}

.chat-header-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
}

.chat-header-title {
    color: white;
    font-family: 'Roboto', sans-serif;
    position: absolute;
    top: 10px;
    left: 60px;
    font-size: 16px;
}

.chat-header-case-title {
    color: #0186BC;
    font-family: 'Roboto', sans-serif;
    position: absolute;
    top: 44px;
    left: 60px;
    font-size: 12px;
    width: 190px;
    line-height: 12px;
}

/* Add styles overrides to the standard open-iconic close class */
.chat-header-close-button {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    color: white !important;
}



/* SIDEMOUNT ChatBot Container Styles 
-----------------------------------------------------------*/

.open-button-sideMountSurround {
    position: fixed;
    background-color: #FFFFFF;
    border: none !important;
    outline: none !important;
    cursor: pointer;
    top: 275px;
    right: 0px;
    height: 90px;
    width: 100px;
    border-radius: 45px 0px 0px 45px;
    box-shadow: 0 6px 18px 0 #424A531F, 0 6px 18px 0 #424A531F !important;
    z-index: 10;
}

.open-button-sideMount {
    position: absolute !important;
    background-color: transparent;
    border: none !important;
    outline: none !important;
    cursor: pointer;
    position: fixed;
    top: 10px;
    right: 20px;
    height: 70px;
    width: 70px;
    border-radius: 35px;
}

    /* Add some hover effects to buttons */
    .open-button-sideMount:hover {
        box-shadow: 0 0 15px #0186BC;
    }

.chatBot-sideMount-toolTip {
    display: none;
    position: absolute;
    background-color: #253746;
    color: #FFFFFF;
    height: auto;
    width: 240px;
    bottom: 95px;
    right: 60px;
    font-size: 15px;
    line-height: 16px;
    font-family: sans-serif, Verdana;
    border-radius: 15px;
    padding: 15px 15px 15px 15px;
    z-index: 20;
}
.chatBot-sideMount-toolTip p {
    margin: 0px;
}

    .chatBot-sideMount-toolTip:before {
        content: "";
        width: 0px;
        height: 0px;
        position: absolute;
        border-left: 10px solid transparent;
        border-right: 10px solid #253746;
        border-top: 10px solid #253746;
        border-bottom: 10px solid transparent;
        right: 15px;
        bottom: -16px;
    }

.chatBot-sideMount-toolTip-close-button {
    position: absolute !important;
    display: block !important;
    color: white !important;
    right: -3px;
    top: -8px;
    width: 22.5px;
    height: 22.5px;
    z-index: 40;
    opacity: 1 !important;
}

    .chatBot-sideMount-toolTip-close-button:hover {
        opacity: 1 !important;
        color: rgb(230, 230, 230) !important;
    }

.oi-circle-x::before {
    width: 22.5px;
    height: 22.5px;
    border-radius: 50%;
    border: 4px solid #253746 !important;
    background-color: #253746 !important;
    opacity: 1 !important;
}
/*.chatBot-sideMount-toolTip-close-button-surround {
    position: absolute !important;
    display: block !important;
    right: -10px;
    top: -10px;
    width: 30px;
    height: 30px;
    z-index: 30;
    border: 0px solid #253746 !important;
    background-color: #253746 !important;
    border-radius: 15px;
}*/

/* The SIDEMOUNT popup chat - hidden by default */
.chat-popup-container-sideMount {
    display: none;
    position: fixed;
    width: 300px;
    top: 275px;
    right: 30px;
    background-color: white;
    z-index: 9;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    box-shadow: 0 6px 18px 0 #424A531F, 0 6px 18px 0 #424A531F !important;
    overflow: hidden !important;
}

/* Sizing for smaller / mobile screens */
@media only screen and (max-width: 767px) {

    .open-button-sideMountSurround {
        top: auto;
        bottom: 20px !important;
        position: fixed !important;
        right: 0px;
        height: 60px;
        width: 65px;
        border-radius: 30px 0px 0px 30px;
    }

    .open-button-sideMount {
        top: 5px;
        right: 10px;
        height: 50px;
        width: 50px;
        border-radius: 25px;
    }

    .chatBot-sideMount-toolTip {
        height: auto;
        width: 240px;
        bottom: 65px;
        right: 38px;
        font-size: 15px;
        line-height: 16px;
        border-radius: 15px;
        padding: 15px 15px 15px 15px;
    }

        .chatBot-sideMount-toolTip:before {
            position: absolute;
            border-left: 10px solid transparent;
            border-right: 10px solid #253746;
            border-top: 10px solid #253746;
            border-bottom: 10px solid transparent;
            right: 15px;
            bottom: -15px;
        }

    .chat-popup-container-sideMount {
        top: 275px;
        right: 15px;
    }
}

@media only screen and (max-height: 750px) {

    .chat-popup-container-sideMount {
        position: fixed;
        top: 90px !important;
        height: 75vh !important;
        max-width: 90vw !important;
    }

    #webchat, #webchat_sideMount {
        height: 100% !important;
        padding-bottom: 70px !important;
    }

    .webchat__send-box {
        max-height: 50px !important;
        min-height: 50px !important;
    }

    /*.open-button-sideMount {
        top: 5px;
        right: 10px;
        height: 50px;
        width: 50px;
        border-radius: 25px;
    }

    .chatBot-sideMount-toolTip {
        height: auto;
        width: 240px;
        bottom: 65px;
        right: 38px;
        font-size: 15px;
        line-height: 16px;
        border-radius: 15px;
        padding: 15px 15px 15px 15px;
    }

        .chatBot-sideMount-toolTip:before {
            position: absolute;
            border-left: 10px solid transparent;
            border-right: 10px solid #253746;
            border-top: 10px solid #253746;
            border-bottom: 10px solid transparent;
            right: 15px;
            bottom: -15px;
        }

    .chat-popup-container-sideMount {
        top: 275px;
        right: 15px;
    }*/
}



/* FIXED BOTTOM CORNER ChatBot Container Styles 
-----------------------------------------------------------*/

/* Button used to open the chat form - fixed at the bottom of the page */
.open-button-bottom-corner {
    background-color: transparent;
    border: none !important;
    outline: none !important;
    cursor: pointer;
    position: fixed;
    bottom: 30px;
    right: 30px;
    height: 70px;
    width: 70px;
    border-radius: 35px;
}

    /* Add some hover effects to buttons */
    .open-button-bottom-corner:hover {
        box-shadow: 0 0 15px #0186BC;
        transform: translateY(-10px);
    }

.chatIconAnimation {
    -webkit-transition: all .2s linear;
    -o-transition: all .2s linear;
    -moz-transition: all .2s linear;
    transition: all .2s linear;
}

/* The popup chat - hidden by default */
.chat-popup-container {
    display: none;
    position: fixed;
    width: 300px;
    bottom: 30px;
    right: 30px;
    background-color: white;
    z-index: 9;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    box-shadow: 0 6px 18px 0 #424A531F, 0 6px 18px 0 #424A531F !important;
    overflow: hidden !important;
}

/* Sizing for smaller / mobile screens */
@media only screen and (max-width: 480px) {
    .open-button-bottom-corner {
        bottom: 30px;
        right: 30px;
        height: 50px;
        width: 50px;
        border-radius: 25px;
    }

    .chat-popup-container {
        bottom: 15px;
        right: 15px;
    }
}

[chat-tooltip] {
    /*position: relative;*/
}

    [chat-tooltip]:before {
        /* hides the tooltip when not hovered */
        /*display: none;*/
        transform: scale(0);
        content: '';
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid rgb(230, 230, 230);
        border-radius: 0px;
        position: absolute;
        top: -40px;
        left: 28px;
        z-index: 8;
        font-size: 0;
        line-height: 0;
        width: 0;
        height: 0;
    }

    [chat-tooltip]:after {
        /*display: none;*/
        transform: scale(0);
        content: attr(chat-tooltip);
        position: absolute;
        top: -60px;
        left: -80px;
        height: 40px;
        width: 150px;
        padding: 5px 8px;
        background: rgb(243, 245, 245);
        border: 1px solid rgb(230, 230, 230);
        color: black;
        z-index: 9;
        line-height: 30px;
        text-align: center;
        vertical-align: central;
        -webkit-border-radius: 15px;
        -moz-border-radius: 15px;
        border-radius: 15px;
        white-space: nowrap;
        word-wrap: normal;
    }


    [chat-tooltip]:hover:after {
        /*display: block;*/
        transform: scale(1);
        -webkit-transition: all .1s linear;
        -o-transition: all .1s linear;
        -moz-transition: all .1s linear;
        transition: all .1s linear;
    }

    [chat-tooltip]:hover:before {
        /*display: block;*/
        transform: scale(1);
        -webkit-transition: all .2s linear;
        -o-transition: all .2s linear;
        -moz-transition: all .2s linear;
        transition: all .2s linear;
        transform: translateY(20px);
    }


/* ChatBot API Styles 
-----------------------------------------------------------*/
/* These styles are specific to elements generated by the API */


.webchat__send-box {
    padding: 0px 10px 10px 10px !important;
    box-sizing: border-box;
    border-radius: 0px 0px 15px 15px !important;
}

.webchat__bubble--from-user {
    border-radius: 16px !important;
    margin-right: 8px;
    background: linear-gradient(92deg, #0086BC 9.82%, #00435E 197.19%) !important;
    padding: 0 !important;
    border: none !important;
}

    .webchat__bubble--from-user > * {
        background: transparent !important;
        color: #FFFFFF !important;
        margin: 0 !important;
        padding-left: 3px !important;
        border: none !important;
    }

.webchat__basic-transcript {
    padding-bottom: 10px !important;
    margin-top: 20px;

}


.webchat__send-box__main {
    border-top: 1px solid #99DCF7 !important;
    padding-top: 10px !important;
}

.webchat__send-box__button {
    background-color: #99DCF7 !important;
    border: none !important;
    border-radius: 8px !important;
    color: #000000 !important;
    padding: 10px 20px !important;
    width: 64px !important;
    cursor: pointer !important;
    font-size: 12px !important;
    font-weight: bold !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

    .webchat__send-box__button:before {
        /*content: "Send";*/
        display: block;
    }

.webchat__send-box__button-en:before {
    content: "Send";
}

.webchat__send-box__button-fr:before {
    content: "Envoyer";
}

    .webchat__send-box__button svg {
        display: none !important;
    }

    .webchat__send-box__button:hover {
        background-color: #0186BC !important;
    }

.webchat__icon-button__shade {
    display: none;
}

/* end ChatBot API Styles 
-----------------------------------------------------------*/

/* ChatBot BOUNCE Styles
-----------------------------------------------------------*/

.bounce {
    -webkit-animation: bounce 10s infinite;
    animation: bounce 10s infinite;
}

@-webkit-keyframes bounce {
    0%, 2%, 6%, 10%, 100% {
        -webkit-transform: translateY(0);
    }

    4% {
        -webkit-transform: translateY(-30px);
    }

    8% {
        -webkit-transform: translateY(-15px);
    }
}

@-moz-keyframes bounce {
    0%, 2%, 6%, 10%, 100% {
        -moz-transform: translateY(0);
    }

    4% {
        -moz-transform: translateY(-30px);
    }

    8% {
        -moz-transform: translateY(-15px);
    }
}

@keyframes bounce {
    0%, 2%, 6%, 10%, 100% {
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }

    4% {
        -webkit-transform: translateY(-30px);
        -moz-transform: translateY(-30px);
        -ms-transform: translateY(-30px);
        -o-transform: translateY(-30px);
        transform: translateY(-30px);
    }

    8% {
        -webkit-transform: translateY(-15px);
        -moz-transform: translateY(-15px);
        -ms-transform: translateY(-15px);
        -o-transform: translateY(-15px);
        transform: translateY(-15px);
    }
}
/* end ChatBot BOUNCE Styles
-----------------------------------------------------------*/
