﻿#okewa-floating_cta::before {
    transition: opacity .5s ease;
    content: "";
    background-color: rgba(0,0,0,.05);
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 60px;
    z-index: 1;
    opacity: 0;
}

.okewa-right #okewa-floating_cta, .okewa-right #okewa-floating_popup {
    left: inherit;
    right: 15px;
}

.okewa-style_2 #okewa-floating_cta {
    bottom: 15px;
    border-radius: 100px;
}

#okewa-floating_cta {
    background: #0dc152;
    position: fixed;
    -webkit-transform: translateZ(0);
    z-index: 999;
    box-shadow: 0 0 30px rgba(0,0,0,.3);
    cursor: pointer;
    user-select: none;
    line-height: 1;
    overflow: hidden;
}

    #okewa-floating_cta .okewa-fc_text {
        position: relative;
        z-index: 2;
        color: #fff;
        font-size: 14px;
        padding: 15px 20px 15px 15px;
        display: inline-block;
        font-family: Arial,Sans-serif;
        vertical-align: sub;
        max-width: 260px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

.okewa-style_2 #okewa-floating_cta .okewa-fc_icon {
    padding: 10px 14px;
}

#okewa-floating_cta:hover .okewa-fc_icon {
    background-color: rgba(0,0,0,0);
}

#okewa-floating_cta .okewa-fc_icon {
    position: relative;
    z-index: 2;
    height: 43px;
    padding: 10px 12px;
    border-radius: 0 15px 0 0;
    background: rgba(0,0,0,.05);
    float: right;
    transition: background-color .5s ease;
}

.bounceInUp {
    -webkit-animation-name: bounceInUp;
    animation-name: bounceInUp;
}

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.bounceInUp {
    -webkit-animation-name: bounceInUp;
    animation-name: bounceInUp;
}

#okewa-floating_popup {
    position: fixed;
    -webkit-transform: translateZ(0);
    z-index: 999;
    box-shadow: 0 0 30px rgba(0,0,0,.3);
    left: 15px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    width: 350px;
    font-family: Arial,Sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

.okewa-style_2 #okewa-floating_popup {
    bottom: 70px;
}

#okewa-floating_cta *, #okewa-floating_popup *, .okewa-btn * {
    box-sizing: border-box;
}

#okewa-floating_popup .okewa-header {
    background: #0dc152;
    text-align: center;
    color: #fff;
    padding: 15px;
}

    #okewa-floating_popup .okewa-header .okewa-close {
        position: absolute;
        left: 15px;
        top: 25px;
        border-radius: 8px;
        width: 35px;
        height: 35px;
        padding: 10px;
        cursor: pointer;
    }

#okewa-floating_popup .okewa-multiple_cs .okewa-header img.okewa-avatar {
    position: relative;
    margin-left: -50px;
    left: 20px;
    border: 2px solid #fff;
    border-radius: 60px;
    vertical-align: middle;
}

#okewa-floating_popup .okewa-header img.okewa-avatar {
    height: 60px;
    width: 60px;
    border-radius: 60px;
    display: inline-block;
}

