/**
 * Voice Shopping For WooCommerce
 *
 * Copyright (c) 2019 speak2web
 */

.my-icon-wrapper i {
    position: relative;
    z-index: 10;
}

#pulse, #pulse-rate {
    position: absolute;
    top: -4px;
    border-radius: 50%;
    z-index: -1;
}

#pulse-rate {
    opacity: .5;
    animation-name: listen;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    -webkit-animation-name: listen;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
}

@keyframes listen {
    0% {transform: scale(1.0);}
    20% {transform: scale(1.2);}
    40% {transform: scale(1.4);}
    50% {transform: scale(1.6);}
    60% {transform: scale(1.4);}
    80% {transform: scale(1.2);}
    100% {transform: scale(1.0);}
}

@-webkit-keyframes listen {
    0% {-webkit-transform: scale(1.0);}
    20% {-webkit-transform: scale(1.2);}
    40% {-webkit-transform: scale(1.4);}
    50% {-webkit-transform: scale(1.6);}
    60% {-webkit-transform: scale(1.4);}
    80% {-webkit-transform: scale(1.2);}
    100% {-webkit-transform: scale(1.0);}
}

.voice-shopping-for-woocommerce-wrapper {
    display: inline-block;
    position: relative; 
}
.voice-shopping-for-woocommerce-wrapper input { margin: 0; }
.voice-shopping-for-woocommerce-button {
    position: absolute !important;
    margin-left: 5px;
    outline: none !important;
    top: 0;
    right: 0;
    float: right;
    height: 30px !important;
    width: 30px !important;
    margin: 0;
    border: 0;
    padding: 0 !important;
    background: none !important;
    background-color: #FFFFFF !important;
    border-radius: 50% !important;
    font: 0/0 a !important;
    -webkit-box-shadow: none !important;
            box-shadow: none !important; 
}
.voice-shopping-for-woocommerce-button:hover, .voice-shopping-for-woocommerce-button:focus { outline: none !important; }
.search-submit {
    background: none!important;
    pointer-events: none;
}
.search-submit:before {
    display: none!important;
}
.voice-shopping-for-woocommerce-button.listening, #wcvaWidgetMic.listening{
    font-size: 0;
    background-color: #FF0000 !important;
    border: 0;
    border-radius: 50% !important;
    outline: none!important;
    -webkit-animation-name: pulse;
            animation-name: pulse;
    -webkit-animation-duration: 1.5s;
            animation-duration: 1.5s;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
            animation-timing-function: linear;
}
@-webkit-keyframes pulse{
    0%{ -webkit-box-shadow: 0px 0px 5px 0px rgba(173,0,0,.3); box-shadow: 0px 0px 5px 0px rgba(173,0,0,.3); }
    65%{ -webkit-box-shadow: 0px 0px 5px 13px rgba(173,0,0,.3); box-shadow: 0px 0px 5px 13px rgba(173,0,0,.3); }
    90%{ -webkit-box-shadow: 0px 0px 5px 13px rgba(173,0,0,0); box-shadow: 0px 0px 5px 13px rgba(173,0,0,0); }
}
@keyframes pulse{
    0%{ -webkit-box-shadow: 0px 0px 5px 0px rgba(173,0,0,.3); box-shadow: 0px 0px 5px 0px rgba(173,0,0,.3); }
    65%{ -webkit-box-shadow: 0px 0px 5px 13px rgba(173,0,0,.3); box-shadow: 0px 0px 5px 13px rgba(173,0,0,.3); }
    90%{ -webkit-box-shadow: 0px 0px 5px 13px rgba(173,0,0,0); box-shadow: 0px 0px 5px 13px rgba(173,0,0,0); }
}
.wcv-assistant-mic-band {
    -webkit-transform: matrix(1, 0, 0, 1, 0 ,0);
    -ms-transform: matrix(1, 0, 0, 1, 0 ,0);
    transform: matrix(1, 0, 0, 1, 0 ,0);
}
.wcva-hide-element{ display: none !important; }
.wcva-response-controller{
    position: fixed !important;
    margin: auto !important;
    width: 50px !important;
    height: auto !important;
    background-color: transparent !important;
    background: transparent !important;
    border-radius: 5px !important;
    padding: 5px !important;
    z-index: 9999 !important;
}
.wcva-speaker-icon{
    border: 2px solid  #ff0000 !important;
    border-radius: 5px !important;
    background: url(../images/wcva-mute-response.svg) center !important;
    background-repeat: no-repeat !important;
    padding: 5px !important;
    background-size: 30px 30px !important;
    width: 40px !important;
    height: 40px !important;
}
.wcva-sanitize-form-wrapper:after{ z-index: -1 !important; }

