
/*reset*/
#webChatHey{animation:none;animation-delay:0;animation-direction:normal;animation-duration:0;animation-fill-mode:none;animation-iteration-count:1;animation-name:none;animation-play-state:running;animation-timing-function:ease;backface-visibility:visible;background:0;background-attachment:scroll;background-clip:border-box;background-color:transparent;background-image:none;background-origin:padding-box;background-position:0 0;background-position-x:0;background-position-y:0;background-repeat:repeat;background-size:auto auto;border:0;border-style:none;border-width:medium;border-color:inherit;border-bottom:0;border-bottom-color:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-style:none;border-bottom-width:medium;border-collapse:separate;border-image:none;border-left:0;border-left-color:inherit;border-left-style:none;border-left-width:medium;border-radius:0;border-right:0;border-right-color:inherit;border-right-style:none;border-right-width:medium;border-spacing:0;border-top:0;border-top-color:inherit;border-top-left-radius:0;border-top-right-radius:0;border-top-style:none;border-top-width:medium;bottom:auto;box-shadow:none;box-sizing:content-box;caption-side:top;clear:none;clip:auto;color:inherit;columns:auto;column-count:auto;column-fill:balance;column-gap:normal;column-rule:medium none currentColor;column-rule-color:currentColor;column-rule-style:none;column-rule-width:none;column-span:1;column-width:auto;content:normal;counter-increment:none;counter-reset:none;cursor:auto;direction:ltr;display:inline;empty-cells:show;float:none;font:normal;font-family:inherit;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;height:auto;hyphens:none;left:auto;letter-spacing:normal;line-height:normal;list-style:none;list-style-image:none;list-style-position:outside;list-style-type:disc;margin:0;margin-bottom:0;margin-left:0;margin-right:0;margin-top:0;max-height:none;max-width:none;min-height:0;min-width:0;opacity:1;orphans:0;outline:0;outline-color:invert;outline-style:none;outline-width:medium;overflow:visible;overflow-x:visible;overflow-y:visible;padding:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;page-break-after:auto;page-break-before:auto;page-break-inside:auto;perspective:none;perspective-origin:50%50%;position:static;quotes:'\201C''\201D''\2018''\2019';right:auto;tab-size:8;table-layout:auto;text-align:inherit;text-align-last:auto;text-decoration:none;text-decoration-color:inherit;text-decoration-line:none;text-decoration-style:solid;text-indent:0;text-shadow:none;text-transform:none;top:auto;transform:none;transform-style:flat;transition:none;transition-delay:0s;transition-duration:0s;transition-property:none;transition-timing-function:ease;unicode-bidi:normal;vertical-align:baseline;visibility:visible;white-space:normal;widows:0;width:auto;word-spacing:normal;z-index:auto;all:initial;all:unset;}

#webChatHey{
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    border-radius: 15px 15px 0 0;
    font-size: small;
    position: fixed; 
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 302px;
    opacity: 0;
    height: max-content;
    z-index: 100;
}

#webChatHey.hey-show{        
    transition: opacity 500ms; 
    transition: top 250ms, left 250ms;
    opacity: 1;
}

#webChatHey.hey-expanded{          
    height: 500px;
}



#webChatHey:not(.hey-expanded),
#webChatHey:not(.hey-expanded) .hey-head{
    transition: opacity 1s;/*, width 250ms, height 250ms, border-radius 250ms;*/
    /* opacity: 0.75; */
    opacity: 1;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

#webChatHey:not(.hey-expanded) .hey-foot,
#webChatHey:not(.hey-expanded) .hey-body,
#webChatHey:not(.hey-expanded) .hey-head i,
#webChatHey:not(.hey-expanded) .hey-head h1{
    display: none;    
}

#webChatHey:not(.hey-expanded).hey-alert .hey-head i.hey-hide{
    display: inline-block;
    margin: auto;
}

#webChatHey:not(.hey-expanded).hey-alert{
    animation-name: example;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}


@keyframes example {
  from {
       transform: scale(0.9);
       opacity: 0.75;
  }
  to {
       transform: scale(1.1);
       opacity: 1;
  }
}

#webChatHey iframe{
    height: 100%;
}


#webChatHey .hey-head{    
    background-color: #004f7a !important;    
    border-radius: 15px 15px 0 0;    
    display: flex;
    cursor: pointer;
    align-items: center;
    flex-grow: 0;
    flex-basis: auto;    
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;

    background-image: url(http://testing.asi.com.uy/img/chat/chat.png);
    background-repeat: no-repeat;
    background-position: 5px bottom;
    background-size: auto 100%;

}
#webChatHey.hey-expanded .hey-head{
    height: 2em;
}


#webChatHey:not(.hey-expanded) .hey-head{
    background-position: center center;
    background-size: 40px 40px;
}

#webChatHey .hey-head h1{
    color: white;
    text-align: center;
    margin: 0.5em;
    flex-grow: 1;
    flex-shrink: 1;
    font-size: 2em;
}

#webChatHey .hey-head i{
    color: white;
    margin-right: 0.5em;
    flex-grow: 0;
    flex-shrink: 0;
}

#webChatHey .hey-head .minimize{
    font-size: medium;
}


#webChatHey .hey-body{
    border-left: #004f7a 1px solid;
    border-right: #004f7a 1px solid;
    flex-grow: 0;    
    flex-basis: 100%;
    min-height: 0;
}

#webChatHey .hey-foot{    
    font-size: x-small;
    background-color: #004f7a !important;
    flex-grow: 0;
    justify-content: flex-end;    
    flex-basis: auto;
    display: none;
}

#webChatHey.hey-expanded .hey-foot{    
    display: flex;
}

#webChatHey .hey-foot span{    
    color: white;
    margin: 0.2em;
}

#webChatHey .hey-foot span a{    
    color: inherit;
}

/* .hey-hide{
    display: none;
} */

#webChatHey.hey-dragging{    
    transition: none;
    cursor: none;
}

#webChatHey.hey-dragging .hey-foot,
#webChatHey.hey-dragging .hey-body{
    display: none;
}

#webChatHey:not(.hey-expanded).alert .hey-poster,
#webChatHey:not(.hey-expanded) .hey-poster.hey-show {
    background-image: url(http://testing.asi.com.uy/img/chat/chat-bubble.png);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: auto 100px;
    position: absolute;
    top: -101px;
    left: -12px;
    width: 136px;
    height: 100px;

    -webkit-animation-name: rubberBand;
    animation-name: rubberBand;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;

}


@media (max-width: 600px) , (max-height: 600px) {
    #webChatHey{
        position: fixed;
        box-shadow: unset;
    }    

    #webChatHey.hey-expanded {
        height: 100vh;
        width: 100vw;
    }

    #webChatHey .hey-head{
        border-radius: 0 0 0 0;
    }
    
    #webChatHey .hey-poster.hey-show {
        display:none;
    }    
    
    body.hey-expanded.hey-show{
        overflow:hidden;
    }

}