#okewa-floating_popup .okewa-multiple_cs .okewa-chat {
    padding: 0;
    background: #fff;
    max-height: 240px;
    overflow-y: auto;
}

    #okewa-floating_popup .okewa-multiple_cs .okewa-chat div[class*="list-cs_"] {
        font-size: 13px;
        padding: 10px;
        overflow: hidden;
        border-bottom: 1px solid rgba(0,0,0,.05);
    }

        #okewa-floating_popup .okewa-multiple_cs .okewa-chat div[class*="list-cs_"] img.okewa-avatar {
            position: relative;
            display: inline-block;
            vertical-align: middle;
            height: 60px;
            width: 60px;
            border-radius: 60px;
            margin-right: 10px;
        }

        #okewa-floating_popup .okewa-multiple_cs .okewa-chat div[class*="list-cs_"] .okewa-cs_profile {
            display: inline-block;
            vertical-align: middle;
            line-height: 1;
            color: #666;
            font-size: 13px;
        }

            #okewa-floating_popup .okewa-multiple_cs .okewa-chat div[class*="list-cs_"] .okewa-cs_profile p {
                margin: 0;
            }

            #okewa-floating_popup .okewa-multiple_cs .okewa-chat div[class*="list-cs_"] .okewa-cs_profile h3 {
                margin: 5px 0 3px;
                padding: 0;
                color: #000;
                font-family: Arial,Sans-serif;
                font-size: 16px;
                font-weight: 700;
                line-height: 1;
            }

        #okewa-floating_popup .okewa-multiple_cs .okewa-chat div[class*="list-cs_"].offline .okewa-cs_profile .okewa-cs_status::before {
            background: #aaa;
        }

        #okewa-floating_popup .okewa-multiple_cs .okewa-chat div[class*="list-cs_"] .okewa-cs_profile .okewa-cs_status::before {
            content: "";
            background: #0dc152;
            width: 7px;
            height: 7px;
            border-radius: 7px;
            position: absolute;
            top: 2px;
            right: -10px;
        }

        #okewa-floating_popup .okewa-multiple_cs .okewa-chat div[class*="list-cs_"] .okewa-cs_profile .okewa-cs_status {
            position: relative;
            font-size: 10px;
        }

#okewa-floating_popup .okewa-header {
    background: #0dc152;
    text-align: center;
    color: #fff;
    padding: 15px;
}

    #okewa-floating_popup .okewa-header .okewa-close {
        position: absolute;
        left: 15px;
        top: 25px;
        border-radius: 8px;
        width: 35px;
        height: 35px;
        padding: 10px;
        cursor: pointer;
    }

    #okewa-floating_popup .okewa-header img.okewa-avatar {
        height: 60px;
        width: 60px;
        border-radius: 60px;
        display: inline-block;
    }

    #okewa-floating_popup .okewa-header .okewa-intro {
        margin-bottom: 0;
        margin-top: 15px;
    }

        #okewa-floating_popup .okewa-header .okewa-intro strong {
            display: block;
            margin-bottom: 5px;
            font-size: 15px;
        }

#okewa-floating_popup .okewa-chat {
    padding: 15px;
    background: url(/Assets/Images/chat_bg.png);
    background-size: 100%;
}

    #okewa-floating_popup .okewa-chat .okewa-chat_opening .okewa-timestamp {
        color: #aaa;
        font-size: 11px;
        vertical-align: bottom;
    }

    #okewa-floating_popup .okewa-chat .okewa-chat_opening img {
        width: 14px;
        height: 14px;
        vertical-align: bottom;
        display: inline-block;
        opacity: .5;
    }

    #okewa-floating_popup .okewa-chat .okewa-chat_opening::before {
        content: "";
        position: absolute;
        left: -10px;
        top: 0;
        border-style: solid;
        border-width: 0 10px 14px 0;
        border-color: transparent #e4fec8 transparent transparent;
    }

    #okewa-floating_popup .okewa-chat .okewa-chat_opening {
        display: inline-block;
        position: relative;
        background: #e4fec8;
        color: #333;
        padding: 8px 12px;
        border-radius: 0 4px 4px 4px;
        box-shadow: 0 1px 1px rgba(0,0,0,.2);
    }

#okewa-floating_popup .okewa-input {
    position: relative;
    padding: 15px;
    border-top: 1px solid #f1f1f1;
    color: #666;
    background: #fff;
    box-shadow: 0 0 60px rgba(0,0,0,.1);
}

    #okewa-floating_popup .okewa-input .okewa-input_content::placeholder {
        color: #aaa;
    }

    #okewa-floating_popup .okewa-input .okewa-input_content {
        border: 0;
        width: calc(100% - 16px);
        outline: none;
        line-height: 1;
        font-size: 14px;
        color: #666;
        background: #fff;
        font-family: Arial,sans-serif;
    }

    #okewa-floating_popup .okewa-input .okewa-input_icon {
        height: 16px;
        width: 16px;
        position: absolute;
        top: 25px;
        right: 10px;
        cursor: pointer;
        opacity: .5;
    }