/*#######################################################################################*/
/*###################### WooCommerce Voice Assistant -  Widget ##############################*/
/*#######################################################################################*/
.wcva-widget-wrapper {    
    position: fixed !important;
    margin: 0 !important;    
    z-index: 1100 !important;
}
.wcva-widget-wrapper a#wcvaWidgetToggleButton { 
    border: 4px solid rgba(0,0,0,.21) !important;
    margin-top: 0 !important;
}
.wcva-widget-button {
    display: block !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    text-align: center !important;
    color: #f0f0f0 !important;
    margin: 25px auto 0 !important;
    box-shadow: 0 0 4px rgba(0, 0, 0, .14), 0 4px 8px rgba(0, 0, 0, .28) !important;
    cursor: pointer !important;
    -webkit-transition: all .1s ease-out !important; 
    transition: all .1s ease-out !important;
    position: relative !important;
    z-index: 998 !important;
    overflow: hidden !important;
    background: var(--wcva-bg-color);
}
a#wcvaWidgetToggleButton.listening,
span#wcvaWidgetPulseEffect.listening{
    background: var(--wcva-pulse-color);
}
span#wcvaWidgetPulseEffect.listening{
    margin-top: 0 !important;
    width: 56px;
    height: 56px;
    position: absolute;
    opacity: .5;
    transform: scale(1);
    border-radius: 50%;
    animation-name: listening;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    -webkit-animation-name: listening;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
}
@keyframes listening {
    0% {transform: scale(.7);}
    20% {transform: scale(1.15);}
    40% {transform: scale(1.2);}
    50% {transform: scale(1.25);}
    60% {transform: scale(1.2);}
    80% {transform: scale(1.15);}
    100% {transform: scale(.7);}
}

@-webkit-keyframes listening {
    0% {-webkit-transform: scale(.7);}
    20% {-webkit-transform: scale(1.15);}
    40% {-webkit-transform: scale(1.2);}
    50% {-webkit-transform: scale(1.25);}
    60% {-webkit-transform: scale(1.2);}
    80% {-webkit-transform: scale(1.15);}
    100% {-webkit-transform: scale(.7);}
}

