﻿
/* ///////////////////////////////////// INITIAL IMAGE CLASS ///////////////////////////////////// */

/*  Chat Image */

.ChatLinkImage {
    background-image: url('../images/LetsChat.jpg');
    background-repeat: no-repeat;
    background-position: top left;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

/* ///////////////////////////////////// CUSTOMER FORM PANEL CLASSES ///////////////////////////////////// */

.NameSection {
}

.EmailSection {
}

.HowDidYouKnowSection {
}

.DepartmentSection {
}

.AsteriskColor {
    color: red !important;
}

/* Form Minimize Icon Image */

.FormWindowMinimizeImage {
    display: block; /*display: none;*/
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    background-image: url('../images/minimize.png');
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

/* Form Close Icon Image */

.FormWindowCloseImage {
    display: none; /*display: none;*/
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    background-image: url('../images/close.png');
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

/* Customer Form Logo Image */

.FormWindowLogoImage {
    display: none; /*display: none;*/
    width: 100%;
    height: 150px;
    margin: 0;
    padding: 0;
    background-image: url('../images/shiseido_chat_logo.jpg');
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

/*  Customer Form Panel */

.FormWindowFrame {
    background-color: white;
    border: 1px solid gray;
    width: 400px;
    padding: 10px;
}

/*  Let's chat button */

.StartChatButton {
    width: 200px;
    color: white;
    font-size: 12pt;
    background-color: #8bc53f;
    border: 1px solid #8bc53f;
}

/* //////////// Controls Type Classes //////////// */

/* All Labels */
.FormWindowLabel {
    font-size: 12pt !important;
}

/* All TextBoxes */
.FormWindowTextBox {
    font-size: 12pt !important;
}

/* All ComboBoxes */
.FormWindowComboBox {
    font-size: 12pt !important;
}

/* All validation controls */
.FormWindowValidation {
}

/* ////////////////////// Specific Label/TextBox classes ////////////////////// */

.LanguageLabel {
}

.LanguageComboBox {
}

.NameLabel {
}

.NameTextBox {
}

.EmailLabel {
}

.EmailTextBox {
}

.HowDidYouKnowLabel {
}

.HowDidYouKnowComboBox {
}

.DepartmentLabel {
}

.DepartmentComboBox {
}

.FirstMessageLabel {
}

.FirstMessageTextBox {
}

/* ////////////////////// Social Links Classes ////////////////////// */

.FormSocialLinksPanel {
    display: block;
}

    .FormSocialLinksPanel table {
        width: 200px;
        text-align: center;
        margin-right: auto;
        margin-left: auto;
    }


.Width33Percent {
    width: 33% !important;
}


.FormChatGooglePlusLink {
    display: block;
    width: 27px !important;
    height: 27px !important;
    float: left;
    margin: 0 0 0 20px;
    padding: 0;
    background-image: url('../images/google.png');
    background-repeat: no-repeat;
    background-position: left top;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.FormChatTwiterLink {
    display: block;
    width: 27px !important;
    height: 27px !important;
    float: left;
    margin: 0 0 0 20px;
    padding: 0;
    background-image: url('../images/Twitter.png');
    background-repeat: no-repeat;
    background-position: left top;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.FormChatFacebookLink {
    display: block;
    width: 27px !important;
    height: 27px !important;
    float: left;
    margin: 0 0 0 20px;
    padding: 0;
    background-image: url('../images/facebook.png');
    background-repeat: no-repeat;
    background-position: left top;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

/* ///////////////////////////////////// CHAT PANEL CLASSES ///////////////////////////////////// */

.ChatWindowMinimizeImage {
    display: block; /*display: none;*/
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    background-image: url('../images/minimize.png');
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.ChatWindowCloseImage {
    display: block; /*display: none;*/
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    background-image: url('../images/close.png');
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.ChatPanelFrame {
    background-color: white;
    /*background-color: #d8d4ce;*/
    width: 400px;
    height: 600px;
}

.ChatPanelContent {
    border: 1px solid gray;
    width: 100%;
    height: 600px;
    z-index: 2;
    opacity: 1;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.ChatWindowMessagesPanel {
}

/*--------------------
Chat Window Head
--------------------*/
.ChatWindowHead {
    position: relative;
    z-index: 2;
    background: white;
    /*background: #d8d4ce;*/
    color: black;
    text-align: left;
    padding: 10px 10px 0px 10px;
}

    .ChatWindowHead h1, .ChatWindowHead h2 {
        font-weight: normal;
        font-size: 10px;
        margin: 0;
        padding: 0;
    }

    .ChatWindowHead h2 {
        color: rgba(255, 255, 255, 0.5);
        font-size: 8px;
        letter-spacing: 1px;
    }

    .ChatWindowHead .avatar {
        position: absolute;
        z-index: 1;
        top: 8px;
        left: 9px;
        border-radius: 30px;
        width: 30px;
        height: 30px;
        margin: 0;
        padding: 0;
        border: 2px solid rgba(255, 255, 255, 0.24);
    }

        .ChatWindowHead .avatar img {
            width: 100%;
            height: auto;
        }

.AgentTyping {
    font-size: 8pt;
    color: darkgoldenrod;
}


/* All Labels In Chat Window */
.ChatWindowLabel {
    font-size: 12pt;
    font-weight: 400;
}


.SupportAgentName {
    display: block; /*  display:none; */
}

.SupportAgentNameDescription {
    font-size: 12pt;
}

.SendMessageButton {
    width: 40px !important;
    height: 40px !important;
    float: left;
    display: block;
    margin: 0 0 0 5px;
    padding: 0;
    background-image: url('../images/send_cicilink.png');
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.MessageTextBox {
    color: dimgray;
    border: none;
    padding: 5px;
    width: 100%;
    font-size: 11pt;
    font-weight: 300;
}

.NoAgentsMessage {
    width: 300px;
    margin-top: 60px;
    margin-bottom: 70px;
}



.ChatSocialLinksPanel {
    display: block;
}

    .ChatSocialLinksPanel table {
        width: 200px;
        text-align: center;
        margin-right: auto;
        margin-left: auto;
    }




.AgentMessage {
}


.MenuIcon {
    float: left;
    width: 34px !important;
    height: 34px !important;
    float: left;
    display: block;
    margin: 0 0 0 5px;
    padding: 0;
    background-image: url('../images/menu.png');
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.MenuPanel {
    position: fixed;
    left: 0px;
    top: -7px;
    width: 300px;
    margin-top: 47px;
    margin-left: 45px;
    background-color: rgba(93, 95, 96, 1);
    padding: 0px 7px 5px 7px;
    border-left: 7px solid rgba(93, 95, 96, 1);
    border-top: 11px solid transparent;
    z-index: 10000;
}

.MenuGoodLabel {
    color: white;
    font-weight: bold;
}

.SeparatorLine {
    border-top: 2px solid white;
}

.MidleLine {
    font-weight: bold;
    vertical-align: central;
    text-align: center;
    font-size: 20pt;
    width: 4%;
}

.MenuSendMessageButton {
   background-color:#8bc53f !important;
   border-color:#8bc53f !important;
}

.MenuBadLabel {
    color: white;
    font-weight: bold;
}



.MenuGoodImageSelected {
    display: block; /*display: none;*/
    width: 27px;
    height: 27px;
    margin: 0;
    padding: 0;
    background-image: url('../images/icon_good_cicilink.png');
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.MenuGoodImageNotSelected {
    display: block; /*display: none;*/
    width: 27px;
    height: 27px;
    margin: 0;
    padding: 0;
    background-image: url('../images/icon_good_clear.png');
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.MenuBadImageSelected {
    display: block; /*display: none;*/
    width: 27px;
    height: 27px;
    margin: 0;
    padding: 0;
    background-image: url('../images/icon_bad_cicilink.png');
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.MenuBadImageNotSelected {
    display: block; /*display: none;*/
    width: 27px;
    height: 27px;
    margin: 0;
    padding: 0;
    background-image: url('../images/icon_bad_clear.png');
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}



.MenuSendEmailLabel {
    color: white;
    font-size: 10pt;
    margin-left: 10px;
}

.MenuSendEmailSelected {
    display: block; /*display: none;*/
    width: 20px;
    height: 15px;
    margin: 0;
    padding: 0;
    background-image: url('../images/envelopSelected_cicilink.png');
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.MenuSendEmailNotSelected {
    display: block; /*display: none;*/
    width: 20px;
    height: 15px;
    margin: 0;
    padding: 0;
    background-image: url('../images/envelop.png');
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.ChatWindowFooter {
    width: 100%;
    background: white;
    /*background: #d8d4ce;*/
    padding: 20px;
    position: relative;
}


/*--------------------
Messages
--------------------*/
.messages {
    flex: 1 1 auto;
    color: black; /* rgba(255, 255, 255, 0.5); */
    position: relative;
    width: 100%;
    height: 110%;
}

    .messages .messages-content {
        position: absolute;
        top: 0;
        left: 0;
        height: 101%;
        width: 100%;
    }

    .messages .message {
        clear: both;
        float: left;
        max-width: 250px;
        padding: 6px 10px 7px;
        margin: 3px 30px 3px 30px;
        background: #d8d4ce;
        /*background: white;*/
        color: black;
        font-size: 14px;
        line-height: 1.4;
        position: relative;
        font-weight: 300;
        word-wrap: break-word;
        display: block;
    }

        .messages .message .timestamp {
            position: absolute;
            bottom: -15px;
            font-size: 9px;
            color: black;
        }

        .messages .message::before {
            content: '';
            position: absolute;
            border-right: none;
            left: -7px;
            top: 0px;
            border-top: 11px solid #d8d4ce;
            /*border-top: 11px solid white;*/
            border-left: 7px solid transparent;
        }

        .messages .message .avatar {
            position: absolute;
            z-index: 1;
            bottom: -15px;
            left: -35px;
            border-radius: 30px;
            width: 30px;
            height: 30px;
            margin: 0;
            padding: 0;
            border: 2px solid rgba(255, 255, 255, 0.24);
        }

            .messages .message .avatar img {
                width: 100%;
                height: auto;
            }

        /* Customer Message BEGIN */

        .messages .message.message-personal {
            float: right;
            color: black;
            text-align: left;
            max-width: 250px;
            background: #8bc53f;
            margin: 3px 30px 3px 30px;
            padding-top: 10px;
            font-weight: 300;
            word-wrap: break-word;
            display: block;
        }


            .messages .message.message-personal::before {
                left: 0;
                right: -5px;
                border-left: none;
                border-right: 5px solid transparent;
                border-top: 11px solid #8bc53f;
            }




        .messages .message:last-child {
            margin-bottom: 30px;
        }

        .messages .message.new {
            -webkit-transform: scale(0);
            transform: scale(0);
            -webkit-transform-origin: 0 0;
            transform-origin: 0 0;
            -webkit-animation: bounce 500ms linear both;
            animation: bounce 500ms linear both;
        }

.message.loading::before {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    content: '';
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 250, 0, 0.68);
    z-index: 2;
    margin-top: 4px;
    -webkit-animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
    animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
    border: none;
    -webkit-animation-delay: .15s;
    animation-delay: .15s;
}

.message.loading span {
    display: block;
    font-size: 0;
    width: 20px;
    height: 10px;
    position: relative;
}

    .message.loading span::before {
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        content: '';
        display: block;
        width: 3px;
        height: 3px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        z-index: 2;
        margin-top: 4px;
        -webkit-animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
        animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
        margin-left: -7px;
    }

    .message.loading span::after {
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        content: '';
        display: block;
        width: 3px;
        height: 3px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        z-index: 2;
        margin-top: 4px;
        -webkit-animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
        animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
        margin-left: 7px;
        -webkit-animation-delay: .3s;
        animation-delay: .3s;
    }

/*--------------------
Message Box
--------------------*/
.message-box {
    width: 100%;
    background: lightgray;
    padding: 20px;
    position: relative;
}

    .message-box .message-input {
        background: none;
        border: none;
        outline: none !important;
        resize: none;
        color: rgba(255, 255, 255, 0.7);
        font-size: 11px;
        height: 17px;
        margin: 0;
        padding-right: 20px;
        width: 265px;
    }

    .message-box textarea:focus:-webkit-placeholder {
        color: transparent;
    }

    .message-box .message-submit {
        position: absolute;
        z-index: 1;
        top: 9px;
        right: 10px;
        color: #fff;
        border: none;
        background: #248A52;
        font-size: 10px;
        text-transform: uppercase;
        line-height: 1;
        padding: 6px 10px;
        border-radius: 10px;
        outline: none !important;
        transition: background .2s ease;
    }

        .message-box .message-submit:hover {
            background: #1D7745;
        }