.okewa-style_2 #okewa-floating_cta .okewa-fc_icon {
    padding: 10px 14px;
}

#okewa-floating_cta:hover .okewa-fc_icon {
    background-color: rgba(0,0,0,0);
}

#okewa-floating_cta .okewa-fc_icon {
    position: relative;
    z-index: 2;
    height: 43px;
    padding: 10px 12px;
    border-radius: 0 15px 0 0;
    background: rgba(0,0,0,.05);
    float: right;
    transition: background-color .5s ease;
}

#okewa-floating_cta *, #okewa-floating_popup *, .okewa-btn * {
    box-sizing: border-box;
}

.okewa-style_2 #okewa-floating_cta .okewa-fc_text {
    padding: 15px 15px 15px 20px;
}

#okewa-floating_cta .okewa-fc_text {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 14px;
    padding: 15px 20px 15px 15px;
    display: inline-block;
    font-family: Arial,Sans-serif;
    vertical-align: sub;
    max-width: 260px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}

@@-webkit-keyframes bounceInUp {
    0%, 60%, 75%, 90%, to {
        -webkit-animation-timing-function: cubic-bezier(.215,.61,.355,1);
        animation-timing-function: cubic-bezier(.215,.61,.355,1)
    }

    0% {
        opacity: 0;
        -webkit-transform: translate3d(0,3000px,0);
        transform: translate3d(0,3000px,0)
    }

    60% {
        opacity: 1;
        -webkit-transform: translate3d(0,-20px,0);
        transform: translate3d(0,-20px,0)
    }

    75% {
        -webkit-transform: translate3d(0,10px,0);
        transform: translate3d(0,10px,0)
    }

    90% {
        -webkit-transform: translate3d(0,-5px,0);
        transform: translate3d(0,-5px,0)
    }

    to {
        -webkit-transform: translateZ(0);
        transform: translateZ(0)
    }
}

@@keyframes bounceInUp {
    0%, 60%, 75%, 90%, to {
        -webkit-animation-timing-function: cubic-bezier(.215,.61,.355,1);
        animation-timing-function: cubic-bezier(.215,.61,.355,1)
    }

    0% {
        opacity: 0;
        -webkit-transform: translate3d(0,3000px,0);
        transform: translate3d(0,3000px,0)
    }

    60% {
        opacity: 1;
        -webkit-transform: translate3d(0,-20px,0);
        transform: translate3d(0,-20px,0)
    }

    75% {
        -webkit-transform: translate3d(0,10px,0);
        transform: translate3d(0,10px,0)
    }

    90% {
        -webkit-transform: translate3d(0,-5px,0);
        transform: translate3d(0,-5px,0)
    }

    to {
        -webkit-transform: translateZ(0);
        transform: translateZ(0)
    }
}

.bounceInUp {
    -webkit-animation-name: bounceInUp;
    animation-name: bounceInUp
}

@@-webkit-keyframes bounceOutDown {
    20% {
        -webkit-transform: translate3d(0,10px,0);
        transform: translate3d(0,10px,0)
    }

    40%, 45% {
        opacity: 1;
        -webkit-transform: translate3d(0,-20px,0);
        transform: translate3d(0,-20px,0)
    }

    to {
        opacity: 0;
        -webkit-transform: translate3d(0,2000px,0);
        transform: translate3d(0,2000px,0)
    }
}

@@keyframes bounceOutDown {
    20% {
        -webkit-transform: translate3d(0,10px,0);
        transform: translate3d(0,10px,0)
    }

    40%, 45% {
        opacity: 1;
        -webkit-transform: translate3d(0,-20px,0);
        transform: translate3d(0,-20px,0)
    }

    to {
        opacity: 0;
        -webkit-transform: translate3d(0,2000px,0);
        transform: translate3d(0,2000px,0)
    }
}

.bounceOutDown {
    -webkit-animation-name: bounceOutDown;
    animation-name: bounceOutDown
}