a#wcvaWidgetToggleButton.responding,
#wcvaWidgetChatHeader.responding{
    background: var(--wcva-bot-response-color);
}
#wcvaWidgetSearchBtn.wcva-widget-button{ 
    border-radius: 0 !important;
}
.wcva-widget-button > .wcva-widget-icon {
    font-size: 2em !important;
    line-height: 55px !important;
    -webkit-transition: all .2s ease-out !important;
    -webkit-transition: all .2s ease-in-out !important;
    transition: all .2s ease-in-out !important;
}
.wcva-widget-button:not(:last-child) {
    width: 0 !important;
    height: 0 !important;
    margin: 20px auto 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    line-height: 40px !important;
}
.wcva-widget-button:not(:last-child).wcva-widget-visible {
    width: 40px !important;
    height: 40px !important;
    margin: 15px auto 10 !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.wcva-widget-button:nth-last-child(1) {
    -webkit-transition-delay: 25ms !important;
    transition-delay: 25ms !important;
}
.wcva-widget-button:not(:last-child):nth-last-child(2) {
    -webkit-transition-delay: 20ms !important;
    transition-delay: 20ms !important;
}
.wcva-widget-button:not(:last-child):nth-last-child(3) {
    -webkit-transition-delay: 40ms !important;
    transition-delay: 40ms !important;
}
.wcva-widget-button:not(:last-child):nth-last-child(4) {
    -webkit-transition-delay: 60ms !important;
    transition-delay: 60ms !important;
}
.wcva-widget-button:not(:last-child):nth-last-child(5) {
    -webkit-transition-delay: 80ms !important;
    transition-delay: 80ms !important;
}
.wcva-widget-button:last-child:active,
.wcva-widget-button:last-child:focus,
.wcva-widget-button:last-child:hover {
    box-shadow: 0 0 6px rgba(0, 0, 0, .16), 0 6px 12px rgba(0, 0, 0, .32) !important;
}
/*Chatbox*/
.wcva-widget-chat-wrapper {
    position: fixed !important;    
    width: 400px !important;
    font-size: 12px !important;
    line-height: 0px !important;
    font-family: 'Roboto', Arial, Helvetica, sans-serif !important;
    font-weight: 500 !important;
    -webkit-font-smoothing: antialiased !important;
    font-smoothing: antialiased !important;
    display: none;
    box-shadow: 1px 1px 100px 2px rgba(0, 0, 0, 0.22) !important;
    border: 4px solid rgba(0, 0, 0, 0.21) !important;
    border-radius: 20px !important;
}
.wcva-widget-chat-header {
    font-size: 13px !important;
    font-family: 'Roboto', Arial, Helvetica, sans-serif !important;
    font-weight: 500 !important;
    color: #f3f3f3 !important;
    height: 55px !important;
    background: var(--wcva-bg-color);
    border-radius: 17px 17px 0 0 !important;
    padding-top: 5px !important;
    line-height: 22px !important;
}
.wcva-widget-chat-header .span {
    float:right !important;
}
.wcva-widget-chat-wrapper.wcva-widget-visible {
    display: block !important;
    /*-webkit-animation: zoomIn .2s cubic-bezier(.42, 0, .58, 1) !important;
    animation: zoomIn .2s cubic-bezier(.42, 0, .58, 1) !important;*/
}
.wcva-widget-chat-option {
    float: left !important;
    font-size: 15px !important;
    list-style: none !important;
    position: relative !important;
    height: 100% !important;
    width: 100% !important;
    text-align: relative !important;
    margin-right: 10px !important;
    letter-spacing: 0.5px !important;
    font-weight: 400 !important;
}
.wcva-widget-chat-option-bot-icon {
    border-radius: 50% !important;
    width: 70px !important;
    float: left !important;
    margin: -37px 10px 10px 15px !important;
    border: 4px solid rgba(0, 0, 0, 0.21) !important;
}
.wcva-widget-chat-option .wcva-widget-agent {
    font-size: 0.67em !important;
    font-weight: 600 !important;
    float: left !important;
}
.wcva-widget-chat-option .wcva-widget-agent-name {
    float:left !important;
    font-weight: bold;
}
.wcva-widget-search {
    width: 75% !important;
    float: left !important;
    position: relative !important;
    font-family: 'Roboto', Arial, Helvetica, sans-serif !important;
    font-size: 12px !important; 
    line-height: 30px !important;
    font-weight: 500 !important;
    color: #4b4b4b !important;
    -webkit-font-smoothing: antialiased !important;
    font-smoothing: antialiased !important;
    border: none !important;
    outline: none !important;
    display: inline-block !important;
    border-radius: 5px !important;
}
.wcva-widget-search.wcva-widget-search-text {
    height: 30px !important;
    resize: none !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    border: none !important;
    background: transparent !important;
}
.wcva-widget-field {
    width: 100% !important;
    display: inline-block !important;
    text-align: center !important;
    background: #fff !important;
    border-top: 1px solid #eee !important;
    border-radius: 0 0 17px 17px !important;
}
.wcva-mic-image {
    width: 100% !important;
    height: 100% !important;
}
.wcva-widget-field a {
    display: inline-block !important;
    text-align: center !important;
}
#wcvaWidgetMic {
    float: left !important;
    width: 15% !important;
    margin: 0 !important;
}
.wcva-widget-wrapper #wcvaWidgetMic>img{
    vertical-align: middle !important;
    opacity: unset !important;
}
#wcvaWidgetSearchBtn {
    float: right;
    background: rgba(0, 0, 0, 0) !important;
    width: 15% !important;
    margin: 5px !important;
}
.wcva-widget-field .wcva-widget-button {
    width: 35px !important;
    height: 35px !important;
    box-shadow: none !important;
    margin: 5px !important;
    background-color: transparent !important;
}
.wcva-widget-chat-convo {
    position: relative !important;
    background: #fff !important;
    margin: 0px 0px 0px 0px !important;
    min-height: 300px !important;
    font-size: 11px !important;
    line-height: 15px !important;
    overflow-y: auto !important;
    width: 100% !important;
    float: right !important;
    max-height: 300px !important;
    text-align: left !important; 
}
.wcva-widget-chat-wrapper .wcva-widget-chat-convo .wcva-widget-chat-msg-item {
    position: relative;
    margin: 5px 0 5px 0 !important;
    padding: 8px 10px !important;
    max-width: 60% !important;
    display: block !important;
    word-wrap: break-word !important;
    border-radius: 3px !important;
    -webkit-animation: zoomIn .5s cubic-bezier(.42, 0, .58, 1) !important;
    animation: zoomIn .5s cubic-bezier(.42, 0, .58, 1) !important;
    clear: both !important;
    z-index: 999 !important;
    font-size: 0.93em !important;
    font-weight: 600 !important;
}
.wcva-widget-chat-wrapper .wcva-widget-chat-avatar {
    position: absolute !important;
    top: -3px !important;
    border-radius: 50% !important;
    padding: 10px 8px !important;
    border: 1px solid #a6a6a6 !important;
    left: -43px !important;
    background-color: #b3b3b3 !important;
    color: #ffffff !important;
}
.wcva-widget-chat-wrapper .wcva-widget-chat-convo .wcva-widget-chat-msg-item.wcva-widget-chat-msg-item-user {
    margin-left: 49px !important;
    float: left !important; 
    background: rgba(192,192,192,0.3) !important;
    color: #666 !important;
    border-radius: 0px 10px 10px 10px !important;
}
.wcva-widget-chat-wrapper .wcva-widget-chat-convo .wcva-widget-chat-msg-item.wcva-widget-chat-msg-error {
    margin-right: 5px !important;
    float: right !important;
    color: #a94442;
    background-color: #f2dede;
    border-radius: 10px 0px 10px 10px !important;
}
.wcva-widget-chat-wrapper .wcva-widget-chat-convo .wcva-widget-chat-msg-item.wcva-widget-chat-msg-item-simon {
    margin-right: 5px !important;
    float: right !important;
    background: #42a5f5 !important;
    color: #eceff1 !important;
    border-radius: 10px 0px 10px 10px !important;
}
.wcva-widget-chat-wrapper .wcva-widget-chat-convo .wcva-widget-chat-msg-item.wcva-widget-chat-msg-item-user:before {
    content: '' !important;
    position: absolute !important;
    top: 15px !important;
    left: -12px !important;
    z-index: 998 !important;
    border: 6px solid transparent !important;
    border-right-color: rgba(255, 255, 255, .4) !important;
}
/*Chatbox scrollbar*/
::-webkit-scrollbar {
    width: 6px !important;
}
::-webkit-scrollbar-track {
    border-radius: 0 !important;
}
::-webkit-scrollbar-thumb {
    margin: 2px !important;
    border-radius: 10px !important;
    background: rgba(0, 0, 0, 0.2) !important;
}
/*Element state*/
.wcva-widget-active {
    -webkit-transform: rotate(360deg) !important;
    transform: rotate(360deg) !important;
    -webkit-transition: all 2s ease-in-out !important;
    transition: all 2s ease-in-out !important;
}
.wcva-widget-float {
    box-shadow: 0 0 6px rgba(0, 0, 0, .16), 0 6px 12px rgba(0, 0, 0, .32) !important;
}
.wcva-widget-form-submit-btn {
    font-family: 'Roboto', Arial, Helvetica, sans-serif !important;
    font-size: 0.9em !important;
    padding: 6px 6px !important;
    text-decoration: none !important;
    text-shadow: 0px 1px 0px #154682 !important;
}
/*Animation*/
@-webkit-keyframes zoomIn {
    0% {
        -webkit-transform: scale(0) !important;
        transform: scale(0) !important;
        opacity: 0.0 !important;
    }
    100% {
        -webkit-transform: scale(1) !important;
        transform: scale(1) !important;
        opacity: 1 !important;
    }
}
@keyframes zoomIn {
    0% {
        -webkit-transform: scale(0) !important;
        transform: scale(0) !important;
        opacity: 0.0 !important;
    }
    100% {
        -webkit-transform: scale(1) !important;
        transform: scale(1) !important;
        opacity: 1 !important;
    }
}
@-webkit-keyframes load {
    0% {
        -webkit-transform: scale(0) !important;
        transform: scale(0) !important;
        opacity: 0.0 !important;
    }
    50% {
        -webkit-transform: scale(1.5) !important;
        transform: scale(1.5) !important;
        opacity: 1 !important;
    }
    100% {
        -webkit-transform: scale(1) !important;
        transform: scale(1) !important;
        opacity: 0 !important;
    }
}
@keyframes load {
    0% {
        -webkit-transform: scale(0) !important;
        transform: scale(0) !important;
        opacity: 0.0 !important;
    }
    50% {
        -webkit-transform: scale(1.5) !important;
        transform: scale(1.5) !important;
        opacity: 1 !important;
    }
    100% {
        -webkit-transform: scale(1) !important;
        transform: scale(1) !important;
        opacity: 0 !important;
    }
}
/* SMARTPHONES PORTRAIT */
@media only screen and (min-width: 300px) {
    .wcva-widget-chat-wrapper {
        width: 250px !important;
    }
}
/* SMARTPHONES LANDSCAPE */
@media only screen and (min-width: 480px) {
    .wcva-widget-chat-wrapper {
        width: 300px !important;
    }
}
/* TABLETS PORTRAIT */
@media only screen and (min-width: 768px) {
    .wcva-widget-chat-wrapper {
        width: 300px !important;
    }
}
/* TABLET LANDSCAPE / DESKTOP */
@media only screen and (min-width: 1024px) {
    .wcva-widget-chat-wrapper {
        width: 300px !important;
    }
}
@-webkit-keyframes ripple {
    /*scale the element to 250% to safely cover the entire link and fade it out*/
    100% {
        opacity: 0 !important;
        -moz-transform: scale(5) !important;
        -ms-transform: scale(5) !important;
        webkit-transform: scale(5) !important;
        -webkit-transform: scale(5) !important;
        transform: scale(5) !important;
    }
}
@keyframes ripple {
/*scale the element to 250% to safely cover the entire link and fade it out*/
    100% {
        opacity: 0 !important;
        -moz-transform: scale(5) !important;
        -ms-transform: scale(5) !important;
        webkit-transform: scale(5) !important;
        -webkit-transform: scale(5) !important;
        transform: scale(5) !important;
    }
}
.wcva-toggle-btn-mic {
    background:url(../images/wcva-widget-mic.svg) center !important;
    background-repeat: no-repeat !important; 
    width: 40px !important;
    height: 40px !important;
    margin: 4px !important;
}
.wcva-toggle-btn-robot {
    background:url('../images/wcva-widget-robot.png') center !important;
    background-repeat: no-repeat !important; 
    width: 40px !important;
    height: 40px !important;
    margin: 4px !important;
}
.wcva-toggle-btn-close {
    background:url(../images/wcva-close-icon.svg) center !important;
    background-repeat: no-repeat !important;
    width: 40px !important;
    height: 40px !important;
    margin: 4px !important;
}
.wcva-widget-form {
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.wcva-widget-form button[type=submit] {
    background : url(../images/wcva-widget-search-icon.svg) no-repeat center !important;
    border : none !important;
    color : transparent !important;
    width: 32px !important;
    height: 32px !important;
    background-size: 24px 24px !important;
}

/* Mic Position Css */
.wcva-widget-wrapper-middle-right {
    top: 45% !important;
    right: 5px !important;
}
.wcva-widget-wrapper-middle-left  {
    top: 45% !important;
    left: 5px !important;
}
.wcva-widget-wrapper-top-right {
    top: 10% !important;
    right: 5px !important;
}
.wcva-widget-wrapper-top-left {
    top: 10% !important;
    left: 5px !important;
}
.wcva-widget-wrapper-bottom-right { 
    bottom: 10% !important;
    right: 5px !important;
}
.wcva-widget-wrapper-bottom-left  {
    bottom: 10% !important;
    left: 5px !important;
}

.wcva-widget-chat-wrapper-middle-right {
    top: 20% !important;
    right: 65px !important;
}
.wcva-widget-chat-wrapper-middle-left {
    top: 20% !important;
    left: 65px !important;
}
.wcva-widget-chat-wrapper-top-right {
    top: 10% !important;
    right: 65px !important;
}
.wcva-widget-chat-wrapper-top-left {
    top: 10% !important;
    left: 65px !important;
}
.wcva-widget-chat-wrapper-bottom-right { 
    bottom: 10% !important; 
    right: 65px !important;
}
.wcva-widget-chat-wrapper-bottom-left {
    bottom: 10% !important;
    left: 65px !important;
}
.wcva-expand-collapse-handle {
    width: 40px !important;
    height: 40px !important;
    position: absolute !important;
    cursor: pointer !important; 
}
.wcva-expand-window {
    background:url(../images/wcva-up-chevron.svg) center !important; 
    background-repeat: no-repeat !important;
    top: 0 !important;
    right: 30px !important;
}
.wcva-collapse-window {
    background:url(../images/wcva-down-chevron.svg) center !important; 
    background-repeat: no-repeat !important;
    top: 0 !important;
    right: 30px !important;
}
.wcva-widget-hide {
    background:url(../images/wcva-close-icon.svg) center !important;
    background-repeat: no-repeat !important;
    top: 0 !important;
    right: 0 !important;
}
.wcva-widget-chat-wrapper-middle-right-collapse {
    top: 45% !important;
    right: 65px !important;
}
.wcva-widget-chat-wrapper-middle-left-collapse {
    top: 45% !important;
    left: 65px !important;
}
.wcva-widget-chat-wrapper-top-right-collapse {
    top: 10% !important;
    right: 65px !important;
}
.wcva-widget-chat-wrapper-top-left-collapse {
    top: 10% !important;
    left: 65px !important;
}
.wcva-widget-chat-wrapper-bottom-right-collapse { 
    bottom: 10% !important; 
    right: 65px !important;
}
.wcva-widget-chat-wrapper-bottom-left-collapse {
    bottom: 10% !important;
    left: 65px !important;
}
.wcva-response-controller-middle-right {
    top: 56% !important;
    right: 5px !important;
}
.wcva-response-controller-middle-left {
    top: 56% !important;
    left: 5px !important;
}
.wcva-response-controller-top-right {
    top: 21% !important;
    right: 5px !important;
}
.wcva-response-controller-top-left {
    top: 21% !important;
    left: 5px !important;
}
.wcva-response-controller-bottom-right {
    bottom: 21% !important;
    right: 5px !important;
}
.wcva-response-controller-bottom-left {
    bottom: 21% !important;
    left: 5px !important;
}