/* Gutenberg Chat Box Styles */
@keyframes wplc_fade_in {
    0% { opacity: 0; padding-top: 20px; }
    100% { opacity: 1; }
}

#wplc-inline-chat-box .wplc_gutenberg_icon {
    animation: wplc_fade_in .3s;
    color: #ff4d4d;
    display: block;
    margin: 30px auto;
    font-size: 50px;
}

.wplc_gutenberg_chat_box {
    border: 1px solid #eee;
    height: 500px;
    width: 320px;
    border-radius: 6px;
    position: relative;
    display: inline-block;   
    margin-top: 0;
}

.wplc_gutenberg_button {
    width: 60px;
    height: 60px;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 50%;
    margin-bottom: 10px;
    margin-right: 10px;
    display: inline-block;
    cursor: pointer;
}

.wplc_gutenberg_header {
    border-radius: 6px 6px 0 0;
    height: 80px;
    width: 100%;
    background: #ddd;
}

.wplc_gutenberg_text_box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #fff;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    box-shadow: 0 0 40px 1px rgba(0,0,0,.07);
}

.wplc_gutenberg_avatar {
    display: inline-block;
    margin: 10px;
    margin-left: 35px;
}

.wplc_gutenberg_avatar img {
    border-radius: 50%;
    
}

.wplc_gutenberg_name {
    display: inline-block;
    bottom: 24px;
    font-weight: 600;
    color: #fff;
    position: absolute;
}

.wplc_gutenberg_header {
    position: relative;
    box-shadow: 0 5px 20px -2px rgba(0,0,0,.16);
}

.wplc_gutenberg_chevron  {
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

.wplc_gutenberg_overlay_image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 6px 6px 0 0;
    background-size: cover;
    background-repeat; no-repeat;
    opacity: .1;
}

.wplc_gutenberg_text_box {
    line-height: 60px;
    padding-left: 30px;
    color: #2b2b2b;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: normal;
    font-size: 12px;
}

.wplc_gutenberg_body {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: repeat;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.wplc_gutenberg_loader {
    border: 7px solid #f3f3f3;
    border-top: 7px solid #ED832F;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: wplc_spin 2s linear infinite;
    display: block;
    margin: 0 auto;
}

@keyframes wplc_spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes wplc_fade_in {
    0% { opacity: 0; padding-top:20px; }
    100% { opacity: 1; }
}

.wplc_gutenberg_preview, .wplc_gutenberg_button, .wplc_gutenberg_chat_box {
    animation: wplc_fade_in .3s;
}

.wplc_gutenberg_button {
    transition: all 0.4s ease-in-out;
    margin-bottom: 0;
}

.wplc_select_theme {
    margin-bottom: 10px;
    width: 150px;
    display: block;
}

/* WPLC Gutenberg Themes/Layouts */
/* Center */
.wplc_center .wplc_gutenberg_chat_box {
    margin: 0 auto;
    display: block;
}

.wplc_center .wplc_gutenberg_button {
    margin: 0 auto;
    display: block;
    margin-bottom: 10px;
}

/* Wide */
.wplc_wide .wplc_gutenberg_chat_box {
    width: 100%;
    margin-top: 0;
}

.wplc_wide .wplc_gutenberg_button {
    margin-bottom: 0;
}